@powerhousedao/shared 6.2.3-staging.0 → 6.3.0-dev.1

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 (326) hide show
  1. package/dist/action-id-DON1WCeY.d.ts +19 -0
  2. package/dist/action-id-DON1WCeY.d.ts.map +1 -0
  3. package/dist/clis/args/access-token.d.mts +14 -2
  4. package/dist/clis/args/access-token.d.mts.map +1 -0
  5. package/dist/clis/args/access-token.mjs +21 -1
  6. package/dist/clis/args/access-token.mjs.map +1 -0
  7. package/dist/clis/args/{common-BXabdhiO.mjs → common-DG_SF8fN.mjs} +39 -8
  8. package/dist/clis/args/common-DG_SF8fN.mjs.map +1 -0
  9. package/dist/clis/args/{common-Bnm859xU.d.mts → common-DmerPWXo.d.mts} +8 -4
  10. package/dist/clis/args/common-DmerPWXo.d.mts.map +1 -0
  11. package/dist/clis/args/common.d.mts +1 -1
  12. package/dist/clis/args/common.mjs +1 -1
  13. package/dist/clis/args/connect.d.mts +448 -2
  14. package/dist/clis/args/connect.d.mts.map +1 -0
  15. package/dist/clis/args/connect.mjs +202 -1
  16. package/dist/clis/args/connect.mjs.map +1 -0
  17. package/dist/clis/args/{generate-BOItUNvP.mjs → generate-DMKgc6et.mjs} +2 -21
  18. package/dist/clis/args/generate-DMKgc6et.mjs.map +1 -0
  19. package/dist/clis/args/generate.d.mts +92 -2
  20. package/dist/clis/args/generate.d.mts.map +1 -0
  21. package/dist/clis/args/generate.mjs +1 -1
  22. package/dist/clis/args/{help-DVPTARGn.d.mts → help-BnD14eCa.d.mts} +62 -2
  23. package/dist/clis/args/help-BnD14eCa.d.mts.map +1 -0
  24. package/dist/clis/args/{help-DS1NlcJQ.mjs → help-Cjoe-b7d.mjs} +55 -15
  25. package/dist/clis/args/help-Cjoe-b7d.mjs.map +1 -0
  26. package/dist/clis/args/help.d.mts +1 -1
  27. package/dist/clis/args/help.mjs +16 -1
  28. package/dist/clis/args/host.d.mts +23 -0
  29. package/dist/clis/args/host.d.mts.map +1 -0
  30. package/dist/clis/args/host.mjs +35 -0
  31. package/dist/clis/args/host.mjs.map +1 -0
  32. package/dist/clis/args/index.d.mts +23 -19
  33. package/dist/clis/args/index.mjs +23 -19
  34. package/dist/clis/args/init.d.mts +53 -2
  35. package/dist/clis/args/init.d.mts.map +1 -0
  36. package/dist/clis/args/init.mjs +77 -1
  37. package/dist/clis/args/init.mjs.map +1 -0
  38. package/dist/clis/args/inspect.d.mts +11 -2
  39. package/dist/clis/args/inspect.d.mts.map +1 -0
  40. package/dist/clis/args/inspect.mjs +14 -1
  41. package/dist/clis/args/inspect.mjs.map +1 -0
  42. package/dist/clis/args/install.d.mts +35 -2
  43. package/dist/clis/args/install.d.mts.map +1 -0
  44. package/dist/clis/args/install.mjs +31 -1
  45. package/dist/clis/args/install.mjs.map +1 -0
  46. package/dist/clis/args/{login-CXRJXg71.d.mts → keyframes.d.mts} +13 -13
  47. package/dist/clis/args/keyframes.d.mts.map +1 -0
  48. package/dist/clis/args/keyframes.mjs +42 -0
  49. package/dist/clis/args/keyframes.mjs.map +1 -0
  50. package/dist/clis/args/list.d.mts +8 -2
  51. package/dist/clis/args/list.d.mts.map +1 -0
  52. package/dist/clis/args/list.mjs +6 -1
  53. package/dist/clis/args/list.mjs.map +1 -0
  54. package/dist/clis/args/login.d.mts +23 -2
  55. package/dist/clis/args/login.d.mts.map +1 -0
  56. package/dist/clis/args/login.mjs +39 -1
  57. package/dist/clis/args/login.mjs.map +1 -0
  58. package/dist/clis/args/{access-token-C5sKsH2O.d.mts → mcp.d.mts} +6 -7
  59. package/dist/clis/args/mcp.d.mts.map +1 -0
  60. package/dist/clis/args/mcp.mjs +22 -0
  61. package/dist/clis/args/mcp.mjs.map +1 -0
  62. package/dist/clis/args/migrate.d.mts +26 -2
  63. package/dist/clis/args/migrate.d.mts.map +1 -0
  64. package/dist/clis/args/migrate.mjs +43 -1
  65. package/dist/clis/args/migrate.mjs.map +1 -0
  66. package/dist/clis/args/{uninstall-CDx7lwxn.d.mts → model.d.mts} +28 -17
  67. package/dist/clis/args/model.d.mts.map +1 -0
  68. package/dist/clis/args/model.mjs +51 -0
  69. package/dist/clis/args/model.mjs.map +1 -0
  70. package/dist/clis/args/publish.d.mts +18 -2
  71. package/dist/clis/args/publish.d.mts.map +1 -0
  72. package/dist/clis/args/publish.mjs +26 -1
  73. package/dist/clis/args/publish.mjs.map +1 -0
  74. package/dist/clis/args/registry.d.mts +15 -2
  75. package/dist/clis/args/registry.d.mts.map +1 -0
  76. package/dist/clis/args/registry.mjs +22 -1
  77. package/dist/clis/args/registry.mjs.map +1 -0
  78. package/dist/clis/args/{unpublish-CEDsk6uv.d.mts → run.d.mts} +11 -12
  79. package/dist/clis/args/run.d.mts.map +1 -0
  80. package/dist/clis/args/run.mjs +33 -0
  81. package/dist/clis/args/run.mjs.map +1 -0
  82. package/dist/clis/args/{service-BBx5GDTc.d.mts → service-CLCvH3kf.d.mts} +4 -4
  83. package/dist/clis/args/service-CLCvH3kf.d.mts.map +1 -0
  84. package/dist/clis/args/service.d.mts +1 -1
  85. package/dist/clis/args/service.mjs +10 -1
  86. package/dist/clis/args/service.mjs.map +1 -0
  87. package/dist/clis/args/switchboard.d.mts +68 -2
  88. package/dist/clis/args/switchboard.d.mts.map +1 -0
  89. package/dist/clis/args/switchboard.mjs +84 -1
  90. package/dist/clis/args/switchboard.mjs.map +1 -0
  91. package/dist/clis/args/uninstall.d.mts +26 -2
  92. package/dist/clis/args/uninstall.d.mts.map +1 -0
  93. package/dist/clis/args/uninstall.mjs +15 -1
  94. package/dist/clis/args/uninstall.mjs.map +1 -0
  95. package/dist/clis/args/unpublish.d.mts +20 -2
  96. package/dist/clis/args/unpublish.d.mts.map +1 -0
  97. package/dist/clis/args/unpublish.mjs +29 -1
  98. package/dist/clis/args/unpublish.mjs.map +1 -0
  99. package/dist/clis/args/{vetra-BUNlAAPp.mjs → vetra-BqjDopAP.mjs} +18 -2
  100. package/dist/clis/args/vetra-BqjDopAP.mjs.map +1 -0
  101. package/dist/clis/args/vetra.d.mts +112 -2
  102. package/dist/clis/args/vetra.d.mts.map +1 -0
  103. package/dist/clis/args/vetra.mjs +1 -1
  104. package/dist/clis/{build-config-CmdMi_wu.mjs → build-config-BM1RL4u_.mjs} +87 -8
  105. package/dist/clis/build-config-BM1RL4u_.mjs.map +1 -0
  106. package/dist/clis/build-config.d.mts +26 -1
  107. package/dist/clis/build-config.d.mts.map +1 -1
  108. package/dist/clis/build-config.mjs +2 -2
  109. package/dist/clis/build-pieces.d.mts +71 -4
  110. package/dist/clis/build-pieces.d.mts.map +1 -1
  111. package/dist/clis/build-pieces.mjs +249 -26
  112. package/dist/clis/build-pieces.mjs.map +1 -1
  113. package/dist/clis/command-names.d.mts +3 -1
  114. package/dist/clis/command-names.d.mts.map +1 -1
  115. package/dist/clis/command-names.mjs +8 -1
  116. package/dist/clis/command-names.mjs.map +1 -1
  117. package/dist/clis/constants.d.mts +2 -2
  118. package/dist/clis/constants.mjs +92 -20
  119. package/dist/clis/constants.mjs.map +1 -1
  120. package/dist/clis/definition-sources.d.mts +26 -0
  121. package/dist/clis/definition-sources.d.mts.map +1 -0
  122. package/dist/clis/definition-sources.mjs +27 -0
  123. package/dist/clis/definition-sources.mjs.map +1 -0
  124. package/dist/clis/deprecations.d.mts +73 -0
  125. package/dist/clis/deprecations.d.mts.map +1 -0
  126. package/dist/clis/deprecations.mjs +121 -0
  127. package/dist/clis/deprecations.mjs.map +1 -0
  128. package/dist/clis/{index-6CZwrmQi.d.mts → index-DnZYG-8g.d.mts} +2 -2
  129. package/dist/clis/{index-6CZwrmQi.d.mts.map → index-DnZYG-8g.d.mts.map} +1 -1
  130. package/dist/clis/index.d.mts +2584 -901
  131. package/dist/clis/index.d.mts.map +1 -1
  132. package/dist/clis/index.mjs +1540 -919
  133. package/dist/clis/index.mjs.map +1 -1
  134. package/dist/clis/package-style.d.mts +32 -0
  135. package/dist/clis/package-style.d.mts.map +1 -0
  136. package/dist/clis/package-style.mjs +102 -0
  137. package/dist/clis/package-style.mjs.map +1 -0
  138. package/dist/clis/ph-dir.d.mts +26 -0
  139. package/dist/clis/ph-dir.d.mts.map +1 -0
  140. package/dist/clis/ph-dir.mjs +37 -0
  141. package/dist/clis/ph-dir.mjs.map +1 -0
  142. package/dist/clis/project-env.d.mts +6 -0
  143. package/dist/clis/project-env.d.mts.map +1 -1
  144. package/dist/clis/project-env.mjs +16 -1
  145. package/dist/clis/project-env.mjs.map +1 -1
  146. package/dist/clis/real-paths.d.mts +14 -0
  147. package/dist/clis/real-paths.d.mts.map +1 -0
  148. package/dist/clis/real-paths.mjs +36 -0
  149. package/dist/clis/real-paths.mjs.map +1 -0
  150. package/dist/clis/retired-flags.d.mts +45 -0
  151. package/dist/clis/retired-flags.d.mts.map +1 -0
  152. package/dist/clis/retired-flags.mjs +55 -0
  153. package/dist/clis/retired-flags.mjs.map +1 -0
  154. package/dist/clis/rolldown-runtime-B4iAMlE-.mjs +35 -0
  155. package/dist/clis/types-CZU17kAm.d.mts +2510 -0
  156. package/dist/clis/types-CZU17kAm.d.mts.map +1 -0
  157. package/dist/clis/utils.d.mts.map +1 -1
  158. package/dist/clis/utils.mjs.map +1 -1
  159. package/dist/{config-loader-C6dZB_iX.js → config-loader-B7SqNz8z.js} +24 -6
  160. package/dist/config-loader-B7SqNz8z.js.map +1 -0
  161. package/dist/connect/app-shell.d.ts +48 -0
  162. package/dist/connect/app-shell.d.ts.map +1 -0
  163. package/dist/connect/app-shell.js +90 -0
  164. package/dist/connect/app-shell.js.map +1 -0
  165. package/dist/connect/config-loader.d.ts +8 -1
  166. package/dist/connect/config-loader.d.ts.map +1 -1
  167. package/dist/connect/config-loader.js +2 -2
  168. package/dist/connect/connect-config-schema.d.ts +3 -0
  169. package/dist/connect/connect-config-schema.js +486 -0
  170. package/dist/connect/connect-config-schema.js.map +1 -0
  171. package/dist/connect/image-ref.d.ts +32 -0
  172. package/dist/connect/image-ref.d.ts.map +1 -0
  173. package/dist/connect/image-ref.js +80 -0
  174. package/dist/connect/image-ref.js.map +1 -0
  175. package/dist/connect/index.d.ts +84 -635
  176. package/dist/connect/index.d.ts.map +1 -1
  177. package/dist/connect/index.js +216 -553
  178. package/dist/connect/index.js.map +1 -1
  179. package/dist/connect/origin-placeholder.d.ts +52 -0
  180. package/dist/connect/origin-placeholder.d.ts.map +1 -0
  181. package/dist/connect/origin-placeholder.js +101 -0
  182. package/dist/connect/origin-placeholder.js.map +1 -0
  183. package/dist/connect-config-schema-cBfkNo1b.d.ts +1872 -0
  184. package/dist/connect-config-schema-cBfkNo1b.d.ts.map +1 -0
  185. package/dist/constants-5UFY_rXh.d.ts +9 -0
  186. package/dist/constants-5UFY_rXh.d.ts.map +1 -0
  187. package/dist/constants.d.ts +1 -1
  188. package/dist/constants.js +22 -6
  189. package/dist/constants.js.map +1 -1
  190. package/dist/document-drive/index.d.ts +3 -4
  191. package/dist/document-drive/index.d.ts.map +1 -1
  192. package/dist/document-drive/index.js +2 -13
  193. package/dist/document-drive/index.js.map +1 -1
  194. package/dist/document-model/action-id.d.ts +3 -0
  195. package/dist/document-model/action-id.js +59 -0
  196. package/dist/document-model/action-id.js.map +1 -0
  197. package/dist/document-model/dispatch.d.ts +25 -0
  198. package/dist/document-model/dispatch.d.ts.map +1 -0
  199. package/dist/document-model/dispatch.js +0 -0
  200. package/dist/document-model/errors.d.ts +3 -0
  201. package/dist/document-model/errors.js +214 -0
  202. package/dist/document-model/errors.js.map +1 -0
  203. package/dist/document-model/index.d.ts +5 -4
  204. package/dist/document-model/index.js +7 -5521
  205. package/dist/document-model/utils.d.ts +3 -2
  206. package/dist/document-model/utils.js +3 -2
  207. package/dist/document-model/version.d.ts +3 -0
  208. package/dist/document-model/version.js +8 -0
  209. package/dist/document-model/version.js.map +1 -0
  210. package/dist/document-model-CqySIaKV.js +5805 -0
  211. package/dist/document-model-CqySIaKV.js.map +1 -0
  212. package/dist/host-tokens/index.d.ts +3 -0
  213. package/dist/host-tokens/index.js +2 -0
  214. package/dist/host-tokens-DOeyxqLi.js +322 -0
  215. package/dist/host-tokens-DOeyxqLi.js.map +1 -0
  216. package/dist/{index-5gwOhPG5.d.ts → index-CUZ8eWun.d.ts} +2 -2
  217. package/dist/{index-5gwOhPG5.d.ts.map → index-CUZ8eWun.d.ts.map} +1 -1
  218. package/dist/index-D58WVj_E.d.ts +246 -0
  219. package/dist/index-D58WVj_E.d.ts.map +1 -0
  220. package/dist/index.d.ts +5 -5
  221. package/dist/processors/index.d.ts +2 -2
  222. package/dist/processors/index.js +177 -68
  223. package/dist/processors/index.js.map +1 -1
  224. package/dist/processors/testing.d.ts +22 -0
  225. package/dist/processors/testing.d.ts.map +1 -0
  226. package/dist/processors/testing.js +77 -0
  227. package/dist/processors/testing.js.map +1 -0
  228. package/dist/purge-CbAV5DVh.js +631 -0
  229. package/dist/purge-CbAV5DVh.js.map +1 -0
  230. package/dist/registry/index.d.ts +3 -3
  231. package/dist/registry/index.js +52 -9
  232. package/dist/registry/index.js.map +1 -1
  233. package/dist/registry/manifest-slim.d.ts +2 -2
  234. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  235. package/dist/types-CV2j3BvH.d.ts +5709 -0
  236. package/dist/types-CV2j3BvH.d.ts.map +1 -0
  237. package/dist/{types-CI3ren9F.d.ts → types-D_6ZcaJj.d.ts} +20 -12
  238. package/dist/types-D_6ZcaJj.d.ts.map +1 -0
  239. package/dist/{utils-CSF716ux.js → utils-DiV32YIj.js} +45 -2
  240. package/dist/utils-DiV32YIj.js.map +1 -0
  241. package/dist/utils-MrLmLEVr.js +78 -0
  242. package/dist/utils-MrLmLEVr.js.map +1 -0
  243. package/dist/version-BxLITo9P.d.ts +6 -0
  244. package/dist/version-BxLITo9P.d.ts.map +1 -0
  245. package/package.json +37 -3
  246. package/dist/clis/args/access-token-3Hqv_U8I.mjs +0 -22
  247. package/dist/clis/args/access-token-3Hqv_U8I.mjs.map +0 -1
  248. package/dist/clis/args/access-token-C5sKsH2O.d.mts.map +0 -1
  249. package/dist/clis/args/common-BXabdhiO.mjs.map +0 -1
  250. package/dist/clis/args/common-Bnm859xU.d.mts.map +0 -1
  251. package/dist/clis/args/connect-BG3HkYBk.mjs +0 -203
  252. package/dist/clis/args/connect-BG3HkYBk.mjs.map +0 -1
  253. package/dist/clis/args/connect-DjeiqXus.d.mts +0 -450
  254. package/dist/clis/args/connect-DjeiqXus.d.mts.map +0 -1
  255. package/dist/clis/args/generate-BOItUNvP.mjs.map +0 -1
  256. package/dist/clis/args/generate-BPBBLeUD.d.mts +0 -103
  257. package/dist/clis/args/generate-BPBBLeUD.d.mts.map +0 -1
  258. package/dist/clis/args/help-DS1NlcJQ.mjs.map +0 -1
  259. package/dist/clis/args/help-DVPTARGn.d.mts.map +0 -1
  260. package/dist/clis/args/init-CFeTq4Cq.d.mts +0 -52
  261. package/dist/clis/args/init-CFeTq4Cq.d.mts.map +0 -1
  262. package/dist/clis/args/init-Dvb42Y87.mjs +0 -67
  263. package/dist/clis/args/init-Dvb42Y87.mjs.map +0 -1
  264. package/dist/clis/args/inspect-BjRmtB86.d.mts +0 -13
  265. package/dist/clis/args/inspect-BjRmtB86.d.mts.map +0 -1
  266. package/dist/clis/args/inspect-UNQgtuR0.mjs +0 -15
  267. package/dist/clis/args/inspect-UNQgtuR0.mjs.map +0 -1
  268. package/dist/clis/args/install-B0tMyUMw.d.mts +0 -37
  269. package/dist/clis/args/install-B0tMyUMw.d.mts.map +0 -1
  270. package/dist/clis/args/install-F-27kF6m.mjs +0 -32
  271. package/dist/clis/args/install-F-27kF6m.mjs.map +0 -1
  272. package/dist/clis/args/list-Bkfn8Yuo.mjs +0 -7
  273. package/dist/clis/args/list-Bkfn8Yuo.mjs.map +0 -1
  274. package/dist/clis/args/list-DrbxA7JJ.d.mts +0 -10
  275. package/dist/clis/args/list-DrbxA7JJ.d.mts.map +0 -1
  276. package/dist/clis/args/login-CIFkQExi.mjs +0 -40
  277. package/dist/clis/args/login-CIFkQExi.mjs.map +0 -1
  278. package/dist/clis/args/login-CXRJXg71.d.mts.map +0 -1
  279. package/dist/clis/args/magic-string.es-BWtG0AyA.mjs +0 -1019
  280. package/dist/clis/args/magic-string.es-BWtG0AyA.mjs.map +0 -1
  281. package/dist/clis/args/migrate-DkCQRL2D.d.mts +0 -19
  282. package/dist/clis/args/migrate-DkCQRL2D.d.mts.map +0 -1
  283. package/dist/clis/args/migrate-DwJGhc2d.mjs +0 -29
  284. package/dist/clis/args/migrate-DwJGhc2d.mjs.map +0 -1
  285. package/dist/clis/args/publish-CeW4bOrl.d.mts +0 -16
  286. package/dist/clis/args/publish-CeW4bOrl.d.mts.map +0 -1
  287. package/dist/clis/args/publish-DHqlGWmL.mjs +0 -19
  288. package/dist/clis/args/publish-DHqlGWmL.mjs.map +0 -1
  289. package/dist/clis/args/registry-DIwES3l2.mjs +0 -23
  290. package/dist/clis/args/registry-DIwES3l2.mjs.map +0 -1
  291. package/dist/clis/args/registry-DNH8xuaE.d.mts +0 -17
  292. package/dist/clis/args/registry-DNH8xuaE.d.mts.map +0 -1
  293. package/dist/clis/args/service-BBx5GDTc.d.mts.map +0 -1
  294. package/dist/clis/args/service-Cpjlyeu5.mjs +0 -11
  295. package/dist/clis/args/service-Cpjlyeu5.mjs.map +0 -1
  296. package/dist/clis/args/switchboard-CCaAtU56.mjs +0 -85
  297. package/dist/clis/args/switchboard-CCaAtU56.mjs.map +0 -1
  298. package/dist/clis/args/switchboard-RrNb1fUH.d.mts +0 -70
  299. package/dist/clis/args/switchboard-RrNb1fUH.d.mts.map +0 -1
  300. package/dist/clis/args/uninstall-3U0B8g5c.mjs +0 -16
  301. package/dist/clis/args/uninstall-3U0B8g5c.mjs.map +0 -1
  302. package/dist/clis/args/uninstall-CDx7lwxn.d.mts.map +0 -1
  303. package/dist/clis/args/unpublish-CEDsk6uv.d.mts.map +0 -1
  304. package/dist/clis/args/unpublish-s9zUh6Gw.mjs +0 -30
  305. package/dist/clis/args/unpublish-s9zUh6Gw.mjs.map +0 -1
  306. package/dist/clis/args/vetra-BUNlAAPp.mjs.map +0 -1
  307. package/dist/clis/args/vetra-DkDaWFPi.d.mts +0 -111
  308. package/dist/clis/args/vetra-DkDaWFPi.d.mts.map +0 -1
  309. package/dist/clis/args/vetra-ports.test.d.mts +0 -2
  310. package/dist/clis/args/vetra-ports.test.mjs +0 -13354
  311. package/dist/clis/args/vetra-ports.test.mjs.map +0 -1
  312. package/dist/clis/build-config-CmdMi_wu.mjs.map +0 -1
  313. package/dist/clis/types-nzer4WIr.d.mts +0 -541
  314. package/dist/clis/types-nzer4WIr.d.mts.map +0 -1
  315. package/dist/config-loader-C6dZB_iX.js.map +0 -1
  316. package/dist/constants-DO4IYxuR.d.ts +0 -9
  317. package/dist/constants-DO4IYxuR.d.ts.map +0 -1
  318. package/dist/document-model/index.js.map +0 -1
  319. package/dist/index-D6833Siv.d.ts +0 -939
  320. package/dist/index-D6833Siv.d.ts.map +0 -1
  321. package/dist/types-CI3ren9F.d.ts.map +0 -1
  322. package/dist/types-CmeoQg_J.d.ts +0 -3337
  323. package/dist/types-CmeoQg_J.d.ts.map +0 -1
  324. package/dist/utils-BrKxCmKx.d.ts +0 -18
  325. package/dist/utils-BrKxCmKx.d.ts.map +0 -1
  326. package/dist/utils-CSF716ux.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { Dirent } from "node:fs";
2
+ import "kysely";
3
+ import { z } from "zod";
2
4
  import { Agent } from "package-manager-detector";
3
5
  import { ArgParser } from "cmd-ts/dist/cjs/argparser.js";
4
6
  import "mutative";
5
7
  import "luxon";
6
- import { z } from "zod";
7
- import "kysely";
8
8
  //#region clis/args/access-token.d.ts
