@farm.js/core 0.1.67 → 0.1.69

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 (297) hide show
  1. package/dist/{agent-mcp.d-DWyWkTSy.d.mts → agent-mcp.d-DOfBMEzP.d.mts} +1 -1
  2. package/dist/{agent-mcp.d-BFu9xHAi.d.ts → agent-mcp.d-DnIgriX1.d.ts} +1 -1
  3. package/dist/agent-runtime.d.mts +5 -3
  4. package/dist/agent-runtime.d.ts +5 -3
  5. package/dist/{analyzer-TTIIXXMQ.mjs → analyzer-NAL5TJUP.mjs} +2 -2
  6. package/dist/analyzer-SAJSV6SP.cjs +16 -0
  7. package/dist/api/node.d.mts +7 -5
  8. package/dist/api/node.d.ts +7 -5
  9. package/dist/api/route-manager.d.mts +7 -5
  10. package/dist/api/route-manager.d.ts +7 -5
  11. package/dist/api/runtime.d.mts +6 -4
  12. package/dist/api/runtime.d.ts +6 -4
  13. package/dist/api.cjs +2 -2
  14. package/dist/api.d.mts +8 -23
  15. package/dist/api.d.ts +8 -23
  16. package/dist/api.mjs +1 -1
  17. package/dist/{app-manifest.d-CwfhGrVR.d.ts → app-manifest.d-CaAcaukR.d.ts} +1 -1
  18. package/dist/{app-manifest.d-CRmjN5j9.d.mts → app-manifest.d-_BVbI0xp.d.mts} +1 -1
  19. package/dist/app-markdown.cjs +3 -3
  20. package/dist/app-markdown.d.mts +10 -10
  21. package/dist/app-markdown.d.ts +10 -10
  22. package/dist/app-markdown.mjs +2 -2
  23. package/dist/{app.d-BX9LVTiP.d.ts → app.d-BWeDqOaF.d.ts} +6 -6
  24. package/dist/{app.d-uBBUxwyV.d.mts → app.d-CaPwtytN.d.mts} +6 -6
  25. package/dist/{base-path.d-BOUV5ozD.d.mts → base-path.d-CTDVF0Fc.d.mts} +2 -1
  26. package/dist/{base-path.d-BOUV5ozD.d.ts → base-path.d-CTDVF0Fc.d.ts} +2 -1
  27. package/dist/{chunk-HM7AGSKU.cjs → chunk-22LGTSBA.cjs} +1 -1
  28. package/dist/{chunk-4JX3M4C6.cjs → chunk-23VJEGKC.cjs} +2 -1
  29. package/dist/{chunk-V5MQMQ2P.mjs → chunk-2P7UYHZP.mjs} +1 -1
  30. package/dist/{chunk-Q37INCXG.cjs → chunk-3EEINK7G.cjs} +11 -2
  31. package/dist/{chunk-BRWIVOV4.cjs → chunk-3GNHJ3RN.cjs} +10 -8
  32. package/dist/{chunk-QJVW76JG.mjs → chunk-3Y52TWYU.mjs} +2 -2
  33. package/dist/{chunk-OB3IFUK6.cjs → chunk-437QZIC2.cjs} +4 -4
  34. package/dist/{chunk-DCXSIEFE.cjs → chunk-4JRAMCUP.cjs} +59 -38
  35. package/dist/{chunk-Q5UX55YA.cjs → chunk-4W4ZWSV2.cjs} +887 -485
  36. package/dist/{chunk-JWSI5WO4.mjs → chunk-4ZXKYCYK.mjs} +1 -1
  37. package/dist/{chunk-N35YPV4N.mjs → chunk-57QAQU4F.mjs} +9 -7
  38. package/dist/{chunk-AQDLVHNF.mjs → chunk-5FBZJJGA.mjs} +17 -0
  39. package/dist/{chunk-HP2DQGQH.mjs → chunk-5TOWKGV3.mjs} +1 -1
  40. package/dist/{chunk-556H7JCE.cjs → chunk-6GQJVY4E.cjs} +32 -27
  41. package/dist/{chunk-PL6RTBDE.cjs → chunk-ABIBASLJ.cjs} +2 -2
  42. package/dist/{chunk-H37MDCPR.mjs → chunk-ANMIR6US.mjs} +1 -1
  43. package/dist/{chunk-DQJ2CIH7.cjs → chunk-ASYOWPSR.cjs} +2 -1
  44. package/dist/{chunk-QGJ4FI2G.mjs → chunk-C6HGUTXB.mjs} +113 -29
  45. package/dist/{chunk-UHNSY2PQ.mjs → chunk-CKCKCUYO.mjs} +826 -424
  46. package/dist/{chunk-IRA2CZAY.mjs → chunk-CRVSYDHV.mjs} +2 -2
  47. package/dist/{chunk-2ZOYOYEE.mjs → chunk-D5F7RPZP.mjs} +71 -1
  48. package/dist/{chunk-N5DQMOAG.cjs → chunk-DHR2WDSL.cjs} +275 -92
  49. package/dist/{chunk-QGQP6QKO.cjs → chunk-DWLNLU55.cjs} +2 -2
  50. package/dist/{chunk-52Y3C3HG.mjs → chunk-E7VF3LQ5.mjs} +3 -2
  51. package/dist/{chunk-V5RTHYJB.cjs → chunk-F6YLXK5L.cjs} +93 -25
  52. package/dist/{chunk-HNVAZGQD.cjs → chunk-FJMC24KG.cjs} +2 -2
  53. package/dist/{chunk-KCY52OUQ.cjs → chunk-FSODPZRT.cjs} +1 -1
  54. package/dist/{chunk-PPX7UOFY.cjs → chunk-FVYBEMOD.cjs} +55 -38
  55. package/dist/{chunk-6YBYX4K4.mjs → chunk-G7NBPP7H.mjs} +1 -1
  56. package/dist/{chunk-HFHJJXSV.mjs → chunk-GFPS7MNE.mjs} +1 -1
  57. package/dist/{chunk-LPIZMU7D.cjs → chunk-GQ6QOH7T.cjs} +9 -5
  58. package/dist/{chunk-BZWTBELF.cjs → chunk-GTQOEEE7.cjs} +77 -7
  59. package/dist/{chunk-6V5YWI4W.cjs → chunk-GUMKIQJL.cjs} +2 -2
  60. package/dist/{chunk-3T5TLFCQ.mjs → chunk-HEJM46HQ.mjs} +11 -2
  61. package/dist/{chunk-F43OG25P.cjs → chunk-I7J5RLGO.cjs} +15 -1
  62. package/dist/chunk-ICFPTHXM.mjs +97 -0
  63. package/dist/{chunk-WGHY3OL5.mjs → chunk-IYLZZTP6.mjs} +233 -50
  64. package/dist/{chunk-WUTFJOV7.cjs → chunk-JFPKARWM.cjs} +16 -8
  65. package/dist/{chunk-TEG6HJVF.mjs → chunk-JL2YW5KX.mjs} +1 -0
  66. package/dist/{chunk-23PVOIPT.cjs → chunk-L5OZN6YW.cjs} +3 -3
  67. package/dist/{chunk-QITSS4TD.cjs → chunk-L6NWQ3DR.cjs} +537 -356
  68. package/dist/{chunk-3T7ALZJF.cjs → chunk-LR4KP3I7.cjs} +2 -2
  69. package/dist/{chunk-CO3YMZFD.mjs → chunk-MAGFDK4Q.mjs} +1 -1
  70. package/dist/{chunk-VFXE6NWR.mjs → chunk-MGKWYPE3.mjs} +2 -1
  71. package/dist/{chunk-5TA63JD3.mjs → chunk-MGZVDX4R.mjs} +1 -1
  72. package/dist/{chunk-6SQZXRJ2.cjs → chunk-MMDKYJ5V.cjs} +7 -7
  73. package/dist/{chunk-5Y2P454O.cjs → chunk-MTBDJ326.cjs} +6 -5
  74. package/dist/{chunk-XUES6OET.mjs → chunk-MV7NWU23.mjs} +1 -1
  75. package/dist/{chunk-4IHMHFQB.cjs → chunk-NG2EZ6QS.cjs} +28 -1
  76. package/dist/{chunk-F7JKVHU2.mjs → chunk-NVOMQLI2.mjs} +15 -1
  77. package/dist/{chunk-5IQ2ERQA.cjs → chunk-O47W53D3.cjs} +1 -1
  78. package/dist/{chunk-22IWL4YD.cjs → chunk-OCNV4CI2.cjs} +21 -2
  79. package/dist/{chunk-3TXKFRSO.mjs → chunk-OEL5EPOJ.mjs} +1 -1
  80. package/dist/{chunk-E6CD45JK.mjs → chunk-PDQ6EGPK.mjs} +26 -5
  81. package/dist/{chunk-VK54PDQ6.mjs → chunk-PEYDQMSA.mjs} +86 -18
  82. package/dist/{chunk-KSZK34HU.mjs → chunk-PJQ5W356.mjs} +16 -8
  83. package/dist/{chunk-72KCTHLV.cjs → chunk-PRL7FXG4.cjs} +113 -29
  84. package/dist/{chunk-JSOCDYER.cjs → chunk-Q4HH5Q6A.cjs} +15 -1
  85. package/dist/{chunk-YVTS3S3F.cjs → chunk-QOGIZKSO.cjs} +3 -3
  86. package/dist/{chunk-DB2HSHQA.cjs → chunk-QSUYB3RH.cjs} +14 -14
  87. package/dist/{chunk-724MGMIL.mjs → chunk-R2ZHU37O.mjs} +19 -0
  88. package/dist/{chunk-YQYTQJZN.mjs → chunk-RLH5AH2M.mjs} +1 -1
  89. package/dist/{chunk-WDD5CTZW.mjs → chunk-SZORL7EW.mjs} +24 -19
  90. package/dist/{chunk-6R53ZWX2.cjs → chunk-TKYOJ5G2.cjs} +3 -3
  91. package/dist/{chunk-XNZWMXCF.mjs → chunk-UHU4QALN.mjs} +330 -149
  92. package/dist/{chunk-J7JHVCWA.cjs → chunk-UKZ6AWKZ.cjs} +2 -1
  93. package/dist/{chunk-GTV2ABO7.mjs → chunk-ULMXZYOA.mjs} +162 -33
  94. package/dist/{chunk-4DRINDGN.cjs → chunk-VO65MYJD.cjs} +254 -125
  95. package/dist/chunk-W44X6IC2.cjs +97 -0
  96. package/dist/{chunk-UHE5JUKB.mjs → chunk-XCAQTCGK.mjs} +1 -1
  97. package/dist/{chunk-DGOFR7D5.cjs → chunk-Y6KHPJDB.cjs} +2 -2
  98. package/dist/{chunk-DXZ57EPE.mjs → chunk-YOHHL2UE.mjs} +14 -0
  99. package/dist/{chunk-KWFNUODD.mjs → chunk-YVPX5PI5.mjs} +1 -0
  100. package/dist/{chunk-HRPTMX5C.mjs → chunk-ZR2QB45W.mjs} +7 -3
  101. package/dist/{chunk-JVM3DKZE.mjs → chunk-ZYCEEE3V.mjs} +1 -1
  102. package/dist/{chunk-5FE5YT2N.mjs → chunk-ZZGQD3LL.mjs} +28 -1
  103. package/dist/{client-component.d-DWRKyAp5.d.ts → client-component.d-CfJxuXZl.d.ts} +2 -2
  104. package/dist/{client-component.d-CDRvRmbU.d.mts → client-component.d-CnEeVvGG.d.mts} +2 -2
  105. package/dist/{client-plugins.d-CrKZiNSN.d.ts → client-plugins.d-D7dHV1Nf.d.ts} +37 -236
  106. package/dist/{client-plugins.d-BNILjfX3.d.mts → client-plugins.d-Do5ULA0x.d.mts} +37 -236
  107. package/dist/client-plugins.d.mts +5 -3
  108. package/dist/client-plugins.d.ts +5 -3
  109. package/dist/client.cjs +6 -6
  110. package/dist/client.d.mts +10 -8
  111. package/dist/client.d.ts +10 -8
  112. package/dist/client.mjs +5 -5
  113. package/dist/config.d.mts +5 -3
  114. package/dist/config.d.ts +5 -3
  115. package/dist/deployment.cjs +4 -2
  116. package/dist/deployment.d.mts +15 -1
  117. package/dist/deployment.d.ts +15 -1
  118. package/dist/deployment.mjs +3 -1
  119. package/dist/desktop.d.mts +6 -4
  120. package/dist/desktop.d.ts +6 -4
  121. package/dist/{devtools-RZVT4JVN.cjs → devtools-7HNDS4SY.cjs} +7 -7
  122. package/dist/{devtools-UFQYT3VA.mjs → devtools-BP4EBTKQ.mjs} +6 -6
  123. package/dist/docs.cjs +11 -9
  124. package/dist/docs.d.mts +19 -5
  125. package/dist/docs.d.ts +19 -5
  126. package/dist/docs.mjs +11 -9
  127. package/dist/environment/vite.cjs +5 -5
  128. package/dist/environment/vite.d.mts +1 -1
  129. package/dist/environment/vite.d.ts +1 -1
  130. package/dist/environment/vite.mjs +4 -4
  131. package/dist/{generate-route-types.d-BL2pq6xC.d.ts → generate-route-types.d-B76M5R11.d.ts} +1 -1
  132. package/dist/{generate-route-types.d-BoVDU8qX.d.mts → generate-route-types.d-CaGMIaNI.d.mts} +1 -1
  133. package/dist/image/server.cjs +2 -2
  134. package/dist/image/server.mjs +1 -1
  135. package/dist/image/sharp.cjs +9 -9
  136. package/dist/image/sharp.mjs +1 -1
  137. package/dist/index.cjs +45 -39
  138. package/dist/{index.d-Bdm6866n.d.mts → index.d-B1MpEJAo.d.mts} +1 -1
  139. package/dist/{index.d-Dey5T14f.d.ts → index.d-CVFk37uX.d.ts} +1 -1
  140. package/dist/index.d.mts +26 -23
  141. package/dist/index.d.ts +26 -23
  142. package/dist/index.mjs +48 -42
  143. package/dist/instrumentation.cjs +3 -3
  144. package/dist/instrumentation.mjs +2 -2
  145. package/dist/integrations/orm.d.mts +5 -3
  146. package/dist/integrations/orm.d.ts +5 -3
  147. package/dist/integrations.d.mts +5 -3
  148. package/dist/integrations.d.ts +5 -3
  149. package/dist/internal/app-markdown-runtime.cjs +2 -2
  150. package/dist/internal/app-markdown-runtime.d.mts +12 -5
  151. package/dist/internal/app-markdown-runtime.d.ts +12 -5
  152. package/dist/internal/app-markdown-runtime.mjs +1 -1
  153. package/dist/internal/build-runtime.cjs +34 -32
  154. package/dist/internal/build-runtime.d.mts +7 -5
  155. package/dist/internal/build-runtime.d.ts +7 -5
  156. package/dist/internal/build-runtime.mjs +33 -31
  157. package/dist/internal/cli-runtime.cjs +10 -10
  158. package/dist/internal/cli-runtime.mjs +9 -9
  159. package/dist/internal/client-error-overlay.cjs +4 -4
  160. package/dist/internal/client-error-overlay.mjs +1 -1
  161. package/dist/internal/client-runtime.cjs +31 -36
  162. package/dist/internal/client-runtime.d.mts +9 -7
  163. package/dist/internal/client-runtime.d.ts +9 -7
  164. package/dist/internal/client-runtime.mjs +22 -27
  165. package/dist/internal/compression-runtime.d.mts +5 -3
  166. package/dist/internal/compression-runtime.d.ts +5 -3
  167. package/dist/internal/config-runtime.cjs +8 -8
  168. package/dist/internal/config-runtime.d.mts +9 -7
  169. package/dist/internal/config-runtime.d.ts +9 -7
  170. package/dist/internal/config-runtime.mjs +7 -7
  171. package/dist/internal/form-actions.cjs +7 -2
  172. package/dist/internal/form-actions.d.mts +10 -3
  173. package/dist/internal/form-actions.d.ts +10 -3
  174. package/dist/internal/form-actions.mjs +8 -3
  175. package/dist/internal/infra-analytics-runtime.cjs +6 -6
  176. package/dist/internal/infra-analytics-runtime.mjs +4 -4
  177. package/dist/internal/islands-boot.cjs +6 -1
  178. package/dist/internal/islands-boot.mjs +6 -1
  179. package/dist/internal/native-server-fns.cjs +4 -4
  180. package/dist/internal/native-server-fns.mjs +3 -3
  181. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  182. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  183. package/dist/internal/production-node-env.cjs +4 -2
  184. package/dist/internal/production-node-env.d.mts +22 -1
  185. package/dist/internal/production-node-env.d.ts +22 -1
  186. package/dist/internal/production-node-env.mjs +3 -1
  187. package/dist/internal/production-runtime.cjs +17 -9
  188. package/dist/internal/production-runtime.d.mts +31 -19
  189. package/dist/internal/production-runtime.d.ts +31 -19
  190. package/dist/internal/production-runtime.mjs +18 -10
  191. package/dist/internal/server-tree.cjs +2 -2
  192. package/dist/internal/server-tree.d.mts +0 -5
  193. package/dist/internal/server-tree.d.ts +0 -5
  194. package/dist/internal/server-tree.mjs +1 -1
  195. package/dist/internal/vercel-edge-middleware.cjs +87 -0
  196. package/dist/internal/vercel-edge-middleware.d.mts +39 -0
  197. package/dist/internal/vercel-edge-middleware.d.ts +39 -0
  198. package/dist/internal/vercel-edge-middleware.mjs +87 -0
  199. package/dist/layers-7P4RLKVX.cjs +20 -0
  200. package/dist/{layers-T55SA47E.mjs → layers-XQ7VFMWO.mjs} +4 -2
  201. package/dist/{layers.d-CcS42OGR.d.mts → layers.d-CH0bC4QL.d.mts} +2 -1
  202. package/dist/{layers.d-CcS42OGR.d.ts → layers.d-CH0bC4QL.d.ts} +2 -1
  203. package/dist/markdown.d.mts +5 -3
  204. package/dist/markdown.d.ts +5 -3
  205. package/dist/middleware.cjs +4 -4
  206. package/dist/middleware.d.mts +8 -5
  207. package/dist/middleware.d.ts +8 -5
  208. package/dist/middleware.mjs +6 -6
  209. package/dist/mobile.d.mts +4 -4
  210. package/dist/mobile.d.ts +4 -4
  211. package/dist/{mount.d-BP0nLYQO.d.mts → mount.d-CBqr-LfI.d.mts} +1 -1
  212. package/dist/{mount.d-CkiPky_F.d.ts → mount.d-CGzN61Kq.d.ts} +1 -1
  213. package/dist/{navigation-delegate.d-CdBP-hkZ.d.mts → navigation-delegate.d-BwCOhpj7.d.mts} +1 -1
  214. package/dist/{navigation-delegate.d-DchcGzAQ.d.ts → navigation-delegate.d-CLH2dXjy.d.ts} +1 -1
  215. package/dist/navigation.cjs +5 -5
  216. package/dist/navigation.d.mts +8 -6
  217. package/dist/navigation.d.ts +8 -6
  218. package/dist/navigation.mjs +4 -4
  219. package/dist/{nitro-55YOZWRA.mjs → nitro-NSTXT7LB.mjs} +2 -2
  220. package/dist/{nitro-EEX2J3KB.cjs → nitro-Y3LGITW3.cjs} +4 -4
  221. package/dist/node-module-bundle-LIZ2KMVW.cjs +13 -0
  222. package/dist/node-module-bundle-VR6NV6AI.mjs +13 -0
  223. package/dist/{plugin-WIU4GDD4.cjs → plugin-F2O4BFTK.cjs} +2 -2
  224. package/dist/{plugin-SAS22JL7.mjs → plugin-VEBRN7A3.mjs} +1 -1
  225. package/dist/plugin.cjs +23 -23
  226. package/dist/plugin.d.mts +7 -5
  227. package/dist/plugin.d.ts +7 -5
  228. package/dist/plugin.mjs +22 -22
  229. package/dist/{production-runtime.d-Dou_Htas.d.ts → production-runtime.d-BMyyLGBB.d.ts} +3 -57
  230. package/dist/{production-runtime.d-VwsBzIee.d.mts → production-runtime.d-DMZY3OgV.d.mts} +3 -57
  231. package/dist/query/client.cjs +6 -6
  232. package/dist/query/client.mjs +2 -2
  233. package/dist/{render-plan.d-LKymStDJ.d.mts → render-plan.d-CzGDjcT0.d.mts} +1 -1
  234. package/dist/{render-plan.d-D8UakAIk.d.ts → render-plan.d-W6LmjD6y.d.ts} +1 -1
  235. package/dist/renderer/react/server.cjs +2 -2
  236. package/dist/renderer/react/server.mjs +1 -1
  237. package/dist/renderer-client.cjs +5 -5
  238. package/dist/renderer-client.d.mts +8 -6
  239. package/dist/renderer-client.d.ts +8 -6
  240. package/dist/renderer-client.mjs +2 -2
  241. package/dist/renderer.d.mts +5 -0
  242. package/dist/renderer.d.ts +5 -0
  243. package/dist/{request.d-B928QjWy.d.ts → request.d-CTVRZiQv.d.ts} +1 -1
  244. package/dist/{request.d-KG-4d2eG.d.mts → request.d-CgNVderU.d.mts} +1 -1
  245. package/dist/request.d.mts +6 -4
  246. package/dist/request.d.ts +6 -4
  247. package/dist/{route-rendering.d-NIHQeb4m.d.mts → route-rendering.d-D0bmZVJA.d.mts} +1 -1
  248. package/dist/{route-rendering.d-DoEe_w9t.d.ts → route-rendering.d-FDSNtCMg.d.ts} +1 -1
  249. package/dist/{router.d-DYnRHQwz.d.ts → router.d-DZ3ldniI.d.ts} +1 -1
  250. package/dist/{router.d-B8PkJSGp.d.mts → router.d-GRKm_uAV.d.mts} +1 -1
  251. package/dist/{routes.d-uUBZyWoK.d.ts → routes.d-9GFFNioh.d.ts} +1 -1
  252. package/dist/{routes.d-DgZ_jgGG.d.mts → routes.d-CrEy0lJS.d.mts} +1 -1
  253. package/dist/routes.d.mts +5 -3
  254. package/dist/routes.d.ts +5 -3
  255. package/dist/{rsc-pipeline-7K5H2RPH.cjs → rsc-pipeline-J4KKBSCH.cjs} +10 -10
  256. package/dist/{rsc-pipeline-4OJ5ZQNZ.mjs → rsc-pipeline-PJZOVYSY.mjs} +9 -9
  257. package/dist/{runtime-X52Q7JFR.cjs → runtime-OLEO5NXF.cjs} +20 -20
  258. package/dist/{runtime-U7O3HZOZ.mjs → runtime-QDBSE4H6.mjs} +12 -12
  259. package/dist/{runtime.d-BxQIzwfy.d.mts → runtime.d-DqXihlxm.d.mts} +1 -1
  260. package/dist/{runtime.d-DP7mEkEF.d.ts → runtime.d-pqFQBU2N.d.ts} +1 -1
  261. package/dist/server-http.d-rAe7lAQc.d.mts +70 -0
  262. package/dist/server-http.d-rAe7lAQc.d.ts +70 -0
  263. package/dist/server-plugins.d.mts +6 -4
  264. package/dist/server-plugins.d.ts +6 -4
  265. package/dist/server.cjs +52 -50
  266. package/dist/server.d-C5FFrZAo.d.ts +57 -0
  267. package/dist/server.d-DgC8xew5.d.mts +57 -0
  268. package/dist/server.d.mts +13 -11
  269. package/dist/server.d.ts +13 -11
  270. package/dist/server.mjs +31 -29
  271. package/dist/{spa-router.d-DsFDHTsv.d.ts → spa-router.d-DhOhaQ-7.d.ts} +2 -2
  272. package/dist/{spa-router.d-BgHPVMhz.d.mts → spa-router.d-Dhvy60p4.d.mts} +2 -2
  273. package/dist/testing.d.mts +5 -3
  274. package/dist/testing.d.ts +5 -3
  275. package/dist/types.d-xCIhyjOq.d.mts +233 -0
  276. package/dist/types.d-xCIhyjOq.d.ts +233 -0
  277. package/dist/{utils.d-zxAVcf_V.d.ts → utils.d-BVCMRRau.d.ts} +1 -1
  278. package/dist/{utils.d-BKyKDBR1.d.mts → utils.d-Q8EHCpkF.d.mts} +1 -1
  279. package/dist/version.cjs +2 -2
  280. package/dist/version.mjs +1 -1
  281. package/dist/vite.cjs +23 -23
  282. package/dist/vite.d.mts +10 -8
  283. package/dist/vite.d.ts +10 -8
  284. package/dist/vite.mjs +22 -22
  285. package/dist/workflows.cjs +2 -2
  286. package/dist/workflows.d.mts +121 -1
  287. package/dist/workflows.d.ts +121 -1
  288. package/dist/workflows.mjs +1 -1
  289. package/package.json +7 -2
  290. package/dist/analyzer-KVZGVY5Q.cjs +0 -16
  291. package/dist/chunk-CLFEQGET.cjs +0 -60
  292. package/dist/chunk-MK5E44WP.mjs +0 -60
  293. package/dist/layers-DMRXRL7F.cjs +0 -18
  294. package/dist/node-module-bundle-7JHPPF6B.mjs +0 -11
  295. package/dist/node-module-bundle-YJGYBOGK.cjs +0 -11
  296. package/dist/workflows.d-CRMzQZ3k.d.mts +0 -188
  297. package/dist/workflows.d-CRMzQZ3k.d.ts +0 -188
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunkJ7JHVCWAcjs = require('./chunk-J7JHVCWA.cjs');
3
+ var _chunkUKZ6AWKZcjs = require('./chunk-UKZ6AWKZ.cjs');
4
4
 
