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

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 (675) hide show
  1. package/dist/THIRD-PARTY-LICENSES.md +3220 -0
  2. package/dist/after.cjs +3 -3
  3. package/dist/after.mjs +1 -1
  4. package/dist/{agent-mcp-handler-VX4NDDHR.mjs → agent-mcp-handler-BY7VJQ4W.mjs} +1 -1
  5. package/dist/agent-mcp-handler-S4UTE7NO.cjs +21 -0
  6. package/dist/{agent-mcp.d-DhCEzIfu.d.mts → agent-mcp.d-BdFnjlAT.d.mts} +1 -1
  7. package/dist/{agent-mcp.d-DBaonhLg.d.ts → agent-mcp.d-CAwDC9y4.d.ts} +1 -1
  8. package/dist/agent-runtime.cjs +25 -22
  9. package/dist/agent-runtime.d.mts +1 -1
  10. package/dist/agent-runtime.d.ts +1 -1
  11. package/dist/agent-runtime.mjs +2 -2
  12. package/dist/analyzer-3AMJK27J.cjs +17 -0
  13. package/dist/{analyzer-T2U345WL.mjs → analyzer-K3S4YRAH.mjs} +3 -3
  14. package/dist/api/client.cjs +16 -16
  15. package/dist/api/client.mjs +1 -1
  16. package/dist/api/client.native.cjs +21 -18
  17. package/dist/api/client.native.mjs +1 -1
  18. package/dist/api/node.cjs +29 -26
  19. package/dist/api/node.d.mts +3 -3
  20. package/dist/api/node.d.ts +3 -3
  21. package/dist/api/node.mjs +1 -1
  22. package/dist/api/route-manager.cjs +45 -45
  23. package/dist/api/route-manager.d.mts +3 -3
  24. package/dist/api/route-manager.d.ts +3 -3
  25. package/dist/api/route-manager.mjs +4 -4
  26. package/dist/api/runtime.cjs +25 -25
  27. package/dist/api/runtime.d.mts +2 -2
  28. package/dist/api/runtime.d.ts +2 -2
  29. package/dist/api/runtime.mjs +1 -1
  30. package/dist/api.cjs +57 -57
  31. package/dist/api.d.mts +4 -4
  32. package/dist/api.d.ts +4 -4
  33. package/dist/api.mjs +5 -5
  34. package/dist/{app-manifest.d-uE0JGZKN.d.mts → app-manifest.d-COs1wBGz.d.mts} +1 -1
  35. package/dist/{app-manifest.d-nLVFFd7N.d.ts → app-manifest.d-Dczk-fwt.d.ts} +1 -1
  36. package/dist/app-markdown-compiler-4RCCOTTF.cjs +33007 -0
  37. package/dist/app-markdown-compiler-OM2AMFRK.mjs +32402 -0
  38. package/dist/app-markdown.cjs +16 -16
  39. package/dist/app-markdown.d.mts +2 -2
  40. package/dist/app-markdown.d.ts +2 -2
  41. package/dist/app-markdown.mjs +3 -3
  42. package/dist/{app.d-CwVkAUEU.d.ts → app.d-DREl_yXh.d.ts} +17 -7
  43. package/dist/{app.d-DGGcNXV7.d.mts → app.d-LepnxO-5.d.mts} +17 -7
  44. package/dist/cache.cjs +8 -8
  45. package/dist/cache.mjs +1 -1
  46. package/dist/{chunk-DA432P2F.cjs → chunk-25CHWAZY.cjs} +14 -10
  47. package/dist/{chunk-JDT733EW.cjs → chunk-27IPPPCV.cjs} +16 -19
  48. package/dist/{chunk-PHCJJJZV.cjs → chunk-2HC46EGU.cjs} +6 -2
  49. package/dist/{chunk-MF3IA2AW.cjs → chunk-2L4M6YUG.cjs} +6 -1
  50. package/dist/{chunk-P2TGLGRR.mjs → chunk-2ORWY3SE.mjs} +2 -2
  51. package/dist/{chunk-VGZIIOU6.cjs → chunk-2PSN2PUJ.cjs} +12 -8
  52. package/dist/{chunk-CIY74JLV.cjs → chunk-2RA2VIKN.cjs} +9 -5
  53. package/dist/{chunk-NZRAUCUL.cjs → chunk-2UV765GT.cjs} +26 -20
  54. package/dist/{chunk-A3LNXQJJ.cjs → chunk-2VLW3HWJ.cjs} +9 -2
  55. package/dist/{chunk-4EBC7EMW.cjs → chunk-323JTLXR.cjs} +6 -1
  56. package/dist/{chunk-7KJJ4SBS.cjs → chunk-32HGOX3M.cjs} +6 -1
  57. package/dist/{chunk-RKQOMG2X.cjs → chunk-3ACTVXZG.cjs} +9 -5
  58. package/dist/{chunk-N3H7UPBM.cjs → chunk-3EZHMZGD.cjs} +6 -1
  59. package/dist/{chunk-LQWIIBI2.cjs → chunk-3KLDTMIC.cjs} +6 -1
  60. package/dist/{chunk-OO7DYIJD.cjs → chunk-3YT7DIIS.cjs} +7 -1
  61. package/dist/{chunk-ILQSRLKK.cjs → chunk-4A6WSOZH.cjs} +55 -49
  62. package/dist/{chunk-E5UN4OWX.cjs → chunk-4JARM2QQ.cjs} +6 -1
  63. package/dist/{chunk-VGVRGGP4.cjs → chunk-4JCX33RZ.cjs} +13 -8
  64. package/dist/chunk-4RLFAN7T.cjs +6 -0
  65. package/dist/{chunk-OZUINP2P.cjs → chunk-4USE4SEU.cjs} +19 -15
  66. package/dist/{chunk-PENBZAHJ.cjs → chunk-57OAZCWQ.cjs} +6 -1
  67. package/dist/{chunk-TWFJJPE7.cjs → chunk-5BZ7PR3T.cjs} +42 -38
  68. package/dist/{chunk-JYQ6DGPW.cjs → chunk-5P3TZGS3.cjs} +52 -45
  69. package/dist/{chunk-UWDFH3ZV.mjs → chunk-5UMPMVNF.mjs} +1 -1
  70. package/dist/{chunk-OZC2JPW6.cjs → chunk-5XYJ5KRN.cjs} +6 -1
  71. package/dist/{chunk-QKW6DLDT.cjs → chunk-5YT2ZSWS.cjs} +17 -13
  72. package/dist/{chunk-QCKSYYXK.cjs → chunk-63S7DAEG.cjs} +21 -17
  73. package/dist/{chunk-FDGYDQGL.cjs → chunk-66WIOZXX.cjs} +7 -1
  74. package/dist/{chunk-MHKPXX3J.cjs → chunk-6AUPJYHF.cjs} +13 -9
  75. package/dist/{chunk-DVJM55D2.cjs → chunk-6FIY4KBC.cjs} +6 -1
  76. package/dist/{chunk-TIZJYHB7.mjs → chunk-6IUWKO2Q.mjs} +15 -0
  77. package/dist/{chunk-VWIW47FW.cjs → chunk-6K7LEL2T.cjs} +6 -1
  78. package/dist/{chunk-UZCMMJJT.cjs → chunk-6NQ63L6N.cjs} +6 -1
  79. package/dist/{chunk-BTVDYS4B.cjs → chunk-6QCZWAGO.cjs} +6 -1
  80. package/dist/{chunk-RDADQG5S.cjs → chunk-6QWCFVGL.cjs} +14 -7
  81. package/dist/{chunk-JRGR5Z4K.cjs → chunk-6VC7NUY3.cjs} +6 -1
  82. package/dist/{chunk-CKPTIEDX.cjs → chunk-7BFFBYLN.cjs} +6 -1
  83. package/dist/{chunk-7Q7UB4TL.cjs → chunk-7GKZDRY2.cjs} +9 -5
  84. package/dist/{chunk-UCJCU2IL.cjs → chunk-7JI7W2MD.cjs} +34 -30
  85. package/dist/{chunk-C7LCTVJ2.cjs → chunk-7JZVCHNF.cjs} +10 -6
  86. package/dist/{chunk-QZUCVJZJ.cjs → chunk-7M3X4CBY.cjs} +6 -1
  87. package/dist/{chunk-7JUIK547.cjs → chunk-7MQMWGTL.cjs} +6 -1
  88. package/dist/{chunk-PIUTGRDI.cjs → chunk-7O3YJ6NP.cjs} +6 -1
  89. package/dist/{chunk-SXCL2MIN.cjs → chunk-7V5MQSBL.cjs} +9 -1
  90. package/dist/{chunk-7U4XF76R.cjs → chunk-7ZDLE77P.cjs} +12 -8
  91. package/dist/{chunk-NU5XLYRN.cjs → chunk-A2ELHZBZ.cjs} +10 -1
  92. package/dist/{chunk-RZI6436F.cjs → chunk-ADCVSTFV.cjs} +18 -11
  93. package/dist/{chunk-COK4IXOO.mjs → chunk-AGEBFYHF.mjs} +1 -1
  94. package/dist/{chunk-SWPLGPYF.cjs → chunk-AGT633OM.cjs} +27 -23
  95. package/dist/{chunk-WEZTGM7N.cjs → chunk-APKULXZV.cjs} +11 -9
  96. package/dist/chunk-AZJEQ5CR.cjs +6 -0
  97. package/dist/{chunk-ZMSVKVI3.cjs → chunk-B2VSX33T.cjs} +6 -1
  98. package/dist/{chunk-AQIRXBBY.cjs → chunk-B6JPBPBQ.cjs} +6 -1
  99. package/dist/{chunk-W76C7TCW.cjs → chunk-BNVQSUZK.cjs} +6 -2
  100. package/dist/{chunk-MNUYXZV7.cjs → chunk-BNWADCG2.cjs} +6 -1
  101. package/dist/{chunk-CCAUIBIS.cjs → chunk-BRWSQDKO.cjs} +10 -1
  102. package/dist/{chunk-SCE7VWPN.cjs → chunk-C4DZAEVT.cjs} +48 -41
  103. package/dist/{chunk-KQS27YN7.cjs → chunk-C6DR4JAR.cjs} +14 -10
  104. package/dist/{chunk-Y3WG64CP.cjs → chunk-CH2JX3CM.cjs} +6 -1
  105. package/dist/{chunk-KDQKTX3Q.cjs → chunk-COMBIEAP.cjs} +44 -36
  106. package/dist/{chunk-YUQUGVSV.cjs → chunk-CTTXHHZG.cjs} +50 -46
  107. package/dist/{chunk-FDZZ6K3N.cjs → chunk-CUW7K4AU.cjs} +14 -10
  108. package/dist/chunk-CWSUKW2H.cjs +6 -0
  109. package/dist/{chunk-HVGINJTO.mjs → chunk-D5OY5OKA.mjs} +60 -29
  110. package/dist/{chunk-T3SMMLSB.cjs → chunk-DB4NOIQC.cjs} +12 -8
  111. package/dist/{chunk-SSFAPTRD.mjs → chunk-DFLCEMQ3.mjs} +1 -1
  112. package/dist/{chunk-OWOUTKIJ.cjs → chunk-DQYMTSF3.cjs} +6 -1
  113. package/dist/{chunk-7V5M43ND.mjs → chunk-DVL3UVYT.mjs} +2 -2
  114. package/dist/{chunk-ZSVFI7JM.cjs → chunk-DVXT7RLV.cjs} +23 -18
  115. package/dist/{chunk-UNOXV37V.cjs → chunk-DYGHX2UR.cjs} +6 -1
  116. package/dist/{chunk-OLIWLN4I.cjs → chunk-E5AC7E25.cjs} +24 -20
  117. package/dist/{chunk-LSHX2H5G.cjs → chunk-EBE6BK54.cjs} +6 -1
  118. package/dist/{chunk-YNPVG2GG.mjs → chunk-EBVKVDQA.mjs} +1 -1
  119. package/dist/{chunk-WT6RAN2I.cjs → chunk-EGMJ5KEU.cjs} +6 -1
  120. package/dist/{chunk-22KXTL3I.cjs → chunk-EJLMRNSV.cjs} +24 -19
  121. package/dist/{chunk-RDNKQ5MK.cjs → chunk-EMM3YXXI.cjs} +19 -15
  122. package/dist/{chunk-EZUTDTFM.cjs → chunk-ERSLQ4C7.cjs} +18 -11
  123. package/dist/{chunk-4WXNTAOM.mjs → chunk-EUVHELJL.mjs} +1 -1
  124. package/dist/{chunk-J6TZRYCO.cjs → chunk-F5JTXLS7.cjs} +6 -1
  125. package/dist/{chunk-UOMSGJHK.cjs → chunk-F5T55PYX.cjs} +103 -95
  126. package/dist/{chunk-N2ZMSSPP.cjs → chunk-FYVSAWJP.cjs} +77 -70
  127. package/dist/{chunk-HUGPJFOC.cjs → chunk-G22QP2MX.cjs} +9 -5
  128. package/dist/{chunk-PMJSG4JS.cjs → chunk-G5KGLMPN.cjs} +6 -1
  129. package/dist/{chunk-R5U7OIPI.cjs → chunk-GAII22G2.cjs} +6 -1
  130. package/dist/{chunk-6CTFVBAT.cjs → chunk-GKYOFMPQ.cjs} +6 -1
  131. package/dist/{chunk-JYT7AN37.cjs → chunk-GLP3ID53.cjs} +6 -1
  132. package/dist/{chunk-QBJ6N5MT.mjs → chunk-GN2RXH72.mjs} +1 -1
  133. package/dist/{chunk-RQRTH57V.cjs → chunk-GQONHUMI.cjs} +6 -1
  134. package/dist/{chunk-EOXPRC2C.cjs → chunk-GQQID5IB.cjs} +7 -1
  135. package/dist/{chunk-IUKBPBM7.cjs → chunk-GUDYDNKU.cjs} +6 -1
  136. package/dist/{chunk-6GJZJAED.mjs → chunk-GUNPDMSX.mjs} +1 -1
  137. package/dist/{chunk-QO24II6C.mjs → chunk-GXWCR7PP.mjs} +7 -3
  138. package/dist/{chunk-VS7HLH4S.cjs → chunk-GYH2B4YQ.cjs} +12 -8
  139. package/dist/{chunk-RGMUS3HO.cjs → chunk-H3TYWCMG.cjs} +18 -14
  140. package/dist/{chunk-2OF5RPVU.cjs → chunk-H5AC3XSE.cjs} +18 -14
  141. package/dist/{chunk-ZIOFRBIU.cjs → chunk-H7INTSUK.cjs} +15 -9
  142. package/dist/{chunk-RFNQTQ44.cjs → chunk-HBRCMX24.cjs} +10 -5
  143. package/dist/{chunk-UA77C2ZA.cjs → chunk-HF3JJPH4.cjs} +58 -50
  144. package/dist/{chunk-4Q263EQI.mjs → chunk-HFOME6I2.mjs} +7 -7
  145. package/dist/{chunk-T7UC2ORA.cjs → chunk-HP7QYVST.cjs} +7 -1
  146. package/dist/{chunk-JP5TWUK2.cjs → chunk-HSAHQBMG.cjs} +8 -4
  147. package/dist/{chunk-3BTN3NP7.cjs → chunk-I5PDHLKE.cjs} +6 -2
  148. package/dist/{chunk-J2EKGR6E.cjs → chunk-IASZIYNM.cjs} +611 -529
  149. package/dist/{chunk-2RSVYJT6.cjs → chunk-IBZW57NW.cjs} +9 -5
  150. package/dist/{chunk-KORZ6PRE.cjs → chunk-IDUGG7VR.cjs} +6 -1
  151. package/dist/{chunk-6JHZPB52.cjs → chunk-IEZFFXSC.cjs} +10 -6
  152. package/dist/{chunk-VACYUMXW.cjs → chunk-IGA3OTFY.cjs} +37 -29
  153. package/dist/{chunk-YSRZSKQB.cjs → chunk-IGBQSUT5.cjs} +55 -40
  154. package/dist/{chunk-OQOII62L.mjs → chunk-II4ENBE4.mjs} +1 -1
  155. package/dist/{chunk-JIBEFLQ7.cjs → chunk-IKYNDANT.cjs} +7 -1
  156. package/dist/{chunk-Z43CIBUR.cjs → chunk-IU4YTFFQ.cjs} +16 -12
  157. package/dist/{chunk-KBGZ5FD6.cjs → chunk-IVEV44O2.cjs} +6 -2
  158. package/dist/{chunk-MCSRMEQV.cjs → chunk-J2JMESBJ.cjs} +6 -1
  159. package/dist/{chunk-WMRGIQTA.cjs → chunk-J3RIMCBD.cjs} +6 -1
  160. package/dist/{chunk-N4AQNEXR.cjs → chunk-JIBZ6SCC.cjs} +6 -1
  161. package/dist/{chunk-IZYFP7IN.cjs → chunk-JOSR2E2C.cjs} +17 -13
  162. package/dist/{chunk-AOKXITZ6.cjs → chunk-JOZDAIKZ.cjs} +6 -1
  163. package/dist/{chunk-EODGIFI7.cjs → chunk-JYQMGMKT.cjs} +16 -4
  164. package/dist/{chunk-J6RFB324.cjs → chunk-JZCUDAH2.cjs} +6 -1
  165. package/dist/{chunk-N2BRIN7I.mjs → chunk-K44IR6WC.mjs} +1 -1
  166. package/dist/{chunk-SUCDVKUB.cjs → chunk-K6LZMZNB.cjs} +6 -1
  167. package/dist/{chunk-GYJT2U7J.cjs → chunk-KAD5WBY4.cjs} +9 -5
  168. package/dist/{chunk-52Q4OB4A.cjs → chunk-KBURN62Z.cjs} +10 -6
  169. package/dist/{chunk-O4JYMU5N.cjs → chunk-KDUVIJSZ.cjs} +22 -18
  170. package/dist/{chunk-2LHZD3OP.cjs → chunk-KEBD377T.cjs} +6 -2
  171. package/dist/{chunk-3DE6RK7K.cjs → chunk-KHTJVI6B.cjs} +6 -1
  172. package/dist/{chunk-OY5XDG24.cjs → chunk-KI3B3H5K.cjs} +9 -5
  173. package/dist/{chunk-EXPVSFAG.cjs → chunk-KM7ZRKCH.cjs} +50 -41
  174. package/dist/{chunk-P2355C6E.cjs → chunk-KSRWTQ6J.cjs} +6 -1
  175. package/dist/{chunk-SHIWRBFI.cjs → chunk-KUG3P3GY.cjs} +6 -1
  176. package/dist/{chunk-T7HGXF7D.cjs → chunk-KXCPX3HE.cjs} +11 -7
  177. package/dist/{chunk-C5QHZ626.cjs → chunk-KXXZDS7C.cjs} +6 -1
  178. package/dist/{chunk-DUIP64BF.cjs → chunk-KYFTDHNN.cjs} +6 -1
  179. package/dist/{chunk-VXCFJWK5.cjs → chunk-L6CW5AWM.cjs} +6 -1
  180. package/dist/{chunk-XGPRM7OK.cjs → chunk-LEK3P2ZD.cjs} +16 -7
  181. package/dist/{chunk-HA7YRO53.cjs → chunk-LF7HAALM.cjs} +6 -1
  182. package/dist/{chunk-2KMIJDY6.cjs → chunk-LG62AYPQ.cjs} +6 -1
  183. package/dist/{chunk-SMUW7UST.mjs → chunk-LO5BNR6Y.mjs} +7 -2
  184. package/dist/{chunk-4A6A6P4T.mjs → chunk-LOQVWATF.mjs} +2 -2
  185. package/dist/{chunk-PWDBWXQI.cjs → chunk-LVYUTMW4.cjs} +6 -1
  186. package/dist/{chunk-I5KPOXUE.mjs → chunk-LWQ6IESX.mjs} +1 -1
  187. package/dist/{chunk-XRRHPBG2.cjs → chunk-M6W3AN57.cjs} +6 -1
  188. package/dist/{chunk-PZXYAWYG.cjs → chunk-M7RS7HSB.cjs} +13 -8
  189. package/dist/{chunk-UGWKNZ4U.cjs → chunk-MBDDLYT5.cjs} +25 -21
  190. package/dist/{chunk-CEVXKJKF.cjs → chunk-MMSCWTJT.cjs} +6 -1
  191. package/dist/{chunk-26ZTI2ZO.mjs → chunk-MRDI6MTL.mjs} +5 -5
  192. package/dist/{chunk-DVAZ53X6.cjs → chunk-N4AM7Q34.cjs} +77 -73
  193. package/dist/{chunk-DXUXQP2T.cjs → chunk-N4C72FCD.cjs} +6 -1
  194. package/dist/{chunk-H7REG7OX.cjs → chunk-NKW4JEOH.cjs} +13 -9
  195. package/dist/{chunk-XRFGOYXG.cjs → chunk-NMMCBJZM.cjs} +17 -12
  196. package/dist/{chunk-EA5HVG45.cjs → chunk-NNHIV3O2.cjs} +9 -2
  197. package/dist/{chunk-SHDCKRP4.cjs → chunk-NQUZDXKJ.cjs} +7 -3
  198. package/dist/{chunk-EUZFBHPP.cjs → chunk-O7B6LJWE.cjs} +7 -3
  199. package/dist/{chunk-SAUGKNCF.cjs → chunk-OBERQH7M.cjs} +42 -37
  200. package/dist/{chunk-NW3DL2PM.cjs → chunk-OCQSYDMG.cjs} +11 -4
  201. package/dist/{chunk-ZNXU4E6A.cjs → chunk-OSLI2SCA.cjs} +83 -72
  202. package/dist/{chunk-HLYRXN2I.cjs → chunk-OUOUPA37.cjs} +6 -1
  203. package/dist/{chunk-YIGUFJMR.cjs → chunk-OVSK47CZ.cjs} +6 -1
  204. package/dist/{chunk-ATYTLVSI.cjs → chunk-OX63SW6N.cjs} +7 -1
  205. package/dist/{chunk-YKHRCY4T.cjs → chunk-P2LSRUQB.cjs} +6 -1
  206. package/dist/{chunk-XJDB564A.cjs → chunk-P4ZLFUNB.cjs} +7 -2
  207. package/dist/{chunk-2OFP3IVA.cjs → chunk-P5RNGH52.cjs} +32 -18
  208. package/dist/{chunk-BW563VZZ.mjs → chunk-P67RLOMO.mjs} +1 -1
  209. package/dist/{chunk-6FXBJPF5.cjs → chunk-PCF54MSR.cjs} +6 -1
  210. package/dist/{chunk-GVYZCJZH.cjs → chunk-PHYSFHJK.cjs} +6 -1
  211. package/dist/{chunk-4DCWVSL2.cjs → chunk-PHZ7MLRQ.cjs} +6 -1
  212. package/dist/{chunk-PCAEJNQF.cjs → chunk-PNMRXZS5.cjs} +13 -9
  213. package/dist/{chunk-HS4JPIGR.cjs → chunk-PRKFECGT.cjs} +7 -3
  214. package/dist/{chunk-RTAWQXME.cjs → chunk-PSALMEHJ.cjs} +239 -145
  215. package/dist/{chunk-YUCU6XB4.cjs → chunk-PYPHM7AS.cjs} +9 -4
  216. package/dist/{chunk-CBB7I6HW.cjs → chunk-QBCR2EHA.cjs} +9 -5
  217. package/dist/{chunk-H7OFZJCV.cjs → chunk-QBMMQS25.cjs} +14 -8
  218. package/dist/{chunk-Y2FEFQAY.cjs → chunk-QCVP22KW.cjs} +8 -5
  219. package/dist/{chunk-J3GFOQOL.cjs → chunk-QGJL7EPX.cjs} +13 -9
  220. package/dist/{chunk-2PE5STAR.cjs → chunk-QHHEL4ZO.cjs} +6 -2
  221. package/dist/{chunk-LTOT5KVJ.mjs → chunk-QKXQFBNL.mjs} +1 -1
  222. package/dist/{chunk-L6E5BSNU.cjs → chunk-QT7MJL5E.cjs} +7 -3
  223. package/dist/{chunk-ERMUL73L.cjs → chunk-QTGYT2DF.cjs} +6 -1
  224. package/dist/{chunk-WBTHHTBO.cjs → chunk-QW5I5D5T.cjs} +6 -1
  225. package/dist/{chunk-IIHZ2BEE.cjs → chunk-QZRFEHMS.cjs} +15 -11
  226. package/dist/{chunk-HXNLKCWH.cjs → chunk-QZVPBDF7.cjs} +6 -1
  227. package/dist/{chunk-JH4CDG4G.cjs → chunk-R6GOH5CH.cjs} +18 -14
  228. package/dist/{chunk-2BEGVSDF.cjs → chunk-RBDAW6IZ.cjs} +7 -3
  229. package/dist/{chunk-PLJMEUAN.cjs → chunk-RFKPIAOF.cjs} +9 -1
  230. package/dist/{chunk-WPURVYXT.cjs → chunk-RGIHE6YL.cjs} +6 -2
  231. package/dist/{chunk-6B44ZU5P.cjs → chunk-RHORD2K2.cjs} +19 -15
  232. package/dist/{chunk-7MMDEIVC.mjs → chunk-RKWZ6F5D.mjs} +2 -2
  233. package/dist/{chunk-OCS3PSYR.cjs → chunk-RLC7NNTA.cjs} +6 -1
  234. package/dist/{chunk-STF6VDYQ.cjs → chunk-RQSPBWXJ.cjs} +6 -1
  235. package/dist/{chunk-RWR7SMD7.cjs → chunk-S2QSTMBE.cjs} +7 -3
  236. package/dist/{chunk-GCJ4GNMC.cjs → chunk-SGBEJBBB.cjs} +8 -4
  237. package/dist/chunk-SGRWZEQC.cjs +44 -0
  238. package/dist/{chunk-NDMPGFKL.cjs → chunk-SIQPXYBB.cjs} +6 -1
  239. package/dist/{chunk-2HTNASSB.cjs → chunk-SM4Y7CL4.cjs} +10 -6
  240. package/dist/{chunk-UNJZGVPU.cjs → chunk-SQ5O5EDN.cjs} +6 -1
  241. package/dist/{chunk-A25FXJ7D.cjs → chunk-SWOJU7LI.cjs} +6 -1
  242. package/dist/{chunk-BNH53KOT.cjs → chunk-SZBBBLLS.cjs} +6 -1
  243. package/dist/{chunk-HNB5JHBO.mjs → chunk-T4NOMZTS.mjs} +3 -3
  244. package/dist/{chunk-ML4TOUZP.cjs → chunk-T4YCWRCJ.cjs} +6 -1
  245. package/dist/{chunk-NDOE76QC.cjs → chunk-TDAH76RR.cjs} +8 -4
  246. package/dist/{chunk-D22BUQKW.cjs → chunk-TFCBJFP7.cjs} +6 -1
  247. package/dist/{chunk-NWF2FTFV.mjs → chunk-TP3ISVRU.mjs} +2 -9
  248. package/dist/{chunk-3EIPOTZV.cjs → chunk-TP7JAC3T.cjs} +6 -2
  249. package/dist/{chunk-4IE3YK7U.mjs → chunk-TQCDN4DV.mjs} +1 -1
  250. package/dist/{chunk-FB4CWSC2.cjs → chunk-TSLXAEGM.cjs} +16 -12
  251. package/dist/{chunk-5LJF4KUZ.cjs → chunk-U2HFXURZ.cjs} +19 -9
  252. package/dist/{chunk-SHD265HW.cjs → chunk-U3NUGF2E.cjs} +7 -1
  253. package/dist/{chunk-SVXOCTQ2.cjs → chunk-UARKTC55.cjs} +6 -1
  254. package/dist/{chunk-M4YXD6MD.cjs → chunk-UBH2OARS.cjs} +678 -616
  255. package/dist/{chunk-UZM3PDKK.cjs → chunk-UGL4BDNB.cjs} +27 -3
  256. package/dist/{chunk-GBMWLDCC.cjs → chunk-UHTXBC4Q.cjs} +7 -1
  257. package/dist/{chunk-47JV57DA.cjs → chunk-UOFTT6S4.cjs} +6 -1
  258. package/dist/{chunk-NNNMFSXG.mjs → chunk-V36K4TSU.mjs} +2 -2
  259. package/dist/{chunk-SPKZCFPH.mjs → chunk-V5F6HN7E.mjs} +4 -4
  260. package/dist/{chunk-I2RBHZF7.cjs → chunk-VB7P66Q4.cjs} +6 -1
  261. package/dist/{chunk-BIAGSYIZ.cjs → chunk-VD7ENQP2.cjs} +54 -47
  262. package/dist/{chunk-Q637AXGZ.mjs → chunk-VGX75645.mjs} +96 -16
  263. package/dist/{chunk-NLBHLPEO.cjs → chunk-VIDUNAQE.cjs} +6 -1
  264. package/dist/{chunk-MWAWMFG3.cjs → chunk-VMIR4SUL.cjs} +552 -527
  265. package/dist/{chunk-VM57CK74.cjs → chunk-VNWKJOJF.cjs} +6 -1
  266. package/dist/{chunk-RBSGFS5X.cjs → chunk-VQYGXWCS.cjs} +62 -54
  267. package/dist/{chunk-V5FEFFHV.mjs → chunk-VS4ABIJJ.mjs} +1 -1
  268. package/dist/{chunk-MPU5DOXX.cjs → chunk-VUCDMV3Q.cjs} +6 -1
  269. package/dist/{chunk-XOLYZZDX.mjs → chunk-VVIO7QGN.mjs} +93 -42
  270. package/dist/{chunk-L2GUEYHR.cjs → chunk-VZ2P6GRC.cjs} +8 -1
  271. package/dist/{chunk-3SPECQXI.cjs → chunk-W4KSV6GX.cjs} +13 -9
  272. package/dist/{chunk-CHOOBTDD.cjs → chunk-W4WFKRLR.cjs} +17 -13
  273. package/dist/chunk-W7BMZI3I.cjs +6 -0
  274. package/dist/{chunk-SNP33A33.cjs → chunk-WCPGU6J6.cjs} +6 -1
  275. package/dist/{chunk-2OR5WAD5.cjs → chunk-WFNL24R6.cjs} +58 -43
  276. package/dist/{chunk-XOFJUSWC.cjs → chunk-WJ5ADUI2.cjs} +18 -14
  277. package/dist/{chunk-LQ3FISSD.mjs → chunk-WLOIUPV2.mjs} +53 -43
  278. package/dist/{chunk-JCYDWJVO.cjs → chunk-WZSLDPVZ.cjs} +13 -9
  279. package/dist/{chunk-O5YM6GU3.mjs → chunk-X2TC6PBK.mjs} +1 -1
  280. package/dist/{chunk-BSX5OGSD.cjs → chunk-XE3E4MER.cjs} +24 -20
  281. package/dist/{chunk-3BIASUGR.cjs → chunk-XEPUUTGC.cjs} +6 -1
  282. package/dist/{chunk-HQKCSJEH.cjs → chunk-XH4GQ7MT.cjs} +17 -10
  283. package/dist/{chunk-SIECKBNK.cjs → chunk-XJEOHDPN.cjs} +6 -1
  284. package/dist/{chunk-5AMH6AFA.cjs → chunk-XK7SRVHC.cjs} +15 -11
  285. package/dist/chunk-XPVS4HKU.cjs +16 -0
  286. package/dist/{chunk-WKVYF2B5.cjs → chunk-XSJYXUY6.cjs} +6 -1
  287. package/dist/{chunk-5DX3O6TT.cjs → chunk-XSLYRNNA.cjs} +8 -4
  288. package/dist/{chunk-UUQNJDGH.cjs → chunk-XTQPYWQW.cjs} +6 -1
  289. package/dist/{chunk-3HLQTOVU.cjs → chunk-XVD5Y6S4.cjs} +6 -1
  290. package/dist/{chunk-7Q2YWZF7.cjs → chunk-XXBWKAJF.cjs} +14 -10
  291. package/dist/{chunk-YDXLC4DW.cjs → chunk-XZ6L3FUU.cjs} +6 -1
  292. package/dist/{chunk-FZ7OUN5M.cjs → chunk-Y3HLU2XL.cjs} +6 -2
  293. package/dist/{chunk-I2BYNELA.cjs → chunk-Y6WRVFD6.cjs} +9 -5
  294. package/dist/{chunk-OOZEU5KK.cjs → chunk-YC3LKWJO.cjs} +6 -1
  295. package/dist/{chunk-SXXSQVKK.cjs → chunk-YCIFGYBY.cjs} +13 -8
  296. package/dist/{chunk-CYOTNHDF.cjs → chunk-YHALJBYT.cjs} +6 -2
  297. package/dist/{chunk-WOAXQ5MZ.cjs → chunk-YLEL4ZRQ.cjs} +18 -14
  298. package/dist/{chunk-WEGAVN37.cjs → chunk-YMJK6VWQ.cjs} +6 -1
  299. package/dist/{chunk-2HW5LWAH.cjs → chunk-YQ5NVEFS.cjs} +6 -1
  300. package/dist/{chunk-AQLHD6HZ.cjs → chunk-YQXLBYY2.cjs} +20 -11
  301. package/dist/{chunk-IBEHVSU4.cjs → chunk-YUV5XXDC.cjs} +6 -1
  302. package/dist/{chunk-PWMJBCAN.cjs → chunk-YV47TSSB.cjs} +7 -3
  303. package/dist/{chunk-X333W5KV.cjs → chunk-YZMSJRM5.cjs} +6 -1
  304. package/dist/{chunk-VFMHE5D3.cjs → chunk-Z23OCU33.cjs} +29 -25
  305. package/dist/{chunk-DBYNZIIQ.cjs → chunk-Z2JQR56W.cjs} +6 -1
  306. package/dist/{chunk-RK3YYUX6.cjs → chunk-ZKVA2TV6.cjs} +6 -1
  307. package/dist/{chunk-SAPG45RA.cjs → chunk-ZPZGC6OD.cjs} +31 -27
  308. package/dist/{chunk-DV52ZS53.cjs → chunk-ZRRNF26T.cjs} +6 -2
  309. package/dist/{chunk-PO5MXV5X.cjs → chunk-ZSSBEPN4.cjs} +6 -1
  310. package/dist/{cli-runtime.d-oUiNuspW.d.mts → cli-runtime.d-BGaFPum1.d.mts} +5 -5
  311. package/dist/{cli-runtime.d-Dbl-gIoz.d.ts → cli-runtime.d-Bvfxt4uo.d.ts} +5 -5
  312. package/dist/client/lifecycle.cjs +8 -3
  313. package/dist/client/lifecycle.mjs +1 -1
  314. package/dist/{client-component.d-DaUqOhZT.d.mts → client-component.d-BA6kXI5L.d.mts} +1 -1
  315. package/dist/{client-component.d-CT4q7tmy.d.ts → client-component.d-LSEmRhuI.d.ts} +1 -1
  316. package/dist/client-plugins.cjs +8 -3
  317. package/dist/{client-plugins.d-24qhjX8c.d.ts → client-plugins.d-CQ6AGHP0.d.ts} +14 -0
  318. package/dist/{client-plugins.d-BfGTqbAH.d.mts → client-plugins.d-CVUMc2ai.d.mts} +14 -0
  319. package/dist/client-plugins.d.mts +1 -1
  320. package/dist/client-plugins.d.ts +1 -1
  321. package/dist/client-plugins.mjs +1 -1
  322. package/dist/client.cjs +51 -51
  323. package/dist/client.d.mts +7 -7
  324. package/dist/client.d.ts +7 -7
  325. package/dist/client.mjs +1 -1
  326. package/dist/config.cjs +3 -3
  327. package/dist/config.d.mts +1 -1
  328. package/dist/config.d.ts +1 -1
  329. package/dist/config.mjs +1 -1
  330. package/dist/cron.cjs +9 -9
  331. package/dist/cron.mjs +1 -1
  332. package/dist/deferred.cjs +3 -3
  333. package/dist/deferred.mjs +1 -1
  334. package/dist/deployment.cjs +3 -3
  335. package/dist/deployment.mjs +1 -1
  336. package/dist/desktop.cjs +4 -1
  337. package/dist/desktop.d.mts +2 -2
  338. package/dist/desktop.d.ts +2 -2
  339. package/dist/desktop.mjs +1 -1
  340. package/dist/{dev-guard-VIEEA4LS.cjs → dev-guard-M3ZCDWCK.cjs} +14 -11
  341. package/dist/{dev-guard-K3GJDPEQ.mjs → dev-guard-TFVWJNIB.mjs} +2 -2
  342. package/dist/{devtools-5WDQQDTA.cjs → devtools-OBQY3XOY.cjs} +72 -69
  343. package/dist/{devtools-DPYIYHTI.mjs → devtools-RYTO2V7G.mjs} +4 -4
  344. package/dist/{devtools-client-BKBCCORT.cjs → devtools-client-3K67NMWA.cjs} +7 -4
  345. package/dist/{devtools-client-L4MUWD6K.mjs → devtools-client-WAMA6Q77.mjs} +1 -1
  346. package/dist/{devtools-ui-C2EMF2SO.cjs → devtools-ui-TPBPQEEB.cjs} +4 -1
  347. package/dist/{devtools-ui-BOG33MT5.mjs → devtools-ui-UYEVDADD.mjs} +1 -1
  348. package/dist/docs.cjs +72 -72
  349. package/dist/docs.d.mts +3 -3
  350. package/dist/docs.d.ts +3 -3
  351. package/dist/docs.mjs +5 -5
  352. package/dist/env-types.cjs +4 -4
  353. package/dist/env-types.mjs +1 -1
  354. package/dist/env.cjs +4 -4
  355. package/dist/env.mjs +1 -1
  356. package/dist/environment/vite.cjs +16 -16
  357. package/dist/environment/vite.mjs +3 -3
  358. package/dist/environment.cjs +3 -3
  359. package/dist/environment.mjs +1 -1
  360. package/dist/font.cjs +3 -3
  361. package/dist/font.mjs +1 -1
  362. package/dist/{handler.d-GfNuz57p.d.mts → handler.d-DLKZDAYR.d.mts} +1 -1
  363. package/dist/{handler.d-Oca5kNSz.d.ts → handler.d-nkrNn_0M.d.ts} +1 -1
  364. package/dist/headers.cjs +6 -6
  365. package/dist/{headers.d-C_lsQIWA.d.mts → headers.d-C3k520Fc.d.mts} +1 -1
  366. package/dist/{headers.d-b8gHJDvu.d.ts → headers.d-DVBrYnqP.d.ts} +1 -1
  367. package/dist/headers.mjs +1 -1
  368. package/dist/i18n/client.cjs +23 -20
  369. package/dist/i18n/client.mjs +1 -1
  370. package/dist/i18n/index.cjs +12 -7
  371. package/dist/i18n/index.mjs +1 -1
  372. package/dist/i18n/server.cjs +11 -11
  373. package/dist/i18n/server.mjs +1 -1
  374. package/dist/image/server.cjs +8 -8
  375. package/dist/image/server.mjs +1 -1
  376. package/dist/image/sharp.cjs +21 -18
  377. package/dist/image/sharp.mjs +1 -1
  378. package/dist/image.cjs +7 -4
  379. package/dist/image.mjs +1 -1
  380. package/dist/index.cjs +228 -216
  381. package/dist/{index.d-BLtjh1aS.d.mts → index.d-5PDB032w.d.mts} +1 -1
  382. package/dist/{index.d-Ckv6kHFm.d.ts → index.d-e5WhoB07.d.ts} +1 -1
  383. package/dist/index.d.mts +22 -22
  384. package/dist/index.d.ts +22 -22
  385. package/dist/index.mjs +37 -37
  386. package/dist/instrumentation.cjs +5 -5
  387. package/dist/instrumentation.mjs +1 -1
  388. package/dist/integrations/orm.cjs +7 -7
  389. package/dist/integrations/orm.d.mts +1 -1
  390. package/dist/integrations/orm.d.ts +1 -1
  391. package/dist/integrations/orm.mjs +3 -3
  392. package/dist/integrations.cjs +22 -22
  393. package/dist/integrations.d.mts +1 -1
  394. package/dist/integrations.d.ts +1 -1
  395. package/dist/integrations.mjs +2 -2
  396. package/dist/internal/app-markdown-runtime.cjs +14 -14
  397. package/dist/internal/app-markdown-runtime.d.mts +2 -2
  398. package/dist/internal/app-markdown-runtime.d.ts +2 -2
  399. package/dist/internal/app-markdown-runtime.mjs +2 -2
  400. package/dist/internal/build-runtime.cjs +186 -181
  401. package/dist/internal/build-runtime.d.mts +4 -4
  402. package/dist/internal/build-runtime.d.ts +4 -4
  403. package/dist/internal/build-runtime.mjs +31 -31
  404. package/dist/internal/cli-runtime.cjs +105 -100
  405. package/dist/internal/cli-runtime.d.mts +7 -7
  406. package/dist/internal/cli-runtime.d.ts +7 -7
  407. package/dist/internal/cli-runtime.mjs +13 -13
  408. package/dist/internal/client-error-overlay.cjs +12 -9
  409. package/dist/internal/client-error-overlay.mjs +2 -2
  410. package/dist/internal/client-runtime.cjs +37 -26
  411. package/dist/internal/client-runtime.d.mts +5 -5
  412. package/dist/internal/client-runtime.d.ts +5 -5
  413. package/dist/internal/client-runtime.mjs +1 -1
  414. package/dist/internal/compression-runtime.cjs +4 -4
  415. package/dist/internal/compression-runtime.d.mts +1 -1
  416. package/dist/internal/compression-runtime.d.ts +1 -1
  417. package/dist/internal/compression-runtime.mjs +1 -1
  418. package/dist/internal/config-runtime.cjs +85 -82
  419. package/dist/internal/config-runtime.d.mts +3 -3
  420. package/dist/internal/config-runtime.d.ts +3 -3
  421. package/dist/internal/config-runtime.mjs +6 -6
  422. package/dist/internal/desktop-guard.cjs +5 -5
  423. package/dist/internal/desktop-guard.mjs +1 -1
  424. package/dist/internal/docs-precompiled-runtime.cjs +10 -7
  425. package/dist/internal/docs-precompiled-runtime.mjs +1 -1
  426. package/dist/internal/form-actions-client.cjs +4 -1
  427. package/dist/internal/form-actions-client.mjs +1 -1
  428. package/dist/internal/form-actions.cjs +13 -13
  429. package/dist/internal/form-actions.mjs +1 -1
  430. package/dist/internal/infra-analytics-runtime.cjs +32 -29
  431. package/dist/internal/infra-analytics-runtime.mjs +5 -5
  432. package/dist/internal/island-codec.cjs +4 -4
  433. package/dist/internal/island-codec.mjs +1 -1
  434. package/dist/internal/island-value-store.cjs +4 -1
  435. package/dist/internal/island-value-store.mjs +1 -1
  436. package/dist/internal/islands-action-client.cjs +10 -10
  437. package/dist/internal/islands-action-client.mjs +1 -1
  438. package/dist/internal/islands-boot.cjs +6 -3
  439. package/dist/internal/islands-boot.mjs +1 -1
  440. package/dist/internal/islands-runtime.cjs +12 -9
  441. package/dist/internal/islands-runtime.mjs +2 -2
  442. package/dist/internal/islands-server-tree.cjs +4 -1
  443. package/dist/internal/islands-server-tree.mjs +1 -1
  444. package/dist/internal/islands-server.cjs +9 -6
  445. package/dist/internal/islands-server.mjs +1 -1
  446. package/dist/internal/islx-actions-client.cjs +13 -10
  447. package/dist/internal/islx-actions-client.mjs +1 -1
  448. package/dist/internal/islx-actions-server.cjs +4 -1
  449. package/dist/internal/islx-actions-server.mjs +1 -1
  450. package/dist/internal/islx-client.cjs +7 -4
  451. package/dist/internal/islx-client.mjs +2 -2
  452. package/dist/internal/islx-react.cjs +4 -1
  453. package/dist/internal/islx-server.cjs +4 -1
  454. package/dist/internal/isolated-boundary.cjs +5 -5
  455. package/dist/internal/isolated-boundary.mjs +1 -1
  456. package/dist/internal/metadata-image-runtime.cjs +8 -8
  457. package/dist/internal/metadata-image-runtime.mjs +1 -1
  458. package/dist/internal/native-server-fns.cjs +10 -10
  459. package/dist/internal/native-server-fns.mjs +4 -4
  460. package/dist/internal/navigation-neutral.cjs +6 -3
  461. package/dist/internal/navigation-neutral.mjs +1 -1
  462. package/dist/internal/product-telemetry-runtime.cjs +4 -4
  463. package/dist/internal/product-telemetry-runtime.mjs +3 -3
  464. package/dist/internal/production-node-env.cjs +3 -3
  465. package/dist/internal/production-node-env.mjs +2 -2
  466. package/dist/internal/production-runtime.cjs +97 -89
  467. package/dist/internal/production-runtime.d.mts +10 -10
  468. package/dist/internal/production-runtime.d.ts +10 -10
  469. package/dist/internal/production-runtime.mjs +6 -6
  470. package/dist/internal/react-cache.cjs +10 -7
  471. package/dist/internal/react-cache.mjs +1 -1
  472. package/dist/internal/renderer-islands.cjs +4 -1
  473. package/dist/internal/renderer-islands.mjs +1 -1
  474. package/dist/internal/request-cookies.cjs +3 -3
  475. package/dist/internal/request-cookies.mjs +1 -1
  476. package/dist/internal/server-fn-transform.cjs +3 -3
  477. package/dist/internal/server-fn-transform.mjs +1 -1
  478. package/dist/internal/server-tree.cjs +5 -5
  479. package/dist/internal/server-tree.mjs +1 -1
  480. package/dist/internal/spa-router.cjs +20 -20
  481. package/dist/internal/spa-router.d.mts +3 -3
  482. package/dist/internal/spa-router.d.ts +3 -3
  483. package/dist/internal/spa-router.mjs +1 -1
  484. package/dist/internal/start-manifest.cjs +4 -1
  485. package/dist/internal/start-manifest.d.mts +1 -1
  486. package/dist/internal/start-manifest.d.ts +1 -1
  487. package/dist/internal/start-manifest.mjs +1 -1
  488. package/dist/internal/vercel-edge-middleware.cjs +23 -20
  489. package/dist/internal/vercel-edge-middleware.mjs +1 -1
  490. package/dist/json-ld.cjs +4 -1
  491. package/dist/json-ld.mjs +1 -1
  492. package/dist/layers-GP57TBE2.cjs +21 -0
  493. package/dist/{layers-744BBUY5.mjs → layers-IMRXNZRB.mjs} +1 -1
  494. package/dist/{libsql-http-M6LMNXCN.cjs → libsql-http-5GYGFVGC.cjs} +94 -87
  495. package/dist/{libsql-http-2QD224YS.mjs → libsql-http-PBJXNEOX.mjs} +1 -1
  496. package/dist/manager-3DFQDKJ6.cjs +18 -0
  497. package/dist/{manager-7BNSJKME.mjs → manager-GZUTAN5Q.mjs} +2 -2
  498. package/dist/markdown.cjs +12 -12
  499. package/dist/markdown.d.mts +1 -1
  500. package/dist/markdown.d.ts +1 -1
  501. package/dist/markdown.mjs +1 -1
  502. package/dist/middleware.cjs +32 -32
  503. package/dist/middleware.d.mts +1 -1
  504. package/dist/middleware.d.ts +1 -1
  505. package/dist/middleware.mjs +4 -4
  506. package/dist/mobile.cjs +4 -1
  507. package/dist/mobile.mjs +1 -1
  508. package/dist/{modules-3Q2ZCY4Q.mjs → modules-IVJXVV4W.mjs} +1 -1
  509. package/dist/modules-JDPCBWND.cjs +13 -0
  510. package/dist/{mount.d-BCS8mD4E.d.mts → mount.d-COIrFH0i.d.mts} +1 -1
  511. package/dist/{mount.d-DEX8eref.d.ts → mount.d-Cbz8vsSZ.d.ts} +1 -1
  512. package/dist/{native-server-fn-handler-PYK65A46.mjs → native-server-fn-handler-IMLQMSIR.mjs} +1 -1
  513. package/dist/native-server-fn-handler-U7I6H6MM.cjs +30 -0
  514. package/dist/{native-specs-A7YOL463.mjs → native-specs-4DOPYSOJ.mjs} +1 -1
  515. package/dist/native-specs-IXHEIZCD.cjs +15 -0
  516. package/dist/{native-tree-AO7PQ7FR.mjs → native-tree-2GQMSOLV.mjs} +1 -1
  517. package/dist/native-tree-PHCV43W4.cjs +28 -0
  518. package/dist/native.cjs +4 -1
  519. package/dist/native.mjs +1 -1
  520. package/dist/{navigation-delegate.d-Cgi28e5Q.d.ts → navigation-delegate.d-dlnYTX-Y.d.ts} +1 -1
  521. package/dist/{navigation-delegate.d-F83ugsZW.d.mts → navigation-delegate.d-yulG9Dp5.d.mts} +1 -1
  522. package/dist/navigation.cjs +26 -26
  523. package/dist/navigation.d.mts +4 -4
  524. package/dist/navigation.d.ts +4 -4
  525. package/dist/navigation.mjs +1 -1
  526. package/dist/{nitro-FK3SZM4H.mjs → nitro-6HSEGMWJ.mjs} +2 -2
  527. package/dist/{nitro-YDFMH5PY.cjs → nitro-K4MCBBB6.cjs} +31 -28
  528. package/dist/{node-module-bundle-ZWCQJCKA.mjs → node-module-bundle-4IN4YCDV.mjs} +1 -1
  529. package/dist/node-module-bundle-PHKRIHI6.cjs +15 -0
  530. package/dist/observability.cjs +3 -3
  531. package/dist/observability.mjs +1 -1
  532. package/dist/og.cjs +4 -1
  533. package/dist/og.mjs +1 -1
  534. package/dist/platform.cjs +4 -1
  535. package/dist/platform.mjs +1 -1
  536. package/dist/{plugin-EVKQZBNW.mjs → plugin-B7I5QVBE.mjs} +2 -2
  537. package/dist/plugin-QYBJSGHG.cjs +33 -0
  538. package/dist/plugin.cjs +175 -170
  539. package/dist/plugin.d.mts +5 -5
  540. package/dist/plugin.d.ts +5 -5
  541. package/dist/plugin.mjs +25 -25
  542. package/dist/{port-STMSGUVU.cjs → port-2YV5GBDN.cjs} +13 -10
  543. package/dist/{port-CEZTV776.mjs → port-4ZIDLV4Z.mjs} +1 -1
  544. package/dist/query/client.cjs +38 -34
  545. package/dist/query/client.mjs +1 -1
  546. package/dist/query/index.cjs +5 -5
  547. package/dist/query/index.mjs +1 -1
  548. package/dist/query/parsers.cjs +3 -3
  549. package/dist/query/parsers.mjs +1 -1
  550. package/dist/query/server.cjs +8 -5
  551. package/dist/query/server.mjs +1 -1
  552. package/dist/{render-plan.d-BkVY4aFb.d.mts → render-plan.d-BW56oxMP.d.mts} +1 -1
  553. package/dist/{render-plan.d-DCF2GZdD.d.ts → render-plan.d-Cz7bQmcf.d.ts} +1 -1
  554. package/dist/renderer/none/server.cjs +4 -1
  555. package/dist/renderer/none/server.mjs +1 -1
  556. package/dist/renderer/react/client.cjs +4 -1
  557. package/dist/renderer/react/client.mjs +1 -1
  558. package/dist/renderer/react/server.cjs +14 -11
  559. package/dist/renderer/react/server.mjs +1 -1
  560. package/dist/renderer/react/vite.cjs +4 -1
  561. package/dist/renderer/react/vite.mjs +1 -1
  562. package/dist/renderer-client.cjs +67 -64
  563. package/dist/renderer-client.d.mts +5 -5
  564. package/dist/renderer-client.d.ts +5 -5
  565. package/dist/renderer-client.mjs +1 -1
  566. package/dist/renderer.cjs +11 -6
  567. package/dist/renderer.mjs +1 -1
  568. package/dist/request.cjs +9 -4
  569. package/dist/{request.d-C5o-4dU2.d.ts → request.d-BaFROByP.d.ts} +1 -1
  570. package/dist/{request.d-DMPB53-i.d.mts → request.d-BwgX-7Wi.d.mts} +1 -1
  571. package/dist/request.d.mts +2 -2
  572. package/dist/request.d.ts +2 -2
  573. package/dist/request.mjs +1 -1
  574. package/dist/{route-rendering.d-DDvArvik.d.mts → route-rendering.d-BzeFPYGc.d.mts} +1 -1
  575. package/dist/{route-rendering.d-DfP6zRP7.d.ts → route-rendering.d-D4kUuncg.d.ts} +1 -1
  576. package/dist/router.cjs +5 -5
  577. package/dist/{router.d-s40h7aoS.d.ts → router.d-B9qJdgjt.d.ts} +1 -1
  578. package/dist/{router.d-1Skf2XCO.d.mts → router.d-D-p8WElf.d.mts} +1 -1
  579. package/dist/router.mjs +1 -1
  580. package/dist/routes.cjs +16 -16
  581. package/dist/routes.d.mts +1 -1
  582. package/dist/routes.d.ts +1 -1
  583. package/dist/routes.mjs +1 -1
  584. package/dist/{rsc-pipeline-O2YMVHUF.mjs → rsc-pipeline-Y6D6KBES.mjs} +9 -9
  585. package/dist/rsc-pipeline-YHVEHWTU.cjs +91 -0
  586. package/dist/{runtime-K2X3IZAF.mjs → runtime-62ZIEV6U.mjs} +8 -8
  587. package/dist/{runtime-WOTVFYQY.cjs → runtime-LKEMFXHW.cjs} +129 -119
  588. package/dist/{runtime.d-Bykc5Qfg.d.mts → runtime.d-BUtDIrRJ.d.mts} +1 -1
  589. package/dist/{runtime.d-k-9kFUsM.d.ts → runtime.d-Du64AX3R.d.ts} +1 -1
  590. package/dist/safe-fetch.cjs +4 -4
  591. package/dist/safe-fetch.mjs +1 -1
  592. package/dist/{schema-dev-notice-EUPAUJVN.mjs → schema-dev-notice-EZAOFO7A.mjs} +1 -1
  593. package/dist/{schema-dev-notice-ZSCL47CT.cjs → schema-dev-notice-Y4J5KPEY.cjs} +16 -13
  594. package/dist/schema.cjs +4 -4
  595. package/dist/schema.mjs +1 -1
  596. package/dist/{search-client-GIXIEU75.mjs → search-client-HN3ZY6AK.mjs} +1 -1
  597. package/dist/search-client-Z7KDVD4C.cjs +15 -0
  598. package/dist/server-action-security.cjs +10 -10
  599. package/dist/server-action-security.mjs +1 -1
  600. package/dist/{server-components-status.d-D-HixBe0.d.mts → server-components-status.d-B0YP-m9A.d.mts} +1 -1
  601. package/dist/{server-components-status.d-DLNd1C5j.d.ts → server-components-status.d-CvFhb6-t.d.ts} +1 -1
  602. package/dist/server-fn-client.cjs +4 -4
  603. package/dist/server-fn-client.mjs +1 -1
  604. package/dist/server-fn.cjs +17 -17
  605. package/dist/server-fn.mjs +1 -1
  606. package/dist/server-plugins.cjs +21 -16
  607. package/dist/server-plugins.d.mts +3 -3
  608. package/dist/server-plugins.d.ts +3 -3
  609. package/dist/server-plugins.mjs +1 -1
  610. package/dist/server-query-client.cjs +10 -10
  611. package/dist/server-query-client.mjs +1 -1
  612. package/dist/server-query.cjs +19 -19
  613. package/dist/server-query.mjs +1 -1
  614. package/dist/server.cjs +225 -216
  615. package/dist/server.d.mts +11 -11
  616. package/dist/server.d.ts +11 -11
  617. package/dist/server.mjs +28 -28
  618. package/dist/session-J7NTZI56.cjs +24 -0
  619. package/dist/{session-4IB34X35.mjs → session-ZFM3RDG2.mjs} +3 -3
  620. package/dist/{spa-router.d-DIlXwm00.d.mts → spa-router.d-CkR14oGH.d.mts} +2 -2
  621. package/dist/{spa-router.d-Dl-EJeJT.d.ts → spa-router.d-D4ye2WFk.d.ts} +2 -2
  622. package/dist/{ssg.d-bE-ylg0e.d.ts → ssg.d-BCJB_f7B.d.ts} +2 -2
  623. package/dist/{ssg.d-D2ZV0bhs.d.mts → ssg.d-DFs97VTY.d.mts} +2 -2
  624. package/dist/storage.cjs +4 -4
  625. package/dist/storage.mjs +2 -2
  626. package/dist/{store-core.d-BmdnMopD.d.ts → store-core.d-0W2YScl8.d.ts} +2 -2
  627. package/dist/{store-core.d-DPsCYzV7.d.mts → store-core.d-Vk5UDKeC.d.mts} +2 -2
  628. package/dist/testing.cjs +65 -62
  629. package/dist/testing.d.mts +1 -1
  630. package/dist/testing.d.ts +1 -1
  631. package/dist/testing.mjs +4 -4
  632. package/dist/theme/client.cjs +5 -5
  633. package/dist/theme/client.mjs +1 -1
  634. package/dist/theme/index.cjs +4 -4
  635. package/dist/theme/index.mjs +1 -1
  636. package/dist/theme/runtime.cjs +3 -3
  637. package/dist/theme/runtime.mjs +1 -1
  638. package/dist/theme/server.cjs +8 -8
  639. package/dist/theme/server.mjs +1 -1
  640. package/dist/{utils.d-BFZQcBZV.d.ts → utils.d-Ba3N28fk.d.ts} +1 -1
  641. package/dist/{utils.d-nM3OHKq5.d.mts → utils.d-Cloiko8d.d.mts} +1 -1
  642. package/dist/version.cjs +3 -3
  643. package/dist/version.mjs +2 -2
  644. package/dist/vite.cjs +168 -168
  645. package/dist/vite.d.mts +6 -6
  646. package/dist/vite.d.ts +6 -6
  647. package/dist/vite.mjs +25 -25
  648. package/dist/workflows.cjs +14 -14
  649. package/dist/workflows.mjs +2 -2
  650. package/package.json +5 -5
  651. package/LICENSE +0 -22
  652. package/dist/agent-mcp-handler-EXOG55M4.cjs +0 -21
  653. package/dist/analyzer-OWIHFO5M.cjs +0 -17
  654. package/dist/chunk-3376ZTRC.cjs +0 -1
  655. package/dist/chunk-K5NI5YQR.cjs +0 -1
  656. package/dist/chunk-MCJLA63J.cjs +0 -1
  657. package/dist/chunk-NOSLIDSG.cjs +0 -9
  658. package/dist/chunk-PAKB6JHX.cjs +0 -40
  659. package/dist/chunk-YTAABQEV.cjs +0 -1
  660. package/dist/layers-XLOMMQP7.cjs +0 -21
  661. package/dist/manager-37UJPUN4.cjs +0 -18
  662. package/dist/modules-KDHFBQ6L.cjs +0 -13
  663. package/dist/native-server-fn-handler-57TCQPSM.cjs +0 -30
  664. package/dist/native-specs-JDPH26AO.cjs +0 -15
  665. package/dist/native-tree-52CUAP3N.cjs +0 -28
  666. package/dist/node-module-bundle-TNSY5PAC.cjs +0 -15
  667. package/dist/plugin-MWO3G2XM.cjs +0 -33
  668. package/dist/rsc-pipeline-SFQSMVI7.cjs +0 -91
  669. package/dist/search-client-A7YJT7JZ.cjs +0 -15
  670. package/dist/session-MOYQJ7E6.cjs +0 -24
  671. package/dist/{chunk-IVP5Q4BX.mjs → chunk-6IKUYFNQ.mjs} +0 -0
  672. package/dist/{chunk-D7LXBLUW.mjs → chunk-FYTZZM5U.mjs} +3 -3
  673. /package/dist/{chunk-E72GG355.mjs → chunk-HDZ2AMDD.mjs} +0 -0
  674. /package/dist/{chunk-URBP6DLH.mjs → chunk-LQZXCSYG.mjs} +0 -0
  675. /package/dist/{chunk-M6AJZ4XR.mjs → chunk-QNJUQIUZ.mjs} +0 -0