9
9
  export declare const accessTokenArgs: {
10
10
  debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
@@ -38,6 +38,10 @@ export declare const buildArgs: {
38
38
  ignoreTypeErrors: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
39
39
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
40
40
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
41
+ /** @experimental Builds for a release: the release check, then a release approval. */
42
+ release: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
43
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
44
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
41
45
  };
42
46
  export declare const packageManagerArgs: {
43
47
  packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
@@ -92,7 +96,7 @@ export declare const localPackage: Partial<import("cmd-ts/dist/cjs/argparser.js"
92
96
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
93
97
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
94
98
  export declare const disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
95
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
99
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
96
100
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
97
101
  export declare const httpsKeyFile: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
98
102
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -123,7 +127,7 @@ export declare const vetraSwitchboardArgs: {
123
127
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
124
128
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
125
129
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
126
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
130
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
127
131
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
128
132
  };
129
133
  export declare const defaultDrivesUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
@@ -164,7 +168,7 @@ export declare const commonArgs: {
164
168
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
165
169
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
166
170
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
167
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
171
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
168
172
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
169
173
  defaultDrivesUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
170
174
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -218,7 +222,7 @@ export declare const connectStudioArgs: {
218
222
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
219
223
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
220
224
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
221
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
225
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
222
226
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
223
227
  defaultDrivesUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
224
228
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -274,7 +278,7 @@ export declare const connectBuildArgs: {
274
278
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
275
279
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
276
280
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
277
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
281
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
278
282
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
279
283
  defaultDrivesUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
280
284
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -381,7 +385,7 @@ export declare const connectPreviewArgs: {
381
385
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
382
386
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
383
387
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
384
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
388
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
385
389
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
386
390
  defaultDrivesUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
387
391
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -520,7 +524,7 @@ export declare const connectArgs: {
520
524
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
521
525
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
522
526
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
523
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
527
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
524
528
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
525
529
  force: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
526
530
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
@@ -670,9 +674,6 @@ export declare const generateArgs: {
670
674
  documentType: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
671
675
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
672
676
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
673
- documentTypes: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
674
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
675
- } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
676
677
  appName: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
677
678
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
678
679
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
@@ -739,19 +740,37 @@ export declare const generateArgs: {
739
740
  skipFormat: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
740
741
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
741
742
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
742
- useVersioning: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
743
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
744
- } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
745
- migrateLegacy: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
746
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
747
- } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
748
743
  };
749
744
  //#endregion
750
745
  //#region clis/command-names.d.ts
751
- export declare const phCliCommandNames: readonly ["generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "migrate", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
746
+ export declare const phCliCommandNames: readonly ["run", "host", "generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "keyframes", "mcp", "migrate", "model", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
752
747
  //#endregion
753
748
  //#region clis/args/help.d.ts
754
749
  export declare const phCliHelpCommands: {
750
+ run: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
751
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
752
+ [x: string]: any;
753
+ }>>;
754
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
755
+ [x: string]: any;
756
+ }, any> & {
757
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
758
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
759
+ readonly name: "run";
760
+ readonly aliases: readonly [];
761
+ };
762
+ host: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
763
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
764
+ [x: string]: any;
765
+ }>>;
766
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
767
+ [x: string]: any;
768
+ }, any> & {
769
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
770
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
771
+ readonly name: "host";
772
+ readonly aliases: readonly [];
773
+ };
755
774
  generate: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
756
775
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
757
776
  [x: string]: any;
@@ -860,6 +879,30 @@ export declare const phCliHelpCommands: {
860
879
  readonly name: "inspect";
861
880
  readonly aliases: ["is"];
862
881
  };
882
+ mcp: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
883
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
884
+ [x: string]: any;
885
+ }>>;
886
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
887
+ [x: string]: any;
888
+ }, any> & {
889
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
890
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
891
+ readonly name: "mcp";
892
+ readonly aliases: readonly [];
893
+ };
894
+ keyframes: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
895
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
896
+ [x: string]: any;
897
+ }>>;
898
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
899
+ [x: string]: any;
900
+ }, any> & {
901
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
902
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
903
+ readonly name: "keyframes";
904
+ readonly aliases: readonly [];
905
+ };
863
906
  migrate: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
864
907
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
865
908
  [x: string]: any;
@@ -872,6 +915,18 @@ export declare const phCliHelpCommands: {
872
915
  readonly name: "migrate";
873
916
  readonly aliases: readonly [];
874
917
  };
918
+ model: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
919
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
920
+ [x: string]: any;
921
+ }>>;
922
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
923
+ [x: string]: any;
924
+ }, any> & {
925
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
926
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
927
+ readonly name: "model";
928
+ readonly aliases: readonly [];
929
+ };
875
930
  switchboard: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
876
931
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
877
932
  [x: string]: any;
@@ -939,9 +994,6 @@ export declare const initArgs: {
939
994
  debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
940
995
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
941
996
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
942
- packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
943
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<import("package-manager-detector").Agent | undefined>>;
944
- } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
945
997
  npm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
