@farm.js/core 0.1.82 → 0.1.84

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 (253) hide show
  1. package/dist/{agent-mcp.d-C2Su3x4D.d.ts → agent-mcp.d-7uKdOttc.d.ts} +1 -1
  2. package/dist/{agent-mcp.d-Yak-LqRd.d.mts → agent-mcp.d-LChlR2au.d.mts} +1 -1
  3. package/dist/agent-runtime.d.mts +2 -1
  4. package/dist/agent-runtime.d.ts +2 -1
  5. package/dist/{analyzer-RPU2KG4J.mjs → analyzer-7RNO3XKC.mjs} +2 -2
  6. package/dist/analyzer-PFKA5NI6.cjs +17 -0
  7. package/dist/api/node.d.mts +4 -3
  8. package/dist/api/node.d.ts +4 -3
  9. package/dist/api/route-manager.d.mts +4 -3
  10. package/dist/api/route-manager.d.ts +4 -3
  11. package/dist/api/runtime.d.mts +3 -2
  12. package/dist/api/runtime.d.ts +3 -2
  13. package/dist/api.d.mts +5 -4
  14. package/dist/api.d.ts +5 -4
  15. package/dist/{app-manifest.d-DZyXaICz.d.ts → app-manifest.d-CRp21oAz.d.ts} +1 -1
  16. package/dist/{app-manifest.d-BcyOFMrg.d.mts → app-manifest.d-QMdmqqCr.d.mts} +1 -1
  17. package/dist/app-markdown.d.mts +3 -2
  18. package/dist/app-markdown.d.ts +3 -2
  19. package/dist/{app.d-CIoXsAbN.d.ts → app.d-CVPu_hoD.d.ts} +34 -4
  20. package/dist/{app.d-C0ePpuaG.d.mts → app.d-eSm7jgoc.d.mts} +34 -4
  21. package/dist/{chunk-B2PGVHBG.cjs → chunk-22BTYPIX.cjs} +4 -4
  22. package/dist/{chunk-BCTHOQPP.cjs → chunk-3OKSEJ33.cjs} +98 -10
  23. package/dist/{chunk-QSMUMK7Y.mjs → chunk-3WM7VBGW.mjs} +2 -2
  24. package/dist/{chunk-XMHERKSE.mjs → chunk-42IBGQTN.mjs} +5 -12
  25. package/dist/{chunk-RMPUEH5T.cjs → chunk-57EEWWUS.cjs} +2 -2
  26. package/dist/{chunk-Q2VOT3K2.cjs → chunk-5I4ZGKP2.cjs} +395 -333
  27. package/dist/{chunk-TPA2PV5J.mjs → chunk-5V6HSJFG.mjs} +24 -1
  28. package/dist/{chunk-RMLR5RMH.mjs → chunk-BCCCPFHQ.mjs} +92 -4
  29. package/dist/{chunk-LM2ZDNDD.cjs → chunk-BOEDYXAX.cjs} +30 -25
  30. package/dist/{chunk-NRCKBDYP.mjs → chunk-BRDGINBB.mjs} +153 -47
  31. package/dist/chunk-BUQR7KKO.mjs +17 -0
  32. package/dist/{chunk-63ZE6B6M.mjs → chunk-BZY3SRRD.mjs} +1 -1
  33. package/dist/{chunk-724WT3NI.mjs → chunk-CRE642TW.mjs} +1 -1
  34. package/dist/{chunk-JK26IMT7.cjs → chunk-CVZY4TLW.cjs} +1 -1
  35. package/dist/{chunk-ZIZRIZLP.mjs → chunk-CWUQBECF.mjs} +3 -1
  36. package/dist/{chunk-DAXU2NBE.mjs → chunk-DFDQGHPU.mjs} +104 -42
  37. package/dist/{chunk-AIPZDBP6.cjs → chunk-DSWSDDP2.cjs} +844 -553
  38. package/dist/{chunk-DRO3NXA3.cjs → chunk-EBSL5TW7.cjs} +203 -93
  39. package/dist/{chunk-CJDBTTLB.mjs → chunk-EDBIBO67.mjs} +18 -13
  40. package/dist/{chunk-BBVLOEND.cjs → chunk-F7JVO3OZ.cjs} +4 -4
  41. package/dist/chunk-FZ7OUN5M.cjs +30 -0
  42. package/dist/chunk-GLNVLCUH.cjs +426 -0
  43. package/dist/{chunk-5MMKNW7Q.cjs → chunk-H7REG7OX.cjs} +15 -8
  44. package/dist/{chunk-N2EFMN2K.cjs → chunk-HOQ2MYBJ.cjs} +10 -10
  45. package/dist/{chunk-OP5VI4TP.mjs → chunk-I5CVJ24H.mjs} +1 -1
  46. package/dist/{chunk-I4DR3HCH.mjs → chunk-INU4K4U4.mjs} +5 -5
  47. package/dist/{chunk-4X7LSGM6.mjs → chunk-IRJSZAJB.mjs} +1 -1
  48. package/dist/{chunk-EX6ZSN5P.cjs → chunk-IZYFP7IN.cjs} +17 -24
  49. package/dist/chunk-J6RFB324.cjs +17 -0
  50. package/dist/{chunk-47I2MYIR.mjs → chunk-KXVMWLTC.mjs} +484 -193
  51. package/dist/{chunk-UVV3I5QA.cjs → chunk-L2GUEYHR.cjs} +29 -6
  52. package/dist/{chunk-VMBIKDKW.cjs → chunk-L3BSHASB.cjs} +6 -4
  53. package/dist/chunk-L5HDCDFT.mjs +426 -0
  54. package/dist/{chunk-GXLNARPO.mjs → chunk-M5XU22PQ.mjs} +1 -1
  55. package/dist/chunk-M6AJZ4XR.mjs +30 -0
  56. package/dist/chunk-MAPHNGTF.cjs +98 -0
  57. package/dist/{chunk-RE5E2G5S.cjs → chunk-MNUYXZV7.cjs} +2 -18
  58. package/dist/{chunk-C3VCYOU4.mjs → chunk-MUUDHWQZ.mjs} +1 -1
  59. package/dist/{chunk-YSU3WCW6.mjs → chunk-MYSH5Y4E.mjs} +1 -1
  60. package/dist/{chunk-OMB7UGVW.mjs → chunk-NLHSKKTT.mjs} +14 -9
  61. package/dist/{chunk-ARORZ3MH.cjs → chunk-OFVBMS6I.cjs} +439 -333
  62. package/dist/{chunk-5MUFW5UU.cjs → chunk-OP7BIEUW.cjs} +2 -2
  63. package/dist/{chunk-I4WZRG73.mjs → chunk-RB5IGN3N.mjs} +13 -6
  64. package/dist/chunk-RJBUI5AN.mjs +18 -0
  65. package/dist/chunk-RQ6XX5IN.mjs +98 -0
  66. package/dist/{chunk-EJCVG25Z.mjs → chunk-S3R4JDRO.mjs} +17 -9
  67. package/dist/{chunk-WFVSAT7Y.cjs → chunk-T7HGXF7D.cjs} +3 -3
  68. package/dist/{chunk-HHQEKLZL.cjs → chunk-USMRAC72.cjs} +36 -31
  69. package/dist/{chunk-SM2SYWAR.cjs → chunk-XJDB564A.cjs} +18 -10
  70. package/dist/{chunk-EL2Z6YFZ.mjs → chunk-XLULEFRW.mjs} +180 -70
  71. package/dist/{chunk-6BPFIYGY.cjs → chunk-YU6VL7H5.cjs} +3 -3
  72. package/dist/{chunk-CD5Z7RR5.cjs → chunk-Z37PDUJR.cjs} +4 -4
  73. package/dist/{cli-runtime.d-Hnvvadz7.d.mts → cli-runtime.d-C7aMfoTq.d.mts} +8 -6
  74. package/dist/{cli-runtime.d-I0MphTbc.d.ts → cli-runtime.d-DaElKjaL.d.ts} +8 -6
  75. package/dist/{client-component.d-DapRqtSC.d.mts → client-component.d-DLMCzmUx.d.mts} +1 -1
  76. package/dist/{client-component.d-5QEvtJsg.d.ts → client-component.d-DLknFP8l.d.ts} +1 -1
  77. package/dist/{client-plugins.d-DcmDzcSC.d.ts → client-plugins.d-BVXjyIkY.d.ts} +14 -0
  78. package/dist/{client-plugins.d-C1WM3ieD.d.mts → client-plugins.d-BwKwuO_0.d.mts} +14 -0
  79. package/dist/client-plugins.d.mts +2 -1
  80. package/dist/client-plugins.d.ts +2 -1
  81. package/dist/client.cjs +4 -3
  82. package/dist/client.d.mts +10 -9
  83. package/dist/client.d.ts +10 -9
  84. package/dist/client.mjs +3 -2
  85. package/dist/config.d.mts +2 -1
  86. package/dist/config.d.ts +2 -1
  87. package/dist/desktop.d.mts +3 -2
  88. package/dist/desktop.d.ts +3 -2
  89. package/dist/{devtools-5B7NZE6F.cjs → devtools-4SVIRV4P.cjs} +7 -7
  90. package/dist/{devtools-C5GXZZ7E.mjs → devtools-MWQA5LVN.mjs} +5 -5
  91. package/dist/docs.cjs +10 -9
  92. package/dist/docs.d.mts +15 -6
  93. package/dist/docs.d.ts +15 -6
  94. package/dist/docs.mjs +9 -8
  95. package/dist/environment/vite.cjs +5 -5
  96. package/dist/environment/vite.d.mts +1 -0
  97. package/dist/environment/vite.d.ts +1 -0
  98. package/dist/environment/vite.mjs +4 -4
  99. package/dist/{generate-route-types.d-CaGMIaNI.d.mts → generate-route-types.d-BFOMM8Ef.d.mts} +3 -0
  100. package/dist/{generate-route-types.d-B76M5R11.d.ts → generate-route-types.d-C2m8myHb.d.ts} +3 -0
  101. package/dist/{handler.d-B8bPCBzl.d.mts → handler.d-BKTWzzNA.d.mts} +1 -1
  102. package/dist/{handler.d-Cliwo6Nu.d.ts → handler.d-Dzpyg3-N.d.ts} +1 -1
  103. package/dist/{headers.d-CVwSpSGX.d.mts → headers.d-5opjyhXw.d.mts} +1 -1
  104. package/dist/{headers.d-C_btqjV6.d.ts → headers.d-PZyXcDAH.d.ts} +1 -1
  105. package/dist/index.cjs +32 -29
  106. package/dist/{index.d-DFuMZk9-.d.mts → index.d-C0Mie66f.d.mts} +1 -1
  107. package/dist/{index.d-hOEbMcLk.d.ts → index.d-DV2q-0mE.d.ts} +1 -1
  108. package/dist/index.d.mts +26 -25
  109. package/dist/index.d.ts +26 -25
  110. package/dist/index.mjs +32 -29
  111. package/dist/integrations/orm.d.mts +2 -1
  112. package/dist/integrations/orm.d.ts +2 -1
  113. package/dist/integrations.d.mts +2 -1
  114. package/dist/integrations.d.ts +2 -1
  115. package/dist/internal/app-markdown-runtime.d.mts +3 -2
  116. package/dist/internal/app-markdown-runtime.d.ts +3 -2
  117. package/dist/internal/build-runtime.cjs +28 -27
  118. package/dist/internal/build-runtime.d.mts +5 -4
  119. package/dist/internal/build-runtime.d.ts +5 -4
  120. package/dist/internal/build-runtime.mjs +27 -26
  121. package/dist/internal/cli-runtime.cjs +9 -9
  122. package/dist/internal/cli-runtime.d.mts +8 -7
  123. package/dist/internal/cli-runtime.d.ts +8 -7
  124. package/dist/internal/cli-runtime.mjs +8 -8
  125. package/dist/internal/client-error-overlay.cjs +4 -4
  126. package/dist/internal/client-error-overlay.mjs +1 -1
  127. package/dist/internal/client-runtime.d.mts +8 -42
  128. package/dist/internal/client-runtime.d.ts +8 -42
  129. package/dist/internal/compression-runtime.d.mts +2 -1
  130. package/dist/internal/compression-runtime.d.ts +2 -1
  131. package/dist/internal/config-runtime.cjs +7 -7
  132. package/dist/internal/config-runtime.d.mts +6 -5
  133. package/dist/internal/config-runtime.d.ts +6 -5
  134. package/dist/internal/config-runtime.mjs +6 -6
  135. package/dist/internal/infra-analytics-runtime.cjs +6 -6
  136. package/dist/internal/infra-analytics-runtime.mjs +4 -4
  137. package/dist/internal/islands-action-client.cjs +18 -0
  138. package/dist/internal/islands-action-client.d.mts +18 -0
  139. package/dist/internal/islands-action-client.d.ts +18 -0
  140. package/dist/internal/islands-action-client.mjs +18 -0
  141. package/dist/internal/islands-runtime.cjs +3 -8
  142. package/dist/internal/islands-runtime.mjs +4 -9
  143. package/dist/internal/islx-actions-client.cjs +4 -3
  144. package/dist/internal/islx-actions-client.mjs +3 -2
  145. package/dist/internal/islx-actions-server.d.mts +0 -2
  146. package/dist/internal/islx-actions-server.d.ts +0 -2
  147. package/dist/internal/islx-client.cjs +13 -1
  148. package/dist/internal/islx-client.d.mts +11 -0
  149. package/dist/internal/islx-client.d.ts +11 -0
  150. package/dist/internal/islx-client.mjs +14 -0
  151. package/dist/internal/metadata-image-runtime.d.mts +1 -0
  152. package/dist/internal/metadata-image-runtime.d.ts +1 -0
  153. package/dist/internal/native-server-fns.cjs +4 -4
  154. package/dist/internal/native-server-fns.mjs +3 -3
  155. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  156. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  157. package/dist/internal/production-runtime.cjs +13 -13
  158. package/dist/internal/production-runtime.d.mts +11 -11
  159. package/dist/internal/production-runtime.d.ts +11 -11
  160. package/dist/internal/production-runtime.mjs +19 -19
  161. package/dist/internal/renderer-islands.cjs +47 -0
  162. package/dist/internal/renderer-islands.d.mts +32 -0
  163. package/dist/internal/renderer-islands.d.ts +32 -0
  164. package/dist/internal/renderer-islands.mjs +47 -0
  165. package/dist/internal/spa-router.d.mts +3 -3
  166. package/dist/internal/spa-router.d.ts +3 -3
  167. package/dist/internal/start-manifest.d.mts +2 -1
  168. package/dist/internal/start-manifest.d.ts +2 -1
  169. package/dist/island-runtime.d-BA7EPo1v.d.ts +38 -0
  170. package/dist/island-runtime.d-BBS_YUSX.d.mts +38 -0
  171. package/dist/markdown.d.mts +2 -1
  172. package/dist/markdown.d.ts +2 -1
  173. package/dist/middleware.d.mts +2 -1
  174. package/dist/middleware.d.ts +2 -1
  175. package/dist/mobile.d.mts +6 -3
  176. package/dist/mobile.d.ts +6 -3
  177. package/dist/{mount.d-DLeYxeRR.d.mts → mount.d-CZ_qL1iS.d.mts} +1 -1
  178. package/dist/{mount.d-CAovYKfs.d.ts → mount.d-gWul1GA1.d.ts} +1 -1
  179. package/dist/{navigation-delegate.d-Chv93QS6.d.mts → navigation-delegate.d-BBTzhJLj.d.mts} +1 -1
  180. package/dist/{navigation-delegate.d-BLM-8Q3Z.d.ts → navigation-delegate.d-BZsYEAet.d.ts} +1 -1
  181. package/dist/navigation.d.mts +5 -5
  182. package/dist/navigation.d.ts +5 -5
  183. package/dist/plugin.cjs +23 -22
  184. package/dist/plugin.d.mts +6 -6
  185. package/dist/plugin.d.ts +6 -6
  186. package/dist/plugin.mjs +22 -21
  187. package/dist/{render-plan.d-BSTjTH8h.d.ts → render-plan.d-AaJsYPX-.d.ts} +1 -1
  188. package/dist/{render-plan.d-CK5Lggyb.d.mts → render-plan.d-bnWxS12w.d.mts} +1 -1
  189. package/dist/renderer-client.cjs +6 -5
  190. package/dist/renderer-client.d.mts +8 -7
  191. package/dist/renderer-client.d.ts +8 -7
  192. package/dist/renderer-client.mjs +2 -1
  193. package/dist/renderer.cjs +12 -2
  194. package/dist/renderer.d.mts +167 -4
  195. package/dist/renderer.d.ts +167 -4
  196. package/dist/renderer.mjs +11 -1
  197. package/dist/{request.d-BhggxQf3.d.mts → request.d-C2HOn3Hi.d.mts} +1 -1
  198. package/dist/{request.d-CyJS9bjm.d.ts → request.d-CAeitOG1.d.ts} +1 -1
  199. package/dist/request.d.mts +3 -2
  200. package/dist/request.d.ts +3 -2
  201. package/dist/{route-rendering.d-BLPPmI5I.d.ts → route-rendering.d-A1dIkUK5.d.ts} +1 -1
  202. package/dist/{route-rendering.d-CUpG2mZJ.d.mts → route-rendering.d-CYA-ulnX.d.mts} +1 -1
  203. package/dist/{router.d-2NQM1Kgw.d.mts → router.d-8lxnzlkr.d.mts} +1 -1
  204. package/dist/{router.d-0X2Ki6rf.d.ts → router.d-A_Yt6jYz.d.ts} +1 -1
  205. package/dist/{routes.d-CCccJRrp.d.mts → routes.d-BWvpUoYu.d.mts} +1 -1
  206. package/dist/{routes.d-b7khoRoU.d.ts → routes.d-D7RWvfqL.d.ts} +1 -1
  207. package/dist/routes.d.mts +2 -1
  208. package/dist/routes.d.ts +2 -1
  209. package/dist/{rsc-pipeline-5AOF64FL.cjs → rsc-pipeline-OWBEZ7HB.cjs} +10 -10
  210. package/dist/{rsc-pipeline-DNRLYOJ7.mjs → rsc-pipeline-UT3Z2GDO.mjs} +9 -9
  211. package/dist/{runtime-EHG2FRXZ.mjs → runtime-F5I3WY3B.mjs} +12 -12
  212. package/dist/{runtime-ZVHG5SRB.cjs → runtime-SRMQ46SK.cjs} +15 -15
  213. package/dist/{runtime.d-CXuwkUgr.d.ts → runtime.d-BPyvWrgQ.d.ts} +1 -1
  214. package/dist/{runtime.d-CaFXcu_Q.d.mts → runtime.d-C_rZ9_DD.d.mts} +1 -1
  215. package/dist/{server-components-status.d-Cp7zvBm5.d.mts → server-components-status.d-BpxiEMQE.d.mts} +1 -1
  216. package/dist/{server-components-status.d-BdeFD8ZH.d.ts → server-components-status.d-C2UEKJn7.d.ts} +1 -1
  217. package/dist/server-plugins.d.mts +4 -3
  218. package/dist/server-plugins.d.ts +4 -3
  219. package/dist/server-query-call.d-rVM_lsYk.d.mts +15 -0
  220. package/dist/server-query-call.d-rVM_lsYk.d.ts +15 -0
  221. package/dist/server-query-client.cjs +5 -3
  222. package/dist/server-query-client.d.mts +3 -2
  223. package/dist/server-query-client.d.ts +3 -2
  224. package/dist/server-query-client.mjs +5 -3
  225. package/dist/{server-query-runtime.d-DXRNhX_3.d.ts → server-query-runtime.d-BlHd90D0.d.ts} +2 -8
  226. package/dist/{server-query-runtime.d-aP52iuL5.d.mts → server-query-runtime.d-CCLGkQtE.d.mts} +2 -8
  227. package/dist/server.cjs +52 -52
  228. package/dist/server.d.mts +12 -12
  229. package/dist/server.d.ts +12 -12
  230. package/dist/server.mjs +30 -30
  231. package/dist/{spa-router.d-l3G38xHa.d.mts → spa-router.d-BD-6WX1R.d.mts} +2 -2
  232. package/dist/{spa-router.d-Bjgl-Osi.d.ts → spa-router.d-Cw5i_15e.d.ts} +2 -2
  233. package/dist/{ssg.d-DDca17Lc.d.ts → ssg.d-Bifiq0EL.d.ts} +2 -2
  234. package/dist/{ssg.d-RnlHOqUL.d.mts → ssg.d-CCE9aob5.d.mts} +2 -2
  235. package/dist/{store-core.d-BaOUOPf7.d.ts → store-core.d-5tVn5vi1.d.ts} +3 -3
  236. package/dist/{store-core.d-BZjuC6Zc.d.mts → store-core.d-BN2MxSG9.d.mts} +3 -3
  237. package/dist/testing.d.mts +2 -1
  238. package/dist/testing.d.ts +2 -1
  239. package/dist/{utils.d-D8TWmpWo.d.ts → utils.d-BUjpSNIO.d.ts} +1 -1
  240. package/dist/{utils.d-tdzw0_zQ.d.mts → utils.d-wGPLeVbq.d.mts} +1 -1
  241. package/dist/version.cjs +2 -2
  242. package/dist/version.mjs +1 -1
  243. package/dist/vite.cjs +23 -22
  244. package/dist/vite.d.mts +12 -6
  245. package/dist/vite.d.ts +12 -6
  246. package/dist/vite.mjs +22 -21
  247. package/package.json +13 -3
  248. package/dist/analyzer-LV23T6QN.cjs +0 -17
  249. package/dist/chunk-4QENVMG7.mjs +0 -34
  250. package/dist/chunk-AUFEM3FB.mjs +0 -229
  251. package/dist/chunk-S7WZUK3B.cjs +0 -229
  252. package/dist/{chunk-NEKO3HM2.cjs → chunk-4B6YJ5DS.cjs} +2 -2
  253. package/dist/{chunk-CA2HBLXP.mjs → chunk-4EEAPBNV.mjs} +3 -3
