@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
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-NRWEY2CM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
findProgrammaticRouteFilesInDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LQZXCSYG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
hasPolyroutePlugin,
|
|
9
9
|
isFarmAPIRouteFileName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OZAVCLXY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
_runWithFarmI18nRequest
|
|
13
13
|
} from "./chunk-O7JEFGUV.mjs";
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
getFarmRouteRuntimeConfig,
|
|
34
34
|
normalizeFarmRouteRuntimeConfig
|
|
35
35
|
} from "./chunk-PKMUQ7LM.mjs";
|
|
36
|
-
import {
|
|
37
|
-
toFileModuleUrl
|
|
38
|
-
} from "./chunk-VHIXGZYH.mjs";
|
|
39
36
|
import {
|
|
40
37
|
loadFarmDevModule
|
|
41
38
|
} from "./chunk-HX5HLFBZ.mjs";
|
|
39
|
+
import {
|
|
40
|
+
toFileModuleUrl
|
|
41
|
+
} from "./chunk-VHIXGZYH.mjs";
|
|
42
42
|
import {
|
|
43
43
|
logger
|
|
44
44
|
} from "./chunk-U6GMCDRS.mjs";
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkB6JPBPBQcjs = require('./chunk-B6JPBPBQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkLEZJZX4Ccjs = require('./chunk-LEZJZX4C.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkRBDAW6IZcjs = require('./chunk-RBDAW6IZ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkPRKFECGTcjs = require('./chunk-PRKFECGT.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk7ZDLE77Pcjs = require('./chunk-7ZDLE77P.cjs');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
18
21
|
|
|
19
22
|
// src/routing/generate-route-types.ts
|
|
23
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
20
24
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
21
25
|
var _fs = require('fs'); var fs2 = _interopRequireWildcard(_fs);
|
|
22
26
|
|
|
23
27
|
// src/routing/renderer-routes.ts
|
|
28
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
24
29
|
|
|
25
30
|
|
|
26
31
|
var ROUTE_KINDS = /* @__PURE__ */ new Set([
|
|
@@ -80,7 +85,7 @@ async function resolveFarmRendererRoutes(options) {
|
|
|
80
85
|
);
|
|
81
86
|
}
|
|
82
87
|
const extensions = [
|
|
83
|
-
...
|
|
88
|
+
..._chunkLEZJZX4Ccjs.resolveFarmComponentExtensions.call(void 0, renderer.componentExtensions),
|
|
84
89
|
".md",
|
|
85
90
|
".mdx"
|
|
86
91
|
];
|
|
@@ -105,7 +110,7 @@ async function resolveFarmRendererRoutes(options) {
|
|
|
105
110
|
try {
|
|
106
111
|
rule = resolve2.call(rules, file);
|
|
107
112
|
} catch (error) {
|
|
108
|
-
throw
|
|
113
|
+
throw _chunkLEZJZX4Ccjs.createFarmRendererHookError.call(void 0,
|
|
109
114
|
`${where} threw while resolving ${modulePath}: ${error instanceof Error ? error.message : String(error)}`,
|
|
110
115
|
error
|
|
111
116
|
);
|
|
@@ -151,9 +156,9 @@ function readRouteRule(rule, where, extension, modulePath) {
|
|
|
151
156
|
}
|
|
152
157
|
const routeFile = [...segments, `${kind}${extension}`].join("/");
|
|
153
158
|
try {
|
|
154
|
-
|
|
159
|
+
_chunk7ZDLE77Pcjs.parseRoutePath.call(void 0, routeFile);
|
|
155
160
|
} catch (error) {
|
|
156
|
-
throw
|
|
161
|
+
throw _chunkLEZJZX4Ccjs.createFarmRendererHookError.call(void 0,
|
|
157
162
|
`${where} returned \`pattern: ${JSON.stringify(pattern)}\`: ${error instanceof Error ? error.message : String(error)}`,
|
|
158
163
|
error
|
|
159
164
|
);
|
|
@@ -163,7 +168,7 @@ function readRouteRule(rule, where, extension, modulePath) {
|
|
|
163
168
|
pattern,
|
|
164
169
|
routeFile,
|
|
165
170
|
modulePath,
|
|
166
|
-
hydration:
|
|
171
|
+
hydration: _chunkLEZJZX4Ccjs.readFarmRendererHydration.call(void 0, value, where)
|
|
167
172
|
};
|
|
168
173
|
}
|
|
169
174
|
function readPatternSegments(pattern, where) {
|
|
@@ -246,7 +251,7 @@ async function generateRouteTypes(options) {
|
|
|
246
251
|
const outPath = path2.isAbsolute(outFile) ? outFile : path2.join(root, srcDir, outFile);
|
|
247
252
|
const content = await createRouteTypeDeclarations(options, outPath);
|
|
248
253
|
fs2.mkdirSync(path2.dirname(outPath), { recursive: true });
|
|
249
|
-
|
|
254
|
+
_chunkB6JPBPBQcjs.writeFileIfChanged.call(void 0, outPath, content);
|
|
250
255
|
return outPath;
|
|
251
256
|
}
|
|
252
257
|
async function createRouteTypeDeclarations(options, outPath) {
|
|
@@ -316,7 +321,7 @@ var PLATFORM_FILE = /^(?:(page|layout)\.(native|ios|android)\.(?:tsx|ts|jsx|js)|
|
|
|
316
321
|
async function scanRoutePatterns(options) {
|
|
317
322
|
const { root, srcDir = "src" } = options;
|
|
318
323
|
const sourceRoots = _nullishCoalesce(options.sourceRoots, () => ( [{ name: "project", root, srcDir, layer: false }]));
|
|
319
|
-
const componentExtensions =
|
|
324
|
+
const componentExtensions = _chunkLEZJZX4Ccjs.resolveFarmComponentExtensions.call(void 0, options.componentExtensions).map(
|
|
320
325
|
(extension) => extension.slice(1)
|
|
321
326
|
);
|
|
322
327
|
const pages = /* @__PURE__ */ new Set();
|
|
@@ -335,7 +340,7 @@ async function scanRoutePatterns(options) {
|
|
|
335
340
|
if (rendererRoutes) {
|
|
336
341
|
for (const entry of rendererRoutes.entries) {
|
|
337
342
|
if (entry.kind === "not-found") continue;
|
|
338
|
-
const pattern = createRoutePattern(
|
|
343
|
+
const pattern = createRoutePattern(_chunk7ZDLE77Pcjs.parseRoutePath.call(void 0, entry.routeFile));
|
|
339
344
|
modules.add(pattern);
|
|
340
345
|
if (entry.kind === "page") {
|
|
341
346
|
pages.add(pattern);
|
|
@@ -349,8 +354,8 @@ async function scanRoutePatterns(options) {
|
|
|
349
354
|
expandDirectories: false
|
|
350
355
|
});
|
|
351
356
|
for (const file of routeModuleFiles) {
|
|
352
|
-
if (
|
|
353
|
-
const route =
|
|
357
|
+
if (_chunkRBDAW6IZcjs.parseRouteSlotFile.call(void 0, file)) continue;
|
|
358
|
+
const route = _chunk7ZDLE77Pcjs.parseRoutePath.call(void 0, file);
|
|
354
359
|
const pattern = createRoutePattern(route);
|
|
355
360
|
modules.add(pattern);
|
|
356
361
|
if (route.type === "page") {
|
|
@@ -370,7 +375,7 @@ async function scanRoutePatterns(options) {
|
|
|
370
375
|
);
|
|
371
376
|
}
|
|
372
377
|
}
|
|
373
|
-
for (const route of await
|
|
378
|
+
for (const route of await _chunkPRKFECGTcjs.discoverProgrammaticRoutePaths.call(void 0, source.root, source.srcDir)) {
|
|
374
379
|
pages.add(route);
|
|
375
380
|
modules.add(route);
|
|
376
381
|
}
|
|
@@ -400,9 +405,9 @@ function scanPlatformRouteFiles(appDir, files, nativePages, nativeLayouts) {
|
|
|
400
405
|
const kind = _nullishCoalesce(match[1], () => ( "page"));
|
|
401
406
|
const platform = _nullishCoalesce(match[2], () => ( match[3]));
|
|
402
407
|
const twin = path2.posix.join(path2.posix.dirname(normalized), `${kind}.tsx`);
|
|
403
|
-
if (kind === "page" &&
|
|
408
|
+
if (kind === "page" && _chunkRBDAW6IZcjs.parseRouteSlotFile.call(void 0, twin)) continue;
|
|
404
409
|
const dir = path2.posix.dirname(normalized);
|
|
405
|
-
const pattern = kind === "page" ? createRoutePattern(
|
|
410
|
+
const pattern = kind === "page" ? createRoutePattern(_chunk7ZDLE77Pcjs.parseRoutePath.call(void 0, twin)) : dir === "." ? "/" : `/${dir}`;
|
|
406
411
|
const key = `${kind}\0${pattern}\0${platform}`;
|
|
407
412
|
const previous = seen.get(key);
|
|
408
413
|
if (previous) {
|
|
@@ -1,16 +1,20 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWJ5ADUI2cjs = require('./chunk-WJ5ADUI2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk323JTLXRcjs = require('./chunk-323JTLXR.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkNMMCBJZMcjs = require('./chunk-NMMCBJZM.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
12
15
|
|
|
13
16
|
// src/mobile/native-server-fn-handler.ts
|
|
17
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
14
18
|
var MOBILE_APP_HEADER = "x-farm-mobile";
|
|
15
19
|
var FETCH_METADATA = ["sec-fetch-site", "sec-fetch-mode", "sec-fetch-dest", "sec-fetch-user"];
|
|
16
20
|
var ID = /^[\w-]{1,64}$/;
|
|
@@ -41,14 +45,14 @@ async function handleFarmNativeServerFnRequest(request, options, parsed) {
|
|
|
41
45
|
return refuse(403, "not_native", "Only the app's native screens call server functions here.");
|
|
42
46
|
}
|
|
43
47
|
const length = Number(_nullishCoalesce(request.headers.get("content-length"), () => ( "0")));
|
|
44
|
-
if (length >
|
|
48
|
+
if (length > _chunkNMMCBJZMcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT) {
|
|
45
49
|
return refuse(413, "body_too_large", "The call's input is too large.");
|
|
46
50
|
}
|
|
47
51
|
let call;
|
|
48
52
|
if (parsed !== void 0) call = parsed;
|
|
49
53
|
else {
|
|
50
54
|
const text = await request.text();
|
|
51
|
-
if (text.length >
|
|
55
|
+
if (text.length > _chunkNMMCBJZMcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT) {
|
|
52
56
|
return refuse(413, "body_too_large", "The call's input is too large.");
|
|
53
57
|
}
|
|
54
58
|
try {
|
|
@@ -64,14 +68,14 @@ async function handleFarmNativeServerFnRequest(request, options, parsed) {
|
|
|
64
68
|
return refuse(400, "invalid_body", "The input has a key that is not allowed.");
|
|
65
69
|
}
|
|
66
70
|
const fn = await options.resolve(call.id);
|
|
67
|
-
if (fn === void 0 ||
|
|
71
|
+
if (fn === void 0 || _chunkWJ5ADUI2cjs._describeServerFunction.call(void 0, fn) === void 0) {
|
|
68
72
|
return refuse(
|
|
69
73
|
404,
|
|
70
74
|
"unknown_function",
|
|
71
75
|
"No server function with this id is open to native screens."
|
|
72
76
|
);
|
|
73
77
|
}
|
|
74
|
-
const outcome = await
|
|
78
|
+
const outcome = await _chunkWJ5ADUI2cjs._invokeServerFunction.call(void 0, fn, call.input, request);
|
|
75
79
|
if (outcome.ok) {
|
|
76
80
|
try {
|
|
77
81
|
return json(200, { data: _nullishCoalesce(outcome.data, () => ( null)) });
|
|
@@ -100,9 +104,9 @@ async function handleFarmNativeServerFnRequest(request, options, parsed) {
|
|
|
100
104
|
}
|
|
101
105
|
function createFarmNativeServerFnPlugin(options) {
|
|
102
106
|
return {
|
|
103
|
-
name:
|
|
107
|
+
name: _chunk323JTLXRcjs.FARM_NATIVE_SERVER_FN_PLUGIN,
|
|
104
108
|
routes: ({ route }) => [
|
|
105
|
-
route.post(
|
|
109
|
+
route.post(_chunk323JTLXRcjs.FARM_NATIVE_SERVER_FN_PATH, {
|
|
106
110
|
handler: (request, { input }) => handleFarmNativeServerFnRequest(request, options, input.body)
|
|
107
111
|
})
|
|
108
112
|
]
|
|
@@ -1,29 +1,33 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkLG62AYPQcjs = require('./chunk-LG62AYPQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKUG3P3GYcjs = require('./chunk-KUG3P3GY.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7ZDLE77Pcjs = require('./chunk-7ZDLE77P.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk7GKZDRY2cjs = require('./chunk-7GKZDRY2.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkK6LZMZNBcjs = require('./chunk-K6LZMZNB.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkCUW7K4AUcjs = require('./chunk-CUW7K4AU.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkGKYOFMPQcjs = require('./chunk-GKYOFMPQ.cjs');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
25
28
|
|
|
26
29
|
// src/workflows.ts
|
|
30
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
27
31
|
|
|
28
32
|
|
|
29
33
|
|
|
@@ -117,7 +121,7 @@ function createFarmWorkflowRequestHandler(options) {
|
|
|
117
121
|
workflows: options.workflows.map(toWorkflowMetadata)
|
|
118
122
|
});
|
|
119
123
|
}
|
|
120
|
-
const id =
|
|
124
|
+
const id = _chunkGKYOFMPQcjs.decodeRouteSegment.call(void 0, url.pathname.slice(route.length + 1));
|
|
121
125
|
const secretError = verifyWorkflowSecret(request, options.config);
|
|
122
126
|
if (secretError) return secretError;
|
|
123
127
|
const workflow = workflowsById.get(id);
|
|
@@ -128,10 +132,10 @@ function createFarmWorkflowRequestHandler(options) {
|
|
|
128
132
|
try {
|
|
129
133
|
payload = await readWorkflowPayload(
|
|
130
134
|
request,
|
|
131
|
-
|
|
135
|
+
_chunk7GKZDRY2cjs.resolveFarmServerConfig.call(void 0, options.server).bodySizeLimit
|
|
132
136
|
);
|
|
133
137
|
} catch (error) {
|
|
134
|
-
const response =
|
|
138
|
+
const response = _chunk7GKZDRY2cjs.createFarmRequestBodyErrorResponse.call(void 0, error);
|
|
135
139
|
if (response) return response;
|
|
136
140
|
if (error instanceof SyntaxError) {
|
|
137
141
|
return Response.json({ error: "Invalid workflow request body." }, { status: 400 });
|
|
@@ -195,7 +199,7 @@ async function prepareFarmWorkflowsForNitro(config) {
|
|
|
195
199
|
const scheduledTasks = createScheduledTasks(workflows);
|
|
196
200
|
const wrapperNames = resolveWorkflowWrapperFileNames(workflows.map((workflow) => workflow.id));
|
|
197
201
|
for (const workflow of workflows) {
|
|
198
|
-
const wrapperPath =
|
|
202
|
+
const wrapperPath = _chunk7ZDLE77Pcjs.toPosixPath.call(void 0,
|
|
199
203
|
path.join(generatedDir, `${wrapperNames.get(workflow.id)}.mjs`)
|
|
200
204
|
);
|
|
201
205
|
await fs.writeFile(wrapperPath, createNitroTaskWrapper(workflow), "utf8");
|
|
@@ -204,13 +208,13 @@ async function prepareFarmWorkflowsForNitro(config) {
|
|
|
204
208
|
description: workflow.description || `Farm workflow ${workflow.id}`
|
|
205
209
|
};
|
|
206
210
|
}
|
|
207
|
-
const handlerPath =
|
|
211
|
+
const handlerPath = _chunk7ZDLE77Pcjs.toPosixPath.call(void 0, path.join(generatedDir, "http-handler.mjs"));
|
|
208
212
|
await fs.writeFile(
|
|
209
213
|
handlerPath,
|
|
210
214
|
createNitroWorkflowHTTPHandler(
|
|
211
215
|
workflowConfig,
|
|
212
216
|
workflows,
|
|
213
|
-
|
|
217
|
+
_chunk7GKZDRY2cjs.resolveFarmServerConfig.call(void 0, config.server)
|
|
214
218
|
),
|
|
215
219
|
"utf8"
|
|
216
220
|
);
|
|
@@ -282,7 +286,7 @@ function normalizeWorkflowRoute(route) {
|
|
|
282
286
|
const trimmed = route.trim();
|
|
283
287
|
if (!trimmed || trimmed === "/") return DEFAULT_FARM_WORKFLOW_ROUTE;
|
|
284
288
|
const normalized = `/${trimSlashes(trimmed)}`;
|
|
285
|
-
|
|
289
|
+
_chunkCUW7K4AUcjs.validateConfigRouteSource.call(void 0, normalized, "workflows.route");
|
|
286
290
|
return normalized;
|
|
287
291
|
}
|
|
288
292
|
function normalizeWorkflowId(id) {
|
|
@@ -345,7 +349,7 @@ async function loadWorkflowModule(filePath, root) {
|
|
|
345
349
|
outDir,
|
|
346
350
|
`workflow-${Date.now()}-${Math.random().toString(36).slice(2)}.mjs`
|
|
347
351
|
);
|
|
348
|
-
const { bundleNodeModule } = await import("./node-module-bundle-
|
|
352
|
+
const { bundleNodeModule } = await import("./node-module-bundle-PHKRIHI6.cjs");
|
|
349
353
|
await bundleNodeModule({
|
|
350
354
|
root,
|
|
351
355
|
entry: filePath,
|
|
@@ -559,9 +563,9 @@ function toWorkflowMetadata(workflow) {
|
|
|
559
563
|
async function readWorkflowPayload(request, bodySizeLimit) {
|
|
560
564
|
const url = new URL(request.url);
|
|
561
565
|
if (request.method === "GET" || request.method === "HEAD") {
|
|
562
|
-
return
|
|
566
|
+
return _chunkK6LZMZNBcjs.searchParamsToObject.call(void 0, url.searchParams);
|
|
563
567
|
}
|
|
564
|
-
const bytes = await
|
|
568
|
+
const bytes = await _chunk7GKZDRY2cjs.readFarmRequestBody.call(void 0, request, bodySizeLimit);
|
|
565
569
|
const text = new TextDecoder().decode(bytes);
|
|
566
570
|
if (!text) return {};
|
|
567
571
|
const contentType = (request.headers.get("content-type") || "").split(";", 1)[0].trim().toLowerCase();
|
|
@@ -574,9 +578,9 @@ function readScheduledTime(payload) {
|
|
|
574
578
|
return payload && typeof payload === "object" && "scheduledTime" in payload ? payload.scheduledTime : void 0;
|
|
575
579
|
}
|
|
576
580
|
function verifyWorkflowSecret(request, config) {
|
|
577
|
-
const secret = config.secret ||
|
|
581
|
+
const secret = config.secret || _chunkLG62AYPQcjs.readFarmEnvironmentValue.call(void 0, config.secretEnv) || "";
|
|
578
582
|
if (!secret) {
|
|
579
|
-
if (config.allowUnsecured === true || !
|
|
583
|
+
if (config.allowUnsecured === true || !_chunkLG62AYPQcjs.isFarmDeployedRuntime.call(void 0, )) return null;
|
|
580
584
|
return Response.json(
|
|
581
585
|
{
|
|
582
586
|
error: MISSING_FARM_WORKFLOW_SECRET_ERROR
|
|
@@ -587,7 +591,7 @@ function verifyWorkflowSecret(request, config) {
|
|
|
587
591
|
const authorization = request.headers.get("authorization") || "";
|
|
588
592
|
const bearer = _optionalChain([authorization, 'access', _ => _.match, 'call', _2 => _2(/^Bearer\s+(.+)$/i), 'optionalAccess', _3 => _3[1]]) || "";
|
|
589
593
|
const headerSecret = request.headers.get("x-farm-workflow-secret") || "";
|
|
590
|
-
if (
|
|
594
|
+
if (_chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, bearer, secret) || _chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, headerSecret, secret)) return null;
|
|
591
595
|
return Response.json({ error: "Unauthorized workflow request." }, { status: 401 });
|
|
592
596
|
}
|
|
593
597
|
function joinRoute(...parts) {
|
|
@@ -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/server/request-bridge.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var CURRENT_REQUEST_RESOLVER_KEY = /* @__PURE__ */ Symbol.for("farm.currentRequestResolver");
|
|
3
8
|
var CURRENT_REQUEST_PEEK_KEY = /* @__PURE__ */ Symbol.for("farm.currentRequestPeek");
|
|
4
9
|
var APP_REQUEST_VIEW_KEY = /* @__PURE__ */ Symbol.for("farm.appRequestView");
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkLG62AYPQcjs = require('./chunk-LG62AYPQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKUG3P3GYcjs = require('./chunk-KUG3P3GY.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7ZDLE77Pcjs = require('./chunk-7ZDLE77P.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
14
|
+
|
|
15
|
+
// src/cron.ts
|
|
16
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
11
17
|
|
|
12
18
|
// src/preview-request.ts
|
|
19
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
13
20
|
var FARM_PREVIEW_REQUEST_HEADER = "x-farm-preview";
|
|
14
21
|
|
|
15
22
|
// src/cron.ts
|
|
@@ -97,7 +104,7 @@ async function prepareFarmCronForNitro(config) {
|
|
|
97
104
|
const wrapperNames = resolveCronWrapperFileNames(cron.jobs.map((job) => job.name));
|
|
98
105
|
for (const job of cron.jobs) {
|
|
99
106
|
const taskName = getFarmCronTaskName(job.name);
|
|
100
|
-
const wrapperPath =
|
|
107
|
+
const wrapperPath = _chunk7ZDLE77Pcjs.toPosixPath.call(void 0, path.join(generatedDir, `${wrapperNames.get(job.name)}.mjs`));
|
|
101
108
|
await fs.writeFile(wrapperPath, createNitroCronTaskWrapper(job, cron.secretEnv), "utf8");
|
|
102
109
|
tasks[taskName] = {
|
|
103
110
|
handler: wrapperPath,
|
|
@@ -196,21 +203,21 @@ function mergeScheduledTasks(...maps) {
|
|
|
196
203
|
);
|
|
197
204
|
}
|
|
198
205
|
function isExplicitDevelopmentEnv() {
|
|
199
|
-
const nodeEnv =
|
|
206
|
+
const nodeEnv = _chunkLG62AYPQcjs.readFarmEnvironmentValue.call(void 0, "NODE_ENV");
|
|
200
207
|
return nodeEnv === "development" || nodeEnv === "test";
|
|
201
208
|
}
|
|
202
209
|
function isCronRequestAuthorized(request, options = {}) {
|
|
203
210
|
const secretEnv = options.secretEnv || DEFAULT_FARM_CRON_SECRET_ENV;
|
|
204
|
-
const secret = options.secret ||
|
|
211
|
+
const secret = options.secret || _chunkLG62AYPQcjs.readFarmEnvironmentValue.call(void 0, secretEnv);
|
|
205
212
|
if (!secret) {
|
|
206
|
-
return options.allowUnsecured === true || !
|
|
213
|
+
return options.allowUnsecured === true || !_chunkLG62AYPQcjs.getFarmRuntimeBindings.call(void 0, ) && isExplicitDevelopmentEnv() && // Development stays open for the developer's own machine, not for visitors to a
|
|
207
214
|
// `farm preview` URL. The preview marks every request it tunnels in.
|
|
208
215
|
!request.headers.get(FARM_PREVIEW_REQUEST_HEADER);
|
|
209
216
|
}
|
|
210
217
|
const authorization = request.headers.get("authorization") || "";
|
|
211
218
|
const bearer = _optionalChain([/^Bearer (.*)$/i, 'access', _ => _.exec, 'call', _2 => _2(authorization), 'optionalAccess', _3 => _3[1]]) || "";
|
|
212
219
|
const headerSecret = request.headers.get("x-farm-cron-secret") || "";
|
|
213
|
-
return
|
|
220
|
+
return _chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, bearer, secret) || _chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, headerSecret, secret);
|
|
214
221
|
}
|
|
215
222
|
var inFlightCronRuns = /* @__PURE__ */ new Set();
|
|
216
223
|
function resolveCronRunControls(options) {
|
|
@@ -339,7 +346,7 @@ async function authorizeCronRequest(request, options = {}, now = Date.now()) {
|
|
|
339
346
|
if (!parsed) return false;
|
|
340
347
|
const t = Number(parsed[1]);
|
|
341
348
|
if (Math.abs(now / 1e3 - t) > CRON_SIGNATURE_WINDOW_SECONDS) return false;
|
|
342
|
-
const apiKey =
|
|
349
|
+
const apiKey = _chunkLG62AYPQcjs.readFarmEnvironmentValue.call(void 0, "FARMJS_API_KEY");
|
|
343
350
|
if (!apiKey) return false;
|
|
344
351
|
let pathname;
|
|
345
352
|
try {
|
|
@@ -350,7 +357,7 @@ async function authorizeCronRequest(request, options = {}, now = Date.now()) {
|
|
|
350
357
|
return false;
|
|
351
358
|
}
|
|
352
359
|
const expected = await farmCronSignature(apiKey, t, pathname);
|
|
353
|
-
return
|
|
360
|
+
return _chunkKUG3P3GYcjs.farmSecretsMatch.call(void 0, parsed[2], expected);
|
|
354
361
|
}
|
|
355
362
|
function cronRoute(handler, options = {}) {
|
|
356
363
|
const controls = resolveCronRunControls(options);
|
|
@@ -1,35 +1,39 @@
|
|
|
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 _chunkEGMJ5KEUcjs = require('./chunk-EGMJ5KEU.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYC3LKWJOcjs = require('./chunk-YC3LKWJO.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkGAII22G2cjs = require('./chunk-GAII22G2.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkIBZW57NWcjs = require('./chunk-IBZW57NW.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
14
17
|
|
|
15
18
|
// src/theme/server.ts
|
|
19
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
16
20
|
var FARM_THEME_DEFAULT_CONFIG = /* @__PURE__ */ Symbol.for("farm.js.theme.default-config");
|
|
17
|
-
var DISABLED_THEME_CONFIG =
|
|
21
|
+
var DISABLED_THEME_CONFIG = _chunkEGMJ5KEUcjs.resolveFarmThemeConfig.call(void 0, void 0);
|
|
18
22
|
function getDefaultThemeConfig() {
|
|
19
23
|
return _nullishCoalesce(globalThis[FARM_THEME_DEFAULT_CONFIG], () => ( DISABLED_THEME_CONFIG));
|
|
20
24
|
}
|
|
21
25
|
function _setDefaultFarmThemeConfig(config, basePath = "/") {
|
|
22
|
-
globalThis[FARM_THEME_DEFAULT_CONFIG] =
|
|
26
|
+
globalThis[FARM_THEME_DEFAULT_CONFIG] = _chunkEGMJ5KEUcjs.resolveFarmThemeConfig.call(void 0,
|
|
23
27
|
config,
|
|
24
28
|
basePath
|
|
25
29
|
);
|
|
26
30
|
}
|
|
27
|
-
function getTheme(request =
|
|
31
|
+
function getTheme(request = _chunkIBZW57NWcjs.getCurrentRequestOrNull.call(void 0, )) {
|
|
28
32
|
const config = getDefaultThemeConfig();
|
|
29
33
|
if (!request) return config.default;
|
|
30
34
|
return readFarmThemePreference(request, config);
|
|
31
35
|
}
|
|
32
|
-
function getThemeSnapshot(request =
|
|
36
|
+
function getThemeSnapshot(request = _chunkIBZW57NWcjs.getCurrentRequestOrNull.call(void 0, )) {
|
|
33
37
|
const config = getDefaultThemeConfig();
|
|
34
38
|
const theme = request ? readFarmThemePreference(request, config) : config.default;
|
|
35
39
|
return {
|
|
@@ -40,7 +44,7 @@ function getThemeSnapshot(request = _chunk2RSVYJT6cjs.getCurrentRequestOrNull.ca
|
|
|
40
44
|
}
|
|
41
45
|
function readFarmThemePreference(request, config) {
|
|
42
46
|
if (!config.enabled) return config.default;
|
|
43
|
-
|
|
47
|
+
_chunkIBZW57NWcjs._countRequestCookieRead.call(void 0, request);
|
|
44
48
|
const stored = readCookie(request.headers.get("cookie"), config.storageKey);
|
|
45
49
|
return isFarmThemePreference(stored) ? stored : config.default;
|
|
46
50
|
}
|
|
@@ -49,7 +53,7 @@ function readCookie(cookieHeader, name) {
|
|
|
49
53
|
for (const entry of cookieHeader.split(";")) {
|
|
50
54
|
const separator = entry.indexOf("=");
|
|
51
55
|
if (separator < 0) continue;
|
|
52
|
-
const key =
|
|
56
|
+
const key = _chunkGAII22G2cjs.decodeCookieName.call(void 0, entry.slice(0, separator).trim());
|
|
53
57
|
if (key !== name) continue;
|
|
54
58
|
return decodeCookieValue(entry.slice(separator + 1).trim());
|
|
55
59
|
}
|
|
@@ -65,7 +69,7 @@ function decodeCookieValue(value) {
|
|
|
65
69
|
function isFarmThemePreference(value) {
|
|
66
70
|
return value === "light" || value === "dark" || value === "system";
|
|
67
71
|
}
|
|
68
|
-
|
|
72
|
+
_chunkYC3LKWJOcjs._setFarmThemeServerSnapshotResolver.call(void 0, () => {
|
|
69
73
|
try {
|
|
70
74
|
return getThemeSnapshot();
|
|
71
75
|
} catch (e2) {
|
|
@@ -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/client/search-preserve-routes.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var SEARCH_PRESERVE_ROUTES_KEY = /* @__PURE__ */ Symbol.for("farm.searchPreserveRoutes");
|
|
3
8
|
function _setFarmSearchPreserveRoutes(routes) {
|
|
4
9
|
globalThis[SEARCH_PRESERVE_ROUTES_KEY] = routes;
|
|
@@ -1,8 +1,12 @@
|
|
|
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 _chunkGKYOFMPQcjs = require('./chunk-GKYOFMPQ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/middleware/matcher.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
10
|
var compiledConfigCache = /* @__PURE__ */ new WeakMap();
|
|
7
11
|
var compiledRouteCache = /* @__PURE__ */ new WeakMap();
|
|
8
12
|
function compileMiddlewareRoute(entry) {
|
|
@@ -21,7 +25,7 @@ function compileMiddlewareRoute(entry) {
|
|
|
21
25
|
function matchesMiddlewareRoute(pathname, entry) {
|
|
22
26
|
const compiled = compileMiddlewareRoute(entry);
|
|
23
27
|
if (!compiled) return { matched: true };
|
|
24
|
-
const canonicalPathname =
|
|
28
|
+
const canonicalPathname = _chunkGKYOFMPQcjs.canonicalizeRequestPathname.call(void 0, pathname);
|
|
25
29
|
const exactMatch = matchPattern(compiled.exact, canonicalPathname);
|
|
26
30
|
if (exactMatch.matched) return exactMatch;
|
|
27
31
|
const nestedMatch = matchPattern(compiled.nested, canonicalPathname);
|
|
@@ -209,11 +213,11 @@ function matchesMiddlewarePredicate(predicate, ctx, getRoutePathname = () => ctx
|
|
|
209
213
|
return Boolean(predicate(withRoutePathname(ctx, routePathname)));
|
|
210
214
|
}
|
|
211
215
|
function toMiddlewareRoutePathname(pathname, toRoutePathname = (value) => value) {
|
|
212
|
-
return
|
|
216
|
+
return _chunkGKYOFMPQcjs.canonicalizeRequestPathname.call(void 0, toRoutePathname(pathname));
|
|
213
217
|
}
|
|
214
218
|
function matchesCompiledMiddlewareConfig(pathname, config, ctx) {
|
|
215
219
|
let canonicalPathname;
|
|
216
|
-
const getCanonicalPathname = () => _nullishCoalesce(canonicalPathname, () => ( (canonicalPathname =
|
|
220
|
+
const getCanonicalPathname = () => _nullishCoalesce(canonicalPathname, () => ( (canonicalPathname = _chunkGKYOFMPQcjs.canonicalizeRequestPathname.call(void 0, pathname))));
|
|
217
221
|
if (config.exclude) {
|
|
218
222
|
for (const pattern of config.exclude) {
|
|
219
223
|
if (matchPattern(pattern, getCanonicalPathname()).matched) {
|
|
@@ -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/schema.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function defineSchema(schema) {
|
|
3
8
|
return schema;
|
|
4
9
|
}
|
|
@@ -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/mobile/native-tree-type.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var FARM_NATIVE_TREE_CONTENT_TYPE = "application/vnd.farm.native+json";
|
|
3
8
|
|
|
4
9
|
|