946
998
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
947
999
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
@@ -960,6 +1012,9 @@ export declare const initArgs: {
960
1012
  nameOption: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
961
1013
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
962
1014
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1015
+ packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1016
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<import("package-manager-detector").Agent | undefined>>;
1017
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
963
1018
  tag: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
964
1019
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<"dev" | "latest" | "rc" | "staging" | undefined>>;
965
1020
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
@@ -978,6 +1033,9 @@ export declare const initArgs: {
978
1033
  remoteDrive: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
979
1034
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
980
1035
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1036
+ uniformRunners: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1037
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1038
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
981
1039
  clone: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
982
1040
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
983
1041
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
@@ -1027,6 +1085,29 @@ export declare const installArgs: {
1027
1085
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
1028
1086
  };
1029
1087
  //#endregion
1088
+ //#region clis/args/keyframes.d.ts
1089
+ export declare const KEYFRAMES_ACTIONS: readonly ["preview", "clean", "status", "cancel", "reclaim"];
1090
+ export declare const keyframesArgs: {
1091
+ debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1092
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1093
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1094
+ action: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1095
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<"cancel" | "clean" | "preview" | "reclaim" | "status">>;
1096
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1097
+ url: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1098
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
1099
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1100
+ token: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1101
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
1102
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1103
+ yes: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1104
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1105
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1106
+ json: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1107
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1108
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1109
+ };
1110
+ //#endregion
1030
1111
  //#region clis/args/list.d.ts
1031
1112
  export declare const listArgs: {
1032
1113
  debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
@@ -1065,11 +1146,20 @@ export declare const migrateArgs: {
1065
1146
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
1066
1147
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1067
1148
  version: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1068
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
1149
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
1069
1150
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1070
1151
  force: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1071
1152
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1072
1153
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1154
+ subgraphs: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1155
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1156
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1157
+ subgraph: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1158
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
1159
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
1160
+ dryRun: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1161
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1162
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1073
1163
  };
1074
1164
  //#endregion
1075
1165
  //#region clis/args/publish.d.ts
@@ -1080,6 +1170,10 @@ export declare const publishArgs: {
1080
1170
  registry: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1081
1171
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
1082
1172
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1173
+ /** @experimental Refuses to publish a package without a current release approval. */
1174
+ requireApproval: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1175
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
1176
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1083
1177
  forwardedArgs: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1084
1178
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
1085
1179
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp;
@@ -1099,6 +1193,2018 @@ export declare const registryLoginArgs: {
1099
1193
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1100
1194
  };
1101
1195
  //#endregion
1196
+ //#region host-tokens/index.d.ts
1197
+ /**
1198
+ * Output tokens (typed-host-configs G3): plain-JSON operators a host file
1199
+ * uses to consume values another host's creation produces. An object whose
1200
+ * SOLE key is one of TOKEN_KEYS is an operator; `$$` escapes a literal
1201
+ * `$`-prefixed sole key. Host-core fields accept them through `tokenable()`
1202
+ * (declared form); host-core's `resolveHostOutputs` replaces them before a
1203
+ * verb runs, and `validateHost` rejects any that remain.
1204
+ *
1205
+ * `@powerhousedao/shared/host-tokens`: zod only, no `node:` import (a test
1206
+ * walks the import graph), so Connect's config schema (../connect/) can
1207
+ * declare token-able fields; `@powerhousedao/host-core` re-exports all of it.
1208
+ */
1209
+ type OutputPath = (string | number)[];
1210
+ /** `{ $output: { host, member?, path } }` — the value at `path` in that
1211
+ * host's outputs. `T` is a phantom brand for generated `outputs.d.ts`. */
1212
+ interface OutputToken<T = unknown> {
1213
+ $output: {
1214
+ host: string;
1215
+ member?: string;
1216
+ path: OutputPath;
1217
+ };
1218
+ readonly "~value"?: T;
1219
+ }
1220
+ /** `{ $concat: [...] }` — a string; every part resolves to string|number. */
1221
+ interface ConcatToken {
1222
+ $concat: (string | number | Token)[];
1223
+ }
1224
+ /** `$item` inside a `$map` template: the current element (innermost map, or
1225
+ * the named outer binding). */
1226
+ interface ItemToken<T = unknown> {
1227
+ $item: OutputPath | {
1228
+ as: string;
1229
+ path: OutputPath;
1230
+ };
1231
+ readonly "~value"?: T;
1232
+ }
1233
+ /** `$key` inside a `$map` template: the current key (`true` = innermost). */
1234
+ interface KeyToken {
1235
+ $key: true | string;
1236
+ }
1237
+ /** `{ $map: { over, as?, to, into? } }`: `to` rendered once per element of
1238
+ * `over` (arrays in order, records key-sorted); an array, or a record
1239
+ * keeping the input keys with `into: "record"` (3.3). */
1240
+ interface MapToken<To = unknown> {
1241
+ $map: {
1242
+ over: OutputToken | ItemToken;
1243
+ as?: string;
1244
+ to: To;
1245
+ into?: "record";
1246
+ };
1247
+ }
1248
+ /** `{ $env: "NAME" }` or `{ $env: { name, optional: true } }`. */
1249
+ interface EnvToken {
1250
+ $env: string | {
1251
+ name: string;
1252
+ optional: true;
1253
+ };
1254
+ }
1255
+ type Token = OutputToken | ConcatToken | MapToken | ItemToken | KeyToken | EnvToken;
1256
+ /** A value with the (untyped) tokens of its own union removed: what a
1257
+ * token in that position must produce. */
1258
+ type Untokened<T> = Exclude<T, Token>;
1259
+ /** What `{ $key: true }` reads inside a `$map` template: the innermost
1260
+ * map's key, a number over an array and a string over a record. */
1261
+ type MapKey = string | number;
1262
+ /** A branded array `over` (an `ItemToken<X[]>` from outputs.d.ts). */
1263
+ type ArrayOver = OutputToken<readonly unknown[]> | ItemToken<readonly unknown[]>;
1264
+ /** A branded record `over`. An array does not fit it (no string index). */
1265
+ type RecordOver = OutputToken<Readonly<Record<string, unknown>>> | ItemToken<Readonly<Record<string, unknown>>>;
1266
+ /**
1267
+ * `$map` producing an array of `E` (no `into`). `$key: true` in `to` reads
1268
+ * a number over an array and a string over a record, so its slot is typed
1269
+ * by the `over`: a branded array `over` keeps `$key` out of string slots.
1270
+ * A hand-written `$output` literal carries no brand and fits both forms;
1271
+ * there, a misplaced `$key` fails at resolved validation instead.
1272
+ */
1273
+ type ArrayMapToken<E> = {
1274
+ $map: {
1275
+ over: ArrayOver;
1276
+ as?: string;
1277
+ to: Template<E, number>;
1278
+ into?: never;
1279
+ };
1280
+ } | {
1281
+ $map: {
1282
+ over: RecordOver;
1283
+ as?: string;
1284
+ to: Template<E, string>;
1285
+ into?: never;
1286
+ };
1287
+ };
1288
+ /** `$map` producing a record of `V` (`into: "record"`, record `over`). */
1289
+ interface RecordMapToken<V> {
1290
+ $map: {
1291
+ over: RecordOver;
1292
+ as?: string;
1293
+ to: Template<V, string>;
1294
+ into: "record";
1295
+ };
1296
+ }
1297
+ type MapTokenFor<T> = T extends readonly unknown[] ? ArrayMapToken<T[number]> : T extends object ? string extends keyof T ? RecordMapToken<T[string & keyof T]> : never : never;
1298
+ /** `true` when some member of `K` fits `T` (else `never`). */
1299
+ type SomeFits<K, T> = K extends T ? true : never;
1300
+ /** The `$key` tokens that fit `T`: `{ $key: true }` (the innermost map's
1301
+ * key, typed `K`) and `{ $key: "<as>" }` (a named outer map's key, whose
1302
+ * type is not tracked: a string or a number). */
1303
+ type KeyTokenFor<T, K extends MapKey> = ([SomeFits<K, T>] extends [never] ? never : {
1304
+ $key: true;
1305
+ }) | ([SomeFits<MapKey, T>] extends [never] ? never : {
1306
+ $key: string;
1307
+ });
1308
+ /**
1309
+ * The tokens that may stand where a value of type `T` is expected:
1310
+ * `$output`/`$item` whose (branded) value fits `T` (a hand-written literal
1311
+ * carries no brand and fits anywhere; the loader checks its path),
1312
+ * `$concat`/`$env` where a string fits, `$key` where the key fits (`K`: the
1313
+ * innermost `$map`'s key type inside a template), and `$map` where `T` is
1314
+ * an array (or, `into: "record"`, a record).
1315
+ */
1316
+ type TokenFor<T, K extends MapKey = MapKey> = unknown extends T ? Token : OutputToken<T> | ItemToken<T> | (string extends T ? ConcatToken | EnvToken : never) | KeyTokenFor<T, K> | MapTokenFor<T>;
1317
+ /**
1318
+ * A `$map` template for an element of type `T`: `T`'s shape with a fitting
1319
+ * token allowed at EVERY position (the rendered element is validated
1320
+ * against the field's schema after resolution, so non-ref fields such as a
1321
+ * drive `slug` may take `$key`/`$item` here). `K` is the type `$key: true`
1322
+ * reads (see {@link ArrayMapToken}).
1323
+ */
1324
+ type Template<T, K extends MapKey = MapKey> = TokenFor<Untokened<T>, K> | TemplateShape<Untokened<T>, K>;
1325
+ type TemplateShape<T, K extends MapKey> = T extends readonly unknown[] ? Template<T[number], K>[] : T extends object ? { [P in keyof T]: TemplateSlot<T[P], K>; } : T;
1326
+ /** One property of a template. Its tokens may produce `undefined` where
1327
+ * the property is optional (a codegen'd `ItemToken<X | undefined>`: the
1328
+ * rendered property is then left out), but the property is never written
1329
+ * as a literal `undefined`: a host file is JSON, so an optional property is
1330
+ * omitted instead (enforced by the type under exactOptionalPropertyTypes,
1331
+ * which generated hosts/tsconfig.json enables). */
1332
+ type TemplateSlot<V, K extends MapKey> = TokenFor<Untokened<V>, K> | TemplateShape<Exclude<Untokened<V>, undefined>, K>;
1333
+ /** A token-able host field as runners see it: authors may write `T | Token`
1334
+ * (z.input), verbs receive `T` (z.output). */
1335
+ type TokenableSchema<S extends z.ZodType, K = TokenFor<Untokened<z.input<S>>>> = z.ZodType<z.output<S>, z.input<S> | K>;
1336
+ /** A schema set's wrapper for its token-able fields: `tokenable` in the
1337
+ * declared form, a plain one-option union in the resolved form (host-core's
1338
+ * `s.tokenable`). Both share this static type: declared input, resolved
1339
+ * output. */
1340
+ type TokenField = <S extends z.ZodType>(schema: S) => TokenableSchema<S>;
1341
+ declare namespace connect_config_schema_d_exports {
1342
+ export { ConnectConfig, ConnectConfigInput, ConnectRuntimeConfig, DeclaredConnectConfigInput, connectAiSchema, connectAppSchema, connectBackgroundLayerSchema, connectBackgroundLayersSchema, connectBackgroundSchema, connectBrandingSchema, connectCollectionSchema, connectCompositionEntrySchema, connectConfigSchema, connectConfigSchemaWith, connectDefaultDriveLocalSchema, connectDefaultDriveRemoteSchema, connectDefaultDriveSchema, connectDrivePreserveStrategySchema, connectDriveSectionSchema, connectDriveSectionsSchema, connectDrivesSchema, connectEdgesSchema, connectExplorerIconsSchema, connectHomeSchema, connectImageRefSchema, connectInstanceSchema, connectLengthSchema, connectLoaderSchema, connectOpenPanelSchema, connectPackagesSchema, connectPwaCacheStrategySchema, connectPwaFileHandlerSchema, connectPwaIconSchema, connectPwaManifestSchema, connectPwaRuntimeCachingSchema, connectPwaSchema, connectPwaUrlPatternSchema, connectReactorClientModeSchema, connectReactorFeatureFlagsSchema, connectReactorSchema, connectRemoteBackendSchema, connectRenownAdaptersSchema, connectRenownPrivyAdapterSchema, connectRenownRainbowAdapterSchema, connectRenownSchema, connectRouterSettingsSchema, connectRuntimeConfigSchema, connectRuntimeDefaultDriveRemoteSchema, connectRuntimeDefaultDriveSchema, connectRuntimeDrivesSchema, connectRuntimeInstanceSchema, connectRuntimePwaManifestSchema, connectRuntimePwaSchema, connectSchemedColorSchema, connectSchemedImageSchema, connectSentrySchema, declaredConnectConfigSchema };
1343
+ }
1344
+ /** An image reference: a project-relative file path (the Connect build turns
1345
+ * it into a data URI or an emitted file), a URL, or a data URI. */
1346
+ declare const connectImageRefSchema: z.ZodString;
1347
+ /** An image per colour scheme: one reference for both, or `{ light, dark }`
1348
+ * (`dark` falls back to `light`). */
1349
+ declare const connectSchemedImageSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1350
+ light: z.ZodString;
1351
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1352
+ }, z.core.$strict>]>;
1353
+ /** A CSS colour per colour scheme (`dark` falls back to `light`). */
1354
+ declare const connectSchemedColorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1355
+ light: z.ZodString;
1356
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1357
+ }, z.core.$strict>]>;
1358
+ /** A CSS length: a number is px, a string is passed through as written. */
1359
+ declare const connectLengthSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1360
+ /** Distances to the four edges; each is optional. */
1361
+ declare const connectEdgesSchema: z.ZodObject<{
1362
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1363
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1364
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1365
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1366
+ }, z.core.$strict>;
1367
+ /** One image of a decorated pane, absolutely positioned inside it. */
1368
+ declare const connectBackgroundLayerSchema: z.ZodObject<{
1369
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1370
+ light: z.ZodString;
1371
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1372
+ }, z.core.$strict>]>;
1373
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1374
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1375
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1376
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1377
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1378
+ }, z.core.$strict>>>;
1379
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1380
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1381
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1382
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1383
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1384
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1385
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1386
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1387
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1388
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1389
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1390
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1391
+ }, z.core.$strict>>>;
1392
+ }, z.core.$strict>;
1393
+ /** A decorated pane: the page colour and the images laid over it. */
1394
+ declare const connectBackgroundLayersSchema: z.ZodObject<{
1395
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1396
+ light: z.ZodString;
1397
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1398
+ }, z.core.$strict>]>>>;
1399
+ layers: z.ZodArray<z.ZodObject<{
1400
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1401
+ light: z.ZodString;
1402
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1403
+ }, z.core.$strict>]>;
1404
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1405
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1406
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1407
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1408
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1409
+ }, z.core.$strict>>>;
1410
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1411
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1412
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1413
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1414
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1415
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1416
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1417
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1418
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1419
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1420
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1421
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1422
+ }, z.core.$strict>>>;
1423
+ }, z.core.$strict>>;
1424
+ }, z.core.$strict>;
1425
+ /** A pane's background: layers over a page colour, or one image as
1426
+ * shorthand for a single layer pinned bottom-right. */
1427
+ declare const connectBackgroundSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1428
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1429
+ light: z.ZodString;
1430
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1431
+ }, z.core.$strict>]>>>;
1432
+ layers: z.ZodArray<z.ZodObject<{
1433
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1434
+ light: z.ZodString;
1435
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1436
+ }, z.core.$strict>]>;
1437
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1438
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1439
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1440
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1441
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1442
+ }, z.core.$strict>>>;
1443
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1444
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1445
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1446
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1447
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1448
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1449
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1450
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1451
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1452
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1453
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1454
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1455
+ }, z.core.$strict>>>;
1456
+ }, z.core.$strict>>;
1457
+ }, z.core.$strict>]>;
1458
+ /** The loading image and the motion applied to it. */
1459
+ declare const connectLoaderSchema: z.ZodObject<{
1460
+ src: z.ZodString;
1461
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1462
+ none: "none";
1463
+ pulse: "pulse";
1464
+ spin: "spin";
1465
+ }>>>;
1466
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1467
+ }, z.core.$strict>;
1468
+ /** `connect.branding`: Connect's identity and look. */
1469
+ declare const connectBrandingSchema: z.ZodObject<{
1470
+ appName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1471
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1472
+ favicon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1473
+ loader: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1474
+ src: z.ZodString;
1475
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1476
+ none: "none";
1477
+ pulse: "pulse";
1478
+ spin: "spin";
1479
+ }>>>;
1480
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1481
+ }, z.core.$strict>]>>>;
1482
+ }, z.core.$strict>;
1483
+ /** `connect.home`: the home screen (the generic chrome's landing page). */
1484
+ declare const connectHomeSchema: z.ZodObject<{
1485
+ background: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1486
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1487
+ light: z.ZodString;
1488
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1489
+ }, z.core.$strict>]>>>;
1490
+ layers: z.ZodArray<z.ZodObject<{
1491
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1492
+ light: z.ZodString;
1493
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1494
+ }, z.core.$strict>]>;
1495
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1496
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1497
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1498
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1499
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1500
+ }, z.core.$strict>>>;
1501
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1502
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1503
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1504
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1505
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1506
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1507
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1508
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1509
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1510
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1511
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1512
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1513
+ }, z.core.$strict>>>;
1514
+ }, z.core.$strict>>;
1515
+ }, z.core.$strict>]>>>;
1516
+ }, z.core.$strict>;
1517
+ declare const connectAppSchema: z.ZodObject<{
1518
+ logLevel: z.ZodOptional<z.ZodEnum<{
1519
+ debug: "debug";
1520
+ error: "error";
1521
+ info: "info";
1522
+ warn: "warn";
1523
+ }>>;
1524
+ basePath: z.ZodOptional<z.ZodString>;
1525
+ offline: z.ZodOptional<z.ZodBoolean>;
1526
+ studioMode: z.ZodOptional<z.ZodBoolean>;
1527
+ cookieBanner: z.ZodOptional<z.ZodBoolean>;
1528
+ workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
1529
+ }, z.core.$strict>;
1530
+ declare const connectAiSchema: z.ZodObject<{
1531
+ assistantEnabled: z.ZodOptional<z.ZodBoolean>;
1532
+ }, z.core.$strict>;
1533
+ declare const connectPackagesSchema: z.ZodObject<{
1534
+ externalEnabled: z.ZodOptional<z.ZodBoolean>;
1535
+ liveReload: z.ZodOptional<z.ZodBoolean>;
1536
+ }, z.core.$strict>;
1537
+ /** The drive explorer's icons: the generic chrome's, owned by the generic
1538
+ * plugin. Each `null` keeps the built-in icon. */
1539
+ declare const connectExplorerIconsSchema: z.ZodObject<{
1540
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1542
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1543
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1544
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
1545
+ }, z.core.$strict>;
1546
+ declare const connectDefaultDriveRemoteSchema: z.ZodObject<{
1547
+ url: z.ZodString;
1548
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1549
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1550
+ }, z.core.$strict>;
1551
+ declare const connectDefaultDriveLocalSchema: z.ZodObject<{
1552
+ local: z.ZodLiteral<true>;
1553
+ id: z.ZodString;
1554
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1556
+ app: z.ZodOptional<z.ZodString>;
1557
+ }, z.core.$strict>;
1558
+ declare const connectDefaultDriveSchema: z.ZodUnion<readonly [z.ZodObject<{
1559
+ url: z.ZodString;
1560
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1561
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1562
+ }, z.core.$strict>, z.ZodObject<{
1563
+ local: z.ZodLiteral<true>;
1564
+ id: z.ZodString;
1565
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1566
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
+ app: z.ZodOptional<z.ZodString>;
1568
+ }, z.core.$strict>]>;
1569
+ /** `connect.drives.sections.{remote,local}`: three affirmative toggles. */
1570
+ declare const connectDriveSectionSchema: z.ZodObject<{
1571
+ enabled: z.ZodOptional<z.ZodBoolean>;
1572
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
1573
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
1574
+ }, z.core.$strict>;
1575
+ declare const connectDriveSectionsSchema: z.ZodObject<{
1576
+ remote: z.ZodOptional<z.ZodObject<{
1577
+ enabled: z.ZodOptional<z.ZodBoolean>;
1578
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
1579
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
1580
+ }, z.core.$strict>>;
1581
+ local: z.ZodOptional<z.ZodObject<{
1582
+ enabled: z.ZodOptional<z.ZodBoolean>;
1583
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
1584
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
1585
+ }, z.core.$strict>>;
1586
+ }, z.core.$strict>;
1587
+ /** Mirrors DRIVES_PRESERVE_STRATEGIES (../clis/constants.ts, which imports
1588
+ * node: modules, so it is not imported here); a test pins the two. */
1589
+ declare const connectDrivePreserveStrategySchema: z.ZodEnum<{
1590
+ "preserve-all": "preserve-all";
1591
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
1592
+ }>;
1593
+ declare const connectDrivesSchema: z.ZodObject<{
1594
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
1595
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1596
+ url: z.ZodString;
1597
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1598
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1599
+ }, z.core.$strict>, z.ZodObject<{
1600
+ local: z.ZodLiteral<true>;
1601
+ id: z.ZodString;
1602
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
+ app: z.ZodOptional<z.ZodString>;
1605
+ }, z.core.$strict>]>>>;
1606
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
1607
+ "preserve-all": "preserve-all";
1608
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
1609
+ }>>;
1610
+ sections: z.ZodOptional<z.ZodObject<{
1611
+ remote: z.ZodOptional<z.ZodObject<{
1612
+ enabled: z.ZodOptional<z.ZodBoolean>;
1613
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
1614
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
1615
+ }, z.core.$strict>>;
1616
+ local: z.ZodOptional<z.ZodObject<{
1617
+ enabled: z.ZodOptional<z.ZodBoolean>;
1618
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
1619
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
1620
+ }, z.core.$strict>>;
1621
+ }, z.core.$strict>>;
1622
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1623
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1624
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1625
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1627
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
1628
+ }, z.core.$strict>>>;
1629
+ }, z.core.$strict>;
1630
+ declare const connectRenownRainbowAdapterSchema: z.ZodObject<{
1631
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
1632
+ infuraProjectId: z.ZodOptional<z.ZodString>;
1633
+ }, z.core.$strict>;
1634
+ declare const connectRenownPrivyAdapterSchema: z.ZodObject<{
1635
+ appId: z.ZodOptional<z.ZodString>;
1636
+ clientId: z.ZodOptional<z.ZodString>;
1637
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
1638
+ }, z.core.$strict>;
1639
+ declare const connectRenownAdaptersSchema: z.ZodObject<{
1640
+ rainbow: z.ZodOptional<z.ZodObject<{
1641
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
1642
+ infuraProjectId: z.ZodOptional<z.ZodString>;
1643
+ }, z.core.$strict>>;
1644
+ privy: z.ZodOptional<z.ZodObject<{
1645
+ appId: z.ZodOptional<z.ZodString>;
1646
+ clientId: z.ZodOptional<z.ZodString>;
1647
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
1648
+ }, z.core.$strict>>;
1649
+ }, z.core.$strict>;
1650
+ declare const connectRenownSchema: z.ZodObject<{
1651
+ url: z.ZodOptional<z.ZodString>;
1652
+ networkId: z.ZodOptional<z.ZodString>;
1653
+ chainId: z.ZodOptional<z.ZodNumber>;
1654
+ namespace: z.ZodOptional<z.ZodString>;
1655
+ switchboardUrl: z.ZodOptional<z.ZodString>;
1656
+ adapters: z.ZodOptional<z.ZodObject<{
1657
+ rainbow: z.ZodOptional<z.ZodObject<{
1658
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
1659
+ infuraProjectId: z.ZodOptional<z.ZodString>;
1660
+ }, z.core.$strict>>;
1661
+ privy: z.ZodOptional<z.ZodObject<{
1662
+ appId: z.ZodOptional<z.ZodString>;
1663
+ clientId: z.ZodOptional<z.ZodString>;
1664
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
1665
+ }, z.core.$strict>>;
1666
+ }, z.core.$strict>>;
1667
+ }, z.core.$strict>;
1668
+ declare const connectSentrySchema: z.ZodObject<{
1669
+ dsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1670
+ env: z.ZodOptional<z.ZodString>;
1671
+ tracing: z.ZodOptional<z.ZodBoolean>;
1672
+ }, z.core.$strict>;
1673
+ declare const connectOpenPanelSchema: z.ZodObject<{
1674
+ clientId: z.ZodOptional<z.ZodString>;
1675
+ apiUrl: z.ZodOptional<z.ZodString>;
1676
+ trackUiEvents: z.ZodOptional<z.ZodBoolean>;
1677
+ trackOperations: z.ZodOptional<z.ZodBoolean>;
1678
+ }, z.core.$strict>;
1679
+ /** Which reactor client Connect runs (see PHReactorClientMode). */
1680
+ declare const connectReactorClientModeSchema: z.ZodEnum<{
1681
+ "in-process": "in-process";
1682
+ remote: "remote";
1683
+ router: "router";
1684
+ worker: "worker";
1685
+ }>;
1686
+ declare const connectInstanceSchema: z.ZodObject<{
1687
+ namespace: z.ZodNullable<z.ZodString>;
1688
+ reactorWorker: z.ZodBoolean;
1689
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
1690
+ }, z.core.$strict>;
1691
+ declare const connectReactorFeatureFlagsSchema: z.ZodObject<{
1692
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
1693
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
1694
+ authGroups: z.ZodOptional<z.ZodBoolean>;
1695
+ authConditions: z.ZodOptional<z.ZodBoolean>;
1696
+ undoV3: z.ZodOptional<z.ZodBoolean>;
1697
+ }, z.core.$strict>;
1698
+ declare const connectReactorSchema: z.ZodObject<{
1699
+ featureFlags: z.ZodOptional<z.ZodObject<{
1700
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
1701
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
1702
+ authGroups: z.ZodOptional<z.ZodBoolean>;
1703
+ authConditions: z.ZodOptional<z.ZodBoolean>;
1704
+ undoV3: z.ZodOptional<z.ZodBoolean>;
1705
+ }, z.core.$strict>>;
1706
+ createSignaturePolicy: z.ZodOptional<z.ZodEnum<{
1707
+ legacy: "legacy";
1708
+ "v2-required": "v2-required";
1709
+ }>>;
1710
+ unsupportedStoredDocuments: z.ZodOptional<z.ZodEnum<{
1711
+ "read-only": "read-only";
1712
+ refuse: "refuse";
1713
+ }>>;
1714
+ }, z.core.$strict>;
1715
+ /** A runtime-caching / denylist URL match. A string is handed to Workbox
1716
+ * verbatim; `{ source, flags }` is rebuilt into a RegExp at build time. */
1717
+ declare const connectPwaUrlPatternSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1718
+ source: z.ZodString;
1719
+ flags: z.ZodOptional<z.ZodString>;
1720
+ }, z.core.$strict>]>;
1721
+ declare const connectPwaCacheStrategySchema: z.ZodEnum<{
1722
+ CacheFirst: "CacheFirst";
1723
+ CacheOnly: "CacheOnly";
1724
+ NetworkFirst: "NetworkFirst";
1725
+ NetworkOnly: "NetworkOnly";
1726
+ StaleWhileRevalidate: "StaleWhileRevalidate";
1727
+ }>;
1728
+ /** Serialisable subset of a Workbox `RuntimeCaching` rule. */
1729
+ declare const connectPwaRuntimeCachingSchema: z.ZodObject<{
1730
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1731
+ source: z.ZodString;
1732
+ flags: z.ZodOptional<z.ZodString>;
1733
+ }, z.core.$strict>]>;
1734
+ handler: z.ZodEnum<{
1735
+ CacheFirst: "CacheFirst";
1736
+ CacheOnly: "CacheOnly";
1737
+ NetworkFirst: "NetworkFirst";
1738
+ NetworkOnly: "NetworkOnly";
1739
+ StaleWhileRevalidate: "StaleWhileRevalidate";
1740
+ }>;
1741
+ method: z.ZodOptional<z.ZodEnum<{
1742
+ DELETE: "DELETE";
1743
+ GET: "GET";
1744
+ HEAD: "HEAD";
1745
+ PATCH: "PATCH";
1746
+ POST: "POST";
1747
+ PUT: "PUT";
1748
+ }>>;
1749
+ options: z.ZodOptional<z.ZodObject<{
1750
+ cacheName: z.ZodOptional<z.ZodString>;
1751
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1752
+ expiration: z.ZodOptional<z.ZodObject<{
1753
+ maxEntries: z.ZodOptional<z.ZodNumber>;
1754
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
1755
+ }, z.core.$strict>>;
1756
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
1757
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1758
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1759
+ }, z.core.$strict>>;
1760
+ }, z.core.$strict>>;
1761
+ }, z.core.$strict>;
1762
+ declare const connectPwaIconSchema: z.ZodObject<{
1763
+ src: z.ZodString;
1764
+ sizes: z.ZodOptional<z.ZodString>;
1765
+ type: z.ZodOptional<z.ZodString>;
1766
+ purpose: z.ZodOptional<z.ZodString>;
1767
+ }, z.core.$strict>;
1768
+ /** A File Handling API entry. No `action`: every handler opens at Connect's
1769
+ * app root, because consuming launched files needs Connect's own code. */
1770
+ declare const connectPwaFileHandlerSchema: z.ZodObject<{
1771
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
1772
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1773
+ src: z.ZodString;
1774
+ sizes: z.ZodOptional<z.ZodString>;
1775
+ type: z.ZodOptional<z.ZodString>;
1776
+ purpose: z.ZodOptional<z.ZodString>;
1777
+ }, z.core.$strict>>>;
1778
+ launch_type: z.ZodOptional<z.ZodEnum<{
1779
+ "multiple-clients": "multiple-clients";
1780
+ "single-client": "single-client";
1781
+ }>>;
1782
+ }, z.core.$strict>;
1783
+ /** Web-app-manifest fields a package or project may override. */
1784
+ declare const connectPwaManifestSchema: z.ZodObject<{
1785
+ name: z.ZodOptional<z.ZodString>;
1786
+ short_name: z.ZodOptional<z.ZodString>;
1787
+ description: z.ZodOptional<z.ZodString>;
1788
+ theme_color: z.ZodOptional<z.ZodString>;
1789
+ background_color: z.ZodOptional<z.ZodString>;
1790
+ display: z.ZodOptional<z.ZodEnum<{
1791
+ browser: "browser";
1792
+ fullscreen: "fullscreen";
1793
+ "minimal-ui": "minimal-ui";
1794
+ standalone: "standalone";
1795
+ }>>;
1796
+ start_url: z.ZodOptional<z.ZodString>;
1797
+ scope: z.ZodOptional<z.ZodString>;
1798
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1799
+ src: z.ZodString;
1800
+ sizes: z.ZodOptional<z.ZodString>;
1801
+ type: z.ZodOptional<z.ZodString>;
1802
+ purpose: z.ZodOptional<z.ZodString>;
1803
+ }, z.core.$strict>>>;
1804
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1805
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
1806
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1807
+ src: z.ZodString;
1808
+ sizes: z.ZodOptional<z.ZodString>;
1809
+ type: z.ZodOptional<z.ZodString>;
1810
+ purpose: z.ZodOptional<z.ZodString>;
1811
+ }, z.core.$strict>>>;
1812
+ launch_type: z.ZodOptional<z.ZodEnum<{
1813
+ "multiple-clients": "multiple-clients";
1814
+ "single-client": "single-client";
1815
+ }>>;
1816
+ }, z.core.$strict>>>;
1817
+ launch_handler: z.ZodOptional<z.ZodObject<{
1818
+ client_mode: z.ZodEnum<{
1819
+ auto: "auto";
1820
+ "focus-existing": "focus-existing";
1821
+ "navigate-existing": "navigate-existing";
1822
+ "navigate-new": "navigate-new";
1823
+ }>;
1824
+ }, z.core.$strict>>;
1825
+ }, z.core.$strict>;
1826
+ /** `connect.pwa` as authored. */
1827
+ declare const connectPwaSchema: z.ZodObject<{
1828
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1829
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
1830
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
1831
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
1832
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1833
+ source: z.ZodString;
1834
+ flags: z.ZodOptional<z.ZodString>;
1835
+ }, z.core.$strict>]>;
1836
+ handler: z.ZodEnum<{
1837
+ CacheFirst: "CacheFirst";
1838
+ CacheOnly: "CacheOnly";
1839
+ NetworkFirst: "NetworkFirst";
1840
+ NetworkOnly: "NetworkOnly";
1841
+ StaleWhileRevalidate: "StaleWhileRevalidate";
1842
+ }>;
1843
+ method: z.ZodOptional<z.ZodEnum<{
1844
+ DELETE: "DELETE";
1845
+ GET: "GET";
1846
+ HEAD: "HEAD";
1847
+ PATCH: "PATCH";
1848
+ POST: "POST";
1849
+ PUT: "PUT";
1850
+ }>>;
1851
+ options: z.ZodOptional<z.ZodObject<{
1852
+ cacheName: z.ZodOptional<z.ZodString>;
1853
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1854
+ expiration: z.ZodOptional<z.ZodObject<{
1855
+ maxEntries: z.ZodOptional<z.ZodNumber>;
1856
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
1857
+ }, z.core.$strict>>;
1858
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
1859
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1860
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1861
+ }, z.core.$strict>>;
1862
+ }, z.core.$strict>>;
1863
+ }, z.core.$strict>>>;
1864
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1865
+ source: z.ZodString;
1866
+ flags: z.ZodOptional<z.ZodString>;
1867
+ }, z.core.$strict>]>>>;
1868
+ manifest: z.ZodOptional<z.ZodObject<{
1869
+ name: z.ZodOptional<z.ZodString>;
1870
+ short_name: z.ZodOptional<z.ZodString>;
1871
+ description: z.ZodOptional<z.ZodString>;
1872
+ theme_color: z.ZodOptional<z.ZodString>;
1873
+ background_color: z.ZodOptional<z.ZodString>;
1874
+ display: z.ZodOptional<z.ZodEnum<{
1875
+ browser: "browser";
1876
+ fullscreen: "fullscreen";
1877
+ "minimal-ui": "minimal-ui";
1878
+ standalone: "standalone";
1879
+ }>>;
1880
+ start_url: z.ZodOptional<z.ZodString>;
1881
+ scope: z.ZodOptional<z.ZodString>;
1882
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1883
+ src: z.ZodString;
1884
+ sizes: z.ZodOptional<z.ZodString>;
1885
+ type: z.ZodOptional<z.ZodString>;
1886
+ purpose: z.ZodOptional<z.ZodString>;
1887
+ }, z.core.$strict>>>;
1888
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1889
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
1890
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1891
+ src: z.ZodString;
1892
+ sizes: z.ZodOptional<z.ZodString>;
1893
+ type: z.ZodOptional<z.ZodString>;
1894
+ purpose: z.ZodOptional<z.ZodString>;
1895
+ }, z.core.$strict>>>;
1896
+ launch_type: z.ZodOptional<z.ZodEnum<{
1897
+ "multiple-clients": "multiple-clients";
1898
+ "single-client": "single-client";
1899
+ }>>;
1900
+ }, z.core.$strict>>>;
1901
+ launch_handler: z.ZodOptional<z.ZodObject<{
1902
+ client_mode: z.ZodEnum<{
1903
+ auto: "auto";
1904
+ "focus-existing": "focus-existing";
1905
+ "navigate-existing": "navigate-existing";
1906
+ "navigate-new": "navigate-new";
1907
+ }>;
1908
+ }, z.core.$strict>>;
1909
+ }, z.core.$strict>>;
1910
+ }, z.core.$strict>;
1911
+ /**
1912
+ * The `connect` block as authored: powerhouse.config.json's `connect`, the
1913
+ * connect host's `config`, and `ph connect config` writes. Every field is
1914
+ * optional; omit the section entirely for default behaviour.
1915
+ */
1916
+ declare const connectConfigSchema: z.ZodObject<{
1917
+ branding: z.ZodOptional<z.ZodObject<{
1918
+ appName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1919
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1920
+ favicon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1921
+ loader: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1922
+ src: z.ZodString;
1923
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1924
+ none: "none";
1925
+ pulse: "pulse";
1926
+ spin: "spin";
1927
+ }>>>;
1928
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1929
+ }, z.core.$strict>]>>>;
1930
+ }, z.core.$strict>>;
1931
+ home: z.ZodOptional<z.ZodObject<{
1932
+ background: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1933
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1934
+ light: z.ZodString;
1935
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
+ }, z.core.$strict>]>>>;
1937
+ layers: z.ZodArray<z.ZodObject<{
1938
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1939
+ light: z.ZodString;
1940
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1941
+ }, z.core.$strict>]>;
1942
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1943
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1944
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1945
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1946
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1947
+ }, z.core.$strict>>>;
1948
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1949
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1950
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1951
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1952
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1953
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1954
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1955
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1956
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1957
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1958
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1959
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1960
+ }, z.core.$strict>>>;
1961
+ }, z.core.$strict>>;
1962
+ }, z.core.$strict>]>>>;
1963
+ }, z.core.$strict>>;
1964
+ app: z.ZodOptional<z.ZodObject<{
1965
+ logLevel: z.ZodOptional<z.ZodEnum<{
1966
+ debug: "debug";
1967
+ error: "error";
1968
+ info: "info";
1969
+ warn: "warn";
1970
+ }>>;
1971
+ basePath: z.ZodOptional<z.ZodString>;
1972
+ offline: z.ZodOptional<z.ZodBoolean>;
1973
+ studioMode: z.ZodOptional<z.ZodBoolean>;
1974
+ cookieBanner: z.ZodOptional<z.ZodBoolean>;
1975
+ workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
1976
+ }, z.core.$strict>>;
1977
+ ai: z.ZodOptional<z.ZodObject<{
1978
+ assistantEnabled: z.ZodOptional<z.ZodBoolean>;
1979
+ }, z.core.$strict>>;
1980
+ packages: z.ZodOptional<z.ZodObject<{
1981
+ externalEnabled: z.ZodOptional<z.ZodBoolean>;
1982
+ liveReload: z.ZodOptional<z.ZodBoolean>;
1983
+ }, z.core.$strict>>;
1984
+ drives: z.ZodOptional<z.ZodObject<{
1985
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
1986
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1987
+ url: z.ZodString;
1988
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1989
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1990
+ }, z.core.$strict>, z.ZodObject<{
1991
+ local: z.ZodLiteral<true>;
1992
+ id: z.ZodString;
1993
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1994
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1995
+ app: z.ZodOptional<z.ZodString>;
1996
+ }, z.core.$strict>]>>>;
1997
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
1998
+ "preserve-all": "preserve-all";
1999
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
2000
+ }>>;
2001
+ sections: z.ZodOptional<z.ZodObject<{
2002
+ remote: z.ZodOptional<z.ZodObject<{
2003
+ enabled: z.ZodOptional<z.ZodBoolean>;
2004
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2005
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2006
+ }, z.core.$strict>>;
2007
+ local: z.ZodOptional<z.ZodObject<{
2008
+ enabled: z.ZodOptional<z.ZodBoolean>;
2009
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2010
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2011
+ }, z.core.$strict>>;
2012
+ }, z.core.$strict>>;
2013
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2014
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2015
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2016
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2017
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2018
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2019
+ }, z.core.$strict>>>;
2020
+ }, z.core.$strict>>;
2021
+ renown: z.ZodOptional<z.ZodObject<{
2022
+ url: z.ZodOptional<z.ZodString>;
2023
+ networkId: z.ZodOptional<z.ZodString>;
2024
+ chainId: z.ZodOptional<z.ZodNumber>;
2025
+ namespace: z.ZodOptional<z.ZodString>;
2026
+ switchboardUrl: z.ZodOptional<z.ZodString>;
2027
+ adapters: z.ZodOptional<z.ZodObject<{
2028
+ rainbow: z.ZodOptional<z.ZodObject<{
2029
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
2030
+ infuraProjectId: z.ZodOptional<z.ZodString>;
2031
+ }, z.core.$strict>>;
2032
+ privy: z.ZodOptional<z.ZodObject<{
2033
+ appId: z.ZodOptional<z.ZodString>;
2034
+ clientId: z.ZodOptional<z.ZodString>;
2035
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
2036
+ }, z.core.$strict>>;
2037
+ }, z.core.$strict>>;
2038
+ }, z.core.$strict>>;
2039
+ sentry: z.ZodOptional<z.ZodObject<{
2040
+ dsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2041
+ env: z.ZodOptional<z.ZodString>;
2042
+ tracing: z.ZodOptional<z.ZodBoolean>;
2043
+ }, z.core.$strict>>;
2044
+ openPanel: z.ZodOptional<z.ZodObject<{
2045
+ clientId: z.ZodOptional<z.ZodString>;
2046
+ apiUrl: z.ZodOptional<z.ZodString>;
2047
+ trackUiEvents: z.ZodOptional<z.ZodBoolean>;
2048
+ trackOperations: z.ZodOptional<z.ZodBoolean>;
2049
+ }, z.core.$strict>>;
2050
+ instance: z.ZodOptional<z.ZodObject<{
2051
+ namespace: z.ZodNullable<z.ZodString>;
2052
+ reactorWorker: z.ZodBoolean;
2053
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
2054
+ }, z.core.$strict>>;
2055
+ reactor: z.ZodOptional<z.ZodObject<{
2056
+ featureFlags: z.ZodOptional<z.ZodObject<{
2057
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
2058
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
2059
+ authGroups: z.ZodOptional<z.ZodBoolean>;
2060
+ authConditions: z.ZodOptional<z.ZodBoolean>;
2061
+ undoV3: z.ZodOptional<z.ZodBoolean>;
2062
+ }, z.core.$strict>>;
2063
+ createSignaturePolicy: z.ZodOptional<z.ZodEnum<{
2064
+ legacy: "legacy";
2065
+ "v2-required": "v2-required";
2066
+ }>>;
2067
+ unsupportedStoredDocuments: z.ZodOptional<z.ZodEnum<{
2068
+ "read-only": "read-only";
2069
+ refuse: "refuse";
2070
+ }>>;
2071
+ }, z.core.$strict>>;
2072
+ pwa: z.ZodOptional<z.ZodObject<{
2073
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2074
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
2075
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
2076
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
2077
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2078
+ source: z.ZodString;
2079
+ flags: z.ZodOptional<z.ZodString>;
2080
+ }, z.core.$strict>]>;
2081
+ handler: z.ZodEnum<{
2082
+ CacheFirst: "CacheFirst";
2083
+ CacheOnly: "CacheOnly";
2084
+ NetworkFirst: "NetworkFirst";
2085
+ NetworkOnly: "NetworkOnly";
2086
+ StaleWhileRevalidate: "StaleWhileRevalidate";
2087
+ }>;
2088
+ method: z.ZodOptional<z.ZodEnum<{
2089
+ DELETE: "DELETE";
2090
+ GET: "GET";
2091
+ HEAD: "HEAD";
2092
+ PATCH: "PATCH";
2093
+ POST: "POST";
2094
+ PUT: "PUT";
2095
+ }>>;
2096
+ options: z.ZodOptional<z.ZodObject<{
2097
+ cacheName: z.ZodOptional<z.ZodString>;
2098
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2099
+ expiration: z.ZodOptional<z.ZodObject<{
2100
+ maxEntries: z.ZodOptional<z.ZodNumber>;
2101
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
2102
+ }, z.core.$strict>>;
2103
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
2104
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2105
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2106
+ }, z.core.$strict>>;
2107
+ }, z.core.$strict>>;
2108
+ }, z.core.$strict>>>;
2109
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2110
+ source: z.ZodString;
2111
+ flags: z.ZodOptional<z.ZodString>;
2112
+ }, z.core.$strict>]>>>;
2113
+ manifest: z.ZodOptional<z.ZodObject<{
2114
+ name: z.ZodOptional<z.ZodString>;
2115
+ short_name: z.ZodOptional<z.ZodString>;
2116
+ description: z.ZodOptional<z.ZodString>;
2117
+ theme_color: z.ZodOptional<z.ZodString>;
2118
+ background_color: z.ZodOptional<z.ZodString>;
2119
+ display: z.ZodOptional<z.ZodEnum<{
2120
+ browser: "browser";
2121
+ fullscreen: "fullscreen";
2122
+ "minimal-ui": "minimal-ui";
2123
+ standalone: "standalone";
2124
+ }>>;
2125
+ start_url: z.ZodOptional<z.ZodString>;
2126
+ scope: z.ZodOptional<z.ZodString>;
2127
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2128
+ src: z.ZodString;
2129
+ sizes: z.ZodOptional<z.ZodString>;
2130
+ type: z.ZodOptional<z.ZodString>;
2131
+ purpose: z.ZodOptional<z.ZodString>;
2132
+ }, z.core.$strict>>>;
2133
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2134
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2135
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2136
+ src: z.ZodString;
2137
+ sizes: z.ZodOptional<z.ZodString>;
2138
+ type: z.ZodOptional<z.ZodString>;
2139
+ purpose: z.ZodOptional<z.ZodString>;
2140
+ }, z.core.$strict>>>;
2141
+ launch_type: z.ZodOptional<z.ZodEnum<{
2142
+ "multiple-clients": "multiple-clients";
2143
+ "single-client": "single-client";
2144
+ }>>;
2145
+ }, z.core.$strict>>>;
2146
+ launch_handler: z.ZodOptional<z.ZodObject<{
2147
+ client_mode: z.ZodEnum<{
2148
+ auto: "auto";
2149
+ "focus-existing": "focus-existing";
2150
+ "navigate-existing": "navigate-existing";
2151
+ "navigate-new": "navigate-new";
2152
+ }>;
2153
+ }, z.core.$strict>>;
2154
+ }, z.core.$strict>>;
2155
+ }, z.core.$strict>>;
2156
+ }, z.core.$strict>;
2157
+ type ConnectConfig = z.output<typeof connectConfigSchema>;
2158
+ type ConnectConfigInput = z.input<typeof connectConfigSchema>;
2159
+ /**
2160
+ * The `connect` block with its token-able fields wrapped by `field`: the
2161
+ * fields that name another host's outputs, which a connect host's `config`
2162
+ * may write as output tokens (`ph run` resolves them before the verb).
2163
+ *
2164
+ * - `drives.defaultDrives[].url` (a remote entry): e.g. a switchboard's
2165
+ * `drives.<slug>.url` output.
2166
+ * - `renown.switchboardUrl`: a switchboard's `endpoints.graphql` output.
2167
+ *
2168
+ * The connect runner builds it with host-core's `s.tokenable` (declared:
2169
+ * tokens in; resolved: plain values only). The output type is
2170
+ * {@link ConnectConfig} either way. powerhouse.config.json's `connect` block,
2171
+ * the served config and their JSON Schemas stay {@link connectConfigSchema},
2172
+ * which takes no tokens.
2173
+ */
2174
+ declare function connectConfigSchemaWith(field: TokenField): z.ZodObject<{
2175
+ branding: z.ZodOptional<z.ZodObject<{
2176
+ appName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2177
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2178
+ favicon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2179
+ loader: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2180
+ src: z.ZodString;
2181
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2182
+ none: "none";
2183
+ pulse: "pulse";
2184
+ spin: "spin";
2185
+ }>>>;
2186
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2187
+ }, z.core.$strict>]>>>;
2188
+ }, z.core.$strict>>;
2189
+ home: z.ZodOptional<z.ZodObject<{
2190
+ background: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2191
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2192
+ light: z.ZodString;
2193
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2194
+ }, z.core.$strict>]>>>;
2195
+ layers: z.ZodArray<z.ZodObject<{
2196
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2197
+ light: z.ZodString;
2198
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2199
+ }, z.core.$strict>]>;
2200
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2201
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2202
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2203
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2204
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2205
+ }, z.core.$strict>>>;
2206
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2207
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2208
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2209
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2210
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2211
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2212
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2213
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2214
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2215
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2216
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2217
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2218
+ }, z.core.$strict>>>;
2219
+ }, z.core.$strict>>;
2220
+ }, z.core.$strict>]>>>;
2221
+ }, z.core.$strict>>;
2222
+ app: z.ZodOptional<z.ZodObject<{
2223
+ logLevel: z.ZodOptional<z.ZodEnum<{
2224
+ debug: "debug";
2225
+ error: "error";
2226
+ info: "info";
2227
+ warn: "warn";
2228
+ }>>;
2229
+ basePath: z.ZodOptional<z.ZodString>;
2230
+ offline: z.ZodOptional<z.ZodBoolean>;
2231
+ studioMode: z.ZodOptional<z.ZodBoolean>;
2232
+ cookieBanner: z.ZodOptional<z.ZodBoolean>;
2233
+ workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
2234
+ }, z.core.$strict>>;
2235
+ ai: z.ZodOptional<z.ZodObject<{
2236
+ assistantEnabled: z.ZodOptional<z.ZodBoolean>;
2237
+ }, z.core.$strict>>;
2238
+ packages: z.ZodOptional<z.ZodObject<{
2239
+ externalEnabled: z.ZodOptional<z.ZodBoolean>;
2240
+ liveReload: z.ZodOptional<z.ZodBoolean>;
2241
+ }, z.core.$strict>>;
2242
+ sentry: z.ZodOptional<z.ZodObject<{
2243
+ dsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2244
+ env: z.ZodOptional<z.ZodString>;
2245
+ tracing: z.ZodOptional<z.ZodBoolean>;
2246
+ }, z.core.$strict>>;
2247
+ openPanel: z.ZodOptional<z.ZodObject<{
2248
+ clientId: z.ZodOptional<z.ZodString>;
2249
+ apiUrl: z.ZodOptional<z.ZodString>;
2250
+ trackUiEvents: z.ZodOptional<z.ZodBoolean>;
2251
+ trackOperations: z.ZodOptional<z.ZodBoolean>;
2252
+ }, z.core.$strict>>;
2253
+ instance: z.ZodOptional<z.ZodObject<{
2254
+ namespace: z.ZodNullable<z.ZodString>;
2255
+ reactorWorker: z.ZodBoolean;
2256
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
2257
+ }, z.core.$strict>>;
2258
+ reactor: z.ZodOptional<z.ZodObject<{
2259
+ featureFlags: z.ZodOptional<z.ZodObject<{
2260
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
2261
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
2262
+ authGroups: z.ZodOptional<z.ZodBoolean>;
2263
+ authConditions: z.ZodOptional<z.ZodBoolean>;
2264
+ undoV3: z.ZodOptional<z.ZodBoolean>;
2265
+ }, z.core.$strict>>;
2266
+ createSignaturePolicy: z.ZodOptional<z.ZodEnum<{
2267
+ legacy: "legacy";
2268
+ "v2-required": "v2-required";
2269
+ }>>;
2270
+ unsupportedStoredDocuments: z.ZodOptional<z.ZodEnum<{
2271
+ "read-only": "read-only";
2272
+ refuse: "refuse";
2273
+ }>>;
2274
+ }, z.core.$strict>>;
2275
+ pwa: z.ZodOptional<z.ZodObject<{
2276
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2277
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
2278
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
2279
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
2280
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2281
+ source: z.ZodString;
2282
+ flags: z.ZodOptional<z.ZodString>;
2283
+ }, z.core.$strict>]>;
2284
+ handler: z.ZodEnum<{
2285
+ CacheFirst: "CacheFirst";
2286
+ CacheOnly: "CacheOnly";
2287
+ NetworkFirst: "NetworkFirst";
2288
+ NetworkOnly: "NetworkOnly";
2289
+ StaleWhileRevalidate: "StaleWhileRevalidate";
2290
+ }>;
2291
+ method: z.ZodOptional<z.ZodEnum<{
2292
+ DELETE: "DELETE";
2293
+ GET: "GET";
2294
+ HEAD: "HEAD";
2295
+ PATCH: "PATCH";
2296
+ POST: "POST";
2297
+ PUT: "PUT";
2298
+ }>>;
2299
+ options: z.ZodOptional<z.ZodObject<{
2300
+ cacheName: z.ZodOptional<z.ZodString>;
2301
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2302
+ expiration: z.ZodOptional<z.ZodObject<{
2303
+ maxEntries: z.ZodOptional<z.ZodNumber>;
2304
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
2305
+ }, z.core.$strict>>;
2306
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
2307
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2308
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2309
+ }, z.core.$strict>>;
2310
+ }, z.core.$strict>>;
2311
+ }, z.core.$strict>>>;
2312
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2313
+ source: z.ZodString;
2314
+ flags: z.ZodOptional<z.ZodString>;
2315
+ }, z.core.$strict>]>>>;
2316
+ manifest: z.ZodOptional<z.ZodObject<{
2317
+ name: z.ZodOptional<z.ZodString>;
2318
+ short_name: z.ZodOptional<z.ZodString>;
2319
+ description: z.ZodOptional<z.ZodString>;
2320
+ theme_color: z.ZodOptional<z.ZodString>;
2321
+ background_color: z.ZodOptional<z.ZodString>;
2322
+ display: z.ZodOptional<z.ZodEnum<{
2323
+ browser: "browser";
2324
+ fullscreen: "fullscreen";
2325
+ "minimal-ui": "minimal-ui";
2326
+ standalone: "standalone";
2327
+ }>>;
2328
+ start_url: z.ZodOptional<z.ZodString>;
2329
+ scope: z.ZodOptional<z.ZodString>;
2330
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2331
+ src: z.ZodString;
2332
+ sizes: z.ZodOptional<z.ZodString>;
2333
+ type: z.ZodOptional<z.ZodString>;
2334
+ purpose: z.ZodOptional<z.ZodString>;
2335
+ }, z.core.$strict>>>;
2336
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2337
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2338
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2339
+ src: z.ZodString;
2340
+ sizes: z.ZodOptional<z.ZodString>;
2341
+ type: z.ZodOptional<z.ZodString>;
2342
+ purpose: z.ZodOptional<z.ZodString>;
2343
+ }, z.core.$strict>>>;
2344
+ launch_type: z.ZodOptional<z.ZodEnum<{
2345
+ "multiple-clients": "multiple-clients";
2346
+ "single-client": "single-client";
2347
+ }>>;
2348
+ }, z.core.$strict>>>;
2349
+ launch_handler: z.ZodOptional<z.ZodObject<{
2350
+ client_mode: z.ZodEnum<{
2351
+ auto: "auto";
2352
+ "focus-existing": "focus-existing";
2353
+ "navigate-existing": "navigate-existing";
2354
+ "navigate-new": "navigate-new";
2355
+ }>;
2356
+ }, z.core.$strict>>;
2357
+ }, z.core.$strict>>;
2358
+ }, z.core.$strict>>;
2359
+ drives: z.ZodOptional<z.ZodObject<{
2360
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
2361
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
2362
+ "preserve-all": "preserve-all";
2363
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
2364
+ }>>;
2365
+ sections: z.ZodOptional<z.ZodObject<{
2366
+ remote: z.ZodOptional<z.ZodObject<{
2367
+ enabled: z.ZodOptional<z.ZodBoolean>;
2368
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2369
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2370
+ }, z.core.$strict>>;
2371
+ local: z.ZodOptional<z.ZodObject<{
2372
+ enabled: z.ZodOptional<z.ZodBoolean>;
2373
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2374
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2375
+ }, z.core.$strict>>;
2376
+ }, z.core.$strict>>;
2377
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2378
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2379
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2380
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2381
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2382
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2383
+ }, z.core.$strict>>>;
2384
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2385
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2386
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
+ url: TokenableSchema<z.ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
2388
+ $key: true;
2389
+ } | {
2390
+ $key: string;
2391
+ })>;
2392
+ }, z.core.$strict>, z.ZodObject<{
2393
+ local: z.ZodLiteral<true>;
2394
+ id: z.ZodString;
2395
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2396
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2397
+ app: z.ZodOptional<z.ZodString>;
2398
+ }, z.core.$strict>]>>>;
2399
+ }, z.core.$strict>>;
2400
+ renown: z.ZodOptional<z.ZodObject<{
2401
+ url: z.ZodOptional<z.ZodString>;
2402
+ networkId: z.ZodOptional<z.ZodString>;
2403
+ chainId: z.ZodOptional<z.ZodNumber>;
2404
+ namespace: z.ZodOptional<z.ZodString>;
2405
+ adapters: z.ZodOptional<z.ZodObject<{
2406
+ rainbow: z.ZodOptional<z.ZodObject<{
2407
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
2408
+ infuraProjectId: z.ZodOptional<z.ZodString>;
2409
+ }, z.core.$strict>>;
2410
+ privy: z.ZodOptional<z.ZodObject<{
2411
+ appId: z.ZodOptional<z.ZodString>;
2412
+ clientId: z.ZodOptional<z.ZodString>;
2413
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
2414
+ }, z.core.$strict>>;
2415
+ }, z.core.$strict>>;
2416
+ switchboardUrl: z.ZodOptional<TokenableSchema<z.ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
2417
+ $key: true;
2418
+ } | {
2419
+ $key: string;
2420
+ })>>;
2421
+ }, z.core.$strict>>;
2422
+ }, z.core.$strict>;
2423
+ /** The declared `connect` block: {@link connectConfigSchemaWith} with every
2424
+ * token accepted in its token-able fields. */
2425
+ declare const declaredConnectConfigSchema: z.ZodObject<{
2426
+ branding: z.ZodOptional<z.ZodObject<{
2427
+ appName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2428
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
+ favicon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2430
+ loader: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2431
+ src: z.ZodString;
2432
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2433
+ none: "none";
2434
+ pulse: "pulse";
2435
+ spin: "spin";
2436
+ }>>>;
2437
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2438
+ }, z.core.$strict>]>>>;
2439
+ }, z.core.$strict>>;
2440
+ home: z.ZodOptional<z.ZodObject<{
2441
+ background: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2442
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2443
+ light: z.ZodString;
2444
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2445
+ }, z.core.$strict>]>>>;
2446
+ layers: z.ZodArray<z.ZodObject<{
2447
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2448
+ light: z.ZodString;
2449
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2450
+ }, z.core.$strict>]>;
2451
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2452
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2453
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2454
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2455
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2456
+ }, z.core.$strict>>>;
2457
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2458
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2459
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2460
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2461
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2462
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2463
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2464
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2465
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2466
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2467
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2468
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2469
+ }, z.core.$strict>>>;
2470
+ }, z.core.$strict>>;
2471
+ }, z.core.$strict>]>>>;
2472
+ }, z.core.$strict>>;
2473
+ app: z.ZodOptional<z.ZodObject<{
2474
+ logLevel: z.ZodOptional<z.ZodEnum<{
2475
+ debug: "debug";
2476
+ error: "error";
2477
+ info: "info";
2478
+ warn: "warn";
2479
+ }>>;
2480
+ basePath: z.ZodOptional<z.ZodString>;
2481
+ offline: z.ZodOptional<z.ZodBoolean>;
2482
+ studioMode: z.ZodOptional<z.ZodBoolean>;
2483
+ cookieBanner: z.ZodOptional<z.ZodBoolean>;
2484
+ workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
2485
+ }, z.core.$strict>>;
2486
+ ai: z.ZodOptional<z.ZodObject<{
2487
+ assistantEnabled: z.ZodOptional<z.ZodBoolean>;
2488
+ }, z.core.$strict>>;
2489
+ packages: z.ZodOptional<z.ZodObject<{
2490
+ externalEnabled: z.ZodOptional<z.ZodBoolean>;
2491
+ liveReload: z.ZodOptional<z.ZodBoolean>;
2492
+ }, z.core.$strict>>;
2493
+ sentry: z.ZodOptional<z.ZodObject<{
2494
+ dsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2495
+ env: z.ZodOptional<z.ZodString>;
2496
+ tracing: z.ZodOptional<z.ZodBoolean>;
2497
+ }, z.core.$strict>>;
2498
+ openPanel: z.ZodOptional<z.ZodObject<{
2499
+ clientId: z.ZodOptional<z.ZodString>;
2500
+ apiUrl: z.ZodOptional<z.ZodString>;
2501
+ trackUiEvents: z.ZodOptional<z.ZodBoolean>;
2502
+ trackOperations: z.ZodOptional<z.ZodBoolean>;
2503
+ }, z.core.$strict>>;
2504
+ instance: z.ZodOptional<z.ZodObject<{
2505
+ namespace: z.ZodNullable<z.ZodString>;
2506
+ reactorWorker: z.ZodBoolean;
2507
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
2508
+ }, z.core.$strict>>;
2509
+ reactor: z.ZodOptional<z.ZodObject<{
2510
+ featureFlags: z.ZodOptional<z.ZodObject<{
2511
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
2512
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
2513
+ authGroups: z.ZodOptional<z.ZodBoolean>;
2514
+ authConditions: z.ZodOptional<z.ZodBoolean>;
2515
+ undoV3: z.ZodOptional<z.ZodBoolean>;
2516
+ }, z.core.$strict>>;
2517
+ createSignaturePolicy: z.ZodOptional<z.ZodEnum<{
2518
+ legacy: "legacy";
2519
+ "v2-required": "v2-required";
2520
+ }>>;
2521
+ unsupportedStoredDocuments: z.ZodOptional<z.ZodEnum<{
2522
+ "read-only": "read-only";
2523
+ refuse: "refuse";
2524
+ }>>;
2525
+ }, z.core.$strict>>;
2526
+ pwa: z.ZodOptional<z.ZodObject<{
2527
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2528
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
2529
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
2530
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
2531
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2532
+ source: z.ZodString;
2533
+ flags: z.ZodOptional<z.ZodString>;
2534
+ }, z.core.$strict>]>;
2535
+ handler: z.ZodEnum<{
2536
+ CacheFirst: "CacheFirst";
2537
+ CacheOnly: "CacheOnly";
2538
+ NetworkFirst: "NetworkFirst";
2539
+ NetworkOnly: "NetworkOnly";
2540
+ StaleWhileRevalidate: "StaleWhileRevalidate";
2541
+ }>;
2542
+ method: z.ZodOptional<z.ZodEnum<{
2543
+ DELETE: "DELETE";
2544
+ GET: "GET";
2545
+ HEAD: "HEAD";
2546
+ PATCH: "PATCH";
2547
+ POST: "POST";
2548
+ PUT: "PUT";
2549
+ }>>;
2550
+ options: z.ZodOptional<z.ZodObject<{
2551
+ cacheName: z.ZodOptional<z.ZodString>;
2552
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2553
+ expiration: z.ZodOptional<z.ZodObject<{
2554
+ maxEntries: z.ZodOptional<z.ZodNumber>;
2555
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
2556
+ }, z.core.$strict>>;
2557
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
2558
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2559
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2560
+ }, z.core.$strict>>;
2561
+ }, z.core.$strict>>;
2562
+ }, z.core.$strict>>>;
2563
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2564
+ source: z.ZodString;
2565
+ flags: z.ZodOptional<z.ZodString>;
2566
+ }, z.core.$strict>]>>>;
2567
+ manifest: z.ZodOptional<z.ZodObject<{
2568
+ name: z.ZodOptional<z.ZodString>;
2569
+ short_name: z.ZodOptional<z.ZodString>;
2570
+ description: z.ZodOptional<z.ZodString>;
2571
+ theme_color: z.ZodOptional<z.ZodString>;
2572
+ background_color: z.ZodOptional<z.ZodString>;
2573
+ display: z.ZodOptional<z.ZodEnum<{
2574
+ browser: "browser";
2575
+ fullscreen: "fullscreen";
2576
+ "minimal-ui": "minimal-ui";
2577
+ standalone: "standalone";
2578
+ }>>;
2579
+ start_url: z.ZodOptional<z.ZodString>;
2580
+ scope: z.ZodOptional<z.ZodString>;
2581
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2582
+ src: z.ZodString;
2583
+ sizes: z.ZodOptional<z.ZodString>;
2584
+ type: z.ZodOptional<z.ZodString>;
2585
+ purpose: z.ZodOptional<z.ZodString>;
2586
+ }, z.core.$strict>>>;
2587
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2588
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2589
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2590
+ src: z.ZodString;
2591
+ sizes: z.ZodOptional<z.ZodString>;
2592
+ type: z.ZodOptional<z.ZodString>;
2593
+ purpose: z.ZodOptional<z.ZodString>;
2594
+ }, z.core.$strict>>>;
2595
+ launch_type: z.ZodOptional<z.ZodEnum<{
2596
+ "multiple-clients": "multiple-clients";
2597
+ "single-client": "single-client";
2598
+ }>>;
2599
+ }, z.core.$strict>>>;
2600
+ launch_handler: z.ZodOptional<z.ZodObject<{
2601
+ client_mode: z.ZodEnum<{
2602
+ auto: "auto";
2603
+ "focus-existing": "focus-existing";
2604
+ "navigate-existing": "navigate-existing";
2605
+ "navigate-new": "navigate-new";
2606
+ }>;
2607
+ }, z.core.$strict>>;
2608
+ }, z.core.$strict>>;
2609
+ }, z.core.$strict>>;
2610
+ drives: z.ZodOptional<z.ZodObject<{
2611
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
2612
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
2613
+ "preserve-all": "preserve-all";
2614
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
2615
+ }>>;
2616
+ sections: z.ZodOptional<z.ZodObject<{
2617
+ remote: z.ZodOptional<z.ZodObject<{
2618
+ enabled: z.ZodOptional<z.ZodBoolean>;
2619
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2620
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2621
+ }, z.core.$strict>>;
2622
+ local: z.ZodOptional<z.ZodObject<{
2623
+ enabled: z.ZodOptional<z.ZodBoolean>;
2624
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2625
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2626
+ }, z.core.$strict>>;
2627
+ }, z.core.$strict>>;
2628
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2629
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2630
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2631
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2632
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2633
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2634
+ }, z.core.$strict>>>;
2635
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2636
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2637
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2638
+ url: TokenableSchema<z.ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
2639
+ $key: true;
2640
+ } | {
2641
+ $key: string;
2642
+ })>;
2643
+ }, z.core.$strict>, z.ZodObject<{
2644
+ local: z.ZodLiteral<true>;
2645
+ id: z.ZodString;
2646
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
+ app: z.ZodOptional<z.ZodString>;
2649
+ }, z.core.$strict>]>>>;
2650
+ }, z.core.$strict>>;
2651
+ renown: z.ZodOptional<z.ZodObject<{
2652
+ url: z.ZodOptional<z.ZodString>;
2653
+ networkId: z.ZodOptional<z.ZodString>;
2654
+ chainId: z.ZodOptional<z.ZodNumber>;
2655
+ namespace: z.ZodOptional<z.ZodString>;
2656
+ adapters: z.ZodOptional<z.ZodObject<{
2657
+ rainbow: z.ZodOptional<z.ZodObject<{
2658
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
2659
+ infuraProjectId: z.ZodOptional<z.ZodString>;
2660
+ }, z.core.$strict>>;
2661
+ privy: z.ZodOptional<z.ZodObject<{
2662
+ appId: z.ZodOptional<z.ZodString>;
2663
+ clientId: z.ZodOptional<z.ZodString>;
2664
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
2665
+ }, z.core.$strict>>;
2666
+ }, z.core.$strict>>;
2667
+ switchboardUrl: z.ZodOptional<TokenableSchema<z.ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
2668
+ $key: true;
2669
+ } | {
2670
+ $key: string;
2671
+ })>>;
2672
+ }, z.core.$strict>>;
2673
+ }, z.core.$strict>;
2674
+ /** What a connect host's `config` may hold (tokens in token-able fields). */
2675
+ type DeclaredConnectConfigInput = z.input<typeof declaredConnectConfigSchema>;
2676
+ /** One entry of the host.js composition, projected into the served config as
2677
+ * data (module specifier + validated config). */
2678
+ declare const connectCompositionEntrySchema: z.ZodObject<{
2679
+ module: z.ZodString;
2680
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2681
+ }, z.core.$strict>;
2682
+ /** A switchboard Connect routes to, from one of the host's remote backends. */
2683
+ declare const connectRemoteBackendSchema: z.ZodObject<{
2684
+ name: z.ZodString;
2685
+ url: z.ZodString;
2686
+ requestTimeoutMs: z.ZodOptional<z.ZodNumber>;
2687
+ breaker: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
2688
+ failures: z.ZodOptional<z.ZodNumber>;
2689
+ openMs: z.ZodOptional<z.ZodNumber>;
2690
+ }, z.core.$strict>]>>;
2691
+ realtime: z.ZodOptional<z.ZodBoolean>;
2692
+ }, z.core.$strict>;
2693
+ /** The router settings a host sets for Connect. */
2694
+ declare const connectRouterSettingsSchema: z.ZodObject<{
2695
+ newDrives: z.ZodOptional<z.ZodString>;
2696
+ probeTimeoutMs: z.ZodOptional<z.ZodNumber>;
2697
+ provisionalRouteMs: z.ZodOptional<z.ZodNumber>;
2698
+ }, z.core.$strict>;
2699
+ /** `sync: false` keeps no copy in this browser; unset means true. */
2700
+ declare const connectCollectionSchema: z.ZodObject<{
2701
+ backend: z.ZodString;
2702
+ sync: z.ZodOptional<z.ZodBoolean>;
2703
+ }, z.core.$strict>;
2704
+ /** `collections` holds placed drives that are not default drives, keyed by declared slug. */
2705
+ declare const connectRuntimeInstanceSchema: z.ZodObject<{
2706
+ namespace: z.ZodNullable<z.ZodString>;
2707
+ reactorWorker: z.ZodBoolean;
2708
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
2709
+ reactorClient: z.ZodOptional<z.ZodEnum<{
2710
+ "in-process": "in-process";
2711
+ remote: "remote";
2712
+ router: "router";
2713
+ worker: "worker";
2714
+ }>>;
2715
+ storage: z.ZodOptional<z.ZodEnum<{
2716
+ idb: "idb";
2717
+ memory: "memory";
2718
+ }>>;
2719
+ remoteBackends: z.ZodOptional<z.ZodArray<z.ZodObject<{
2720
+ name: z.ZodString;
2721
+ url: z.ZodString;
2722
+ requestTimeoutMs: z.ZodOptional<z.ZodNumber>;
2723
+ breaker: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
2724
+ failures: z.ZodOptional<z.ZodNumber>;
2725
+ openMs: z.ZodOptional<z.ZodNumber>;
2726
+ }, z.core.$strict>]>>;
2727
+ realtime: z.ZodOptional<z.ZodBoolean>;
2728
+ }, z.core.$strict>>>;
2729
+ collections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2730
+ backend: z.ZodString;
2731
+ sync: z.ZodOptional<z.ZodBoolean>;
2732
+ }, z.core.$strict>>>;
2733
+ router: z.ZodOptional<z.ZodObject<{
2734
+ newDrives: z.ZodOptional<z.ZodString>;
2735
+ probeTimeoutMs: z.ZodOptional<z.ZodNumber>;
2736
+ provisionalRouteMs: z.ZodOptional<z.ZodNumber>;
2737
+ }, z.core.$strict>>;
2738
+ }, z.core.$strict>;
2739
+ /** A remote default drive plus the backend serving it. */
2740
+ declare const connectRuntimeDefaultDriveRemoteSchema: z.ZodObject<{
2741
+ url: z.ZodString;
2742
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2743
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2744
+ backend: z.ZodOptional<z.ZodString>;
2745
+ sync: z.ZodOptional<z.ZodBoolean>;
2746
+ }, z.core.$strict>;
2747
+ declare const connectRuntimeDefaultDriveSchema: z.ZodUnion<readonly [z.ZodObject<{
2748
+ url: z.ZodString;
2749
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2750
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2751
+ backend: z.ZodOptional<z.ZodString>;
2752
+ sync: z.ZodOptional<z.ZodBoolean>;
2753
+ }, z.core.$strict>, z.ZodObject<{
2754
+ local: z.ZodLiteral<true>;
2755
+ id: z.ZodString;
2756
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ app: z.ZodOptional<z.ZodString>;
2759
+ }, z.core.$strict>]>;
2760
+ declare const connectRuntimeDrivesSchema: z.ZodObject<{
2761
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
2762
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
2763
+ "preserve-all": "preserve-all";
2764
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
2765
+ }>>;
2766
+ sections: z.ZodOptional<z.ZodObject<{
2767
+ remote: z.ZodOptional<z.ZodObject<{
2768
+ enabled: z.ZodOptional<z.ZodBoolean>;
2769
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2770
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2771
+ }, z.core.$strict>>;
2772
+ local: z.ZodOptional<z.ZodObject<{
2773
+ enabled: z.ZodOptional<z.ZodBoolean>;
2774
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
2775
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
2776
+ }, z.core.$strict>>;
2777
+ }, z.core.$strict>>;
2778
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2779
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2780
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2781
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2782
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2783
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2784
+ }, z.core.$strict>>>;
2785
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2786
+ url: z.ZodString;
2787
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2788
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2789
+ backend: z.ZodOptional<z.ZodString>;
2790
+ sync: z.ZodOptional<z.ZodBoolean>;
2791
+ }, z.core.$strict>, z.ZodObject<{
2792
+ local: z.ZodLiteral<true>;
2793
+ id: z.ZodString;
2794
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2795
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2796
+ app: z.ZodOptional<z.ZodString>;
2797
+ }, z.core.$strict>]>>>;
2798
+ }, z.core.$strict>;
2799
+ /** The manifest plus `categories`, derived from contributors' `category`. */
2800
+ declare const connectRuntimePwaManifestSchema: z.ZodObject<{
2801
+ name: z.ZodOptional<z.ZodString>;
2802
+ short_name: z.ZodOptional<z.ZodString>;
2803
+ description: z.ZodOptional<z.ZodString>;
2804
+ theme_color: z.ZodOptional<z.ZodString>;
2805
+ background_color: z.ZodOptional<z.ZodString>;
2806
+ display: z.ZodOptional<z.ZodEnum<{
2807
+ browser: "browser";
2808
+ fullscreen: "fullscreen";
2809
+ "minimal-ui": "minimal-ui";
2810
+ standalone: "standalone";
2811
+ }>>;
2812
+ start_url: z.ZodOptional<z.ZodString>;
2813
+ scope: z.ZodOptional<z.ZodString>;
2814
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2815
+ src: z.ZodString;
2816
+ sizes: z.ZodOptional<z.ZodString>;
2817
+ type: z.ZodOptional<z.ZodString>;
2818
+ purpose: z.ZodOptional<z.ZodString>;
2819
+ }, z.core.$strict>>>;
2820
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2821
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2822
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2823
+ src: z.ZodString;
2824
+ sizes: z.ZodOptional<z.ZodString>;
2825
+ type: z.ZodOptional<z.ZodString>;
2826
+ purpose: z.ZodOptional<z.ZodString>;
2827
+ }, z.core.$strict>>>;
2828
+ launch_type: z.ZodOptional<z.ZodEnum<{
2829
+ "multiple-clients": "multiple-clients";
2830
+ "single-client": "single-client";
2831
+ }>>;
2832
+ }, z.core.$strict>>>;
2833
+ launch_handler: z.ZodOptional<z.ZodObject<{
2834
+ client_mode: z.ZodEnum<{
2835
+ auto: "auto";
2836
+ "focus-existing": "focus-existing";
2837
+ "navigate-existing": "navigate-existing";
2838
+ "navigate-new": "navigate-new";
2839
+ }>;
2840
+ }, z.core.$strict>>;
2841
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
2842
+ }, z.core.$strict>;
2843
+ declare const connectRuntimePwaSchema: z.ZodObject<{
2844
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2845
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
2846
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
2847
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
2848
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2849
+ source: z.ZodString;
2850
+ flags: z.ZodOptional<z.ZodString>;
2851
+ }, z.core.$strict>]>;
2852
+ handler: z.ZodEnum<{
2853
+ CacheFirst: "CacheFirst";
2854
+ CacheOnly: "CacheOnly";
2855
+ NetworkFirst: "NetworkFirst";
2856
+ NetworkOnly: "NetworkOnly";
2857
+ StaleWhileRevalidate: "StaleWhileRevalidate";
2858
+ }>;
2859
+ method: z.ZodOptional<z.ZodEnum<{
2860
+ DELETE: "DELETE";
2861
+ GET: "GET";
2862
+ HEAD: "HEAD";
2863
+ PATCH: "PATCH";
2864
+ POST: "POST";
2865
+ PUT: "PUT";
2866
+ }>>;
2867
+ options: z.ZodOptional<z.ZodObject<{
2868
+ cacheName: z.ZodOptional<z.ZodString>;
2869
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2870
+ expiration: z.ZodOptional<z.ZodObject<{
2871
+ maxEntries: z.ZodOptional<z.ZodNumber>;
2872
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
2873
+ }, z.core.$strict>>;
2874
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
2875
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2876
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2877
+ }, z.core.$strict>>;
2878
+ }, z.core.$strict>>;
2879
+ }, z.core.$strict>>>;
2880
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2881
+ source: z.ZodString;
2882
+ flags: z.ZodOptional<z.ZodString>;
2883
+ }, z.core.$strict>]>>>;
2884
+ manifest: z.ZodOptional<z.ZodObject<{
2885
+ name: z.ZodOptional<z.ZodString>;
2886
+ short_name: z.ZodOptional<z.ZodString>;
2887
+ description: z.ZodOptional<z.ZodString>;
2888
+ theme_color: z.ZodOptional<z.ZodString>;
2889
+ background_color: z.ZodOptional<z.ZodString>;
2890
+ display: z.ZodOptional<z.ZodEnum<{
2891
+ browser: "browser";
2892
+ fullscreen: "fullscreen";
2893
+ "minimal-ui": "minimal-ui";
2894
+ standalone: "standalone";
2895
+ }>>;
2896
+ start_url: z.ZodOptional<z.ZodString>;
2897
+ scope: z.ZodOptional<z.ZodString>;
2898
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2899
+ src: z.ZodString;
2900
+ sizes: z.ZodOptional<z.ZodString>;
2901
+ type: z.ZodOptional<z.ZodString>;
2902
+ purpose: z.ZodOptional<z.ZodString>;
2903
+ }, z.core.$strict>>>;
2904
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2905
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2906
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2907
+ src: z.ZodString;
2908
+ sizes: z.ZodOptional<z.ZodString>;
2909
+ type: z.ZodOptional<z.ZodString>;
2910
+ purpose: z.ZodOptional<z.ZodString>;
2911
+ }, z.core.$strict>>>;
2912
+ launch_type: z.ZodOptional<z.ZodEnum<{
2913
+ "multiple-clients": "multiple-clients";
2914
+ "single-client": "single-client";
2915
+ }>>;
2916
+ }, z.core.$strict>>>;
2917
+ launch_handler: z.ZodOptional<z.ZodObject<{
2918
+ client_mode: z.ZodEnum<{
2919
+ auto: "auto";
2920
+ "focus-existing": "focus-existing";
2921
+ "navigate-existing": "navigate-existing";
2922
+ "navigate-new": "navigate-new";
2923
+ }>;
2924
+ }, z.core.$strict>>;
2925
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
2926
+ }, z.core.$strict>>;
2927
+ }, z.core.$strict>;
2928
+ /** The served `connect` block (runtime powerhouse.config.json). */
2929
+ declare const connectRuntimeConfigSchema: z.ZodObject<{
2930
+ branding: z.ZodOptional<z.ZodObject<{
2931
+ appName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2932
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2933
+ favicon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
+ loader: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2935
+ src: z.ZodString;
2936
+ animation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2937
+ none: "none";
2938
+ pulse: "pulse";
2939
+ spin: "spin";
2940
+ }>>>;
2941
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2942
+ }, z.core.$strict>]>>>;
2943
+ }, z.core.$strict>>;
2944
+ home: z.ZodOptional<z.ZodObject<{
2945
+ background: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2946
+ color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2947
+ light: z.ZodString;
2948
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2949
+ }, z.core.$strict>]>>>;
2950
+ layers: z.ZodArray<z.ZodObject<{
2951
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2952
+ light: z.ZodString;
2953
+ dark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2954
+ }, z.core.$strict>]>;
2955
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2956
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2957
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2958
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2959
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2960
+ }, z.core.$strict>>>;
2961
+ width: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2962
+ height: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2963
+ minWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2964
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2965
+ maxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2966
+ maxHeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2967
+ opacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2968
+ fade: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2969
+ top: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2970
+ right: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2971
+ bottom: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2972
+ left: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
2973
+ }, z.core.$strict>>>;
2974
+ }, z.core.$strict>>;
2975
+ }, z.core.$strict>]>>>;
2976
+ }, z.core.$strict>>;
2977
+ app: z.ZodOptional<z.ZodObject<{
2978
+ logLevel: z.ZodOptional<z.ZodEnum<{
2979
+ debug: "debug";
2980
+ error: "error";
2981
+ info: "info";
2982
+ warn: "warn";
2983
+ }>>;
2984
+ basePath: z.ZodOptional<z.ZodString>;
2985
+ offline: z.ZodOptional<z.ZodBoolean>;
2986
+ studioMode: z.ZodOptional<z.ZodBoolean>;
2987
+ cookieBanner: z.ZodOptional<z.ZodBoolean>;
2988
+ workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
2989
+ }, z.core.$strict>>;
2990
+ ai: z.ZodOptional<z.ZodObject<{
2991
+ assistantEnabled: z.ZodOptional<z.ZodBoolean>;
2992
+ }, z.core.$strict>>;
2993
+ packages: z.ZodOptional<z.ZodObject<{
2994
+ externalEnabled: z.ZodOptional<z.ZodBoolean>;
2995
+ liveReload: z.ZodOptional<z.ZodBoolean>;
2996
+ }, z.core.$strict>>;
2997
+ renown: z.ZodOptional<z.ZodObject<{
2998
+ url: z.ZodOptional<z.ZodString>;
2999
+ networkId: z.ZodOptional<z.ZodString>;
3000
+ chainId: z.ZodOptional<z.ZodNumber>;
3001
+ namespace: z.ZodOptional<z.ZodString>;
3002
+ switchboardUrl: z.ZodOptional<z.ZodString>;
3003
+ adapters: z.ZodOptional<z.ZodObject<{
3004
+ rainbow: z.ZodOptional<z.ZodObject<{
3005
+ walletConnectProjectId: z.ZodOptional<z.ZodString>;
3006
+ infuraProjectId: z.ZodOptional<z.ZodString>;
3007
+ }, z.core.$strict>>;
3008
+ privy: z.ZodOptional<z.ZodObject<{
3009
+ appId: z.ZodOptional<z.ZodString>;
3010
+ clientId: z.ZodOptional<z.ZodString>;
3011
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
3012
+ }, z.core.$strict>>;
3013
+ }, z.core.$strict>>;
3014
+ }, z.core.$strict>>;
3015
+ sentry: z.ZodOptional<z.ZodObject<{
3016
+ dsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3017
+ env: z.ZodOptional<z.ZodString>;
3018
+ tracing: z.ZodOptional<z.ZodBoolean>;
3019
+ }, z.core.$strict>>;
3020
+ openPanel: z.ZodOptional<z.ZodObject<{
3021
+ clientId: z.ZodOptional<z.ZodString>;
3022
+ apiUrl: z.ZodOptional<z.ZodString>;
3023
+ trackUiEvents: z.ZodOptional<z.ZodBoolean>;
3024
+ trackOperations: z.ZodOptional<z.ZodBoolean>;
3025
+ }, z.core.$strict>>;
3026
+ reactor: z.ZodOptional<z.ZodObject<{
3027
+ featureFlags: z.ZodOptional<z.ZodObject<{
3028
+ documentDecisions: z.ZodOptional<z.ZodBoolean>;
3029
+ authEnforcement: z.ZodOptional<z.ZodBoolean>;
3030
+ authGroups: z.ZodOptional<z.ZodBoolean>;
3031
+ authConditions: z.ZodOptional<z.ZodBoolean>;
3032
+ undoV3: z.ZodOptional<z.ZodBoolean>;
3033
+ }, z.core.$strict>>;
3034
+ createSignaturePolicy: z.ZodOptional<z.ZodEnum<{
3035
+ legacy: "legacy";
3036
+ "v2-required": "v2-required";
3037
+ }>>;
3038
+ unsupportedStoredDocuments: z.ZodOptional<z.ZodEnum<{
3039
+ "read-only": "read-only";
3040
+ refuse: "refuse";
3041
+ }>>;
3042
+ }, z.core.$strict>>;
3043
+ composition: z.ZodOptional<z.ZodArray<z.ZodObject<{
3044
+ module: z.ZodString;
3045
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3046
+ }, z.core.$strict>>>;
3047
+ drives: z.ZodOptional<z.ZodObject<{
3048
+ allowAddDrive: z.ZodOptional<z.ZodBoolean>;
3049
+ preserveStrategy: z.ZodOptional<z.ZodEnum<{
3050
+ "preserve-all": "preserve-all";
3051
+ "preserve-by-url-and-detach": "preserve-by-url-and-detach";
3052
+ }>>;
3053
+ sections: z.ZodOptional<z.ZodObject<{
3054
+ remote: z.ZodOptional<z.ZodObject<{
3055
+ enabled: z.ZodOptional<z.ZodBoolean>;
3056
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
3057
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
3058
+ }, z.core.$strict>>;
3059
+ local: z.ZodOptional<z.ZodObject<{
3060
+ enabled: z.ZodOptional<z.ZodBoolean>;
3061
+ allowAdd: z.ZodOptional<z.ZodBoolean>;
3062
+ allowDelete: z.ZodOptional<z.ZodBoolean>;
3063
+ }, z.core.$strict>>;
3064
+ }, z.core.$strict>>;
3065
+ icons: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3066
+ localDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3067
+ remoteDrive: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3068
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3069
+ document: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3070
+ documents: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
3071
+ }, z.core.$strict>>>;
3072
+ defaultDrives: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3073
+ url: z.ZodString;
3074
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3075
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3076
+ backend: z.ZodOptional<z.ZodString>;
3077
+ sync: z.ZodOptional<z.ZodBoolean>;
3078
+ }, z.core.$strict>, z.ZodObject<{
3079
+ local: z.ZodLiteral<true>;
3080
+ id: z.ZodString;
3081
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3082
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3083
+ app: z.ZodOptional<z.ZodString>;
3084
+ }, z.core.$strict>]>>>;
3085
+ }, z.core.$strict>>;
3086
+ instance: z.ZodOptional<z.ZodObject<{
3087
+ namespace: z.ZodNullable<z.ZodString>;
3088
+ reactorWorker: z.ZodBoolean;
3089
+ multiReactor: z.ZodOptional<z.ZodBoolean>;
3090
+ reactorClient: z.ZodOptional<z.ZodEnum<{
3091
+ "in-process": "in-process";
3092
+ remote: "remote";
3093
+ router: "router";
3094
+ worker: "worker";
3095
+ }>>;
3096
+ storage: z.ZodOptional<z.ZodEnum<{
3097
+ idb: "idb";
3098
+ memory: "memory";
3099
+ }>>;
3100
+ remoteBackends: z.ZodOptional<z.ZodArray<z.ZodObject<{
3101
+ name: z.ZodString;
3102
+ url: z.ZodString;
3103
+ requestTimeoutMs: z.ZodOptional<z.ZodNumber>;
3104
+ breaker: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
3105
+ failures: z.ZodOptional<z.ZodNumber>;
3106
+ openMs: z.ZodOptional<z.ZodNumber>;
3107
+ }, z.core.$strict>]>>;
3108
+ realtime: z.ZodOptional<z.ZodBoolean>;
3109
+ }, z.core.$strict>>>;
3110
+ collections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3111
+ backend: z.ZodString;
3112
+ sync: z.ZodOptional<z.ZodBoolean>;
3113
+ }, z.core.$strict>>>;
3114
+ router: z.ZodOptional<z.ZodObject<{
3115
+ newDrives: z.ZodOptional<z.ZodString>;
3116
+ probeTimeoutMs: z.ZodOptional<z.ZodNumber>;
3117
+ provisionalRouteMs: z.ZodOptional<z.ZodNumber>;
3118
+ }, z.core.$strict>>;
3119
+ }, z.core.$strict>>;
3120
+ pwa: z.ZodOptional<z.ZodObject<{
3121
+ globPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
3122
+ globIgnores: z.ZodOptional<z.ZodArray<z.ZodString>>;
3123
+ maximumFileSizeToCacheInBytes: z.ZodOptional<z.ZodNumber>;
3124
+ runtimeCaching: z.ZodOptional<z.ZodArray<z.ZodObject<{
3125
+ urlPattern: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3126
+ source: z.ZodString;
3127
+ flags: z.ZodOptional<z.ZodString>;
3128
+ }, z.core.$strict>]>;
3129
+ handler: z.ZodEnum<{
3130
+ CacheFirst: "CacheFirst";
3131
+ CacheOnly: "CacheOnly";
3132
+ NetworkFirst: "NetworkFirst";
3133
+ NetworkOnly: "NetworkOnly";
3134
+ StaleWhileRevalidate: "StaleWhileRevalidate";
3135
+ }>;
3136
+ method: z.ZodOptional<z.ZodEnum<{
3137
+ DELETE: "DELETE";
3138
+ GET: "GET";
3139
+ HEAD: "HEAD";
3140
+ PATCH: "PATCH";
3141
+ POST: "POST";
3142
+ PUT: "PUT";
3143
+ }>>;
3144
+ options: z.ZodOptional<z.ZodObject<{
3145
+ cacheName: z.ZodOptional<z.ZodString>;
3146
+ networkTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3147
+ expiration: z.ZodOptional<z.ZodObject<{
3148
+ maxEntries: z.ZodOptional<z.ZodNumber>;
3149
+ maxAgeSeconds: z.ZodOptional<z.ZodNumber>;
3150
+ }, z.core.$strict>>;
3151
+ cacheableResponse: z.ZodOptional<z.ZodObject<{
3152
+ statuses: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3153
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3154
+ }, z.core.$strict>>;
3155
+ }, z.core.$strict>>;
3156
+ }, z.core.$strict>>>;
3157
+ navigateFallbackDenylist: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3158
+ source: z.ZodString;
3159
+ flags: z.ZodOptional<z.ZodString>;
3160
+ }, z.core.$strict>]>>>;
3161
+ manifest: z.ZodOptional<z.ZodObject<{
3162
+ name: z.ZodOptional<z.ZodString>;
3163
+ short_name: z.ZodOptional<z.ZodString>;
3164
+ description: z.ZodOptional<z.ZodString>;
3165
+ theme_color: z.ZodOptional<z.ZodString>;
3166
+ background_color: z.ZodOptional<z.ZodString>;
3167
+ display: z.ZodOptional<z.ZodEnum<{
3168
+ browser: "browser";
3169
+ fullscreen: "fullscreen";
3170
+ "minimal-ui": "minimal-ui";
3171
+ standalone: "standalone";
3172
+ }>>;
3173
+ start_url: z.ZodOptional<z.ZodString>;
3174
+ scope: z.ZodOptional<z.ZodString>;
3175
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3176
+ src: z.ZodString;
3177
+ sizes: z.ZodOptional<z.ZodString>;
3178
+ type: z.ZodOptional<z.ZodString>;
3179
+ purpose: z.ZodOptional<z.ZodString>;
3180
+ }, z.core.$strict>>>;
3181
+ file_handlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3182
+ accept: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
3183
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3184
+ src: z.ZodString;
3185
+ sizes: z.ZodOptional<z.ZodString>;
3186
+ type: z.ZodOptional<z.ZodString>;
3187
+ purpose: z.ZodOptional<z.ZodString>;
3188
+ }, z.core.$strict>>>;
3189
+ launch_type: z.ZodOptional<z.ZodEnum<{
3190
+ "multiple-clients": "multiple-clients";
3191
+ "single-client": "single-client";
3192
+ }>>;
3193
+ }, z.core.$strict>>>;
3194
+ launch_handler: z.ZodOptional<z.ZodObject<{
3195
+ client_mode: z.ZodEnum<{
3196
+ auto: "auto";
3197
+ "focus-existing": "focus-existing";
3198
+ "navigate-existing": "navigate-existing";
3199
+ "navigate-new": "navigate-new";
3200
+ }>;
3201
+ }, z.core.$strict>>;
3202
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
3203
+ }, z.core.$strict>>;
3204
+ }, z.core.$strict>>;
3205
+ }, z.core.$strict>;
3206
+ type ConnectRuntimeConfig = z.output<typeof connectRuntimeConfigSchema>;
3207
+ //#endregion
1102
3208
  //#region document-model/schemas.d.ts
