@farm.js/core 0.1.76 → 0.1.78

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 (444) hide show
  1. package/dist/after.cjs +1 -1
  2. package/dist/after.mjs +1 -1
  3. package/dist/{agent-mcp-handler-PJKZHYSA.mjs → agent-mcp-handler-EDJNU224.mjs} +1 -1
  4. package/dist/{agent-mcp-handler-73SGWVZT.cjs → agent-mcp-handler-LNBYLRTZ.cjs} +1 -1
  5. package/dist/{agent-mcp.d-Cftp2kFv.d.ts → agent-mcp.d-BErtnhV2.d.ts} +1 -1
  6. package/dist/{agent-mcp.d-D0FMmqi0.d.mts → agent-mcp.d-CYHfcjur.d.mts} +1 -1
  7. package/dist/agent-runtime.cjs +3 -3
  8. package/dist/agent-runtime.d.mts +2 -2
  9. package/dist/agent-runtime.d.ts +2 -2
  10. package/dist/agent-runtime.mjs +2 -2
  11. package/dist/analyzer-KVTUYGTT.cjs +16 -0
  12. package/dist/{analyzer-NLQKPN74.mjs → analyzer-M2BG6QYU.mjs} +3 -3
  13. package/dist/api/client.cjs +1 -1
  14. package/dist/api/client.mjs +1 -1
  15. package/dist/api/client.native.cjs +1 -1
  16. package/dist/api/client.native.mjs +1 -1
  17. package/dist/api/node.cjs +1 -1
  18. package/dist/api/node.d.mts +4 -4
  19. package/dist/api/node.d.ts +4 -4
  20. package/dist/api/node.mjs +1 -1
  21. package/dist/api/route-manager.cjs +5 -5
  22. package/dist/api/route-manager.d.mts +4 -4
  23. package/dist/api/route-manager.d.ts +4 -4
  24. package/dist/api/route-manager.mjs +4 -4
  25. package/dist/api/runtime.cjs +1 -1
  26. package/dist/api/runtime.d.mts +3 -3
  27. package/dist/api/runtime.d.ts +3 -3
  28. package/dist/api/runtime.mjs +1 -1
  29. package/dist/api.cjs +6 -6
  30. package/dist/api.d.mts +5 -5
  31. package/dist/api.d.ts +5 -5
  32. package/dist/api.mjs +5 -5
  33. package/dist/{app-manifest.d-cpOw_sV5.d.mts → app-manifest.d-6NCkLQ1y.d.mts} +1 -1
  34. package/dist/{app-manifest.d-7PmA_9hm.d.ts → app-manifest.d-DuqLBcmi.d.ts} +1 -1
  35. package/dist/app-markdown.cjs +1 -1
  36. package/dist/app-markdown.d.mts +3 -3
  37. package/dist/app-markdown.d.ts +3 -3
  38. package/dist/app-markdown.mjs +1 -1
  39. package/dist/{app.d-wOkxXre8.d.ts → app.d-Bz6vYBFF.d.ts} +4 -4
  40. package/dist/{app.d-DUZvwnFF.d.mts → app.d-Dk2HkvPh.d.mts} +4 -4
  41. package/dist/cache.cjs +1 -1
  42. package/dist/cache.mjs +1 -1
  43. package/dist/{chunk-DVW6SKHA.cjs → chunk-26CNCIFI.cjs} +2 -2
  44. package/dist/{chunk-CCQZDOQR.cjs → chunk-2G6JPLSL.cjs} +19 -19
  45. package/dist/{chunk-CL2ONP73.cjs → chunk-2PE5STAR.cjs} +36 -27
  46. package/dist/{chunk-E7VF3LQ5.mjs → chunk-4STJ6LGR.mjs} +13 -1
  47. package/dist/{chunk-HFJLMALC.cjs → chunk-5DREJN4G.cjs} +4 -4
  48. package/dist/{chunk-WILPJVQE.cjs → chunk-5KISFWD2.cjs} +4 -4
  49. package/dist/{chunk-5WFPZG7K.mjs → chunk-5REIO5DT.mjs} +4 -4
  50. package/dist/{chunk-SYPEMXW2.mjs → chunk-6MZSTPD2.mjs} +1 -1
  51. package/dist/{chunk-63EFR2WF.cjs → chunk-6XDDE7M6.cjs} +3 -3
  52. package/dist/{chunk-A2VFKOQL.mjs → chunk-7JTVN6IJ.mjs} +1 -1
  53. package/dist/{chunk-2GZZVIXY.mjs → chunk-7RQ5KAK6.mjs} +2 -2
  54. package/dist/{chunk-QVBXTSIZ.mjs → chunk-7V5M43ND.mjs} +1 -1
  55. package/dist/{chunk-SGQXJVFX.mjs → chunk-A37D6LOS.mjs} +1 -1
  56. package/dist/{chunk-7EOSFIPN.cjs → chunk-A4WWKG2B.cjs} +2 -2
  57. package/dist/{chunk-LQBV2Y37.mjs → chunk-A7EJATEW.mjs} +40 -4
  58. package/dist/{chunk-CKBBKRBO.mjs → chunk-AHGOHPRN.mjs} +14 -14
  59. package/dist/{chunk-JRBWBMP2.mjs → chunk-B3IRRANH.mjs} +1 -1
  60. package/dist/{chunk-7564NP5Z.cjs → chunk-BZJYPIFZ.cjs} +46 -10
  61. package/dist/{chunk-3OYFMOBY.mjs → chunk-CBP7AKZH.mjs} +1 -1
  62. package/dist/{chunk-QUEYL2WM.cjs → chunk-CKNZJFK5.cjs} +1 -1
  63. package/dist/{chunk-2WKGQCAV.cjs → chunk-DD2ANOEF.cjs} +265 -178
  64. package/dist/{chunk-XX6ZA2IO.cjs → chunk-DPBQRDWW.cjs} +1 -1
  65. package/dist/chunk-DS2KZ5BT.mjs +16 -0
  66. package/dist/{chunk-VDJ3CLBR.mjs → chunk-E7V2GYBP.mjs} +1 -1
  67. package/dist/{chunk-YHE7HH2I.mjs → chunk-EBFTAVGD.mjs} +134 -47
  68. package/dist/{chunk-UBXNTZCY.cjs → chunk-EVVV2XZ2.cjs} +115 -108
  69. package/dist/{chunk-PSNYVBWC.cjs → chunk-F7PKUP6P.cjs} +12 -12
  70. package/dist/{chunk-75XSZIRE.mjs → chunk-FD6BMUA3.mjs} +35 -26
  71. package/dist/{chunk-TMVVBK5S.cjs → chunk-FOULIN4S.cjs} +2 -2
  72. package/dist/{chunk-WJDMH3E7.cjs → chunk-H5OVJHXY.cjs} +4 -4
  73. package/dist/{chunk-DTNWLRRF.cjs → chunk-HVMQAVZK.cjs} +85 -85
  74. package/dist/{chunk-Q4X3MX4J.mjs → chunk-IGE5BAWK.mjs} +112 -105
  75. package/dist/{chunk-2JEXQAIR.cjs → chunk-IWGGRXD2.cjs} +2 -2
  76. package/dist/{chunk-SFSTZ7TB.cjs → chunk-K3ZELA6U.cjs} +2 -2
  77. package/dist/{chunk-DZ3AZ7UK.cjs → chunk-KZ5BOWJS.cjs} +9 -9
  78. package/dist/{chunk-GP5BWTO7.mjs → chunk-LIC6CMLB.mjs} +6 -6
  79. package/dist/{chunk-BYJPBJ4E.cjs → chunk-LJKTJNOF.cjs} +3 -3
  80. package/dist/{chunk-XLOORES5.cjs → chunk-LMXGCFAM.cjs} +1 -1
  81. package/dist/{chunk-QTDIOZV6.cjs → chunk-MBD34AS5.cjs} +2 -2
  82. package/dist/{chunk-BBRSPKFI.cjs → chunk-NB2ZEBIS.cjs} +196 -173
  83. package/dist/{chunk-PXXG5BID.cjs → chunk-NNGBTJCX.cjs} +3 -3
  84. package/dist/{chunk-QDHR54S6.cjs → chunk-OBVBII5K.cjs} +5 -5
  85. package/dist/{chunk-QP4GYVRR.cjs → chunk-ODYKCC6W.cjs} +8 -8
  86. package/dist/{chunk-3AJQFVWW.mjs → chunk-OGVOKAQU.mjs} +1 -1
  87. package/dist/{chunk-5EEQNZLU.mjs → chunk-PNWRH6TR.mjs} +2 -2
  88. package/dist/{chunk-3GMD2E4Q.mjs → chunk-QES76U42.mjs} +1 -1
  89. package/dist/{chunk-MTBDJ326.cjs → chunk-QMR2TUVZ.cjs} +13 -1
  90. package/dist/{chunk-JL6XHQZF.mjs → chunk-R77D7TCZ.mjs} +6 -6
  91. package/dist/{chunk-O225GNEU.mjs → chunk-RIMEFQYO.mjs} +44 -21
  92. package/dist/{chunk-MOS2N377.mjs → chunk-S6RUJRWI.mjs} +1 -1
  93. package/dist/chunk-TIZJYHB7.mjs +42 -0
  94. package/dist/chunk-UZM3PDKK.cjs +46 -0
  95. package/dist/{chunk-YQXJY7E7.mjs → chunk-VCW6BR6U.mjs} +1 -1
  96. package/dist/{chunk-E77ZKNPN.mjs → chunk-VO5XDZHK.mjs} +1 -1
  97. package/dist/{chunk-YONTMPZ6.mjs → chunk-VRI43FDN.mjs} +1 -1
  98. package/dist/{chunk-X3HUT4JU.mjs → chunk-VRJAMU34.mjs} +1 -1
  99. package/dist/{chunk-CF74ABRI.mjs → chunk-WJ4NUY2H.mjs} +2 -2
  100. package/dist/{chunk-Q7JMHO5U.mjs → chunk-X2SEYK7I.mjs} +2 -2
  101. package/dist/{chunk-WMJQNVKX.cjs → chunk-XGS76V7L.cjs} +2 -2
  102. package/dist/chunk-XRRHPBG2.cjs +16 -0
  103. package/dist/{chunk-3QM74STY.cjs → chunk-Y2FEFQAY.cjs} +3 -3
  104. package/dist/{chunk-HKGU2X4I.cjs → chunk-ZCYGYIC2.cjs} +2 -2
  105. package/dist/{chunk-OCLCA3X3.mjs → chunk-ZEWIWAS2.mjs} +1 -1
  106. package/dist/{cli-runtime.d-D84CwyPI.d.ts → cli-runtime.d-BG9q2_vC.d.ts} +8 -6
  107. package/dist/{cli-runtime.d-OQY2pgwK.d.mts → cli-runtime.d-CGMGs1Zz.d.mts} +8 -6
  108. package/dist/client/lifecycle.cjs +1 -1
  109. package/dist/client/lifecycle.mjs +1 -1
  110. package/dist/{client-component.d-Bf8jZqW7.d.ts → client-component.d-B84GPb_u.d.ts} +1 -1
  111. package/dist/{client-component.d-Bh6CfC5z.d.mts → client-component.d-CdsG1E7p.d.mts} +1 -1
  112. package/dist/client-plugins.cjs +1 -1
  113. package/dist/{client-plugins.d-r3K2oQ6w.d.mts → client-plugins.d-DX-iCJWE.d.mts} +1 -1
  114. package/dist/{client-plugins.d-DuujrC8d.d.ts → client-plugins.d-FptsHgls.d.ts} +1 -1
  115. package/dist/client-plugins.d.mts +2 -2
  116. package/dist/client-plugins.d.ts +2 -2
  117. package/dist/client-plugins.mjs +1 -1
  118. package/dist/client.cjs +1 -1
  119. package/dist/client.d.mts +7 -7
  120. package/dist/client.d.ts +7 -7
  121. package/dist/client.mjs +1 -1
  122. package/dist/config.cjs +1 -1
  123. package/dist/config.d.mts +2 -2
  124. package/dist/config.d.ts +2 -2
  125. package/dist/config.mjs +1 -1
  126. package/dist/cron.cjs +1 -1
  127. package/dist/cron.mjs +1 -1
  128. package/dist/deferred.cjs +1 -1
  129. package/dist/deferred.mjs +1 -1
  130. package/dist/deployment.cjs +1 -1
  131. package/dist/deployment.mjs +1 -1
  132. package/dist/desktop.cjs +1 -1
  133. package/dist/desktop.d.mts +3 -3
  134. package/dist/desktop.d.ts +3 -3
  135. package/dist/desktop.mjs +1 -1
  136. package/dist/{dev-guard-ZDIELV6Q.mjs → dev-guard-K3GJDPEQ.mjs} +1 -1
  137. package/dist/{dev-guard-ZLLKVO5T.cjs → dev-guard-VIEEA4LS.cjs} +1 -1
  138. package/dist/{devtools-MBZPUH3U.mjs → devtools-7P3OUNLV.mjs} +6 -5
  139. package/dist/{devtools-3WZIZ7KK.cjs → devtools-TMATFNUY.cjs} +7 -6
  140. package/dist/{devtools-client-X5OQCXDF.cjs → devtools-client-BKBCCORT.cjs} +1 -1
  141. package/dist/{devtools-client-SU4XH46J.mjs → devtools-client-L4MUWD6K.mjs} +1 -1
  142. package/dist/{devtools-ui-CYBVFLPH.mjs → devtools-ui-BOG33MT5.mjs} +1 -1
  143. package/dist/{devtools-ui-SYRUXUA7.cjs → devtools-ui-C2EMF2SO.cjs} +1 -1
  144. package/dist/docs.cjs +8 -7
  145. package/dist/docs.d.mts +4 -4
  146. package/dist/docs.d.ts +4 -4
  147. package/dist/docs.mjs +7 -6
  148. package/dist/env-types.cjs +1 -1
  149. package/dist/env-types.mjs +1 -1
  150. package/dist/env.cjs +1 -1
  151. package/dist/env.mjs +1 -1
  152. package/dist/environment/vite.cjs +6 -5
  153. package/dist/environment/vite.mjs +5 -4
  154. package/dist/environment.cjs +1 -1
  155. package/dist/environment.mjs +1 -1
  156. package/dist/font.cjs +1 -1
  157. package/dist/font.mjs +1 -1
  158. package/dist/{handler.d-Bd5lRSvb.d.ts → handler.d-Cy3XbY_W.d.ts} +1 -1
  159. package/dist/{handler.d-SRH-AKzf.d.mts → handler.d-DSwLTpa5.d.mts} +1 -1
  160. package/dist/headers.cjs +1 -1
  161. package/dist/{headers.d-CHHvyaIG.d.mts → headers.d-DiL9YTH3.d.mts} +1 -1
  162. package/dist/{headers.d-D-OvGikv.d.ts → headers.d-Qbjo38a0.d.ts} +1 -1
  163. package/dist/headers.mjs +1 -1
  164. package/dist/i18n/client.cjs +1 -1
  165. package/dist/i18n/client.mjs +1 -1
  166. package/dist/i18n/index.cjs +1 -1
  167. package/dist/i18n/index.mjs +1 -1
  168. package/dist/i18n/server.cjs +1 -1
  169. package/dist/i18n/server.mjs +1 -1
  170. package/dist/image/server.cjs +1 -1
  171. package/dist/image/server.mjs +1 -1
  172. package/dist/image/sharp.cjs +1 -1
  173. package/dist/image/sharp.mjs +1 -1
  174. package/dist/image.cjs +1 -1
  175. package/dist/image.mjs +1 -1
  176. package/dist/index.cjs +44 -39
  177. package/dist/{index.d-BOPsgMlI.d.mts → index.d-CqQKX3s6.d.mts} +1 -1
  178. package/dist/{index.d-BiUtYJUG.d.ts → index.d-OccJoC6I.d.ts} +1 -1
  179. package/dist/index.d.mts +23 -23
  180. package/dist/index.d.ts +23 -23
  181. package/dist/index.mjs +40 -35
  182. package/dist/instrumentation.cjs +1 -1
  183. package/dist/instrumentation.mjs +1 -1
  184. package/dist/integrations/orm.cjs +5 -4
  185. package/dist/integrations/orm.d.mts +2 -2
  186. package/dist/integrations/orm.d.ts +2 -2
  187. package/dist/integrations/orm.mjs +4 -3
  188. package/dist/integrations.cjs +3 -3
  189. package/dist/integrations.d.mts +2 -2
  190. package/dist/integrations.d.ts +2 -2
  191. package/dist/integrations.mjs +2 -2
  192. package/dist/internal/app-markdown-runtime.cjs +1 -1
  193. package/dist/internal/app-markdown-runtime.d.mts +3 -3
  194. package/dist/internal/app-markdown-runtime.d.ts +3 -3
  195. package/dist/internal/app-markdown-runtime.mjs +1 -1
  196. package/dist/internal/build-runtime.cjs +30 -29
  197. package/dist/internal/build-runtime.d.mts +5 -5
  198. package/dist/internal/build-runtime.d.ts +5 -5
  199. package/dist/internal/build-runtime.mjs +29 -28
  200. package/dist/internal/cli-runtime.cjs +17 -14
  201. package/dist/internal/cli-runtime.d.mts +9 -8
  202. package/dist/internal/cli-runtime.d.ts +9 -8
  203. package/dist/internal/cli-runtime.mjs +17 -14
  204. package/dist/internal/client-error-overlay.cjs +5 -5
  205. package/dist/internal/client-error-overlay.mjs +2 -2
  206. package/dist/internal/client-runtime.cjs +1 -1
  207. package/dist/internal/client-runtime.d.mts +5 -5
  208. package/dist/internal/client-runtime.d.ts +5 -5
  209. package/dist/internal/client-runtime.mjs +1 -1
  210. package/dist/internal/compression-runtime.cjs +3 -3
  211. package/dist/internal/compression-runtime.d.mts +6 -3
  212. package/dist/internal/compression-runtime.d.ts +6 -3
  213. package/dist/internal/compression-runtime.mjs +2 -2
  214. package/dist/internal/config-runtime.cjs +8 -7
  215. package/dist/internal/config-runtime.d.mts +4 -4
  216. package/dist/internal/config-runtime.d.ts +4 -4
  217. package/dist/internal/config-runtime.mjs +7 -6
  218. package/dist/internal/desktop-guard.cjs +1 -1
  219. package/dist/internal/desktop-guard.mjs +1 -1
  220. package/dist/internal/docs-precompiled-runtime.cjs +1 -1
  221. package/dist/internal/docs-precompiled-runtime.mjs +1 -1
  222. package/dist/internal/form-actions-client.cjs +1 -1
  223. package/dist/internal/form-actions-client.mjs +1 -1
  224. package/dist/internal/form-actions.cjs +1 -1
  225. package/dist/internal/form-actions.mjs +1 -1
  226. package/dist/internal/infra-analytics-runtime.cjs +7 -7
  227. package/dist/internal/infra-analytics-runtime.mjs +5 -5
  228. package/dist/internal/island-codec.cjs +1 -1
  229. package/dist/internal/island-codec.mjs +1 -1
  230. package/dist/internal/island-value-store.cjs +1 -1
  231. package/dist/internal/island-value-store.mjs +1 -1
  232. package/dist/internal/islands-boot.cjs +27 -6
  233. package/dist/internal/islands-boot.mjs +24 -3
  234. package/dist/internal/islands-runtime.cjs +1 -1
  235. package/dist/internal/islands-runtime.mjs +1 -1
  236. package/dist/internal/islands-server.cjs +1 -1
  237. package/dist/internal/islands-server.mjs +1 -1
  238. package/dist/internal/islx-client.cjs +1 -1
  239. package/dist/internal/islx-react.cjs +1 -1
  240. package/dist/internal/islx-server.cjs +1 -1
  241. package/dist/internal/isolated-boundary.cjs +1 -1
  242. package/dist/internal/isolated-boundary.mjs +1 -1
  243. package/dist/internal/metadata-image-runtime.cjs +1 -1
  244. package/dist/internal/metadata-image-runtime.mjs +1 -1
  245. package/dist/internal/native-server-fns.cjs +5 -5
  246. package/dist/internal/native-server-fns.mjs +4 -4
  247. package/dist/internal/product-telemetry-runtime.cjs +4 -4
  248. package/dist/internal/product-telemetry-runtime.mjs +3 -3
  249. package/dist/internal/production-node-env.cjs +1 -1
  250. package/dist/internal/production-node-env.mjs +1 -1
  251. package/dist/internal/production-runtime.cjs +8 -7
  252. package/dist/internal/production-runtime.d.mts +11 -11
  253. package/dist/internal/production-runtime.d.ts +11 -11
  254. package/dist/internal/production-runtime.mjs +7 -6
  255. package/dist/internal/react-cache.cjs +1 -1
  256. package/dist/internal/react-cache.mjs +1 -1
  257. package/dist/internal/request-cookies.cjs +1 -1
  258. package/dist/internal/request-cookies.mjs +1 -1
  259. package/dist/internal/server-fn-transform.cjs +1 -1
  260. package/dist/internal/server-fn-transform.mjs +1 -1
  261. package/dist/internal/server-tree.cjs +1 -1
  262. package/dist/internal/server-tree.mjs +1 -1
  263. package/dist/internal/start-manifest.cjs +1 -1
  264. package/dist/internal/start-manifest.d.mts +2 -2
  265. package/dist/internal/start-manifest.d.ts +2 -2
  266. package/dist/internal/start-manifest.mjs +1 -1
  267. package/dist/internal/vercel-edge-middleware.cjs +1 -1
  268. package/dist/internal/vercel-edge-middleware.mjs +1 -1
  269. package/dist/json-ld.cjs +1 -1
  270. package/dist/json-ld.mjs +1 -1
  271. package/dist/{layers-XQ7VFMWO.mjs → layers-5ZD4764G.mjs} +3 -2
  272. package/dist/layers-HMEGUEXM.cjs +21 -0
  273. package/dist/libsql-http-2QD224YS.mjs +600 -0
  274. package/dist/libsql-http-M6LMNXCN.cjs +600 -0
  275. package/dist/{manager-YO2RHDYU.mjs → manager-OMTC5FOJ.mjs} +2 -2
  276. package/dist/{manager-R7FV4A56.cjs → manager-PX4QN4HK.cjs} +4 -4
  277. package/dist/markdown.cjs +1 -1
  278. package/dist/markdown.d.mts +2 -2
  279. package/dist/markdown.d.ts +2 -2
  280. package/dist/markdown.mjs +1 -1
  281. package/dist/middleware.cjs +5 -5
  282. package/dist/middleware.d.mts +2 -2
  283. package/dist/middleware.d.ts +2 -2
  284. package/dist/middleware.mjs +4 -4
  285. package/dist/mobile.cjs +1 -1
  286. package/dist/mobile.mjs +1 -1
  287. package/dist/{modules-KOKD4XS6.mjs → modules-3Q2ZCY4Q.mjs} +1 -1
  288. package/dist/{modules-QTP7WJPD.cjs → modules-KDHFBQ6L.cjs} +1 -1
  289. package/dist/{mount.d-vq1HTq5u.d.mts → mount.d-AcJaUtHF.d.mts} +1 -1
  290. package/dist/{mount.d-C2yq0Zzz.d.ts → mount.d-CPzqOm-a.d.ts} +1 -1
  291. package/dist/{native-server-fn-handler-LII4MDRR.mjs → native-server-fn-handler-WYYY4YBN.mjs} +1 -1
  292. package/dist/{native-server-fn-handler-IWNKQEXK.cjs → native-server-fn-handler-XRTZR7SZ.cjs} +1 -1
  293. package/dist/{native-specs-LDV6IZ4N.mjs → native-specs-A7YOL463.mjs} +1 -1
  294. package/dist/{native-specs-5OLED4MM.cjs → native-specs-JDPH26AO.cjs} +1 -1
  295. package/dist/{native-tree-G6ZWS7IR.mjs → native-tree-JDI3LJSH.mjs} +1 -1
  296. package/dist/{native-tree-D3PW64ZL.cjs → native-tree-MNUFN5G6.cjs} +1 -1
  297. package/dist/native.cjs +1 -1
  298. package/dist/native.mjs +1 -1
  299. package/dist/{navigation-delegate.d-DS2Sqm7E.d.mts → navigation-delegate.d-C4i5Y39E.d.mts} +1 -1
  300. package/dist/{navigation-delegate.d-D7xIin3i.d.ts → navigation-delegate.d-_Df9DnPY.d.ts} +1 -1
  301. package/dist/navigation.cjs +1 -1
  302. package/dist/navigation.d.mts +5 -5
  303. package/dist/navigation.d.ts +5 -5
  304. package/dist/navigation.mjs +1 -1
  305. package/dist/{nitro-HKMVYIXY.cjs → nitro-NUCTYEKJ.cjs} +3 -3
  306. package/dist/{nitro-RHLKLYXH.mjs → nitro-VCJ6QQSI.mjs} +2 -2
  307. package/dist/{node-module-bundle-LIZ2KMVW.cjs → node-module-bundle-M6BISE2P.cjs} +1 -1
  308. package/dist/{node-module-bundle-VR6NV6AI.mjs → node-module-bundle-XPLBMXRD.mjs} +1 -1
  309. package/dist/observability.cjs +1 -1
  310. package/dist/observability.mjs +1 -1
  311. package/dist/og.cjs +1 -1
  312. package/dist/og.mjs +1 -1
  313. package/dist/platform.cjs +1 -1
  314. package/dist/platform.mjs +1 -1
  315. package/dist/{plugin-YXPIS3XX.cjs → plugin-AGEFSU7K.cjs} +3 -3
  316. package/dist/{plugin-6CHZBFJD.mjs → plugin-TV6W7YNK.mjs} +2 -2
  317. package/dist/plugin.cjs +23 -22
  318. package/dist/plugin.d.mts +6 -6
  319. package/dist/plugin.d.ts +6 -6
  320. package/dist/plugin.mjs +22 -21
  321. package/dist/{port-CLL4BC4O.mjs → port-CEZTV776.mjs} +1 -1
  322. package/dist/{port-HASZTQGY.cjs → port-STMSGUVU.cjs} +1 -1
  323. package/dist/query/client.cjs +1 -1
  324. package/dist/query/client.mjs +1 -1
  325. package/dist/query/index.cjs +1 -1
  326. package/dist/query/index.mjs +1 -1
  327. package/dist/query/parsers.cjs +1 -1
  328. package/dist/query/parsers.mjs +1 -1
  329. package/dist/query/server.cjs +1 -1
  330. package/dist/query/server.mjs +1 -1
  331. package/dist/{render-plan.d-X6KqerAM.d.mts → render-plan.d-4V_NmaA6.d.mts} +1 -1
  332. package/dist/{render-plan.d-BCq0nfdw.d.ts → render-plan.d-CslZE7o7.d.ts} +1 -1
  333. package/dist/renderer/none/server.cjs +1 -1
  334. package/dist/renderer/none/server.mjs +1 -1
  335. package/dist/renderer/react/client.cjs +1 -1
  336. package/dist/renderer/react/client.mjs +1 -1
  337. package/dist/renderer/react/server.cjs +1 -1
  338. package/dist/renderer/react/server.mjs +1 -1
  339. package/dist/renderer/react/vite.cjs +1 -1
  340. package/dist/renderer/react/vite.mjs +1 -1
  341. package/dist/renderer-client.cjs +1 -1
  342. package/dist/renderer-client.d.mts +5 -5
  343. package/dist/renderer-client.d.ts +5 -5
  344. package/dist/renderer-client.mjs +1 -1
  345. package/dist/renderer.cjs +1 -1
  346. package/dist/renderer.mjs +1 -1
  347. package/dist/request.cjs +1 -1
  348. package/dist/{request.d-CPdq2_kC.d.ts → request.d-CbV3y7j3.d.ts} +1 -1
  349. package/dist/{request.d-Be9rWboC.d.mts → request.d-CmLTxEgS.d.mts} +1 -1
  350. package/dist/request.d.mts +3 -3
  351. package/dist/request.d.ts +3 -3
  352. package/dist/request.mjs +1 -1
  353. package/dist/{route-rendering.d-CKB5GhQr.d.ts → route-rendering.d-CETnXNez.d.ts} +1 -1
  354. package/dist/{route-rendering.d-CIPli7Ve.d.mts → route-rendering.d-CmoqfOmj.d.mts} +1 -1
  355. package/dist/router.cjs +1 -1
  356. package/dist/{router.d-CvrbOXzF.d.ts → router.d-Dga3N5YO.d.ts} +1 -1
  357. package/dist/{router.d-VxTgLGxN.d.mts → router.d-ktz7pwYm.d.mts} +1 -1
  358. package/dist/router.mjs +1 -1
  359. package/dist/routes.cjs +1 -1
  360. package/dist/routes.d.mts +2 -2
  361. package/dist/routes.d.ts +2 -2
  362. package/dist/routes.mjs +1 -1
  363. package/dist/{rsc-pipeline-TPHK74VE.cjs → rsc-pipeline-JLYD26AR.cjs} +11 -10
  364. package/dist/{rsc-pipeline-FPE4OL57.mjs → rsc-pipeline-N7CWJW7T.mjs} +10 -9
  365. package/dist/{runtime-UBG657UC.cjs → runtime-F5NSS4DD.cjs} +14 -13
  366. package/dist/{runtime-45BD33OJ.mjs → runtime-QXX2A4TS.mjs} +10 -9
  367. package/dist/{runtime.d-Ps54JWpo.d.ts → runtime.d-BWLZUOfA.d.ts} +1 -1
  368. package/dist/{runtime.d-Cn1jiDNI.d.mts → runtime.d-DuaXEM0p.d.mts} +1 -1
  369. package/dist/safe-fetch.cjs +1 -1
  370. package/dist/safe-fetch.mjs +1 -1
  371. package/dist/{schema-dev-notice-CA55V57L.mjs → schema-dev-notice-2GN5V7Y2.mjs} +1 -1
  372. package/dist/{schema-dev-notice-RWA2UTR6.cjs → schema-dev-notice-6VCOZGG2.cjs} +1 -1
  373. package/dist/schema.cjs +1 -1
  374. package/dist/schema.mjs +1 -1
  375. package/dist/{search-client-ZZLKVO5R.cjs → search-client-6NVC6HM2.cjs} +1 -1
  376. package/dist/{search-client-OXH6GBNO.mjs → search-client-W4PEFAQB.mjs} +1 -1
  377. package/dist/server-action-security.cjs +1 -1
  378. package/dist/server-action-security.mjs +1 -1
  379. package/dist/{server-components-status.d-Dhtbs5lC.d.ts → server-components-status.d-C5JpC7_Y.d.ts} +1 -1
  380. package/dist/{server-components-status.d-DnmipSb3.d.mts → server-components-status.d-CqxtJmqP.d.mts} +1 -1
  381. package/dist/server-fn-client.cjs +1 -1
  382. package/dist/server-fn-client.mjs +1 -1
  383. package/dist/server-fn.cjs +1 -1
  384. package/dist/server-fn.mjs +1 -1
  385. package/dist/server-plugins.cjs +3 -3
  386. package/dist/server-plugins.d.mts +4 -4
  387. package/dist/server-plugins.d.ts +4 -4
  388. package/dist/server-plugins.mjs +2 -2
  389. package/dist/server-query-client.cjs +1 -1
  390. package/dist/server-query-client.mjs +1 -1
  391. package/dist/server-query.cjs +1 -1
  392. package/dist/server-query.mjs +1 -1
  393. package/dist/server.cjs +99 -72
  394. package/dist/server.d.mts +13 -13
  395. package/dist/server.d.ts +13 -13
  396. package/dist/server.mjs +57 -30
  397. package/dist/{session-ASQTJNBK.mjs → session-AK2OA5UZ.mjs} +4 -3
  398. package/dist/session-H4TWP73H.cjs +24 -0
  399. package/dist/{spa-router.d-DXm5J9rM.d.mts → spa-router.d-BLE188EL.d.mts} +2 -2
  400. package/dist/{spa-router.d-cppVufl2.d.ts → spa-router.d-C3LzwTlY.d.ts} +2 -2
  401. package/dist/{ssg.d-CI5OFl8H.d.ts → ssg.d-DisOfj0I.d.ts} +2 -2
  402. package/dist/{ssg.d-Duzy1wQc.d.mts → ssg.d-QrFyU6T4.d.mts} +2 -2
  403. package/dist/storage.cjs +8 -3
  404. package/dist/storage.d.mts +260 -38
  405. package/dist/storage.d.ts +260 -38
  406. package/dist/storage.mjs +7 -2
  407. package/dist/testing.cjs +4 -4
  408. package/dist/testing.d.mts +2 -2
  409. package/dist/testing.d.ts +2 -2
  410. package/dist/testing.mjs +4 -4
  411. package/dist/theme/client.cjs +1 -1
  412. package/dist/theme/client.mjs +1 -1
  413. package/dist/theme/index.cjs +1 -1
  414. package/dist/theme/index.mjs +1 -1
  415. package/dist/theme/runtime.cjs +1 -1
  416. package/dist/theme/runtime.mjs +1 -1
  417. package/dist/theme/server.cjs +1 -1
  418. package/dist/theme/server.mjs +1 -1
  419. package/dist/{types.d-D5cY6XjK.d.mts → types.d-DW2vyaUq.d.mts} +26 -4
  420. package/dist/{types.d-D5cY6XjK.d.ts → types.d-DW2vyaUq.d.ts} +26 -4
  421. package/dist/{utils.d-D3dfy8zh.d.ts → utils.d-7YcgfTCK.d.ts} +1 -1
  422. package/dist/{utils.d-CNI-I8ZV.d.mts → utils.d-BlWZFgdL.d.mts} +1 -1
  423. package/dist/version.cjs +3 -3
  424. package/dist/version.mjs +2 -2
  425. package/dist/vite.cjs +23 -22
  426. package/dist/vite.d.mts +7 -7
  427. package/dist/vite.d.ts +7 -7
  428. package/dist/vite.mjs +22 -21
  429. package/dist/workflows.cjs +3 -3
  430. package/dist/workflows.mjs +2 -2
  431. package/package.json +4 -6
  432. package/dist/analyzer-KFJGYJS7.cjs +0 -16
  433. package/dist/chunk-BTZ5O6VM.cjs +0 -14
  434. package/dist/chunk-Y6FXYEAI.mjs +0 -10
  435. package/dist/layers-7P4RLKVX.cjs +0 -20
  436. package/dist/session-ACVUJ5XV.cjs +0 -23
  437. package/dist/{chunk-WW62HKA2.cjs → chunk-4SLHSODZ.cjs} +2 -2
  438. package/dist/{chunk-LSHUCNIF.mjs → chunk-522K362I.mjs} +0 -0
  439. package/dist/{chunk-OWO7KDZ3.cjs → chunk-AOTD2N5P.cjs} +0 -0
  440. package/dist/{chunk-22T75EML.cjs → chunk-CUZT7474.cjs} +0 -0
  441. package/dist/{chunk-6MNDFNZW.mjs → chunk-JKFN3YVG.mjs} +0 -0
  442. package/dist/{chunk-YTNE4KGC.cjs → chunk-MALGIHIC.cjs} +0 -0
  443. package/dist/{chunk-UOE6ZZZP.mjs → chunk-Q3DO7MVK.mjs} +0 -0
  444. package/dist/{chunk-GAAK3HDZ.mjs → chunk-XT2CHTDN.mjs} +3 -3
