@farm.js/core 0.2.0-beta.1 → 0.2.0-beta.2

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 (244) hide show
  1. package/dist/{agent-mcp-handler-IUL6OPC3.cjs → agent-mcp-handler-EXOG55M4.cjs} +5 -5
  2. package/dist/{agent-mcp-handler-GDY5CPPW.mjs → agent-mcp-handler-VX4NDDHR.mjs} +4 -4
  3. package/dist/{agent-mcp.d-BdM0pIrD.d.ts → agent-mcp.d-DBaonhLg.d.ts} +1 -1
  4. package/dist/{agent-mcp.d-CMGqpUbk.d.mts → agent-mcp.d-DhCEzIfu.d.mts} +1 -1
  5. package/dist/agent-runtime.cjs +2 -2
  6. package/dist/agent-runtime.d.mts +1 -1
  7. package/dist/agent-runtime.d.ts +1 -1
  8. package/dist/agent-runtime.mjs +1 -1
  9. package/dist/analyzer-OWIHFO5M.cjs +17 -0
  10. package/dist/{analyzer-RYSF2BM3.mjs → analyzer-T2U345WL.mjs} +2 -2
  11. package/dist/api/node.d.mts +3 -3
  12. package/dist/api/node.d.ts +3 -3
  13. package/dist/api/route-manager.d.mts +3 -3
  14. package/dist/api/route-manager.d.ts +3 -3
  15. package/dist/api/runtime.d.mts +2 -2
  16. package/dist/api/runtime.d.ts +2 -2
  17. package/dist/api.d.mts +4 -4
  18. package/dist/api.d.ts +4 -4
  19. package/dist/{app-manifest.d-COhjPgHn.d.ts → app-manifest.d-nLVFFd7N.d.ts} +1 -1
  20. package/dist/{app-manifest.d-BeDB2OVm.d.mts → app-manifest.d-uE0JGZKN.d.mts} +1 -1
  21. package/dist/app-markdown.cjs +6 -4
  22. package/dist/app-markdown.d.mts +3 -3
  23. package/dist/app-markdown.d.ts +3 -3
  24. package/dist/app-markdown.mjs +7 -5
  25. package/dist/{app.d-CoY-zsJt.d.ts → app.d-CwVkAUEU.d.ts} +13 -7
  26. package/dist/{app.d-DE5KNbmf.d.mts → app.d-DGGcNXV7.d.mts} +13 -7
  27. package/dist/{chunk-AG27TI6Q.mjs → chunk-23NBOP43.mjs} +3 -0
  28. package/dist/{chunk-OOOUYA6L.mjs → chunk-26ZTI2ZO.mjs} +4 -4
  29. package/dist/{chunk-CPMK7EFR.mjs → chunk-4Q263EQI.mjs} +2 -2
  30. package/dist/{chunk-2NOHVIJ3.cjs → chunk-5LJF4KUZ.cjs} +17 -4
  31. package/dist/{chunk-5AL2GXAU.mjs → chunk-7MMDEIVC.mjs} +1 -1
  32. package/dist/{chunk-QBXS4TNG.mjs → chunk-BL54BTVJ.mjs} +1 -1
  33. package/dist/{chunk-VZWAXQME.mjs → chunk-BW563VZZ.mjs} +34 -2
  34. package/dist/{chunk-ZPQY7O64.cjs → chunk-CBB7I6HW.cjs} +3 -3
  35. package/dist/{chunk-KMGHXIDA.cjs → chunk-CHOOBTDD.cjs} +2 -2
  36. package/dist/{chunk-ISSFWEPY.mjs → chunk-COK4IXOO.mjs} +35 -18
  37. package/dist/{chunk-YU2MNIIY.mjs → chunk-CRF5MOLO.mjs} +17 -4
  38. package/dist/{chunk-NQ3Y6E2T.mjs → chunk-CV4MOEMO.mjs} +2 -2
  39. package/dist/{chunk-OLKYHTLN.cjs → chunk-DA432P2F.cjs} +5 -5
  40. package/dist/{chunk-B3HQTGXS.cjs → chunk-DVAZ53X6.cjs} +6 -1
  41. package/dist/{chunk-XRSNW4IU.mjs → chunk-E72GG355.mjs} +5 -0
  42. package/dist/{chunk-FJGA3XWL.cjs → chunk-EA5HVG45.cjs} +2 -2
  43. package/dist/{chunk-NG2EZ6QS.cjs → chunk-EODGIFI7.cjs} +4 -2
  44. package/dist/{chunk-Y3DO7BIJ.cjs → chunk-EUZFBHPP.cjs} +3 -0
  45. package/dist/{chunk-KRU3XPOW.cjs → chunk-EXPVSFAG.cjs} +14 -11
  46. package/dist/{chunk-EACD6ND7.cjs → chunk-EZUTDTFM.cjs} +7 -7
  47. package/dist/{chunk-KCJBIWBM.mjs → chunk-GVORDLLV.mjs} +1 -1
  48. package/dist/{chunk-XGL42MQ7.mjs → chunk-HIDZM23B.mjs} +1 -1
  49. package/dist/{chunk-23BZ7ZH6.mjs → chunk-HNB5JHBO.mjs} +5 -2
  50. package/dist/{chunk-DZC2XGK4.mjs → chunk-HVGINJTO.mjs} +81 -28
  51. package/dist/{chunk-EBKYRP2P.mjs → chunk-I5KPOXUE.mjs} +1 -1
  52. package/dist/{chunk-HR5GU4UU.cjs → chunk-ILQSRLKK.cjs} +4 -4
  53. package/dist/{chunk-L4B7PB3H.cjs → chunk-J2EKGR6E.cjs} +1025 -480
  54. package/dist/{chunk-26WP75W5.cjs → chunk-JDT733EW.cjs} +41 -27
  55. package/dist/{chunk-W53Z4WDI.cjs → chunk-JH4CDG4G.cjs} +8 -8
  56. package/dist/{chunk-KQ6TYQU7.cjs → chunk-KDQKTX3Q.cjs} +4 -4
  57. package/dist/{chunk-PEQJ4UUT.mjs → chunk-LP6DIYGA.mjs} +2 -2
  58. package/dist/{chunk-Z7ZRBCAB.mjs → chunk-LQ3FISSD.mjs} +58 -37
  59. package/dist/{chunk-KBIM7PFQ.cjs → chunk-M4YXD6MD.cjs} +272 -219
  60. package/dist/{chunk-6ETHVRFO.cjs → chunk-MWAWMFG3.cjs} +407 -386
  61. package/dist/{chunk-ECVSRE4Y.mjs → chunk-N2BRIN7I.mjs} +1 -1
  62. package/dist/{chunk-MO4UTDQ6.mjs → chunk-NNNMFSXG.mjs} +1 -1
  63. package/dist/{chunk-V3Y3R3JJ.cjs → chunk-NOSLIDSG.cjs} +1 -1
  64. package/dist/{chunk-ICOJ2BC6.mjs → chunk-NWF2FTFV.mjs} +24 -10
  65. package/dist/{chunk-M3JYBZO2.cjs → chunk-OLIWLN4I.cjs} +2 -2
  66. package/dist/{chunk-YPAOC3FO.mjs → chunk-P2TGLGRR.mjs} +4 -4
  67. package/dist/{chunk-THGSPDFD.cjs → chunk-PAKB6JHX.cjs} +7 -7
  68. package/dist/{chunk-NVXU5BEG.mjs → chunk-Q637AXGZ.mjs} +172 -47
  69. package/dist/{chunk-ZZGQD3LL.mjs → chunk-QO24II6C.mjs} +4 -2
  70. package/dist/{chunk-HENPVGZC.cjs → chunk-RBSGFS5X.cjs} +66 -34
  71. package/dist/{chunk-IJPRCQHW.cjs → chunk-RGMUS3HO.cjs} +10 -10
  72. package/dist/{chunk-OIPPISQ6.cjs → chunk-RTAWQXME.cjs} +273 -148
  73. package/dist/{chunk-DMSXZNQR.cjs → chunk-RZI6436F.cjs} +2 -2
  74. package/dist/{chunk-HZY63K5C.mjs → chunk-S6MGFULY.mjs} +2 -2
  75. package/dist/{chunk-5GFTMTX3.cjs → chunk-SAUGKNCF.cjs} +2 -2
  76. package/dist/{chunk-6BMAGVDI.cjs → chunk-SCE7VWPN.cjs} +12 -12
  77. package/dist/{chunk-PKV3JGMS.mjs → chunk-SSFAPTRD.mjs} +1 -1
  78. package/dist/{chunk-ND65INFS.cjs → chunk-SWPLGPYF.cjs} +7 -7
  79. package/dist/{chunk-WP77JDKI.cjs → chunk-UCJCU2IL.cjs} +14 -14
  80. package/dist/{chunk-WX752VMN.mjs → chunk-UCRNNDNS.mjs} +1 -1
  81. package/dist/{chunk-27ESPHQA.cjs → chunk-UGWKNZ4U.cjs} +44 -27
  82. package/dist/{chunk-FLKG2PYH.cjs → chunk-UOMSGJHK.cjs} +11 -11
  83. package/dist/{chunk-2U2GRXP5.mjs → chunk-UWDFH3ZV.mjs} +1 -1
  84. package/dist/{chunk-AMMFRXFW.mjs → chunk-V5FEFFHV.mjs} +1 -1
  85. package/dist/{chunk-HR4N2K4V.mjs → chunk-WABOJXAA.mjs} +2 -2
  86. package/dist/{chunk-LTXKRIST.mjs → chunk-WANLI3ZC.mjs} +2 -2
  87. package/dist/{chunk-HQEYZSF3.cjs → chunk-WPURVYXT.cjs} +2 -2
  88. package/dist/{chunk-TE7AX6HB.mjs → chunk-WV63R4GE.mjs} +1 -1
  89. package/dist/{chunk-CIQCJ72N.mjs → chunk-XOLYZZDX.mjs} +693 -148
  90. package/dist/{chunk-4ZVKDHS6.cjs → chunk-YSRZSKQB.cjs} +4 -4
  91. package/dist/{cli-runtime.d-jqZ7YCsm.d.ts → cli-runtime.d-Dbl-gIoz.d.ts} +5 -5
  92. package/dist/{cli-runtime.d-qL44rqYO.d.mts → cli-runtime.d-oUiNuspW.d.mts} +5 -5
  93. package/dist/{client-component.d-BDD5aiUb.d.ts → client-component.d-CT4q7tmy.d.ts} +1 -1
  94. package/dist/{client-component.d-B2L2LyAr.d.mts → client-component.d-DaUqOhZT.d.mts} +1 -1
  95. package/dist/{client-plugins.d-Crct3m_r.d.ts → client-plugins.d-24qhjX8c.d.ts} +30 -4
  96. package/dist/{client-plugins.d-Dzc3vOw_.d.mts → client-plugins.d-BfGTqbAH.d.mts} +30 -4
  97. package/dist/client-plugins.d.mts +1 -1
  98. package/dist/client-plugins.d.ts +1 -1
  99. package/dist/client.cjs +4 -4
  100. package/dist/client.d.mts +7 -7
  101. package/dist/client.d.ts +7 -7
  102. package/dist/client.mjs +3 -3
  103. package/dist/config.d.mts +1 -1
  104. package/dist/config.d.ts +1 -1
  105. package/dist/desktop.d.mts +2 -2
  106. package/dist/desktop.d.ts +2 -2
  107. package/dist/{devtools-JTJA2KIZ.cjs → devtools-5WDQQDTA.cjs} +6 -6
  108. package/dist/{devtools-5DBTT2DI.mjs → devtools-DPYIYHTI.mjs} +5 -5
  109. package/dist/docs.cjs +8 -8
  110. package/dist/docs.d.mts +3 -3
  111. package/dist/docs.d.ts +3 -3
  112. package/dist/docs.mjs +7 -7
  113. package/dist/environment/vite.cjs +3 -3
  114. package/dist/environment/vite.mjs +2 -2
  115. package/dist/{handler.d-B1S1ZBqS.d.mts → handler.d-GfNuz57p.d.mts} +1 -1
  116. package/dist/{handler.d-ZweCBJD4.d.ts → handler.d-Oca5kNSz.d.ts} +1 -1
  117. package/dist/{headers.d-C-yGl_f6.d.mts → headers.d-C_lsQIWA.d.mts} +1 -1
  118. package/dist/{headers.d-BgBdQN8x.d.ts → headers.d-b8gHJDvu.d.ts} +1 -1
  119. package/dist/index.cjs +33 -29
  120. package/dist/{index.d-13h3oDu7.d.mts → index.d-BLtjh1aS.d.mts} +1 -1
  121. package/dist/{index.d-CtoniAXT.d.ts → index.d-Ckv6kHFm.d.ts} +1 -1
  122. package/dist/index.d.mts +23 -23
  123. package/dist/index.d.ts +23 -23
  124. package/dist/index.mjs +34 -30
  125. package/dist/integrations/orm.d.mts +1 -1
  126. package/dist/integrations/orm.d.ts +1 -1
  127. package/dist/integrations.cjs +4 -2
  128. package/dist/integrations.d.mts +1 -1
  129. package/dist/integrations.d.ts +1 -1
  130. package/dist/integrations.mjs +3 -1
  131. package/dist/internal/app-markdown-runtime.cjs +5 -3
  132. package/dist/internal/app-markdown-runtime.d.mts +10 -5
  133. package/dist/internal/app-markdown-runtime.d.ts +10 -5
  134. package/dist/internal/app-markdown-runtime.mjs +6 -4
  135. package/dist/internal/build-runtime.cjs +26 -26
  136. package/dist/internal/build-runtime.d.mts +4 -4
  137. package/dist/internal/build-runtime.d.ts +4 -4
  138. package/dist/internal/build-runtime.mjs +25 -25
  139. package/dist/internal/cli-runtime.cjs +10 -10
  140. package/dist/internal/cli-runtime.d.mts +7 -7
  141. package/dist/internal/cli-runtime.d.ts +7 -7
  142. package/dist/internal/cli-runtime.mjs +9 -9
  143. package/dist/internal/client-error-overlay.cjs +4 -4
  144. package/dist/internal/client-error-overlay.mjs +1 -1
  145. package/dist/internal/client-runtime.d.mts +5 -5
  146. package/dist/internal/client-runtime.d.ts +5 -5
  147. package/dist/internal/compression-runtime.d.mts +1 -1
  148. package/dist/internal/compression-runtime.d.ts +1 -1
  149. package/dist/internal/config-runtime.cjs +7 -7
  150. package/dist/internal/config-runtime.d.mts +3 -3
  151. package/dist/internal/config-runtime.d.ts +3 -3
  152. package/dist/internal/config-runtime.mjs +6 -6
  153. package/dist/internal/infra-analytics-runtime.cjs +9 -9
  154. package/dist/internal/infra-analytics-runtime.mjs +7 -7
  155. package/dist/internal/metadata-image-runtime.d.mts +2 -2
  156. package/dist/internal/metadata-image-runtime.d.ts +2 -2
  157. package/dist/internal/native-server-fns.cjs +4 -4
  158. package/dist/internal/native-server-fns.mjs +3 -3
  159. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  160. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  161. package/dist/internal/production-node-env.cjs +2 -2
  162. package/dist/internal/production-node-env.mjs +1 -1
  163. package/dist/internal/production-runtime.cjs +12 -12
  164. package/dist/internal/production-runtime.d.mts +10 -10
  165. package/dist/internal/production-runtime.d.ts +10 -10
  166. package/dist/internal/production-runtime.mjs +11 -11
  167. package/dist/internal/spa-router.cjs +3 -3
  168. package/dist/internal/spa-router.d.mts +3 -3
  169. package/dist/internal/spa-router.d.ts +3 -3
  170. package/dist/internal/spa-router.mjs +2 -2
  171. package/dist/internal/start-manifest.d.mts +1 -1
  172. package/dist/internal/start-manifest.d.ts +1 -1
  173. package/dist/markdown.cjs +2 -2
  174. package/dist/markdown.d.mts +1 -1
  175. package/dist/markdown.d.ts +1 -1
  176. package/dist/markdown.mjs +1 -1
  177. package/dist/middleware.d.mts +1 -1
  178. package/dist/middleware.d.ts +1 -1
  179. package/dist/{mount.d-_6Un9wdK.d.mts → mount.d-BCS8mD4E.d.mts} +1 -1
  180. package/dist/{mount.d-DyKlRR6z.d.ts → mount.d-DEX8eref.d.ts} +1 -1
  181. package/dist/{native-tree-5TENEQ7Y.cjs → native-tree-52CUAP3N.cjs} +3 -3
  182. package/dist/{native-tree-LNO7K6JR.mjs → native-tree-AO7PQ7FR.mjs} +2 -2
  183. package/dist/{navigation-delegate.d-BbW1_pf_.d.ts → navigation-delegate.d-Cgi28e5Q.d.ts} +1 -1
  184. package/dist/{navigation-delegate.d-B9GjWbov.d.mts → navigation-delegate.d-F83ugsZW.d.mts} +1 -1
  185. package/dist/navigation.cjs +5 -5
  186. package/dist/navigation.d.mts +4 -4
  187. package/dist/navigation.d.ts +4 -4
  188. package/dist/navigation.mjs +4 -4
  189. package/dist/plugin.cjs +19 -19
  190. package/dist/plugin.d.mts +5 -5
  191. package/dist/plugin.d.ts +5 -5
  192. package/dist/plugin.mjs +18 -18
  193. package/dist/query/client.cjs +7 -7
  194. package/dist/query/client.mjs +2 -2
  195. package/dist/{render-plan.d-DaM1NPnm.d.mts → render-plan.d-BkVY4aFb.d.mts} +1 -1
  196. package/dist/{render-plan.d-D0FV9lDT.d.ts → render-plan.d-DCF2GZdD.d.ts} +1 -1
  197. package/dist/renderer-client.cjs +5 -5
  198. package/dist/renderer-client.d.mts +5 -5
  199. package/dist/renderer-client.d.ts +5 -5
  200. package/dist/renderer-client.mjs +2 -2
  201. package/dist/renderer.d.mts +22 -11
  202. package/dist/renderer.d.ts +22 -11
  203. package/dist/{request.d-CrXC7voZ.d.ts → request.d-C5o-4dU2.d.ts} +1 -1
  204. package/dist/{request.d-DVSLilGx.d.mts → request.d-DMPB53-i.d.mts} +1 -1
  205. package/dist/request.d.mts +2 -2
  206. package/dist/request.d.ts +2 -2
  207. package/dist/{route-rendering.d-CWi3UYtR.d.mts → route-rendering.d-DDvArvik.d.mts} +1 -1
  208. package/dist/{route-rendering.d-OfbM_rj8.d.ts → route-rendering.d-DfP6zRP7.d.ts} +1 -1
  209. package/dist/{router.d-YKVirmj4.d.mts → router.d-1Skf2XCO.d.mts} +1 -1
  210. package/dist/{router.d-Bm9FNSu3.d.ts → router.d-s40h7aoS.d.ts} +1 -1
  211. package/dist/routes.d.mts +3 -3
  212. package/dist/routes.d.ts +3 -3
  213. package/dist/{rsc-pipeline-W5DSWDHD.mjs → rsc-pipeline-O2YMVHUF.mjs} +7 -7
  214. package/dist/{rsc-pipeline-LGXJGGMW.cjs → rsc-pipeline-SFQSMVI7.cjs} +8 -8
  215. package/dist/{runtime-UOZKSM5S.mjs → runtime-K2X3IZAF.mjs} +6 -6
  216. package/dist/{runtime-YV4X5FAK.cjs → runtime-WOTVFYQY.cjs} +8 -8
  217. package/dist/{runtime.d-BVj6apd0.d.mts → runtime.d-Bykc5Qfg.d.mts} +1 -1
  218. package/dist/{runtime.d-D7QYVJGO.d.ts → runtime.d-k-9kFUsM.d.ts} +1 -1
  219. package/dist/{server-components-status.d-BDVcxi0z.d.mts → server-components-status.d-D-HixBe0.d.mts} +1 -1
  220. package/dist/{server-components-status.d-CfKDpmCH.d.ts → server-components-status.d-DLNd1C5j.d.ts} +1 -1
  221. package/dist/server-plugins.d.mts +3 -3
  222. package/dist/server-plugins.d.ts +3 -3
  223. package/dist/server.cjs +41 -41
  224. package/dist/server.d.mts +11 -11
  225. package/dist/server.d.ts +11 -11
  226. package/dist/server.mjs +20 -20
  227. package/dist/{spa-router.d-DGmropfK.d.mts → spa-router.d-DIlXwm00.d.mts} +2 -2
  228. package/dist/{spa-router.d-nE1jHNGt.d.ts → spa-router.d-Dl-EJeJT.d.ts} +2 -2
  229. package/dist/{ssg.d-DS-gXUbf.d.mts → ssg.d-D2ZV0bhs.d.mts} +2 -2
  230. package/dist/{ssg.d-jXlUAKzg.d.ts → ssg.d-bE-ylg0e.d.ts} +2 -2
  231. package/dist/{store-core.d-B5cwOd8g.d.ts → store-core.d-BmdnMopD.d.ts} +2 -2
  232. package/dist/{store-core.d-C-gATBwd.d.mts → store-core.d-DPsCYzV7.d.mts} +2 -2
  233. package/dist/testing.d.mts +1 -1
  234. package/dist/testing.d.ts +1 -1
  235. package/dist/{utils.d-BODwBtkz.d.ts → utils.d-BFZQcBZV.d.ts} +1 -1
  236. package/dist/{utils.d-Cmj-fzds.d.mts → utils.d-nM3OHKq5.d.mts} +1 -1
  237. package/dist/version.cjs +2 -2
  238. package/dist/version.mjs +1 -1
  239. package/dist/vite.cjs +19 -19
  240. package/dist/vite.d.mts +6 -6
  241. package/dist/vite.d.ts +6 -6
  242. package/dist/vite.mjs +18 -18
  243. package/package.json +1 -1
  244. package/dist/analyzer-IIWSUXSQ.cjs +0 -17