5
5
 
6
6
 
@@ -54,7 +54,7 @@ function _applyFarmMobileShellClient(request, response, client, onPrivate) {
54
54
  return _chunkA25FXJ7Dcjs._withFarmResponseHeaders.call(void 0, response, (headers2) => appendVary(headers2, FARM_SHELL_HEADER));
55
55
  }
56
56
  _optionalChain([onPrivate, 'optionalCall', _8 => _8()]);
57
- const headers = new Headers(_chunkJ7JHVCWAcjs._withFarmGuardedResponseCache.call(void 0, response).headers);
57
+ const headers = new Headers(_chunkUKZ6AWKZcjs._withFarmGuardedResponseCache.call(void 0, response).headers);
58
58
  appendVary(headers, FARM_SHELL_HEADER);
59
59
  headers.delete("content-length");
60
60
  headers.delete("etag");
@@ -2,7 +2,7 @@ import {
2
2
  bundleNodeModule,
3
3
  isDeclarationFile,
4
4
  resolvePackageWithoutTsconfig
5
- } from "./chunk-VFXE6NWR.mjs";
5
+ } from "./chunk-MGKWYPE3.mjs";
6
6
 
7
7
  // src/layers.ts
8
8
  import { existsSync, readFileSync, realpathSync, statSync } from "fs";
