@powerhousedao/shared 6.2.3-dev.79 → 6.2.3-dev.80

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 (224) hide show
  1. package/dist/clis/args/access-token.d.mts +14 -2
  2. package/dist/clis/args/access-token.d.mts.map +1 -0
  3. package/dist/clis/args/access-token.mjs +21 -1
  4. package/dist/clis/args/access-token.mjs.map +1 -0
  5. package/dist/clis/args/{common-Bnm859xU.d.mts → common-BpLj4peE.d.mts} +4 -4
  6. package/dist/clis/args/{common-Bnm859xU.d.mts.map → common-BpLj4peE.d.mts.map} +1 -1
  7. package/dist/clis/args/{common-CHSGBvxM.mjs → common-CBLen_yt.mjs} +3 -4
  8. package/dist/clis/args/common-CBLen_yt.mjs.map +1 -0
  9. package/dist/clis/args/common.d.mts +1 -1
  10. package/dist/clis/args/common.mjs +1 -1
  11. package/dist/clis/args/connect.d.mts +448 -2
  12. package/dist/clis/args/connect.d.mts.map +1 -0
  13. package/dist/clis/args/connect.mjs +202 -1
  14. package/dist/clis/args/connect.mjs.map +1 -0
  15. package/dist/clis/args/{generate-DLPqkD9L.mjs → generate-a36SaAn4.mjs} +2 -2
  16. package/dist/clis/args/{generate-DLPqkD9L.mjs.map → generate-a36SaAn4.mjs.map} +1 -1
  17. package/dist/clis/args/generate.d.mts +101 -2
  18. package/dist/clis/args/generate.d.mts.map +1 -0
  19. package/dist/clis/args/generate.mjs +1 -1
  20. package/dist/clis/args/{help-B16JXhxy.mjs → help-Cb66IK-J.mjs} +18 -18
  21. package/dist/clis/args/{help-B16JXhxy.mjs.map → help-Cb66IK-J.mjs.map} +1 -1
  22. package/dist/clis/args/help.mjs +14 -1
  23. package/dist/clis/args/host.d.mts +22 -2
  24. package/dist/clis/args/host.d.mts.map +1 -0
  25. package/dist/clis/args/host.mjs +34 -1
  26. package/dist/clis/args/host.mjs.map +1 -0
  27. package/dist/clis/args/index.d.mts +19 -19
  28. package/dist/clis/args/index.mjs +20 -20
  29. package/dist/clis/args/init.d.mts +53 -2
  30. package/dist/clis/args/init.d.mts.map +1 -0
  31. package/dist/clis/args/init.mjs +71 -1
  32. package/dist/clis/args/init.mjs.map +1 -0
  33. package/dist/clis/args/inspect.d.mts +11 -2
  34. package/dist/clis/args/inspect.d.mts.map +1 -0
  35. package/dist/clis/args/inspect.mjs +14 -1
  36. package/dist/clis/args/inspect.mjs.map +1 -0
  37. package/dist/clis/args/install.d.mts +35 -2
  38. package/dist/clis/args/install.d.mts.map +1 -0
  39. package/dist/clis/args/install.mjs +31 -1
  40. package/dist/clis/args/install.mjs.map +1 -0
  41. package/dist/clis/args/list.d.mts +8 -2
  42. package/dist/clis/args/list.d.mts.map +1 -0
  43. package/dist/clis/args/list.mjs +6 -1
  44. package/dist/clis/args/list.mjs.map +1 -0
  45. package/dist/clis/args/login.d.mts +23 -2
  46. package/dist/clis/args/login.d.mts.map +1 -0
  47. package/dist/clis/args/login.mjs +39 -1
  48. package/dist/clis/args/login.mjs.map +1 -0
  49. package/dist/clis/args/mcp.d.mts +14 -2
  50. package/dist/clis/args/mcp.d.mts.map +1 -0
  51. package/dist/clis/args/mcp.mjs +21 -1
  52. package/dist/clis/args/mcp.mjs.map +1 -0
  53. package/dist/clis/args/migrate.d.mts +17 -2
  54. package/dist/clis/args/migrate.d.mts.map +1 -0
  55. package/dist/clis/args/migrate.mjs +27 -1
  56. package/dist/clis/args/migrate.mjs.map +1 -0
  57. package/dist/clis/args/publish.d.mts +14 -2
  58. package/dist/clis/args/publish.d.mts.map +1 -0
  59. package/dist/clis/args/publish.mjs +18 -1
  60. package/dist/clis/args/publish.mjs.map +1 -0
  61. package/dist/clis/args/registry.d.mts +15 -2
  62. package/dist/clis/args/registry.d.mts.map +1 -0
  63. package/dist/clis/args/registry.mjs +22 -1
  64. package/dist/clis/args/registry.mjs.map +1 -0
  65. package/dist/clis/args/run.mjs +27 -1
  66. package/dist/clis/args/run.mjs.map +1 -0
  67. package/dist/clis/args/{service-DiTFThbn.d.mts → service-IZ0Aq58z.d.mts} +2 -2
  68. package/dist/clis/args/{service-DiTFThbn.d.mts.map → service-IZ0Aq58z.d.mts.map} +1 -1
  69. package/dist/clis/args/service.d.mts +1 -1
  70. package/dist/clis/args/service.mjs +10 -1
  71. package/dist/clis/args/service.mjs.map +1 -0
  72. package/dist/clis/args/switchboard.d.mts +68 -2
  73. package/dist/clis/args/switchboard.d.mts.map +1 -0
  74. package/dist/clis/args/switchboard.mjs +84 -1
  75. package/dist/clis/args/switchboard.mjs.map +1 -0
  76. package/dist/clis/args/uninstall.d.mts +26 -2
  77. package/dist/clis/args/uninstall.d.mts.map +1 -0
  78. package/dist/clis/args/uninstall.mjs +15 -1
  79. package/dist/clis/args/uninstall.mjs.map +1 -0
  80. package/dist/clis/args/unpublish.d.mts +20 -2
  81. package/dist/clis/args/unpublish.d.mts.map +1 -0
  82. package/dist/clis/args/unpublish.mjs +29 -1
  83. package/dist/clis/args/unpublish.mjs.map +1 -0
  84. package/dist/clis/args/{vetra-F4zGu_hG.mjs → vetra-DlAEC_Mv.mjs} +2 -2
  85. package/dist/clis/args/{vetra-F4zGu_hG.mjs.map → vetra-DlAEC_Mv.mjs.map} +1 -1
  86. package/dist/clis/args/vetra.d.mts +112 -2
  87. package/dist/clis/args/vetra.d.mts.map +1 -0
  88. package/dist/clis/args/vetra.mjs +1 -1
  89. package/dist/clis/{build-config-tJhHVdPm.mjs → build-config-xZgi0nyb.mjs} +3 -2
  90. package/dist/clis/build-config-xZgi0nyb.mjs.map +1 -0
  91. package/dist/clis/build-config.d.mts.map +1 -1
  92. package/dist/clis/build-config.mjs +1 -1
  93. package/dist/clis/build-pieces.d.mts +1 -1
  94. package/dist/clis/build-pieces.mjs +2 -2
  95. package/dist/clis/build-pieces.mjs.map +1 -1
  96. package/dist/clis/constants.d.mts +1 -1
  97. package/dist/clis/constants.mjs +6 -0
  98. package/dist/clis/constants.mjs.map +1 -1
  99. package/dist/clis/index.d.mts +20 -9
  100. package/dist/clis/index.d.mts.map +1 -1
  101. package/dist/clis/index.mjs +28 -8
  102. package/dist/clis/index.mjs.map +1 -1
  103. package/dist/clis/{types-BKM2kIEW.d.mts → types-DKuZRMVO.d.mts} +6 -1
  104. package/dist/clis/{types-BKM2kIEW.d.mts.map → types-DKuZRMVO.d.mts.map} +1 -1
  105. package/dist/clis/utils.d.mts.map +1 -1
  106. package/dist/clis/utils.mjs.map +1 -1
  107. package/dist/connect/config-loader.d.ts +1 -1
  108. package/dist/connect/connect-config-schema.d.ts +1 -1
  109. package/dist/connect/connect-config-schema.js +1 -1
  110. package/dist/connect/index.d.ts +2 -2
  111. package/dist/connect/origin-placeholder.d.ts +52 -0
  112. package/dist/connect/origin-placeholder.d.ts.map +1 -0
  113. package/dist/connect/origin-placeholder.js +101 -0
  114. package/dist/connect/origin-placeholder.js.map +1 -0
  115. package/dist/{connect-config-schema-hSe_84zI.d.ts → connect-config-schema-CsotSch2.d.ts} +2 -2
  116. package/dist/{connect-config-schema-hSe_84zI.d.ts.map → connect-config-schema-CsotSch2.d.ts.map} +1 -1
  117. package/dist/{constants-4Y5b-joA.d.ts → constants-5UFY_rXh.d.ts} +2 -2
  118. package/dist/constants-5UFY_rXh.d.ts.map +1 -0
  119. package/dist/constants.d.ts +1 -1
  120. package/dist/constants.js +1 -0
  121. package/dist/constants.js.map +1 -1
  122. package/dist/document-drive/index.d.ts +3 -3
  123. package/dist/document-model/dispatch.d.ts +1 -1
  124. package/dist/document-model/errors.d.ts +1 -1
  125. package/dist/document-model/errors.js.map +1 -1
  126. package/dist/document-model/index.d.ts +1 -1
  127. package/dist/host-tokens/index.d.ts +2 -2
  128. package/dist/host-tokens/index.js +2 -278
  129. package/dist/host-tokens-DOeyxqLi.js +322 -0
  130. package/dist/host-tokens-DOeyxqLi.js.map +1 -0
  131. package/dist/{index-DIM6qtzj.d.ts → index-D58WVj_E.d.ts} +21 -2
  132. package/dist/index-D58WVj_E.d.ts.map +1 -0
  133. package/dist/{index-BzueQ7B3.d.ts → index-DrmluGJD.d.ts} +2 -2
  134. package/dist/{index-BzueQ7B3.d.ts.map → index-DrmluGJD.d.ts.map} +1 -1
  135. package/dist/index.d.ts +4 -4
  136. package/dist/processors/index.d.ts +1 -1
  137. package/dist/processors/testing.d.ts +1 -1
  138. package/dist/registry/index.d.ts +2 -2
  139. package/dist/registry/index.js +13 -3
  140. package/dist/registry/index.js.map +1 -1
  141. package/dist/registry/manifest-slim.d.ts +2 -2
  142. package/dist/{types-BoYyqmJ2.d.ts → types-CZ0rTsKm.d.ts} +2 -2
  143. package/dist/{types-BoYyqmJ2.d.ts.map → types-CZ0rTsKm.d.ts.map} +1 -1
  144. package/dist/{types-B1HqOXqL.d.ts → types-VCTwbNTD.d.ts} +3 -3
  145. package/dist/{types-B1HqOXqL.d.ts.map → types-VCTwbNTD.d.ts.map} +1 -1
  146. package/package.json +1 -1
  147. package/dist/clis/args/access-token-C5sKsH2O.d.mts +0 -16
  148. package/dist/clis/args/access-token-C5sKsH2O.d.mts.map +0 -1
  149. package/dist/clis/args/access-token-D28cJ6Ov.mjs +0 -22
  150. package/dist/clis/args/access-token-D28cJ6Ov.mjs.map +0 -1
  151. package/dist/clis/args/common-CHSGBvxM.mjs.map +0 -1
  152. package/dist/clis/args/connect-CmErgUlp.mjs +0 -203
  153. package/dist/clis/args/connect-CmErgUlp.mjs.map +0 -1
  154. package/dist/clis/args/connect-DjeiqXus.d.mts +0 -450
  155. package/dist/clis/args/connect-DjeiqXus.d.mts.map +0 -1
  156. package/dist/clis/args/dist-CorQTQL-.mjs +0 -1533
  157. package/dist/clis/args/dist-CorQTQL-.mjs.map +0 -1
  158. package/dist/clis/args/generate-BPBBLeUD.d.mts +0 -103
  159. package/dist/clis/args/generate-BPBBLeUD.d.mts.map +0 -1
  160. package/dist/clis/args/host-BRXA3WP5.mjs +0 -35
  161. package/dist/clis/args/host-BRXA3WP5.mjs.map +0 -1
  162. package/dist/clis/args/host-BX7KQ0Fp.d.mts +0 -24
  163. package/dist/clis/args/host-BX7KQ0Fp.d.mts.map +0 -1
  164. package/dist/clis/args/init-CTaK80wE.d.mts +0 -55
  165. package/dist/clis/args/init-CTaK80wE.d.mts.map +0 -1
  166. package/dist/clis/args/init-DYFFSkxI.mjs +0 -72
  167. package/dist/clis/args/init-DYFFSkxI.mjs.map +0 -1
  168. package/dist/clis/args/inspect-BjRmtB86.d.mts +0 -13
  169. package/dist/clis/args/inspect-BjRmtB86.d.mts.map +0 -1
  170. package/dist/clis/args/inspect-BniSlWn2.mjs +0 -15
  171. package/dist/clis/args/inspect-BniSlWn2.mjs.map +0 -1
  172. package/dist/clis/args/install-B0tMyUMw.d.mts +0 -37
  173. package/dist/clis/args/install-B0tMyUMw.d.mts.map +0 -1
  174. package/dist/clis/args/install-sBi-hWv6.mjs +0 -32
  175. package/dist/clis/args/install-sBi-hWv6.mjs.map +0 -1
  176. package/dist/clis/args/list-DcBHE_2X.mjs +0 -7
  177. package/dist/clis/args/list-DcBHE_2X.mjs.map +0 -1
  178. package/dist/clis/args/list-DrbxA7JJ.d.mts +0 -10
  179. package/dist/clis/args/list-DrbxA7JJ.d.mts.map +0 -1
  180. package/dist/clis/args/login-C8lWLGqU.mjs +0 -40
  181. package/dist/clis/args/login-C8lWLGqU.mjs.map +0 -1
  182. package/dist/clis/args/login-CXRJXg71.d.mts +0 -25
  183. package/dist/clis/args/login-CXRJXg71.d.mts.map +0 -1
  184. package/dist/clis/args/mcp-9ETsMr71.mjs +0 -22
  185. package/dist/clis/args/mcp-9ETsMr71.mjs.map +0 -1
  186. package/dist/clis/args/mcp-Cl5PPlkl.d.mts +0 -16
  187. package/dist/clis/args/mcp-Cl5PPlkl.d.mts.map +0 -1
  188. package/dist/clis/args/migrate-39GBHGb-.mjs +0 -28
  189. package/dist/clis/args/migrate-39GBHGb-.mjs.map +0 -1
  190. package/dist/clis/args/migrate-DKG-NVd5.d.mts +0 -19
  191. package/dist/clis/args/migrate-DKG-NVd5.d.mts.map +0 -1
  192. package/dist/clis/args/publish-CeW4bOrl.d.mts +0 -16
  193. package/dist/clis/args/publish-CeW4bOrl.d.mts.map +0 -1
  194. package/dist/clis/args/publish-Rtu9dx7q.mjs +0 -19
  195. package/dist/clis/args/publish-Rtu9dx7q.mjs.map +0 -1
  196. package/dist/clis/args/registry-DNH8xuaE.d.mts +0 -17
  197. package/dist/clis/args/registry-DNH8xuaE.d.mts.map +0 -1
  198. package/dist/clis/args/registry-Pt5yN9xS.mjs +0 -23
  199. package/dist/clis/args/registry-Pt5yN9xS.mjs.map +0 -1
  200. package/dist/clis/args/run-l_LiMplO.mjs +0 -28
  201. package/dist/clis/args/run-l_LiMplO.mjs.map +0 -1
  202. package/dist/clis/args/service-B3FHLTcp.mjs +0 -11
  203. package/dist/clis/args/service-B3FHLTcp.mjs.map +0 -1
  204. package/dist/clis/args/switchboard-BXLSuEoC.mjs +0 -85
  205. package/dist/clis/args/switchboard-BXLSuEoC.mjs.map +0 -1
  206. package/dist/clis/args/switchboard-RrNb1fUH.d.mts +0 -70
  207. package/dist/clis/args/switchboard-RrNb1fUH.d.mts.map +0 -1
  208. package/dist/clis/args/uninstall-CDx7lwxn.d.mts +0 -28
  209. package/dist/clis/args/uninstall-CDx7lwxn.d.mts.map +0 -1
  210. package/dist/clis/args/uninstall-ChFF846g.mjs +0 -16
  211. package/dist/clis/args/uninstall-ChFF846g.mjs.map +0 -1
  212. package/dist/clis/args/unpublish-CEDsk6uv.d.mts +0 -22
  213. package/dist/clis/args/unpublish-CEDsk6uv.d.mts.map +0 -1
  214. package/dist/clis/args/unpublish-MW7IKVH6.mjs +0 -30
  215. package/dist/clis/args/unpublish-MW7IKVH6.mjs.map +0 -1
  216. package/dist/clis/args/vetra-CviuwTcH.d.mts +0 -114
  217. package/dist/clis/args/vetra-CviuwTcH.d.mts.map +0 -1
  218. package/dist/clis/args/vetra-ports.test.d.mts +0 -2
  219. package/dist/clis/args/vetra-ports.test.mjs +0 -14887
  220. package/dist/clis/args/vetra-ports.test.mjs.map +0 -1
  221. package/dist/clis/build-config-tJhHVdPm.mjs.map +0 -1
  222. package/dist/constants-4Y5b-joA.d.ts.map +0 -1
  223. package/dist/host-tokens/index.js.map +0 -1
  224. package/dist/index-DIM6qtzj.d.ts.map +0 -1
