@farm.js/core 0.2.0-beta.2 → 0.2.0
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/README.md +1 -3
- 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-VX4NDDHR.mjs → agent-mcp-handler-BY7VJQ4W.mjs} +1 -1
- package/dist/agent-mcp-handler-S4UTE7NO.cjs +21 -0
- package/dist/{agent-mcp.d-DhCEzIfu.d.mts → agent-mcp.d-DhZf5-v0.d.mts} +1 -1
- package/dist/{agent-mcp.d-DBaonhLg.d.ts → agent-mcp.d-xPua9Zdz.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-T2U345WL.mjs → analyzer-LQ4LVDCW.mjs} +3 -3
- package/dist/analyzer-ZFC2L6NZ.cjs +17 -0
- 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 +5 -5
- 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 +6 -6
- package/dist/{app-manifest.d-uE0JGZKN.d.mts → app-manifest.d-Bq9VWtpk.d.mts} +1 -1
- package/dist/{app-manifest.d-nLVFFd7N.d.ts → app-manifest.d-D6l1Wkn6.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 +16 -16
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/app-markdown.mjs +3 -3
- package/dist/{app.d-DGGcNXV7.d.mts → app.d-Bn1bqBkf.d.mts} +17 -7
- package/dist/{app.d-CwVkAUEU.d.ts → app.d-gnTrW72o.d.ts} +17 -7
- package/dist/cache.cjs +8 -8
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-DA432P2F.cjs → chunk-25CHWAZY.cjs} +14 -10
- package/dist/{chunk-JDT733EW.cjs → chunk-27IPPPCV.cjs} +16 -19
- package/dist/{chunk-X2SMVPLH.mjs → chunk-2FBFJO2Z.mjs} +8 -5
- package/dist/{chunk-PHCJJJZV.cjs → chunk-2HC46EGU.cjs} +6 -2
- package/dist/{chunk-MF3IA2AW.cjs → chunk-2L4M6YUG.cjs} +6 -1
- package/dist/{chunk-RBSGFS5X.cjs → chunk-2LHO4HTP.cjs} +62 -54
- package/dist/{chunk-CIY74JLV.cjs → chunk-2RA2VIKN.cjs} +9 -5
- 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-ILQSRLKK.cjs → chunk-4A6WSOZH.cjs} +55 -49
- package/dist/{chunk-CBB7I6HW.cjs → chunk-4ER5KYSC.cjs} +9 -5
- 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-LQ3FISSD.mjs → chunk-54INSSWI.mjs} +66 -53
- package/dist/{chunk-PENBZAHJ.cjs → chunk-57OAZCWQ.cjs} +6 -1
- package/dist/{chunk-JYQ6DGPW.cjs → chunk-5P3TZGS3.cjs} +52 -45
- package/dist/{chunk-Z3RM3VA2.mjs → chunk-5VXVRMXK.mjs} +11 -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-UCJCU2IL.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-RZI6436F.cjs → chunk-ADCVSTFV.cjs} +18 -11
- 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-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-KQS27YN7.cjs → chunk-C6DR4JAR.cjs} +14 -10
- package/dist/{chunk-Y3WG64CP.cjs → chunk-CH2JX3CM.cjs} +6 -1
- package/dist/{chunk-KDQKTX3Q.cjs → chunk-COMBIEAP.cjs} +44 -36
- package/dist/{chunk-YUQUGVSV.cjs → chunk-CTTXHHZG.cjs} +50 -46
- package/dist/{chunk-FDZZ6K3N.cjs → chunk-CUW7K4AU.cjs} +14 -10
- package/dist/chunk-CWSUKW2H.cjs +6 -0
- package/dist/chunk-CYUTK4JP.cjs +52 -0
- package/dist/{chunk-COK4IXOO.mjs → chunk-D7KBMJ7L.mjs} +1 -1
- package/dist/{chunk-T3SMMLSB.cjs → chunk-DB4NOIQC.cjs} +12 -8
- package/dist/{chunk-N2ZMSSPP.cjs → chunk-DNERKYN4.cjs} +77 -70
- package/dist/{chunk-OWOUTKIJ.cjs → chunk-DQYMTSF3.cjs} +6 -1
- package/dist/{chunk-7V5M43ND.mjs → chunk-DVL3UVYT.mjs} +2 -2
- package/dist/{chunk-UNOXV37V.cjs → chunk-DYGHX2UR.cjs} +6 -1
- package/dist/{chunk-LSHX2H5G.cjs → chunk-EBE6BK54.cjs} +6 -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-EZUTDTFM.cjs → chunk-ERSLQ4C7.cjs} +18 -11
- package/dist/{chunk-4WXNTAOM.mjs → chunk-EUVHELJL.mjs} +1 -1
- package/dist/{chunk-VGZIIOU6.cjs → chunk-EWPH5IOC.cjs} +26 -19
- package/dist/{chunk-J6TZRYCO.cjs → chunk-F5JTXLS7.cjs} +6 -1
- package/dist/{chunk-UWDFH3ZV.mjs → chunk-FFROR7QD.mjs} +1 -1
- package/dist/{chunk-HUGPJFOC.cjs → chunk-G22QP2MX.cjs} +9 -5
- package/dist/{chunk-PMJSG4JS.cjs → chunk-G5KGLMPN.cjs} +6 -1
- package/dist/{chunk-4Q263EQI.mjs → chunk-GAD63TH7.mjs} +9 -9
- package/dist/{chunk-R5U7OIPI.cjs → chunk-GAII22G2.cjs} +6 -1
- package/dist/{chunk-SSFAPTRD.mjs → chunk-GK2RCRT2.mjs} +1 -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-Z43CIBUR.cjs → chunk-GUYGMTWA.cjs} +20 -13
- package/dist/{chunk-QO24II6C.mjs → chunk-GXWCR7PP.mjs} +7 -3
- package/dist/{chunk-VS7HLH4S.cjs → chunk-GYH2B4YQ.cjs} +12 -8
- package/dist/{chunk-RGMUS3HO.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-UA77C2ZA.cjs → chunk-HF3JJPH4.cjs} +58 -50
- package/dist/{chunk-HV6CYSMF.mjs → chunk-HHZURH4U.mjs} +1 -17
- package/dist/{chunk-JP5TWUK2.cjs → chunk-HSAHQBMG.cjs} +8 -4
- package/dist/{chunk-OQOII62L.mjs → chunk-HYYOVRED.mjs} +2 -2
- package/dist/{chunk-3BTN3NP7.cjs → chunk-I5PDHLKE.cjs} +6 -2
- 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-YSRZSKQB.cjs → chunk-IGBQSUT5.cjs} +55 -40
- package/dist/{chunk-JIBEFLQ7.cjs → chunk-IKYNDANT.cjs} +7 -1
- 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-MWAWMFG3.cjs → chunk-J6JAUJPC.cjs} +737 -709
- package/dist/{chunk-N4AQNEXR.cjs → chunk-JIBZ6SCC.cjs} +6 -1
- package/dist/{chunk-SWPLGPYF.cjs → chunk-JKNQMGZE.cjs} +28 -24
- package/dist/{chunk-IZYFP7IN.cjs → chunk-JOSR2E2C.cjs} +17 -13
- package/dist/{chunk-AOKXITZ6.cjs → chunk-JOZDAIKZ.cjs} +6 -1
- package/dist/{chunk-EODGIFI7.cjs → chunk-JYQMGMKT.cjs} +16 -4
- package/dist/{chunk-J6RFB324.cjs → chunk-JZCUDAH2.cjs} +6 -1
- package/dist/{chunk-N2BRIN7I.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-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-ANKMAGFJ.mjs → chunk-KJW6KEOZ.mjs} +1 -1
- package/dist/{chunk-4A6A6P4T.mjs → chunk-KKXGBQ2K.mjs} +3 -3
- package/dist/{chunk-4IE3YK7U.mjs → chunk-KQXYBJES.mjs} +14 -11
- 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-T7UC2ORA.cjs → chunk-LEZJZX4C.cjs} +7 -18
- package/dist/{chunk-HA7YRO53.cjs → chunk-LF7HAALM.cjs} +6 -1
- package/dist/{chunk-2KMIJDY6.cjs → chunk-LG62AYPQ.cjs} +6 -1
- package/dist/{chunk-OLIWLN4I.cjs → chunk-LGL5QKUJ.cjs} +24 -20
- package/dist/{chunk-SMUW7UST.mjs → chunk-LO5BNR6Y.mjs} +7 -2
- package/dist/{chunk-PWDBWXQI.cjs → chunk-LVYUTMW4.cjs} +6 -1
- package/dist/{chunk-XRRHPBG2.cjs → chunk-M6W3AN57.cjs} +6 -1
- package/dist/{chunk-PZXYAWYG.cjs → chunk-M7RS7HSB.cjs} +13 -8
- package/dist/{chunk-I5KPOXUE.mjs → chunk-MEIZIRMK.mjs} +1 -1
- package/dist/{chunk-HNB5JHBO.mjs → chunk-MLMDOIBY.mjs} +5 -5
- package/dist/{chunk-CEVXKJKF.cjs → chunk-MMSCWTJT.cjs} +6 -1
- package/dist/{chunk-SIECKBNK.cjs → chunk-MNBFSAWF.cjs} +7 -2
- package/dist/{chunk-EA5HVG45.cjs → chunk-MUQP2APN.cjs} +9 -2
- package/dist/{chunk-XOLYZZDX.mjs → chunk-MX4G24YS.mjs} +110 -56
- package/dist/{chunk-SCE7VWPN.cjs → chunk-MZG5M4JS.cjs} +48 -41
- package/dist/{chunk-DVAZ53X6.cjs → chunk-N4AM7Q34.cjs} +77 -73
- 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-SHDCKRP4.cjs → chunk-NQUZDXKJ.cjs} +7 -3
- package/dist/{chunk-UGWKNZ4U.cjs → chunk-O47IT4CS.cjs} +25 -21
- package/dist/{chunk-EUZFBHPP.cjs → chunk-O7B6LJWE.cjs} +7 -3
- package/dist/{chunk-UOMSGJHK.cjs → chunk-OAAVIFOJ.cjs} +116 -103
- package/dist/{chunk-SAUGKNCF.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-GTHBWZUK.mjs → chunk-OZAVCLXY.mjs} +1 -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-NZRAUCUL.cjs → chunk-PATIHHC7.cjs} +26 -20
- package/dist/{chunk-6FXBJPF5.cjs → chunk-PCF54MSR.cjs} +6 -1
- package/dist/{chunk-52Q4OB4A.cjs → chunk-PFVNPOKN.cjs} +21 -7
- 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-PTG5BEMG.mjs +47 -0
- package/dist/{chunk-YUCU6XB4.cjs → chunk-PYPHM7AS.cjs} +9 -4
- package/dist/{chunk-YNPVG2GG.mjs → chunk-PZ5ZJAAO.mjs} +2 -2
- 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-JH4CDG4G.cjs → chunk-R6GOH5CH.cjs} +18 -14
- package/dist/{chunk-2BEGVSDF.cjs → chunk-RBDAW6IZ.cjs} +7 -3
- package/dist/{chunk-HVGINJTO.mjs → chunk-RDT2LJES.mjs} +77 -40
- package/dist/{chunk-PLJMEUAN.cjs → chunk-RFKPIAOF.cjs} +9 -1
- package/dist/{chunk-WPURVYXT.cjs → chunk-RGIHE6YL.cjs} +6 -2
- package/dist/{chunk-6B44ZU5P.cjs → chunk-RHORD2K2.cjs} +19 -15
- package/dist/{chunk-7MMDEIVC.mjs → chunk-RKWZ6F5D.mjs} +2 -2
- package/dist/{chunk-OCS3PSYR.cjs → chunk-RLC7NNTA.cjs} +6 -1
- package/dist/{chunk-WEZTGM7N.cjs → chunk-RMLXUVR5.cjs} +11 -9
- package/dist/{chunk-Q637AXGZ.mjs → chunk-RP55BUJM.mjs} +103 -20
- package/dist/{chunk-STF6VDYQ.cjs → chunk-RQSPBWXJ.cjs} +6 -1
- package/dist/{chunk-RWR7SMD7.cjs → chunk-S2QSTMBE.cjs} +7 -3
- package/dist/{chunk-GCJ4GNMC.cjs → chunk-SGBEJBBB.cjs} +8 -4
- package/dist/chunk-SGRWZEQC.cjs +44 -0
- package/dist/{chunk-BW563VZZ.mjs → chunk-SIHHYNX4.mjs} +1 -1
- 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-EXPVSFAG.cjs → chunk-T4VF6BYV.cjs} +50 -41
- 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-NWF2FTFV.mjs → chunk-TP3ISVRU.mjs} +2 -9
- package/dist/{chunk-3EIPOTZV.cjs → chunk-TP7JAC3T.cjs} +6 -2
- package/dist/{chunk-FB4CWSC2.cjs → chunk-TSLXAEGM.cjs} +16 -12
- package/dist/{chunk-5LJF4KUZ.cjs → chunk-U2HFXURZ.cjs} +19 -9
- package/dist/{chunk-SHD265HW.cjs → chunk-U3NUGF2E.cjs} +7 -1
- package/dist/{chunk-SVXOCTQ2.cjs → chunk-UARKTC55.cjs} +6 -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-NNNMFSXG.mjs → chunk-V36K4TSU.mjs} +2 -2
- package/dist/{chunk-I2RBHZF7.cjs → chunk-VB7P66Q4.cjs} +6 -1
- package/dist/{chunk-BIAGSYIZ.cjs → chunk-VD7ENQP2.cjs} +54 -47
- package/dist/{chunk-J2EKGR6E.cjs → chunk-VFZQXADS.cjs} +719 -634
- package/dist/{chunk-NLBHLPEO.cjs → chunk-VIDUNAQE.cjs} +6 -1
- package/dist/{chunk-VM57CK74.cjs → chunk-VNWKJOJF.cjs} +6 -1
- package/dist/{chunk-MPU5DOXX.cjs → chunk-VUCDMV3Q.cjs} +6 -1
- package/dist/{chunk-M4YXD6MD.cjs → chunk-VWPGK6UV.cjs} +837 -769
- package/dist/{chunk-L2GUEYHR.cjs → chunk-VZ2P6GRC.cjs} +8 -1
- package/dist/{chunk-3SPECQXI.cjs → chunk-W4KSV6GX.cjs} +13 -9
- package/dist/{chunk-CHOOBTDD.cjs → chunk-W4WFKRLR.cjs} +17 -13
- package/dist/chunk-W7BMZI3I.cjs +6 -0
- 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-SPKZCFPH.mjs → chunk-WOPQQCP3.mjs} +5 -5
- package/dist/{chunk-ZSVFI7JM.cjs → chunk-WXPY5FRF.cjs} +23 -18
- 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-5AMH6AFA.cjs → chunk-XK7SRVHC.cjs} +15 -11
- 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-Z7YIQ7AJ.cjs +16 -0
- package/dist/{chunk-RTAWQXME.cjs → chunk-ZCT6B5PQ.cjs} +242 -145
- package/dist/{chunk-P2TGLGRR.mjs → chunk-ZF7N222A.mjs} +2 -2
- 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-26ZTI2ZO.mjs → chunk-ZRTBDHO2.mjs} +19 -14
- package/dist/{chunk-PO5MXV5X.cjs → chunk-ZSSBEPN4.cjs} +6 -1
- package/dist/{chunk-TWFJJPE7.cjs → chunk-ZTNU4XCC.cjs} +42 -38
- package/dist/{chunk-V5FEFFHV.mjs → chunk-ZVEKOMZS.mjs} +1 -1
- package/dist/{cli-runtime.d-oUiNuspW.d.mts → cli-runtime.d-LwIb0swO.d.mts} +5 -5
- package/dist/{cli-runtime.d-Dbl-gIoz.d.ts → cli-runtime.d-Vvxf-Z8a.d.ts} +5 -5
- package/dist/client/lifecycle.cjs +8 -3
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-DaUqOhZT.d.mts → client-component.d-34DDMZcl.d.mts} +1 -1
- package/dist/{client-component.d-CT4q7tmy.d.ts → client-component.d-DT5OKBZu.d.ts} +1 -1
- package/dist/client-plugins.cjs +8 -3
- package/dist/{client-plugins.d-BfGTqbAH.d.mts → client-plugins.d-D7k9t9Ge.d.mts} +31 -12
- package/dist/{client-plugins.d-24qhjX8c.d.ts → client-plugins.d-D9CnUvZ5.d.ts} +31 -12
- 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 +1 -1
- 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-5WDQQDTA.cjs → devtools-IUU4SWQL.cjs} +78 -72
- package/dist/{devtools-DPYIYHTI.mjs → devtools-R77KAJA4.mjs} +11 -8
- 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 +73 -72
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +9 -8
- 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 +17 -16
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +6 -5
- 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-Oca5kNSz.d.ts → handler.d-DbZvbwNi.d.ts} +1 -1
- package/dist/{handler.d-GfNuz57p.d.mts → handler.d-fxTjv3Nn.d.mts} +1 -1
- package/dist/headers.cjs +6 -6
- package/dist/{headers.d-C_lsQIWA.d.mts → headers.d-OBHpGTF_.d.mts} +1 -1
- package/dist/{headers.d-b8gHJDvu.d.ts → headers.d-oeWybIk8.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 +229 -216
- package/dist/{index.d-Ckv6kHFm.d.ts → index.d-BM-dKdzH.d.ts} +1 -1
- package/dist/{index.d-BLtjh1aS.d.mts → index.d-CRrPQwlO.d.mts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +42 -41
- 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 +22 -22
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +14 -14
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +2 -2
- package/dist/internal/build-runtime.cjs +187 -181
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +36 -35
- package/dist/internal/cli-runtime.cjs +106 -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 +18 -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 +86 -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 +10 -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 +5 -5
- 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.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 +6 -6
- 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 +1 -1
- 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-6R55QDT5.cjs +26 -0
- package/dist/{layers-744BBUY5.mjs → layers-O6GUR6LT.mjs} +7 -2
- 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-7BNSJKME.mjs → manager-EFPBRS3U.mjs} +4 -4
- package/dist/manager-STAB5TVZ.cjs +18 -0
- package/dist/markdown.cjs +12 -12
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +1 -1
- 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-BCS8mD4E.d.mts → mount.d-B7RiwjiO.d.mts} +1 -1
- package/dist/{mount.d-DEX8eref.d.ts → mount.d-TnD-Mebk.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-AO7PQ7FR.mjs → native-tree-2GQMSOLV.mjs} +1 -1
- 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-F83ugsZW.d.mts → navigation-delegate.d-Boz2511c.d.mts} +1 -1
- package/dist/{navigation-delegate.d-Cgi28e5Q.d.ts → navigation-delegate.d-VBCF0EeN.d.ts} +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 +1 -1
- 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 +176 -170
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +30 -29
- 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 +1 -1
- 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-DCF2GZdD.d.ts → render-plan.d-BrumV_ZE.d.ts} +1 -1
- package/dist/{render-plan.d-BkVY4aFb.d.mts → render-plan.d-BwnmyfNk.d.mts} +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 +1 -1
- package/dist/renderer.cjs +12 -6
- package/dist/renderer.d.mts +1 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.mjs +4 -3
- package/dist/request.cjs +9 -4
- package/dist/{request.d-DMPB53-i.d.mts → request.d-Dd5nRTO5.d.mts} +1 -1
- package/dist/{request.d-C5o-4dU2.d.ts → request.d-NUi01-5e.d.ts} +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-DDvArvik.d.mts → route-rendering.d-BK0Pf7_k.d.mts} +1 -1
- package/dist/{route-rendering.d-DfP6zRP7.d.ts → route-rendering.d-CJR5BPXV.d.ts} +1 -1
- package/dist/router.cjs +5 -5
- package/dist/{router.d-s40h7aoS.d.ts → router.d-C-JSFCPU.d.ts} +1 -1
- package/dist/{router.d-1Skf2XCO.d.mts → router.d-CNUS3x1j.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +16 -16
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-O2YMVHUF.mjs → rsc-pipeline-DHISDFT7.mjs} +13 -12
- package/dist/rsc-pipeline-UBWVU3NF.cjs +92 -0
- package/dist/{runtime-K2X3IZAF.mjs → runtime-VUKMY44G.mjs} +16 -13
- package/dist/{runtime-WOTVFYQY.cjs → runtime-XKRQW3YT.cjs} +132 -119
- package/dist/{runtime.d-k-9kFUsM.d.ts → runtime.d-B2T4bM5_.d.ts} +1 -1
- package/dist/{runtime.d-Bykc5Qfg.d.mts → runtime.d-CsOpO6yQ.d.mts} +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-DLNd1C5j.d.ts → server-components-status.d-Cc5rir0l.d.mts} +2 -2
- package/dist/{server-components-status.d-D-HixBe0.d.mts → server-components-status.d-DOYt4E_Q.d.ts} +2 -2
- 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 +236 -224
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +37 -34
- package/dist/session-J7NTZI56.cjs +24 -0
- package/dist/{session-4IB34X35.mjs → session-ZFM3RDG2.mjs} +3 -3
- package/dist/{spa-router.d-Dl-EJeJT.d.ts → spa-router.d-C7FcpLxU.d.ts} +2 -2
- package/dist/{spa-router.d-DIlXwm00.d.mts → spa-router.d-Cq5UFJvq.d.mts} +2 -2
- package/dist/{ssg.d-D2ZV0bhs.d.mts → ssg.d-BzNZemk7.d.mts} +2 -2
- package/dist/{ssg.d-bE-ylg0e.d.ts → ssg.d-DUhacIxj.d.ts} +2 -2
- package/dist/storage.cjs +4 -4
- package/dist/storage.mjs +2 -2
- package/dist/{store-core.d-BmdnMopD.d.ts → store-core.d-BX3yXrxA.d.ts} +2 -2
- package/dist/{store-core.d-DPsCYzV7.d.mts → store-core.d-DbUAtSBK.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 +5 -5
- 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-BFZQcBZV.d.ts → utils.d-BhJJEXzo.d.ts} +1 -1
- package/dist/{utils.d-nM3OHKq5.d.mts → utils.d-NOMkLFpC.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +169 -168
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +30 -29
- 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-EXOG55M4.cjs +0 -21
- package/dist/analyzer-OWIHFO5M.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-NOSLIDSG.cjs +0 -9
- package/dist/chunk-PAKB6JHX.cjs +0 -40
- 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-52CUAP3N.cjs +0 -28
- package/dist/node-module-bundle-TNSY5PAC.cjs +0 -15
- package/dist/plugin-MWO3G2XM.cjs +0 -33
- package/dist/rsc-pipeline-SFQSMVI7.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-E72GG355.mjs → chunk-HDZ2AMDD.mjs} +0 -0
- /package/dist/{chunk-URBP6DLH.mjs → chunk-LQZXCSYG.mjs} +0 -0
- /package/dist/{chunk-M6AJZ4XR.mjs → chunk-QNJUQIUZ.mjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRouteTypeDeclarations,
|
|
3
3
|
generateRouteTypes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZ5ZJAAO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
APITypeGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KJW6KEOZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getOptionalCatchAllParameterNames,
|
|
10
10
|
materializeSSGRoutePath,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
findFarmConfigFile,
|
|
27
27
|
getFarmAppDirectories,
|
|
28
28
|
getFarmSourceRoots
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5VXVRMXK.mjs";
|
|
30
30
|
import {
|
|
31
31
|
isFarmMarkdownPageFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TP3ISVRU.mjs";
|
|
33
33
|
import {
|
|
34
34
|
resolveSchemaModels
|
|
35
35
|
} from "./chunk-F3N52U7S.mjs";
|
|
@@ -952,7 +952,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
952
952
|
if (syncModelTypes) unifiedSections.push(syncModelTypes);
|
|
953
953
|
}
|
|
954
954
|
if (shouldRefreshUnifiedTypes && existsSync2(join3(root, srcDir, "native"))) {
|
|
955
|
-
const [{ scanFarmMobileAppModules }, { createFarmNativeModuleTypeDeclarations }] = await Promise.all([import("./modules-
|
|
955
|
+
const [{ scanFarmMobileAppModules }, { createFarmNativeModuleTypeDeclarations }] = await Promise.all([import("./modules-IVJXVV4W.mjs"), import("./native-specs-4DOPYSOJ.mjs")]);
|
|
956
956
|
const appModules = scanFarmMobileAppModules({ root, srcDir });
|
|
957
957
|
const nativeTypes = appModules && createFarmNativeModuleTypeDeclarations(appModules.specs, { root });
|
|
958
958
|
if (nativeTypes) unifiedSections.push(nativeTypes);
|
|
@@ -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/request-origin.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function getRequestSourceOrigin(request) {
|
|
3
8
|
const origin = _optionalChain([request, 'access', _ => _.headers, 'access', _2 => _2.get, 'call', _3 => _3("origin"), 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]);
|
|
4
9
|
if (origin) {
|
|
@@ -1,9 +1,14 @@
|
|
|
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/api/route-files.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function hasPolyroutePlugin(plugins) {
|
|
3
8
|
return _optionalChain([plugins, 'optionalAccess', _ => _.some, 'call', _2 => _2((plugin) => plugin.name === "polyroute")]) === true;
|
|
4
9
|
}
|
|
5
10
|
function isPolyrouteRouteFileName(fileName) {
|
|
6
|
-
return fileName === "route.rs" || fileName === "route.go";
|
|
11
|
+
return fileName === "route.rs" || fileName === "route.go" || fileName === "route.py";
|
|
7
12
|
}
|
|
8
13
|
function isFarmAPIRouteFileName(fileName, polyroute = false) {
|
|
9
14
|
if (polyroute && isPolyrouteRouteFileName(fileName)) return true;
|
|
@@ -1,8 +1,15 @@
|
|
|
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 _chunkZ7YIQ7AJcjs = require('./chunk-Z7YIQ7AJ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
7
|
+
|
|
8
|
+
// src/product-telemetry.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
4
10
|
|
|
5
11
|
// src/deployment-environment.ts
|
|
12
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
13
|
function isFarmProductionDeploymentEnvironment(env = process.env) {
|
|
7
14
|
const environment = normalizeEnvironment(env.VERCEL_ENV);
|
|
8
15
|
const targetEnvironment = normalizeEnvironment(env.VERCEL_TARGET_ENV);
|
|
@@ -90,7 +97,7 @@ function createFarmProductionSiteReporter(options) {
|
|
|
90
97
|
schemaVersion: FARM_PRODUCTION_SITE_TELEMETRY_SCHEMA_VERSION,
|
|
91
98
|
eventType: FARM_PRODUCTION_SITE_ATTESTATION_EVENT_TYPE,
|
|
92
99
|
packageName: FARM_PRODUCTION_SITE_TELEMETRY_PACKAGE_NAME,
|
|
93
|
-
packageVersion: sanitizeDetail(
|
|
100
|
+
packageVersion: sanitizeDetail(_chunkZ7YIQ7AJcjs.FARM_VERSION, "unknown"),
|
|
94
101
|
renderer: sanitizeDetail(options.renderer, "custom"),
|
|
95
102
|
deployTarget: sanitizeDetail(options.deployTarget, "custom")
|
|
96
103
|
};
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
createFarmNodeServerEntry,
|
|
23
23
|
createReactProductionModePlugin,
|
|
24
24
|
withProductionNodeEnv
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GXWCR7PP.mjs";
|
|
26
26
|
import {
|
|
27
27
|
generateNativeMCPPluginSource
|
|
28
28
|
} from "./chunk-KQH2COEJ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
FARM_MOBILE_SESSION_PLUGIN
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GUNPDMSX.mjs";
|
|
32
32
|
import {
|
|
33
33
|
collectFarmNativeServerFns,
|
|
34
34
|
findFarmNativeScreenFiles
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FFROR7QD.mjs";
|
|
36
36
|
import {
|
|
37
37
|
assertFarmDocsAdapterServesNoGuardedPages,
|
|
38
38
|
compileFarmDocsAdapterEdgeManifest,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
listFarmDocsAdapterPages,
|
|
42
42
|
listFarmDocsAdapterRoutes,
|
|
43
43
|
listFarmDocsPagePaths
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SIHHYNX4.mjs";
|
|
45
45
|
import {
|
|
46
46
|
FARM_DOCS_LAST_MODIFIED_MANIFEST,
|
|
47
47
|
createFarmDocsHandler,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
getDeployTargetForPreset,
|
|
72
72
|
hasCustomFarmRouteContext,
|
|
73
73
|
resolveDeployOutputPath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-ZRTBDHO2.mjs";
|
|
75
75
|
import {
|
|
76
76
|
resolveFarmInstrumentationFile
|
|
77
77
|
} from "./chunk-QRNYSISP.mjs";
|
|
@@ -117,27 +117,27 @@ import {
|
|
|
117
117
|
resolveFarmNotFoundComponentPath,
|
|
118
118
|
resolveFarmRouteRootStrategy,
|
|
119
119
|
toBakedMarkdownSourcePath
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-RDT2LJES.mjs";
|
|
121
121
|
import {
|
|
122
122
|
TAILWIND_CSS_BROWSER_TARGET,
|
|
123
123
|
generateFarmClientPluginEntryCode,
|
|
124
124
|
hasFarmServerRuntimePlugins,
|
|
125
125
|
includesTailwindVitePlugin,
|
|
126
126
|
loadTailwindVitePlugin
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-V36K4TSU.mjs";
|
|
128
128
|
import {
|
|
129
129
|
PluginManager
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-6IKUYFNQ.mjs";
|
|
131
131
|
import {
|
|
132
132
|
generateFarmTypeArtifacts,
|
|
133
133
|
readRouteRenderingDirectiveFromFile,
|
|
134
134
|
resolveRouteRenderingConfig,
|
|
135
135
|
resolveRouteRenderingConfigFromFile
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-MLMDOIBY.mjs";
|
|
137
137
|
import {
|
|
138
138
|
FARM_PRERENDER_ENV,
|
|
139
139
|
_farmWebMCPReportsEnabled
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-D7KBMJ7L.mjs";
|
|
141
141
|
import {
|
|
142
142
|
HOISTED_HEAD_ELEMENT,
|
|
143
143
|
appMiddlewareMayHandlePath,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
listFarmBuiltInRoutePaths,
|
|
166
166
|
resolveFarmApiCatalogInput,
|
|
167
167
|
resolveFarmAppManifestInput
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-ZF7N222A.mjs";
|
|
169
169
|
import {
|
|
170
170
|
FARM_DEFAULT_MCP_PATH,
|
|
171
171
|
createFarmDefaultMCPServer,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
} from "./chunk-WABOJXAA.mjs";
|
|
174
174
|
import {
|
|
175
175
|
isFarmPreviewDeploymentEnvironment
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-GK2RCRT2.mjs";
|
|
177
177
|
import {
|
|
178
178
|
FARM_NATIVE_SERVER_FN_PLUGIN
|
|
179
179
|
} from "./chunk-L4RTTTVE.mjs";
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
withFarmSourceSnapshot,
|
|
195
195
|
withFarmSourceSnapshotOf,
|
|
196
196
|
withPackageClientBoundaryCache
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-RP55BUJM.mjs";
|
|
198
198
|
import {
|
|
199
199
|
generateFarmDocsAdapterClientRuntime,
|
|
200
200
|
getFarmDocsAdapterConfigModule
|
|
@@ -214,14 +214,14 @@ import {
|
|
|
214
214
|
} from "./chunk-YVVY276M.mjs";
|
|
215
215
|
import {
|
|
216
216
|
usesFarmRendererIslands
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-2FBFJO2Z.mjs";
|
|
218
218
|
import {
|
|
219
219
|
applyFarmCspHashesToHtml,
|
|
220
220
|
createFarmCspNonce
|
|
221
221
|
} from "./chunk-22W4FNTG.mjs";
|
|
222
222
|
import {
|
|
223
223
|
getFarmAppDirectories
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-5VXVRMXK.mjs";
|
|
225
225
|
import {
|
|
226
226
|
REACT_RENDERER,
|
|
227
227
|
getFarmRendererCapabilities,
|
|
@@ -230,9 +230,12 @@ import {
|
|
|
230
230
|
isFarmRendererDisabled,
|
|
231
231
|
isReactRenderer,
|
|
232
232
|
loadFarmRendererVitePlugins,
|
|
233
|
-
resolveFarmRendererAppSetup
|
|
233
|
+
resolveFarmRendererAppSetup
|
|
234
|
+
} from "./chunk-HHZURH4U.mjs";
|
|
235
|
+
import {
|
|
236
|
+
readFarmServerComponentsConfig,
|
|
234
237
|
resolveFarmServerComponentsMode
|
|
235
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-PTG5BEMG.mjs";
|
|
236
239
|
import {
|
|
237
240
|
applyFarmCronVercelCrons,
|
|
238
241
|
createFarmCronCloudflareConfig,
|
|
@@ -251,7 +254,7 @@ import {
|
|
|
251
254
|
isFarmMarkdownPageFile,
|
|
252
255
|
parseMarkdownFrontmatter,
|
|
253
256
|
readFarmMarkdownRouteConfig
|
|
254
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-TP3ISVRU.mjs";
|
|
255
258
|
import {
|
|
256
259
|
resolveFarmMdxComponentsModulePath,
|
|
257
260
|
resolveMdxConfig
|
|
@@ -265,19 +268,19 @@ import {
|
|
|
265
268
|
import {
|
|
266
269
|
applyFarmWorkflowVercelCrons,
|
|
267
270
|
prepareFarmWorkflowsForNitro
|
|
268
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-QKXQFBNL.mjs";
|
|
269
272
|
import {
|
|
270
273
|
getFarmIntegrationPluginServerRuntime,
|
|
271
274
|
getIntegrationProviders,
|
|
272
275
|
providerSupportsIslands
|
|
273
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-HDZ2AMDD.mjs";
|
|
274
277
|
import {
|
|
275
278
|
FARM_INTEGRATION_API_BASE_PATH_KEY,
|
|
276
279
|
isFarmIntegration
|
|
277
280
|
} from "./chunk-CZOXZ6WQ.mjs";
|
|
278
281
|
import {
|
|
279
282
|
_collectFarmStorageModules
|
|
280
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-GN2RXH72.mjs";
|
|
281
284
|
import {
|
|
282
285
|
appendMiddlewareDirectory,
|
|
283
286
|
appendMiddlewareRoutePath,
|
|
@@ -285,11 +288,11 @@ import {
|
|
|
285
288
|
} from "./chunk-QD34VE4N.mjs";
|
|
286
289
|
import {
|
|
287
290
|
APIRouteManager
|
|
288
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-WOPQQCP3.mjs";
|
|
289
292
|
import {
|
|
290
293
|
hasPolyroutePlugin,
|
|
291
294
|
isPolyrouteRouteFileName
|
|
292
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-OZAVCLXY.mjs";
|
|
293
296
|
import {
|
|
294
297
|
readFarmI18nCatalogs
|
|
295
298
|
} from "./chunk-VO55MMBX.mjs";
|
|
@@ -317,7 +320,7 @@ import {
|
|
|
317
320
|
} from "./chunk-2I6PUKWJ.mjs";
|
|
318
321
|
import {
|
|
319
322
|
FARM_VERSION
|
|
320
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-MEIZIRMK.mjs";
|
|
321
324
|
import {
|
|
322
325
|
FARM_VIDEO_PLAYER_PATH
|
|
323
326
|
} from "./chunk-23NBOP43.mjs";
|
|
@@ -590,7 +593,7 @@ async function resolveHashedClientJsSrc(clientOutputDir) {
|
|
|
590
593
|
// src/nitro/universal-build.ts
|
|
591
594
|
import os from "os";
|
|
592
595
|
import path17 from "path";
|
|
593
|
-
import { constants as
|
|
596
|
+
import { constants as fsConstants2, existsSync as existsSync3, readFileSync as readFileSync2, realpathSync as realpathSync3, statSync } from "fs";
|
|
594
597
|
import { initSync as initModuleLexer, parse as lexModule } from "es-module-lexer";
|
|
595
598
|
import { fileURLToPath } from "url";
|
|
596
599
|
import { builtinModules, createRequire as createRequire2 } from "module";
|
|
@@ -1206,6 +1209,7 @@ function normalizeManifestSource(root, modulePath) {
|
|
|
1206
1209
|
}
|
|
1207
1210
|
|
|
1208
1211
|
// src/nitro/vercel-route-runtime.ts
|
|
1212
|
+
import { constants as fsConstants } from "fs";
|
|
1209
1213
|
import path8 from "path";
|
|
1210
1214
|
async function createFarmVercelRouteRuntimeFunctions(outputDir, manifest, fs5, basePath = "/") {
|
|
1211
1215
|
const dynamicRoutes = manifest.routes.filter(
|
|
@@ -1238,7 +1242,8 @@ async function createFarmVercelRouteRuntimeFunctions(outputDir, manifest, fs5, b
|
|
|
1238
1242
|
groupIndex += 1;
|
|
1239
1243
|
const functionName = `__farm_runtime_${groupIndex}`;
|
|
1240
1244
|
const functionDir = path8.join(functionsDir, `${functionName}.func`);
|
|
1241
|
-
await fs5.
|
|
1245
|
+
await fs5.rm(functionDir, { recursive: true, force: true });
|
|
1246
|
+
await linkVercelFunctionFiles(baseFunctionDir, functionDir, fs5);
|
|
1242
1247
|
await configureVercelFunction(functionDir, group.config, fs5);
|
|
1243
1248
|
destinations.set(key, `/${functionName}`);
|
|
1244
1249
|
}
|
|
@@ -1257,6 +1262,26 @@ async function createFarmVercelRouteRuntimeFunctions(outputDir, manifest, fs5, b
|
|
|
1257
1262
|
}
|
|
1258
1263
|
return routes;
|
|
1259
1264
|
}
|
|
1265
|
+
var LINK_FALLBACK_CODES = /* @__PURE__ */ new Set(["EXDEV", "EPERM", "ENOTSUP", "EMLINK"]);
|
|
1266
|
+
async function linkVercelFunctionFiles(source, target, fs5, root = true) {
|
|
1267
|
+
await fs5.mkdir(target, { recursive: true });
|
|
1268
|
+
const entries = await fs5.readdir(source, { withFileTypes: true });
|
|
1269
|
+
await Promise.all(
|
|
1270
|
+
entries.map(async (entry) => {
|
|
1271
|
+
const from = path8.join(source, entry.name);
|
|
1272
|
+
const to = path8.join(target, entry.name);
|
|
1273
|
+
if (entry.isDirectory()) return linkVercelFunctionFiles(from, to, fs5, false);
|
|
1274
|
+
if (entry.isSymbolicLink()) return fs5.cp(from, to, { verbatimSymlinks: true });
|
|
1275
|
+
if (root && entry.name === ".vc-config.json") return fs5.copyFile(from, to);
|
|
1276
|
+
try {
|
|
1277
|
+
await fs5.link(from, to);
|
|
1278
|
+
} catch (error) {
|
|
1279
|
+
if (!LINK_FALLBACK_CODES.has(error.code ?? "")) throw error;
|
|
1280
|
+
await fs5.copyFile(from, to, fsConstants.COPYFILE_FICLONE);
|
|
1281
|
+
}
|
|
1282
|
+
})
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1260
1285
|
function farmRoutePatternToVercelSource(pattern, basePath = "/") {
|
|
1261
1286
|
const normalized = normalizePattern(pattern);
|
|
1262
1287
|
const normalizedBasePath = normalizeBasePath(basePath);
|
|
@@ -2402,6 +2427,7 @@ var NITRO_EXTERNAL_MODULES = /* @__PURE__ */ new Set([
|
|
|
2402
2427
|
var NITRO_REACT_RUNTIME_MODULES = /* @__PURE__ */ new Set(["react", "react-dom", "react-dom/server"]);
|
|
2403
2428
|
var FARM_SSR_PACKAGE_IMPORT = "#farm-ssr-entry";
|
|
2404
2429
|
var FARM_SSR_OUTPUT_DIR = "farm-ssr";
|
|
2430
|
+
var PREBUILT_SSR_PRESETS = /* @__PURE__ */ new Set(["node-server", "vercel"]);
|
|
2405
2431
|
var FARM_CLIENT_BUILD_TARGET = ["es2020", "edge88", "firefox78", "chrome87", "safari14"];
|
|
2406
2432
|
function resolveNitroRuntimeDependency(root, specifier) {
|
|
2407
2433
|
return createRequire2(resolveNitroPackageEntry(root)).resolve(specifier).split(path17.sep).join("/");
|
|
@@ -3288,7 +3314,11 @@ async function writeSSRAssetsToClient(bundle, outputDir, polyroute) {
|
|
|
3288
3314
|
}
|
|
3289
3315
|
const filePath = path17.join(outputDir, fileName);
|
|
3290
3316
|
await fs5.mkdir(path17.dirname(filePath), { recursive: true });
|
|
3291
|
-
|
|
3317
|
+
try {
|
|
3318
|
+
await fs5.writeFile(filePath, output.source, { flag: "wx" });
|
|
3319
|
+
} catch (error) {
|
|
3320
|
+
if (error.code !== "EEXIST") throw error;
|
|
3321
|
+
}
|
|
3292
3322
|
}
|
|
3293
3323
|
}
|
|
3294
3324
|
async function writeFarmVideoPlayerToClient(outputDir) {
|
|
@@ -3397,7 +3427,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3397
3427
|
farmPlugin,
|
|
3398
3428
|
farmServerOnlyEntriesPlugin
|
|
3399
3429
|
} = await import("./vite.mjs");
|
|
3400
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
3430
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-B7I5QVBE.mjs");
|
|
3401
3431
|
const fs5 = await import("fs/promises");
|
|
3402
3432
|
const pluginManager = new PluginManager2({
|
|
3403
3433
|
config,
|
|
@@ -3412,7 +3442,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3412
3442
|
const unsupportedIntegrationProvider = integrationProviders.find(
|
|
3413
3443
|
(provider) => !providerSupportsIslands(provider)
|
|
3414
3444
|
);
|
|
3415
|
-
if (config.experimental?.isolatedClientHydration === "enabled" && resolveFarmServerComponentsMode(config
|
|
3445
|
+
if (config.experimental?.isolatedClientHydration === "enabled" && resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) !== "rsc" && unsupportedIntegrationProvider) {
|
|
3416
3446
|
logger.warn(
|
|
3417
3447
|
`[Farm.js] Client components hydrate with their route, not as islands, because integration provider "${unsupportedIntegrationProvider.name}" doesn't declare \`islands: true\`.`
|
|
3418
3448
|
);
|
|
@@ -3420,7 +3450,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3420
3450
|
const isolatedMode = resolveFarmIsolatedClientHydrationMode(
|
|
3421
3451
|
config.experimental?.isolatedClientHydration,
|
|
3422
3452
|
{
|
|
3423
|
-
serverComponents: resolveFarmServerComponentsMode(config
|
|
3453
|
+
serverComponents: resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "rsc",
|
|
3424
3454
|
hasUnsupportedIntegrationProvider: Boolean(unsupportedIntegrationProvider)
|
|
3425
3455
|
}
|
|
3426
3456
|
);
|
|
@@ -3430,7 +3460,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3430
3460
|
);
|
|
3431
3461
|
const pagePlanOptions = {
|
|
3432
3462
|
...planOptions,
|
|
3433
|
-
serverOwners: resolveFarmServerComponentsMode(config
|
|
3463
|
+
serverOwners: resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands"
|
|
3434
3464
|
};
|
|
3435
3465
|
const layoutPlanOptions = {
|
|
3436
3466
|
...planOptions,
|
|
@@ -3438,7 +3468,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3438
3468
|
};
|
|
3439
3469
|
const layoutAppliesToRoute = routeBoundaryCoversDirectory;
|
|
3440
3470
|
const routeDirectory = (route) => route.directory ?? route.pattern;
|
|
3441
|
-
const islandsMode = resolveFarmServerComponentsMode(config
|
|
3471
|
+
const islandsMode = resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands";
|
|
3442
3472
|
const adapterOwnsDocsRuntime = hasFarmDocsRuntimeAdapter(config.docs);
|
|
3443
3473
|
const docsEntries = config.docs?.enabled ? getFarmDocsRoots(config.docs).map(
|
|
3444
3474
|
(docsRoot) => `/${docsRoot.entry || "docs"}`.replace(/\/+/g, "/").replace(/\/$/, "") || "/"
|
|
@@ -3700,7 +3730,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3700
3730
|
config.basePath,
|
|
3701
3731
|
generateClientCachePersistenceCode(resolveFarmClientCacheAdapterEntry(root, config.cache)),
|
|
3702
3732
|
adapterOwnsDocsRuntime ? getFarmDocsAdapterConfigModule(config.docs) : void 0,
|
|
3703
|
-
resolveFarmServerComponentsMode(config
|
|
3733
|
+
resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands",
|
|
3704
3734
|
platform,
|
|
3705
3735
|
islandsMode ? collectFarmServerStylesheets(
|
|
3706
3736
|
[
|
|
@@ -3857,7 +3887,11 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3857
3887
|
inlineCommonChunks: platform === "web",
|
|
3858
3888
|
islandsReact: islandsMode && isReactRenderer(config.renderer)
|
|
3859
3889
|
}),
|
|
3860
|
-
farmServerOnlyEntriesPlugin({
|
|
3890
|
+
farmServerOnlyEntriesPlugin({
|
|
3891
|
+
// A desktop app's client is the web target, and its `platform()` says "desktop".
|
|
3892
|
+
platform: platform === "web" && config.desktop ? "desktop" : platform,
|
|
3893
|
+
distDir: config.distDir || ".farm"
|
|
3894
|
+
}),
|
|
3861
3895
|
farmNavigationPlugin(config.renderer),
|
|
3862
3896
|
farmDocsClientConfigPlugin(
|
|
3863
3897
|
adapterOwnsDocsRuntime ? getFarmDocsAdapterConfigModule(config.docs) : void 0
|
|
@@ -7514,7 +7548,7 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
|
|
|
7514
7548
|
farmPlugin,
|
|
7515
7549
|
farmServerOnlyEntriesPlugin
|
|
7516
7550
|
} = await import("./vite.mjs");
|
|
7517
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
7551
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-B7I5QVBE.mjs");
|
|
7518
7552
|
const fs5 = await import("fs/promises");
|
|
7519
7553
|
const pluginManager = new PluginManager2({
|
|
7520
7554
|
config,
|
|
@@ -7618,7 +7652,7 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
|
|
|
7618
7652
|
const appDirs = getFarmAppDirectories(config);
|
|
7619
7653
|
let openAPIReference = null;
|
|
7620
7654
|
if (config.openapi.enabled && config.openapi.route) {
|
|
7621
|
-
const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-
|
|
7655
|
+
const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-EFPBRS3U.mjs");
|
|
7622
7656
|
const openAPIManager = new OpenAPIManager(appDirs, config.openapi, {
|
|
7623
7657
|
mode: "production",
|
|
7624
7658
|
apiBaseURL: config.api.baseURL,
|
|
@@ -8415,7 +8449,7 @@ function generateVirtualEntryCode(apiRoutes, pageRoutes, layoutRoutes, routeSlot
|
|
|
8415
8449
|
(route) => route.searchPreserve ? [route.searchPreserve] : []
|
|
8416
8450
|
);
|
|
8417
8451
|
const searchPreserveRoutesSource = searchPreserveRoutes.length > 0 ? JSON.stringify(searchPreserveRoutes) : "";
|
|
8418
|
-
const farmIslandsMode = resolveFarmServerComponentsMode(config
|
|
8452
|
+
const farmIslandsMode = resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands";
|
|
8419
8453
|
const farmRendererActions = resolveFarmIslxActionsMode(config) === "renderer";
|
|
8420
8454
|
const farmClientBoot = canBootFarmIslandsClient(config);
|
|
8421
8455
|
const farmMobileClient = shouldBuildFarmMobileClient(config);
|
|
@@ -8540,7 +8574,7 @@ function renderFarmServerTreeLayout(Layout, props, outlets) {
|
|
|
8540
8574
|
const isolatedHydrationMode = resolveFarmIsolatedClientHydrationMode(
|
|
8541
8575
|
config.experimental?.isolatedClientHydration,
|
|
8542
8576
|
{
|
|
8543
|
-
serverComponents: resolveFarmServerComponentsMode(config
|
|
8577
|
+
serverComponents: resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "rsc",
|
|
8544
8578
|
hasUnsupportedIntegrationProvider: Boolean(unsupportedIntegrationProvider)
|
|
8545
8579
|
}
|
|
8546
8580
|
);
|
|
@@ -8550,7 +8584,7 @@ function renderFarmServerTreeLayout(Layout, props, outlets) {
|
|
|
8550
8584
|
);
|
|
8551
8585
|
const pageHydrationPlanOptions = {
|
|
8552
8586
|
...hydrationPlanOptions,
|
|
8553
|
-
serverOwners: resolveFarmServerComponentsMode(config
|
|
8587
|
+
serverOwners: resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands"
|
|
8554
8588
|
};
|
|
8555
8589
|
const { layoutHydrationPlans, pageHydrationPlans } = withFarmSourceSnapshot(() => {
|
|
8556
8590
|
const layoutHydrationPlans2 = layoutRoutes.map((layout) => ({
|
|
@@ -14340,6 +14374,17 @@ async function resolveFarmStaticNotFoundPlan(options) {
|
|
|
14340
14374
|
for (const image of routeManager.getMetadataImages().values()) {
|
|
14341
14375
|
routePatterns.add(`${image.pattern === "/" ? "" : image.pattern}/${image.fileName}`);
|
|
14342
14376
|
}
|
|
14377
|
+
const apiPrefixes = [...prefixPatterns].map(normalizeStaticNotFoundPath);
|
|
14378
|
+
for (const routePath of options.apiRoutePaths) {
|
|
14379
|
+
const pathname = normalizeStaticNotFoundPath(routePath);
|
|
14380
|
+
if (apiPrefixes.some((prefix) => pathname === prefix || pathname.startsWith(`${prefix}/`))) {
|
|
14381
|
+
continue;
|
|
14382
|
+
}
|
|
14383
|
+
if (/^\/\[\[?\.\.\./.test(pathname)) {
|
|
14384
|
+
return { reason: `the API route \`${routePath}\` answers every path` };
|
|
14385
|
+
}
|
|
14386
|
+
routePatterns.add(pathname);
|
|
14387
|
+
}
|
|
14343
14388
|
for (const plugin of config.plugins || []) {
|
|
14344
14389
|
if (getFarmIntegrationPluginServerRuntime(plugin) === false) continue;
|
|
14345
14390
|
if (plugin.name === FARM_MOBILE_SESSION_PLUGIN) continue;
|
|
@@ -14543,7 +14588,7 @@ async function buildNitroUniversal(config, routeManager, apiRouteManager, server
|
|
|
14543
14588
|
const ssrExternalsArePackaged = [...ssrExternalPackages].every(
|
|
14544
14589
|
(packageName) => copiedRuntimePackages.has(packageName)
|
|
14545
14590
|
);
|
|
14546
|
-
const isPrebuiltSSRCandidate = preset
|
|
14591
|
+
const isPrebuiltSSRCandidate = PREBUILT_SSR_PRESETS.has(preset) && ssrExternalsArePackaged;
|
|
14547
14592
|
logger.info(`\u{1F4E6} Nitro output directory: ${outputDir}`);
|
|
14548
14593
|
logger.info(`\u{1F4E6} SSR entry file: ${ssrEntryFile}`);
|
|
14549
14594
|
logger.info(`\u{1F4E6} Preset: ${preset}`);
|
|
@@ -14631,6 +14676,7 @@ async function buildNitroUniversal(config, routeManager, apiRouteManager, server
|
|
|
14631
14676
|
root,
|
|
14632
14677
|
preset,
|
|
14633
14678
|
routeManager,
|
|
14679
|
+
apiRoutePaths: apiRouteManager.getRoutes().keys(),
|
|
14634
14680
|
routeRuntimeManifest,
|
|
14635
14681
|
middlewareRoutes,
|
|
14636
14682
|
redirectSources,
|
|
@@ -15059,7 +15105,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15059
15105
|
varyFarmNitroCacheRules(routeRulesToNitroRouteRules(config.routeRules), [
|
|
15060
15106
|
...config.md.enabled ? ["accept"] : [],
|
|
15061
15107
|
...shouldBuildFarmMobileClient(config) ? ["x-farm-shell"] : [],
|
|
15062
|
-
...resolveFarmServerComponentsMode(config
|
|
15108
|
+
...resolveFarmServerComponentsMode(readFarmServerComponentsConfig(config)) === "islands" ? ["f-layouts"] : []
|
|
15063
15109
|
]),
|
|
15064
15110
|
config.basePath,
|
|
15065
15111
|
resolveFarmAPIServerBasePath(config.api)
|
|
@@ -15141,6 +15187,9 @@ function toFarmNodeResponse(request, response) {
|
|
|
15141
15187
|
// answered independently, as by the production server, so keeping several
|
|
15142
15188
|
// in flight overlaps the worker's rendering with this thread's per-route work.
|
|
15143
15189
|
concurrency: Math.min(os.availableParallelism(), 8),
|
|
15190
|
+
workers: resolveFarmPrerenderWorkers(
|
|
15191
|
+
prerenderRoutes.length + (staticNotFoundPrerenderPath ? 1 : 0)
|
|
15192
|
+
),
|
|
15144
15193
|
routes: [
|
|
15145
15194
|
...prerenderRoutes.map(toPrerenderPublicPath),
|
|
15146
15195
|
...staticNotFoundPrerenderPath ? [staticNotFoundPrerenderPath] : []
|
|
@@ -15215,7 +15264,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15215
15264
|
if (pluginManager) {
|
|
15216
15265
|
nitroConfig = await pluginManager.runHookSerial("beforeNitroBuild", nitroConfig);
|
|
15217
15266
|
}
|
|
15218
|
-
const expectedServerDir =
|
|
15267
|
+
const expectedServerDir = runtimeServerOutputDir;
|
|
15219
15268
|
const customRollupKeys = Object.keys(nitroConfig.rollupConfig || {}).filter(
|
|
15220
15269
|
(key) => key !== "external" && key !== "plugins"
|
|
15221
15270
|
);
|
|
@@ -15233,7 +15282,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15233
15282
|
(handler) => path17.resolve(handler?.handler || "") === nitroEntryPath
|
|
15234
15283
|
)
|
|
15235
15284
|
);
|
|
15236
|
-
const canReusePrebuiltSSR = isPrebuiltSSRCandidate && nitroConfig.preset
|
|
15285
|
+
const canReusePrebuiltSSR = isPrebuiltSSRCandidate && PREBUILT_SSR_PRESETS.has(nitroConfig.preset ?? "") && nitroBuildIsFarms && path17.resolve(nitroConfig.output?.serverDir || "") === path17.resolve(expectedServerDir);
|
|
15237
15286
|
const prerenderReusesPrebuiltSSR = (prerenderRoutes.length > 0 || staticNotFoundPrerenderPath !== null) && ssrExternalsArePackaged && nitroBuildIsFarms;
|
|
15238
15287
|
const selectRolldownBuilder = canReusePrebuiltSSR && requestedBuilder === void 0 && await canUseRolldownBuilder();
|
|
15239
15288
|
if (selectRolldownBuilder) nitroConfig.builder = "rolldown";
|
|
@@ -15368,7 +15417,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15368
15417
|
});
|
|
15369
15418
|
await nitroBuilder.prepare(nitroInstance);
|
|
15370
15419
|
await nitroBuilder.copyPublicAssets(nitroInstance);
|
|
15371
|
-
if (prerenderReusesPrebuiltSSR && !canReusePrebuiltSSR) {
|
|
15420
|
+
if (prerenderReusesPrebuiltSSR && (!canReusePrebuiltSSR || preset !== "node-server")) {
|
|
15372
15421
|
nitroInstance.hooks.hook("prerender:config", (prerendererConfig) => {
|
|
15373
15422
|
const configuredPlugins = prerendererConfig.rollupConfig?.plugins;
|
|
15374
15423
|
const plugins = Array.isArray(configuredPlugins) ? configuredPlugins : configuredPlugins ? [configuredPlugins] : [];
|
|
@@ -15485,7 +15534,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15485
15534
|
const copyResults = await Promise.allSettled([
|
|
15486
15535
|
prebuiltSSRFilesResult.value ? writeSSRBundleFiles(
|
|
15487
15536
|
prebuiltSSRFilesResult.value,
|
|
15488
|
-
path17.join(
|
|
15537
|
+
path17.join(expectedServerDir, FARM_SSR_OUTPUT_DIR),
|
|
15489
15538
|
fs5
|
|
15490
15539
|
) : Promise.resolve(),
|
|
15491
15540
|
runtimeCopyPromise
|
|
@@ -15495,7 +15544,7 @@ function toFarmNodeResponse(request, response) {
|
|
|
15495
15544
|
);
|
|
15496
15545
|
if (failedCopy) throw failedCopy.reason;
|
|
15497
15546
|
if (canReusePrebuiltSSR) {
|
|
15498
|
-
await registerPrebuiltSSRPackageImport(
|
|
15547
|
+
await registerPrebuiltSSRPackageImport(expectedServerDir, ssrEntryFile, fs5);
|
|
15499
15548
|
logger.info("\u26A1 Reused Farm's prebuilt SSR bundle for the Node output");
|
|
15500
15549
|
}
|
|
15501
15550
|
if (useRolldownBuilder) {
|
|
@@ -15512,7 +15561,8 @@ function toFarmNodeResponse(request, response) {
|
|
|
15512
15561
|
root,
|
|
15513
15562
|
preset,
|
|
15514
15563
|
distDir,
|
|
15515
|
-
outputDir
|
|
15564
|
+
outputDir,
|
|
15565
|
+
serverDir: path17.resolve(nitroInstance.options.output.serverDir)
|
|
15516
15566
|
});
|
|
15517
15567
|
}
|
|
15518
15568
|
let staticNotFoundRoutes;
|
|
@@ -15570,6 +15620,9 @@ function toFarmNodeResponse(request, response) {
|
|
|
15570
15620
|
}
|
|
15571
15621
|
logger.success(`\u2705 Nitro build completed with preset: ${preset}`);
|
|
15572
15622
|
}
|
|
15623
|
+
function resolveFarmPrerenderWorkers(routeCount) {
|
|
15624
|
+
return Math.max(1, Math.min(4, os.availableParallelism() - 1, Math.ceil(routeCount / 50)));
|
|
15625
|
+
}
|
|
15573
15626
|
function resolveFarmNitroOutputConfig(preset, outputDir) {
|
|
15574
15627
|
const isVercel = preset === "vercel";
|
|
15575
15628
|
return {
|
|
@@ -15658,7 +15711,7 @@ async function moveVercelOutputPath(src, dest, fs5) {
|
|
|
15658
15711
|
return;
|
|
15659
15712
|
} catch (error) {
|
|
15660
15713
|
const code = error?.code;
|
|
15661
|
-
if (code !== "EPERM" && code !== "EACCES" && code !== "EXDEV" && code !== "ENOTEMPTY") {
|
|
15714
|
+
if (code !== "EPERM" && code !== "EACCES" && code !== "EXDEV" && code !== "ENOTEMPTY" && code !== "EEXIST") {
|
|
15662
15715
|
throw error;
|
|
15663
15716
|
}
|
|
15664
15717
|
}
|
|
@@ -15836,7 +15889,7 @@ async function stageSharpRuntime(config, root, distDir, fs5, preset) {
|
|
|
15836
15889
|
dereference: true,
|
|
15837
15890
|
// Reflinks make native runtime packaging nearly metadata-only on
|
|
15838
15891
|
// supporting filesystems and transparently fall back to byte copies.
|
|
15839
|
-
mode:
|
|
15892
|
+
mode: fsConstants2.COPYFILE_FICLONE
|
|
15840
15893
|
}),
|
|
15841
15894
|
...Object.keys(dependencies).map((dependency) => copyPackage(dependency, packageRequire))
|
|
15842
15895
|
]);
|
|
@@ -15906,7 +15959,7 @@ async function mergeStagedDirectory(sourceDir, targetDir, fs5) {
|
|
|
15906
15959
|
await fs5.cp(sourcePath, targetPath, {
|
|
15907
15960
|
force: true,
|
|
15908
15961
|
dereference: true,
|
|
15909
|
-
mode:
|
|
15962
|
+
mode: fsConstants2.COPYFILE_FICLONE
|
|
15910
15963
|
});
|
|
15911
15964
|
await fs5.rm(sourcePath, { force: true });
|
|
15912
15965
|
})
|
|
@@ -15941,7 +15994,7 @@ async function copyMetadataImageRuntime(root, nitroFuncDir, fs5) {
|
|
|
15941
15994
|
recursive: true,
|
|
15942
15995
|
force: true,
|
|
15943
15996
|
dereference: true,
|
|
15944
|
-
mode:
|
|
15997
|
+
mode: fsConstants2.COPYFILE_FICLONE
|
|
15945
15998
|
});
|
|
15946
15999
|
const functionPackage = await readNitroOutputPackage(nitroFuncDir, fs5);
|
|
15947
16000
|
functionPackage.dependencies = {
|
|
@@ -16066,7 +16119,7 @@ async function createFarmProjectModuleSsrEnvironment() {
|
|
|
16066
16119
|
},
|
|
16067
16120
|
hmr: false,
|
|
16068
16121
|
createImportMeta: createNodeImportMeta,
|
|
16069
|
-
sourcemapInterceptor: "
|
|
16122
|
+
sourcemapInterceptor: "prepareStackTrace"
|
|
16070
16123
|
})
|
|
16071
16124
|
});
|
|
16072
16125
|
}
|
|
@@ -16372,7 +16425,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
|
|
|
16372
16425
|
farmPlugin,
|
|
16373
16426
|
farmServerOnlyEntriesPlugin
|
|
16374
16427
|
} = await import("./vite.mjs");
|
|
16375
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
16428
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-B7I5QVBE.mjs");
|
|
16376
16429
|
const pluginManager = new PluginManager2({
|
|
16377
16430
|
config,
|
|
16378
16431
|
isDev: false,
|
|
@@ -16401,7 +16454,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
|
|
|
16401
16454
|
}
|
|
16402
16455
|
async function buildSSR(viteBuild, config, root, srcDir, outputDir) {
|
|
16403
16456
|
const { farmI18nClientBridgePlugin, farmIslandContainersPlugin, farmPlugin } = await import("./vite.mjs");
|
|
16404
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
16457
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-B7I5QVBE.mjs");
|
|
16405
16458
|
const pluginManager = new PluginManager2({
|
|
16406
16459
|
config,
|
|
16407
16460
|
isDev: false,
|
|
@@ -16443,7 +16496,7 @@ function resolveLegacyPageEntry(config, root, srcDir) {
|
|
|
16443
16496
|
}
|
|
16444
16497
|
async function buildNitro(config, routeManager, apiRouteManager, serverRenderer, preset, root, distDir, pluginManager) {
|
|
16445
16498
|
const [{ createNitroConfig }, { createNitro, build: nitroBuild }] = await Promise.all([
|
|
16446
|
-
import("./nitro-
|
|
16499
|
+
import("./nitro-6HSEGMWJ.mjs"),
|
|
16447
16500
|
import("nitro/builder")
|
|
16448
16501
|
]);
|
|
16449
16502
|
let nitroConfig = await createNitroConfig(
|
|
@@ -16527,7 +16580,8 @@ async function buildNitro(config, routeManager, apiRouteManager, serverRenderer,
|
|
|
16527
16580
|
root,
|
|
16528
16581
|
preset,
|
|
16529
16582
|
distDir,
|
|
16530
|
-
outputDir: resolveDeployOutputPath(root, config.deploy.outputDir)
|
|
16583
|
+
outputDir: resolveDeployOutputPath(root, config.deploy.outputDir),
|
|
16584
|
+
serverDir: path18.resolve(nitro.options.output.serverDir)
|
|
16531
16585
|
});
|
|
16532
16586
|
}
|
|
16533
16587
|
}
|