@@ -1,40 +1,45 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkWMRGIQTAcjs = require('./chunk-WMRGIQTA.cjs');
4
+ var _chunkJ3RIMCBDcjs = require('./chunk-J3RIMCBD.cjs');
5
5
 
6
6
 
7
- var _chunkMNUYXZV7cjs = require('./chunk-MNUYXZV7.cjs');
7
+ var _chunkBNWADCG2cjs = require('./chunk-BNWADCG2.cjs');
8
8
 
9
9
 
10
- var _chunk52Q4OB4Acjs = require('./chunk-52Q4OB4A.cjs');
10
+ var _chunkKBURN62Zcjs = require('./chunk-KBURN62Z.cjs');
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkT7UC2ORAcjs = require('./chunk-T7UC2ORA.cjs');
17
+ var _chunkHP7QYVSTcjs = require('./chunk-HP7QYVST.cjs');
18
18
 
19
19
 
20
- var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
20
+ var _chunk32HGOX3Mcjs = require('./chunk-32HGOX3M.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkYUCU6XB4cjs = require('./chunk-YUCU6XB4.cjs');
25
+ var _chunkPYPHM7AScjs = require('./chunk-PYPHM7AS.cjs');
26
26
 
27
27
 
28
- var _chunk7U4XF76Rcjs = require('./chunk-7U4XF76R.cjs');
28
+ var _chunk7ZDLE77Pcjs = require('./chunk-7ZDLE77P.cjs');
29
29
 
30
30
 
31
- var _chunkNOSLIDSGcjs = require('./chunk-NOSLIDSG.cjs');
31
+ var _chunkXPVS4HKUcjs = require('./chunk-XPVS4HKU.cjs');
32
+
33
+
34
+ var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
32
35
 
33
36
  // src/environment-vite.ts
37
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
34
38
  var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
35
39
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
36
40
 
37
41
  // src/diagnostics.ts
42
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
38
43
  var _tracemapping = require('@jridgewell/trace-mapping');
39
44
 
40
45
  var BOUNDARY_DOCS = "/docs/environment-functions#boundary-diagnostics";
@@ -146,12 +151,14 @@ function createFarmSourceLocator(code, getCombinedSourcemap) {
146
151
  }
147
152
 
148
153
  // src/islands-react-server-exports.ts
154
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
149
155
 
150
156
 
151
157
  var _parseAst = require('rolldown/parseAst');
152
158
  var _utils = require('rolldown/utils');
153
159
 
154
160
  // src/utils/source-snapshot.ts
161
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
155
162
 
156
163
 
157
164
  var snapshot;
@@ -258,6 +265,15 @@ function withFarmSourceSnapshotOf(store, operation) {
258
265
  base = void 0;
259
266
  }
260
267
  }