1103
3209
  declare const ManifestSchema: z.ZodObject<{
1104
3210
  name: z.ZodString;
@@ -1143,14 +3249,136 @@ declare const ManifestSchema: z.ZodObject<{
1143
3249
  bundle: z.ZodOptional<z.ZodString>;
1144
3250
  descriptor: z.ZodOptional<z.ZodString>;
1145
3251
  }, z.core.$strip>>>;
3252
+ externalDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1146
3253
  config: z.ZodOptional<z.ZodArray<z.ZodObject<{
1147
3254
  name: z.ZodString;
1148
- type: z.ZodUnion<readonly [z.ZodLiteral<"var">, z.ZodLiteral<"secret">]>;
3255
+ type: z.ZodEnum<{
3256
+ boolean: "boolean";
3257
+ secret: "secret";
3258
+ var: "var";
3259
+ }>;
1149
3260
  description: z.ZodOptional<z.ZodString>;
1150
3261
  required: z.ZodOptional<z.ZodBoolean>;
1151
3262
  default: z.ZodOptional<z.ZodString>;
1152
3263
  }, z.core.$strip>>>;
1153
- pwa: z.ZodOptional<z.ZodType<PHConnectPwa, unknown, z.core.$ZodTypeInternals<PHConnectPwa, unknown>>>;
3264
+ pwa: z.ZodOptional<z.ZodType<{
3265
+ globPatterns?: string[] | undefined;
3266
+ globIgnores?: string[] | undefined;
3267
+ maximumFileSizeToCacheInBytes?: number | undefined;
3268
+ runtimeCaching?: {
3269
+ urlPattern: string | {
3270
+ source: string;
3271
+ flags?: string | undefined;
3272
+ };
3273
+ handler: "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
3274
+ method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | undefined;
3275
+ options?: {
3276
+ cacheName?: string | undefined;
3277
+ networkTimeoutSeconds?: number | undefined;
3278
+ expiration?: {
3279
+ maxEntries?: number | undefined;
3280
+ maxAgeSeconds?: number | undefined;
3281
+ } | undefined;
3282
+ cacheableResponse?: {
3283
+ statuses?: number[] | undefined;
3284
+ headers?: Record<string, string> | undefined;
3285
+ } | undefined;
3286
+ } | undefined;
3287
+ }[] | undefined;
3288
+ navigateFallbackDenylist?: (string | {
3289
+ source: string;
3290
+ flags?: string | undefined;
3291
+ })[] | undefined;
3292
+ manifest?: {
3293
+ name?: string | undefined;
3294
+ short_name?: string | undefined;
3295
+ description?: string | undefined;
3296
+ theme_color?: string | undefined;
3297
+ background_color?: string | undefined;
3298
+ display?: "browser" | "fullscreen" | "minimal-ui" | "standalone" | undefined;
3299
+ start_url?: string | undefined;
3300
+ scope?: string | undefined;
3301
+ icons?: {
3302
+ src: string;
3303
+ sizes?: string | undefined;
3304
+ type?: string | undefined;
3305
+ purpose?: string | undefined;
3306
+ }[] | undefined;
3307
+ file_handlers?: {
3308
+ accept: Record<string, string[]>;
3309
+ icons?: {
3310
+ src: string;
3311
+ sizes?: string | undefined;
3312
+ type?: string | undefined;
3313
+ purpose?: string | undefined;
3314
+ }[] | undefined;
3315
+ launch_type?: "multiple-clients" | "single-client" | undefined;
3316
+ }[] | undefined;
3317
+ launch_handler?: {
3318
+ client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
3319
+ } | undefined;
3320
+ categories?: string[] | undefined;
3321
+ } | undefined;
3322
+ }, unknown, z.core.$ZodTypeInternals<{
3323
+ globPatterns?: string[] | undefined;
3324
+ globIgnores?: string[] | undefined;
3325
+ maximumFileSizeToCacheInBytes?: number | undefined;
3326
+ runtimeCaching?: {
3327
+ urlPattern: string | {
3328
+ source: string;
3329
+ flags?: string | undefined;
3330
+ };
3331
+ handler: "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
3332
+ method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | undefined;
3333
+ options?: {
3334
+ cacheName?: string | undefined;
3335
+ networkTimeoutSeconds?: number | undefined;
3336
+ expiration?: {
3337
+ maxEntries?: number | undefined;
3338
+ maxAgeSeconds?: number | undefined;
3339
+ } | undefined;
3340
+ cacheableResponse?: {
3341
+ statuses?: number[] | undefined;
3342
+ headers?: Record<string, string> | undefined;
3343
+ } | undefined;
3344
+ } | undefined;
3345
+ }[] | undefined;
3346
+ navigateFallbackDenylist?: (string | {
3347
+ source: string;
3348
+ flags?: string | undefined;
3349
+ })[] | undefined;
3350
+ manifest?: {
3351
+ name?: string | undefined;
3352
+ short_name?: string | undefined;
3353
+ description?: string | undefined;
3354
+ theme_color?: string | undefined;
3355
+ background_color?: string | undefined;
3356
+ display?: "browser" | "fullscreen" | "minimal-ui" | "standalone" | undefined;
3357
+ start_url?: string | undefined;
3358
+ scope?: string | undefined;
3359
+ icons?: {
3360
+ src: string;
3361
+ sizes?: string | undefined;
3362
+ type?: string | undefined;
3363
+ purpose?: string | undefined;
3364
+ }[] | undefined;
3365
+ file_handlers?: {
3366
+ accept: Record<string, string[]>;
3367
+ icons?: {
3368
+ src: string;
3369
+ sizes?: string | undefined;
3370
+ type?: string | undefined;
3371
+ purpose?: string | undefined;
3372
+ }[] | undefined;
3373
+ launch_type?: "multiple-clients" | "single-client" | undefined;
3374
+ }[] | undefined;
3375
+ launch_handler?: {
3376
+ client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
3377
+ } | undefined;
3378
+ categories?: string[] | undefined;
3379
+ } | undefined;
3380
+ }, unknown>>>;
3381
+ connectRoutes: z.ZodOptional<z.ZodBoolean>;
1154
3382
  }, z.core.$strip>;