@@ -43,7 +43,7 @@ import {
43
43
  resolveFarmIslxActionsMode,
44
44
  resolveFarmRouteRootStrategy,
45
45
  toBakedMarkdownSourcePath
46
- } from "./chunk-NRCKBDYP.mjs";
46
+ } from "./chunk-BRDGINBB.mjs";
47
47
  import {
48
48
  generateFarmClientPluginEntryCode,
49
49
  hasFarmServerRuntimePlugins,
@@ -52,13 +52,19 @@ import {
52
52
  import {
53
53
  FARM_NODE_RESPONSE_END_PENDING
54
54
  } from "./chunk-IVP5Q4BX.mjs";
55
+ import {
56
+ resolveFarmPlatform
57
+ } from "./chunk-SMUW7UST.mjs";
55
58
  import {
56
59
  generateFarmTypeArtifacts,
57
60
  resolveRouteRenderingConfig
58
- } from "./chunk-ZIZRIZLP.mjs";
61
+ } from "./chunk-CWUQBECF.mjs";
59
62
  import {
60
- resolveFarmPlatform
61
- } from "./chunk-SMUW7UST.mjs";
63
+ usesFarmRendererIslands
64
+ } from "./chunk-RQ6XX5IN.mjs";
65
+ import {
66
+ _setFarmInfraAnalyticsWebMCPRoute
67
+ } from "./chunk-M5XU22PQ.mjs";
62
68
  import {
63
69
  createFarmRouteRenderPlan,
64
70
  farmPathGuardCoversEndpoint,
@@ -67,13 +73,10 @@ import {
67
73
  getSharedLayoutPrefixLength,
68
74
  parseFarmLayoutChainHeader,
69
75
  renderFarmLocaleAlternateLinks
70
- } from "./chunk-CA2HBLXP.mjs";
76
+ } from "./chunk-4EEAPBNV.mjs";
71
77
  import {
72
78
  FARM_NATIVE_TREE_CONTENT_TYPE
73
79
  } from "./chunk-LLZSYFOM.mjs";