@@ -260,11 +260,11 @@ interface FarmRendererCapabilities {
260
260
  /**
261
261
  * Whether the server module exports `withIsland`, so a client component rendered from server
262
262
  * output hydrates as its own island when the app sets
263
- * `experimental.isolatedClientHydration: "enabled"`. Experimental.
263
+ * `experimental.serverComponents: { mode: "islands" }`. Experimental.
264
264
  *
265
265
  * Farm wraps each export of a client module in the server graph with `withIsland`, and the
266
266
  * browser starts each island with the client module's `createElement` and `hydrateRoot`.
267
- * Without it, those apps take the path they take today.
267
+ * Without it, that config fails `farm dev` and `farm build`.
268
268
  */
269
269
  islands: boolean;
270
270
  }
@@ -316,7 +316,7 @@ interface FarmRendererClientRoot {
316
316
  * Named exports of a renderer client module. Farm's development and production client entries
317
317
  * import them by name, so the module needs no default export.
318
318
  */
319
- interface FarmRendererClientRuntime {
319
+ interface FarmRendererClientModule {
320
320
  /** Builds the route tree in the browser, as the server module's createElement() does. */
321
321
  createElement(type: unknown, props?: unknown, ...children: unknown[]): unknown;
322
322
  /** Wraps a page that has a loading file while the browser navigates to it. */
@@ -331,6 +331,8 @@ interface FarmRendererClientRuntime {
331
331
  /** Receives the descriptor's `appSetup` module. Required when the descriptor sets `appSetup`. */
332
332
  configureApp?(setup: unknown): void;
333
333
  }
334
+ /** @deprecated Use `FarmRendererClientModule`. */
335
+ type FarmRendererClientRuntime = FarmRendererClientModule;
334
336
  declare function getFarmRendererCapabilities(renderer?: Pick<FarmRenderer, "capabilities">): FarmRendererCapabilities;
335
337
  declare function getFarmRendererStreamingCapabilitiesForRuntime(renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
336
338
  /**
@@ -343,7 +345,7 @@ declare function assertFarmRendererServerModule(runtime: unknown, renderer: {
343
345
  readonly server: string;
344
346
  readonly capabilities?: Pick<FarmRendererCapabilitiesInput, "islands">;
345
347
  }): void;
346
- declare function assertFarmRendererStreamingRuntime(name: string, renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtimeModule: Pick<Partial<FarmServerRendererRuntime>, "capabilities" | "renderToPipeableStream" | "renderToReadableStream">, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
348
+ declare function assertFarmRendererStreamingRuntime(name: string, renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtimeModule: Pick<Partial<FarmRendererServerModule>, "capabilities" | "renderToPipeableStream" | "renderToReadableStream">, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
347
349
  declare const FARM_COMPONENT_EXTENSIONS: readonly [".ts", ".tsx", ".js", ".jsx"];
348
350
  declare function resolveFarmComponentExtensions(extensions?: readonly string[]): string[];
349
351
  declare function getFarmRendererComponentExtensions(renderer?: Pick<FarmRenderer, "componentExtensions">): string[];
@@ -368,15 +370,22 @@ interface FarmRendererRenderOptions {
368
370
  * Named exports of a renderer server module. Farm's development server and its production SSR
369
371
  * entry import them by name, so the module needs no default export.
370
372
  */
371
- interface FarmServerRendererRuntime {
373
+ interface FarmRendererServerModule {
372
374
  readonly name: string;
373
375
  readonly Fragment: unknown;
374
376
  readonly Suspense: unknown;
375
377
  createElement(type: unknown, props?: unknown, ...children: unknown[]): unknown;
376
378
  isValidElement(value: unknown): boolean;
377
- /** Wraps a route-owned client tree so compiled leaf boundaries stay inside that React root. */
379
+ /**
380
+ * Marks a tree that hydrates as one root: a client page, or a `"use client"` layout and what it
381
+ * renders. `withIsland` renders a client component inside it plain, as part of that root. Farm
382
+ * calls it only when the app has islands, and renders what it returns.
383
+ */
378
384
  wrapClientGraph?(element: unknown): unknown;
379
- /** Lets a server-only page under a route-owned client tree render its own isolated islands. */
385
+ /**
386
+ * Marks a server page that a hydrating layout keeps as HTML. `withIsland` renders the client
387
+ * components inside it as islands again.
388
+ */
380
389
  isolateServerPageGraph?(element: unknown): unknown;
381
390
  /** Resolves an async page below a hydrating layout into a tree the browser rebuilds there. */
382
391
  renderServerTreePage?(element: unknown, options?: {
@@ -385,9 +394,9 @@ interface FarmServerRendererRuntime {
385
394
  /**
386
395
  * Wraps a client component so that, rendered from server output, it starts an island: it calls
387
396
  * `resolveFarmIsland` and renders the result around the component. Inside a tree that
388
- * `wrapClientGraph` marks, it renders the component plain. Farm calls it on each export of a
389
- * client module in the server graph. Required when the descriptor declares
390
- * `capabilities.islands`.
397
+ * `wrapClientGraph` marks, it renders the component plain, unless `isolateServerPageGraph`
398
+ * marks a page in between. Farm calls it on each export of a client module in the server graph.
399
+ * Required when the descriptor declares `capabilities.islands`.
391
400
  */
392
401
  withIsland?(component: unknown, reference: FarmIslandReference): unknown;
393
402
  /**
@@ -475,6 +484,8 @@ interface FarmServerRendererRuntime {
475
484
  onError?(error: unknown): void;
476
485
  }) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
477
486
  }
487
+ /** @deprecated Use `FarmRendererServerModule`. */
488
+ type FarmServerRendererRuntime = FarmRendererServerModule;
478
489
  declare const REACT_RENDERER: Readonly<FarmRenderer>;
479
490
  /**
480
491
  * The renderer an app gets with `renderer: false`: it has no pages, so it builds no browser
@@ -504,4 +515,4 @@ declare function loadFarmRendererVitePlugins(renderer: FarmRenderer, root: strin
504
515
  buildLifetime?: AbortSignal;
505
516
  }): Promise<unknown[]>;
506
517
 
507
- export { FARM_COMPONENT_EXTENSIONS, type FarmIslandAttributes, type FarmIslandReference, type FarmIslandScript, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererHydration, type FarmRendererHydrationOptions, type FarmRendererRenderOptions, type FarmRendererRoute, type FarmRendererRouteFile, type FarmRendererRouteKind, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRoutes, type FarmRendererRoutesContext, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmResolvedIsland, type FarmServerRendererRuntime, NO_RENDERER, REACT_RENDERER, assertFarmRendererServerModule, assertFarmRendererStreamingRuntime, createFarmRendererHookError, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isFarmRendererDisabled, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererHydration, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmIsland, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
518
+ export { FARM_COMPONENT_EXTENSIONS, type FarmIslandAttributes, type FarmIslandReference, type FarmIslandScript, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientModule, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererHydration, type FarmRendererHydrationOptions, type FarmRendererRenderOptions, type FarmRendererRoute, type FarmRendererRouteFile, type FarmRendererRouteKind, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRoutes, type FarmRendererRoutesContext, type FarmRendererRuntime, type FarmRendererServerModule, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmResolvedIsland, type FarmServerRendererRuntime, NO_RENDERER, REACT_RENDERER, assertFarmRendererServerModule, assertFarmRendererStreamingRuntime, createFarmRendererHookError, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isFarmRendererDisabled, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererHydration, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmIsland, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
@@ -260,11 +260,11 @@ interface FarmRendererCapabilities {
260
260
  /**
261
261
  * Whether the server module exports `withIsland`, so a client component rendered from server
262
262
  * output hydrates as its own island when the app sets
263
- * `experimental.isolatedClientHydration: "enabled"`. Experimental.
263
+ * `experimental.serverComponents: { mode: "islands" }`. Experimental.
264
264
  *
265
265
  * Farm wraps each export of a client module in the server graph with `withIsland`, and the
266
266
  * browser starts each island with the client module's `createElement` and `hydrateRoot`.
267
- * Without it, those apps take the path they take today.
267
+ * Without it, that config fails `farm dev` and `farm build`.
268
268
  */
269
269
  islands: boolean;
270
270
  }
@@ -316,7 +316,7 @@ interface FarmRendererClientRoot {
316
316
  * Named exports of a renderer client module. Farm's development and production client entries
317
317
  * import them by name, so the module needs no default export.
318
318
  */
319
- interface FarmRendererClientRuntime {
319
+ interface FarmRendererClientModule {
320
320
  /** Builds the route tree in the browser, as the server module's createElement() does. */
321
321
  createElement(type: unknown, props?: unknown, ...children: unknown[]): unknown;
322
322
  /** Wraps a page that has a loading file while the browser navigates to it. */
@@ -331,6 +331,8 @@ interface FarmRendererClientRuntime {
331
331
  /** Receives the descriptor's `appSetup` module. Required when the descriptor sets `appSetup`. */
332
332
  configureApp?(setup: unknown): void;
333
333
  }
334
+ /** @deprecated Use `FarmRendererClientModule`. */
335
+ type FarmRendererClientRuntime = FarmRendererClientModule;
334
336
  declare function getFarmRendererCapabilities(renderer?: Pick<FarmRenderer, "capabilities">): FarmRendererCapabilities;
335
337
  declare function getFarmRendererStreamingCapabilitiesForRuntime(renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
336
338
  /**
@@ -343,7 +345,7 @@ declare function assertFarmRendererServerModule(runtime: unknown, renderer: {
343
345
  readonly server: string;
344
346
  readonly capabilities?: Pick<FarmRendererCapabilitiesInput, "islands">;
345
347
  }): void;
346
- declare function assertFarmRendererStreamingRuntime(name: string, renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtimeModule: Pick<Partial<FarmServerRendererRuntime>, "capabilities" | "renderToPipeableStream" | "renderToReadableStream">, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
348
+ declare function assertFarmRendererStreamingRuntime(name: string, renderer: Pick<FarmRenderer, "capabilities"> | undefined, runtimeModule: Pick<Partial<FarmRendererServerModule>, "capabilities" | "renderToPipeableStream" | "renderToReadableStream">, runtime: FarmRendererRuntime | "unknown"): FarmRendererStreamingPrimitives;
347
349
  declare const FARM_COMPONENT_EXTENSIONS: readonly [".ts", ".tsx", ".js", ".jsx"];
348
350
  declare function resolveFarmComponentExtensions(extensions?: readonly string[]): string[];
349
351
  declare function getFarmRendererComponentExtensions(renderer?: Pick<FarmRenderer, "componentExtensions">): string[];
@@ -368,15 +370,22 @@ interface FarmRendererRenderOptions {
368
370
  * Named exports of a renderer server module. Farm's development server and its production SSR
369
371
  * entry import them by name, so the module needs no default export.
370
372
  */
371
- interface FarmServerRendererRuntime {
373
+ interface FarmRendererServerModule {
372
374
  readonly name: string;
373
375
  readonly Fragment: unknown;
374
376
  readonly Suspense: unknown;
375
377
  createElement(type: unknown, props?: unknown, ...children: unknown[]): unknown;
376
378
  isValidElement(value: unknown): boolean;
377
- /** Wraps a route-owned client tree so compiled leaf boundaries stay inside that React root. */
379
+ /**
380
+ * Marks a tree that hydrates as one root: a client page, or a `"use client"` layout and what it
381
+ * renders. `withIsland` renders a client component inside it plain, as part of that root. Farm
382
+ * calls it only when the app has islands, and renders what it returns.
383
+ */
378
384
  wrapClientGraph?(element: unknown): unknown;
379
- /** Lets a server-only page under a route-owned client tree render its own isolated islands. */
385
+ /**
386
+ * Marks a server page that a hydrating layout keeps as HTML. `withIsland` renders the client
387
+ * components inside it as islands again.
388
+ */
380
389
  isolateServerPageGraph?(element: unknown): unknown;
381
390
  /** Resolves an async page below a hydrating layout into a tree the browser rebuilds there. */
382
391
  renderServerTreePage?(element: unknown, options?: {
@@ -385,9 +394,9 @@ interface FarmServerRendererRuntime {
385
394
  /**
386
395
  * Wraps a client component so that, rendered from server output, it starts an island: it calls
387
396
  * `resolveFarmIsland` and renders the result around the component. Inside a tree that
388
- * `wrapClientGraph` marks, it renders the component plain. Farm calls it on each export of a
389
- * client module in the server graph. Required when the descriptor declares
390
- * `capabilities.islands`.
397
+ * `wrapClientGraph` marks, it renders the component plain, unless `isolateServerPageGraph`
398
+ * marks a page in between. Farm calls it on each export of a client module in the server graph.
399
+ * Required when the descriptor declares `capabilities.islands`.
391
400
  */
392
401
  withIsland?(component: unknown, reference: FarmIslandReference): unknown;
393
402
  /**
@@ -475,6 +484,8 @@ interface FarmServerRendererRuntime {
475
484
  onError?(error: unknown): void;
476
485
  }) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
477
486
  }
487
+ /** @deprecated Use `FarmRendererServerModule`. */
488
+ type FarmServerRendererRuntime = FarmRendererServerModule;
478
489
  declare const REACT_RENDERER: Readonly<FarmRenderer>;
479
490
  /**
480
491
  * The renderer an app gets with `renderer: false`: it has no pages, so it builds no browser
@@ -504,4 +515,4 @@ declare function loadFarmRendererVitePlugins(renderer: FarmRenderer, root: strin
504
515
  buildLifetime?: AbortSignal;
505
516
  }): Promise<unknown[]>;
506
517
 
507
- export { FARM_COMPONENT_EXTENSIONS, type FarmIslandAttributes, type FarmIslandReference, type FarmIslandScript, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererHydration, type FarmRendererHydrationOptions, type FarmRendererRenderOptions, type FarmRendererRoute, type FarmRendererRouteFile, type FarmRendererRouteKind, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRoutes, type FarmRendererRoutesContext, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmResolvedIsland, type FarmServerRendererRuntime, NO_RENDERER, REACT_RENDERER, assertFarmRendererServerModule, assertFarmRendererStreamingRuntime, createFarmRendererHookError, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isFarmRendererDisabled, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererHydration, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmIsland, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
518
+ export { FARM_COMPONENT_EXTENSIONS, type FarmIslandAttributes, type FarmIslandReference, type FarmIslandScript, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientModule, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererHydration, type FarmRendererHydrationOptions, type FarmRendererRenderOptions, type FarmRendererRoute, type FarmRendererRouteFile, type FarmRendererRouteKind, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRoutes, type FarmRendererRoutesContext, type FarmRendererRuntime, type FarmRendererServerModule, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmResolvedIsland, type FarmServerRendererRuntime, NO_RENDERER, REACT_RENDERER, assertFarmRendererServerModule, assertFarmRendererStreamingRuntime, createFarmRendererHookError, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isFarmRendererDisabled, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererHydration, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmIsland, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
@@ -1,4 +1,4 @@
1
- import './client-plugins.d-Crct3m_r.js';
1
+ import './client-plugins.d-24qhjX8c.js';
2
2
 
3
3
  /**
4
4
  * @internal How many times code that may read the visitor's cookies was handed `request`
@@ -1,4 +1,4 @@
1
- import './client-plugins.d-Dzc3vOw_.mjs';
1
+ import './client-plugins.d-BfGTqbAH.mjs';
2
2
 
3
3
  /**
4
4
  * @internal How many times code that may read the visitor's cookies was handed `request`
@@ -1,5 +1,5 @@
1
- export { g as getCurrentRequest } from './request.d-DVSLilGx.mjs';
2
- import './client-plugins.d-Dzc3vOw_.mjs';
1
+ export { g as getCurrentRequest } from './request.d-DMPB53-i.mjs';
2
+ import './client-plugins.d-BfGTqbAH.mjs';
3
3
  import './lifecycle.d-OtGWAvJT.mjs';
4
4
  import './route.d-ShmtqqVQ.mjs';
5
5
  import './endpoint.d-BXbBpKoh.mjs';
package/dist/request.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { g as getCurrentRequest } from './request.d-CrXC7voZ.js';
2
- import './client-plugins.d-Crct3m_r.js';
1
+ export { g as getCurrentRequest } from './request.d-C5o-4dU2.js';
2
+ import './client-plugins.d-24qhjX8c.js';
3
3
  import './lifecycle.d-OtGWAvJT.js';
4
4
  import './route.d-Cd4Fi6BA.js';
5
5
  import './endpoint.d-Dx_1k6Du.js';
@@ -1,4 +1,4 @@
1
- import { e as RouteModule } from './client-plugins.d-Dzc3vOw_.mjs';
1
+ import { e as RouteModule } from './client-plugins.d-BfGTqbAH.mjs';
2
2
 
3
3
  /**
4
4
  * The rendering-mode merge shared by every consumer of route directives.
@@ -1,4 +1,4 @@
1
- import { e as RouteModule } from './client-plugins.d-Crct3m_r.js';
1
+ import { e as RouteModule } from './client-plugins.d-24qhjX8c.js';
2
2
 
3
3
  /**
4
4
  * The rendering-mode merge shared by every consumer of route directives.
@@ -1,6 +1,6 @@
1
1
  import { RefObject } from 'react';
2
2
  import { FarmRouterRouteInput } from './router.mjs';
3
- import { F as FarmNavigationBlockerContext, a as FarmNavigationState } from './spa-router.d-DGmropfK.mjs';
3
+ import { F as FarmNavigationBlockerContext, a as FarmNavigationState } from './spa-router.d-DIlXwm00.mjs';
4
4
 
5
5
  interface UseRouterOptions {
6
6
  basePath?: string;
@@ -1,6 +1,6 @@
1
1
  import { RefObject } from 'react';
2
2
  import { FarmRouterRouteInput } from './router.js';
3
- import { F as FarmNavigationBlockerContext, a as FarmNavigationState } from './spa-router.d-nE1jHNGt.js';
3
+ import { F as FarmNavigationBlockerContext, a as FarmNavigationState } from './spa-router.d-Dl-EJeJT.js';
4
4
 
5
5
  interface UseRouterOptions {
6
6
  basePath?: string;
package/dist/routes.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { o as FarmAppContext, p as PageProps, q as FarmSearchParams, s as PluginContextProps, b as FarmRouteRuntimeConfig, M as Metadata, e as RouteModule, L as LayoutProps, t as FarmRouteRuntime, u as FarmRouteRegions, v as FarmRouteMaxDuration, P as ParsedRoute } from './client-plugins.d-Dzc3vOw_.mjs';
1
+ import { o as FarmAppContext, p as PageProps, q as FarmSearchParams, s as PluginContextProps, b as FarmRouteRuntimeConfig, M as Metadata, e as RouteModule, L as LayoutProps, t as FarmRouteRuntime, u as FarmRouteRegions, v as FarmRouteMaxDuration, P as ParsedRoute } from './client-plugins.d-BfGTqbAH.mjs';
2
2
  import { ComponentType } from 'react';
3
3
  import { RouteDataCacheKey } from './cache.mjs';
4
4
  import { ServerFn } from './server-fn.mjs';
5
- import { FarmServerRendererRuntime } from './renderer.mjs';
5
+ import { FarmRendererServerModule } from './renderer.mjs';
6
6
  import './lifecycle.d-OtGWAvJT.mjs';
7
7
  import './route.d-ShmtqqVQ.mjs';
8
8
  import './endpoint.d-BXbBpKoh.mjs';
@@ -264,7 +264,7 @@ declare function parseProgrammaticRouteModuleId(moduleId: string): {
264
264
  routePath: string;
265
265
  } | null;
266
266
  declare function parseProgrammaticRoutePath(routePath: string, type?: ParsedRoute["type"]): ParsedRoute;
267
- declare function createRouteModuleFromProgrammaticPage(route: ProgrammaticPageRoute, rendererRuntime?: Pick<FarmServerRendererRuntime, "createElement" | "Suspense" | "markFunctionComponent">): RouteModule;
267
+ declare function createRouteModuleFromProgrammaticPage(route: ProgrammaticPageRoute, rendererRuntime?: Pick<FarmRendererServerModule, "createElement" | "Suspense" | "markFunctionComponent">): RouteModule;
268
268
  declare function createLayoutModuleFromProgrammaticLayout(route: ProgrammaticLayoutRoute): {
269
269
  metadata: (Metadata & Record<string, any>) | undefined;
270
270
  generateMetadata: ((props: {
package/dist/routes.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { o as FarmAppContext, p as PageProps, q as FarmSearchParams, s as PluginContextProps, b as FarmRouteRuntimeConfig, M as Metadata, e as RouteModule, L as LayoutProps, t as FarmRouteRuntime, u as FarmRouteRegions, v as FarmRouteMaxDuration, P as ParsedRoute } from './client-plugins.d-Crct3m_r.js';
1
+ import { o as FarmAppContext, p as PageProps, q as FarmSearchParams, s as PluginContextProps, b as FarmRouteRuntimeConfig, M as Metadata, e as RouteModule, L as LayoutProps, t as FarmRouteRuntime, u as FarmRouteRegions, v as FarmRouteMaxDuration, P as ParsedRoute } from './client-plugins.d-24qhjX8c.js';
2
2
  import { ComponentType } from 'react';
3
3
  import { RouteDataCacheKey } from './cache.js';
4
4
  import { ServerFn } from './server-fn.js';
5
- import { FarmServerRendererRuntime } from './renderer.js';
5
+ import { FarmRendererServerModule } from './renderer.js';
6
6
  import './lifecycle.d-OtGWAvJT.js';
7
7
  import './route.d-Cd4Fi6BA.js';
8
8
  import './endpoint.d-Dx_1k6Du.js';
@@ -264,7 +264,7 @@ declare function parseProgrammaticRouteModuleId(moduleId: string): {
264
264
  routePath: string;
265
265
  } | null;
266
266
  declare function parseProgrammaticRoutePath(routePath: string, type?: ParsedRoute["type"]): ParsedRoute;
267
- declare function createRouteModuleFromProgrammaticPage(route: ProgrammaticPageRoute, rendererRuntime?: Pick<FarmServerRendererRuntime, "createElement" | "Suspense" | "markFunctionComponent">): RouteModule;
267
+ declare function createRouteModuleFromProgrammaticPage(route: ProgrammaticPageRoute, rendererRuntime?: Pick<FarmRendererServerModule, "createElement" | "Suspense" | "markFunctionComponent">): RouteModule;
268
268
  declare function createLayoutModuleFromProgrammaticLayout(route: ProgrammaticLayoutRoute): {
269
269
  metadata: (Metadata & Record<string, any>) | undefined;
270
270
  generateMetadata: ((props: {
@@ -2,12 +2,12 @@ import {
2
2
  buildFarmRsc,
3
3
  createFarmRscDevServer,
4
4
  createFarmRscViteConfig
5
- } from "./chunk-CPMK7EFR.mjs";
5
+ } from "./chunk-4Q263EQI.mjs";
6
6
  import "./chunk-RLEAVG6G.mjs";
7
- import "./chunk-OOOUYA6L.mjs";
7
+ import "./chunk-26ZTI2ZO.mjs";
8
8
  import "./chunk-VISQDC6W.mjs";
9
9
  import "./chunk-7V5M43ND.mjs";
10
- import "./chunk-MO4UTDQ6.mjs";
10
+ import "./chunk-NNNMFSXG.mjs";
11
11
  import "./chunk-SMUW7UST.mjs";
12
12
  import "./chunk-UB7RVEMX.mjs";
13
13
  import {
@@ -22,9 +22,9 @@ import "./chunk-YVVY276M.mjs";
22
22
  import "./chunk-XR2ZIBQK.mjs";
23
23
  import "./chunk-CU5SYTJG.mjs";
24
24
  import "./chunk-X2SMVPLH.mjs";
25
- import "./chunk-NQ3Y6E2T.mjs";
25
+ import "./chunk-CV4MOEMO.mjs";
26
26
  import "./chunk-SQ5O7I3L.mjs";
27
- import "./chunk-XGL42MQ7.mjs";
27
+ import "./chunk-HIDZM23B.mjs";
28
28
  import "./chunk-22W4FNTG.mjs";
29
29
  import "./chunk-RJBUI5AN.mjs";
30
30
  import "./chunk-Z3RM3VA2.mjs";
@@ -34,13 +34,13 @@ import "./chunk-7VJXYB6S.mjs";
34
34
  import "./chunk-NLATR3T3.mjs";
35
35
  import "./chunk-N33DLJBC.mjs";
36
36
  import "./chunk-UIJOLBUL.mjs";
37
- import "./chunk-YU2MNIIY.mjs";
37
+ import "./chunk-CRF5MOLO.mjs";
38
38
  import "./chunk-AYDVUCXD.mjs";
39
39
  import "./chunk-LTOT5KVJ.mjs";
40
40
  import "./chunk-WXFY5JIY.mjs";
41
41
  import "./chunk-YP7YO3S3.mjs";
42
42
  import "./chunk-YWPNIYUP.mjs";
43
- import "./chunk-XRSNW4IU.mjs";
43
+ import "./chunk-E72GG355.mjs";
44
44
  import "./chunk-H4WUWLQR.mjs";
45
45
  import "./chunk-CZOXZ6WQ.mjs";
46
46
  import "./chunk-VZBAW44S.mjs";
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkND65INFScjs = require('./chunk-ND65INFS.cjs');
5
+ var _chunkSWPLGPYFcjs = require('./chunk-SWPLGPYF.cjs');
6
6
  require('./chunk-PWMJBCAN.cjs');
7
- require('./chunk-FLKG2PYH.cjs');
7
+ require('./chunk-UOMSGJHK.cjs');
8
8
  require('./chunk-OZC2JPW6.cjs');
9
9
  require('./chunk-Y2FEFQAY.cjs');
10
- require('./chunk-DMSXZNQR.cjs');
10
+ require('./chunk-RZI6436F.cjs');
11
11
  require('./chunk-AQLHD6HZ.cjs');
12
12
  require('./chunk-YKHRCY4T.cjs');
13
13
 
@@ -22,9 +22,9 @@ require('./chunk-IIHZ2BEE.cjs');
22
22
  require('./chunk-LSHX2H5G.cjs');
23
23
  require('./chunk-STF6VDYQ.cjs');
24
24
  require('./chunk-Z43CIBUR.cjs');
25
- require('./chunk-EACD6ND7.cjs');
25
+ require('./chunk-EZUTDTFM.cjs');
26
26
  require('./chunk-BTVDYS4B.cjs');
27
- require('./chunk-OLKYHTLN.cjs');
27
+ require('./chunk-DA432P2F.cjs');
28
28
  require('./chunk-6JHZPB52.cjs');
29
29
  require('./chunk-MNUYXZV7.cjs');
30
30
  require('./chunk-52Q4OB4A.cjs');
@@ -34,13 +34,13 @@ require('./chunk-HQKCSJEH.cjs');
34
34
  require('./chunk-XRFGOYXG.cjs');
35
35
  require('./chunk-3EIPOTZV.cjs');
36
36
  require('./chunk-2HW5LWAH.cjs');
37
- require('./chunk-2NOHVIJ3.cjs');
37
+ require('./chunk-5LJF4KUZ.cjs');
38
38
  require('./chunk-PWDBWXQI.cjs');
39
39
  require('./chunk-BSX5OGSD.cjs');
40
40
  require('./chunk-2KMIJDY6.cjs');
41
41
  require('./chunk-SHIWRBFI.cjs');
42
42
  require('./chunk-WT6RAN2I.cjs');
43
- require('./chunk-B3HQTGXS.cjs');
43
+ require('./chunk-DVAZ53X6.cjs');
44
44
  require('./chunk-DUIP64BF.cjs');
45
45
  require('./chunk-QKW6DLDT.cjs');
46
46
  require('./chunk-UUQNJDGH.cjs');
@@ -88,4 +88,4 @@ require('./chunk-UZM3PDKK.cjs');
88
88
 
89
89
 
90
90
 
91
- exports.FARM_RSC_PACKAGES = _chunkVGZIIOU6cjs.FARM_RSC_PACKAGES; exports.buildFarmRsc = _chunkND65INFScjs.buildFarmRsc; exports.createFarmRscDevServer = _chunkND65INFScjs.createFarmRscDevServer; exports.createFarmRscViteConfig = _chunkND65INFScjs.createFarmRscViteConfig; exports.farmAppUsesRscPipeline = _chunkVGZIIOU6cjs.farmAppUsesRscPipeline; exports.farmConfigUsesServerComponents = _chunkVGZIIOU6cjs.farmConfigUsesServerComponents; exports.inspectFarmServerComponents = _chunkVGZIIOU6cjs.inspectFarmServerComponents; exports.resolveFarmRscCheckConfig = _chunkVGZIIOU6cjs.resolveFarmRscCheckConfig;
91
+ exports.FARM_RSC_PACKAGES = _chunkVGZIIOU6cjs.FARM_RSC_PACKAGES; exports.buildFarmRsc = _chunkSWPLGPYFcjs.buildFarmRsc; exports.createFarmRscDevServer = _chunkSWPLGPYFcjs.createFarmRscDevServer; exports.createFarmRscViteConfig = _chunkSWPLGPYFcjs.createFarmRscViteConfig; exports.farmAppUsesRscPipeline = _chunkVGZIIOU6cjs.farmAppUsesRscPipeline; exports.farmConfigUsesServerComponents = _chunkVGZIIOU6cjs.farmConfigUsesServerComponents; exports.inspectFarmServerComponents = _chunkVGZIIOU6cjs.inspectFarmServerComponents; exports.resolveFarmRscCheckConfig = _chunkVGZIIOU6cjs.resolveFarmRscCheckConfig;
@@ -23,7 +23,7 @@ import "./chunk-UBLKPREL.mjs";
23
23
  import {
24
24
  loadConfig,
25
25
  resolveConfig
26
- } from "./chunk-OOOUYA6L.mjs";
26
+ } from "./chunk-26ZTI2ZO.mjs";
27
27
  import "./chunk-VISQDC6W.mjs";
28
28
  import {
29
29
  createPlatformBlockChecker,
@@ -42,9 +42,9 @@ import "./chunk-YVVY276M.mjs";
42
42
  import "./chunk-XR2ZIBQK.mjs";
43
43
  import "./chunk-CU5SYTJG.mjs";
44
44
  import "./chunk-X2SMVPLH.mjs";
45
- import "./chunk-NQ3Y6E2T.mjs";
45
+ import "./chunk-CV4MOEMO.mjs";
46
46
  import "./chunk-SQ5O7I3L.mjs";
47
- import "./chunk-XGL42MQ7.mjs";
47
+ import "./chunk-HIDZM23B.mjs";
48
48
  import "./chunk-22W4FNTG.mjs";
49
49
  import "./chunk-RJBUI5AN.mjs";
50
50
  import {
@@ -59,13 +59,13 @@ import "./chunk-7VJXYB6S.mjs";
59
59
  import "./chunk-NLATR3T3.mjs";
60
60
  import "./chunk-N33DLJBC.mjs";
61
61
  import "./chunk-UIJOLBUL.mjs";
62
- import "./chunk-YU2MNIIY.mjs";
62
+ import "./chunk-CRF5MOLO.mjs";
63
63
  import "./chunk-AYDVUCXD.mjs";
64
64
  import "./chunk-LTOT5KVJ.mjs";
65
65
  import "./chunk-WXFY5JIY.mjs";
66
66
  import "./chunk-YP7YO3S3.mjs";
67
67
  import "./chunk-YWPNIYUP.mjs";
68
- import "./chunk-XRSNW4IU.mjs";
68
+ import "./chunk-E72GG355.mjs";
69
69
  import "./chunk-H4WUWLQR.mjs";
70
70
  import "./chunk-CZOXZ6WQ.mjs";
71
71
  import "./chunk-VZBAW44S.mjs";
@@ -1193,7 +1193,7 @@ async function resolveFarmMobileApp(options = {}) {
1193
1193
  return decision.source === "default" || decision.requested !== void 0;
1194
1194
  });
1195
1195
  const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
1196
- const { analyzeFarmMobileRoutes } = await import("./analyzer-RYSF2BM3.mjs");
1196
+ const { analyzeFarmMobileRoutes } = await import("./analyzer-T2U345WL.mjs");
1197
1197
  const analyzed = await analyzeFarmMobileRoutes({
1198
1198
  root,
1199
1199
  srcDir: config.srcDir,
@@ -23,7 +23,7 @@ require('./chunk-YUQUGVSV.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunkFLKG2PYHcjs = require('./chunk-FLKG2PYH.cjs');
26
+ var _chunkUOMSGJHKcjs = require('./chunk-UOMSGJHK.cjs');
27
27
  require('./chunk-OZC2JPW6.cjs');
28
28
 
29
29
 
@@ -42,9 +42,9 @@ require('./chunk-IIHZ2BEE.cjs');
42
42
  require('./chunk-LSHX2H5G.cjs');
43
43
  require('./chunk-STF6VDYQ.cjs');
44
44
  require('./chunk-Z43CIBUR.cjs');
45
- require('./chunk-EACD6ND7.cjs');
45
+ require('./chunk-EZUTDTFM.cjs');
46
46
  require('./chunk-BTVDYS4B.cjs');
47
- require('./chunk-OLKYHTLN.cjs');
47
+ require('./chunk-DA432P2F.cjs');
48
48
  require('./chunk-6JHZPB52.cjs');
49
49
  require('./chunk-MNUYXZV7.cjs');
50
50
 
@@ -59,13 +59,13 @@ require('./chunk-HQKCSJEH.cjs');
59
59
  require('./chunk-XRFGOYXG.cjs');
60
60
  require('./chunk-3EIPOTZV.cjs');
61
61
  require('./chunk-2HW5LWAH.cjs');
62
- require('./chunk-2NOHVIJ3.cjs');
62
+ require('./chunk-5LJF4KUZ.cjs');
63
63
  require('./chunk-PWDBWXQI.cjs');
64
64
  require('./chunk-BSX5OGSD.cjs');
65
65
  require('./chunk-2KMIJDY6.cjs');
66
66
  require('./chunk-SHIWRBFI.cjs');
67
67
  require('./chunk-WT6RAN2I.cjs');
68
- require('./chunk-B3HQTGXS.cjs');
68
+ require('./chunk-DVAZ53X6.cjs');
69
69
  require('./chunk-DUIP64BF.cjs');
70
70
  require('./chunk-QKW6DLDT.cjs');
71
71
  require('./chunk-UUQNJDGH.cjs');
@@ -1110,7 +1110,7 @@ async function resolveFarmMobileApp(options = {}) {
1110
1110
  const root = path2.resolve(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _76 => _76.config, 'optionalAccess', _77 => _77.root]), () => ( options.root)), () => ( process.cwd())));
1111
1111
  const command = _nullishCoalesce(options.command, () => ( "build"));
1112
1112
  const mode = command === "dev" ? "development" : "production";
1113
- const userConfig = options.userConfig === void 0 ? await _chunkFLKG2PYHcjs.loadConfig.call(void 0, root, void 0, mode) : options.userConfig;
1113
+ const userConfig = options.userConfig === void 0 ? await _chunkUOMSGJHKcjs.loadConfig.call(void 0, root, void 0, mode) : options.userConfig;
1114
1114
  if (_optionalChain([userConfig, 'optionalAccess', _78 => _78.mobile]) === void 0) {
1115
1115
  throw new FarmMobileError(
1116
1116
  'farm.config.ts has no `mobile` entry. Add one, such as `mobile: { id: "com.example.notes", server: "https://notes.example.com" }`.'
@@ -1124,7 +1124,7 @@ async function resolveFarmMobileApp(options = {}) {
1124
1124
  mode
1125
1125
  });
1126
1126
  const block = await resolveFarmMobileBlock(userConfig.mobile, context, options.cache);
1127
- const config = await _asyncNullishCoalesce(options.config, async () => ( await _chunkFLKG2PYHcjs.resolveConfig.call(void 0, { ...userConfig, root }, mode)));
1127
+ const config = await _asyncNullishCoalesce(options.config, async () => ( await _chunkUOMSGJHKcjs.resolveConfig.call(void 0, { ...userConfig, root }, mode)));
1128
1128
  const scan = await _chunkZSVFI7JMcjs.scanRoutePatterns.call(void 0, {
1129
1129
  root,
1130
1130
  srcDir: config.srcDir,
@@ -1193,7 +1193,7 @@ async function resolveFarmMobileApp(options = {}) {
1193
1193
  return decision.source === "default" || decision.requested !== void 0;
1194
1194
  });
1195
1195
  const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
1196
- const { analyzeFarmMobileRoutes } = await import("./analyzer-IIWSUXSQ.cjs");
1196
+ const { analyzeFarmMobileRoutes } = await import("./analyzer-OWIHFO5M.cjs");
1197
1197
  const analyzed = await analyzeFarmMobileRoutes({
1198
1198
  root,
1199
1199
  srcDir: config.srcDir,
@@ -1,7 +1,7 @@
1
1
  import { g as EndpointFailure } from './endpoint.d-BXbBpKoh.mjs';
2
2
  import { k as PluginRoutesFactory } from './route.d-ShmtqqVQ.mjs';
3
3
  import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.mjs';
4
- import './client-plugins.d-Dzc3vOw_.mjs';
4
+ import './client-plugins.d-BfGTqbAH.mjs';
5
5
 
6
6
  interface MountedRoute {
7
7
  path: string;
@@ -1,7 +1,7 @@
1
1
  import { g as EndpointFailure } from './endpoint.d-Dx_1k6Du.js';
2
2
  import { k as PluginRoutesFactory } from './route.d-Cd4Fi6BA.js';
3
3
  import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.js';
4
- import './client-plugins.d-Crct3m_r.js';
4
+ import './client-plugins.d-24qhjX8c.js';
5
5
 
6
6
  interface MountedRoute {
7
7
  path: string;
@@ -1,4 +1,4 @@
1
- import { w as FarmServerComponentsMode } from './client-plugins.d-Dzc3vOw_.mjs';
1
+ import { w as FarmServerComponentsMode } from './client-plugins.d-BfGTqbAH.mjs';
2
2
 
3
3
  type FarmConfigInput = Record<string, any>;
4
4
  declare const FARM_RSC_INSTALL_HINT: string;
@@ -1,4 +1,4 @@
1
- import { w as FarmServerComponentsMode } from './client-plugins.d-Crct3m_r.js';
1
+ import { w as FarmServerComponentsMode } from './client-plugins.d-24qhjX8c.js';
2
2
 
3
3
  type FarmConfigInput = Record<string, any>;
4
4
  declare const FARM_RSC_INSTALL_HINT: string;
@@ -1,7 +1,7 @@
1
- import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-Dzc3vOw_.mjs';
2
- export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-Dzc3vOw_.mjs';
1
+ import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-BfGTqbAH.mjs';
2
+ export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-BfGTqbAH.mjs';
3
3
  import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
4
- export { c as createHeadersPlugin } from './headers.d-C-yGl_f6.mjs';
4
+ export { c as createHeadersPlugin } from './headers.d-C_lsQIWA.mjs';
5
5
  export { createCompressionPlugin } from './internal/compression-runtime.mjs';
6
6
  import './lifecycle.d-OtGWAvJT.mjs';
7
7
  import './route.d-ShmtqqVQ.mjs';
@@ -1,7 +1,7 @@
1
- import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-Crct3m_r.js';
2
- export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-Crct3m_r.js';
1
+ import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-24qhjX8c.js';
2
+ export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-24qhjX8c.js';
3
3
  import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
4
- export { c as createHeadersPlugin } from './headers.d-BgBdQN8x.js';
4
+ export { c as createHeadersPlugin } from './headers.d-b8gHJDvu.js';
5
5
  export { createCompressionPlugin } from './internal/compression-runtime.js';
6
6
  import './lifecycle.d-OtGWAvJT.js';
7
7
  import './route.d-Cd4Fi6BA.js';