@farm.js/core 0.1.39 → 0.1.41
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-HcTYQmNX.d.ts → agent-mcp-BOqIxJLI.d.mts} +8 -2
- package/dist/{agent-mcp-BhneNPb4.d.mts → agent-mcp-D0eZKfci.d.ts} +8 -2
- package/dist/{agent-mcp-handler-OLRMZONF.mjs → agent-mcp-handler-HVV5LNXF.mjs} +6 -6
- package/dist/{agent-mcp-handler-MRGP3WJ3.cjs → agent-mcp-handler-YKG7KVCY.cjs} +7 -7
- package/dist/agent-runtime.cjs +10 -6
- package/dist/agent-runtime.d.mts +6 -8
- package/dist/agent-runtime.d.ts +6 -8
- package/dist/agent-runtime.mjs +9 -5
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.d.mts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +15 -13
- package/dist/api/route-manager.d.mts +8 -10
- package/dist/api/route-manager.d.ts +8 -10
- package/dist/api/route-manager.mjs +14 -12
- package/dist/api/runtime.cjs +12 -10
- package/dist/api/runtime.d.mts +7 -9
- package/dist/api/runtime.d.ts +7 -9
- package/dist/api/runtime.mjs +11 -9
- package/dist/{api-client-CyFtZFJ4.d.ts → api-client-BJv9mTbO.d.ts} +2 -2
- package/dist/{api-client-BjMmY8OD.d.mts → api-client-Dk9QOLwr.d.mts} +2 -2
- package/dist/api.cjs +17 -15
- package/dist/api.d.mts +10 -12
- package/dist/api.d.ts +10 -12
- package/dist/api.mjs +16 -14
- package/dist/{app-DVzmmbNO.d.mts → app-CzTSMJaf.d.mts} +12 -5
- package/dist/{app-CMkoghtp.d.ts → app-DM8e1z3G.d.ts} +12 -5
- package/dist/app-markdown.cjs +7 -6
- package/dist/app-markdown.d.mts +7 -9
- package/dist/app-markdown.d.ts +7 -9
- package/dist/app-markdown.mjs +6 -5
- package/dist/cache.cjs +6 -3
- package/dist/cache.d.mts +23 -2
- package/dist/cache.d.ts +23 -2
- package/dist/cache.mjs +5 -2
- package/dist/{chunk-EGCTIS5F.mjs → chunk-24SP5TGU.mjs} +1 -1
- package/dist/{chunk-2ZYGC6SS.cjs → chunk-25LPIZSX.cjs} +3 -3
- package/dist/{chunk-ARC7I3O2.mjs → chunk-26RUNDIR.mjs} +1 -1
- package/dist/{chunk-472NCAZ7.cjs → chunk-2FUIT2G2.cjs} +3 -3
- package/dist/{chunk-YFYUYWL7.cjs → chunk-32TZ3QTP.cjs} +723 -454
- package/dist/{chunk-CQMVIOYP.mjs → chunk-35WS7P2V.mjs} +29 -131
- package/dist/{chunk-QTXBII4Z.cjs → chunk-3TB5QGUW.cjs} +5 -5
- package/dist/chunk-45QJHGZM.cjs +1063 -0
- package/dist/{chunk-677THUVP.mjs → chunk-4C7KTKX7.mjs} +1 -1
- package/dist/{chunk-FUZEBRP3.mjs → chunk-4GP3XZ4Z.mjs} +5 -3
- package/dist/{chunk-KTSUBU2E.mjs → chunk-4KQDHTWX.mjs} +2 -2
- package/dist/chunk-4TLUFAIP.cjs +92 -0
- package/dist/chunk-4U5XZDLG.cjs +80 -0
- package/dist/{chunk-P664ZVTV.mjs → chunk-4ZZNPK25.mjs} +2 -2
- package/dist/{chunk-KIIMAWOJ.cjs → chunk-5NAVKJCZ.cjs} +35 -105
- package/dist/{chunk-LSKZMJMP.cjs → chunk-64SBBZDU.cjs} +38 -1
- package/dist/chunk-6BWKJ6QS.cjs +43 -0
- package/dist/{chunk-JSROZYYO.cjs → chunk-6D24SDKO.cjs} +1 -20
- package/dist/chunk-6IZWX6ES.cjs +74 -0
- package/dist/{chunk-QRKIMN7T.mjs → chunk-6LVRDOAW.mjs} +32 -6
- package/dist/{chunk-YWN746US.cjs → chunk-6MVFHNYZ.cjs} +85 -54
- package/dist/{chunk-VWBHM3F6.mjs → chunk-6PKXK4TY.mjs} +3 -3
- package/dist/chunk-6QOLZITB.cjs +22 -0
- package/dist/{chunk-OAHTRMIC.mjs → chunk-724JLMS4.mjs} +11 -11
- package/dist/chunk-7GNWGLWB.mjs +14 -0
- package/dist/{chunk-34UCJRQO.cjs → chunk-7RNAKBWF.cjs} +2 -2
- package/dist/{chunk-U6QLDL3G.mjs → chunk-7UEEHAW7.mjs} +1 -1
- package/dist/{chunk-UPJLHLJU.cjs → chunk-ALPWLT27.cjs} +4 -4
- package/dist/{chunk-ATSDUUFK.mjs → chunk-AX7S67YV.mjs} +33 -40
- package/dist/{chunk-MSSFIQGM.mjs → chunk-B2GSRB3P.mjs} +41 -10
- package/dist/chunk-BGGWKZ2V.mjs +6096 -0
- package/dist/{chunk-H5CLOUZS.cjs → chunk-BMOBTMDR.cjs} +5 -5
- package/dist/{chunk-Q2KB32T4.mjs → chunk-BPNRQ5BA.mjs} +6 -6
- package/dist/{chunk-E2ROOWQC.cjs → chunk-BPOTSHDO.cjs} +24 -87
- package/dist/chunk-BRYPZIMB.mjs +6 -0
- package/dist/{chunk-WFRT7JPX.mjs → chunk-BYQVROIP.mjs} +2 -2
- package/dist/{chunk-HALDNTIV.mjs → chunk-BYR3RQPB.mjs} +10 -73
- package/dist/{chunk-5PWXMJOH.cjs → chunk-C5KVWHIH.cjs} +36 -36
- package/dist/chunk-CALY6QG6.mjs +963 -0
- package/dist/{chunk-WC5UV2HQ.cjs → chunk-CBXBGM72.cjs} +2 -2
- package/dist/{chunk-WW46B6HA.cjs → chunk-CGR525MJ.cjs} +84 -45
- package/dist/{chunk-6V4TDWEC.cjs → chunk-CGVPXIRN.cjs} +18 -1
- package/dist/chunk-COABSY3U.mjs +196 -0
- package/dist/chunk-CZS6OACQ.mjs +63 -0
- package/dist/{chunk-SGBJ247Q.cjs → chunk-D4ROBNTK.cjs} +2 -2
- package/dist/{chunk-WEW2JVA4.cjs → chunk-D5IHNDHI.cjs} +6 -6
- package/dist/{chunk-QG775BRV.cjs → chunk-D64OPY6A.cjs} +72 -54
- package/dist/{chunk-QUCXCDE2.cjs → chunk-EH3464KF.cjs} +1 -1
- package/dist/{chunk-75HN5IZ3.mjs → chunk-ENOBPDKZ.mjs} +21 -19
- package/dist/{chunk-HD5CF3OE.mjs → chunk-ETPEZLS3.mjs} +2 -2
- package/dist/{chunk-HRETEZ2Z.cjs → chunk-EX4MKHXN.cjs} +37 -35
- package/dist/{chunk-TO4GJ56K.cjs → chunk-FEYQCYT7.cjs} +58 -18
- package/dist/chunk-FGH3ZXTP.mjs +1063 -0
- package/dist/{chunk-CUM5NYL5.mjs → chunk-FIAPD365.mjs} +1 -1
- package/dist/{chunk-HYTZYOW2.mjs → chunk-FJGIVDA5.mjs} +1197 -7906
- package/dist/chunk-FVPXT2JR.cjs +63 -0
- package/dist/{chunk-MYIZXDZA.mjs → chunk-FWCGUVVL.mjs} +1 -1
- package/dist/{chunk-D2ULAULS.cjs → chunk-FXFKIJDA.cjs} +9 -7
- package/dist/{chunk-RW63BOV7.cjs → chunk-GB7LDGY5.cjs} +2 -2
- package/dist/chunk-GC3EM6H4.mjs +80 -0
- package/dist/{chunk-E3UK5IIB.cjs → chunk-GS3WR5HX.cjs} +5 -3
- package/dist/{chunk-QFW2IH5E.mjs → chunk-GZTUT75U.mjs} +5 -2
- package/dist/chunk-H3EGVQE5.mjs +22 -0
- package/dist/chunk-HANGSYMB.mjs +67 -0
- package/dist/{chunk-RSOJ7DRT.mjs → chunk-HCSVR4YZ.mjs} +1 -58
- package/dist/{chunk-QYMZOOC5.mjs → chunk-HJ64F4GS.mjs} +12 -44
- package/dist/{chunk-P3PLW4FR.mjs → chunk-HKFBMHCD.mjs} +4 -4
- package/dist/{chunk-BXDJXFQG.cjs → chunk-I5MG3TKE.cjs} +4 -4
- package/dist/{chunk-VNGH5MLF.mjs → chunk-I6UVKUYK.mjs} +1 -1
- package/dist/{chunk-EPYU2EBL.mjs → chunk-IF4NU2NG.mjs} +1 -1
- package/dist/{chunk-WXJLNP33.cjs → chunk-IFWSR7YZ.cjs} +9 -7
- package/dist/{chunk-IVLZZZEI.mjs → chunk-IM7DY3ED.mjs} +1 -1
- package/dist/{chunk-W36M2BQ4.mjs → chunk-IN6RCKLL.mjs} +6 -5
- package/dist/{chunk-F5QO4FNE.mjs → chunk-INQ64HTJ.mjs} +43 -11
- package/dist/{chunk-SDOTRX3V.cjs → chunk-JEIG3EWE.cjs} +8 -8
- package/dist/{chunk-UWPLULNK.mjs → chunk-JGHCKIRI.mjs} +84 -24
- package/dist/{chunk-BFJTHYTN.mjs → chunk-JIYYX7WU.mjs} +10 -8
- package/dist/{chunk-CIOT4HGT.cjs → chunk-JOTUZIM4.cjs} +14 -14
- package/dist/{chunk-SKVTP5PR.mjs → chunk-JOW4HDJO.mjs} +1 -62
- package/dist/{chunk-6MVFL3R5.cjs → chunk-JR4QCLJY.cjs} +1 -58
- package/dist/{chunk-CGBDNNSM.cjs → chunk-KEXK442I.cjs} +44 -12
- package/dist/{chunk-FUCSUGDM.cjs → chunk-KF6VDJH7.cjs} +3 -3
- package/dist/{chunk-EA5K5BKU.mjs → chunk-KNHBTJP6.mjs} +18 -1
- package/dist/{chunk-MVL2RAJW.mjs → chunk-KYN5ODF6.mjs} +1 -1
- package/dist/{chunk-LMPAPBUA.cjs → chunk-L6A26QT5.cjs} +36 -68
- package/dist/{chunk-RVXFINNS.cjs → chunk-L6HYACBE.cjs} +31 -31
- package/dist/chunk-LFHCG2DU.mjs +43 -0
- package/dist/{chunk-5OKBARDN.cjs → chunk-LIZTLA5F.cjs} +12 -11
- package/dist/{chunk-HXRYZWTA.mjs → chunk-LLUA2LSC.mjs} +3 -3
- package/dist/{chunk-B5J2YVG7.cjs → chunk-LYIZHJTK.cjs} +2 -2
- package/dist/{chunk-3UEVPCGW.mjs → chunk-MEASUNVY.mjs} +6 -1
- package/dist/{chunk-FZ6YYU2W.mjs → chunk-MGMF4VP7.mjs} +38 -1
- package/dist/{chunk-CNNOLE4O.mjs → chunk-MHHCLYXU.mjs} +1 -1
- package/dist/{chunk-HRSAQ23K.cjs → chunk-MHN4UR5U.cjs} +4 -4
- package/dist/{chunk-3LOLJTFV.cjs → chunk-MN4TQJ3W.cjs} +11 -11
- package/dist/{chunk-PGZDEPTM.cjs → chunk-MY5PZYAD.cjs} +10 -10
- package/dist/{chunk-ZXH4TS3F.cjs → chunk-NBPNUQYO.cjs} +3 -64
- package/dist/{chunk-VXEEATVD.cjs → chunk-NFG4PUPI.cjs} +2 -2
- package/dist/{chunk-INL3THCU.mjs → chunk-O7USYJ4U.mjs} +1 -1
- package/dist/{chunk-4ZFL5GFN.cjs → chunk-OILHPMFX.cjs} +86 -26
- package/dist/{chunk-AJQTP4OO.mjs → chunk-OJ7JP7RJ.mjs} +1 -1
- package/dist/chunk-OQ4YXWH4.cjs +6097 -0
- package/dist/{chunk-DMEPTZTI.mjs → chunk-P2UJF4SS.mjs} +47 -7
- package/dist/{chunk-T5OJPTVN.cjs → chunk-P4TYB4SF.cjs} +2 -2
- package/dist/chunk-P7XDC7UJ.mjs +92 -0
- package/dist/{chunk-SHLXACIO.cjs → chunk-PJ42JESY.cjs} +1 -9
- package/dist/{chunk-5ULKUBIA.cjs → chunk-PN676AZF.cjs} +6 -6
- package/dist/{chunk-YKZRDB5Z.mjs → chunk-PYHPXPSW.mjs} +2 -2
- package/dist/{chunk-KMTGADN3.mjs → chunk-QCVIRVHE.mjs} +1 -9
- package/dist/{chunk-5D2JIPLH.cjs → chunk-QEILRWVV.cjs} +36 -138
- package/dist/{chunk-XKG2BLFN.cjs → chunk-QIBP5EFA.cjs} +18 -35
- package/dist/{chunk-ZUPXLIGB.mjs → chunk-R65GCA6A.mjs} +647 -378
- package/dist/{chunk-BWIQR4DH.cjs → chunk-RHGK2JEN.cjs} +56 -63
- package/dist/{chunk-AS2VPMEE.cjs → chunk-ROQ4C4LJ.cjs} +1465 -8174
- package/dist/{chunk-QV4VE2OW.mjs → chunk-S6ENKNNG.mjs} +5 -3
- package/dist/{chunk-RWFLWR5J.cjs → chunk-S7MTDRYA.cjs} +17 -15
- package/dist/{chunk-PVZE2JGJ.mjs → chunk-SGB4IW7K.mjs} +43 -25
- package/dist/{chunk-GKBWWRBG.mjs → chunk-SVPGWJZF.mjs} +12 -12
- package/dist/{chunk-EKN7NSZO.cjs → chunk-SZLNU3GJ.cjs} +8 -5
- package/dist/chunk-TI7UANHI.cjs +77 -0
- package/dist/{chunk-6BK3K2GB.mjs → chunk-UIDWEU7M.mjs} +83 -44
- package/dist/{chunk-MLY2RP5R.mjs → chunk-ULQOP5UI.mjs} +6 -2
- package/dist/chunk-UNJZGVPU.cjs +6 -0
- package/dist/{chunk-5BWWFHR2.mjs → chunk-UQUEANTY.mjs} +3 -3
- package/dist/chunk-VDRM36QB.cjs +963 -0
- package/dist/chunk-VHRS3MCW.cjs +196 -0
- package/dist/{chunk-SOP2EAA6.mjs → chunk-VLPII2JJ.mjs} +1 -1
- package/dist/{chunk-RG4A6LB2.cjs → chunk-VNPXKF3G.cjs} +7 -7
- package/dist/chunk-VQDBNVOO.cjs +14 -0
- package/dist/chunk-VQGKD7RV.mjs +25 -0
- package/dist/{chunk-6HB6V3R7.mjs → chunk-VTBXE6QG.mjs} +10 -27
- package/dist/{chunk-ZMSZZXOR.mjs → chunk-WDMIW6Q6.mjs} +0 -19
- package/dist/{chunk-NBBEQLOK.cjs → chunk-WLHA5USH.cjs} +9 -9
- package/dist/{chunk-BZHXGVMA.mjs → chunk-WMBRZI5V.mjs} +5 -3
- package/dist/{chunk-4WVJLURN.mjs → chunk-WMHG64DA.mjs} +1 -1
- package/dist/{chunk-JCYYXBAJ.cjs → chunk-WROEFVNO.cjs} +3 -3
- package/dist/{chunk-A657YSP4.cjs → chunk-WSOBCAYO.cjs} +37 -35
- package/dist/{chunk-IWZKTWHZ.cjs → chunk-WU7ZS3EM.cjs} +7 -2
- package/dist/{chunk-J63ZH5OQ.cjs → chunk-X3GMHKO3.cjs} +2 -2
- package/dist/{chunk-POSPE3IO.mjs → chunk-X3NGFVRF.mjs} +61 -21
- package/dist/{chunk-VT4WFRHA.mjs → chunk-XUC6CFLE.mjs} +1 -1
- package/dist/chunk-Y5RG6B7S.mjs +77 -0
- package/dist/{chunk-EIPC3FDA.cjs → chunk-YWCYV7QC.cjs} +9 -5
- package/dist/{chunk-WLL43JMO.mjs → chunk-YYQVGKO5.mjs} +7 -5
- package/dist/chunk-YZAKIXRL.cjs +67 -0
- package/dist/chunk-ZQRCSUSB.cjs +25 -0
- package/dist/{chunk-6XWDE2P2.cjs → chunk-ZTP3BJG6.cjs} +64 -24
- package/dist/{chunk-ZMMBIVQM.mjs → chunk-ZZGQD7A4.mjs} +16 -86
- package/dist/{client-plugins-CsCuCLBz.d.mts → client-plugins-CkYwvDJ0.d.mts} +2545 -2665
- package/dist/{client-plugins-D0ke-Hc8.d.ts → client-plugins-DfeKd0sD.d.ts} +2545 -2665
- package/dist/client-plugins.d.mts +6 -8
- package/dist/client-plugins.d.ts +6 -8
- package/dist/client.cjs +5 -5
- package/dist/client.d.mts +12 -13
- package/dist/client.d.ts +12 -13
- package/dist/client.mjs +4 -4
- package/dist/client.react-server.mjs +2 -0
- package/dist/config.d.mts +6 -8
- package/dist/config.d.ts +6 -8
- package/dist/{devtools-LW4QQ5J3.cjs → devtools-2YHAJYH6.cjs} +21 -18
- package/dist/{devtools-5AFIPVUJ.mjs → devtools-N3QLRIQU.mjs} +20 -17
- package/dist/docs.cjs +23 -20
- package/dist/docs.d.mts +7 -9
- package/dist/docs.d.ts +7 -9
- package/dist/docs.mjs +22 -19
- package/dist/{endpoint-CA-TNX60.d.ts → endpoint-BOE0IAaG.d.ts} +6 -3
- package/dist/{endpoint-CCHFqyTE.d.mts → endpoint-DGZRZHux.d.mts} +6 -3
- package/dist/environment/vite.cjs +6 -2
- package/dist/environment/vite.d.mts +11 -2
- package/dist/environment/vite.d.ts +11 -2
- package/dist/environment/vite.mjs +5 -1
- package/dist/headers.cjs +4 -4
- package/dist/headers.mjs +3 -3
- package/dist/image/server.cjs +7 -3
- package/dist/image/server.d.mts +10 -2
- package/dist/image/server.d.ts +10 -2
- package/dist/image/server.mjs +6 -2
- package/dist/image/sharp.cjs +12 -10
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/image/sharp.mjs +4 -2
- package/dist/{image-config-Duob7wER.d.ts → image-config-BpH1q5R8.d.mts} +4 -1
- package/dist/{image-config-Duob7wER.d.mts → image-config-BpH1q5R8.d.ts} +4 -1
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/index.cjs +90 -68
- package/dist/index.d.mts +28 -145
- package/dist/index.d.ts +28 -145
- package/dist/index.mjs +103 -81
- package/dist/{integration-api-BPJo5oXb.d.ts → integration-api-BuPHMeKz.d.ts} +2 -2
- package/dist/{integration-api-0y4FXJpC.d.mts → integration-api-DWyMmvrR.d.mts} +2 -2
- package/dist/integration-orm-P2II2EBK.cjs +14 -0
- package/dist/{integration-orm-KV5B3BGZ.mjs → integration-orm-RBKCIQYZ.mjs} +4 -3
- package/dist/integrations.cjs +7 -5
- package/dist/integrations.d.mts +8 -10
- package/dist/integrations.d.ts +8 -10
- package/dist/integrations.mjs +6 -4
- package/dist/internal/app-markdown-runtime.cjs +6 -5
- package/dist/internal/app-markdown-runtime.d.mts +7 -9
- package/dist/internal/app-markdown-runtime.d.ts +7 -9
- package/dist/internal/app-markdown-runtime.mjs +5 -4
- package/dist/internal/build-runtime.cjs +57 -56
- package/dist/internal/build-runtime.d.mts +8 -10
- package/dist/internal/build-runtime.d.ts +8 -10
- package/dist/internal/build-runtime.mjs +56 -55
- package/dist/internal/cli-runtime.cjs +37 -31
- package/dist/internal/cli-runtime.mjs +37 -31
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +6 -8
- package/dist/internal/compression-runtime.d.ts +6 -8
- package/dist/internal/config-runtime.cjs +21 -18
- package/dist/internal/config-runtime.d.mts +7 -9
- package/dist/internal/config-runtime.d.ts +7 -9
- package/dist/internal/config-runtime.mjs +20 -17
- package/dist/internal/docs-precompiled-runtime.cjs +3 -3
- package/dist/internal/docs-precompiled-runtime.mjs +2 -2
- package/dist/internal/infra-analytics-runtime.cjs +7 -7
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/metadata-image-runtime.cjs +4 -3
- package/dist/internal/metadata-image-runtime.mjs +3 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-node-env.cjs +2 -2
- package/dist/internal/production-node-env.mjs +1 -1
- package/dist/internal/production-runtime.cjs +53 -28
- package/dist/internal/production-runtime.d.mts +46 -15
- package/dist/internal/production-runtime.d.ts +46 -15
- package/dist/internal/production-runtime.mjs +57 -32
- package/dist/layers-CM5i6T7z.d.mts +55 -0
- package/dist/layers-CM5i6T7z.d.ts +55 -0
- package/dist/markdown.cjs +4 -4
- package/dist/markdown.d.mts +6 -8
- package/dist/markdown.d.ts +6 -8
- package/dist/markdown.mjs +3 -3
- package/dist/middleware.cjs +16 -10
- package/dist/middleware.d.mts +8 -10
- package/dist/middleware.d.ts +8 -10
- package/dist/middleware.mjs +19 -13
- package/dist/navigation.cjs +4 -4
- package/dist/navigation.d.mts +9 -10
- package/dist/navigation.d.ts +9 -10
- package/dist/navigation.mjs +3 -3
- package/dist/{nitro-MPZJGPXK.mjs → nitro-KDACKNHU.mjs} +3 -2
- package/dist/{nitro-7F65EZZS.cjs → nitro-NPGU6VBT.cjs} +4 -3
- package/dist/observability.cjs +2 -2
- package/dist/observability.mjs +1 -1
- package/dist/plugin-DBBZ4JI2.cjs +32 -0
- package/dist/plugin-SYMK7PQ2.mjs +32 -0
- package/dist/plugin.cjs +56 -43
- package/dist/plugin.d.mts +25 -8
- package/dist/plugin.d.ts +25 -8
- package/dist/plugin.mjs +57 -44
- package/dist/{production-runtime-DfRP0cV0.d.mts → production-runtime-BTkXQdYy.d.mts} +17 -3
- package/dist/{production-runtime-BaI3WHnV.d.ts → production-runtime-DFC7pgbp.d.ts} +17 -3
- package/dist/query/client.cjs +2 -2
- package/dist/query/client.mjs +3 -3
- package/dist/{render-plan-Dg8RBYFa.d.mts → render-plan-5rFeWmk7.d.mts} +1 -1
- package/dist/{render-plan-CfIdJKAf.d.ts → render-plan-BoAK9xFC.d.ts} +1 -1
- package/dist/renderer-client.d.mts +8 -9
- package/dist/renderer-client.d.ts +8 -9
- package/dist/{request-DfE02G_A.d.mts → request-BxBWigtl.d.mts} +1 -1
- package/dist/{request-CEbHIIl4.d.ts → request-fciwmd3n.d.ts} +1 -1
- package/dist/request.cjs +3 -3
- package/dist/request.d.mts +7 -9
- package/dist/request.d.ts +7 -9
- package/dist/request.mjs +2 -2
- package/dist/{route-rendering-C4oHbv6C.d.ts → route-rendering-BCM1QzEf.d.mts} +1 -1
- package/dist/{route-rendering-BHyOfXjD.d.mts → route-rendering-BLZT0IP0.d.ts} +1 -1
- package/dist/{router-uRN_29Em.d.ts → router-CkheNX3-.d.ts} +1 -1
- package/dist/{router-DwhA61SB.d.mts → router-DyZJWc1_.d.mts} +1 -1
- package/dist/routes.cjs +6 -5
- package/dist/routes.d.mts +6 -8
- package/dist/routes.d.ts +6 -8
- package/dist/routes.mjs +5 -4
- package/dist/{runtime-COk03hmx.d.ts → runtime-DfU4sKa5.d.ts} +3 -3
- package/dist/{runtime-BEdHhN4C.d.mts → runtime-wexvUN5J.d.mts} +3 -3
- package/dist/{schema-dev-notice-Y7MQEFGN.cjs → schema-dev-notice-5JPE67AI.cjs} +6 -4
- package/dist/{schema-dev-notice-O67CPXJ6.mjs → schema-dev-notice-WLPZ6WKU.mjs} +4 -2
- package/dist/server-action-security.cjs +4 -3
- package/dist/server-action-security.mjs +3 -2
- package/dist/server-client-bridge-DKWDl5NB.d.mts +7 -0
- package/dist/server-client-bridge-DKWDl5NB.d.ts +7 -0
- package/dist/server-fn-client.d.mts +3 -3
- package/dist/server-fn-client.d.ts +3 -3
- package/dist/server-fn.cjs +8 -7
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-fn.mjs +7 -6
- package/dist/server-plugins.cjs +5 -5
- package/dist/server-plugins.d.mts +7 -9
- package/dist/server-plugins.d.ts +7 -9
- package/dist/server-plugins.mjs +4 -4
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.cjs +9 -8
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server-query.mjs +8 -7
- package/dist/server.cjs +97 -73
- package/dist/server.d.mts +18 -13
- package/dist/server.d.ts +18 -13
- package/dist/server.mjs +82 -58
- package/dist/{spa-router-DrVOBVGg.d.ts → spa-router-CcejECnG.d.ts} +2 -2
- package/dist/{spa-router-w4aFOuyn.d.mts → spa-router-DgsMXqfX.d.mts} +2 -2
- package/dist/ssg-1FGaFISl.d.ts +184 -0
- package/dist/ssg-Bg4bMMhM.d.mts +184 -0
- package/dist/storage.cjs +6 -2
- package/dist/storage.d.mts +9 -1
- package/dist/storage.d.ts +9 -1
- package/dist/storage.mjs +5 -1
- package/dist/testing.cjs +20 -18
- package/dist/testing.d.mts +7 -9
- package/dist/testing.d.ts +7 -9
- package/dist/testing.mjs +16 -14
- package/dist/theme/server.cjs +4 -4
- package/dist/theme/server.mjs +3 -3
- package/dist/{utils-Dhuqwmd2.d.ts → utils-8wtTYiH4.d.mts} +1 -1
- package/dist/{utils-BtYehqeU.d.mts → utils-Dxbh6Hgj.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +75 -46
- package/dist/vite.d.mts +130 -11
- package/dist/vite.d.ts +130 -11
- package/dist/vite.mjs +76 -47
- package/dist/{workflows-jZ4BcdoZ.d.ts → workflows-IWP1ddBm.d.mts} +5 -2
- package/dist/{workflows-jZ4BcdoZ.d.mts → workflows-IWP1ddBm.d.ts} +5 -2
- package/dist/workflows.cjs +4 -3
- package/dist/workflows.d.mts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.mjs +3 -2
- package/package.json +3 -1
- package/dist/chunk-3SDFA7UF.cjs +0 -701
- package/dist/chunk-DAO7JGTS.mjs +0 -73
- package/dist/chunk-E5GNDG5F.mjs +0 -701
- package/dist/chunk-SYQ3MOWW.cjs +0 -73
- package/dist/chunk-ULASELLA.cjs +0 -48
- package/dist/integration-orm-55F7CII5.cjs +0 -13
|
@@ -3,13 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-F3VB7ONA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
readSchemaTables
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GC3EM6H4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
resolveSchemaModels
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WDMIW6Q6.mjs";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
getOptionalCatchAllParameterNames,
|
|
12
|
+
materializeSSGRoutePath,
|
|
13
|
+
mergeRouteRenderingDirectiveConfig,
|
|
14
|
+
normalizeStaticPathParams
|
|
15
|
+
} from "./chunk-COABSY3U.mjs";
|
|
13
16
|
import {
|
|
14
17
|
createEnvTypeDeclarations,
|
|
15
18
|
generateEnvTypes
|
|
@@ -17,25 +20,25 @@ import {
|
|
|
17
20
|
import {
|
|
18
21
|
writeFileIfChanged
|
|
19
22
|
} from "./chunk-4JCQDWPX.mjs";
|
|
23
|
+
import {
|
|
24
|
+
resolveFarmComponentExtensions
|
|
25
|
+
} from "./chunk-DAATZTKJ.mjs";
|
|
20
26
|
import {
|
|
21
27
|
getFarmAppDirectories,
|
|
22
28
|
getFarmSourceRoots
|
|
23
29
|
} from "./chunk-BUGNQIHC.mjs";
|
|
24
|
-
import {
|
|
25
|
-
resolveFarmComponentExtensions
|
|
26
|
-
} from "./chunk-DAATZTKJ.mjs";
|
|
27
30
|
import {
|
|
28
31
|
parseRouteSlotFile
|
|
29
32
|
} from "./chunk-RHAZ22ZN.mjs";
|
|
30
33
|
import {
|
|
31
34
|
discoverProgrammaticRoutePaths
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FWCGUVVL.mjs";
|
|
33
36
|
import {
|
|
34
37
|
readFarmI18nCatalogs
|
|
35
38
|
} from "./chunk-QCFBDFRS.mjs";
|
|
36
39
|
import {
|
|
37
40
|
resolvePluginRoutes
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MEASUNVY.mjs";
|
|
39
42
|
import {
|
|
40
43
|
parseRoutePath
|
|
41
44
|
} from "./chunk-KI3MESHB.mjs";
|
|
@@ -44,10 +47,8 @@ import {
|
|
|
44
47
|
} from "./chunk-LPEX4YW6.mjs";
|
|
45
48
|
|
|
46
49
|
// src/ssg.ts
|
|
50
|
+
import { readFileSync } from "fs";
|
|
47
51
|
import { readFile } from "fs/promises";
|
|
48
|
-
var OPTIONAL_CATCH_ALL_SEGMENT = /^\[\[\.\.\.([^\]]+)\]\]$/;
|
|
49
|
-
var REQUIRED_CATCH_ALL_SEGMENT = /^\[\.\.\.([^\]]+)\]$/;
|
|
50
|
-
var REQUIRED_DYNAMIC_SEGMENT = /^\[([^\]]+)\]$/;
|
|
51
52
|
var REQUEST_API_LABELS = /* @__PURE__ */ new Map([
|
|
52
53
|
["cookies", "request cookies"],
|
|
53
54
|
["headers", "request headers"],
|
|
@@ -317,6 +318,17 @@ function parseRouteRenderingDirective(source) {
|
|
|
317
318
|
return void 0;
|
|
318
319
|
}
|
|
319
320
|
__name(parseRouteRenderingDirective, "parseRouteRenderingDirective");
|
|
321
|
+
function readRouteRenderingDirectiveFromFile(modulePath) {
|
|
322
|
+
try {
|
|
323
|
+
const source = readFileSync(modulePath, "utf8");
|
|
324
|
+
const directive = parseRouteRenderingDirective(source);
|
|
325
|
+
if (findRequestBoundSourceBlockers(source).length === 0) return directive;
|
|
326
|
+
return { ...directive ?? { ssg: false, ppr: false, directive: "" }, requestBound: true };
|
|
327
|
+
} catch {
|
|
328
|
+
return void 0;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
__name(readRouteRenderingDirectiveFromFile, "readRouteRenderingDirectiveFromFile");
|
|
320
332
|
function parseKnownRenderingDirective(directive) {
|
|
321
333
|
const normalized = directive.trim().toLowerCase();
|
|
322
334
|
const match = normalized.match(
|
|
@@ -495,121 +507,6 @@ Add \`export const dynamic = "force-static";\` after verifying that imported cod
|
|
|
495
507
|
return { ssg: ssgPages, ssr: ssrRoutes };
|
|
496
508
|
}
|
|
497
509
|
__name(collectSSGPages, "collectSSGPages");
|
|
498
|
-
function materializeSSGRoutePath(routePattern, params) {
|
|
499
|
-
const outputSegments = [];
|
|
500
|
-
for (const segment of routePattern.split("/")) {
|
|
501
|
-
if (!segment) {
|
|
502
|
-
continue;
|
|
503
|
-
}
|
|
504
|
-
const optionalCatchAll = segment.match(OPTIONAL_CATCH_ALL_SEGMENT);
|
|
505
|
-
if (optionalCatchAll) {
|
|
506
|
-
const parameterName = optionalCatchAll[1];
|
|
507
|
-
const value = params[parameterName];
|
|
508
|
-
const values = readCatchAllSegments(value, {
|
|
509
|
-
optional: true,
|
|
510
|
-
parameterName,
|
|
511
|
-
routePattern
|
|
512
|
-
});
|
|
513
|
-
outputSegments.push(...values.map(encodePathSegment));
|
|
514
|
-
continue;
|
|
515
|
-
}
|
|
516
|
-
const requiredCatchAll = segment.match(REQUIRED_CATCH_ALL_SEGMENT);
|
|
517
|
-
if (requiredCatchAll) {
|
|
518
|
-
const parameterName = requiredCatchAll[1];
|
|
519
|
-
const value = params[parameterName];
|
|
520
|
-
const values = readCatchAllSegments(value, {
|
|
521
|
-
optional: false,
|
|
522
|
-
parameterName,
|
|
523
|
-
routePattern
|
|
524
|
-
});
|
|
525
|
-
outputSegments.push(...values.map(encodePathSegment));
|
|
526
|
-
continue;
|
|
527
|
-
}
|
|
528
|
-
const requiredDynamic = segment.match(REQUIRED_DYNAMIC_SEGMENT);
|
|
529
|
-
if (requiredDynamic) {
|
|
530
|
-
const parameterName = requiredDynamic[1];
|
|
531
|
-
const value = params[parameterName];
|
|
532
|
-
if (isStaticPathArray(value)) {
|
|
533
|
-
throw new Error(
|
|
534
|
-
`Cannot materialize SSG route "${routePattern}": parameter "${parameterName}" must be a scalar value; arrays are only supported for catch-all segments.`
|
|
535
|
-
);
|
|
536
|
-
}
|
|
537
|
-
if (isMissingPathValue(value)) {
|
|
538
|
-
throw missingRequiredParameterError(routePattern, parameterName);
|
|
539
|
-
}
|
|
540
|
-
outputSegments.push(encodePathSegment(value));
|
|
541
|
-
continue;
|
|
542
|
-
}
|
|
543
|
-
outputSegments.push(segment);
|
|
544
|
-
}
|
|
545
|
-
return outputSegments.length > 0 ? `/${outputSegments.join("/")}` : "/";
|
|
546
|
-
}
|
|
547
|
-
__name(materializeSSGRoutePath, "materializeSSGRoutePath");
|
|
548
|
-
function readCatchAllSegments(value, options) {
|
|
549
|
-
if (isMissingPathValue(value) || isStaticPathArray(value) && value.length === 0) {
|
|
550
|
-
if (options.optional) {
|
|
551
|
-
return [];
|
|
552
|
-
}
|
|
553
|
-
throw missingRequiredParameterError(options.routePattern, options.parameterName);
|
|
554
|
-
}
|
|
555
|
-
const segments = isStaticPathArray(value) ? [...value] : [value];
|
|
556
|
-
if (segments.some(isMissingPathValue)) {
|
|
557
|
-
throw new Error(
|
|
558
|
-
`Cannot materialize SSG route "${options.routePattern}": catch-all parameter "${options.parameterName}" contains an empty path segment.`
|
|
559
|
-
);
|
|
560
|
-
}
|
|
561
|
-
return segments;
|
|
562
|
-
}
|
|
563
|
-
__name(readCatchAllSegments, "readCatchAllSegments");
|
|
564
|
-
function getOptionalCatchAllParameterNames(routePattern) {
|
|
565
|
-
return new Set(
|
|
566
|
-
routePattern.split("/").map((segment) => segment.match(OPTIONAL_CATCH_ALL_SEGMENT)?.[1]).filter((name) => Boolean(name))
|
|
567
|
-
);
|
|
568
|
-
}
|
|
569
|
-
__name(getOptionalCatchAllParameterNames, "getOptionalCatchAllParameterNames");
|
|
570
|
-
function normalizeStaticPathParams(params, optionalCatchAllParams) {
|
|
571
|
-
const entries = Object.entries(params).map(([key, value]) => {
|
|
572
|
-
const emptyOptionalCatchAll = optionalCatchAllParams.has(key) && (isMissingPathValue(value) || isStaticPathArray(value) && value.length === 0);
|
|
573
|
-
return [
|
|
574
|
-
key,
|
|
575
|
-
emptyOptionalCatchAll ? "" : isStaticPathArray(value) ? value.map(String).join("/") : String(value)
|
|
576
|
-
];
|
|
577
|
-
});
|
|
578
|
-
for (const name of optionalCatchAllParams) {
|
|
579
|
-
if (!Object.prototype.hasOwnProperty.call(params, name)) {
|
|
580
|
-
entries.push([name, ""]);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
return Object.fromEntries(entries);
|
|
584
|
-
}
|
|
585
|
-
__name(normalizeStaticPathParams, "normalizeStaticPathParams");
|
|
586
|
-
function isMissingPathValue(value) {
|
|
587
|
-
return value === "" || value === null || typeof value === "undefined";
|
|
588
|
-
}
|
|
589
|
-
__name(isMissingPathValue, "isMissingPathValue");
|
|
590
|
-
function isStaticPathArray(value) {
|
|
591
|
-
return Array.isArray(value);
|
|
592
|
-
}
|
|
593
|
-
__name(isStaticPathArray, "isStaticPathArray");
|
|
594
|
-
function missingRequiredParameterError(routePattern, parameterName) {
|
|
595
|
-
return new Error(
|
|
596
|
-
`Cannot materialize SSG route "${routePattern}": required parameter "${parameterName}" is missing or empty.`
|
|
597
|
-
);
|
|
598
|
-
}
|
|
599
|
-
__name(missingRequiredParameterError, "missingRequiredParameterError");
|
|
600
|
-
function encodePathSegment(value) {
|
|
601
|
-
const encoded = encodeURIComponent(String(value)).replace(
|
|
602
|
-
/[!'()*]/g,
|
|
603
|
-
(character) => `%${character.charCodeAt(0).toString(16).toUpperCase()}`
|
|
604
|
-
);
|
|
605
|
-
if (encoded === "." || encoded === "..") {
|
|
606
|
-
throw new Error(
|
|
607
|
-
`Cannot materialize SSG path segment "${encoded}": dot-only segments are unsafe to prerender.`
|
|
608
|
-
);
|
|
609
|
-
}
|
|
610
|
-
return encoded;
|
|
611
|
-
}
|
|
612
|
-
__name(encodePathSegment, "encodePathSegment");
|
|
613
510
|
function isSSGModule(mod) {
|
|
614
511
|
return resolveRouteRenderingConfig(mod).ssg;
|
|
615
512
|
}
|
|
@@ -891,7 +788,7 @@ function argumentType(kind) {
|
|
|
891
788
|
__name(argumentType, "argumentType");
|
|
892
789
|
|
|
893
790
|
// src/type-artifacts.ts
|
|
894
|
-
import { existsSync as existsSync3, mkdirSync as mkdirSync4, readFileSync, unlinkSync } from "fs";
|
|
791
|
+
import { existsSync as existsSync3, mkdirSync as mkdirSync4, readFileSync as readFileSync2, unlinkSync } from "fs";
|
|
895
792
|
import { dirname as dirname4, isAbsolute as isAbsolute3, join as join4, resolve as resolve4 } from "path";
|
|
896
793
|
|
|
897
794
|
// src/content-types.ts
|
|
@@ -1292,7 +1189,7 @@ function writeOrCheckGeneratedFile(filePath, content, check, stalePaths) {
|
|
|
1292
1189
|
}
|
|
1293
1190
|
__name(writeOrCheckGeneratedFile, "writeOrCheckGeneratedFile");
|
|
1294
1191
|
function checkGeneratedFile(filePath, content, stalePaths) {
|
|
1295
|
-
if (!existsSync3(filePath) ||
|
|
1192
|
+
if (!existsSync3(filePath) || readFileSync2(filePath, "utf8") !== content) {
|
|
1296
1193
|
stalePaths.push(filePath);
|
|
1297
1194
|
}
|
|
1298
1195
|
}
|
|
@@ -1307,7 +1204,7 @@ function removeLegacyTypeArtifacts(root, srcDir) {
|
|
|
1307
1204
|
for (const [fileName, marker] of LEGACY_TYPE_ARTIFACTS) {
|
|
1308
1205
|
const filePath = join4(root, srcDir, fileName);
|
|
1309
1206
|
if (!existsSync3(filePath)) continue;
|
|
1310
|
-
const source =
|
|
1207
|
+
const source = readFileSync2(filePath, "utf8");
|
|
1311
1208
|
if (source.includes(marker)) {
|
|
1312
1209
|
unlinkSync(filePath);
|
|
1313
1210
|
}
|
|
@@ -1318,7 +1215,7 @@ function collectLegacyTypeArtifacts(root, srcDir, stalePaths) {
|
|
|
1318
1215
|
for (const [fileName, marker] of LEGACY_TYPE_ARTIFACTS) {
|
|
1319
1216
|
const filePath = join4(root, srcDir, fileName);
|
|
1320
1217
|
if (!existsSync3(filePath)) continue;
|
|
1321
|
-
if (
|
|
1218
|
+
if (readFileSync2(filePath, "utf8").includes(marker)) stalePaths.push(filePath);
|
|
1322
1219
|
}
|
|
1323
1220
|
}
|
|
1324
1221
|
__name(collectLegacyTypeArtifacts, "collectLegacyTypeArtifacts");
|
|
@@ -1329,6 +1226,7 @@ export {
|
|
|
1329
1226
|
analyzeStaticRouteCandidate,
|
|
1330
1227
|
findRequestBoundSourceBlockers,
|
|
1331
1228
|
parseRouteRenderingDirective,
|
|
1229
|
+
readRouteRenderingDirectiveFromFile,
|
|
1332
1230
|
collectSSGPages,
|
|
1333
1231
|
isSSGModule,
|
|
1334
1232
|
hasISR,
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkD5IHNDHIcjs = require('./chunk-D5IHNDHI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkD4ROBNTKcjs = require('./chunk-D4ROBNTK.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkI57LW5VZcjs = require('./chunk-I57LW5VZ.cjs');
|
|
@@ -178,12 +178,12 @@ function createFarmDefaultSitemap(sources, options) {
|
|
|
178
178
|
for (const source of sources) {
|
|
179
179
|
const path = source.pattern;
|
|
180
180
|
if (path.includes("[") || path.includes("(") || entries.has(path)) continue;
|
|
181
|
-
if (include.length && !include.some((pattern) =>
|
|
181
|
+
if (include.length && !include.some((pattern) => _chunkD4ROBNTKcjs.matchesFarmMarkdownRoutePattern.call(void 0, pattern, path))) {
|
|
182
182
|
continue;
|
|
183
183
|
}
|
|
184
|
-
if (exclude.some((pattern) =>
|
|
184
|
+
if (exclude.some((pattern) => _chunkD4ROBNTKcjs.matchesFarmMarkdownRoutePattern.call(void 0, pattern, path))) continue;
|
|
185
185
|
const module = isRecord(source.module) ? source.module : void 0;
|
|
186
|
-
if (
|
|
186
|
+
if (_chunkD5IHNDHIcjs.isFarmMetadataNoIndex.call(void 0, _optionalChain([module, 'optionalAccess', _2 => _2.metadata]))) continue;
|
|
187
187
|
if (_optionalChain([module, 'optionalAccess', _3 => _3.__farmRouteGuard])) continue;
|
|
188
188
|
entries.set(path, {
|
|
189
189
|
url: new URL(_chunkI57LW5VZcjs.applyFarmBasePath.call(void 0, path, options.basePath), base).href,
|