@farm.js/core 0.1.78 → 0.1.80

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 (363) hide show
  1. package/dist/{agent-mcp-handler-EDJNU224.mjs → agent-mcp-handler-GDY5CPPW.mjs} +5 -5
  2. package/dist/{agent-mcp-handler-LNBYLRTZ.cjs → agent-mcp-handler-IUL6OPC3.cjs} +6 -6
  3. package/dist/{agent-mcp.d-BErtnhV2.d.ts → agent-mcp.d-BPa5n0ld.d.ts} +1 -1
  4. package/dist/{agent-mcp.d-CYHfcjur.d.mts → agent-mcp.d-DOP95Jxm.d.mts} +1 -1
  5. package/dist/agent-runtime.cjs +2 -2
  6. package/dist/agent-runtime.d.mts +4 -4
  7. package/dist/agent-runtime.d.ts +4 -4
  8. package/dist/agent-runtime.mjs +1 -1
  9. package/dist/{analyzer-M2BG6QYU.mjs → analyzer-F7CWE5VA.mjs} +2 -2
  10. package/dist/analyzer-I7RBBQ65.cjs +16 -0
  11. package/dist/api/node.cjs +6 -6
  12. package/dist/api/node.d.mts +6 -6
  13. package/dist/api/node.d.ts +6 -6
  14. package/dist/api/node.mjs +5 -5
  15. package/dist/api/route-manager.cjs +8 -8
  16. package/dist/api/route-manager.d.mts +6 -6
  17. package/dist/api/route-manager.d.ts +6 -6
  18. package/dist/api/route-manager.mjs +7 -7
  19. package/dist/api/runtime.cjs +5 -5
  20. package/dist/api/runtime.d.mts +5 -5
  21. package/dist/api/runtime.d.ts +5 -5
  22. package/dist/api/runtime.mjs +4 -4
  23. package/dist/api.cjs +10 -10
  24. package/dist/api.d.mts +7 -7
  25. package/dist/api.d.ts +7 -7
  26. package/dist/api.mjs +9 -9
  27. package/dist/{app-manifest.d-6NCkLQ1y.d.mts → app-manifest.d-9UD6BznX.d.mts} +1 -1
  28. package/dist/{app-manifest.d-DuqLBcmi.d.ts → app-manifest.d-CO6Iu0Hx.d.ts} +1 -1
  29. package/dist/app-markdown.cjs +5 -5
  30. package/dist/app-markdown.d.mts +5 -5
  31. package/dist/app-markdown.d.ts +5 -5
  32. package/dist/app-markdown.mjs +4 -4
  33. package/dist/{app.d-Dk2HkvPh.d.mts → app.d-DXeRWZK7.d.mts} +4 -4
  34. package/dist/{app.d-Bz6vYBFF.d.ts → app.d-DwX1ePhs.d.ts} +4 -4
  35. package/dist/cache.cjs +3 -3
  36. package/dist/cache.mjs +2 -2
  37. package/dist/{chunk-QYOAGT3E.cjs → chunk-2BEGVSDF.cjs} +6 -5
  38. package/dist/{chunk-4SLHSODZ.cjs → chunk-2FK47RRZ.cjs} +13 -13
  39. package/dist/{chunk-2YJ4DHTD.cjs → chunk-2NOHVIJ3.cjs} +2 -2
  40. package/dist/{chunk-GDM3ZD2O.cjs → chunk-2OFP3IVA.cjs} +5 -1
  41. package/dist/{chunk-B3IRRANH.mjs → chunk-2RRTOKRZ.mjs} +1 -1
  42. package/dist/{chunk-PNWRH6TR.mjs → chunk-3JQBQG7K.mjs} +4 -4
  43. package/dist/{chunk-H76C5AOU.mjs → chunk-3K2E55BJ.mjs} +2 -2
  44. package/dist/{chunk-VJ6L7TII.cjs → chunk-3SPECQXI.cjs} +31 -20
  45. package/dist/{chunk-R77D7TCZ.mjs → chunk-44G4XHEL.mjs} +13 -6
  46. package/dist/{chunk-6XDDE7M6.cjs → chunk-4H4ZXUNB.cjs} +3 -3
  47. package/dist/{chunk-LIC6CMLB.mjs → chunk-4MIDUSIX.mjs} +13 -13
  48. package/dist/{chunk-F4ID7BGO.cjs → chunk-4OFWG4IK.cjs} +7 -7
  49. package/dist/{chunk-VRI43FDN.mjs → chunk-4WXNTAOM.mjs} +1 -1
  50. package/dist/{chunk-5KISFWD2.cjs → chunk-5OAN7BG5.cjs} +12 -12
  51. package/dist/{chunk-DPBQRDWW.cjs → chunk-5VDJEKGK.cjs} +3 -3
  52. package/dist/{chunk-CYNQPKA4.cjs → chunk-5ZHC6QGD.cjs} +2 -2
  53. package/dist/{chunk-ALEUMLJN.mjs → chunk-67JTJCAS.mjs} +3 -2
  54. package/dist/{chunk-CBP7AKZH.mjs → chunk-6GJZJAED.mjs} +1 -1
  55. package/dist/{chunk-K3ZELA6U.cjs → chunk-7DD5TNPS.cjs} +8 -8
  56. package/dist/{chunk-GC5ROI3A.cjs → chunk-7U4XF76R.cjs} +1 -1
  57. package/dist/{chunk-62DZHPDK.cjs → chunk-7YLDUB4R.cjs} +10 -10
  58. package/dist/{chunk-ZEWIWAS2.mjs → chunk-A5D3UMLJ.mjs} +1 -1
  59. package/dist/{chunk-NNGBTJCX.cjs → chunk-ANZLZNNX.cjs} +83 -25
  60. package/dist/{chunk-CSAIIMY3.mjs → chunk-ATISIC6G.mjs} +1 -1
  61. package/dist/{chunk-ZCYGYIC2.cjs → chunk-AXA2BSX3.cjs} +2 -2
  62. package/dist/{chunk-BNCKXPCU.cjs → chunk-BIAGSYIZ.cjs} +30 -30
  63. package/dist/{chunk-X2SEYK7I.mjs → chunk-BPWTSPK6.mjs} +3 -3
  64. package/dist/{chunk-LMXGCFAM.cjs → chunk-CCMP4JD2.cjs} +1 -1
  65. package/dist/{chunk-JHZ6HULQ.cjs → chunk-CGIVCGH5.cjs} +2 -2
  66. package/dist/{chunk-ERT6HQAI.mjs → chunk-CNDBLUKI.mjs} +2 -2
  67. package/dist/{chunk-OGVOKAQU.mjs → chunk-COTFX4GT.mjs} +1 -1
  68. package/dist/{chunk-RK4MGL6Q.mjs → chunk-CYRO3WP4.mjs} +4 -3
  69. package/dist/{chunk-2G6JPLSL.cjs → chunk-DVHFIETW.cjs} +25 -18
  70. package/dist/{chunk-F35C3TJZ.mjs → chunk-E4E4Y5FD.mjs} +1 -1
  71. package/dist/{chunk-VCW6BR6U.mjs → chunk-EG5YBYHO.mjs} +2 -2
  72. package/dist/{chunk-2DA7CLY7.mjs → chunk-EILUVBKS.mjs} +14 -0
  73. package/dist/{chunk-XT2CHTDN.mjs → chunk-EY7ED5UW.mjs} +3 -3
  74. package/dist/{chunk-ZO6TOLHL.mjs → chunk-FS55CNTC.mjs} +1 -1
  75. package/dist/{chunk-DD2ANOEF.cjs → chunk-G4SZC2WH.cjs} +589 -472
  76. package/dist/{chunk-H5OVJHXY.cjs → chunk-GAWSWJJ2.cjs} +27 -27
  77. package/dist/{chunk-CKNZJFK5.cjs → chunk-GBESKA76.cjs} +3 -3
  78. package/dist/{chunk-EBFTAVGD.mjs → chunk-GBW5DU7V.mjs} +327 -210
  79. package/dist/{chunk-OVUU2RCQ.mjs → chunk-HD5FLXP2.mjs} +1 -1
  80. package/dist/{chunk-Q2EKSSEG.cjs → chunk-HEDGTXXB.cjs} +14 -14
  81. package/dist/{chunk-5QZT2EQN.cjs → chunk-HNUBRUFQ.cjs} +2 -2
  82. package/dist/{chunk-JA6RML7C.mjs → chunk-HR4N2K4V.mjs} +2 -2
  83. package/dist/{chunk-6D3CJFNU.cjs → chunk-HR5GU4UU.cjs} +7 -7
  84. package/dist/{chunk-SX535SU5.cjs → chunk-IJPRCQHW.cjs} +10 -10
  85. package/dist/{chunk-VRJAMU34.mjs → chunk-JGEN2FIT.mjs} +1 -1
  86. package/dist/{chunk-QES76U42.mjs → chunk-K3XKEZR6.mjs} +3 -3
  87. package/dist/{chunk-LPXJEZJK.mjs → chunk-KCJBIWBM.mjs} +2 -2
  88. package/dist/{chunk-7JTVN6IJ.mjs → chunk-KEU55O2D.mjs} +1 -1
  89. package/dist/{chunk-5REIO5DT.mjs → chunk-KKVRWNDH.mjs} +3 -3
  90. package/dist/{chunk-NSNQLBHR.cjs → chunk-KMGHXIDA.cjs} +2 -2
  91. package/dist/{chunk-Z2FFLTF5.mjs → chunk-LTXKRIST.mjs} +2 -2
  92. package/dist/{chunk-F7PKUP6P.cjs → chunk-LVGB5PYK.cjs} +27 -27
  93. package/dist/{chunk-7RQ5KAK6.mjs → chunk-MDEFTF63.mjs} +69 -14
  94. package/dist/{chunk-IWGGRXD2.cjs → chunk-MHKPXX3J.cjs} +2 -2
  95. package/dist/{chunk-5DREJN4G.cjs → chunk-MQOHYV6L.cjs} +15 -15
  96. package/dist/{chunk-BGUTIQII.mjs → chunk-MUZHULW2.mjs} +1 -1
  97. package/dist/{chunk-WGNGM6MJ.mjs → chunk-MZ5QGWRW.mjs} +2 -2
  98. package/dist/{chunk-DZZHTMWM.cjs → chunk-N3H7UPBM.cjs} +3 -2
  99. package/dist/{chunk-WJ4NUY2H.mjs → chunk-NJ4OASLP.mjs} +4 -4
  100. package/dist/{chunk-EVVV2XZ2.cjs → chunk-NW3DL2PM.cjs} +53 -7
  101. package/dist/{chunk-WRWJ7IWT.cjs → chunk-OLKYHTLN.cjs} +5 -5
  102. package/dist/{chunk-EVIWKPJV.cjs → chunk-PLJMEUAN.cjs} +15 -1
  103. package/dist/{chunk-EMTN5ABC.mjs → chunk-POVHO46S.mjs} +1 -1
  104. package/dist/{chunk-X3Y6JWJG.cjs → chunk-PWMJBCAN.cjs} +3 -3
  105. package/dist/{chunk-PG7J7XYT.cjs → chunk-Q4TRGTO7.cjs} +6 -6
  106. package/dist/{chunk-KUXEII7V.mjs → chunk-Q4YEAWUK.mjs} +1 -1
  107. package/dist/{chunk-IGE5BAWK.mjs → chunk-QBJ6N5MT.mjs} +53 -7
  108. package/dist/{chunk-PKXGFQZS.mjs → chunk-QD34VE4N.mjs} +1 -1
  109. package/dist/{chunk-S6RUJRWI.mjs → chunk-QHAISITM.mjs} +1 -1
  110. package/dist/{chunk-VJI2LWTL.cjs → chunk-RFNQTQ44.cjs} +2 -2
  111. package/dist/{chunk-TZ2YPXLB.cjs → chunk-RLCOWWE5.cjs} +7 -7
  112. package/dist/{chunk-IG2JE6WJ.mjs → chunk-RLEAVG6G.mjs} +1 -1
  113. package/dist/{chunk-VO5XDZHK.mjs → chunk-RPA45OQS.mjs} +2 -2
  114. package/dist/{chunk-A37D6LOS.mjs → chunk-RQBGHHOQ.mjs} +1 -1
  115. package/dist/{chunk-BZJYPIFZ.cjs → chunk-SDICLSQU.cjs} +8 -8
  116. package/dist/{chunk-FE6KYDHC.cjs → chunk-SHDCKRP4.cjs} +3 -3
  117. package/dist/{chunk-DUSTJ6A5.mjs → chunk-SLEHAGGV.mjs} +2 -2
  118. package/dist/{chunk-26CNCIFI.cjs → chunk-T3SMMLSB.cjs} +2 -2
  119. package/dist/{chunk-K6DXKHFE.mjs → chunk-TE7AX6HB.mjs} +1 -1
  120. package/dist/{chunk-LJKTJNOF.cjs → chunk-TS3ZHJN5.cjs} +3 -3
  121. package/dist/{chunk-KHS3T3E5.mjs → chunk-TYHWZOA2.mjs} +1 -1
  122. package/dist/{chunk-Z3QXQN4U.mjs → chunk-U6GMCDRS.mjs} +1 -1
  123. package/dist/{chunk-URQW27KO.mjs → chunk-UBLKPREL.mjs} +1 -1
  124. package/dist/{chunk-DD22NQFX.cjs → chunk-UGLTOLTJ.cjs} +2 -2
  125. package/dist/{chunk-PE2LEWXA.mjs → chunk-UJPE75GF.mjs} +1 -1
  126. package/dist/{chunk-6ZFGWB75.cjs → chunk-UWOCYINY.cjs} +4 -4
  127. package/dist/{chunk-E7V2GYBP.mjs → chunk-V73Y4UBL.mjs} +67 -9
  128. package/dist/{chunk-G7B6NU4X.cjs → chunk-VFMHE5D3.cjs} +3 -3
  129. package/dist/{chunk-IXO6O2EL.cjs → chunk-VGVRGGP4.cjs} +2 -2
  130. package/dist/{chunk-YRXPDKMM.cjs → chunk-W53Z4WDI.cjs} +8 -8
  131. package/dist/{chunk-47R7CX4A.mjs → chunk-WBPVLCNE.mjs} +1 -1
  132. package/dist/{chunk-4VLXQ55O.cjs → chunk-WIZRYFB2.cjs} +3 -3
  133. package/dist/{chunk-NB2ZEBIS.cjs → chunk-WJ2O2MPP.cjs} +287 -288
  134. package/dist/{chunk-HVMQAVZK.cjs → chunk-X4TSMQWF.cjs} +333 -303
  135. package/dist/{chunk-DASQJ5UD.mjs → chunk-XF7MJSUS.mjs} +1 -1
  136. package/dist/{chunk-S7QEQCVV.mjs → chunk-XGL42MQ7.mjs} +1 -1
  137. package/dist/{chunk-YN7G22MP.cjs → chunk-XKUKWMGX.cjs} +3 -3
  138. package/dist/{chunk-FOULIN4S.cjs → chunk-XY5OZQF6.cjs} +2 -2
  139. package/dist/{chunk-RIMEFQYO.mjs → chunk-XZBBKZGW.mjs} +73 -74
  140. package/dist/{chunk-ZJGFAW5U.mjs → chunk-YHHOTKUT.mjs} +5 -1
  141. package/dist/{chunk-A7EJATEW.mjs → chunk-YN3YMSKD.mjs} +3 -3
  142. package/dist/{chunk-PDACTAVX.mjs → chunk-YOVSWY2E.mjs} +1 -1
  143. package/dist/{chunk-R5X7FDOG.mjs → chunk-YU2MNIIY.mjs} +1 -1
  144. package/dist/{chunk-42EUEYW6.cjs → chunk-YUQUGVSV.cjs} +8 -8
  145. package/dist/{chunk-KZ5BOWJS.cjs → chunk-Z4SMFUZ7.cjs} +28 -28
  146. package/dist/{chunk-MBD34AS5.cjs → chunk-Z5BANEQD.cjs} +6 -6
  147. package/dist/{chunk-AHGOHPRN.mjs → chunk-ZDYYZX73.mjs} +60 -30
  148. package/dist/{chunk-4PWGLPL6.mjs → chunk-ZIEO3DQ3.mjs} +26 -15
  149. package/dist/{chunk-XGS76V7L.cjs → chunk-ZPEZXQTM.cjs} +22 -22
  150. package/dist/{chunk-ODYKCC6W.cjs → chunk-ZVSQN7NC.cjs} +135 -80
  151. package/dist/{cli-runtime.d-BG9q2_vC.d.ts → cli-runtime.d-8BhZy_wr.d.ts} +7 -6
  152. package/dist/{cli-runtime.d-CGMGs1Zz.d.mts → cli-runtime.d-DPNTN-JV.d.mts} +7 -6
  153. package/dist/client/lifecycle.d.mts +1 -1
  154. package/dist/client/lifecycle.d.ts +1 -1
  155. package/dist/{client-component.d-CdsG1E7p.d.mts → client-component.d-CMCdyAr8.d.mts} +1 -1
  156. package/dist/{client-component.d-B84GPb_u.d.ts → client-component.d-CkDcob6D.d.ts} +1 -1
  157. package/dist/{client-plugins.d-FptsHgls.d.ts → client-plugins.d-BYIovYqX.d.ts} +4 -4
  158. package/dist/{client-plugins.d-DX-iCJWE.d.mts → client-plugins.d-WcMwOZGZ.d.mts} +4 -4
  159. package/dist/client-plugins.d.mts +4 -4
  160. package/dist/client-plugins.d.ts +4 -4
  161. package/dist/client.cjs +3 -3
  162. package/dist/client.d.mts +9 -9
  163. package/dist/client.d.ts +9 -9
  164. package/dist/client.mjs +2 -2
  165. package/dist/config.d.mts +4 -4
  166. package/dist/config.d.ts +4 -4
  167. package/dist/cron.cjs +3 -3
  168. package/dist/cron.mjs +2 -2
  169. package/dist/desktop.d.mts +5 -5
  170. package/dist/desktop.d.ts +5 -5
  171. package/dist/{devtools-7P3OUNLV.mjs → devtools-F3FDFV26.mjs} +10 -10
  172. package/dist/{devtools-TMATFNUY.cjs → devtools-JJOYTIMS.cjs} +12 -12
  173. package/dist/docs.cjs +14 -14
  174. package/dist/docs.d.mts +6 -6
  175. package/dist/docs.d.ts +6 -6
  176. package/dist/docs.mjs +13 -13
  177. package/dist/environment/vite.cjs +5 -5
  178. package/dist/environment/vite.d.mts +9 -0
  179. package/dist/environment/vite.d.ts +9 -0
  180. package/dist/environment/vite.mjs +4 -4
  181. package/dist/{handler.d-Cy3XbY_W.d.ts → handler.d-BwdOyc9x.d.ts} +1 -1
  182. package/dist/{handler.d-DSwLTpa5.d.mts → handler.d-s3IM6pbJ.d.mts} +1 -1
  183. package/dist/{headers.d-DiL9YTH3.d.mts → headers.d-BR-OXrqQ.d.mts} +1 -1
  184. package/dist/{headers.d-Qbjo38a0.d.ts → headers.d-CAW4wPey.d.ts} +1 -1
  185. package/dist/index.cjs +65 -59
  186. package/dist/{index.d-CqQKX3s6.d.mts → index.d-BEVK61zS.d.mts} +1 -1
  187. package/dist/{index.d-OccJoC6I.d.ts → index.d-ah2c89Wu.d.ts} +1 -1
  188. package/dist/index.d.mts +25 -25
  189. package/dist/index.d.ts +25 -25
  190. package/dist/index.mjs +67 -61
  191. package/dist/integrations/orm.cjs +3 -3
  192. package/dist/integrations/orm.d.mts +4 -4
  193. package/dist/integrations/orm.d.ts +4 -4
  194. package/dist/integrations/orm.mjs +2 -2
  195. package/dist/integrations.cjs +2 -2
  196. package/dist/integrations.d.mts +4 -4
  197. package/dist/integrations.d.ts +4 -4
  198. package/dist/integrations.mjs +1 -1
  199. package/dist/internal/app-markdown-runtime.cjs +4 -4
  200. package/dist/internal/app-markdown-runtime.d.mts +5 -5
  201. package/dist/internal/app-markdown-runtime.d.ts +5 -5
  202. package/dist/internal/app-markdown-runtime.mjs +3 -3
  203. package/dist/internal/build-runtime.cjs +47 -47
  204. package/dist/internal/build-runtime.d.mts +7 -7
  205. package/dist/internal/build-runtime.d.ts +7 -7
  206. package/dist/internal/build-runtime.mjs +46 -46
  207. package/dist/internal/cli-runtime.cjs +29 -26
  208. package/dist/internal/cli-runtime.d.mts +11 -11
  209. package/dist/internal/cli-runtime.d.ts +11 -11
  210. package/dist/internal/cli-runtime.mjs +28 -25
  211. package/dist/internal/client-error-overlay.cjs +4 -4
  212. package/dist/internal/client-error-overlay.mjs +1 -1
  213. package/dist/internal/client-runtime.cjs +48 -11
  214. package/dist/internal/client-runtime.d.mts +17 -21
  215. package/dist/internal/client-runtime.d.ts +17 -21
  216. package/dist/internal/client-runtime.mjs +37 -0
  217. package/dist/internal/compression-runtime.d.mts +4 -4
  218. package/dist/internal/compression-runtime.d.ts +4 -4
  219. package/dist/internal/config-runtime.cjs +12 -12
  220. package/dist/internal/config-runtime.d.mts +6 -6
  221. package/dist/internal/config-runtime.d.ts +6 -6
  222. package/dist/internal/config-runtime.mjs +11 -11
  223. package/dist/internal/infra-analytics-runtime.cjs +10 -10
  224. package/dist/internal/infra-analytics-runtime.mjs +8 -8
  225. package/dist/internal/islands-boot.cjs +33 -5
  226. package/dist/internal/islands-boot.d.mts +19 -1
  227. package/dist/internal/islands-boot.d.ts +19 -1
  228. package/dist/internal/islands-boot.mjs +32 -4
  229. package/dist/internal/native-server-fns.cjs +4 -4
  230. package/dist/internal/native-server-fns.mjs +3 -3
  231. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  232. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  233. package/dist/internal/production-runtime.cjs +26 -26
  234. package/dist/internal/production-runtime.d.mts +14 -13
  235. package/dist/internal/production-runtime.d.ts +14 -13
  236. package/dist/internal/production-runtime.mjs +27 -27
  237. package/dist/internal/spa-router.cjs +44 -0
  238. package/dist/internal/spa-router.d.mts +41 -0
  239. package/dist/internal/spa-router.d.ts +41 -0
  240. package/dist/internal/spa-router.mjs +44 -0
  241. package/dist/internal/start-manifest.d.mts +4 -4
  242. package/dist/internal/start-manifest.d.ts +4 -4
  243. package/dist/internal/vercel-edge-middleware.cjs +3 -3
  244. package/dist/internal/vercel-edge-middleware.mjs +2 -2
  245. package/dist/{lifecycle.d-VzcXyEyn.d.ts → lifecycle.d-OtGWAvJT.d.mts} +1 -1
  246. package/dist/{lifecycle.d-VzcXyEyn.d.mts → lifecycle.d-OtGWAvJT.d.ts} +1 -1
  247. package/dist/markdown.cjs +3 -3
  248. package/dist/markdown.d.mts +4 -4
  249. package/dist/markdown.d.ts +4 -4
  250. package/dist/markdown.mjs +2 -2
  251. package/dist/middleware.cjs +8 -8
  252. package/dist/middleware.d.mts +4 -4
  253. package/dist/middleware.d.ts +4 -4
  254. package/dist/middleware.mjs +7 -7
  255. package/dist/{mount.d-CPzqOm-a.d.ts → mount.d-DcoPFqv5.d.ts} +1 -1
  256. package/dist/{mount.d-AcJaUtHF.d.mts → mount.d-Ylo-CmzK.d.mts} +1 -1
  257. package/dist/{native-server-fn-handler-WYYY4YBN.mjs → native-server-fn-handler-OXFTI6V5.mjs} +4 -4
  258. package/dist/{native-server-fn-handler-XRTZR7SZ.cjs → native-server-fn-handler-TNVFEQW3.cjs} +5 -5
  259. package/dist/{native-tree-MNUFN5G6.cjs → native-tree-5TENEQ7Y.cjs} +4 -4
  260. package/dist/{native-tree-JDI3LJSH.mjs → native-tree-LNO7K6JR.mjs} +3 -3
  261. package/dist/{navigation-delegate.d-_Df9DnPY.d.ts → navigation-delegate.d-2MK4YSlL.d.ts} +1 -1
  262. package/dist/{navigation-delegate.d-C4i5Y39E.d.mts → navigation-delegate.d-BA5h0fbE.d.mts} +1 -1
  263. package/dist/navigation.cjs +4 -4
  264. package/dist/navigation.d.mts +7 -7
  265. package/dist/navigation.d.ts +7 -7
  266. package/dist/navigation.mjs +3 -3
  267. package/dist/{nitro-NUCTYEKJ.cjs → nitro-6UOJXJZ6.cjs} +7 -7
  268. package/dist/{nitro-VCJ6QQSI.mjs → nitro-C3MYDX7V.mjs} +3 -3
  269. package/dist/observability.cjs +8 -2
  270. package/dist/{observability.d-DdJRiaIX.d.mts → observability.d-mXSbp4jc.d.mts} +17 -1
  271. package/dist/{observability.d-DdJRiaIX.d.ts → observability.d-mXSbp4jc.d.ts} +17 -1
  272. package/dist/observability.d.mts +1 -1
  273. package/dist/observability.d.ts +1 -1
  274. package/dist/observability.mjs +7 -1
  275. package/dist/{plugin-TV6W7YNK.mjs → plugin-33I3V42N.mjs} +1 -1
  276. package/dist/{plugin-AGEFSU7K.cjs → plugin-LN3JBZRR.cjs} +2 -2
  277. package/dist/plugin.cjs +37 -37
  278. package/dist/plugin.d.mts +8 -8
  279. package/dist/plugin.d.ts +8 -8
  280. package/dist/plugin.mjs +36 -36
  281. package/dist/query/client.cjs +6 -6
  282. package/dist/query/client.mjs +1 -1
  283. package/dist/{render-plan.d-CslZE7o7.d.ts → render-plan.d-2o-AG-ot.d.ts} +1 -1
  284. package/dist/{render-plan.d-4V_NmaA6.d.mts → render-plan.d-ChYBMhLu.d.mts} +1 -1
  285. package/dist/renderer-client.cjs +4 -4
  286. package/dist/renderer-client.d.mts +7 -7
  287. package/dist/renderer-client.d.ts +7 -7
  288. package/dist/renderer-client.mjs +1 -1
  289. package/dist/renderer.d.mts +16 -1
  290. package/dist/renderer.d.ts +16 -1
  291. package/dist/{request.d-CbV3y7j3.d.ts → request.d-CE0FIkiM.d.ts} +1 -1
  292. package/dist/{request.d-CmLTxEgS.d.mts → request.d-RCnCBuWq.d.mts} +1 -1
  293. package/dist/request.d.mts +5 -5
  294. package/dist/request.d.ts +5 -5
  295. package/dist/{route-rendering.d-CETnXNez.d.ts → route-rendering.d-BTPOM2nU.d.ts} +1 -1
  296. package/dist/{route-rendering.d-CmoqfOmj.d.mts → route-rendering.d-BZJnfKsp.d.mts} +1 -1
  297. package/dist/{router.d-Dga3N5YO.d.ts → router.d-BU_WE6Ol.d.ts} +1 -1
  298. package/dist/{router.d-ktz7pwYm.d.mts → router.d-D8Vvwl4i.d.mts} +1 -1
  299. package/dist/routes.cjs +4 -4
  300. package/dist/routes.d.mts +4 -4
  301. package/dist/routes.d.ts +4 -4
  302. package/dist/routes.mjs +3 -3
  303. package/dist/{rsc-pipeline-JLYD26AR.cjs → rsc-pipeline-A3R4U26C.cjs} +15 -15
  304. package/dist/{rsc-pipeline-N7CWJW7T.mjs → rsc-pipeline-JZWVSHOR.mjs} +14 -14
  305. package/dist/{runtime-QXX2A4TS.mjs → runtime-SQFRHRGJ.mjs} +18 -18
  306. package/dist/{runtime-F5NSS4DD.cjs → runtime-WZ3CHHGJ.cjs} +26 -26
  307. package/dist/{runtime.d-DuaXEM0p.d.mts → runtime.d-BnmuOXVD.d.mts} +1 -1
  308. package/dist/{runtime.d-BWLZUOfA.d.ts → runtime.d-DJ6IIKcF.d.ts} +1 -1
  309. package/dist/{schema-dev-notice-2GN5V7Y2.mjs → schema-dev-notice-EUPAUJVN.mjs} +2 -2
  310. package/dist/{schema-dev-notice-6VCOZGG2.cjs → schema-dev-notice-ZSCL47CT.cjs} +5 -5
  311. package/dist/search-client-A7YJT7JZ.cjs +15 -0
  312. package/dist/{search-client-W4PEFAQB.mjs → search-client-GIXIEU75.mjs} +1 -1
  313. package/dist/{server-components-status.d-C5JpC7_Y.d.ts → server-components-status.d-BeqSXcjM.d.ts} +1 -1
  314. package/dist/{server-components-status.d-CqxtJmqP.d.mts → server-components-status.d-BzOg9M8g.d.mts} +1 -1
  315. package/dist/server-fn.cjs +4 -4
  316. package/dist/server-fn.mjs +3 -3
  317. package/dist/server-plugins.d.mts +6 -6
  318. package/dist/server-plugins.d.ts +6 -6
  319. package/dist/server-query.cjs +5 -5
  320. package/dist/server-query.mjs +4 -4
  321. package/dist/server.cjs +73 -73
  322. package/dist/server.d.mts +15 -15
  323. package/dist/server.d.ts +15 -15
  324. package/dist/server.mjs +47 -47
  325. package/dist/{session-AK2OA5UZ.mjs → session-4IB34X35.mjs} +2 -2
  326. package/dist/session-MOYQJ7E6.cjs +24 -0
  327. package/dist/{spa-router.d-C3LzwTlY.d.ts → spa-router.d-BOwuVkMl.d.ts} +20 -4
  328. package/dist/{spa-router.d-BLE188EL.d.mts → spa-router.d-CDpftSsk.d.mts} +20 -4
  329. package/dist/{ssg.d-DisOfj0I.d.ts → ssg.d-BTVqyq8T.d.ts} +2 -2
  330. package/dist/{ssg.d-QrFyU6T4.d.mts → ssg.d-Bx_WFuwg.d.mts} +2 -2
  331. package/dist/storage.cjs +2 -2
  332. package/dist/storage.d.mts +112 -96
  333. package/dist/storage.d.ts +112 -96
  334. package/dist/storage.mjs +1 -1
  335. package/dist/testing.cjs +11 -11
  336. package/dist/testing.d.mts +4 -4
  337. package/dist/testing.d.ts +4 -4
  338. package/dist/testing.mjs +8 -8
  339. package/dist/{types.d-DW2vyaUq.d.mts → types.d-C5hlNbHa.d.mts} +8 -1
  340. package/dist/{types.d-DW2vyaUq.d.ts → types.d-C5hlNbHa.d.ts} +8 -1
  341. package/dist/{utils.d-BlWZFgdL.d.mts → utils.d-JkrpS-NJ.d.mts} +1 -1
  342. package/dist/{utils.d-7YcgfTCK.d.ts → utils.d-_dvevm5s.d.ts} +1 -1
  343. package/dist/version.cjs +2 -2
  344. package/dist/version.mjs +1 -1
  345. package/dist/vite.cjs +39 -37
  346. package/dist/vite.d.mts +15 -10
  347. package/dist/vite.d.ts +15 -10
  348. package/dist/vite.mjs +38 -36
  349. package/dist/workflows.cjs +3 -3
  350. package/dist/workflows.mjs +2 -2
  351. package/package.json +7 -1
  352. package/types/images.d.ts +9 -0
  353. package/dist/analyzer-KVTUYGTT.cjs +0 -16
  354. package/dist/search-client-6NVC6HM2.cjs +0 -15
  355. package/dist/session-H4TWP73H.cjs +0 -24
  356. package/dist/{chunk-GFXKO4UW.mjs → chunk-3XTRT3MB.mjs} +48 -48
  357. package/dist/{chunk-JKFN3YVG.mjs → chunk-6JWXHPVR.mjs} +0 -0
  358. package/dist/{chunk-522K362I.mjs → chunk-C2OLXVUC.mjs} +0 -0
  359. package/dist/{chunk-MALGIHIC.cjs → chunk-HS4JPIGR.cjs} +0 -0
  360. package/dist/{chunk-CUZT7474.cjs → chunk-TCMRLW3K.cjs} +0 -0
  361. package/dist/{chunk-Q3DO7MVK.mjs → chunk-URBP6DLH.mjs} +0 -0
  362. package/dist/{chunk-AOTD2N5P.cjs → chunk-WGWWRV2M.cjs} +0 -0
  363. package/dist/{chunk-L7Y65BQU.cjs → chunk-WHEQJN4G.cjs} +48 -48
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkJHZ6HULQcjs = require('./chunk-JHZ6HULQ.cjs');
7
+ var _chunkCGIVCGH5cjs = require('./chunk-CGIVCGH5.cjs');
8
8
 