@@ -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 _chunkWILPJVQEcjs = require('./chunk-WILPJVQE.cjs');
3
+ var _chunk5KISFWD2cjs = require('./chunk-5KISFWD2.cjs');
4
4
 
5
5
 
6
6
 
@@ -329,7 +329,7 @@ function requestEvent(metadata, method, status, durationMs) {
329
329
  id: uuid(),
330
330
  requestId: metadata.id,
331
331
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
332
- route: routeTemplate(_chunkWILPJVQEcjs.getFarmRouteLabel.call(void 0, metadata.route)),
332
+ route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
333
333
  ...metadata.path ? { path: metadata.path } : {},
334
334
  agent: metadata.agent,
335
335
  kind: "request",
@@ -343,7 +343,7 @@ function toolEvent(metadata, event) {
343
343
  id: uuid(),
344
344
  requestId: metadata.id,
345
345
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
346
- route: routeTemplate(_chunkWILPJVQEcjs.getFarmRouteLabel.call(void 0, metadata.route)),
346
+ route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
347
347
  ...metadata.path ? { path: metadata.path } : {},
348
348
  agent: metadata.agent,
349
349
  kind: "mcp.tool",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk7EOSFIPNcjs = require('./chunk-7EOSFIPN.cjs');
3
+ var _chunkA4WWKG2Bcjs = require('./chunk-A4WWKG2B.cjs');
4
4
 
5
5
 
6
6
  var _chunkVWIW47FWcjs = require('./chunk-VWIW47FW.cjs');
@@ -18,7 +18,7 @@ var _chunkSNP33A33cjs = require('./chunk-SNP33A33.cjs');
18
18
  var _chunkHLYRXN2Icjs = require('./chunk-HLYRXN2I.cjs');
19
19
 
20
20
 
21
- var _chunkBTZ5O6VMcjs = require('./chunk-BTZ5O6VM.cjs');
21
+ var _chunkUZM3PDKKcjs = require('./chunk-UZM3PDKK.cjs');
22
22
 
23
23
  // src/openapi/generator.ts
24
24
  var allowedType = /* @__PURE__ */ new Set(["string", "number", "boolean", "array", "object"]);
@@ -620,8 +620,8 @@ var OpenAPIGenerator = class {
620
620
  */
621
621
  async generateSpecFile(routes, outputPath) {
622
622
  const spec = await this.generateSpec(routes);
623
- const fs = _chunkBTZ5O6VMcjs.__require.call(void 0, "fs");
624
- const path = _chunkBTZ5O6VMcjs.__require.call(void 0, "path");
623
+ const fs = _chunkUZM3PDKKcjs.__require.call(void 0, "fs");
624
+ const path = _chunkUZM3PDKKcjs.__require.call(void 0, "path");
625
625
  const dir = path.dirname(outputPath);
626
626
  if (!fs.existsSync(dir)) {
627
627
  fs.mkdirSync(dir, { recursive: true });
@@ -678,7 +678,7 @@ var OpenAPIManager = class {
678
678
  this.config = config;
679
679
  this.mountedRoutes = context.routes;
680
680
  this.generator = new OpenAPIGenerator(this.appDir, config, context);
681
- this.apiTypeGenerator = new (0, _chunk7EOSFIPNcjs.APITypeGenerator)(appDirs);
681
+ this.apiTypeGenerator = new (0, _chunkA4WWKG2Bcjs.APITypeGenerator)(appDirs);
682
682
  }
683
683
  getRoutes() {
684
684
  if (!this.mountedRoutes) return this.apiTypeGenerator.scanAPIRoutes();
@@ -7,7 +7,7 @@ var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
7
7
  var _chunkRE5E2G5Scjs = require('./chunk-RE5E2G5S.cjs');
8
8
 
9
9
 
10
- var _chunkMTBDJ326cjs = require('./chunk-MTBDJ326.cjs');
10
+ var _chunkQMR2TUVZcjs = require('./chunk-QMR2TUVZ.cjs');
11
11
 
12
12
 
13
13
  var _chunk67MZTLTFcjs = require('./chunk-67MZTLTF.cjs');
@@ -21,7 +21,7 @@ var _chunkYUCU6XB4cjs = require('./chunk-YUCU6XB4.cjs');
21
21
  var _chunkGC5ROI3Acjs = require('./chunk-GC5ROI3A.cjs');
22
22
 
23
23
 
24
- var _chunkXLOORES5cjs = require('./chunk-XLOORES5.cjs');
24
+ var _chunkLMXGCFAMcjs = require('./chunk-LMXGCFAM.cjs');
25
25
 
26
26
  // src/environment-vite.ts
27
27
  var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
@@ -878,7 +878,7 @@ function usePackageScanCacheFile(file) {
878
878
  const stored = /* @__PURE__ */ new Map();
879
879
  try {
880
880
  const value = JSON.parse(_fs2.default.readFileSync(file, "utf8"));
881
- if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm === _chunkXLOORES5cjs.FARM_VERSION && value.scans && typeof value.scans === "object") {
881
+ if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm === _chunkLMXGCFAMcjs.FARM_VERSION && value.scans && typeof value.scans === "object") {
882
882
  for (const [directory, scan] of Object.entries(value.scans)) {
883
883
  if (isStoredPackageScan(scan)) stored.set(directory, scan);
884
884
  }
@@ -907,7 +907,7 @@ function persistPackageScanCache() {
907
907
  _fs2.default.mkdirSync(_path2.default.dirname(cache2.file), { recursive: true });
908
908
  _fs2.default.writeFileSync(
909
909
  temporary,
910
- JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm: _chunkXLOORES5cjs.FARM_VERSION, scans })
910
+ JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm: _chunkLMXGCFAMcjs.FARM_VERSION, scans })
911
911
  );
912
912
  _fs2.default.renameSync(temporary, cache2.file);
913
913
  cache2.dirty = false;
@@ -2207,7 +2207,7 @@ var PackageClientBoundaryCache = class {
2207
2207
  }
2208
2208
  const contents = JSON.stringify({
2209
2209
  schema: SCHEMA_VERSION,
2210
- farm: _chunkXLOORES5cjs.FARM_VERSION,
2210
+ farm: _chunkLMXGCFAMcjs.FARM_VERSION,
2211
2211
  paths,
2212
2212
  entries
2213
2213
  });
@@ -2247,7 +2247,7 @@ function readStoredCache(file) {
2247
2247
  } catch (e37) {
2248
2248
  return null;
2249
2249
  }
2250
- if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkXLOORES5cjs.FARM_VERSION) {
2250
+ if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkLMXGCFAMcjs.FARM_VERSION) {
2251
2251
  return null;
2252
2252
  }
2253
2253
  const { paths, entries } = value;
@@ -2258,7 +2258,7 @@ function readStoredCache(file) {
2258
2258
  const usable = variants.filter((entry) => isStoredEntry(entry, paths.length));
2259
2259
  if (usable.length > 0) valid[key] = usable;
2260
2260
  }
2261
- return { schema: SCHEMA_VERSION, farm: _chunkXLOORES5cjs.FARM_VERSION, paths, entries: valid };
2261
+ return { schema: SCHEMA_VERSION, farm: _chunkLMXGCFAMcjs.FARM_VERSION, paths, entries: valid };
2262
2262
  }
2263
2263
  function isRecord(value) {
2264
2264
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -4290,7 +4290,7 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
4290
4290
  farmApi = _optionalChain([config, 'access', _244 => _244.plugins, 'access', _245 => _245.find, 'call', _246 => _246((plugin) => plugin.name === "farm"), 'optionalAccess', _247 => _247.api]);
4291
4291
  sources = void 0;
4292
4292
  routesFiles = new Set(
4293
- _chunkMTBDJ326cjs.getFarmSourceRoots.call(void 0, { ...options, root: _nullishCoalesce(options.root, () => ( config.root)) }).flatMap(
4293
+ _chunkQMR2TUVZcjs.getFarmSourceRoots.call(void 0, { ...options, root: _nullishCoalesce(options.root, () => ( config.root)) }).flatMap(
4294
4294
  (source) => _chunkYUCU6XB4cjs.PROGRAMMATIC_ROUTE_FILE_NAMES.map(
4295
4295
  (name) => resolvedFile(_path2.default.resolve(source.root, source.srcDir, name))
4296
4296
  )
@@ -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-VR6NV6AI.mjs");
348
+ const { bundleNodeModule } = await import("./node-module-bundle-XPLBMXRD.mjs");
349
349
  await bundleNodeModule({
350
350
  root,
351
351
  entry: filePath,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JA6RML7C.mjs";
5
5
  import {
6
6
  normalizeFarmProductionSiteOrigin
7
- } from "./chunk-SGQXJVFX.mjs";
7
+ } from "./chunk-A37D6LOS.mjs";
8
8
  import {
9
9
  resolveFarmAppManifestConfig
10
10
  } from "./chunk-SQ5O7I3L.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-YT2ZMLXK.mjs";
30
30
  import {
31
31
  FARM_VERSION
32
- } from "./chunk-X3HUT4JU.mjs";
32
+ } from "./chunk-VRJAMU34.mjs";
33
33
  import {
34
34
  applyFarmBasePath
35
35
  } from "./chunk-SF3JB56B.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-RK4MGL6Q.mjs";
10
10
  import {
11
11
  discoverProgrammaticRoutePaths
12
- } from "./chunk-UOE6ZZZP.mjs";
12
+ } from "./chunk-Q3DO7MVK.mjs";
13
13
  import {
14
14
  parseRoutePath
15
15
  } from "./chunk-Z3QXQN4U.mjs";
@@ -4,6 +4,9 @@
4
4
 
5
5
  var _chunkASYOWPSRcjs = require('./chunk-ASYOWPSR.cjs');
6
6
 
7
+
8
+ var _chunkXRRHPBG2cjs = require('./chunk-XRRHPBG2.cjs');
9
+
7
10
  // src/layers.ts
8
11
  var _fs = require('fs');
9
12
  var _promises = require('fs/promises');
@@ -373,7 +376,16 @@ function mergeFarmLayerConfig(base, override) {
373
376
  continue;
374
377
  }
375
378
  if (isPlainObject(output[key]) && isPlainObject(value)) {
376
- output[key] = mergePlainObjects(output[key], value);
379
+ const merged = mergePlainObjects(output[key], value);
380
+ if (key === "storage" && isPlainObject(value.mounts) && isPlainObject(output[key].mounts)) {
381
+ for (const [name, mount] of Object.entries(value.mounts)) {
382
+ const previous = output[key].mounts[name];
383
+ if (mount !== void 0 && (_chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, previous) || _chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, mount))) {
384
+ merged.mounts[name] = mount;
385
+ }
386
+ }
387
+ }
388
+ output[key] = merged;
377
389
  continue;
378
390
  }
379
391
  output[key] = value;
@@ -4,22 +4,22 @@ import {
4
4
  formatFarmRscBlockingMessage,
5
5
  inspectFarmServerComponents,
6
6
  resolveFarmRscCheckConfig
7
- } from "./chunk-OCLCA3X3.mjs";
7
+ } from "./chunk-ZEWIWAS2.mjs";
8
8
  import {
9
9
  createFarmDevLoopbackPlugin
10
10
  } from "./chunk-IG2JE6WJ.mjs";
11
11
  import {
12
12
  resolveDeployOutputPath
13
- } from "./chunk-GP5BWTO7.mjs";
13
+ } from "./chunk-LIC6CMLB.mjs";
14
14
  import {
15
15
  farmDesktopDevGuardPlugin,
16
16
  loadFarmReactPlugin
17
- } from "./chunk-QVBXTSIZ.mjs";
17
+ } from "./chunk-7V5M43ND.mjs";
18
18
  import {
19
19
  generateFarmClientPluginEntryCode,
20
20
  hasFarmServerRuntimePlugins,
21
21
  loadTailwindVitePlugin
22
- } from "./chunk-E77ZKNPN.mjs";
22
+ } from "./chunk-VO5XDZHK.mjs";
23
23
  import {
24
24
  resolveFarmPlatform
25
25
  } from "./chunk-SMUW7UST.mjs";