@@ -417,5 +417,6 @@ export {
417
417
  getFarmAppDirectories,
418
418
  getFarmLayerAliases,
419
419
  createFarmConfigResolutionPlugin,
420
- loadFarmConfigFile
420
+ loadFarmConfigFile,
421
+ findFarmConfigFile
421
422
  };
@@ -2,13 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkHNVAZGQDcjs = require('./chunk-HNVAZGQD.cjs');
5
+
6
+
7
+ var _chunkFJMC24KGcjs = require('./chunk-FJMC24KG.cjs');
6
8
 
7
9
 
8
10
  var _chunkXVSBALOYcjs = require('./chunk-XVSBALOY.cjs');
9
11
 
10
12
 
11
- var _chunk556H7JCEcjs = require('./chunk-556H7JCE.cjs');
13
+ var _chunk6GQJVY4Ecjs = require('./chunk-6GQJVY4E.cjs');
12
14
 
13
15
 
14
16
 
@@ -16,7 +18,8 @@ var _chunk65Y5SIBHcjs = require('./chunk-65Y5SIBH.cjs');
16
18
 
17
19
 
18
20
 
19
- var _chunkJSOCDYERcjs = require('./chunk-JSOCDYER.cjs');
21
+
22
+ var _chunkQ4HH5Q6Acjs = require('./chunk-Q4HH5Q6A.cjs');
20
23
 