@@ -1,4 +1,23 @@
1
1
  import { z } from "zod";
2
+ //#region host-tokens/drive-address.d.ts
3
+ /** A switchboard drive address, `<base>/d/<slug>`, taken apart. */
4
+ interface SwitchboardDrive {
5
+ /** `<origin>[/<prefix>]`: one base is one switchboard. */
6
+ base: string;
7
+ /** `<base>/graphql`. */
8
+ graphql: string;
9
+ /** The slug the drive is served under. */
10
+ slug: string;
11
+ }
12
+ /**
13
+ * The switchboard a drive address names; undefined when `url` is not one.
14
+ * `${origin}/d/<slug>` is one too: a drive on the switchboard the page's own
15
+ * origin proxies, whose base stays `${origin}` for the browser to resolve.
16
+ */
17
+ declare function switchboardOfDrive(url: string): SwitchboardDrive | undefined;
18
+ /** Why `url` is refused as a reactor link, naming the drive address to use. */
19
+ declare function driveAddressMessage(url: string): string;
20
+ //#endregion
2
21
  //#region host-tokens/index.d.ts
3
22
  /**
4
23
  * Output tokens (typed-host-configs G3): plain-JSON operators a host file
@@ -222,6 +241,6 @@ declare function tokenable<S extends z.ZodType>(schema: S): TokenableSchema<S>;
222
241
  * output). */
223
242
  declare function envTokenable<S extends z.ZodType>(schema: S): TokenableSchema<S, EnvToken>;
224
243
  //#endregion
225
- export { ref as A, findToken as C, keyTokenSchema as D, itemTokenSchema as E, tokenSchema as M, tokenable as N, mapTokenSchema as O, envTokenable as S, isToken as T, TokenKey as _, KeyToken as a, concatTokenSchema as b, OutputToken as c, TOKEN_ESCAPE_KEY as d, TOKEN_KEYS as f, TokenFor as g, TokenField as h, ItemToken as i, tokenKeyOf as j, outputTokenSchema as k, RecordMapToken as l, Token as m, ConcatToken as n, MapToken as o, Template as p, EnvToken as r, OutputPath as s, ArrayMapToken as t, RefFn as u, TokenMode as v, forbidRef as w, envTokenSchema as x, TokenableSchema as y };
244
+ export { ref as A, findToken as C, keyTokenSchema as D, itemTokenSchema as E, driveAddressMessage as F, switchboardOfDrive as I, tokenSchema as M, tokenable as N, mapTokenSchema as O, SwitchboardDrive as P, envTokenable as S, isToken as T, TokenKey as _, KeyToken as a, concatTokenSchema as b, OutputToken as c, TOKEN_ESCAPE_KEY as d, TOKEN_KEYS as f, TokenFor as g, TokenField as h, ItemToken as i, tokenKeyOf as j, outputTokenSchema as k, RecordMapToken as l, Token as m, ConcatToken as n, MapToken as o, Template as p, EnvToken as r, OutputPath as s, ArrayMapToken as t, RefFn as u, TokenMode as v, forbidRef as w, envTokenSchema as x, TokenableSchema as y };
226
245
  export {};
227
- //# sourceMappingURL=index-DIM6qtzj.d.ts.map
246
+ //# sourceMappingURL=index-D58WVj_E.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-D58WVj_E.d.ts","names":[],"sources":["../host-tokens/drive-address.ts","../host-tokens/index.ts"],"mappings":";;;UAGiB;;EAEf;;EAEA;;EAEA;;;;;;;iBAWc,mBAAmB,cAAc;;iBA+BjC,oBAAoB;;;;;;;;;;;;;;;KCpCxB;;;UAWK,YAAY;EAC3B;IAAW;IAAc;IAAiB,MAAM;;WACvC,WAAW;;;UAIL;EACf,4BAA4B;;;;UAKb,UAAU;EACzB,OAAO;IAAe;IAAY,MAAM;;WAC/B,WAAW;;;UAIL;EACf;;;;;UAMe,SAAS;EACxB;IACE,MAAM,cAAc;IACpB;IACA,IAAI;IACJ;;;;UAKa;EACf;IAAiB;IAAc;;;KAGrB,QACR,cACA,cACA,WACA,YACA,WACA;cAES;KASD,mBAAmB;;cAGlB;;;KAMR,UAAU,KAAK,QAAQ,GAAG;;;KAI1B;;KAGA,YACD,kCACA;;KAEC,aACD,YAAY,SAAS,4BACrB,UAAU,SAAS;;;;;;;;KASX,cAAc;EAEpB;IACE,MAAM;IACN;IACA,IAAI,SAAS;IACb;;;EAIF;IACE,MAAM;IACN;IACA,IAAI,SAAS;IACb;;;;UAKS,eAAe;EAC9B;IACE,MAAM;IACN;IACA,IAAI,SAAS;IACb;;;KAIC,YAAY,KAAK,+BAClB,cAAc,aACd,wCACuB,IACnB,eAAe,iBAAiB;;KAKnC,SAAS,GAAG,KAAK,UAAU;;;;KAK3B,YAAY,GAAG,UAAU,YACxB,SAAS,GAAG;EAAgC;OAC5C,SAAS,QAAQ;EAAgC;;;;;;;;;;KAU3C,SAAS,GAAG,UAAU,SAAS,0BAA0B,IACjE,QAEI,YAAY,KACZ,UAAU,qBACM,IAAI,cAAc,oBAClC,YAAY,GAAG,KACf,YAAY;;;;;;;;KASR,SAAS,GAAG,UAAU,SAAS,UACvC,SAAS,UAAU,IAAI,KACvB,cAAc,UAAU,IAAI;KAE3B,cAAc,GAAG,UAAU,UAAU,+BACtC,SAAS,WAAW,OACpB,sBACK,WAAW,IAAI,aAAa,EAAE,IAAI,QACrC;;;;;;;KAQD,aAAa,GAAG,UAAU,UAC3B,SAAS,UAAU,IAAI,KACvB,cAAc,QAAQ,UAAU,gBAAgB;cAMvC,mBAAiB,EAAA;;;;;;GAM5B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;GAK1B,EAAA,KAAA;cAEW,gBAAc,EAAA;;GAEzB,EAAA,KAAA;cAEW,gBAAc,EAAA;;;;;GAKzB,EAAA,KAAA;cAEW,gBAAc,EAAA;;;;;;;;;;;;;;;;;;GAOzB,EAAA,KAAA;cAGW,mBAAmB,EAAE,QAAQ,aAAa;cAO1C,aAAa,EAAE,QAAQ,OAAO;;;iBAqB3B,WAAW,iBAAiB;iBAO5B,QAAQ;;;iBAMR,UACd,gBACA;EACG;EAAc,KAAK;;;;;iBAuPR,IAAI,UAAU,EAAE,SAC9B,QAAQ,IACP,EAAE,UAAU,GAAG,EAAE,QAAQ,OAAO,SAAS,UAAU,EAAE,MAAM;;iBAW9C,UAAU,UAAU,EAAE,SAAS,QAAQ,IAAI;KAI/C;KACA,eAAe,aAAa;;;KAI5B,gBACV,UAAU,EAAE,SACZ,IAAI,SAAS,UAAU,EAAE,MAAM,QAC7B,EAAE,QAAQ,EAAE,OAAO,IAAI,EAAE,MAAM,KAAK;;;;;KAM5B,cAAc,UAAU,EAAE,SAAS,QAAQ,MAAM,gBAAgB;;;;;;;;iBAgB7D,UAAU,UAAU,EAAE,SAAS,QAAQ,IAAI,gBAAgB;;;;iBAc3D,aAAa,UAAU,EAAE,SACvC,QAAQ,IACP,gBAAgB,GAAG"}
@@ -1,4 +1,4 @@
1
- import "./types-BoYyqmJ2.js";
1
+ import "./types-CZ0rTsKm.js";
2
2
  import { SignaturePolicy } from "@powerhousedao/shared/document-model";
3
3
  import { DocumentDriveLocalState, Node } from "@powerhousedao/shared/document-drive";
4
4
  //#region document-drive/src/types.d.ts
@@ -33,4 +33,4 @@ declare function shortGitSha(sha: string): string;
33
33
  //#endregion
34
34
  export { GenerateNodesCopyIdGenerator as a, DriveInput as i, buildTreeUrl as n, GenerateNodesCopySrc as o, shortGitSha as r, SharingType as s, GITHUB_REPO_URL as t };
35
35
  export {};