74
- import {
75
- _setFarmInfraAnalyticsWebMCPRoute
76
- } from "./chunk-GXLNARPO.mjs";
77
80
  import {
78
81
  FARM_API_CATALOG_PATH,
79
82
  createFarmAiCatalogResponse,
@@ -88,13 +91,13 @@ import {
88
91
  resolveFarmMCPRouteLabel,
89
92
  resolveFarmMarkdownRouteLabel,
90
93
  setFarmRouteLabel
91
- } from "./chunk-QSMUMK7Y.mjs";
94
+ } from "./chunk-3WM7VBGW.mjs";
92
95
  import {
93
96
  FARM_DEFAULT_MCP_PATH
94
97
  } from "./chunk-HR4N2K4V.mjs";
95
98
  import {
96
99
  isFarmPreviewDeploymentEnvironment
97
- } from "./chunk-4X7LSGM6.mjs";
100
+ } from "./chunk-IRJSZAJB.mjs";
98
101
  import {
99
102
  createFarmServerFnBoundaryModule,
100
103
  isFarmServerFnBoundaryId,
@@ -145,18 +148,20 @@ import {
145
148
  usePackageScanCacheFile,
146
149
  withFarmSourceSnapshotOf,
147
150
  wrapFarmIslandContainers
148
- } from "./chunk-EL2Z6YFZ.mjs";
151
+ } from "./chunk-XLULEFRW.mjs";
149
152
  import {
150
153
  generateFarmDocsAdapterClientRuntime,
151
154
  getFarmDocsAdapterConfigModule
152
- } from "./chunk-EJCVG25Z.mjs";
155
+ } from "./chunk-S3R4JDRO.mjs";
153
156
  import {
154
157
  resolveFarmDocsFontAssets,
155
158
  toFarmDocsPublicFontAssets
156
159
  } from "./chunk-NRNAHZ57.mjs";