@@ -183,7 +183,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
183
183
  const candidate = plugin;
184
184
  return !!candidate && names.has(candidate.name) && hasFarmServerRuntimePlugins([candidate]);
185
185
  };
186
- const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-XQ7VFMWO.mjs");
186
+ const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-5ZD4764G.mjs");
187
187
  const files = [];
188
188
  if (userConfig.extends) {
189
189
  const { layers } = await resolveFarmLayers(userConfig, { root, mode: "production" });
@@ -210,7 +210,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
210
210
  }
211
211
  async function configureFarmRscPlugins(config, command) {
212
212
  if (config.plugins.length === 0) return config;
213
- const { PluginManager } = await import("./plugin-6CHZBFJD.mjs");
213
+ const { PluginManager } = await import("./plugin-TV6W7YNK.mjs");
214
214
  const manager = new PluginManager({
215
215
  config,
216
216
  isDev: command === "serve",
@@ -2,7 +2,7 @@ import {
2
2
  createFarmReactRefreshPlugins,
3
3
  farmDesktopDevGuardPlugin,
4
4
  isFarmReactRefreshActive
5
- } from "./chunk-QVBXTSIZ.mjs";
5
+ } from "./chunk-7V5M43ND.mjs";
6
6
  import {
7
7
  _listFarmRegisteredMCPServerTools,
8
8
  _observeFarmRegisteredMCPResponse,
@@ -40,22 +40,22 @@ import {
40
40
  resolveFarmImageProviderForRuntime,
41
41
  resolveFarmRouteRootStrategy,
42
42
  toBakedMarkdownSourcePath
43
- } from "./chunk-CKBBKRBO.mjs";
43
+ } from "./chunk-AHGOHPRN.mjs";
44
44
  import {
45
45
  generateFarmClientPluginEntryCode,
46
46
  hasFarmServerRuntimePlugins,
47
47
  loadTailwindVitePlugin
48
- } from "./chunk-E77ZKNPN.mjs";
48
+ } from "./chunk-VO5XDZHK.mjs";
49
49
  import {
50
50
  FARM_NODE_RESPONSE_END_PENDING
51
- } from "./chunk-LSHUCNIF.mjs";
51
+ } from "./chunk-522K362I.mjs";
52
52
  import {
53
53
  resolveFarmPlatform
54
54
  } from "./chunk-SMUW7UST.mjs";
