@farm.js/core 0.1.65 → 0.1.67
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/{agent-mcp-handler-QLFDDTYN.mjs → agent-mcp-handler-AZ7QW4UP.mjs} +5 -5
- package/dist/{agent-mcp-handler-OXT73ZBY.cjs → agent-mcp-handler-FER4MQDF.cjs} +6 -6
- package/dist/{agent-mcp.d-QD2WZ9BS.d.ts → agent-mcp.d-BFu9xHAi.d.ts} +1 -1
- package/dist/{agent-mcp.d-CO_ABmNK.d.mts → agent-mcp.d-DWyWkTSy.d.mts} +1 -1
- package/dist/agent-runtime.cjs +6 -5
- package/dist/agent-runtime.d.mts +6 -6
- package/dist/agent-runtime.d.ts +6 -6
- package/dist/agent-runtime.mjs +5 -4
- package/dist/analyzer-KVZGVY5Q.cjs +16 -0
- package/dist/{analyzer-PE33SK5W.mjs → analyzer-TTIIXXMQ.mjs} +3 -3
- package/dist/api/client.cjs +12 -2
- package/dist/api/client.d.mts +4 -4
- package/dist/api/client.d.ts +4 -4
- package/dist/api/client.mjs +12 -2
- package/dist/api/client.native.cjs +12 -2
- package/dist/api/client.native.d.mts +5 -5
- package/dist/api/client.native.d.ts +5 -5
- package/dist/api/client.native.mjs +12 -2
- package/dist/api/node.cjs +223 -0
- package/dist/api/node.d.mts +59 -0
- package/dist/api/node.d.ts +59 -0
- package/dist/api/node.mjs +223 -0
- package/dist/api/route-manager.cjs +11 -11
- package/dist/api/route-manager.d.mts +10 -9
- package/dist/api/route-manager.d.ts +10 -9
- package/dist/api/route-manager.mjs +10 -10
- package/dist/api/runtime.cjs +11 -7
- package/dist/api/runtime.d.mts +7 -7
- package/dist/api/runtime.d.ts +7 -7
- package/dist/api/runtime.mjs +10 -6
- package/dist/{api-client.d-BNLXNCXJ.d.mts → api-client.d-Bp35zMqR.d.mts} +1 -1
- package/dist/{api-client.d-ddQBNGtu.d.ts → api-client.d-CFI_xL0V.d.ts} +1 -1
- package/dist/api.cjs +17 -13
- package/dist/api.d.mts +11 -10
- package/dist/api.d.ts +11 -10
- package/dist/api.mjs +16 -12
- package/dist/{app-manifest.d-BpKxiU_E.d.mts → app-manifest.d-CRmjN5j9.d.mts} +1 -1
- package/dist/{app-manifest.d-DDmNkYQQ.d.ts → app-manifest.d-CwfhGrVR.d.ts} +1 -1
- package/dist/app-markdown.cjs +5 -5
- package/dist/app-markdown.d.mts +7 -7
- package/dist/app-markdown.d.ts +7 -7
- package/dist/app-markdown.mjs +4 -4
- package/dist/{app.d-x68Cwr0_.d.ts → app.d-BX9LVTiP.d.ts} +50 -9
- package/dist/{app.d-kuoVWhWM.d.mts → app.d-uBBUxwyV.d.mts} +50 -9
- package/dist/{chunk-V56632LA.cjs → chunk-22IWL4YD.cjs} +19 -5
- package/dist/{chunk-CZF4XIRZ.cjs → chunk-23PVOIPT.cjs} +3 -3
- package/dist/{chunk-5C7XMKQ4.cjs → chunk-2AFW7673.cjs} +6 -1
- package/dist/{chunk-SYW346ZN.cjs → chunk-2LHZD3OP.cjs} +1 -21
- package/dist/{chunk-ZZI56IUY.mjs → chunk-2ZOYOYEE.mjs} +13 -13
- package/dist/{chunk-RVGSVQWT.mjs → chunk-3T5TLFCQ.mjs} +10 -5
- package/dist/{chunk-XBSKPLHF.cjs → chunk-3T7ALZJF.cjs} +2 -2
- package/dist/{chunk-JCEFKP5M.mjs → chunk-423SSBYQ.mjs} +6 -0
- package/dist/{chunk-7QVRWGBL.cjs → chunk-4DRINDGN.cjs} +319 -138
- package/dist/{chunk-O6L3YYPM.cjs → chunk-4E57QHPW.cjs} +8 -16
- package/dist/{chunk-WKPBIT5Q.cjs → chunk-4HGLJOXZ.cjs} +6 -6
- package/dist/{chunk-JGAE5XPL.cjs → chunk-4JX3M4C6.cjs} +2 -1
- package/dist/{chunk-CJNAUEVC.mjs → chunk-4QENVMG7.mjs} +1 -1
- package/dist/{chunk-IMK32ERL.cjs → chunk-556H7JCE.cjs} +65 -48
- package/dist/{chunk-OLIGNTWU.cjs → chunk-5NFQ6AZI.cjs} +7 -7
- package/dist/{chunk-6HRAK7I5.mjs → chunk-5OFNUETM.mjs} +8 -2
- package/dist/{chunk-TZVUF5JJ.mjs → chunk-5TA63JD3.mjs} +4 -4
- package/dist/{chunk-RD623KW4.cjs → chunk-67MZTLTF.cjs} +21 -3
- package/dist/chunk-6I4BFRE7.cjs +51 -0
- package/dist/{chunk-OSFIUSYK.cjs → chunk-6R53ZWX2.cjs} +7 -7
- package/dist/{chunk-MGKW5XZE.cjs → chunk-6SQZXRJ2.cjs} +7 -7
- package/dist/{chunk-WNXVWXG3.cjs → chunk-6V5YWI4W.cjs} +2 -2
- package/dist/{chunk-BM2LH2JM.mjs → chunk-6YBYX4K4.mjs} +13 -12
- package/dist/{chunk-X3XUZWRB.mjs → chunk-724MGMIL.mjs} +17 -3
- package/dist/{chunk-K5EW7GUU.mjs → chunk-7BIW7VCW.mjs} +13 -5
- package/dist/{chunk-HPP2II4Z.mjs → chunk-7PJARAQQ.mjs} +1 -1
- package/dist/{chunk-LEJDW34D.cjs → chunk-7PPLTD3P.cjs} +3 -3
- package/dist/{chunk-TGULJSHD.mjs → chunk-AJNBTOVQ.mjs} +20 -9
- package/dist/{chunk-FBEBSAVI.cjs → chunk-AKIQ54FK.cjs} +82 -63
- package/dist/{chunk-2NGZFOKG.mjs → chunk-AOIUYHPH.mjs} +2 -2
- package/dist/{chunk-ZEXE4TGY.mjs → chunk-AQDLVHNF.mjs} +230 -110
- package/dist/{chunk-NKRZLQUK.mjs → chunk-AQIO3RNL.mjs} +1 -1
- package/dist/chunk-AQIRXBBY.cjs +26 -0
- package/dist/chunk-AZ6IW6SF.mjs +28 -0
- package/dist/{chunk-QMDU6QHN.mjs → chunk-B6RBJJ5G.mjs} +1 -1
- package/dist/{chunk-I32V5CZL.cjs → chunk-BDYM2TN3.cjs} +28 -17
- package/dist/{chunk-JLDNXURZ.cjs → chunk-BZWTBELF.cjs} +32 -32
- package/dist/{chunk-ITV4QQL2.cjs → chunk-C6CUUBY5.cjs} +14 -3
- package/dist/{chunk-V727H3RI.cjs → chunk-CCAUIBIS.cjs} +6 -0
- package/dist/{chunk-YN6BHOYY.cjs → chunk-CL52PD6D.cjs} +10 -3
- package/dist/{chunk-ZX2JHEWW.mjs → chunk-CO3YMZFD.mjs} +20 -9
- package/dist/{chunk-XURDCXNH.cjs → chunk-CSLHNBPS.cjs} +6 -6
- package/dist/{chunk-CNNBFGL5.cjs → chunk-DB2HSHQA.cjs} +14 -14
- package/dist/{chunk-XQSYOVCW.cjs → chunk-DBYNZIIQ.cjs} +13 -5
- package/dist/{chunk-32RPJAAS.cjs → chunk-DCXSIEFE.cjs} +40 -41
- package/dist/{chunk-D4MRNBVF.cjs → chunk-DGOFR7D5.cjs} +2 -2
- package/dist/{chunk-QTD6EMN2.mjs → chunk-DQ2DI3Y7.mjs} +11 -4
- package/dist/chunk-DXZ57EPE.mjs +375 -0
- package/dist/{chunk-SA7MLSP4.mjs → chunk-E3HDJCWF.mjs} +3 -3
- package/dist/{chunk-EFZGB7JC.cjs → chunk-E5UN4OWX.cjs} +1 -0
- package/dist/{chunk-HKNYNSOK.mjs → chunk-E6CD45JK.mjs} +30 -31
- package/dist/{chunk-752XUZIM.cjs → chunk-EGIY4A7V.cjs} +6 -6
- package/dist/chunk-EIVGPQN5.mjs +51 -0
- package/dist/{chunk-KPAJWD3N.mjs → chunk-EYPSKXO4.mjs} +1 -1
- package/dist/{chunk-E552H232.cjs → chunk-F43OG25P.cjs} +1 -1
- package/dist/{chunk-UAQD67HM.mjs → chunk-F7JKVHU2.mjs} +1 -1
- package/dist/{chunk-QISW423S.cjs → chunk-FPBOAG6N.cjs} +2 -2
- package/dist/{chunk-2C5L5RPM.cjs → chunk-FT6KJHS3.cjs} +71 -38
- package/dist/{chunk-ES2LD2YD.mjs → chunk-GCRT6GJG.mjs} +18 -0
- package/dist/{chunk-5OJVKXFV.cjs → chunk-GDM3ZD2O.cjs} +10 -8
- package/dist/{chunk-EMDGXYUD.mjs → chunk-GJ7QVFAG.mjs} +16 -7
- package/dist/{chunk-TGSEVBPO.mjs → chunk-GJEC5S4V.mjs} +11 -0
- package/dist/{chunk-ZAUOOGER.mjs → chunk-GTV2ABO7.mjs} +218 -37
- package/dist/{chunk-72JSHQQQ.mjs → chunk-H37MDCPR.mjs} +1 -1
- package/dist/{chunk-HNAISJFD.cjs → chunk-HDPT6OYE.cjs} +9 -3
- package/dist/{chunk-25T5VXOE.mjs → chunk-HFHJJXSV.mjs} +106 -19
- package/dist/{chunk-ZNH6NR3H.cjs → chunk-HJZZSBVK.cjs} +2 -2
- package/dist/{chunk-A3G5IY2W.cjs → chunk-HM7AGSKU.cjs} +1 -1
- package/dist/{chunk-GL7N5UHF.cjs → chunk-HNVAZGQD.cjs} +20 -9
- package/dist/{chunk-GRBJ7VKH.mjs → chunk-HP2DQGQH.mjs} +1 -1
- package/dist/{chunk-E2TSYUHV.mjs → chunk-HRPTMX5C.mjs} +4 -4
- package/dist/{chunk-K7OZAVOI.mjs → chunk-IFR74W6S.mjs} +46 -13
- package/dist/{chunk-5A77OEIG.cjs → chunk-IHTDLCDJ.cjs} +5 -5
- package/dist/{chunk-VQJHT2ND.mjs → chunk-IRA2CZAY.mjs} +2 -2
- package/dist/{chunk-OYZXVBZP.cjs → chunk-IUKBPBM7.cjs} +2 -1
- package/dist/chunk-J6TZRYCO.cjs +22 -0
- package/dist/{chunk-WYAXRIYP.cjs → chunk-J7JHVCWA.cjs} +8 -8
- package/dist/chunk-JSOCDYER.cjs +375 -0
- package/dist/{chunk-YUW7F6SK.mjs → chunk-JVM3DKZE.mjs} +3 -3
- package/dist/{chunk-UPYIFH2H.cjs → chunk-JWLRBDDC.cjs} +2 -2
- package/dist/{chunk-BQWBHWEW.mjs → chunk-JWSI5WO4.mjs} +1 -1
- package/dist/{chunk-OLGQZRW6.mjs → chunk-JZBU7V4D.mjs} +37 -17
- package/dist/{chunk-ONG4RDW3.mjs → chunk-JZGL2PIH.mjs} +13 -3
- package/dist/chunk-K63OWRY2.mjs +22 -0
- package/dist/{chunk-TUPKMMXT.mjs → chunk-K6HIIWUB.mjs} +1 -1
- package/dist/{chunk-MESQF2JC.mjs → chunk-K6SXMVXO.mjs} +2 -2
- package/dist/{chunk-L2JG337G.cjs → chunk-K6VFYFOY.cjs} +33 -31
- package/dist/{chunk-3CCAICF7.cjs → chunk-KCY52OUQ.cjs} +4 -4
- package/dist/{chunk-EZ34EHQP.mjs → chunk-KI3MU7B5.mjs} +1 -1
- package/dist/{chunk-GHNW564E.mjs → chunk-KSZK34HU.mjs} +30 -10
- package/dist/{chunk-RFKTJTWZ.mjs → chunk-KWFNUODD.mjs} +2 -1
- package/dist/{chunk-ECKQFEX2.mjs → chunk-LENKRGBV.mjs} +8 -6
- package/dist/{chunk-C7DCMGC4.cjs → chunk-LPIZMU7D.cjs} +12 -12
- package/dist/{chunk-HEPJIKKQ.cjs → chunk-MCSRMEQV.cjs} +2 -2
- package/dist/{chunk-DQF3QLOH.mjs → chunk-ME7RVELR.mjs} +3 -2
- package/dist/{chunk-3KJPIO5D.cjs → chunk-N5DQMOAG.cjs} +589 -678
- package/dist/{chunk-O4F3JUST.mjs → chunk-NDDRTFN4.mjs} +4 -0
- package/dist/{chunk-CBOEJ5Z4.cjs → chunk-OB3IFUK6.cjs} +133 -46
- package/dist/{chunk-R62SF5R4.mjs → chunk-OB45EAQL.mjs} +6 -1
- package/dist/{chunk-SYXPWJ7N.cjs → chunk-OFBLGH6V.cjs} +17 -18
- package/dist/{chunk-VQ4NWOWO.mjs → chunk-OGVTUGMU.mjs} +5 -13
- package/dist/{chunk-3UZVPO72.mjs → chunk-OIOPQ25L.mjs} +6 -7
- package/dist/{chunk-2XGBJSDV.cjs → chunk-OO7DYIJD.cjs} +73 -24
- package/dist/{chunk-IP2KHSGF.mjs → chunk-P2NBQ5JI.mjs} +57 -4
- package/dist/{chunk-ZQQK4U66.cjs → chunk-PDFFYZAT.cjs} +72 -19
- package/dist/{chunk-GSVJ3IIF.cjs → chunk-PHCJJJZV.cjs} +2 -2
- package/dist/{chunk-EVMXPJCB.mjs → chunk-PKMUQ7LM.mjs} +2 -1
- package/dist/{chunk-YD4J37RN.cjs → chunk-PL6RTBDE.cjs} +30 -19
- package/dist/{chunk-OAJOQU5J.mjs → chunk-PLJKJJ2H.mjs} +82 -63
- package/dist/{chunk-WMTBBQHY.cjs → chunk-PPX7UOFY.cjs} +271 -151
- package/dist/{chunk-6XQSPIN6.cjs → chunk-PWKAX5MS.cjs} +13 -3
- package/dist/{chunk-7XGWBPQQ.cjs → chunk-Q37INCXG.cjs} +13 -8
- package/dist/{chunk-T4M52BA5.cjs → chunk-Q5UX55YA.cjs} +1457 -612
- package/dist/{chunk-53ZCZ46B.cjs → chunk-QGQP6QKO.cjs} +4 -3
- package/dist/{chunk-TZOGZKI7.cjs → chunk-QITSS4TD.cjs} +1381 -626
- package/dist/{chunk-4ZJ5C7UJ.cjs → chunk-QIXEU2WV.cjs} +19 -10
- package/dist/{chunk-HCGWDRZO.mjs → chunk-QJVW76JG.mjs} +17 -6
- package/dist/{chunk-FJWN7RV4.cjs → chunk-QO43L7Z4.cjs} +38 -8
- package/dist/{chunk-ZIHWAN55.cjs → chunk-RE5E2G5S.cjs} +1 -1
- package/dist/chunk-RWR7SMD7.cjs +50 -0
- package/dist/{chunk-7PTISZSQ.cjs → chunk-S7MWSFFP.cjs} +4 -0
- package/dist/chunk-SD6JGJOM.mjs +50 -0
- package/dist/{chunk-7H4SVNC4.cjs → chunk-SPP3EZTJ.cjs} +46 -26
- package/dist/{chunk-E4RDMG3K.mjs → chunk-TEG6HJVF.mjs} +4 -4
- package/dist/{chunk-WAY6LOQH.mjs → chunk-TEJ67GD2.mjs} +1 -1
- package/dist/{chunk-ZNXTU4YH.mjs → chunk-TM2E623I.mjs} +1 -0
- package/dist/{chunk-IFTGERT3.mjs → chunk-TTXIITYA.mjs} +49 -0
- package/dist/{chunk-ZFWYCVKS.mjs → chunk-TY5KCYDE.mjs} +22 -4
- package/dist/{chunk-W2ZXMMHA.mjs → chunk-UHE5JUKB.mjs} +1 -1
- package/dist/{chunk-6X5NKNBE.mjs → chunk-UHNSY2PQ.mjs} +1304 -459
- package/dist/{chunk-UJ3R2AH2.cjs → chunk-UPOYKX4S.cjs} +5 -5
- package/dist/{chunk-2DLGV2ZG.mjs → chunk-UTUS6JUH.mjs} +1 -21
- package/dist/{chunk-Q75QPLBA.mjs → chunk-V5MQMQ2P.mjs} +1 -1
- package/dist/{chunk-TRIDJQ6A.cjs → chunk-V5RTHYJB.cjs} +30 -10
- package/dist/{chunk-QHRCR44V.mjs → chunk-VK54PDQ6.mjs} +25 -5
- package/dist/{chunk-LQNW3ABP.cjs → chunk-VX2HZGC7.cjs} +14 -14
- package/dist/{chunk-2L54YV25.mjs → chunk-WDD5CTZW.mjs} +49 -32
- package/dist/{chunk-7GYCZRTH.mjs → chunk-WGHY3OL5.mjs} +355 -444
- package/dist/{chunk-A2MN5PQJ.mjs → chunk-WMLSZAKN.mjs} +9 -9
- package/dist/{chunk-3EEET2Q5.cjs → chunk-WUTFJOV7.cjs} +32 -12
- package/dist/chunk-WVQNXXNE.cjs +28 -0
- package/dist/{chunk-Y5TOT5F6.cjs → chunk-X3MHKLCO.cjs} +5 -5
- package/dist/{chunk-Z7P2BTZ3.cjs → chunk-XGTFLG73.cjs} +30 -12
- package/dist/{chunk-VHHLKIDZ.mjs → chunk-XNZWMXCF.mjs} +1090 -335
- package/dist/{chunk-FIR62CR3.mjs → chunk-XUES6OET.mjs} +1 -1
- package/dist/{chunk-XCXHQBMM.mjs → chunk-Y2LU4LE5.mjs} +1 -1
- package/dist/{chunk-5J45H65F.mjs → chunk-Y5LEPEVH.mjs} +1 -1
- package/dist/{chunk-BT4SEFLC.cjs → chunk-YAEN3L2F.cjs} +3 -2
- package/dist/chunk-YFTGIHNC.mjs +26 -0
- package/dist/{chunk-KL7SHLQB.mjs → chunk-YGJ5P3TJ.mjs} +31 -1
- package/dist/{chunk-UYRI6U3P.mjs → chunk-YQYTQJZN.mjs} +3 -2
- package/dist/{chunk-X4K7TYN6.cjs → chunk-YVTS3S3F.cjs} +24 -23
- package/dist/{chunk-72KABRWN.mjs → chunk-ZJGFAW5U.mjs} +5 -3
- package/dist/{chunk-TNBJ4LZG.mjs → chunk-ZPKJPM7K.mjs} +4 -4
- package/dist/client/lifecycle.cjs +2 -2
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-D74pqdea.d.mts → client-component.d-CDRvRmbU.d.mts} +2 -2
- package/dist/{client-component.d-D8VcypQA.d.ts → client-component.d-DWRKyAp5.d.ts} +2 -2
- package/dist/client-plugins.cjs +2 -2
- package/dist/{client-plugins.d-D4-6hNx7.d.mts → client-plugins.d-BNILjfX3.d.mts} +94 -140
- package/dist/{client-plugins.d-CXElzotB.d.ts → client-plugins.d-CrKZiNSN.d.ts} +94 -140
- package/dist/client-plugins.d.mts +6 -6
- package/dist/client-plugins.d.ts +6 -6
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +11 -9
- package/dist/client.d.mts +13 -13
- package/dist/client.d.ts +13 -13
- package/dist/client.mjs +10 -8
- package/dist/{config.d-qt-mE8O5.d.mts → config.d-BKIhJtmr.d.mts} +7 -2
- package/dist/{config.d-qt-mE8O5.d.ts → config.d-BKIhJtmr.d.ts} +7 -2
- package/dist/config.d.mts +6 -6
- package/dist/config.d.ts +6 -6
- package/dist/cron.cjs +2 -2
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +2 -2
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +2 -2
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.d.mts +7 -7
- package/dist/desktop.d.ts +7 -7
- package/dist/{devtools-SGYOG36E.cjs → devtools-RZVT4JVN.cjs} +36 -32
- package/dist/{devtools-PUVZB3F2.mjs → devtools-UFQYT3VA.mjs} +31 -27
- package/dist/docs.cjs +26 -25
- package/dist/docs.d.mts +20 -8
- package/dist/docs.d.ts +20 -8
- package/dist/docs.mjs +25 -24
- package/dist/env-types.cjs +3 -3
- package/dist/env-types.mjs +2 -2
- package/dist/environment/vite.cjs +5 -5
- package/dist/environment/vite.mjs +4 -4
- package/dist/headers.cjs +3 -3
- package/dist/headers.mjs +2 -2
- package/dist/image/server.d.mts +1 -1
- package/dist/image/server.d.ts +1 -1
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/{image-config.d-CeDgNyX4.d.mts → image-config.d-ByhQ0TT7.d.mts} +3 -1
- package/dist/{image-config.d-CeDgNyX4.d.ts → image-config.d-ByhQ0TT7.d.ts} +3 -1
- package/dist/image.cjs +6 -6
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +143 -128
- package/dist/{index.d-SSgYDv4D.d.mts → index.d-Bdm6866n.d.mts} +1 -1
- package/dist/{index.d-A_x10zGS.d.ts → index.d-Dey5T14f.d.ts} +1 -1
- package/dist/index.d.mts +31 -82
- package/dist/index.d.ts +31 -82
- package/dist/index.mjs +214 -199
- package/dist/{integration-orm-52GPGTHO.cjs → integrations/orm.cjs} +5 -5
- package/dist/integrations/orm.d.mts +33 -0
- package/dist/integrations/orm.d.ts +33 -0
- package/dist/{integration-orm-CO23MSFE.mjs → integrations/orm.mjs} +5 -5
- package/dist/integrations.cjs +6 -5
- package/dist/integrations.d.mts +6 -6
- package/dist/integrations.d.ts +6 -6
- package/dist/integrations.mjs +5 -4
- package/dist/internal/app-markdown-runtime.cjs +4 -4
- package/dist/internal/app-markdown-runtime.d.mts +17 -8
- package/dist/internal/app-markdown-runtime.d.ts +17 -8
- package/dist/internal/app-markdown-runtime.mjs +3 -3
- package/dist/internal/build-runtime.cjs +70 -68
- package/dist/internal/build-runtime.d.mts +8 -8
- package/dist/internal/build-runtime.d.ts +8 -8
- package/dist/internal/build-runtime.mjs +69 -67
- package/dist/internal/cli-runtime.cjs +45 -44
- package/dist/internal/cli-runtime.mjs +44 -43
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +60 -6
- package/dist/internal/client-runtime.d.mts +40 -11
- package/dist/internal/client-runtime.d.ts +40 -11
- package/dist/internal/client-runtime.mjs +58 -4
- package/dist/internal/compression-runtime.d.mts +6 -6
- package/dist/internal/compression-runtime.d.ts +6 -6
- package/dist/internal/config-runtime.cjs +25 -24
- package/dist/internal/config-runtime.d.mts +9 -9
- package/dist/internal/config-runtime.d.ts +9 -9
- package/dist/internal/config-runtime.mjs +24 -23
- package/dist/internal/docs-precompiled-runtime.cjs +16 -5
- package/dist/internal/docs-precompiled-runtime.d.mts +7 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +7 -0
- package/dist/internal/docs-precompiled-runtime.mjs +15 -4
- package/dist/internal/infra-analytics-runtime.cjs +11 -11
- package/dist/internal/infra-analytics-runtime.mjs +9 -9
- package/dist/internal/islands-runtime.cjs +33 -4
- package/dist/internal/islands-runtime.d.mts +1 -1
- package/dist/internal/islands-runtime.d.ts +1 -1
- package/dist/internal/islands-runtime.mjs +31 -2
- package/dist/internal/native-server-fns.cjs +6 -6
- package/dist/internal/native-server-fns.mjs +5 -5
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +54 -40
- package/dist/internal/production-runtime.d.mts +23 -15
- package/dist/internal/production-runtime.d.ts +23 -15
- package/dist/internal/production-runtime.mjs +69 -55
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.ts → lifecycle.d-keQs5Swc.d.mts} +7 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.mts → lifecycle.d-keQs5Swc.d.ts} +7 -1
- package/dist/{manager-H5ZM3HAM.mjs → manager-JIA66YJ2.mjs} +4 -3
- package/dist/manager-JOHU6BQI.cjs +15 -0
- package/dist/markdown.cjs +7 -3
- package/dist/markdown.d.mts +6 -6
- package/dist/markdown.d.ts +6 -6
- package/dist/markdown.mjs +6 -2
- package/dist/middleware.cjs +10 -10
- package/dist/middleware.d.mts +8 -8
- package/dist/middleware.d.ts +8 -8
- package/dist/middleware.mjs +9 -9
- package/dist/mobile.d.mts +4 -4
- package/dist/mobile.d.ts +4 -4
- package/dist/mount.d-BP0nLYQO.d.mts +38 -0
- package/dist/mount.d-CkiPky_F.d.ts +38 -0
- package/dist/{native-server-fn-handler-GLRHAYWV.mjs → native-server-fn-handler-EP5AFJYE.mjs} +5 -5
- package/dist/{native-server-fn-handler-J5MYRXN6.cjs → native-server-fn-handler-QRTXGZA4.cjs} +6 -6
- package/dist/{native-tree-HE2FLS72.cjs → native-tree-W2SSJB3Y.cjs} +5 -5
- package/dist/{native-tree-YF2DSPKM.mjs → native-tree-Y5YQANW7.mjs} +4 -4
- package/dist/{navigation-delegate.d-DQVYKoaZ.d.mts → navigation-delegate.d-CdBP-hkZ.d.mts} +1 -1
- package/dist/{navigation-delegate.d-GghbHJuK.d.ts → navigation-delegate.d-DchcGzAQ.d.ts} +1 -1
- package/dist/navigation.cjs +8 -7
- package/dist/navigation.d.mts +9 -9
- package/dist/navigation.d.ts +9 -9
- package/dist/navigation.mjs +7 -6
- package/dist/{nitro-DD4QCA66.mjs → nitro-55YOZWRA.mjs} +11 -11
- package/dist/{nitro-VRDX2H4M.cjs → nitro-EEX2J3KB.cjs} +13 -13
- package/dist/{plugin-53SY5YBS.mjs → plugin-SAS22JL7.mjs} +4 -3
- package/dist/{plugin-HZIBL3DW.cjs → plugin-WIU4GDD4.cjs} +5 -4
- package/dist/plugin.cjs +61 -59
- package/dist/plugin.d.mts +8 -8
- package/dist/plugin.d.ts +8 -8
- package/dist/plugin.mjs +60 -58
- package/dist/{port-UFUZL6RI.mjs → port-CLL4BC4O.mjs} +1 -1
- package/dist/{port-VTLHPZOI.cjs → port-HASZTQGY.cjs} +9 -9
- package/dist/{production-runtime.d-Bzns3NW9.d.ts → production-runtime.d-Dou_Htas.d.ts} +1 -1
- package/dist/{production-runtime.d-DiFa5vHW.d.mts → production-runtime.d-VwsBzIee.d.mts} +1 -1
- package/dist/query/client.cjs +9 -7
- package/dist/query/client.mjs +5 -3
- package/dist/{render-plan.d-CL_Ikfg_.d.ts → render-plan.d-D8UakAIk.d.ts} +1 -1
- package/dist/{render-plan.d-CcF0MeCf.d.mts → render-plan.d-LKymStDJ.d.mts} +1 -1
- package/dist/renderer/none/server.cjs +35 -0
- package/dist/renderer/none/server.d.mts +21 -0
- package/dist/renderer/none/server.d.ts +21 -0
- package/dist/renderer/none/server.mjs +35 -0
- package/dist/renderer/react/server.cjs +2 -2
- package/dist/renderer/react/server.mjs +3 -3
- package/dist/renderer-client.cjs +8 -6
- package/dist/renderer-client.d.mts +9 -9
- package/dist/renderer-client.d.ts +9 -9
- package/dist/renderer-client.mjs +5 -3
- package/dist/renderer.cjs +6 -2
- package/dist/renderer.d.mts +20 -2
- package/dist/renderer.d.ts +20 -2
- package/dist/renderer.mjs +5 -1
- package/dist/request.cjs +2 -2
- package/dist/{request.d-B1RnTLri.d.ts → request.d-B928QjWy.d.ts} +1 -1
- package/dist/{request.d-DarDOCk9.d.mts → request.d-KG-4d2eG.d.mts} +1 -1
- package/dist/request.d.mts +7 -7
- package/dist/request.d.ts +7 -7
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-BTUYCIj4.d.ts → route-rendering.d-DoEe_w9t.d.ts} +1 -1
- package/dist/{route-rendering.d-D_2Ual0-.d.mts → route-rendering.d-NIHQeb4m.d.mts} +1 -1
- package/dist/{route.d-BaVH3V0w.d.mts → route.d-DrXkpvcg.d.mts} +1 -1
- package/dist/{route.d-DBTEqifW.d.ts → route.d-hs-_cyHn.d.ts} +1 -1
- package/dist/{router.d-Cuv1jntg.d.mts → router.d-B8PkJSGp.d.mts} +1 -1
- package/dist/{router.d-CMANF6da.d.ts → router.d-DYnRHQwz.d.ts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/{routes.d-c2HKfrfL.d.mts → routes.d-DgZ_jgGG.d.mts} +1 -1
- package/dist/{routes.d-B6yFe6jm.d.ts → routes.d-uUBZyWoK.d.ts} +1 -1
- package/dist/routes.d.mts +6 -6
- package/dist/routes.d.ts +6 -6
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-T3PWURLJ.mjs → rsc-pipeline-4OJ5ZQNZ.mjs} +26 -25
- package/dist/{rsc-pipeline-V4ANLRAA.cjs → rsc-pipeline-7K5H2RPH.cjs} +27 -26
- package/dist/{runtime-LRIQ3XH7.mjs → runtime-U7O3HZOZ.mjs} +62 -36
- package/dist/{runtime-5AROV2C3.cjs → runtime-X52Q7JFR.cjs} +72 -46
- package/dist/{runtime.d-wvh4ngU0.d.mts → runtime.d-BxQIzwfy.d.mts} +11 -3
- package/dist/{runtime.d-C3RQUj6_.d.ts → runtime.d-DP7mEkEF.d.ts} +11 -3
- package/dist/{schema-dev-notice-JMXEQWIQ.mjs → schema-dev-notice-C2JINRZI.mjs} +3 -2
- package/dist/{schema-dev-notice-PLBFDTOF.cjs → schema-dev-notice-X7GG7QVB.cjs} +5 -4
- package/dist/schema.cjs +6 -2
- package/dist/schema.d-Dny9pnrm.d.mts +298 -0
- package/dist/schema.d-Dny9pnrm.d.ts +298 -0
- package/dist/schema.d.mts +1 -115
- package/dist/schema.d.ts +1 -115
- package/dist/schema.mjs +5 -1
- package/dist/server-fn-client.d.mts +2 -2
- package/dist/server-fn-client.d.ts +2 -2
- package/dist/server-fn.cjs +5 -5
- package/dist/server-fn.mjs +4 -4
- package/dist/server-plugins.cjs +7 -7
- package/dist/server-plugins.d.mts +16 -10
- package/dist/server-plugins.d.ts +16 -10
- package/dist/server-plugins.mjs +8 -8
- package/dist/server-query.cjs +6 -6
- package/dist/server-query.mjs +5 -5
- package/dist/server.cjs +160 -120
- package/dist/server.d.mts +20 -14
- package/dist/server.d.ts +20 -14
- package/dist/server.mjs +138 -98
- package/dist/{spa-router.d-WU_qS5gJ.d.mts → spa-router.d-BgHPVMhz.d.mts} +15 -5
- package/dist/{spa-router.d-m8H_Kl_B.d.ts → spa-router.d-DsFDHTsv.d.ts} +15 -5
- package/dist/testing.cjs +17 -17
- package/dist/testing.d.mts +6 -6
- package/dist/testing.d.ts +6 -6
- package/dist/testing.mjs +13 -13
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/{utils.d-W9IiEqmW.d.mts → utils.d-BKyKDBR1.d.mts} +1 -1
- package/dist/{utils.d-C9dQD5Zg.d.ts → utils.d-zxAVcf_V.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +63 -61
- package/dist/vite.d.mts +32 -12
- package/dist/vite.d.ts +32 -12
- package/dist/vite.mjs +62 -60
- package/dist/workflows.cjs +4 -4
- package/dist/workflows.mjs +3 -3
- package/package.json +31 -1
- package/dist/analyzer-GHWK46LX.cjs +0 -16
- package/dist/chunk-5YPBFMBN.cjs +0 -19
- package/dist/chunk-OM7WILES.mjs +0 -100
- package/dist/chunk-Q5B4LNON.mjs +0 -19
- package/dist/chunk-QPJ4MZTO.mjs +0 -60
- package/dist/chunk-R53QDV6T.cjs +0 -100
- package/dist/chunk-UYTAP4FQ.cjs +0 -60
- package/dist/manager-2LUKNX2N.cjs +0 -14
- /package/dist/{chunk-QGOZLGVP.mjs → chunk-I6FIAWNT.mjs} +0 -0
- /package/dist/{chunk-XPIPMWY3.cjs → chunk-K5NI5YQR.cjs} +0 -0
- /package/dist/{chunk-NWUHS6GV.cjs → chunk-QEJWNXRI.cjs} +0 -0
- /package/dist/{chunk-FSXSQQTV.mjs → chunk-TXE4SAMV.mjs} +0 -0
- /package/dist/{chunk-ZXK2EYQW.cjs → chunk-UUQNJDGH.cjs} +0 -0
- /package/dist/{chunk-46P5KNTE.mjs → chunk-VZBAW44S.mjs} +0 -0
|
@@ -558,7 +558,7 @@ function getFarmCronTaskName(name) {
|
|
|
558
558
|
}
|
|
559
559
|
function createNitroCronTaskWrapper(job, secretEnv) {
|
|
560
560
|
return `
|
|
561
|
-
import {
|
|
561
|
+
import { serverFetch } from "nitro/app";
|
|
562
562
|
import { defineTask } from "nitro/task";
|
|
563
563
|
|
|
564
564
|
const name = ${JSON.stringify(job.name)};
|
|
@@ -583,7 +583,8 @@ export default defineTask({
|
|
|
583
583
|
const secret = readSecret(event);
|
|
584
584
|
if (secret) headers.set("authorization", "Bearer " + secret);
|
|
585
585
|
|
|
586
|
-
|
|
586
|
+
// \`serverFetch\` takes a path; the app's own \`fetch\` takes only a Request.
|
|
587
|
+
const response = await serverFetch(path, { method: "GET", headers });
|
|
587
588
|
const contentType = response.headers.get("content-type") || "";
|
|
588
589
|
const body = response.status === 204
|
|
589
590
|
? null
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/write-file-if-changed.ts
|
|
2
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
3
|
+
function isGeneratedFileCurrent(current, content) {
|
|
4
|
+
return current === content || normalizeLineEndings(current) === normalizeLineEndings(content);
|
|
5
|
+
}
|
|
6
|
+
function normalizeLineEndings(source) {
|
|
7
|
+
return source.includes("\r") ? source.replace(/\r\n/g, "\n") : source;
|
|
8
|
+
}
|
|
9
|
+
function writeFileIfChanged(filePath, content) {
|
|
10
|
+
try {
|
|
11
|
+
if (isGeneratedFileCurrent(readFileSync(filePath, "utf8"), content)) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
} catch (error) {
|
|
15
|
+
if (error.code !== "ENOENT") {
|
|
16
|
+
throw error;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
writeFileSync(filePath, content, "utf8");
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
isGeneratedFileCurrent,
|
|
25
|
+
writeFileIfChanged
|
|
26
|
+
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getFarmMarkdownMirrorPath,
|
|
4
4
|
isFarmMarkdownMirrorExposed,
|
|
5
5
|
matchesFarmMarkdownRoutePattern
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IFR74W6S.mjs";
|
|
7
7
|
import {
|
|
8
8
|
applyFarmBasePath
|
|
9
9
|
} from "./chunk-SF3JB56B.mjs";
|
|
@@ -75,6 +75,27 @@ function collectFarmLlmsTxtPages(sources, options) {
|
|
|
75
75
|
}
|
|
76
76
|
return [...pages.values()].sort((left, right) => left.path.localeCompare(right.path));
|
|
77
77
|
}
|
|
78
|
+
function resolveFarmAgentOrigin(metadataBase, requestOrigin) {
|
|
79
|
+
if (typeof metadataBase !== "string" && !(metadataBase instanceof URL)) return requestOrigin;
|
|
80
|
+
try {
|
|
81
|
+
const url = new URL(String(metadataBase));
|
|
82
|
+
return url.protocol === "https:" || url.protocol === "http:" ? url.origin : requestOrigin;
|
|
83
|
+
} catch {
|
|
84
|
+
return requestOrigin;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
function readFarmLlmsMarkdownFrom(readOrigin, origin, read) {
|
|
88
|
+
if (readOrigin === origin) return read;
|
|
89
|
+
return (url) => {
|
|
90
|
+
let target;
|
|
91
|
+
try {
|
|
92
|
+
target = new URL(url);
|
|
93
|
+
} catch {
|
|
94
|
+
return read(url);
|
|
95
|
+
}
|
|
96
|
+
return read(target.origin === origin ? `${readOrigin}${target.pathname}${target.search}` : url);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
78
99
|
function isFarmMetadataNoIndex(metadata) {
|
|
79
100
|
if (!metadata || typeof metadata !== "object") return false;
|
|
80
101
|
const robots = metadata.robots;
|
|
@@ -85,6 +106,12 @@ function isFarmMetadataNoIndex(metadata) {
|
|
|
85
106
|
robots && typeof robots === "object" && robots.index === false
|
|
86
107
|
);
|
|
87
108
|
}
|
|
109
|
+
function isFarmPageNoIndex(pageMetadata, layoutMetadata = []) {
|
|
110
|
+
for (const metadata of [pageMetadata, ...[...layoutMetadata].reverse()]) {
|
|
111
|
+
if (isRecord(metadata) && "robots" in metadata) return isFarmMetadataNoIndex(metadata);
|
|
112
|
+
}
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
88
115
|
function createFarmDefaultLlmsTxt(options) {
|
|
89
116
|
const { config, pages } = options;
|
|
90
117
|
const mcp = options.mcp ?? [];
|
|
@@ -332,7 +359,10 @@ function isRecord(value) {
|
|
|
332
359
|
export {
|
|
333
360
|
resolveFarmLlmsTxtConfig,
|
|
334
361
|
collectFarmLlmsTxtPages,
|
|
362
|
+
resolveFarmAgentOrigin,
|
|
363
|
+
readFarmLlmsMarkdownFrom,
|
|
335
364
|
isFarmMetadataNoIndex,
|
|
365
|
+
isFarmPageNoIndex,
|
|
336
366
|
createFarmDefaultLlmsTxt,
|
|
337
367
|
serializeFarmLlmsTxt,
|
|
338
368
|
createFarmLlmsMarkdownReader,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_withFarmGuardedResponseCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TEG6HJVF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
_markFarmOwnedResponse,
|
|
6
6
|
_withFarmResponseHeaders
|
|
@@ -30,7 +30,8 @@ function escapeRegExp(value) {
|
|
|
30
30
|
}
|
|
31
31
|
var MAX_HELD_TAG = 4096;
|
|
32
32
|
function createFarmMobileShellRewriter(client) {
|
|
33
|
-
const
|
|
33
|
+
const entries = [client.webEntry, ...client.webBoot ? [client.webBoot] : []];
|
|
34
|
+
const entry = new RegExp(`(["'])(?:${entries.map(escapeRegExp).join("|")})\\1`, "g");
|
|
34
35
|
const webOnly = new Set(client.webOnly);
|
|
35
36
|
const preload = /<link rel="modulepreload" href="\/([^"]+)"[^>]*>/g;
|
|
36
37
|
let held = "";
|
|
@@ -1,42 +1,43 @@
|
|
|
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 _chunkEGIY4A7Vcjs = require('./chunk-EGIY4A7V.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFPBOAG6Ncjs = require('./chunk-FPBOAG6N.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var _chunkQISW423Scjs = require('./chunk-QISW423S.cjs');
|
|
11
10
|
|
|
12
11
|
|
|
13
|
-
var _chunkGBMWLDCCcjs = require('./chunk-GBMWLDCC.cjs');
|
|
14
12
|
|
|
13
|
+
var _chunkEZTKXD6Pcjs = require('./chunk-EZTKXD6P.cjs');
|
|
15
14
|
|
|
16
15
|
|
|
16
|
+
var _chunk4EBC7EMWcjs = require('./chunk-4EBC7EMW.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var _chunkEZTKXD6Pcjs = require('./chunk-EZTKXD6P.cjs');
|
|
20
19
|
|
|
20
|
+
var _chunkPHCJJJZVcjs = require('./chunk-PHCJJJZV.cjs');
|
|
21
21
|
|
|
22
|
-
var _chunk4EBC7EMWcjs = require('./chunk-4EBC7EMW.cjs');
|
|
23
22
|
|
|
24
23
|
|
|
24
|
+
var _chunkAQIRXBBYcjs = require('./chunk-AQIRXBBY.cjs');
|
|
25
25
|
|
|
26
|
-
var _chunkGSVJ3IIFcjs = require('./chunk-GSVJ3IIF.cjs');
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
var
|
|
28
|
+
var _chunk5Y2P454Ocjs = require('./chunk-5Y2P454O.cjs');
|
|
29
|
+
|
|
30
30
|
|
|
31
|
+
var _chunkGBMWLDCCcjs = require('./chunk-GBMWLDCC.cjs');
|
|
31
32
|
|
|
32
33
|
|
|
33
|
-
var
|
|
34
|
+
var _chunkJ6TZRYCOcjs = require('./chunk-J6TZRYCO.cjs');
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
var _chunkBBPDJGCUcjs = require('./chunk-BBPDJGCU.cjs');
|
|
37
38
|
|
|
38
39
|
|
|
39
|
-
var
|
|
40
|
+
var _chunk2AFW7673cjs = require('./chunk-2AFW7673.cjs');
|
|
40
41
|
|
|
41
42
|
// src/ssg.ts
|
|
42
43
|
var _fs = require('fs'); var fs = _interopRequireWildcard(_fs);
|
|
@@ -520,7 +521,7 @@ var FARM_STATIC_IMAGE_EXTENSIONS = ["avif", "gif", "jpeg", "jpg", "png", "webp"]
|
|
|
520
521
|
function generateFarmImageTypes(options) {
|
|
521
522
|
const outputPath = options.outFile ? path2.default.resolve(options.root, options.outFile) : path2.default.join(options.root, options.srcDir || "src", "farm-images.d.ts");
|
|
522
523
|
_fs.mkdirSync.call(void 0, path2.default.dirname(outputPath), { recursive: true });
|
|
523
|
-
|
|
524
|
+
_chunkAQIRXBBYcjs.writeFileIfChanged.call(void 0, outputPath, createFarmImageTypeDeclarations());
|
|
524
525
|
return outputPath;
|
|
525
526
|
}
|
|
526
527
|
function createFarmImageTypeDeclarations() {
|
|
@@ -553,7 +554,7 @@ async function generateFarmI18nTypes(options) {
|
|
|
553
554
|
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");
|
|
554
555
|
const content = renderFarmI18nTypes(options.config.locales, signatures);
|
|
555
556
|
_fs.mkdirSync.call(void 0, _path.dirname.call(void 0, outFile), { recursive: true });
|
|
556
|
-
|
|
557
|
+
_chunkAQIRXBBYcjs.writeFileIfChanged.call(void 0, outFile, content);
|
|
557
558
|
return outFile;
|
|
558
559
|
}
|
|
559
560
|
function renderFarmI18nTypes(locales, signatures) {
|
|
@@ -710,7 +711,7 @@ function createSyncModelTypeDeclarations(plugins) {
|
|
|
710
711
|
const rowEntries = [];
|
|
711
712
|
const insertEntries = [];
|
|
712
713
|
for (const plugin of _nullishCoalesce(plugins, () => ( []))) {
|
|
713
|
-
const declaration =
|
|
714
|
+
const declaration = _chunkJ6TZRYCOcjs.readSchemaTables.call(void 0, plugin);
|
|
714
715
|
if (!declaration || declaration.name !== "sync") continue;
|
|
715
716
|
const exposed = declaration.models ? new Set(declaration.models) : null;
|
|
716
717
|
const models = _chunkGBMWLDCCcjs.resolveSchemaModels.call(void 0, declaration.name, declaration.schema);
|
|
@@ -802,7 +803,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
802
803
|
componentExtensions: options.componentExtensions,
|
|
803
804
|
sourceRoots
|
|
804
805
|
};
|
|
805
|
-
unifiedSections.push(await
|
|
806
|
+
unifiedSections.push(await _chunkEGIY4A7Vcjs.createRouteTypeDeclarations.call(void 0, routeOptions, unifiedTypesPath));
|
|
806
807
|
result.routeTypesPath = unifiedTypesPath;
|
|
807
808
|
} else if (shouldGenerateRoutes) {
|
|
808
809
|
const routeOptions = {
|
|
@@ -816,18 +817,18 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
816
817
|
};
|
|
817
818
|
if (options.check) {
|
|
818
819
|
const routeTypesPath = resolveGeneratedPath(root, srcDir, options.routeTypesOutFile);
|
|
819
|
-
const content = await
|
|
820
|
+
const content = await _chunkEGIY4A7Vcjs.createRouteTypeDeclarations.call(void 0, routeOptions, routeTypesPath);
|
|
820
821
|
checkGeneratedFile(routeTypesPath, content, result.stalePaths);
|
|
821
822
|
result.routeTypesPath = routeTypesPath;
|
|
822
823
|
} else {
|
|
823
|
-
result.routeTypesPath = await
|
|
824
|
+
result.routeTypesPath = await _chunkEGIY4A7Vcjs.generateRouteTypes.call(void 0, routeOptions);
|
|
824
825
|
}
|
|
825
826
|
}
|
|
826
827
|
if (shouldGenerateApi) {
|
|
827
|
-
const generator = new (0,
|
|
828
|
+
const generator = new (0, _chunkFPBOAG6Ncjs.APITypeGenerator)(appDirs);
|
|
828
829
|
const apiRoutes = generator.scanAPIRoutes();
|
|
829
830
|
const apiTypesPath = options.apiTypesOutFile ? _path.resolve.call(void 0, root, options.apiTypesOutFile) : _path.join.call(void 0, root, srcDir, "lib", "api.generated.ts");
|
|
830
|
-
const pluginRoutes =
|
|
831
|
+
const pluginRoutes = _chunk2AFW7673cjs.resolvePluginRoutes.call(void 0,
|
|
831
832
|
_optionalChain([options, 'access', _50 => _50.plugins, 'optionalAccess', _51 => _51.filter, 'call', _52 => _52((plugin) => plugin.name !== _chunk4EBC7EMWcjs.FARM_NATIVE_SERVER_FN_PLUGIN)])
|
|
832
833
|
);
|
|
833
834
|
const configFiles = [
|
|
@@ -861,7 +862,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
861
862
|
}
|
|
862
863
|
if (shouldRefreshUnifiedTypes && !options.envTypesOutFile) {
|
|
863
864
|
unifiedSections.push(
|
|
864
|
-
|
|
865
|
+
_chunkPHCJJJZVcjs.createEnvTypeDeclarations.call(void 0,
|
|
865
866
|
{
|
|
866
867
|
root,
|
|
867
868
|
srcDir,
|
|
@@ -884,12 +885,12 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
884
885
|
const envTypesPath = resolveGeneratedPath(root, srcDir, options.envTypesOutFile);
|
|
885
886
|
checkGeneratedFile(
|
|
886
887
|
envTypesPath,
|
|
887
|
-
|
|
888
|
+
_chunkPHCJJJZVcjs.createEnvTypeDeclarations.call(void 0, envOptions, envTypesPath),
|
|
888
889
|
result.stalePaths
|
|
889
890
|
);
|
|
890
891
|
result.envTypesPath = envTypesPath;
|
|
891
892
|
} else {
|
|
892
|
-
result.envTypesPath = await
|
|
893
|
+
result.envTypesPath = await _chunkPHCJJJZVcjs.generateEnvTypes.call(void 0, envOptions);
|
|
893
894
|
}
|
|
894
895
|
}
|
|
895
896
|
if (shouldGenerateImages && options.imageTypesOutFile) {
|
|
@@ -988,10 +989,10 @@ function writeOrCheckGeneratedFile(filePath, content, check, stalePaths) {
|
|
|
988
989
|
return;
|
|
989
990
|
}
|
|
990
991
|
_fs.mkdirSync.call(void 0, _path.dirname.call(void 0, filePath), { recursive: true });
|
|
991
|
-
|
|
992
|
+
_chunkAQIRXBBYcjs.writeFileIfChanged.call(void 0, filePath, content);
|
|
992
993
|
}
|
|
993
994
|
function checkGeneratedFile(filePath, content, stalePaths) {
|
|
994
|
-
if (!_fs.existsSync.call(void 0, filePath) || _fs.readFileSync.call(void 0, filePath, "utf8")
|
|
995
|
+
if (!_fs.existsSync.call(void 0, filePath) || !_chunkAQIRXBBYcjs.isGeneratedFileCurrent.call(void 0, _fs.readFileSync.call(void 0, filePath, "utf8"), content)) {
|
|
995
996
|
stalePaths.push(filePath);
|
|
996
997
|
}
|
|
997
998
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectSchemaExtensions,
|
|
3
3
|
describeSchemaExtensionApproval,
|
|
4
|
-
isSchemaExtensionAllowed
|
|
5
|
-
|
|
6
|
-
} from "./chunk-2DLGV2ZG.mjs";
|
|
4
|
+
isSchemaExtensionAllowed
|
|
5
|
+
} from "./chunk-UTUS6JUH.mjs";
|
|
7
6
|
import {
|
|
8
7
|
assertNoSchemaListField,
|
|
9
8
|
isDatabaseEnforcedReference
|
|
@@ -11,6 +10,9 @@ import {
|
|
|
11
10
|
import {
|
|
12
11
|
resolveSchemaModels
|
|
13
12
|
} from "./chunk-F3N52U7S.mjs";
|
|
13
|
+
import {
|
|
14
|
+
readSchemaTables
|
|
15
|
+
} from "./chunk-K63OWRY2.mjs";
|
|
14
16
|
|
|
15
17
|
// src/schema-sql-identifiers.ts
|
|
16
18
|
var POSTGRES_IDENTIFIER_BYTES = 63;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ERROR_STYLES
|
|
3
3
|
} from "./chunk-XAXTTBUT.mjs";
|
|
4
|
+
import {
|
|
5
|
+
serializeFarmLlmsTxt
|
|
6
|
+
} from "./chunk-YGJ5P3TJ.mjs";
|
|
4
7
|
import {
|
|
5
8
|
stampFarmCspNonce
|
|
6
9
|
} from "./chunk-22W4FNTG.mjs";
|
|
7
|
-
import {
|
|
8
|
-
serializeFarmLlmsTxt
|
|
9
|
-
} from "./chunk-KL7SHLQB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
emitFarmAgentRead
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IFR74W6S.mjs";
|
|
13
13
|
import {
|
|
14
14
|
resolveFarmThemeConfig
|
|
15
15
|
} from "./chunk-YWPNIYUP.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOO7DYIJDcjs = require('../chunk-OO7DYIJD.cjs');
|
|
5
5
|
require('../chunk-BTZ5O6VM.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.defineClient =
|
|
8
|
+
exports.defineClient = _chunkOO7DYIJDcjs.defineClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, y as defineClient } from '../lifecycle.d-keQs5Swc.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, y as defineClient } from '../lifecycle.d-keQs5Swc.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, D as DirectiveRenderingConfig, a as RouteRenderingConfig } from './route-rendering.d-
|
|
2
|
-
import { i as RouteModule,
|
|
1
|
+
import { R as RouteRenderingOptions, D as DirectiveRenderingConfig, a as RouteRenderingConfig } from './route-rendering.d-NIHQeb4m.mjs';
|
|
2
|
+
import { i as RouteModule, b8 as SSGCollectionResult, b9 as SSGPage } from './client-plugins.d-BNILjfX3.mjs';
|
|
3
3
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, D as DirectiveRenderingConfig, a as RouteRenderingConfig } from './route-rendering.d-
|
|
2
|
-
import { i as RouteModule,
|
|
1
|
+
import { R as RouteRenderingOptions, D as DirectiveRenderingConfig, a as RouteRenderingConfig } from './route-rendering.d-DoEe_w9t.js';
|
|
2
|
+
import { i as RouteModule, b8 as SSGCollectionResult, b9 as SSGPage } from './client-plugins.d-CrKZiNSN.js';
|
|
3
3
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/client-plugins.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOO7DYIJDcjs = require('./chunk-OO7DYIJD.cjs');
|
|
5
5
|
require('./chunk-BTZ5O6VM.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.FarmClientPluginManager =
|
|
9
|
+
exports.FarmClientPluginManager = _chunkOO7DYIJDcjs.FarmClientPluginManager; exports.createClientPluginManager = _chunkOO7DYIJDcjs.createClientPluginManager;
|