9
9
 
10
10
  var _chunkMPU5DOXXcjs = require('./chunk-MPU5DOXX.cjs');
@@ -14,7 +14,7 @@ var _chunkXRFGOYXGcjs = require('./chunk-XRFGOYXG.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkBNCKXPCUcjs = require('./chunk-BNCKXPCU.cjs');
17
+ var _chunkBIAGSYIZcjs = require('./chunk-BIAGSYIZ.cjs');
18
18
 
19
19
 
20
20
 
@@ -32,7 +32,7 @@ function createServerQuery(options) {
32
32
  throw new TypeError("createServerQuery requires a key function");
33
33
  }
34
34
  const staleTime = normalizeServerQueryStaleTime(options.staleTime);
35
- const execute = _chunkJHZ6HULQcjs.createServerFn.call(void 0, {
35
+ const execute = _chunkCGIVCGH5cjs.createServerFn.call(void 0, {
36
36
  input: options.input,
37
37
  middleware: options.middleware,
38
38
  handler: async (context) => {
@@ -44,7 +44,7 @@ function createServerQuery(options) {
44
44
  const producer = async () => {
45
45
  produced = true;
46
46
  const value = await options.handler(context);
47
- return _chunkJHZ6HULQcjs._parseServerFnSchema.call(void 0, options.output, value, "output", "createServerQuery");
47
+ return _chunkCGIVCGH5cjs._parseServerFnSchema.call(void 0, options.output, value, "output", "createServerQuery");
48
48
  };
49
49
  let data;
50
50
  let updatedAt;
@@ -52,14 +52,14 @@ function createServerQuery(options) {
52
52
  data = await dedupeServerQueryRequest(cacheKey, context.request, producer);
53
53
  updatedAt = Date.now();
54
54
  } else {
55
- const cache = _chunkBNCKXPCUcjs.getFarmDataCache.call(void 0, );
55
+ const cache = _chunkBIAGSYIZcjs.getFarmDataCache.call(void 0, );
56
56
  data = await cache.getOrSet(cacheKey, producer, {
57
- tags: [_chunkBNCKXPCUcjs.createRouteDataCacheTag.call(void 0, routeKey)],
57
+ tags: [_chunkBIAGSYIZcjs.createRouteDataCacheTag.call(void 0, routeKey)],
58
58
  revalidate: staleTime === false ? false : staleTime / 1e3
59
59
  });
60
60
  updatedAt = await _asyncNullishCoalesce(await _asyncOptionalChain([(await cache.getEntryAsync(cacheKey, { allowStale: true })), 'optionalAccess', async _ => _.createdAt]), async () => ( Date.now()));
61
61
  if (!produced && options.output) {
62
- data = _chunkJHZ6HULQcjs._parseServerFnSchema.call(void 0, options.output, data, "output", "createServerQuery");
62
+ data = _chunkCGIVCGH5cjs._parseServerFnSchema.call(void 0, options.output, data, "output", "createServerQuery");
63
63
  }
64
64
  }
65
65
  return _chunkMPU5DOXXcjs.createFarmServerQueryResult.call(void 0, data, {
@@ -92,10 +92,10 @@ function createServerQuery(options) {
92
92
  enumerable: false
93
93
  }
94
94
  });
95
- _chunkJHZ6HULQcjs._attachServerFunctionDescriptor.call(void 0,
95
+ _chunkCGIVCGH5cjs._attachServerFunctionDescriptor.call(void 0,
96
96
  query,
97
- _chunkJHZ6HULQcjs.createServerFunctionDescriptor.call(void 0, "query", options, async (value) => {
98
- const result = await _chunkJHZ6HULQcjs._runServerFunctionForCaller.call(void 0,
97
+ _chunkCGIVCGH5cjs.createServerFunctionDescriptor.call(void 0, "query", options, async (value) => {
98
+ const result = await _chunkCGIVCGH5cjs._runServerFunctionForCaller.call(void 0,
99
99
  execute,
100
100
  value
101
101
  );
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-4QENVMG7.mjs";
5
5
  import {
6
6
  logger
7
- } from "./chunk-Z3QXQN4U.mjs";
7
+ } from "./chunk-U6GMCDRS.mjs";
8
8
 
9
9
  // src/server-components-status.ts
10
10
  import { existsSync, realpathSync } from "fs";
@@ -1,15 +1,16 @@
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 _chunk5KISFWD2cjs = require('./chunk-5KISFWD2.cjs');
3
+ var _chunk5OAN7BG5cjs = require('./chunk-5OAN7BG5.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk2YJ4DHTDcjs = require('./chunk-2YJ4DHTD.cjs');
9
+ var _chunk2NOHVIJ3cjs = require('./chunk-2NOHVIJ3.cjs');
10
10
 
11
11
 
12
- var _chunkEVIWKPJVcjs = require('./chunk-EVIWKPJV.cjs');
12
+
13
+ var _chunkPLJMEUANcjs = require('./chunk-PLJMEUAN.cjs');
13
14
 
14
15
 
15
16
  var _chunk2RSVYJT6cjs = require('./chunk-2RSVYJT6.cjs');
@@ -28,6 +29,11 @@ var PROJECT = /^proj_[0-9a-f-]{36}$/;
28
29
  var ENVIRONMENTS = ["production", "staging", "development"];
29
30
  var METHODS = /* @__PURE__ */ new Set(["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "QUERY"]);
30
31
  var MAX_QUEUE = 500;
32
+ var MAX_BODY_BYTES = 128 * 1024;
33
+ var MAX_PAYLOAD_BYTES = 8 * 1024;
34
+ var MAX_PAYLOAD_DEPTH = 32;
35
+ var SECRET_KEY = /pass(?:word|wd|phrase)|secret|token|api[-_]?key|authori[sz]ation|cookie|credential|private[-_]?key|session/i;
36
+ var REDACTED = "[redacted]";
31
37
  var MAX_AGE = 3e5;
32
38
  var MAX_ATTEMPTS = 5;
33
39
  var FLUSH_BUDGET = 5e3;
@@ -62,9 +68,13 @@ function resolveFarmInfraAnalytics(env = processEnv()) {
62
68
  if (env.FARMJS_ENVIRONMENT && !ENVIRONMENTS.includes(env.FARMJS_ENVIRONMENT)) {
63
69
  return { off: "FARMJS_ENVIRONMENT must be production, staging or development" };
64
70
  }
71
+ const toolPayloads = _optionalChain([env, 'access', _9 => _9.FARMJS_TOOL_PAYLOADS, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
72
+ if (toolPayloads && toolPayloads !== "on" && toolPayloads !== "off") {
73
+ return { off: "FARMJS_TOOL_PAYLOADS must be on or off" };
74
+ }
65
75
  let endpoint;
66
76
  try {
67
- endpoint = new URL(EVENTS_PATH, _optionalChain([env, 'access', _9 => _9.FARMJS_API_URL, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) || DEFAULT_URL);
77
+ endpoint = new URL(EVENTS_PATH, _optionalChain([env, 'access', _12 => _12.FARMJS_API_URL, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || DEFAULT_URL);
68
78
  } catch (e) {
69
79
  return { off: "FARMJS_API_URL isn't a URL" };
70
80
  }
@@ -76,6 +86,7 @@ function resolveFarmInfraAnalytics(env = processEnv()) {
76
86
  options: {
77
87
  endpoint: endpoint.href,
78
88
  key,
89
+ ...toolPayloads === "off" ? { toolPayloads: false } : {},
79
90
  ...ingestionKey ? {} : { ...projectId ? { projectId } : {}, environment: defaultFarmInfraEnvironment(env) }
80
91
  }
81
92
  };
@@ -109,7 +120,7 @@ var REFUSALS = {
109
120
  api_key_environment: "environment"
110
121
  };
111
122
  async function refusal(response) {
112
- const reader = _optionalChain([response, 'access', _12 => _12.body, 'optionalAccess', _13 => _13.getReader, 'call', _14 => _14()]);
123
+ const reader = _optionalChain([response, 'access', _15 => _15.body, 'optionalAccess', _16 => _16.getReader, 'call', _17 => _17()]);
113
124
  if (!reader) return void 0;
114
125
  let text = "";
115
126
  const decoder = new TextDecoder();
@@ -153,7 +164,7 @@ function createFarmInfraAnalyticsExporter(options, send = (input, init) => fetch
153
164
  let inFlight = /* @__PURE__ */ new Set();
154
165
  const diagnostic = (event) => {
155
166
  try {
156
- void Promise.resolve(_optionalChain([options, 'access', _15 => _15.onDiagnostic, 'optionalCall', _16 => _16(event)])).catch(() => {
167
+ void Promise.resolve(_optionalChain([options, 'access', _18 => _18.onDiagnostic, 'optionalCall', _19 => _19(event)])).catch(() => {
157
168
  });
158
169
  } catch (e3) {
159
170
  }
@@ -191,9 +202,16 @@ function createFarmInfraAnalyticsExporter(options, send = (input, init) => fetch
191
202
  if (!queue.length || notBefore >= deadline) break;
192
203
  if (notBefore > Date.now()) await sleep(notBefore - Date.now());
193
204
  if (stopped || Date.now() >= deadline) break;
194
- const batch = queue.slice(0, 50);
205
+ const batch = [];
206
+ let bytes = 64;
207
+ for (const item of queue) {
208
+ const size = encoder.encode(JSON.stringify(item.event)).length + 1;
209
+ if (batch.length === 50 || batch.length && bytes + size > MAX_BODY_BYTES) break;
210
+ batch.push(item);
211
+ bytes += size;
212
+ }
195
213
  const body = JSON.stringify({ schemaVersion: 1, events: batch.map(({ event }) => event) });
196
- if (encoder.encode(body).length > 128 * 1024) {
214
+ if (encoder.encode(body).length > MAX_BODY_BYTES) {
197
215
  queue.splice(0, batch.length);
198
216
  diagnostic({ code: "dropped", count: batch.length });
199
217
  continue;
@@ -201,7 +219,7 @@ function createFarmInfraAnalyticsExporter(options, send = (input, init) => fetch
201
219
  for (const item of batch) item.attempts++;
202
220
  inFlight = new Set(batch);
203
221
  active = new AbortController();
204
- const timeout = setTimeout(() => _optionalChain([active, 'optionalAccess', _17 => _17.abort, 'call', _18 => _18()]), Math.min(TIMEOUT, deadline - Date.now()));
222
+ const timeout = setTimeout(() => _optionalChain([active, 'optionalAccess', _20 => _20.abort, 'call', _21 => _21()]), Math.min(TIMEOUT, deadline - Date.now()));
205
223
  let status;
206
224
  try {
207
225
  const response = await send(options.endpoint, {
@@ -213,7 +231,7 @@ function createFarmInfraAnalyticsExporter(options, send = (input, init) => fetch
213
231
  });
214
232
  status = response.status;
215
233
  const reason = status === 400 || status === 403 ? await refusal(response) : void 0;
216
- void _optionalChain([response, 'access', _19 => _19.body, 'optionalAccess', _20 => _20.cancel, 'call', _21 => _21(), 'access', _22 => _22.catch, 'call', _23 => _23(() => {
234
+ void _optionalChain([response, 'access', _22 => _22.body, 'optionalAccess', _23 => _23.cancel, 'call', _24 => _24(), 'access', _25 => _25.catch, 'call', _26 => _26(() => {
217
235
  })]);
218
236
  if (response.ok) {
219
237
  remove(batch);
@@ -261,7 +279,7 @@ function createFarmInfraAnalyticsExporter(options, send = (input, init) => fetch
261
279
  closing = true;
262
280
  await flush();
263
281
  stopped = true;
264
- _optionalChain([active, 'optionalAccess', _24 => _24.abort, 'call', _25 => _25()]);
282
+ _optionalChain([active, 'optionalAccess', _27 => _27.abort, 'call', _28 => _28()]);
265
283
  if (queue.length) diagnostic({ code: "dropped", count: queue.length });
266
284
  queue.length = 0;
267
285
  }
@@ -271,7 +289,7 @@ var CONTEXT_KEY = "farm.infra.analytics";
271
289
  function beginRequest(request, route, waitUntil) {
272
290
  return {
273
291
  id: uuid(),
274
- agent: _chunk2YJ4DHTDcjs.classifyFarmClient.call(void 0, request),
292
+ agent: _chunk2NOHVIJ3cjs.classifyFarmClient.call(void 0, request),
275
293
  mcpSession: readMCPClientSession(request),
276
294
  path: requestPath(request),
277
295
  route,
@@ -281,7 +299,7 @@ function beginRequest(request, route, waitUntil) {
281
299
  }
282
300
  var MAX_MCP_BODY = 64 * 1024;
283
301
  function readMCPClientSession(request) {
284
- if (request.headers.has("mcp-session-id") || !_chunk2YJ4DHTDcjs._isFarmMCPRequest.call(void 0, request) || !request.body || request.bodyUsed || !/json/i.test(_nullishCoalesce(request.headers.get("content-type"), () => ( ""))) || Number(request.headers.get("content-length")) > MAX_MCP_BODY)
302
+ if (request.headers.has("mcp-session-id") || !_chunk2NOHVIJ3cjs._isFarmMCPRequest.call(void 0, request) || !request.body || request.bodyUsed || !/json/i.test(_nullishCoalesce(request.headers.get("content-type"), () => ( ""))) || Number(request.headers.get("content-length")) > MAX_MCP_BODY)
285
303
  return void 0;
286
304
  let body;
287
305
  try {
@@ -308,14 +326,14 @@ async function readMCPInitialize(body) {
308
326
  }
309
327
  const parsed = JSON.parse(text + decoder.decode());
310
328
  const initialize = (Array.isArray(parsed) ? parsed : [parsed]).find(
311
- (message) => _optionalChain([message, 'optionalAccess', _26 => _26.method]) === "initialize"
329
+ (message) => _optionalChain([message, 'optionalAccess', _29 => _29.method]) === "initialize"
312
330
  );
313
- return _chunk2YJ4DHTDcjs._farmMCPClientSession.call(void 0, _optionalChain([initialize, 'optionalAccess', _27 => _27.params, 'optionalAccess', _28 => _28.clientInfo, 'optionalAccess', _29 => _29.name]));
331
+ return _chunk2NOHVIJ3cjs._farmMCPClientSession.call(void 0, _optionalChain([initialize, 'optionalAccess', _30 => _30.params, 'optionalAccess', _31 => _31.clientInfo, 'optionalAccess', _32 => _32.name]));
314
332
  }
315
333
  async function withMCPClientSession(response, metadata) {
316
334
  const session = await metadata.mcpSession;
317
335
  if (!session || !response.ok || response.headers.has("mcp-session-id")) return void 0;
318
- metadata.agent = _nullishCoalesce(_chunk2YJ4DHTDcjs._classifyFarmMCPSession.call(void 0, session), () => ( metadata.agent));
336
+ metadata.agent = _nullishCoalesce(_chunk2NOHVIJ3cjs._classifyFarmMCPSession.call(void 0, session), () => ( metadata.agent));
319
337
  const headers = new Headers(response.headers);
320
338
  headers.set("Mcp-Session-Id", session);
321
339
  return new Response(response.body, {
@@ -329,7 +347,7 @@ function requestEvent(metadata, method, status, durationMs) {
329
347
  id: uuid(),
330
348
  requestId: metadata.id,
331
349
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
332
- route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
350
+ route: routeTemplate(_chunk5OAN7BG5cjs.getFarmRouteLabel.call(void 0, metadata.route)),
333
351
  ...metadata.path ? { path: metadata.path } : {},
334
352
  agent: metadata.agent,
335
353
  kind: "request",
@@ -338,18 +356,58 @@ function requestEvent(metadata, method, status, durationMs) {
338
356
  durationMs: duration(durationMs)
339
357
  };
340
358
  }
341
- function toolEvent(metadata, event) {
359
+ function toolPayload(value) {
360
+ let json;
361
+ try {
362
+ const text = JSON.stringify(value);
363
+ if (text === void 0) return void 0;
364
+ json = JSON.parse(text);
365
+ } catch (e6) {
366
+ return void 0;
367
+ }
368
+ let deep = false;
369
+ const redact = (node, depth) => {
370
+ if (depth > MAX_PAYLOAD_DEPTH) deep = true;
371
+ if (deep || !node || typeof node !== "object") return node;
372
+ if (Array.isArray(node)) return node.map((item) => redact(item, depth + 1));
373
+ return Object.fromEntries(
374
+ Object.entries(node).map(([key, item]) => [
375
+ key,
376
+ SECRET_KEY.test(key) ? REDACTED : redact(item, depth + 1)
377
+ ])
378
+ );
379
+ };
380
+ const redacted = redact(json, 0);
381
+ if (deep || encoder.encode(JSON.stringify(redacted)).length > MAX_PAYLOAD_BYTES) {
382
+ return "omitted";
383
+ }
384
+ return { value: redacted };
385
+ }
386
+ function toolPayloadFields(event) {
387
+ const payload = _chunkPLJMEUANcjs._farmToolCallPayload.call(void 0, event);
388
+ if (!payload) return {};
389
+ const fields = {};
390
+ for (const key of ["arguments", "result"]) {
391
+ if (!(key in payload)) continue;
392
+ const kept = toolPayload(payload[key]);
393
+ if (kept === "omitted") (_nullishCoalesce(fields.omitted, () => ( (fields.omitted = [])))).push(key);
394
+ else if (kept) fields[key] = kept.value;
395
+ }
396
+ return fields;
397
+ }
398
+ function toolEvent(metadata, event, payloads) {
342
399
  return {
343
400
  id: uuid(),
344
401
  requestId: metadata.id,
345
402
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
346
- route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
403
+ route: routeTemplate(_chunk5OAN7BG5cjs.getFarmRouteLabel.call(void 0, metadata.route)),
347
404
  ...metadata.path ? { path: metadata.path } : {},
348
405
  agent: metadata.agent,
349
406
  kind: "mcp.tool",
350
407
  tool: event.tool,
351
408
  outcome: event.outcome,
352
- durationMs: duration(event.durationMs)
409
+ durationMs: duration(event.durationMs),
410
+ ...payloads ? toolPayloadFields(event) : {}
353
411
  };
354
412
  }
355
413
  function farmInfraAnalyticsPlugin(options, send) {
@@ -360,7 +418,7 @@ function farmInfraAnalyticsPlugin(options, send) {
360
418
  setup(context) {
361
419
  const state = { exporter: createFarmInfraAnalyticsExporter(options, send) };
362
420
  context.lifecycle.onShutdown(async () => {
363
- _optionalChain([state, 'access', _30 => _30.unsubscribe, 'optionalCall', _31 => _31()]);
421
+ _optionalChain([state, 'access', _33 => _33.unsubscribe, 'optionalCall', _34 => _34()]);
364
422
  await state.exporter.close();
365
423
  });
366
424
  return state;
@@ -370,14 +428,14 @@ function farmInfraAnalyticsPlugin(options, send) {
370
428
  cache: "public",
371
429
  start(context) {
372
430
  const { exporter } = context.state;
373
- context.state.unsubscribe = _chunkEVIWKPJVcjs.onFarmEvent.call(void 0,
431
+ context.state.unsubscribe = _chunkPLJMEUANcjs.onFarmEvent.call(void 0,
374
432
  (event) => {
375
433
  if (!isToolEvent(event)) return;
376
434
  const request = _chunk2RSVYJT6cjs.getCurrentRequestOrNull.call(void 0, );
377
435
  if (!request) return;
378
436
  const metadata = context.requestContext.get(request, contextKey);
379
437
  if (!metadata) return;
380
- exporter.enqueue(toolEvent(metadata, event));
438
+ exporter.enqueue(toolEvent(metadata, event, options.toolPayloads !== false));
381
439
  metadata.waitUntil(exporter.flush());
382
440
  },
383
441
  { unfiltered: true }
@@ -417,12 +475,12 @@ function farmInfraAnalyticsPlugin(options, send) {
417
475
  function farmInfraAnalyticsRecorder(options, send) {
418
476
  const exporter = createFarmInfraAnalyticsExporter(options, send);
419
477
  const requests = new (0, _async_hooks.AsyncLocalStorage)();
420
- const unsubscribe = _chunkEVIWKPJVcjs.onFarmEvent.call(void 0,
478
+ const unsubscribe = _chunkPLJMEUANcjs.onFarmEvent.call(void 0,
421
479
  (event) => {
422
480
  if (!isToolEvent(event)) return;
423
481
  const metadata = requests.getStore();
424
482
  if (!metadata) return;
425
- exporter.enqueue(toolEvent(metadata, event));
483
+ exporter.enqueue(toolEvent(metadata, event, options.toolPayloads !== false));
426
484
  metadata.waitUntil(exporter.flush());
427
485
  },
428
486
  { unfiltered: true }
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-YP7YO3S3.mjs";
8
8
  import {
9
9
  toPosixPath
10
- } from "./chunk-Z3QXQN4U.mjs";
10
+ } from "./chunk-U6GMCDRS.mjs";
11
11
 
12
12
  // src/cron.ts
13
13
  var DEFAULT_FARM_CRON_SECRET_ENV = "CRON_SECRET";
@@ -15,14 +15,14 @@ var _chunkWBTHHTBOcjs = require('./chunk-WBTHHTBO.cjs');
15
15
  var _chunkCCAUIBIScjs = require('./chunk-CCAUIBIS.cjs');
16
16
 
17
17
 
18
- var _chunkLMXGCFAMcjs = require('./chunk-LMXGCFAM.cjs');
18
+ var _chunkCCMP4JD2cjs = require('./chunk-CCMP4JD2.cjs');
19
19
 
20
20
  // src/mobile/analyzer.ts
21
21
  var _crypto = require('crypto');
22
22
  var _fs = require('fs');
23
23
  var _promises = require('fs/promises');
24
24
  var _path = require('path'); var path = _interopRequireWildcard(_path);
25
- var ANALYZER_VERSION = `7:${_chunkLMXGCFAMcjs.FARM_VERSION}`;
25
+ var ANALYZER_VERSION = `7:${_chunkCCMP4JD2cjs.FARM_VERSION}`;
26
26
  var INTRINSIC_KINDS = {};
27
27
  for (const tag of "div section main article header footer nav aside figure hr li".split(" ")) {
28
28
  INTRINSIC_KINDS[tag] = "View";
@@ -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(); } } 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 _chunkEVIWKPJVcjs = require('./chunk-EVIWKPJV.cjs');
3
+ var _chunkPLJMEUANcjs = require('./chunk-PLJMEUAN.cjs');
4
4
 
5
5
 
6
6
  var _chunkAOKXITZ6cjs = require('./chunk-AOKXITZ6.cjs');
@@ -299,12 +299,12 @@ var FarmDataCache = class _FarmDataCache {
299
299
  getEntry(key, options = {}) {
300
300
  const entry = this.entries.get(key);
301
301
  if (!entry) {
302
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key });
302
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key });
303
303
  return void 0;
304
304
  }
305
305
  const stale = this.isStale(entry, options.now);
306
306
  if (stale) {
307
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
307
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
308
308
  type: "cache.stale",
309
309
  key,
310
310
  tags: Array.from(entry.tags),
@@ -312,11 +312,11 @@ var FarmDataCache = class _FarmDataCache {
312
312
  });
313
313
  }
314
314
  if (!options.allowStale && stale) {
315
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
315
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
316
316
  return void 0;
317
317
  }
318
318
  this.touchEntry(key, entry);
319
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
319
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
320
320
  type: "cache.hit",
321
321
  key,
322
322
  tags: Array.from(entry.tags),
@@ -339,34 +339,34 @@ var FarmDataCache = class _FarmDataCache {
339
339
  const entry = await adapter.get(`${namespace}:entry:${key}`);
340
340
  if (generation !== this.generation) return void 0;
341
341
  if (!entry || isForeignAdapterEntry(entry, key)) {
342
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, ...entry ? { reason: "key-mismatch" } : {} });
342
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, ...entry ? { reason: "key-mismatch" } : {} });
343
343
  return void 0;
344
344
  }
345
345
  assertFarmCacheEntry(entry, key);
346
346
  if (typeof entry.expiresAt === "number" && entry.expiresAt <= (_nullishCoalesce(options.now, () => ( Date.now())))) {
347
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "expired" });
347
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "expired" });
348
348
  try {
349
349
  await adapter.delete(`${namespace}:entry:${key}`);
350
350
  } catch (error) {
351
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "delete", error });
351
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "delete", error });
352
352
  }
353
353
  return void 0;
354
354
  }
355
355
  const stale = await this.isAdapterEntryStale(entry, options.now, adapter, namespace);
356
356
  if (generation !== this.generation) return void 0;
357
357
  if (stale) {
358
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
358
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
359
359
  type: "cache.stale",
360
360
  key,
361
361
  tags: [...entry.tags],
362
362
  revalidate: entry.revalidate
363
363
  });
364
364
  if (!options.allowStale) {
365
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
365
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
366
366
  return void 0;
367
367
  }
368
368
  }
369
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
369
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
370
370
  type: "cache.hit",
371
371
  key,
372
372
  tags: [...entry.tags],
@@ -397,7 +397,7 @@ var FarmDataCache = class _FarmDataCache {
397
397
  revalidate
398
398
  };
399
399
  this.storeLocalEntry(entry);
400
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
400
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
401
401
  type: "cache.set",
402
402
  key,
403
403
  tags: Array.from(tags),
@@ -474,7 +474,7 @@ var FarmDataCache = class _FarmDataCache {
474
474
  if (this.adapter) {
475
475
  await this.adapter.set(this.createAdapterKey(key), entry);
476
476
  }
477
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
477
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
478
478
  type: "cache.set",
479
479
  key,
480
480
  tags: [...entry.tags],
@@ -484,7 +484,7 @@ var FarmDataCache = class _FarmDataCache {
484
484
  }
485
485
  delete(key) {
486
486
  const deleted = this.deleteLocalEntry(key);
487
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.delete", key, deleted });
487
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.delete", key, deleted });
488
488
  return deleted;
489
489
  }
490
490
  async deleteAsync(key) {
@@ -492,13 +492,13 @@ var FarmDataCache = class _FarmDataCache {
492
492
  if (this.adapter) {
493
493
  await this.adapter.delete(this.createAdapterKey(key));
494
494
  }
495
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.delete", key, deleted: this.adapter ? true : deleted });
495
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.delete", key, deleted: this.adapter ? true : deleted });
496
496
  return this.adapter ? true : deleted;
497
497
  }
498
498
  clear() {
499
499
  const count = this.entries.size + (_nullishCoalesce(_optionalChain([this, 'access', _31 => _31.shells, 'optionalAccess', _32 => _32.resetLocal, 'call', _33 => _33()]), () => ( 0)));
500
500
  this.resetLocal();
501
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.clear", count });
501
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.clear", count });
502
502
  }
503
503
  resetLocal() {
504
504
  const count = this.entries.size;
@@ -536,7 +536,7 @@ var FarmDataCache = class _FarmDataCache {
536
536
  revalidateTag(tag, options = {}) {
537
537
  const normalized = normalizeCacheTag(tag);
538
538
  const count = this.invalidateTag(normalized) + (_nullishCoalesce(_optionalChain([this, 'access', _37 => _37.shells, 'optionalAccess', _38 => _38.invalidateTag, 'call', _39 => _39(normalized)]), () => ( 0)));
539
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0,
539
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0,
540
540
  options.source === "updateTag" ? { type: "cache.updateTag", tag: normalized, count } : { type: "cache.revalidateTag", tag: normalized, profile: options.profile, count }
541
541
  );
542
542
  return count;
@@ -545,7 +545,7 @@ var FarmDataCache = class _FarmDataCache {
545
545
  const normalized = normalizeCacheTag(tag);
546
546
  const count = this.invalidateTag(normalized) + (_nullishCoalesce(_optionalChain([this, 'access', _40 => _40.shells, 'optionalAccess', _41 => _41.invalidateTag, 'call', _42 => _42(normalized)]), () => ( 0)));
547
547
  await this.invalidateAdapterTags([this.createAdapterTag(normalized)]);
548
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0,
548
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0,
549
549
  options.source === "updateTag" ? { type: "cache.updateTag", tag: normalized, count } : { type: "cache.revalidateTag", tag: normalized, profile: options.profile, count }
550
550
  );
551
551
  return count;
@@ -555,9 +555,9 @@ var FarmDataCache = class _FarmDataCache {
555
555
  const pathTag = createPathCacheTag(normalizedPath);
556
556
  const pprCount = this.countEntriesForTags([pathTag, "ppr"]) + (_nullishCoalesce(_optionalChain([this, 'access', _43 => _43.shells, 'optionalAccess', _44 => _44.countEntriesForTags, 'call', _45 => _45([pathTag, "ppr"])]), () => ( 0)));
557
557
  const count = this.invalidateTag(pathTag) + (_nullishCoalesce(_optionalChain([this, 'access', _46 => _46.shells, 'optionalAccess', _47 => _47.invalidateTag, 'call', _48 => _48(pathTag)]), () => ( 0)));
558
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.revalidatePath", path: normalizedPath, count });
558
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.revalidatePath", path: normalizedPath, count });
559
559
  if (pprCount > 0) {
560
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
560
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
561
561
  type: "ppr.shell.invalidated",
562
562
  route: normalizedPath,
563
563
  reason: "revalidatePath",
@@ -572,9 +572,9 @@ var FarmDataCache = class _FarmDataCache {
572
572
  const pprCount = this.countEntriesForTags([pathTag, "ppr"]) + (_nullishCoalesce(_optionalChain([this, 'access', _49 => _49.shells, 'optionalAccess', _50 => _50.countEntriesForTags, 'call', _51 => _51([pathTag, "ppr"])]), () => ( 0)));
573
573
  const count = this.invalidateTag(pathTag) + (_nullishCoalesce(_optionalChain([this, 'access', _52 => _52.shells, 'optionalAccess', _53 => _53.invalidateTag, 'call', _54 => _54(pathTag)]), () => ( 0)));
574
574
  await this.invalidateAdapterTags([this.createAdapterTag(pathTag)]);
575
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.revalidatePath", path: normalizedPath, count });
575
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.revalidatePath", path: normalizedPath, count });
576
576
  if (pprCount > 0) {
577
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
577
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
578
578
  type: "ppr.shell.invalidated",
579
579
  route: normalizedPath,
580
580
  reason: "revalidatePath",
@@ -591,14 +591,14 @@ var FarmDataCache = class _FarmDataCache {
591
591
  }
592
592
  const inflight = this.inflight.get(key);
593
593
  if (inflight && !this.wasInvalidatedSince(inflight.tags, inflight.startVersion)) {
594
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.dedupe", key });
594
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.dedupe", key });
595
595
  return inflight.promise;
596
596
  }
597
597
  const tags = Array.from(normalizeCacheOptionsTags(options));
598
598
  const generation = this.generation;
599
599
  const startVersion = this.version;
600
600
  const promise = this.fillCacheEntry(key, producer, options, tags, generation).catch((error) => {
601
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "set", error });
601
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "set", error });
602
602
  throw error;
603
603
  }).finally(() => {
604
604
  if (_optionalChain([this, 'access', _55 => _55.inflight, 'access', _56 => _56.get, 'call', _57 => _57(key), 'optionalAccess', _58 => _58.promise]) === promise) {
@@ -633,7 +633,7 @@ var FarmDataCache = class _FarmDataCache {
633
633
  generation
634
634
  );
635
635
  if (shared) {
636
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.dedupe", key });
636
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.dedupe", key });
637
637
  return shared.value;
638
638
  }
639
639
  if (generation === this.generation) {
@@ -661,7 +661,7 @@ var FarmDataCache = class _FarmDataCache {
661
661
  try {
662
662
  await adapter.releaseLease(leaseKey, leaseToken);
663
663
  } catch (error) {
664
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "set", error });
664
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.error", key, operation: "set", error });
665
665
  }
666
666
  }
667
667
  }
@@ -674,22 +674,22 @@ var FarmDataCache = class _FarmDataCache {
674
674
  const entry = await adapter.get(`${namespace}:entry:${key}`);
675
675
  if (generation !== this.generation) return void 0;
676
676
  if (!entry || isForeignAdapterEntry(entry, key)) {
677
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, ...entry ? { reason: "key-mismatch" } : {} });
677
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, ...entry ? { reason: "key-mismatch" } : {} });
678
678
  continue;
679
679
  }
680
680
  assertFarmCacheEntry(entry, key);
681
681
  const stale = await this.isAdapterEntryStale(entry, Date.now(), adapter, namespace);
682
682
  if (generation !== this.generation) return void 0;
683
683
  if (stale) {
684
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
684
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
685
685
  type: "cache.stale",
686
686
  key,
687
687
  tags: [...entry.tags],
688
688
  revalidate: entry.revalidate
689
689
  });
690
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
690
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, { type: "cache.miss", key, reason: "stale" });
691
691
  } else {
692
- _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
692
+ _chunkPLJMEUANcjs.emitFarmEvent.call(void 0, {
693
693
  type: "cache.hit",
694
694
  key,
695
695
  tags: [...entry.tags],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveIntegrationOrmRuntimeClient
3
- } from "./chunk-VRI43FDN.mjs";
3
+ } from "./chunk-4WXNTAOM.mjs";
4
4
  import {
5
5
  collectSchemaModels,
6
6
  columnTypeFamily,
@@ -17,7 +17,7 @@ import {
17
17
  planSchemaMigration,
18
18
  readSchemaState,
19
19
  withoutRenameTargets
20
- } from "./chunk-ZJGFAW5U.mjs";
20
+ } from "./chunk-YHHOTKUT.mjs";
21
21
  import {
22
22
  collectSchemaExtensions,
23
23
  describeSchemaExtensionApproval,
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-UTUS6JUH.mjs";
26
26
  import {
27
27
  getIntegrationSchemas
28
- } from "./chunk-JKFN3YVG.mjs";
28
+ } from "./chunk-6JWXHPVR.mjs";
29
29
  import {
30
30
  resolveSchemaModels
31
31
  } from "./chunk-F3N52U7S.mjs";
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// package.json
2
- var version = "0.1.78";
2
+ var version = "0.1.80";
3
3
 
4
4
  // src/version.ts
5
5
  var FARM_VERSION = version;
@@ -10,7 +10,7 @@ var _chunkXRFGOYXGcjs = require('./chunk-XRFGOYXG.cjs');
10
10
  var _chunkLQWIIBI2cjs = require('./chunk-LQWIIBI2.cjs');
11
11
 
12
12
 
13
- var _chunkBNCKXPCUcjs = require('./chunk-BNCKXPCU.cjs');
13
+ var _chunkBIAGSYIZcjs = require('./chunk-BIAGSYIZ.cjs');
14
14
 
15
15
 
16
16
 
@@ -138,7 +138,7 @@ function createServerFn(options) {
138
138
  context: resolvedContext,
139
139
  result: parsedResult
140
140
  }) : options.invalidates;
141
- await _chunkBNCKXPCUcjs.applyFarmCacheInvalidationTargets.call(void 0, declaration);
141
+ await _chunkBIAGSYIZcjs.applyFarmCacheInvalidationTargets.call(void 0, declaration);
142
142
  }
143
143
  return parsedResult;
144
144
  };