55
55
  import {
56
56
  generateFarmTypeArtifacts,
57
57
  resolveRouteRenderingConfig
58
- } from "./chunk-LQBV2Y37.mjs";
58
+ } from "./chunk-A7EJATEW.mjs";
59
59
  import {
60
60
  createFarmRouteRenderPlan,
61
61
  farmPathGuardCoversEndpoint,
@@ -82,13 +82,13 @@ import {
82
82
  resolveFarmMCPRouteLabel,
83
83
  resolveFarmMarkdownRouteLabel,
84
84
  setFarmRouteLabel
85
- } from "./chunk-5EEQNZLU.mjs";
85
+ } from "./chunk-PNWRH6TR.mjs";
86
86
  import {
87
87
  FARM_DEFAULT_MCP_PATH
88
88
  } from "./chunk-JA6RML7C.mjs";
89
89
  import {
90
90
  isFarmPreviewDeploymentEnvironment
91
- } from "./chunk-SGQXJVFX.mjs";
91
+ } from "./chunk-A37D6LOS.mjs";
92
92
  import {
93
93
  createFarmServerFnBoundaryModule,
94
94
  isFarmServerFnBoundaryId,
@@ -139,7 +139,7 @@ import {
139
139
  usePackageScanCacheFile,
140
140
  withFarmSourceSnapshotOf,
141
141
  wrapFarmIslandContainers
142
- } from "./chunk-2GZZVIXY.mjs";
142
+ } from "./chunk-7RQ5KAK6.mjs";
143
143
  import {
144
144
  generateFarmDocsAdapterClientRuntime,
145
145
  getFarmDocsAdapterConfigModule
@@ -174,7 +174,7 @@ import {
174
174
  getFarmAppDirectories,
175
175
  getFarmLayerAliases,
176
176
  getFarmSourceRoots
177
- } from "./chunk-E7VF3LQ5.mjs";
177
+ } from "./chunk-4STJ6LGR.mjs";
178
178
  import {
179
179
  REACT_RENDERER,
180
180
  getFarmRendererCapabilities,
@@ -215,14 +215,14 @@ import {
215
215
  getIntegrationDocumentNavigationMatchers,
216
216
  getIntegrationProviders,
217
217
  matchIntegrationRoute
218
- } from "./chunk-6MNDFNZW.mjs";
218
+ } from "./chunk-JKFN3YVG.mjs";
219
219
  import {
220
220
  resolveFarmRouteContext,
221
221
  withFarmRouteContext
222
222
  } from "./chunk-BMQAPZXD.mjs";