157
160
  import {
158
- generateFarmDevIndicatorsClientRuntime
159
- } from "./chunk-TPA2PV5J.mjs";
161
+ generateFarmDevIndicatorsClientRuntime,
162
+ getFarmDocsAdapterUIModule,
163
+ hasFarmDocsRuntimeAdapter
164
+ } from "./chunk-5V6HSJFG.mjs";
160
165
  import {
161
166
  resolveRouteRuleCorsPreflightHeaders
162
167
  } from "./chunk-YVVY276M.mjs";
@@ -173,9 +178,6 @@ import {
173
178
  import {
174
179
  resolveFarmLlmsTxtConfig
175
180
  } from "./chunk-XGL42MQ7.mjs";
176
- import {
177
- resolveFarmServerComponentsMode
178
- } from "./chunk-4QENVMG7.mjs";
179
181
  import {
180
182
  getFarmAppDirectories,
181
183
  getFarmLayerAliases,
@@ -189,8 +191,9 @@ import {
189
191
  loadFarmRendererVitePlugins,
190
192
  resolveFarmComponentExtensions,
191
193
  resolveFarmRenderer,
192
- resolveFarmRendererAppSetup
193
- } from "./chunk-RMLR5RMH.mjs";
194
+ resolveFarmRendererAppSetup,
195
+ resolveFarmServerComponentsMode
196
+ } from "./chunk-BCCCPFHQ.mjs";
194
197
  import {
195
198
  getPublicFarmImageConfig,
196
199
  resolveFarmImageConfig
@@ -310,7 +313,7 @@ import {
310
313
  } from "./chunk-EILUVBKS.mjs";
311
314
  import {
312
315
  FARM_VERSION
313
- } from "./chunk-OP5VI4TP.mjs";
316
+ } from "./chunk-I5CVJ24H.mjs";
314
317
  import {
315
318
  DEFAULT_FARM_API_BASE_PATH
316
319
  } from "./chunk-W6QLRQ3V.mjs";
@@ -1285,7 +1288,7 @@ function loadFarmWorkflowsDevRuntime() {
1285
1288
  return import("./workflows.mjs");
1286
1289
  }
1287
1290
  function loadFarmDevtoolsSnapshotRuntime() {
1288
- return import("./devtools-C5GXZZ7E.mjs");
1291
+ return import("./devtools-MWQA5LVN.mjs");
1289
1292
  }
1290
1293
  function loadFarmDevtoolsUIRuntime() {
1291
1294
  return import("./devtools-ui-BOG33MT5.mjs");
@@ -2117,7 +2120,7 @@ function transformIsolatedClientBoundaryModule(options) {
2117
2120
  const wrapperName = `__farm_isolated_boundary_${safeName || "default"}__`;
2118
2121
  wrapperStatements.push(
2119
2122
  // Islands mode renders through islx; the older isolated hydration keeps Farm's boundary.
2120
- options.slots && options.inferredInteraction ? `const ${wrapperName} = __farm_islx_island__(${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, "interaction", { inferred: true });` : options.slots ? `const ${wrapperName} = __farm_islx_island__(${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, ${JSON.stringify(options.islandStrategy)});` : `const ${wrapperName} = __farm_create_isolated_boundary__(__farm_isolated_react__, ${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, ${JSON.stringify(options.islandStrategy)});`
2123
+ options.withIsland ? `const ${wrapperName} = __farm_with_island__(${localName}, { src: ${JSON.stringify(options.moduleReference)}, export: ${JSON.stringify(exportName)}, strategy: ${JSON.stringify(options.islandStrategy)} });` : options.slots && options.inferredInteraction ? `const ${wrapperName} = __farm_islx_island__(${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, "interaction", { inferred: true });` : options.slots ? `const ${wrapperName} = __farm_islx_island__(${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, ${JSON.stringify(options.islandStrategy)});` : `const ${wrapperName} = __farm_create_isolated_boundary__(__farm_isolated_react__, ${localName}, ${JSON.stringify(options.moduleReference)}, ${JSON.stringify(exportName)}, ${JSON.stringify(options.islandStrategy)});`
2121
2124
  );
2122
2125
  wrapperStatements.push(
2123
2126
  isDefault ? `export default ${wrapperName};` : `export { ${wrapperName} as ${exportName} };`
@@ -2205,7 +2208,11 @@ function transformIsolatedClientBoundaryModule(options) {
2205
2208
  output = output.slice(0, replacement.start) + replacement.code + output.slice(replacement.end);
2206
2209
  }
2207
2210
  const isComponent = `(value) => typeof value === "function" || (typeof value === "object" && value !== null && [Symbol.for("react.memo"), Symbol.for("react.forward_ref"), Symbol.for("react.lazy")].includes(value.$$typeof))`;
2208
- const runtimeImport = options.slots ? options.browser ? "const __farm_islx_island__ = (component) => component;" : `import { createIsland as __farm_islx_create_island__ } from ${islxReact};
2211
+ const runtimeImport = options.withIsland ? (
2212
+ // The renderer's withIsland returns a value that isn't one of its components unchanged.
2213
+ `import { withIsland as __farm_renderer_with_island__ } from ${JSON.stringify(options.withIsland)};
2214
+ const __farm_with_island__ = (component, reference) => component !== null && (typeof component === "function" || typeof component === "object") ? __farm_renderer_with_island__(component, reference) : component;`
2215
+ ) : options.slots ? options.browser ? "const __farm_islx_island__ = (component) => component;" : `import { createIsland as __farm_islx_create_island__ } from ${islxReact};
2209
2216
  const __farm_is_component__ = ${isComponent};
2210
2217
  const __farm_islx_island__ = (component, ...rest) => __farm_is_component__(component) ? __farm_islx_create_island__(component, ...rest) : component;` : `import * as __farm_isolated_react__ from "react";
2211
2218
  import { createFarmIsolatedClientBoundary as __farm_create_boundary__ } from ${isolatedBoundary};
@@ -2559,6 +2566,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2559
2566
  extraRoutes: getExtraRouteTypes(),
2560
2567
  suppressLintOnLink: farmConfig.suppressLintOnLink,
2561
2568
  componentExtensions: farmConfig.renderer.componentExtensions,
2569
+ renderer: farmConfig.renderer,
2562
2570
  i18nConfig: farmConfig.i18n,
2563
2571
  ...selection
2564
2572
  });
@@ -2618,6 +2626,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2618
2626
  );
2619
2627
  };