36
- //# sourceMappingURL=index-BzueQ7B3.d.ts.map
36
+ //# sourceMappingURL=index-DrmluGJD.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BzueQ7B3.d.ts","names":[],"sources":["../document-drive/src/types.ts","../git.ts"],"mappings":";;;;KAMY;EACV,OAAO;EACP,aAAa;EACb,qBAAqB;;KAGX,gCAAgC,YAAY,SAAS;KAErD;EACV;IACE;IACA;;EAEF;EACA;EACA;EACA,QAAQ,QAAQ;;EAEhB;KAAsB;;;EAEtB,kBAAkB;;KAGR;;;cC7BC;iBAEG,aAAa;iBAKb,YAAY"}
1
+ {"version":3,"file":"index-DrmluGJD.d.ts","names":[],"sources":["../document-drive/src/types.ts","../git.ts"],"mappings":";;;;KAMY;EACV,OAAO;EACP,aAAa;EACb,qBAAqB;;KAGX,gCAAgC,YAAY,SAAS;KAErD;EACV;IACE;IACA;;EAEF;EACA;EACA;EACA,QAAQ,QAAQ;;EAEhB;KAAsB;;;EAEtB,kBAAkB;;KAGR;;;cC7BC;iBAEG,aAAa;iBAKb,YAAY"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as AnalyticsSeriesInput, c as CompoundAnalyticsExpression, d as ConversionMetric, f as IAnalyticsStore, i as AnalyticsSeries, l as CompoundAnalyticsInputs, n as AnalyticsOperand, o as AnalyticsSeriesQuery, p as MultiCurrencyConversion, r as AnalyticsQuery, s as AnalyticsUpdateCallback, t as AnalyticsDimension, u as CompoundAnalyticsQuery } from "./types-Bsp8VL2y.js";
2
- import { $ as ServiceActions, $a as UpdateOperationExampleInput, $i as SetModelNameInput, $n as ModuleSpecification, $r as PartialState, $t as DocumentModelAction, A as PHConnectPwaUrlPattern, Aa as SetStateSchemaAction, Ai as RevisionsFilter, An as FileInput, Ar as MutationSetModuleDescriptionArgs, At as CreateDocument, B as PHPackageProvider, Ba as SigningParameters, Bi as SetAuthorNameAction, Bn as Incremental, Bo as ProcessorFactory, Br as MutationSetOperationSchemaArgs, Bt as DeleteModuleAction, C as PHConnectPackages, Ca as SetOperationScopeAction, Ci as ReorderOperationErrorsAction, Cn as DocumentOperationsIgnoreMap, Cr as MutationSetAuthorNameArgs, Ct as CodeExample, D as PHConnectPwaIcon, Da as SetPreferredEditorAction, Di as ReorderStateExamplesAction, Dn as EditorModule, Dr as MutationSetModelExtensionArgs, Dt as CopyChildDocumentSignal, E as PHConnectPwaFileHandler, Ea as SetOperationTemplateInput, Ei as ReorderOperationExamplesInput, En as EditorDispatch, Er as MutationSetModelDescriptionArgs, Et as CopyChildDocumentInput, F as PHConnectRuntimeConfig, Fa as SignalDispatch, Fi as SchemaRedoAction, Fn as IDocument, Fo as ProcessorApp, Fr as MutationSetOperationErrorDescriptionArgs, Ft as DeleteChangeLogItemInput, G as PHSchemedColor, Ga as SubgraphModule, Gi as SetInitialStateInput, Gn as LoadFromInput, Go as ProcessorRerunOptions, Gr as MutationUpdateOperationExampleArgs, Gt as DeleteOperationExampleAction, H as PHReactorRenown, Ha as SkipHeaderOperations, Hi as SetAuthorWebsiteAction, Hn as IsDocumentOfType, Ho as ProcessorFilter, Hr as MutationSetStateSchemaArgs, Ht as DeleteOperationAction, I as PHConnectSentry, Ia as SignalResult, Ii as SchemaSetNameAction, In as IOperation, Io as ProcessorApps, Ir as MutationSetOperationErrorNameArgs, It as DeleteChildDocumentInput, J as ParsedCmdResult, Ja as UndoActionInput, Ji as SetModelExtensionAction, Jn as MakeOptional, Jo as TrackedProcessor, Jr as OperationErrorSpecification, Jt as DeleteStateExampleAction, K as PHSchemedImage, Ka as Undo, Ki as SetModelDescriptionAction, Kn as MakeEmpty, Ko as ProcessorStatus, Kr as MutationUpdateStateExampleArgs, Kt as DeleteOperationExampleInput, L as PHEdges, La as SignalResults, Li as SchemaSetPreferredEditorAction, Ln as ISignal, Lo as ProcessorDeletePropagation, Lr as MutationSetOperationErrorTemplateArgs, Lt as DeleteChildDocumentSignal, M as PHConnectReactorFeatureFlags, Ma as Set_Name, Mi as SaveToFileHandle, Mn as HostedEditorProps, Mo as IProcessorDispatch, Mr as MutationSetNameArgs, Mt as CreateDocumentActionInput, N as PHConnectRenown, Na as Set_PreferredEditor, Ni as Scalars, Nn as IAction, No as IProcessorHostModuleBase, Nr as MutationSetOperationDescriptionArgs, Nt as CreateState, O as PHConnectPwaManifest, Oa as SetPreferredEditorActionInput, Oi as ReorderStateExamplesInput, On as EditorProps, Or as MutationSetModelIdArgs, Ot as CreateChildDocumentInput, P as PHConnectRenownAdapters, Pa as Signal, Pi as SchemaNOOPAction, Pn as ID, Po as IProcessorManager, Pr as MutationSetOperationErrorCodeArgs, Pt as DeleteChangeLogItemAction, Q as ServiceAction, Qa as UpdateOperationExampleAction, Qi as SetModelNameAction, Qn as MinimalBackupData, Qr as PartialRecord, Qt as DocumentDispatch, R as PHImageRef, Ra as SignalType, Ri as SchemaUndoAction, Rn as ISignalResult, Ro as ProcessorDispatchCreateResult, Rr as MutationSetOperationNameArgs, Rt as DeleteDocumentAction, S as PHConnectOpenPanel, Sa as SetOperationSchemaInput, Si as ReorderModulesInput, Sn as DocumentModelVersioningOperations, Sr as MutationReorderStateExamplesArgs, St as Author, T as PHConnectPwaCacheStrategy, Ta as SetOperationTemplateAction, Ti as ReorderOperationExamplesAction, Tn as ENSInfo, Tr as MutationSetInitialStateArgs, Tt as ConfigEntryType, U as PHRenownPrivyAdapterConfig, Ua as State, Ui as SetAuthorWebsiteInput, Un as IsStateOfType, Uo as ProcessorPhase, Ur as MutationUndoArgs, Ut as DeleteOperationErrorAction, V as PHReactorClientMode, Va as SkipHeaderOperationIndex, Vi as SetAuthorNameInput, Vn as InputMaybe, Vo as ProcessorFactoryBuilder, Vr as MutationSetOperationTemplateArgs, Vt as DeleteModuleInput, W as PHRenownRainbowAdapterConfig, Wa as StateReducer, Wi as SetInitialStateAction, Wn as LoadFromFile, Wo as ProcessorRecord, Wr as MutationUpdateChangeLogItemInputArgs, Wt as DeleteOperationErrorInput, X as PowerhouseConfig, Xa as UpdateChangeLogItemAction, Xi as SetModelIdAction, Xn as MappedOperation, Xr as OperationSpecification, Xt as DispatchOutcome, Y as PathValidation, Ya as UndoRedoAction, Yi as SetModelExtensionInput, Yn as Manifest, Yr as OperationIndex, Yt as DeleteStateExampleInput, Z as PowerhousePackage, Za as UpdateChangeLogItemInput, Zi as SetModelIdInput, Zn as Maybe, Zr as OperationsByScope, Zt as DocumentAction, _ as PHConnectDrives, _a as SetOperationNameAction, _i as ReorderChangeLogItemsAction, _n as DocumentModelPHState, _r as MutationReorderChangeLogItemsInputArgs, _t as AddRelationshipActionInput, a as PHBackground, aa as SetNameActionInput, ai as PurgeDocumentAction, an as DocumentModelInput, ao as UpgradeDocumentActionInput, ar as MutationAddOperationArgs, at as Actions, b as PHConnectInstance, ba as SetOperationReducerInput, bi as ReorderModuleOperationsInput, bn as DocumentModelUtils, br as MutationReorderOperationErrorsArgs, bt as AssertIsDocumentOfType, c as PHConnectAi, ca as SetOperationDescriptionInput, ci as Redo, cn as DocumentModelModule, cr as MutationAddStateExampleArgs, ct as AddModuleAction, d as PHConnectCompositionEntry, da as SetOperationErrorDescriptionAction, di as Reducer, dn as DocumentModelOperationAction, dr as MutationDeleteOperationArgs, dt as AddOperationErrorAction, ea as SetModuleDescriptionAction, ei as PhAiToolAnnotations, en as DocumentModelDocument, eo as UpdateRelationshipAction, er as MoveOperationAction, f as PHConnectDefaultDrive, fa as SetOperationErrorDescriptionInput, fi as ReducerOptions, fn as DocumentModelOperationErrorAction, fr as MutationDeleteOperationErrorArgs, ft as AddOperationErrorInput, g as PHConnectDriveSections, ga as SetOperationErrorTemplateInput, gi as RemoveRelationshipActionInput, gn as DocumentModelOperationOperations, gr as MutationRedoArgs, gt as AddRelationshipAction, h as PHConnectDriveSection, ha as SetOperationErrorTemplateAction, hi as RemoveRelationshipAction, hn as DocumentModelOperationExampleOperations, hr as MutationMoveOperationArgs, ht as AddOperationInput, i as LogLevels, ia as SetNameAction, ii as Publisher, in as DocumentModelHeaderOperations, io as UpgradeDocumentAction, ir as MutationAddModuleArgs, it as ActionVerificationHandler, j as PHConnectReactor, ja as SetStateSchemaInput, ji as SaveToFile, jn as GetDocumentOptions, jo as IProcessor, jr as MutationSetModuleNameArgs, jt as CreateDocumentAction, k as PHConnectPwaRuntimeCaching, ka as SetPreferredEditorOperation, ki as ReplayDocumentOptions, kn as Exact, kr as MutationSetModelNameArgs, kt as CreateChildDocumentSignal, l as PHConnectApp, la as SetOperationErrorCodeAction, li as RedoAction, ln as DocumentModelModuleAction, lr as MutationDeleteChangeLogItemInputArgs, lt as AddModuleInput, m as PHConnectDefaultDriveRemote, ma as SetOperationErrorNameInput, mi as ReleaseNewVersionAction, mn as DocumentModelOperationExampleAction, mr as MutationDeleteStateExampleArgs, mt as AddOperationExampleInput, n as DrivePreserveStrategy, na as SetModuleNameAction, ni as PieceModule, nn as DocumentModelGlobalState, no as UpdateStateExampleAction, nr as Mutation, nt as ActionSignatureContext, o as PHBackgroundLayer, oa as SetNameOperation, oi as PurgeDocumentActionInput, on as DocumentModelLib, oo as User, or as MutationAddOperationErrorArgs, ot as AddChangeLogItemAction, p as PHConnectDefaultDriveLocal, pa as SetOperationErrorNameAction, pi as RejectedAction, pn as DocumentModelOperationErrorOperations, pr as MutationDeleteOperationExampleArgs, pt as AddOperationExampleAction, q as PackageManagerArgs, qa as UndoAction, qi as SetModelDescriptionInput, qn as MakeMaybe, qo as ReplayStateMode, qr as NOOPAction, qt as DeleteOperationInput, r as LogLevel, ra as SetModuleNameInput, ri as PowerhouseModule, rn as DocumentModelHeaderAction, ro as UpdateStateExampleInput, rr as MutationAddChangeLogItemInputArgs, rt as ActionSigningHandler, s as PHBackgroundLayers, sa as SetOperationDescriptionAction, si as Query, sn as DocumentModelLocalState, so as ValidationError, sr as MutationAddOperationExampleArgs, st as AddChangeLogItemInput, t as DrivePreserveStrategies, ta as SetModuleDescriptionInput, ti as PhAiToolDescriptor, tn as DocumentModelDocumentModelModule, to as UpdateRelationshipActionInput, tr as MoveOperationInput, tt as ActionErrorCallback, u as PHConnectBranding, ua as SetOperationErrorCodeInput, ui as RedoActionInput, un as DocumentModelModuleOperations, ur as MutationDeleteModuleArgs, ut as AddOperationAction, v as PHConnectExplorerIcons, va as SetOperationNameInput, vi as ReorderChangeLogItemsInput, vn as DocumentModelStateAction, vr as MutationReorderModuleOperationsArgs, vt as AddStateExampleAction, w as PHConnectPwa, wa as SetOperationScopeInput, wi as ReorderOperationErrorsInput, wn as DocumentSpecification, wr as MutationSetAuthorWebsiteArgs, wt as ConfigEntry, x as PHConnectLoader, xa as SetOperationSchemaAction, xi as ReorderModulesAction, xn as DocumentModelVersioningAction, xr as MutationReorderOperationExamplesArgs, xt as AssertIsStateOfType, y as PHConnectHome, ya as SetOperationReducerAction, yi as ReorderModuleOperationsAction, yn as DocumentModelStateOperations, yr as MutationReorderModulesArgs, yt as AddStateExampleInput, z as PHLength, za as SignatureVerificationHandler, zi as ScopeState, zn as ISigner, zo as ProcessorDispatchResult, zr as MutationSetOperationReducerArgs, zt as DeleteDocumentActionInput } from "./types-B1HqOXqL.js";
3
- import { i as PACKAGES_DEPENDENCIES, n as APPS_DEPENDENCIES, r as CLIS_DEPENDENCIES, t as ALL_POWERHOUSE_DEPENDENCIES } from "./constants-4Y5b-joA.js";
4
- import { $ as LegacySynchronizationUnit, A as TriggerData, B as PackagePage, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, F as PACKAGE_MODULE_TYPES, G as RegistryPackageSource, H as RegistryPackage, I as PackageFacets, J as DriveDocumentModelModule, K as RegistryPackageStatus, L as PackageInfo, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as LegacyAddFileInput, R as PackageListItem, S as RemoveListenerInput, T as SetDriveIconInput, U as RegistryPackageList, V as Page, W as RegistryPackageMap, X as DocumentDriveDocument, Y as DocumentDriveAction, Z as LegacyAddFileAction, _ as ListenerInput, _t as SetDriveNameAction, a as CopyNodeInput, at as DocumentDriveNodeOperations, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as UpdateNodeAction, d as FolderNode, dt as DocumentDriveDriveAction, et as AddFileAction, f as Listener, ft as DocumentDriveDriveOperations, g as ListenerFilterInput, gt as SetDriveIconAction, h as ListenerFilter, ht as SetAvailableOfflineAction, i as AddTriggerInput, it as DocumentDriveNodeAction, j as TriggerInput, k as Trigger, lt as AddListenerAction, m as ListenerCallInfoInput, mt as RemoveTriggerAction, n as AddFolderInput, nt as CopyNodeAction, o as DeleteNodeInput, ot as MoveNodeAction, p as ListenerCallInfo, pt as RemoveListenerAction, q as DocumentDrivePHState, r as AddListenerInput, rt as DeleteNodeAction, s as DocumentDriveGlobalState, st as UpdateFileAction, t as AddFileInput, tt as AddFolderAction, u as FileNode, ut as AddTriggerAction, v as MoveNodeInput, vt as SetSharingTypeAction, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node, z as PackageModuleType } from "./types-BoYyqmJ2.js";
5
- import { a as GenerateNodesCopyIdGenerator, i as DriveInput, n as buildTreeUrl, o as GenerateNodesCopySrc, r as shortGitSha, s as SharingType, t as GITHUB_REPO_URL } from "./index-BzueQ7B3.js";
2
+ import { $ as ServiceActions, $a as UpdateOperationExampleInput, $i as SetModelNameInput, $n as ModuleSpecification, $r as PartialState, $t as DocumentModelAction, A as PHConnectPwaUrlPattern, Aa as SetStateSchemaAction, Ai as RevisionsFilter, An as FileInput, Ar as MutationSetModuleDescriptionArgs, At as CreateDocument, B as PHPackageProvider, Ba as SigningParameters, Bi as SetAuthorNameAction, Bn as Incremental, Bo as ProcessorFactory, Br as MutationSetOperationSchemaArgs, Bt as DeleteModuleAction, C as PHConnectPackages, Ca as SetOperationScopeAction, Ci as ReorderOperationErrorsAction, Cn as DocumentOperationsIgnoreMap, Cr as MutationSetAuthorNameArgs, Ct as CodeExample, D as PHConnectPwaIcon, Da as SetPreferredEditorAction, Di as ReorderStateExamplesAction, Dn as EditorModule, Dr as MutationSetModelExtensionArgs, Dt as CopyChildDocumentSignal, E as PHConnectPwaFileHandler, Ea as SetOperationTemplateInput, Ei as ReorderOperationExamplesInput, En as EditorDispatch, Er as MutationSetModelDescriptionArgs, Et as CopyChildDocumentInput, F as PHConnectRuntimeConfig, Fa as SignalDispatch, Fi as SchemaRedoAction, Fn as IDocument, Fo as ProcessorApp, Fr as MutationSetOperationErrorDescriptionArgs, Ft as DeleteChangeLogItemInput, G as PHSchemedColor, Ga as SubgraphModule, Gi as SetInitialStateInput, Gn as LoadFromInput, Go as ProcessorRerunOptions, Gr as MutationUpdateOperationExampleArgs, Gt as DeleteOperationExampleAction, H as PHReactorRenown, Ha as SkipHeaderOperations, Hi as SetAuthorWebsiteAction, Hn as IsDocumentOfType, Ho as ProcessorFilter, Hr as MutationSetStateSchemaArgs, Ht as DeleteOperationAction, I as PHConnectSentry, Ia as SignalResult, Ii as SchemaSetNameAction, In as IOperation, Io as ProcessorApps, Ir as MutationSetOperationErrorNameArgs, It as DeleteChildDocumentInput, J as ParsedCmdResult, Ja as UndoActionInput, Ji as SetModelExtensionAction, Jn as MakeOptional, Jo as TrackedProcessor, Jr as OperationErrorSpecification, Jt as DeleteStateExampleAction, K as PHSchemedImage, Ka as Undo, Ki as SetModelDescriptionAction, Kn as MakeEmpty, Ko as ProcessorStatus, Kr as MutationUpdateStateExampleArgs, Kt as DeleteOperationExampleInput, L as PHEdges, La as SignalResults, Li as SchemaSetPreferredEditorAction, Ln as ISignal, Lo as ProcessorDeletePropagation, Lr as MutationSetOperationErrorTemplateArgs, Lt as DeleteChildDocumentSignal, M as PHConnectReactorFeatureFlags, Ma as Set_Name, Mi as SaveToFileHandle, Mn as HostedEditorProps, Mo as IProcessorDispatch, Mr as MutationSetNameArgs, Mt as CreateDocumentActionInput, N as PHConnectRenown, Na as Set_PreferredEditor, Ni as Scalars, Nn as IAction, No as IProcessorHostModuleBase, Nr as MutationSetOperationDescriptionArgs, Nt as CreateState, O as PHConnectPwaManifest, Oa as SetPreferredEditorActionInput, Oi as ReorderStateExamplesInput, On as EditorProps, Or as MutationSetModelIdArgs, Ot as CreateChildDocumentInput, P as PHConnectRenownAdapters, Pa as Signal, Pi as SchemaNOOPAction, Pn as ID, Po as IProcessorManager, Pr as MutationSetOperationErrorCodeArgs, Pt as DeleteChangeLogItemAction, Q as ServiceAction, Qa as UpdateOperationExampleAction, Qi as SetModelNameAction, Qn as MinimalBackupData, Qr as PartialRecord, Qt as DocumentDispatch, R as PHImageRef, Ra as SignalType, Ri as SchemaUndoAction, Rn as ISignalResult, Ro as ProcessorDispatchCreateResult, Rr as MutationSetOperationNameArgs, Rt as DeleteDocumentAction, S as PHConnectOpenPanel, Sa as SetOperationSchemaInput, Si as ReorderModulesInput, Sn as DocumentModelVersioningOperations, Sr as MutationReorderStateExamplesArgs, St as Author, T as PHConnectPwaCacheStrategy, Ta as SetOperationTemplateAction, Ti as ReorderOperationExamplesAction, Tn as ENSInfo, Tr as MutationSetInitialStateArgs, Tt as ConfigEntryType, U as PHRenownPrivyAdapterConfig, Ua as State, Ui as SetAuthorWebsiteInput, Un as IsStateOfType, Uo as ProcessorPhase, Ur as MutationUndoArgs, Ut as DeleteOperationErrorAction, V as PHReactorClientMode, Va as SkipHeaderOperationIndex, Vi as SetAuthorNameInput, Vn as InputMaybe, Vo as ProcessorFactoryBuilder, Vr as MutationSetOperationTemplateArgs, Vt as DeleteModuleInput, W as PHRenownRainbowAdapterConfig, Wa as StateReducer, Wi as SetInitialStateAction, Wn as LoadFromFile, Wo as ProcessorRecord, Wr as MutationUpdateChangeLogItemInputArgs, Wt as DeleteOperationErrorInput, X as PowerhouseConfig, Xa as UpdateChangeLogItemAction, Xi as SetModelIdAction, Xn as MappedOperation, Xr as OperationSpecification, Xt as DispatchOutcome, Y as PathValidation, Ya as UndoRedoAction, Yi as SetModelExtensionInput, Yn as Manifest, Yr as OperationIndex, Yt as DeleteStateExampleInput, Z as PowerhousePackage, Za as UpdateChangeLogItemInput, Zi as SetModelIdInput, Zn as Maybe, Zr as OperationsByScope, Zt as DocumentAction, _ as PHConnectDrives, _a as SetOperationNameAction, _i as ReorderChangeLogItemsAction, _n as DocumentModelPHState, _r as MutationReorderChangeLogItemsInputArgs, _t as AddRelationshipActionInput, a as PHBackground, aa as SetNameActionInput, ai as PurgeDocumentAction, an as DocumentModelInput, ao as UpgradeDocumentActionInput, ar as MutationAddOperationArgs, at as Actions, b as PHConnectInstance, ba as SetOperationReducerInput, bi as ReorderModuleOperationsInput, bn as DocumentModelUtils, br as MutationReorderOperationErrorsArgs, bt as AssertIsDocumentOfType, c as PHConnectAi, ca as SetOperationDescriptionInput, ci as Redo, cn as DocumentModelModule, cr as MutationAddStateExampleArgs, ct as AddModuleAction, d as PHConnectCompositionEntry, da as SetOperationErrorDescriptionAction, di as Reducer, dn as DocumentModelOperationAction, dr as MutationDeleteOperationArgs, dt as AddOperationErrorAction, ea as SetModuleDescriptionAction, ei as PhAiToolAnnotations, en as DocumentModelDocument, eo as UpdateRelationshipAction, er as MoveOperationAction, f as PHConnectDefaultDrive, fa as SetOperationErrorDescriptionInput, fi as ReducerOptions, fn as DocumentModelOperationErrorAction, fr as MutationDeleteOperationErrorArgs, ft as AddOperationErrorInput, g as PHConnectDriveSections, ga as SetOperationErrorTemplateInput, gi as RemoveRelationshipActionInput, gn as DocumentModelOperationOperations, gr as MutationRedoArgs, gt as AddRelationshipAction, h as PHConnectDriveSection, ha as SetOperationErrorTemplateAction, hi as RemoveRelationshipAction, hn as DocumentModelOperationExampleOperations, hr as MutationMoveOperationArgs, ht as AddOperationInput, i as LogLevels, ia as SetNameAction, ii as Publisher, in as DocumentModelHeaderOperations, io as UpgradeDocumentAction, ir as MutationAddModuleArgs, it as ActionVerificationHandler, j as PHConnectReactor, ja as SetStateSchemaInput, ji as SaveToFile, jn as GetDocumentOptions, jo as IProcessor, jr as MutationSetModuleNameArgs, jt as CreateDocumentAction, k as PHConnectPwaRuntimeCaching, ka as SetPreferredEditorOperation, ki as ReplayDocumentOptions, kn as Exact, kr as MutationSetModelNameArgs, kt as CreateChildDocumentSignal, l as PHConnectApp, la as SetOperationErrorCodeAction, li as RedoAction, ln as DocumentModelModuleAction, lr as MutationDeleteChangeLogItemInputArgs, lt as AddModuleInput, m as PHConnectDefaultDriveRemote, ma as SetOperationErrorNameInput, mi as ReleaseNewVersionAction, mn as DocumentModelOperationExampleAction, mr as MutationDeleteStateExampleArgs, mt as AddOperationExampleInput, n as DrivePreserveStrategy, na as SetModuleNameAction, ni as PieceModule, nn as DocumentModelGlobalState, no as UpdateStateExampleAction, nr as Mutation, nt as ActionSignatureContext, o as PHBackgroundLayer, oa as SetNameOperation, oi as PurgeDocumentActionInput, on as DocumentModelLib, oo as User, or as MutationAddOperationErrorArgs, ot as AddChangeLogItemAction, p as PHConnectDefaultDriveLocal, pa as SetOperationErrorNameAction, pi as RejectedAction, pn as DocumentModelOperationErrorOperations, pr as MutationDeleteOperationExampleArgs, pt as AddOperationExampleAction, q as PackageManagerArgs, qa as UndoAction, qi as SetModelDescriptionInput, qn as MakeMaybe, qo as ReplayStateMode, qr as NOOPAction, qt as DeleteOperationInput, r as LogLevel, ra as SetModuleNameInput, ri as PowerhouseModule, rn as DocumentModelHeaderAction, ro as UpdateStateExampleInput, rr as MutationAddChangeLogItemInputArgs, rt as ActionSigningHandler, s as PHBackgroundLayers, sa as SetOperationDescriptionAction, si as Query, sn as DocumentModelLocalState, so as ValidationError, sr as MutationAddOperationExampleArgs, st as AddChangeLogItemInput, t as DrivePreserveStrategies, ta as SetModuleDescriptionInput, ti as PhAiToolDescriptor, tn as DocumentModelDocumentModelModule, to as UpdateRelationshipActionInput, tr as MoveOperationInput, tt as ActionErrorCallback, u as PHConnectBranding, ua as SetOperationErrorCodeInput, ui as RedoActionInput, un as DocumentModelModuleOperations, ur as MutationDeleteModuleArgs, ut as AddOperationAction, v as PHConnectExplorerIcons, va as SetOperationNameInput, vi as ReorderChangeLogItemsInput, vn as DocumentModelStateAction, vr as MutationReorderModuleOperationsArgs, vt as AddStateExampleAction, w as PHConnectPwa, wa as SetOperationScopeInput, wi as ReorderOperationErrorsInput, wn as DocumentSpecification, wr as MutationSetAuthorWebsiteArgs, wt as ConfigEntry, x as PHConnectLoader, xa as SetOperationSchemaAction, xi as ReorderModulesAction, xn as DocumentModelVersioningAction, xr as MutationReorderOperationExamplesArgs, xt as AssertIsStateOfType, y as PHConnectHome, ya as SetOperationReducerAction, yi as ReorderModuleOperationsAction, yn as DocumentModelStateOperations, yr as MutationReorderModulesArgs, yt as AddStateExampleInput, z as PHLength, za as SignatureVerificationHandler, zi as ScopeState, zn as ISigner, zo as ProcessorDispatchResult, zr as MutationSetOperationReducerArgs, zt as DeleteDocumentActionInput } from "./types-VCTwbNTD.js";
3
+ import { i as PACKAGES_DEPENDENCIES, n as APPS_DEPENDENCIES, r as CLIS_DEPENDENCIES, t as ALL_POWERHOUSE_DEPENDENCIES } from "./constants-5UFY_rXh.js";
4
+ import { $ as LegacySynchronizationUnit, A as TriggerData, B as PackagePage, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, F as PACKAGE_MODULE_TYPES, G as RegistryPackageSource, H as RegistryPackage, I as PackageFacets, J as DriveDocumentModelModule, K as RegistryPackageStatus, L as PackageInfo, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as LegacyAddFileInput, R as PackageListItem, S as RemoveListenerInput, T as SetDriveIconInput, U as RegistryPackageList, V as Page, W as RegistryPackageMap, X as DocumentDriveDocument, Y as DocumentDriveAction, Z as LegacyAddFileAction, _ as ListenerInput, _t as SetDriveNameAction, a as CopyNodeInput, at as DocumentDriveNodeOperations, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as UpdateNodeAction, d as FolderNode, dt as DocumentDriveDriveAction, et as AddFileAction, f as Listener, ft as DocumentDriveDriveOperations, g as ListenerFilterInput, gt as SetDriveIconAction, h as ListenerFilter, ht as SetAvailableOfflineAction, i as AddTriggerInput, it as DocumentDriveNodeAction, j as TriggerInput, k as Trigger, lt as AddListenerAction, m as ListenerCallInfoInput, mt as RemoveTriggerAction, n as AddFolderInput, nt as CopyNodeAction, o as DeleteNodeInput, ot as MoveNodeAction, p as ListenerCallInfo, pt as RemoveListenerAction, q as DocumentDrivePHState, r as AddListenerInput, rt as DeleteNodeAction, s as DocumentDriveGlobalState, st as UpdateFileAction, t as AddFileInput, tt as AddFolderAction, u as FileNode, ut as AddTriggerAction, v as MoveNodeInput, vt as SetSharingTypeAction, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node, z as PackageModuleType } from "./types-CZ0rTsKm.js";
5
+ import { a as GenerateNodesCopyIdGenerator, i as DriveInput, n as buildTreeUrl, o as GenerateNodesCopySrc, r as shortGitSha, s as SharingType, t as GITHUB_REPO_URL } from "./index-DrmluGJD.js";
6
6
  export { ALL_POWERHOUSE_DEPENDENCIES, APPS_DEPENDENCIES, type ActionErrorCallback, type ActionSignatureContext, type ActionSigningHandler, type ActionVerificationHandler, type Actions, type AddChangeLogItemAction, type AddChangeLogItemInput, type AddFileAction, type AddFileInput, type AddFolderAction, type AddFolderInput, type AddListenerAction, type AddListenerInput, type AddModuleAction, type AddModuleInput, type AddOperationAction, type AddOperationErrorAction, type AddOperationErrorInput, type AddOperationExampleAction, type AddOperationExampleInput, type AddOperationInput, type AddRelationshipAction, type AddRelationshipActionInput, type AddStateExampleAction, type AddStateExampleInput, type AddTriggerAction, type AddTriggerInput, type AnalyticsDimension, type AnalyticsOperand, type AnalyticsQuery, type AnalyticsSeries, type AnalyticsSeriesInput, type AnalyticsSeriesQuery, type AnalyticsUpdateCallback, type AssertIsDocumentOfType, type AssertIsStateOfType, type Author, CLIS_DEPENDENCIES, type CodeExample, type CompoundAnalyticsExpression, type CompoundAnalyticsInputs, type CompoundAnalyticsQuery, type ConfigEntry, type ConfigEntryType, type ConversionMetric, type CopyChildDocumentInput, type CopyChildDocumentSignal, type CopyNodeAction, type CopyNodeInput, type CreateChildDocumentInput, type CreateChildDocumentSignal, type CreateDocument, type CreateDocumentAction, type CreateDocumentActionInput, type CreateState, type DeleteChangeLogItemAction, type DeleteChangeLogItemInput, type DeleteChildDocumentInput, type DeleteChildDocumentSignal, type DeleteDocumentAction, type DeleteDocumentActionInput, type DeleteModuleAction, type DeleteModuleInput, type DeleteNodeAction, type DeleteNodeInput, type DeleteOperationAction, type DeleteOperationErrorAction, type DeleteOperationErrorInput, type DeleteOperationExampleAction, type DeleteOperationExampleInput, type DeleteOperationInput, type DeleteStateExampleAction, type DeleteStateExampleInput, type DispatchOutcome, type DocumentAction, type DocumentDispatch, type DocumentDriveAction, type DocumentDriveDocument, type DocumentDriveDriveAction, type DocumentDriveDriveOperations, type DocumentDriveGlobalState, type DocumentDriveLocalState, type DocumentDriveNodeAction, type DocumentDriveNodeOperations, type DocumentDrivePHState, type DocumentModelAction, type DocumentModelDocument, type DocumentModelDocumentModelModule, type DocumentModelGlobalState, type DocumentModelHeaderAction, type DocumentModelHeaderOperations, type DocumentModelInput, type DocumentModelLib, type DocumentModelLocalState, type DocumentModelModule, type DocumentModelModuleAction, type DocumentModelModuleOperations, type DocumentModelOperationAction, type DocumentModelOperationErrorAction, type DocumentModelOperationErrorOperations, type DocumentModelOperationExampleAction, type DocumentModelOperationExampleOperations, type DocumentModelOperationOperations, type DocumentModelPHState, type DocumentModelStateAction, type DocumentModelStateOperations, type DocumentModelUtils, type DocumentModelVersioningAction, type DocumentModelVersioningOperations, type DocumentOperationsIgnoreMap, type DocumentSpecification, type DriveDocumentModelModule, type DriveInput, type DrivePreserveStrategies, type DrivePreserveStrategy, type ENSInfo, type EditorDispatch, type EditorModule, type EditorProps, type Exact, type FileInput, type FileNode, type FolderNode, GITHUB_REPO_URL, type GenerateNodesCopyIdGenerator, type GenerateNodesCopySrc, type GetDocumentOptions, type HostedEditorProps, type IAction, type IAnalyticsStore, type ID, type IDocument, type IOperation, type IProcessor, type IProcessorDispatch, type IProcessorHostModuleBase, type IProcessorManager, type ISignal, type ISignalResult, type ISigner, type Incremental, type InputMaybe, type IsDocumentOfType, type IsStateOfType, type LegacyAddFileAction, type LegacyAddFileInput, type LegacySynchronizationUnit, type Listener, type ListenerCallInfo, type ListenerCallInfoInput, type ListenerFilter, type ListenerFilterInput, type ListenerInput, type LoadFromFile, type LoadFromInput, type LogLevel, type LogLevels, type MakeEmpty, type MakeMaybe, type MakeOptional, type Manifest, type MappedOperation, type Maybe, type MinimalBackupData, type ModuleSpecification, type MoveNodeAction, type MoveNodeInput, type MoveOperationAction, type MoveOperationInput, type MultiCurrencyConversion, type Mutation, type MutationAddChangeLogItemInputArgs, type MutationAddModuleArgs, type MutationAddOperationArgs, type MutationAddOperationErrorArgs, type MutationAddOperationExampleArgs, type MutationAddStateExampleArgs, type MutationDeleteChangeLogItemInputArgs, type MutationDeleteModuleArgs, type MutationDeleteOperationArgs, type MutationDeleteOperationErrorArgs, type MutationDeleteOperationExampleArgs, type MutationDeleteStateExampleArgs, type MutationMoveOperationArgs, type MutationRedoArgs, type MutationReorderChangeLogItemsInputArgs, type MutationReorderModuleOperationsArgs, type MutationReorderModulesArgs, type MutationReorderOperationErrorsArgs, type MutationReorderOperationExamplesArgs, type MutationReorderStateExamplesArgs, type MutationSetAuthorNameArgs, type MutationSetAuthorWebsiteArgs, type MutationSetInitialStateArgs, type MutationSetModelDescriptionArgs, type MutationSetModelExtensionArgs, type MutationSetModelIdArgs, type MutationSetModelNameArgs, type MutationSetModuleDescriptionArgs, type MutationSetModuleNameArgs, type MutationSetNameArgs, type MutationSetOperationDescriptionArgs, type MutationSetOperationErrorCodeArgs, type MutationSetOperationErrorDescriptionArgs, type MutationSetOperationErrorNameArgs, type MutationSetOperationErrorTemplateArgs, type MutationSetOperationNameArgs, type MutationSetOperationReducerArgs, type MutationSetOperationSchemaArgs, type MutationSetOperationTemplateArgs, type MutationSetStateSchemaArgs, type MutationUndoArgs, type MutationUpdateChangeLogItemInputArgs, type MutationUpdateOperationExampleArgs, type MutationUpdateStateExampleArgs, type NOOPAction, type Node, type OperationErrorSpecification, type OperationIndex, type OperationSpecification, type OperationsByScope, PACKAGES_DEPENDENCIES, type PACKAGE_MODULE_TYPES, type PHBackground, type PHBackgroundLayer, type PHBackgroundLayers, type PHConnectAi, type PHConnectApp, type PHConnectBranding, type PHConnectCompositionEntry, type PHConnectDefaultDrive, type PHConnectDefaultDriveLocal, type PHConnectDefaultDriveRemote, type PHConnectDriveSection, type PHConnectDriveSections, type PHConnectDrives, type PHConnectExplorerIcons, type PHConnectHome, type PHConnectInstance, type PHConnectLoader, type PHConnectOpenPanel, type PHConnectPackages, type PHConnectPwa, type PHConnectPwaCacheStrategy, type PHConnectPwaFileHandler, type PHConnectPwaIcon, type PHConnectPwaManifest, type PHConnectPwaRuntimeCaching, type PHConnectPwaUrlPattern, type PHConnectReactor, type PHConnectReactorFeatureFlags, type PHConnectRenown, type PHConnectRenownAdapters, type PHConnectRuntimeConfig, type PHConnectSentry, type PHEdges, type PHImageRef, type PHLength, type PHPackageProvider, type PHReactorClientMode, type PHReactorRenown, type PHRenownPrivyAdapterConfig, type PHRenownRainbowAdapterConfig, type PHSchemedColor, type PHSchemedImage, type PackageFacets, type PackageInfo, type PackageListItem, type PackageManagerArgs, type PackageModuleType, type PackagePage, type Page, type ParsedCmdResult, type PartialRecord, type PartialState, type PathValidation, type PhAiToolAnnotations, type PhAiToolDescriptor, type PieceModule, type PowerhouseConfig, type PowerhouseModule, type PowerhousePackage, type ProcessorApp, type ProcessorApps, type ProcessorDeletePropagation, type ProcessorDispatchCreateResult, type ProcessorDispatchResult, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorPhase, type ProcessorRecord, type ProcessorRerunOptions, type ProcessorStatus, type Publisher, type PullResponderTriggerData, type PullResponderTriggerDataInput, type PurgeDocumentAction, type PurgeDocumentActionInput, type Query, type Redo, type RedoAction, type RedoActionInput, type Reducer, type ReducerOptions, type RegistryPackage, type RegistryPackageList, type RegistryPackageMap, type RegistryPackageSource, type RegistryPackageStatus, type RejectedAction, type ReleaseNewVersionAction, type RemoveListenerAction, type RemoveListenerInput, type RemoveRelationshipAction, type RemoveRelationshipActionInput, type RemoveTriggerAction, type RemoveTriggerInput, type ReorderChangeLogItemsAction, type ReorderChangeLogItemsInput, type ReorderModuleOperationsAction, type ReorderModuleOperationsInput, type ReorderModulesAction, type ReorderModulesInput, type ReorderOperationErrorsAction, type ReorderOperationErrorsInput, type ReorderOperationExamplesAction, type ReorderOperationExamplesInput, type ReorderStateExamplesAction, type ReorderStateExamplesInput, type ReplayDocumentOptions, type ReplayStateMode, type RevisionsFilter, type SaveToFile, type SaveToFileHandle, type Scalars, type SchemaNOOPAction, type SchemaRedoAction, type SchemaSetNameAction, type SchemaSetPreferredEditorAction, type SchemaUndoAction, type ScopeState, type ServiceAction, type ServiceActions, type SetAuthorNameAction, type SetAuthorNameInput, type SetAuthorWebsiteAction, type SetAuthorWebsiteInput, type SetAvailableOfflineAction, type SetAvailableOfflineInput, type SetDriveIconAction, type SetDriveIconInput, type SetDriveNameAction, type SetDriveNameInput, type SetInitialStateAction, type SetInitialStateInput, type SetModelDescriptionAction, type SetModelDescriptionInput, type SetModelExtensionAction, type SetModelExtensionInput, type SetModelIdAction, type SetModelIdInput, type SetModelNameAction, type SetModelNameInput, type SetModuleDescriptionAction, type SetModuleDescriptionInput, type SetModuleNameAction, type SetModuleNameInput, type SetNameAction, type SetNameActionInput, type SetNameOperation, type SetOperationDescriptionAction, type SetOperationDescriptionInput, type SetOperationErrorCodeAction, type SetOperationErrorCodeInput, type SetOperationErrorDescriptionAction, type SetOperationErrorDescriptionInput, type SetOperationErrorNameAction, type SetOperationErrorNameInput, type SetOperationErrorTemplateAction, type SetOperationErrorTemplateInput, type SetOperationNameAction, type SetOperationNameInput, type SetOperationReducerAction, type SetOperationReducerInput, type SetOperationSchemaAction, type SetOperationSchemaInput, type SetOperationScopeAction, type SetOperationScopeInput, type SetOperationTemplateAction, type SetOperationTemplateInput, type SetPreferredEditorAction, type SetPreferredEditorActionInput, type SetPreferredEditorOperation, type SetSharingTypeAction, type SetSharingTypeInput, type SetStateSchemaAction, type SetStateSchemaInput, type Set_Name, type Set_PreferredEditor, type SharingType, type Signal, type SignalDispatch, type SignalResult, type SignalResults, type SignalType, type SignatureVerificationHandler, type SigningParameters, type SkipHeaderOperationIndex, type SkipHeaderOperations, type State, type StateReducer, type SubgraphModule, type TrackedProcessor, type TransmitterType, type Trigger, type TriggerData, type TriggerInput, type TriggerType, type Undo, type UndoAction, type UndoActionInput, type UndoRedoAction, type UpdateChangeLogItemAction, type UpdateChangeLogItemInput, type UpdateFileAction, type UpdateFileInput, type UpdateNodeAction, type UpdateNodeInput, type UpdateOperationExampleAction, type UpdateOperationExampleInput, type UpdateRelationshipAction, type UpdateRelationshipActionInput, type UpdateStateExampleAction, type UpdateStateExampleInput, type UpgradeDocumentAction, type UpgradeDocumentActionInput, type User, type ValidationError, buildTreeUrl, shortGitSha };