223
223
  import {
224
224
  MiddlewareManager
225
- } from "./chunk-GAAK3HDZ.mjs";
225
+ } from "./chunk-XT2CHTDN.mjs";
226
226
  import {
227
227
  _runWithMiddlewareContext,
228
228
  _runWithMiddlewareData
@@ -238,7 +238,7 @@ import {
238
238
  } from "./chunk-IYEY3JWJ.mjs";
239
239
  import {
240
240
  APIRouteManager
241
- } from "./chunk-5WFPZG7K.mjs";
241
+ } from "./chunk-5REIO5DT.mjs";
242
242
  import {
243
243
  getFarmI18nClientSnapshot
244
244
  } from "./chunk-O7JEFGUV.mjs";
@@ -301,7 +301,7 @@ import {
301
301
  } from "./chunk-2DA7CLY7.mjs";
302
302
  import {
303
303
  FARM_VERSION
304
- } from "./chunk-X3HUT4JU.mjs";
304
+ } from "./chunk-VRJAMU34.mjs";
305
305
  import {
306
306
  DEFAULT_FARM_API_BASE_PATH
307
307
  } from "./chunk-W6QLRQ3V.mjs";
@@ -348,7 +348,7 @@ import {
348
348
  } from "./chunk-SF3JB56B.mjs";