2620
2628
  const isAppRuntimeFile = (file) => isFarmAppRuntimeFile(file, appDirSlugs, routeModuleExtensions);
2629
+ const isRendererRouteFile = (file) => routeModuleExtensions.has(path6.extname(file).toLowerCase()) && farmApp?.getRouteManager().isRendererRouteFile(file) === true;
2621
2630
  const isStaticMetadataImageFile = (file) => /\/(?:opengraph-image|twitter-image)(?:\.(?:png|jpg|jpeg|gif|webp)|\.alt\.txt)$/.test(
2622
2631
  file.replace(/\\/g, "/")
2623
2632
  );
@@ -2654,7 +2663,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2654
2663
  const configChanged = isFarmConfigFile(file, farmConfig.root) || layerConfigFiles.has(normalizedFile);
2655
2664
  const programmaticRouteChanged = isProgrammaticRouteFile(file) || isProgrammaticRouteSourceFile(file) && (ev === "unlink" || fileContainsProgrammaticPageRoute(file));
2656
2665
  const typeArtifacts = configChanged ? ALL_TYPE_ARTIFACTS : {
2657
- routes: ev !== "change" && isRouteModuleFile(file) || programmaticRouteChanged,
2666
+ routes: ev !== "change" && (isRouteModuleFile(file) || isRendererRouteFile(file)) || programmaticRouteChanged,
2658
2667
  api: isApiRouteFile(file) || programmaticRouteChanged,
2659
2668
  env: false,
2660
2669
  images: false,
@@ -2666,7 +2675,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2666
2675
  if (isI18nCatalogFile(file)) {
2667
2676
  farmApp?.getI18nRuntime().reload().then(() => server.ws.send({ type: "full-reload", path: "*" })).catch((error) => logger.warn(`i18n catalog reload failed: ${error.message}`));
2668
2677
  }
2669
- const isRouteRefreshEvent = (ev !== "change" || isStaticMetadataImageFile(file)) && (isAppRuntimeFile(file) || isProgrammaticRouteFile(file) || isProgrammaticRouteSourceFile(file) && (ev === "unlink" || fileContainsProgrammaticPageRoute(file)));
2678
+ const isRouteRefreshEvent = (ev !== "change" || isStaticMetadataImageFile(file)) && (isAppRuntimeFile(file) || isRendererRouteFile(file) || isProgrammaticRouteFile(file) || isProgrammaticRouteSourceFile(file) && (ev === "unlink" || fileContainsProgrammaticPageRoute(file)));
2670
2679
  if (isRouteRefreshEvent) {
2671
2680
  if (!queuedRouteFiles) {
2672
2681
  const files = /* @__PURE__ */ new Set();
@@ -2846,6 +2855,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2846
2855
  root: farmConfig.root,
2847
2856
  srcDir: farmConfig.srcDir,
2848
2857
  clientEntry: "/@farm/client.js",
2858
+ rendererServer: farmConfig.renderer.server,
2849
2859
  resolveLayoutFonts: resolveDocsLayoutFonts,
2850
2860
  fontStylesheetHref: "/@farm/fonts.css",
2851
2861
  globalStylesheetHref: resolveDevGlobalStylesheetHref(
@@ -4887,9 +4897,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
4887
4897
  const integrations = resolvedConfig?.integrations || options.integrations;
4888
4898
  const root = resolvedConfig?.root || server?.config.root || process.cwd();
4889
4899
  const docs = resolvedConfig?.docs;
4890
- const adapterOwnsDocsRuntime = Boolean(
4891
- isReactRenderer(renderer) && docs?.adapter?.server && docs.adapter.react
4892
- );
4900
+ const adapterOwnsDocsRuntime = hasFarmDocsRuntimeAdapter(docs);
4893
4901
  const devtools = resolvedConfig?.devtools ?? resolveFarmDevtoolsConfig(false, "production");
4894
4902
  const [docsRuntime, docsSearchRuntime, devtoolsClientRuntime] = await Promise.all([
4895
4903
  docs?.enabled ? loadFarmDocsDevRuntime() : null,
@@ -4924,7 +4932,7 @@ ${generatedDevIndicatorsClientRuntime}`,
4924
4932
  root,
4925
4933
  resolvedConfig?.srcDir || options.srcDir || "src",
4926
4934
  resolvedConfig?.publicRuntimeConfig || options.publicRuntimeConfig,
4927
- isReactRenderer(renderer) ? docs?.adapter?.react : void 0,
4935
+ adapterOwnsDocsRuntime ? getFarmDocsAdapterUIModule(docs?.adapter) : void 0,
4928
4936
  renderer,
4929
4937
  isolatedHydrationMode === "enabled" || isReactRenderer(renderer) && (options.isolatedClientBoundaryModules ?? farmApp?.getRouteManager().getIsolatedClientBoundaryModules(root))?.size > 0,
4930
4938
  resolvedConfig?.trailingSlash ?? false,
@@ -4932,7 +4940,7 @@ ${generatedDevIndicatorsClientRuntime}`,
4932
4940
  generateClientCachePersistenceCode(
4933
4941
  resolveFarmClientCacheAdapterEntry(root, resolvedConfig?.cache)
4934
4942
  ),
4935
- isReactRenderer(renderer) ? getFarmDocsAdapterConfigModule(docs) : void 0,
4943
+ adapterOwnsDocsRuntime ? getFarmDocsAdapterConfigModule(docs) : void 0,
4936
4944
  resolveFarmServerComponentsMode(resolvedConfig?.experimental?.serverComponents) === "islands"
4937
4945
  );
4938
4946
  }
@@ -5130,6 +5138,7 @@ export { manifest };
5130
5138
  transformed = true;
5131
5139
  const currentConfig = farmApp?.getConfig() ?? options;
5132
5140
  let isolatedModuleReference = null;
5141
+ let rendererIslandModule = false;
5133
5142
  const root = currentConfig.root || server?.config.root || process.cwd();
5134
5143
  const cleanId = id.split("?", 1)[0];
5135
5144
  const selectedIsolatedModules = options.isolatedClientBoundaryModules ?? farmApp?.getRouteManager().getIsolatedClientBoundaryModules(root);
@@ -5162,6 +5171,24 @@ export { manifest };
5162
5171
  );
5163
5172
  }
5164
5173
  transformedCode = transformedBoundary;
5174
+ } else if (selectedForIsolatedHydration && usesFarmRendererIslands(currentConfig) && (isIsolatableClientBoundarySource(clientBoundarySource) || cleanId.replace(/\\/g, "/").includes(FARM_CLIENT_REFERENCE_DIRECTORY))) {
5175
+ rendererIslandModule = true;
5176
+ if (transformOptions?.ssr === true) {
5177
+ const renderer = resolveFarmRenderer(currentConfig.renderer);
5178
+ const transformedBoundary = transformIsolatedClientBoundaryModule({
5179
+ code: transformedCode,
5180
+ moduleReference: toViteModuleId(cleanId, root),
5181
+ islandStrategy: getIslandStrategyExport(clientBoundarySource) ?? "load",
5182
+ parse: (source) => this.parse(source),
5183
+ withIsland: renderer.server
5184
+ });
5185
+ if (!transformedBoundary) {
5186
+ this.error(
5187
+ `[Farm.js] Could not compile the island module ${cleanId} for renderer \`${renderer.name}\`. Set experimental.isolatedClientHydration = "off" to hydrate its routes whole.`
5188
+ );
5189
+ }
5190
+ transformedCode = transformedBoundary;
5191
+ }
5165
5192
  }
5166
5193
  if (!farmApp) {
5167
5194
  return {
@@ -5184,7 +5211,7 @@ export { manifest };
5184
5211
  );
5185
5212
  return;
5186
5213
  }` : "";
5187
- const hmrCode = transformOptions?.ssr || reactRefreshActive || !shouldEmitFarmClientRootHmr(currentConfig.renderer) ? "" : `
5214
+ const hmrCode = transformOptions?.ssr || reactRefreshActive || rendererIslandModule || !shouldEmitFarmClientRootHmr(currentConfig.renderer) ? "" : `
5188
5215
  if (import.meta.hot) {
5189
5216
  import.meta.hot.accept((newModule) => {
5190
5217
  ${isolatedHmrUpdate}
@@ -5452,7 +5479,8 @@ if (import.meta.hot) {
5452
5479
  }
5453
5480
  }
5454
5481
  }
5455
- if (normalizedFile.includes("/app/")) {
5482
+ const rendererRouteFile = farmApp?.getRouteManager().isRendererRouteModule(normalizedFile) === true;
5483
+ if (normalizedFile.includes("/app/") || rendererRouteFile) {
5456
5484
  if (normalizedFile.includes("middleware.")) {
5457
5485
  if (middlewareManager) {
5458
5486
  await middlewareManager.reload();
@@ -5474,7 +5502,7 @@ if (import.meta.hot) {
5474
5502
  if (manifestModule) {
5475
5503
  server2.moduleGraph.invalidateModule(manifestModule);
5476
5504
  }
5477
- if (normalizedFile.includes("page.") || normalizedFile.includes("layout.")) {
5505
+ if (normalizedFile.includes("page.") || normalizedFile.includes("layout.") || rendererRouteFile) {
5478
5506
  const shortPath = normalizedFile.split("/app/")[1] || normalizedFile;
5479
5507
  logUpdate("PAGE", `updated ${shortPath}`);
5480
5508
  for (const mod of modules) {
@@ -6012,7 +6040,7 @@ function parseRouteModuleSchema(schema, value, label, routePath) {
6012
6040
  throw new Error(`Invalid ${label} for route "${routePath}": ${message}`);
6013
6041
  }
6014
6042
  }
6015
- function generateClientCode(integrationProviders = [], documentNavigationMatchers = [], docsSearchClientRuntime = EMPTY_FARM_DOCS_SEARCH_CLIENT_RUNTIME, devtoolsClientRuntime = "", plugins = [], root = process.cwd(), srcDir = "src", publicRuntimeConfig = void 0, docsAdapterReact, renderer = REACT_RENDERER, isolatedHydrationEnabled = false, trailingSlash = false, basePath = "/", clientCachePersistence = { imports: "", init: "" }, docsConfigModule, islandValues = false) {
6043
+ function generateClientCode(integrationProviders = [], documentNavigationMatchers = [], docsSearchClientRuntime = EMPTY_FARM_DOCS_SEARCH_CLIENT_RUNTIME, devtoolsClientRuntime = "", plugins = [], root = process.cwd(), srcDir = "src", publicRuntimeConfig = void 0, docsAdapterUI, renderer = REACT_RENDERER, isolatedHydrationEnabled = false, trailingSlash = false, basePath = "/", clientCachePersistence = { imports: "", init: "" }, docsConfigModule, islandValues = false) {
6016
6044
  const providerClientCode = generateFarmIntegrationProviderClientCode(
6017
6045
  integrationProviders,
6018
6046
  root,
@@ -6039,12 +6067,46 @@ __farmConfigureApp(__farmAppSetup)` : `import * as __farmRendererClient from ${J
6039
6067
  import { hydrateRoot, createRoot } from ${JSON.stringify(renderer.client)}
6040
6068
  const React = { ...__farmRendererClient }`
6041
6069
  );
