@farm.js/core 0.2.0-beta.2 → 0.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-LICENSES.md +3220 -0
- package/dist/after.cjs +3 -3
- package/dist/after.mjs +1 -1
- package/dist/{agent-mcp-handler-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-BdFnjlAT.d.mts} +1 -1
- package/dist/{agent-mcp.d-DBaonhLg.d.ts → agent-mcp.d-CAwDC9y4.d.ts} +1 -1
- package/dist/agent-runtime.cjs +25 -22
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-3AMJK27J.cjs +17 -0
- package/dist/{analyzer-T2U345WL.mjs → analyzer-K3S4YRAH.mjs} +3 -3
- package/dist/api/client.cjs +16 -16
- package/dist/api/client.mjs +1 -1
- package/dist/api/client.native.cjs +21 -18
- package/dist/api/client.native.mjs +1 -1
- package/dist/api/node.cjs +29 -26
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/node.mjs +1 -1
- package/dist/api/route-manager.cjs +45 -45
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.cjs +25 -25
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +1 -1
- package/dist/api.cjs +57 -57
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-uE0JGZKN.d.mts → app-manifest.d-COs1wBGz.d.mts} +1 -1
- package/dist/{app-manifest.d-nLVFFd7N.d.ts → app-manifest.d-Dczk-fwt.d.ts} +1 -1
- package/dist/app-markdown-compiler-4RCCOTTF.cjs +33007 -0
- package/dist/app-markdown-compiler-OM2AMFRK.mjs +32402 -0
- package/dist/app-markdown.cjs +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-CwVkAUEU.d.ts → app.d-DREl_yXh.d.ts} +17 -7
- package/dist/{app.d-DGGcNXV7.d.mts → app.d-LepnxO-5.d.mts} +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-PHCJJJZV.cjs → chunk-2HC46EGU.cjs} +6 -2
- package/dist/{chunk-MF3IA2AW.cjs → chunk-2L4M6YUG.cjs} +6 -1
- package/dist/{chunk-P2TGLGRR.mjs → chunk-2ORWY3SE.mjs} +2 -2
- package/dist/{chunk-VGZIIOU6.cjs → chunk-2PSN2PUJ.cjs} +12 -8
- package/dist/{chunk-CIY74JLV.cjs → chunk-2RA2VIKN.cjs} +9 -5
- package/dist/{chunk-NZRAUCUL.cjs → chunk-2UV765GT.cjs} +26 -20
- package/dist/{chunk-A3LNXQJJ.cjs → chunk-2VLW3HWJ.cjs} +9 -2
- package/dist/{chunk-4EBC7EMW.cjs → chunk-323JTLXR.cjs} +6 -1
- package/dist/{chunk-7KJJ4SBS.cjs → chunk-32HGOX3M.cjs} +6 -1
- package/dist/{chunk-RKQOMG2X.cjs → chunk-3ACTVXZG.cjs} +9 -5
- package/dist/{chunk-N3H7UPBM.cjs → chunk-3EZHMZGD.cjs} +6 -1
- package/dist/{chunk-LQWIIBI2.cjs → chunk-3KLDTMIC.cjs} +6 -1
- package/dist/{chunk-OO7DYIJD.cjs → chunk-3YT7DIIS.cjs} +7 -1
- package/dist/{chunk-ILQSRLKK.cjs → chunk-4A6WSOZH.cjs} +55 -49
- package/dist/{chunk-E5UN4OWX.cjs → chunk-4JARM2QQ.cjs} +6 -1
- package/dist/{chunk-VGVRGGP4.cjs → chunk-4JCX33RZ.cjs} +13 -8
- package/dist/chunk-4RLFAN7T.cjs +6 -0
- package/dist/{chunk-OZUINP2P.cjs → chunk-4USE4SEU.cjs} +19 -15
- package/dist/{chunk-PENBZAHJ.cjs → chunk-57OAZCWQ.cjs} +6 -1
- package/dist/{chunk-TWFJJPE7.cjs → chunk-5BZ7PR3T.cjs} +42 -38
- package/dist/{chunk-JYQ6DGPW.cjs → chunk-5P3TZGS3.cjs} +52 -45
- package/dist/{chunk-UWDFH3ZV.mjs → chunk-5UMPMVNF.mjs} +1 -1
- package/dist/{chunk-OZC2JPW6.cjs → chunk-5XYJ5KRN.cjs} +6 -1
- package/dist/{chunk-QKW6DLDT.cjs → chunk-5YT2ZSWS.cjs} +17 -13
- package/dist/{chunk-QCKSYYXK.cjs → chunk-63S7DAEG.cjs} +21 -17
- package/dist/{chunk-FDGYDQGL.cjs → chunk-66WIOZXX.cjs} +7 -1
- package/dist/{chunk-MHKPXX3J.cjs → chunk-6AUPJYHF.cjs} +13 -9
- package/dist/{chunk-DVJM55D2.cjs → chunk-6FIY4KBC.cjs} +6 -1
- package/dist/{chunk-TIZJYHB7.mjs → chunk-6IUWKO2Q.mjs} +15 -0
- package/dist/{chunk-VWIW47FW.cjs → chunk-6K7LEL2T.cjs} +6 -1
- package/dist/{chunk-UZCMMJJT.cjs → chunk-6NQ63L6N.cjs} +6 -1
- package/dist/{chunk-BTVDYS4B.cjs → chunk-6QCZWAGO.cjs} +6 -1
- package/dist/{chunk-RDADQG5S.cjs → chunk-6QWCFVGL.cjs} +14 -7
- package/dist/{chunk-JRGR5Z4K.cjs → chunk-6VC7NUY3.cjs} +6 -1
- package/dist/{chunk-CKPTIEDX.cjs → chunk-7BFFBYLN.cjs} +6 -1
- package/dist/{chunk-7Q7UB4TL.cjs → chunk-7GKZDRY2.cjs} +9 -5
- package/dist/{chunk-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-COK4IXOO.mjs → chunk-AGEBFYHF.mjs} +1 -1
- package/dist/{chunk-SWPLGPYF.cjs → chunk-AGT633OM.cjs} +27 -23
- package/dist/{chunk-WEZTGM7N.cjs → chunk-APKULXZV.cjs} +11 -9
- package/dist/chunk-AZJEQ5CR.cjs +6 -0
- package/dist/{chunk-ZMSVKVI3.cjs → chunk-B2VSX33T.cjs} +6 -1
- package/dist/{chunk-AQIRXBBY.cjs → chunk-B6JPBPBQ.cjs} +6 -1
- package/dist/{chunk-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-SCE7VWPN.cjs → chunk-C4DZAEVT.cjs} +48 -41
- package/dist/{chunk-KQS27YN7.cjs → chunk-C6DR4JAR.cjs} +14 -10
- package/dist/{chunk-Y3WG64CP.cjs → chunk-CH2JX3CM.cjs} +6 -1
- package/dist/{chunk-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-HVGINJTO.mjs → chunk-D5OY5OKA.mjs} +60 -29
- package/dist/{chunk-T3SMMLSB.cjs → chunk-DB4NOIQC.cjs} +12 -8
- package/dist/{chunk-SSFAPTRD.mjs → chunk-DFLCEMQ3.mjs} +1 -1
- package/dist/{chunk-OWOUTKIJ.cjs → chunk-DQYMTSF3.cjs} +6 -1
- package/dist/{chunk-7V5M43ND.mjs → chunk-DVL3UVYT.mjs} +2 -2
- package/dist/{chunk-ZSVFI7JM.cjs → chunk-DVXT7RLV.cjs} +23 -18
- package/dist/{chunk-UNOXV37V.cjs → chunk-DYGHX2UR.cjs} +6 -1
- package/dist/{chunk-OLIWLN4I.cjs → chunk-E5AC7E25.cjs} +24 -20
- package/dist/{chunk-LSHX2H5G.cjs → chunk-EBE6BK54.cjs} +6 -1
- package/dist/{chunk-YNPVG2GG.mjs → chunk-EBVKVDQA.mjs} +1 -1
- package/dist/{chunk-WT6RAN2I.cjs → chunk-EGMJ5KEU.cjs} +6 -1
- package/dist/{chunk-22KXTL3I.cjs → chunk-EJLMRNSV.cjs} +24 -19
- package/dist/{chunk-RDNKQ5MK.cjs → chunk-EMM3YXXI.cjs} +19 -15
- package/dist/{chunk-EZUTDTFM.cjs → chunk-ERSLQ4C7.cjs} +18 -11
- package/dist/{chunk-4WXNTAOM.mjs → chunk-EUVHELJL.mjs} +1 -1
- package/dist/{chunk-J6TZRYCO.cjs → chunk-F5JTXLS7.cjs} +6 -1
- package/dist/{chunk-UOMSGJHK.cjs → chunk-F5T55PYX.cjs} +103 -95
- package/dist/{chunk-N2ZMSSPP.cjs → chunk-FYVSAWJP.cjs} +77 -70
- package/dist/{chunk-HUGPJFOC.cjs → chunk-G22QP2MX.cjs} +9 -5
- package/dist/{chunk-PMJSG4JS.cjs → chunk-G5KGLMPN.cjs} +6 -1
- package/dist/{chunk-R5U7OIPI.cjs → chunk-GAII22G2.cjs} +6 -1
- package/dist/{chunk-6CTFVBAT.cjs → chunk-GKYOFMPQ.cjs} +6 -1
- package/dist/{chunk-JYT7AN37.cjs → chunk-GLP3ID53.cjs} +6 -1
- package/dist/{chunk-QBJ6N5MT.mjs → chunk-GN2RXH72.mjs} +1 -1
- package/dist/{chunk-RQRTH57V.cjs → chunk-GQONHUMI.cjs} +6 -1
- package/dist/{chunk-EOXPRC2C.cjs → chunk-GQQID5IB.cjs} +7 -1
- package/dist/{chunk-IUKBPBM7.cjs → chunk-GUDYDNKU.cjs} +6 -1
- package/dist/{chunk-6GJZJAED.mjs → chunk-GUNPDMSX.mjs} +1 -1
- package/dist/{chunk-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-4Q263EQI.mjs → chunk-HFOME6I2.mjs} +7 -7
- package/dist/{chunk-T7UC2ORA.cjs → chunk-HP7QYVST.cjs} +7 -1
- package/dist/{chunk-JP5TWUK2.cjs → chunk-HSAHQBMG.cjs} +8 -4
- package/dist/{chunk-3BTN3NP7.cjs → chunk-I5PDHLKE.cjs} +6 -2
- package/dist/{chunk-J2EKGR6E.cjs → chunk-IASZIYNM.cjs} +611 -529
- 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-OQOII62L.mjs → chunk-II4ENBE4.mjs} +1 -1
- package/dist/{chunk-JIBEFLQ7.cjs → chunk-IKYNDANT.cjs} +7 -1
- package/dist/{chunk-Z43CIBUR.cjs → chunk-IU4YTFFQ.cjs} +16 -12
- package/dist/{chunk-KBGZ5FD6.cjs → chunk-IVEV44O2.cjs} +6 -2
- package/dist/{chunk-MCSRMEQV.cjs → chunk-J2JMESBJ.cjs} +6 -1
- package/dist/{chunk-WMRGIQTA.cjs → chunk-J3RIMCBD.cjs} +6 -1
- package/dist/{chunk-N4AQNEXR.cjs → chunk-JIBZ6SCC.cjs} +6 -1
- package/dist/{chunk-IZYFP7IN.cjs → chunk-JOSR2E2C.cjs} +17 -13
- package/dist/{chunk-AOKXITZ6.cjs → chunk-JOZDAIKZ.cjs} +6 -1
- package/dist/{chunk-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-52Q4OB4A.cjs → chunk-KBURN62Z.cjs} +10 -6
- package/dist/{chunk-O4JYMU5N.cjs → chunk-KDUVIJSZ.cjs} +22 -18
- package/dist/{chunk-2LHZD3OP.cjs → chunk-KEBD377T.cjs} +6 -2
- package/dist/{chunk-3DE6RK7K.cjs → chunk-KHTJVI6B.cjs} +6 -1
- package/dist/{chunk-OY5XDG24.cjs → chunk-KI3B3H5K.cjs} +9 -5
- package/dist/{chunk-EXPVSFAG.cjs → chunk-KM7ZRKCH.cjs} +50 -41
- package/dist/{chunk-P2355C6E.cjs → chunk-KSRWTQ6J.cjs} +6 -1
- package/dist/{chunk-SHIWRBFI.cjs → chunk-KUG3P3GY.cjs} +6 -1
- package/dist/{chunk-T7HGXF7D.cjs → chunk-KXCPX3HE.cjs} +11 -7
- package/dist/{chunk-C5QHZ626.cjs → chunk-KXXZDS7C.cjs} +6 -1
- package/dist/{chunk-DUIP64BF.cjs → chunk-KYFTDHNN.cjs} +6 -1
- package/dist/{chunk-VXCFJWK5.cjs → chunk-L6CW5AWM.cjs} +6 -1
- package/dist/{chunk-XGPRM7OK.cjs → chunk-LEK3P2ZD.cjs} +16 -7
- package/dist/{chunk-HA7YRO53.cjs → chunk-LF7HAALM.cjs} +6 -1
- package/dist/{chunk-2KMIJDY6.cjs → chunk-LG62AYPQ.cjs} +6 -1
- package/dist/{chunk-SMUW7UST.mjs → chunk-LO5BNR6Y.mjs} +7 -2
- package/dist/{chunk-4A6A6P4T.mjs → chunk-LOQVWATF.mjs} +2 -2
- package/dist/{chunk-PWDBWXQI.cjs → chunk-LVYUTMW4.cjs} +6 -1
- package/dist/{chunk-I5KPOXUE.mjs → chunk-LWQ6IESX.mjs} +1 -1
- package/dist/{chunk-XRRHPBG2.cjs → chunk-M6W3AN57.cjs} +6 -1
- package/dist/{chunk-PZXYAWYG.cjs → chunk-M7RS7HSB.cjs} +13 -8
- package/dist/{chunk-UGWKNZ4U.cjs → chunk-MBDDLYT5.cjs} +25 -21
- package/dist/{chunk-CEVXKJKF.cjs → chunk-MMSCWTJT.cjs} +6 -1
- package/dist/{chunk-26ZTI2ZO.mjs → chunk-MRDI6MTL.mjs} +5 -5
- 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-EA5HVG45.cjs → chunk-NNHIV3O2.cjs} +9 -2
- package/dist/{chunk-SHDCKRP4.cjs → chunk-NQUZDXKJ.cjs} +7 -3
- package/dist/{chunk-EUZFBHPP.cjs → chunk-O7B6LJWE.cjs} +7 -3
- 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-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-BW563VZZ.mjs → chunk-P67RLOMO.mjs} +1 -1
- package/dist/{chunk-6FXBJPF5.cjs → chunk-PCF54MSR.cjs} +6 -1
- package/dist/{chunk-GVYZCJZH.cjs → chunk-PHYSFHJK.cjs} +6 -1
- package/dist/{chunk-4DCWVSL2.cjs → chunk-PHZ7MLRQ.cjs} +6 -1
- package/dist/{chunk-PCAEJNQF.cjs → chunk-PNMRXZS5.cjs} +13 -9
- package/dist/{chunk-HS4JPIGR.cjs → chunk-PRKFECGT.cjs} +7 -3
- package/dist/{chunk-RTAWQXME.cjs → chunk-PSALMEHJ.cjs} +239 -145
- package/dist/{chunk-YUCU6XB4.cjs → chunk-PYPHM7AS.cjs} +9 -4
- package/dist/{chunk-CBB7I6HW.cjs → chunk-QBCR2EHA.cjs} +9 -5
- package/dist/{chunk-H7OFZJCV.cjs → chunk-QBMMQS25.cjs} +14 -8
- package/dist/{chunk-Y2FEFQAY.cjs → chunk-QCVP22KW.cjs} +8 -5
- package/dist/{chunk-J3GFOQOL.cjs → chunk-QGJL7EPX.cjs} +13 -9
- package/dist/{chunk-2PE5STAR.cjs → chunk-QHHEL4ZO.cjs} +6 -2
- package/dist/{chunk-LTOT5KVJ.mjs → chunk-QKXQFBNL.mjs} +1 -1
- package/dist/{chunk-L6E5BSNU.cjs → chunk-QT7MJL5E.cjs} +7 -3
- package/dist/{chunk-ERMUL73L.cjs → chunk-QTGYT2DF.cjs} +6 -1
- package/dist/{chunk-WBTHHTBO.cjs → chunk-QW5I5D5T.cjs} +6 -1
- package/dist/{chunk-IIHZ2BEE.cjs → chunk-QZRFEHMS.cjs} +15 -11
- package/dist/{chunk-HXNLKCWH.cjs → chunk-QZVPBDF7.cjs} +6 -1
- package/dist/{chunk-JH4CDG4G.cjs → chunk-R6GOH5CH.cjs} +18 -14
- package/dist/{chunk-2BEGVSDF.cjs → chunk-RBDAW6IZ.cjs} +7 -3
- package/dist/{chunk-PLJMEUAN.cjs → chunk-RFKPIAOF.cjs} +9 -1
- package/dist/{chunk-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-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-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-HNB5JHBO.mjs → chunk-T4NOMZTS.mjs} +3 -3
- 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-4IE3YK7U.mjs → chunk-TQCDN4DV.mjs} +1 -1
- 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-M4YXD6MD.cjs → chunk-UBH2OARS.cjs} +678 -616
- 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-SPKZCFPH.mjs → chunk-V5F6HN7E.mjs} +4 -4
- package/dist/{chunk-I2RBHZF7.cjs → chunk-VB7P66Q4.cjs} +6 -1
- package/dist/{chunk-BIAGSYIZ.cjs → chunk-VD7ENQP2.cjs} +54 -47
- package/dist/{chunk-Q637AXGZ.mjs → chunk-VGX75645.mjs} +96 -16
- package/dist/{chunk-NLBHLPEO.cjs → chunk-VIDUNAQE.cjs} +6 -1
- package/dist/{chunk-MWAWMFG3.cjs → chunk-VMIR4SUL.cjs} +552 -527
- package/dist/{chunk-VM57CK74.cjs → chunk-VNWKJOJF.cjs} +6 -1
- package/dist/{chunk-RBSGFS5X.cjs → chunk-VQYGXWCS.cjs} +62 -54
- package/dist/{chunk-V5FEFFHV.mjs → chunk-VS4ABIJJ.mjs} +1 -1
- package/dist/{chunk-MPU5DOXX.cjs → chunk-VUCDMV3Q.cjs} +6 -1
- package/dist/{chunk-XOLYZZDX.mjs → chunk-VVIO7QGN.mjs} +93 -42
- 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-LQ3FISSD.mjs → chunk-WLOIUPV2.mjs} +53 -43
- package/dist/{chunk-JCYDWJVO.cjs → chunk-WZSLDPVZ.cjs} +13 -9
- package/dist/{chunk-O5YM6GU3.mjs → chunk-X2TC6PBK.mjs} +1 -1
- package/dist/{chunk-BSX5OGSD.cjs → chunk-XE3E4MER.cjs} +24 -20
- package/dist/{chunk-3BIASUGR.cjs → chunk-XEPUUTGC.cjs} +6 -1
- package/dist/{chunk-HQKCSJEH.cjs → chunk-XH4GQ7MT.cjs} +17 -10
- package/dist/{chunk-SIECKBNK.cjs → chunk-XJEOHDPN.cjs} +6 -1
- package/dist/{chunk-5AMH6AFA.cjs → chunk-XK7SRVHC.cjs} +15 -11
- package/dist/chunk-XPVS4HKU.cjs +16 -0
- package/dist/{chunk-WKVYF2B5.cjs → chunk-XSJYXUY6.cjs} +6 -1
- package/dist/{chunk-5DX3O6TT.cjs → chunk-XSLYRNNA.cjs} +8 -4
- package/dist/{chunk-UUQNJDGH.cjs → chunk-XTQPYWQW.cjs} +6 -1
- package/dist/{chunk-3HLQTOVU.cjs → chunk-XVD5Y6S4.cjs} +6 -1
- package/dist/{chunk-7Q2YWZF7.cjs → chunk-XXBWKAJF.cjs} +14 -10
- package/dist/{chunk-YDXLC4DW.cjs → chunk-XZ6L3FUU.cjs} +6 -1
- package/dist/{chunk-FZ7OUN5M.cjs → chunk-Y3HLU2XL.cjs} +6 -2
- package/dist/{chunk-I2BYNELA.cjs → chunk-Y6WRVFD6.cjs} +9 -5
- package/dist/{chunk-OOZEU5KK.cjs → chunk-YC3LKWJO.cjs} +6 -1
- package/dist/{chunk-SXXSQVKK.cjs → chunk-YCIFGYBY.cjs} +13 -8
- package/dist/{chunk-CYOTNHDF.cjs → chunk-YHALJBYT.cjs} +6 -2
- package/dist/{chunk-WOAXQ5MZ.cjs → chunk-YLEL4ZRQ.cjs} +18 -14
- package/dist/{chunk-WEGAVN37.cjs → chunk-YMJK6VWQ.cjs} +6 -1
- package/dist/{chunk-2HW5LWAH.cjs → chunk-YQ5NVEFS.cjs} +6 -1
- package/dist/{chunk-AQLHD6HZ.cjs → chunk-YQXLBYY2.cjs} +20 -11
- package/dist/{chunk-IBEHVSU4.cjs → chunk-YUV5XXDC.cjs} +6 -1
- package/dist/{chunk-PWMJBCAN.cjs → chunk-YV47TSSB.cjs} +7 -3
- package/dist/{chunk-X333W5KV.cjs → chunk-YZMSJRM5.cjs} +6 -1
- package/dist/{chunk-VFMHE5D3.cjs → chunk-Z23OCU33.cjs} +29 -25
- package/dist/{chunk-DBYNZIIQ.cjs → chunk-Z2JQR56W.cjs} +6 -1
- package/dist/{chunk-RK3YYUX6.cjs → chunk-ZKVA2TV6.cjs} +6 -1
- package/dist/{chunk-SAPG45RA.cjs → chunk-ZPZGC6OD.cjs} +31 -27
- package/dist/{chunk-DV52ZS53.cjs → chunk-ZRRNF26T.cjs} +6 -2
- package/dist/{chunk-PO5MXV5X.cjs → chunk-ZSSBEPN4.cjs} +6 -1
- package/dist/{cli-runtime.d-oUiNuspW.d.mts → cli-runtime.d-BGaFPum1.d.mts} +5 -5
- package/dist/{cli-runtime.d-Dbl-gIoz.d.ts → cli-runtime.d-Bvfxt4uo.d.ts} +5 -5
- package/dist/client/lifecycle.cjs +8 -3
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-DaUqOhZT.d.mts → client-component.d-BA6kXI5L.d.mts} +1 -1
- package/dist/{client-component.d-CT4q7tmy.d.ts → client-component.d-LSEmRhuI.d.ts} +1 -1
- package/dist/client-plugins.cjs +8 -3
- package/dist/{client-plugins.d-24qhjX8c.d.ts → client-plugins.d-CQ6AGHP0.d.ts} +14 -0
- package/dist/{client-plugins.d-BfGTqbAH.d.mts → client-plugins.d-CVUMc2ai.d.mts} +14 -0
- 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-OBQY3XOY.cjs} +72 -69
- package/dist/{devtools-DPYIYHTI.mjs → devtools-RYTO2V7G.mjs} +4 -4
- package/dist/{devtools-client-BKBCCORT.cjs → devtools-client-3K67NMWA.cjs} +7 -4
- package/dist/{devtools-client-L4MUWD6K.mjs → devtools-client-WAMA6Q77.mjs} +1 -1
- package/dist/{devtools-ui-C2EMF2SO.cjs → devtools-ui-TPBPQEEB.cjs} +4 -1
- package/dist/{devtools-ui-BOG33MT5.mjs → devtools-ui-UYEVDADD.mjs} +1 -1
- package/dist/docs.cjs +72 -72
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +5 -5
- package/dist/env-types.cjs +4 -4
- package/dist/env-types.mjs +1 -1
- package/dist/env.cjs +4 -4
- package/dist/env.mjs +1 -1
- package/dist/environment/vite.cjs +16 -16
- package/dist/environment/vite.mjs +3 -3
- package/dist/environment.cjs +3 -3
- package/dist/environment.mjs +1 -1
- package/dist/font.cjs +3 -3
- package/dist/font.mjs +1 -1
- package/dist/{handler.d-GfNuz57p.d.mts → handler.d-DLKZDAYR.d.mts} +1 -1
- package/dist/{handler.d-Oca5kNSz.d.ts → handler.d-nkrNn_0M.d.ts} +1 -1
- package/dist/headers.cjs +6 -6
- package/dist/{headers.d-C_lsQIWA.d.mts → headers.d-C3k520Fc.d.mts} +1 -1
- package/dist/{headers.d-b8gHJDvu.d.ts → headers.d-DVBrYnqP.d.ts} +1 -1
- package/dist/headers.mjs +1 -1
- package/dist/i18n/client.cjs +23 -20
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +12 -7
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +11 -11
- package/dist/i18n/server.mjs +1 -1
- package/dist/image/server.cjs +8 -8
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +21 -18
- package/dist/image/sharp.mjs +1 -1
- package/dist/image.cjs +7 -4
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +228 -216
- package/dist/{index.d-BLtjh1aS.d.mts → index.d-5PDB032w.d.mts} +1 -1
- package/dist/{index.d-Ckv6kHFm.d.ts → index.d-e5WhoB07.d.ts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +37 -37
- 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 +186 -181
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +31 -31
- package/dist/internal/cli-runtime.cjs +105 -100
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +13 -13
- package/dist/internal/client-error-overlay.cjs +12 -9
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +37 -26
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.cjs +4 -4
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/compression-runtime.mjs +1 -1
- package/dist/internal/config-runtime.cjs +85 -82
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +6 -6
- 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-GP57TBE2.cjs +21 -0
- package/dist/{layers-744BBUY5.mjs → layers-IMRXNZRB.mjs} +1 -1
- package/dist/{libsql-http-M6LMNXCN.cjs → libsql-http-5GYGFVGC.cjs} +94 -87
- package/dist/{libsql-http-2QD224YS.mjs → libsql-http-PBJXNEOX.mjs} +1 -1
- package/dist/manager-3DFQDKJ6.cjs +18 -0
- package/dist/{manager-7BNSJKME.mjs → manager-GZUTAN5Q.mjs} +2 -2
- package/dist/markdown.cjs +12 -12
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +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-COIrFH0i.d.mts} +1 -1
- package/dist/{mount.d-DEX8eref.d.ts → mount.d-Cbz8vsSZ.d.ts} +1 -1
- package/dist/{native-server-fn-handler-PYK65A46.mjs → native-server-fn-handler-IMLQMSIR.mjs} +1 -1
- package/dist/native-server-fn-handler-U7I6H6MM.cjs +30 -0
- package/dist/{native-specs-A7YOL463.mjs → native-specs-4DOPYSOJ.mjs} +1 -1
- package/dist/native-specs-IXHEIZCD.cjs +15 -0
- package/dist/{native-tree-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-Cgi28e5Q.d.ts → navigation-delegate.d-dlnYTX-Y.d.ts} +1 -1
- package/dist/{navigation-delegate.d-F83ugsZW.d.mts → navigation-delegate.d-yulG9Dp5.d.mts} +1 -1
- package/dist/navigation.cjs +26 -26
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +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 +175 -170
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +25 -25
- 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-BkVY4aFb.d.mts → render-plan.d-BW56oxMP.d.mts} +1 -1
- package/dist/{render-plan.d-DCF2GZdD.d.ts → render-plan.d-Cz7bQmcf.d.ts} +1 -1
- package/dist/renderer/none/server.cjs +4 -1
- package/dist/renderer/none/server.mjs +1 -1
- package/dist/renderer/react/client.cjs +4 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +14 -11
- package/dist/renderer/react/server.mjs +1 -1
- package/dist/renderer/react/vite.cjs +4 -1
- package/dist/renderer/react/vite.mjs +1 -1
- package/dist/renderer-client.cjs +67 -64
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +1 -1
- package/dist/renderer.cjs +11 -6
- package/dist/renderer.mjs +1 -1
- package/dist/request.cjs +9 -4
- package/dist/{request.d-C5o-4dU2.d.ts → request.d-BaFROByP.d.ts} +1 -1
- package/dist/{request.d-DMPB53-i.d.mts → request.d-BwgX-7Wi.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-DDvArvik.d.mts → route-rendering.d-BzeFPYGc.d.mts} +1 -1
- package/dist/{route-rendering.d-DfP6zRP7.d.ts → route-rendering.d-D4kUuncg.d.ts} +1 -1
- package/dist/router.cjs +5 -5
- package/dist/{router.d-s40h7aoS.d.ts → router.d-B9qJdgjt.d.ts} +1 -1
- package/dist/{router.d-1Skf2XCO.d.mts → router.d-D-p8WElf.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +16 -16
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-O2YMVHUF.mjs → rsc-pipeline-Y6D6KBES.mjs} +9 -9
- package/dist/rsc-pipeline-YHVEHWTU.cjs +91 -0
- package/dist/{runtime-K2X3IZAF.mjs → runtime-62ZIEV6U.mjs} +8 -8
- package/dist/{runtime-WOTVFYQY.cjs → runtime-LKEMFXHW.cjs} +129 -119
- package/dist/{runtime.d-Bykc5Qfg.d.mts → runtime.d-BUtDIrRJ.d.mts} +1 -1
- package/dist/{runtime.d-k-9kFUsM.d.ts → runtime.d-Du64AX3R.d.ts} +1 -1
- package/dist/safe-fetch.cjs +4 -4
- package/dist/safe-fetch.mjs +1 -1
- package/dist/{schema-dev-notice-EUPAUJVN.mjs → schema-dev-notice-EZAOFO7A.mjs} +1 -1
- package/dist/{schema-dev-notice-ZSCL47CT.cjs → schema-dev-notice-Y4J5KPEY.cjs} +16 -13
- package/dist/schema.cjs +4 -4
- package/dist/schema.mjs +1 -1
- package/dist/{search-client-GIXIEU75.mjs → search-client-HN3ZY6AK.mjs} +1 -1
- package/dist/search-client-Z7KDVD4C.cjs +15 -0
- package/dist/server-action-security.cjs +10 -10
- package/dist/server-action-security.mjs +1 -1
- package/dist/{server-components-status.d-D-HixBe0.d.mts → server-components-status.d-B0YP-m9A.d.mts} +1 -1
- package/dist/{server-components-status.d-DLNd1C5j.d.ts → server-components-status.d-CvFhb6-t.d.ts} +1 -1
- package/dist/server-fn-client.cjs +4 -4
- package/dist/server-fn-client.mjs +1 -1
- package/dist/server-fn.cjs +17 -17
- package/dist/server-fn.mjs +1 -1
- package/dist/server-plugins.cjs +21 -16
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server-plugins.mjs +1 -1
- package/dist/server-query-client.cjs +10 -10
- package/dist/server-query-client.mjs +1 -1
- package/dist/server-query.cjs +19 -19
- package/dist/server-query.mjs +1 -1
- package/dist/server.cjs +225 -216
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +28 -28
- package/dist/session-J7NTZI56.cjs +24 -0
- package/dist/{session-4IB34X35.mjs → session-ZFM3RDG2.mjs} +3 -3
- package/dist/{spa-router.d-DIlXwm00.d.mts → spa-router.d-CkR14oGH.d.mts} +2 -2
- package/dist/{spa-router.d-Dl-EJeJT.d.ts → spa-router.d-D4ye2WFk.d.ts} +2 -2
- package/dist/{ssg.d-bE-ylg0e.d.ts → ssg.d-BCJB_f7B.d.ts} +2 -2
- package/dist/{ssg.d-D2ZV0bhs.d.mts → ssg.d-DFs97VTY.d.mts} +2 -2
- package/dist/storage.cjs +4 -4
- package/dist/storage.mjs +2 -2
- package/dist/{store-core.d-BmdnMopD.d.ts → store-core.d-0W2YScl8.d.ts} +2 -2
- package/dist/{store-core.d-DPsCYzV7.d.mts → store-core.d-Vk5UDKeC.d.mts} +2 -2
- package/dist/testing.cjs +65 -62
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/theme/client.cjs +5 -5
- package/dist/theme/client.mjs +1 -1
- package/dist/theme/index.cjs +4 -4
- package/dist/theme/index.mjs +1 -1
- package/dist/theme/runtime.cjs +3 -3
- package/dist/theme/runtime.mjs +1 -1
- package/dist/theme/server.cjs +8 -8
- package/dist/theme/server.mjs +1 -1
- package/dist/{utils.d-BFZQcBZV.d.ts → utils.d-Ba3N28fk.d.ts} +1 -1
- package/dist/{utils.d-nM3OHKq5.d.mts → utils.d-Cloiko8d.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +168 -168
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +25 -25
- 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
|
@@ -2,41 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkGQQID5IBcjs = require('./chunk-GQQID5IB.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkY6WRVFD6cjs = require('./chunk-Y6WRVFD6.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk57OAZCWQcjs = require('./chunk-57OAZCWQ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkZSSBEPN4cjs = require('./chunk-ZSSBEPN4.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkOUOUPA37cjs = require('./chunk-OUOUPA37.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQT7MJL5Ecjs = require('./chunk-QT7MJL5E.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkG5KGLMPNcjs = require('./chunk-G5KGLMPN.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunk6NQ63L6Ncjs = require('./chunk-6NQ63L6N.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkXEPUUTGCcjs = require('./chunk-XEPUUTGC.cjs');
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
41
|
+
|
|
42
|
+
// src/integration-client.ts
|
|
43
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
38
44
|
|
|
39
45
|
// src/client-headers.ts
|
|
46
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
40
47
|
function resolveClientHeaders(source) {
|
|
41
48
|
const value = typeof source === "function" ? source() : source;
|
|
42
49
|
if (value && typeof value.then === "function") {
|
|
@@ -369,8 +376,8 @@ function createIntegrationObservers(operation, options, requestOptions) {
|
|
|
369
376
|
timestamp: Date.now()
|
|
370
377
|
};
|
|
371
378
|
let response;
|
|
372
|
-
|
|
373
|
-
|
|
379
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onRequest, [requestEvent]);
|
|
380
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([requestOptions, 'optionalAccess', _17 => _17.onRequest]), [requestEvent]);
|
|
374
381
|
return {
|
|
375
382
|
response(value) {
|
|
376
383
|
response = value;
|
|
@@ -386,18 +393,18 @@ function createIntegrationObservers(operation, options, requestOptions) {
|
|
|
386
393
|
ok: !result.error,
|
|
387
394
|
status: _optionalChain([response, 'optionalAccess', _18 => _18.status])
|
|
388
395
|
};
|
|
389
|
-
|
|
390
|
-
|
|
396
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onResponse, [data, result.error, event]);
|
|
397
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([requestOptions, 'optionalAccess', _19 => _19.onResponse]), [data, result.error, event]);
|
|
391
398
|
if (result.error) {
|
|
392
|
-
|
|
393
|
-
|
|
399
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onError, [result.error]);
|
|
400
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([requestOptions, 'optionalAccess', _20 => _20.onError]), [result.error]);
|
|
394
401
|
}
|
|
395
402
|
return result;
|
|
396
403
|
}
|
|
397
404
|
};
|
|
398
405
|
}
|
|
399
406
|
async function executeClientOperation(operation, input, options, requestOptions) {
|
|
400
|
-
const cancellation =
|
|
407
|
+
const cancellation = _chunk57OAZCWQcjs.createClientCancellation.call(void 0,
|
|
401
408
|
_optionalChain([requestOptions, 'optionalAccess', _21 => _21.signal]),
|
|
402
409
|
_nullishCoalesce(_optionalChain([requestOptions, 'optionalAccess', _22 => _22.timeoutMs]), () => ( options.timeoutMs))
|
|
403
410
|
);
|
|
@@ -413,7 +420,7 @@ async function executeClientOperation(operation, input, options, requestOptions)
|
|
|
413
420
|
};
|
|
414
421
|
}
|
|
415
422
|
const baseURL = options.baseURL || (typeof window !== "undefined" ? window.location.origin : "http://localhost:3000");
|
|
416
|
-
const url =
|
|
423
|
+
const url = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, operation.path, baseURL);
|
|
417
424
|
appendQuery(url, input.query);
|
|
418
425
|
const resolved = resolveClientHeaders(options.headers);
|
|
419
426
|
const headers = resolved instanceof Headers ? resolved : await resolved;
|
|
@@ -468,7 +475,7 @@ async function executeClientOperation(operation, input, options, requestOptions)
|
|
|
468
475
|
}
|
|
469
476
|
async function executeServerOperation(operation, input, options, requestOptions, integrationKey, source) {
|
|
470
477
|
const currentRequest = _optionalChain([requestOptions, 'optionalAccess', _26 => _26.request]) instanceof Request ? requestOptions.request : options.request instanceof Request ? options.request : resolveCurrentRequestLocal();
|
|
471
|
-
const cancellation =
|
|
478
|
+
const cancellation = _chunk57OAZCWQcjs.createClientCancellation.call(void 0,
|
|
472
479
|
_optionalChain([requestOptions, 'optionalAccess', _27 => _27.signal]),
|
|
473
480
|
_nullishCoalesce(_optionalChain([requestOptions, 'optionalAccess', _28 => _28.timeoutMs]), () => ( options.timeoutMs)),
|
|
474
481
|
_optionalChain([currentRequest, 'optionalAccess', _29 => _29.signal])
|
|
@@ -546,7 +553,7 @@ async function executeServerOperation(operation, input, options, requestOptions,
|
|
|
546
553
|
}
|
|
547
554
|
appendIntegrationClientDataHeader(headers, data);
|
|
548
555
|
const body = createOperationBody(operation, input.body, headers);
|
|
549
|
-
const httpURL =
|
|
556
|
+
const httpURL = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, operation.path, baseURL, origin);
|
|
550
557
|
appendQuery(httpURL, input.query);
|
|
551
558
|
const response = await (_nullishCoalesce(options.fetch, () => ( fetch)))(httpURL.toString(), {
|
|
552
559
|
method: operation.method,
|
|
@@ -894,7 +901,11 @@ function createServerNamespaceProxy(integrationKey, source, api, options) {
|
|
|
894
901
|
});
|
|
895
902
|
}
|
|
896
903
|
|
|
904
|
+
// src/api/client.ts
|
|
905
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
906
|
+
|
|
897
907
|
// src/api/client-routes.ts
|
|
908
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
898
909
|
var ClientRouteManifest = class {
|
|
899
910
|
constructor(routes) {
|
|
900
911
|
this.candidates = /* @__PURE__ */ new Map();
|
|
@@ -919,7 +930,7 @@ var ClientRouteManifest = class {
|
|
|
919
930
|
let parent = "";
|
|
920
931
|
for (let i = 0; i < segments.length; i++) {
|
|
921
932
|
const segment = segments[i];
|
|
922
|
-
if (i > 0 &&
|
|
933
|
+
if (i > 0 && _chunkQT7MJL5Ecjs.parseDynamicSegment.call(void 0, segment)) {
|
|
923
934
|
let next = this.nextSegments.get(parent);
|
|
924
935
|
if (!next) this.nextSegments.set(parent, next = /* @__PURE__ */ new Set());
|
|
925
936
|
next.add(segment);
|
|
@@ -934,7 +945,7 @@ var ClientRouteManifest = class {
|
|
|
934
945
|
const normalized = path.replace(/\/$/, "");
|
|
935
946
|
const candidates = new Set(
|
|
936
947
|
[..._nullishCoalesce(this.nextSegments.get(normalized), () => ( []))].filter((segment2) => {
|
|
937
|
-
const dynamic2 =
|
|
948
|
+
const dynamic2 = _chunkQT7MJL5Ecjs.parseDynamicSegment.call(void 0, segment2);
|
|
938
949
|
return dynamic2 && Object.keys(params).every((key) => key === dynamic2.name) && (Object.prototype.hasOwnProperty.call(params, dynamic2.name) || dynamic2.optional);
|
|
939
950
|
})
|
|
940
951
|
);
|
|
@@ -943,7 +954,7 @@ var ClientRouteManifest = class {
|
|
|
943
954
|
`Cannot bind route params at ${path}: supply exactly the next dynamic segment's parameter.`
|
|
944
955
|
);
|
|
945
956
|
const segment = [...candidates][0];
|
|
946
|
-
const dynamic =
|
|
957
|
+
const dynamic = _chunkQT7MJL5Ecjs.parseDynamicSegment.call(void 0, segment);
|
|
947
958
|
encodeParameter(dynamic, params[dynamic.name]);
|
|
948
959
|
return {
|
|
949
960
|
segment,
|
|
@@ -964,10 +975,10 @@ var ClientRouteManifest = class {
|
|
|
964
975
|
if (route2.path === normalized) return true;
|
|
965
976
|
if (!route2.path.startsWith(`${normalized}/`)) return false;
|
|
966
977
|
const tail = route2.path.slice(normalized.length + 1);
|
|
967
|
-
return !tail.includes("/") && Boolean(
|
|
978
|
+
return !tail.includes("/") && Boolean(_chunkQT7MJL5Ecjs.parseDynamicSegment.call(void 0, tail)) && _optionalChain([input, 'optionalAccess', _41 => _41.params]) !== void 0;
|
|
968
979
|
});
|
|
969
980
|
const selected = candidates.filter((route2) => {
|
|
970
|
-
const unbound = route2.path.split("/").map(
|
|
981
|
+
const unbound = route2.path.split("/").map(_chunkQT7MJL5Ecjs.parseDynamicSegment).filter((part) => part && !Object.prototype.hasOwnProperty.call(bound, part.name));
|
|
971
982
|
return Object.keys(supplied).every((key) => unbound.some((part) => part.name === key)) && unbound.every(
|
|
972
983
|
(part) => part.optional || Object.prototype.hasOwnProperty.call(supplied, part.name)
|
|
973
984
|
);
|
|
@@ -982,11 +993,11 @@ var ClientRouteManifest = class {
|
|
|
982
993
|
}
|
|
983
994
|
const params = { ...bound, ...supplied };
|
|
984
995
|
const resolved = route.path.split("/").map((segment) => {
|
|
985
|
-
const dynamic =
|
|
996
|
+
const dynamic = _chunkQT7MJL5Ecjs.parseDynamicSegment.call(void 0, segment);
|
|
986
997
|
return dynamic ? encodeParameter(dynamic, params[dynamic.name]) : segment;
|
|
987
998
|
}).filter(Boolean).join("/");
|
|
988
999
|
const pathname = `/${resolved}`;
|
|
989
|
-
const winner =
|
|
1000
|
+
const winner = _chunkQT7MJL5Ecjs.matchAPIRoute.call(void 0, this.routes, pathname);
|
|
990
1001
|
if (_optionalChain([winner, 'optionalAccess', _42 => _42.route, 'access', _43 => _43.path]) !== route.path) {
|
|
991
1002
|
throw new TypeError(
|
|
992
1003
|
`Route ${route.path} resolves to ${pathname}, which is shadowed by ${_nullishCoalesce(_optionalChain([winner, 'optionalAccess', _44 => _44.route, 'access', _45 => _45.path]), () => ( "another route"))}.`
|
|
@@ -1055,8 +1066,8 @@ function createApiClients(options = {}) {
|
|
|
1055
1066
|
"api is server-only. Use apiClient from createApiClients() in the browser."
|
|
1056
1067
|
);
|
|
1057
1068
|
}
|
|
1058
|
-
const currentRequest =
|
|
1059
|
-
const runtime =
|
|
1069
|
+
const currentRequest = _chunkXEPUUTGCcjs._resolveCurrentRequest.call(void 0, );
|
|
1070
|
+
const runtime = _chunkZSSBEPN4cjs.resolveAPIRequestRuntime.call(void 0, );
|
|
1060
1071
|
if (!currentRequest || !runtime) {
|
|
1061
1072
|
throw new Error(
|
|
1062
1073
|
"api requires an active Farm server request. Call it from a server page, query, action, or API handler; use apiClient with an absolute baseURL for standalone HTTP calls."
|
|
@@ -1084,7 +1095,7 @@ function createApiClients(options = {}) {
|
|
|
1084
1095
|
{
|
|
1085
1096
|
headers,
|
|
1086
1097
|
signal: currentRequest.signal,
|
|
1087
|
-
cache: new (0,
|
|
1098
|
+
cache: new (0, _chunkY6WRVFD6cjs.FarmClientDataCache)({ subscribeToInvalidation: false }),
|
|
1088
1099
|
routeMeta,
|
|
1089
1100
|
fetch: (url, init) => {
|
|
1090
1101
|
if (new URL(url).origin !== origin) {
|
|
@@ -1129,7 +1140,7 @@ function createAPIClient(options = {}) {
|
|
|
1129
1140
|
}
|
|
1130
1141
|
function createAPIClientRuntime(options = {}, transport) {
|
|
1131
1142
|
_nullishCoalesce(options, () => ( (options = {})));
|
|
1132
|
-
const baseURL = options.baseURL ||
|
|
1143
|
+
const baseURL = options.baseURL || _chunkG5KGLMPNcjs.getFarmAPIBaseURL.call(void 0, );
|
|
1133
1144
|
const httpFetch = options.fetch;
|
|
1134
1145
|
const integrationOptions = options.integrations === false ? false : {
|
|
1135
1146
|
baseURL: options.baseURL,
|
|
@@ -1145,14 +1156,14 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1145
1156
|
const rootAliases = integrationOptions === false ? void 0 : {
|
|
1146
1157
|
integrations: integrationsClient(integrationOptions)
|
|
1147
1158
|
};
|
|
1148
|
-
const sharedCacheState = _nullishCoalesce(_optionalChain([transport, 'optionalAccess', _46 => _46.cache]), () => (
|
|
1159
|
+
const sharedCacheState = _nullishCoalesce(_optionalChain([transport, 'optionalAccess', _46 => _46.cache]), () => ( _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, )));
|
|
1149
1160
|
const localCaches = transport ? /* @__PURE__ */ new Set([sharedCacheState]) : void 0;
|
|
1150
1161
|
const sharedInflightState = /* @__PURE__ */ new Map();
|
|
1151
1162
|
let scopedRequestState;
|
|
1152
1163
|
const routeMeta = _nullishCoalesce(_optionalChain([transport, 'optionalAccess', _47 => _47.routeMeta]), () => ( /* @__PURE__ */ new WeakMap()));
|
|
1153
1164
|
let requestCounter = 0;
|
|
1154
1165
|
const fetchClient = async (path, requestOptions, defaultHeaders, cancellation) => {
|
|
1155
|
-
const url =
|
|
1166
|
+
const url = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, path, baseURL);
|
|
1156
1167
|
const method = String(requestOptions.method || "GET").toUpperCase();
|
|
1157
1168
|
if (requestOptions.query) {
|
|
1158
1169
|
appendAPIQuery(url.searchParams, requestOptions.query);
|
|
@@ -1180,15 +1191,15 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1180
1191
|
cancellation.check();
|
|
1181
1192
|
const response = await (_nullishCoalesce(_nullishCoalesce(_optionalChain([transport, 'optionalAccess', _48 => _48.fetch]), () => ( httpFetch)), () => ( fetch)))(url.toString(), fetchOptions);
|
|
1182
1193
|
cancellation.check();
|
|
1183
|
-
const invalidations =
|
|
1184
|
-
_optionalChain([response, 'access', _49 => _49.headers, 'optionalAccess', _50 => _50.get, 'optionalCall', _51 => _51(
|
|
1194
|
+
const invalidations = _chunk6NQ63L6Ncjs.decodeFarmCacheInvalidations.call(void 0,
|
|
1195
|
+
_optionalChain([response, 'access', _49 => _49.headers, 'optionalAccess', _50 => _50.get, 'optionalCall', _51 => _51(_chunk6NQ63L6Ncjs.FARM_CACHE_INVALIDATION_HEADER)])
|
|
1185
1196
|
);
|
|
1186
1197
|
if (transport) {
|
|
1187
1198
|
for (const cache of localCaches) {
|
|
1188
1199
|
for (const key of invalidations) cache.invalidate(key);
|
|
1189
1200
|
}
|
|
1190
1201
|
} else {
|
|
1191
|
-
|
|
1202
|
+
_chunk6NQ63L6Ncjs.applyFarmCacheInvalidations.call(void 0, invalidations);
|
|
1192
1203
|
}
|
|
1193
1204
|
let data;
|
|
1194
1205
|
try {
|
|
@@ -1202,11 +1213,11 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1202
1213
|
return { response, data };
|
|
1203
1214
|
};
|
|
1204
1215
|
const request = async (path, method, input = {}, clientOptions) => {
|
|
1205
|
-
const maxRetries =
|
|
1216
|
+
const maxRetries = _chunkGQQID5IBcjs.resolveClientRetryCount.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _52 => _52.retry, 'optionalAccess', _53 => _53.count]));
|
|
1206
1217
|
if (typeof _optionalChain([clientOptions, 'optionalAccess', _54 => _54.retry, 'optionalAccess', _55 => _55.delay]) !== "function") {
|
|
1207
|
-
|
|
1218
|
+
_chunkGQQID5IBcjs.resolveClientRetryDelay.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _56 => _56.retry, 'optionalAccess', _57 => _57.delay]));
|
|
1208
1219
|
}
|
|
1209
|
-
const cancellation =
|
|
1220
|
+
const cancellation = _chunk57OAZCWQcjs.createClientCancellation.call(void 0,
|
|
1210
1221
|
_optionalChain([clientOptions, 'optionalAccess', _58 => _58.signal]),
|
|
1211
1222
|
_nullishCoalesce(_optionalChain([clientOptions, 'optionalAccess', _59 => _59.timeoutMs]), () => ( options.timeoutMs)),
|
|
1212
1223
|
_optionalChain([transport, 'optionalAccess', _60 => _60.signal])
|
|
@@ -1243,12 +1254,12 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1243
1254
|
...clientOptions.cache
|
|
1244
1255
|
} : void 0;
|
|
1245
1256
|
const configuredCacheKey = _nullishCoalesce(_optionalChain([clientOptions, 'optionalAccess', _65 => _65.key]), () => ( _optionalChain([cacheOptions, 'optionalAccess', _66 => _66.key])));
|
|
1246
|
-
const cacheKey =
|
|
1257
|
+
const cacheKey = _chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0,
|
|
1247
1258
|
_nullishCoalesce(configuredCacheKey, () => ( buildCacheKey(methodUpper, path, input, baseURL, defaultHeaders)))
|
|
1248
1259
|
);
|
|
1249
1260
|
const now = Date.now();
|
|
1250
1261
|
const emitStatus = (phase, payload) => {
|
|
1251
|
-
|
|
1262
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1252
1263
|
_optionalChain([clientOptions, 'optionalAccess', _67 => _67.onStatus]),
|
|
1253
1264
|
[
|
|
1254
1265
|
{
|
|
@@ -1294,7 +1305,7 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1294
1305
|
}
|
|
1295
1306
|
_nullishCoalesce(scopedRequestState, () => ( (scopedRequestState = {
|
|
1296
1307
|
context: requestCacheContext,
|
|
1297
|
-
cache: new (0,
|
|
1308
|
+
cache: new (0, _chunkY6WRVFD6cjs.FarmClientDataCache)({ subscribeToInvalidation: !transport }),
|
|
1298
1309
|
inflight: /* @__PURE__ */ new Map(),
|
|
1299
1310
|
retired: false
|
|
1300
1311
|
})));
|
|
@@ -1397,14 +1408,14 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1397
1408
|
const result2 = await inflight.promise;
|
|
1398
1409
|
if (result2.error) {
|
|
1399
1410
|
emitStatus("error", { error: result2.error, isBackground: _optionalChain([opts, 'optionalAccess', _96 => _96.isBackground]) });
|
|
1400
|
-
|
|
1411
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onError, [result2.error]);
|
|
1401
1412
|
if (_optionalChain([opts, 'optionalAccess', _97 => _97.callCallbacks]) !== false) {
|
|
1402
|
-
|
|
1413
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _98 => _98.onError]), [result2.error], "API client onError");
|
|
1403
1414
|
}
|
|
1404
1415
|
} else {
|
|
1405
1416
|
emitStatus("success", { data: result2.data, isBackground: _optionalChain([opts, 'optionalAccess', _99 => _99.isBackground]) });
|
|
1406
1417
|
if (_optionalChain([opts, 'optionalAccess', _100 => _100.callCallbacks]) !== false) {
|
|
1407
|
-
|
|
1418
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1408
1419
|
_optionalChain([clientOptions, 'optionalAccess', _101 => _101.onSuccess]),
|
|
1409
1420
|
[result2.data],
|
|
1410
1421
|
"API client onSuccess"
|
|
@@ -1439,8 +1450,8 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1439
1450
|
attempt,
|
|
1440
1451
|
timestamp: Date.now()
|
|
1441
1452
|
};
|
|
1442
|
-
|
|
1443
|
-
|
|
1453
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onRequest, [requestEvent]);
|
|
1454
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1444
1455
|
_optionalChain([clientOptions, 'optionalAccess', _107 => _107.onRequest]),
|
|
1445
1456
|
[requestEvent],
|
|
1446
1457
|
"API client onRequest"
|
|
@@ -1474,7 +1485,7 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1474
1485
|
ok: response.ok,
|
|
1475
1486
|
status: response.status
|
|
1476
1487
|
};
|
|
1477
|
-
|
|
1488
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onResponse, [
|
|
1478
1489
|
response.ok ? data : void 0,
|
|
1479
1490
|
error,
|
|
1480
1491
|
responseEvent
|
|
@@ -1509,14 +1520,14 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1509
1520
|
error,
|
|
1510
1521
|
ok: false
|
|
1511
1522
|
};
|
|
1512
|
-
|
|
1523
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onResponse, [void 0, error, responseEvent]);
|
|
1513
1524
|
notifyResponseObserver(_optionalChain([clientOptions, 'optionalAccess', _109 => _109.onResponse]), void 0, error, responseEvent);
|
|
1514
1525
|
if (attempt >= maxRetries || requestContextError || _optionalChain([cancellation, 'access', _110 => _110.signal, 'optionalAccess', _111 => _111.aborted]) || !shouldRetryFailure({ attempt, method: methodUpper, error })) {
|
|
1515
1526
|
return { data: void 0, error, key: cacheKey };
|
|
1516
1527
|
}
|
|
1517
1528
|
}
|
|
1518
1529
|
attempt += 1;
|
|
1519
|
-
const delay =
|
|
1530
|
+
const delay = _chunkGQQID5IBcjs.resolveClientRetryDelay.call(void 0,
|
|
1520
1531
|
typeof _optionalChain([clientOptions, 'optionalAccess', _112 => _112.retry, 'optionalAccess', _113 => _113.delay]) === "function" ? clientOptions.retry.delay(attempt) : _optionalChain([clientOptions, 'optionalAccess', _114 => _114.retry, 'optionalAccess', _115 => _115.delay])
|
|
1521
1532
|
);
|
|
1522
1533
|
if (delay > 0) {
|
|
@@ -1536,7 +1547,7 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1536
1547
|
inflightState.set(cacheKey, inflightEntry);
|
|
1537
1548
|
try {
|
|
1538
1549
|
const result2 = await promise;
|
|
1539
|
-
if (inflightState.get(cacheKey) === inflightEntry && _optionalChain([readOwners, 'optionalAccess', _116 => _116.get, 'call', _117 => _117(resolvedCacheKey)]) === readOwner && !invalidatedDuringRequest && !result2.error && isCacheEnabled && !
|
|
1550
|
+
if (inflightState.get(cacheKey) === inflightEntry && _optionalChain([readOwners, 'optionalAccess', _116 => _116.get, 'call', _117 => _117(resolvedCacheKey)]) === readOwner && !invalidatedDuringRequest && !result2.error && isCacheEnabled && !_chunkOUOUPA37cjs.isFarmAPIStream.call(void 0, result2.data)) {
|
|
1540
1551
|
const updatedAt = Date.now();
|
|
1541
1552
|
const cached = {
|
|
1542
1553
|
data: result2.data,
|
|
@@ -1560,14 +1571,14 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1560
1571
|
}
|
|
1561
1572
|
if (result2.error) {
|
|
1562
1573
|
emitStatus("error", { error: result2.error, isBackground: _optionalChain([opts, 'optionalAccess', _120 => _120.isBackground]) });
|
|
1563
|
-
|
|
1574
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, options.onError, [result2.error]);
|
|
1564
1575
|
if (_optionalChain([opts, 'optionalAccess', _121 => _121.callCallbacks]) !== false) {
|
|
1565
|
-
|
|
1576
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _122 => _122.onError]), [result2.error], "API client onError");
|
|
1566
1577
|
}
|
|
1567
1578
|
} else {
|
|
1568
1579
|
emitStatus("success", { data: result2.data, isBackground: _optionalChain([opts, 'optionalAccess', _123 => _123.isBackground]) });
|
|
1569
1580
|
if (_optionalChain([opts, 'optionalAccess', _124 => _124.callCallbacks]) !== false) {
|
|
1570
|
-
|
|
1581
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1571
1582
|
_optionalChain([clientOptions, 'optionalAccess', _125 => _125.onSuccess]),
|
|
1572
1583
|
[result2.data],
|
|
1573
1584
|
"API client onSuccess"
|
|
@@ -1634,8 +1645,8 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1634
1645
|
if (isCacheEnabled && !requestContextError && !_optionalChain([cancellation, 'access', _133 => _133.signal, 'optionalAccess', _134 => _134.aborted])) {
|
|
1635
1646
|
if (entry && !isStale && policy !== "network-only") {
|
|
1636
1647
|
emitStatus("success", { data: entry.data });
|
|
1637
|
-
|
|
1638
|
-
|
|
1648
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _135 => _135.onSuccess]), [entry.data], "API client onSuccess");
|
|
1649
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1639
1650
|
_optionalChain([clientOptions, 'optionalAccess', _136 => _136.onSettled]),
|
|
1640
1651
|
[entry.data, null],
|
|
1641
1652
|
"API client onSettled"
|
|
@@ -1644,8 +1655,8 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1644
1655
|
}
|
|
1645
1656
|
if (entry && isStale && policy === "stale-while-revalidate") {
|
|
1646
1657
|
emitStatus("success", { data: entry.data });
|
|
1647
|
-
|
|
1648
|
-
|
|
1658
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, _optionalChain([clientOptions, 'optionalAccess', _137 => _137.onSuccess]), [entry.data], "API client onSuccess");
|
|
1659
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1649
1660
|
_optionalChain([clientOptions, 'optionalAccess', _138 => _138.onSettled]),
|
|
1650
1661
|
[entry.data, null],
|
|
1651
1662
|
"API client onSettled"
|
|
@@ -1666,7 +1677,7 @@ function createAPIClientRuntime(options = {}, transport) {
|
|
|
1666
1677
|
settleOptimisticUpdates(cacheState, optimisticState, optimisticSnapshots, "commit");
|
|
1667
1678
|
await invalidateTargets();
|
|
1668
1679
|
}
|
|
1669
|
-
|
|
1680
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0,
|
|
1670
1681
|
_optionalChain([clientOptions, 'optionalAccess', _141 => _141.onSettled]),
|
|
1671
1682
|
[result.data, result.error],
|
|
1672
1683
|
"API client onSettled"
|
|
@@ -1695,8 +1706,8 @@ async function readAPIResponseData(response, method) {
|
|
|
1695
1706
|
return readResponseJSON(response);
|
|
1696
1707
|
}
|
|
1697
1708
|
if (response.body === null) return void 0;
|
|
1698
|
-
if (
|
|
1699
|
-
return
|
|
1709
|
+
if (_chunkOUOUPA37cjs.isJSONStreamResponse.call(void 0, response)) {
|
|
1710
|
+
return _chunkOUOUPA37cjs.readJSONStream.call(void 0, response);
|
|
1700
1711
|
}
|
|
1701
1712
|
const contentType = _optionalChain([response, 'access', _144 => _144.headers, 'access', _145 => _145.get, 'call', _146 => _146("content-type"), 'optionalAccess', _147 => _147.split, 'call', _148 => _148(";", 1), 'access', _149 => _149[0], 'optionalAccess', _150 => _150.trim, 'call', _151 => _151(), 'access', _152 => _152.toLowerCase, 'call', _153 => _153()]);
|
|
1702
1713
|
if (typeof response.arrayBuffer === "function") {
|
|
@@ -1779,7 +1790,7 @@ function createNestedProxy(path, client, routeMeta, baseURL, sameOrigin, rootAli
|
|
|
1779
1790
|
} catch (e3) {
|
|
1780
1791
|
return null;
|
|
1781
1792
|
}
|
|
1782
|
-
const requestURL =
|
|
1793
|
+
const requestURL = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, metadata.routePath, baseURL);
|
|
1783
1794
|
return Object.freeze({
|
|
1784
1795
|
path: `${requestURL.pathname}${requestURL.search}${requestURL.hash}`,
|
|
1785
1796
|
method: metadata.method,
|
|
@@ -1873,7 +1884,7 @@ function createCacheRefetch(request, path, method, input, key, cache, options, o
|
|
|
1873
1884
|
};
|
|
1874
1885
|
return () => {
|
|
1875
1886
|
void request(path, method, input, readOptions).catch((error) => {
|
|
1876
|
-
|
|
1887
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, onError, [normalizeError(error)]);
|
|
1877
1888
|
});
|
|
1878
1889
|
};
|
|
1879
1890
|
}
|
|
@@ -1960,14 +1971,14 @@ function settleOptimisticUpdates(cacheState, optimisticState, snapshots, outcome
|
|
|
1960
1971
|
return settledKeys;
|
|
1961
1972
|
}
|
|
1962
1973
|
function applyServerFnOptimisticUpdates(updates, now = Date.now()) {
|
|
1963
|
-
const cacheState =
|
|
1974
|
+
const cacheState = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
1964
1975
|
const optimisticState = getOptimisticState(cacheState);
|
|
1965
1976
|
const snapshots = /* @__PURE__ */ new Map();
|
|
1966
1977
|
for (const update of updates) {
|
|
1967
1978
|
if (update.length !== 2) continue;
|
|
1968
1979
|
const [target, updater] = update;
|
|
1969
1980
|
if (typeof updater !== "function") continue;
|
|
1970
|
-
const targetKey = typeof target === "string" || Array.isArray(target) ?
|
|
1981
|
+
const targetKey = typeof target === "string" || Array.isArray(target) ? _chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0, target) : null;
|
|
1971
1982
|
if (!targetKey) continue;
|
|
1972
1983
|
const targetEntry = getValidCacheEntry(cacheState, targetKey, now);
|
|
1973
1984
|
const currentEntry = cacheState.get(targetKey);
|
|
@@ -2016,7 +2027,7 @@ function applyServerFnOptimisticUpdates(updates, now = Date.now()) {
|
|
|
2016
2027
|
}
|
|
2017
2028
|
function settleServerFnOptimisticUpdates(snapshots, outcome) {
|
|
2018
2029
|
if (snapshots.length === 0) return;
|
|
2019
|
-
const cacheState =
|
|
2030
|
+
const cacheState = _chunkY6WRVFD6cjs.getFarmClientDataCache.call(void 0, );
|
|
2020
2031
|
settleOptimisticUpdates(cacheState, getOptimisticState(cacheState), snapshots, outcome);
|
|
2021
2032
|
}
|
|
2022
2033
|
function resolveServerFnInvalidateTargets(invalidate) {
|
|
@@ -2025,9 +2036,9 @@ function resolveServerFnInvalidateTargets(invalidate) {
|
|
|
2025
2036
|
for (const target of targets) {
|
|
2026
2037
|
if (typeof target === "string" || Array.isArray(target)) {
|
|
2027
2038
|
if (Array.isArray(target) && typeof target[0] === "function") continue;
|
|
2028
|
-
keys.push(
|
|
2039
|
+
keys.push(_chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0, target));
|
|
2029
2040
|
} else if (target && typeof target === "object" && "key" in target) {
|
|
2030
|
-
keys.push(
|
|
2041
|
+
keys.push(_chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0, target.key));
|
|
2031
2042
|
}
|
|
2032
2043
|
}
|
|
2033
2044
|
return keys;
|
|
@@ -2041,12 +2052,12 @@ function buildCacheKey(method, path, input, baseURL, defaultHeaders) {
|
|
|
2041
2052
|
contentEncoding: _nullishCoalesce(getHeader(input.headers, "content-encoding"), () => ( getHeader(defaultHeaders, "content-encoding")))
|
|
2042
2053
|
} : {}
|
|
2043
2054
|
} : input;
|
|
2044
|
-
const url =
|
|
2055
|
+
const url = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, path, baseURL);
|
|
2045
2056
|
return `${method}:${url.origin}${url.pathname}:${stableStringify(_nullishCoalesce(keyInput, () => ( {})))}`;
|
|
2046
2057
|
}
|
|
2047
2058
|
function isSameOriginAPIBaseURL(baseURL) {
|
|
2048
2059
|
if (typeof window === "undefined" || !window.location) return baseURL.startsWith("/");
|
|
2049
|
-
return
|
|
2060
|
+
return _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL.call(void 0, "/api", baseURL).origin === window.location.origin;
|
|
2050
2061
|
}
|
|
2051
2062
|
function stableStringify(value) {
|
|
2052
2063
|
if (value === null || value === void 0) return String(value);
|
|
@@ -2123,9 +2134,9 @@ function resolveTargetKey(routeMeta, target, input, baseURL = "http://localhost:
|
|
|
2123
2134
|
if (typeof route === "function") {
|
|
2124
2135
|
return resolveTargetKey(routeMeta, route, routeInput, baseURL, defaultHeaders, localBaseURL);
|
|
2125
2136
|
}
|
|
2126
|
-
return
|
|
2137
|
+
return _chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0, target);
|
|
2127
2138
|
}
|
|
2128
|
-
if ("key" in target) return
|
|
2139
|
+
if ("key" in target) return _chunkY6WRVFD6cjs.normalizeFarmClientCacheKey.call(void 0, target.key);
|
|
2129
2140
|
if ("path" in target) {
|
|
2130
2141
|
const method = _nullishCoalesce(target.method, () => ( "GET"));
|
|
2131
2142
|
return buildCacheKey(method, target.path, _nullishCoalesce(target.input, () => ( {})), baseURL, defaultHeaders);
|
|
@@ -2161,7 +2172,7 @@ function normalizeError(error) {
|
|
|
2161
2172
|
return normalized;
|
|
2162
2173
|
}
|
|
2163
2174
|
function notifyResponseObserver(observer, data, error, event) {
|
|
2164
|
-
|
|
2175
|
+
_chunkGQQID5IBcjs.notifyClientObserver.call(void 0, observer, [data, error, event], "API client onResponse");
|
|
2165
2176
|
}
|
|
2166
2177
|
function isFormData(value) {
|
|
2167
2178
|
return typeof value === "object" && value !== null && (typeof FormData !== "undefined" && value instanceof FormData || Object.prototype.toString.call(value) === "[object FormData]" && typeof value.entries === "function");
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/api/transport.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function multipart(schema) {
|
|
3
8
|
if (!Object.isExtensible(schema) && !isMultipartSchema(schema)) {
|
|
4
9
|
throw new TypeError("multipart() requires an extensible schema object");
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/client/navigation-url.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var FARM_NAVIGATION_PROTOCOLS = /* @__PURE__ */ new Set(["http:", "https:", "mailto:", "tel:"]);
|
|
3
8
|
function isFarmBlockedNavigationURL(url) {
|
|
4
9
|
if (FARM_NAVIGATION_PROTOCOLS.has(url.protocol)) return false;
|
|
@@ -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/client/action-reference.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var ACTION_IDS_KEY = /* @__PURE__ */ Symbol.for("farm.form-actions.ids");
|
|
3
8
|
function getFarmActionId(value) {
|
|
4
9
|
if (typeof value !== "function") return void 0;
|
|
@@ -7,6 +12,7 @@ function getFarmActionId(value) {
|
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
// src/client/client-reference.ts
|
|
15
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
10
16
|
var CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("farm.isolated-hydration.client-reference");
|
|
11
17
|
function markFarmClientReference(boundary, reference) {
|
|
12
18
|
Object.defineProperty(boundary, CLIENT_REFERENCE, { value: reference });
|
|
@@ -1,4 +1,9 @@
|
|
|
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; } }
|
|
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; } }
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/platform-blocks.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var _fs = require('fs');
|
|
3
8
|
var _path = require('path'); var path = _interopRequireWildcard(_path);
|
|
4
9
|
function isPlainObject(value) {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVZ2P6GRCcjs = require('./chunk-VZ2P6GRC.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/docs/adapter-client.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
10
|
function getFarmDocsAdapterConfigModule(docs) {
|
|
7
|
-
if (!_optionalChain([docs, 'optionalAccess', _ => _.enabled]) || !
|
|
11
|
+
if (!_optionalChain([docs, 'optionalAccess', _ => _.enabled]) || !_chunkVZ2P6GRCcjs.getFarmDocsAdapterUIModule.call(void 0, docs.adapter) || !docs.configPath) {
|
|
8
12
|
return void 0;
|
|
9
13
|
}
|
|
10
14
|
return docs.configPath.endsWith(".json") ? void 0 : docs.configPath.replace(/\\/g, "/");
|
|
@@ -44,6 +48,7 @@ async function hydrateFarmDocsAdapterRuntime() {
|
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
// src/docs/config-secrets.ts
|
|
51
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
47
52
|
function isSecretDocsConfigKey(key) {
|
|
48
53
|
const normalized = key.replace(/[-_]/g, "").toLowerCase();
|
|
49
54
|
if (!normalized || normalized.endsWith("env")) return false;
|