268
+ function withFarmSourceSnapshotAside(store, operation) {
269
+ const saved = { snapshot, base, volatile, trace, traceGroups };
270
+ snapshot = base = volatile = trace = traceGroups = void 0;
271
+ try {
272
+ return store ? withFarmSourceSnapshotOf(store, operation) : withFarmSourceSnapshot(operation);
273
+ } finally {
274
+ ({ snapshot, base, volatile, trace, traceGroups } = saved);
275
+ }
276
+ }
261
277
  function memoizeInFarmSourceSnapshot(scope, key, compute, lasting) {
262
278
  if (!snapshot) return compute();
263
279
  let entries = snapshot.get(scope);
@@ -272,6 +288,28 @@ function memoizeInFarmSourceSnapshot(scope, key, compute, lasting) {
272
288
  if (lasting && !lasting(result)) _optionalChain([volatile, 'optionalAccess', _18 => _18.push, 'call', _19 => _19([scope, key])]);
273
289
  return result;
274
290
  }
291
+ function hasFarmNodeModulesDirectory(directory) {
292
+ return memoizeInFarmSourceSnapshot(
293
+ "node-modules-directory",
294
+ farmSourceSnapshotPathKey(directory),
295
+ () => _fs2.default.existsSync(_path2.default.join(directory, "node_modules")),
296
+ () => false
297
+ );
298
+ }
299
+ function readFarmPackageManifest(file) {
300
+ return memoizeInFarmSourceSnapshot(
301
+ "package-manifest",
302
+ farmSourceSnapshotPathKey(file),
303
+ () => {
304
+ try {
305
+ return JSON.parse(_fs2.default.readFileSync(file, "utf8"));
306
+ } catch (e3) {
307
+ return null;
308
+ }
309
+ },
310
+ () => false
311
+ );
312
+ }
275
313
  function noteFarmSourceRead(file) {
276
314
  _optionalChain([trace, 'optionalAccess', _20 => _20.add, 'call', _21 => _21(file)]);
277
315
  }
@@ -337,7 +375,9 @@ function findPackageDirectory(importer, name) {
337
375
  () => {
338
376
  for (let current = start; ; current = _path2.default.dirname(current)) {
339
377
  const directory = _path2.default.join(current, "node_modules", name);
340
- if (_fs2.default.existsSync(_path2.default.join(directory, "package.json"))) return _fs2.default.realpathSync(directory);
378
+ if (hasFarmNodeModulesDirectory(current) && _fs2.default.existsSync(_path2.default.join(directory, "package.json"))) {
379
+ return _fs2.default.realpathSync(directory);
380
+ }
341
381
  if (_path2.default.dirname(current) === current) return null;
342
382
  }
343
383
  },
@@ -406,7 +446,7 @@ function resolveFarmReactServerExport(importer, specifier) {
406
446
  const file = _path2.default.resolve(directory, server);
407
447
  if (_fs2.default.existsSync(file)) resolved = file;
408
448
  }
409
- } catch (e3) {
449
+ } catch (e4) {
410
450
  resolved = null;
411
451
  }
412
452
  cache.set(key, resolved);
@@ -421,7 +461,7 @@ function readModule(file) {
421
461
  let stat;
422
462
  try {
423
463
  stat = _fs2.default.statSync(file);
424
- } catch (e4) {
464
+ } catch (e5) {
425
465
  return null;
426
466
  }
427
467
  noteFarmSourceRead(file);
@@ -431,7 +471,7 @@ function readModule(file) {
431
471
  try {
432
472
  const code = _fs2.default.readFileSync(file, "utf8");
433
473
  program = _parseAst.parseAst.call(void 0, code, { lang: parseLang(file) });
434
- } catch (e5) {
474
+ } catch (e6) {
435
475
  program = null;
436
476
  }
437
477
  parsedModules.set(file, { size: stat.size, mtimeMs: stat.mtimeMs, program });
@@ -465,13 +505,14 @@ function resolveFarmPackageDefaultEntry(importer, specifier, conditions = ["brow
465
505
  const directory = findPackageDirectory(importer, parsed.name);
466
506
  if (!directory) return null;
467
507
  try {
468
- const manifest = JSON.parse(_fs2.default.readFileSync(_path2.default.join(directory, "package.json"), "utf8"));
508
+ const manifest = readFarmPackageManifest(_path2.default.join(directory, "package.json"));
509
+ if (manifest === null) return null;
469
510
  const target = _nullishCoalesce(pickTarget(exportEntry(manifest.exports, parsed.subpath), conditions), () => ( (!parsed.subpath ? _nullishCoalesce(_nullishCoalesce(manifest.module, () => ( manifest.main)), () => ( "index.js")) : parsed.subpath)));
470
511
  return resolveRelative(
471
512
  _path2.default.join(directory, "package.json"),
472
513
  `./${String(target).replace(/^\.\//, "")}`
473
514
  );
474
- } catch (e6) {
515
+ } catch (e7) {
475
516
  return null;
476
517
  }
477
518
  }
@@ -563,7 +604,7 @@ function parseCode(code, file) {
563
604
  return memoizeInFarmSourceSnapshot(`ast:${lang}`, code, () => {
564
605
  try {
565
606
  return _parseAst.parseAst.call(void 0, code, { lang });
566
- } catch (e7) {
607
+ } catch (e8) {
567
608
  return null;
568
609
  }
569
610
  });
@@ -768,7 +809,7 @@ function scanFarmStaticImports(code, lang) {
768
809
  let result;
769
810
  try {
770
811
  result = _utils.parseSync.call(void 0, "file.js", code, { lang, preserveParens: false });
771
- } catch (e8) {
812
+ } catch (e9) {
772
813
  return null;
773
814
  }
774
815
  if (result.errors.length > 0) return null;
@@ -800,7 +841,7 @@ function readModuleImports(file) {
800
841
  let stat;
801
842
  try {
802
843
  stat = _fs2.default.statSync(file);
803
- } catch (e9) {
844
+ } catch (e10) {
804
845
  return null;
805
846
  }
806
847
  noteFarmSourceRead(file);
@@ -814,7 +855,7 @@ function readModuleImports(file) {
814
855
  let code;
815
856
  try {
816
857
  code = _fs2.default.readFileSync(file, "utf8");
817
- } catch (e10) {
858
+ } catch (e11) {
818
859
  code = void 0;
819
860
  }
820
861
  imports = code === void 0 ? null : scanFarmStaticImports(code, parseLang(file));
@@ -834,7 +875,7 @@ function isClientOnlyScanned(file) {
834
875
  if (clientOnlyFreeFiles.has(resolved)) return true;
835
876
  try {
836
877
  return clientOnlyFreeFiles.has(_fs2.default.realpathSync(resolved));
837
- } catch (e11) {
878
+ } catch (e12) {
838
879
  return true;
839
880
  }
840
881
  }
@@ -923,7 +964,7 @@ function stampScannedPath(directory, target) {
923
964
  const stat = _fs2.default.statSync(target, { throwIfNoEntry: false });
924
965
  if (!stat) return void 0;
925
966
  return [_path2.default.relative(directory, target), stat.size, stat.mtimeMs, stat.ctimeMs];
926
- } catch (e12) {
967
+ } catch (e13) {
927
968
  return void 0;
928
969
  }
929
970
  }
@@ -936,12 +977,12 @@ function usePackageScanCacheFile(file) {
936
977
  const stored = /* @__PURE__ */ new Map();
937
978
  try {
938
979
  const value = JSON.parse(_fs2.default.readFileSync(file, "utf8"));
939
- if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm === _chunkNOSLIDSGcjs.FARM_VERSION && value.scans && typeof value.scans === "object") {
980
+ if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm === _chunkXPVS4HKUcjs.FARM_VERSION && value.scans && typeof value.scans === "object") {
940
981
  for (const [directory, scan] of Object.entries(value.scans)) {
941
982
  if (isStoredPackageScan(scan)) stored.set(directory, scan);
942
983
  }
943
984
  }
944
- } catch (e13) {
985
+ } catch (e14) {
945
986
  }
946
987
  packageScanCache = { file, stored, dirty: false };
947
988
  }
@@ -965,14 +1006,14 @@ function persistPackageScanCache() {
965
1006
  _fs2.default.mkdirSync(_path2.default.dirname(cache2.file), { recursive: true });
966
1007
  _fs2.default.writeFileSync(
967
1008
  temporary,
968
- JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm: _chunkNOSLIDSGcjs.FARM_VERSION, scans })
1009
+ JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm: _chunkXPVS4HKUcjs.FARM_VERSION, scans })
969
1010
  );
970
1011
  _fs2.default.renameSync(temporary, cache2.file);
971
1012
  cache2.dirty = false;
972
- } catch (e14) {
1013
+ } catch (e15) {
973
1014
  try {
974
1015
  _fs2.default.rmSync(temporary, { force: true });
975
- } catch (e15) {
1016
+ } catch (e16) {
976
1017
  }
977
1018
  }
978
1019
  }
@@ -996,7 +1037,7 @@ function scanPackage(directory) {
996
1037
  stamps.push(stampScannedPath(directory, current));
997
1038
  try {
998
1039
  entries = _fs2.default.readdirSync(current, { withFileTypes: true });
999
- } catch (e16) {
1040
+ } catch (e17) {
1000
1041
  continue;
1001
1042
  }
1002
1043
  for (const entry of entries) {
@@ -1008,7 +1049,7 @@ function scanPackage(directory) {
1008
1049
  stamps.push(stampScannedPath(directory, file));
1009
1050
  try {
1010
1051
  code = _fs2.default.readFileSync(file, "utf8");
1011
- } catch (e17) {
1052
+ } catch (e18) {
1012
1053
  continue;
1013
1054
  }
1014
1055
  for (const match of code.matchAll(IMPORT_SPECIFIER)) scan.imports.add(match[1]);
@@ -1035,7 +1076,7 @@ function findFarmServerBundledPackage(importer, specifier) {
1035
1076
  if (manifest.exports === void 0 && manifest.type !== "module" && typeof manifest.module === "string" && typeof manifest.main === "string" && _path2.default.resolve(directory, manifest.main) !== _path2.default.resolve(directory, manifest.module)) {
1036
1077
  return { name: parsed.name, prebundle: isSelfContainedPackage(manifest, importer) };
1037
1078
  }
1038
- } catch (e18) {
1079
+ } catch (e19) {
1039
1080
  return null;
1040
1081
  }
1041
1082
  const scan = scanPackage(directory);
@@ -1058,7 +1099,7 @@ function findFarmPackageManifest(importer, specifier) {
1058
1099
  try {
1059
1100
  const manifest = JSON.parse(_fs2.default.readFileSync(_path2.default.join(directory, "package.json"), "utf8"));
1060
1101
  names = new Set(Object.keys(_nullishCoalesce(manifest.dependencies, () => ( {}))));
1061
- } catch (e19) {
1102
+ } catch (e20) {
1062
1103
  return null;
1063
1104
  }
1064
1105
  const dependencies = [...scanPackage(directory).imports].filter((imported) => {
@@ -1113,9 +1154,11 @@ function listFarmModuleExports(entry) {
1113
1154
  }
1114
1155
 
1115
1156
  // src/programmatic-routes-client.ts
1157
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
1116
1158
  var _module = require('module');
1117
1159
 
1118
1160
  // src/browser-builtins.ts
1161
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
1119
1162
 
1120
1163
  var FARM_BROWSER_BUILTIN_PREFIX = "\0farm:browser-builtin:";
1121
1164
  var BROWSER_IMPLEMENTATIONS = {
@@ -1188,7 +1231,7 @@ function resolveProgrammaticClientRoutes(options) {
1188
1231
  let untraced = false;
1189
1232
  const definedIn = /* @__PURE__ */ new Map();
1190
1233
  for (const route of definitions) {
1191
- const source = _chunkYUCU6XB4cjs.getProgrammaticRouteDefinitionSource.call(void 0, route);
1234
+ const source = _chunkPYPHM7AScjs.getProgrammaticRouteDefinitionSource.call(void 0, route);
1192
1235
  const callers = (_nullishCoalesce(_optionalChain([source, 'optionalAccess', _85 => _85.stacks]), () => ( []))).map((stack) => findRouteCallers(stack, modulesByFile));
1193
1236
  for (const caller of callers.flat()) caller.routeSource = true;
1194
1237
  definedIn.set(route, callers.flat());
@@ -1504,7 +1547,7 @@ function holdsRouteDefinition(value, definitions) {
1504
1547
  if (descriptor && "value" in descriptor) next(descriptor.value);
1505
1548
  }
1506
1549
  }
1507
- } catch (e20) {
1550
+ } catch (e21) {
1508
1551
  }
1509
1552
  }
1510
1553
  return false;
@@ -1597,7 +1640,7 @@ function readJsonString(text) {
1597
1640
  try {
1598
1641
  const value = JSON.parse(text);
1599
1642
  return typeof value === "string" ? value : void 0;
1600
- } catch (e21) {
1643
+ } catch (e22) {
1601
1644
  return void 0;
1602
1645
  }
1603
1646
  }
@@ -1605,7 +1648,7 @@ function readJsonArray(text) {
1605
1648
  try {
1606
1649
  const value = JSON.parse(text);
1607
1650
  return Array.isArray(value) ? value : void 0;
1608
- } catch (e22) {
1651
+ } catch (e23) {
1609
1652
  return void 0;
1610
1653
  }
1611
1654
  }
@@ -1615,13 +1658,13 @@ function readExports(namespace) {
1615
1658
  let keys;
1616
1659
  try {
1617
1660
  keys = Object.keys(namespace);
1618
- } catch (e23) {
1661
+ } catch (e24) {
1619
1662
  return [];
1620
1663
  }
1621
1664
  for (const key of keys) {
1622
1665
  try {
1623
1666
  entries.push([key, namespace[key]]);
1624
- } catch (e24) {
1667
+ } catch (e25) {
1625
1668
  }
1626
1669
  }
1627
1670
  return entries;
@@ -1654,7 +1697,7 @@ function toModuleFile(file) {
1654
1697
  if (file.startsWith("file://")) {
1655
1698
  try {
1656
1699
  return toPosixPath(_url.fileURLToPath.call(void 0, file));
1657
- } catch (e25) {
1700
+ } catch (e26) {
1658
1701
  return toPosixPath(file);
1659
1702
  }
1660
1703
  }
@@ -1662,11 +1705,13 @@ function toModuleFile(file) {
1662
1705
  }
1663
1706
 
1664
1707
  // src/utils/client-component.ts
1708
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
1665
1709
 
1666
1710
 
1667
1711
 
1668
1712
 
1669
1713
  // src/islands-package-references.ts
1714
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
1670
1715
  var _crypto = require('crypto');
1671
1716
 
1672
1717
 
@@ -1684,7 +1729,7 @@ function parse(code, file) {
1684
1729
  function parseAs(code, lang) {
1685
1730
  try {
1686
1731
  return _parseAst.parseAst.call(void 0, code, { lang });
1687
- } catch (e26) {
1732
+ } catch (e27) {
1688
1733
  return null;
1689
1734
  }
1690
1735
  }
@@ -1824,11 +1869,11 @@ function packageLookup(directory, packageName) {
1824
1869
  `${farmSourceSnapshotPathKey(directory)}\0${packageName}`,
1825
1870
  () => {
1826
1871
  for (let current = directory; ; current = _path2.default.dirname(current)) {
1827
- if (_path2.default.basename(current) !== "node_modules") {
1872
+ if (_path2.default.basename(current) !== "node_modules" && hasFarmNodeModulesDirectory(current)) {
1828
1873
  const candidate = _path2.default.join(current, "node_modules", packageName);
1829
1874
  try {
1830
1875
  return { from: current, real: _fs2.default.realpathSync(candidate) };
1831
- } catch (e27) {
1876
+ } catch (e28) {
1832
1877
  }
1833
1878
  }
1834
1879
  if (_path2.default.dirname(current) === current) return null;
@@ -1845,7 +1890,7 @@ function referenceResolveFrom(root, specifier, importer) {
1845
1890
  if (_optionalChain([app, 'optionalAccess', _101 => _101.real]) === own.real) return null;
1846
1891
  try {
1847
1892
  return _fs2.default.realpathSync(own.from);
1848
- } catch (e28) {
1893
+ } catch (e29) {
1849
1894
  return own.from;
1850
1895
  }
1851
1896
  }
@@ -1880,7 +1925,7 @@ function writeIfChanged(file, source) {
1880
1925
  let current = null;
1881
1926
  try {
1882
1927
  current = _fs2.default.readFileSync(file, "utf8");
1883
- } catch (e29) {
1928
+ } catch (e30) {
1884
1929
  }
1885
1930
  if (current !== source) {
1886
1931
  _fs2.default.mkdirSync(_path2.default.dirname(file), { recursive: true });
@@ -1892,7 +1937,7 @@ function owningPackage(file) {
1892
1937
  try {
1893
1938
  const manifest = JSON.parse(_fs2.default.readFileSync(_path2.default.join(current, "package.json"), "utf8"));
1894
1939
  if (typeof manifest.name === "string") return { directory: current, name: manifest.name };
1895
- } catch (e30) {
1940
+ } catch (e31) {
1896
1941
  }
1897
1942
  if (_path2.default.dirname(current) === current) return null;
1898
1943
  }
@@ -1976,6 +2021,7 @@ function rewriteFarmPackageClientImports(options) {
1976
2021
  }
1977
2022
 
1978
2023
  // src/islands-containers.ts
2024
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
1979
2025
 
1980
2026
 
1981
2027
 
@@ -1994,6 +2040,7 @@ var ISLAND_CONTAINER_TAGS = /* @__PURE__ */ new Set([
1994
2040
  "ul",
1995
2041
  "ol"
1996
2042
  ]);
2043
+ var FARM_ISLAND_CONTAINER_TAG = /<(?:table|thead|tbody|tfoot|tr|select|optgroup|datalist|svg|ul|ol)[\s>/]/;
1997
2044
  var FLOW_CONTENT_TAGS = /* @__PURE__ */ new Set(["td", "th", "caption", "foreignObject", "li"]);
1998
2045
  function farmIslandContainerReferencePath(root) {
1999
2046
  return _path2.default.join(root, ".farm", "client-references", "farm.js+core", "__island-container.tsx");
@@ -2012,7 +2059,7 @@ function ensureFarmIslandContainerReference(root) {
2012
2059
  let current = null;
2013
2060
  try {
2014
2061
  current = _fs2.default.readFileSync(file, "utf8");
2015
- } catch (e31) {
2062
+ } catch (e32) {
2016
2063
  }
2017
2064
  if (current !== source) {
2018
2065
  _fs2.default.mkdirSync(_path2.default.dirname(file), { recursive: true });
@@ -2026,7 +2073,7 @@ function parse2(code, file) {
2026
2073
  return memoizeInFarmSourceSnapshot(`ast:${lang}`, code, () => {
2027
2074
  try {
2028
2075
  return _parseAst.parseAst.call(void 0, code, { lang });
2029
- } catch (e32) {
2076
+ } catch (e33) {
2030
2077
  return null;
2031
2078
  }
2032
2079
  });
@@ -2043,9 +2090,7 @@ function jsxName(node) {
2043
2090
  }
2044
2091
  function findFarmIslandContainers(code, file, bindings) {
2045
2092
  if (bindings.length === 0) return [];
2046
- if (!/<(?:table|thead|tbody|tfoot|tr|select|optgroup|datalist|svg|ul|ol)[\s>/]/.test(code)) {
2047
- return [];
2048
- }
2093
+ if (!FARM_ISLAND_CONTAINER_TAG.test(code)) return [];
2049
2094
  const program = parse2(code, file);
2050
2095
  if (!program) return null;
2051
2096
  const names = new Set(bindings);
@@ -2119,6 +2164,7 @@ ${declaration}${code.slice(prologueEnd)}`;
2119
2164
  }
2120
2165
 
2121
2166
  // src/utils/package-client-boundary-cache.ts
2167
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
2122
2168
  var _async_hooks = require('async_hooks');
2123
2169
 
2124
2170
 
@@ -2165,7 +2211,7 @@ function stampPackagePath(target, kind) {
2165
2211
  const stat = _fs2.default.statSync(target, { throwIfNoEntry: false });
2166
2212
  if (!stat || (kind === "file" ? !stat.isFile() : !stat.isDirectory())) return void 0;
2167
2213
  return [target, stat.size, stat.mtimeMs, stat.ctimeMs];
2168
- } catch (e33) {
2214
+ } catch (e34) {
2169
2215
  return void 0;
2170
2216
  }
2171
2217
  }
@@ -2221,7 +2267,7 @@ var PackageClientBoundaryCache = class {
2221
2267
  await _fs2.default.promises.mkdir(_path2.default.dirname(file), { recursive: true });
2222
2268
  await _fs2.default.promises.writeFile(temporary, contents);
2223
2269
  await _fs2.default.promises.rename(temporary, file);
2224
- } catch (e34) {
2270
+ } catch (e35) {
2225
2271
  await _fs2.default.promises.rm(temporary, { force: true }).catch(() => {
2226
2272
  });
2227
2273
  }
@@ -2236,10 +2282,10 @@ var PackageClientBoundaryCache = class {
2236
2282
  _fs2.default.mkdirSync(_path2.default.dirname(file), { recursive: true });
2237
2283
  _fs2.default.writeFileSync(temporary, contents);
2238
2284
  _fs2.default.renameSync(temporary, file);
2239
- } catch (e35) {
2285
+ } catch (e36) {
2240
2286
  try {
2241
2287
  _fs2.default.rmSync(temporary, { force: true });
2242
- } catch (e36) {
2288
+ } catch (e37) {
2243
2289
  }
2244
2290
  }
2245
2291
  }
@@ -2273,7 +2319,7 @@ var PackageClientBoundaryCache = class {
2273
2319
  }
2274
2320
  const contents = JSON.stringify({
2275
2321
  schema: SCHEMA_VERSION,
2276
- farm: _chunkNOSLIDSGcjs.FARM_VERSION,
2322
+ farm: _chunkXPVS4HKUcjs.FARM_VERSION,
2277
2323
  paths,
2278
2324
  entries
2279
2325
  });
@@ -2310,10 +2356,10 @@ function readStoredCache(file) {
2310
2356
  let value;
2311
2357
  try {
2312
2358
  value = JSON.parse(_fs2.default.readFileSync(file, "utf8"));
2313
- } catch (e37) {
2359
+ } catch (e38) {
2314
2360
  return null;
2315
2361
  }
2316
- if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkNOSLIDSGcjs.FARM_VERSION) {
2362
+ if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkXPVS4HKUcjs.FARM_VERSION) {
2317
2363
  return null;
2318
2364
  }
2319
2365
  const { paths, entries } = value;
@@ -2324,7 +2370,7 @@ function readStoredCache(file) {
2324
2370
  const usable = variants.filter((entry) => isStoredEntry(entry, paths.length));
2325
2371
  if (usable.length > 0) valid[key] = usable;
2326
2372
  }
2327
- return { schema: SCHEMA_VERSION, farm: _chunkNOSLIDSGcjs.FARM_VERSION, paths, entries: valid };
2373
+ return { schema: SCHEMA_VERSION, farm: _chunkXPVS4HKUcjs.FARM_VERSION, paths, entries: valid };
2328
2374
  }
2329
2375
  function isRecord(value) {
2330
2376
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -2338,7 +2384,7 @@ function isPathIndexList(value, pathCount) {
2338
2384
  function isStoredEntry(value, pathCount) {
2339
2385
  if (!isRecord(value) || !isRecord(value.result)) return false;
2340
2386
  const { isClientComponent, shouldHydrate, islandStrategy } = value.result;
2341
- return isPathIndexList(value.files, pathCount) && isPathIndexList(value.directories, pathCount) && Array.isArray(value.stops) && value.stops.every((file) => typeof file === "string" && _path2.default.isAbsolute(file)) && typeof isClientComponent === "boolean" && typeof shouldHydrate === "boolean" && (islandStrategy === null || _chunk7KJJ4SBScjs.isFarmIslandStrategy.call(void 0, islandStrategy)) && Object.keys(value.result).length === 3;
2387
+ return isPathIndexList(value.files, pathCount) && isPathIndexList(value.directories, pathCount) && Array.isArray(value.stops) && value.stops.every((file) => typeof file === "string" && _path2.default.isAbsolute(file)) && typeof isClientComponent === "boolean" && typeof shouldHydrate === "boolean" && (islandStrategy === null || _chunk32HGOX3Mcjs.isFarmIslandStrategy.call(void 0, islandStrategy)) && Object.keys(value.result).length === 3;
2342
2388
  }
2343
2389
  var STORAGE_KEY = /* @__PURE__ */ Symbol.for("@farm.js/core/package-client-boundary-cache");
2344
2390
  function getStorage() {
@@ -2397,13 +2443,14 @@ function dropLatestPackageClientBoundaryCache() {
2397
2443
  }
2398
2444
 
2399
2445
  // src/utils/renderer-hydration.ts
2446
+ _chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
2400
2447
 
2401
2448
 
2402
2449
  var scopes = /* @__PURE__ */ new Map();
2403
2450
  function realPath(file) {
2404
2451
  try {
2405
2452
  return _fs2.default.realpathSync(file);
2406
- } catch (e38) {
2453
+ } catch (e39) {
2407
2454
  return _path2.default.resolve(file);
2408
2455
  }
2409
2456
  }
@@ -2477,7 +2524,7 @@ function readOwnHydration(scope, content, file) {
2477
2524
  try {
2478
2525
  value = scope.renderer.hydration.resolve(content, file);
2479
2526
  } catch (error) {
2480
- throw _chunkT7UC2ORAcjs.createFarmRendererHookError.call(void 0,
2527
+ throw _chunkHP7QYVSTcjs.createFarmRendererHookError.call(void 0,
2481
2528
  `${where} threw: ${error instanceof Error ? error.message : String(error)}`,
2482
2529
  error
2483
2530
  );
@@ -2488,7 +2535,7 @@ function readOwnHydration(scope, content, file) {
2488
2535
  `${where} returned ${JSON.stringify(value)}. Return \`{ hydrate?, strategy? }\`, or nothing to leave the file to Farm.`
2489
2536
  );
2490
2537
  }
2491
- return _chunkT7UC2ORAcjs.readFarmRendererHydration.call(void 0, value, where);
2538
+ return _chunkHP7QYVSTcjs.readFarmRendererHydration.call(void 0, value, where);
2492
2539
  }
2493
2540
  function mayCompileFarmRendererSource(file) {
2494
2541
  if (scopes.size === 0) return false;
@@ -2511,7 +2558,7 @@ function compileFarmRendererSource(content, sourcePath) {
2511
2558
  try {
2512
2559
  value = compile.call(scope.renderer, content, file);
2513
2560
  } catch (error) {
2514
- throw _chunkT7UC2ORAcjs.createFarmRendererHookError.call(void 0,
2561
+ throw _chunkHP7QYVSTcjs.createFarmRendererHookError.call(void 0,
2515
2562
  `${where} threw: ${error instanceof Error ? error.message : String(error)}`,
2516
2563
  error
2517
2564
  );
@@ -2591,7 +2638,7 @@ function readSourceFileContents(filePath) {
2591
2638
  return null;
2592
2639
  }
2593
2640
  return _fs2.default.readFileSync(filePath, "utf-8");
2594
- } catch (e39) {
2641
+ } catch (e40) {
2595
2642
  return null;
2596
2643
  }
2597
2644
  }
@@ -2604,7 +2651,7 @@ function resolveModuleSourcePath(modulePath, root) {
2604
2651
  if (modulePath.startsWith("file://")) {
2605
2652
  try {
2606
2653
  candidates.add(_url.fileURLToPath.call(void 0, modulePath));
2607
- } catch (e40) {
2654
+ } catch (e41) {
2608
2655
  }
2609
2656
  }
2610
2657
  if (modulePath.startsWith("/@fs/")) {
@@ -2630,7 +2677,7 @@ function resolveModuleSourcePath(modulePath, root) {
2630
2677
  return null;
2631
2678
  }
2632
2679
  function getFarmClientHydrationPlanOptions(renderer, hasUnsupportedIntegrationProvider) {
2633
- return { asyncOwnerIslands: _chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer) && !hasUnsupportedIntegrationProvider };
2680
+ return { asyncOwnerIslands: _chunkHP7QYVSTcjs.isReactRenderer.call(void 0, renderer) && !hasUnsupportedIntegrationProvider };
2634
2681
  }
2635
2682
  function describeSuppressedAsyncHydration(subject, reason) {
2636
2683
  const remediation = reason ? "Fix the reason above, or render the interactive UI from a synchronous owner." : 'Move the interactive UI into an eligible "use client" boundary, or render it from a synchronous owner.';
@@ -2687,7 +2734,7 @@ function hasUseClientDirective(content) {
2687
2734
  return false;
2688
2735
  }
2689
2736
  function hasHydrateExport(content) {
2690
- return _optionalChain([_chunkWMRGIQTAcjs.readFarmHydrateExport.call(void 0, content), 'optionalAccess', _147 => _147.value]) === true;
2737
+ return _optionalChain([_chunkJ3RIMCBDcjs.readFarmHydrateExport.call(void 0, content), 'optionalAccess', _147 => _147.value]) === true;
2691
2738
  }
2692
2739
  var REGEXP_PREFIX_PUNCTUATION = /* @__PURE__ */ new Set([
2693
2740
  "(",
@@ -2890,7 +2937,7 @@ function getIslandStrategyExport(content) {
2890
2937
  if (_optionalChain([tokens, 'access', _154 => _154[valueIndex], 'optionalAccess', _155 => _155.value]) !== "=") break;
2891
2938
  valueIndex++;
2892
2939
  const literal = tokens[valueIndex];
2893
- if (!literal || literal.kind !== "string" || !_chunk7KJJ4SBScjs.isFarmIslandStrategy.call(void 0, literal.value)) break;
2940
+ if (!literal || literal.kind !== "string" || !_chunk32HGOX3Mcjs.isFarmIslandStrategy.call(void 0, literal.value)) break;
2894
2941
  let trailingIndex = valueIndex + 1;
2895
2942
  if (_optionalChain([tokens, 'access', _156 => _156[trailingIndex], 'optionalAccess', _157 => _157.value]) === "as" && _optionalChain([tokens, 'access', _158 => _158[trailingIndex + 1], 'optionalAccess', _159 => _159.value]) === "const") {
2896
2943
  trailingIndex += 2;
@@ -2958,9 +3005,9 @@ function parseClientModuleMetadata(content, inspectIslandExport, sourcePath) {
2958
3005
  };
2959
3006
  }
2960
3007
  const isClientComponent = hasUseClientDirective(content);
2961
- const hydrate = _chunkWMRGIQTAcjs.readFarmHydrateExport.call(void 0, content);
3008
+ const hydrate = _chunkJ3RIMCBDcjs.readFarmHydrateExport.call(void 0, content);
2962
3009
  if (inspectIslandExport && hydrate && hydrate.value === null) {
2963
- throw new Error(_chunkWMRGIQTAcjs.formatFarmHydrateExportError.call(void 0, hydrate, sourcePath));
3010
+ throw new Error(_chunkJ3RIMCBDcjs.formatFarmHydrateExportError.call(void 0, hydrate, sourcePath));
2964
3011
  }
2965
3012
  const rendererHydration = inspectIslandExport && sourcePath ? (
2966
3013
  // The renderer's own syntax is read from the file as written, before its `compile()`.
@@ -3314,7 +3361,7 @@ function clientModulePlanSignature(content) {
3314
3361
  isIsolatableClientBoundarySource(content),
3315
3362
  getImportSpecifiers(content).sort()
3316
3363
  ]);
3317
- } catch (e41) {
3364
+ } catch (e42) {
3318
3365
  return null;
3319
3366
  }
3320
3367
  }
@@ -3322,6 +3369,48 @@ function isFarmClientModulePlanUnchanged(file, previous) {
3322
3369
  const signature = clientModulePlanSignature(previous);
3323
3370
  return signature !== null && signature === clientModulePlanSignature(readSourceFileContents(file));
3324
3371
  }
3372
+ var SERVER_PLAN_SIGNATURE_SOURCE = /\.[cm]?[jt]sx?$/;
3373
+ function serverModulePlanSignature(content, file) {
3374
+ if (!content || !SERVER_PLAN_SIGNATURE_SOURCE.test(file) || mayCompileFarmRendererSource(file) || hasUseClientDirective(content)) {
3375
+ return null;
3376
+ }
3377
+ try {
3378
+ const bindings = getStaticImportBindings(content);
3379
+ const specifiers = getImportSpecifiers(content);
3380
+ return JSON.stringify([
3381
+ parseClientModuleMetadata(content, false),
3382
+ parseClientModuleMetadata(content, true, file),
3383
+ _nullishCoalesce(_optionalChain([DEFAULT_REEXPORT, 'access', _177 => _177.exec, 'call', _178 => _178(content), 'optionalAccess', _179 => _179[2]]), () => ( null)),
3384
+ hasAsyncDefaultExport(content),
3385
+ specifiers,
3386
+ getImportSpecifiers(content, { dynamic: true }),
3387
+ getImportSpecifiers(content, { reexportsOnly: true }),
3388
+ [...bindings],
3389
+ [...new Set(specifiers)].map((specifier) => {
3390
+ const locals = _nullishCoalesce(bindings.get(specifier), () => ( []));
3391
+ return [
3392
+ countStaticJsxUses(content, locals),
3393
+ _nullishCoalesce(findParserSensitiveJsxContainer(content, locals), () => ( null)),
3394
+ passesElementValuedProps(content, locals),
3395
+ hasDynamicJsxCardinality(content, locals),
3396
+ rendersOnlyLeafElements(content, locals),
3397
+ (_nullishCoalesce(_optionalChain([findFarmIslandContainers, 'call', _180 => _180(content, file, locals), 'optionalAccess', _181 => _181.length]), () => ( 0))) > 0,
3398
+ findFarmPackageClientImports(content, file, (candidate) => candidate === specifier).map(
3399
+ farmPackageClientImportExports
3400
+ ),
3401
+ findFarmReactServerClientNames(content, file, specifier),
3402
+ findFarmReactServerClientModules(content, file, specifier)
3403
+ ];
3404
+ })
3405
+ ]);
3406
+ } catch (e43) {
3407
+ return null;
3408
+ }
3409
+ }
3410
+ function isFarmServerModulePlanUnchanged(file, previous) {
3411
+ const signature = serverModulePlanSignature(previous, file);
3412
+ return signature !== null && signature === serverModulePlanSignature(readSourceFileContents(file), file);
3413
+ }
3325
3414
  function exportListNames(content) {
3326
3415
  const names = [];
3327
3416
  for (const match of content.matchAll(/\bexport\s*(type\s*)?\{([^}]*)\}/g)) {
@@ -3347,7 +3436,7 @@ function scanStaticImportBindings(content) {
3347
3436
  const bindings = /* @__PURE__ */ new Map();
3348
3437
  const tokens = tokenizeModuleSource(content);
3349
3438
  for (let index = 0; index < tokens.length; index++) {
3350
- if (tokens[index].value !== "import" || _optionalChain([tokens, 'access', _177 => _177[index - 1], 'optionalAccess', _178 => _178.value]) === ".") continue;
3439
+ if (tokens[index].value !== "import" || _optionalChain([tokens, 'access', _182 => _182[index - 1], 'optionalAccess', _183 => _183.value]) === ".") continue;
3351
3440
  const first = tokens[index + 1];
3352
3441
  if (!first || first.value === "type" || first.value === "(" || first.kind === "string") {
3353
3442
  continue;
@@ -3355,7 +3444,7 @@ function scanStaticImportBindings(content) {
3355
3444
  let fromIndex = -1;
3356
3445
  for (let cursor = index + 1; cursor < tokens.length; cursor++) {
3357
3446
  if (tokens[cursor].value === ";") break;
3358
- if (tokens[cursor].value === "from" && _optionalChain([tokens, 'access', _179 => _179[cursor + 1], 'optionalAccess', _180 => _180.kind]) === "string") {
3447
+ if (tokens[cursor].value === "from" && _optionalChain([tokens, 'access', _184 => _184[cursor + 1], 'optionalAccess', _185 => _185.kind]) === "string") {
3359
3448
  fromIndex = cursor;
3360
3449
  break;
3361
3450
  }
@@ -3364,13 +3453,13 @@ function scanStaticImportBindings(content) {
3364
3453
  const specifier = tokens[fromIndex + 1].value;
3365
3454
  const clause = tokens.slice(index + 1, fromIndex);
3366
3455
  const localNames = [];
3367
- if (_optionalChain([clause, 'access', _181 => _181[0], 'optionalAccess', _182 => _182.kind]) === "identifier" && clause[0].value !== "type") {
3456
+ if (_optionalChain([clause, 'access', _186 => _186[0], 'optionalAccess', _187 => _187.kind]) === "identifier" && clause[0].value !== "type") {
3368
3457
  localNames.push(clause[0].value);
3369
3458
  }
3370
3459
  const namespaceAs = clause.findIndex(
3371
- (token, clauseIndex) => token.value === "*" && _optionalChain([clause, 'access', _183 => _183[clauseIndex + 1], 'optionalAccess', _184 => _184.value]) === "as"
3460
+ (token, clauseIndex) => token.value === "*" && _optionalChain([clause, 'access', _188 => _188[clauseIndex + 1], 'optionalAccess', _189 => _189.value]) === "as"
3372
3461
  );
3373
- if (namespaceAs !== -1 && _optionalChain([clause, 'access', _185 => _185[namespaceAs + 2], 'optionalAccess', _186 => _186.kind]) === "identifier") {
3462
+ if (namespaceAs !== -1 && _optionalChain([clause, 'access', _190 => _190[namespaceAs + 2], 'optionalAccess', _191 => _191.kind]) === "identifier") {
3374
3463
  localNames.push(clause[namespaceAs + 2].value);
3375
3464
  }
3376
3465
  const openingBrace = clause.findIndex((token) => token.value === "{");
@@ -3380,11 +3469,11 @@ function scanStaticImportBindings(content) {
3380
3469
  if (openingBrace !== -1 && closingBrace !== -1) {
3381
3470
  let entryStart = openingBrace + 1;
3382
3471
  for (let cursor = entryStart; cursor <= closingBrace; cursor++) {
3383
- if (cursor !== closingBrace && _optionalChain([clause, 'access', _187 => _187[cursor], 'optionalAccess', _188 => _188.value]) !== ",") continue;
3472
+ if (cursor !== closingBrace && _optionalChain([clause, 'access', _192 => _192[cursor], 'optionalAccess', _193 => _193.value]) !== ",") continue;
3384
3473
  const entry = clause.slice(entryStart, cursor).filter((token) => token.value !== "type");
3385
3474
  const asIndex = entry.findIndex((token) => token.value === "as");
3386
3475
  const local = asIndex === -1 ? entry[0] : entry[asIndex + 1];
3387
- if (_optionalChain([local, 'optionalAccess', _189 => _189.kind]) === "identifier") localNames.push(local.value);
3476
+ if (_optionalChain([local, 'optionalAccess', _194 => _194.kind]) === "identifier") localNames.push(local.value);
3388
3477
  entryStart = cursor + 1;
3389
3478
  }
3390
3479
  }
@@ -3421,7 +3510,7 @@ function findParserSensitiveJsxContainer(content, localBindings) {
3421
3510
  const open = [];
3422
3511
  const isSelfClosing = (openingIndex) => {
3423
3512
  for (let index = openingIndex; index < tokens.length; index++) {
3424
- if (tokens[index].value === ">") return _optionalChain([tokens, 'access', _190 => _190[index - 1], 'optionalAccess', _191 => _191.value]) === "/";
3513
+ if (tokens[index].value === ">") return _optionalChain([tokens, 'access', _195 => _195[index - 1], 'optionalAccess', _196 => _196.value]) === "/";
3425
3514
  }
3426
3515
  return false;
3427
3516
  };
@@ -3429,7 +3518,7 @@ function findParserSensitiveJsxContainer(content, localBindings) {
3429
3518
  if (tokens[index].value !== "<") continue;
3430
3519
  if (tokens[index + 1].value === "/") {
3431
3520
  const closing = tokens[index + 2];
3432
- const at = _optionalChain([closing, 'optionalAccess', _192 => _192.kind]) === "identifier" ? open.lastIndexOf(closing.value) : -1;
3521
+ const at = _optionalChain([closing, 'optionalAccess', _197 => _197.kind]) === "identifier" ? open.lastIndexOf(closing.value) : -1;
3433
3522
  if (at !== -1) open.length = at;
3434
3523
  continue;
3435
3524
  }
@@ -3472,7 +3561,7 @@ function findMatchingToken(tokens, openingIndex, opening, closing) {
3472
3561
  }
3473
3562
  function containsClientJsx(tokens, start, end, clientBindings) {
3474
3563
  for (let index = start; index < end; index++) {
3475
- if (tokens[index].value === "<" && clientBindings.has(_optionalChain([tokens, 'access', _193 => _193[index + 1], 'optionalAccess', _194 => _194.value]))) return true;
3564
+ if (tokens[index].value === "<" && clientBindings.has(_optionalChain([tokens, 'access', _198 => _198[index + 1], 'optionalAccess', _199 => _199.value]))) return true;
3476
3565
  }
3477
3566
  return false;
3478
3567
  }
@@ -3510,7 +3599,7 @@ function getClientRenderingHelpers(tokens, clientBindings) {
3510
3599
  let helperName;
3511
3600
  let bodyStart = -1;
3512
3601
  let bodyEnd = -1;
3513
- if (tokens[index].value === "function" && _optionalChain([tokens, 'access', _195 => _195[index + 1], 'optionalAccess', _196 => _196.kind]) === "identifier") {
3602
+ if (tokens[index].value === "function" && _optionalChain([tokens, 'access', _200 => _200[index + 1], 'optionalAccess', _201 => _201.kind]) === "identifier") {
3514
3603
  helperName = tokens[index + 1].value;
3515
3604
  const parametersStart = tokens.findIndex(
3516
3605
  (token, tokenIndex) => tokenIndex > index + 1 && token.value === "("
@@ -3520,21 +3609,21 @@ function getClientRenderingHelpers(tokens, clientBindings) {
3520
3609
  (token, tokenIndex) => tokenIndex > parametersEnd && token.value === "{"
3521
3610
  );
3522
3611
  if (bodyStart !== -1) bodyEnd = findMatchingToken(tokens, bodyStart, "{", "}");
3523
- } else if ((tokens[index].value === "const" || tokens[index].value === "let" || tokens[index].value === "var") && _optionalChain([tokens, 'access', _197 => _197[index + 1], 'optionalAccess', _198 => _198.kind]) === "identifier") {
3612
+ } else if ((tokens[index].value === "const" || tokens[index].value === "let" || tokens[index].value === "var") && _optionalChain([tokens, 'access', _202 => _202[index + 1], 'optionalAccess', _203 => _203.kind]) === "identifier") {
3524
3613
  helperName = tokens[index + 1].value;
3525
3614
  let assignmentIndex = -1;
3526
3615
  let arrowIndex = -1;
3527
3616
  for (let cursor = index + 2; cursor < tokens.length; cursor++) {
3528
3617
  if (tokens[cursor].value === ";") break;
3529
3618
  if (assignmentIndex === -1 && tokens[cursor].value === "=") assignmentIndex = cursor;
3530
- if (tokens[cursor].value === "=" && _optionalChain([tokens, 'access', _199 => _199[cursor + 1], 'optionalAccess', _200 => _200.value]) === ">") {
3619
+ if (tokens[cursor].value === "=" && _optionalChain([tokens, 'access', _204 => _204[cursor + 1], 'optionalAccess', _205 => _205.value]) === ">") {
3531
3620
  arrowIndex = cursor;
3532
3621
  break;
3533
3622
  }
3534
3623
  }
3535
3624
  if (arrowIndex !== -1) {
3536
3625
  bodyStart = arrowIndex + 2;
3537
- bodyEnd = _optionalChain([tokens, 'access', _201 => _201[bodyStart], 'optionalAccess', _202 => _202.value]) === "{" ? findMatchingToken(tokens, bodyStart, "{", "}") : findStatementEnd(tokens, bodyStart);
3626
+ bodyEnd = _optionalChain([tokens, 'access', _206 => _206[bodyStart], 'optionalAccess', _207 => _207.value]) === "{" ? findMatchingToken(tokens, bodyStart, "{", "}") : findStatementEnd(tokens, bodyStart);
3538
3627
  } else if (assignmentIndex !== -1) {
3539
3628
  bodyStart = assignmentIndex + 1;
3540
3629
  bodyEnd = findStatementEnd(tokens, bodyStart);
@@ -3574,14 +3663,14 @@ function passesElementValuedProps(content, localBindings) {
3574
3663
  else if (value === "}") braceDepth--;
3575
3664
  else if (value === "<" && braceDepth > 0) return true;
3576
3665
  else if (value === ">" && braceDepth === 0) {
3577
- selfClosing = _optionalChain([tokens, 'access', _203 => _203[cursor - 1], 'optionalAccess', _204 => _204.value]) === "/";
3666
+ selfClosing = _optionalChain([tokens, 'access', _208 => _208[cursor - 1], 'optionalAccess', _209 => _209.value]) === "/";
3578
3667
  break;
3579
3668
  }
3580
3669
  }
3581
3670
  if (selfClosing || cursor >= tokens.length) continue;
3582
3671
  for (let child = cursor + 1; child < tokens.length; child++) {
3583
3672
  if (tokens[child].value !== "<") continue;
3584
- const closesBoundary = _optionalChain([tokens, 'access', _205 => _205[child + 1], 'optionalAccess', _206 => _206.value]) === "/" && _optionalChain([tokens, 'access', _207 => _207[child + 2], 'optionalAccess', _208 => _208.value]) === name;
3673
+ const closesBoundary = _optionalChain([tokens, 'access', _210 => _210[child + 1], 'optionalAccess', _211 => _211.value]) === "/" && _optionalChain([tokens, 'access', _212 => _212[child + 2], 'optionalAccess', _213 => _213.value]) === name;
3585
3674
  if (!closesBoundary) return true;
3586
3675
  break;
3587
3676
  }
@@ -3603,7 +3692,7 @@ function rendersOnlyLeafElements(content, localBindings) {
3603
3692
  else if (value === "<" && braceDepth > 0) return false;
3604
3693
  else if (value === ">" && braceDepth === 0) break;
3605
3694
  }
3606
- if (cursor >= tokens.length || _optionalChain([tokens, 'access', _209 => _209[cursor - 1], 'optionalAccess', _210 => _210.value]) !== "/") return false;
3695
+ if (cursor >= tokens.length || _optionalChain([tokens, 'access', _214 => _214[cursor - 1], 'optionalAccess', _215 => _215.value]) !== "/") return false;
3607
3696
  }
3608
3697
  return true;
3609
3698
  }
@@ -3615,9 +3704,9 @@ function hasDynamicJsxCardinality(content, localBindings) {
3615
3704
  const containsDynamicRenderer = (start, end) => containsClientJsx(tokens, start, end, clientBindings) || tokens.slice(start, end).some((token) => renderingHelpers.has(token.value));
3616
3705
  for (let index = 0; index < tokens.length; index++) {
3617
3706
  let callStart = -1;
3618
- if (tokens[index].value === "." && (_optionalChain([tokens, 'access', _211 => _211[index + 1], 'optionalAccess', _212 => _212.value]) === "map" || _optionalChain([tokens, 'access', _213 => _213[index + 1], 'optionalAccess', _214 => _214.value]) === "flatMap") && _optionalChain([tokens, 'access', _215 => _215[index + 2], 'optionalAccess', _216 => _216.value]) === "(") {
3707
+ if (tokens[index].value === "." && (_optionalChain([tokens, 'access', _216 => _216[index + 1], 'optionalAccess', _217 => _217.value]) === "map" || _optionalChain([tokens, 'access', _218 => _218[index + 1], 'optionalAccess', _219 => _219.value]) === "flatMap") && _optionalChain([tokens, 'access', _220 => _220[index + 2], 'optionalAccess', _221 => _221.value]) === "(") {
3619
3708
  callStart = index + 2;
3620
- } else if (tokens[index].value === "Array" && _optionalChain([tokens, 'access', _217 => _217[index + 1], 'optionalAccess', _218 => _218.value]) === "." && _optionalChain([tokens, 'access', _219 => _219[index + 2], 'optionalAccess', _220 => _220.value]) === "from" && _optionalChain([tokens, 'access', _221 => _221[index + 3], 'optionalAccess', _222 => _222.value]) === "(") {
3709
+ } else if (tokens[index].value === "Array" && _optionalChain([tokens, 'access', _222 => _222[index + 1], 'optionalAccess', _223 => _223.value]) === "." && _optionalChain([tokens, 'access', _224 => _224[index + 2], 'optionalAccess', _225 => _225.value]) === "from" && _optionalChain([tokens, 'access', _226 => _226[index + 3], 'optionalAccess', _227 => _227.value]) === "(") {
3621
3710
  callStart = index + 3;
3622
3711
  }
3623
3712
  if (callStart !== -1) {
@@ -3626,10 +3715,10 @@ function hasDynamicJsxCardinality(content, localBindings) {
3626
3715
  index = callEnd;
3627
3716
  continue;
3628
3717
  }
3629
- if ((tokens[index].value === "for" || tokens[index].value === "while") && _optionalChain([tokens, 'access', _223 => _223[index + 1], 'optionalAccess', _224 => _224.value]) === "(") {
3718
+ if ((tokens[index].value === "for" || tokens[index].value === "while") && _optionalChain([tokens, 'access', _228 => _228[index + 1], 'optionalAccess', _229 => _229.value]) === "(") {
3630
3719
  const conditionEnd = findMatchingToken(tokens, index + 1, "(", ")");
3631
3720
  const bodyStart = conditionEnd + 1;
3632
- const bodyEnd = _optionalChain([tokens, 'access', _225 => _225[bodyStart], 'optionalAccess', _226 => _226.value]) === "{" ? findMatchingToken(tokens, bodyStart, "{", "}") : tokens.findIndex((token, tokenIndex) => tokenIndex > bodyStart && token.value === ";");
3721
+ const bodyEnd = _optionalChain([tokens, 'access', _230 => _230[bodyStart], 'optionalAccess', _231 => _231.value]) === "{" ? findMatchingToken(tokens, bodyStart, "{", "}") : tokens.findIndex((token, tokenIndex) => tokenIndex > bodyStart && token.value === ";");
3633
3722
  if (containsDynamicRenderer(bodyStart, bodyEnd === -1 ? tokens.length : bodyEnd)) return true;
3634
3723
  }
3635
3724
  }
@@ -3748,7 +3837,7 @@ function collectIsolatedClientBoundaries(ownerPath, root, options = {}) {
3748
3837
  const localBindings = _nullishCoalesce(importedBindings.get(specifier), () => ( []));
3749
3838
  const staticUses = countStaticJsxUses(content, localBindings);
3750
3839
  if (staticUses > 0) {
3751
- const grows = options.packageReferences === true && projectRoot !== void 0 && (_nullishCoalesce(_optionalChain([findFarmIslandContainers, 'call', _227 => _227(_nullishCoalesce(content, () => ( "")), moduleSourcePath, localBindings), 'optionalAccess', _228 => _228.length]), () => ( 0))) > 0;
3840
+ const grows = options.packageReferences === true && projectRoot !== void 0 && (_nullishCoalesce(_optionalChain([findFarmIslandContainers, 'call', _232 => _232(_nullishCoalesce(content, () => ( "")), moduleSourcePath, localBindings), 'optionalAccess', _233 => _233.length]), () => ( 0))) > 0;
3752
3841
  if (grows) visit(ensureFarmIslandContainerReference(projectRoot));
3753
3842
  const container = grows ? void 0 : findParserSensitiveJsxContainer(content, localBindings);
3754
3843
  if (container) {
@@ -3848,7 +3937,7 @@ function realpathOrSelf(file) {
3848
3937
  () => {
3849
3938
  try {
3850
3939
  return _fs2.default.realpathSync(file);
3851
- } catch (e42) {
3940
+ } catch (e44) {
3852
3941
  return null;
3853
3942
  }
3854
3943
  },
@@ -3879,7 +3968,7 @@ function getBarePackageReexports(content) {
3879
3968
  function inspectPackageClientBoundary(importedPath, root, visited) {
3880
3969
  const resolvedPath = importedPath && installedRealPath(importedPath);
3881
3970
  const cache2 = getPackageClientBoundaryCache();
3882
- if (!cache2 || !resolvedPath || _optionalChain([visited, 'optionalAccess', _229 => _229.has, 'call', _230 => _230(resolvedPath)])) {
3971
+ if (!cache2 || !resolvedPath || _optionalChain([visited, 'optionalAccess', _234 => _234.has, 'call', _235 => _235(resolvedPath)])) {
3883
3972
  return traversePackageClientBoundary(resolvedPath, root, _nullishCoalesce(visited, () => ( /* @__PURE__ */ new Set())));
3884
3973
  }
3885
3974
  const key = `${_nullishCoalesce(root, () => ( ""))}\0${resolvedPath}`;
@@ -3896,7 +3985,7 @@ function inspectPackageClientBoundary(importedPath, root, visited) {
3896
3985
  }
3897
3986
  function traversePackageClientBoundary(resolvedPath, root, visited, trace2) {
3898
3987
  if (!resolvedPath || visited.has(resolvedPath)) {
3899
- if (resolvedPath) _optionalChain([trace2, 'optionalAccess', _231 => _231.stop, 'call', _232 => _232(resolvedPath)]);
3988
+ if (resolvedPath) _optionalChain([trace2, 'optionalAccess', _236 => _236.stop, 'call', _237 => _237(resolvedPath)]);
3900
3989
  return {
3901
3990
  isClientComponent: false,
3902
3991
  shouldHydrate: false,
@@ -3904,7 +3993,7 @@ function traversePackageClientBoundary(resolvedPath, root, visited, trace2) {
3904
3993
  };
3905
3994
  }
3906
3995
  visited.add(resolvedPath);
3907
- _optionalChain([trace2, 'optionalAccess', _233 => _233.visit, 'call', _234 => _234(resolvedPath)]);
3996
+ _optionalChain([trace2, 'optionalAccess', _238 => _238.visit, 'call', _239 => _239(resolvedPath)]);
3908
3997
  const content = readIfExists(resolvedPath);
3909
3998
  const parsed = parseImportedModuleMetadata(content);
3910
3999
  let importsClientBoundary = false;
@@ -3962,7 +4051,7 @@ function scanImportSpecifiers(content, { reexportsOnly = false, dynamic = false
3962
4051
  braceDepth = Math.max(0, braceDepth - 1);
3963
4052
  continue;
3964
4053
  }
3965
- if (dynamic && keyword.kind === "identifier" && keyword.value === "import" && _optionalChain([tokens, 'access', _235 => _235[index - 1], 'optionalAccess', _236 => _236.value]) !== "." && _optionalChain([tokens, 'access', _237 => _237[index + 1], 'optionalAccess', _238 => _238.value]) === "(" && _optionalChain([tokens, 'access', _239 => _239[index + 2], 'optionalAccess', _240 => _240.kind]) === "string") {
4054
+ if (dynamic && keyword.kind === "identifier" && keyword.value === "import" && _optionalChain([tokens, 'access', _240 => _240[index - 1], 'optionalAccess', _241 => _241.value]) !== "." && _optionalChain([tokens, 'access', _242 => _242[index + 1], 'optionalAccess', _243 => _243.value]) === "(" && _optionalChain([tokens, 'access', _244 => _244[index + 2], 'optionalAccess', _245 => _245.kind]) === "string") {
3966
4055
  matches.add(tokens[index + 2].value);
3967
4056
  continue;
3968
4057
  }
@@ -3972,7 +4061,7 @@ function scanImportSpecifiers(content, { reexportsOnly = false, dynamic = false
3972
4061
  }
3973
4062
  if (reexportsOnly && keyword.value !== "export") continue;
3974
4063
  const previous = tokens[index - 1];
3975
- if (_optionalChain([previous, 'optionalAccess', _241 => _241.value]) === ".") continue;
4064
+ if (_optionalChain([previous, 'optionalAccess', _246 => _246.value]) === ".") continue;
3976
4065
  const first = tokens[index + 1];
3977
4066
  if (!first || first.value === "type" || first.value === "(" || first.value === ".") {
3978
4067
  continue;
@@ -3988,7 +4077,7 @@ function scanImportSpecifiers(content, { reexportsOnly = false, dynamic = false
3988
4077
  for (let cursor = index + 1; cursor < tokens.length; cursor++) {
3989
4078
  const token = tokens[cursor];
3990
4079
  if (token.value === ";") break;
3991
- if (token.value === "from" && _optionalChain([tokens, 'access', _242 => _242[cursor + 1], 'optionalAccess', _243 => _243.kind]) === "string") {
4080
+ if (token.value === "from" && _optionalChain([tokens, 'access', _247 => _247[cursor + 1], 'optionalAccess', _248 => _248.kind]) === "string") {
3992
4081
  fromIndex = cursor;
3993
4082
  break;
3994
4083
  }
@@ -4006,7 +4095,7 @@ function scanImportSpecifiers(content, { reexportsOnly = false, dynamic = false
4006
4095
  return Array.from(matches);
4007
4096
  }
4008
4097
  function isTypeOnlyNamedClause(tokens, startIndex, endIndex) {
4009
- if (_optionalChain([tokens, 'access', _244 => _244[startIndex], 'optionalAccess', _245 => _245.value]) !== "{") return false;
4098
+ if (_optionalChain([tokens, 'access', _249 => _249[startIndex], 'optionalAccess', _250 => _250.value]) !== "{") return false;
4010
4099
  let closingBraceIndex = -1;
4011
4100
  for (let index = startIndex + 1; index < endIndex; index++) {
4012
4101
  if (tokens[index].value !== "}") continue;
@@ -4016,7 +4105,7 @@ function isTypeOnlyNamedClause(tokens, startIndex, endIndex) {
4016
4105
  if (closingBraceIndex === -1) return false;
4017
4106
  let entryStartsAt = startIndex + 1;
4018
4107
  for (let index = entryStartsAt; index <= closingBraceIndex; index++) {
4019
- if (index !== closingBraceIndex && _optionalChain([tokens, 'access', _246 => _246[index], 'optionalAccess', _247 => _247.value]) !== ",") continue;
4108
+ if (index !== closingBraceIndex && _optionalChain([tokens, 'access', _251 => _251[index], 'optionalAccess', _252 => _252.value]) !== ",") continue;
4020
4109
  const entry = tokens.slice(entryStartsAt, index);
4021
4110
  if (entry.length > 0 && entry[0].value !== "type") return false;
4022
4111
  entryStartsAt = index + 1;
@@ -4056,7 +4145,7 @@ function warnUnresolvedAliasImport(importerPath, specifier, root) {
4056
4145
  if (!ALIAS_IMPORT.test(specifier) || warnedUnresolvedAliasImports.has(specifier)) return;
4057
4146
  warnedUnresolvedAliasImports.add(specifier);
4058
4147
  const importer = root ? _path2.default.relative(root, importerPath) : importerPath;
4059
- _chunk7U4XF76Rcjs.logger.warn(
4148
+ _chunk7ZDLE77Pcjs.logger.warn(
4060
4149
  `Could not resolve "${specifier}" (imported by ${importer}) while checking which pages need client JavaScript. If it holds client components, they will not hydrate. Map the alias in tsconfig.json "paths" or package.json "imports".`
4061
4150
  );
4062
4151
  }
@@ -4087,17 +4176,25 @@ function matchProjectImportAlias(alias, specifier) {
4087
4176
  return specifier.slice(alias.prefix.length, specifier.length - alias.suffix.length);
4088
4177
  }
4089
4178
  function getProjectImportAliases(projectRoot) {
4090
- const sourceDir = _chunkMNUYXZV7cjs.getFarmProjectSourceDir.call(void 0, projectRoot);
4179
+ return memoizeInFarmSourceSnapshot(
4180
+ "project-aliases",
4181
+ farmSourceSnapshotPathKey(projectRoot),
4182
+ () => readProjectImportAliases(projectRoot),
4183
+ () => false
4184
+ );
4185
+ }
4186
+ function readProjectImportAliases(projectRoot) {
4187
+ const sourceDir = _chunkBNWADCG2cjs.getFarmProjectSourceDir.call(void 0, projectRoot);
4091
4188
  const cached = projectImportAliasCache.get(projectRoot);
4092
4189
  const dependencies = new Set(
4093
- _nullishCoalesce(_optionalChain([cached, 'optionalAccess', _248 => _248.stamps, 'access', _249 => _249.keys, 'call', _250 => _250()]), () => ( PROJECT_ALIAS_FILES.map((file) => _path2.default.join(projectRoot, file))))
4190
+ _nullishCoalesce(_optionalChain([cached, 'optionalAccess', _253 => _253.stamps, 'access', _254 => _254.keys, 'call', _255 => _255()]), () => ( PROJECT_ALIAS_FILES.map((file) => _path2.default.join(projectRoot, file))))
4094
4191
  );
4095
4192
  const stamps = /* @__PURE__ */ new Map();
4096
4193
  for (const file of dependencies) {
4097
4194
  noteFarmSourceRead(file);
4098
4195
  stamps.set(file, getFarmSourceStamp(file));
4099
4196
  }
4100
- if (_optionalChain([cached, 'optionalAccess', _251 => _251.sourceDir]) === sourceDir && [...stamps].every(([file, stamp]) => cached.stamps.get(file) === stamp))
4197
+ if (_optionalChain([cached, 'optionalAccess', _256 => _256.sourceDir]) === sourceDir && [...stamps].every(([file, stamp]) => cached.stamps.get(file) === stamp))
4101
4198
  return cached.aliases;
4102
4199
  dependencies.clear();
4103
4200
  for (const file of PROJECT_ALIAS_FILES) dependencies.add(_path2.default.join(projectRoot, file));
@@ -4126,7 +4223,7 @@ function readTsconfigPathAliases(projectRoot, dependencies) {
4126
4223
  const configPath = _path2.default.join(projectRoot, name);
4127
4224
  if (!_fs2.default.existsSync(configPath)) continue;
4128
4225
  const resolved = readTsconfigPaths(configPath, /* @__PURE__ */ new Set(), dependencies);
4129
- if (!_optionalChain([resolved, 'optionalAccess', _252 => _252.paths])) return [];
4226
+ if (!_optionalChain([resolved, 'optionalAccess', _257 => _257.paths])) return [];
4130
4227
  const base2 = _nullishCoalesce(resolved.baseUrl, () => ( resolved.pathsDirectory));
4131
4228
  return Object.entries(resolved.paths).flatMap(([pattern, targets]) => {
4132
4229
  if (!Array.isArray(targets)) return [];
@@ -4162,18 +4259,18 @@ function readTsconfigPaths(configPath, visited, dependencies) {
4162
4259
  inherited = _nullishCoalesce(readTsconfigPaths(parentPath, visited, dependencies), () => ( inherited));
4163
4260
  }
4164
4261
  const options = _nullishCoalesce(config.compilerOptions, () => ( {}));
4165
- const baseUrl = typeof options.baseUrl === "string" ? _path2.default.resolve(directory, options.baseUrl) : _optionalChain([inherited, 'optionalAccess', _253 => _253.baseUrl]);
4262
+ const baseUrl = typeof options.baseUrl === "string" ? _path2.default.resolve(directory, options.baseUrl) : _optionalChain([inherited, 'optionalAccess', _258 => _258.baseUrl]);
4166
4263
  if (options.paths && typeof options.paths === "object") {
4167
4264
  return { paths: options.paths, pathsDirectory: directory, baseUrl };
4168
4265
  }
4169
4266
  return inherited ? { ...inherited, baseUrl } : { pathsDirectory: directory, baseUrl };
4170
4267
  }
4171
4268
  function readPackageImportAliases(projectRoot) {
4172
- const imports = _optionalChain([readPackageJson, 'call', _254 => _254(_path2.default.join(projectRoot, "package.json")), 'optionalAccess', _255 => _255.imports]);
4269
+ const imports = _optionalChain([readFarmPackageManifest, 'call', _259 => _259(_path2.default.join(projectRoot, "package.json")), 'optionalAccess', _260 => _260.imports]);
4173
4270
  if (!imports || typeof imports !== "object") return [];
4174
4271
  return Object.entries(imports).flatMap(([pattern, value]) => {
4175
4272
  const target = resolveConditionalExportTarget(value);
4176
- if (!pattern.startsWith("#") || !_optionalChain([target, 'optionalAccess', _256 => _256.startsWith, 'call', _257 => _257("./")])) return [];
4273
+ if (!pattern.startsWith("#") || !_optionalChain([target, 'optionalAccess', _261 => _261.startsWith, 'call', _262 => _262("./")])) return [];
4177
4274
  const wildcardIndex = pattern.indexOf("*");
4178
4275
  return [
4179
4276
  {
@@ -4189,7 +4286,7 @@ function readJsonWithComments(filePath) {
4189
4286
  let source;
4190
4287
  try {
4191
4288
  source = _fs2.default.readFileSync(filePath, "utf8");
4192
- } catch (e43) {
4289
+ } catch (e45) {
4193
4290
  return null;
4194
4291
  }
4195
4292
  let output = "";
@@ -4217,7 +4314,7 @@ function readJsonWithComments(filePath) {
4217
4314
  }
4218
4315
  try {
4219
4316
  return JSON.parse(output.replace(/,(\s*[}\]])/g, "$1"));
4220
- } catch (e44) {
4317
+ } catch (e46) {
4221
4318
  return null;
4222
4319
  }
4223
4320
  }
@@ -4237,17 +4334,17 @@ function resolvePackageModuleSourcePath(importerPath, specifier, root) {
4237
4334
  const packageDirectory = findPackageDirectory2(importerPath, packageName, root);
4238
4335
  if (!packageDirectory) return null;
4239
4336
  const packageJsonPath = _path2.default.join(packageDirectory, "package.json");
4240
- const packageJson = readPackageJson(packageJsonPath);
4337
+ const packageJson = readFarmPackageManifest(packageJsonPath);
4241
4338
  const exportKey = packageSubpath ? `./${packageSubpath}` : ".";
4242
- const exportTarget = resolvePackageExport(_optionalChain([packageJson, 'optionalAccess', _258 => _258.exports]), exportKey);
4339
+ const exportTarget = resolvePackageExport(_optionalChain([packageJson, 'optionalAccess', _263 => _263.exports]), exportKey);
4243
4340
  const candidates = /* @__PURE__ */ new Set();
4244
- if (_optionalChain([exportTarget, 'optionalAccess', _259 => _259.startsWith, 'call', _260 => _260("./")])) {
4341
+ if (_optionalChain([exportTarget, 'optionalAccess', _264 => _264.startsWith, 'call', _265 => _265("./")])) {
4245
4342
  candidates.add(_path2.default.resolve(packageDirectory, exportTarget));
4246
4343
  }
4247
4344
  if (packageSubpath) {
4248
4345
  candidates.add(_path2.default.join(packageDirectory, packageSubpath));
4249
4346
  } else {
4250
- for (const entry of [_optionalChain([packageJson, 'optionalAccess', _261 => _261.browser]), _optionalChain([packageJson, 'optionalAccess', _262 => _262.module]), _optionalChain([packageJson, 'optionalAccess', _263 => _263.main])]) {
4347
+ for (const entry of [_optionalChain([packageJson, 'optionalAccess', _266 => _266.browser]), _optionalChain([packageJson, 'optionalAccess', _267 => _267.module]), _optionalChain([packageJson, 'optionalAccess', _268 => _268.main])]) {
4251
4348
  if (typeof entry === "string") candidates.add(_path2.default.resolve(packageDirectory, entry));
4252
4349
  }
4253
4350
  candidates.add(_path2.default.join(packageDirectory, "index"));
@@ -4273,6 +4370,7 @@ function findPackageDirectory2(importerPath, packageName, root) {
4273
4370
  }
4274
4371
  }
4275
4372
  for (const searchRoot of searchRoots) {
4373
+ if (!hasFarmNodeModulesDirectory(searchRoot)) continue;
4276
4374
  const packageDirectory = _path2.default.join(searchRoot, "node_modules", packageName);
4277
4375
  if (_fs2.default.existsSync(_path2.default.join(packageDirectory, "package.json"))) {
4278
4376
  return packageDirectory;
@@ -4280,13 +4378,6 @@ function findPackageDirectory2(importerPath, packageName, root) {
4280
4378
  }
4281
4379
  return null;
4282
4380
  }
4283
- function readPackageJson(packageJsonPath) {
4284
- try {
4285
- return JSON.parse(_fs2.default.readFileSync(packageJsonPath, "utf8"));
4286
- } catch (e45) {
4287
- return null;
4288
- }
4289
- }
4290
4381
  function resolvePackageExport(exportsField, exportKey) {
4291
4382
  if (typeof exportsField === "string") {
4292
4383
  return exportKey === "." ? exportsField : null;
@@ -4312,7 +4403,7 @@ function resolvePackageExport(exportsField, exportKey) {
4312
4403
  if (!exportKey.startsWith(prefix) || !exportKey.endsWith(suffix)) continue;
4313
4404
  const wildcard = exportKey.slice(prefix.length, exportKey.length - suffix.length);
4314
4405
  const target = resolveConditionalExportTarget(value);
4315
- return _nullishCoalesce(_optionalChain([target, 'optionalAccess', _264 => _264.replace, 'call', _265 => _265("*", wildcard)]), () => ( null));
4406
+ return _nullishCoalesce(_optionalChain([target, 'optionalAccess', _269 => _269.replace, 'call', _270 => _270("*", wildcard)]), () => ( null));
4316
4407
  }
4317
4408
  return null;
4318
4409
  }
@@ -4355,8 +4446,8 @@ function resolveSourceCandidatePath(candidate) {
4355
4446
  }
4356
4447
  for (const sourcePath of paths) {
4357
4448
  try {
4358
- if (_optionalChain([_fs2.default, 'access', _266 => _266.statSync, 'call', _267 => _267(sourcePath, { throwIfNoEntry: false }), 'optionalAccess', _268 => _268.isFile, 'call', _269 => _269()])) return sourcePath;
4359
- } catch (e46) {
4449
+ if (_optionalChain([_fs2.default, 'access', _271 => _271.statSync, 'call', _272 => _272(sourcePath, { throwIfNoEntry: false }), 'optionalAccess', _273 => _273.isFile, 'call', _274 => _274()])) return sourcePath;
4450
+ } catch (e47) {
4360
4451
  }
4361
4452
  }
4362
4453
  return null;
@@ -4398,7 +4489,7 @@ function scanFarmPackageImports(directory, root) {
4398
4489
  let entries;
4399
4490
  try {
4400
4491
  entries = _fs2.default.readdirSync(current, { withFileTypes: true });
4401
- } catch (e47) {
4492
+ } catch (e48) {
4402
4493
  return;
4403
4494
  }
4404
4495
  for (const entry of entries) {
@@ -4431,7 +4522,7 @@ function collectFarmServerBundledPackageInfo(directory) {
4431
4522
  let entries;
4432
4523
  try {
4433
4524
  entries = _fs2.default.readdirSync(current, { withFileTypes: true });
4434
- } catch (e48) {
4525
+ } catch (e49) {
4435
4526
  return;
4436
4527
  }
4437
4528
  for (const entry of entries) {
@@ -4496,7 +4587,7 @@ function getFarmClientReachableModules(directory, root) {
4496
4587
  let entries;
4497
4588
  try {
4498
4589
  entries = _fs2.default.readdirSync(current, { withFileTypes: true });
4499
- } catch (e49) {
4590
+ } catch (e50) {
4500
4591
  return;
4501
4592
  }
4502
4593
  for (const entry of entries) {
@@ -4536,7 +4627,7 @@ function resolveFarmClientOptimizeDeps(directory, root) {
4536
4627
  const imports = scanFarmPackageImports(directory, root);
4537
4628
  for (const specifier of imports.client) {
4538
4629
  const fonts = findFarmServerBundledPackage(importer, specifier);
4539
- if (_optionalChain([fonts, 'optionalAccess', _270 => _270.fonts])) {
4630
+ if (_optionalChain([fonts, 'optionalAccess', _275 => _275.fonts])) {
4540
4631
  exclude.add(fonts.name);
4541
4632
  continue;
4542
4633
  }
@@ -4605,20 +4696,20 @@ function transformEnvironmentFunctions(options) {
4605
4696
  function farmEnvironmentFunctionsPlugin(options = {}) {
4606
4697
  let routesFiles = /* @__PURE__ */ new Set();
4607
4698
  const componentExtensions = new Set(
4608
- _chunkT7UC2ORAcjs.getFarmRendererComponentExtensions.call(void 0, options.renderer || void 0)
4699
+ _chunkHP7QYVSTcjs.getFarmRendererComponentExtensions.call(void 0, options.renderer || void 0)
4609
4700
  );
4610
4701
  let farmApi;
4611
4702
  let isBuild = false;
4612
4703
  let projectRoot = process.cwd();
4613
4704
  let sources;
4614
4705
  const routeSourceFiles = () => {
4615
- const clientRoutes = _optionalChain([farmApi, 'optionalAccess', _271 => _271.getProgrammaticClientRoutes, 'call', _272 => _272()]);
4616
- if (_optionalChain([sources, 'optionalAccess', _273 => _273.for]) !== clientRoutes || !sources) {
4706
+ const clientRoutes = _optionalChain([farmApi, 'optionalAccess', _276 => _276.getProgrammaticClientRoutes, 'call', _277 => _277()]);
4707
+ if (_optionalChain([sources, 'optionalAccess', _278 => _278.for]) !== clientRoutes || !sources) {
4617
4708
  sources = {
4618
4709
  for: clientRoutes,
4619
4710
  files: /* @__PURE__ */ new Set([
4620
4711
  ...routesFiles,
4621
- ...[..._nullishCoalesce(_optionalChain([clientRoutes, 'optionalAccess', _274 => _274.routeSourceFiles]), () => ( []))].map(resolvedFile)
4712
+ ...[..._nullishCoalesce(_optionalChain([clientRoutes, 'optionalAccess', _279 => _279.routeSourceFiles]), () => ( []))].map(resolvedFile)
4622
4713
  ])
4623
4714
  };
4624
4715
  }
@@ -4639,11 +4730,11 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4639
4730
  configResolved(config) {
4640
4731
  isBuild = config.command === "build";
4641
4732
  projectRoot = config.root;
4642
- farmApi = _optionalChain([config, 'access', _275 => _275.plugins, 'access', _276 => _276.find, 'call', _277 => _277((plugin) => plugin.name === "farm"), 'optionalAccess', _278 => _278.api]);
4733
+ farmApi = _optionalChain([config, 'access', _280 => _280.plugins, 'access', _281 => _281.find, 'call', _282 => _282((plugin) => plugin.name === "farm"), 'optionalAccess', _283 => _283.api]);
4643
4734
  sources = void 0;
4644
4735
  routesFiles = new Set(
4645
- _chunk52Q4OB4Acjs.getFarmSourceRoots.call(void 0, { ...options, root: _nullishCoalesce(options.root, () => ( config.root)) }).flatMap(
4646
- (source) => _chunkYUCU6XB4cjs.PROGRAMMATIC_ROUTE_FILE_NAMES.map(
4736
+ _chunkKBURN62Zcjs.getFarmSourceRoots.call(void 0, { ...options, root: _nullishCoalesce(options.root, () => ( config.root)) }).flatMap(
4737
+ (source) => _chunkPYPHM7AScjs.PROGRAMMATIC_ROUTE_FILE_NAMES.map(
4647
4738
  (name) => resolvedFile(_path2.default.resolve(source.root, source.srcDir, name))
4648
4739
  )
4649
4740
  )
@@ -4652,7 +4743,7 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4652
4743
  transform(code, id, transformOptions) {
4653
4744
  const environment = resolveBuildEnvironment(
4654
4745
  this,
4655
- _optionalChain([transformOptions, 'optionalAccess', _279 => _279.ssr])
4746
+ _optionalChain([transformOptions, 'optionalAccess', _284 => _284.ssr])
4656
4747
  );
4657
4748
  const parse3 = (source) => this.parse(source);
4658
4749
  const result = transformEnvironmentFunctions({
@@ -4662,10 +4753,10 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4662
4753
  parse: parse3,
4663
4754
  componentExtensions
4664
4755
  });
4665
- if (environment === "client" && !isBuild && !_chunkYUCU6XB4cjs.parseProgrammaticRouteModuleId.call(void 0, id) && routeSourceFiles().has(moduleFile(id)) && !isProgrammaticRouteActionProxy(code)) {
4756
+ if (environment === "client" && !isBuild && !_chunkPYPHM7AScjs.parseProgrammaticRouteModuleId.call(void 0, id) && routeSourceFiles().has(moduleFile(id)) && !isProgrammaticRouteActionProxy(code)) {
4666
4757
  this.error(routeSourceError(moduleFile(id)));
4667
4758
  }
4668
- if (environment === "server" && _chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([options, 'access', _280 => _280.experimental, 'optionalAccess', _281 => _281.serverComponents])) === "islands" && isApplicationScript(id)) {
4759
+ if (environment === "server" && _chunkHP7QYVSTcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([options, 'access', _285 => _285.experimental, 'optionalAccess', _286 => _286.serverComponents])) === "islands" && isApplicationScript(id)) {
4669
4760
  const file = id.split("?", 1)[0];
4670
4761
  const root = _fs.realpathSync.call(void 0, _nullishCoalesce(options.root, () => ( projectRoot)));
4671
4762
  const clientCode = getFarmClientReachableModules(root, root).has(_path2.default.resolve(file)) || _fs.existsSync.call(void 0, file) && hasUseClientDirective(_fs.readFileSync.call(void 0, file, "utf8"));
@@ -4697,9 +4788,9 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4697
4788
  if (resolveBuildEnvironment(context, false) !== "client") return;
4698
4789
  const forbidden = routeSourceFiles();
4699
4790
  for (const id of this.getModuleIds()) {
4700
- if (_chunkYUCU6XB4cjs.parseProgrammaticRouteModuleId.call(void 0, id)) {
4791
+ if (_chunkPYPHM7AScjs.parseProgrammaticRouteModuleId.call(void 0, id)) {
4701
4792
  const chain = findClientNodeBuiltinChain(id, (moduleId) => {
4702
- return _optionalChain([this, 'access', _282 => _282.getModuleInfo, 'call', _283 => _283(moduleId), 'optionalAccess', _284 => _284.importedIds]);
4793
+ return _optionalChain([this, 'access', _287 => _287.getModuleInfo, 'call', _288 => _288(moduleId), 'optionalAccess', _289 => _289.importedIds]);
4703
4794
  });
4704
4795
  if (chain) {
4705
4796
  this.error(
@@ -4717,8 +4808,8 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4717
4808
  }
4718
4809
  if (!forbidden.has(moduleFile(id))) continue;
4719
4810
  const info = this.getModuleInfo(id);
4720
- if (isProgrammaticRouteActionProxy(_optionalChain([info, 'optionalAccess', _285 => _285.code]))) continue;
4721
- this.error(routeSourceError(moduleFile(id), _optionalChain([info, 'optionalAccess', _286 => _286.importers, 'access', _287 => _287.map, 'call', _288 => _288(moduleFile)])));
4811
+ if (isProgrammaticRouteActionProxy(_optionalChain([info, 'optionalAccess', _290 => _290.code]))) continue;
4812
+ this.error(routeSourceError(moduleFile(id), _optionalChain([info, 'optionalAccess', _291 => _291.importers, 'access', _292 => _292.map, 'call', _293 => _293(moduleFile)])));
4722
4813
  }
4723
4814
  }
4724
4815
  };
@@ -4732,13 +4823,13 @@ function moduleFile(id) {
4732
4823
  function resolvedFile(filePath) {
4733
4824
  try {
4734
4825
  return moduleFile(_fs.realpathSync.call(void 0, filePath));
4735
- } catch (e50) {
4826
+ } catch (e51) {
4736
4827
  return moduleFile(filePath);
4737
4828
  }
4738
4829
  }
4739
4830
  function resolveBuildEnvironment(context, ssr) {
4740
- if (_optionalChain([context, 'access', _289 => _289.environment, 'optionalAccess', _290 => _290.name]) === "client") return "client";
4741
- if (_optionalChain([context, 'access', _291 => _291.environment, 'optionalAccess', _292 => _292.name]) === "rsc" || _optionalChain([context, 'access', _293 => _293.environment, 'optionalAccess', _294 => _294.name]) === "ssr") {
4831
+ if (_optionalChain([context, 'access', _294 => _294.environment, 'optionalAccess', _295 => _295.name]) === "client") return "client";
4832
+ if (_optionalChain([context, 'access', _296 => _296.environment, 'optionalAccess', _297 => _297.name]) === "rsc" || _optionalChain([context, 'access', _298 => _298.environment, 'optionalAccess', _299 => _299.name]) === "ssr") {
4742
4833
  return "server";
4743
4834
  }
4744
4835
  return ssr ? "server" : "client";
@@ -5068,4 +5159,7 @@ function transformError(id, message) {
5068
5159
 
5069
5160
 
5070
5161
 
5071
- exports.FARM_BROWSER_BUILTIN_PREFIX = FARM_BROWSER_BUILTIN_PREFIX; exports.resolveFarmBrowserBuiltin = resolveFarmBrowserBuiltin; exports.loadFarmBrowserBuiltin = loadFarmBrowserBuiltin; exports.farmBrowserBuiltinsOptimizerPlugin = farmBrowserBuiltinsOptimizerPlugin; exports.programmaticClientRouteKey = programmaticClientRouteKey; exports.resolveProgrammaticClientRoutes = resolveProgrammaticClientRoutes; exports.createEvaluatedRouteGraph = createEvaluatedRouteGraph; exports.mergeProgrammaticClientRoutes = mergeProgrammaticClientRoutes; exports.generateProgrammaticClientRouteModule = generateProgrammaticClientRouteModule; exports.getFarmSourceStamp = getFarmSourceStamp; exports.FarmSourceSnapshotStore = FarmSourceSnapshotStore; exports.withFarmSourceSnapshot = withFarmSourceSnapshot; exports.withFarmSourceSnapshotOf = withFarmSourceSnapshotOf; exports.memoizeInFarmSourceSnapshot = memoizeInFarmSourceSnapshot; exports.noteFarmSourceRead = noteFarmSourceRead; exports.traceFarmSourceReads = traceFarmSourceReads; exports.traceFarmSourceReadGroups = traceFarmSourceReadGroups; exports.rewriteFarmReactServerClientModuleImports = rewriteFarmReactServerClientModuleImports; exports.rewriteFarmReactServerImports = rewriteFarmReactServerImports; exports.invalidateFarmClientOnlyScan = invalidateFarmClientOnlyScan; exports.farmRelativeImportFiles = farmRelativeImportFiles; exports.usePackageScanCacheFile = usePackageScanCacheFile; exports.persistPackageScanCache = persistPackageScanCache; exports.FARM_CLIENT_REFERENCE_PRAGMA = FARM_CLIENT_REFERENCE_PRAGMA; exports.FARM_CLIENT_REFERENCE_DIRECTORY = FARM_CLIENT_REFERENCE_DIRECTORY; exports.FARM_RESOLVE_FROM_PREFIX = FARM_RESOLVE_FROM_PREFIX; exports.parseFarmResolveFrom = parseFarmResolveFrom; exports.ensureFarmPackageClientReference = ensureFarmPackageClientReference; exports.ensureFarmInternalClientReference = ensureFarmInternalClientReference; exports.rewriteFarmPackageClientImports = rewriteFarmPackageClientImports; exports.farmIslandContainerReferencePath = farmIslandContainerReferencePath; exports.ensureFarmIslandContainerReference = ensureFarmIslandContainerReference; exports.wrapFarmIslandContainers = wrapFarmIslandContainers; exports.withPackageClientBoundaryCache = withPackageClientBoundaryCache; exports.bindPackageClientBoundaryCache = bindPackageClientBoundaryCache; exports.usePackageClientBoundaryCacheFile = usePackageClientBoundaryCacheFile; exports.resolvePackageClientBoundaryCacheFile = resolvePackageClientBoundaryCacheFile; exports.runWithPackageClientBoundaryCacheFile = runWithPackageClientBoundaryCacheFile; exports.runWithLatestPackageClientBoundaryCache = runWithLatestPackageClientBoundaryCache; exports.dropLatestPackageClientBoundaryCache = dropLatestPackageClientBoundaryCache; exports.setFarmRendererHydrationScope = setFarmRendererHydrationScope; exports.resolveModuleSourcePath = resolveModuleSourcePath; exports.getFarmClientHydrationPlanOptions = getFarmClientHydrationPlanOptions; exports.describeSuppressedAsyncHydration = describeSuppressedAsyncHydration; exports.resolveFarmIsolatedClientHydrationMode = resolveFarmIsolatedClientHydrationMode; exports.hasUseClientDirective = hasUseClientDirective; exports.getIslandStrategyExport = getIslandStrategyExport; exports.stripUseClientDirective = stripUseClientDirective; exports.getFarmClientRenderingBindings = getFarmClientRenderingBindings; exports.collectFarmRenderedClientModules = collectFarmRenderedClientModules; exports.collectFarmServerStylesheets = collectFarmServerStylesheets; exports.getClientModuleMetadata = getClientModuleMetadata; exports.getClientModuleHydrationPlanKey = getClientModuleHydrationPlanKey; exports.getClientModuleHydrationPlan = getClientModuleHydrationPlan; exports.usesFarmServerTree = usesFarmServerTree; exports.createMarkdownPageHydrationPlanner = createMarkdownPageHydrationPlanner; exports.enforceFarmIsolatedHydrationRouteBudget = enforceFarmIsolatedHydrationRouteBudget; exports.isIsolatableClientBoundarySource = isIsolatableClientBoundarySource; exports.isFarmClientModulePlanUnchanged = isFarmClientModulePlanUnchanged; exports.getInstalledPackageDirectory = getInstalledPackageDirectory; exports.resolveImportedModule = resolveImportedModule; exports.isFarmPackageClientBoundary = isFarmPackageClientBoundary; exports.collectFarmClientPackageImports = collectFarmClientPackageImports; exports.collectFarmServerBundledPackageInfo = collectFarmServerBundledPackageInfo; exports.noteFarmClientReachableModuleChange = noteFarmClientReachableModuleChange; exports.getFarmClientReachableModules = getFarmClientReachableModules; exports.resolveFarmClientOptimizeDeps = resolveFarmClientOptimizeDeps; exports.createFarmDiagnostic = createFarmDiagnostic; exports.formatFarmDiagnostic = formatFarmDiagnostic; exports.createFarmSourceLocator = createFarmSourceLocator; exports.transformEnvironmentFunctions = transformEnvironmentFunctions; exports.farmEnvironmentFunctionsPlugin = farmEnvironmentFunctionsPlugin;
5162
+
5163
+
5164
+
5165
+ exports.FARM_BROWSER_BUILTIN_PREFIX = FARM_BROWSER_BUILTIN_PREFIX; exports.resolveFarmBrowserBuiltin = resolveFarmBrowserBuiltin; exports.loadFarmBrowserBuiltin = loadFarmBrowserBuiltin; exports.farmBrowserBuiltinsOptimizerPlugin = farmBrowserBuiltinsOptimizerPlugin; exports.programmaticClientRouteKey = programmaticClientRouteKey; exports.resolveProgrammaticClientRoutes = resolveProgrammaticClientRoutes; exports.createEvaluatedRouteGraph = createEvaluatedRouteGraph; exports.mergeProgrammaticClientRoutes = mergeProgrammaticClientRoutes; exports.generateProgrammaticClientRouteModule = generateProgrammaticClientRouteModule; exports.getFarmSourceStamp = getFarmSourceStamp; exports.FarmSourceSnapshotStore = FarmSourceSnapshotStore; exports.withFarmSourceSnapshot = withFarmSourceSnapshot; exports.withFarmSourceSnapshotOf = withFarmSourceSnapshotOf; exports.withFarmSourceSnapshotAside = withFarmSourceSnapshotAside; exports.memoizeInFarmSourceSnapshot = memoizeInFarmSourceSnapshot; exports.noteFarmSourceRead = noteFarmSourceRead; exports.traceFarmSourceReads = traceFarmSourceReads; exports.traceFarmSourceReadGroups = traceFarmSourceReadGroups; exports.rewriteFarmReactServerClientModuleImports = rewriteFarmReactServerClientModuleImports; exports.rewriteFarmReactServerImports = rewriteFarmReactServerImports; exports.invalidateFarmClientOnlyScan = invalidateFarmClientOnlyScan; exports.farmRelativeImportFiles = farmRelativeImportFiles; exports.usePackageScanCacheFile = usePackageScanCacheFile; exports.persistPackageScanCache = persistPackageScanCache; exports.FARM_CLIENT_REFERENCE_PRAGMA = FARM_CLIENT_REFERENCE_PRAGMA; exports.FARM_CLIENT_REFERENCE_DIRECTORY = FARM_CLIENT_REFERENCE_DIRECTORY; exports.FARM_RESOLVE_FROM_PREFIX = FARM_RESOLVE_FROM_PREFIX; exports.parseFarmResolveFrom = parseFarmResolveFrom; exports.ensureFarmPackageClientReference = ensureFarmPackageClientReference; exports.ensureFarmInternalClientReference = ensureFarmInternalClientReference; exports.rewriteFarmPackageClientImports = rewriteFarmPackageClientImports; exports.FARM_ISLAND_CONTAINER_TAG = FARM_ISLAND_CONTAINER_TAG; exports.farmIslandContainerReferencePath = farmIslandContainerReferencePath; exports.ensureFarmIslandContainerReference = ensureFarmIslandContainerReference; exports.wrapFarmIslandContainers = wrapFarmIslandContainers; exports.withPackageClientBoundaryCache = withPackageClientBoundaryCache; exports.bindPackageClientBoundaryCache = bindPackageClientBoundaryCache; exports.usePackageClientBoundaryCacheFile = usePackageClientBoundaryCacheFile; exports.resolvePackageClientBoundaryCacheFile = resolvePackageClientBoundaryCacheFile; exports.runWithPackageClientBoundaryCacheFile = runWithPackageClientBoundaryCacheFile; exports.runWithLatestPackageClientBoundaryCache = runWithLatestPackageClientBoundaryCache; exports.dropLatestPackageClientBoundaryCache = dropLatestPackageClientBoundaryCache; exports.setFarmRendererHydrationScope = setFarmRendererHydrationScope; exports.resolveModuleSourcePath = resolveModuleSourcePath; exports.getFarmClientHydrationPlanOptions = getFarmClientHydrationPlanOptions; exports.describeSuppressedAsyncHydration = describeSuppressedAsyncHydration; exports.resolveFarmIsolatedClientHydrationMode = resolveFarmIsolatedClientHydrationMode; exports.hasUseClientDirective = hasUseClientDirective; exports.getIslandStrategyExport = getIslandStrategyExport; exports.stripUseClientDirective = stripUseClientDirective; exports.getFarmClientRenderingBindings = getFarmClientRenderingBindings; exports.collectFarmRenderedClientModules = collectFarmRenderedClientModules; exports.collectFarmServerStylesheets = collectFarmServerStylesheets; exports.getClientModuleMetadata = getClientModuleMetadata; exports.getClientModuleHydrationPlanKey = getClientModuleHydrationPlanKey; exports.getClientModuleHydrationPlan = getClientModuleHydrationPlan; exports.usesFarmServerTree = usesFarmServerTree; exports.createMarkdownPageHydrationPlanner = createMarkdownPageHydrationPlanner; exports.enforceFarmIsolatedHydrationRouteBudget = enforceFarmIsolatedHydrationRouteBudget; exports.isIsolatableClientBoundarySource = isIsolatableClientBoundarySource; exports.isFarmClientModulePlanUnchanged = isFarmClientModulePlanUnchanged; exports.isFarmServerModulePlanUnchanged = isFarmServerModulePlanUnchanged; exports.getInstalledPackageDirectory = getInstalledPackageDirectory; exports.resolveImportedModule = resolveImportedModule; exports.isFarmPackageClientBoundary = isFarmPackageClientBoundary; exports.collectFarmClientPackageImports = collectFarmClientPackageImports; exports.collectFarmServerBundledPackageInfo = collectFarmServerBundledPackageInfo; exports.noteFarmClientReachableModuleChange = noteFarmClientReachableModuleChange; exports.getFarmClientReachableModules = getFarmClientReachableModules; exports.resolveFarmClientOptimizeDeps = resolveFarmClientOptimizeDeps; exports.createFarmDiagnostic = createFarmDiagnostic; exports.formatFarmDiagnostic = formatFarmDiagnostic; exports.createFarmSourceLocator = createFarmSourceLocator; exports.transformEnvironmentFunctions = transformEnvironmentFunctions; exports.farmEnvironmentFunctionsPlugin = farmEnvironmentFunctionsPlugin;