7
7
  export {};
@@ -1,3 +1,3 @@
1
- import { $o as NodeRouteSpec, Ao as RelationalDbProcessorClass, Bo as ProcessorFactory, Co as HashAlgorithms, Do as IRelationalQueryBuilder, Eo as IRelationalDbProcessor, Fo as ProcessorApp, Go as ProcessorRerunOptions, Ho as ProcessorFilter, Io as ProcessorApps, Jo as TrackedProcessor, Ko as ProcessorStatus, Lo as ProcessorDeletePropagation, Mo as IProcessorDispatch, No as IProcessorHostModuleBase, Oo as IRelationalQueryMethods, Po as IProcessorManager, Qo as IWebhookScope, Ro as ProcessorDispatchCreateResult, So as ExtractProcessorSchemaOrSelf, Ss as deletedDocumentId, To as IRelationalDb, Uo as ProcessorPhase, Vo as ProcessorFactoryBuilder, Wo as ProcessorRecord, Xo as IHttpScope, Yo as AuthorizerResult, Zo as IWebhookEndpoints, _o as createRelationalDb, _s as WebhookRequest, as as RouteHandler, bo as relationalDbToQueryBuilder, bs as WebhookSpec, co as CodegenState, cs as RouteSpec, dg as PROCESSOR_APPS, do as PackageLoadFailure, ds as ScopedRouteHandle, es as RouteActor, fo as SETTLED_CODEGEN_STATES, fs as WebhookEndpointInfo, go as createNamespacedQueryBuilder, gs as WebhookReply, ho as createNamespacedDb, hs as WebhookPolicy, is as RouteContext, jo as IProcessor, ko as RelationalDbProcessor, lg as DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, lo as CodegenStatus, ls as RouteTransport, mo as isSettledCodegenState, ms as WebhookHashAlgorithm, ns as RouteAuthorizer, os as RouteMethod, po as getCodegenStatusRegistry, ps as WebhookField, qo as ReplayStateMode, rs as RouteBody, ss as RouteOptions, ts as RouteAuth, ug as DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, uo as CodegenStatusRegistry, us as RouteUser, vo as hashNamespace, vs as WebhookScheme, wo as IBaseRelationalDb, xo as DOCUMENT_ID_COLUMNS, xs as WebhookVerification, yo as namespaceSchemaOf, ys as WebhookSignatureEncoding, zo as ProcessorDispatchResult } from "../types-B1HqOXqL.js";
1
+ import { $o as NodeRouteSpec, Ao as RelationalDbProcessorClass, Bo as ProcessorFactory, Co as HashAlgorithms, Do as IRelationalQueryBuilder, Eo as IRelationalDbProcessor, Fo as ProcessorApp, Go as ProcessorRerunOptions, Ho as ProcessorFilter, Io as ProcessorApps, Jo as TrackedProcessor, Ko as ProcessorStatus, Lo as ProcessorDeletePropagation, Mo as IProcessorDispatch, No as IProcessorHostModuleBase, Oo as IRelationalQueryMethods, Po as IProcessorManager, Qo as IWebhookScope, Ro as ProcessorDispatchCreateResult, So as ExtractProcessorSchemaOrSelf, Ss as deletedDocumentId, To as IRelationalDb, Uo as ProcessorPhase, Vo as ProcessorFactoryBuilder, Wo as ProcessorRecord, Xo as IHttpScope, Yo as AuthorizerResult, Zo as IWebhookEndpoints, _o as createRelationalDb, _s as WebhookRequest, as as RouteHandler, bo as relationalDbToQueryBuilder, bs as WebhookSpec, co as CodegenState, cs as RouteSpec, dg as PROCESSOR_APPS, do as PackageLoadFailure, ds as ScopedRouteHandle, es as RouteActor, fo as SETTLED_CODEGEN_STATES, fs as WebhookEndpointInfo, go as createNamespacedQueryBuilder, gs as WebhookReply, ho as createNamespacedDb, hs as WebhookPolicy, is as RouteContext, jo as IProcessor, ko as RelationalDbProcessor, lg as DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, lo as CodegenStatus, ls as RouteTransport, mo as isSettledCodegenState, ms as WebhookHashAlgorithm, ns as RouteAuthorizer, os as RouteMethod, po as getCodegenStatusRegistry, ps as WebhookField, qo as ReplayStateMode, rs as RouteBody, ss as RouteOptions, ts as RouteAuth, ug as DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, uo as CodegenStatusRegistry, us as RouteUser, vo as hashNamespace, vs as WebhookScheme, wo as IBaseRelationalDb, xo as DOCUMENT_ID_COLUMNS, xs as WebhookVerification, yo as namespaceSchemaOf, ys as WebhookSignatureEncoding, zo as ProcessorDispatchResult } from "../types-VCTwbNTD.js";
2
2
  export { type AuthorizerResult, CodegenState, CodegenStatus, CodegenStatusRegistry, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, DOCUMENT_ID_COLUMNS, ExtractProcessorSchemaOrSelf, HashAlgorithms, IBaseRelationalDb, type IHttpScope, type IProcessor, type IProcessorDispatch, type IProcessorHostModuleBase, type IProcessorManager, IRelationalDb, IRelationalDbProcessor, IRelationalQueryBuilder, IRelationalQueryMethods, type IWebhookEndpoints, type IWebhookScope, type NodeRouteSpec, PROCESSOR_APPS, PackageLoadFailure, type ProcessorApp, type ProcessorApps, type ProcessorDeletePropagation, type ProcessorDispatchCreateResult, type ProcessorDispatchResult, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorPhase, type ProcessorRecord, type ProcessorRerunOptions, type ProcessorStatus, RelationalDbProcessor, RelationalDbProcessorClass, type ReplayStateMode, type RouteActor, type RouteAuth, type RouteAuthorizer, type RouteBody, type RouteContext, type RouteHandler, type RouteMethod, type RouteOptions, type RouteSpec, type RouteTransport, type RouteUser, SETTLED_CODEGEN_STATES, type ScopedRouteHandle, type TrackedProcessor, type WebhookEndpointInfo, type WebhookField, type WebhookHashAlgorithm, type WebhookPolicy, type WebhookReply, type WebhookRequest, type WebhookScheme, type WebhookSignatureEncoding, type WebhookSpec, type WebhookVerification, createNamespacedDb, createNamespacedQueryBuilder, createRelationalDb, deletedDocumentId, getCodegenStatusRegistry, hashNamespace, isSettledCodegenState, namespaceSchemaOf, relationalDbToQueryBuilder };