21
24
 
22
25
  var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
@@ -34,6 +37,7 @@ var FARM_RSC_CONFIG_KEYS = [
34
37
  "srcDir",
35
38
  "extends",
36
39
  "basePath",
40
+ "trailingSlash",
37
41
  "api",
38
42
  "server",
39
43
  "middleware",
@@ -56,7 +60,7 @@ function pickImportTarget(entry) {
56
60
  return void 0;
57
61
  }
58
62
  async function importFromApp(root, packageName, subpath = ".") {
59
- const packageDir = _chunkHNVAZGQDcjs.findFarmAppPackageDir.call(void 0, root, packageName);
63
+ const packageDir = _chunkFJMC24KGcjs.findFarmAppPackageDir.call(void 0, root, packageName);
60
64
  if (!packageDir) return void 0;
61
65
  const manifest = JSON.parse(_fs.readFileSync.call(void 0, _path2.default.join(packageDir, "package.json"), "utf8"));
62
66
  const exportsMap = manifest.exports;
@@ -83,33 +87,47 @@ async function createFarmRscViteConfig(userConfig, options) {
83
87
  importFromApp(root, "@vitejs/plugin-rsc"),
84
88
  importFromApp(root, "@vitejs/plugin-react")
85
89
  ]);
86
- if (!pluginRsc || !viteRsc || !_chunkHNVAZGQDcjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
90
+ if (!pluginRsc || !viteRsc || !_chunkFJMC24KGcjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
87
91
  throw new Error(
88
- `[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkHNVAZGQDcjs.FARM_RSC_INSTALL_HINT}`
92
+ `[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkFJMC24KGcjs.FARM_RSC_INSTALL_HINT}`
89
93
  );
90
94
  }
91
- const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(userConfig.vite, () => ( {}));
92
- const rscConfig = {};
93
- for (const key of FARM_RSC_CONFIG_KEYS) {
94
- if (userConfig[key] !== void 0) rscConfig[key] = userConfig[key];
95
- }
96
- const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _2 => _2.default]), async () => ( (options.command === "serve" ? (await _chunk65Y5SIBHcjs.loadFarmReactPlugin.call(void 0, )).default : void 0)));
97
- const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await _chunkJSOCDYERcjs.loadTailwindVitePlugin.call(void 0, );
98
- const platform = _chunkAQLHD6HZcjs.resolveFarmPlatform.call(void 0, );
99
- const mobileClient = userConfig.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
100
- const layered = await _chunkHNVAZGQDcjs.resolveFarmRscCheckConfig.call(void 0,
95
+ const layered = await _chunkFJMC24KGcjs.resolveFarmRscCheckConfig.call(void 0,
101
96
  userConfig,
102
97
  root,
103
98
  options.command === "build" ? "production" : "development"
104
99
  );
105
- const clientPluginEntry = _chunkJSOCDYERcjs.generateFarmClientPluginEntryCode.call(void 0,
106
- _optionalChain([layered, 'optionalAccess', _3 => _3.plugins]),
100
+ const config = await configureFarmRscPlugins(
101
+ {
102
+ ...userConfig,
103
+ vite: typeof userConfig.vite === "function" ? userConfig.vite({}) : userConfig.vite,
104
+ plugins: _nullishCoalesce(_optionalChain([layered, 'optionalAccess', _2 => _2.plugins]), () => ( [])),
105
+ publicRuntimeConfig: _nullishCoalesce(_optionalChain([layered, 'optionalAccess', _3 => _3.publicRuntimeConfig]), () => ( {}))
106
+ },
107
+ options.command
108
+ );
109
+ const blockingKeys = _chunkFJMC24KGcjs.inspectFarmServerComponents.call(void 0, config, root).blockingKeys;
110
+ if (blockingKeys.length > 0) {
111
+ throw new Error(`[Farm.js] ${_chunkFJMC24KGcjs.formatFarmRscBlockingMessage.call(void 0, blockingKeys)}`);
112
+ }
113
+ const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(config.vite, () => ( {}));
114
+ const rscConfig = {};
115
+ for (const key of FARM_RSC_CONFIG_KEYS) {
116
+ if (config[key] !== void 0) rscConfig[key] = config[key];
117
+ }
118
+ const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _4 => _4.default]), async () => ( (options.command === "serve" ? (await _chunk65Y5SIBHcjs.loadFarmReactPlugin.call(void 0, )).default : void 0)));
119
+ const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await _chunkQ4HH5Q6Acjs.loadTailwindVitePlugin.call(void 0, );
120
+ const platform = _chunkAQLHD6HZcjs.resolveFarmPlatform.call(void 0, );
121
+ const mobileClient = config.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
122
+ const clientPluginEntry = _chunkQ4HH5Q6Acjs.generateFarmClientPluginEntryCode.call(void 0,
123
+ config.plugins,
107
124
  root,
108
- typeof userConfig.srcDir === "string" ? userConfig.srcDir : "src",
109
- _nullishCoalesce(_optionalChain([layered, 'optionalAccess', _4 => _4.publicRuntimeConfig]), () => ( {})),
125
+ typeof config.srcDir === "string" ? config.srcDir : "src",
126
+ _nullishCoalesce(config.publicRuntimeConfig, () => ( {})),
110
127
  // The RSC entry hands navigations to a mobile shell itself.
111
128
  "web"
112
129
  );
130
+ const serverPlugins = options.command === "build" ? await resolveFarmRscServerPlugins(userConfig, config, root) : void 0;
113
131
  const farmConfig = pluginRsc.defineConfig({
114
132
  ...rscConfig,
115
133
  ...mobileClient ? { mobileClient } : {},
@@ -118,12 +136,16 @@ async function createFarmRscViteConfig(userConfig, options) {
118
136
  imports: clientPluginEntry.imports,
119
137
  registrations: clientPluginEntry.registrations
120
138
  },
121
- experimental: { ...userConfig.experimental, serverComponents: { mode: "rsc" } },
122
- port: _nullishCoalesce(options.port, () => ( _optionalChain([userConfig, 'access', _5 => _5.server, 'optionalAccess', _6 => _6.port]))),
139
+ // Plugins with server hooks load in the production server, as in Farm's other servers, so
140
+ // factories such as `bot()` run there. Dev loaded them with the config already.
141
+ ...serverPlugins ? { serverPlugins } : {},
142
+ ...options.preset ? { preset: options.preset } : {},
143
+ experimental: { ...config.experimental, serverComponents: { mode: "rsc" } },
144
+ port: _nullishCoalesce(options.port, () => ( _optionalChain([config, 'access', _5 => _5.server, 'optionalAccess', _6 => _6.port]))),
123
145
  plugins: [
124
146
  ...options.command === "serve" && platform === "desktop" ? [
125
147
  _chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0,
126
- typeof userConfig.basePath === "string" ? userConfig.basePath : void 0
148
+ typeof config.basePath === "string" ? config.basePath : void 0
127
149
  )
128
150
  ] : [],
129
151
  ...tailwind ? [tailwind] : [],
@@ -134,13 +156,13 @@ async function createFarmRscViteConfig(userConfig, options) {
134
156
  server: { environmentName: "rsc" },
135
157
  config: {
136
158
  preset: options.preset,
137
- outputDir: options.outputDir && _chunk556H7JCEcjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
159
+ outputDir: options.outputDir && _chunk6GQJVY4Ecjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
138
160
  }
139
161
  })
140
162
  ]
141
163
  });
142
164
  for (const key of FARM_RSC_PASSTHROUGH_KEYS) {
143
- if (userConfig[key] !== void 0) farmConfig[key] = userConfig[key];
165
+ if (config[key] !== void 0) farmConfig[key] = config[key];
144
166
  }
145
167
  const { mergeConfig } = await import("vite");
146
168
  return {
@@ -151,6 +173,52 @@ async function createFarmRscViteConfig(userConfig, options) {
151
173
  mode: options.command === "build" ? "production" : "development"
152
174
  };
153
175
  }