349
349
  import {
350
350
  __require
351
- } from "./chunk-Y6FXYEAI.mjs";
351
+ } from "./chunk-TIZJYHB7.mjs";
352
352
 
353
353
  // src/form-actions-transform.ts
354
354
  import { createHash } from "crypto";
@@ -1264,22 +1264,22 @@ function loadFarmDocsDevRuntime() {
1264
1264
  return import("./docs.mjs");
1265
1265
  }
1266
1266
  function loadFarmDocsSearchDevRuntime() {
1267
- return import("./search-client-OXH6GBNO.mjs");
1267
+ return import("./search-client-W4PEFAQB.mjs");
1268
1268
  }
1269
1269
  function loadFarmOpenAPIDevRuntime() {
1270
- return import("./manager-YO2RHDYU.mjs");
1270
+ return import("./manager-OMTC5FOJ.mjs");
1271
1271
  }
1272
1272
  function loadFarmWorkflowsDevRuntime() {
1273
1273
  return import("./workflows.mjs");
1274
1274
  }
1275
1275
  function loadFarmDevtoolsSnapshotRuntime() {
1276
- return import("./devtools-MBZPUH3U.mjs");
1276
+ return import("./devtools-7P3OUNLV.mjs");
1277
1277
  }
1278
1278
  function loadFarmDevtoolsUIRuntime() {
1279
- return import("./devtools-ui-CYBVFLPH.mjs");
1279
+ return import("./devtools-ui-BOG33MT5.mjs");
1280
1280
  }
