@farm.js/core 0.1.73 → 0.1.75
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.
- package/dist/{agent-mcp-handler-VBCA3WZ6.cjs → agent-mcp-handler-73SGWVZT.cjs} +9 -9
- package/dist/{agent-mcp-handler-RK7LDYEL.mjs → agent-mcp-handler-PJKZHYSA.mjs} +8 -8
- package/dist/{agent-mcp.d-D_gHjCAE.d.ts → agent-mcp.d-Djvao5eV.d.ts} +24 -2
- package/dist/{agent-mcp.d-PvEf-1mi.d.mts → agent-mcp.d-wA13pwmS.d.mts} +24 -2
- package/dist/agent-runtime.cjs +9 -9
- package/dist/agent-runtime.d.mts +4 -4
- package/dist/agent-runtime.d.ts +4 -4
- package/dist/agent-runtime.mjs +8 -8
- package/dist/analyzer-23GCBYFI.cjs +16 -0
- package/dist/{analyzer-MFYCJT75.mjs → analyzer-LJHMFCDW.mjs} +2 -2
- package/dist/api/client.cjs +4 -4
- package/dist/api/client.d.mts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.mjs +3 -3
- package/dist/api/client.native.cjs +6 -6
- package/dist/api/client.native.d.mts +4 -4
- package/dist/api/client.native.d.ts +4 -4
- package/dist/api/client.native.mjs +3 -3
- package/dist/api/node.cjs +14 -13
- package/dist/api/node.d.mts +6 -6
- package/dist/api/node.d.ts +6 -6
- package/dist/api/node.mjs +13 -12
- package/dist/api/route-manager.cjs +23 -21
- package/dist/api/route-manager.d.mts +9 -7
- package/dist/api/route-manager.d.ts +9 -7
- package/dist/api/route-manager.mjs +22 -20
- package/dist/api/runtime.cjs +13 -12
- package/dist/api/runtime.d.mts +5 -5
- package/dist/api/runtime.d.ts +5 -5
- package/dist/api/runtime.mjs +12 -11
- package/dist/{api-client.d-Bp35zMqR.d.mts → api-client.d-CyVmI4Di.d.mts} +2 -2
- package/dist/{api-client.d-CFI_xL0V.d.ts → api-client.d-DrTM7BdH.d.ts} +2 -2
- package/dist/api.cjs +26 -24
- package/dist/api.d.mts +9 -9
- package/dist/api.d.ts +9 -9
- package/dist/api.mjs +25 -23
- package/dist/{app-manifest.d-BpVTg43i.d.ts → app-manifest.d-BukcP_EV.d.ts} +10 -1
- package/dist/{app-manifest.d-CN7cEWHX.d.mts → app-manifest.d-DIuqSi9k.d.mts} +10 -1
- package/dist/app-markdown.cjs +11 -7
- package/dist/app-markdown.d.mts +6 -6
- package/dist/app-markdown.d.ts +6 -6
- package/dist/app-markdown.mjs +10 -6
- package/dist/{app.d-DO4PTCWm.d.ts → app.d-BQqmM6Gy.d.ts} +55 -4
- package/dist/{app.d-BFWzAdTe.d.mts → app.d-YVuFb10p.d.mts} +55 -4
- package/dist/{base-path.d-BJ3SYpB8.d.mts → base-path.d-m7wvRMnG.d.mts} +15 -1
- package/dist/{base-path.d-BJ3SYpB8.d.ts → base-path.d-m7wvRMnG.d.ts} +15 -1
- package/dist/cache.cjs +2 -2
- package/dist/cache.d.mts +22 -1
- package/dist/cache.d.ts +22 -1
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-JYNNIGQO.cjs → chunk-25JGHAGH.cjs} +11 -1
- package/dist/{chunk-GWXZS7K5.mjs → chunk-2LKUR5QJ.mjs} +1 -1
- package/dist/{chunk-Z3IN6GEX.mjs → chunk-2NQ3S2SJ.mjs} +69 -12
- package/dist/chunk-2PJVEL56.cjs +90 -0
- package/dist/{chunk-HDPT6OYE.cjs → chunk-2RSVYJT6.cjs} +28 -4
- package/dist/{chunk-HGB4PM2C.cjs → chunk-2YJ4DHTD.cjs} +104 -32
- package/dist/{chunk-MGZVDX4R.mjs → chunk-3AJQFVWW.mjs} +3 -3
- package/dist/{chunk-E3HDJCWF.mjs → chunk-3GMD2E4Q.mjs} +3 -3
- package/dist/{chunk-JWY66PID.cjs → chunk-42EUEYW6.cjs} +21 -13
- package/dist/{chunk-255J7K4X.mjs → chunk-47R7CX4A.mjs} +6 -6
- package/dist/chunk-4PWGLPL6.mjs +284 -0
- package/dist/{chunk-7S7AAK2D.mjs → chunk-4QBFYEDC.mjs} +2 -1
- package/dist/{chunk-6O6PAZZR.mjs → chunk-4T2RB4JA.mjs} +5 -5
- package/dist/{chunk-XGTFLG73.cjs → chunk-4VLXQ55O.cjs} +37 -25
- package/dist/{chunk-KTDG4THT.cjs → chunk-4ZSZI6XL.cjs} +17 -17
- package/dist/{chunk-XGJVRPYL.cjs → chunk-52LTENRE.cjs} +3 -3
- package/dist/{chunk-QIXEU2WV.cjs → chunk-5AMH6AFA.cjs} +5 -3
- package/dist/{chunk-AYP2YFVN.mjs → chunk-5KAEGBIL.mjs} +75 -42
- package/dist/{chunk-WW3LRNQV.mjs → chunk-5O3SK3ZC.mjs} +5 -5
- package/dist/{chunk-GPO3LJDJ.cjs → chunk-5QZT2EQN.cjs} +2 -2
- package/dist/{chunk-RLFGKJQ6.mjs → chunk-5WFPZG7K.mjs} +20 -8
- package/dist/chunk-5XD2ULJG.mjs +114 -0
- package/dist/{chunk-4HGLJOXZ.cjs → chunk-62DZHPDK.cjs} +16 -11
- package/dist/{chunk-YXIQYWOK.cjs → chunk-63EFR2WF.cjs} +27 -8
- package/dist/{chunk-2RCCFB2Y.cjs → chunk-6B44ZU5P.cjs} +11 -11
- package/dist/{chunk-HFUOLILA.cjs → chunk-6D3CJFNU.cjs} +37 -21
- package/dist/{chunk-JX5VOLAV.cjs → chunk-6DBBMQWT.cjs} +38 -38
- package/dist/{chunk-FRO4BB2T.mjs → chunk-6MATGOEF.mjs} +1 -1
- package/dist/{chunk-CLEWORVY.cjs → chunk-7564NP5Z.cjs} +40 -43
- package/dist/{chunk-7H45IJWO.mjs → chunk-7DBJ2SWK.mjs} +1 -1
- package/dist/chunk-7E4FDO5X.mjs +265 -0
- package/dist/{chunk-FPBOAG6N.cjs → chunk-7EOSFIPN.cjs} +3 -3
- package/dist/{chunk-ICFPTHXM.mjs → chunk-7FQFK3OA.mjs} +7 -3
- package/dist/{chunk-TUOO6IK3.mjs → chunk-7H2TXT2K.mjs} +11 -1
- package/dist/{chunk-A4PWGL46.mjs → chunk-7KDCVSTR.mjs} +4 -4
- package/dist/{chunk-GPICBTDV.cjs → chunk-7Q2YWZF7.cjs} +6 -6
- package/dist/{chunk-CFG4QERR.cjs → chunk-7Q7UB4TL.cjs} +2 -2
- package/dist/{chunk-GJEC5S4V.mjs → chunk-7VCLTNED.mjs} +1 -1
- package/dist/chunk-A3LNXQJJ.cjs +265 -0
- package/dist/{chunk-IBVN7SW5.mjs → chunk-A5F55ZFA.mjs} +472 -143
- package/dist/{chunk-S6O2L47H.mjs → chunk-AG27TI6Q.mjs} +67 -5
- package/dist/{chunk-DC2AXGNZ.mjs → chunk-AM2M56SL.mjs} +1 -1
- package/dist/{chunk-JRHGJVJH.mjs → chunk-B5QRNCIE.mjs} +1 -1
- package/dist/{chunk-OIP62QEL.mjs → chunk-BGUTIQII.mjs} +24 -9
- package/dist/{chunk-DMAP4RND.cjs → chunk-BNCKXPCU.cjs} +98 -16
- package/dist/{chunk-TDCP3Z4T.cjs → chunk-BNTRXJL4.cjs} +3 -3
- package/dist/{chunk-BPAXGCKX.mjs → chunk-BRNPLD22.mjs} +30 -17
- package/dist/{chunk-JZGL2PIH.mjs → chunk-CDT7CGQT.mjs} +2 -2
- package/dist/{chunk-FEFCISOX.cjs → chunk-CEVXKJKF.cjs} +2 -2
- package/dist/{chunk-YZLEOMMA.mjs → chunk-CF74ABRI.mjs} +10 -10
- package/dist/chunk-CIY74JLV.cjs +134 -0
- package/dist/{chunk-FETMUBIA.mjs → chunk-CLM73YYD.mjs} +2 -2
- package/dist/{chunk-ME7RVELR.mjs → chunk-CSAIIMY3.mjs} +21 -2
- package/dist/{chunk-YAEN3L2F.cjs → chunk-CYNQPKA4.cjs} +23 -4
- package/dist/{chunk-M53MIIXY.mjs → chunk-CZOXZ6WQ.mjs} +1 -1
- package/dist/{chunk-Y2LU4LE5.mjs → chunk-DASQJ5UD.mjs} +2 -2
- package/dist/{chunk-WVQNXXNE.cjs → chunk-DD22NQFX.cjs} +2 -2
- package/dist/{chunk-OBYM5S5G.mjs → chunk-DUSTJ6A5.mjs} +20 -17
- package/dist/{chunk-ZFEJ2SF2.cjs → chunk-DZ3AZ7UK.cjs} +52 -52
- package/dist/{chunk-6YFC3ZFX.mjs → chunk-DZXD6CYJ.mjs} +1 -1
- package/dist/{chunk-AZ6IW6SF.mjs → chunk-EMTN5ABC.mjs} +1 -1
- package/dist/{chunk-AQIO3RNL.mjs → chunk-ERT6HQAI.mjs} +8 -3
- package/dist/{chunk-JDO346NV.mjs → chunk-F35C3TJZ.mjs} +1 -1
- package/dist/{chunk-ODBM54RT.cjs → chunk-F4ID7BGO.cjs} +33 -30
- package/dist/{chunk-C7GJDVN4.mjs → chunk-F7MJWW6A.mjs} +1 -1
- package/dist/{chunk-5OFNUETM.mjs → chunk-FCAYYLAE.mjs} +27 -3
- package/dist/{chunk-PWKAX5MS.cjs → chunk-FDZZ6K3N.cjs} +6 -6
- package/dist/{chunk-MHLNWRCJ.cjs → chunk-FE6KYDHC.cjs} +3 -3
- package/dist/{chunk-PTLXHRJZ.mjs → chunk-FLMALEY2.mjs} +37 -4
- package/dist/{chunk-IHTDLCDJ.cjs → chunk-G7B6NU4X.cjs} +23 -10
- package/dist/{chunk-JZQS3ZOI.mjs → chunk-GAAK3HDZ.mjs} +36 -7
- package/dist/{chunk-QMNWKQL4.cjs → chunk-GC5ROI3A.cjs} +4 -4
- package/dist/{chunk-JXIYH2NO.cjs → chunk-GCJ4GNMC.cjs} +4 -4
- package/dist/{chunk-WX63N6C5.mjs → chunk-GFXKO4UW.mjs} +106 -37
- package/dist/{chunk-CYRIIVD4.mjs → chunk-GLF44JKY.mjs} +3 -3
- package/dist/{chunk-GUZC226X.mjs → chunk-GLVDXRG2.mjs} +1 -1
- package/dist/{chunk-GZOKWJIW.mjs → chunk-GNY7BO7R.mjs} +18 -11
- package/dist/{chunk-OWQV6MLM.cjs → chunk-GYJT2U7J.cjs} +2 -1
- package/dist/{chunk-MBCRWU3P.cjs → chunk-H7OFZJCV.cjs} +8 -8
- package/dist/{chunk-JMOCMXTQ.mjs → chunk-H7QY7ZE4.mjs} +1 -1
- package/dist/{chunk-5LOARKDP.cjs → chunk-HFJLMALC.cjs} +42 -30
- package/dist/{chunk-CROAFCMW.mjs → chunk-HONTCUK6.mjs} +1 -1
- package/dist/{chunk-7PJARAQQ.mjs → chunk-HQ2VAJLW.mjs} +1 -1
- package/dist/{chunk-SVQX5HYW.mjs → chunk-HT2SZKXG.mjs} +92 -10
- package/dist/{chunk-7GMBETHM.mjs → chunk-HV2WZFUW.mjs} +1 -1
- package/dist/{chunk-DMXMIE2C.cjs → chunk-HVJ7IACB.cjs} +15 -7
- package/dist/{chunk-S7MWSFFP.cjs → chunk-IBEHVSU4.cjs} +2 -2
- package/dist/{chunk-QGCSUC5O.mjs → chunk-IDOUCM2X.mjs} +521 -296
- package/dist/{chunk-FN5UEC7I.mjs → chunk-IG2JE6WJ.mjs} +1 -1
- package/dist/{chunk-MQ4DYVFS.cjs → chunk-IIHZ2BEE.cjs} +3 -3
- package/dist/{chunk-TAU3OF5B.cjs → chunk-IK33N2AN.cjs} +1373 -694
- package/dist/{chunk-UVQRMUAR.cjs → chunk-IVBDRAOR.cjs} +1 -1
- package/dist/{chunk-2AFW7673.cjs → chunk-IXO6O2EL.cjs} +8 -7
- package/dist/{chunk-U7VH3Q5E.cjs → chunk-IYFBLWXU.cjs} +56 -25
- package/dist/{chunk-NDDRTFN4.mjs → chunk-J7EUGGTY.mjs} +2 -2
- package/dist/{chunk-UVZMSRHF.mjs → chunk-JA6RML7C.mjs} +3 -3
- package/dist/{chunk-CL52PD6D.cjs → chunk-JHZ6HULQ.cjs} +12 -9
- package/dist/{chunk-HTXKSREF.cjs → chunk-JNZDTE75.cjs} +532 -203
- package/dist/{chunk-VT25ERQK.mjs → chunk-JRBWBMP2.mjs} +24 -5
- package/dist/{chunk-4CTCSKAF.mjs → chunk-K6DXKHFE.mjs} +1 -1
- package/dist/{chunk-AXVRUDMB.cjs → chunk-K6PGK7DC.cjs} +2 -2
- package/dist/{chunk-TY5KCYDE.mjs → chunk-KHS3T3E5.mjs} +20 -8
- package/dist/{chunk-ILQ5DKYF.cjs → chunk-KPYQ32BA.cjs} +2 -2
- package/dist/{chunk-CSLHNBPS.cjs → chunk-KQS27YN7.cjs} +6 -6
- package/dist/{chunk-XI3OXOMK.mjs → chunk-KUXEII7V.mjs} +1 -1
- package/dist/{chunk-CA7DNRHO.cjs → chunk-L6E5BSNU.cjs} +3 -3
- package/dist/{chunk-VNBDN5W2.cjs → chunk-L7Y65BQU.cjs} +128 -59
- package/dist/{chunk-73K53YPP.mjs → chunk-LPXJEZJK.mjs} +30 -14
- package/dist/{chunk-B67CW2LM.mjs → chunk-LQBV2Y37.mjs} +34 -37
- package/dist/chunk-LQWIIBI2.cjs +86 -0
- package/dist/chunk-LXTYJ2HW.mjs +139 -0
- package/dist/{chunk-I4KPA2C6.mjs → chunk-MFU7SXAB.mjs} +10 -2
- package/dist/{chunk-YTVSWXEZ.cjs → chunk-ML4TOUZP.cjs} +76 -43
- package/dist/{chunk-E46NXBNJ.mjs → chunk-NLATR3T3.mjs} +12 -7
- package/dist/{chunk-OXNZUCHN.cjs → chunk-NPGXX7HN.cjs} +37 -37
- package/dist/chunk-NRWEY2CM.mjs +25 -0
- package/dist/{chunk-VPETSSWN.cjs → chunk-NSNQLBHR.cjs} +2 -2
- package/dist/chunk-NU5XLYRN.cjs +139 -0
- package/dist/chunk-NUWUEXUD.mjs +55 -0
- package/dist/{chunk-53EHWHT2.cjs → chunk-O4JYMU5N.cjs} +35 -22
- package/dist/{chunk-TNYC3TYP.mjs → chunk-O7JEFGUV.mjs} +2 -2
- package/dist/{chunk-62ZRA7XU.mjs → chunk-OCLCA3X3.mjs} +1 -1
- package/dist/{chunk-MJEKMT6B.mjs → chunk-OFIFRB62.mjs} +917 -238
- package/dist/{chunk-OB45EAQL.mjs → chunk-OVUU2RCQ.mjs} +4 -3
- package/dist/{chunk-YZK64PZT.cjs → chunk-OZARLCYQ.cjs} +1742 -898
- package/dist/{chunk-W44X6IC2.cjs → chunk-PBJ7MEOV.cjs} +13 -9
- package/dist/{chunk-2W4GNXGX.cjs → chunk-PBQGIA27.cjs} +2 -2
- package/dist/{chunk-B6RBJJ5G.mjs → chunk-PDACTAVX.mjs} +16 -3
- package/dist/{chunk-DQ2DI3Y7.mjs → chunk-PE2LEWXA.mjs} +6 -3
- package/dist/{chunk-LGR7565L.cjs → chunk-PG7J7XYT.cjs} +39 -24
- package/dist/{chunk-MMK4MZUN.mjs → chunk-PKXGFQZS.mjs} +1 -1
- package/dist/{chunk-YBY34UHB.mjs → chunk-PL7MCYYD.mjs} +47 -16
- package/dist/chunk-PWHF2C6A.mjs +134 -0
- package/dist/{chunk-DZHTNSQ5.cjs → chunk-Q2EKSSEG.cjs} +21 -21
- package/dist/{chunk-SPP3EZTJ.cjs → chunk-QDHR54S6.cjs} +139 -69
- package/dist/{chunk-REK6HZSU.mjs → chunk-QGYHE6VJ.mjs} +1565 -721
- package/dist/{chunk-ZOYKJBP5.cjs → chunk-QKW6DLDT.cjs} +2 -2
- package/dist/{chunk-Y5LEPEVH.mjs → chunk-QSLGE2ZC.mjs} +1 -1
- package/dist/{chunk-FSODPZRT.cjs → chunk-QUEYL2WM.cjs} +10 -10
- package/dist/{chunk-ZDAEHG2O.cjs → chunk-QYOAGT3E.cjs} +3 -3
- package/dist/{chunk-CPMME66W.mjs → chunk-R5X7FDOG.mjs} +73 -1
- package/dist/{chunk-O47W53D3.cjs → chunk-RDADQG5S.cjs} +7 -77
- package/dist/chunk-RDSHEHBA.mjs +82 -0
- package/dist/{chunk-C6CUUBY5.cjs → chunk-RHI67C2V.cjs} +5 -5
- package/dist/chunk-RK3YYUX6.cjs +114 -0
- package/dist/{chunk-K3RU5MOR.mjs → chunk-RK4MGL6Q.mjs} +1 -1
- package/dist/{chunk-LRB5OVRT.cjs → chunk-RKQOMG2X.cjs} +2 -2
- package/dist/chunk-RQRTH57V.cjs +82 -0
- package/dist/{chunk-HY6IVQ54.mjs → chunk-S7QEQCVV.mjs} +2 -2
- package/dist/{chunk-EGIY4A7V.cjs → chunk-SFSTZ7TB.cjs} +8 -8
- package/dist/{chunk-4Z3YLMSW.cjs → chunk-SX535SU5.cjs} +12 -12
- package/dist/{chunk-NLBK37HI.cjs → chunk-SXXSQVKK.cjs} +4 -4
- package/dist/{chunk-JZBU7V4D.mjs → chunk-SYPEMXW2.mjs} +126 -56
- package/dist/{chunk-5CFHQ7HM.mjs → chunk-TFEODQLG.mjs} +1 -1
- package/dist/{chunk-3GNVIYPO.cjs → chunk-TZ2YPXLB.cjs} +7 -7
- package/dist/{chunk-OEL5EPOJ.mjs → chunk-UD6KTSJS.mjs} +6 -76
- package/dist/{chunk-2EVESLP3.mjs → chunk-UJIBSFUE.mjs} +4 -4
- package/dist/{chunk-QSTRBKHZ.mjs → chunk-UJWRXBVP.mjs} +2 -2
- package/dist/chunk-UNOXV37V.cjs +55 -0
- package/dist/{chunk-TXE4SAMV.mjs → chunk-UOE6ZZZP.mjs} +1 -1
- package/dist/{chunk-OAEDVXVE.mjs → chunk-URQW27KO.mjs} +14 -6
- package/dist/chunk-VDQZV6BX.mjs +17 -0
- package/dist/chunk-VJ6L7TII.cjs +284 -0
- package/dist/{chunk-TPYAYFMF.cjs → chunk-VJI2LWTL.cjs} +2 -2
- package/dist/chunk-VWIW47FW.cjs +25 -0
- package/dist/{chunk-CKQAQFF6.mjs → chunk-WGNGM6MJ.mjs} +2 -2
- package/dist/{chunk-ROCF6UQD.cjs → chunk-WHCNJVYU.cjs} +74 -17
- package/dist/{chunk-4YHGQDTT.cjs → chunk-WJ5CCQBM.cjs} +35 -28
- package/dist/chunk-WKVYF2B5.cjs +17 -0
- package/dist/{chunk-5PDMBWAF.cjs → chunk-WRWJ7IWT.cjs} +7 -7
- package/dist/{chunk-ACGBXN3U.cjs → chunk-WW62HKA2.cjs} +55 -26
- package/dist/{chunk-XVSBALOY.cjs → chunk-X3Y6JWJG.cjs} +3 -3
- package/dist/{chunk-PXAHSCR6.cjs → chunk-XGDI4OUB.cjs} +103 -21
- package/dist/{chunk-4P5634G6.cjs → chunk-XRFGOYXG.cjs} +16 -11
- package/dist/{chunk-42KMUIWZ.cjs → chunk-XX6ZA2IO.cjs} +3 -3
- package/dist/{chunk-6IOZPJ3I.cjs → chunk-Y3DO7BIJ.cjs} +69 -7
- package/dist/{chunk-L5JDKFMQ.cjs → chunk-YBXIVQCE.cjs} +4 -4
- package/dist/{chunk-462MUII7.mjs → chunk-YCNKS6SD.mjs} +12 -12
- package/dist/{chunk-XUSJVHHD.cjs → chunk-YL7BKHYE.cjs} +935 -710
- package/dist/{chunk-7PPLTD3P.cjs → chunk-YN7G22MP.cjs} +6 -6
- package/dist/{chunk-TU6VAH4V.cjs → chunk-YRXPDKMM.cjs} +10 -10
- package/dist/{chunk-IXZSBO76.mjs → chunk-YSTKSZD2.mjs} +1 -1
- package/dist/{chunk-QDWMCFTH.mjs → chunk-YT2ZMLXK.mjs} +1 -1
- package/dist/{chunk-QEJWNXRI.cjs → chunk-YTNE4KGC.cjs} +3 -3
- package/dist/{chunk-E7QOEV5Z.cjs → chunk-YUCU6XB4.cjs} +4 -4
- package/dist/{chunk-NLRAQXAA.mjs → chunk-YVVY276M.mjs} +1 -1
- package/dist/{chunk-SUQACHER.mjs → chunk-Z2FFLTF5.mjs} +3 -3
- package/dist/{chunk-JSDV2NUN.mjs → chunk-Z3QXQN4U.mjs} +1 -1
- package/dist/{chunk-EYPSKXO4.mjs → chunk-Z4IRG4RG.mjs} +96 -9
- package/dist/{chunk-GJ7QVFAG.mjs → chunk-ZEWWZJPZ.mjs} +3 -1
- package/dist/chunk-ZIAWO6BC.mjs +86 -0
- package/dist/{chunk-JWLRBDDC.cjs → chunk-ZIOFRBIU.cjs} +100 -13
- package/dist/{chunk-3OJNNCDL.cjs → chunk-ZNXU4E6A.cjs} +8 -8
- package/dist/{chunk-RLEALQEN.mjs → chunk-ZO6TOLHL.mjs} +87 -5
- package/dist/{chunk-KDOZORJD.cjs → chunk-ZPCZWEU3.cjs} +24 -24
- package/dist/{chunk-QKEZLYON.cjs → chunk-ZV76IQG7.cjs} +2 -2
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/{client-component.d-C71rMuHF.d.mts → client-component.d-BeqVuqy2.d.mts} +80 -3
- package/dist/{client-component.d-sF-Znk0j.d.ts → client-component.d-CZ1NpHAY.d.ts} +80 -3
- package/dist/{client-plugins.d-B-Gd9mWR.d.mts → client-plugins.d-ChceYO9t.d.mts} +42 -8
- package/dist/{client-plugins.d-MFibjgBg.d.ts → client-plugins.d-D9kWC0QB.d.ts} +42 -8
- package/dist/client-plugins.d.mts +4 -4
- package/dist/client-plugins.d.ts +4 -4
- package/dist/client.cjs +17 -14
- package/dist/client.d.mts +11 -11
- package/dist/client.d.ts +11 -11
- package/dist/client.mjs +16 -13
- package/dist/config.d.mts +4 -4
- package/dist/config.d.ts +4 -4
- package/dist/cron.cjs +8 -4
- package/dist/cron.d.mts +11 -2
- package/dist/cron.d.ts +11 -2
- package/dist/cron.mjs +9 -5
- package/dist/desktop.d.mts +5 -5
- package/dist/desktop.d.ts +5 -5
- package/dist/{devtools-TDIJ6HVC.mjs → devtools-B3W3DLPG.mjs} +20 -19
- package/dist/{devtools-6K4QXFRL.cjs → devtools-T5I2WHRX.cjs} +22 -21
- package/dist/docs.cjs +29 -22
- package/dist/docs.d.mts +20 -6
- package/dist/docs.d.ts +20 -6
- package/dist/docs.mjs +28 -21
- package/dist/{endpoint.d-BkMSCRf6.d.mts → endpoint.d-BXbBpKoh.d.mts} +42 -1
- package/dist/{endpoint.d-BgHn0lhl.d.ts → endpoint.d-Dx_1k6Du.d.ts} +42 -1
- package/dist/environment/vite.cjs +6 -6
- package/dist/environment/vite.mjs +5 -5
- package/dist/headers.cjs +3 -3
- package/dist/{headers.d-uQ6BR59u.d.ts → headers.d-Aux4JVnm.d.ts} +1 -1
- package/dist/{headers.d-BUxGJTsj.d.mts → headers.d-BawakaPv.d.mts} +1 -1
- package/dist/headers.mjs +2 -2
- package/dist/i18n/client.cjs +15 -16
- package/dist/i18n/client.mjs +5 -6
- package/dist/i18n/index.cjs +4 -4
- package/dist/i18n/index.mjs +3 -3
- package/dist/i18n/server.cjs +5 -5
- package/dist/i18n/server.mjs +4 -4
- package/dist/image/server.cjs +5 -4
- package/dist/image/server.d.mts +5 -1
- package/dist/image/server.d.ts +5 -1
- package/dist/image/server.mjs +4 -3
- package/dist/image/sharp.cjs +53 -89
- package/dist/image/sharp.d.mts +2 -1
- package/dist/image/sharp.d.ts +2 -1
- package/dist/image/sharp.mjs +50 -86
- package/dist/index.cjs +113 -96
- package/dist/{index.d-CuWOJ-un.d.mts → index.d-Ccq42CPU.d.mts} +1 -1
- package/dist/{index.d-BCGfxCXY.d.ts → index.d-r1MLpgeE.d.ts} +1 -1
- package/dist/index.d.mts +64 -30
- package/dist/index.d.ts +64 -30
- package/dist/index.mjs +111 -94
- package/dist/integrations/orm.d.mts +4 -4
- package/dist/integrations/orm.d.ts +4 -4
- package/dist/integrations.cjs +9 -9
- package/dist/integrations.d.mts +4 -4
- package/dist/integrations.d.ts +4 -4
- package/dist/integrations.mjs +8 -8
- package/dist/internal/app-markdown-runtime.cjs +10 -6
- package/dist/internal/app-markdown-runtime.d.mts +17 -6
- package/dist/internal/app-markdown-runtime.d.ts +17 -6
- package/dist/internal/app-markdown-runtime.mjs +9 -5
- package/dist/internal/build-runtime.cjs +71 -67
- package/dist/internal/build-runtime.d.mts +6 -6
- package/dist/internal/build-runtime.d.ts +6 -6
- package/dist/internal/build-runtime.mjs +70 -66
- package/dist/internal/cli-runtime.cjs +35 -34
- package/dist/internal/cli-runtime.mjs +34 -33
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +28 -3
- package/dist/internal/client-runtime.d.mts +45 -12
- package/dist/internal/client-runtime.d.ts +45 -12
- package/dist/internal/client-runtime.mjs +28 -3
- package/dist/internal/compression-runtime.d.mts +4 -4
- package/dist/internal/compression-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.cjs +22 -21
- package/dist/internal/config-runtime.d.mts +6 -6
- package/dist/internal/config-runtime.d.ts +6 -6
- package/dist/internal/config-runtime.mjs +21 -20
- package/dist/internal/form-actions.cjs +7 -6
- package/dist/internal/form-actions.d.mts +2 -2
- package/dist/internal/form-actions.d.ts +2 -2
- package/dist/internal/form-actions.mjs +6 -5
- package/dist/internal/infra-analytics-runtime.cjs +15 -15
- package/dist/internal/infra-analytics-runtime.mjs +13 -13
- package/dist/internal/islands-server.cjs +2 -2
- package/dist/internal/islands-server.mjs +1 -1
- package/dist/internal/metadata-image-runtime.cjs +4 -4
- package/dist/internal/metadata-image-runtime.mjs +3 -3
- package/dist/internal/native-server-fns.cjs +5 -5
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +73 -40
- package/dist/internal/production-runtime.d.mts +133 -15
- package/dist/internal/production-runtime.d.ts +133 -15
- package/dist/internal/production-runtime.mjs +76 -43
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/start-manifest.cjs +54 -0
- package/dist/internal/start-manifest.d.mts +43 -0
- package/dist/internal/start-manifest.d.ts +43 -0
- package/dist/internal/start-manifest.mjs +54 -0
- package/dist/internal/vercel-edge-middleware.cjs +8 -8
- package/dist/internal/vercel-edge-middleware.mjs +7 -7
- package/dist/{lifecycle.d-keQs5Swc.d.mts → lifecycle.d-OtGWAvJT.d.mts} +4 -0
- package/dist/{lifecycle.d-keQs5Swc.d.ts → lifecycle.d-OtGWAvJT.d.ts} +4 -0
- package/dist/manager-R7FV4A56.cjs +18 -0
- package/dist/{manager-JIA66YJ2.mjs → manager-YO2RHDYU.mjs} +7 -4
- package/dist/markdown.cjs +5 -5
- package/dist/markdown.d.mts +4 -4
- package/dist/markdown.d.ts +4 -4
- package/dist/markdown.mjs +4 -4
- package/dist/middleware.cjs +14 -14
- package/dist/middleware.d.mts +4 -4
- package/dist/middleware.d.ts +4 -4
- package/dist/middleware.mjs +13 -13
- package/dist/{mount.d-BIYmcGGg.d.mts → mount.d-BomEt2kV.d.mts} +1 -1
- package/dist/{mount.d-q8k0cJV0.d.ts → mount.d-Ca8eb9GB.d.ts} +1 -1
- package/dist/{native-server-fn-handler-QRTXGZA4.cjs → native-server-fn-handler-IWNKQEXK.cjs} +10 -8
- package/dist/{native-server-fn-handler-EP5AFJYE.mjs → native-server-fn-handler-LII4MDRR.mjs} +9 -7
- package/dist/native-tree-D3PW64ZL.cjs +28 -0
- package/dist/{native-tree-OYGKP2NZ.mjs → native-tree-G6ZWS7IR.mjs} +5 -5
- package/dist/{navigation-delegate.d-CYBUupsv.d.mts → navigation-delegate.d-B1ujRkYo.d.mts} +1 -1
- package/dist/{navigation-delegate.d-Btfs6Uoa.d.ts → navigation-delegate.d-DJCC2jXF.d.ts} +1 -1
- package/dist/navigation.cjs +13 -11
- package/dist/navigation.d.mts +7 -7
- package/dist/navigation.d.ts +7 -7
- package/dist/navigation.mjs +12 -10
- package/dist/{nitro-2LMOMIST.cjs → nitro-HKMVYIXY.cjs} +13 -13
- package/dist/{nitro-72TFIGGO.mjs → nitro-RHLKLYXH.mjs} +8 -8
- package/dist/{plugin-5PIQQVRP.cjs → plugin-5BNPYCER.cjs} +2 -2
- package/dist/{plugin-QZT747YW.mjs → plugin-FD4S2QEJ.mjs} +1 -1
- package/dist/plugin.cjs +65 -60
- package/dist/plugin.d.mts +7 -7
- package/dist/plugin.d.ts +7 -7
- package/dist/plugin.mjs +64 -59
- package/dist/query/client.cjs +20 -9
- package/dist/query/client.mjs +16 -5
- package/dist/{render-plan.d-0FHusf1D.d.ts → render-plan.d-BxRbaxYA.d.ts} +1 -1
- package/dist/{render-plan.d-BlyxqKMu.d.mts → render-plan.d-CFod_Zf-.d.mts} +1 -1
- package/dist/renderer/react/server.cjs +9 -1
- package/dist/renderer/react/server.d.mts +9 -1
- package/dist/renderer/react/server.d.ts +9 -1
- package/dist/renderer/react/server.mjs +8 -0
- package/dist/renderer-client.cjs +25 -26
- package/dist/renderer-client.d.mts +7 -7
- package/dist/renderer-client.d.ts +7 -7
- package/dist/renderer-client.mjs +15 -16
- package/dist/request.cjs +2 -2
- package/dist/{request.d-CPdVjssg.d.ts → request.d-DG4TeXMM.d.mts} +14 -2
- package/dist/{request.d-CX-gks1l.d.mts → request.d-DRQgaXGG.d.ts} +14 -2
- package/dist/request.d.mts +5 -5
- package/dist/request.d.ts +5 -5
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-CcvZ_4N2.d.mts → route-rendering.d-BXtZKgqu.d.mts} +1 -1
- package/dist/{route-rendering.d-DcOoSNoG.d.ts → route-rendering.d-Db07UNVG.d.ts} +1 -1
- package/dist/{route.d-DrXkpvcg.d.mts → route.d-Cd4Fi6BA.d.ts} +3 -1
- package/dist/{route.d-hs-_cyHn.d.ts → route.d-ShmtqqVQ.d.mts} +3 -1
- package/dist/router.cjs +4 -4
- package/dist/{router.d-C8RHma4A.d.mts → router.d-B61kXqxJ.d.mts} +1 -1
- package/dist/{router.d-D2QnK8cM.d.ts → router.d-BC3hyjf0.d.ts} +1 -1
- package/dist/router.mjs +3 -3
- package/dist/routes.cjs +7 -5
- package/dist/routes.d.mts +4 -4
- package/dist/routes.d.ts +4 -4
- package/dist/routes.mjs +6 -4
- package/dist/{rsc-pipeline-LC2FBZAR.mjs → rsc-pipeline-LJ7YCGY6.mjs} +24 -23
- package/dist/{rsc-pipeline-NTAM65NT.cjs → rsc-pipeline-VENBFYXW.cjs} +25 -24
- package/dist/{runtime-MWAC7NWR.mjs → runtime-4DWUXZHS.mjs} +29 -29
- package/dist/{runtime-U4PAMTVH.cjs → runtime-UNDTYGQS.cjs} +40 -40
- package/dist/{runtime.d-BQUHHq8M.d.mts → runtime.d-Cl6EBGmC.d.mts} +3 -3
- package/dist/{runtime.d-1l_1bLrL.d.ts → runtime.d-SC95yDzr.d.ts} +3 -3
- package/dist/safe-fetch.cjs +15 -0
- package/dist/safe-fetch.d.mts +61 -0
- package/dist/safe-fetch.d.ts +61 -0
- package/dist/safe-fetch.mjs +15 -0
- package/dist/{schema-dev-notice-C2JINRZI.mjs → schema-dev-notice-CA55V57L.mjs} +2 -2
- package/dist/{schema-dev-notice-X7GG7QVB.cjs → schema-dev-notice-RWA2UTR6.cjs} +3 -3
- package/dist/server-action-security.cjs +7 -5
- package/dist/server-action-security.d.mts +11 -3
- package/dist/server-action-security.d.ts +11 -3
- package/dist/server-action-security.mjs +6 -4
- package/dist/server-fn-client.d.mts +3 -3
- package/dist/server-fn-client.d.ts +3 -3
- package/dist/server-fn.cjs +9 -7
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-fn.mjs +8 -6
- package/dist/server-plugins.cjs +8 -8
- package/dist/server-plugins.d.mts +53 -9
- package/dist/server-plugins.d.ts +53 -9
- package/dist/server-plugins.mjs +7 -7
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.cjs +10 -8
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server-query.mjs +9 -7
- package/dist/server.cjs +105 -103
- package/dist/server.d.mts +17 -17
- package/dist/server.d.ts +17 -17
- package/dist/server.mjs +78 -76
- package/dist/{spa-router.d-BzPdi48R.d.mts → spa-router.d-DrlXgDqY.d.mts} +13 -6
- package/dist/{spa-router.d-BJtXNeqo.d.ts → spa-router.d-DwM02Mwd.d.ts} +13 -6
- package/dist/testing.cjs +34 -32
- package/dist/testing.d.mts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.mjs +26 -24
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/{utils.d-DquC6qxy.d.ts → utils.d-C6KXz3uB.d.ts} +1 -1
- package/dist/{utils.d-B4ZW-6z6.d.mts → utils.d-CHzxAshz.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +65 -60
- package/dist/vite.d.mts +18 -8
- package/dist/vite.d.ts +18 -8
- package/dist/vite.mjs +64 -59
- package/dist/workflows.cjs +7 -7
- package/dist/workflows.mjs +6 -6
- package/package.json +18 -1
- package/dist/analyzer-V5ZMRIIY.cjs +0 -16
- package/dist/chunk-6I4BFRE7.cjs +0 -51
- package/dist/chunk-D4XGKF67.cjs +0 -127
- package/dist/chunk-EIVGPQN5.mjs +0 -51
- package/dist/chunk-MFQGU5CC.mjs +0 -127
- package/dist/chunk-NCIAP562.mjs +0 -27
- package/dist/chunk-QQ44FYRO.cjs +0 -27
- package/dist/chunk-RI3EVPKD.cjs +0 -57
- package/dist/manager-JOHU6BQI.cjs +0 -15
- package/dist/native-tree-R6CQMDTI.cjs +0 -28
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
export { c as applyFarmBasePath, m as markLayoutPosition, d as markPagePosition, n as normalizeFarmTrailingSlashPathname, e as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath, t as toFarmTrailingSlashPageRequest } from '../base-path.d-m7wvRMnG.js';
|
|
1
2
|
export { _runWithAfterRequest } from '../after.js';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { a as FarmAppManifestServer } from '../app-manifest.d-BukcP_EV.js';
|
|
4
|
+
export { c as createFarmAppManifestResponse } from '../app-manifest.d-BukcP_EV.js';
|
|
5
|
+
import { H as HeaderConfig, em as RedirectConfig, er as RewriteConfig, aO as ResolvedFarmConfig, dm as FarmIntegrationsUserConfig, bh as StaticPathParams, ep as ResolvedFarmMCPConfig, bo as FarmMCPServerRegistration, fA as FarmLlmsTxtLink, fB as FarmRegisteredMCPServer, F as FarmPlugin, aP as FarmConfig, aV as FarmContextFactoryInput } from '../client-plugins.d-D9kWC0QB.js';
|
|
6
|
+
export { c1 as FarmAgentCrawlers, fC as FarmAgentSitemapUserConfig, fD as FarmLlmsTxtUserConfig, fE as ResolvedFarmAgentCrawlers, fF as ResolvedFarmAgentSitemap, fG as ResolvedFarmLlmsTxtConfig, fH as applyFarmCspNonceToResponse, fI as collectFarmLlmsTxtPages, fJ as createFarmAgentRobots, fK as createFarmCspNonce, fL as createFarmDefaultLlmsTxt, fM as createFarmDefaultSitemap, fN as createFarmLlmsFullRenderer, fO as createFarmLlmsMarkdownReader, fP as createFarmMetadataRouteResponse, bL as createFarmSearchParams, J as getFarmRedirectError, K as isFarmNotFoundError, fQ as isFarmPageNoIndex, N as isFarmRedirectError, fR as manageFarmDocumentPreloads, fS as manageFarmHtmlPreloads, fT as manageFarmLinkHeaderPreloads, fU as readFarmLlmsMarkdownFrom, br as registerFarmMCPServer, fV as renderFarmLlmsFullTxt, fW as reportFarmPreloadWarnings, fX as resolveFarmAgentCrawlers, fY as resolveFarmAgentOrigin, fZ as resolveFarmAgentSitemap, f_ as resolveFarmLlmsTxtConfig, f$ as resolveFarmSecurityConfig, bM as searchParamsToObject, g0 as stampFarmCspNonce } from '../client-plugins.d-D9kWC0QB.js';
|
|
5
7
|
import { o as MiddlewareMatcher } from '../types.d-xCIhyjOq.js';
|
|
6
|
-
export { m as mergeRouteRenderingDirectiveConfig, r as resolveRouteSharedCacheControl } from '../route-rendering.d-
|
|
8
|
+
export { m as mergeRouteRenderingDirectiveConfig, r as resolveRouteSharedCacheControl } from '../route-rendering.d-Db07UNVG.js';
|
|
7
9
|
import { R as ResolvedFarmServerConfig } from '../server-http.d-rAe7lAQc.js';
|
|
8
10
|
export { F as FarmServerConfig, e as bufferFarmRequestBody, f as cloneFarmRequestWithContext, c as createFarmNodeRequestAbortSignal, g as createFarmRequestBodyErrorResponse, m as matchesFarmIfNoneMatch, r as readFarmRequestBody, h as readNodeRequestBody, i as resolveFarmServerConfig } from '../server-http.d-rAe7lAQc.js';
|
|
9
11
|
export { _registerFarmStorageModules, disposeStorage as disposeFarmStorage, initStorage as initFarmStorage } from '../storage.js';
|
|
10
|
-
export { _ as
|
|
12
|
+
export { _ as _getRequestCookieReadCount, a as _getRequestReadCount, b as _runWithCurrentRequest, c as _runWithFarmCspNonce, d as _withFarmTrustedProxyOrigin, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request.d-DRQgaXGG.js';
|
|
13
|
+
import { a as FarmDefaultMCPPage, b as FarmDefaultMCPI18n } from '../agent-mcp.d-Djvao5eV.js';
|
|
14
|
+
export { _ as _setFarmSearchPreserveRoutes, d as addMetadataImageReference, e as addMetadataMarkdownAlternate, f as collectFarmDefaultMCPPages, m as mergeMetadata, g as mergeModuleViewport, r as renderMetadataHead, h as renderViewportHead, i as resolveFarmDefaultMCPServer, j as resolveFarmNotFoundMetadata, k as resolveMetadataTitle } from '../agent-mcp.d-Djvao5eV.js';
|
|
11
15
|
export { f as fetchFarmExternalRewrite } from '../response.d-B_MtBCnF.js';
|
|
12
16
|
import { A as APIRequestRuntime } from '../server-client-bridge.d-DKWDl5NB.js';
|
|
13
17
|
export { configureFarmCache, createFarmCacheKey, getFarmDataCache, normalizeRevalidatePath } from '../cache.js';
|
|
@@ -15,8 +19,6 @@ import { R as ResolvedFarmI18nConfig, n as FarmI18nUserConfig } from '../types.d
|
|
|
15
19
|
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver.d-yaHcGCCG.js';
|
|
16
20
|
import { F as FarmLocalePathConfig } from '../routing.d-BhPgtN_S.js';
|
|
17
21
|
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../routing.d-BhPgtN_S.js';
|
|
18
|
-
import { F as FarmDefaultMCPPage, a as FarmDefaultMCPI18n } from '../agent-mcp.d-D_gHjCAE.js';
|
|
19
|
-
export { b as addMetadataImageReference, d as addMetadataMarkdownAlternate, e as collectFarmDefaultMCPPages, m as mergeMetadata, f as mergeModuleViewport, r as renderMetadataHead, g as renderViewportHead, h as resolveFarmDefaultMCPServer, i as resolveFarmNotFoundMetadata, j as resolveMetadataTitle } from '../agent-mcp.d-D_gHjCAE.js';
|
|
20
22
|
export { _ as _hasPrivateFarmRequestHeaders, b as _withFarmDeploymentCookie, d as _withFarmGuardedResponseCache, a as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner } from '../production-runtime.d-qPj3XRET.js';
|
|
21
23
|
export { FARM_DEPLOYMENT_ID_HEADER, createFarmDeploymentMismatchResponse, getFarmDeploymentMismatch, withoutFarmDeploymentCookie } from '../deployment.js';
|
|
22
24
|
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData } from '../server.d-C5FFrZAo.js';
|
|
@@ -24,16 +26,16 @@ export { J as configureFarmObservability, L as emitFarmEvent, R as runWithFarmRe
|
|
|
24
26
|
export { f as createFarmInstrumentationLifecycle, r as resolveFarmInstrumentationRuntime } from '../instrumentation-runtime.d-CX9Zh-16.js';
|
|
25
27
|
export { _setDefaultFarmThemeConfig, getTheme } from '../theme/server.js';
|
|
26
28
|
import { c as FarmThemeRuntime, d as FarmThemeConfig, R as ResolvedFarmThemeConfig, a as FarmThemePreference } from '../types.d-DQnyD3VD.js';
|
|
27
|
-
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-
|
|
28
|
-
export { c as applyFarmBasePath, n as normalizeFarmTrailingSlashPathname, r as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath, t as toFarmTrailingSlashPageRequest } from '../base-path.d-BJ3SYpB8.js';
|
|
29
|
+
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-C6KXz3uB.js';
|
|
29
30
|
export { isDeferred, prepareDeferredData, snapshotDeferredData } from '../deferred.js';
|
|
30
31
|
export { _ as _checkFarmMobileShellRoute, d as _isFarmMobileShellRenderRequest } from '../shell-render.d-CG6bPiiA.js';
|
|
31
32
|
export { getFarmFormState, handleFarmFormActionRequest, renderFarmFormStateScript } from './form-actions.js';
|
|
32
|
-
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-
|
|
33
|
+
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-BxRbaxYA.js';
|
|
34
|
+
import 'react';
|
|
33
35
|
import 'node:http';
|
|
34
|
-
import '../lifecycle.d-
|
|
35
|
-
import '../route.d-
|
|
36
|
-
import '../endpoint.d-
|
|
36
|
+
import '../lifecycle.d-OtGWAvJT.js';
|
|
37
|
+
import '../route.d-Cd4Fi6BA.js';
|
|
38
|
+
import '../endpoint.d-Dx_1k6Du.js';
|
|
37
39
|
import '../renderer.js';
|
|
38
40
|
import 'http';
|
|
39
41
|
import '../server-fn.js';
|
|
@@ -43,7 +45,6 @@ import '../types.d-BnIqOn9w.js';
|
|
|
43
45
|
import 'db0';
|
|
44
46
|
import 'unstorage';
|
|
45
47
|
import '../schema.d-Dny9pnrm.js';
|
|
46
|
-
import 'react';
|
|
47
48
|
import '@farming-labs/orm';
|
|
48
49
|
import '@farming-labs/docs';
|
|
49
50
|
import '../workflows.js';
|
|
@@ -214,11 +215,72 @@ declare function createFarmLayoutSelector<T extends {
|
|
|
214
215
|
pattern: string;
|
|
215
216
|
}>(layouts: readonly T[], resolveRouteDirectory?: (pathname: string) => string | null | undefined): (pathname: string, routeDirectory?: string | null) => T[];
|
|
216
217
|
|
|
218
|
+
/** The renderer's server runtime, or React itself: anything that creates elements. */
|
|
219
|
+
interface FarmElementFactory {
|
|
220
|
+
createElement(type: any, props?: any, ...children: any[]): unknown;
|
|
221
|
+
}
|
|
222
|
+
interface FarmDocsLayout {
|
|
223
|
+
pattern: string;
|
|
224
|
+
/** The layout module's default export; a layout without one is skipped. */
|
|
225
|
+
Component: unknown;
|
|
226
|
+
shouldHydrate?: boolean;
|
|
227
|
+
islandStrategy?: string | null;
|
|
228
|
+
/** Islands mode: a layout around a client provider, rendered as a server tree. */
|
|
229
|
+
serverTree?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* A layout whose client components are islands of their own (its plan's
|
|
232
|
+
* `hasIsolatedClientBoundaries`): in islands mode, with `isolatedClientHydration`, or async.
|
|
233
|
+
*/
|
|
234
|
+
islands?: boolean;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* The element a layout renders in. A layout chain that hydrates is drawn the same way by the
|
|
238
|
+
* browser (createFarmLayoutElement, document-layout-client.ts), without a key.
|
|
239
|
+
*/
|
|
240
|
+
declare function createFarmLayoutBoundary(runtime: FarmElementFactory, pattern: string, key: string | undefined, element: unknown): unknown;
|
|
241
|
+
/**
|
|
242
|
+
* Whether these layouts wrap the docs page: one hydrates, or one's client components are islands
|
|
243
|
+
* of their own, as on an app page. Otherwise the docs runtime's document is sent as is.
|
|
244
|
+
*/
|
|
245
|
+
declare function farmDocsLayoutsWrapPage(layouts: readonly Omit<FarmDocsLayout, "Component">[]): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* The docs page in the place of an app page: its HTML inside the page boundary, and each layout
|
|
248
|
+
* around it in its boundary, root first in `layouts`. When a layout hydrates, the chain is one
|
|
249
|
+
* client root the browser draws, unkeyed, and a server-tree layout renders as its tree
|
|
250
|
+
* (`renderServerTreeLayout`) with the docs page at its outlet. Otherwise the layouts' client
|
|
251
|
+
* components are islands and each boundary takes its segment key (`layoutKey`, islands mode). The
|
|
252
|
+
* caller wraps a hydrating chain in its client graph, as for an app page.
|
|
253
|
+
*/
|
|
254
|
+
declare function createFarmDocsLayoutTree(runtime: FarmElementFactory, options: {
|
|
255
|
+
pageHtml: string;
|
|
256
|
+
layouts: readonly FarmDocsLayout[];
|
|
257
|
+
params: Record<string, string>;
|
|
258
|
+
renderServerTreeLayout?: (Layout: unknown, props: {
|
|
259
|
+
params: Record<string, string>;
|
|
260
|
+
}, outlets: {
|
|
261
|
+
children: unknown;
|
|
262
|
+
}, pattern: string) => unknown;
|
|
263
|
+
layoutKey?: (pattern: string) => string | undefined;
|
|
264
|
+
}): Promise<unknown>;
|
|
265
|
+
/**
|
|
266
|
+
* The rendered `<div id="root">` for the docs document's body. A root layout that renders the
|
|
267
|
+
* document gives #root its body, as on an app page (ensureFarmDocumentRoot), and the browser draws
|
|
268
|
+
* the layout's body content there without a boundary (createFarmLayoutElement). The docs runtime
|
|
269
|
+
* keeps its own document.
|
|
270
|
+
*/
|
|
271
|
+
declare function placeFarmDocsLayoutRoot(rootMarkup: string): string;
|
|
272
|
+
|
|
217
273
|
/**
|
|
218
274
|
* Whether a page directory sits inside a group scope. A null scope covers every page;
|
|
219
275
|
* a missing directory (no page matched) is inside no group.
|
|
220
276
|
*/
|
|
221
277
|
declare function isInRouteGroupScope(directory: string | null | undefined, scope: string | null): boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Build-time check that a layout or boundary pattern covers a page, given the page's
|
|
280
|
+
* directory pattern. Ungrouped patterns keep the URL-prefix rule; a grouped one must
|
|
281
|
+
* also contain the page.
|
|
282
|
+
*/
|
|
283
|
+
declare function routeBoundaryCoversDirectory(boundaryPattern: string, directory: string): boolean;
|
|
222
284
|
|
|
223
285
|
/**
|
|
224
286
|
* Static path materialization for SSG routes: `generateStaticParams()` values to URL paths.
|
|
@@ -369,6 +431,12 @@ interface FarmLocaleAlternateLinkOptions {
|
|
|
369
431
|
* authority headers count). Used when no usable `metadataBase` is set.
|
|
370
432
|
*/
|
|
371
433
|
origin?: string;
|
|
434
|
+
/**
|
|
435
|
+
* The page's own `metadata.alternates.languages`. A page that lists its language versions owns
|
|
436
|
+
* its hreflang links, so Farm adds none of its own: two links for one language with different
|
|
437
|
+
* URLs read as conflicting to search engines.
|
|
438
|
+
*/
|
|
439
|
+
languages?: unknown;
|
|
372
440
|
}
|
|
373
441
|
/**
|
|
374
442
|
* Render `<link rel="alternate" hreflang>` tags for every configured locale plus
|
|
@@ -474,6 +542,56 @@ declare function listFarmMCPLlmsTxtLinks(origin: string, input?: FarmAiCatalogIn
|
|
|
474
542
|
*/
|
|
475
543
|
declare function createFarmAiCatalogResponse(request: Request, input?: FarmAiCatalogInput, requestUrl?: URL): Response | null;
|
|
476
544
|
|
|
545
|
+
/**
|
|
546
|
+
* MCP servers that a docs runtime serves inside the app and lists with `registerFarmMCPServer`,
|
|
547
|
+
* seen the way Farm sees the servers `@farm.js/mcp` mounts: the manifest lists their tools,
|
|
548
|
+
* and each tool call they answer emits `mcp.tool.complete`. Farm asks and watches over MCP
|
|
549
|
+
* itself, in process, so the runtime needs no Farm-specific hooks.
|
|
550
|
+
*
|
|
551
|
+
* Kept free of Node built-ins: the production server runs on edge runtimes too.
|
|
552
|
+
*/
|
|
553
|
+
|
|
554
|
+
type Handle = (request: Request) => Promise<Response | null>;
|
|
555
|
+
type RequestId = string | number;
|
|
556
|
+
type ServedServer = FarmRegisteredMCPServer & {
|
|
557
|
+
readonly path: string;
|
|
558
|
+
};
|
|
559
|
+
/** The tools/call requests in one POST to a registered MCP server, and when it arrived. */
|
|
560
|
+
interface FarmRegisteredMCPCalls {
|
|
561
|
+
readonly server: ServedServer;
|
|
562
|
+
readonly calls: readonly {
|
|
563
|
+
readonly id: RequestId;
|
|
564
|
+
readonly tool: string;
|
|
565
|
+
}[];
|
|
566
|
+
readonly startedAt: number;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* @internal The tools/call requests in a POST to the docs handler for one of its registered MCP
|
|
570
|
+
* servers (see servedAt), read from a clone so `request` keeps its body. Anything else, including a body that isn't JSON-RPC or is
|
|
571
|
+
* larger than 1 MiB, is not observed.
|
|
572
|
+
*/
|
|
573
|
+
declare function _readFarmRegisteredMCPCalls(request: Request, basePath: string | undefined): Promise<FarmRegisteredMCPCalls | undefined>;
|
|
574
|
+
/**
|
|
575
|
+
* @internal Hands back `response` for sending, and emits `mcp.tool.complete` for each observed
|
|
576
|
+
* call it answers with a result: `error` when the result says `isError`. A JSON-RPC error means
|
|
577
|
+
* the tool never ran (an unknown name, invalid arguments), and a call the response never answers
|
|
578
|
+
* is not reported. Call it inside the request, so analytics ties each call to it; `waitUntil`
|
|
579
|
+
* keeps a serverless function alive until the response has been read.
|
|
580
|
+
*/
|
|
581
|
+
declare function _observeFarmRegisteredMCPResponse(response: Response, observed: FarmRegisteredMCPCalls | undefined, waitUntil?: (promise: Promise<unknown>) => void): Response;
|
|
582
|
+
/**
|
|
583
|
+
* @internal The registered MCP servers `handle` serves in this app, each with the tools it lists
|
|
584
|
+
* to an anonymous client: JSON-RPC tools/list requests through `handle`, in process. A server
|
|
585
|
+
* behind a guard written for its path, or one that answers 401 or 403, is listed by identity
|
|
586
|
+
* only, like a Farm server with `authorize`. One that doesn't answer is left out. With `cache`
|
|
587
|
+
* (a production build, whose content can't change), a server's tools are read once per process.
|
|
588
|
+
*/
|
|
589
|
+
declare function _listFarmRegisteredMCPServerTools(handle: Handle, request: Request, options: {
|
|
590
|
+
basePath: string | undefined;
|
|
591
|
+
guardCoversPath?: (path: string) => boolean;
|
|
592
|
+
cache?: boolean;
|
|
593
|
+
}): Promise<FarmAppManifestServer[]>;
|
|
594
|
+
|
|
477
595
|
/**
|
|
478
596
|
* `/.well-known/api-catalog` (RFC 9727): a Linkset listing the APIs an app
|
|
479
597
|
* publishes, so an agent that knows only the origin can find the OpenAPI
|
|
@@ -638,4 +756,4 @@ declare function createFarmNativeServerFnPlugin(options: FarmNativeServerFnOptio
|
|
|
638
756
|
|
|
639
757
|
declare function appendFarmLinkHeader(headers: Headers, value: string): void;
|
|
640
758
|
|
|
641
|
-
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyConfigResponseHeaders, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createConfigHeadersMatcher, createConfigRedirectMatcher, createConfigRewriteMatcher, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|
|
759
|
+
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _listFarmRegisteredMCPServerTools, _markFarmOwnedResponse, _observeFarmRegisteredMCPResponse, _readFarmRegisteredMCPCalls, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyConfigResponseHeaders, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createConfigHeadersMatcher, createConfigRedirectMatcher, createConfigRewriteMatcher, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmDocsLayoutTree, createFarmLayoutBoundary, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmDocsLayoutsWrapPage, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, placeFarmDocsLayoutRoot, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, routeBoundaryCoversDirectory, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createFarmNativeTreeResponse
|
|
3
|
-
} from "../chunk-4CTCSKAF.mjs";
|
|
4
1
|
import {
|
|
5
2
|
_applyFarmMobileShellClient,
|
|
6
3
|
_checkFarmMobileShellRoute,
|
|
7
4
|
_isFarmMobileShellRenderRequest
|
|
8
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-F35C3TJZ.mjs";
|
|
9
6
|
import {
|
|
10
|
-
|
|
11
|
-
} from "../chunk-
|
|
7
|
+
createFarmNativeTreeResponse
|
|
8
|
+
} from "../chunk-K6DXKHFE.mjs";
|
|
12
9
|
import {
|
|
13
10
|
createFarmNativeServerFnPlugin
|
|
14
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-DASQJ5UD.mjs";
|
|
12
|
+
import {
|
|
13
|
+
handleFarmDefaultMCPRequest
|
|
14
|
+
} from "../chunk-Z2FFLTF5.mjs";
|
|
15
|
+
import {
|
|
16
|
+
markLayoutPosition,
|
|
17
|
+
markPagePosition
|
|
18
|
+
} from "../chunk-NUWUEXUD.mjs";
|
|
15
19
|
import {
|
|
16
20
|
generateNativeMCPPluginSource
|
|
17
21
|
} from "../chunk-KQH2COEJ.mjs";
|
|
@@ -25,32 +29,42 @@ import {
|
|
|
25
29
|
_withFarmGuardedResponseCache,
|
|
26
30
|
applyProductionMiddlewareHeaders,
|
|
27
31
|
createProductionMiddlewareRunner
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
32
|
+
} from "../chunk-URQW27KO.mjs";
|
|
33
|
+
import "../chunk-PE2LEWXA.mjs";
|
|
30
34
|
import {
|
|
31
35
|
createFarmInstrumentationLifecycle,
|
|
32
36
|
resolveFarmInstrumentationRuntime
|
|
33
37
|
} from "../chunk-WNDAISB7.mjs";
|
|
38
|
+
import {
|
|
39
|
+
_listFarmRegisteredMCPServerTools,
|
|
40
|
+
_observeFarmRegisteredMCPResponse,
|
|
41
|
+
_readFarmRegisteredMCPCalls
|
|
42
|
+
} from "../chunk-4PWGLPL6.mjs";
|
|
34
43
|
import {
|
|
35
44
|
appMiddlewareMayHandlePath,
|
|
36
45
|
applyFarmThemeDocument,
|
|
37
46
|
configMiddlewareMayHandlePath,
|
|
38
47
|
createDefaultErrorMarkup,
|
|
48
|
+
createFarmDocsLayoutTree,
|
|
49
|
+
createFarmLayoutBoundary,
|
|
39
50
|
createFarmLayoutSelector,
|
|
40
51
|
createFarmMetadataRouteResponse,
|
|
41
52
|
createFarmThemeDocumentParts,
|
|
42
53
|
createLateNotFoundRecovery,
|
|
43
54
|
createLateRedirectRecovery,
|
|
44
55
|
ensureFarmDocumentMeta,
|
|
56
|
+
farmDocsLayoutsWrapPage,
|
|
45
57
|
farmPathGuardCoversEndpoint,
|
|
46
58
|
farmPathGuardCoversPage,
|
|
47
59
|
getDefaultErrorStatusText,
|
|
48
60
|
getSharedLayoutPrefixLength,
|
|
49
61
|
isInRouteGroupScope,
|
|
50
62
|
parseFarmLayoutChainHeader,
|
|
63
|
+
placeFarmDocsLayoutRoot,
|
|
51
64
|
renderFarmLocaleAlternateLinks,
|
|
52
|
-
resolveDefaultErrorStatus
|
|
53
|
-
|
|
65
|
+
resolveDefaultErrorStatus,
|
|
66
|
+
routeBoundaryCoversDirectory
|
|
67
|
+
} from "../chunk-HT2SZKXG.mjs";
|
|
54
68
|
import "../chunk-LLZSYFOM.mjs";
|
|
55
69
|
import {
|
|
56
70
|
_farmPluginsKeepResponsesPrivate
|
|
@@ -70,31 +84,31 @@ import {
|
|
|
70
84
|
resolveFarmMCPRouteLabel,
|
|
71
85
|
resolveFarmMarkdownRouteLabel,
|
|
72
86
|
setFarmRouteLabel
|
|
73
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-GNY7BO7R.mjs";
|
|
74
88
|
import {
|
|
75
89
|
collectFarmDefaultMCPPages,
|
|
76
90
|
resolveFarmDefaultMCPServer
|
|
77
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-JA6RML7C.mjs";
|
|
78
92
|
import {
|
|
79
93
|
resolveFarmPreviewDeployment
|
|
80
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-YSTKSZD2.mjs";
|
|
81
95
|
import "../chunk-L4RTTTVE.mjs";
|
|
82
96
|
import {
|
|
83
97
|
getFarmFormState,
|
|
84
98
|
handleFarmFormActionRequest,
|
|
85
99
|
renderFarmFormStateScript
|
|
86
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-7FQFK3OA.mjs";
|
|
101
|
+
import "../chunk-XAXTTBUT.mjs";
|
|
87
102
|
import "../chunk-X3EFRVXY.mjs";
|
|
88
103
|
import {
|
|
89
104
|
ignoreFarmHeldValues,
|
|
90
105
|
installFarmIslandValues
|
|
91
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-7KDCVSTR.mjs";
|
|
92
107
|
import "../chunk-MNIR7I7B.mjs";
|
|
93
|
-
import "../chunk-XAXTTBUT.mjs";
|
|
94
108
|
import {
|
|
95
109
|
_setDefaultFarmThemeConfig,
|
|
96
110
|
getTheme
|
|
97
|
-
} from "../chunk-
|
|
111
|
+
} from "../chunk-ZEWWZJPZ.mjs";
|
|
98
112
|
import {
|
|
99
113
|
applyFarmPreviewRobotsTag,
|
|
100
114
|
createFarmAgentRobots,
|
|
@@ -105,7 +119,7 @@ import {
|
|
|
105
119
|
reportFarmPreloadWarnings,
|
|
106
120
|
resolveFarmAgentCrawlers,
|
|
107
121
|
resolveFarmAgentSitemap
|
|
108
|
-
} from "../chunk-
|
|
122
|
+
} from "../chunk-DUSTJ6A5.mjs";
|
|
109
123
|
import "../chunk-SQ5O7I3L.mjs";
|
|
110
124
|
import {
|
|
111
125
|
collectFarmLlmsTxtPages,
|
|
@@ -117,21 +131,21 @@ import {
|
|
|
117
131
|
renderFarmLlmsFullTxt,
|
|
118
132
|
resolveFarmAgentOrigin,
|
|
119
133
|
resolveFarmLlmsTxtConfig
|
|
120
|
-
} from "../chunk-
|
|
134
|
+
} from "../chunk-S7QEQCVV.mjs";
|
|
121
135
|
import {
|
|
122
136
|
applyFarmCspNonceToResponse,
|
|
123
137
|
createFarmCspNonce,
|
|
124
138
|
resolveFarmSecurityConfig,
|
|
125
139
|
stampFarmCspNonce
|
|
126
140
|
} from "../chunk-22W4FNTG.mjs";
|
|
127
|
-
import "../chunk-
|
|
128
|
-
import "../chunk-
|
|
141
|
+
import "../chunk-NLATR3T3.mjs";
|
|
142
|
+
import "../chunk-R5X7FDOG.mjs";
|
|
129
143
|
import "../chunk-WXFY5JIY.mjs";
|
|
130
144
|
import {
|
|
131
145
|
farmSecretsMatch
|
|
132
146
|
} from "../chunk-YP7YO3S3.mjs";
|
|
133
147
|
import "../chunk-YWPNIYUP.mjs";
|
|
134
|
-
import "../chunk-
|
|
148
|
+
import "../chunk-CZOXZ6WQ.mjs";
|
|
135
149
|
import {
|
|
136
150
|
_registerFarmStorageModules,
|
|
137
151
|
disposeStorage,
|
|
@@ -145,7 +159,7 @@ import {
|
|
|
145
159
|
_runWithMiddlewareContext,
|
|
146
160
|
_runWithMiddlewareData
|
|
147
161
|
} from "../chunk-6ZFRWRHO.mjs";
|
|
148
|
-
import "../chunk-
|
|
162
|
+
import "../chunk-Z4IRG4RG.mjs";
|
|
149
163
|
import "../chunk-EDPENAVO.mjs";
|
|
150
164
|
import {
|
|
151
165
|
_runWithAPIRequestRuntime
|
|
@@ -154,15 +168,16 @@ import {
|
|
|
154
168
|
_runWithAfterRequest
|
|
155
169
|
} from "../chunk-IYEY3JWJ.mjs";
|
|
156
170
|
import "../chunk-D7Y63SOY.mjs";
|
|
171
|
+
import "../chunk-ZIAWO6BC.mjs";
|
|
157
172
|
import {
|
|
158
173
|
registerFarmMCPServer
|
|
159
|
-
} from "../chunk-
|
|
160
|
-
import "../chunk-
|
|
174
|
+
} from "../chunk-F7MJWW6A.mjs";
|
|
175
|
+
import "../chunk-UJWRXBVP.mjs";
|
|
161
176
|
import {
|
|
162
177
|
configureFarmCache,
|
|
163
178
|
getFarmDataCache,
|
|
164
179
|
normalizeRevalidatePath
|
|
165
|
-
} from "../chunk-
|
|
180
|
+
} from "../chunk-ZO6TOLHL.mjs";
|
|
166
181
|
import {
|
|
167
182
|
fetchFarmExternalRewrite
|
|
168
183
|
} from "../chunk-O5QUJEWT.mjs";
|
|
@@ -172,7 +187,7 @@ import {
|
|
|
172
187
|
import {
|
|
173
188
|
matchRoute,
|
|
174
189
|
parseRoutePath
|
|
175
|
-
} from "../chunk-
|
|
190
|
+
} from "../chunk-Z3QXQN4U.mjs";
|
|
176
191
|
import "../chunk-2I6PUKWJ.mjs";
|
|
177
192
|
import {
|
|
178
193
|
bufferFarmRequestBody,
|
|
@@ -183,7 +198,7 @@ import {
|
|
|
183
198
|
readFarmRequestBody,
|
|
184
199
|
readNodeRequestBody,
|
|
185
200
|
resolveFarmServerConfig
|
|
186
|
-
} from "../chunk-
|
|
201
|
+
} from "../chunk-YT2ZMLXK.mjs";
|
|
187
202
|
import "../chunk-D2LCAV6L.mjs";
|
|
188
203
|
import {
|
|
189
204
|
createFarmSearchParams,
|
|
@@ -194,17 +209,15 @@ import {
|
|
|
194
209
|
emitFarmEvent,
|
|
195
210
|
runWithFarmRequestSpan
|
|
196
211
|
} from "../chunk-2DA7CLY7.mjs";
|
|
197
|
-
import "../chunk-
|
|
212
|
+
import "../chunk-H7QY7ZE4.mjs";
|
|
213
|
+
import {
|
|
214
|
+
_setFarmSearchPreserveRoutes
|
|
215
|
+
} from "../chunk-VDQZV6BX.mjs";
|
|
198
216
|
import "../chunk-QPNVDSFZ.mjs";
|
|
199
217
|
import "../chunk-5Y4GYKKH.mjs";
|
|
200
|
-
import "../chunk-
|
|
218
|
+
import "../chunk-GLVDXRG2.mjs";
|
|
201
219
|
import "../chunk-W6QLRQ3V.mjs";
|
|
202
|
-
import
|
|
203
|
-
createFarmLocaleCookie,
|
|
204
|
-
getFarmLocaleVaryHeaders
|
|
205
|
-
} from "../chunk-2EVESLP3.mjs";
|
|
206
|
-
import "../chunk-AY2YD5ZX.mjs";
|
|
207
|
-
import "../chunk-MFQGU5CC.mjs";
|
|
220
|
+
import "../chunk-PWHF2C6A.mjs";
|
|
208
221
|
import {
|
|
209
222
|
addMetadataImageReference,
|
|
210
223
|
addMetadataMarkdownAlternate,
|
|
@@ -214,7 +227,7 @@ import {
|
|
|
214
227
|
renderViewportHead,
|
|
215
228
|
resolveFarmNotFoundMetadata,
|
|
216
229
|
resolveMetadataTitle
|
|
217
|
-
} from "../chunk-
|
|
230
|
+
} from "../chunk-AG27TI6Q.mjs";
|
|
218
231
|
import "../chunk-NBIVGHAT.mjs";
|
|
219
232
|
import "../chunk-WCLLPR6H.mjs";
|
|
220
233
|
import {
|
|
@@ -228,6 +241,10 @@ import {
|
|
|
228
241
|
getFarmDeploymentMismatch,
|
|
229
242
|
withoutFarmDeploymentCookie
|
|
230
243
|
} from "../chunk-IWJONXPF.mjs";
|
|
244
|
+
import {
|
|
245
|
+
createFarmLocaleCookie,
|
|
246
|
+
getFarmLocaleVaryHeaders
|
|
247
|
+
} from "../chunk-UJIBSFUE.mjs";
|
|
231
248
|
import {
|
|
232
249
|
normalizeFarmTrailingSlashPathname,
|
|
233
250
|
resolveFarmTrailingSlashRedirect,
|
|
@@ -235,6 +252,7 @@ import {
|
|
|
235
252
|
toFarmTrailingSlashPageRequest
|
|
236
253
|
} from "../chunk-4O26BPUY.mjs";
|
|
237
254
|
import "../chunk-M25IONJP.mjs";
|
|
255
|
+
import "../chunk-AY2YD5ZX.mjs";
|
|
238
256
|
import {
|
|
239
257
|
createFarmCacheKey
|
|
240
258
|
} from "../chunk-GLOICKDO.mjs";
|
|
@@ -244,11 +262,11 @@ import {
|
|
|
244
262
|
createConfigHeadersMatcher,
|
|
245
263
|
createConfigRedirectMatcher,
|
|
246
264
|
createConfigRewriteMatcher
|
|
247
|
-
} from "../chunk-
|
|
265
|
+
} from "../chunk-AM2M56SL.mjs";
|
|
248
266
|
import {
|
|
249
267
|
appendFarmRedirectQuery
|
|
250
268
|
} from "../chunk-XQ4DPO4G.mjs";
|
|
251
|
-
import "../chunk-
|
|
269
|
+
import "../chunk-CDT7CGQT.mjs";
|
|
252
270
|
import {
|
|
253
271
|
_isFarmOwnedResponse,
|
|
254
272
|
_markFarmOwnedResponse,
|
|
@@ -256,12 +274,14 @@ import {
|
|
|
256
274
|
} from "../chunk-LM55GS4R.mjs";
|
|
257
275
|
import "../chunk-OHWM2VI4.mjs";
|
|
258
276
|
import {
|
|
277
|
+
_getRequestCookieReadCount,
|
|
259
278
|
_getRequestReadCount,
|
|
260
279
|
_runWithCurrentRequest,
|
|
261
280
|
_runWithFarmCspNonce,
|
|
281
|
+
_withFarmTrustedProxyOrigin,
|
|
262
282
|
getCurrentRequest,
|
|
263
283
|
resolveFarmWebRequestOrigin
|
|
264
|
-
} from "../chunk-
|
|
284
|
+
} from "../chunk-FCAYYLAE.mjs";
|
|
265
285
|
import {
|
|
266
286
|
_resolveCurrentCspNonce
|
|
267
287
|
} from "../chunk-VIXTAVEA.mjs";
|
|
@@ -274,7 +294,7 @@ import {
|
|
|
274
294
|
localizeFarmHref,
|
|
275
295
|
localizeFarmPathname,
|
|
276
296
|
stripFarmLocaleFromPathname
|
|
277
|
-
} from "../chunk-
|
|
297
|
+
} from "../chunk-4QBFYEDC.mjs";
|
|
278
298
|
import {
|
|
279
299
|
applyFarmBasePath,
|
|
280
300
|
setFarmBasePath,
|
|
@@ -283,7 +303,7 @@ import {
|
|
|
283
303
|
import {
|
|
284
304
|
compareRouteSpecificity,
|
|
285
305
|
getRoutePatternSpecificity
|
|
286
|
-
} from "../chunk-
|
|
306
|
+
} from "../chunk-5KAEGBIL.mjs";
|
|
287
307
|
import "../chunk-Y6FXYEAI.mjs";
|
|
288
308
|
|
|
289
309
|
// src/production-lifecycle.ts
|
|
@@ -578,11 +598,15 @@ export {
|
|
|
578
598
|
_applyFarmMobileShellClient,
|
|
579
599
|
_checkFarmMobileShellRoute,
|
|
580
600
|
_farmPluginsKeepResponsesPrivate,
|
|
601
|
+
_getRequestCookieReadCount,
|
|
581
602
|
_getRequestReadCount,
|
|
582
603
|
_hasPrivateFarmRequestHeaders,
|
|
583
604
|
_isFarmMobileShellRenderRequest,
|
|
584
605
|
_isFarmOwnedResponse,
|
|
606
|
+
_listFarmRegisteredMCPServerTools,
|
|
585
607
|
_markFarmOwnedResponse,
|
|
608
|
+
_observeFarmRegisteredMCPResponse,
|
|
609
|
+
_readFarmRegisteredMCPCalls,
|
|
586
610
|
_registerFarmStorageModules,
|
|
587
611
|
_resolveCurrentCspNonce,
|
|
588
612
|
_runWithAPIRequestRuntime,
|
|
@@ -592,9 +616,11 @@ export {
|
|
|
592
616
|
_runWithMiddlewareContext,
|
|
593
617
|
_runWithMiddlewareData,
|
|
594
618
|
_setDefaultFarmThemeConfig,
|
|
619
|
+
_setFarmSearchPreserveRoutes,
|
|
595
620
|
_withFarmDeploymentCookie,
|
|
596
621
|
_withFarmGuardedResponseCache,
|
|
597
622
|
_withFarmResponseHeaders,
|
|
623
|
+
_withFarmTrustedProxyOrigin,
|
|
598
624
|
addMetadataImageReference,
|
|
599
625
|
addMetadataMarkdownAlternate,
|
|
600
626
|
appMiddlewareMayHandlePath,
|
|
@@ -627,7 +653,9 @@ export {
|
|
|
627
653
|
createFarmDefaultLlmsTxt,
|
|
628
654
|
createFarmDefaultSitemap,
|
|
629
655
|
createFarmDeploymentMismatchResponse,
|
|
656
|
+
createFarmDocsLayoutTree,
|
|
630
657
|
createFarmInstrumentationLifecycle,
|
|
658
|
+
createFarmLayoutBoundary,
|
|
631
659
|
createFarmLayoutSelector,
|
|
632
660
|
createFarmLegacyRequest,
|
|
633
661
|
createFarmLlmsFullRenderer,
|
|
@@ -648,6 +676,7 @@ export {
|
|
|
648
676
|
disposeStorage as disposeFarmStorage,
|
|
649
677
|
emitFarmEvent,
|
|
650
678
|
ensureFarmDocumentMeta,
|
|
679
|
+
farmDocsLayoutsWrapPage,
|
|
651
680
|
farmPathGuardCoversEndpoint,
|
|
652
681
|
farmPathGuardCoversPage,
|
|
653
682
|
farmSecretsMatch,
|
|
@@ -679,6 +708,8 @@ export {
|
|
|
679
708
|
manageFarmDocumentPreloads,
|
|
680
709
|
manageFarmHtmlPreloads,
|
|
681
710
|
manageFarmLinkHeaderPreloads,
|
|
711
|
+
markLayoutPosition,
|
|
712
|
+
markPagePosition,
|
|
682
713
|
matchRoute as matchFarmPageRoute,
|
|
683
714
|
matchesFarmIfNoneMatch,
|
|
684
715
|
materializeSSGRoutePath,
|
|
@@ -689,6 +720,7 @@ export {
|
|
|
689
720
|
normalizeRevalidatePath,
|
|
690
721
|
parseFarmLayoutChainHeader,
|
|
691
722
|
parseRoutePath,
|
|
723
|
+
placeFarmDocsLayoutRoot,
|
|
692
724
|
prepareDeferredData,
|
|
693
725
|
readFarmLlmsMarkdownFrom,
|
|
694
726
|
readFarmRequestBody,
|
|
@@ -723,6 +755,7 @@ export {
|
|
|
723
755
|
resolveFarmWebRequestOrigin,
|
|
724
756
|
resolveMetadataTitle,
|
|
725
757
|
resolveRouteSharedCacheControl,
|
|
758
|
+
routeBoundaryCoversDirectory,
|
|
726
759
|
runWithFarmRequestSpan,
|
|
727
760
|
searchParamsToObject,
|
|
728
761
|
serializeFarmInlineValue,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkP2355C6Ecjs = require('../chunk-P2355C6E.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2RSVYJT6cjs = require('../chunk-2RSVYJT6.cjs');
|
|
7
7
|
require('../chunk-3BIASUGR.cjs');
|
|
8
8
|
require('../chunk-BTZ5O6VM.cjs');
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ require('../chunk-BTZ5O6VM.cjs');
|
|
|
11
11
|
var requests = /* @__PURE__ */ new WeakMap();
|
|
12
12
|
function cache(fn) {
|
|
13
13
|
const memoized = function(...args) {
|
|
14
|
-
const request =
|
|
14
|
+
const request = _chunk2RSVYJT6cjs.getCurrentRequestOrNull.call(void 0, );
|
|
15
15
|
if (!request) return fn.apply(this, args);
|
|
16
16
|
let functions = requests.get(request);
|
|
17
17
|
if (!functions) requests.set(request, functions = /* @__PURE__ */ new WeakMap());
|
|
@@ -51,7 +51,7 @@ function cache(fn) {
|
|
|
51
51
|
}
|
|
52
52
|
var signals = /* @__PURE__ */ new WeakMap();
|
|
53
53
|
function cacheSignal() {
|
|
54
|
-
const request =
|
|
54
|
+
const request = _chunk2RSVYJT6cjs.getCurrentRequestOrNull.call(void 0, );
|
|
55
55
|
if (!request) return null;
|
|
56
56
|
let controller = signals.get(request);
|
|
57
57
|
if (!controller) {
|