@farm.js/core 0.2.0-beta.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/THIRD-PARTY-LICENSES.md +3220 -0
- package/dist/after.cjs +3 -3
- package/dist/after.mjs +1 -1
- package/dist/{agent-mcp-handler-VX4NDDHR.mjs → agent-mcp-handler-BY7VJQ4W.mjs} +1 -1
- package/dist/agent-mcp-handler-S4UTE7NO.cjs +21 -0
- package/dist/{agent-mcp.d-DhCEzIfu.d.mts → agent-mcp.d-DhZf5-v0.d.mts} +1 -1
- package/dist/{agent-mcp.d-DBaonhLg.d.ts → agent-mcp.d-xPua9Zdz.d.ts} +1 -1
- package/dist/agent-runtime.cjs +25 -22
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/{analyzer-T2U345WL.mjs → analyzer-LQ4LVDCW.mjs} +3 -3
- package/dist/analyzer-ZFC2L6NZ.cjs +17 -0
- package/dist/api/client.cjs +16 -16
- package/dist/api/client.mjs +1 -1
- package/dist/api/client.native.cjs +21 -18
- package/dist/api/client.native.mjs +1 -1
- package/dist/api/node.cjs +29 -26
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/node.mjs +1 -1
- package/dist/api/route-manager.cjs +45 -45
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +5 -5
- package/dist/api/runtime.cjs +25 -25
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +1 -1
- package/dist/api.cjs +57 -57
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +6 -6
- package/dist/{app-manifest.d-uE0JGZKN.d.mts → app-manifest.d-Bq9VWtpk.d.mts} +1 -1
- package/dist/{app-manifest.d-nLVFFd7N.d.ts → app-manifest.d-D6l1Wkn6.d.ts} +1 -1
- package/dist/app-markdown-compiler-4RCCOTTF.cjs +33007 -0
- package/dist/app-markdown-compiler-OM2AMFRK.mjs +32402 -0
- package/dist/app-markdown.cjs +16 -16
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/app-markdown.mjs +3 -3
- package/dist/{app.d-DGGcNXV7.d.mts → app.d-Bn1bqBkf.d.mts} +17 -7
- package/dist/{app.d-CwVkAUEU.d.ts → app.d-gnTrW72o.d.ts} +17 -7
- package/dist/cache.cjs +8 -8
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-DA432P2F.cjs → chunk-25CHWAZY.cjs} +14 -10
- package/dist/{chunk-JDT733EW.cjs → chunk-27IPPPCV.cjs} +16 -19
- package/dist/{chunk-X2SMVPLH.mjs → chunk-2FBFJO2Z.mjs} +8 -5
- package/dist/{chunk-PHCJJJZV.cjs → chunk-2HC46EGU.cjs} +6 -2
- package/dist/{chunk-MF3IA2AW.cjs → chunk-2L4M6YUG.cjs} +6 -1
- package/dist/{chunk-RBSGFS5X.cjs → chunk-2LHO4HTP.cjs} +62 -54
- package/dist/{chunk-CIY74JLV.cjs → chunk-2RA2VIKN.cjs} +9 -5
- package/dist/{chunk-A3LNXQJJ.cjs → chunk-2VLW3HWJ.cjs} +9 -2
- package/dist/{chunk-4EBC7EMW.cjs → chunk-323JTLXR.cjs} +6 -1
- package/dist/{chunk-7KJJ4SBS.cjs → chunk-32HGOX3M.cjs} +6 -1
- package/dist/{chunk-RKQOMG2X.cjs → chunk-3ACTVXZG.cjs} +9 -5
- package/dist/{chunk-N3H7UPBM.cjs → chunk-3EZHMZGD.cjs} +6 -1
- package/dist/{chunk-LQWIIBI2.cjs → chunk-3KLDTMIC.cjs} +6 -1
- package/dist/{chunk-OO7DYIJD.cjs → chunk-3YT7DIIS.cjs} +7 -1
- package/dist/{chunk-ILQSRLKK.cjs → chunk-4A6WSOZH.cjs} +55 -49
- package/dist/{chunk-CBB7I6HW.cjs → chunk-4ER5KYSC.cjs} +9 -5
- package/dist/{chunk-E5UN4OWX.cjs → chunk-4JARM2QQ.cjs} +6 -1
- package/dist/{chunk-VGVRGGP4.cjs → chunk-4JCX33RZ.cjs} +13 -8
- package/dist/chunk-4RLFAN7T.cjs +6 -0
- package/dist/{chunk-OZUINP2P.cjs → chunk-4USE4SEU.cjs} +19 -15
- package/dist/{chunk-LQ3FISSD.mjs → chunk-54INSSWI.mjs} +66 -53
- package/dist/{chunk-PENBZAHJ.cjs → chunk-57OAZCWQ.cjs} +6 -1
- package/dist/{chunk-JYQ6DGPW.cjs → chunk-5P3TZGS3.cjs} +52 -45
- package/dist/{chunk-Z3RM3VA2.mjs → chunk-5VXVRMXK.mjs} +11 -1
- package/dist/{chunk-OZC2JPW6.cjs → chunk-5XYJ5KRN.cjs} +6 -1
- package/dist/{chunk-QKW6DLDT.cjs → chunk-5YT2ZSWS.cjs} +17 -13
- package/dist/{chunk-QCKSYYXK.cjs → chunk-63S7DAEG.cjs} +21 -17
- package/dist/{chunk-FDGYDQGL.cjs → chunk-66WIOZXX.cjs} +7 -1
- package/dist/{chunk-MHKPXX3J.cjs → chunk-6AUPJYHF.cjs} +13 -9
- package/dist/{chunk-DVJM55D2.cjs → chunk-6FIY4KBC.cjs} +6 -1
- package/dist/{chunk-TIZJYHB7.mjs → chunk-6IUWKO2Q.mjs} +15 -0
- package/dist/{chunk-VWIW47FW.cjs → chunk-6K7LEL2T.cjs} +6 -1
- package/dist/{chunk-UZCMMJJT.cjs → chunk-6NQ63L6N.cjs} +6 -1
- package/dist/{chunk-BTVDYS4B.cjs → chunk-6QCZWAGO.cjs} +6 -1
- package/dist/{chunk-RDADQG5S.cjs → chunk-6QWCFVGL.cjs} +14 -7
- package/dist/{chunk-JRGR5Z4K.cjs → chunk-6VC7NUY3.cjs} +6 -1
- package/dist/{chunk-CKPTIEDX.cjs → chunk-7BFFBYLN.cjs} +6 -1
- package/dist/{chunk-7Q7UB4TL.cjs → chunk-7GKZDRY2.cjs} +9 -5
- package/dist/{chunk-UCJCU2IL.cjs → chunk-7JI7W2MD.cjs} +34 -30
- package/dist/{chunk-C7LCTVJ2.cjs → chunk-7JZVCHNF.cjs} +10 -6
- package/dist/{chunk-QZUCVJZJ.cjs → chunk-7M3X4CBY.cjs} +6 -1
- package/dist/{chunk-7JUIK547.cjs → chunk-7MQMWGTL.cjs} +6 -1
- package/dist/{chunk-PIUTGRDI.cjs → chunk-7O3YJ6NP.cjs} +6 -1
- package/dist/{chunk-SXCL2MIN.cjs → chunk-7V5MQSBL.cjs} +9 -1
- package/dist/{chunk-7U4XF76R.cjs → chunk-7ZDLE77P.cjs} +12 -8
- package/dist/{chunk-NU5XLYRN.cjs → chunk-A2ELHZBZ.cjs} +10 -1
- package/dist/{chunk-RZI6436F.cjs → chunk-ADCVSTFV.cjs} +18 -11
- package/dist/chunk-AZJEQ5CR.cjs +6 -0
- package/dist/{chunk-ZMSVKVI3.cjs → chunk-B2VSX33T.cjs} +6 -1
- package/dist/{chunk-AQIRXBBY.cjs → chunk-B6JPBPBQ.cjs} +6 -1
- package/dist/{chunk-W76C7TCW.cjs → chunk-BNVQSUZK.cjs} +6 -2
- package/dist/{chunk-MNUYXZV7.cjs → chunk-BNWADCG2.cjs} +6 -1
- package/dist/{chunk-CCAUIBIS.cjs → chunk-BRWSQDKO.cjs} +10 -1
- package/dist/{chunk-KQS27YN7.cjs → chunk-C6DR4JAR.cjs} +14 -10
- package/dist/{chunk-Y3WG64CP.cjs → chunk-CH2JX3CM.cjs} +6 -1
- package/dist/{chunk-KDQKTX3Q.cjs → chunk-COMBIEAP.cjs} +44 -36
- package/dist/{chunk-YUQUGVSV.cjs → chunk-CTTXHHZG.cjs} +50 -46
- package/dist/{chunk-FDZZ6K3N.cjs → chunk-CUW7K4AU.cjs} +14 -10
- package/dist/chunk-CWSUKW2H.cjs +6 -0
- package/dist/chunk-CYUTK4JP.cjs +52 -0
- package/dist/{chunk-COK4IXOO.mjs → chunk-D7KBMJ7L.mjs} +1 -1
- package/dist/{chunk-T3SMMLSB.cjs → chunk-DB4NOIQC.cjs} +12 -8
- package/dist/{chunk-N2ZMSSPP.cjs → chunk-DNERKYN4.cjs} +77 -70
- package/dist/{chunk-OWOUTKIJ.cjs → chunk-DQYMTSF3.cjs} +6 -1
- package/dist/{chunk-7V5M43ND.mjs → chunk-DVL3UVYT.mjs} +2 -2
- package/dist/{chunk-UNOXV37V.cjs → chunk-DYGHX2UR.cjs} +6 -1
- package/dist/{chunk-LSHX2H5G.cjs → chunk-EBE6BK54.cjs} +6 -1
- package/dist/{chunk-WT6RAN2I.cjs → chunk-EGMJ5KEU.cjs} +6 -1
- package/dist/{chunk-22KXTL3I.cjs → chunk-EJLMRNSV.cjs} +24 -19
- package/dist/{chunk-RDNKQ5MK.cjs → chunk-EMM3YXXI.cjs} +19 -15
- package/dist/{chunk-EZUTDTFM.cjs → chunk-ERSLQ4C7.cjs} +18 -11
- package/dist/{chunk-4WXNTAOM.mjs → chunk-EUVHELJL.mjs} +1 -1
- package/dist/{chunk-VGZIIOU6.cjs → chunk-EWPH5IOC.cjs} +26 -19
- package/dist/{chunk-J6TZRYCO.cjs → chunk-F5JTXLS7.cjs} +6 -1
- package/dist/{chunk-UWDFH3ZV.mjs → chunk-FFROR7QD.mjs} +1 -1
- package/dist/{chunk-HUGPJFOC.cjs → chunk-G22QP2MX.cjs} +9 -5
- package/dist/{chunk-PMJSG4JS.cjs → chunk-G5KGLMPN.cjs} +6 -1
- package/dist/{chunk-4Q263EQI.mjs → chunk-GAD63TH7.mjs} +9 -9
- package/dist/{chunk-R5U7OIPI.cjs → chunk-GAII22G2.cjs} +6 -1
- package/dist/{chunk-SSFAPTRD.mjs → chunk-GK2RCRT2.mjs} +1 -1
- package/dist/{chunk-6CTFVBAT.cjs → chunk-GKYOFMPQ.cjs} +6 -1
- package/dist/{chunk-JYT7AN37.cjs → chunk-GLP3ID53.cjs} +6 -1
- package/dist/{chunk-QBJ6N5MT.mjs → chunk-GN2RXH72.mjs} +1 -1
- package/dist/{chunk-RQRTH57V.cjs → chunk-GQONHUMI.cjs} +6 -1
- package/dist/{chunk-EOXPRC2C.cjs → chunk-GQQID5IB.cjs} +7 -1
- package/dist/{chunk-IUKBPBM7.cjs → chunk-GUDYDNKU.cjs} +6 -1
- package/dist/{chunk-6GJZJAED.mjs → chunk-GUNPDMSX.mjs} +1 -1
- package/dist/{chunk-Z43CIBUR.cjs → chunk-GUYGMTWA.cjs} +20 -13
- package/dist/{chunk-QO24II6C.mjs → chunk-GXWCR7PP.mjs} +7 -3
- package/dist/{chunk-VS7HLH4S.cjs → chunk-GYH2B4YQ.cjs} +12 -8
- package/dist/{chunk-RGMUS3HO.cjs → chunk-H3TYWCMG.cjs} +18 -14
- package/dist/{chunk-2OF5RPVU.cjs → chunk-H5AC3XSE.cjs} +18 -14
- package/dist/{chunk-ZIOFRBIU.cjs → chunk-H7INTSUK.cjs} +15 -9
- package/dist/{chunk-RFNQTQ44.cjs → chunk-HBRCMX24.cjs} +10 -5
- package/dist/{chunk-UA77C2ZA.cjs → chunk-HF3JJPH4.cjs} +58 -50
- package/dist/{chunk-HV6CYSMF.mjs → chunk-HHZURH4U.mjs} +1 -17
- package/dist/{chunk-JP5TWUK2.cjs → chunk-HSAHQBMG.cjs} +8 -4
- package/dist/{chunk-OQOII62L.mjs → chunk-HYYOVRED.mjs} +2 -2
- package/dist/{chunk-3BTN3NP7.cjs → chunk-I5PDHLKE.cjs} +6 -2
- package/dist/{chunk-2RSVYJT6.cjs → chunk-IBZW57NW.cjs} +9 -5
- package/dist/{chunk-KORZ6PRE.cjs → chunk-IDUGG7VR.cjs} +6 -1
- package/dist/{chunk-6JHZPB52.cjs → chunk-IEZFFXSC.cjs} +10 -6
- package/dist/{chunk-VACYUMXW.cjs → chunk-IGA3OTFY.cjs} +37 -29
- package/dist/{chunk-YSRZSKQB.cjs → chunk-IGBQSUT5.cjs} +55 -40
- package/dist/{chunk-JIBEFLQ7.cjs → chunk-IKYNDANT.cjs} +7 -1
- package/dist/{chunk-KBGZ5FD6.cjs → chunk-IVEV44O2.cjs} +6 -2
- package/dist/{chunk-MCSRMEQV.cjs → chunk-J2JMESBJ.cjs} +6 -1
- package/dist/{chunk-WMRGIQTA.cjs → chunk-J3RIMCBD.cjs} +6 -1
- package/dist/{chunk-MWAWMFG3.cjs → chunk-J6JAUJPC.cjs} +737 -709
- package/dist/{chunk-N4AQNEXR.cjs → chunk-JIBZ6SCC.cjs} +6 -1
- package/dist/{chunk-SWPLGPYF.cjs → chunk-JKNQMGZE.cjs} +28 -24
- package/dist/{chunk-IZYFP7IN.cjs → chunk-JOSR2E2C.cjs} +17 -13
- package/dist/{chunk-AOKXITZ6.cjs → chunk-JOZDAIKZ.cjs} +6 -1
- package/dist/{chunk-EODGIFI7.cjs → chunk-JYQMGMKT.cjs} +16 -4
- package/dist/{chunk-J6RFB324.cjs → chunk-JZCUDAH2.cjs} +6 -1
- package/dist/{chunk-N2BRIN7I.mjs → chunk-K44IR6WC.mjs} +1 -1
- package/dist/{chunk-SUCDVKUB.cjs → chunk-K6LZMZNB.cjs} +6 -1
- package/dist/{chunk-GYJT2U7J.cjs → chunk-KAD5WBY4.cjs} +9 -5
- package/dist/{chunk-O4JYMU5N.cjs → chunk-KDUVIJSZ.cjs} +22 -18
- package/dist/{chunk-2LHZD3OP.cjs → chunk-KEBD377T.cjs} +6 -2
- package/dist/{chunk-3DE6RK7K.cjs → chunk-KHTJVI6B.cjs} +6 -1
- package/dist/{chunk-OY5XDG24.cjs → chunk-KI3B3H5K.cjs} +9 -5
- package/dist/{chunk-ANKMAGFJ.mjs → chunk-KJW6KEOZ.mjs} +1 -1
- package/dist/{chunk-4A6A6P4T.mjs → chunk-KKXGBQ2K.mjs} +3 -3
- package/dist/{chunk-4IE3YK7U.mjs → chunk-KQXYBJES.mjs} +14 -11
- package/dist/{chunk-P2355C6E.cjs → chunk-KSRWTQ6J.cjs} +6 -1
- package/dist/{chunk-SHIWRBFI.cjs → chunk-KUG3P3GY.cjs} +6 -1
- package/dist/{chunk-T7HGXF7D.cjs → chunk-KXCPX3HE.cjs} +11 -7
- package/dist/{chunk-C5QHZ626.cjs → chunk-KXXZDS7C.cjs} +6 -1
- package/dist/{chunk-DUIP64BF.cjs → chunk-KYFTDHNN.cjs} +6 -1
- package/dist/{chunk-VXCFJWK5.cjs → chunk-L6CW5AWM.cjs} +6 -1
- package/dist/{chunk-XGPRM7OK.cjs → chunk-LEK3P2ZD.cjs} +16 -7
- package/dist/{chunk-T7UC2ORA.cjs → chunk-LEZJZX4C.cjs} +7 -18
- package/dist/{chunk-HA7YRO53.cjs → chunk-LF7HAALM.cjs} +6 -1
- package/dist/{chunk-2KMIJDY6.cjs → chunk-LG62AYPQ.cjs} +6 -1
- package/dist/{chunk-OLIWLN4I.cjs → chunk-LGL5QKUJ.cjs} +24 -20
- package/dist/{chunk-SMUW7UST.mjs → chunk-LO5BNR6Y.mjs} +7 -2
- package/dist/{chunk-PWDBWXQI.cjs → chunk-LVYUTMW4.cjs} +6 -1
- package/dist/{chunk-XRRHPBG2.cjs → chunk-M6W3AN57.cjs} +6 -1
- package/dist/{chunk-PZXYAWYG.cjs → chunk-M7RS7HSB.cjs} +13 -8
- package/dist/{chunk-I5KPOXUE.mjs → chunk-MEIZIRMK.mjs} +1 -1
- package/dist/{chunk-HNB5JHBO.mjs → chunk-MLMDOIBY.mjs} +5 -5
- package/dist/{chunk-CEVXKJKF.cjs → chunk-MMSCWTJT.cjs} +6 -1
- package/dist/{chunk-SIECKBNK.cjs → chunk-MNBFSAWF.cjs} +7 -2
- package/dist/{chunk-EA5HVG45.cjs → chunk-MUQP2APN.cjs} +9 -2
- package/dist/{chunk-XOLYZZDX.mjs → chunk-MX4G24YS.mjs} +110 -56
- package/dist/{chunk-SCE7VWPN.cjs → chunk-MZG5M4JS.cjs} +48 -41
- package/dist/{chunk-DVAZ53X6.cjs → chunk-N4AM7Q34.cjs} +77 -73
- package/dist/{chunk-DXUXQP2T.cjs → chunk-N4C72FCD.cjs} +6 -1
- package/dist/{chunk-H7REG7OX.cjs → chunk-NKW4JEOH.cjs} +13 -9
- package/dist/{chunk-XRFGOYXG.cjs → chunk-NMMCBJZM.cjs} +17 -12
- package/dist/{chunk-SHDCKRP4.cjs → chunk-NQUZDXKJ.cjs} +7 -3
- package/dist/{chunk-UGWKNZ4U.cjs → chunk-O47IT4CS.cjs} +25 -21
- package/dist/{chunk-EUZFBHPP.cjs → chunk-O7B6LJWE.cjs} +7 -3
- package/dist/{chunk-UOMSGJHK.cjs → chunk-OAAVIFOJ.cjs} +116 -103
- package/dist/{chunk-SAUGKNCF.cjs → chunk-OBERQH7M.cjs} +42 -37
- package/dist/{chunk-NW3DL2PM.cjs → chunk-OCQSYDMG.cjs} +11 -4
- package/dist/{chunk-ZNXU4E6A.cjs → chunk-OSLI2SCA.cjs} +83 -72
- package/dist/{chunk-HLYRXN2I.cjs → chunk-OUOUPA37.cjs} +6 -1
- package/dist/{chunk-YIGUFJMR.cjs → chunk-OVSK47CZ.cjs} +6 -1
- package/dist/{chunk-ATYTLVSI.cjs → chunk-OX63SW6N.cjs} +7 -1
- package/dist/{chunk-GTHBWZUK.mjs → chunk-OZAVCLXY.mjs} +1 -1
- package/dist/{chunk-YKHRCY4T.cjs → chunk-P2LSRUQB.cjs} +6 -1
- package/dist/{chunk-XJDB564A.cjs → chunk-P4ZLFUNB.cjs} +7 -2
- package/dist/{chunk-2OFP3IVA.cjs → chunk-P5RNGH52.cjs} +32 -18
- package/dist/{chunk-NZRAUCUL.cjs → chunk-PATIHHC7.cjs} +26 -20
- package/dist/{chunk-6FXBJPF5.cjs → chunk-PCF54MSR.cjs} +6 -1
- package/dist/{chunk-52Q4OB4A.cjs → chunk-PFVNPOKN.cjs} +21 -7
- package/dist/{chunk-GVYZCJZH.cjs → chunk-PHYSFHJK.cjs} +6 -1
- package/dist/{chunk-4DCWVSL2.cjs → chunk-PHZ7MLRQ.cjs} +6 -1
- package/dist/{chunk-PCAEJNQF.cjs → chunk-PNMRXZS5.cjs} +13 -9
- package/dist/{chunk-HS4JPIGR.cjs → chunk-PRKFECGT.cjs} +7 -3
- package/dist/chunk-PTG5BEMG.mjs +47 -0
- package/dist/{chunk-YUCU6XB4.cjs → chunk-PYPHM7AS.cjs} +9 -4
- package/dist/{chunk-YNPVG2GG.mjs → chunk-PZ5ZJAAO.mjs} +2 -2
- package/dist/{chunk-H7OFZJCV.cjs → chunk-QBMMQS25.cjs} +14 -8
- package/dist/{chunk-Y2FEFQAY.cjs → chunk-QCVP22KW.cjs} +8 -5
- package/dist/{chunk-J3GFOQOL.cjs → chunk-QGJL7EPX.cjs} +13 -9
- package/dist/{chunk-2PE5STAR.cjs → chunk-QHHEL4ZO.cjs} +6 -2
- package/dist/{chunk-LTOT5KVJ.mjs → chunk-QKXQFBNL.mjs} +1 -1
- package/dist/{chunk-L6E5BSNU.cjs → chunk-QT7MJL5E.cjs} +7 -3
- package/dist/{chunk-ERMUL73L.cjs → chunk-QTGYT2DF.cjs} +6 -1
- package/dist/{chunk-WBTHHTBO.cjs → chunk-QW5I5D5T.cjs} +6 -1
- package/dist/{chunk-IIHZ2BEE.cjs → chunk-QZRFEHMS.cjs} +15 -11
- package/dist/{chunk-HXNLKCWH.cjs → chunk-QZVPBDF7.cjs} +6 -1
- package/dist/{chunk-JH4CDG4G.cjs → chunk-R6GOH5CH.cjs} +18 -14
- package/dist/{chunk-2BEGVSDF.cjs → chunk-RBDAW6IZ.cjs} +7 -3
- package/dist/{chunk-HVGINJTO.mjs → chunk-RDT2LJES.mjs} +77 -40
- package/dist/{chunk-PLJMEUAN.cjs → chunk-RFKPIAOF.cjs} +9 -1
- package/dist/{chunk-WPURVYXT.cjs → chunk-RGIHE6YL.cjs} +6 -2
- package/dist/{chunk-6B44ZU5P.cjs → chunk-RHORD2K2.cjs} +19 -15
- package/dist/{chunk-7MMDEIVC.mjs → chunk-RKWZ6F5D.mjs} +2 -2
- package/dist/{chunk-OCS3PSYR.cjs → chunk-RLC7NNTA.cjs} +6 -1
- package/dist/{chunk-WEZTGM7N.cjs → chunk-RMLXUVR5.cjs} +11 -9
- package/dist/{chunk-Q637AXGZ.mjs → chunk-RP55BUJM.mjs} +103 -20
- package/dist/{chunk-STF6VDYQ.cjs → chunk-RQSPBWXJ.cjs} +6 -1
- package/dist/{chunk-RWR7SMD7.cjs → chunk-S2QSTMBE.cjs} +7 -3
- package/dist/{chunk-GCJ4GNMC.cjs → chunk-SGBEJBBB.cjs} +8 -4
- package/dist/chunk-SGRWZEQC.cjs +44 -0
- package/dist/{chunk-BW563VZZ.mjs → chunk-SIHHYNX4.mjs} +1 -1
- package/dist/{chunk-NDMPGFKL.cjs → chunk-SIQPXYBB.cjs} +6 -1
- package/dist/{chunk-2HTNASSB.cjs → chunk-SM4Y7CL4.cjs} +10 -6
- package/dist/{chunk-UNJZGVPU.cjs → chunk-SQ5O5EDN.cjs} +6 -1
- package/dist/{chunk-A25FXJ7D.cjs → chunk-SWOJU7LI.cjs} +6 -1
- package/dist/{chunk-BNH53KOT.cjs → chunk-SZBBBLLS.cjs} +6 -1
- package/dist/{chunk-EXPVSFAG.cjs → chunk-T4VF6BYV.cjs} +50 -41
- package/dist/{chunk-ML4TOUZP.cjs → chunk-T4YCWRCJ.cjs} +6 -1
- package/dist/{chunk-NDOE76QC.cjs → chunk-TDAH76RR.cjs} +8 -4
- package/dist/{chunk-D22BUQKW.cjs → chunk-TFCBJFP7.cjs} +6 -1
- package/dist/{chunk-NWF2FTFV.mjs → chunk-TP3ISVRU.mjs} +2 -9
- package/dist/{chunk-3EIPOTZV.cjs → chunk-TP7JAC3T.cjs} +6 -2
- package/dist/{chunk-FB4CWSC2.cjs → chunk-TSLXAEGM.cjs} +16 -12
- package/dist/{chunk-5LJF4KUZ.cjs → chunk-U2HFXURZ.cjs} +19 -9
- package/dist/{chunk-SHD265HW.cjs → chunk-U3NUGF2E.cjs} +7 -1
- package/dist/{chunk-SVXOCTQ2.cjs → chunk-UARKTC55.cjs} +6 -1
- package/dist/{chunk-UZM3PDKK.cjs → chunk-UGL4BDNB.cjs} +27 -3
- package/dist/{chunk-GBMWLDCC.cjs → chunk-UHTXBC4Q.cjs} +7 -1
- package/dist/{chunk-47JV57DA.cjs → chunk-UOFTT6S4.cjs} +6 -1
- package/dist/{chunk-NNNMFSXG.mjs → chunk-V36K4TSU.mjs} +2 -2
- package/dist/{chunk-I2RBHZF7.cjs → chunk-VB7P66Q4.cjs} +6 -1
- package/dist/{chunk-BIAGSYIZ.cjs → chunk-VD7ENQP2.cjs} +54 -47
- package/dist/{chunk-J2EKGR6E.cjs → chunk-VFZQXADS.cjs} +719 -634
- package/dist/{chunk-NLBHLPEO.cjs → chunk-VIDUNAQE.cjs} +6 -1
- package/dist/{chunk-VM57CK74.cjs → chunk-VNWKJOJF.cjs} +6 -1
- package/dist/{chunk-MPU5DOXX.cjs → chunk-VUCDMV3Q.cjs} +6 -1
- package/dist/{chunk-M4YXD6MD.cjs → chunk-VWPGK6UV.cjs} +837 -769
- package/dist/{chunk-L2GUEYHR.cjs → chunk-VZ2P6GRC.cjs} +8 -1
- package/dist/{chunk-3SPECQXI.cjs → chunk-W4KSV6GX.cjs} +13 -9
- package/dist/{chunk-CHOOBTDD.cjs → chunk-W4WFKRLR.cjs} +17 -13
- package/dist/chunk-W7BMZI3I.cjs +6 -0
- package/dist/{chunk-SNP33A33.cjs → chunk-WCPGU6J6.cjs} +6 -1
- package/dist/{chunk-2OR5WAD5.cjs → chunk-WFNL24R6.cjs} +58 -43
- package/dist/{chunk-XOFJUSWC.cjs → chunk-WJ5ADUI2.cjs} +18 -14
- package/dist/{chunk-SPKZCFPH.mjs → chunk-WOPQQCP3.mjs} +5 -5
- package/dist/{chunk-ZSVFI7JM.cjs → chunk-WXPY5FRF.cjs} +23 -18
- package/dist/{chunk-JCYDWJVO.cjs → chunk-WZSLDPVZ.cjs} +13 -9
- package/dist/{chunk-O5YM6GU3.mjs → chunk-X2TC6PBK.mjs} +1 -1
- package/dist/{chunk-BSX5OGSD.cjs → chunk-XE3E4MER.cjs} +24 -20
- package/dist/{chunk-3BIASUGR.cjs → chunk-XEPUUTGC.cjs} +6 -1
- package/dist/{chunk-HQKCSJEH.cjs → chunk-XH4GQ7MT.cjs} +17 -10
- package/dist/{chunk-5AMH6AFA.cjs → chunk-XK7SRVHC.cjs} +15 -11
- package/dist/{chunk-WKVYF2B5.cjs → chunk-XSJYXUY6.cjs} +6 -1
- package/dist/{chunk-5DX3O6TT.cjs → chunk-XSLYRNNA.cjs} +8 -4
- package/dist/{chunk-UUQNJDGH.cjs → chunk-XTQPYWQW.cjs} +6 -1
- package/dist/{chunk-3HLQTOVU.cjs → chunk-XVD5Y6S4.cjs} +6 -1
- package/dist/{chunk-7Q2YWZF7.cjs → chunk-XXBWKAJF.cjs} +14 -10
- package/dist/{chunk-YDXLC4DW.cjs → chunk-XZ6L3FUU.cjs} +6 -1
- package/dist/{chunk-FZ7OUN5M.cjs → chunk-Y3HLU2XL.cjs} +6 -2
- package/dist/{chunk-I2BYNELA.cjs → chunk-Y6WRVFD6.cjs} +9 -5
- package/dist/{chunk-OOZEU5KK.cjs → chunk-YC3LKWJO.cjs} +6 -1
- package/dist/{chunk-SXXSQVKK.cjs → chunk-YCIFGYBY.cjs} +13 -8
- package/dist/{chunk-CYOTNHDF.cjs → chunk-YHALJBYT.cjs} +6 -2
- package/dist/{chunk-WOAXQ5MZ.cjs → chunk-YLEL4ZRQ.cjs} +18 -14
- package/dist/{chunk-WEGAVN37.cjs → chunk-YMJK6VWQ.cjs} +6 -1
- package/dist/{chunk-2HW5LWAH.cjs → chunk-YQ5NVEFS.cjs} +6 -1
- package/dist/{chunk-AQLHD6HZ.cjs → chunk-YQXLBYY2.cjs} +20 -11
- package/dist/{chunk-IBEHVSU4.cjs → chunk-YUV5XXDC.cjs} +6 -1
- package/dist/{chunk-PWMJBCAN.cjs → chunk-YV47TSSB.cjs} +7 -3
- package/dist/{chunk-X333W5KV.cjs → chunk-YZMSJRM5.cjs} +6 -1
- package/dist/{chunk-VFMHE5D3.cjs → chunk-Z23OCU33.cjs} +29 -25
- package/dist/{chunk-DBYNZIIQ.cjs → chunk-Z2JQR56W.cjs} +6 -1
- package/dist/chunk-Z7YIQ7AJ.cjs +16 -0
- package/dist/{chunk-RTAWQXME.cjs → chunk-ZCT6B5PQ.cjs} +242 -145
- package/dist/{chunk-P2TGLGRR.mjs → chunk-ZF7N222A.mjs} +2 -2
- package/dist/{chunk-RK3YYUX6.cjs → chunk-ZKVA2TV6.cjs} +6 -1
- package/dist/{chunk-SAPG45RA.cjs → chunk-ZPZGC6OD.cjs} +31 -27
- package/dist/{chunk-DV52ZS53.cjs → chunk-ZRRNF26T.cjs} +6 -2
- package/dist/{chunk-26ZTI2ZO.mjs → chunk-ZRTBDHO2.mjs} +19 -14
- package/dist/{chunk-PO5MXV5X.cjs → chunk-ZSSBEPN4.cjs} +6 -1
- package/dist/{chunk-TWFJJPE7.cjs → chunk-ZTNU4XCC.cjs} +42 -38
- package/dist/{chunk-V5FEFFHV.mjs → chunk-ZVEKOMZS.mjs} +1 -1
- package/dist/{cli-runtime.d-oUiNuspW.d.mts → cli-runtime.d-LwIb0swO.d.mts} +5 -5
- package/dist/{cli-runtime.d-Dbl-gIoz.d.ts → cli-runtime.d-Vvxf-Z8a.d.ts} +5 -5
- package/dist/client/lifecycle.cjs +8 -3
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-DaUqOhZT.d.mts → client-component.d-34DDMZcl.d.mts} +1 -1
- package/dist/{client-component.d-CT4q7tmy.d.ts → client-component.d-DT5OKBZu.d.ts} +1 -1
- package/dist/client-plugins.cjs +8 -3
- package/dist/{client-plugins.d-BfGTqbAH.d.mts → client-plugins.d-D7k9t9Ge.d.mts} +31 -12
- package/dist/{client-plugins.d-24qhjX8c.d.ts → client-plugins.d-D9CnUvZ5.d.ts} +31 -12
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +51 -51
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/client.mjs +1 -1
- package/dist/config.cjs +3 -3
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/cron.cjs +9 -9
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +3 -3
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +3 -3
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.cjs +4 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/desktop.mjs +1 -1
- package/dist/{dev-guard-VIEEA4LS.cjs → dev-guard-M3ZCDWCK.cjs} +14 -11
- package/dist/{dev-guard-K3GJDPEQ.mjs → dev-guard-TFVWJNIB.mjs} +2 -2
- package/dist/{devtools-5WDQQDTA.cjs → devtools-IUU4SWQL.cjs} +78 -72
- package/dist/{devtools-DPYIYHTI.mjs → devtools-R77KAJA4.mjs} +11 -8
- package/dist/{devtools-client-BKBCCORT.cjs → devtools-client-3K67NMWA.cjs} +7 -4
- package/dist/{devtools-client-L4MUWD6K.mjs → devtools-client-WAMA6Q77.mjs} +1 -1
- package/dist/{devtools-ui-C2EMF2SO.cjs → devtools-ui-TPBPQEEB.cjs} +4 -1
- package/dist/{devtools-ui-BOG33MT5.mjs → devtools-ui-UYEVDADD.mjs} +1 -1
- package/dist/docs.cjs +73 -72
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +9 -8
- package/dist/env-types.cjs +4 -4
- package/dist/env-types.mjs +1 -1
- package/dist/env.cjs +4 -4
- package/dist/env.mjs +1 -1
- package/dist/environment/vite.cjs +17 -16
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +6 -5
- package/dist/environment.cjs +3 -3
- package/dist/environment.mjs +1 -1
- package/dist/font.cjs +3 -3
- package/dist/font.mjs +1 -1
- package/dist/{handler.d-Oca5kNSz.d.ts → handler.d-DbZvbwNi.d.ts} +1 -1
- package/dist/{handler.d-GfNuz57p.d.mts → handler.d-fxTjv3Nn.d.mts} +1 -1
- package/dist/headers.cjs +6 -6
- package/dist/{headers.d-C_lsQIWA.d.mts → headers.d-OBHpGTF_.d.mts} +1 -1
- package/dist/{headers.d-b8gHJDvu.d.ts → headers.d-oeWybIk8.d.ts} +1 -1
- package/dist/headers.mjs +1 -1
- package/dist/i18n/client.cjs +23 -20
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +12 -7
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +11 -11
- package/dist/i18n/server.mjs +1 -1
- package/dist/image/server.cjs +8 -8
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +21 -18
- package/dist/image/sharp.mjs +1 -1
- package/dist/image.cjs +7 -4
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +229 -216
- package/dist/{index.d-Ckv6kHFm.d.ts → index.d-BM-dKdzH.d.ts} +1 -1
- package/dist/{index.d-BLtjh1aS.d.mts → index.d-CRrPQwlO.d.mts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +42 -41
- package/dist/instrumentation.cjs +5 -5
- package/dist/instrumentation.mjs +1 -1
- package/dist/integrations/orm.cjs +7 -7
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations/orm.mjs +3 -3
- package/dist/integrations.cjs +22 -22
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +14 -14
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +2 -2
- package/dist/internal/build-runtime.cjs +187 -181
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +36 -35
- package/dist/internal/cli-runtime.cjs +106 -100
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +18 -17
- package/dist/internal/client-error-overlay.cjs +12 -9
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +37 -26
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.cjs +4 -4
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/compression-runtime.mjs +1 -1
- package/dist/internal/config-runtime.cjs +86 -82
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +10 -9
- package/dist/internal/desktop-guard.cjs +5 -5
- package/dist/internal/desktop-guard.mjs +1 -1
- package/dist/internal/docs-precompiled-runtime.cjs +10 -7
- package/dist/internal/docs-precompiled-runtime.mjs +1 -1
- package/dist/internal/form-actions-client.cjs +4 -1
- package/dist/internal/form-actions-client.mjs +1 -1
- package/dist/internal/form-actions.cjs +13 -13
- package/dist/internal/form-actions.mjs +1 -1
- package/dist/internal/infra-analytics-runtime.cjs +32 -29
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/island-codec.cjs +4 -4
- package/dist/internal/island-codec.mjs +1 -1
- package/dist/internal/island-value-store.cjs +4 -1
- package/dist/internal/island-value-store.mjs +1 -1
- package/dist/internal/islands-action-client.cjs +10 -10
- package/dist/internal/islands-action-client.mjs +1 -1
- package/dist/internal/islands-boot.cjs +6 -3
- package/dist/internal/islands-boot.mjs +1 -1
- package/dist/internal/islands-runtime.cjs +12 -9
- package/dist/internal/islands-runtime.mjs +2 -2
- package/dist/internal/islands-server-tree.cjs +4 -1
- package/dist/internal/islands-server-tree.mjs +1 -1
- package/dist/internal/islands-server.cjs +9 -6
- package/dist/internal/islands-server.mjs +1 -1
- package/dist/internal/islx-actions-client.cjs +13 -10
- package/dist/internal/islx-actions-client.mjs +1 -1
- package/dist/internal/islx-actions-server.cjs +4 -1
- package/dist/internal/islx-actions-server.mjs +1 -1
- package/dist/internal/islx-client.cjs +7 -4
- package/dist/internal/islx-client.mjs +2 -2
- package/dist/internal/islx-react.cjs +4 -1
- package/dist/internal/islx-server.cjs +4 -1
- package/dist/internal/isolated-boundary.cjs +5 -5
- package/dist/internal/isolated-boundary.mjs +1 -1
- package/dist/internal/metadata-image-runtime.cjs +8 -8
- package/dist/internal/metadata-image-runtime.mjs +1 -1
- package/dist/internal/native-server-fns.cjs +10 -10
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/navigation-neutral.cjs +6 -3
- package/dist/internal/navigation-neutral.mjs +1 -1
- package/dist/internal/product-telemetry-runtime.cjs +4 -4
- package/dist/internal/product-telemetry-runtime.mjs +3 -3
- package/dist/internal/production-node-env.cjs +3 -3
- package/dist/internal/production-node-env.mjs +2 -2
- package/dist/internal/production-runtime.cjs +97 -89
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +6 -6
- package/dist/internal/react-cache.cjs +10 -7
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/renderer-islands.cjs +4 -1
- package/dist/internal/renderer-islands.mjs +1 -1
- package/dist/internal/request-cookies.cjs +3 -3
- package/dist/internal/request-cookies.mjs +1 -1
- package/dist/internal/server-fn-transform.cjs +3 -3
- package/dist/internal/server-fn-transform.mjs +1 -1
- package/dist/internal/server-tree.cjs +5 -5
- package/dist/internal/server-tree.mjs +1 -1
- package/dist/internal/spa-router.cjs +20 -20
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/spa-router.mjs +1 -1
- package/dist/internal/start-manifest.cjs +4 -1
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/internal/start-manifest.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +23 -20
- package/dist/internal/vercel-edge-middleware.mjs +1 -1
- package/dist/json-ld.cjs +4 -1
- package/dist/json-ld.mjs +1 -1
- package/dist/layers-6R55QDT5.cjs +26 -0
- package/dist/{layers-744BBUY5.mjs → layers-O6GUR6LT.mjs} +7 -2
- package/dist/{libsql-http-M6LMNXCN.cjs → libsql-http-5GYGFVGC.cjs} +94 -87
- package/dist/{libsql-http-2QD224YS.mjs → libsql-http-PBJXNEOX.mjs} +1 -1
- package/dist/{manager-7BNSJKME.mjs → manager-EFPBRS3U.mjs} +4 -4
- package/dist/manager-STAB5TVZ.cjs +18 -0
- package/dist/markdown.cjs +12 -12
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +32 -32
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.mjs +4 -4
- package/dist/mobile.cjs +4 -1
- package/dist/mobile.mjs +1 -1
- package/dist/{modules-3Q2ZCY4Q.mjs → modules-IVJXVV4W.mjs} +1 -1
- package/dist/modules-JDPCBWND.cjs +13 -0
- package/dist/{mount.d-BCS8mD4E.d.mts → mount.d-B7RiwjiO.d.mts} +1 -1
- package/dist/{mount.d-DEX8eref.d.ts → mount.d-TnD-Mebk.d.ts} +1 -1
- package/dist/{native-server-fn-handler-PYK65A46.mjs → native-server-fn-handler-IMLQMSIR.mjs} +1 -1
- package/dist/native-server-fn-handler-U7I6H6MM.cjs +30 -0
- package/dist/{native-specs-A7YOL463.mjs → native-specs-4DOPYSOJ.mjs} +1 -1
- package/dist/native-specs-IXHEIZCD.cjs +15 -0
- package/dist/{native-tree-AO7PQ7FR.mjs → native-tree-2GQMSOLV.mjs} +1 -1
- package/dist/native-tree-PHCV43W4.cjs +28 -0
- package/dist/native.cjs +4 -1
- package/dist/native.mjs +1 -1
- package/dist/{navigation-delegate.d-F83ugsZW.d.mts → navigation-delegate.d-Boz2511c.d.mts} +1 -1
- package/dist/{navigation-delegate.d-Cgi28e5Q.d.ts → navigation-delegate.d-VBCF0EeN.d.ts} +1 -1
- package/dist/navigation.cjs +26 -26
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +1 -1
- package/dist/{nitro-FK3SZM4H.mjs → nitro-6HSEGMWJ.mjs} +2 -2
- package/dist/{nitro-YDFMH5PY.cjs → nitro-K4MCBBB6.cjs} +31 -28
- package/dist/{node-module-bundle-ZWCQJCKA.mjs → node-module-bundle-4IN4YCDV.mjs} +1 -1
- package/dist/node-module-bundle-PHKRIHI6.cjs +15 -0
- package/dist/observability.cjs +3 -3
- package/dist/observability.mjs +1 -1
- package/dist/og.cjs +4 -1
- package/dist/og.mjs +1 -1
- package/dist/platform.cjs +4 -1
- package/dist/platform.mjs +1 -1
- package/dist/{plugin-EVKQZBNW.mjs → plugin-B7I5QVBE.mjs} +2 -2
- package/dist/plugin-QYBJSGHG.cjs +33 -0
- package/dist/plugin.cjs +176 -170
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +30 -29
- package/dist/{port-STMSGUVU.cjs → port-2YV5GBDN.cjs} +13 -10
- package/dist/{port-CEZTV776.mjs → port-4ZIDLV4Z.mjs} +1 -1
- package/dist/query/client.cjs +38 -34
- package/dist/query/client.mjs +1 -1
- package/dist/query/index.cjs +5 -5
- package/dist/query/index.mjs +1 -1
- package/dist/query/parsers.cjs +3 -3
- package/dist/query/parsers.mjs +1 -1
- package/dist/query/server.cjs +8 -5
- package/dist/query/server.mjs +1 -1
- package/dist/{render-plan.d-DCF2GZdD.d.ts → render-plan.d-BrumV_ZE.d.ts} +1 -1
- package/dist/{render-plan.d-BkVY4aFb.d.mts → render-plan.d-BwnmyfNk.d.mts} +1 -1
- package/dist/renderer/none/server.cjs +4 -1
- package/dist/renderer/none/server.mjs +1 -1
- package/dist/renderer/react/client.cjs +4 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +14 -11
- package/dist/renderer/react/server.mjs +1 -1
- package/dist/renderer/react/vite.cjs +4 -1
- package/dist/renderer/react/vite.mjs +1 -1
- package/dist/renderer-client.cjs +67 -64
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +1 -1
- package/dist/renderer.cjs +12 -6
- package/dist/renderer.d.mts +1 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.mjs +4 -3
- package/dist/request.cjs +9 -4
- package/dist/{request.d-DMPB53-i.d.mts → request.d-Dd5nRTO5.d.mts} +1 -1
- package/dist/{request.d-C5o-4dU2.d.ts → request.d-NUi01-5e.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-DDvArvik.d.mts → route-rendering.d-BK0Pf7_k.d.mts} +1 -1
- package/dist/{route-rendering.d-DfP6zRP7.d.ts → route-rendering.d-CJR5BPXV.d.ts} +1 -1
- package/dist/router.cjs +5 -5
- package/dist/{router.d-s40h7aoS.d.ts → router.d-C-JSFCPU.d.ts} +1 -1
- package/dist/{router.d-1Skf2XCO.d.mts → router.d-CNUS3x1j.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +16 -16
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-O2YMVHUF.mjs → rsc-pipeline-DHISDFT7.mjs} +13 -12
- package/dist/rsc-pipeline-UBWVU3NF.cjs +92 -0
- package/dist/{runtime-K2X3IZAF.mjs → runtime-VUKMY44G.mjs} +16 -13
- package/dist/{runtime-WOTVFYQY.cjs → runtime-XKRQW3YT.cjs} +132 -119
- package/dist/{runtime.d-k-9kFUsM.d.ts → runtime.d-B2T4bM5_.d.ts} +1 -1
- package/dist/{runtime.d-Bykc5Qfg.d.mts → runtime.d-CsOpO6yQ.d.mts} +1 -1
- package/dist/safe-fetch.cjs +4 -4
- package/dist/safe-fetch.mjs +1 -1
- package/dist/{schema-dev-notice-EUPAUJVN.mjs → schema-dev-notice-EZAOFO7A.mjs} +1 -1
- package/dist/{schema-dev-notice-ZSCL47CT.cjs → schema-dev-notice-Y4J5KPEY.cjs} +16 -13
- package/dist/schema.cjs +4 -4
- package/dist/schema.mjs +1 -1
- package/dist/{search-client-GIXIEU75.mjs → search-client-HN3ZY6AK.mjs} +1 -1
- package/dist/search-client-Z7KDVD4C.cjs +15 -0
- package/dist/server-action-security.cjs +10 -10
- package/dist/server-action-security.mjs +1 -1
- package/dist/{server-components-status.d-DLNd1C5j.d.ts → server-components-status.d-Cc5rir0l.d.mts} +2 -2
- package/dist/{server-components-status.d-D-HixBe0.d.mts → server-components-status.d-DOYt4E_Q.d.ts} +2 -2
- package/dist/server-fn-client.cjs +4 -4
- package/dist/server-fn-client.mjs +1 -1
- package/dist/server-fn.cjs +17 -17
- package/dist/server-fn.mjs +1 -1
- package/dist/server-plugins.cjs +21 -16
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server-plugins.mjs +1 -1
- package/dist/server-query-client.cjs +10 -10
- package/dist/server-query-client.mjs +1 -1
- package/dist/server-query.cjs +19 -19
- package/dist/server-query.mjs +1 -1
- package/dist/server.cjs +236 -224
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +37 -34
- package/dist/session-J7NTZI56.cjs +24 -0
- package/dist/{session-4IB34X35.mjs → session-ZFM3RDG2.mjs} +3 -3
- package/dist/{spa-router.d-Dl-EJeJT.d.ts → spa-router.d-C7FcpLxU.d.ts} +2 -2
- package/dist/{spa-router.d-DIlXwm00.d.mts → spa-router.d-Cq5UFJvq.d.mts} +2 -2
- package/dist/{ssg.d-D2ZV0bhs.d.mts → ssg.d-BzNZemk7.d.mts} +2 -2
- package/dist/{ssg.d-bE-ylg0e.d.ts → ssg.d-DUhacIxj.d.ts} +2 -2
- package/dist/storage.cjs +4 -4
- package/dist/storage.mjs +2 -2
- package/dist/{store-core.d-BmdnMopD.d.ts → store-core.d-BX3yXrxA.d.ts} +2 -2
- package/dist/{store-core.d-DPsCYzV7.d.mts → store-core.d-DbUAtSBK.d.mts} +2 -2
- package/dist/testing.cjs +65 -62
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +5 -5
- package/dist/theme/client.cjs +5 -5
- package/dist/theme/client.mjs +1 -1
- package/dist/theme/index.cjs +4 -4
- package/dist/theme/index.mjs +1 -1
- package/dist/theme/runtime.cjs +3 -3
- package/dist/theme/runtime.mjs +1 -1
- package/dist/theme/server.cjs +8 -8
- package/dist/theme/server.mjs +1 -1
- package/dist/{utils.d-BFZQcBZV.d.ts → utils.d-BhJJEXzo.d.ts} +1 -1
- package/dist/{utils.d-nM3OHKq5.d.mts → utils.d-NOMkLFpC.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +169 -168
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +30 -29
- package/dist/workflows.cjs +14 -14
- package/dist/workflows.mjs +2 -2
- package/package.json +5 -5
- package/LICENSE +0 -22
- package/dist/agent-mcp-handler-EXOG55M4.cjs +0 -21
- package/dist/analyzer-OWIHFO5M.cjs +0 -17
- package/dist/chunk-3376ZTRC.cjs +0 -1
- package/dist/chunk-K5NI5YQR.cjs +0 -1
- package/dist/chunk-MCJLA63J.cjs +0 -1
- package/dist/chunk-NOSLIDSG.cjs +0 -9
- package/dist/chunk-PAKB6JHX.cjs +0 -40
- package/dist/chunk-YTAABQEV.cjs +0 -1
- package/dist/layers-XLOMMQP7.cjs +0 -21
- package/dist/manager-37UJPUN4.cjs +0 -18
- package/dist/modules-KDHFBQ6L.cjs +0 -13
- package/dist/native-server-fn-handler-57TCQPSM.cjs +0 -30
- package/dist/native-specs-JDPH26AO.cjs +0 -15
- package/dist/native-tree-52CUAP3N.cjs +0 -28
- package/dist/node-module-bundle-TNSY5PAC.cjs +0 -15
- package/dist/plugin-MWO3G2XM.cjs +0 -33
- package/dist/rsc-pipeline-SFQSMVI7.cjs +0 -91
- package/dist/search-client-A7YJT7JZ.cjs +0 -15
- package/dist/session-MOYQJ7E6.cjs +0 -24
- package/dist/{chunk-IVP5Q4BX.mjs → chunk-6IKUYFNQ.mjs} +0 -0
- package/dist/{chunk-D7LXBLUW.mjs → chunk-FYTZZM5U.mjs} +3 -3
- /package/dist/{chunk-E72GG355.mjs → chunk-HDZ2AMDD.mjs} +0 -0
- /package/dist/{chunk-URBP6DLH.mjs → chunk-LQZXCSYG.mjs} +0 -0
- /package/dist/{chunk-M6AJZ4XR.mjs → chunk-QNJUQIUZ.mjs} +0 -0
|
@@ -1,52 +1,56 @@
|
|
|
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 _chunkWXPY5FRFcjs = require('./chunk-WXPY5FRF.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRMLXUVR5cjs = require('./chunk-RMLXUVR5.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk66WIOZXXcjs = require('./chunk-66WIOZXX.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk323JTLXRcjs = require('./chunk-323JTLXR.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk2HC46EGUcjs = require('./chunk-2HC46EGU.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkB6JPBPBQcjs = require('./chunk-B6JPBPBQ.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkPFVNPOKNcjs = require('./chunk-PFVNPOKN.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk27IPPPCVcjs = require('./chunk-27IPPPCV.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkUHTXBC4Qcjs = require('./chunk-UHTXBC4Q.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkF5JTXLS7cjs = require('./chunk-F5JTXLS7.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkM6W3AN57cjs = require('./chunk-M6W3AN57.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkYHALJBYTcjs = require('./chunk-YHALJBYT.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
47
|
+
var _chunk4JCX33RZcjs = require('./chunk-4JCX33RZ.cjs');
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
48
51
|
|
|
49
52
|
// src/ssg.ts
|
|
53
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
50
54
|
var _fs = require('fs'); var fs = _interopRequireWildcard(_fs);
|
|
51
55
|
var _promises = require('fs/promises');
|
|
52
56
|
var REQUEST_API_LABELS = /* @__PURE__ */ new Map([
|
|
@@ -66,7 +70,7 @@ var ROUTE_PROP_LABELS = /* @__PURE__ */ new Map([
|
|
|
66
70
|
["context", "request context"]
|
|
67
71
|
]);
|
|
68
72
|
function resolveConfiguredRouteRenderingConfig(mod, source, options) {
|
|
69
|
-
return
|
|
73
|
+
return _chunk66WIOZXXcjs.mergeRouteRenderingDirectiveConfig.call(void 0, parseRouteRenderingDirective(source), mod, options);
|
|
70
74
|
}
|
|
71
75
|
function resolveRouteRenderingConfig(mod, source, options) {
|
|
72
76
|
const rendering = resolveConfiguredRouteRenderingConfig(mod, source, options);
|
|
@@ -427,7 +431,7 @@ async function collectSSGPages(routes, loadModule, options = {}) {
|
|
|
427
431
|
continue;
|
|
428
432
|
}
|
|
429
433
|
const source = await _promises.readFile.call(void 0, route.filePath, "utf8").catch(() => void 0);
|
|
430
|
-
if (_optionalChain([options, 'access', _43 => _43.docsAdapterRoutes, 'optionalAccess', _44 => _44.owns, 'call', _45 => _45(route.path)]) &&
|
|
434
|
+
if (_optionalChain([options, 'access', _43 => _43.docsAdapterRoutes, 'optionalAccess', _44 => _44.owns, 'call', _45 => _45(route.path)]) && _chunk27IPPPCVcjs.isFarmMarkdownPageFile.call(void 0, route.filePath)) {
|
|
431
435
|
ssrRoutes.push(route.path);
|
|
432
436
|
if (options.suggestStaticRendering !== false && analyzeStaticRouteCandidate(null, source, { isDynamic: route.isDynamic }).candidate) {
|
|
433
437
|
staticCandidateDocsPages += 1;
|
|
@@ -453,11 +457,11 @@ async function collectSSGPages(routes, loadModule, options = {}) {
|
|
|
453
457
|
);
|
|
454
458
|
}
|
|
455
459
|
const paths = await getStaticPaths();
|
|
456
|
-
const optionalCatchAllParams =
|
|
460
|
+
const optionalCatchAllParams = _chunk66WIOZXXcjs.getOptionalCatchAllParameterNames.call(void 0, route.path);
|
|
457
461
|
const materializedPages = paths.map((params) => ({
|
|
458
|
-
urlPath:
|
|
462
|
+
urlPath: _chunk66WIOZXXcjs.materializeSSGRoutePath.call(void 0, route.path, params),
|
|
459
463
|
filePath: route.filePath,
|
|
460
|
-
params:
|
|
464
|
+
params: _chunk66WIOZXXcjs.normalizeStaticPathParams.call(void 0, params, optionalCatchAllParams),
|
|
461
465
|
revalidate: rendering.revalidate
|
|
462
466
|
}));
|
|
463
467
|
ssgPages.push(...materializedPages);
|
|
@@ -529,13 +533,14 @@ function matchSSGPage(urlPath, ssgPages) {
|
|
|
529
533
|
}
|
|
530
534
|
|
|
531
535
|
// src/image-types.ts
|
|
536
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
532
537
|
|
|
533
538
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
534
539
|
var FARM_STATIC_IMAGE_EXTENSIONS = ["avif", "gif", "jpeg", "jpg", "png", "webp"];
|
|
535
540
|
function generateFarmImageTypes(options) {
|
|
536
541
|
const outputPath = options.outFile ? path2.default.resolve(options.root, options.outFile) : path2.default.join(options.root, options.srcDir || "src", "farm-images.d.ts");
|
|
537
542
|
_fs.mkdirSync.call(void 0, path2.default.dirname(outputPath), { recursive: true });
|
|
538
|
-
|
|
543
|
+
_chunkB6JPBPBQcjs.writeFileIfChanged.call(void 0, outputPath, createFarmImageTypeDeclarations());
|
|
539
544
|
return outputPath;
|
|
540
545
|
}
|
|
541
546
|
function createFarmImageTypeDeclarations() {
|
|
@@ -560,15 +565,16 @@ declare module "*?url" {
|
|
|
560
565
|
}
|
|
561
566
|
|
|
562
567
|
// src/i18n/type-generator.ts
|
|
568
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
563
569
|
|
|
564
570
|
|
|
565
571
|
async function generateFarmI18nTypes(options) {
|
|
566
572
|
if (!options.config.enabled) return void 0;
|
|
567
|
-
const { signatures } = await
|
|
573
|
+
const { signatures } = await _chunkYHALJBYTcjs.readFarmI18nCatalogs.call(void 0, options.config);
|
|
568
574
|
const outFile = options.outFile ? _path.resolve.call(void 0, options.root, options.outFile) : _path.join.call(void 0, _path.resolve.call(void 0, options.root), options.srcDir || "src", "farm-i18n.d.ts");
|
|
569
575
|
const content = renderFarmI18nTypes(options.config.locales, signatures);
|
|
570
576
|
_fs.mkdirSync.call(void 0, _path.dirname.call(void 0, outFile), { recursive: true });
|
|
571
|
-
|
|
577
|
+
_chunkB6JPBPBQcjs.writeFileIfChanged.call(void 0, outFile, content);
|
|
572
578
|
return outFile;
|
|
573
579
|
}
|
|
574
580
|
function renderFarmI18nTypes(locales, signatures) {
|
|
@@ -610,10 +616,12 @@ function argumentType(kind) {
|
|
|
610
616
|
}
|
|
611
617
|
|
|
612
618
|
// src/type-artifacts.ts
|
|
619
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
613
620
|
|
|
614
621
|
|
|
615
622
|
|
|
616
623
|
// src/content-types.ts
|
|
624
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
617
625
|
|
|
618
626
|
|
|
619
627
|
var CONFIG_FILENAMES = [
|
|
@@ -721,14 +729,15 @@ function toTypeImportPath(outPath, targetPath) {
|
|
|
721
729
|
}
|
|
722
730
|
|
|
723
731
|
// src/schema-model-types.ts
|
|
732
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
724
733
|
function createSyncModelTypeDeclarations(plugins) {
|
|
725
734
|
const rowEntries = [];
|
|
726
735
|
const insertEntries = [];
|
|
727
736
|
for (const plugin of _nullishCoalesce(plugins, () => ( []))) {
|
|
728
|
-
const declaration =
|
|
737
|
+
const declaration = _chunkF5JTXLS7cjs.readSchemaTables.call(void 0, plugin);
|
|
729
738
|
if (!declaration || declaration.name !== "sync") continue;
|
|
730
739
|
const exposed = declaration.models ? new Set(declaration.models) : null;
|
|
731
|
-
const models =
|
|
740
|
+
const models = _chunkUHTXBC4Qcjs.resolveSchemaModels.call(void 0, declaration.name, declaration.schema);
|
|
732
741
|
for (const [modelKey, model] of Object.entries(models)) {
|
|
733
742
|
if (exposed && !exposed.has(modelKey)) continue;
|
|
734
743
|
if (model.external) continue;
|
|
@@ -799,8 +808,8 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
799
808
|
const shouldGenerateEnv = options.env !== false;
|
|
800
809
|
const shouldGenerateImages = options.images !== false;
|
|
801
810
|
const shouldGenerateI18n = options.i18n !== false && _optionalChain([options, 'access', _53 => _53.i18nConfig, 'optionalAccess', _54 => _54.enabled]);
|
|
802
|
-
const sourceRoots =
|
|
803
|
-
const appDirs =
|
|
811
|
+
const sourceRoots = _chunkPFVNPOKNcjs.getFarmSourceRoots.call(void 0, { root, srcDir, layers: options.layers });
|
|
812
|
+
const appDirs = _chunkPFVNPOKNcjs.getFarmAppDirectories.call(void 0, { root, srcDir, layers: options.layers });
|
|
804
813
|
const result = {
|
|
805
814
|
apiRoutes: [],
|
|
806
815
|
stalePaths: []
|
|
@@ -818,7 +827,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
818
827
|
renderer: options.renderer,
|
|
819
828
|
sourceRoots
|
|
820
829
|
};
|
|
821
|
-
unifiedSections.push(await
|
|
830
|
+
unifiedSections.push(await _chunkWXPY5FRFcjs.createRouteTypeDeclarations.call(void 0, routeOptions, unifiedTypesPath));
|
|
822
831
|
result.routeTypesPath = unifiedTypesPath;
|
|
823
832
|
} else if (shouldGenerateRoutes) {
|
|
824
833
|
const routeOptions = {
|
|
@@ -833,19 +842,19 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
833
842
|
};
|
|
834
843
|
if (options.check) {
|
|
835
844
|
const routeTypesPath = resolveGeneratedPath(root, srcDir, options.routeTypesOutFile);
|
|
836
|
-
const content = await
|
|
845
|
+
const content = await _chunkWXPY5FRFcjs.createRouteTypeDeclarations.call(void 0, routeOptions, routeTypesPath);
|
|
837
846
|
checkGeneratedFile(routeTypesPath, content, result.stalePaths);
|
|
838
847
|
result.routeTypesPath = routeTypesPath;
|
|
839
848
|
} else {
|
|
840
|
-
result.routeTypesPath = await
|
|
849
|
+
result.routeTypesPath = await _chunkWXPY5FRFcjs.generateRouteTypes.call(void 0, routeOptions);
|
|
841
850
|
}
|
|
842
851
|
}
|
|
843
852
|
if (shouldGenerateApi) {
|
|
844
|
-
const generator = new (0,
|
|
853
|
+
const generator = new (0, _chunkRMLXUVR5cjs.APITypeGenerator)(appDirs);
|
|
845
854
|
const apiRoutes = generator.scanAPIRoutes();
|
|
846
855
|
const apiTypesPath = options.apiTypesOutFile ? _path.resolve.call(void 0, root, options.apiTypesOutFile) : _path.join.call(void 0, root, srcDir, "lib", "api.generated.ts");
|
|
847
|
-
const pluginRoutes =
|
|
848
|
-
_optionalChain([options, 'access', _55 => _55.plugins, 'optionalAccess', _56 => _56.filter, 'call', _57 => _57((plugin) => plugin.name !==
|
|
856
|
+
const pluginRoutes = _chunk4JCX33RZcjs.resolvePluginRoutes.call(void 0,
|
|
857
|
+
_optionalChain([options, 'access', _55 => _55.plugins, 'optionalAccess', _56 => _56.filter, 'call', _57 => _57((plugin) => plugin.name !== _chunk323JTLXRcjs.FARM_NATIVE_SERVER_FN_PLUGIN)])
|
|
849
858
|
);
|
|
850
859
|
const configFiles = [
|
|
851
860
|
...(_nullishCoalesce(options.layers, () => ( []))).map((layer) => layer.configFile).filter((file) => Boolean(file)),
|
|
@@ -878,7 +887,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
878
887
|
}
|
|
879
888
|
if (shouldRefreshUnifiedTypes && !options.envTypesOutFile) {
|
|
880
889
|
unifiedSections.push(
|
|
881
|
-
|
|
890
|
+
_chunk2HC46EGUcjs.createEnvTypeDeclarations.call(void 0,
|
|
882
891
|
{
|
|
883
892
|
root,
|
|
884
893
|
srcDir,
|
|
@@ -901,12 +910,12 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
901
910
|
const envTypesPath = resolveGeneratedPath(root, srcDir, options.envTypesOutFile);
|
|
902
911
|
checkGeneratedFile(
|
|
903
912
|
envTypesPath,
|
|
904
|
-
|
|
913
|
+
_chunk2HC46EGUcjs.createEnvTypeDeclarations.call(void 0, envOptions, envTypesPath),
|
|
905
914
|
result.stalePaths
|
|
906
915
|
);
|
|
907
916
|
result.envTypesPath = envTypesPath;
|
|
908
917
|
} else {
|
|
909
|
-
result.envTypesPath = await
|
|
918
|
+
result.envTypesPath = await _chunk2HC46EGUcjs.generateEnvTypes.call(void 0, envOptions);
|
|
910
919
|
}
|
|
911
920
|
}
|
|
912
921
|
if (shouldGenerateImages && options.imageTypesOutFile) {
|
|
@@ -923,13 +932,13 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
923
932
|
}
|
|
924
933
|
}
|
|
925
934
|
if (shouldRefreshUnifiedTypes && _optionalChain([options, 'access', _58 => _58.i18nConfig, 'optionalAccess', _59 => _59.enabled]) && !options.i18nTypesOutFile) {
|
|
926
|
-
const { signatures } = await
|
|
935
|
+
const { signatures } = await _chunkYHALJBYTcjs.readFarmI18nCatalogs.call(void 0, options.i18nConfig);
|
|
927
936
|
unifiedSections.push(renderFarmI18nTypes(options.i18nConfig.locales, signatures));
|
|
928
937
|
result.i18nTypesPath = unifiedTypesPath;
|
|
929
938
|
} else if (shouldGenerateI18n && options.i18nConfig) {
|
|
930
939
|
if (options.check) {
|
|
931
940
|
const i18nTypesPath = resolveGeneratedPath(root, srcDir, options.i18nTypesOutFile, false);
|
|
932
|
-
const { signatures } = await
|
|
941
|
+
const { signatures } = await _chunkYHALJBYTcjs.readFarmI18nCatalogs.call(void 0, options.i18nConfig);
|
|
933
942
|
checkGeneratedFile(
|
|
934
943
|
i18nTypesPath,
|
|
935
944
|
renderFarmI18nTypes(options.i18nConfig.locales, signatures),
|
|
@@ -952,7 +961,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
952
961
|
if (syncModelTypes) unifiedSections.push(syncModelTypes);
|
|
953
962
|
}
|
|
954
963
|
if (shouldRefreshUnifiedTypes && _fs.existsSync.call(void 0, _path.join.call(void 0, root, srcDir, "native"))) {
|
|
955
|
-
const [{ scanFarmMobileAppModules }, { createFarmNativeModuleTypeDeclarations }] = await Promise.all([import("./modules-
|
|
964
|
+
const [{ scanFarmMobileAppModules }, { createFarmNativeModuleTypeDeclarations }] = await Promise.all([import("./modules-JDPCBWND.cjs"), import("./native-specs-IXHEIZCD.cjs")]);
|
|
956
965
|
const appModules = scanFarmMobileAppModules({ root, srcDir });
|
|
957
966
|
const nativeTypes = appModules && createFarmNativeModuleTypeDeclarations(appModules.specs, { root });
|
|
958
967
|
if (nativeTypes) unifiedSections.push(nativeTypes);
|
|
@@ -996,9 +1005,9 @@ ${unifiedSections.map(normalizeUnifiedTypeSection).join("\n\n")}
|
|
|
996
1005
|
}
|
|
997
1006
|
function createStorageMountDeclarations(options, outPath) {
|
|
998
1007
|
const storage = options.storage;
|
|
999
|
-
if (!storage || !("mounts" in storage) || !Object.values(_nullishCoalesce(storage.mounts, () => ( {}))).some(
|
|
1008
|
+
if (!storage || !("mounts" in storage) || !Object.values(_nullishCoalesce(storage.mounts, () => ( {}))).some(_chunkM6W3AN57cjs.isManagedMount))
|
|
1000
1009
|
return;
|
|
1001
|
-
const project =
|
|
1010
|
+
const project = _chunkPFVNPOKNcjs.findFarmConfigFile.call(void 0,
|
|
1002
1011
|
options.root,
|
|
1003
1012
|
options.configPath && _path.resolve.call(void 0, options.root, options.configPath)
|
|
1004
1013
|
);
|
|
@@ -1037,10 +1046,10 @@ function writeOrCheckGeneratedFile(filePath, content, check, stalePaths) {
|
|
|
1037
1046
|
return;
|
|
1038
1047
|
}
|
|
1039
1048
|
_fs.mkdirSync.call(void 0, _path.dirname.call(void 0, filePath), { recursive: true });
|
|
1040
|
-
|
|
1049
|
+
_chunkB6JPBPBQcjs.writeFileIfChanged.call(void 0, filePath, content);
|
|
1041
1050
|
}
|
|
1042
1051
|
function checkGeneratedFile(filePath, content, stalePaths) {
|
|
1043
|
-
if (!_fs.existsSync.call(void 0, filePath) || !
|
|
1052
|
+
if (!_fs.existsSync.call(void 0, filePath) || !_chunkB6JPBPBQcjs.isGeneratedFileCurrent.call(void 0, _fs.readFileSync.call(void 0, filePath, "utf8"), content)) {
|
|
1044
1053
|
stalePaths.push(filePath);
|
|
1045
1054
|
}
|
|
1046
1055
|
}
|
|
@@ -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/routing/specificity.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var AmbiguousRouteError = class extends Error {
|
|
3
8
|
constructor(message) {
|
|
4
9
|
super(message);
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkIDUGG7VRcjs = require('./chunk-IDUGG7VR.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
6
9
|
|
|
7
10
|
// src/docs/engine.ts
|
|
8
|
-
|
|
11
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
12
|
+
var FARMING_LABS_DOCS_INSTALL_HINT = _chunkIDUGG7VRcjs.formatOptionalPeerInstallHint.call(void 0,
|
|
9
13
|
"@farming-labs/docs",
|
|
10
14
|
"use the docs engine"
|
|
11
15
|
);
|
|
@@ -36,8 +40,8 @@ function loadFarmDocsOpenApiDiscovery() {
|
|
|
36
40
|
return loadingOpenApiDiscovery;
|
|
37
41
|
}
|
|
38
42
|
function docsEngineLoadError(error) {
|
|
39
|
-
if (!
|
|
40
|
-
return
|
|
43
|
+
if (!_chunkIDUGG7VRcjs.isMissingPackageError.call(void 0, error, "@farming-labs/docs")) return error;
|
|
44
|
+
return _chunkIDUGG7VRcjs.withOptionalPeerCause.call(void 0,
|
|
41
45
|
new Error(
|
|
42
46
|
`docs is enabled, but @farming-labs/docs is not installed. ${FARMING_LABS_DOCS_INSTALL_HINT}`
|
|
43
47
|
),
|
|
@@ -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(); } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/base-path.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var FARM_BASE_PATH = /* @__PURE__ */ Symbol.for("farm.basePath");
|
|
3
8
|
function getFarmGlobalState() {
|
|
4
9
|
return globalThis;
|
|
@@ -63,15 +63,8 @@ function createMarkdownMetadata(source, filePath) {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
async function compileFarmMarkdownPage(body) {
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
import("remark-gfm")
|
|
69
|
-
]);
|
|
70
|
-
const compiled = await compile(body, {
|
|
71
|
-
outputFormat: "function-body",
|
|
72
|
-
remarkPlugins: [remarkGfmModule.default]
|
|
73
|
-
});
|
|
74
|
-
return String(compiled);
|
|
66
|
+
const { compileMarkdownPageBody } = await import("./app-markdown-compiler-OM2AMFRK.mjs");
|
|
67
|
+
return compileMarkdownPageBody(body);
|
|
75
68
|
}
|
|
76
69
|
var AsyncFunction = Object.getPrototypeOf(async () => {
|
|
77
70
|
}).constructor;
|
|
@@ -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 _chunkLG62AYPQcjs = require('./chunk-LG62AYPQ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/env.ts
|
|
9
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
6
10
|
var FARM_ENV_SYMBOL = /* @__PURE__ */ Symbol.for("farm.env");
|
|
7
11
|
var FARM_ENV_RUNTIME_SYMBOL = /* @__PURE__ */ Symbol.for("farm.env.runtime");
|
|
8
12
|
var farmEnvGlobal = globalThis;
|
|
@@ -140,7 +144,7 @@ function readRuntimeServerEnv(env2) {
|
|
|
140
144
|
const state = env2[FARM_ENV_RUNTIME_SYMBOL];
|
|
141
145
|
if (!state) return;
|
|
142
146
|
for (const [key, type] of Object.entries(state.pending)) {
|
|
143
|
-
const raw =
|
|
147
|
+
const raw = _chunkLG62AYPQcjs.readFarmEnvironmentValue.call(void 0, key);
|
|
144
148
|
if (raw === void 0) continue;
|
|
145
149
|
env2.server[key] = coerceRuntimeEnvValue(raw, type);
|
|
146
150
|
delete state.pending[key];
|
|
@@ -6,9 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkKXXZDS7Ccjs = require('./chunk-KXXZDS7C.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
10
13
|
|
|
11
14
|
// src/client/island-codec.ts
|
|
15
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
12
16
|
var TYPED_ARRAYS = {
|
|
13
17
|
Int8Array,
|
|
14
18
|
Uint8Array,
|
|
@@ -36,10 +40,10 @@ function fromBase64(base64) {
|
|
|
36
40
|
return bytes;
|
|
37
41
|
}
|
|
38
42
|
function farmTagged(tag, value) {
|
|
39
|
-
return value === void 0 ? { [
|
|
43
|
+
return value === void 0 ? { [_chunkKXXZDS7Ccjs.FARM_TAG]: tag } : { [_chunkKXXZDS7Ccjs.FARM_TAG]: tag, [_chunkKXXZDS7Ccjs.FARM_TAG_VALUE]: value };
|
|
40
44
|
}
|
|
41
45
|
function needsFarmObjectTag(object) {
|
|
42
|
-
return Object.prototype.hasOwnProperty.call(object,
|
|
46
|
+
return Object.prototype.hasOwnProperty.call(object, _chunkKXXZDS7Ccjs.FARM_TAG);
|
|
43
47
|
}
|
|
44
48
|
function encodeFarmLeaf(value) {
|
|
45
49
|
switch (typeof value) {
|
|
@@ -89,14 +93,14 @@ function farmPlainObject(entries) {
|
|
|
89
93
|
return object;
|
|
90
94
|
}
|
|
91
95
|
function decodeFarmTagged(object, decodeChild) {
|
|
92
|
-
const tag = object[
|
|
93
|
-
const data = object[
|
|
96
|
+
const tag = object[_chunkKXXZDS7Ccjs.FARM_TAG];
|
|
97
|
+
const data = object[_chunkKXXZDS7Ccjs.FARM_TAG_VALUE];
|
|
94
98
|
switch (tag) {
|
|
95
|
-
case
|
|
96
|
-
case
|
|
97
|
-
case
|
|
99
|
+
case _chunkKXXZDS7Ccjs.FARM_REFERENCE_TAG:
|
|
100
|
+
case _chunkKXXZDS7Ccjs.FARM_SLOT_TAG:
|
|
101
|
+
case _chunkKXXZDS7Ccjs.FARM_ACTION_TAG:
|
|
98
102
|
return NOT_A_FARM_MARKER;
|
|
99
|
-
case
|
|
103
|
+
case _chunkKXXZDS7Ccjs.FARM_OBJECT_TAG:
|
|
100
104
|
if (data && typeof data === "object" && !Array.isArray(data)) {
|
|
101
105
|
return farmPlainObject(
|
|
102
106
|
Object.entries(data).map(([key, value]) => [key, decodeChild(value)])
|
|
@@ -184,7 +188,7 @@ function encodeFarmJson(value, seen = /* @__PURE__ */ new Set()) {
|
|
|
184
188
|
const encoded = Object.fromEntries(
|
|
185
189
|
Object.entries(value).map(([key, entry]) => [key, encodeFarmJson(entry, seen)])
|
|
186
190
|
);
|
|
187
|
-
return needsFarmObjectTag(value) ? farmTagged(
|
|
191
|
+
return needsFarmObjectTag(value) ? farmTagged(_chunkKXXZDS7Ccjs.FARM_OBJECT_TAG, encoded) : encoded;
|
|
188
192
|
} finally {
|
|
189
193
|
seen.delete(value);
|
|
190
194
|
}
|
|
@@ -192,11 +196,11 @@ function encodeFarmJson(value, seen = /* @__PURE__ */ new Set()) {
|
|
|
192
196
|
function decodeFarmJson(value) {
|
|
193
197
|
if (Array.isArray(value)) return value.map(decodeFarmJson);
|
|
194
198
|
if (!value || typeof value !== "object") return value;
|
|
195
|
-
if (
|
|
199
|
+
if (_chunkKXXZDS7Ccjs.getFarmTag.call(void 0, value) !== void 0) {
|
|
196
200
|
const decoded = decodeFarmTagged(value, decodeFarmJson);
|
|
197
201
|
if (decoded === NOT_A_FARM_MARKER) {
|
|
198
202
|
throw new TypeError(
|
|
199
|
-
`a ${JSON.stringify(value[
|
|
203
|
+
`a ${JSON.stringify(value[_chunkKXXZDS7Ccjs.FARM_TAG])} reference is not allowed here`
|
|
200
204
|
);
|
|
201
205
|
}
|
|
202
206
|
return decoded;
|
|
@@ -1,20 +1,30 @@
|
|
|
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 _chunk3ACTVXZGcjs = require('./chunk-3ACTVXZG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRFKPIAOFcjs = require('./chunk-RFKPIAOF.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkVIDUNAQEcjs = require('./chunk-VIDUNAQE.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkSWOJU7LIcjs = require('./chunk-SWOJU7LI.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkTFCBJFP7cjs = require('./chunk-TFCBJFP7.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
19
|
+
|
|
20
|
+
// src/markdown.ts
|
|
21
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
22
|
+
|
|
23
|
+
// src/markdown-view.ts
|
|
24
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
16
25
|
|
|
17
26
|
// src/agent-identity.ts
|
|
27
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
18
28
|
var CLIENT_TOKENS = [
|
|
19
29
|
["ChatGPT-User", "ChatGPT-User", "openai", "agent"],
|
|
20
30
|
["OAI-SearchBot", "OAI-SearchBot", "openai", "crawler"],
|
|
@@ -260,7 +270,7 @@ function emitFarmAgentRead(request, surface, status, view) {
|
|
|
260
270
|
} catch (e) {
|
|
261
271
|
return;
|
|
262
272
|
}
|
|
263
|
-
|
|
273
|
+
_chunkRFKPIAOFcjs.emitFarmEvent.call(void 0, {
|
|
264
274
|
type: "agent.read",
|
|
265
275
|
surface,
|
|
266
276
|
route,
|
|
@@ -706,7 +716,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
706
716
|
for (const form of actions) {
|
|
707
717
|
if (!_optionalChain([form, 'access', _24 => _24.action, 'optionalAccess', _25 => _25.startsWith, 'call', _26 => _26("/")])) continue;
|
|
708
718
|
const pathname = new URL(form.action, pageUrl.origin).pathname;
|
|
709
|
-
const tool = _nullishCoalesce(
|
|
719
|
+
const tool = _nullishCoalesce(_chunk3ACTVXZGcjs._findFarmMCPEndpointTool.call(void 0, form.method, pathname, options.apiServerBasePath), () => ( _chunk3ACTVXZGcjs._findFarmMCPEndpointTool.call(void 0, form.method, _chunkTFCBJFP7cjs.stripFarmBasePath.call(void 0, pathname), options.apiServerBasePath)));
|
|
710
720
|
if (tool) form.tool = tool;
|
|
711
721
|
}
|
|
712
722
|
const markdown = pageResponse.status < 400 && requestUrl.searchParams.has("actions") ? "" : convertHtmlToMarkdown(
|
|
@@ -735,7 +745,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
735
745
|
const cache = _nullishCoalesce(_nullishCoalesce(_optionalChain([target, 'access', _36 => _36.route, 'optionalAccess', _37 => _37.cache]), () => ( _optionalChain([options, 'access', _38 => _38.config, 'optionalAccess', _39 => _39.cache]))), () => ( false));
|
|
736
746
|
headersOut.set(
|
|
737
747
|
"Cache-Control",
|
|
738
|
-
pageCacheControl && isPrivateCacheControl(pageCacheControl) ? pageCacheControl :
|
|
748
|
+
pageCacheControl && isPrivateCacheControl(pageCacheControl) ? pageCacheControl : _chunkVIDUNAQEcjs.withoutFarmDeploymentCookie.call(void 0, headers.get("cookie")) || headers.has("authorization") ? "private, no-store" : createMarkdownCacheHeader(cache)
|
|
739
749
|
);
|
|
740
750
|
preserveMarkdownResponseCookies(pageResponse.headers, headersOut);
|
|
741
751
|
if (pageResponse.status >= 400) {
|
|
@@ -819,7 +829,7 @@ function applyMarkdownNegotiationHeaders(response, options) {
|
|
|
819
829
|
if (!alternatePath) {
|
|
820
830
|
return response;
|
|
821
831
|
}
|
|
822
|
-
return
|
|
832
|
+
return _chunkSWOJU7LIcjs._withFarmResponseHeaders.call(void 0, response, (headers) => {
|
|
823
833
|
appendHeaderToken(headers, "Vary", "Accept");
|
|
824
834
|
headers.append("Link", `<${alternatePath}>; rel="alternate"; type="text/markdown"`);
|
|
825
835
|
});
|
|
@@ -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-capabilities.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
function assertNoSchemaListField(field, fieldPath, target) {
|
|
3
8
|
if (!field.list) {
|
|
4
9
|
return;
|
|
@@ -9,6 +14,7 @@ function assertNoSchemaListField(field, fieldPath, target) {
|
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
// src/schema-reference.ts
|
|
17
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
12
18
|
function isDatabaseEnforcedReference(reference) {
|
|
13
19
|
return reference.enforced === void 0 || reference.enforced === "db";
|
|
14
20
|
}
|
|
@@ -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; } } 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 _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
|
+
|
|
3
|
+
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
|
+
|
|
5
|
+
// src/mobile/native-specs.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var _fs = require('fs');
|
|
3
8
|
var _module = require('module');
|
|
4
9
|
var _path = require('path'); var path = _interopRequireWildcard(_path);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __typeError = (msg) => {
|
|
6
8
|
throw TypeError(msg);
|
|
@@ -12,6 +14,12 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
12
14
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
15
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
16
|
});
|
|
17
|
+
var __esm = (fn, res) => function __init() {
|
|
18
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
19
|
+
};
|
|
20
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
21
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
22
|
+
};
|
|
15
23
|
var __export = (target, all) => {
|
|
16
24
|
for (var name in all)
|
|
17
25
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -25,6 +33,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
25
33
|
return to;
|
|
26
34
|
};
|
|
27
35
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
36
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
37
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
38
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
39
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
40
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
41
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
42
|
+
mod
|
|
43
|
+
));
|
|
28
44
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
29
45
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
30
46
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
@@ -32,7 +48,15 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
32
48
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
33
49
|
|
|
34
50
|
// <define:import.meta>
|
|
35
|
-
var define_import_meta_default
|
|
51
|
+
var define_import_meta_default;
|
|
52
|
+
var init_define_import_meta = __esm({
|
|
53
|
+
"<define:import.meta>"() {
|
|
54
|
+
define_import_meta_default = exports.define_import_meta_default = {};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
36
60
|
|
|
37
61
|
|
|
38
62
|
|
|
@@ -43,4 +67,4 @@ var define_import_meta_default = {};
|
|
|
43
67
|
|
|
44
68
|
|
|
45
69
|
|
|
46
|
-
exports.__require = __require; exports.__export = __export; exports.__reExport = __reExport; exports.__publicField = __publicField; exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.define_import_meta_default = define_import_meta_default;
|
|
70
|
+
exports.__require = __require; exports.__commonJS = __commonJS; exports.__export = __export; exports.__reExport = __reExport; exports.__toESM = __toESM; exports.__publicField = __publicField; exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.init_define_import_meta = init_define_import_meta; exports.define_import_meta_default = define_import_meta_default;
|
|
@@ -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/schema-primary-key.ts
|
|
6
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
2
7
|
var SUPPORTED_PRIMARY_KEY_TYPES = /* @__PURE__ */ new Set(["id", "uuid", "string", "integer"]);
|
|
3
8
|
function assertSupportedPrimaryKeyField(location, field) {
|
|
4
9
|
if (!field.primaryKey || SUPPORTED_PRIMARY_KEY_TYPES.has(field.type)) {
|
|
@@ -10,6 +15,7 @@ function assertSupportedPrimaryKeyField(location, field) {
|
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
// src/schema-resolve.ts
|
|
18
|
+
_chunkUGL4BDNBcjs.init_define_import_meta.call(void 0, );
|
|
13
19
|
function resolveSchemaModels(ownerKey, schema) {
|
|
14
20
|
const models = Object.fromEntries(
|
|
15
21
|
Object.entries(schema.models).map(([modelKey, model]) => [modelKey, cloneSchemaModel(model)])
|