6042
- const isolatedHydrationImport = isolatedHydrationEnabled ? `${islandValues ? "import { createFarmIsolatedHydrationRuntime, createFarmServerPageBoundary, wrapFarmIsolatedClientGraph, createFarmServerTreeElement, createFarmServerTreeLayout } from '@farm.js/core/internal/islands-runtime'" : "import { createFarmIsolatedHydrationRuntime, createFarmServerPageBoundary, wrapFarmIsolatedClientGraph } from '@farm.js/core/internal/isolated-boundary'\nimport { createFarmServerTreeElement } from '@farm.js/core/internal/server-tree'"}` : "";
6070
+ const rendererIslands = isolatedHydrationEnabled && !islandValues && !isReactRenderer(renderer) && getFarmRendererCapabilities(renderer).islands;
6071
+ const isolatedHydrationImport = rendererIslands ? "import { createFarmRendererIslandRuntime } from '@farm.js/core/internal/renderer-islands'" : isolatedHydrationEnabled ? `${islandValues ? "import { createFarmIsolatedHydrationRuntime, createFarmServerPageBoundary, wrapFarmIsolatedClientGraph, createFarmServerTreeElement, createFarmServerTreeLayout } from '@farm.js/core/internal/islands-runtime'" : "import { createFarmIsolatedHydrationRuntime, createFarmServerPageBoundary, wrapFarmIsolatedClientGraph } from '@farm.js/core/internal/isolated-boundary'\nimport { createFarmServerTreeElement } from '@farm.js/core/internal/server-tree'"}` : "";
6043
6072
  const docsAdapterImportBlock = generateFarmDocsAdapterClientRuntime(
6044
- docsAdapterReact,
6045
- docsConfigModule
6073
+ docsAdapterUI,
6074
+ docsConfigModule,
6075
+ // Config resolution keeps an adapter to its UI's renderer, so this is the UI's renderer too.
6076
+ isReactRenderer(renderer) ? void 0 : renderer.client
6046
6077
  );