1155
3383
  //#endregion
1156
3384
  //#region document-model/types.d.ts
@@ -1175,6 +3403,18 @@ export declare const PROJECT_PORT_BAND_SIZE: 1000;
1175
3403
  export declare const PROJECT_PORT_BAND_SWITCHBOARD: 7000;
1176
3404
  export declare const PROJECT_PORT_BAND_STUDIO: 6000;
1177
3405
  export declare const PROJECT_PORT_BAND_VETRA_CONNECT: 2000;
3406
+ /**
3407
+ * Icon for the drives switchboard creates by default, inlined as a data URI.
3408
+ *
3409
+ * A remote URL is the wrong shape for this: the value is baked into the drive
3410
+ * document and rendered by every Connect that opens it, so the icon only
3411
+ * appears when that client can reach that host. A desktop or air-gapped install
3412
+ * cannot, and the ipfs.io gateway this previously pointed at now answers 403
3413
+ * regardless.
3414
+ *
3415
+ * The mark is drawn dark-on-light so it stays legible against either theme.
3416
+ */
3417
+ export declare const DEFAULT_DRIVE_ICON: "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";
1178
3418
  export declare const DEFAULT_VETRA_DRIVE_ID: "vetra";
1179
3419
  export declare const MINIMUM_NODE_VERSION: "24.0.0";