3
3
  export {};
@@ -1,4 +1,4 @@
1
- import { So as ExtractProcessorSchemaOrSelf, To as IRelationalDb } from "../types-B1HqOXqL.js";
1
+ import { So as ExtractProcessorSchemaOrSelf, To as IRelationalDb } from "../types-VCTwbNTD.js";
2
2
  import { OperationWithContext, PHDocument } from "@powerhousedao/shared/document-model";
3
3
  //#region processors/testing.d.ts
4
4
  /** An in-memory PGlite database, as a host's `module.relationalDb`. `destroy()` closes it. */
@@ -1,5 +1,5 @@
1
- import { et as DEFAULT_REGISTRY_URL } from "../types-B1HqOXqL.js";
2
- import { B as PackagePage, F as PACKAGE_MODULE_TYPES, G as RegistryPackageSource, H as RegistryPackage, I as PackageFacets, K as RegistryPackageStatus, L as PackageInfo, R as PackageListItem, U as RegistryPackageList, V as Page, W as RegistryPackageMap, z as PackageModuleType } from "../types-BoYyqmJ2.js";
1
+ import { et as DEFAULT_REGISTRY_URL } from "../types-VCTwbNTD.js";
2
+ import { B as PackagePage, F as PACKAGE_MODULE_TYPES, G as RegistryPackageSource, H as RegistryPackage, I as PackageFacets, K as RegistryPackageStatus, L as PackageInfo, R as PackageListItem, U as RegistryPackageList, V as Page, W as RegistryPackageMap, z as PackageModuleType } from "../types-CZ0rTsKm.js";
3
3
  import { slimManifest } from "./manifest-slim.js";
4
4
  import { toCdnUrl } from "./urls.js";
5
5
  import { getUpdateTarget, parseInstallSpec } from "./updates.js";
@@ -85,6 +85,14 @@ function getConfig(path = "./powerhouse.config.json") {
85
85
  }
86
86
  //#endregion
87
87
  //#region clis/file-system/spawn-async.ts