6047
- const isolatedHydrationRuntime = isolatedHydrationEnabled ? `const farmIsolatedHydrationRuntime = createFarmIsolatedHydrationRuntime({
6078
+ const isolatedHydrationRuntime = rendererIslands ? `const farmIsolatedHydrationRuntime = createFarmRendererIslandRuntime({
6079
+ renderer: React,
6080
+ load: (reference) => import(/* @vite-ignore */ farmModuleUrl(reference)),
6081
+ schedule: scheduleFarmIslandHydration,
6082
+ });
6083
+ window.__FARM_ISOLATED_HYDRATION_RUNTIME__ = farmIsolatedHydrationRuntime;
6084
+ // A hydrating layout keeps a page that doesn't hydrate as server HTML in a plain element. The
6085
+ // renderer's root never renders the page's islands, so the runtime starts them after each render.
6086
+ const FarmServerPage = 'div';
6087
+ // Island modules reach the browser as written, so a client tree has nothing to mark.
6088
+ function wrapFarmIsolatedClientGraph(_React, element) { return element; }
6089
+
6090
+ function disposeFarmIsolatedClientBoundaries(scope) {
6091
+ farmIsolatedHydrationRuntime.dispose(scope);
6092
+ }
6093
+
6094
+ async function hydrateFarmIsolatedClientBoundaries(scope = document, signal) {
6095
+ await farmIsolatedHydrationRuntime.hydrate(scope, signal);
6096
+ }
6097
+
6098
+ // After a hydrating layout renders another page: release the islands whose markup it replaced,
6099
+ // and start the new page's.
6100
+ async function hydrateFarmLayoutPageIslands(container) {
6101
+ farmIsolatedHydrationRuntime.prune();
6102
+ await hydrateFarmIsolatedClientBoundaries(container);
6103
+ }
6104
+
6105
+ async function createFarmServerTreePageElement() { return null; }
6106
+ async function buildFarmTreeLayouts() { return true; }
6107
+ function getFarmTreeLayoutComponent() { return null; }
6108
+ let farmLastRouteState = null;
6109
+ function rerenderFarmTreeLayouts() {}` : isolatedHydrationEnabled ? `const farmIsolatedHydrationRuntime = createFarmIsolatedHydrationRuntime({
6048
6110
  ReactRuntime: React,
6049
6111
  hydrateRoot,
6050
6112
  load: (reference) => import(/* @vite-ignore */ farmModuleUrl(reference)),
@@ -7673,6 +7735,7 @@ async function renderPage(pageData, info) {
7673
7735
  loadingModulePath: route.loadingModulePath,
7674
7736
  },
7675
7737
  );
7738
+ ${rendererIslands ? "await hydrateFarmLayoutPageIslands(container);" : ""}
7676
7739
  } else {
7677
7740
  ${isolatedHydrationEnabled ? "let isolatedHydrationScope = container;" : ""}
7678
7741
  ${islandValues ? "const keepValues = keepFarmIslandValues(container);" : ""}
@@ -7695,7 +7758,7 @@ async function renderPage(pageData, info) {
7695
7758
 
7696
7759
  const hydrationController = new AbortController();
7697
7760
  if (
7698
- shouldHydrate${isolatedHydrationEnabled ? " || (hasIsolatedClientBoundaries && !layoutShouldHydrate)" : ""}
7761
+ shouldHydrate${rendererIslands ? " || hasIsolatedClientBoundaries" : isolatedHydrationEnabled ? " || (hasIsolatedClientBoundaries && !layoutShouldHydrate)" : ""}
7699
7762
  ) {
7700
7763
  pendingPageHydrationController = hydrationController;
7701
7764
  }
@@ -7733,7 +7796,7 @@ async function renderPage(pageData, info) {
7733
7796
  });
7734
7797
  }
7735
7798
  }
7736
- ${isolatedHydrationEnabled ? `if (hasIsolatedClientBoundaries && !layoutShouldHydrate) {
7799
+ ${isolatedHydrationEnabled ? `if (hasIsolatedClientBoundaries${rendererIslands ? "" : " && !layoutShouldHydrate"}) {
7737
7800
  await hydrateFarmIsolatedClientBoundaries(
7738
7801
  isolatedHydrationScope,
7739
7802
  hydrationController.signal,
@@ -7952,8 +8015,7 @@ function farmIslandsOnlyDocument() {
7952
8015
  },
7953
8016
  });
7954
8017
  ${isolatedHydrationEnabled ? `const isolatedHydration =
7955
- hasIsolatedClientBoundaries &&
7956
- !layoutShouldHydrate
8018
+ hasIsolatedClientBoundaries${rendererIslands ? "" : " &&\n !layoutShouldHydrate"}
7957
8019
  ? hydrateFarmIsolatedClientBoundaries(rootContainer, hydrationController.signal)
7958
8020
  : Promise.resolve();
7959
8021
  await Promise.all([pageHydration, isolatedHydration]);` : "await pageHydration;"}