176
+ async function resolveFarmRscServerPlugins(userConfig, config, root) {
177
+ const kept = _nullishCoalesce(config.plugins, () => ( []));
178
+ const names = new Set(
179
+ kept.filter((plugin) => _chunkQ4HH5Q6Acjs.hasFarmServerRuntimePlugins.call(void 0, [plugin])).map((plugin) => plugin.name)
180
+ );
181
+ if (names.size === 0) return void 0;
182
+ const loads = (plugin) => {
183
+ const candidate = plugin;
184
+ return !!candidate && names.has(candidate.name) && _chunkQ4HH5Q6Acjs.hasFarmServerRuntimePlugins.call(void 0, [candidate]);
185
+ };
186
+ const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-7P4RLKVX.cjs");
187
+ const files = [];
188
+ if (userConfig.extends) {
189
+ const { layers } = await resolveFarmLayers(userConfig, { root, mode: "production" });
190
+ for (const layer of layers) {
191
+ if (!layer.configFile) continue;
192
+ const layerConfig = await loadFarmConfigFile(layer.configFile, {
193
+ root: layer.root,
194
+ cacheRoot: root
195
+ });
196
+ files.push([layer.configFile, layerConfig.plugins]);
197
+ }
198
+ }
199
+ const configFile = findFarmConfigFile(root);
200
+ if (configFile) files.push([configFile, userConfig.plugins]);
201
+ const selections = {};
202
+ for (const [file, plugins] of files) {
203
+ const entries = Array.isArray(plugins) ? plugins : [plugins];
204
+ const indexes = entries.flatMap(
205
+ (entry, index) => [entry].flat(Infinity).some(loads) ? [index] : []
206
+ );
207
+ if (indexes.length > 0) selections[_path2.default.resolve(file)] = { indexes, count: entries.length };
208
+ }
209
+ return Object.keys(selections).length > 0 ? selections : void 0;
210
+ }
211
+ async function configureFarmRscPlugins(config, command) {
212
+ if (config.plugins.length === 0) return config;
213
+ const { PluginManager } = await import("./plugin-F2O4BFTK.cjs");
214
+ const manager = new PluginManager({
215
+ config,
216
+ isDev: command === "serve",
217
+ isProd: command === "build"
218
+ });
219
+ manager.addPlugins(config.plugins);
220
+ return await manager.runHookSerial("config", config);
221
+ }
154
222
  async function createFarmRscDevServer(userConfig, options) {
155
223
  const { createServer } = await import("vite");
156
224
  const { host, ...configOptions } = options;
@@ -93,7 +93,7 @@ function formatFarmRscBlockingMessage(blockingKeys) {
93
93
  var warnedFallback = false;
94
94
  async function resolveFarmRscCheckConfig(config, root, mode) {
95
95
  if (!_optionalChain([config, 'optionalAccess', _8 => _8.extends])) return config;
96
- const { resolveFarmLayers } = await import("./layers-DMRXRL7F.cjs");
96
+ const { resolveFarmLayers } = await import("./layers-7P4RLKVX.cjs");
97
97
  return (await resolveFarmLayers(config, { root, mode })).config;
98
98
  }
99
99
  function farmAppUsesRscPipeline(config, root) {
@@ -127,7 +127,7 @@ function formatFarmRscIgnoredMessage(ignoredKeys) {
127
127
  }
128
128
  if (others.length < ignoredKeys.length) {
129
129
  clauses.push(
130
- "runs only the browser `client` hooks of `plugins` and ignores their other hooks."
130
+ "runs only the `configure` and browser `client` hooks of `plugins` and ignores their other hooks."
131
131
  );
132
132
  }
133
133
  return `experimental.serverComponents runs on the RSC pipeline, which ${clauses.join(" It also ")}`;
@@ -345,7 +345,7 @@ async function loadWorkflowModule(filePath, root) {
345
345
  outDir,
346
346
  `workflow-${Date.now()}-${Math.random().toString(36).slice(2)}.mjs`
347
347
  );
348
- const { bundleNodeModule } = await import("./node-module-bundle-YJGYBOGK.cjs");
348
+ const { bundleNodeModule } = await import("./node-module-bundle-LIZ2KMVW.cjs");
349
349
  await bundleNodeModule({
350
350
  root,
351
351
  entry: filePath,
@@ -244,12 +244,15 @@ function isFarmDocsSocialImageEnabled(page, docs) {
244
244
  }
245
245
  return !isFalse(page.frontmatter.socialImage);
246
246
  }
247
+ function farmDocsPageUsesRequestOrigin(page, docs) {
248
+ return isFarmDocsSocialImageEnabled(page, docs) && !_optionalChain([getSocialImageConfig, 'call', _7 => _7(docs), 'optionalAccess', _8 => _8.baseUrl]);
249
+ }
247
250
  function getFarmDocsCustomSocialImage(page) {
248
251
  const value = page.frontmatter.socialImage || page.frontmatter.openGraphImage || page.frontmatter.ogImage;
249
252
  return value && !isFalse(value) && isExternalOrRootPath(value) ? value : void 0;
250
253
  }
251
254
  function resolveIllustration(page) {
252
- const explicit = _optionalChain([page, 'access', _7 => _7.frontmatter, 'access', _8 => _8.socialIllustration, 'optionalAccess', _9 => _9.toLowerCase, 'call', _10 => _10()]);
255
+ const explicit = _optionalChain([page, 'access', _9 => _9.frontmatter, 'access', _10 => _10.socialIllustration, 'optionalAccess', _11 => _11.toLowerCase, 'call', _12 => _12()]);
253
256
  if (explicit === "auth" || explicit === "cache" || explicit === "cli" || explicit === "integrations" || explicit === "project" || explicit === "routing" || explicit === "runtime") {
254
257
  return explicit;
255
258
  }
@@ -272,14 +275,14 @@ function createHashValue(value) {
272
275
  return _crypto.createHash.call(void 0, "sha256").update(JSON.stringify(value)).digest("hex").slice(0, 16);
273
276
  }
274
277
  function resolveBaseUrl(requestUrl, config) {
275
- return _optionalChain([config, 'optionalAccess', _11 => _11.baseUrl]) ? new URL(config.baseUrl) : new URL(requestUrl.origin);
278
+ return _optionalChain([config, 'optionalAccess', _13 => _13.baseUrl]) ? new URL(config.baseUrl) : new URL(requestUrl.origin);
276
279
  }
277
280
  function createFarmDocsSocialImageDescriptor(page, docs, requestUrl, format = "svg", basePath = "") {
278
281
  const config = getSocialImageConfig(docs);
279
- const siteName = _optionalChain([config, 'optionalAccess', _12 => _12.siteName]) || getNavTitle(docs);
280
- const brand = _optionalChain([config, 'optionalAccess', _13 => _13.brand]) || siteName;
282
+ const siteName = _optionalChain([config, 'optionalAccess', _14 => _14.siteName]) || getNavTitle(docs);
283
+ const brand = _optionalChain([config, 'optionalAccess', _15 => _15.brand]) || siteName;
281
284
  const title = page.frontmatter.socialTitle || page.title;
282
- const description = page.frontmatter.socialDescription || page.description || _optionalChain([docs, 'access', _14 => _14.config, 'access', _15 => _15.metadata, 'optionalAccess', _16 => _16.description]) || `Documentation for ${siteName}`;
285
+ const description = page.frontmatter.socialDescription || page.description || _optionalChain([docs, 'access', _16 => _16.config, 'access', _17 => _17.metadata, 'optionalAccess', _18 => _18.description]) || `Documentation for ${siteName}`;
283
286
  const section = page.frontmatter.section || page.section || "Documentation";
284
287
  const illustration = resolveIllustration(page);
285
288
  const entry = normalizeEntry(docs.entry);
@@ -297,7 +300,7 @@ function createFarmDocsSocialImageDescriptor(page, docs, requestUrl, format = "s
297
300
  brand,
298
301
  pageHref: page.href,
299
302
  illustration,
300
- fonts: _optionalChain([config, 'optionalAccess', _17 => _17.fonts])
303
+ fonts: _optionalChain([config, 'optionalAccess', _19 => _19.fonts])
301
304
  });
302
305
  return {
303
306
  title,
@@ -311,7 +314,7 @@ function createFarmDocsSocialImageDescriptor(page, docs, requestUrl, format = "s
311
314
  imageUrl: new URL(`${_chunkD22BUQKWcjs.applyFarmBasePath.call(void 0, imagePath, basePath)}?v=${hash}`, baseUrl).href,
312
315
  imageAlt,
313
316
  illustration,
314
- fonts: _optionalChain([config, 'optionalAccess', _18 => _18.fonts]),
317
+ fonts: _optionalChain([config, 'optionalAccess', _20 => _20.fonts]),
315
318
  format,
316
319
  hash
317
320
  };
@@ -539,9 +542,9 @@ function renderFarmDocsSocialImageSvg(descriptor) {
539
542
  <desc id="${titleId}-description">${escapeXml(descriptor.description)}</desc>
540
543
  <metadata>${escapeXml(JSON.stringify({ generator: "Farm.js docs", page: descriptor.pageUrl, illustration: descriptor.illustration }))}</metadata>
541
544
  <style type="text/css">
542
- ${renderEmbeddedFont("Farm Sans", _optionalChain([descriptor, 'access', _19 => _19.fonts, 'optionalAccess', _20 => _20.sans]), "100 900")}
543
- ${renderEmbeddedFont("Farm Mono", _optionalChain([descriptor, 'access', _21 => _21.fonts, 'optionalAccess', _22 => _22.mono]), "100 900")}
544
- ${renderEmbeddedFont("Farm Pixel", _optionalChain([descriptor, 'access', _23 => _23.fonts, 'optionalAccess', _24 => _24.display]), "400 700")}
545
+ ${renderEmbeddedFont("Farm Sans", _optionalChain([descriptor, 'access', _21 => _21.fonts, 'optionalAccess', _22 => _22.sans]), "100 900")}
546
+ ${renderEmbeddedFont("Farm Mono", _optionalChain([descriptor, 'access', _23 => _23.fonts, 'optionalAccess', _24 => _24.mono]), "100 900")}
547
+ ${renderEmbeddedFont("Farm Pixel", _optionalChain([descriptor, 'access', _25 => _25.fonts, 'optionalAccess', _26 => _26.display]), "400 700")}
545
548
  .sans{font-family:"Farm Sans","Arial",sans-serif}.mono,.label,.code,.diagram-title,.micro{font-family:"Farm Mono","Menlo","DejaVu Sans Mono",monospace}.pixel{font-family:"Farm Pixel","Farm Mono",monospace}.label{fill:#8b8b8b;font-size:10px;font-weight:600;letter-spacing:1.2px}.code{fill:#8b8b8b;font-size:11px}.diagram-title{fill:#e7e7e7;font-size:11px;font-weight:650}.micro{fill:#777;font-size:8px;letter-spacing:.45px}.bright{fill:#f5f5f4}.ink{fill:#050505}.ink-muted{fill:#4c4c4c}
546
549
  </style>
547
550
  <defs>
@@ -585,7 +588,7 @@ function renderFarmDocsSocialImageSvg(descriptor) {
585
588
  }
586
589
  function renderFarmDocsSocialMetadata(descriptor, customImage) {
587
590
  const imageUrl = customImage ? new URL(customImage, descriptor.pageUrl).href : descriptor.imageUrl;
588
- const customExtension = _optionalChain([customImage, 'optionalAccess', _25 => _25.toLowerCase, 'call', _26 => _26(), 'access', _27 => _27.split, 'call', _28 => _28(/[?#]/, 1), 'access', _29 => _29[0]]);
591
+ const customExtension = _optionalChain([customImage, 'optionalAccess', _27 => _27.toLowerCase, 'call', _28 => _28(), 'access', _29 => _29.split, 'call', _30 => _30(/[?#]/, 1), 'access', _31 => _31[0]]);
589
592
  const imageType = !customExtension ? descriptor.format === "png" ? "image/png" : "image/svg+xml" : customExtension.endsWith(".webp") ? "image/webp" : customExtension.endsWith(".png") ? "image/png" : customExtension.match(/\.jpe?g$/) ? "image/jpeg" : "image/svg+xml";
590
593
  const tag = (property, content, name = false) => `<meta ${name ? "name" : "property"}="${property}" content="${escapeXml(content)}">`;
591
594
  return [
@@ -632,7 +635,7 @@ function normalizeSlug(value) {
632
635
  return trimSlashes(decodeDocsPath(value)).replace(/\.(mdx?|markdown)$/i, "");
633
636
  }
634
637
  function resolveFarmDocsFavicon(docs, options) {
635
- const configuredFavicon = _optionalChain([docs, 'optionalAccess', _30 => _30.config, 'access', _31 => _31.favicon]);
638
+ const configuredFavicon = _optionalChain([docs, 'optionalAccess', _32 => _32.config, 'access', _33 => _33.favicon]);
636
639
  if (typeof configuredFavicon === "string" && configuredFavicon.trim()) {
637
640
  return configuredFavicon.trim();
638
641
  }
@@ -646,7 +649,7 @@ function resolveFarmDocsFavicon(docs, options) {
646
649
  return FARM_DOCS_FALLBACK_FAVICON;
647
650
  }
648
651
  function renderFarmDocsFaviconLink(faviconHref) {
649
- const normalizedHref = _optionalChain([faviconHref, 'access', _32 => _32.split, 'call', _33 => _33(/[?#]/, 1), 'access', _34 => _34[0], 'optionalAccess', _35 => _35.toLowerCase, 'call', _36 => _36()]) || "";
652
+ const normalizedHref = _optionalChain([faviconHref, 'access', _34 => _34.split, 'call', _35 => _35(/[?#]/, 1), 'access', _36 => _36[0], 'optionalAccess', _37 => _37.toLowerCase, 'call', _38 => _38()]) || "";
650
653
  const type = normalizedHref.endsWith(".svg") || faviconHref.startsWith("data:image/svg+xml") ? "image/svg+xml" : normalizedHref.endsWith(".png") ? "image/png" : normalizedHref.endsWith(".ico") ? "image/x-icon" : void 0;
651
654
  const metadata = type === "image/svg+xml" ? ' sizes="any" type="image/svg+xml"' : type ? ` type="${type}"` : "";
652
655
  return `<link rel="icon" href="${escapeAttribute(faviconHref)}"${metadata}>`;
@@ -662,7 +665,7 @@ function renderFarmDocsBrandMark() {
662
665
  </svg>`;
663
666
  }
664
667
  function renderFarmDocsBrandTitle(navTitle) {
665
- const suffix = _optionalChain([navTitle, 'access', _37 => _37.match, 'call', _38 => _38(/\.js$/i), 'optionalAccess', _39 => _39[0]]);
668
+ const suffix = _optionalChain([navTitle, 'access', _39 => _39.match, 'call', _40 => _40(/\.js$/i), 'optionalAccess', _41 => _41[0]]);
666
669
  if (!suffix) {
667
670
  return `<span class="sidebar-brand-title">${escapeHtml(navTitle)}</span>`;
668
671
  }
@@ -694,7 +697,7 @@ function resolveExistingFileInside(root, target) {
694
697
  }
695
698
  }
696
699
  function isFarmDocsRequest(docs, request) {
697
- if (!_optionalChain([docs, 'optionalAccess', _40 => _40.enabled])) return false;
700
+ if (!_optionalChain([docs, 'optionalAccess', _42 => _42.enabled])) return false;
698
701
  if (request.method !== "GET" && request.method !== "HEAD") return false;
699
702
  const pathname = new URL(request.url).pathname;
700
703
  const entry = normalizeEntry2(docs.entry);
@@ -728,7 +731,7 @@ function getFarmDocsRoots(docs) {
728
731
  ];
729
732
  }
730
733
  function getFarmDocsRouteTypeEntries(docs) {
731
- if (!_optionalChain([docs, 'optionalAccess', _41 => _41.enabled])) return [];
734
+ if (!_optionalChain([docs, 'optionalAccess', _43 => _43.enabled])) return [];
732
735
  return getFarmDocsRoots(docs).flatMap((root) => {
733
736
  const entry = normalizeEntry2(root.entry);
734
737
  if (entry === "/") return ["/", "/[...docs]"];
@@ -736,7 +739,7 @@ function getFarmDocsRouteTypeEntries(docs) {
736
739
  });
737
740
  }
738
741
  function getFarmDocsDocumentNavigationMatchers(docs) {
739
- if (!_optionalChain([docs, 'optionalAccess', _42 => _42.enabled])) return [];
742
+ if (!_optionalChain([docs, 'optionalAccess', _44 => _44.enabled])) return [];
740
743
  return getFarmDocsRoots(docs).map((root) => {
741
744
  const entry = normalizeEntry2(root.entry);
742
745
  return entry === "/" ? "/(.*)" : `${entry}(.*)`;
@@ -817,7 +820,7 @@ function titleFromSlug(slug) {
817
820
  return lastSegment.split(/[-_]/).filter(Boolean).map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join(" ");
818
821
  }
819
822
  function titleFromMarkdown(body, fallback) {
820
- const heading = _optionalChain([body, 'access', _43 => _43.match, 'call', _44 => _44(/^#\s+(.+)$/m), 'optionalAccess', _45 => _45[1], 'optionalAccess', _46 => _46.trim, 'call', _47 => _47()]);
823
+ const heading = _optionalChain([body, 'access', _45 => _45.match, 'call', _46 => _46(/^#\s+(.+)$/m), 'optionalAccess', _47 => _47[1], 'optionalAccess', _48 => _48.trim, 'call', _49 => _49()]);
821
824
  return heading || fallback;
822
825
  }
823
826
  function createLastModifiedResolver(contentDir, sourcePath, frontmatter) {
@@ -922,6 +925,19 @@ function discoverFarmDocsPages(contentDir, docs) {
922
925
  visit(contentDir);
923
926
  return pages.sort((a, b) => a.href.localeCompare(b.href));
924
927
  }
928
+ function listFarmDocsBuiltInPrerenderPages(docs, options) {
929
+ const pages = [];
930
+ const originDependent = [];
931
+ for (const root of getFarmDocsRoots(docs)) {
932
+ const contentDir = resolveFarmDocsContentDir(root, options);
933
+ for (const page of discoverFarmDocsPages(contentDir, root)) {
934
+ const loaded = loadFarmDocsPage(contentDir, root, page.slug);
935
+ if (!loaded) continue;
936
+ (farmDocsPageUsesRequestOrigin(loaded, root) ? originDependent : pages).push(loaded.href);
937
+ }
938
+ }
939
+ return { pages: [...new Set(pages)], originDependent: [...new Set(originDependent)] };
940
+ }
925
941
  function toFarmDocsMarkdownPage(page, basePath = "") {
926
942
  const lastModified = page.lastModified || page.frontmatter.lastModified || page.frontmatter.lastmod;
927
943
  return {
@@ -980,10 +996,10 @@ function getDocsTitle(docs) {
980
996
  return typeof docs.config.nav === "object" && docs.config.nav && "title" in docs.config.nav ? String(docs.config.nav.title || "Documentation") : "Documentation";
981
997
  }
982
998
  function getDocsDescription(docs) {
983
- return _optionalChain([docs, 'access', _48 => _48.config, 'access', _49 => _49.metadata, 'optionalAccess', _50 => _50.description]);
999
+ return _optionalChain([docs, 'access', _50 => _50.config, 'access', _51 => _51.metadata, 'optionalAccess', _52 => _52.description]);
984
1000
  }
985
1001
  function getLoadedDocsPages(contentDir, docs, isPathGuarded) {
986
- return discoverFarmDocsPages(contentDir, docs).filter((page) => !_optionalChain([isPathGuarded, 'optionalCall', _51 => _51(page.href)])).map((page) => loadFarmDocsPage(contentDir, docs, page.slug)).filter((page) => Boolean(page));
1002
+ return discoverFarmDocsPages(contentDir, docs).filter((page) => !_optionalChain([isPathGuarded, 'optionalCall', _53 => _53(page.href)])).map((page) => loadFarmDocsPage(contentDir, docs, page.slug)).filter((page) => Boolean(page));
987
1003
  }
988
1004
  function toDocsLlmsPage(page) {
989
1005
  return toFarmDocsMarkdownPage(page);
@@ -1048,7 +1064,7 @@ function resolveReadingTimeDisplayConfig(docs) {
1048
1064
  }
1049
1065
  function countMarkdownWords(body, includeCode) {
1050
1066
  const readable = (includeCode ? body : body.replace(/```[\s\S]*?```/g, " ").replace(/`[^`]*`/g, " ")).replace(/!\[[^\]]*]\([^)]*\)/g, " ").replace(/\[([^\]]+)]\([^)]*\)/g, "$1").replace(/<[^>]+>/g, " ").replace(/[#>*_~`|:-]/g, " ");
1051
- return _nullishCoalesce(_optionalChain([readable, 'access', _52 => _52.match, 'call', _53 => _53(/[A-Za-z0-9]+(?:[-'][A-Za-z0-9]+)*/g), 'optionalAccess', _54 => _54.length]), () => ( 0));
1067
+ return _nullishCoalesce(_optionalChain([readable, 'access', _54 => _54.match, 'call', _55 => _55(/[A-Za-z0-9]+(?:[-'][A-Za-z0-9]+)*/g), 'optionalAccess', _56 => _56.length]), () => ( 0));
1052
1068
  }
1053
1069
  function renderReadingTimeMeta(page, docs) {
1054
1070
  const config = resolveReadingTimeDisplayConfig(docs);
@@ -1293,7 +1309,7 @@ function stripHtml(value) {
1293
1309
  }
1294
1310
  function getCodeFence(line) {
1295
1311
  const match = /^(?: {0,3})(`{3,}|~{3,})/.exec(line);
1296
- const value = _optionalChain([match, 'optionalAccess', _55 => _55[1]]);
1312
+ const value = _optionalChain([match, 'optionalAccess', _57 => _57[1]]);
1297
1313
  if (!value) return null;
1298
1314
  return { marker: value[0], length: value.length };
1299
1315
  }
@@ -1373,15 +1389,15 @@ function isCodePathLabel(label) {
1373
1389
  }
1374
1390
  function parseCodeInfo(info) {
1375
1391
  const source = (info || "").trim();
1376
- const language = _optionalChain([source, 'access', _56 => _56.match, 'call', _57 => _57(/^\S+/), 'optionalAccess', _58 => _58[0]]) || "text";
1377
- const explicitLabel = _optionalChain([source, 'access', _59 => _59.match, 'call', _60 => _60(/\b(?:title|filename|file|label|name)=["']([^"']+)["']/), 'optionalAccess', _61 => _61[1], 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1392
+ const language = _optionalChain([source, 'access', _58 => _58.match, 'call', _59 => _59(/^\S+/), 'optionalAccess', _60 => _60[0]]) || "text";
1393
+ const explicitLabel = _optionalChain([source, 'access', _61 => _61.match, 'call', _62 => _62(/\b(?:title|filename|file|label|name)=["']([^"']+)["']/), 'optionalAccess', _63 => _63[1], 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
1378
1394
  return { language, label: explicitLabel || language, hasExplicitLabel: Boolean(explicitLabel) };
1379
1395
  }
1380
1396
  function getStandaloneCodeLabel(line) {
1381
1397
  const trimmed = line.trim();
1382
1398
  const match = /^(?:\*\*([^*]+)\*\*|__([^_]+)__|`([^`]+)`)$/u.exec(trimmed);
1383
- const label = _optionalChain([match, 'optionalAccess', _64 => _64[1]]) || _optionalChain([match, 'optionalAccess', _65 => _65[2]]) || _optionalChain([match, 'optionalAccess', _66 => _66[3]]);
1384
- return _optionalChain([label, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]) || null;
1399
+ const label = _optionalChain([match, 'optionalAccess', _66 => _66[1]]) || _optionalChain([match, 'optionalAccess', _67 => _67[2]]) || _optionalChain([match, 'optionalAccess', _68 => _68[3]]);
1400
+ return _optionalChain([label, 'optionalAccess', _69 => _69.trim, 'call', _70 => _70()]) || null;
1385
1401
  }
1386
1402
  function hasCodeFenceTitle(info) {
1387
1403
  return /\b(?:title|filename|file|label|name)=["'][^"']+["']/.test(info);
@@ -1511,7 +1527,7 @@ function getThemeName(docs) {
1511
1527
  return theme && typeof theme === "object" && "name" in theme ? String(theme.name || "farm-docs") : "farm-docs";
1512
1528
  }
1513
1529
  function getThemeTocDepth(docs) {
1514
- const toc = _optionalChain([getThemeUI, 'call', _69 => _69(docs), 'access', _70 => _70.layout, 'optionalAccess', _71 => _71.toc]);
1530
+ const toc = _optionalChain([getThemeUI, 'call', _71 => _71(docs), 'access', _72 => _72.layout, 'optionalAccess', _73 => _73.toc]);
1515
1531
  return toc && typeof toc === "object" && typeof toc.depth === "number" ? toc.depth : 3;
1516
1532
  }
1517
1533
  var SIDEBAR_SECTION_ORDER = [
@@ -1649,7 +1665,7 @@ function renderSidebarLabel(docs, icon, label, className) {
1649
1665
  return `<span class="${className}">${renderSidebarIcon(docs, icon)}<span class="sidebar-label-text">${escapeHtml(label)}</span></span>`;
1650
1666
  }
1651
1667
  function getSidebarPageLabel(item, configured) {
1652
- if (_optionalChain([configured, 'optionalAccess', _72 => _72.label])) return configured.label;
1668
+ if (_optionalChain([configured, 'optionalAccess', _74 => _74.label])) return configured.label;
1653
1669
  if (item.slug === "") return "Why?";
1654
1670
  if (item.slug === "integrations") return "Overview";
1655
1671
  if (item.slug === "integrations/ui-registry") return "UI Registry";
@@ -1661,7 +1677,7 @@ function getSidebarPageLabel(item, configured) {
1661
1677
  }
1662
1678
  function renderSidebarLink(item, activeHref, docs, basePath, configured) {
1663
1679
  const active = item.href === activeHref;
1664
- return `<a class="fd-sidebar-link${active ? " fd-sidebar-link-active" : ""}" data-active="${active ? "true" : "false"}" href="${escapeAttribute(_chunkD22BUQKWcjs.applyFarmBasePath.call(void 0, item.href, basePath))}">${renderSidebarLabel(docs, _optionalChain([configured, 'optionalAccess', _73 => _73.icon]), getSidebarPageLabel(item, configured), "sidebar-link-label fd-sidebar-link-label")}</a>`;
1680
+ return `<a class="fd-sidebar-link${active ? " fd-sidebar-link-active" : ""}" data-active="${active ? "true" : "false"}" href="${escapeAttribute(_chunkD22BUQKWcjs.applyFarmBasePath.call(void 0, item.href, basePath))}">${renderSidebarLabel(docs, _optionalChain([configured, 'optionalAccess', _75 => _75.icon]), getSidebarPageLabel(item, configured), "sidebar-link-label fd-sidebar-link-label")}</a>`;
1665
1681
  }
1666
1682
  function collectConfiguredSidebarPages(items, maps, seen = /* @__PURE__ */ new Set()) {
1667
1683
  const ordered = [];
@@ -1872,8 +1888,8 @@ function renderFarmDocsFontPreloadHeader(fontAssets) {
1872
1888
  }
1873
1889
  function getFarmLayoutFontPreloads(layoutFonts) {
1874
1890
  const seen = /* @__PURE__ */ new Set();
1875
- return [_optionalChain([layoutFonts, 'optionalAccess', _74 => _74.body]), _optionalChain([layoutFonts, 'optionalAccess', _75 => _75.code])].flatMap(
1876
- (font) => (_optionalChain([font, 'optionalAccess', _76 => _76.preloads]) || []).filter(({ href }) => {
1891
+ return [_optionalChain([layoutFonts, 'optionalAccess', _76 => _76.body]), _optionalChain([layoutFonts, 'optionalAccess', _77 => _77.code])].flatMap(
1892
+ (font) => (_optionalChain([font, 'optionalAccess', _78 => _78.preloads]) || []).filter(({ href }) => {
1877
1893
  if (seen.has(href)) return false;
1878
1894
  seen.add(href);
1879
1895
  return true;
@@ -1885,7 +1901,7 @@ function renderFarmLayoutFontPreloadHeader(layoutFonts) {
1885
1901
  }
1886
1902
  function renderPixelDocsHtml(page, pages, docs, clientEntry, faviconHref, requestUrl, fontAssets, basePath, fontStylesheetHref, globalStylesheetHref, socialImageFormat = "svg") {
1887
1903
  const navTitle = typeof docs.config.nav === "object" && docs.config.nav && "title" in docs.config.nav ? String(docs.config.nav.title || "Docs") : "Docs";
1888
- const description = page.description || _optionalChain([docs, 'access', _77 => _77.config, 'access', _78 => _78.metadata, 'optionalAccess', _79 => _79.description]) || "";
1904
+ const description = page.description || _optionalChain([docs, 'access', _79 => _79.config, 'access', _80 => _80.metadata, 'optionalAccess', _81 => _81.description]) || "";
1889
1905
  const renderedMarkdown = renderMarkdownDocument(page.body, getThemeTocDepth(docs));
1890
1906
  const tocItems = renderedMarkdown.tocItems;
1891
1907
  const themeName = getThemeName(docs);
@@ -1961,7 +1977,7 @@ function createFarmDocsHandler(docs, options) {
1961
1977
  const fallbackFontPreloadHeader = renderFarmDocsFontPreloadHeader(fontAssets);
1962
1978
  const basePath = _chunkD22BUQKWcjs.normalizeFarmBasePath.call(void 0, options.basePath);
1963
1979
  return async function handleFarmDocsRequest(incomingRequest) {
1964
- if (!_optionalChain([docs, 'optionalAccess', _80 => _80.enabled]) || incomingRequest.method !== "GET" && incomingRequest.method !== "HEAD") {
1980
+ if (!_optionalChain([docs, 'optionalAccess', _82 => _82.enabled]) || incomingRequest.method !== "GET" && incomingRequest.method !== "HEAD") {
1965
1981
  return null;
1966
1982
  }
1967
1983
  await _chunkV3UOEWCBcjs.loadFarmDocsEngine.call(void 0, );
@@ -1976,7 +1992,7 @@ function createFarmDocsHandler(docs, options) {
1976
1992
  const socialImagePage = loadFarmDocsPage(contentDir, docs, socialImageTarget.slug);
1977
1993
  if (!socialImagePage || // The image sits outside the page's URL, where its guard does not reach, and
1978
1994
  // draws the page's title.
1979
- _optionalChain([options, 'access', _81 => _81.isPathGuarded, 'optionalCall', _82 => _82(socialImagePage.href)]) || !isFarmDocsSocialImageEnabled(socialImagePage, docs) || getFarmDocsCustomSocialImage(socialImagePage)) {
1995
+ _optionalChain([options, 'access', _83 => _83.isPathGuarded, 'optionalCall', _84 => _84(socialImagePage.href)]) || !isFarmDocsSocialImageEnabled(socialImagePage, docs) || getFarmDocsCustomSocialImage(socialImagePage)) {
1980
1996
  return null;
1981
1997
  }
1982
1998
  const descriptor = createFarmDocsSocialImageDescriptor(
@@ -2019,7 +2035,7 @@ function createFarmDocsHandler(docs, options) {
2019
2035
  const page = loadPage(contentDir, docs, request);
2020
2036
  if (!page) return null;
2021
2037
  const negotiatesAccept = !requestUrl.pathname.endsWith(".md");
2022
- if (!negotiatesAccept && _optionalChain([options, 'access', _83 => _83.isPathGuarded, 'optionalCall', _84 => _84(page.href)]) && !options.isPathGuarded(getFarmDocsMarkdownPath(page.href))) {
2038
+ if (!negotiatesAccept && _optionalChain([options, 'access', _85 => _85.isPathGuarded, 'optionalCall', _86 => _86(page.href)]) && !options.isPathGuarded(getFarmDocsMarkdownPath(page.href))) {
2023
2039
  return null;
2024
2040
  }
2025
2041
  if (shouldReturnMarkdown(request)) {
@@ -2045,8 +2061,8 @@ function createFarmDocsHandler(docs, options) {
2045
2061
  }
2046
2062
  const pathname = new URL(request.url).pathname;
2047
2063
  const socialImageFormat = isFarmDocsSocialImageEnabled(page, docs) && !getFarmDocsCustomSocialImage(page) ? await resolveFarmDocsSocialImageFormat() : "svg";
2048
- const layoutFonts = await _optionalChain([options, 'access', _85 => _85.resolveLayoutFonts, 'optionalCall', _86 => _86(pathname)]);
2049
- const usesLayoutFonts = Boolean(_optionalChain([layoutFonts, 'optionalAccess', _87 => _87.body]) || _optionalChain([layoutFonts, 'optionalAccess', _88 => _88.code]));
2064
+ const layoutFonts = await _optionalChain([options, 'access', _87 => _87.resolveLayoutFonts, 'optionalCall', _88 => _88(pathname)]);
2065
+ const usesLayoutFonts = Boolean(_optionalChain([layoutFonts, 'optionalAccess', _89 => _89.body]) || _optionalChain([layoutFonts, 'optionalAccess', _90 => _90.code]));
2050
2066
  const activeFontAssets = usesLayoutFonts ? [] : fontAssets;
2051
2067
  const fontPreloadHeader = usesLayoutFonts ? renderFarmLayoutFontPreloadHeader(layoutFonts) : fallbackFontPreloadHeader;
2052
2068
  return omitFarmDocsHeadBody(
@@ -2097,4 +2113,5 @@ function createFarmDocsHandler(docs, options) {
2097
2113
 
2098
2114
 
2099
2115
 
2100
- exports.FARM_DOCS_LAST_MODIFIED_MANIFEST = FARM_DOCS_LAST_MODIFIED_MANIFEST; exports.createFarmDocsLastModifiedManifest = createFarmDocsLastModifiedManifest; exports.isFarmDocsRequest = isFarmDocsRequest; exports.resolveFarmDocsContentDir = resolveFarmDocsContentDir; exports.getFarmDocsRoots = getFarmDocsRoots; exports.getFarmDocsRouteTypeEntries = getFarmDocsRouteTypeEntries; exports.getFarmDocsDocumentNavigationMatchers = getFarmDocsDocumentNavigationMatchers; exports.loadFarmDocsPage = loadFarmDocsPage; exports.getFarmDocsMarkdownPath = getFarmDocsMarkdownPath; exports.discoverFarmDocsPages = discoverFarmDocsPages; exports.toFarmDocsMarkdownPage = toFarmDocsMarkdownPage; exports.getFarmDocsSiteUrl = getFarmDocsSiteUrl; exports.getFarmDocsPublicEntry = getFarmDocsPublicEntry; exports.toFarmDocsPublicSitemapConfig = toFarmDocsPublicSitemapConfig; exports.buildFarmDocsSitemapManifest = buildFarmDocsSitemapManifest; exports.renderFarmDocsRobotsTxt = renderFarmDocsRobotsTxt; exports.createFarmDocsHandler = createFarmDocsHandler;
2116
+
2117
+ exports.FARM_DOCS_LAST_MODIFIED_MANIFEST = FARM_DOCS_LAST_MODIFIED_MANIFEST; exports.createFarmDocsLastModifiedManifest = createFarmDocsLastModifiedManifest; exports.isFarmDocsRequest = isFarmDocsRequest; exports.resolveFarmDocsContentDir = resolveFarmDocsContentDir; exports.getFarmDocsRoots = getFarmDocsRoots; exports.getFarmDocsRouteTypeEntries = getFarmDocsRouteTypeEntries; exports.getFarmDocsDocumentNavigationMatchers = getFarmDocsDocumentNavigationMatchers; exports.loadFarmDocsPage = loadFarmDocsPage; exports.getFarmDocsMarkdownPath = getFarmDocsMarkdownPath; exports.discoverFarmDocsPages = discoverFarmDocsPages; exports.listFarmDocsBuiltInPrerenderPages = listFarmDocsBuiltInPrerenderPages; exports.toFarmDocsMarkdownPage = toFarmDocsMarkdownPage; exports.getFarmDocsSiteUrl = getFarmDocsSiteUrl; exports.getFarmDocsPublicEntry = getFarmDocsPublicEntry; exports.toFarmDocsPublicSitemapConfig = toFarmDocsPublicSitemapConfig; exports.buildFarmDocsSitemapManifest = buildFarmDocsSitemapManifest; exports.renderFarmDocsRobotsTxt = renderFarmDocsRobotsTxt; exports.createFarmDocsHandler = createFarmDocsHandler;
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  getFarmAppDirectories,
27
27
  getFarmSourceRoots
28
- } from "./chunk-52Y3C3HG.mjs";
28
+ } from "./chunk-E7VF3LQ5.mjs";
29
29
  import {
30
30
  resolveSchemaModels
31
31
  } from "./chunk-F3N52U7S.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  createFarmDeploymentMismatchError,
30
30
  createFarmDeploymentRequestHeaders,
31
31
  isFarmDeploymentMismatchResponse
32
- } from "./chunk-F7JKVHU2.mjs";
32
+ } from "./chunk-NVOMQLI2.mjs";
33
33
  import {
34
34
  readDeferredDataResponse
35
35
  } from "./chunk-7BIW7VCW.mjs";