@farm.js/core 0.2.0-beta.1 → 0.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-LICENSES.md +3220 -0
- package/dist/after.cjs +3 -3
- package/dist/after.mjs +1 -1
- package/dist/{agent-mcp-handler-GDY5CPPW.mjs → agent-mcp-handler-BY7VJQ4W.mjs} +5 -5
- package/dist/agent-mcp-handler-S4UTE7NO.cjs +21 -0
- package/dist/{agent-mcp.d-CMGqpUbk.d.mts → agent-mcp.d-BdFnjlAT.d.mts} +1 -1
- package/dist/{agent-mcp.d-BdM0pIrD.d.ts → agent-mcp.d-CAwDC9y4.d.ts} +1 -1
- package/dist/agent-runtime.cjs +25 -22
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-3AMJK27J.cjs +17 -0
- package/dist/{analyzer-RYSF2BM3.mjs → analyzer-K3S4YRAH.mjs} +3 -3
- package/dist/api/client.cjs +16 -16
- package/dist/api/client.mjs +1 -1
- package/dist/api/client.native.cjs +21 -18
- package/dist/api/client.native.mjs +1 -1
- package/dist/api/node.cjs +29 -26
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/node.mjs +1 -1
- package/dist/api/route-manager.cjs +45 -45
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.cjs +25 -25
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +1 -1
- package/dist/api.cjs +57 -57
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-BeDB2OVm.d.mts → app-manifest.d-COs1wBGz.d.mts} +1 -1
- package/dist/{app-manifest.d-COhjPgHn.d.ts → app-manifest.d-Dczk-fwt.d.ts} +1 -1
- package/dist/app-markdown-compiler-4RCCOTTF.cjs +33007 -0
- package/dist/app-markdown-compiler-OM2AMFRK.mjs +32402 -0
- package/dist/app-markdown.cjs +18 -16
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +8 -6
- package/dist/{app.d-CoY-zsJt.d.ts → app.d-DREl_yXh.d.ts} +26 -10
- package/dist/{app.d-DE5KNbmf.d.mts → app.d-LepnxO-5.d.mts} +26 -10
- package/dist/cache.cjs +8 -8
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-AG27TI6Q.mjs → chunk-23NBOP43.mjs} +3 -0
- package/dist/{chunk-OLKYHTLN.cjs → chunk-25CHWAZY.cjs} +14 -10
- package/dist/{chunk-26WP75W5.cjs → chunk-27IPPPCV.cjs} +51 -40
- package/dist/{chunk-PHCJJJZV.cjs → chunk-2HC46EGU.cjs} +6 -2
- package/dist/{chunk-MF3IA2AW.cjs → chunk-2L4M6YUG.cjs} +6 -1
- package/dist/{chunk-YPAOC3FO.mjs → chunk-2ORWY3SE.mjs} +4 -4
- package/dist/{chunk-VGZIIOU6.cjs → chunk-2PSN2PUJ.cjs} +12 -8
- package/dist/{chunk-CIY74JLV.cjs → chunk-2RA2VIKN.cjs} +9 -5
- package/dist/{chunk-NZRAUCUL.cjs → chunk-2UV765GT.cjs} +26 -20
- package/dist/{chunk-A3LNXQJJ.cjs → chunk-2VLW3HWJ.cjs} +9 -2
- package/dist/{chunk-4EBC7EMW.cjs → chunk-323JTLXR.cjs} +6 -1
- package/dist/{chunk-7KJJ4SBS.cjs → chunk-32HGOX3M.cjs} +6 -1
- package/dist/{chunk-RKQOMG2X.cjs → chunk-3ACTVXZG.cjs} +9 -5
- package/dist/{chunk-N3H7UPBM.cjs → chunk-3EZHMZGD.cjs} +6 -1
- package/dist/{chunk-LQWIIBI2.cjs → chunk-3KLDTMIC.cjs} +6 -1
- package/dist/{chunk-OO7DYIJD.cjs → chunk-3YT7DIIS.cjs} +7 -1
- package/dist/{chunk-HR5GU4UU.cjs → chunk-4A6WSOZH.cjs} +55 -49
- package/dist/{chunk-E5UN4OWX.cjs → chunk-4JARM2QQ.cjs} +6 -1
- package/dist/{chunk-VGVRGGP4.cjs → chunk-4JCX33RZ.cjs} +13 -8
- package/dist/chunk-4RLFAN7T.cjs +6 -0
- package/dist/{chunk-OZUINP2P.cjs → chunk-4USE4SEU.cjs} +19 -15
- package/dist/{chunk-PENBZAHJ.cjs → chunk-57OAZCWQ.cjs} +6 -1
- package/dist/{chunk-TWFJJPE7.cjs → chunk-5BZ7PR3T.cjs} +42 -38
- package/dist/{chunk-JYQ6DGPW.cjs → chunk-5P3TZGS3.cjs} +52 -45
- package/dist/{chunk-2U2GRXP5.mjs → chunk-5UMPMVNF.mjs} +1 -1
- package/dist/{chunk-OZC2JPW6.cjs → chunk-5XYJ5KRN.cjs} +6 -1
- package/dist/{chunk-QKW6DLDT.cjs → chunk-5YT2ZSWS.cjs} +17 -13
- package/dist/{chunk-QCKSYYXK.cjs → chunk-63S7DAEG.cjs} +21 -17
- package/dist/{chunk-FDGYDQGL.cjs → chunk-66WIOZXX.cjs} +7 -1
- package/dist/{chunk-MHKPXX3J.cjs → chunk-6AUPJYHF.cjs} +13 -9
- package/dist/{chunk-DVJM55D2.cjs → chunk-6FIY4KBC.cjs} +6 -1
- package/dist/{chunk-TIZJYHB7.mjs → chunk-6IUWKO2Q.mjs} +15 -0
- package/dist/{chunk-VWIW47FW.cjs → chunk-6K7LEL2T.cjs} +6 -1
- package/dist/{chunk-UZCMMJJT.cjs → chunk-6NQ63L6N.cjs} +6 -1
- package/dist/{chunk-BTVDYS4B.cjs → chunk-6QCZWAGO.cjs} +6 -1
- package/dist/{chunk-RDADQG5S.cjs → chunk-6QWCFVGL.cjs} +14 -7
- package/dist/{chunk-JRGR5Z4K.cjs → chunk-6VC7NUY3.cjs} +6 -1
- package/dist/{chunk-CKPTIEDX.cjs → chunk-7BFFBYLN.cjs} +6 -1
- package/dist/{chunk-7Q7UB4TL.cjs → chunk-7GKZDRY2.cjs} +9 -5
- package/dist/{chunk-WP77JDKI.cjs → chunk-7JI7W2MD.cjs} +34 -30
- package/dist/{chunk-C7LCTVJ2.cjs → chunk-7JZVCHNF.cjs} +10 -6
- package/dist/{chunk-QZUCVJZJ.cjs → chunk-7M3X4CBY.cjs} +6 -1
- package/dist/{chunk-7JUIK547.cjs → chunk-7MQMWGTL.cjs} +6 -1
- package/dist/{chunk-PIUTGRDI.cjs → chunk-7O3YJ6NP.cjs} +6 -1
- package/dist/{chunk-SXCL2MIN.cjs → chunk-7V5MQSBL.cjs} +9 -1
- package/dist/{chunk-7U4XF76R.cjs → chunk-7ZDLE77P.cjs} +12 -8
- package/dist/{chunk-NU5XLYRN.cjs → chunk-A2ELHZBZ.cjs} +10 -1
- package/dist/{chunk-DMSXZNQR.cjs → chunk-ADCVSTFV.cjs} +18 -11
- package/dist/{chunk-ISSFWEPY.mjs → chunk-AGEBFYHF.mjs} +35 -18
- package/dist/{chunk-ND65INFS.cjs → chunk-AGT633OM.cjs} +27 -23
- package/dist/{chunk-WEZTGM7N.cjs → chunk-APKULXZV.cjs} +11 -9
- package/dist/chunk-AZJEQ5CR.cjs +6 -0
- package/dist/{chunk-ZMSVKVI3.cjs → chunk-B2VSX33T.cjs} +6 -1
- package/dist/{chunk-AQIRXBBY.cjs → chunk-B6JPBPBQ.cjs} +6 -1
- package/dist/{chunk-QBXS4TNG.mjs → chunk-BL54BTVJ.mjs} +1 -1
- package/dist/{chunk-W76C7TCW.cjs → chunk-BNVQSUZK.cjs} +6 -2
- package/dist/{chunk-MNUYXZV7.cjs → chunk-BNWADCG2.cjs} +6 -1
- package/dist/{chunk-CCAUIBIS.cjs → chunk-BRWSQDKO.cjs} +10 -1
- package/dist/{chunk-6BMAGVDI.cjs → chunk-C4DZAEVT.cjs} +48 -41
- package/dist/{chunk-KQS27YN7.cjs → chunk-C6DR4JAR.cjs} +14 -10
- package/dist/{chunk-Y3WG64CP.cjs → chunk-CH2JX3CM.cjs} +6 -1
- package/dist/{chunk-KQ6TYQU7.cjs → chunk-COMBIEAP.cjs} +44 -36
- package/dist/{chunk-YU2MNIIY.mjs → chunk-CRF5MOLO.mjs} +17 -4
- package/dist/{chunk-YUQUGVSV.cjs → chunk-CTTXHHZG.cjs} +50 -46
- package/dist/{chunk-FDZZ6K3N.cjs → chunk-CUW7K4AU.cjs} +14 -10
- package/dist/{chunk-NQ3Y6E2T.mjs → chunk-CV4MOEMO.mjs} +2 -2
- package/dist/chunk-CWSUKW2H.cjs +6 -0
- package/dist/{chunk-DZC2XGK4.mjs → chunk-D5OY5OKA.mjs} +132 -48
- package/dist/{chunk-T3SMMLSB.cjs → chunk-DB4NOIQC.cjs} +12 -8
- package/dist/{chunk-PKV3JGMS.mjs → chunk-DFLCEMQ3.mjs} +1 -1
- package/dist/{chunk-OWOUTKIJ.cjs → chunk-DQYMTSF3.cjs} +6 -1
- package/dist/{chunk-7V5M43ND.mjs → chunk-DVL3UVYT.mjs} +2 -2
- package/dist/{chunk-ZSVFI7JM.cjs → chunk-DVXT7RLV.cjs} +23 -18
- package/dist/{chunk-UNOXV37V.cjs → chunk-DYGHX2UR.cjs} +6 -1
- package/dist/{chunk-M3JYBZO2.cjs → chunk-E5AC7E25.cjs} +24 -20
- package/dist/{chunk-LSHX2H5G.cjs → chunk-EBE6BK54.cjs} +6 -1
- package/dist/{chunk-YNPVG2GG.mjs → chunk-EBVKVDQA.mjs} +1 -1
- package/dist/{chunk-WT6RAN2I.cjs → chunk-EGMJ5KEU.cjs} +6 -1
- package/dist/{chunk-22KXTL3I.cjs → chunk-EJLMRNSV.cjs} +24 -19
- package/dist/{chunk-RDNKQ5MK.cjs → chunk-EMM3YXXI.cjs} +19 -15
- package/dist/{chunk-EACD6ND7.cjs → chunk-ERSLQ4C7.cjs} +18 -11
- package/dist/{chunk-4WXNTAOM.mjs → chunk-EUVHELJL.mjs} +1 -1
- package/dist/{chunk-J6TZRYCO.cjs → chunk-F5JTXLS7.cjs} +6 -1
- package/dist/{chunk-FLKG2PYH.cjs → chunk-F5T55PYX.cjs} +103 -95
- package/dist/{chunk-N2ZMSSPP.cjs → chunk-FYVSAWJP.cjs} +77 -70
- package/dist/{chunk-HUGPJFOC.cjs → chunk-G22QP2MX.cjs} +9 -5
- package/dist/{chunk-PMJSG4JS.cjs → chunk-G5KGLMPN.cjs} +6 -1
- package/dist/{chunk-R5U7OIPI.cjs → chunk-GAII22G2.cjs} +6 -1
- package/dist/{chunk-6CTFVBAT.cjs → chunk-GKYOFMPQ.cjs} +6 -1
- package/dist/{chunk-JYT7AN37.cjs → chunk-GLP3ID53.cjs} +6 -1
- package/dist/{chunk-QBJ6N5MT.mjs → chunk-GN2RXH72.mjs} +1 -1
- package/dist/{chunk-RQRTH57V.cjs → chunk-GQONHUMI.cjs} +6 -1
- package/dist/{chunk-EOXPRC2C.cjs → chunk-GQQID5IB.cjs} +7 -1
- package/dist/{chunk-IUKBPBM7.cjs → chunk-GUDYDNKU.cjs} +6 -1
- package/dist/{chunk-6GJZJAED.mjs → chunk-GUNPDMSX.mjs} +1 -1
- package/dist/{chunk-KCJBIWBM.mjs → chunk-GVORDLLV.mjs} +1 -1
- package/dist/{chunk-ZZGQD3LL.mjs → chunk-GXWCR7PP.mjs} +11 -5
- package/dist/{chunk-VS7HLH4S.cjs → chunk-GYH2B4YQ.cjs} +12 -8
- package/dist/{chunk-IJPRCQHW.cjs → chunk-H3TYWCMG.cjs} +18 -14
- package/dist/{chunk-2OF5RPVU.cjs → chunk-H5AC3XSE.cjs} +18 -14
- package/dist/{chunk-ZIOFRBIU.cjs → chunk-H7INTSUK.cjs} +15 -9
- package/dist/{chunk-RFNQTQ44.cjs → chunk-HBRCMX24.cjs} +10 -5
- package/dist/{chunk-XRSNW4IU.mjs → chunk-HDZ2AMDD.mjs} +5 -0
- package/dist/{chunk-UA77C2ZA.cjs → chunk-HF3JJPH4.cjs} +58 -50
- package/dist/{chunk-CPMK7EFR.mjs → chunk-HFOME6I2.mjs} +7 -7
- package/dist/{chunk-XGL42MQ7.mjs → chunk-HIDZM23B.mjs} +1 -1
- package/dist/{chunk-T7UC2ORA.cjs → chunk-HP7QYVST.cjs} +7 -1
- package/dist/{chunk-JP5TWUK2.cjs → chunk-HSAHQBMG.cjs} +8 -4
- package/dist/{chunk-3BTN3NP7.cjs → chunk-I5PDHLKE.cjs} +6 -2
- package/dist/{chunk-L4B7PB3H.cjs → chunk-IASZIYNM.cjs} +1384 -757
- package/dist/{chunk-2RSVYJT6.cjs → chunk-IBZW57NW.cjs} +9 -5
- package/dist/{chunk-KORZ6PRE.cjs → chunk-IDUGG7VR.cjs} +6 -1
- package/dist/{chunk-6JHZPB52.cjs → chunk-IEZFFXSC.cjs} +10 -6
- package/dist/{chunk-VACYUMXW.cjs → chunk-IGA3OTFY.cjs} +37 -29
- package/dist/{chunk-4ZVKDHS6.cjs → chunk-IGBQSUT5.cjs} +55 -40
- package/dist/{chunk-OQOII62L.mjs → chunk-II4ENBE4.mjs} +1 -1
- package/dist/{chunk-JIBEFLQ7.cjs → chunk-IKYNDANT.cjs} +7 -1
- package/dist/{chunk-Z43CIBUR.cjs → chunk-IU4YTFFQ.cjs} +16 -12
- package/dist/{chunk-KBGZ5FD6.cjs → chunk-IVEV44O2.cjs} +6 -2
- package/dist/{chunk-MCSRMEQV.cjs → chunk-J2JMESBJ.cjs} +6 -1
- package/dist/{chunk-WMRGIQTA.cjs → chunk-J3RIMCBD.cjs} +6 -1
- package/dist/{chunk-N4AQNEXR.cjs → chunk-JIBZ6SCC.cjs} +6 -1
- package/dist/{chunk-IZYFP7IN.cjs → chunk-JOSR2E2C.cjs} +17 -13
- package/dist/{chunk-AOKXITZ6.cjs → chunk-JOZDAIKZ.cjs} +6 -1
- package/dist/{chunk-NG2EZ6QS.cjs → chunk-JYQMGMKT.cjs} +20 -6
- package/dist/{chunk-J6RFB324.cjs → chunk-JZCUDAH2.cjs} +6 -1
- package/dist/{chunk-ECVSRE4Y.mjs → chunk-K44IR6WC.mjs} +1 -1
- package/dist/{chunk-SUCDVKUB.cjs → chunk-K6LZMZNB.cjs} +6 -1
- package/dist/{chunk-GYJT2U7J.cjs → chunk-KAD5WBY4.cjs} +9 -5
- package/dist/{chunk-52Q4OB4A.cjs → chunk-KBURN62Z.cjs} +10 -6
- package/dist/{chunk-O4JYMU5N.cjs → chunk-KDUVIJSZ.cjs} +22 -18
- package/dist/{chunk-2LHZD3OP.cjs → chunk-KEBD377T.cjs} +6 -2
- package/dist/{chunk-3DE6RK7K.cjs → chunk-KHTJVI6B.cjs} +6 -1
- package/dist/{chunk-OY5XDG24.cjs → chunk-KI3B3H5K.cjs} +9 -5
- package/dist/{chunk-KRU3XPOW.cjs → chunk-KM7ZRKCH.cjs} +61 -49
- package/dist/{chunk-P2355C6E.cjs → chunk-KSRWTQ6J.cjs} +6 -1
- package/dist/{chunk-SHIWRBFI.cjs → chunk-KUG3P3GY.cjs} +6 -1
- package/dist/{chunk-T7HGXF7D.cjs → chunk-KXCPX3HE.cjs} +11 -7
- package/dist/{chunk-C5QHZ626.cjs → chunk-KXXZDS7C.cjs} +6 -1
- package/dist/{chunk-DUIP64BF.cjs → chunk-KYFTDHNN.cjs} +6 -1
- package/dist/{chunk-VXCFJWK5.cjs → chunk-L6CW5AWM.cjs} +6 -1
- package/dist/{chunk-XGPRM7OK.cjs → chunk-LEK3P2ZD.cjs} +16 -7
- package/dist/{chunk-HA7YRO53.cjs → chunk-LF7HAALM.cjs} +6 -1
- package/dist/{chunk-2KMIJDY6.cjs → chunk-LG62AYPQ.cjs} +6 -1
- package/dist/{chunk-SMUW7UST.mjs → chunk-LO5BNR6Y.mjs} +7 -2
- package/dist/{chunk-4A6A6P4T.mjs → chunk-LOQVWATF.mjs} +2 -2
- package/dist/{chunk-PEQJ4UUT.mjs → chunk-LP6DIYGA.mjs} +2 -2
- package/dist/{chunk-PWDBWXQI.cjs → chunk-LVYUTMW4.cjs} +6 -1
- package/dist/{chunk-EBKYRP2P.mjs → chunk-LWQ6IESX.mjs} +1 -1
- package/dist/{chunk-XRRHPBG2.cjs → chunk-M6W3AN57.cjs} +6 -1
- package/dist/{chunk-PZXYAWYG.cjs → chunk-M7RS7HSB.cjs} +13 -8
- package/dist/{chunk-27ESPHQA.cjs → chunk-MBDDLYT5.cjs} +59 -38
- package/dist/{chunk-CEVXKJKF.cjs → chunk-MMSCWTJT.cjs} +6 -1
- package/dist/{chunk-OOOUYA6L.mjs → chunk-MRDI6MTL.mjs} +8 -8
- package/dist/{chunk-B3HQTGXS.cjs → chunk-N4AM7Q34.cjs} +83 -74
- package/dist/{chunk-DXUXQP2T.cjs → chunk-N4C72FCD.cjs} +6 -1
- package/dist/{chunk-H7REG7OX.cjs → chunk-NKW4JEOH.cjs} +13 -9
- package/dist/{chunk-XRFGOYXG.cjs → chunk-NMMCBJZM.cjs} +17 -12
- package/dist/{chunk-FJGA3XWL.cjs → chunk-NNHIV3O2.cjs} +9 -2
- package/dist/{chunk-SHDCKRP4.cjs → chunk-NQUZDXKJ.cjs} +7 -3
- package/dist/{chunk-Y3DO7BIJ.cjs → chunk-O7B6LJWE.cjs} +10 -3
- package/dist/{chunk-5GFTMTX3.cjs → chunk-OBERQH7M.cjs} +42 -37
- package/dist/{chunk-NW3DL2PM.cjs → chunk-OCQSYDMG.cjs} +11 -4
- package/dist/{chunk-ZNXU4E6A.cjs → chunk-OSLI2SCA.cjs} +83 -72
- package/dist/{chunk-HLYRXN2I.cjs → chunk-OUOUPA37.cjs} +6 -1
- package/dist/{chunk-YIGUFJMR.cjs → chunk-OVSK47CZ.cjs} +6 -1
- package/dist/{chunk-ATYTLVSI.cjs → chunk-OX63SW6N.cjs} +7 -1
- package/dist/{chunk-YKHRCY4T.cjs → chunk-P2LSRUQB.cjs} +6 -1
- package/dist/{chunk-XJDB564A.cjs → chunk-P4ZLFUNB.cjs} +7 -2
- package/dist/{chunk-2OFP3IVA.cjs → chunk-P5RNGH52.cjs} +32 -18
- package/dist/{chunk-VZWAXQME.mjs → chunk-P67RLOMO.mjs} +34 -2
- package/dist/{chunk-6FXBJPF5.cjs → chunk-PCF54MSR.cjs} +6 -1
- package/dist/{chunk-GVYZCJZH.cjs → chunk-PHYSFHJK.cjs} +6 -1
- package/dist/{chunk-4DCWVSL2.cjs → chunk-PHZ7MLRQ.cjs} +6 -1
- package/dist/{chunk-PCAEJNQF.cjs → chunk-PNMRXZS5.cjs} +13 -9
- package/dist/{chunk-HS4JPIGR.cjs → chunk-PRKFECGT.cjs} +7 -3
- package/dist/{chunk-OIPPISQ6.cjs → chunk-PSALMEHJ.cjs} +431 -212
- package/dist/{chunk-YUCU6XB4.cjs → chunk-PYPHM7AS.cjs} +9 -4
- package/dist/{chunk-ZPQY7O64.cjs → chunk-QBCR2EHA.cjs} +9 -5
- package/dist/{chunk-H7OFZJCV.cjs → chunk-QBMMQS25.cjs} +14 -8
- package/dist/{chunk-Y2FEFQAY.cjs → chunk-QCVP22KW.cjs} +8 -5
- package/dist/{chunk-J3GFOQOL.cjs → chunk-QGJL7EPX.cjs} +13 -9
- package/dist/{chunk-2PE5STAR.cjs → chunk-QHHEL4ZO.cjs} +6 -2
- package/dist/{chunk-LTOT5KVJ.mjs → chunk-QKXQFBNL.mjs} +1 -1
- package/dist/{chunk-L6E5BSNU.cjs → chunk-QT7MJL5E.cjs} +7 -3
- package/dist/{chunk-ERMUL73L.cjs → chunk-QTGYT2DF.cjs} +6 -1
- package/dist/{chunk-WBTHHTBO.cjs → chunk-QW5I5D5T.cjs} +6 -1
- package/dist/{chunk-IIHZ2BEE.cjs → chunk-QZRFEHMS.cjs} +15 -11
- package/dist/{chunk-HXNLKCWH.cjs → chunk-QZVPBDF7.cjs} +6 -1
- package/dist/{chunk-W53Z4WDI.cjs → chunk-R6GOH5CH.cjs} +18 -14
- package/dist/{chunk-2BEGVSDF.cjs → chunk-RBDAW6IZ.cjs} +7 -3
- package/dist/{chunk-PLJMEUAN.cjs → chunk-RFKPIAOF.cjs} +9 -1
- package/dist/{chunk-HQEYZSF3.cjs → chunk-RGIHE6YL.cjs} +6 -2
- package/dist/{chunk-6B44ZU5P.cjs → chunk-RHORD2K2.cjs} +19 -15
- package/dist/{chunk-5AL2GXAU.mjs → chunk-RKWZ6F5D.mjs} +2 -2
- package/dist/{chunk-OCS3PSYR.cjs → chunk-RLC7NNTA.cjs} +6 -1
- package/dist/{chunk-STF6VDYQ.cjs → chunk-RQSPBWXJ.cjs} +6 -1
- package/dist/{chunk-RWR7SMD7.cjs → chunk-S2QSTMBE.cjs} +7 -3
- package/dist/{chunk-HZY63K5C.mjs → chunk-S6MGFULY.mjs} +2 -2
- package/dist/{chunk-GCJ4GNMC.cjs → chunk-SGBEJBBB.cjs} +8 -4
- package/dist/chunk-SGRWZEQC.cjs +44 -0
- package/dist/{chunk-NDMPGFKL.cjs → chunk-SIQPXYBB.cjs} +6 -1
- package/dist/{chunk-2HTNASSB.cjs → chunk-SM4Y7CL4.cjs} +10 -6
- package/dist/{chunk-UNJZGVPU.cjs → chunk-SQ5O5EDN.cjs} +6 -1
- package/dist/{chunk-A25FXJ7D.cjs → chunk-SWOJU7LI.cjs} +6 -1
- package/dist/{chunk-BNH53KOT.cjs → chunk-SZBBBLLS.cjs} +6 -1
- package/dist/{chunk-23BZ7ZH6.mjs → chunk-T4NOMZTS.mjs} +7 -4
- package/dist/{chunk-ML4TOUZP.cjs → chunk-T4YCWRCJ.cjs} +6 -1
- package/dist/{chunk-NDOE76QC.cjs → chunk-TDAH76RR.cjs} +8 -4
- package/dist/{chunk-D22BUQKW.cjs → chunk-TFCBJFP7.cjs} +6 -1
- package/dist/{chunk-ICOJ2BC6.mjs → chunk-TP3ISVRU.mjs} +26 -19
- package/dist/{chunk-3EIPOTZV.cjs → chunk-TP7JAC3T.cjs} +6 -2
- package/dist/{chunk-4IE3YK7U.mjs → chunk-TQCDN4DV.mjs} +1 -1
- package/dist/{chunk-FB4CWSC2.cjs → chunk-TSLXAEGM.cjs} +16 -12
- package/dist/{chunk-2NOHVIJ3.cjs → chunk-U2HFXURZ.cjs} +36 -13
- package/dist/{chunk-SHD265HW.cjs → chunk-U3NUGF2E.cjs} +7 -1
- package/dist/{chunk-SVXOCTQ2.cjs → chunk-UARKTC55.cjs} +6 -1
- package/dist/{chunk-KBIM7PFQ.cjs → chunk-UBH2OARS.cjs} +758 -643
- package/dist/{chunk-WX752VMN.mjs → chunk-UCRNNDNS.mjs} +1 -1
- package/dist/{chunk-UZM3PDKK.cjs → chunk-UGL4BDNB.cjs} +27 -3
- package/dist/{chunk-GBMWLDCC.cjs → chunk-UHTXBC4Q.cjs} +7 -1
- package/dist/{chunk-47JV57DA.cjs → chunk-UOFTT6S4.cjs} +6 -1
- package/dist/{chunk-MO4UTDQ6.mjs → chunk-V36K4TSU.mjs} +2 -2
- package/dist/{chunk-SPKZCFPH.mjs → chunk-V5F6HN7E.mjs} +4 -4
- package/dist/{chunk-I2RBHZF7.cjs → chunk-VB7P66Q4.cjs} +6 -1
- package/dist/{chunk-BIAGSYIZ.cjs → chunk-VD7ENQP2.cjs} +54 -47
- package/dist/{chunk-NVXU5BEG.mjs → chunk-VGX75645.mjs} +266 -61
- package/dist/{chunk-NLBHLPEO.cjs → chunk-VIDUNAQE.cjs} +6 -1
- package/dist/{chunk-6ETHVRFO.cjs → chunk-VMIR4SUL.cjs} +760 -714
- package/dist/{chunk-VM57CK74.cjs → chunk-VNWKJOJF.cjs} +6 -1
- package/dist/{chunk-HENPVGZC.cjs → chunk-VQYGXWCS.cjs} +103 -63
- package/dist/{chunk-AMMFRXFW.mjs → chunk-VS4ABIJJ.mjs} +1 -1
- package/dist/{chunk-MPU5DOXX.cjs → chunk-VUCDMV3Q.cjs} +6 -1
- package/dist/{chunk-CIQCJ72N.mjs → chunk-VVIO7QGN.mjs} +772 -176
- package/dist/{chunk-L2GUEYHR.cjs → chunk-VZ2P6GRC.cjs} +8 -1
- package/dist/{chunk-3SPECQXI.cjs → chunk-W4KSV6GX.cjs} +13 -9
- package/dist/{chunk-KMGHXIDA.cjs → chunk-W4WFKRLR.cjs} +17 -13
- package/dist/chunk-W7BMZI3I.cjs +6 -0
- package/dist/{chunk-HR4N2K4V.mjs → chunk-WABOJXAA.mjs} +2 -2
- package/dist/{chunk-LTXKRIST.mjs → chunk-WANLI3ZC.mjs} +2 -2
- package/dist/{chunk-SNP33A33.cjs → chunk-WCPGU6J6.cjs} +6 -1
- package/dist/{chunk-2OR5WAD5.cjs → chunk-WFNL24R6.cjs} +58 -43
- package/dist/{chunk-XOFJUSWC.cjs → chunk-WJ5ADUI2.cjs} +18 -14
- package/dist/{chunk-Z7ZRBCAB.mjs → chunk-WLOIUPV2.mjs} +97 -66
- package/dist/{chunk-TE7AX6HB.mjs → chunk-WV63R4GE.mjs} +1 -1
- package/dist/{chunk-JCYDWJVO.cjs → chunk-WZSLDPVZ.cjs} +13 -9
- package/dist/{chunk-O5YM6GU3.mjs → chunk-X2TC6PBK.mjs} +1 -1
- package/dist/{chunk-BSX5OGSD.cjs → chunk-XE3E4MER.cjs} +24 -20
- package/dist/{chunk-3BIASUGR.cjs → chunk-XEPUUTGC.cjs} +6 -1
- package/dist/{chunk-HQKCSJEH.cjs → chunk-XH4GQ7MT.cjs} +17 -10
- package/dist/{chunk-SIECKBNK.cjs → chunk-XJEOHDPN.cjs} +6 -1
- package/dist/{chunk-5AMH6AFA.cjs → chunk-XK7SRVHC.cjs} +15 -11
- package/dist/chunk-XPVS4HKU.cjs +16 -0
- package/dist/{chunk-WKVYF2B5.cjs → chunk-XSJYXUY6.cjs} +6 -1
- package/dist/{chunk-5DX3O6TT.cjs → chunk-XSLYRNNA.cjs} +8 -4
- package/dist/{chunk-UUQNJDGH.cjs → chunk-XTQPYWQW.cjs} +6 -1
- package/dist/{chunk-3HLQTOVU.cjs → chunk-XVD5Y6S4.cjs} +6 -1
- package/dist/{chunk-7Q2YWZF7.cjs → chunk-XXBWKAJF.cjs} +14 -10
- package/dist/{chunk-YDXLC4DW.cjs → chunk-XZ6L3FUU.cjs} +6 -1
- package/dist/{chunk-FZ7OUN5M.cjs → chunk-Y3HLU2XL.cjs} +6 -2
- package/dist/{chunk-I2BYNELA.cjs → chunk-Y6WRVFD6.cjs} +9 -5
- package/dist/{chunk-OOZEU5KK.cjs → chunk-YC3LKWJO.cjs} +6 -1
- package/dist/{chunk-SXXSQVKK.cjs → chunk-YCIFGYBY.cjs} +13 -8
- package/dist/{chunk-CYOTNHDF.cjs → chunk-YHALJBYT.cjs} +6 -2
- package/dist/{chunk-WOAXQ5MZ.cjs → chunk-YLEL4ZRQ.cjs} +18 -14
- package/dist/{chunk-WEGAVN37.cjs → chunk-YMJK6VWQ.cjs} +6 -1
- package/dist/{chunk-2HW5LWAH.cjs → chunk-YQ5NVEFS.cjs} +6 -1
- package/dist/{chunk-AQLHD6HZ.cjs → chunk-YQXLBYY2.cjs} +20 -11
- package/dist/{chunk-IBEHVSU4.cjs → chunk-YUV5XXDC.cjs} +6 -1
- package/dist/{chunk-PWMJBCAN.cjs → chunk-YV47TSSB.cjs} +7 -3
- package/dist/{chunk-X333W5KV.cjs → chunk-YZMSJRM5.cjs} +6 -1
- package/dist/{chunk-VFMHE5D3.cjs → chunk-Z23OCU33.cjs} +29 -25
- package/dist/{chunk-DBYNZIIQ.cjs → chunk-Z2JQR56W.cjs} +6 -1
- package/dist/{chunk-RK3YYUX6.cjs → chunk-ZKVA2TV6.cjs} +6 -1
- package/dist/{chunk-SAPG45RA.cjs → chunk-ZPZGC6OD.cjs} +31 -27
- package/dist/{chunk-DV52ZS53.cjs → chunk-ZRRNF26T.cjs} +6 -2
- package/dist/{chunk-PO5MXV5X.cjs → chunk-ZSSBEPN4.cjs} +6 -1
- package/dist/{cli-runtime.d-qL44rqYO.d.mts → cli-runtime.d-BGaFPum1.d.mts} +5 -5
- package/dist/{cli-runtime.d-jqZ7YCsm.d.ts → cli-runtime.d-Bvfxt4uo.d.ts} +5 -5
- package/dist/client/lifecycle.cjs +8 -3
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-B2L2LyAr.d.mts → client-component.d-BA6kXI5L.d.mts} +1 -1
- package/dist/{client-component.d-BDD5aiUb.d.ts → client-component.d-LSEmRhuI.d.ts} +1 -1
- package/dist/client-plugins.cjs +8 -3
- package/dist/{client-plugins.d-Crct3m_r.d.ts → client-plugins.d-CQ6AGHP0.d.ts} +44 -4
- package/dist/{client-plugins.d-Dzc3vOw_.d.mts → client-plugins.d-CVUMc2ai.d.mts} +44 -4
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +51 -51
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/client.mjs +4 -4
- package/dist/config.cjs +3 -3
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/cron.cjs +9 -9
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +3 -3
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +3 -3
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.cjs +4 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/desktop.mjs +1 -1
- package/dist/{dev-guard-VIEEA4LS.cjs → dev-guard-M3ZCDWCK.cjs} +14 -11
- package/dist/{dev-guard-K3GJDPEQ.mjs → dev-guard-TFVWJNIB.mjs} +2 -2
- package/dist/{devtools-JTJA2KIZ.cjs → devtools-OBQY3XOY.cjs} +72 -69
- package/dist/{devtools-5DBTT2DI.mjs → devtools-RYTO2V7G.mjs} +7 -7
- package/dist/{devtools-client-BKBCCORT.cjs → devtools-client-3K67NMWA.cjs} +7 -4
- package/dist/{devtools-client-L4MUWD6K.mjs → devtools-client-WAMA6Q77.mjs} +1 -1
- package/dist/{devtools-ui-C2EMF2SO.cjs → devtools-ui-TPBPQEEB.cjs} +4 -1
- package/dist/{devtools-ui-BOG33MT5.mjs → devtools-ui-UYEVDADD.mjs} +1 -1
- package/dist/docs.cjs +72 -72
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +9 -9
- package/dist/env-types.cjs +4 -4
- package/dist/env-types.mjs +1 -1
- package/dist/env.cjs +4 -4
- package/dist/env.mjs +1 -1
- package/dist/environment/vite.cjs +16 -16
- package/dist/environment/vite.mjs +3 -3
- package/dist/environment.cjs +3 -3
- package/dist/environment.mjs +1 -1
- package/dist/font.cjs +3 -3
- package/dist/font.mjs +1 -1
- package/dist/{handler.d-B1S1ZBqS.d.mts → handler.d-DLKZDAYR.d.mts} +1 -1
- package/dist/{handler.d-ZweCBJD4.d.ts → handler.d-nkrNn_0M.d.ts} +1 -1
- package/dist/headers.cjs +6 -6
- package/dist/{headers.d-C-yGl_f6.d.mts → headers.d-C3k520Fc.d.mts} +1 -1
- package/dist/{headers.d-BgBdQN8x.d.ts → headers.d-DVBrYnqP.d.ts} +1 -1
- package/dist/headers.mjs +1 -1
- package/dist/i18n/client.cjs +23 -20
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +12 -7
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +11 -11
- package/dist/i18n/server.mjs +1 -1
- package/dist/image/server.cjs +8 -8
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +21 -18
- package/dist/image/sharp.mjs +1 -1
- package/dist/image.cjs +7 -4
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +232 -216
- package/dist/{index.d-13h3oDu7.d.mts → index.d-5PDB032w.d.mts} +1 -1
- package/dist/{index.d-CtoniAXT.d.ts → index.d-e5WhoB07.d.ts} +1 -1
- package/dist/index.d.mts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.mjs +53 -49
- package/dist/instrumentation.cjs +5 -5
- package/dist/instrumentation.mjs +1 -1
- package/dist/integrations/orm.cjs +7 -7
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations/orm.mjs +3 -3
- package/dist/integrations.cjs +24 -22
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +4 -2
- package/dist/internal/app-markdown-runtime.cjs +16 -14
- package/dist/internal/app-markdown-runtime.d.mts +10 -5
- package/dist/internal/app-markdown-runtime.d.ts +10 -5
- package/dist/internal/app-markdown-runtime.mjs +7 -5
- package/dist/internal/build-runtime.cjs +186 -181
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +38 -38
- package/dist/internal/cli-runtime.cjs +105 -100
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +17 -17
- package/dist/internal/client-error-overlay.cjs +12 -9
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +37 -26
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.cjs +4 -4
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/compression-runtime.mjs +1 -1
- package/dist/internal/config-runtime.cjs +85 -82
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +9 -9
- package/dist/internal/desktop-guard.cjs +5 -5
- package/dist/internal/desktop-guard.mjs +1 -1
- package/dist/internal/docs-precompiled-runtime.cjs +10 -7
- package/dist/internal/docs-precompiled-runtime.mjs +1 -1
- package/dist/internal/form-actions-client.cjs +4 -1
- package/dist/internal/form-actions-client.mjs +1 -1
- package/dist/internal/form-actions.cjs +13 -13
- package/dist/internal/form-actions.mjs +1 -1
- package/dist/internal/infra-analytics-runtime.cjs +32 -29
- package/dist/internal/infra-analytics-runtime.mjs +8 -8
- package/dist/internal/island-codec.cjs +4 -4
- package/dist/internal/island-codec.mjs +1 -1
- package/dist/internal/island-value-store.cjs +4 -1
- package/dist/internal/island-value-store.mjs +1 -1
- package/dist/internal/islands-action-client.cjs +10 -10
- package/dist/internal/islands-action-client.mjs +1 -1
- package/dist/internal/islands-boot.cjs +6 -3
- package/dist/internal/islands-boot.mjs +1 -1
- package/dist/internal/islands-runtime.cjs +12 -9
- package/dist/internal/islands-runtime.mjs +2 -2
- package/dist/internal/islands-server-tree.cjs +4 -1
- package/dist/internal/islands-server-tree.mjs +1 -1
- package/dist/internal/islands-server.cjs +9 -6
- package/dist/internal/islands-server.mjs +1 -1
- package/dist/internal/islx-actions-client.cjs +13 -10
- package/dist/internal/islx-actions-client.mjs +1 -1
- package/dist/internal/islx-actions-server.cjs +4 -1
- package/dist/internal/islx-actions-server.mjs +1 -1
- package/dist/internal/islx-client.cjs +7 -4
- package/dist/internal/islx-client.mjs +2 -2
- package/dist/internal/islx-react.cjs +4 -1
- package/dist/internal/islx-server.cjs +4 -1
- package/dist/internal/isolated-boundary.cjs +5 -5
- package/dist/internal/isolated-boundary.mjs +1 -1
- package/dist/internal/metadata-image-runtime.cjs +8 -8
- package/dist/internal/metadata-image-runtime.d.mts +2 -2
- package/dist/internal/metadata-image-runtime.d.ts +2 -2
- package/dist/internal/metadata-image-runtime.mjs +1 -1
- package/dist/internal/native-server-fns.cjs +10 -10
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/navigation-neutral.cjs +6 -3
- package/dist/internal/navigation-neutral.mjs +1 -1
- package/dist/internal/product-telemetry-runtime.cjs +4 -4
- package/dist/internal/product-telemetry-runtime.mjs +3 -3
- package/dist/internal/production-node-env.cjs +3 -3
- package/dist/internal/production-node-env.mjs +2 -2
- package/dist/internal/production-runtime.cjs +97 -89
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +14 -14
- package/dist/internal/react-cache.cjs +10 -7
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/renderer-islands.cjs +4 -1
- package/dist/internal/renderer-islands.mjs +1 -1
- package/dist/internal/request-cookies.cjs +3 -3
- package/dist/internal/request-cookies.mjs +1 -1
- package/dist/internal/server-fn-transform.cjs +3 -3
- package/dist/internal/server-fn-transform.mjs +1 -1
- package/dist/internal/server-tree.cjs +5 -5
- package/dist/internal/server-tree.mjs +1 -1
- package/dist/internal/spa-router.cjs +20 -20
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/spa-router.mjs +3 -3
- package/dist/internal/start-manifest.cjs +4 -1
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/internal/start-manifest.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +23 -20
- package/dist/internal/vercel-edge-middleware.mjs +1 -1
- package/dist/json-ld.cjs +4 -1
- package/dist/json-ld.mjs +1 -1
- package/dist/layers-GP57TBE2.cjs +21 -0
- package/dist/{layers-744BBUY5.mjs → layers-IMRXNZRB.mjs} +1 -1
- package/dist/{libsql-http-M6LMNXCN.cjs → libsql-http-5GYGFVGC.cjs} +94 -87
- package/dist/{libsql-http-2QD224YS.mjs → libsql-http-PBJXNEOX.mjs} +1 -1
- package/dist/manager-3DFQDKJ6.cjs +18 -0
- package/dist/{manager-7BNSJKME.mjs → manager-GZUTAN5Q.mjs} +2 -2
- package/dist/markdown.cjs +12 -12
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +2 -2
- package/dist/middleware.cjs +32 -32
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.mjs +4 -4
- package/dist/mobile.cjs +4 -1
- package/dist/mobile.mjs +1 -1
- package/dist/{modules-3Q2ZCY4Q.mjs → modules-IVJXVV4W.mjs} +1 -1
- package/dist/modules-JDPCBWND.cjs +13 -0
- package/dist/{mount.d-_6Un9wdK.d.mts → mount.d-COIrFH0i.d.mts} +1 -1
- package/dist/{mount.d-DyKlRR6z.d.ts → mount.d-Cbz8vsSZ.d.ts} +1 -1
- package/dist/{native-server-fn-handler-PYK65A46.mjs → native-server-fn-handler-IMLQMSIR.mjs} +1 -1
- package/dist/native-server-fn-handler-U7I6H6MM.cjs +30 -0
- package/dist/{native-specs-A7YOL463.mjs → native-specs-4DOPYSOJ.mjs} +1 -1
- package/dist/native-specs-IXHEIZCD.cjs +15 -0
- package/dist/{native-tree-LNO7K6JR.mjs → native-tree-2GQMSOLV.mjs} +3 -3
- package/dist/native-tree-PHCV43W4.cjs +28 -0
- package/dist/native.cjs +4 -1
- package/dist/native.mjs +1 -1
- package/dist/{navigation-delegate.d-BbW1_pf_.d.ts → navigation-delegate.d-dlnYTX-Y.d.ts} +1 -1
- package/dist/{navigation-delegate.d-B9GjWbov.d.mts → navigation-delegate.d-yulG9Dp5.d.mts} +1 -1
- package/dist/navigation.cjs +26 -26
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +5 -5
- package/dist/{nitro-FK3SZM4H.mjs → nitro-6HSEGMWJ.mjs} +2 -2
- package/dist/{nitro-YDFMH5PY.cjs → nitro-K4MCBBB6.cjs} +31 -28
- package/dist/{node-module-bundle-ZWCQJCKA.mjs → node-module-bundle-4IN4YCDV.mjs} +1 -1
- package/dist/node-module-bundle-PHKRIHI6.cjs +15 -0
- package/dist/observability.cjs +3 -3
- package/dist/observability.mjs +1 -1
- package/dist/og.cjs +4 -1
- package/dist/og.mjs +1 -1
- package/dist/platform.cjs +4 -1
- package/dist/platform.mjs +1 -1
- package/dist/{plugin-EVKQZBNW.mjs → plugin-B7I5QVBE.mjs} +2 -2
- package/dist/plugin-QYBJSGHG.cjs +33 -0
- package/dist/plugin.cjs +175 -170
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +31 -31
- package/dist/{port-STMSGUVU.cjs → port-2YV5GBDN.cjs} +13 -10
- package/dist/{port-CEZTV776.mjs → port-4ZIDLV4Z.mjs} +1 -1
- package/dist/query/client.cjs +38 -34
- package/dist/query/client.mjs +3 -3
- package/dist/query/index.cjs +5 -5
- package/dist/query/index.mjs +1 -1
- package/dist/query/parsers.cjs +3 -3
- package/dist/query/parsers.mjs +1 -1
- package/dist/query/server.cjs +8 -5
- package/dist/query/server.mjs +1 -1
- package/dist/{render-plan.d-DaM1NPnm.d.mts → render-plan.d-BW56oxMP.d.mts} +1 -1
- package/dist/{render-plan.d-D0FV9lDT.d.ts → render-plan.d-Cz7bQmcf.d.ts} +1 -1
- package/dist/renderer/none/server.cjs +4 -1
- package/dist/renderer/none/server.mjs +1 -1
- package/dist/renderer/react/client.cjs +4 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +14 -11
- package/dist/renderer/react/server.mjs +1 -1
- package/dist/renderer/react/vite.cjs +4 -1
- package/dist/renderer/react/vite.mjs +1 -1
- package/dist/renderer-client.cjs +67 -64
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +3 -3
- package/dist/renderer.cjs +11 -6
- package/dist/renderer.d.mts +22 -11
- package/dist/renderer.d.ts +22 -11
- package/dist/renderer.mjs +1 -1
- package/dist/request.cjs +9 -4
- package/dist/{request.d-CrXC7voZ.d.ts → request.d-BaFROByP.d.ts} +1 -1
- package/dist/{request.d-DVSLilGx.d.mts → request.d-BwgX-7Wi.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-CWi3UYtR.d.mts → route-rendering.d-BzeFPYGc.d.mts} +1 -1
- package/dist/{route-rendering.d-OfbM_rj8.d.ts → route-rendering.d-D4kUuncg.d.ts} +1 -1
- package/dist/router.cjs +5 -5
- package/dist/{router.d-Bm9FNSu3.d.ts → router.d-B9qJdgjt.d.ts} +1 -1
- package/dist/{router.d-YKVirmj4.d.mts → router.d-D-p8WElf.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +16 -16
- package/dist/routes.d.mts +3 -3
- package/dist/routes.d.ts +3 -3
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-W5DSWDHD.mjs → rsc-pipeline-Y6D6KBES.mjs} +12 -12
- package/dist/rsc-pipeline-YHVEHWTU.cjs +91 -0
- package/dist/{runtime-UOZKSM5S.mjs → runtime-62ZIEV6U.mjs} +11 -11
- package/dist/{runtime-YV4X5FAK.cjs → runtime-LKEMFXHW.cjs} +129 -119
- package/dist/{runtime.d-BVj6apd0.d.mts → runtime.d-BUtDIrRJ.d.mts} +1 -1
- package/dist/{runtime.d-D7QYVJGO.d.ts → runtime.d-Du64AX3R.d.ts} +1 -1
- package/dist/safe-fetch.cjs +4 -4
- package/dist/safe-fetch.mjs +1 -1
- package/dist/{schema-dev-notice-EUPAUJVN.mjs → schema-dev-notice-EZAOFO7A.mjs} +1 -1
- package/dist/{schema-dev-notice-ZSCL47CT.cjs → schema-dev-notice-Y4J5KPEY.cjs} +16 -13
- package/dist/schema.cjs +4 -4
- package/dist/schema.mjs +1 -1
- package/dist/{search-client-GIXIEU75.mjs → search-client-HN3ZY6AK.mjs} +1 -1
- package/dist/search-client-Z7KDVD4C.cjs +15 -0
- package/dist/server-action-security.cjs +10 -10
- package/dist/server-action-security.mjs +1 -1
- package/dist/{server-components-status.d-BDVcxi0z.d.mts → server-components-status.d-B0YP-m9A.d.mts} +1 -1
- package/dist/{server-components-status.d-CfKDpmCH.d.ts → server-components-status.d-CvFhb6-t.d.ts} +1 -1
- package/dist/server-fn-client.cjs +4 -4
- package/dist/server-fn-client.mjs +1 -1
- package/dist/server-fn.cjs +17 -17
- package/dist/server-fn.mjs +1 -1
- package/dist/server-plugins.cjs +21 -16
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server-plugins.mjs +1 -1
- package/dist/server-query-client.cjs +10 -10
- package/dist/server-query-client.mjs +1 -1
- package/dist/server-query.cjs +19 -19
- package/dist/server-query.mjs +1 -1
- package/dist/server.cjs +225 -216
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +34 -34
- package/dist/session-J7NTZI56.cjs +24 -0
- package/dist/{session-4IB34X35.mjs → session-ZFM3RDG2.mjs} +3 -3
- package/dist/{spa-router.d-DGmropfK.d.mts → spa-router.d-CkR14oGH.d.mts} +2 -2
- package/dist/{spa-router.d-nE1jHNGt.d.ts → spa-router.d-D4ye2WFk.d.ts} +2 -2
- package/dist/{ssg.d-jXlUAKzg.d.ts → ssg.d-BCJB_f7B.d.ts} +2 -2
- package/dist/{ssg.d-DS-gXUbf.d.mts → ssg.d-DFs97VTY.d.mts} +2 -2
- package/dist/storage.cjs +4 -4
- package/dist/storage.mjs +2 -2
- package/dist/{store-core.d-B5cwOd8g.d.ts → store-core.d-0W2YScl8.d.ts} +2 -2
- package/dist/{store-core.d-C-gATBwd.d.mts → store-core.d-Vk5UDKeC.d.mts} +2 -2
- package/dist/testing.cjs +65 -62
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/theme/client.cjs +5 -5
- package/dist/theme/client.mjs +1 -1
- package/dist/theme/index.cjs +4 -4
- package/dist/theme/index.mjs +1 -1
- package/dist/theme/runtime.cjs +3 -3
- package/dist/theme/runtime.mjs +1 -1
- package/dist/theme/server.cjs +8 -8
- package/dist/theme/server.mjs +1 -1
- package/dist/{utils.d-BODwBtkz.d.ts → utils.d-Ba3N28fk.d.ts} +1 -1
- package/dist/{utils.d-Cmj-fzds.d.mts → utils.d-Cloiko8d.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +168 -168
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +31 -31
- package/dist/workflows.cjs +14 -14
- package/dist/workflows.mjs +2 -2
- package/package.json +5 -5
- package/LICENSE +0 -22
- package/dist/agent-mcp-handler-IUL6OPC3.cjs +0 -21
- package/dist/analyzer-IIWSUXSQ.cjs +0 -17
- package/dist/chunk-3376ZTRC.cjs +0 -1
- package/dist/chunk-K5NI5YQR.cjs +0 -1
- package/dist/chunk-MCJLA63J.cjs +0 -1
- package/dist/chunk-THGSPDFD.cjs +0 -40
- package/dist/chunk-V3Y3R3JJ.cjs +0 -9
- package/dist/chunk-YTAABQEV.cjs +0 -1
- package/dist/layers-XLOMMQP7.cjs +0 -21
- package/dist/manager-37UJPUN4.cjs +0 -18
- package/dist/modules-KDHFBQ6L.cjs +0 -13
- package/dist/native-server-fn-handler-57TCQPSM.cjs +0 -30
- package/dist/native-specs-JDPH26AO.cjs +0 -15
- package/dist/native-tree-5TENEQ7Y.cjs +0 -28
- package/dist/node-module-bundle-TNSY5PAC.cjs +0 -15
- package/dist/plugin-MWO3G2XM.cjs +0 -33
- package/dist/rsc-pipeline-LGXJGGMW.cjs +0 -91
- package/dist/search-client-A7YJT7JZ.cjs +0 -15
- package/dist/session-MOYQJ7E6.cjs +0 -24
- package/dist/{chunk-IVP5Q4BX.mjs → chunk-6IKUYFNQ.mjs} +0 -0
- package/dist/{chunk-D7LXBLUW.mjs → chunk-FYTZZM5U.mjs} +3 -3
- /package/dist/{chunk-URBP6DLH.mjs → chunk-LQZXCSYG.mjs} +0 -0
- /package/dist/{chunk-M6AJZ4XR.mjs → chunk-QNJUQIUZ.mjs} +0 -0
|
@@ -4,21 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHP7QYVSTcjs = require('./chunk-HP7QYVST.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk32HGOX3Mcjs = require('./chunk-32HGOX3M.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkXEPUUTGCcjs = require('./chunk-XEPUUTGC.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
14
17
|
|
|
15
18
|
// src/renderer-islands.ts
|
|
19
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
16
20
|
var _server = require('@farm.js/islx/islands/server');
|
|
17
21
|
var CLIENT_ATTRIBUTE = "client:";
|
|
18
22
|
var responses = /* @__PURE__ */ new WeakMap();
|
|
19
23
|
var detached = 0;
|
|
20
24
|
function currentResponse() {
|
|
21
|
-
const request =
|
|
25
|
+
const request = _chunkXEPUUTGCcjs._peekCurrentRequest.call(void 0, );
|
|
22
26
|
if (!request) return void 0;
|
|
23
27
|
let response = responses.get(request);
|
|
24
28
|
if (!response) responses.set(request, response = { next: 0, sent: /* @__PURE__ */ new Set() });
|
|
@@ -37,7 +41,7 @@ function readClientAttributes(props, reference) {
|
|
|
37
41
|
}
|
|
38
42
|
if (value === void 0) continue;
|
|
39
43
|
const name = key.slice(CLIENT_ATTRIBUTE.length);
|
|
40
|
-
if (!
|
|
44
|
+
if (!_chunk32HGOX3Mcjs.isFarmIslandStrategy.call(void 0, name)) {
|
|
41
45
|
throw new TypeError(
|
|
42
46
|
`\`${key}\` on ${islandName(reference)} is not an island strategy. Use \`client:load\`, \`client:idle\`, \`client:visible\` or \`client:interaction\`.`
|
|
43
47
|
);
|
|
@@ -89,13 +93,13 @@ function resolveFarmIsland(props, reference) {
|
|
|
89
93
|
}
|
|
90
94
|
}
|
|
91
95
|
function resolveFarmRendererServerComponentsIslands(config) {
|
|
92
|
-
if (
|
|
96
|
+
if (_chunkHP7QYVSTcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _2 => _2.experimental, 'optionalAccess', _3 => _3.serverComponents])) !== "islands") {
|
|
93
97
|
return false;
|
|
94
98
|
}
|
|
95
|
-
if (config.renderer === void 0 ||
|
|
96
|
-
const renderer =
|
|
97
|
-
if (
|
|
98
|
-
if (!
|
|
99
|
+
if (config.renderer === void 0 || _chunkHP7QYVSTcjs.isFarmRendererDisabled.call(void 0, config.renderer)) return false;
|
|
100
|
+
const renderer = _chunkHP7QYVSTcjs.resolveFarmRenderer.call(void 0, config.renderer);
|
|
101
|
+
if (_chunkHP7QYVSTcjs.isReactRenderer.call(void 0, renderer)) return false;
|
|
102
|
+
if (!_chunkHP7QYVSTcjs.getFarmRendererCapabilities.call(void 0, renderer).islands) {
|
|
99
103
|
throw new Error(
|
|
100
104
|
`[Farm.js] \`experimental.serverComponents: { mode: "islands" }\` needs a renderer that supports islands, and \`${renderer.name}\` doesn't declare \`capabilities.islands\`. Remove \`experimental.serverComponents\` to hydrate each route whole, or add islands to the renderer: https://farmjs.dev/docs/renderers/custom#islands`
|
|
101
105
|
);
|
|
@@ -103,8 +107,8 @@ function resolveFarmRendererServerComponentsIslands(config) {
|
|
|
103
107
|
return true;
|
|
104
108
|
}
|
|
105
109
|
function usesFarmRendererIslands(config) {
|
|
106
|
-
const renderer =
|
|
107
|
-
return !
|
|
110
|
+
const renderer = _chunkHP7QYVSTcjs.resolveFarmRenderer.call(void 0, config.renderer);
|
|
111
|
+
return !_chunkHP7QYVSTcjs.isReactRenderer.call(void 0, renderer) && _chunkHP7QYVSTcjs.getFarmRendererCapabilities.call(void 0, renderer).islands && _optionalChain([config, 'access', _4 => _4.experimental, 'optionalAccess', _5 => _5.isolatedClientHydration]) === "enabled" && _chunkHP7QYVSTcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _6 => _6.experimental, 'optionalAccess', _7 => _7.serverComponents])) === void 0;
|
|
108
112
|
}
|
|
109
113
|
|
|
110
114
|
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZSSBEPN4cjs = require('./chunk-ZSSBEPN4.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/api/server-context.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
10
|
var _async_hooks = require('async_hooks');
|
|
7
11
|
var API_RUNTIME_STORAGE = /* @__PURE__ */ Symbol.for("@farm.js/core/api-request-storage");
|
|
8
12
|
var runtimeGlobal = globalThis;
|
|
9
13
|
var storage = _nullishCoalesce(runtimeGlobal[API_RUNTIME_STORAGE], () => ( (runtimeGlobal[API_RUNTIME_STORAGE] = new (0, _async_hooks.AsyncLocalStorage)())));
|
|
10
|
-
|
|
14
|
+
_chunkZSSBEPN4cjs.setAPIRequestRuntimeResolver.call(void 0, () => storage.getStore());
|
|
11
15
|
function _runWithAPIRequestRuntime(runtime, run) {
|
|
12
16
|
return storage.run(runtime, run);
|
|
13
17
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
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; }
|
|
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
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/image-config.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var DEFAULT_FARM_IMAGE_PATH = "/_farm/image";
|
|
3
8
|
var DEFAULT_FARM_IMAGE_DEVICE_SIZES = [
|
|
4
9
|
640,
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/utils/hydrate-export.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var COMMENT_LINE = /^[ \t]*\/\/.*$/gm;
|
|
3
8
|
var DECLARATION = /\bexport\s+(?:(?:const|let|var)\s+hydrate(?![\w$])(?:\s*:[^=;\n]+)?\s*=\s*([^,;\n]*)|(?:async\s+)?(function|class)\b\s*\*?\s*hydrate(?![\w$]))/g;
|
|
4
9
|
var EXPORT_LIST = /\bexport\s*(type\s*)?\{([^}]*)\}(?:\s*from\s*(["'])([^"'\n]*)\3)?/g;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/client-revalidation.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function attachRevalidationListeners(refresh, options = {}) {
|
|
3
8
|
if (typeof window === "undefined") return () => {
|
|
4
9
|
};
|
|
@@ -1,21 +1,25 @@
|
|
|
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
|
|
3
|
+
var _chunkJZCUDAH2cjs = require('./chunk-JZCUDAH2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkY6WRVFD6cjs = require('./chunk-Y6WRVFD6.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkVUCDMV3Qcjs = require('./chunk-VUCDMV3Q.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkN4C72FCDcjs = require('./chunk-N4C72FCD.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
14
17
|
|
|
15
18
|
// src/server-query-runtime.ts
|
|
19
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
16
20
|
var serverQueryClientGlobal = globalThis;
|
|
17
21
|
var _a;
|
|
18
|
-
var serverQueryClientState = _nullishCoalesce(serverQueryClientGlobal[_a =
|
|
22
|
+
var serverQueryClientState = _nullishCoalesce(serverQueryClientGlobal[_a = _chunkJZCUDAH2cjs.FARM_SERVER_QUERY_CLIENT_STATE], () => ( (serverQueryClientGlobal[_a] = {
|
|
19
23
|
functionIds: /* @__PURE__ */ new WeakMap(),
|
|
20
24
|
nextFunctionId: 0,
|
|
21
25
|
active: [],
|
|
@@ -25,7 +29,7 @@ var serverQueryClientState = _nullishCoalesce(serverQueryClientGlobal[_a = _chun
|
|
|
25
29
|
_nullishCoalesce(serverQueryClientState.latestOwners, () => ( (serverQueryClientState.latestOwners = /* @__PURE__ */ new Map())));
|
|
26
30
|
_nullishCoalesce(serverQueryClientState.owners, () => ( (serverQueryClientState.owners = /* @__PURE__ */ new Set())));
|
|
27
31
|
function isServerQueryOwnerSuperseded(owner, key) {
|
|
28
|
-
const cache =
|
|
32
|
+
const cache = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
29
33
|
const resolved = cache.resolveKey(key);
|
|
30
34
|
for (const superseded of _nullishCoalesce(owner.supersededKeys, () => ( []))) {
|
|
31
35
|
if (cache.resolveKey(superseded) === resolved) return true;
|
|
@@ -34,7 +38,7 @@ function isServerQueryOwnerSuperseded(owner, key) {
|
|
|
34
38
|
}
|
|
35
39
|
function claimServerQueryKey(owner, key) {
|
|
36
40
|
if (isServerQueryOwnerSuperseded(owner, key)) return false;
|
|
37
|
-
const resolved =
|
|
41
|
+
const resolved = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, ).resolveKey(key);
|
|
38
42
|
for (const older of serverQueryClientState.owners) {
|
|
39
43
|
if (older === owner) break;
|
|
40
44
|
older.supersededKeys.add(resolved);
|
|
@@ -57,8 +61,8 @@ function assertNotRawServerQueryInBrowser(query) {
|
|
|
57
61
|
);
|
|
58
62
|
}
|
|
59
63
|
function completeFarmServerQueryAction(invocation, value) {
|
|
60
|
-
if (!
|
|
61
|
-
const cache =
|
|
64
|
+
if (!_chunkVUCDMV3Qcjs.isFarmServerQueryResult.call(void 0, value)) return value;
|
|
65
|
+
const cache = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
62
66
|
const metadata = value.__farmServerQuery;
|
|
63
67
|
if (!shouldApplyFarmServerQueryActionResult(invocation)) {
|
|
64
68
|
return value.data;
|
|
@@ -97,11 +101,11 @@ function createServerQueryCallKey(query, input) {
|
|
|
97
101
|
id = ++serverQueryClientState.nextFunctionId;
|
|
98
102
|
serverQueryClientState.functionIds.set(query, id);
|
|
99
103
|
}
|
|
100
|
-
return
|
|
104
|
+
return _chunkN4C72FCDcjs.createFarmCacheKey.call(void 0, ["server-query-call", id, input]);
|
|
101
105
|
}
|
|
102
106
|
async function fetchServerQuery(query, input, options = {}) {
|
|
103
107
|
if (!isFarmServerQueryBrowserRuntime()) return query(input);
|
|
104
|
-
const cache =
|
|
108
|
+
const cache = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
105
109
|
const provisionalKey = createServerQueryCallKey(query, input);
|
|
106
110
|
const entry = cache.get(provisionalKey);
|
|
107
111
|
const stale = cache.isStale(provisionalKey);
|
|
@@ -121,11 +125,11 @@ function prefetchServerQuery(query, input, options = {}) {
|
|
|
121
125
|
}
|
|
122
126
|
async function executeServerQuery(query, input, provisionalKey, options) {
|
|
123
127
|
assertNotRawServerQueryInBrowser(query);
|
|
124
|
-
const cache =
|
|
128
|
+
const cache = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
125
129
|
const inflight = cache.getInflight(provisionalKey);
|
|
126
130
|
if (inflight && !options.force) return inflight;
|
|
127
131
|
const owner = {
|
|
128
|
-
invalidations:
|
|
132
|
+
invalidations: _chunkY6WRVFD6cjs.trackFarmClientCacheInvalidations.call(void 0, cache),
|
|
129
133
|
supersededKeys: /* @__PURE__ */ new Set()
|
|
130
134
|
};
|
|
131
135
|
serverQueryClientState.latestOwners.set(provisionalKey, owner);
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/i18n/bridge.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var FARM_I18N_SNAPSHOT_RESOLVER = /* @__PURE__ */ Symbol.for("farm.i18n.snapshotResolver");
|
|
3
8
|
function _setFarmI18nSnapshotResolver(resolver) {
|
|
4
9
|
globalThis[FARM_I18N_SNAPSHOT_RESOLVER] = resolver;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/build/production-node-env.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
7
|
+
|
|
8
|
+
// src/nitro/node-server-entry.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
10
|
var FARM_NODE_ENV_MODULE_FILE = "farm-node-env.mjs";
|
|
3
11
|
var FARM_NODE_ENV_MODULE_SOURCE = `if (!process.env.NODE_ENV) process.env.NODE_ENV = "production";
|
|
4
12
|
`;
|
|
@@ -77,6 +85,10 @@ if (import.meta._websocket) {
|
|
|
77
85
|
}
|
|
78
86
|
`;
|
|
79
87
|
var bunServerSource = (desktop) => `const ws = import.meta._websocket ? wsAdapter({ resolve: resolveWebsocketHooks }) : undefined;
|
|
88
|
+
const farmFetch = (request) => {
|
|
89
|
+
request.runtime.bun.server.timeout(request, 0);
|
|
90
|
+
return nitroApp.fetch(request);
|
|
91
|
+
};
|
|
80
92
|
const server = serve({
|
|
81
93
|
manual: true,
|
|
82
94
|
silent: true,
|
|
@@ -88,12 +100,12 @@ const server = serve({
|
|
|
88
100
|
farmDesktopGuard(request) ??
|
|
89
101
|
(import.meta._websocket && request.headers.get("upgrade") === "websocket"
|
|
90
102
|
? ws.handleUpgrade(request, request.runtime.bun.server)
|
|
91
|
-
:
|
|
103
|
+
: farmFetch(request))` : `import.meta._websocket
|
|
92
104
|
? (request) =>
|
|
93
105
|
request.headers.get("upgrade") === "websocket"
|
|
94
106
|
? ws.handleUpgrade(request, request.runtime.bun.server)
|
|
95
|
-
:
|
|
96
|
-
:
|
|
107
|
+
: farmFetch(request)
|
|
108
|
+
: farmFetch`},
|
|
97
109
|
bun: { websocket: import.meta._websocket ? ws?.websocket : undefined },
|
|
98
110
|
plugins: [...tracingSrvxPlugins],
|
|
99
111
|
});
|
|
@@ -132,7 +144,7 @@ import { trapUnhandledErrors } from "#nitro/runtime/error/hooks";
|
|
|
132
144
|
import { setupCloseHooks } from "#nitro/runtime/shutdown";
|
|
133
145
|
import { startScheduleRunner } from "#nitro/runtime/task";
|
|
134
146
|
import { tracingSrvxPlugins } from "#nitro/virtual/tracing";
|
|
135
|
-
import { farmProductionLifecycle } from ${JSON.stringify(nitroEntryImport)};${desktop ? `
|
|
147
|
+
import { farmPrepareNativeRoutes, farmProductionLifecycle } from ${JSON.stringify(nitroEntryImport)};${desktop ? `
|
|
136
148
|
import { realpathSync } from "node:fs";
|
|
137
149
|
import { pathToFileURL } from "node:url";
|
|
138
150
|
import { createFarmDesktopGuard } from ${JSON.stringify(desktop.guardModule)};
|
|
@@ -196,7 +208,9 @@ if (!shutdownConfig.disabled) {
|
|
|
196
208
|
|
|
197
209
|
try {
|
|
198
210
|
await Promise.race([
|
|
199
|
-
Promise.resolve()
|
|
211
|
+
Promise.resolve()
|
|
212
|
+
.then(() => farmProductionLifecycle.start())
|
|
213
|
+
.then(() => farmPrepareNativeRoutes()),
|
|
200
214
|
startupSignalPromise,
|
|
201
215
|
]);
|
|
202
216
|
} catch (error) {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/server-query-call.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var FARM_SERVER_QUERY_CLIENT_STATE = /* @__PURE__ */ Symbol.for("farm.serverQueryClientState");
|
|
3
8
|
function beginFarmServerQueryAction(actionId, args) {
|
|
4
9
|
const state = globalThis[FARM_SERVER_QUERY_CLIENT_STATE];
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/search-params.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function searchParamsToObject(searchParams) {
|
|
3
8
|
const output = {};
|
|
4
9
|
searchParams.forEach((value, key) => {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTFCBJFP7cjs = require('./chunk-TFCBJFP7.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
5
8
|
|
|
6
9
|
// src/i18n/routing.ts
|
|
10
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
7
11
|
var RTL_LANGUAGES = /* @__PURE__ */ new Set([
|
|
8
12
|
"ar",
|
|
9
13
|
"arc",
|
|
@@ -21,7 +25,7 @@ var RTL_LANGUAGES = /* @__PURE__ */ new Set([
|
|
|
21
25
|
"yi"
|
|
22
26
|
]);
|
|
23
27
|
function resolveFarmLocalePath(pathname, config) {
|
|
24
|
-
const normalized = normalizePathname(
|
|
28
|
+
const normalized = normalizePathname(_chunkTFCBJFP7cjs.stripFarmBasePath.call(void 0, pathname, config.basePath));
|
|
25
29
|
if (config.routing === "none") {
|
|
26
30
|
return { pathname: normalized, explicit: false };
|
|
27
31
|
}
|
|
@@ -47,13 +51,13 @@ function localizeFarmPathname(pathname, locale, config) {
|
|
|
47
51
|
const internalPathname = resolveFarmLocalePath(pathname, config).pathname;
|
|
48
52
|
let localizedPathname = internalPathname;
|
|
49
53
|
if (config.routing === "none") {
|
|
50
|
-
return
|
|
54
|
+
return _chunkTFCBJFP7cjs.applyFarmBasePath.call(void 0, localizedPathname, config.basePath);
|
|
51
55
|
}
|
|
52
56
|
if (config.routing === "prefix-except-default" && locale === config.defaultLocale) {
|
|
53
|
-
return
|
|
57
|
+
return _chunkTFCBJFP7cjs.applyFarmBasePath.call(void 0, localizedPathname, config.basePath);
|
|
54
58
|
}
|
|
55
59
|
localizedPathname = internalPathname === "/" ? `/${locale}` : `/${locale}${internalPathname}`;
|
|
56
|
-
return
|
|
60
|
+
return _chunkTFCBJFP7cjs.applyFarmBasePath.call(void 0, localizedPathname, config.basePath);
|
|
57
61
|
}
|
|
58
62
|
function localizeFarmHref(href, locale, config) {
|
|
59
63
|
if (!href.startsWith("/") || href.startsWith("//")) return href;
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkLVYUTMW4cjs = require('./chunk-LVYUTMW4.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkM6W3AN57cjs = require('./chunk-M6W3AN57.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
9
12
|
|
|
10
13
|
// src/layers.ts
|
|
14
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
11
15
|
var _fs = require('fs');
|
|
12
16
|
var _promises = require('fs/promises');
|
|
13
17
|
var _module = require('module');
|
|
@@ -160,8 +164,8 @@ function createFarmConfigResolutionPlugin(options) {
|
|
|
160
164
|
kind: extraOptions.kind,
|
|
161
165
|
skipSelf: true
|
|
162
166
|
});
|
|
163
|
-
if (!_optionalChain([resolved, 'optionalAccess', _ => _.id]) || !
|
|
164
|
-
return await _asyncNullishCoalesce(await
|
|
167
|
+
if (!_optionalChain([resolved, 'optionalAccess', _ => _.id]) || !_chunkLVYUTMW4cjs.isDeclarationFile.call(void 0, resolved.id)) return _optionalChain([resolved, 'optionalAccess', _2 => _2.id]);
|
|
168
|
+
return await _asyncNullishCoalesce(await _chunkLVYUTMW4cjs.resolvePackageWithoutTsconfig.call(void 0, specifier, importer, extraOptions.kind), async () => ( void 0));
|
|
165
169
|
};
|
|
166
170
|
if (source === FARM_CORE_PACKAGE && extraOptions.kind === "import-statement") {
|
|
167
171
|
let configEntryCheck = configEntryChecks.get(importer);
|
|
@@ -194,7 +198,7 @@ async function loadFarmConfigFile(configPath, options) {
|
|
|
194
198
|
configCacheDir,
|
|
195
199
|
`farm-config-${Date.now()}-${Math.random().toString(36).slice(2)}.mjs`
|
|
196
200
|
);
|
|
197
|
-
await
|
|
201
|
+
await _chunkLVYUTMW4cjs.bundleNodeModule.call(void 0, {
|
|
198
202
|
root: _path2.default.resolve(options.root),
|
|
199
203
|
entry: _path2.default.resolve(configPath),
|
|
200
204
|
outfile: modulePath,
|
|
@@ -380,7 +384,7 @@ function mergeFarmLayerConfig(base, override) {
|
|
|
380
384
|
if (key === "storage" && isPlainObject(value.mounts) && isPlainObject(output[key].mounts)) {
|
|
381
385
|
for (const [name, mount] of Object.entries(value.mounts)) {
|
|
382
386
|
const previous = output[key].mounts[name];
|
|
383
|
-
if (mount !== void 0 && (
|
|
387
|
+
if (mount !== void 0 && (_chunkM6W3AN57cjs.hasManagedMountSchema.call(void 0, previous) || _chunkM6W3AN57cjs.hasManagedMountSchema.call(void 0, mount))) {
|
|
384
388
|
merged.mounts[name] = mount;
|
|
385
389
|
}
|
|
386
390
|
}
|
|
@@ -4,13 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2RA2VIKNcjs = require('./chunk-2RA2VIKN.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkT4YCWRCJcjs = require('./chunk-T4YCWRCJ.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
12
15
|
|
|
13
16
|
// src/router.ts
|
|
17
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
14
18
|
function createFarmRouter(routes) {
|
|
15
19
|
const normalizedRoutes = routes.map(normalizeRouteInput);
|
|
16
20
|
const patternsByShape = /* @__PURE__ */ new Map();
|
|
@@ -18,7 +22,7 @@ function createFarmRouter(routes) {
|
|
|
18
22
|
const shape = getRouterRouteShape(entry);
|
|
19
23
|
const existingPattern = patternsByShape.get(shape);
|
|
20
24
|
if (existingPattern) {
|
|
21
|
-
throw new (0,
|
|
25
|
+
throw new (0, _chunkT4YCWRCJcjs.AmbiguousRouteError)(
|
|
22
26
|
`Ambiguous route patterns "${existingPattern}" and "${entry.route.path}" match the same URLs. Keep only one route for this URL shape.`
|
|
23
27
|
);
|
|
24
28
|
}
|
|
@@ -35,7 +39,7 @@ function createFarmRouter(routes) {
|
|
|
35
39
|
return {
|
|
36
40
|
routes: normalizedRoutes.map((entry) => entry.route),
|
|
37
41
|
match(pathname) {
|
|
38
|
-
const normalizedPathname =
|
|
42
|
+
const normalizedPathname = _chunk2RA2VIKNcjs.normalizePathname.call(void 0, pathname);
|
|
39
43
|
const exactRoute = exactRoutes.get(normalizedPathname);
|
|
40
44
|
if (exactRoute) {
|
|
41
45
|
return {
|
|
@@ -44,9 +48,9 @@ function createFarmRouter(routes) {
|
|
|
44
48
|
params: {}
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
|
-
const parts =
|
|
51
|
+
const parts = _chunk2RA2VIKNcjs.splitDecodedPathname.call(void 0, normalizedPathname);
|
|
48
52
|
for (const entry of normalizedRoutes) {
|
|
49
|
-
const params =
|
|
53
|
+
const params = _chunk2RA2VIKNcjs.matchDecodedParts.call(void 0, entry.segments, parts);
|
|
50
54
|
if (params) {
|
|
51
55
|
return {
|
|
52
56
|
route: entry.route,
|
|
@@ -62,11 +66,11 @@ function createFarmRouter(routes) {
|
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
68
|
function matchFarmRoute(pattern, pathname) {
|
|
65
|
-
return matchSegments(
|
|
69
|
+
return matchSegments(_chunk2RA2VIKNcjs.parseRoutePattern.call(void 0, pattern), _chunk2RA2VIKNcjs.normalizePathname.call(void 0, pathname));
|
|
66
70
|
}
|
|
67
71
|
function buildFarmRoutePath(pattern, params = {}, options = {}) {
|
|
68
72
|
const parts = [];
|
|
69
|
-
for (const segment of
|
|
73
|
+
for (const segment of _chunk2RA2VIKNcjs.parseRoutePattern.call(void 0, pattern)) {
|
|
70
74
|
if (segment.type === "static") {
|
|
71
75
|
parts.push(encodePathSegment(segment.value));
|
|
72
76
|
continue;
|
|
@@ -98,18 +102,18 @@ function buildFarmRoutePath(pattern, params = {}, options = {}) {
|
|
|
98
102
|
return appendQueryAndHash(pathname, options);
|
|
99
103
|
}
|
|
100
104
|
function isFarmRouteActive(pattern, pathname, options = {}) {
|
|
101
|
-
const normalizedPathname =
|
|
102
|
-
const segments =
|
|
103
|
-
const parts =
|
|
104
|
-
if (
|
|
105
|
+
const normalizedPathname = _chunk2RA2VIKNcjs.normalizePathname.call(void 0, pathname);
|
|
106
|
+
const segments = _chunk2RA2VIKNcjs.parseRoutePattern.call(void 0, pattern);
|
|
107
|
+
const parts = _chunk2RA2VIKNcjs.splitDecodedPathname.call(void 0, normalizedPathname);
|
|
108
|
+
if (_chunk2RA2VIKNcjs.matchDecodedParts.call(void 0, segments, parts)) return true;
|
|
105
109
|
if (options.exact !== false) return false;
|
|
106
110
|
if (segments.length === 0) return normalizedPathname === "/";
|
|
107
|
-
return
|
|
111
|
+
return _chunk2RA2VIKNcjs.matchDecodedParts.call(void 0, segments, parts, true) !== null;
|
|
108
112
|
}
|
|
109
113
|
function normalizeRouteInput(input, index) {
|
|
110
114
|
const route = typeof input === "string" ? { path: input } : input;
|
|
111
|
-
const segments =
|
|
112
|
-
const path =
|
|
115
|
+
const segments = _chunk2RA2VIKNcjs.parseRoutePattern.call(void 0, route.path);
|
|
116
|
+
const path = _chunk2RA2VIKNcjs.normalizeRoutePattern.call(void 0, route.path);
|
|
113
117
|
const specificity = segments.map(getRouterSegmentSpecificity);
|
|
114
118
|
return {
|
|
115
119
|
route: {
|
|
@@ -118,7 +122,7 @@ function normalizeRouteInput(input, index) {
|
|
|
118
122
|
},
|
|
119
123
|
segments,
|
|
120
124
|
specificity,
|
|
121
|
-
specificityKey:
|
|
125
|
+
specificityKey: _chunkT4YCWRCJcjs.getRouteSpecificityKey.call(void 0, specificity),
|
|
122
126
|
index
|
|
123
127
|
};
|
|
124
128
|
}
|
|
@@ -131,9 +135,9 @@ function getRouterRouteShape(entry) {
|
|
|
131
135
|
);
|
|
132
136
|
}
|
|
133
137
|
function matchSegments(segments, pathname, allowTrailingSegments = false) {
|
|
134
|
-
return
|
|
138
|
+
return _chunk2RA2VIKNcjs.matchDecodedParts.call(void 0,
|
|
135
139
|
segments,
|
|
136
|
-
|
|
140
|
+
_chunk2RA2VIKNcjs.splitDecodedPathname.call(void 0, _chunk2RA2VIKNcjs.normalizePathname.call(void 0, pathname)),
|
|
137
141
|
allowTrailingSegments
|
|
138
142
|
);
|
|
139
143
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUHTXBC4Qcjs = require('./chunk-UHTXBC4Q.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/schema-extend.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
10
|
function collectSchemaExtensions(owner, schema, models) {
|
|
7
11
|
if (!schema.extend) return [];
|
|
8
|
-
const resolved =
|
|
12
|
+
const resolved = _chunkUHTXBC4Qcjs.resolveSchemaModels.call(void 0, owner, schema);
|
|
9
13
|
const extensions = [];
|
|
10
14
|
for (const [modelKey, extension] of Object.entries(schema.extend)) {
|
|
11
15
|
const model = resolved[modelKey];
|
|
@@ -1,4 +1,9 @@
|
|
|
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; }
|
|
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
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/api/route-schema.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
async function parseRouteSchema(schema, value) {
|
|
3
8
|
if (schema.parseAsync) return schema.parseAsync(value);
|
|
4
9
|
if (schema["~standard"]) {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKUG3P3GYcjs = require('./chunk-KUG3P3GY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGAII22G2cjs = require('./chunk-GAII22G2.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
7
10
|
|
|
8
11
|
// src/desktop/guard.ts
|
|
12
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
9
13
|
var FARM_DESKTOP_HANDSHAKE_PATH = "/__farm/desktop/handshake";
|
|
10
14
|
var FARM_DESKTOP_COOKIE = "farm_desktop";
|
|
11
15
|
var FARM_DESKTOP_HANDSHAKE_PARAM = "t";
|
|
@@ -81,7 +85,7 @@ function createFarmDesktopGuard(options) {
|
|
|
81
85
|
if (pathname === handshakePath) {
|
|
82
86
|
if (method !== "GET") return forbidden("handshake must be a GET");
|
|
83
87
|
const token = _nullishCoalesce(new URLSearchParams(search).get(FARM_DESKTOP_HANDSHAKE_PARAM), () => ( ""));
|
|
84
|
-
if (handshakeState.handshakeUsed || !
|
|
88
|
+
if (handshakeState.handshakeUsed || !_chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, token, handshakeToken)) {
|
|
85
89
|
return forbidden("invalid or used handshake token");
|
|
86
90
|
}
|
|
87
91
|
handshakeState.handshakeUsed = true;
|
|
@@ -95,8 +99,8 @@ function createFarmDesktopGuard(options) {
|
|
|
95
99
|
}
|
|
96
100
|
});
|
|
97
101
|
}
|
|
98
|
-
for (const cookie of
|
|
99
|
-
if (cookie.name === FARM_DESKTOP_COOKIE &&
|
|
102
|
+
for (const cookie of _chunkGAII22G2cjs.parseRequestCookieHeader.call(void 0, request.headers.get("cookie"))) {
|
|
103
|
+
if (cookie.name === FARM_DESKTOP_COOKIE && _chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, cookie.value, secret)) {
|
|
100
104
|
return void 0;
|
|
101
105
|
}
|
|
102
106
|
}
|