1281
1281
  function loadFarmDevtoolsClientRuntime() {
1282
- return import("./devtools-client-SU4XH46J.mjs");
1282
+ return import("./devtools-client-L4MUWD6K.mjs");
1283
1283
  }
1284
1284
  function farmI18nClientBridgePlugin() {
1285
1285
  return {
@@ -2516,6 +2516,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
2516
2516
  root: farmConfig.root,
2517
2517
  srcDir: farmConfig.srcDir,
2518
2518
  layers: farmConfig.layers,
2519
+ storage: farmConfig.storage,
2519
2520
  plugins: farmConfig.plugins,
2520
2521
  extraRoutes: getExtraRouteTypes(),
2521
2522
  suppressLintOnLink: farmConfig.suppressLintOnLink,
@@ -3532,7 +3533,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
3532
3533
  }
3533
3534
  }
3534
3535
  if (options.mobileClient && !viteModuleRequest && (requestMethod === "GET" || requestMethod === "HEAD" || requestMethod === "POST") && req.headers.accept?.includes(FARM_NATIVE_TREE_CONTENT_TYPE)) {
3535
- const { createFarmNativeTreeResponse } = await import("./native-tree-G6ZWS7IR.mjs");
3536
+ const { createFarmNativeTreeResponse } = await import("./native-tree-JDI3LJSH.mjs");
3536
3537
  const treeBodyInit = requestMethod === "POST" ? { body: createFarmNodeRequestBodyStream(req), duplex: "half" } : {};
3537
3538
  const treeResponse = await createFarmNativeTreeResponse({
3538
3539
  request: new Request(fullUrl, {
@@ -5328,6 +5329,7 @@ if (import.meta.hot) {
5328
5329
  let clientPlanCurrent = false;
5329
5330
  if (isHydrationPlanSource && (isolatedHydrationMode === "enabled" || isolatedHydrationMode === "analyze" || tracksAsyncOwnerIslands)) {
5330
5331
  const routeManager = planRouteManager;
5332
+ await ctx.read?.();
5331
5333
  if (routeManager?.isEditPlanNeutral(file)) {
5332
5334
  clientPlanCurrent = true;
5333
5335
  } else if (routeManager) {
@@ -7846,6 +7848,27 @@ function farmIslandsOnlyDocument() {
7846
7848
  }
7847
7849
  },
7848
7850
  });
7851
+ ${islandValues ? `// A layout root that waits for a click renders again on a navigation, and a link under the
7852
+ // pointer is a navigation on its way: hydrate the root now, as the production entry does.
7853
+ if (layoutShouldHydrate && islandStrategy !== 'load') {
7854
+ const hydrateForLink = (target) => {
7855
+ const anchor = target instanceof Element ? target.closest('a[href]') : null;
7856
+ const href = anchor && anchor.getAttribute('href');
7857
+ if (!href || href.startsWith('#') || hasAbsoluteNavigationHref(href)) return false;
7858
+ if (!pageContainer.contains(anchor)) return false;
7859
+ document.dispatchEvent(
7860
+ new CustomEvent('farm:island-interaction', { detail: { target: anchor, kind: null } }),
7861
+ );
7862
+ return true;
7863
+ };
7864
+ const onLinkIntent = (event) => {
7865
+ if (hydrateForLink(event.target)) document.removeEventListener('mouseover', onLinkIntent, true);
7866
+ };
7867
+ if (!hydrateForLink(pageContainer.querySelector('a[href]:hover'))) {
7868
+ document.addEventListener('mouseover', onLinkIntent, true);
7869
+ void pageHydration.finally(() => document.removeEventListener('mouseover', onLinkIntent, true));
7870
+ }
7871
+ }` : ""}
7849
7872
  ${isolatedHydrationEnabled ? `const isolatedHydration =
7850
7873
  hasIsolatedClientBoundaries &&
7851
7874
  !layoutShouldHydrate
@@ -7957,7 +7980,7 @@ async function defineConfig(config = {}) {
7957
7980
  const tailwindVitePlugin = await loadTailwindVitePlugin();
7958
7981
  const appRoot = path6.resolve(config.root || process.cwd());
7959
7982
  if (config.extends?.length) {
7960
- const { config: layeredConfig } = await import("./layers-XQ7VFMWO.mjs").then(
7983
+ const { config: layeredConfig } = await import("./layers-5ZD4764G.mjs").then(
7961
7984
  ({ resolveFarmLayers }) => resolveFarmLayers(config, {
7962
7985
  root: appRoot,
7963
7986
  mode: process.env.NODE_ENV === "production" ? "production" : "development"
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readAliases,
3
3
  resolveFile
4
- } from "./chunk-A2VFKOQL.mjs";
4
+ } from "./chunk-7JTVN6IJ.mjs";
5
5
  import {
6
6
  transformFarmServerFns
7
7
  } from "./chunk-GNZIAJGB.mjs";
@@ -0,0 +1,42 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __typeError = (msg) => {
6
+ throw TypeError(msg);
7
+ };
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
28
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
29
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
30
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
31
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
32
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
33
+
34
+ export {
35
+ __require,
36
+ __export,
37
+ __reExport,
38
+ __publicField,
39
+ __privateGet,
40
+ __privateAdd,
41
+ __privateSet
42
+ };
@@ -0,0 +1,46 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __typeError = (msg) => {
6
+ throw TypeError(msg);
7
+ };
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
28
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
29
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
30
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
31
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
32
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
33
+
34
+ // <define:import.meta>
35
+ var define_import_meta_default = {};
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ exports.__require = __require; exports.__export = __export; exports.__reExport = __reExport; exports.__publicField = __publicField; exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.define_import_meta_default = define_import_meta_default;
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-LRPPXKCX.mjs";
19
19
  import {
20
20
  resolveDocsConfig
21
- } from "./chunk-GP5BWTO7.mjs";
21
+ } from "./chunk-LIC6CMLB.mjs";
22
22
  import {
23
23
  getFarmDocsAdapterConfigModule,
24
24
  isSecretDocsConfigKey
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SMUW7UST.mjs";
4
4
  import {
5
5
  getFarmIntegrationPluginServerRuntime
6
- } from "./chunk-6MNDFNZW.mjs";
6
+ } from "./chunk-JKFN3YVG.mjs";
7
7
  import {
8
8
  formatOptionalPeerInstallHint,
9
9
  isMissingPackageError
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-F3N52U7S.mjs";
9
9
  import {
10
10
  resolveStorageRuntimeClient
11
- } from "./chunk-Q4X3MX4J.mjs";
11
+ } from "./chunk-IGE5BAWK.mjs";
12
12
 
13
13
  // src/integration-orm.ts
14
14
  async function createIntegrationOrm(options) {
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.1.76";
2
+ var version = "0.1.78";
3
3
 
4
4
  // src/version.ts
5
5
  var FARM_VERSION = version;
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-IYEY3JWJ.mjs";
10
10
  import {
11
11
  APIRouteConflictError
12
- } from "./chunk-5WFPZG7K.mjs";
12
+ } from "./chunk-5REIO5DT.mjs";
13
13
  import {
14
14
  findProgrammaticRouteFilesInDir
15
- } from "./chunk-UOE6ZZZP.mjs";
15
+ } from "./chunk-Q3DO7MVK.mjs";
16
16
  import {
17
17
  isFarmAPIRouteFileName
18
18
  } from "./chunk-YX6AFPXC.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveIntegrationOrmRuntimeClient
3
- } from "./chunk-YONTMPZ6.mjs";
3
+ } from "./chunk-VRI43FDN.mjs";
4
4
  import {
5
5
  collectSchemaModels,
6
6
  columnTypeFamily,
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-UTUS6JUH.mjs";
26
26
  import {
27
27
  getIntegrationSchemas
28
- } from "./chunk-6MNDFNZW.mjs";
28
+ } from "./chunk-JKFN3YVG.mjs";
29
29
  import {
30
30
  resolveSchemaModels
31
31
  } from "./chunk-F3N52U7S.mjs";
@@ -18,7 +18,7 @@ var _chunk6D3CJFNUcjs = require('./chunk-6D3CJFNU.cjs');
18
18
  var _chunkNDOE76QCcjs = require('./chunk-NDOE76QC.cjs');
19
19
 
20
20
 
21
- var _chunkPSNYVBWCcjs = require('./chunk-PSNYVBWC.cjs');
21
+ var _chunkF7PKUP6Pcjs = require('./chunk-F7PKUP6P.cjs');
22
22
 
23
23
 
24
24
 
@@ -593,7 +593,7 @@ async function resolveAPIContext(options) {
593
593
  config: options.config,
594
594
  configPath: options.configPath
595
595
  }));
596
- const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkPSNYVBWCcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
596
+ const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkF7PKUP6Pcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
597
597
  const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _28 => _28.guardedPaths]), () => ( [])));
598
598
  return {
599
599
  root,
@@ -0,0 +1,16 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/storage/mount-schema.ts
2
+ function isMountSchema(value) {
3
+ return !!value && typeof value === "object" && "_tag" in value && value._tag === "schema" && "models" in value && !!value.models && typeof value.models === "object" && !Array.isArray(value.models);
4
+ }
5
+ function isManagedMount(value) {
6
+ return !!value && typeof value === "object" && "managed" in value && !!value.managed;
7
+ }
8
+ function hasManagedMountSchema(value) {
9
+ return isManagedMount(value) && "schema" in value && isMountSchema(value.schema);
10
+ }
11
+
12
+
13
+
14
+
15
+
16
+ exports.isMountSchema = isMountSchema; exports.isManagedMount = isManagedMount; exports.hasManagedMountSchema = hasManagedMountSchema;