1180
3420
  export declare const PH_BIN: "ph-cli-legacy";
@@ -1189,6 +3429,8 @@ export declare const ANALYTICS_ENGINE_CORE_PACKAGE = "@powerhousedao/analytics-e
1189
3429
  export declare const GRAPHQL_PACKAGE = "graphql";
1190
3430
  export declare const GRAPHQL_TAG_PACKAGE = "graphql-tag";
1191
3431
  export declare const PIECES_FRAMEWORK_PACKAGE = "@powerhousedao/pieces-framework";
3432
+ export declare const KYSELY_PACKAGE = "kysely";
3433
+ export declare const RELATIONAL_DB_PROCESSOR_CLASS = "RelationalDbProcessor";
1192
3434
  export declare const PEER_EXTERNAL_DEPENDENCIES: {
1193
3435
  readonly graphql: {
1194
3436
  readonly peer: "^16";
@@ -1208,7 +3450,11 @@ export declare const PEER_EXTERNAL_DEPENDENCIES: {
1208
3450
  };
1209
3451
  readonly zod: {
1210
3452
  readonly peer: "^4";
1211
- readonly dev: "4.3.6";
3453
+ readonly dev: "4.6.5";
3454
+ };
3455
+ readonly "@tanstack/react-router": {
3456
+ readonly peer: "^1.170.41";
3457
+ readonly dev: "1.170.41";
1212
3458
  };
1213
3459
  };
1214
3460
  export declare const FEATURE_DEPENDENCIES: {
@@ -1217,6 +3463,21 @@ export declare const FEATURE_DEPENDENCIES: {
1217
3463
  readonly peerExternal: {};
1218
3464
  readonly devVersioned: readonly [];
1219
3465
  };
3466
+ readonly relationalDbProcessor: {
3467
+ readonly peerVersioned: readonly [];
3468
+ readonly peerExternal: {
3469
+ readonly kysely: {
3470
+ readonly peer: "^0.28";
3471
+ readonly dev: "0.28.16";
3472
+ };
3473
+ };
3474
+ readonly devVersioned: readonly [];
3475
+ };
3476
+ readonly subgraph: {
3477
+ readonly peerVersioned: readonly ["@powerhousedao/reactor-api"];
3478
+ readonly peerExternal: {};
3479
+ readonly devVersioned: readonly [];
3480
+ };
1220
3481
  readonly piece: {
1221
3482
  readonly peerVersioned: readonly [];
1222
3483
  readonly peerExternal: {};
@@ -1230,6 +3491,11 @@ export declare const BOILERPLATE_DEPENDENCY_OVERRIDES: {
1230
3491
  readonly vite: "8.0.14";
1231
3492
  readonly rolldown: "1.0.2";
1232
3493
  };
3494
+ export declare const BOILERPLATE_TRANSITIVE_OVERRIDES: {
3495
+ readonly "@solana/kit": "5.5.1";
3496
+ readonly "@solana-program/system": "0.10.0";
3497
+ readonly "@solana-program/token": "0.9.0";
3498
+ };
1233
3499
  export declare const VERSIONED_DEV_DEPENDENCIES: string[];
1234
3500
  export declare const packageJsonExports: {
1235
3501
  readonly ".": {
@@ -1263,9 +3529,16 @@ export declare const packageJsonExports: {
1263
3529
  };
1264
3530
  readonly "./subgraphs": {
1265
3531
  readonly types: "./dist/types/subgraphs/index.d.ts";
1266
- readonly browser: "./dist/browser/subgraphs/index.js";
1267
3532
  readonly node: "./dist/node/subgraphs/index.mjs";
1268
3533
  };
3534
+ readonly "./scalars": {
3535
+ readonly types: "./dist/types/scalars/index.d.ts";
3536
+ readonly browser: "./dist/browser/scalars/index.js";
3537
+ readonly node: "./dist/node/scalars/index.mjs";
3538
+ };
3539
+ readonly "./connect-routes": {
3540
+ readonly browser: "./dist/browser/connect-routes.js";
3541
+ };
1269
3542
  readonly "./processors": {
1270
3543
  readonly types: "./dist/types/processors/index.d.ts";
1271
3544
  readonly browser: "./dist/browser/processors/index.js";
@@ -1284,21 +3557,25 @@ export declare const packageJsonExports: {
1284
3557
  };
1285
3558
  export declare const packageScripts: {
1286
3559
  readonly "test:watch": "vitest";
1287
- readonly lint: "oxlint --type-aware --type-check";
1288
- readonly "lint:fix": "oxlint --type-aware --type-check --fix";
3560
+ readonly lint: "ph-cli generate connect-routes && oxlint --type-aware --type-check";
3561
+ readonly "lint:fix": "ph-cli generate connect-routes && oxlint --type-aware --type-check --fix";
1289
3562
  readonly format: "oxfmt";
1290
3563
  readonly "format:check": "oxfmt --check";
1291
- readonly tsc: "tsc";
3564
+ readonly tsc: "ph-cli generate connect-routes && tsc";
1292
3565
  readonly "tsc:watch": "tsc --watch";
1293
3566
  readonly generate: "ph-cli generate";
1294
- readonly connect: "ph-cli connect";
3567
+ readonly connect: "ph-cli run connect";
1295
3568
  readonly build: "ph-cli build";
1296
- readonly reactor: "ph-cli reactor";
1297
- readonly service: "ph-cli service";
1298
- readonly vetra: "ph-cli vetra";
1299
- readonly "service-startup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh";
1300
- readonly "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh";
3569
+ readonly vetra: "ph-cli run vetra";
3570
+ readonly mcp: "ph-cli mcp";
1301
3571
  };
3572
+ export declare const HOST_PACKAGE_SCRIPTS: readonly (keyof typeof packageScripts)[];
3573
+ export declare const SUPERSEDED_PACKAGE_SCRIPTS: Partial<Record<keyof typeof packageScripts, readonly string[]>>;
3574
+ export declare const RETIRED_PACKAGE_SCRIPTS: Record<string, {
3575
+ values: readonly string[];
3576
+ replacement?: string;
3577
+ host?: string;
3578
+ }>;
1302
3579
  export declare const externalDependencies: {};
1303
3580
  export declare const LEGACY_LINT_FORMAT_DEPENDENCIES: readonly ["@eslint/js", "eslint", "eslint-config-prettier", "eslint-plugin-prettier", "eslint-plugin-react", "eslint-plugin-react-hooks", "globals", "prettier", "typescript-eslint"];
1304
3581
  export declare const LEGACY_LINT_FORMAT_FILES: readonly ["eslint.config.js", "eslint.config.mjs", "eslint.config.cjs", "eslint.config.ts", ".eslintrc", ".eslintrc.js", ".eslintrc.cjs", ".eslintrc.json", ".eslintrc.yml", ".eslintrc.yaml", ".eslintignore", ".prettierrc", ".prettierrc.js", ".prettierrc.cjs", ".prettierrc.json", ".prettierrc.yml", ".prettierrc.yaml", "prettier.config.js", "prettier.config.cjs", "prettier.config.mjs", ".prettierignore"];
@@ -1312,15 +3589,14 @@ export declare const externalDevDependencies: {
1312
3589
  readonly "@types/react": "^19.2.3";
1313
3590
  readonly "@types/react-dom": "^19.2.3";
1314
3591
  readonly "@vitejs/plugin-react": "^6.0.1";
1315
- readonly "@vitest/coverage-v8": "4.1.1";
3592
+ readonly "@vitest/coverage-v8": "5.0.3";
1316
3593
  readonly oxfmt: "0.68.0";
1317
- readonly oxlint: "1.70.0";
1318
- readonly "oxlint-tsgolint": "0.23.0";
3594
+ readonly oxlint: "1.83.0";
3595
+ readonly "oxlint-tsgolint": "7.0.2001";
1319
3596
  readonly tailwindcss: "^4.1.16";
1320
3597
  readonly typescript: "~7.0.2";
1321
3598
  readonly vite: "^8.0.10";
1322
- readonly "vite-tsconfig-paths": "6.1.1";
1323
- readonly vitest: "4.1.1";
3599
+ readonly vitest: "5.0.3";
1324
3600
  };
1325
3601
  export declare const defaultManifest: Manifest;
1326
3602
  export declare const DEFAULT_CONFIG: PowerhouseConfig;
@@ -1342,248 +3618,96 @@ type PowerhousePackage = {
1342
3618
  provider?: PHPackageProvider;
1343
3619
  url?: string;
1344
3620
  };
1345
- type PHConnectBranding = {
1346
- appName?: string;
1347
- homeBackground?: string | null;
1348
- };
1349
- type PHConnectDefaultDriveRemote = {
1350
- url: string;
1351
- name?: string | null;
1352
- icon?: string | null;
1353
- };
1354
- type PHConnectDefaultDriveLocal = {
1355
- /** Discriminator: this entry is a local drive created on first boot. */
1356
- local: true;
1357
- /** Stable drive id; the drive is not re-created on later boots. */
1358
- id: string;
1359
- name?: string | null;
1360
- icon?: string | null;
1361
- /** Drive app (preferred editor) to open on the drive. */
1362
- app?: string;
1363
- };
1364
- type PHConnectDefaultDrive = PHConnectDefaultDriveRemote | PHConnectDefaultDriveLocal;
1365
- type PHConnectDriveSection = {
1366
- enabled?: boolean;
1367
- allowAdd?: boolean;
1368
- allowDelete?: boolean;
1369
- };
1370
- type PHConnectDriveSections = {
1371
- remote?: PHConnectDriveSection;
1372
- local?: PHConnectDriveSection;
1373
- };
1374
- type PHConnectDrives = {
1375
- allowAddDrive?: boolean;
1376
- defaultDrives?: PHConnectDefaultDrive[];
1377
- preserveStrategy?: DrivePreserveStrategy;
1378
- sections?: PHConnectDriveSections;
1379
- };
1380
- type PHConnectApp = {
1381
- logLevel?: "debug" | "info" | "warn" | "error";
1382
- basePath?: string;
1383
- offline?: boolean;
1384
- studioMode?: boolean;
1385
- workflowsEnabled?: boolean;
1386
- };
1387
- type PHConnectAi = {
1388
- /** Enables the in-browser AI assistant (chat FAB + window). Off by default. */
1389
- assistantEnabled?: boolean;
1390
- };
1391
- type PHConnectPackages = {
1392
- externalEnabled?: boolean;
1393
- /** Subscribe to the static-mode `/__packages` SSE channel for live reload. */
1394
- liveReload?: boolean;
1395
- };
1396
- type PHRenownRainbowAdapterConfig = {
1397
- /** WalletConnect project id; required for the rainbow adapter to function. */
1398
- walletConnectProjectId?: string;
1399
- /** Optional Infura project id used to build RPC transports. */
1400
- infuraProjectId?: string;
1401
- };
1402
- type PHRenownPrivyAdapterConfig = {
1403
- /** Privy application id; required for the privy adapter to function. */
1404
- appId?: string;
1405
- /** Optional Privy client id. */
1406
- clientId?: string;
1407
- /** Login methods this adapter offers; defaults per adapter when omitted. */
1408
- methods?: string[];
1409
- };
1410
- type PHConnectRenownAdapters = {
1411
- rainbow?: PHRenownRainbowAdapterConfig;
1412
- privy?: PHRenownPrivyAdapterConfig;
1413
- };
1414
- type PHConnectRenown = {
1415
- url?: string;
1416
- networkId?: string;
1417
- chainId?: number;
1418
- /** Renown localStorage namespace; share it across Connects to share login. */
1419
- namespace?: string;
1420
- /** Switchboard GraphQL URL; when set, enables in-page (no-redirect) auth. */
1421
- switchboardUrl?: string;
1422
- /** Per-adapter wallet config; presence of a key enables that adapter. */
1423
- adapters?: PHConnectRenownAdapters;
1424
- };
1425
- type PHConnectSentry = {
1426
- /** Sentry DSN URL. `null` disables Sentry entirely. */
1427
- dsn?: string | null;
1428
- /** Sentry environment label. */
1429
- env?: string;
1430
- /** Enable Sentry performance tracing. */
1431
- tracing?: boolean;
1432
- };
1433
- type PHConnectOpenPanel = {
1434
- /** OpenPanel client id. Empty string (the default) disables OpenPanel. */
1435
- clientId?: string;
1436
- /** OpenPanel API URL, for self-hosted instances. */
1437
- apiUrl?: string;
1438
- /** Track UI events. */
1439
- trackUiEvents?: boolean;
1440
- /** Track document operations. */
1441
- trackOperations?: boolean;
1442
- };
1443
- type PHConnectInstance = {
1444
- namespace: string | null;
1445
- reactorWorker: boolean;
1446
- };
1447
- /** Each flag implies its predecessors, and must match the fleet Connect syncs
1448
- * with or the two compute different replay outcomes. */
1449
- type PHConnectReactorFeatureFlags = {
1450
- /** Decide writes from the document stream instead of the meta cache. */
1451
- documentDecisions?: boolean;
1452
- /** Enforce the auth scope's policy at admission, replay, and read. */
1453
- authEnforcement?: boolean;
1454
- /** Let `{ group }` principals match, via the group documents' rosters. */
1455
- authGroups?: boolean;
1456
- /** Evaluate `where` / `match` conditions on grants. */
1457
- authConditions?: boolean;
1458
- };
1459
- type PHConnectReactor = {
1460
- featureFlags?: PHConnectReactorFeatureFlags;
1461
- /** What new documents are created as; `legacy` while peers predate v2-required documents. */
1462
- createSignaturePolicy?: "legacy" | "v2-required";
1463
- /** Stored documents at protocol versions this build does not run: refuse to boot, or keep them read-only. */
1464
- unsupportedStoredDocuments?: "refuse" | "read-only";
1465
- };
3621
+ type PHImageRef = z.infer<typeof connectImageRefSchema>;
3622
+ type PHSchemedImage = z.infer<typeof connectSchemedImageSchema>;
3623
+ type PHSchemedColor = z.infer<typeof connectSchemedColorSchema>;
3624
+ type PHLength = z.infer<typeof connectLengthSchema>;
3625
+ type PHEdges = z.infer<typeof connectEdgesSchema>;
3626
+ type PHBackgroundLayer = z.infer<typeof connectBackgroundLayerSchema>;
3627
+ type PHBackgroundLayers = z.infer<typeof connectBackgroundLayersSchema>;
3628
+ type PHBackground = z.infer<typeof connectBackgroundSchema>;
3629
+ type PHConnectBranding = z.infer<typeof connectBrandingSchema>;
3630
+ type PHConnectLoader = z.infer<typeof connectLoaderSchema>;
3631
+ type PHConnectHome = z.infer<typeof connectHomeSchema>;
3632
+ type PHConnectExplorerIcons = z.infer<typeof connectExplorerIconsSchema>;
3633
+ type PHConnectDefaultDriveRemote = z.infer<typeof connectDefaultDriveRemoteSchema>;
3634
+ type PHConnectDefaultDriveLocal = z.infer<typeof connectDefaultDriveLocalSchema>;
3635
+ type PHConnectDefaultDrive = z.infer<typeof connectDefaultDriveSchema>;
3636
+ /** A served default drive: remote entries carry their `backend` and `sync`. */
3637
+ type PHConnectRuntimeDefaultDrive = z.infer<typeof connectRuntimeDefaultDriveSchema>;
3638
+ type PHConnectRuntimeDefaultDriveRemote = z.infer<typeof connectRuntimeDefaultDriveRemoteSchema>;
3639
+ type PHConnectRemoteBackend = z.infer<typeof connectRemoteBackendSchema>;
3640
+ type PHConnectRouterSettings = z.infer<typeof connectRouterSettingsSchema>;
3641
+ type PHConnectCollection = z.infer<typeof connectCollectionSchema>;
3642
+ type PHConnectDriveSection = z.infer<typeof connectDriveSectionSchema>;
3643
+ type PHConnectDriveSections = z.infer<typeof connectDriveSectionsSchema>;
3644
+ type PHConnectDrives = z.infer<typeof connectDrivesSchema>;
3645
+ type PHConnectApp = z.infer<typeof connectAppSchema>;
3646
+ type PHConnectAi = z.infer<typeof connectAiSchema>;
3647
+ type PHConnectPackages = z.infer<typeof connectPackagesSchema>;
3648
+ type PHRenownRainbowAdapterConfig = z.infer<typeof connectRenownRainbowAdapterSchema>;
3649
+ type PHRenownPrivyAdapterConfig = z.infer<typeof connectRenownPrivyAdapterSchema>;
3650
+ type PHConnectRenownAdapters = z.infer<typeof connectRenownAdaptersSchema>;
3651
+ type PHConnectRenown = z.infer<typeof connectRenownSchema>;
3652
+ type PHConnectSentry = z.infer<typeof connectSentrySchema>;
3653
+ type PHConnectOpenPanel = z.infer<typeof connectOpenPanelSchema>;
1466
3654
  /**
1467
- * A URL-matching pattern for a service-worker runtime-caching rule, in
1468
- * JSON-serialisable form. A plain string is handed to Workbox verbatim (exact
1469
- * URL or same-origin path match). `{ source, flags }` is reconstructed into a
1470
- * `RegExp` at build time — use it for prefix/suffix/origin matches (e.g.
1471
- * `{ source: "^https://api\\.acme\\.io/" }`). Function-valued patterns aren't
1472
- * expressible here; regex covers the realistic package cases.
3655
+ * Which reactor client Connect runs. One field selects all four shapes the
3656
+ * multi-reactor work standardized (each a peer `IReactorClient`):
3657
+ * - `in-process`: the tab's own reactor on the main thread (PGlite in-tab).
3658
+ * - `worker`: the tab's own reactor in a SharedWorker (PGlite in-worker).
3659
+ * - `remote`: a pure client to a remote Switchboard reactor over GraphQL,
3660
+ * with NO local reactor and NO PGlite download.
3661
+ * - `router`: the tab's reactor (local) PLUS remote backends, routed.
3662
+ * Derived from the host's reactor backends (see reactorClientMode); when
3663
+ * unset, Connect falls back to the legacy `reactorWorker`/`multiReactor`
3664
+ * booleans.
1473
3665
  */
1474
- type PHConnectPwaUrlPattern = string | {
1475
- source: string;
1476
- flags?: string;
1477
- };
1478
- type PHConnectPwaCacheStrategy = "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
1479
- /** Serialisable subset of a Workbox `RuntimeCaching` rule. */
1480
- type PHConnectPwaRuntimeCaching = {
1481
- urlPattern: PHConnectPwaUrlPattern;
1482
- handler: PHConnectPwaCacheStrategy;
1483
- method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "PATCH";
1484
- options?: {
1485
- cacheName?: string;
1486
- /** Seconds a NetworkFirst rule waits for the network before falling back
1487
- * to the cache. */
1488
- networkTimeoutSeconds?: number;
1489
- expiration?: {
1490
- maxEntries?: number;
1491
- maxAgeSeconds?: number;
1492
- };
1493
- cacheableResponse?: {
1494
- statuses?: number[];
1495
- headers?: Record<string, string>;
1496
- };
1497
- };
1498
- };
1499
- type PHConnectPwaIcon = {
1500
- src: string;
1501
- sizes?: string;
1502
- type?: string;
1503
- purpose?: string;
1504
- };
3666
+ type PHReactorClientMode = z.infer<typeof connectReactorClientModeSchema>;
3667
+ /** Served `instance`: the authored fields plus the derived `reactorClient`. */
3668
+ type PHConnectInstance = z.infer<typeof connectRuntimeInstanceSchema>;
3669
+ /** The four enforcement flags each imply their predecessors, and must match
3670
+ * the fleet Connect syncs with or the two compute different replay outcomes.
3671
+ * `undoV3` has no prerequisites and is negotiated with peers. */
3672
+ type PHConnectReactorFeatureFlags = z.infer<typeof connectReactorFeatureFlagsSchema>;
3673
+ type PHConnectReactor = z.infer<typeof connectReactorSchema>;
3674
+ type PHConnectPwaUrlPattern = z.infer<typeof connectPwaUrlPatternSchema>;
3675
+ type PHConnectPwaCacheStrategy = z.infer<typeof connectPwaCacheStrategySchema>;
3676
+ type PHConnectPwaRuntimeCaching = z.infer<typeof connectPwaRuntimeCachingSchema>;
3677
+ type PHConnectPwaIcon = z.infer<typeof connectPwaIconSchema>;
3678
+ type PHConnectPwaFileHandler = z.infer<typeof connectPwaFileHandlerSchema>;
3679
+ /** Served manifest overrides: the authored fields plus `categories`, derived
3680
+ * from every contributing `powerhouse.manifest.json`'s `category`. */
3681
+ type PHConnectPwaManifest = z.infer<typeof connectRuntimePwaManifestSchema>;
1505
3682
  /**
1506
- * A File Handling API entry a package or project contributes: the OS-level
1507
- * file types the installed Connect PWA offers to open. There is deliberately
1508
- * no `action` field — consuming launched files requires runtime code that
1509
- * lives in Connect itself, so every handler (built-in or contributed) opens
1510
- * at Connect's app root, injected at build time.
3683
+ * PWA / service-worker overrides contributed by a package or the project,
3684
+ * layered on Connect's hardcoded PWA defaults at build time. Scalars
3685
+ * deep-merge (later layer wins), arrays are additive and
3686
+ * `maximumFileSizeToCacheInBytes` takes the max. Precedence: defaults <
3687
+ * package fragments < project config.
1511
3688
  */
1512
- type PHConnectPwaFileHandler = {
1513
- /** MIME type → file extensions (each must start with "."). */
1514
- accept: Record<string, string[]>;
1515
- /** OS-level file-type icons. */
1516
- icons?: PHConnectPwaIcon[];
1517
- launch_type?: "single-client" | "multiple-clients";
1518
- };
1519
- /** Web-app-manifest fields a package or project may override. */
1520
- type PHConnectPwaManifest = {
1521
- name?: string;
1522
- short_name?: string;
1523
- description?: string;
1524
- theme_color?: string;
1525
- background_color?: string;
1526
- display?: "fullscreen" | "standalone" | "minimal-ui" | "browser";
1527
- start_url?: string;
1528
- scope?: string;
1529
- icons?: PHConnectPwaIcon[];
1530
- /** Extra file associations, appended after Connect's built-in `.phd`/`.phdm` handler. */
1531
- file_handlers?: PHConnectPwaFileHandler[];
1532
- /** How the OS launches the app for handled files/links. */
1533
- launch_handler?: {
1534
- client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
1535
- };
1536
- /** App-store-style categories. NOT authored under `connect.pwa` — derived at
1537
- * build/runtime from the `category` field of every contributing
1538
- * `powerhouse.manifest.json` (project + packages), unioned across them. */
1539
- categories?: string[];
1540
- };
1541
- /**
1542
- * PWA / service-worker overrides contributed by a package or the project.
1543
- * Layered on top of Connect's hardcoded PWA defaults at build time. Scalar
1544
- * fields deep-merge (later layer wins); every array member — the manifest
1545
- * arrays (`icons`, `file_handlers`, and the derived `categories`) plus the
1546
- * top-level `globPatterns`, `globIgnores`, `runtimeCaching` and
1547
- * `navigateFallbackDenylist` — is additive (concatenated/unioned);
1548
- * `maximumFileSizeToCacheInBytes` takes the max across contributors.
1549
- * Precedence: defaults < package fragments < project config.
1550
- */
1551
- type PHConnectPwa = {
1552
- manifest?: PHConnectPwaManifest;
1553
- /** Extra Workbox precache globs, unioned with the built-in patterns. */
1554
- globPatterns?: string[];
1555
- /** Extra Workbox precache ignore globs, unioned with the built-in list. */
1556
- globIgnores?: string[];
1557
- /** Raise the precache file-size ceiling; the max across contributors wins. */
1558
- maximumFileSizeToCacheInBytes?: number;
1559
- /** Additional runtime-caching rules, appended after the built-in rules. */
1560
- runtimeCaching?: PHConnectPwaRuntimeCaching[];
1561
- /** Extra SPA-fallback denylist patterns, unioned with the built-in list. */
1562
- navigateFallbackDenylist?: PHConnectPwaUrlPattern[];
1563
- };
1564
- type PHConnectRuntimeConfig = {
1565
- branding?: PHConnectBranding;
1566
- app?: PHConnectApp;
1567
- ai?: PHConnectAi;
1568
- packages?: PHConnectPackages;
1569
- drives?: PHConnectDrives;
1570
- renown?: PHConnectRenown;
1571
- sentry?: PHConnectSentry;
1572
- openPanel?: PHConnectOpenPanel;
1573
- instance?: PHConnectInstance;
1574
- reactor?: PHConnectReactor;
1575
- pwa?: PHConnectPwa;
1576
- };
3689
+ type PHConnectPwa = z.infer<typeof connectRuntimePwaSchema>;
3690
+ /** One entry of the host.js composition, projected into the served config as
3691
+ * DATA (module specifier + validated config). */
3692
+ type PHConnectCompositionEntry = z.infer<typeof connectCompositionEntrySchema>;
3693
+ /** The served `connect` block. For the authored block (powerhouse.config.json,
3694
+ * the connect host's `config`) see `ConnectConfig`. */
3695
+ type PHConnectRuntimeConfig = z.infer<typeof connectRuntimeConfigSchema>;
1577
3696
  /** Which Renown instance a reactor authenticates against, server-side. */
1578
3697
  type PHReactorRenown = {
1579
3698
  /** "self" reads this reactor's own renown read model; "remote" (default)
1580
3699
  * queries a Renown or Switchboard instance. */
1581
- source?: "remote" | "self";
3700
+ source?: "remote" | "self" | "kept";
1582
3701
  /** Renown base URL; also the instance this reactor's own identity uses. */
1583
3702
  url?: string;
1584
3703
  /** Switchboard GraphQL endpoint to read credentials from directly. */
1585
3704
  switchboardUrl?: string;
1586
3705
  };
3706
+ /** `reactor.keyframes`: parts left out come from `default`, then the built-in rule. */
3707
+ type PHKeyframeRule = {
3708
+ interval?: number;
3709
+ keep?: number | null;
3710
+ };
1587
3711
  type PowerhouseConfig = {
1588
3712
  logLevel: LogLevel;
1589
3713
  documentModelsDir: string;
@@ -1605,6 +3729,10 @@ type PowerhouseConfig = {
1605
3729
  filesystemPath?: string;
1606
3730
  postgresUrl?: string;
1607
3731
  };
3732
+ keyframes?: {
3733
+ default?: PHKeyframeRule;
3734
+ types?: Record<string, PHKeyframeRule>;
3735
+ };
1608
3736
  };
1609
3737
  auth?: {
1610
3738
  enabled?: boolean;
@@ -1628,6 +3756,14 @@ type PowerhouseConfig = {
1628
3756
  driveId?: string;
1629
3757
  driveUrl?: string;
1630
3758
  connectPort?: number;
3759
+ /** The Vetra Preview drive `ph vetra` creates in watch mode. */
3760
+ previewDrive?: {
3761
+ /** The id of the drive app the drive opens in, set each time `ph vetra` starts. */
3762
+ app?: string;
3763
+ };
3764
+ };
3765
+ assistant?: {
3766
+ port?: number;
1631
3767
  };
1632
3768
  workflows?: {
1633
3769
  enabled?: boolean;
@@ -1667,7 +3803,7 @@ export declare const switchboardArgs: {
1667
3803
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
1668
3804
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
1669
3805
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1670
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
3806
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1671
3807
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1672
3808
  packages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1673
3809
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
@@ -1789,7 +3925,7 @@ export declare const vetraArgs: {
1789
3925
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
1790
3926
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
1791
3927
  disableLocalPackages: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1792
- parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
3928
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
1793
3929
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1794
3930
  connectBasePath: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1795
3931
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
@@ -1848,6 +3984,9 @@ export declare const vetraArgs: {
1848
3984
  verbose: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1849
3985
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
1850
3986
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
3987
+ restart: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
3988
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
3989
+ } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1851
3990
  disableConnect: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
1852
3991
  parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
1853
3992
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
@@ -1865,8 +4004,34 @@ export declare const vetraArgs: {
1865
4004
  } & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
1866
4005
  };
1867
4006
  //#endregion
4007
+ //#region clis/ph-dir.d.ts
4008
+ /**
4009
+ * The project's `.ph` tree — stores, identity, run records, registry cache.
4010
+ *
4011
+ * Classically `<cwd>/.ph` (every classic command resolves it exactly so). A
4012
+ * desktop shell relocates the WHOLE tree under the user's profile by setting
4013
+ * `PH_USER_DATA_DIR`: the tree is then `${userData}/.ph`, the same names
4014
+ * under a different root, and nothing of the user's lands in the install
4015
+ * dir. One resolver replaces the former `.ph/...` literals; it adds no path
4016
+ * names and no layout of its own.
4017
+ */
4018
+ export declare function resolvePhDir(base?: string, env?: Record<string, string | undefined>): string;
4019
+ /**
4020
+ * The two PGlite store dirs the switchboard defaults to, for the server and
4021
+ * for `ph switchboard --reset` (which must touch the same paths). Without a
4022
+ * user-data root these are the classic literals, verbatim — byte-identical
4023
+ * to every classic boot log and reset prompt. Under PH_USER_DATA_DIR they
4024
+ * are the same names inside `${userData}/.ph`.
4025
+ */
4026
+ export declare function defaultStoreDirs(env?: Record<string, string | undefined>, phDir?: string): {
4027
+ reactor: string;
4028
+ readModel: string;
4029
+ };
4030
+ //#endregion
1868
4031
  //#region clis/file-system/dependencies.d.ts
1869
4032
  export declare function fetchNpmVersionFromRegistryForTag(packageName: string, tag: string): Promise<string>;
4033
+ /** Whether `version` is in the semver `range`; false when it is not a range. */
4034
+ export declare function versionSatisfies(version: string, range: string): boolean;
1870
4035
  export declare function lowestVersion(versions: readonly string[]): string | undefined;
1871
4036
  export declare function fetchPackageVersionFromNpmRegistry(packageSpecifier: string, registryUrl?: string): Promise<string>;
1872
4037
  export declare function parsePackageVersion(args: {
@@ -1906,6 +4071,35 @@ export declare function logVersionUpdate(args: {
1906
4071
  }): void;
1907
4072
  export declare function getPackageVersionFromPackageJson(packageJsonPath: string): Promise<string>;
1908
4073
  //#endregion
4074
+ //#region clis/file-system/package-manager.d.ts
4075
+ export type PackageManagerSource = "user-agent" | "install" | "path" | "fallback";
4076
+ export interface DetectPackageManagerOptions {
4077
+ /** Defaults to `process.env`. Reads npm_config_user_agent, PATH, PATHEXT. */
4078
+ env?: NodeJS.ProcessEnv;
4079
+ /** Defaults to `process.platform`. */
4080
+ platform?: NodeJS.Platform;
4081
+ /** Managers the caller can work with. Defaults to npm, pnpm, yarn, bun. */
4082
+ allowed?: readonly Agent[];
4083
+ /** The manager that installed the running CLI globally, if known. */
4084
+ installedWith?: Agent;
4085
+ }
4086
+ /**
4087
+ * Picks a package manager when the user passed no --npm/--pnpm/--yarn/--bun
4088
+ * flag. In order:
4089
+ * 1. the manager that launched us (`npm_config_user_agent`, set by
4090
+ * npx / pnpm dlx / yarn dlx / bunx and by package scripts)
4091
+ * 2. the manager that installed the CLI globally (`installedWith`), unless
4092
+ * that is npm
4093
+ * 3. bun, then pnpm, if found on PATH
4094
+ * 4. npm
4095
+ * A manager older than its MIN_VERSION is skipped. A version-manager shim
4096
+ * (corepack, asdf, mise) on PATH counts as installed if `--version` works.
4097
+ */
4098
+ export declare function detectPackageManager(options?: DetectPackageManagerOptions): {
4099
+ pm: Agent;
4100
+ source: PackageManagerSource;
4101
+ };
4102
+ //#endregion
1909
4103
  //#region clis/file-system/directory-exists.d.ts
1910
4104
  export declare function directoryExists(path: string | null | undefined): Promise<boolean>;
1911
4105
  export declare function directoryExistsSync(path: string | null | undefined): path is string;
@@ -1949,6 +4143,10 @@ export declare function runCmd(command: string, options?: {
1949
4143
  }): void;
1950
4144
  //#endregion
1951
4145
  //#region clis/file-system/spawn-async.d.ts
4146
+ export declare class SpawnError extends Error {
4147
+ readonly stdout: string;
4148
+ constructor(message: string, stdout: string);
4149
+ }
1952
4150
  export declare function spawnAsync(command: string, args: string[], options?: {
1953
4151
  cwd?: string;
1954
4152
  env?: NodeJS.ProcessEnv;
@@ -1961,6 +4159,51 @@ export declare function getPhCliVersionInfo(): Promise<string>;
1961
4159
  //#region clis/file-system/write-file-ensuring-dir.d.ts
1962
4160
  export declare function writeFileEnsuringDir(filePath: string, contents: string | Buffer): Promise<void>;
1963
4161
  //#endregion
4162
+ //#region clis/file-system/write-layer.d.ts
4163
+ /** One file a recorded run would add, change or delete. */
4164
+ export type FileChange = {
4165
+ /** Absolute path. */
4166
+ path: string;
4167
+ /** The file on disk; undefined when the run would add it. */
4168
+ before: string | undefined;
4169
+ /** The file after the run; undefined when the run would delete it. */
4170
+ after: string | undefined;
4171
+ };
4172
+ /**
4173
+ * The file access of the steps a dry run can preview. Outside a recording
4174
+ * every call goes to the disk. Inside {@link recordWrites} the writes and
4175
+ * removals are kept in memory, and the reads see them, so a step that reads
4176
+ * what an earlier step wrote decides as it would in a real run.
4177
+ */
4178
+ export declare const projectFiles: {
4179
+ /** True inside {@link recordWrites}. */
4180
+ isRecording(): boolean;
4181
+ exists(path: string): boolean;
4182
+ /** The file as UTF-8 text; undefined when there is none. */
4183
+ read(path: string): string | undefined;
4184
+ /** The names in a folder; empty when there is none. */
4185
+ list(dir: string): string[];
4186
+ writeSync(path: string, contents: string | Buffer): void;
4187
+ /** Removes a file or a folder with everything in it; a missing one is fine. */
4188
+ remove(path: string): void;
4189
+ /**
4190
+ * Runs a writer that takes a file path and writes that file itself (such as
4191
+ * `writePackage`). In a recording the writer gets a temporary copy of the
4192
+ * file, and what it leaves there is recorded.
4193
+ */
4194
+ writeWith(path: string, writer: (target: string) => Promise<void>): Promise<void>;
4195
+ };
4196
+ /**
4197
+ * Runs `run` with every {@link projectFiles} write and removal recorded
4198
+ * instead of applied, and returns what a real run would change on disk,
4199
+ * sorted by path. A file written with the content it already has is no
4200
+ * change.
4201
+ */
4202
+ export declare function recordWrites<T>(run: () => Promise<T>): Promise<{
4203
+ result: T;
4204
+ changes: FileChange[];
4205
+ }>;
4206
+ //#endregion
1964
4207
  //#region clis/services/telemetry.d.ts
1965
4208
  export type CliInvocationInfo = {
1966
4209
  command?: string;
@@ -2018,6 +4261,7 @@ export declare function getTelemetryStatus(): {
2018
4261
  //#endregion
2019
4262
  //#region clis/services/use-local.d.ts
2020
4263
  export declare function runUseLocal(monorepoPath: string, skipInstall?: boolean): Promise<void>;
4264
+ export declare function buildPnpmLink(packageName: string, monorepoPath: string): string;
2021
4265
  //#endregion
2022
4266
  //#region clis/source-config-schema.d.ts
2023
4267
  export declare const SOURCE_CONFIG_SCHEMA_ID = "https://powerhouse.inc/schemas/powerhouse.source.json";
@@ -2119,6 +4363,50 @@ export declare const sourceConfigSchema: {
2119
4363
  };
2120
4364
  };
2121
4365
  };
4366
+ readonly keyframes: {
4367
+ readonly type: "object";
4368
+ readonly additionalProperties: false;
4369
+ readonly description: "How many keyframes a document stream keeps and how often one is written. Without this block: a keyframe every 10 revisions, all kept. `PH_KEYFRAMES` overrides it.";
4370
+ readonly properties: {
4371
+ readonly default: {
4372
+ readonly type: "object";
4373
+ readonly additionalProperties: false;
4374
+ readonly properties: {
4375
+ readonly interval: {
4376
+ readonly type: "integer";
4377
+ readonly minimum: 1;
4378
+ readonly description: "Write a keyframe every N revisions.";
4379
+ };
4380
+ readonly keep: {
4381
+ readonly type: readonly ["integer", "null"];
4382
+ readonly minimum: 1;
4383
+ readonly description: "Keyframes kept per document stream, newest first; null keeps them all.";
4384
+ };
4385
+ };
4386
+ readonly description: "The rule for every type `types` does not name.";
4387
+ };
4388
+ readonly types: {
4389
+ readonly type: "object";
4390
+ readonly description: "Rules by exact document type, over `default`.";
4391
+ readonly additionalProperties: {
4392
+ readonly type: "object";
4393
+ readonly additionalProperties: false;
4394
+ readonly properties: {
4395
+ readonly interval: {
4396
+ readonly type: "integer";
4397
+ readonly minimum: 1;
4398
+ readonly description: "Write a keyframe every N revisions.";
4399
+ };
4400
+ readonly keep: {
4401
+ readonly type: readonly ["integer", "null"];
4402
+ readonly minimum: 1;
4403
+ readonly description: "Keyframes kept per document stream, newest first; null keeps them all.";
4404
+ };
4405
+ };
4406
+ };
4407
+ };
4408
+ };
4409
+ };
2122
4410
  };
2123
4411
  };
2124
4412
  readonly auth: {
@@ -2248,6 +4536,28 @@ export declare const sourceConfigSchema: {
2248
4536
  readonly type: "integer";
2249
4537
  readonly description: "Port `ph vetra`'s Connect dev server listens on. Assigned per project by `ph init`. Overridden by PH_VETRA_CONNECT_PORT or --connect-port.";
2250
4538
  };
4539
+ readonly previewDrive: {
4540
+ readonly type: "object";
4541
+ readonly additionalProperties: false;
4542
+ readonly description: "The Vetra Preview drive `ph vetra` creates in watch mode.";
4543
+ readonly properties: {
4544
+ readonly app: {
4545
+ readonly type: "string";
4546
+ readonly description: "Id of the drive app the preview drive opens in, e.g. a drive editor's `config.id`. `ph vetra` sets it on the drive each time it starts; leaving it out keeps the drive's current app.";
4547
+ };
4548
+ };
4549
+ };
4550
+ };
4551
+ };
4552
+ readonly assistant: {
4553
+ readonly type: "object";
4554
+ readonly additionalProperties: false;
4555
+ readonly description: "The project's agent host (hosts/assistant): a headless Mastra agent API on the project switchboard.";
4556
+ readonly properties: {
4557
+ readonly port: {
4558
+ readonly type: "integer";
4559
+ readonly description: "Port the assistant host's chat-completions API listens on. Read by hosts/assistant/host.js (default 4910).";
4560
+ };
2251
4561
  };
2252
4562
  };
2253
4563
  readonly workflows: {
@@ -2266,634 +4576,7 @@ export declare const sourceConfigSchema: {
2266
4576
  readonly description: "Project-wide package registry endpoint. Used by `ph install` / `ph publish` / `ph registry-login` and Switchboard, and copied verbatim into the runtime config so the Connect SPA's Package Manager UI reads the same registry.";
2267
4577
  };
2268
4578
  readonly connect: {
2269
- readonly type: "object";
2270
- readonly additionalProperties: false;
2271
- readonly properties: {
2272
- readonly branding: {
2273
- readonly type: "object";
2274
- readonly additionalProperties: false;
2275
- readonly description: "App identity and visual branding.";
2276
- readonly properties: {
2277
- readonly appName: {
2278
- readonly type: "string";
2279
- readonly description: "Browser tab title and any in-app brand text. Defaults to 'Powerhouse Connect'.";
2280
- };
2281
- readonly homeBackground: {
2282
- readonly type: readonly ["string", "null"];
2283
- readonly description: "Hero image on the empty home screen. URL or path to override; null or omitted uses the bundled default image.";
2284
- };
2285
- };
2286
- };
2287
- readonly app: {
2288
- readonly type: "object";
2289
- readonly additionalProperties: false;
2290
- readonly description: "Top-level Connect application behaviour.";
2291
- readonly properties: {
2292
- readonly logLevel: {
2293
- readonly type: "string";
2294
- readonly enum: readonly ["debug", "info", "warn", "error"];
2295
- readonly description: "Log level applied by Connect's logger at boot. Affects browser-side output only.";
2296
- readonly default: "info";
2297
- };
2298
- readonly basePath: {
2299
- readonly type: "string";
2300
- readonly description: "Base path Connect is mounted under (e.g. '/connect' for subpath deploys). Normalised at runtime to start and end with '/'. Defaults to the build-time BASE_URL.";
2301
- readonly default: "/";
2302
- };
2303
- readonly offline: {
2304
- readonly type: "boolean";
2305
- readonly description: "When true (default), the build emits a precaching service worker so Connect's app shell works offline, and the SPA registers it at boot. Set false to opt this deployment out: no service worker is built, the SPA skips registration, and any previously-installed worker is unregistered.";
2306
- readonly default: true;
2307
- };
2308
- readonly studioMode: {
2309
- readonly type: "boolean";
2310
- readonly description: "Studio mode. Enables builder-only capabilities: Connect loads the vetra package and exposes DocumentModel (and vetra spec types) as creatable documents. Forced on by `ph vetra` / `ph connect studio`; false by default.";
2311
- readonly default: false;
2312
- };
2313
- readonly workflowsEnabled: {
2314
- readonly type: "boolean";
2315
- readonly description: "Powerhouse workflows in Connect. When true the tab loads the @powerhousedao/workflow package (workflow + connection documents, their editors and Workflow Studio) and the reactor worker registers its document models. Falls back to the top-level `workflows.enabled`; set it to override that for Connect. Independent of studioMode. False when neither is set.";
2316
- };
2317
- };
2318
- };
2319
- readonly ai: {
2320
- readonly type: "object";
2321
- readonly additionalProperties: false;
2322
- readonly description: "AI assistant (chat) behaviour.";
2323
- readonly properties: {
2324
- readonly assistantEnabled: {
2325
- readonly type: "boolean";
2326
- readonly description: "When true, Connect mounts the in-browser AI assistant (bottom-right chat FAB that talks to a user-configured OpenAI-compatible endpoint and acts on the reactor). Disabled by default.";
2327
- readonly default: false;
2328
- };
2329
- };
2330
- };
2331
- readonly packages: {
2332
- readonly type: "object";
2333
- readonly additionalProperties: false;
2334
- readonly description: "Runtime behaviour for the Connect package manager (separate from top-level `packages[]`, which lists which packages to load).";
2335
- readonly properties: {
2336
- readonly externalEnabled: {
2337
- readonly type: "boolean";
2338
- readonly description: "When false, Connect refuses to load any package that wasn't bundled at build time. Affirmative replacement for the legacy PH_CONNECT_EXTERNAL_PACKAGES_DISABLED env var.";
2339
- readonly default: true;
2340
- };
2341
- readonly liveReload: {
2342
- readonly type: "boolean";
2343
- readonly description: "When true, Connect subscribes to the static-mode `/__packages` SSE channel so live publishes flow into the running tab without a page reload. Only works under hosting that serves this channel (e.g. ph-clint static mode).";
2344
- readonly default: false;
2345
- };
2346
- };
2347
- };
2348
- readonly drives: {
2349
- readonly type: "object";
2350
- readonly additionalProperties: false;
2351
- readonly description: "Default-drive and add-drive UI behaviour.";
2352
- readonly properties: {
2353
- readonly allowAddDrive: {
2354
- readonly type: "boolean";
2355
- readonly description: "When false, the SPA hides the 'add drive' affordance entirely (top-level). Per-section overrides live in `sections.{remote,local}.allowAdd`.";
2356
- readonly default: true;
2357
- };
2358
- readonly defaultDrives: {
2359
- readonly type: "array";
2360
- readonly description: "Drives the SPA auto-connects to on first load. Each entry is either a remote drive (a URL, with optional name/icon overrides) or a local drive (created locally on first boot, with a stable id and optional name/icon/app).";
2361
- readonly default: readonly [];
2362
- readonly items: {
2363
- readonly oneOf: readonly [{
2364
- readonly type: "object";
2365
- readonly additionalProperties: false;
2366
- readonly required: readonly ["url"];
2367
- readonly properties: {
2368
- readonly url: {
2369
- readonly type: "string";
2370
- };
2371
- readonly name: {
2372
- readonly type: readonly ["string", "null"];
2373
- };
2374
- readonly icon: {
2375
- readonly type: readonly ["string", "null"];
2376
- };
2377
- };
2378
- }, {
2379
- readonly type: "object";
2380
- readonly additionalProperties: false;
2381
- readonly required: readonly ["local", "id"];
2382
- readonly properties: {
2383
- readonly local: {
2384
- readonly const: true;
2385
- readonly description: "Discriminator: this entry is a local drive created on first boot.";
2386
- };
2387
- readonly id: {
2388
- readonly type: "string";
2389
- readonly description: "Stable drive id. The drive is created with this id on first boot and is not re-created on later boots.";
2390
- };
2391
- readonly name: {
2392
- readonly type: readonly ["string", "null"];
2393
- };
2394
- readonly icon: {
2395
- readonly type: readonly ["string", "null"];
2396
- };
2397
- readonly app: {
2398
- readonly type: "string";
2399
- readonly description: "Drive app (preferred editor) to open on the drive.";
2400
- };
2401
- };
2402
- }];
2403
- };
2404
- };
2405
- readonly preserveStrategy: {
2406
- readonly type: "string";
2407
- readonly enum: readonly ["preserve-all", "preserve-by-url-and-detach"];
2408
- readonly description: "Strategy applied when defaultDrives change between deploys. 'preserve-all' keeps user-added drives untouched; 'preserve-by-url-and-detach' detaches removed default drives. No schema default — opt-in only.";
2409
- };
2410
- readonly sections: {
2411
- readonly type: "object";
2412
- readonly additionalProperties: false;
2413
- readonly description: "Per-section visibility and affordance toggles. `remote` covers what was historically split into 'public' + 'cloud'; `local` is browser-local drives.";
2414
- readonly properties: {
2415
- readonly remote: {
2416
- readonly type: "object";
2417
- readonly additionalProperties: false;
2418
- readonly description: "Visibility and add/delete affordances for a drive section in the sidebar.";
2419
- readonly properties: {
2420
- readonly enabled: {
2421
- readonly type: "boolean";
2422
- readonly description: "When false, the section is hidden in the sidebar.";
2423
- readonly default: true;
2424
- };
2425
- readonly allowAdd: {
2426
- readonly type: "boolean";
2427
- readonly description: "When false, the section's 'add drive' affordance is hidden.";
2428
- readonly default: true;
2429
- };
2430
- readonly allowDelete: {
2431
- readonly type: "boolean";
2432
- readonly description: "When false, drives in this section cannot be deleted from the UI.";
2433
- readonly default: true;
2434
- };
2435
- };
2436
- };
2437
- readonly local: {
2438
- readonly type: "object";
2439
- readonly additionalProperties: false;
2440
- readonly description: "Visibility and add/delete affordances for a drive section in the sidebar.";
2441
- readonly properties: {
2442
- readonly enabled: {
2443
- readonly type: "boolean";
2444
- readonly description: "When false, the section is hidden in the sidebar.";
2445
- readonly default: true;
2446
- };
2447
- readonly allowAdd: {
2448
- readonly type: "boolean";
2449
- readonly description: "When false, the section's 'add drive' affordance is hidden.";
2450
- readonly default: true;
2451
- };
2452
- readonly allowDelete: {
2453
- readonly type: "boolean";
2454
- readonly description: "When false, drives in this section cannot be deleted from the UI.";
2455
- readonly default: true;
2456
- };
2457
- };
2458
- };
2459
- };
2460
- };
2461
- };
2462
- };
2463
- readonly renown: {
2464
- readonly type: "object";
2465
- readonly additionalProperties: false;
2466
- readonly description: "Renown identity / authentication coordinates.";
2467
- readonly properties: {
2468
- readonly url: {
2469
- readonly type: "string";
2470
- readonly description: "Renown auth service URL.";
2471
- readonly default: "https://www.renown.id";
2472
- };
2473
- readonly networkId: {
2474
- readonly type: "string";
2475
- readonly description: "CAIP-2 network namespace (e.g. 'eip155').";
2476
- readonly default: "eip155";
2477
- };
2478
- readonly chainId: {
2479
- readonly type: "number";
2480
- readonly description: "CAIP-2 chain reference within the network namespace.";
2481
- readonly default: 1;
2482
- };
2483
- readonly namespace: {
2484
- readonly type: "string";
2485
- readonly description: "Renown localStorage namespace; share it across Connects to share login.";
2486
- };
2487
- readonly switchboardUrl: {
2488
- readonly type: "string";
2489
- readonly description: "Switchboard GraphQL URL. When set, Connect enables in-page (no-redirect) Renown sign-in; otherwise it falls back to the redirect flow via `url`.";
2490
- };
2491
- readonly adapters: {
2492
- readonly type: "object";
2493
- readonly additionalProperties: false;
2494
- readonly description: "Per-adapter wallet config for in-page auth. Presence of an adapter key enables it; omit or leave empty for redirect-only behaviour.";
2495
- readonly properties: {
2496
- readonly rainbow: {
2497
- readonly type: "object";
2498
- readonly additionalProperties: false;
2499
- readonly description: "wagmi + RainbowKit external-wallet adapter config.";
2500
- readonly properties: {
2501
- readonly walletConnectProjectId: {
2502
- readonly type: "string";
2503
- readonly description: "WalletConnect project id; required for this adapter to function.";
2504
- };
2505
- readonly infuraProjectId: {
2506
- readonly type: "string";
2507
- readonly description: "Optional Infura project id used to build RPC transports.";
2508
- };
2509
- };
2510
- };
2511
- readonly privy: {
2512
- readonly type: "object";
2513
- readonly additionalProperties: false;
2514
- readonly description: "Privy embedded/social adapter config.";
2515
- readonly properties: {
2516
- readonly appId: {
2517
- readonly type: "string";
2518
- readonly description: "Privy application id; required for this adapter to function.";
2519
- };
2520
- readonly clientId: {
2521
- readonly type: "string";
2522
- readonly description: "Optional Privy client id.";
2523
- };
2524
- readonly methods: {
2525
- readonly type: "array";
2526
- readonly description: "Login methods this adapter offers; default per adapter when omitted.";
2527
- readonly items: {
2528
- readonly type: "string";
2529
- };
2530
- };
2531
- };
2532
- };
2533
- };
2534
- };
2535
- };
2536
- };
2537
- readonly sentry: {
2538
- readonly type: "object";
2539
- readonly additionalProperties: false;
2540
- readonly description: "Sentry error-tracking coordinates. Set `dsn` to enable Sentry; leave `dsn` null to disable. The Sentry release tag stays build-time (stamped via Vite's `define` from WORKSPACE_VERSION) so it always matches the sourcemaps uploaded by CI.";
2541
- readonly properties: {
2542
- readonly dsn: {
2543
- readonly type: readonly ["string", "null"];
2544
- readonly description: "Sentry DSN URL. `null` disables Sentry entirely; the SPA never loads the Sentry SDK chunk.";
2545
- readonly default: null;
2546
- };
2547
- readonly env: {
2548
- readonly type: "string";
2549
- readonly description: "Sentry environment label, surfaced as the `environment` tag on every event.";
2550
- readonly default: "dev";
2551
- };
2552
- readonly tracing: {
2553
- readonly type: "boolean";
2554
- readonly description: "Enable Sentry performance tracing.";
2555
- readonly default: false;
2556
- };
2557
- };
2558
- };
2559
- readonly openPanel: {
2560
- readonly type: "object";
2561
- readonly additionalProperties: false;
2562
- readonly description: "OpenPanel product analytics. Set `clientId` to enable; an empty `clientId` disables it. Events are only sent after the user accepts analytics cookies. Takes precedence over the build-time PH_CONNECT_OPENPANEL_* env vars.";
2563
- readonly properties: {
2564
- readonly clientId: {
2565
- readonly type: "string";
2566
- readonly description: "OpenPanel client id. Empty string disables OpenPanel entirely.";
2567
- readonly default: "";
2568
- };
2569
- readonly apiUrl: {
2570
- readonly type: "string";
2571
- readonly description: "OpenPanel API URL for self-hosted instances (e.g. 'https://openpanel.example/api'). Omit to use OpenPanel's hosted API.";
2572
- };
2573
- readonly trackUiEvents: {
2574
- readonly type: "boolean";
2575
- readonly description: "Track UI events.";
2576
- readonly default: true;
2577
- };
2578
- readonly trackOperations: {
2579
- readonly type: "boolean";
2580
- readonly description: "Track document operations.";
2581
- readonly default: true;
2582
- };
2583
- };
2584
- };
2585
- readonly instance: {
2586
- readonly type: "object";
2587
- readonly additionalProperties: false;
2588
- readonly required: readonly ["namespace", "reactorWorker"];
2589
- readonly description: "Per-instance identity. Lets one origin host multiple isolated Connect instances, each with its own storage + SharedWorker namespace.";
2590
- readonly properties: {
2591
- readonly namespace: {
2592
- readonly type: readonly ["string", "null"];
2593
- readonly description: "Explicit storage/SharedWorker namespace for this instance. `null` derives it from the base path (and, later, the configured endpoint), so root deployments stay byte-identical.";
2594
- readonly default: null;
2595
- };
2596
- readonly reactorWorker: {
2597
- readonly type: "boolean";
2598
- readonly description: "Host the reactor in a shared worker instead of on the main thread. Off by default; the main-thread reactor stays the proven path until cutover is verified.";
2599
- readonly default: false;
2600
- };
2601
- };
2602
- };
2603
- readonly reactor: {
2604
- readonly type: "object";
2605
- readonly additionalProperties: false;
2606
- readonly description: "Settings for the reactor Connect runs in the browser, on the main thread or in the shared worker alike.";
2607
- readonly properties: {
2608
- readonly featureFlags: {
2609
- readonly type: "object";
2610
- readonly additionalProperties: false;
2611
- readonly description: "Enforcement flags. Each implies its predecessors, and the reactor refuses to boot on a set that names a later flag without an earlier one. These are consensus settings: a Connect syncing with a fleet must carry the same flags the fleet does, or the two reach different replay outcomes for the same history and diverge.";
2612
- readonly properties: {
2613
- readonly documentDecisions: {
2614
- readonly type: "boolean";
2615
- readonly description: "Decide writes from the document stream rather than the document meta cache, so a backdated deletion denies the operations that sort after it.";
2616
- readonly default: false;
2617
- };
2618
- readonly authEnforcement: {
2619
- readonly type: "boolean";
2620
- readonly description: "Enforce the auth scope's policy at admission, replay, and read. Requires documentDecisions.";
2621
- readonly default: false;
2622
- };
2623
- readonly authGroups: {
2624
- readonly type: "boolean";
2625
- readonly description: "Let `{ group }` principals match against the rosters of the group documents a policy names. Requires authEnforcement.";
2626
- readonly default: false;
2627
- };
2628
- readonly authConditions: {
2629
- readonly type: "boolean";
2630
- readonly description: "Evaluate `where` and `match` conditions on grants. Requires authGroups. Do not enable on a fleet `preflight:auth` reports as crossing a reducer version.";
2631
- readonly default: false;
2632
- };
2633
- };
2634
- };
2635
- readonly createSignaturePolicy: {
2636
- readonly type: "string";
2637
- readonly enum: readonly ["legacy", "v2-required"];
2638
- readonly description: "What new documents are created as. `v2-required` documents accept only v2 action signatures and take content-addressed ids; set `legacy` while any peer Connect syncs with predates them. Existing documents keep their policy.";
2639
- readonly default: "v2-required";
2640
- };
2641
- readonly unsupportedStoredDocuments: {
2642
- readonly type: "string";
2643
- readonly enum: readonly ["refuse", "read-only"];
2644
- readonly description: "What the reactor does when this browser's store holds documents at protocol versions this build does not run. `refuse` fails the boot and names the versions; `read-only` boots and keeps those documents read-only.";
2645
- readonly default: "refuse";
2646
- };
2647
- };
2648
- };
2649
- readonly pwa: {
2650
- readonly type: "object";
2651
- readonly additionalProperties: false;
2652
- readonly description: "Progressive-web-app / service-worker overrides, layered on Connect's built-in PWA defaults at build time. Scalar fields deep-merge (this layer wins); the array members (icons, file_handlers, globs, runtimeCaching and denylist patterns) are additive; maximumFileSizeToCacheInBytes takes the max across contributors. (categories is not set here — it is derived from the manifest's category field.) Only applied when connect.app.offline is true.";
2653
- readonly properties: {
2654
- readonly manifest: {
2655
- readonly type: "object";
2656
- readonly additionalProperties: false;
2657
- readonly description: "Web-app-manifest field overrides.";
2658
- readonly properties: {
2659
- readonly name: {
2660
- readonly type: "string";
2661
- };
2662
- readonly short_name: {
2663
- readonly type: "string";
2664
- };
2665
- readonly description: {
2666
- readonly type: "string";
2667
- };
2668
- readonly theme_color: {
2669
- readonly type: "string";
2670
- };
2671
- readonly background_color: {
2672
- readonly type: "string";
2673
- };
2674
- readonly display: {
2675
- readonly type: "string";
2676
- readonly enum: readonly ["fullscreen", "standalone", "minimal-ui", "browser"];
2677
- };
2678
- readonly start_url: {
2679
- readonly type: "string";
2680
- };
2681
- readonly scope: {
2682
- readonly type: "string";
2683
- };
2684
- readonly icons: {
2685
- readonly type: "array";
2686
- readonly description: "Icons appended to the built-in set and de-duplicated by (src, sizes, purpose).";
2687
- readonly items: {
2688
- readonly type: "object";
2689
- readonly additionalProperties: false;
2690
- readonly required: readonly ["src"];
2691
- readonly properties: {
2692
- readonly src: {
2693
- readonly type: "string";
2694
- };
2695
- readonly sizes: {
2696
- readonly type: "string";
2697
- };
2698
- readonly type: {
2699
- readonly type: "string";
2700
- };
2701
- readonly purpose: {
2702
- readonly type: "string";
2703
- };
2704
- };
2705
- };
2706
- };
2707
- readonly file_handlers: {
2708
- readonly type: "array";
2709
- readonly description: "File associations appended after Connect's built-in .phd/.phdm handler and de-duplicated on the whole entry. Entries only declare accepted types; there is no action field, because opening the files requires Connect's own runtime handling, so every handler opens at the app root.";
2710
- readonly items: {
2711
- readonly type: "object";
2712
- readonly additionalProperties: false;
2713
- readonly required: readonly ["accept"];
2714
- readonly properties: {
2715
- readonly accept: {
2716
- readonly type: "object";
2717
- readonly description: "MIME type → file extensions. Each extension must start with '.'; browsers ignore entries without it.";
2718
- readonly additionalProperties: {
2719
- readonly type: "array";
2720
- readonly items: {
2721
- readonly type: "string";
2722
- readonly pattern: "^\\.";
2723
- };
2724
- };
2725
- };
2726
- readonly icons: {
2727
- readonly type: "array";
2728
- readonly description: "OS-level file-type icons.";
2729
- readonly items: {
2730
- readonly type: "object";
2731
- readonly additionalProperties: false;
2732
- readonly required: readonly ["src"];
2733
- readonly properties: {
2734
- readonly src: {
2735
- readonly type: "string";
2736
- };
2737
- readonly sizes: {
2738
- readonly type: "string";
2739
- };
2740
- readonly type: {
2741
- readonly type: "string";
2742
- };
2743
- readonly purpose: {
2744
- readonly type: "string";
2745
- };
2746
- };
2747
- };
2748
- };
2749
- readonly launch_type: {
2750
- readonly type: "string";
2751
- readonly enum: readonly ["single-client", "multiple-clients"];
2752
- };
2753
- };
2754
- };
2755
- };
2756
- readonly launch_handler: {
2757
- readonly type: "object";
2758
- readonly additionalProperties: false;
2759
- readonly required: readonly ["client_mode"];
2760
- readonly description: "How the OS launches the app for handled files/links. Connect defaults to focus-existing.";
2761
- readonly properties: {
2762
- readonly client_mode: {
2763
- readonly type: "string";
2764
- readonly enum: readonly ["auto", "focus-existing", "navigate-existing", "navigate-new"];
2765
- };
2766
- };
2767
- };
2768
- };
2769
- };
2770
- readonly globPatterns: {
2771
- readonly type: "array";
2772
- readonly items: {
2773
- readonly type: "string";
2774
- };
2775
- readonly description: "Extra Workbox precache globs, unioned with the built-ins.";
2776
- };
2777
- readonly globIgnores: {
2778
- readonly type: "array";
2779
- readonly items: {
2780
- readonly type: "string";
2781
- };
2782
- readonly description: "Extra precache ignore globs, unioned with the built-ins.";
2783
- };
2784
- readonly maximumFileSizeToCacheInBytes: {
2785
- readonly type: "number";
2786
- readonly description: "Raise the precache file-size ceiling. The max across all contributors wins, so no contributor can shrink another's limit.";
2787
- };
2788
- readonly runtimeCaching: {
2789
- readonly type: "array";
2790
- readonly description: "Runtime-caching rules appended after the built-in rules. Workbox is first-match-wins, so these cannot override a built-in rule matching the same URL.";
2791
- readonly items: {
2792
- readonly type: "object";
2793
- readonly additionalProperties: false;
2794
- readonly required: readonly ["urlPattern", "handler"];
2795
- readonly properties: {
2796
- readonly urlPattern: {
2797
- readonly description: "URL match. A string is matched verbatim by Workbox; { source, flags } is rebuilt into a RegExp at build time.";
2798
- readonly oneOf: readonly [{
2799
- readonly type: "string";
2800
- }, {
2801
- readonly type: "object";
2802
- readonly additionalProperties: false;
2803
- readonly required: readonly ["source"];
2804
- readonly properties: {
2805
- readonly source: {
2806
- readonly type: "string";
2807
- readonly description: "RegExp source.";
2808
- };
2809
- readonly flags: {
2810
- readonly type: "string";
2811
- readonly description: "RegExp flags (e.g. 'i').";
2812
- };
2813
- };
2814
- }];
2815
- };
2816
- readonly handler: {
2817
- readonly type: "string";
2818
- readonly enum: readonly ["CacheFirst", "CacheOnly", "NetworkFirst", "NetworkOnly", "StaleWhileRevalidate"];
2819
- };
2820
- readonly method: {
2821
- readonly type: "string";
2822
- readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "HEAD", "PATCH"];
2823
- };
2824
- readonly options: {
2825
- readonly type: "object";
2826
- readonly additionalProperties: false;
2827
- readonly properties: {
2828
- readonly cacheName: {
2829
- readonly type: "string";
2830
- };
2831
- readonly networkTimeoutSeconds: {
2832
- readonly type: "number";
2833
- readonly description: "Seconds a NetworkFirst rule waits for the network before falling back to the cache.";
2834
- };
2835
- readonly expiration: {
2836
- readonly type: "object";
2837
- readonly additionalProperties: false;
2838
- readonly properties: {
2839
- readonly maxEntries: {
2840
- readonly type: "number";
2841
- };
2842
- readonly maxAgeSeconds: {
2843
- readonly type: "number";
2844
- };
2845
- };
2846
- };
2847
- readonly cacheableResponse: {
2848
- readonly type: "object";
2849
- readonly additionalProperties: false;
2850
- readonly properties: {
2851
- readonly statuses: {
2852
- readonly type: "array";
2853
- readonly items: {
2854
- readonly type: "number";
2855
- };
2856
- };
2857
- readonly headers: {
2858
- readonly type: "object";
2859
- readonly additionalProperties: {
2860
- readonly type: "string";
2861
- };
2862
- };
2863
- };
2864
- };
2865
- };
2866
- };
2867
- };
2868
- };
2869
- };
2870
- readonly navigateFallbackDenylist: {
2871
- readonly type: "array";
2872
- readonly description: "Extra SPA navigate-fallback denylist patterns, unioned with the built-ins.";
2873
- readonly items: {
2874
- readonly description: "URL match. A string is matched verbatim by Workbox; { source, flags } is rebuilt into a RegExp at build time.";
2875
- readonly oneOf: readonly [{
2876
- readonly type: "string";
2877
- }, {
2878
- readonly type: "object";
2879
- readonly additionalProperties: false;
2880
- readonly required: readonly ["source"];
2881
- readonly properties: {
2882
- readonly source: {
2883
- readonly type: "string";
2884
- readonly description: "RegExp source.";
2885
- };
2886
- readonly flags: {
2887
- readonly type: "string";
2888
- readonly description: "RegExp flags (e.g. 'i').";
2889
- };
2890
- };
2891
- }];
2892
- };
2893
- };
2894
- };
2895
- };
2896
- };
4579
+ readonly properties?: Record<string, unknown>;
2897
4580
  readonly description: "Connect-specific UI customisations. Copied verbatim into the runtime config at build time.";
2898
4581
  };
2899
4582
  };
@@ -2916,6 +4599,6 @@ export declare class NodeVersionError extends Error {
2916
4599
  }
2917
4600
  export declare function assertNodeVersion(nodeVersion?: string): void;
2918
4601
  //#endregion
2919
- export type { DrivePreserveStrategies, DrivePreserveStrategy, LogLevel, LogLevels, PHConnectAi, PHConnectApp, PHConnectBranding, PHConnectDefaultDrive, PHConnectDefaultDriveLocal, PHConnectDefaultDriveRemote, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectInstance, PHConnectOpenPanel, PHConnectPackages, PHConnectPwa, PHConnectPwaCacheStrategy, PHConnectPwaFileHandler, PHConnectPwaIcon, PHConnectPwaManifest, PHConnectPwaRuntimeCaching, PHConnectPwaUrlPattern, PHConnectReactor, PHConnectReactorFeatureFlags, PHConnectRenown, PHConnectRenownAdapters, PHConnectRuntimeConfig, PHConnectSentry, PHPackageProvider, PHReactorRenown, PHRenownPrivyAdapterConfig, PHRenownRainbowAdapterConfig, PackageManagerArgs, ParsedCmdResult, PathValidation, PowerhouseConfig, PowerhousePackage, ServiceAction, ServiceActions };
4602
+ export type { DrivePreserveStrategies, DrivePreserveStrategy, LogLevel, LogLevels, PHBackground, PHBackgroundLayer, PHBackgroundLayers, PHConnectAi, PHConnectApp, PHConnectBranding, PHConnectCollection, PHConnectCompositionEntry, PHConnectDefaultDrive, PHConnectDefaultDriveLocal, PHConnectDefaultDriveRemote, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectExplorerIcons, PHConnectHome, PHConnectInstance, PHConnectLoader, PHConnectOpenPanel, PHConnectPackages, PHConnectPwa, PHConnectPwaCacheStrategy, PHConnectPwaFileHandler, PHConnectPwaIcon, PHConnectPwaManifest, PHConnectPwaRuntimeCaching, PHConnectPwaUrlPattern, PHConnectReactor, PHConnectReactorFeatureFlags, PHConnectRemoteBackend, PHConnectRenown, PHConnectRenownAdapters, PHConnectRouterSettings, PHConnectRuntimeConfig, PHConnectRuntimeDefaultDrive, PHConnectRuntimeDefaultDriveRemote, PHConnectSentry, PHEdges, PHImageRef, PHKeyframeRule, PHLength, PHPackageProvider, PHReactorClientMode, PHReactorRenown, PHRenownPrivyAdapterConfig, PHRenownRainbowAdapterConfig, PHSchemedColor, PHSchemedImage, PackageManagerArgs, ParsedCmdResult, PathValidation, PowerhouseConfig, PowerhousePackage, ServiceAction, ServiceActions };
2920
4603
  export {};
2921
4604
  //# sourceMappingURL=index.d.mts.map