88
+ var SpawnError = class extends Error {
89
+ stdout;
90
+ constructor(message, stdout) {
91
+ super(message);
92
+ this.stdout = stdout;
93
+ this.name = "SpawnError";
94
+ }
95
+ };
88
96
  function spawnAsync(command, args, options = {}) {
89
97
  return new Promise((resolve, reject) => {
90
98
  const child = spawn(command, args, {
@@ -98,16 +106,18 @@ function spawnAsync(command, args, options = {}) {
98
106
  });
99
107
  let stdout = "";
100
108
  let stderr = "";
109
+ child.stdout?.setEncoding("utf8");
110
+ child.stderr?.setEncoding("utf8");
101
111
  child.stdout?.on("data", (d) => {
102
- stdout += d.toString();
112
+ stdout += d;
103
113
  });
104
114
  child.stderr?.on("data", (d) => {
105
- stderr += d.toString();
115
+ stderr += d;
106
116
  });
107
117
  child.on("error", reject);
108
118
  child.on("close", (code) => {
109
119
  if (code === 0) resolve(stdout.trim());
110
- else reject(new Error(stderr.trim() || `${command} exited with code ${code}`));
120
+ else reject(new SpawnError(stderr.trim() || stdout.trim() || `${command} exited with code ${code}`, stdout.trim()));
111
121
  });
112
122
  });
113
123
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["fs"],"sources":["../../registry/types.ts","../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import type { Manifest } from \"types\";\nexport interface PackageInfo {\n name: string;\n path: string;\n manifest: Manifest | null;\n documentTypes: string[];\n version?: string;\n /** Install spec the user requested (name, name@tag, or name@version); present\n * on installed packages, used to pick the update stream. Absent for legacy\n * entries. */\n spec?: string;\n /** Mapping of dist-tag → version (e.g. {latest: \"1.0.0\", dev: \"1.1.0-dev.3\"}). */\n distTags?: Record<string, string>;\n /** All published versions of the package, sorted ascending by semver. */\n versions?: string[];\n /**\n * The newest version the registry currently reports for this package (the\n * `version` field of list items / single-package responses). Distinct from\n * {@link version}, which holds the installed version on installed rows.\n * Every registry reports it, even ones without dist-tag support, so it is\n * the fallback target for the `latest` update stream.\n */\n latestVersion?: string;\n /** Accounts that own the name (publish/unpublish rights). Present only on\n * registries with the Postgres-backed auth; omitted when untracked. */\n owners?: string[];\n}\n\n/**\n * Item shape of `GET /packages` pages: only what a listing card renders. Pass\n * `detail=full` for {@link PackageInfo} items.\n */\nexport interface PackageListItem {\n name: string;\n path: string;\n version?: string;\n description?: string;\n category?: string;\n publisher?: { name?: string; url?: string };\n}\n\n/** Envelope of `GET /packages` and `GET /pieces`. */\nexport interface Page<T> {\n items: T[];\n total: number;\n limit: number;\n offset: number;\n hasMore: boolean;\n}\n\n/** Filter options over the `name`-restricted set, sent with `facets=true`. */\nexport interface PackageFacets {\n categories: string[];\n publishers: string[];\n}\n\n/** `GET /packages`; items are {@link PackageInfo} with `detail=full`. */\nexport interface PackagePage<T = PackageListItem> extends Page<T> {\n facets?: PackageFacets;\n}\n\n/** Manifest module lists accepted by the `moduleType` filter. */\nexport const PACKAGE_MODULE_TYPES = [\n \"documentModels\",\n \"editors\",\n \"apps\",\n \"subgraphs\",\n \"processors\",\n] as const;\nexport type PackageModuleType = (typeof PACKAGE_MODULE_TYPES)[number];\n\nexport type RegistryPackageStatus =\n | \"available\"\n | \"local-install\"\n | \"registry-install\"\n | \"dismissed\";\n\nexport type RegistryPackageSource =\n | \"available\"\n | \"local-install\"\n | \"registry-install\"\n | \"common\"\n | \"project\";\n\nexport type RegistryPackage = PackageInfo & {\n status: RegistryPackageStatus;\n /**\n * Shared-dependency version mismatches against the Connect build's version\n * table, pre-formatted (see `formatSharedDepWarnings`). Absent when the\n * host has no shared-deps table (vendor-off / dev) or none were found.\n */\n sharedDepWarnings?: string[];\n};\nexport type RegistryPackageMap = Record<string, RegistryPackage | undefined>;\nexport type RegistryPackageList = RegistryPackage[];\n","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\n/**\n * Icon for the drives switchboard creates by default, inlined as a data URI.\n *\n * A remote URL is the wrong shape for this: the value is baked into the drive\n * document and rendered by every Connect that opens it, so the icon only\n * appears when that client can reach that host. A desktop or air-gapped install\n * cannot, and the ipfs.io gateway this previously pointed at now answers 403\n * regardless.\n *\n * The mark is drawn dark-on-light so it stays legible against either theme.\n */\nexport const DEFAULT_DRIVE_ICON =\n \"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20width='16'%20height='16'%20rx='3'%20fill='%23F3F5F7'/%3E%3Cpath%20fill='%23343839'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0059%200L3.41636%205.45646C2.44979%206.25682%202.3795%207.71452%203.26456%208.60418L5.54425%2010.8957C6.21311%2011.568%206.35783%2012.6012%205.89944%2013.4314L4.48126%2016H2.13333C0.955126%2016%200%2015.0449%200%2013.8667V2.13333C0%200.955126%200.955126%200%202.13333%200H10.0059ZM11.2436%200L10.0128%202.24221C9.55899%203.06891%209.70183%204.09549%2010.3641%204.7669L12.7825%207.21868C13.6656%208.11402%2013.5866%209.57512%2012.612%2010.37L5.70922%2016H13.8667C15.0449%2016%2016%2015.0449%2016%2013.8667V2.13333C16%200.955126%2015.0449%200%2013.8667%200H11.2436Z'/%3E%3C/svg%3E\" 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 // Offered routes import it; the Connect that loads the package provides it.\n \"@powerhousedao/connect-core\",\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\";\nexport const KYSELY_PACKAGE = \"kysely\";\nexport const RELATIONAL_DB_PROCESSOR_CLASS = \"RelationalDbProcessor\";\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.6.5\" },\n // Project routes import it; Connect and connect-core take the project's copy.\n \"@tanstack/react-router\": { peer: \"^1.170.41\", dev: \"1.170.41\" },\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 // The schema `ph generate migration-file` writes imports kysely's types, and\n // queries import its `sql`; the host's kysely runs them.\n relationalDbProcessor: {\n peerVersioned: [],\n peerExternal: { [KYSELY_PACKAGE]: { peer: \"^0.28\", dev: \"0.28.16\" } },\n devVersioned: [],\n },\n // A subgraph's BaseSubgraph is the host's: the build leaves it external.\n subgraph: {\n peerVersioned: [REACTOR_API_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 ...FEATURE_DEPENDENCIES.subgraph.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 // uniform-runners: the runner modules the scaffolded hosts/*/host.js\n // files name (desktop runner, clint-runner/mastra-runner, and the generic\n // compound they build on); dormant in classic projects until the feature\n // flag defaults on.\n \"@powerhousedao/host-core\",\n \"@powerhousedao/clint\",\n \"@powerhousedao/desktop\",\n // the switchboard plugins the scaffolded switchboard host composes\n // (workflows, mcp, …) and their PHPluginConfigs types for tsc -p hosts.\n \"@powerhousedao/switchboard\",\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 node: \"./dist/node/subgraphs/index.mjs\",\n },\n // The routes the package offers other Connects; built when it has any.\n \"./connect-routes\": {\n browser: \"./dist/browser/connect-routes.js\",\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 // Routes type-check against the tree, which Vetra or a build would write.\n lint: \"ph-cli generate connect-routes && oxlint --type-aware --type-check\",\n \"lint:fix\":\n \"ph-cli generate connect-routes && oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"ph-cli generate connect-routes && 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 // The MCP configs run it as `node --run mcp`, which needs no shell on Windows.\n mcp: \"ph-cli mcp\",\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\": \"5.0.3\",\n oxfmt: \"0.68.0\",\n oxlint: \"1.83.0\",\n \"oxlint-tsgolint\": \"7.0.2001\",\n tailwindcss: \"^4.1.16\",\n typescript: \"~7.0.2\",\n vite: \"^8.0.10\",\n vitest: \"5.0.3\",\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","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import spawn from \"cross-spawn\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n // cross-spawn rather than node:child_process.spawn. On Windows npm, pnpm\n // and yarn are all `.cmd` shims, and since the fix for CVE-2024-27980\n // (Node 18.20.2 / 20.12.2 / 21.7.3 and later) `spawn` refuses to execute\n // `.bat`/`.cmd` unless `shell: true` -- it throws `spawn EINVAL`, and\n // synchronously, so an `error` listener never sees it. Passing\n // `shell: true` instead would hand the arguments to cmd.exe, which strips\n // quotes and splits on shell metacharacters. cross-spawn resolves the shim\n // and escapes the arguments itself, so the call keeps shell-less argument\n // semantics on every platform.\n const child = spawn(command, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout?.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr?.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { promises as fs } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\n/**\n * Extract the host portion of a registry URL — what npm uses as the key in\n * `~/.npmrc` for per-registry tokens (e.g. `//registry.vetra.io/`).\n */\nexport function registryAuthKey(registryUrl: string): string {\n const url = new URL(registryUrl);\n // Always trailing slash; npm's lookup is exact-match against the leading\n // path of the registry URL, with `//` prefix and trailing `/`.\n const path = url.pathname.endsWith(\"/\") ? url.pathname : `${url.pathname}/`;\n return `//${url.host}${path}:_authToken`;\n}\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n /** Bearer token for the registry. When set, passed via a registry-scoped\n * `_authToken` config flag rather than read from the user's `.npmrc`. */\n authToken?: string;\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n *\n * When `authToken` is provided, the token is passed via a registry-scoped\n * `--//host/:_authToken=<token>` flag (npm's standard form for per-registry\n * tokens) so we never have to write to `~/.npmrc`.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...tokenArg, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n\n/**\n * Write `_authToken=<token>` for the given registry host into `~/.npmrc`,\n * preserving any other lines. Replaces the existing entry for the same key\n * if present. Returns the absolute path to the npmrc that was written.\n */\nexport async function writeRegistryAuthToken(\n registryUrl: string,\n token: string,\n): Promise<string> {\n const npmrcPath = join(homedir(), \".npmrc\");\n const key = registryAuthKey(registryUrl);\n let existing = \"\";\n try {\n existing = await fs.readFile(npmrcPath, \"utf8\");\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n const lines = existing.split(\"\\n\");\n const filtered = lines.filter((line) => !line.startsWith(`${key}=`));\n // Also drop any trailing empties to avoid stacking blank lines on rewrite.\n while (filtered.length && filtered[filtered.length - 1] === \"\")\n filtered.pop();\n filtered.push(`${key}=${token}`);\n await fs.writeFile(npmrcPath, `${filtered.join(\"\\n\")}\\n`, \"utf8\");\n return npmrcPath;\n}\n\nexport interface NpmUnpublishOptions {\n /** Registry URL to unpublish from. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Package spec: `<name>` (whole package) or `<name>@<version>` (single version). */\n spec: string;\n /** Additional arguments forwarded to npm unpublish. */\n args?: string[];\n /** Bearer token for the registry (same semantics as `NpmPublishOptions.authToken`). */\n authToken?: string;\n}\n\nexport interface NpmUnpublishResult {\n /** stdout from npm unpublish. */\n stdout: string;\n}\n\n/**\n * Run `npm unpublish` against the given registry.\n * Always passes `--force` because npm otherwise refuses to unpublish packages\n * older than 72h (a public-npmjs safeguard that doesn't apply to private registries).\n */\nexport async function npmUnpublish(\n options: NpmUnpublishOptions,\n): Promise<NpmUnpublishResult> {\n const { registryUrl, cwd, spec, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\n \"unpublish\",\n spec,\n \"--registry\",\n registryUrl,\n \"--force\",\n ...tokenArg,\n ...args,\n ];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","names":["fs"],"sources":["../../registry/types.ts","../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import type { Manifest } from \"types\";\nexport interface PackageInfo {\n name: string;\n path: string;\n manifest: Manifest | null;\n documentTypes: string[];\n version?: string;\n /** Install spec the user requested (name, name@tag, or name@version); present\n * on installed packages, used to pick the update stream. Absent for legacy\n * entries. */\n spec?: string;\n /** Mapping of dist-tag → version (e.g. {latest: \"1.0.0\", dev: \"1.1.0-dev.3\"}). */\n distTags?: Record<string, string>;\n /** All published versions of the package, sorted ascending by semver. */\n versions?: string[];\n /**\n * The newest version the registry currently reports for this package (the\n * `version` field of list items / single-package responses). Distinct from\n * {@link version}, which holds the installed version on installed rows.\n * Every registry reports it, even ones without dist-tag support, so it is\n * the fallback target for the `latest` update stream.\n */\n latestVersion?: string;\n /** Accounts that own the name (publish/unpublish rights). Present only on\n * registries with the Postgres-backed auth; omitted when untracked. */\n owners?: string[];\n}\n\n/**\n * Item shape of `GET /packages` pages: only what a listing card renders. Pass\n * `detail=full` for {@link PackageInfo} items.\n */\nexport interface PackageListItem {\n name: string;\n path: string;\n version?: string;\n description?: string;\n category?: string;\n publisher?: { name?: string; url?: string };\n}\n\n/** Envelope of `GET /packages` and `GET /pieces`. */\nexport interface Page<T> {\n items: T[];\n total: number;\n limit: number;\n offset: number;\n hasMore: boolean;\n}\n\n/** Filter options over the `name`-restricted set, sent with `facets=true`. */\nexport interface PackageFacets {\n categories: string[];\n publishers: string[];\n}\n\n/** `GET /packages`; items are {@link PackageInfo} with `detail=full`. */\nexport interface PackagePage<T = PackageListItem> extends Page<T> {\n facets?: PackageFacets;\n}\n\n/** Manifest module lists accepted by the `moduleType` filter. */\nexport const PACKAGE_MODULE_TYPES = [\n \"documentModels\",\n \"editors\",\n \"apps\",\n \"subgraphs\",\n \"processors\",\n] as const;\nexport type PackageModuleType = (typeof PACKAGE_MODULE_TYPES)[number];\n\nexport type RegistryPackageStatus =\n | \"available\"\n | \"local-install\"\n | \"registry-install\"\n | \"dismissed\";\n\nexport type RegistryPackageSource =\n | \"available\"\n | \"local-install\"\n | \"registry-install\"\n | \"common\"\n | \"project\";\n\nexport type RegistryPackage = PackageInfo & {\n status: RegistryPackageStatus;\n /**\n * Shared-dependency version mismatches against the Connect build's version\n * table, pre-formatted (see `formatSharedDepWarnings`). Absent when the\n * host has no shared-deps table (vendor-off / dev) or none were found.\n */\n sharedDepWarnings?: string[];\n};\nexport type RegistryPackageMap = Record<string, RegistryPackage | undefined>;\nexport type RegistryPackageList = RegistryPackage[];\n","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\n/**\n * Icon for the drives switchboard creates by default, inlined as a data URI.\n *\n * A remote URL is the wrong shape for this: the value is baked into the drive\n * document and rendered by every Connect that opens it, so the icon only\n * appears when that client can reach that host. A desktop or air-gapped install\n * cannot, and the ipfs.io gateway this previously pointed at now answers 403\n * regardless.\n *\n * The mark is drawn dark-on-light so it stays legible against either theme.\n */\nexport const DEFAULT_DRIVE_ICON =\n \"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20width='16'%20height='16'%20rx='3'%20fill='%23F3F5F7'/%3E%3Cpath%20fill='%23343839'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0059%200L3.41636%205.45646C2.44979%206.25682%202.3795%207.71452%203.26456%208.60418L5.54425%2010.8957C6.21311%2011.568%206.35783%2012.6012%205.89944%2013.4314L4.48126%2016H2.13333C0.955126%2016%200%2015.0449%200%2013.8667V2.13333C0%200.955126%200.955126%200%202.13333%200H10.0059ZM11.2436%200L10.0128%202.24221C9.55899%203.06891%209.70183%204.09549%2010.3641%204.7669L12.7825%207.21868C13.6656%208.11402%2013.5866%209.57512%2012.612%2010.37L5.70922%2016H13.8667C15.0449%2016%2016%2015.0449%2016%2013.8667V2.13333C16%200.955126%2015.0449%200%2013.8667%200H11.2436Z'/%3E%3C/svg%3E\" 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 // Offered routes import it; the Connect that loads the package provides it.\n \"@powerhousedao/connect-core\",\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\";\nexport const KYSELY_PACKAGE = \"kysely\";\nexport const RELATIONAL_DB_PROCESSOR_CLASS = \"RelationalDbProcessor\";\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.6.5\" },\n // Project routes import it; Connect and connect-core take the project's copy.\n \"@tanstack/react-router\": { peer: \"^1.170.41\", dev: \"1.170.41\" },\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 // The schema `ph generate migration-file` writes imports kysely's types, and\n // queries import its `sql`; the host's kysely runs them.\n relationalDbProcessor: {\n peerVersioned: [],\n peerExternal: { [KYSELY_PACKAGE]: { peer: \"^0.28\", dev: \"0.28.16\" } },\n devVersioned: [],\n },\n // A subgraph's BaseSubgraph is the host's: the build leaves it external.\n subgraph: {\n peerVersioned: [REACTOR_API_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 ...FEATURE_DEPENDENCIES.subgraph.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 package.json `resolutions` and\n// `overrides`, with each pin also an exact devDependency. Generated-project\n// only — never change the monorepo catalog for this (a re-resolution there\n// 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 // uniform-runners: the runner modules the scaffolded hosts/*/host.js\n // files name (desktop runner, clint-runner/mastra-runner, and the generic\n // compound they build on); dormant in classic projects until the feature\n // flag defaults on.\n \"@powerhousedao/host-core\",\n \"@powerhousedao/clint\",\n \"@powerhousedao/desktop\",\n // the Vetra Studio plugins the scaffolded vetra host composes (verb dev)\n \"@powerhousedao/vetra-studio\",\n // the switchboard plugins the scaffolded switchboard host composes\n // (workflows, mcp, …) and their PHPluginConfigs types for tsc -p hosts.\n \"@powerhousedao/switchboard\",\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 node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./scalars\": {\n types: \"./dist/types/scalars/index.d.ts\",\n browser: \"./dist/browser/scalars/index.js\",\n node: \"./dist/node/scalars/index.mjs\",\n },\n // The routes the package offers other Connects; built when it has any.\n \"./connect-routes\": {\n browser: \"./dist/browser/connect-routes.js\",\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 // Routes type-check against the tree, which Vetra or a build would write.\n lint: \"ph-cli generate connect-routes && oxlint --type-aware --type-check\",\n \"lint:fix\":\n \"ph-cli generate connect-routes && oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"ph-cli generate connect-routes && 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 // The MCP configs run it as `node --run mcp`, which needs no shell on Windows.\n mcp: \"ph-cli mcp\",\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\": \"5.0.3\",\n oxfmt: \"0.68.0\",\n oxlint: \"1.83.0\",\n \"oxlint-tsgolint\": \"7.0.2001\",\n tailwindcss: \"^4.1.16\",\n typescript: \"~7.0.2\",\n vite: \"^8.0.10\",\n vitest: \"5.0.3\",\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","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import spawn from \"cross-spawn\";\n\nexport class SpawnError extends Error {\n constructor(\n message: string,\n readonly stdout: string,\n ) {\n super(message);\n this.name = \"SpawnError\";\n }\n}\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n // cross-spawn rather than node:child_process.spawn. On Windows npm, pnpm\n // and yarn are all `.cmd` shims, and since the fix for CVE-2024-27980\n // (Node 18.20.2 / 20.12.2 / 21.7.3 and later) `spawn` refuses to execute\n // `.bat`/`.cmd` unless `shell: true` -- it throws `spawn EINVAL`, and\n // synchronously, so an `error` listener never sees it. Passing\n // `shell: true` instead would hand the arguments to cmd.exe, which strips\n // quotes and splits on shell metacharacters. cross-spawn resolves the shim\n // and escapes the arguments itself, so the call keeps shell-less argument\n // semantics on every platform.\n const child = spawn(command, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout?.setEncoding(\"utf8\");\n child.stderr?.setEncoding(\"utf8\");\n child.stdout?.on(\"data\", (d: string) => {\n stdout += d;\n });\n\n child.stderr?.on(\"data\", (d: string) => {\n stderr += d;\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new SpawnError(\n stderr.trim() ||\n stdout.trim() ||\n `${command} exited with code ${code}`,\n stdout.trim(),\n ),\n );\n }\n });\n });\n}\n","import { promises as fs } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\n/**\n * Extract the host portion of a registry URL — what npm uses as the key in\n * `~/.npmrc` for per-registry tokens (e.g. `//registry.vetra.io/`).\n */\nexport function registryAuthKey(registryUrl: string): string {\n const url = new URL(registryUrl);\n // Always trailing slash; npm's lookup is exact-match against the leading\n // path of the registry URL, with `//` prefix and trailing `/`.\n const path = url.pathname.endsWith(\"/\") ? url.pathname : `${url.pathname}/`;\n return `//${url.host}${path}:_authToken`;\n}\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n /** Bearer token for the registry. When set, passed via a registry-scoped\n * `_authToken` config flag rather than read from the user's `.npmrc`. */\n authToken?: string;\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n *\n * When `authToken` is provided, the token is passed via a registry-scoped\n * `--//host/:_authToken=<token>` flag (npm's standard form for per-registry\n * tokens) so we never have to write to `~/.npmrc`.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...tokenArg, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n\n/**\n * Write `_authToken=<token>` for the given registry host into `~/.npmrc`,\n * preserving any other lines. Replaces the existing entry for the same key\n * if present. Returns the absolute path to the npmrc that was written.\n */\nexport async function writeRegistryAuthToken(\n registryUrl: string,\n token: string,\n): Promise<string> {\n const npmrcPath = join(homedir(), \".npmrc\");\n const key = registryAuthKey(registryUrl);\n let existing = \"\";\n try {\n existing = await fs.readFile(npmrcPath, \"utf8\");\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n const lines = existing.split(\"\\n\");\n const filtered = lines.filter((line) => !line.startsWith(`${key}=`));\n // Also drop any trailing empties to avoid stacking blank lines on rewrite.\n while (filtered.length && filtered[filtered.length - 1] === \"\")\n filtered.pop();\n filtered.push(`${key}=${token}`);\n await fs.writeFile(npmrcPath, `${filtered.join(\"\\n\")}\\n`, \"utf8\");\n return npmrcPath;\n}\n\nexport interface NpmUnpublishOptions {\n /** Registry URL to unpublish from. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Package spec: `<name>` (whole package) or `<name>@<version>` (single version). */\n spec: string;\n /** Additional arguments forwarded to npm unpublish. */\n args?: string[];\n /** Bearer token for the registry (same semantics as `NpmPublishOptions.authToken`). */\n authToken?: string;\n}\n\nexport interface NpmUnpublishResult {\n /** stdout from npm unpublish. */\n stdout: string;\n}\n\n/**\n * Run `npm unpublish` against the given registry.\n * Always passes `--force` because npm otherwise refuses to unpublish packages\n * older than 72h (a public-npmjs safeguard that doesn't apply to private registries).\n */\nexport async function npmUnpublish(\n options: NpmUnpublishOptions,\n): Promise<NpmUnpublishResult> {\n const { registryUrl, cwd, spec, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\n \"unpublish\",\n spec,\n \"--registry\",\n registryUrl,\n \"--force\",\n ...tokenArg,\n ...args,\n ];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
- import { Yn as Manifest } from "../types-B1HqOXqL.js";
2
- import "../types-BoYyqmJ2.js";
1
+ import { Yn as Manifest } from "../types-VCTwbNTD.js";
2
+ import "../types-CZ0rTsKm.js";
3
3
  //#region registry/manifest-slim.d.ts
4
4
  /**
5
5
  * Reduce a manifest to the summary fields the package-listing surfaces
@@ -1,5 +1,5 @@
1
1
  import "./types-Bsp8VL2y.js";
2
- import { Fa as SignalDispatch, Ni as Scalars, Vn as InputMaybe, Yn as Manifest, Zn as Maybe, cn as DocumentModelModule, mh as PHBaseState, sp as Action, ym as PHDocument } from "./types-B1HqOXqL.js";
2
+ import { Fa as SignalDispatch, Ni as Scalars, Vn as InputMaybe, Yn as Manifest, Zn as Maybe, cn as DocumentModelModule, mh as PHBaseState, sp as Action, ym as PHDocument } from "./types-VCTwbNTD.js";
3
3
  //#region document-drive/gen/drive/actions.d.ts
4
4
  type SetDriveNameAction = Action & {
5
5
  type: "SET_DRIVE_NAME";
@@ -338,4 +338,4 @@ type UpdateNodeInput = {
338
338
  //#endregion
339
339
  export { LegacySynchronizationUnit as $, TriggerData as A, PackagePage as B, RemoveTriggerInput as C, SetSharingTypeInput as D, SetDriveNameInput as E, PACKAGE_MODULE_TYPES as F, RegistryPackageSource as G, RegistryPackage as H, PackageFacets as I, DriveDocumentModelModule as J, RegistryPackageStatus as K, PackageInfo as L, TriggerType as M, UpdateFileInput as N, TransmitterType as O, UpdateNodeInput as P, LegacyAddFileInput as Q, PackageListItem as R, RemoveListenerInput as S, SetDriveIconInput as T, RegistryPackageList as U, Page as V, RegistryPackageMap as W, DocumentDriveDocument as X, DocumentDriveAction as Y, LegacyAddFileAction as Z, ListenerInput as _, SetDriveNameAction as _t, CopyNodeInput as a, DocumentDriveNodeOperations as at, PullResponderTriggerData as b, DocumentDriveLocalState as c, UpdateNodeAction as ct, FolderNode as d, DocumentDriveDriveAction as dt, AddFileAction as et, Listener as f, DocumentDriveDriveOperations as ft, ListenerFilterInput as g, SetDriveIconAction as gt, ListenerFilter as h, SetAvailableOfflineAction as ht, AddTriggerInput as i, DocumentDriveNodeAction as it, TriggerInput as j, Trigger as k, DocumentDrivePHState as l, AddListenerAction as lt, ListenerCallInfoInput as m, RemoveTriggerAction as mt, AddFolderInput as n, CopyNodeAction as nt, DeleteNodeInput as o, MoveNodeAction as ot, ListenerCallInfo as p, RemoveListenerAction as pt, DocumentDrivePHState$1 as q, AddListenerInput as r, DeleteNodeAction as rt, DocumentDriveGlobalState as s, UpdateFileAction as st, AddFileInput as t, AddFolderAction as tt, FileNode as u, AddTriggerAction as ut, MoveNodeInput as v, SetSharingTypeAction as vt, SetAvailableOfflineInput as w, PullResponderTriggerDataInput as x, Node as y, PackageModuleType as z };
340
340
  export {};
341
- //# sourceMappingURL=types-BoYyqmJ2.d.ts.map
341
+ //# sourceMappingURL=types-CZ0rTsKm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-BoYyqmJ2.d.ts","names":[],"sources":["../document-drive/gen/drive/actions.ts","../document-drive/gen/node/actions.ts","../document-drive/gen/types.ts","../document-drive/types.ts","../registry/types.ts","../document-drive/gen/schema/types.ts"],"mappings":"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"}
1
+ {"version":3,"file":"types-CZ0rTsKm.d.ts","names":[],"sources":["../document-drive/gen/drive/actions.ts","../document-drive/gen/node/actions.ts","../document-drive/gen/types.ts","../document-drive/types.ts","../registry/types.ts","../document-drive/gen/schema/types.ts"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  import { f as IAnalyticsStore } from "./types-Bsp8VL2y.js";
2
- import { A as connectPwaCacheStrategySchema, B as connectRenownAdaptersSchema, C as connectHomeSchema, D as connectLoaderSchema, E as connectLengthSchema, G as connectRuntimeInstanceSchema, H as connectRenownRainbowAdapterSchema, I as connectPwaUrlPatternSchema, J as connectSchemedColorSchema, K as connectRuntimePwaManifestSchema, L as connectReactorClientModeSchema, M as connectPwaIconSchema, O as connectOpenPanelSchema, P as connectPwaRuntimeCachingSchema, R as connectReactorFeatureFlagsSchema, S as connectExplorerIconsSchema, U as connectRenownSchema, V as connectRenownPrivyAdapterSchema, W as connectRuntimeConfigSchema, X as connectSentrySchema, Y as connectSchemedImageSchema, Z as connect_config_schema_d_exports, a as connectAiSchema, b as connectDrivesSchema, c as connectBackgroundLayersSchema, d as connectCompositionEntrySchema, g as connectDefaultDriveSchema, h as connectDefaultDriveRemoteSchema, j as connectPwaFileHandlerSchema, k as connectPackagesSchema, l as connectBackgroundSchema, m as connectDefaultDriveLocalSchema, o as connectAppSchema, q as connectRuntimePwaSchema, s as connectBackgroundLayerSchema, u as connectBrandingSchema, v as connectDriveSectionSchema, w as connectImageRefSchema, x as connectEdgesSchema, y as connectDriveSectionsSchema, z as connectReactorSchema } from "./connect-config-schema-hSe_84zI.js";
2
+ import { A as connectPwaCacheStrategySchema, B as connectRenownAdaptersSchema, C as connectHomeSchema, D as connectLoaderSchema, E as connectLengthSchema, G as connectRuntimeInstanceSchema, H as connectRenownRainbowAdapterSchema, I as connectPwaUrlPatternSchema, J as connectSchemedColorSchema, K as connectRuntimePwaManifestSchema, L as connectReactorClientModeSchema, M as connectPwaIconSchema, O as connectOpenPanelSchema, P as connectPwaRuntimeCachingSchema, R as connectReactorFeatureFlagsSchema, S as connectExplorerIconsSchema, U as connectRenownSchema, V as connectRenownPrivyAdapterSchema, W as connectRuntimeConfigSchema, X as connectSentrySchema, Y as connectSchemedImageSchema, Z as connect_config_schema_d_exports, a as connectAiSchema, b as connectDrivesSchema, c as connectBackgroundLayersSchema, d as connectCompositionEntrySchema, g as connectDefaultDriveSchema, h as connectDefaultDriveRemoteSchema, j as connectPwaFileHandlerSchema, k as connectPackagesSchema, l as connectBackgroundSchema, m as connectDefaultDriveLocalSchema, o as connectAppSchema, q as connectRuntimePwaSchema, s as connectBackgroundLayerSchema, u as connectBrandingSchema, v as connectDriveSectionSchema, w as connectImageRefSchema, x as connectEdgesSchema, y as connectDriveSectionsSchema, z as connectReactorSchema } from "./connect-config-schema-CsotSch2.js";
3
3
  import "./utils-BrKxCmKx.js";
4
4
  import { ZodIssue, ZodRawShape, z } from "zod";
5
5
  import { Draft } from "mutative";
@@ -4338,7 +4338,7 @@ type PhAiToolAnnotations = {
4338
4338
  * AI assistant (see `DocumentModelLib.aiTools`).
4339
4339
  *
4340
4340
  * Structurally compatible with the MCP tool records produced by
4341
- * `createReactorMcpProvider`: the callback parameter is `never` so any
4341
+ * `toMcpTool`: the callback parameter is `never` so any
4342
4342
  * per-tool-args function type is assignable, and the result is `unknown`
4343
4343
  * because the envelope shape (MCP `CallToolResult`) is unwrapped at the
4344
4344
  * adapter boundary.
@@ -4542,4 +4542,4 @@ type PowerhouseConfig = {
4542
4542
  //#endregion
4543
4543
  export { ServiceActions as $, UpdateOperationExampleInput as $a, SetPreferredEditorActionInputSchema as $c, evaluateGrantStack as $d, actionSignerIdentity as $f, undoOperation as $h, SetModelNameInput as $i, peerSupports as $l, reshuffleByTimestamp as $m, ModuleSpecification as $n, NodeRouteSpec as $o, setName as $p, PartialState as $r, ConfigEntryTypeSchema as $s, DocumentModelAction as $t, documentModelDocumentType as $u, PHConnectPwaUrlPattern as A, SetStateSchemaAction as Aa, ReorderStateExamplesInputSchema as Ac, HASH_ALGORITHM_SHA1 as Ad, applySetGrantAction as Af, defaultPHState as Ah, RevisionsFilter as Ai, purgeDocumentAction as Al, filterDocumentOperationsResultingState as Am, FileInput as An, RelationalDbProcessorClass as Ao, moveOperation as Ap, MutationSetModuleDescriptionArgs as Ar, findModuleOrThrow as As, CreateDocument as At, zipEntries as Au, PHPackageProvider as B, SigningParameters as Ba, SetModuleNameInputSchema as Bc, AuthAdministrationMissingError as Bd, removeGrant as Bf, protocolVersionsFor as Bh, SetAuthorNameAction as Bi, PeerCapabilityFlags as Bl, isUndo as Bm, Incremental as Bn, ProcessorFactory as Bo, reorderModules as Bp, MutationSetOperationSchemaArgs as Br, validateModules as Bs, DeleteModuleAction as Bt, withProtocolVersions as Bu, PHConnectPackages as C, SetOperationScopeAction as Ca, RedoActionSchema as Cc, base64UrlToBytes as Cd, SetGrantAction as Cf, createLocalState as Ch, ReorderOperationErrorsAction as Ci, createReducer as Cl, appendWithoutApplying as Cm, DocumentOperationsIgnoreMap as Cn, HashAlgorithms as Co, deleteChangeLogItem as Cp, MutationSetAuthorNameArgs as Cr, OPERATION_NAME_PATTERN as Cs, CodeExample as Ct, documentModelSaveToFileHandle as Cu, PHConnectPwaIcon as D, SetPreferredEditorAction as Da, ReorderModulesInputSchema as Dc, getUnixTimestamp as Dd, applyInitializeAuthAction as Df, defaultDocumentState as Dh, ReorderStateExamplesAction as Di, PURGE_DOCUMENT as Dl, checkCleanedOperationsIntegrity as Dm, EditorModule as Dn, IRelationalQueryBuilder as Do, deleteOperationExample as Dp, MutationSetModelExtensionArgs as Dr, assertOperationErrorIdUnique as Ds, CopyChildDocumentSignal as Dt, parseBulkArchive as Du, PHConnectPwaFileHandler as E, SetOperationTemplateInput as Ea, ReorderModuleOperationsInputSchema as Ec, bytesToBase64Url as Ed, applyAuthAction as Ef, defaultBaseState as Eh, ReorderOperationExamplesInput as Ei, updateDocument as El, baseReducerVersion as Em, EditorDispatch as En, IRelationalDbProcessor as Eo, deleteOperationError as Ep, MutationSetModelDescriptionArgs as Er, assertModuleIdUnique as Es, CopyChildDocumentInput as Et, isDocumentZip as Eu, PHConnectRuntimeConfig as F, SignalDispatch as Fa, SetModelDescriptionInputSchema as Fc, documentModelFileExtension as Fd, initializeAuth as Ff, SIGNATURE_PROTOCOL_V2 as Fh, SchemaRedoAction as Fi, HoldReason as Fl, getDocumentLastModified as Fm, IDocument as Fn, ProcessorApp as Fo, operationWithContext as Fp, MutationSetOperationErrorDescriptionArgs as Fr, isReservedOperationName as Fs, DeleteChangeLogItemInput as Ft, UpgradeReducer as Fu, PHSchemedColor as G, SubgraphModule as Ga, SetOperationErrorDescriptionInputSchema as Gc, MAX_CAPABILITY_OPERATIONS as Gd, TransportSigner as Gf, Operation as Gh, SetInitialStateInput as Gi, coversLocal as Gl, nextSkipNumber as Gm, LoadFromInput as Gn, ProcessorRerunOptions as Go, setAuthorWebsite as Gp, MutationUpdateOperationExampleArgs as Gr, AddModuleInputSchema as Gs, DeleteOperationExampleAction as Gt, DowngradeNotSupportedError as Gu, PHReactorRenown as H, SkipHeaderOperations as Ha, SetNameActionSchema as Hc, GroupPrincipalNotAllowedError as Hd, setGrant as Hf, signaturePolicyOf as Hh, SetAuthorWebsiteAction as Hi, ProtocolCapability as Hl, mapSkippedOperations as Hm, IsDocumentOfType as Hn, ProcessorFilter as Ho, reorderOperationExamples as Hp, MutationSetStateSchemaArgs as Hr, validateOperations as Hs, DeleteOperationAction as Ht, AuthAlreadyInitializedError as Hu, PHConnectSentry as I, SignalResult as Ia, SetModelExtensionInputSchema as Ic, documentModelGlobalState as Id, isAuthAction as If, SignaturePolicy$1 as Ih, SchemaSetNameAction as Ii, MARKER_REFUSAL_FEATURE as Il, groupOperationsByScope as Im, IOperation as In, ProcessorApps as Io, redo as Ip, MutationSetOperationErrorNameArgs as Ir, isValidOperationNameFormat as Is, DeleteChildDocumentInput as It, UpgradeTransition as Iu, ParsedCmdResult as J, UndoActionInput as Ja, SetOperationNameInputSchema as Jc, assertAuthAdministrationRetained as Jd, ActionSignerIdentity as Jf, OperationWithContext$1 as Jh, SetModelExtensionAction as Ji, legacySupports as Jl, precedes as Jm, MakeOptional as Jn, TrackedProcessor as Jo, setModelExtension as Jp, OperationErrorSpecification as Jr, AddOperationInputSchema as Js, DeleteStateExampleAction as Jt, HashMismatchError as Ju, PHSchemedImage as K, Undo as Ka, SetOperationErrorNameInputSchema as Kc, MAX_CONDITION_DEPTH as Kd, toTransportAction as Kf, OperationContext as Kh, SetModelDescriptionAction as Ki, holdReason as Kl, operationsAreEqual as Km, MakeEmpty as Kn, ProcessorStatus as Ko, setInitialState as Kp, MutationUpdateStateExampleArgs as Kr, AddOperationErrorInputSchema as Ks, DeleteOperationExampleInput as Kt, FileSystemError as Ku, PHEdges as L, SignalResults as La, SetModelIdInputSchema as Lc, documentModelInitialGlobalState as Ld, isDocumentCreator as Lf, deriveDocumentId as Lh, SchemaSetPreferredEditorAction as Li, PEER_CAPABILITIES as Ll, hashDocumentStateForScope as Lm, ISignal as Ln, ProcessorDeletePropagation as Lo, releaseNewVersion as Lp, MutationSetOperationErrorTemplateArgs as Lr, validateInitialState as Ls, DeleteChildDocumentSignal as Lt, applyDeleteDocumentAction as Lu, PHConnectReactorFeatureFlags as M, Set_Name as Ma, SetAuthorNameInputSchema as Mc, HASH_ALGORITHM_SHA512 as Md, assertAuthScopeActionAllowed as Mf, DocumentIdParams as Mh, SaveToFileHandle as Mi, purgedProtocolVersions as Ml, garbageCollect as Mm, HostedEditorProps as Mn, IProcessorDispatch as Mo, operationExampleCreators as Mp, MutationSetNameArgs as Mr, findOperationExampleOrThrow as Ms, CreateDocumentActionInput as Mt, VersionedReplayConfig as Mu, PHConnectRenown as N, Set_PreferredEditor as Na, SetAuthorWebsiteInputSchema as Nc, HASH_ENCODING_BASE64 as Nd, decide as Nf, ProtocolVersions as Nh, Scalars as Ni, DOCUMENT_PURGE_PROTOCOL as Nl, garbageCollectDocumentOperations as Nm, IAction as Nn, IProcessorHostModuleBase as No, operationFromAction as Np, MutationSetOperationDescriptionArgs as Nr, findOperationOrThrow as Ns, CreateState as Nt, replayDocumentVersioned as Nu, PHConnectPwaManifest as O, SetPreferredEditorActionInput as Oa, ReorderOperationErrorsInputSchema as Oc, hashBrowser as Od, applyMoveGrantAction as Of, defaultGlobalState as Oh, ReorderStateExamplesInput as Oi, PurgeMarkerOperation as Ol, checkOperationsIntegrity as Om, EditorProps as On, IRelationalQueryMethods as Oo, deleteStateExample as Op, MutationSetModelIdArgs as Or, assertOperationExampleIdUnique as Os, CreateChildDocumentInput as Ot, readFileBrowser as Ou, PHConnectRenownAdapters as P, Signal as Pa, SetInitialStateInputSchema as Pc, HASH_ENCODING_HEX as Pd, evaluate as Pf, SIGNATURE_PROTOCOL as Ph, SchemaNOOPAction as Pi, FeatureCapability as Pl, garbageCollectV2 as Pm, ID as Pn, IProcessorManager as Po, operationFromOperation as Pp, MutationSetOperationErrorCodeArgs as Pr, getAllOperationNames as Ps, DeleteChangeLogItemAction as Pt, UpgradeManifest as Pu, ServiceAction as Q, UpdateOperationExampleAction as Qa, SetOperationTemplateInputSchema as Qc, evaluateCondition as Qd, actionPreimageV2 as Qf, setPreferredEditorOperation as Qh, SetModelNameAction as Qi, mergePeerCapabilities as Ql, replayDocument as Qm, MinimalBackupData as Qn, IWebhookScope as Qo, setModuleName as Qp, PartialRecord as Qr, ConfigEntrySchema as Qs, DocumentDispatch$1 as Qt, UnsupportedDocumentModelVersionError as Qu, PHImageRef as R, SignalType as Ra, SetModelNameInputSchema as Rc, documentModelInitialLocalState as Rd, mentionedGroupIds as Rf, isDerivedDocumentId as Rh, SchemaUndoAction as Ri, PEER_MANIFEST_FORMAT as Rl, isDocumentAction as Rm, ISignalResult as Rn, ProcessorDispatchCreateResult as Ro, reorderChangeLogItems as Rp, MutationSetOperationNameArgs as Rr, validateModule as Rs, DeleteDocumentAction as Rt, applyUpgradeDocumentAction as Ru, PHConnectOpenPanel as S, SetOperationSchemaInput as Sa, RedoActionInputSchema as Sc, base58Decode as Sd, RemoveGrantActionInputSchema as Sf, createGlobalState as Sh, ReorderModulesInput as Si, baseReducer as Sl, addUndo as Sm, DocumentModelVersioningOperations as Sn, ExtractProcessorSchemaOrSelf as So, createAction as Sp, MutationReorderStateExamplesArgs as Sr, deletedDocumentId as Ss, Author as St, documentModelLoadFromInput as Su, PHConnectPwaCacheStrategy as T, SetOperationTemplateAction as Ta, ReorderChangeLogItemsInputSchema as Tc, buildOperationSignatureParams as Td, SetGrantActionInputSchema as Tf, defaultAuthState as Th, ReorderOperationExamplesAction as Ti, replayOperations as Tl, baseCreateDocument as Tm, ENSInfo as Tn, IRelationalDb as To, deleteOperation as Tp, MutationSetInitialStateArgs as Tr, ReservedOperationName as Ts, ConfigEntryType as Tt, getFileBrowser as Tu, PHRenownPrivyAdapterConfig as U, State as Ua, SetOperationDescriptionInputSchema as Uc, InvalidGrantError as Ud, TransportAction as Uf, v2RequiredProtocolVersions as Uh, SetAuthorWebsiteInput as Ui, Supports as Ul, mapSkippedOperationsV2 as Um, IsStateOfType as Un, ProcessorPhase as Uo, reorderStateExamples as Up, MutationUndoArgs as Ur, validateStateSchemaName as Us, DeleteOperationErrorAction as Ut, AuthInitializerNotCreatorError as Uu, PHReactorClientMode as V, SkipHeaderOperationIndex as Va, SetNameActionInputSchema as Vc, GrantSchema as Vd, resolveSnapshotAuth as Vf, requestedSignaturePolicy as Vh, SetAuthorNameInput as Vi, PeerManifest as Vl, isUndoRedo as Vm, InputMaybe as Vn, ProcessorFactoryBuilder as Vo, reorderOperationErrors as Vp, MutationSetOperationTemplateArgs as Vr, validateOperationName as Vs, DeleteModuleInput as Vt, AuthActionNotAllowedError as Vu, PHRenownRainbowAdapterConfig as W, StateReducer as Wa, SetOperationErrorCodeInputSchema as Wc, MAX_AUTH_GRANTS as Wd, TransportActionContext as Wf, DocumentOperations as Wh, SetInitialStateAction as Wi, capSelection as Wl, merge as Wm, LoadFromFile as Wn, ProcessorRecord as Wo, setAuthorName as Wp, MutationUpdateChangeLogItemInputArgs as Wr, AddChangeLogItemInputSchema as Ws, DeleteOperationErrorInput as Wt, AuthPolicyNotPreservedError as Wu, PowerhouseConfig as X, UpdateChangeLogItemAction as Xa, SetOperationSchemaInputSchema as Xc, assertValidGrantUpsert as Xd, CanonicalJsonError as Xf, redoOperation as Xh, SetModelIdAction as Xi, localSupports as Xl, readOnly as Xm, MappedOperation as Xn, IHttpScope as Xo, setModelName as Xp, OperationSpecification as Xr, AuthorSchema as Xs, DispatchOutcome as Xt, InvalidActionInputZodError as Xu, PathValidation as Y, UndoRedoAction as Ya, SetOperationReducerInputSchema as Yc, assertValidGrant as Yd, ActionSigningTarget as Yf, operationOutcome as Yh, SetModelExtensionInput as Yi, localPeerManifest as Yl, prepareOperations as Ym, Manifest as Yn, AuthorizerResult as Yo, setModelId as Yp, OperationIndex as Yr, AddStateExampleInputSchema as Ys, DeleteStateExampleInput as Yt, InvalidActionInputError as Yu, PowerhousePackage as Z, UpdateChangeLogItemInput as Za, SetOperationScopeInputSchema as Zc, assertValidInitialGrants as Zd, DOCUMENT_SCOPE_ACTION_TYPES as Zf, setNameOperation as Zh, SetModelIdInput as Zi, manifestRevision as Zl, removeExistingOperations as Zm, Maybe as Zn, IWebhookEndpoints as Zo, setModuleDescription as Zp, OperationsByScope as Zr, CodeExampleSchema as Zs, DocumentAction as Zt, InvalidAuthVersionError as Zu, PHConnectDrives as _, SetOperationNameAction as _a, PieceModulesSchema as _c, creationActions as _d, MoveGrantAction as _f, Principal as _h, ReorderChangeLogItemsAction as _i, documentModelOperationReducer as _l, IntegrityIssueSubType as _m, DocumentModelPHState as _n, createRelationalDb as _o, addOperationExample as _p, MutationReorderChangeLogItemsInputArgs as _r, WebhookRequest as _s, AddRelationshipActionInput as _t, baseLoadFromInput as _u, PHBackground as a, SetNameActionInput as aa, DeleteStateExampleInputSchema as ac, DocumentModelPHStateSchema as ad, AuthAction as af, Signature as ag, updateHeaderRevision as ah, PurgeDocumentAction as ai, UndoActionInputSchema as al, setOperationName as am, DocumentModelInput as an, UpgradeDocumentActionInput as ao, targetDocumentId as ap, MutationAddOperationArgs as ar, RouteHandler as as, Actions as at, headNewDocument as au, PHConnectInstance as b, SetOperationReducerInput as ba, PublisherSchema as bc, upgradeDocumentAction as bd, RemoveGrantAction as bf, createBaseState as bh, ReorderModuleOperationsInput as bi, documentModelStateSchemaReducer as bl, PHDocumentHeader as bm, DocumentModelUtils as bn, relationalDbToQueryBuilder as bo, buildOperationSignature as bp, MutationReorderOperationErrorsArgs as br, WebhookSpec as bs, AssertIsDocumentOfType as bt, createMinimalZip as bu, PHConnectAi as c, SetOperationDescriptionInput as ca, DocumentModelInputSchema as cc, assertIsDocumentModelState as cd, AuthRefusal as cf, serializeSignature as cg, AuthGroups as ch, Redo as ci, UpdateChangeLogItemInputSchema as cl, setOperationScope as cm, DocumentModelModule as cn, CodegenState as co, ActionContext as cp, MutationAddStateExampleArgs as cr, RouteSpec as cs, AddModuleAction as ct, createPresignedHeader as cu, PHConnectCompositionEntry as d, SetOperationErrorDescriptionAction as da, ModuleSchema as dc, AUTH_DENIED_BY_GRANT_REASON as dd, AuthVerb as df, PROCESSOR_APPS as dg, Grant as dh, Reducer as di, definedNonNullAnySchema as dl, setStateSchema as dm, DocumentModelOperationAction as dn, PackageLoadFailure as do, actionSigner as dp, MutationDeleteOperationArgs as dr, ScopedRouteHandle as ds, AddOperationErrorAction as dt, createVerificationSigner as du, SetModuleDescriptionAction as ea, DeleteChangeLogItemInputSchema as ec, groupDocumentType as ed, evaluateGrants as ef, undoOperationV2 as eg, reshuffleByTimestampAndIndex as eh, PhAiToolAnnotations as ei, SetPreferredEditorActionSchema as el, setOperationDescription as em, DocumentModelDocument as en, UpdateRelationshipAction as eo, actionSigningTarget as ep, MoveOperationAction as er, RouteActor as es, DEFAULT_REGISTRY_URL as et, readPeerManifest as eu, PHConnectDefaultDrive as f, SetOperationErrorDescriptionInput as fa, MoveOperationInputSchema as fc, AUTH_NO_GRANT_REASON as fd, ConditionContext as ff, Operand as fh, ReducerOptions as fi, isDefinedNonNullAny as fl, undo as fm, DocumentModelOperationErrorAction as fn, SETTLED_CODEGEN_STATES as fo, actions as fp, MutationDeleteOperationErrorArgs as fr, WebhookEndpointInfo as fs, AddOperationErrorInput as ft, hasDerivedDocumentId as fu, PHConnectDriveSections as g, SetOperationErrorTemplateInput as ga, PieceModuleSchema as gc, createDocumentAction as gd, MAX_SUPPORTED_AUTH_VERSION as gf, PHGroupState as gh, RemoveRelationshipActionInput as gi, documentModelOperationExampleReducer as gl, verifyOperationSignature as gm, DocumentModelOperationOperations as gn, createNamespacedQueryBuilder as go, addOperationError as gp, MutationRedoArgs as gr, WebhookReply as gs, AddRelationshipAction as gt, BulkArchiveEntry as gu, PHConnectDriveSection as h, SetOperationErrorTemplateAction as ha, OperationSpecificationSchema as hc, isDenied as hd, InitializeAuthActionInputSchema as hf, PHDocumentState as hh, RemoveRelationshipAction as hi, documentModelOperationErrorReducer as hl, updateStateExample as hm, DocumentModelOperationExampleOperations as hn, createNamespacedDb as ho, addOperation as hp, MutationMoveOperationArgs as hr, WebhookPolicy as hs, AddOperationInput as ht, verify as hu, LogLevels as i, SetNameAction as ia, DeleteOperationInputSchema as ic, DocumentModelHeaderSchema as id, AUTH_ACTION_TYPES as if, PHDocumentSignatureInfo as ig, split as ih, Publisher as ii, StateSchema as il, setOperationErrorTemplate as im, DocumentModelHeaderOperations as in, UpgradeDocumentAction as io, signActionV2 as ip, MutationAddModuleArgs as ir, RouteContext as is, ActionVerificationHandler as it, createVersionsOf as iu, PHConnectReactor as j, SetStateSchemaInput as ja, ScopeStateSchema as jc, HASH_ALGORITHM_SHA256 as jd, assertAuthPreservedOnDuplicate as jf, DEFAULT_SIGNATURE_POLICY as jh, SaveToFile as ji, purgeMarkerOperation as jl, filterDuplicatedOperations as jm, GetDocumentOptions as jn, IProcessor as jo, noop as jp, MutationSetModuleNameArgs as jr, findOperationErrorOrThrow as js, CreateDocumentAction as jt, VersionedReducers as ju, PHConnectPwaRuntimeCaching as k, SetPreferredEditorOperation as ka, ReorderOperationExamplesInputSchema as kc, hex2ab as kd, applyRemoveGrantAction as kf, defaultLocalState as kh, ReplayDocumentOptions as ki, isPurgeMarker as kl, diffOperations as km, Exact as kn, RelationalDbProcessor as ko, documentModelActions as kp, MutationSetModelNameArgs as kr, assertOperationIdUnique as ks, CreateChildDocumentSignal as kt, writeFileBrowser as ku, PHConnectApp as l, SetOperationErrorCodeAction as la, DocumentSpecificationSchema as lc, isDocumentModelDocument as ld, AuthRequest as lf, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME as lg, Capability as lh, RedoAction as li, UpdateOperationExampleInputSchema as ll, setOperationTemplate as lm, DocumentModelModuleAction as ln, CodegenStatus as lo, actionContext as lp, MutationDeleteChangeLogItemInputArgs as lr, RouteTransport as ls, AddModuleInput as lt, createSignedHeader as lu, PHConnectDefaultDriveRemote as m, SetOperationErrorNameInput as ma, OperationScopeSchema as mc, DOCUMENT_DELETED_REASON as md, InitializeAuthActionInput as mf, PHBaseState as mh, ReleaseNewVersionAction as mi, documentModelModuleReducer as ml, updateOperationExample as mm, DocumentModelOperationExampleAction as mn, isSettledCodegenState as mo, addModule as mp, MutationDeleteStateExampleArgs as mr, WebhookHashAlgorithm as ms, AddOperationExampleInput as mt, validateHeader as mu, DrivePreserveStrategy as n, SetModuleNameAction as na, DeleteOperationErrorInputSchema as nc, BaseDocumentHeaderSchema as nd, isPlainValue as nf, AppActionSigner as ng, sortMappedOperations as nh, PieceModule as ni, Set_NameSchema as nl, setOperationErrorDescription as nm, DocumentModelGlobalState as nn, UpdateStateExampleAction as no, hashActionV2 as np, Mutation as nr, RouteAuthorizer as ns, ActionSignatureContext as nt, CreateProtocolVersionsOptions as nu, PHBackgroundLayer as o, SetNameOperation as oa, DocumentActionSchema as oc, DocumentModelSchema as od, AuthDecision as of, UserActionSigner as og, withScopeRevisions as oh, PurgeDocumentActionInput as oi, UndoActionSchema as ol, setOperationReducer as om, DocumentModelLib as on, User as oo, v2TupleProblem as op, MutationAddOperationErrorArgs as or, RouteMethod as os, AddChangeLogItemAction as ot, selectDocumentModelModule as ou, PHConnectDefaultDriveLocal as p, SetOperationErrorNameAction as pa, OperationErrorSchema as pc, AUTH_VERSION_UNSUPPORTED_REASON as pd, InitializeAuthAction as pf, PHAuthState as ph, RejectedAction as pi, documentModelHeaderReducer as pl, updateChangeLogItem as pm, DocumentModelOperationErrorOperations as pn, getCodegenStatusRegistry as po, addChangeLogItem as pp, MutationDeleteOperationExampleArgs as pr, WebhookField as ps, AddOperationExampleAction as pt, sign as pu, PackageManagerArgs as q, UndoAction as qa, SetOperationErrorTemplateInputSchema as qc, MAX_CONDITION_NODES as qd, ACTION_SIGNATURE_V2_PREFIX as qf, OperationOutcome as qh, SetModelDescriptionInput as qi, isOlderManifest as ql, parseResultingState as qm, MakeMaybe as qn, ReplayStateMode as qo, setModelDescription as qp, NOOPAction as qr, AddOperationExampleInputSchema as qs, DeleteOperationInput as qt, GrantNotFoundError as qu, LogLevel as r, SetModuleNameInput as ra, DeleteOperationExampleInputSchema as rc, BaseDocumentStateSchema as rd, referencedGroupIds as rf, HashConfig as rg, sortOperations as rh, PowerhouseModule as ri, Set_PreferredEditorSchema as rl, setOperationErrorName as rm, DocumentModelHeaderAction as rn, UpdateStateExampleInput as ro, isV2ActionHash as rp, MutationAddChangeLogItemInputArgs as rr, RouteBody as rs, ActionSigningHandler as rt, NewDocumentHeaderOptions as ru, PHBackgroundLayers as s, SetOperationDescriptionAction as sa, DocumentModelGlobalStateSchema as sc, assertIsDocumentModelDocument as sd, AuthEvaluation as sf, deserializeSignature as sg, withSignaturePolicy as sh, Query as si, UndoSchema as sl, setOperationSchema as sm, DocumentModelLocalState as sn, ValidationError as so, Action as sp, MutationAddOperationExampleArgs as sr, RouteOptions as ss, AddChangeLogItemInput as st, createCopyHeader as su, DrivePreserveStrategies as t, SetModuleDescriptionInput as ta, DeleteModuleInputSchema as tc, groupMembershipActionTypes as td, grantProblem as tf, ActionSigner as tg, skipHeaderOperations as th, PhAiToolDescriptor as ti, SetStateSchemaInputSchema as tl, setOperationErrorCode as tm, DocumentModelDocumentModelModule as tn, UpdateRelationshipActionInput as to, canonicalJson as tp, MoveOperationInput as tr, RouteAuth as ts, ActionErrorCallback as tt, selectProtocolVersions as tu, PHConnectBranding as u, SetOperationErrorCodeInput as ua, ManifestSchema as uc, isDocumentModelState as ud, AuthSubject as uf, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME as ug, Condition as uh, RedoActionInput as ui, UpdateStateExampleInputSchema as ul, setPreferredEditor as um, DocumentModelModuleOperations as un, CodegenStatusRegistry as uo, actionFromAction as up, MutationDeleteModuleArgs as ur, RouteUser as us, AddOperationAction as ut, createSignedHeaderForSigner as uu, PHConnectExplorerIcons as v, SetOperationNameInput as va, PowerhouseModuleSchema as vc, creationState as vd, MoveGrantActionInput as vf, backfillAuthState as vh, ReorderChangeLogItemsInput as vi, documentModelReducer as vl, IntegrityIssueType as vm, DocumentModelStateAction as vn, hashNamespace as vo, addStateExample as vp, MutationReorderModuleOperationsArgs as vr, WebhookScheme as vs, AddStateExampleAction as vt, baseLoadFromInputVersioned as vu, PHConnectPwa as w, SetOperationScopeInput as wa, RedoSchema as wc, buildOperationSignatureMessage as wd, SetGrantActionInput as wf, createState as wh, ReorderOperationErrorsInput as wi, processUndoRedo as wl, attachBranch as wm, DocumentSpecification as wn, IBaseRelationalDb as wo, deleteModule as wp, MutationSetAuthorWebsiteArgs as wr, RESERVED_OPERATION_NAMES as ws, ConfigEntry as wt, fetchFileBrowser as wu, PHConnectLoader as x, SetOperationSchemaAction as xa, PwaConfigSchema as xc, ab2hex as xd, RemoveGrantActionInput as xf, createDocumentState as xh, ReorderModulesAction as xi, documentModelVersioningReducer as xl, PHDocumentMeta as xm, DocumentModelVersioningAction as xn, DOCUMENT_ID_COLUMNS as xo, buildSignedAction as xp, MutationReorderOperationExamplesArgs as xr, WebhookVerification as xs, AssertIsStateOfType as xt, createZip as xu, PHConnectHome as y, SetOperationReducerAction as ya, PowerhouseModulesSchema as yc, documentFromCreation as yd, MoveGrantActionInputSchema as yf, createAuthState as yh, ReorderModuleOperationsAction as yi, documentModelStateReducer as yl, PHDocument$1 as ym, DocumentModelStateOperations as yn, namespaceSchemaOf as yo, baseActions as yp, MutationReorderModulesArgs as yr, WebhookSignatureEncoding as ys, AddStateExampleInput as yt, baseSaveToFileHandle as yu, PHLength as z, SignatureVerificationHandler as za, SetModuleDescriptionInputSchema as zc, AuthAdministrationLockoutError as zd, moveGrant as zf, isSignaturePolicy as zh, ScopeState as zi, PeerCapability as zl, isNoopOperation as zm, ISigner as zn, ProcessorDispatchResult as zo, reorderModuleOperations as zp, MutationSetOperationReducerArgs as zr, validateModuleOperation as zs, DeleteDocumentActionInput as zt, computeUpgradeTransitions as zu };
4544
4544
  export {};
4545
- //# sourceMappingURL=types-B1HqOXqL.d.ts.map
4545
+ //# sourceMappingURL=types-VCTwbNTD.d.ts.map