@farm.js/core 0.1.68 → 0.1.70
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-FER4MQDF.cjs → agent-mcp-handler-6T2Z7TB6.cjs} +8 -5
- package/dist/{agent-mcp-handler-AZ7QW4UP.mjs → agent-mcp-handler-CPU354QQ.mjs} +7 -4
- package/dist/{agent-mcp.d-Uh5xr7aX.d.ts → agent-mcp.d-DulgFLBt.d.ts} +13 -4
- package/dist/{agent-mcp.d-wkVPK1GA.d.mts → agent-mcp.d-TAs1ES2F.d.mts} +13 -4
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +3 -2
- package/dist/agent-runtime.d.ts +3 -2
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-GUIRJWZH.cjs +16 -0
- package/dist/{analyzer-CQDU7E3Y.mjs → analyzer-QGRBLETM.mjs} +2 -2
- package/dist/api/node.d.mts +5 -4
- package/dist/api/node.d.ts +5 -4
- package/dist/api/route-manager.cjs +4 -4
- package/dist/api/route-manager.d.mts +16 -7
- package/dist/api/route-manager.d.ts +16 -7
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +4 -3
- package/dist/api/runtime.d.ts +4 -3
- package/dist/api.cjs +6 -6
- package/dist/api.d.mts +8 -24
- package/dist/api.d.ts +8 -24
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-Dd4q5CFx.d.mts → app-manifest.d-6zXb90o6.d.mts} +1 -1
- package/dist/{app-manifest.d-BT5i2F-o.d.ts → app-manifest.d-C-nf3Vmm.d.ts} +1 -1
- package/dist/app-markdown.cjs +5 -4
- package/dist/app-markdown.d.mts +4 -3
- package/dist/app-markdown.d.ts +4 -3
- package/dist/app-markdown.mjs +4 -3
- package/dist/{app.d-BVOpL_f2.d.ts → app.d-C2xeMIYT.d.ts} +18 -8
- package/dist/{app.d-BhiDXex_.d.mts → app.d-DF0aundc.d.mts} +18 -8
- package/dist/{base-path.d-BOUV5ozD.d.mts → base-path.d-BJ3SYpB8.d.mts} +7 -1
- package/dist/{base-path.d-BOUV5ozD.d.ts → base-path.d-BJ3SYpB8.d.ts} +7 -1
- package/dist/{chunk-4ZXKYCYK.mjs → chunk-255J7K4X.mjs} +1 -1
- package/dist/{chunk-RVGLYMJM.cjs → chunk-2AM26UGI.cjs} +2 -2
- package/dist/{chunk-UPOYKX4S.cjs → chunk-2MR4MABG.cjs} +4 -4
- package/dist/chunk-2RCCFB2Y.cjs +129 -0
- package/dist/{chunk-K6VFYFOY.cjs → chunk-2W4GNXGX.cjs} +2 -2
- package/dist/{chunk-URN7VFO7.cjs → chunk-32SYRIQ7.cjs} +21 -22
- package/dist/{chunk-CV6MFQ4Y.mjs → chunk-3AUINHFG.mjs} +1 -1
- package/dist/{chunk-KDO6T6OB.mjs → chunk-3EXCZJEN.mjs} +2 -2
- package/dist/{chunk-MMDKYJ5V.cjs → chunk-3GNVIYPO.cjs} +7 -7
- package/dist/{chunk-65Y5SIBH.cjs → chunk-3QM74STY.cjs} +1 -1
- package/dist/{chunk-NT4W4H52.mjs → chunk-3WS5AZ3R.mjs} +23 -18
- package/dist/{chunk-FJMC24KG.cjs → chunk-42KMUIWZ.cjs} +0 -3
- package/dist/{chunk-LR4KP3I7.cjs → chunk-4AC4PXZO.cjs} +2 -2
- package/dist/{chunk-YVPX5PI5.mjs → chunk-4O26BPUY.mjs} +8 -0
- package/dist/{chunk-LENKRGBV.mjs → chunk-5CFHQ7HM.mjs} +1 -1
- package/dist/{chunk-G7NBPP7H.mjs → chunk-5IJRJWJS.mjs} +1 -1
- package/dist/{chunk-MV7NWU23.mjs → chunk-5R3JQPWD.mjs} +1 -1
- package/dist/{chunk-3Y52TWYU.mjs → chunk-62ZRA7XU.mjs} +0 -3
- package/dist/{chunk-5JKDFRTK.cjs → chunk-65FPDDT4.cjs} +2 -2
- package/dist/{chunk-K6SXMVXO.mjs → chunk-75E5FDX2.mjs} +22 -7
- package/dist/{chunk-K76CBYQM.mjs → chunk-7A3URI2F.mjs} +20 -0
- package/dist/{chunk-VFNAK6A5.mjs → chunk-A2TH5MKE.mjs} +9 -5
- package/dist/{chunk-225APHKC.cjs → chunk-A7HCBHMC.cjs} +3 -3
- package/dist/{chunk-VX2HZGC7.cjs → chunk-ACGBXN3U.cjs} +2 -2
- package/dist/{chunk-Z3PW3DIR.cjs → chunk-BPUVDCGG.cjs} +5 -5
- package/dist/{chunk-FT6KJHS3.cjs → chunk-C2JOS77Z.cjs} +4 -1
- package/dist/{chunk-DIXFKAPM.mjs → chunk-CCHJWJGP.mjs} +297 -148
- package/dist/{chunk-CRVSYDHV.mjs → chunk-CKQAQFF6.mjs} +2 -2
- package/dist/chunk-DC2AXGNZ.mjs +129 -0
- package/dist/{chunk-TNK2TVRS.cjs → chunk-DIHBWZDZ.cjs} +449 -352
- package/dist/{chunk-JSOCDYER.cjs → chunk-DMXMIE2C.cjs} +15 -1
- package/dist/{chunk-23VJEGKC.cjs → chunk-DVJM55D2.cjs} +9 -1
- package/dist/{chunk-QSUYB3RH.cjs → chunk-DZHTNSQ5.cjs} +14 -14
- package/dist/{chunk-OIOPQ25L.mjs → chunk-E77IA5IF.mjs} +46 -33
- package/dist/{chunk-VRGY3X2I.mjs → chunk-EDZU7YRK.mjs} +8 -9
- package/dist/{chunk-EZTKXD6P.cjs → chunk-FDGYDQGL.cjs} +8 -1
- package/dist/{chunk-PLJKJJ2H.mjs → chunk-FETMUBIA.mjs} +27 -82
- package/dist/{chunk-HJZZSBVK.cjs → chunk-FILXOEWD.cjs} +2 -2
- package/dist/{chunk-KWCZKJYU.cjs → chunk-FJ5YCERM.cjs} +581 -432
- package/dist/{chunk-PDFFYZAT.cjs → chunk-GF22VGMS.cjs} +2 -2
- package/dist/{chunk-OOJBBHYW.cjs → chunk-GVYZCJZH.cjs} +30 -1
- package/dist/{chunk-MNJDNTGO.mjs → chunk-HAXFV2CD.mjs} +1 -1
- package/dist/{chunk-DXZ57EPE.mjs → chunk-I4KPA2C6.mjs} +14 -0
- package/dist/{chunk-LDEXTX4I.cjs → chunk-I7NUT24Z.cjs} +29 -22
- package/dist/{chunk-MZ4CRSY7.cjs → chunk-IEN2EFE5.cjs} +4 -4
- package/dist/{chunk-NVOMQLI2.mjs → chunk-IWJONXPF.mjs} +11 -0
- package/dist/{chunk-RLH5AH2M.mjs → chunk-JDO346NV.mjs} +1 -1
- package/dist/{chunk-WUTFJOV7.cjs → chunk-JFPKARWM.cjs} +16 -8
- package/dist/{chunk-A3T445WK.mjs → chunk-JFVT5ZZV.mjs} +9 -2
- package/dist/{chunk-WPB67LE5.mjs → chunk-JRF2SKCD.mjs} +1 -1
- package/dist/{chunk-YIHRZBD7.cjs → chunk-JRGR5Z4K.cjs} +1 -1
- package/dist/{chunk-UKZ6AWKZ.cjs → chunk-JWY66PID.cjs} +44 -1
- package/dist/{chunk-BDYM2TN3.cjs → chunk-JX5VOLAV.cjs} +8 -8
- package/dist/{chunk-WMLSZAKN.mjs → chunk-JZQS3ZOI.mjs} +1 -1
- package/dist/{chunk-YTNBCXCW.cjs → chunk-K4UGCUXX.cjs} +17 -13
- package/dist/{chunk-OFBLGH6V.cjs → chunk-K66JILV3.cjs} +47 -34
- package/dist/{chunk-QOGIZKSO.cjs → chunk-K7JMTAFH.cjs} +5 -5
- package/dist/{chunk-IFR74W6S.mjs → chunk-KPJYBSHL.mjs} +4 -1
- package/dist/{chunk-Z6SOXHAD.mjs → chunk-KPMLDT3B.mjs} +208 -111
- package/dist/{chunk-KI3MU7B5.mjs → chunk-LDVJIBGN.mjs} +1 -1
- package/dist/{chunk-IGDYL2IA.cjs → chunk-LECZ5DPZ.cjs} +2 -2
- package/dist/{chunk-5FBZJJGA.mjs → chunk-LXEJNWF5.mjs} +2 -2
- package/dist/{chunk-F36LS2C7.cjs → chunk-M6U6E4F7.cjs} +335 -285
- package/dist/{chunk-AKIQ54FK.cjs → chunk-MBCRWU3P.cjs} +26 -81
- package/dist/{chunk-P2NBQ5JI.mjs → chunk-MWUDEYBI.mjs} +1 -1
- package/dist/{chunk-SQ6IWJ3H.cjs → chunk-MZLJFNMH.cjs} +1 -1
- package/dist/{chunk-6OFOIMNS.mjs → chunk-N62IYXYD.mjs} +1 -1
- package/dist/{chunk-ZPKJPM7K.mjs → chunk-NA77GEIU.mjs} +2 -2
- package/dist/{chunk-FVYBEMOD.cjs → chunk-NAXKOTPP.cjs} +6 -6
- package/dist/{chunk-I7J5RLGO.cjs → chunk-NLBHLPEO.cjs} +12 -1
- package/dist/{chunk-3EEINK7G.cjs → chunk-NSZY3EWG.cjs} +10 -7
- package/dist/{chunk-F6CMGWAL.mjs → chunk-NYF7A4UW.mjs} +1 -1
- package/dist/{chunk-QO43L7Z4.cjs → chunk-O32QPFVV.cjs} +25 -7
- package/dist/{chunk-5IQ2ERQA.cjs → chunk-O47W53D3.cjs} +1 -1
- package/dist/{chunk-CO6UYM2D.mjs → chunk-O5QUJEWT.mjs} +1 -1
- package/dist/{chunk-JL2YW5KX.mjs → chunk-OAEDVXVE.mjs} +44 -1
- package/dist/{chunk-3TXKFRSO.mjs → chunk-OEL5EPOJ.mjs} +1 -1
- package/dist/{chunk-KSZK34HU.mjs → chunk-PJQ5W356.mjs} +16 -8
- package/dist/{chunk-BZWTBELF.cjs → chunk-Q5HMVGR5.cjs} +87 -17
- package/dist/{chunk-5NFQ6AZI.cjs → chunk-QEWWKYDL.cjs} +25 -10
- package/dist/{chunk-QOSDWGKT.mjs → chunk-QVBXTSIZ.mjs} +1 -1
- package/dist/{chunk-T5XFZQCL.mjs → chunk-QZHTDVH4.mjs} +1 -1
- package/dist/{chunk-HEJM46HQ.mjs → chunk-R7254L3R.mjs} +5 -2
- package/dist/{chunk-OGVTUGMU.mjs → chunk-REP6HWJN.mjs} +13 -3
- package/dist/{chunk-4UAQB5LB.mjs → chunk-RMOU3PR4.mjs} +112 -62
- package/dist/{chunk-WYL4ODZ4.mjs → chunk-SE7HPBYK.mjs} +30 -1
- package/dist/{chunk-2ZOYOYEE.mjs → chunk-THG2TVDH.mjs} +73 -3
- package/dist/{chunk-TEJ67GD2.mjs → chunk-TLSSIYAL.mjs} +20 -5
- package/dist/{chunk-DWLNLU55.cjs → chunk-TPYAYFMF.cjs} +2 -2
- package/dist/{chunk-Y6KHPJDB.cjs → chunk-U7VH3Q5E.cjs} +2 -2
- package/dist/{chunk-X3MHKLCO.cjs → chunk-VG6HYT5K.cjs} +26 -11
- package/dist/{chunk-437QZIC2.cjs → chunk-VNBDN5W2.cjs} +5 -5
- package/dist/{chunk-AJNBTOVQ.mjs → chunk-WW3LRNQV.mjs} +1 -1
- package/dist/{chunk-GFPS7MNE.mjs → chunk-WX63N6C5.mjs} +4 -4
- package/dist/{chunk-7LK5CTUM.cjs → chunk-XYVPTTUT.cjs} +31 -26
- package/dist/{chunk-VOQ7XZZT.cjs → chunk-Y2SZVIVH.cjs} +20 -0
- package/dist/{chunk-XCAQTCGK.mjs → chunk-YBY34UHB.mjs} +1 -1
- package/dist/{chunk-YGJ5P3TJ.mjs → chunk-Z3GPAFIA.mjs} +21 -3
- package/dist/{chunk-4E57QHPW.cjs → chunk-ZUVAGMQ5.cjs} +17 -7
- package/dist/{chunk-23LVFSID.mjs → chunk-ZXDX7VYZ.mjs} +7 -0
- package/dist/{client-component.d-BvQOxSqh.d.mts → client-component.d-Bk5qKJM-.d.mts} +2 -2
- package/dist/{client-component.d-DNVSLEPi.d.ts → client-component.d-DNbC4oWI.d.ts} +2 -2
- package/dist/{client-plugins.d-CNDqcAuf.d.ts → client-plugins.d-DwUqh4gp.d.ts} +50 -5
- package/dist/{client-plugins.d-CE1lVK2R.d.mts → client-plugins.d-Pi9nG0W0.d.mts} +50 -5
- package/dist/client-plugins.d.mts +3 -2
- package/dist/client-plugins.d.ts +3 -2
- package/dist/client.cjs +6 -6
- package/dist/client.d.mts +8 -7
- package/dist/client.d.ts +8 -7
- package/dist/client.mjs +5 -5
- package/dist/config.d.mts +3 -2
- package/dist/config.d.ts +3 -2
- package/dist/deployment.cjs +4 -2
- package/dist/deployment.d.mts +7 -1
- package/dist/deployment.d.ts +7 -1
- package/dist/deployment.mjs +5 -3
- package/dist/desktop.d.mts +4 -3
- package/dist/desktop.d.ts +4 -3
- package/dist/{dev-guard-ONNMVQUN.mjs → dev-guard-ZDIELV6Q.mjs} +1 -1
- package/dist/{dev-guard-2UW2KERP.cjs → dev-guard-ZLLKVO5T.cjs} +2 -2
- package/dist/{devtools-2A2GPC7B.mjs → devtools-CB43AHEP.mjs} +8 -7
- package/dist/{devtools-R27T3BRY.cjs → devtools-L5DUNDF3.cjs} +9 -8
- package/dist/docs.cjs +14 -11
- package/dist/docs.d.mts +17 -4
- package/dist/docs.d.ts +17 -4
- package/dist/docs.mjs +14 -11
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/headers.d-CE6OWB-n.d.ts +18 -0
- package/dist/headers.d-DED1hHh4.d.mts +18 -0
- package/dist/i18n/client.cjs +2 -2
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +2 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +3 -3
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/i18n/server.mjs +2 -2
- package/dist/image/server.cjs +2 -2
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +9 -9
- package/dist/image/sharp.mjs +1 -1
- package/dist/index.cjs +49 -45
- package/dist/{index.d-Bt3kl19W.d.mts → index.d-CbvOjJcp.d.mts} +1 -1
- package/dist/{index.d-Cx_-DaKV.d.ts → index.d-c9UwIqDy.d.ts} +1 -1
- package/dist/index.d.mts +26 -24
- package/dist/index.d.ts +26 -24
- package/dist/index.mjs +63 -59
- package/dist/integrations/orm.d.mts +3 -2
- package/dist/integrations/orm.d.ts +3 -2
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +3 -2
- package/dist/integrations.d.ts +3 -2
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +4 -3
- package/dist/internal/app-markdown-runtime.d.mts +4 -3
- package/dist/internal/app-markdown-runtime.d.ts +4 -3
- package/dist/internal/app-markdown-runtime.mjs +3 -2
- package/dist/internal/build-runtime.cjs +36 -37
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +35 -36
- package/dist/internal/cli-runtime.cjs +15 -14
- package/dist/internal/cli-runtime.mjs +14 -13
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +5 -3
- package/dist/internal/client-runtime.d.mts +17 -7
- package/dist/internal/client-runtime.d.ts +17 -7
- package/dist/internal/client-runtime.mjs +4 -2
- package/dist/internal/compression-runtime.d.mts +3 -2
- package/dist/internal/compression-runtime.d.ts +3 -2
- package/dist/internal/config-runtime.cjs +10 -9
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +9 -8
- package/dist/internal/infra-analytics-runtime.cjs +12 -9
- package/dist/internal/infra-analytics-runtime.mjs +10 -7
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +52 -17
- package/dist/internal/production-runtime.d.mts +57 -20
- package/dist/internal/production-runtime.d.ts +57 -20
- package/dist/internal/production-runtime.mjs +55 -20
- package/dist/internal/vercel-edge-middleware.cjs +3 -2
- package/dist/internal/vercel-edge-middleware.d.mts +2 -2
- package/dist/internal/vercel-edge-middleware.d.ts +2 -2
- package/dist/internal/vercel-edge-middleware.mjs +2 -1
- package/dist/markdown.cjs +3 -2
- package/dist/markdown.d.mts +3 -2
- package/dist/markdown.d.ts +3 -2
- package/dist/markdown.mjs +2 -1
- package/dist/middleware.cjs +6 -5
- package/dist/middleware.d.mts +4 -3
- package/dist/middleware.d.ts +4 -3
- package/dist/middleware.mjs +5 -4
- package/dist/mobile.d.mts +3 -3
- package/dist/mobile.d.ts +3 -3
- package/dist/{mount.d-Bki4pOaJ.d.mts → mount.d-BvWxf8ZE.d.mts} +1 -1
- package/dist/{mount.d-DjR5aerM.d.ts → mount.d-DngLY7NL.d.ts} +1 -1
- package/dist/{native-tree-W2SSJB3Y.cjs → native-tree-GF4BH33L.cjs} +4 -3
- package/dist/{native-tree-Y5YQANW7.mjs → native-tree-L2IIEBXH.mjs} +3 -2
- package/dist/{navigation-delegate.d-VDkziXTK.d.mts → navigation-delegate.d-CMyl1h2l.d.mts} +1 -1
- package/dist/{navigation-delegate.d-CtghaSP3.d.ts → navigation-delegate.d-zZogiDfa.d.ts} +1 -1
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +6 -5
- package/dist/navigation.d.ts +6 -5
- package/dist/navigation.mjs +4 -4
- package/dist/{plugin-WIU4GDD4.cjs → plugin-F2O4BFTK.cjs} +2 -2
- package/dist/{plugin-SAS22JL7.mjs → plugin-VEBRN7A3.mjs} +1 -1
- package/dist/plugin.cjs +30 -29
- package/dist/plugin.d.mts +6 -4
- package/dist/plugin.d.ts +6 -4
- package/dist/plugin.mjs +29 -28
- package/dist/{production-runtime.d-DMZY3OgV.d.mts → production-runtime.d-B0IeWWyO.d.mts} +23 -2
- package/dist/{production-runtime.d-BMyyLGBB.d.ts → production-runtime.d-q3aHIv5Y.d.ts} +23 -2
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan.d-i9sI4tc9.d.ts → render-plan.d-DQj2bzd2.d.ts} +1 -1
- package/dist/{render-plan.d-BSwV8PE4.d.mts → render-plan.d-Di1znBDW.d.mts} +1 -1
- package/dist/renderer-client.cjs +7 -7
- package/dist/renderer-client.d.mts +6 -5
- package/dist/renderer-client.d.ts +6 -5
- package/dist/renderer-client.mjs +3 -3
- package/dist/{request.d-Dgln8tuI.d.ts → request.d-C5vyoYeL.d.ts} +1 -1
- package/dist/{request.d-C24FNQ_7.d.mts → request.d-CJWzfDYJ.d.mts} +1 -1
- package/dist/request.d.mts +4 -3
- package/dist/request.d.ts +4 -3
- package/dist/{resolver.d-JnZKKsc5.d.mts → resolver.d-9iKC79CU.d.mts} +1 -1
- package/dist/{resolver.d-BHyZgpa7.d.ts → resolver.d-CY6mEa_F.d.ts} +1 -1
- package/dist/response.d-B_MtBCnF.d.mts +12 -0
- package/dist/response.d-B_MtBCnF.d.ts +12 -0
- package/dist/{route-rendering.d-Ds0BfwQi.d.mts → route-rendering.d-C-et2TZ1.d.mts} +9 -2
- package/dist/{route-rendering.d-CUylZKJA.d.ts → route-rendering.d-DhsY5M2I.d.ts} +9 -2
- package/dist/{router.d-CFPcbqzc.d.mts → router.d-BMDS5s5X.d.mts} +1 -1
- package/dist/{router.d-B56rMOFm.d.ts → router.d-CJB-Ntni.d.ts} +1 -1
- package/dist/{routes.d-CrEy0lJS.d.mts → routes.d-D3aJw1H5.d.mts} +1 -1
- package/dist/{routes.d-9GFFNioh.d.ts → routes.d-K-Qg79AA.d.ts} +1 -1
- package/dist/routes.d.mts +3 -2
- package/dist/routes.d.ts +3 -2
- package/dist/{index.d-BNNDpql4.d.ts → routing.d-BxOZ2YWc.d.ts} +1 -2
- package/dist/{index.d-BqcfqJvt.d.mts → routing.d-DwSUVZbF.d.mts} +1 -2
- package/dist/{rsc-pipeline-GA4AQWZI.mjs → rsc-pipeline-AXQJCCHI.mjs} +12 -12
- package/dist/{rsc-pipeline-3T7V6OUT.cjs → rsc-pipeline-NJKLZ3YE.cjs} +13 -13
- package/dist/{runtime-REUTNTI5.cjs → runtime-DMW6DDOI.cjs} +19 -18
- package/dist/{runtime-ZYCKKY7L.mjs → runtime-JXNEKOSE.mjs} +11 -10
- package/dist/{runtime.d-BtL3PCL3.d.ts → runtime.d-B_uPfMjA.d.ts} +2 -2
- package/dist/{runtime.d-DLRO-ExG.d.mts → runtime.d-BonodRI9.d.mts} +1 -1
- package/dist/{runtime.d-3iJAKptR.d.mts → runtime.d-nUz0HAL4.d.mts} +2 -2
- package/dist/{runtime.d-H7k9hOQE.d.ts → runtime.d-uw4123iI.d.ts} +1 -1
- package/dist/server-plugins.cjs +3 -2
- package/dist/server-plugins.d.mts +6 -12
- package/dist/server-plugins.d.ts +6 -12
- package/dist/server-plugins.mjs +2 -1
- package/dist/server.cjs +64 -56
- package/dist/server.d.mts +23 -14
- package/dist/server.d.ts +23 -14
- package/dist/server.mjs +40 -32
- package/dist/{spa-router.d-Dr7oanhl.d.ts → spa-router.d-l0d9pPZj.d.ts} +3 -3
- package/dist/{spa-router.d-g4CzhEH1.d.mts → spa-router.d-rha3M95y.d.mts} +3 -3
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.mts +3 -2
- package/dist/testing.d.ts +3 -2
- package/dist/testing.mjs +3 -3
- package/dist/{types.d-C41ePjvP.d.ts → types.d-wVRlLtBf.d.mts} +1 -1
- package/dist/{types.d-C41ePjvP.d.mts → types.d-wVRlLtBf.d.ts} +1 -1
- package/dist/{utils.d-BxxyDEb8.d.ts → utils.d-BK-PTOF8.d.ts} +1 -1
- package/dist/{utils.d-HIla3pD_.d.mts → utils.d-BzuTobEc.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +37 -29
- package/dist/vite.d.mts +26 -6
- package/dist/vite.d.ts +26 -6
- package/dist/vite.mjs +36 -28
- package/package.json +3 -3
- package/dist/analyzer-PPAHM4AW.cjs +0 -16
- package/dist/chunk-HHLEYA4B.cjs +0 -17
- package/dist/chunk-QYNZ3CTI.mjs +0 -17
- package/dist/response.d-BolW0Vx_.d.mts +0 -10
- package/dist/response.d-BolW0Vx_.d.ts +0 -10
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkGF22VGMScjs = require('../chunk-GF22VGMS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTPYAYFMFcjs = require('../chunk-TPYAYFMF.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQEWWKYDLcjs = require('../chunk-QEWWKYDL.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunk7PPLTD3Pcjs = require('../chunk-7PPLTD3P.cjs');
|
|
@@ -23,7 +23,9 @@ require('../chunk-CCAUIBIS.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkJWY66PIDcjs = require('../chunk-JWY66PID.cjs');
|
|
27
29
|
require('../chunk-CL52PD6D.cjs');
|
|
28
30
|
|
|
29
31
|
|
|
@@ -48,7 +50,7 @@ var _chunkOCS3PSYRcjs = require('../chunk-OCS3PSYR.cjs');
|
|
|
48
50
|
|
|
49
51
|
|
|
50
52
|
|
|
51
|
-
var
|
|
53
|
+
var _chunk2MR4MABGcjs = require('../chunk-2MR4MABG.cjs');
|
|
52
54
|
require('../chunk-3HLQTOVU.cjs');
|
|
53
55
|
|
|
54
56
|
|
|
@@ -56,8 +58,8 @@ var _chunk47JV57DAcjs = require('../chunk-47JV57DA.cjs');
|
|
|
56
58
|
|
|
57
59
|
|
|
58
60
|
|
|
59
|
-
var _chunkEZTKXD6Pcjs = require('../chunk-EZTKXD6P.cjs');
|
|
60
61
|
|
|
62
|
+
var _chunkFDGYDQGLcjs = require('../chunk-FDGYDQGL.cjs');
|
|
61
63
|
|
|
62
64
|
|
|
63
65
|
|
|
@@ -67,14 +69,15 @@ var _chunkEZTKXD6Pcjs = require('../chunk-EZTKXD6P.cjs');
|
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
|
|
70
|
-
var _chunkYTNBCXCWcjs = require('../chunk-YTNBCXCW.cjs');
|
|
71
72
|
|
|
73
|
+
var _chunkK4UGCUXXcjs = require('../chunk-K4UGCUXX.cjs');
|
|
72
74
|
|
|
73
75
|
|
|
74
|
-
var _chunkX3MHKLCOcjs = require('../chunk-X3MHKLCO.cjs');
|
|
75
76
|
|
|
77
|
+
var _chunkVG6HYT5Kcjs = require('../chunk-VG6HYT5K.cjs');
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
|
|
80
|
+
var _chunkLECZ5DPZcjs = require('../chunk-LECZ5DPZ.cjs');
|
|
78
81
|
require('../chunk-4EBC7EMW.cjs');
|
|
79
82
|
|
|
80
83
|
|
|
@@ -100,7 +103,9 @@ var _chunkQIXEU2WVcjs = require('../chunk-QIXEU2WV.cjs');
|
|
|
100
103
|
|
|
101
104
|
|
|
102
105
|
|
|
103
|
-
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
var _chunkZUVAGMQ5cjs = require('../chunk-ZUVAGMQ5.cjs');
|
|
104
109
|
require('../chunk-BTVDYS4B.cjs');
|
|
105
110
|
|
|
106
111
|
|
|
@@ -112,7 +117,7 @@ require('../chunk-BTVDYS4B.cjs');
|
|
|
112
117
|
|
|
113
118
|
|
|
114
119
|
|
|
115
|
-
var
|
|
120
|
+
var _chunkO32QPFVVcjs = require('../chunk-O32QPFVV.cjs');
|
|
116
121
|
|
|
117
122
|
|
|
118
123
|
|
|
@@ -120,7 +125,7 @@ var _chunkQO43L7Z4cjs = require('../chunk-QO43L7Z4.cjs');
|
|
|
120
125
|
|
|
121
126
|
var _chunk6JHZPB52cjs = require('../chunk-6JHZPB52.cjs');
|
|
122
127
|
require('../chunk-4P5634G6.cjs');
|
|
123
|
-
require('../chunk-
|
|
128
|
+
require('../chunk-C2JOS77Z.cjs');
|
|
124
129
|
require('../chunk-2KMIJDY6.cjs');
|
|
125
130
|
|
|
126
131
|
|
|
@@ -160,7 +165,7 @@ require('../chunk-FEFCISOX.cjs');
|
|
|
160
165
|
var _chunkDMAP4RNDcjs = require('../chunk-DMAP4RND.cjs');
|
|
161
166
|
|
|
162
167
|
|
|
163
|
-
var
|
|
168
|
+
var _chunkJRGR5Z4Kcjs = require('../chunk-JRGR5Z4K.cjs');
|
|
164
169
|
|
|
165
170
|
|
|
166
171
|
var _chunkLNVGXUL3cjs = require('../chunk-LNVGXUL3.cjs');
|
|
@@ -189,11 +194,13 @@ var _chunkSUCDVKUBcjs = require('../chunk-SUCDVKUB.cjs');
|
|
|
189
194
|
|
|
190
195
|
|
|
191
196
|
var _chunkEVIWKPJVcjs = require('../chunk-EVIWKPJV.cjs');
|
|
192
|
-
require('../chunk-
|
|
197
|
+
require('../chunk-MZLJFNMH.cjs');
|
|
198
|
+
|
|
193
199
|
|
|
194
200
|
|
|
195
201
|
|
|
196
|
-
|
|
202
|
+
|
|
203
|
+
var _chunkDVJM55D2cjs = require('../chunk-DVJM55D2.cjs');
|
|
197
204
|
require('../chunk-OOZEU5KK.cjs');
|
|
198
205
|
require('../chunk-PO5MXV5X.cjs');
|
|
199
206
|
require('../chunk-CA7DNRHO.cjs');
|
|
@@ -201,7 +208,7 @@ require('../chunk-PMJSG4JS.cjs');
|
|
|
201
208
|
|
|
202
209
|
|
|
203
210
|
|
|
204
|
-
var
|
|
211
|
+
var _chunkY2SZVIVHcjs = require('../chunk-Y2SZVIVH.cjs');
|
|
205
212
|
require('../chunk-R5U7OIPI.cjs');
|
|
206
213
|
require('../chunk-D4XGKF67.cjs');
|
|
207
214
|
|
|
@@ -221,6 +228,12 @@ require('../chunk-6FXBJPF5.cjs');
|
|
|
221
228
|
|
|
222
229
|
|
|
223
230
|
var _chunkDBYNZIIQcjs = require('../chunk-DBYNZIIQ.cjs');
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
var _chunkNLBHLPEOcjs = require('../chunk-NLBHLPEO.cjs');
|
|
224
237
|
require('../chunk-AOKXITZ6.cjs');
|
|
225
238
|
|
|
226
239
|
|
|
@@ -228,7 +241,14 @@ var _chunkDXUXQP2Tcjs = require('../chunk-DXUXQP2T.cjs');
|
|
|
228
241
|
require('../chunk-UZCMMJJT.cjs');
|
|
229
242
|
|
|
230
243
|
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
var _chunk2RCCFB2Ycjs = require('../chunk-2RCCFB2Y.cjs');
|
|
248
|
+
|
|
249
|
+
|
|
231
250
|
var _chunkHXNLKCWHcjs = require('../chunk-HXNLKCWH.cjs');
|
|
251
|
+
require('../chunk-PWKAX5MS.cjs');
|
|
232
252
|
|
|
233
253
|
|
|
234
254
|
|
|
@@ -701,4 +721,19 @@ function appendFarmLinkHeader(headers, value) {
|
|
|
701
721
|
|
|
702
722
|
|
|
703
723
|
|
|
704
|
-
exports._applyFarmMobileShellClient = _chunkDWLNLU55cjs._applyFarmMobileShellClient; exports._checkFarmMobileShellRoute = _chunkDWLNLU55cjs._checkFarmMobileShellRoute; exports._farmPluginsKeepResponsesPrivate = _chunk47JV57DAcjs._farmPluginsKeepResponsesPrivate; exports._getRequestReadCount = _chunkHDPT6OYEcjs._getRequestReadCount; exports._isFarmMobileShellRenderRequest = _chunkDWLNLU55cjs._isFarmMobileShellRenderRequest; exports._isFarmOwnedResponse = _chunkA25FXJ7Dcjs._isFarmOwnedResponse; exports._markFarmOwnedResponse = _chunkA25FXJ7Dcjs._markFarmOwnedResponse; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._resolveCurrentCspNonce = _chunk3BIASUGRcjs._resolveCurrentCspNonce; exports._runWithAPIRequestRuntime = _chunkKBGZ5FD6cjs._runWithAPIRequestRuntime; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._runWithCurrentRequest = _chunkHDPT6OYEcjs._runWithCurrentRequest; exports._runWithFarmCspNonce = _chunkHDPT6OYEcjs._runWithFarmCspNonce; exports._runWithMiddlewareContext = _chunkYDXLC4DWcjs._runWithMiddlewareContext; exports._runWithMiddlewareData = _chunkYDXLC4DWcjs._runWithMiddlewareData; exports._setDefaultFarmThemeConfig = _chunkQIXEU2WVcjs._setDefaultFarmThemeConfig; exports._withFarmGuardedResponseCache = _chunkUKZ6AWKZcjs._withFarmGuardedResponseCache; exports._withFarmResponseHeaders = _chunkA25FXJ7Dcjs._withFarmResponseHeaders; exports.addMetadataImageReference = _chunk6IOZPJ3Icjs.addMetadataImageReference; exports.addMetadataMarkdownAlternate = _chunk6IOZPJ3Icjs.addMetadataMarkdownAlternate; exports.appMiddlewareMayHandlePath = _chunkUPOYKX4Scjs.appMiddlewareMayHandlePath; exports.appendFarmLinkHeader = appendFarmLinkHeader; exports.appendFarmRedirectQuery = _chunkHXNLKCWHcjs.appendFarmRedirectQuery; exports.applyFarmBasePath = _chunkD22BUQKWcjs.applyFarmBasePath; exports.applyFarmCspNonceToResponse = _chunk6JHZPB52cjs.applyFarmCspNonceToResponse; exports.applyFarmPreviewRobotsTag = _chunk4E57QHPWcjs.applyFarmPreviewRobotsTag; exports.applyFarmThemeDocument = _chunkUPOYKX4Scjs.applyFarmThemeDocument; exports.applyProductionMiddlewareHeaders = _chunkUKZ6AWKZcjs.applyProductionMiddlewareHeaders; exports.bufferFarmRequestBody = _chunkCFG4QERRcjs.bufferFarmRequestBody; exports.cloneFarmRequestWithContext = _chunkCFG4QERRcjs.cloneFarmRequestWithContext; exports.collectFarmDefaultMCPPages = _chunkX3MHKLCOcjs.collectFarmDefaultMCPPages; exports.collectFarmLlmsTxtPages = _chunkQO43L7Z4cjs.collectFarmLlmsTxtPages; exports.compareRouteSpecificity = _chunkYTVSWXEZcjs.compareRouteSpecificity; exports.configMiddlewareMayHandlePath = _chunkUPOYKX4Scjs.configMiddlewareMayHandlePath; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.configureFarmObservability = _chunkEVIWKPJVcjs.configureFarmObservability; exports.createDefaultErrorMarkup = _chunkUPOYKX4Scjs.createDefaultErrorMarkup; exports.createFarmAgentRobots = _chunk4E57QHPWcjs.createFarmAgentRobots; exports.createFarmAiCatalogResponse = _chunkYTNBCXCWcjs.createFarmAiCatalogResponse; exports.createFarmApiCatalogResponse = _chunkYTNBCXCWcjs.createFarmApiCatalogResponse; exports.createFarmAppManifestResponse = _chunkYTNBCXCWcjs.createFarmAppManifestResponse; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmCspNonce = _chunk6JHZPB52cjs.createFarmCspNonce; exports.createFarmDefaultLlmsTxt = _chunkQO43L7Z4cjs.createFarmDefaultLlmsTxt; exports.createFarmDefaultSitemap = _chunk4E57QHPWcjs.createFarmDefaultSitemap; exports.createFarmInstrumentationLifecycle = _chunkOCS3PSYRcjs.createFarmInstrumentationLifecycle; exports.createFarmLayoutSelector = _chunkUPOYKX4Scjs.createFarmLayoutSelector; exports.createFarmLegacyRequest = createFarmLegacyRequest; exports.createFarmLlmsFullRenderer = _chunkQO43L7Z4cjs.createFarmLlmsFullRenderer; exports.createFarmLlmsMarkdownReader = _chunkQO43L7Z4cjs.createFarmLlmsMarkdownReader; exports.createFarmLocaleCookie = _chunkVOQ7XZZTcjs.createFarmLocaleCookie; exports.createFarmMetadataRouteResponse = _chunkUPOYKX4Scjs.createFarmMetadataRouteResponse; exports.createFarmMobileSessionPlugin = _chunk4BS3HSY7cjs.createFarmMobileSessionPlugin; exports.createFarmNativeServerFnPlugin = _chunk7PPLTD3Pcjs.createFarmNativeServerFnPlugin; exports.createFarmNativeTreeResponse = _chunkPDFFYZATcjs.createFarmNativeTreeResponse; exports.createFarmNodeRequestAbortSignal = _chunkCFG4QERRcjs.createFarmNodeRequestAbortSignal; exports.createFarmProductionLifecycle = createFarmProductionLifecycle; exports.createFarmRequestBodyErrorResponse = _chunkCFG4QERRcjs.createFarmRequestBodyErrorResponse; exports.createFarmSearchParams = _chunkSUCDVKUBcjs.createFarmSearchParams; exports.createFarmThemeDocumentParts = _chunkUPOYKX4Scjs.createFarmThemeDocumentParts; exports.createLateNotFoundRecovery = _chunkUPOYKX4Scjs.createLateNotFoundRecovery; exports.createLateRedirectRecovery = _chunkUPOYKX4Scjs.createLateRedirectRecovery; exports.createProductionMiddlewareRunner = _chunkUKZ6AWKZcjs.createProductionMiddlewareRunner; exports.disposeFarmStorage = _chunkJMYXO572cjs.disposeStorage; exports.emitFarmEvent = _chunkEVIWKPJVcjs.emitFarmEvent; exports.ensureFarmDocumentMeta = _chunkUPOYKX4Scjs.ensureFarmDocumentMeta; exports.farmPathGuardCoversEndpoint = _chunkUPOYKX4Scjs.farmPathGuardCoversEndpoint; exports.farmPathGuardCoversPage = _chunkUPOYKX4Scjs.farmPathGuardCoversPage; exports.farmSecretsMatch = _chunkSHIWRBFIcjs.farmSecretsMatch; exports.fetchFarmExternalRewrite = _chunkYIHRZBD7cjs.fetchFarmExternalRewrite; exports.generateNativeMCPPluginSource = _chunkVM57CK74cjs.generateNativeMCPPluginSource; exports.getCurrentRequest = _chunkHDPT6OYEcjs.getCurrentRequest; exports.getDefaultErrorStatusText = _chunkUPOYKX4Scjs.getDefaultErrorStatusText; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmFormState = _chunkW44X6IC2cjs.getFarmFormState; exports.getFarmLocaleVaryHeaders = _chunkVOQ7XZZTcjs.getFarmLocaleVaryHeaders; exports.getFarmRedirectError = _chunk7JUIK547cjs.getFarmRedirectError; exports.getRoutePatternSpecificity = _chunkYTVSWXEZcjs.getRoutePatternSpecificity; exports.getSharedLayoutPrefixLength = _chunkUPOYKX4Scjs.getSharedLayoutPrefixLength; exports.getTheme = _chunkQIXEU2WVcjs.getTheme; exports.handleFarmDefaultMCPRequest = _chunk5NFQ6AZIcjs.handleFarmDefaultMCPRequest; exports.handleFarmFormActionRequest = _chunkW44X6IC2cjs.handleFarmFormActionRequest; exports.ignoreFarmHeldValues = _chunkXGJVRPYLcjs.ignoreFarmHeldValues; exports.initFarmStorage = _chunkJMYXO572cjs.initStorage; exports.installFarmIslandValues = _chunkXGJVRPYLcjs.installFarmIslandValues; exports.isDeferred = _chunkDBYNZIIQcjs.isDeferred; exports.isFarmNotFoundError = _chunk7JUIK547cjs.isFarmNotFoundError; exports.isFarmPageNoIndex = _chunkQO43L7Z4cjs.isFarmPageNoIndex; exports.isFarmRedirectError = _chunk7JUIK547cjs.isFarmRedirectError; exports.isInFarmRouteGroupScope = _chunkUPOYKX4Scjs.isInRouteGroupScope; exports.listFarmMCPLlmsTxtLinks = _chunkYTNBCXCWcjs.listFarmMCPLlmsTxtLinks; exports.localizeFarmHref = _chunkOWQV6MLMcjs.localizeFarmHref; exports.localizeFarmPathname = _chunkOWQV6MLMcjs.localizeFarmPathname; exports.manageFarmDocumentPreloads = _chunk4E57QHPWcjs.manageFarmDocumentPreloads; exports.manageFarmHtmlPreloads = _chunk4E57QHPWcjs.manageFarmHtmlPreloads; exports.manageFarmLinkHeaderPreloads = _chunk4E57QHPWcjs.manageFarmLinkHeaderPreloads; exports.matchFarmPageRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchesFarmIfNoneMatch = _chunkCFG4QERRcjs.matchesFarmIfNoneMatch; exports.materializeSSGRoutePath = _chunkEZTKXD6Pcjs.materializeSSGRoutePath; exports.mergeMetadata = _chunk6IOZPJ3Icjs.mergeMetadata; exports.mergeModuleViewport = _chunk6IOZPJ3Icjs.mergeModuleViewport; exports.mergeRouteRenderingDirectiveConfig = _chunkEZTKXD6Pcjs.mergeRouteRenderingDirectiveConfig; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseFarmLayoutChainHeader = _chunkUPOYKX4Scjs.parseFarmLayoutChainHeader; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.prepareDeferredData = _chunkDBYNZIIQcjs.prepareDeferredData; exports.readFarmLlmsMarkdownFrom = _chunkQO43L7Z4cjs.readFarmLlmsMarkdownFrom; exports.readFarmRequestBody = _chunkCFG4QERRcjs.readFarmRequestBody; exports.readNodeRequestBody = _chunkCFG4QERRcjs.readNodeRequestBody; exports.registerFarmMCPServer = _chunkLRB5OVRTcjs.registerFarmMCPServer; exports.renderFarmFormStateScript = _chunkW44X6IC2cjs.renderFarmFormStateScript; exports.renderFarmLegacyErrorHtml = renderFarmLegacyErrorHtml; exports.renderFarmLegacyHtml = renderFarmLegacyHtml; exports.renderFarmLlmsFullTxt = _chunkQO43L7Z4cjs.renderFarmLlmsFullTxt; exports.renderFarmLocaleAlternateLinks = _chunkUPOYKX4Scjs.renderFarmLocaleAlternateLinks; exports.renderMetadataHead = _chunk6IOZPJ3Icjs.renderMetadataHead; exports.renderViewportHead = _chunk6IOZPJ3Icjs.renderViewportHead; exports.reportFarmPreloadWarnings = _chunk4E57QHPWcjs.reportFarmPreloadWarnings; exports.resolveDefaultErrorStatus = _chunkUPOYKX4Scjs.resolveDefaultErrorStatus; exports.resolveFarmAgentOrigin = _chunkQO43L7Z4cjs.resolveFarmAgentOrigin; exports.resolveFarmDefaultMCPServer = _chunkX3MHKLCOcjs.resolveFarmDefaultMCPServer; exports.resolveFarmDocsEngineRouteLabel = _chunkYTNBCXCWcjs.resolveFarmDocsEngineRouteLabel; exports.resolveFarmDocsRouteLabel = _chunkYTNBCXCWcjs.resolveFarmDocsRouteLabel; exports.resolveFarmI18nConfig = _chunkLNVGXUL3cjs.resolveFarmI18nConfig; exports.resolveFarmInstrumentationRuntime = _chunkOCS3PSYRcjs.resolveFarmInstrumentationRuntime; exports.resolveFarmLlmsTxtConfig = _chunkQO43L7Z4cjs.resolveFarmLlmsTxtConfig; exports.resolveFarmMCPRouteLabel = _chunkYTNBCXCWcjs.resolveFarmMCPRouteLabel; exports.resolveFarmMarkdownRouteLabel = _chunkYTNBCXCWcjs.resolveFarmMarkdownRouteLabel; exports.resolveFarmNotFoundMetadata = _chunk6IOZPJ3Icjs.resolveFarmNotFoundMetadata; exports.resolveFarmPreviewDeployment = _chunkIGDYL2IAcjs.resolveFarmPreviewDeployment; exports.resolveFarmRouteContext = _chunkX333W5KVcjs.resolveFarmRouteContext; exports.resolveFarmSecurityConfig = _chunk6JHZPB52cjs.resolveFarmSecurityConfig; exports.resolveFarmServerConfig = _chunkCFG4QERRcjs.resolveFarmServerConfig; exports.resolveFarmTrailingSlashRedirect = _chunk23VJEGKCcjs.resolveFarmTrailingSlashRedirect; exports.resolveFarmWebRequestOrigin = _chunkHDPT6OYEcjs.resolveFarmWebRequestOrigin; exports.resolveMetadataTitle = _chunk6IOZPJ3Icjs.resolveMetadataTitle; exports.runWithFarmRequestSpan = _chunkEVIWKPJVcjs.runWithFarmRequestSpan; exports.searchParamsToObject = _chunkSUCDVKUBcjs.searchParamsToObject; exports.serializeFarmInlineValue = serializeFarmInlineValue; exports.setFarmBasePath = _chunkD22BUQKWcjs.setFarmBasePath; exports.setFarmRouteLabel = _chunkYTNBCXCWcjs.setFarmRouteLabel; exports.setFarmTrailingSlashPreference = _chunk23VJEGKCcjs.setFarmTrailingSlashPreference; exports.snapshotDeferredData = _chunkDBYNZIIQcjs.snapshotDeferredData; exports.stampFarmCspNonce = _chunk6JHZPB52cjs.stampFarmCspNonce; exports.stripFarmBasePath = _chunkD22BUQKWcjs.stripFarmBasePath; exports.stripFarmLocaleFromPathname = _chunkOWQV6MLMcjs.stripFarmLocaleFromPathname; exports.withFarmRouteContext = _chunkX333W5KVcjs.withFarmRouteContext;
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
exports.FARM_DEPLOYMENT_ID_HEADER = _chunkNLBHLPEOcjs.FARM_DEPLOYMENT_ID_HEADER; exports._applyFarmMobileShellClient = _chunkTPYAYFMFcjs._applyFarmMobileShellClient; exports._checkFarmMobileShellRoute = _chunkTPYAYFMFcjs._checkFarmMobileShellRoute; exports._farmPluginsKeepResponsesPrivate = _chunk47JV57DAcjs._farmPluginsKeepResponsesPrivate; exports._getRequestReadCount = _chunkHDPT6OYEcjs._getRequestReadCount; exports._hasPrivateFarmRequestHeaders = _chunkJWY66PIDcjs._hasPrivateFarmRequestHeaders; exports._isFarmMobileShellRenderRequest = _chunkTPYAYFMFcjs._isFarmMobileShellRenderRequest; exports._isFarmOwnedResponse = _chunkA25FXJ7Dcjs._isFarmOwnedResponse; exports._markFarmOwnedResponse = _chunkA25FXJ7Dcjs._markFarmOwnedResponse; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._resolveCurrentCspNonce = _chunk3BIASUGRcjs._resolveCurrentCspNonce; exports._runWithAPIRequestRuntime = _chunkKBGZ5FD6cjs._runWithAPIRequestRuntime; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._runWithCurrentRequest = _chunkHDPT6OYEcjs._runWithCurrentRequest; exports._runWithFarmCspNonce = _chunkHDPT6OYEcjs._runWithFarmCspNonce; exports._runWithMiddlewareContext = _chunkYDXLC4DWcjs._runWithMiddlewareContext; exports._runWithMiddlewareData = _chunkYDXLC4DWcjs._runWithMiddlewareData; exports._setDefaultFarmThemeConfig = _chunkQIXEU2WVcjs._setDefaultFarmThemeConfig; exports._withFarmDeploymentCookie = _chunkJWY66PIDcjs._withFarmDeploymentCookie; exports._withFarmGuardedResponseCache = _chunkJWY66PIDcjs._withFarmGuardedResponseCache; exports._withFarmResponseHeaders = _chunkA25FXJ7Dcjs._withFarmResponseHeaders; exports.addMetadataImageReference = _chunk6IOZPJ3Icjs.addMetadataImageReference; exports.addMetadataMarkdownAlternate = _chunk6IOZPJ3Icjs.addMetadataMarkdownAlternate; exports.appMiddlewareMayHandlePath = _chunk2MR4MABGcjs.appMiddlewareMayHandlePath; exports.appendFarmLinkHeader = appendFarmLinkHeader; exports.appendFarmRedirectQuery = _chunkHXNLKCWHcjs.appendFarmRedirectQuery; exports.applyConfigResponseHeaders = _chunk2RCCFB2Ycjs.applyConfigResponseHeaders; exports.applyFarmBasePath = _chunkD22BUQKWcjs.applyFarmBasePath; exports.applyFarmCspNonceToResponse = _chunk6JHZPB52cjs.applyFarmCspNonceToResponse; exports.applyFarmPreviewRobotsTag = _chunkZUVAGMQ5cjs.applyFarmPreviewRobotsTag; exports.applyFarmThemeDocument = _chunk2MR4MABGcjs.applyFarmThemeDocument; exports.applyProductionMiddlewareHeaders = _chunkJWY66PIDcjs.applyProductionMiddlewareHeaders; exports.bufferFarmRequestBody = _chunkCFG4QERRcjs.bufferFarmRequestBody; exports.cloneFarmRequestWithContext = _chunkCFG4QERRcjs.cloneFarmRequestWithContext; exports.collectFarmDefaultMCPPages = _chunkVG6HYT5Kcjs.collectFarmDefaultMCPPages; exports.collectFarmLlmsTxtPages = _chunkO32QPFVVcjs.collectFarmLlmsTxtPages; exports.compareRouteSpecificity = _chunkYTVSWXEZcjs.compareRouteSpecificity; exports.configMiddlewareMayHandlePath = _chunk2MR4MABGcjs.configMiddlewareMayHandlePath; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.configureFarmObservability = _chunkEVIWKPJVcjs.configureFarmObservability; exports.createConfigHeadersMatcher = _chunk2RCCFB2Ycjs.createConfigHeadersMatcher; exports.createConfigRedirectMatcher = _chunk2RCCFB2Ycjs.createConfigRedirectMatcher; exports.createConfigRewriteMatcher = _chunk2RCCFB2Ycjs.createConfigRewriteMatcher; exports.createDefaultErrorMarkup = _chunk2MR4MABGcjs.createDefaultErrorMarkup; exports.createFarmAgentRobots = _chunkZUVAGMQ5cjs.createFarmAgentRobots; exports.createFarmAiCatalogResponse = _chunkK4UGCUXXcjs.createFarmAiCatalogResponse; exports.createFarmApiCatalogResponse = _chunkK4UGCUXXcjs.createFarmApiCatalogResponse; exports.createFarmAppManifestResponse = _chunkK4UGCUXXcjs.createFarmAppManifestResponse; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmCspNonce = _chunk6JHZPB52cjs.createFarmCspNonce; exports.createFarmDefaultLlmsTxt = _chunkO32QPFVVcjs.createFarmDefaultLlmsTxt; exports.createFarmDefaultSitemap = _chunkZUVAGMQ5cjs.createFarmDefaultSitemap; exports.createFarmDeploymentMismatchResponse = _chunkNLBHLPEOcjs.createFarmDeploymentMismatchResponse; exports.createFarmInstrumentationLifecycle = _chunkOCS3PSYRcjs.createFarmInstrumentationLifecycle; exports.createFarmLayoutSelector = _chunk2MR4MABGcjs.createFarmLayoutSelector; exports.createFarmLegacyRequest = createFarmLegacyRequest; exports.createFarmLlmsFullRenderer = _chunkO32QPFVVcjs.createFarmLlmsFullRenderer; exports.createFarmLlmsMarkdownReader = _chunkO32QPFVVcjs.createFarmLlmsMarkdownReader; exports.createFarmLocaleCookie = _chunkY2SZVIVHcjs.createFarmLocaleCookie; exports.createFarmMetadataRouteResponse = _chunk2MR4MABGcjs.createFarmMetadataRouteResponse; exports.createFarmMobileSessionPlugin = _chunk4BS3HSY7cjs.createFarmMobileSessionPlugin; exports.createFarmNativeServerFnPlugin = _chunk7PPLTD3Pcjs.createFarmNativeServerFnPlugin; exports.createFarmNativeTreeResponse = _chunkGF22VGMScjs.createFarmNativeTreeResponse; exports.createFarmNodeRequestAbortSignal = _chunkCFG4QERRcjs.createFarmNodeRequestAbortSignal; exports.createFarmProductionLifecycle = createFarmProductionLifecycle; exports.createFarmRequestBodyErrorResponse = _chunkCFG4QERRcjs.createFarmRequestBodyErrorResponse; exports.createFarmSearchParams = _chunkSUCDVKUBcjs.createFarmSearchParams; exports.createFarmThemeDocumentParts = _chunk2MR4MABGcjs.createFarmThemeDocumentParts; exports.createLateNotFoundRecovery = _chunk2MR4MABGcjs.createLateNotFoundRecovery; exports.createLateRedirectRecovery = _chunk2MR4MABGcjs.createLateRedirectRecovery; exports.createProductionMiddlewareRunner = _chunkJWY66PIDcjs.createProductionMiddlewareRunner; exports.disposeFarmStorage = _chunkJMYXO572cjs.disposeStorage; exports.emitFarmEvent = _chunkEVIWKPJVcjs.emitFarmEvent; exports.ensureFarmDocumentMeta = _chunk2MR4MABGcjs.ensureFarmDocumentMeta; exports.farmPathGuardCoversEndpoint = _chunk2MR4MABGcjs.farmPathGuardCoversEndpoint; exports.farmPathGuardCoversPage = _chunk2MR4MABGcjs.farmPathGuardCoversPage; exports.farmSecretsMatch = _chunkSHIWRBFIcjs.farmSecretsMatch; exports.fetchFarmExternalRewrite = _chunkJRGR5Z4Kcjs.fetchFarmExternalRewrite; exports.generateNativeMCPPluginSource = _chunkVM57CK74cjs.generateNativeMCPPluginSource; exports.getCurrentRequest = _chunkHDPT6OYEcjs.getCurrentRequest; exports.getDefaultErrorStatusText = _chunk2MR4MABGcjs.getDefaultErrorStatusText; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmDeploymentMismatch = _chunkNLBHLPEOcjs.getFarmDeploymentMismatch; exports.getFarmFormState = _chunkW44X6IC2cjs.getFarmFormState; exports.getFarmLocaleVaryHeaders = _chunkY2SZVIVHcjs.getFarmLocaleVaryHeaders; exports.getFarmRedirectError = _chunk7JUIK547cjs.getFarmRedirectError; exports.getRoutePatternSpecificity = _chunkYTVSWXEZcjs.getRoutePatternSpecificity; exports.getSharedLayoutPrefixLength = _chunk2MR4MABGcjs.getSharedLayoutPrefixLength; exports.getTheme = _chunkQIXEU2WVcjs.getTheme; exports.handleFarmDefaultMCPRequest = _chunkQEWWKYDLcjs.handleFarmDefaultMCPRequest; exports.handleFarmFormActionRequest = _chunkW44X6IC2cjs.handleFarmFormActionRequest; exports.ignoreFarmHeldValues = _chunkXGJVRPYLcjs.ignoreFarmHeldValues; exports.initFarmStorage = _chunkJMYXO572cjs.initStorage; exports.installFarmIslandValues = _chunkXGJVRPYLcjs.installFarmIslandValues; exports.isDeferred = _chunkDBYNZIIQcjs.isDeferred; exports.isFarmNotFoundError = _chunk7JUIK547cjs.isFarmNotFoundError; exports.isFarmPageNoIndex = _chunkO32QPFVVcjs.isFarmPageNoIndex; exports.isFarmRedirectError = _chunk7JUIK547cjs.isFarmRedirectError; exports.isInFarmRouteGroupScope = _chunk2MR4MABGcjs.isInRouteGroupScope; exports.listFarmMCPLlmsTxtLinks = _chunkK4UGCUXXcjs.listFarmMCPLlmsTxtLinks; exports.localizeFarmHref = _chunkOWQV6MLMcjs.localizeFarmHref; exports.localizeFarmPathname = _chunkOWQV6MLMcjs.localizeFarmPathname; exports.manageFarmDocumentPreloads = _chunkZUVAGMQ5cjs.manageFarmDocumentPreloads; exports.manageFarmHtmlPreloads = _chunkZUVAGMQ5cjs.manageFarmHtmlPreloads; exports.manageFarmLinkHeaderPreloads = _chunkZUVAGMQ5cjs.manageFarmLinkHeaderPreloads; exports.matchFarmPageRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchesFarmIfNoneMatch = _chunkCFG4QERRcjs.matchesFarmIfNoneMatch; exports.materializeSSGRoutePath = _chunkFDGYDQGLcjs.materializeSSGRoutePath; exports.mergeMetadata = _chunk6IOZPJ3Icjs.mergeMetadata; exports.mergeModuleViewport = _chunk6IOZPJ3Icjs.mergeModuleViewport; exports.mergeRouteRenderingDirectiveConfig = _chunkFDGYDQGLcjs.mergeRouteRenderingDirectiveConfig; exports.normalizeFarmTrailingSlashPathname = _chunkDVJM55D2cjs.normalizeFarmTrailingSlashPathname; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseFarmLayoutChainHeader = _chunk2MR4MABGcjs.parseFarmLayoutChainHeader; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.prepareDeferredData = _chunkDBYNZIIQcjs.prepareDeferredData; exports.readFarmLlmsMarkdownFrom = _chunkO32QPFVVcjs.readFarmLlmsMarkdownFrom; exports.readFarmRequestBody = _chunkCFG4QERRcjs.readFarmRequestBody; exports.readNodeRequestBody = _chunkCFG4QERRcjs.readNodeRequestBody; exports.registerFarmMCPServer = _chunkLRB5OVRTcjs.registerFarmMCPServer; exports.renderFarmFormStateScript = _chunkW44X6IC2cjs.renderFarmFormStateScript; exports.renderFarmLegacyErrorHtml = renderFarmLegacyErrorHtml; exports.renderFarmLegacyHtml = renderFarmLegacyHtml; exports.renderFarmLlmsFullTxt = _chunkO32QPFVVcjs.renderFarmLlmsFullTxt; exports.renderFarmLocaleAlternateLinks = _chunk2MR4MABGcjs.renderFarmLocaleAlternateLinks; exports.renderMetadataHead = _chunk6IOZPJ3Icjs.renderMetadataHead; exports.renderViewportHead = _chunk6IOZPJ3Icjs.renderViewportHead; exports.reportFarmPreloadWarnings = _chunkZUVAGMQ5cjs.reportFarmPreloadWarnings; exports.resolveDefaultErrorStatus = _chunk2MR4MABGcjs.resolveDefaultErrorStatus; exports.resolveFarmAgentCrawlers = _chunkZUVAGMQ5cjs.resolveFarmAgentCrawlers; exports.resolveFarmAgentOrigin = _chunkO32QPFVVcjs.resolveFarmAgentOrigin; exports.resolveFarmAgentSitemap = _chunkZUVAGMQ5cjs.resolveFarmAgentSitemap; exports.resolveFarmDefaultMCPServer = _chunkVG6HYT5Kcjs.resolveFarmDefaultMCPServer; exports.resolveFarmDocsEngineRouteLabel = _chunkK4UGCUXXcjs.resolveFarmDocsEngineRouteLabel; exports.resolveFarmDocsRouteLabel = _chunkK4UGCUXXcjs.resolveFarmDocsRouteLabel; exports.resolveFarmI18nConfig = _chunkLNVGXUL3cjs.resolveFarmI18nConfig; exports.resolveFarmInstrumentationRuntime = _chunkOCS3PSYRcjs.resolveFarmInstrumentationRuntime; exports.resolveFarmLlmsTxtConfig = _chunkO32QPFVVcjs.resolveFarmLlmsTxtConfig; exports.resolveFarmMCPRouteLabel = _chunkK4UGCUXXcjs.resolveFarmMCPRouteLabel; exports.resolveFarmMarkdownRouteLabel = _chunkK4UGCUXXcjs.resolveFarmMarkdownRouteLabel; exports.resolveFarmNotFoundMetadata = _chunk6IOZPJ3Icjs.resolveFarmNotFoundMetadata; exports.resolveFarmPreviewDeployment = _chunkLECZ5DPZcjs.resolveFarmPreviewDeployment; exports.resolveFarmRouteContext = _chunkX333W5KVcjs.resolveFarmRouteContext; exports.resolveFarmSecurityConfig = _chunk6JHZPB52cjs.resolveFarmSecurityConfig; exports.resolveFarmServerConfig = _chunkCFG4QERRcjs.resolveFarmServerConfig; exports.resolveFarmTrailingSlashRedirect = _chunkDVJM55D2cjs.resolveFarmTrailingSlashRedirect; exports.resolveFarmWebRequestOrigin = _chunkHDPT6OYEcjs.resolveFarmWebRequestOrigin; exports.resolveMetadataTitle = _chunk6IOZPJ3Icjs.resolveMetadataTitle; exports.resolveRouteSharedCacheControl = _chunkFDGYDQGLcjs.resolveRouteSharedCacheControl; exports.runWithFarmRequestSpan = _chunkEVIWKPJVcjs.runWithFarmRequestSpan; exports.searchParamsToObject = _chunkSUCDVKUBcjs.searchParamsToObject; exports.serializeFarmInlineValue = serializeFarmInlineValue; exports.setFarmBasePath = _chunkD22BUQKWcjs.setFarmBasePath; exports.setFarmRouteLabel = _chunkK4UGCUXXcjs.setFarmRouteLabel; exports.setFarmTrailingSlashPreference = _chunkDVJM55D2cjs.setFarmTrailingSlashPreference; exports.snapshotDeferredData = _chunkDBYNZIIQcjs.snapshotDeferredData; exports.stampFarmCspNonce = _chunk6JHZPB52cjs.stampFarmCspNonce; exports.stripFarmBasePath = _chunkD22BUQKWcjs.stripFarmBasePath; exports.stripFarmLocaleFromPathname = _chunkOWQV6MLMcjs.stripFarmLocaleFromPathname; exports.toFarmTrailingSlashPageRequest = _chunkDVJM55D2cjs.toFarmTrailingSlashPageRequest; exports.withFarmRouteContext = _chunkX333W5KVcjs.withFarmRouteContext; exports.withoutFarmDeploymentCookie = _chunkNLBHLPEOcjs.withoutFarmDeploymentCookie;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { _runWithAfterRequest } from '../after.mjs';
|
|
2
|
-
export { c as createFarmAppManifestResponse } from '../app-manifest.d-
|
|
3
|
-
import {
|
|
4
|
-
export { fB as
|
|
2
|
+
export { c as createFarmAppManifestResponse } from '../app-manifest.d-6zXb90o6.mjs';
|
|
3
|
+
import { H as HeaderConfig, el as RedirectConfig, er as RewriteConfig, aN as ResolvedFarmConfig, dl as FarmIntegrationsUserConfig, bj as StaticPathParams, ep as ResolvedFarmMCPConfig, aP as FarmMCPServerRegistration, fA as FarmLlmsTxtLink, F as FarmPlugin, aR as FarmConfig, aX as FarmContextFactoryInput } from '../client-plugins.d-Pi9nG0W0.mjs';
|
|
4
|
+
export { c0 as FarmAgentCrawlers, fB as FarmAgentSitemapUserConfig, fC as FarmLlmsTxtUserConfig, fD as ResolvedFarmAgentCrawlers, fE as ResolvedFarmAgentSitemap, fF as ResolvedFarmLlmsTxtConfig, fG as applyFarmCspNonceToResponse, fH as collectFarmLlmsTxtPages, fI as createFarmAgentRobots, fJ as createFarmCspNonce, fK as createFarmDefaultLlmsTxt, fL as createFarmDefaultSitemap, fM as createFarmLlmsFullRenderer, fN as createFarmLlmsMarkdownReader, fO as createFarmMetadataRouteResponse, bK as createFarmSearchParams, I as getFarmRedirectError, J as isFarmNotFoundError, fP as isFarmPageNoIndex, K as isFarmRedirectError, fQ as manageFarmDocumentPreloads, fR as manageFarmHtmlPreloads, fS as manageFarmLinkHeaderPreloads, fT as readFarmLlmsMarkdownFrom, bs as registerFarmMCPServer, fU as renderFarmLlmsFullTxt, fV as reportFarmPreloadWarnings, fW as resolveFarmAgentCrawlers, fX as resolveFarmAgentOrigin, fY as resolveFarmAgentSitemap, fZ as resolveFarmLlmsTxtConfig, f_ as resolveFarmSecurityConfig, bL as searchParamsToObject, f$ as stampFarmCspNonce } from '../client-plugins.d-Pi9nG0W0.mjs';
|
|
5
5
|
import { o as MiddlewareMatcher } from '../types.d-xCIhyjOq.mjs';
|
|
6
|
-
export { m as mergeRouteRenderingDirectiveConfig } from '../route-rendering.d-
|
|
6
|
+
export { m as mergeRouteRenderingDirectiveConfig, r as resolveRouteSharedCacheControl } from '../route-rendering.d-C-et2TZ1.mjs';
|
|
7
7
|
import { R as ResolvedFarmServerConfig } from '../server-http.d-rAe7lAQc.mjs';
|
|
8
8
|
export { F as FarmServerConfig, e as bufferFarmRequestBody, f as cloneFarmRequestWithContext, c as createFarmNodeRequestAbortSignal, g as createFarmRequestBodyErrorResponse, m as matchesFarmIfNoneMatch, r as readFarmRequestBody, h as readNodeRequestBody, i as resolveFarmServerConfig } from '../server-http.d-rAe7lAQc.mjs';
|
|
9
9
|
export { _registerFarmStorageModules, disposeStorage as disposeFarmStorage, initStorage as initFarmStorage } from '../storage.mjs';
|
|
10
|
-
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, b as _runWithFarmCspNonce, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request.d-
|
|
11
|
-
export { f as fetchFarmExternalRewrite } from '../response.d-
|
|
10
|
+
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, b as _runWithFarmCspNonce, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request.d-CJWzfDYJ.mjs';
|
|
11
|
+
export { f as fetchFarmExternalRewrite } from '../response.d-B_MtBCnF.mjs';
|
|
12
12
|
import { A as APIRequestRuntime } from '../server-client-bridge.d-DKWDl5NB.mjs';
|
|
13
13
|
export { configureFarmCache, createFarmCacheKey, getFarmDataCache, normalizeRevalidatePath } from '../cache.mjs';
|
|
14
|
-
import {
|
|
15
|
-
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver.d-
|
|
16
|
-
import { F as FarmLocalePathConfig } from '../
|
|
17
|
-
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../
|
|
18
|
-
import { F as FarmDefaultMCPPage } from '../agent-mcp.d-
|
|
19
|
-
export {
|
|
20
|
-
export { _ as _withFarmGuardedResponseCache, a as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner } from '../production-runtime.d-
|
|
14
|
+
import { R as ResolvedFarmI18nConfig, n as FarmI18nUserConfig } from '../types.d-wVRlLtBf.mjs';
|
|
15
|
+
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver.d-9iKC79CU.mjs';
|
|
16
|
+
import { F as FarmLocalePathConfig } from '../routing.d-DwSUVZbF.mjs';
|
|
17
|
+
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../routing.d-DwSUVZbF.mjs';
|
|
18
|
+
import { F as FarmDefaultMCPPage, a as FarmDefaultMCPI18n } from '../agent-mcp.d-TAs1ES2F.mjs';
|
|
19
|
+
export { b as addMetadataImageReference, d as addMetadataMarkdownAlternate, e as collectFarmDefaultMCPPages, m as mergeMetadata, f as mergeModuleViewport, r as renderMetadataHead, g as renderViewportHead, h as resolveFarmDefaultMCPServer, i as resolveFarmNotFoundMetadata, j as resolveMetadataTitle } from '../agent-mcp.d-TAs1ES2F.mjs';
|
|
20
|
+
export { _ as _hasPrivateFarmRequestHeaders, b as _withFarmDeploymentCookie, d as _withFarmGuardedResponseCache, a as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner } from '../production-runtime.d-B0IeWWyO.mjs';
|
|
21
|
+
export { FARM_DEPLOYMENT_ID_HEADER, createFarmDeploymentMismatchResponse, getFarmDeploymentMismatch, withoutFarmDeploymentCookie } from '../deployment.mjs';
|
|
21
22
|
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData } from '../server.d-DgC8xew5.mjs';
|
|
22
23
|
export { H as configureFarmObservability, J as emitFarmEvent, P as runWithFarmRequestSpan } from '../observability.d-B2363jB6.mjs';
|
|
23
24
|
export { f as createFarmInstrumentationLifecycle, r as resolveFarmInstrumentationRuntime } from '../instrumentation-runtime.d-CX9Zh-16.mjs';
|
|
24
25
|
export { _setDefaultFarmThemeConfig, getTheme } from '../theme/server.mjs';
|
|
25
26
|
import { c as FarmThemeRuntime, d as FarmThemeConfig, R as ResolvedFarmThemeConfig, a as FarmThemePreference } from '../types.d-DQnyD3VD.mjs';
|
|
26
|
-
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-
|
|
27
|
-
export { c as applyFarmBasePath, r as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath } from '../base-path.d-
|
|
27
|
+
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-BzuTobEc.mjs';
|
|
28
|
+
export { c as applyFarmBasePath, n as normalizeFarmTrailingSlashPathname, r as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath, t as toFarmTrailingSlashPageRequest } from '../base-path.d-BJ3SYpB8.mjs';
|
|
28
29
|
export { isDeferred, prepareDeferredData, snapshotDeferredData } from '../deferred.mjs';
|
|
29
30
|
export { _ as _checkFarmMobileShellRoute, d as _isFarmMobileShellRenderRequest } from '../shell-render.d-CG6bPiiA.mjs';
|
|
30
31
|
export { getFarmFormState, handleFarmFormActionRequest, renderFarmFormStateScript } from './form-actions.mjs';
|
|
31
|
-
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-
|
|
32
|
+
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-Di1znBDW.mjs';
|
|
32
33
|
import 'node:http';
|
|
33
34
|
import '../lifecycle.d-keQs5Swc.mjs';
|
|
34
35
|
import '../route.d-DrXkpvcg.mjs';
|
|
35
36
|
import '../endpoint.d-BkMSCRf6.mjs';
|
|
36
37
|
import '../renderer.mjs';
|
|
37
|
-
import '../deployment.mjs';
|
|
38
38
|
import 'http';
|
|
39
39
|
import '../server-fn.mjs';
|
|
40
40
|
import '../server-fn-error.d-DrcH9cc1.mjs';
|
|
@@ -89,6 +89,34 @@ interface FarmMobileShellClient {
|
|
|
89
89
|
*/
|
|
90
90
|
declare function _applyFarmMobileShellClient(request: Request, response: Response, client: FarmMobileShellClient | null, onPrivate?: () => void): Response;
|
|
91
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Matchers for the config `redirects()`, `rewrites()` and `headers()`, shared by the dev plugins
|
|
94
|
+
* and the servers that answer with Web `Response`s (the React Server Components pipeline). Each
|
|
95
|
+
* source matches the app-relative path: the basePath and any locale prefix are stripped first.
|
|
96
|
+
*/
|
|
97
|
+
interface FarmConfigRouteMatchOptions {
|
|
98
|
+
i18n?: ResolvedFarmI18nConfig;
|
|
99
|
+
/** Sources match the app-relative path; internal redirect destinations get the basePath back. */
|
|
100
|
+
basePath?: string;
|
|
101
|
+
}
|
|
102
|
+
type FarmConfigRedirectMatcher = (url: URL) => {
|
|
103
|
+
destination: string;
|
|
104
|
+
statusCode: number;
|
|
105
|
+
} | null;
|
|
106
|
+
/** The destination a request URL is rewritten to (its query kept when it names none), or null. */
|
|
107
|
+
type FarmConfigRewriteMatcher = (url: URL) => URL | null;
|
|
108
|
+
/** The `headers` of every config entry whose source matches the request URL, in config order. */
|
|
109
|
+
type FarmConfigHeadersMatcher = (url: URL) => HeaderConfig["headers"][];
|
|
110
|
+
declare function createConfigRedirectMatcher(redirects: readonly RedirectConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigRedirectMatcher;
|
|
111
|
+
declare function createConfigRewriteMatcher(rewrites: readonly RewriteConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigRewriteMatcher;
|
|
112
|
+
declare function createConfigHeadersMatcher(headers: readonly HeaderConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigHeadersMatcher;
|
|
113
|
+
/**
|
|
114
|
+
* The response with the matched config headers, as the production entry applies them: a `Link`
|
|
115
|
+
* value is appended, a `Set-Cookie` value is added unless the response already sets it, and any
|
|
116
|
+
* other header replaces the response's own. Returns the response itself when nothing changes.
|
|
117
|
+
*/
|
|
118
|
+
declare function applyConfigResponseHeaders(response: Response, matchedHeaders: readonly HeaderConfig["headers"][]): Response;
|
|
119
|
+
|
|
92
120
|
/**
|
|
93
121
|
* The `config` a middleware file exports, read from its source at build time so prerendering
|
|
94
122
|
* knows which paths the file's own `matcher` leaves alone. Only literal matchers count (strings,
|
|
@@ -257,10 +285,17 @@ interface FarmDocsRouteLabelInput {
|
|
|
257
285
|
apiPath?: string;
|
|
258
286
|
/** The entries of `docs.roots`, served alongside `path`. */
|
|
259
287
|
roots?: readonly string[];
|
|
288
|
+
/**
|
|
289
|
+
* The paths of the pages the docs renderer publishes (`/docs/routing`), listed from its
|
|
290
|
+
* content. Only these are reported by their own path.
|
|
291
|
+
*/
|
|
292
|
+
pages?: ReadonlySet<string>;
|
|
260
293
|
}
|
|
261
294
|
/**
|
|
262
|
-
* A docs page by
|
|
263
|
-
*
|
|
295
|
+
* A docs page by its own path when the docs renderer publishes it (`/docs/routing`, with `.md`
|
|
296
|
+
* for its Markdown), else by the route the docs engine registers (`/docs/[...slug]`), or the docs
|
|
297
|
+
* API by its base. Null outside both. A path no page has keeps the catch-all, so a label never
|
|
298
|
+
* carries a path someone only requested.
|
|
264
299
|
*/
|
|
265
300
|
declare function resolveFarmDocsRouteLabel(routePathname: string, docs: FarmDocsRouteLabelInput): string | null;
|
|
266
301
|
/**
|
|
@@ -386,6 +421,8 @@ interface FarmDefaultMCPContext {
|
|
|
386
421
|
/** Reads a Markdown URL anonymously; null when the page does not answer with Markdown. */
|
|
387
422
|
readMarkdown: (url: string) => Promise<string | null>;
|
|
388
423
|
basePath?: string;
|
|
424
|
+
/** The app's i18n routing, so a listed page's localized URL reads that page. */
|
|
425
|
+
i18n?: FarmDefaultMCPI18n;
|
|
389
426
|
}
|
|
390
427
|
/**
|
|
391
428
|
* Answers one request to the default MCP endpoint: stateless Streamable HTTP, JSON
|
|
@@ -584,4 +621,4 @@ declare function createFarmNativeServerFnPlugin(options: FarmNativeServerFnOptio
|
|
|
584
621
|
|
|
585
622
|
declare function appendFarmLinkHeader(headers: Headers, value: string): void;
|
|
586
623
|
|
|
587
|
-
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|
|
624
|
+
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyConfigResponseHeaders, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createConfigHeadersMatcher, createConfigRedirectMatcher, createConfigRewriteMatcher, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { _runWithAfterRequest } from '../after.js';
|
|
2
|
-
export { c as createFarmAppManifestResponse } from '../app-manifest.d-
|
|
3
|
-
import {
|
|
4
|
-
export { fB as
|
|
2
|
+
export { c as createFarmAppManifestResponse } from '../app-manifest.d-C-nf3Vmm.js';
|
|
3
|
+
import { H as HeaderConfig, el as RedirectConfig, er as RewriteConfig, aN as ResolvedFarmConfig, dl as FarmIntegrationsUserConfig, bj as StaticPathParams, ep as ResolvedFarmMCPConfig, aP as FarmMCPServerRegistration, fA as FarmLlmsTxtLink, F as FarmPlugin, aR as FarmConfig, aX as FarmContextFactoryInput } from '../client-plugins.d-DwUqh4gp.js';
|
|
4
|
+
export { c0 as FarmAgentCrawlers, fB as FarmAgentSitemapUserConfig, fC as FarmLlmsTxtUserConfig, fD as ResolvedFarmAgentCrawlers, fE as ResolvedFarmAgentSitemap, fF as ResolvedFarmLlmsTxtConfig, fG as applyFarmCspNonceToResponse, fH as collectFarmLlmsTxtPages, fI as createFarmAgentRobots, fJ as createFarmCspNonce, fK as createFarmDefaultLlmsTxt, fL as createFarmDefaultSitemap, fM as createFarmLlmsFullRenderer, fN as createFarmLlmsMarkdownReader, fO as createFarmMetadataRouteResponse, bK as createFarmSearchParams, I as getFarmRedirectError, J as isFarmNotFoundError, fP as isFarmPageNoIndex, K as isFarmRedirectError, fQ as manageFarmDocumentPreloads, fR as manageFarmHtmlPreloads, fS as manageFarmLinkHeaderPreloads, fT as readFarmLlmsMarkdownFrom, bs as registerFarmMCPServer, fU as renderFarmLlmsFullTxt, fV as reportFarmPreloadWarnings, fW as resolveFarmAgentCrawlers, fX as resolveFarmAgentOrigin, fY as resolveFarmAgentSitemap, fZ as resolveFarmLlmsTxtConfig, f_ as resolveFarmSecurityConfig, bL as searchParamsToObject, f$ as stampFarmCspNonce } from '../client-plugins.d-DwUqh4gp.js';
|
|
5
5
|
import { o as MiddlewareMatcher } from '../types.d-xCIhyjOq.js';
|
|
6
|
-
export { m as mergeRouteRenderingDirectiveConfig } from '../route-rendering.d-
|
|
6
|
+
export { m as mergeRouteRenderingDirectiveConfig, r as resolveRouteSharedCacheControl } from '../route-rendering.d-DhsY5M2I.js';
|
|
7
7
|
import { R as ResolvedFarmServerConfig } from '../server-http.d-rAe7lAQc.js';
|
|
8
8
|
export { F as FarmServerConfig, e as bufferFarmRequestBody, f as cloneFarmRequestWithContext, c as createFarmNodeRequestAbortSignal, g as createFarmRequestBodyErrorResponse, m as matchesFarmIfNoneMatch, r as readFarmRequestBody, h as readNodeRequestBody, i as resolveFarmServerConfig } from '../server-http.d-rAe7lAQc.js';
|
|
9
9
|
export { _registerFarmStorageModules, disposeStorage as disposeFarmStorage, initStorage as initFarmStorage } from '../storage.js';
|
|
10
|
-
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, b as _runWithFarmCspNonce, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request.d-
|
|
11
|
-
export { f as fetchFarmExternalRewrite } from '../response.d-
|
|
10
|
+
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, b as _runWithFarmCspNonce, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request.d-C5vyoYeL.js';
|
|
11
|
+
export { f as fetchFarmExternalRewrite } from '../response.d-B_MtBCnF.js';
|
|
12
12
|
import { A as APIRequestRuntime } from '../server-client-bridge.d-DKWDl5NB.js';
|
|
13
13
|
export { configureFarmCache, createFarmCacheKey, getFarmDataCache, normalizeRevalidatePath } from '../cache.js';
|
|
14
|
-
import {
|
|
15
|
-
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver.d-
|
|
16
|
-
import { F as FarmLocalePathConfig } from '../
|
|
17
|
-
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../
|
|
18
|
-
import { F as FarmDefaultMCPPage } from '../agent-mcp.d-
|
|
19
|
-
export {
|
|
20
|
-
export { _ as _withFarmGuardedResponseCache, a as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner } from '../production-runtime.d-
|
|
14
|
+
import { R as ResolvedFarmI18nConfig, n as FarmI18nUserConfig } from '../types.d-wVRlLtBf.js';
|
|
15
|
+
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver.d-CY6mEa_F.js';
|
|
16
|
+
import { F as FarmLocalePathConfig } from '../routing.d-BxOZ2YWc.js';
|
|
17
|
+
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../routing.d-BxOZ2YWc.js';
|
|
18
|
+
import { F as FarmDefaultMCPPage, a as FarmDefaultMCPI18n } from '../agent-mcp.d-DulgFLBt.js';
|
|
19
|
+
export { b as addMetadataImageReference, d as addMetadataMarkdownAlternate, e as collectFarmDefaultMCPPages, m as mergeMetadata, f as mergeModuleViewport, r as renderMetadataHead, g as renderViewportHead, h as resolveFarmDefaultMCPServer, i as resolveFarmNotFoundMetadata, j as resolveMetadataTitle } from '../agent-mcp.d-DulgFLBt.js';
|
|
20
|
+
export { _ as _hasPrivateFarmRequestHeaders, b as _withFarmDeploymentCookie, d as _withFarmGuardedResponseCache, a as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner } from '../production-runtime.d-q3aHIv5Y.js';
|
|
21
|
+
export { FARM_DEPLOYMENT_ID_HEADER, createFarmDeploymentMismatchResponse, getFarmDeploymentMismatch, withoutFarmDeploymentCookie } from '../deployment.js';
|
|
21
22
|
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData } from '../server.d-C5FFrZAo.js';
|
|
22
23
|
export { H as configureFarmObservability, J as emitFarmEvent, P as runWithFarmRequestSpan } from '../observability.d-B2363jB6.js';
|
|
23
24
|
export { f as createFarmInstrumentationLifecycle, r as resolveFarmInstrumentationRuntime } from '../instrumentation-runtime.d-CX9Zh-16.js';
|
|
24
25
|
export { _setDefaultFarmThemeConfig, getTheme } from '../theme/server.js';
|
|
25
26
|
import { c as FarmThemeRuntime, d as FarmThemeConfig, R as ResolvedFarmThemeConfig, a as FarmThemePreference } from '../types.d-DQnyD3VD.js';
|
|
26
|
-
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-
|
|
27
|
-
export { c as applyFarmBasePath, r as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath } from '../base-path.d-
|
|
27
|
+
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils.d-BK-PTOF8.js';
|
|
28
|
+
export { c as applyFarmBasePath, n as normalizeFarmTrailingSlashPathname, r as resolveFarmTrailingSlashRedirect, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath, t as toFarmTrailingSlashPageRequest } from '../base-path.d-BJ3SYpB8.js';
|
|
28
29
|
export { isDeferred, prepareDeferredData, snapshotDeferredData } from '../deferred.js';
|
|
29
30
|
export { _ as _checkFarmMobileShellRoute, d as _isFarmMobileShellRenderRequest } from '../shell-render.d-CG6bPiiA.js';
|
|
30
31
|
export { getFarmFormState, handleFarmFormActionRequest, renderFarmFormStateScript } from './form-actions.js';
|
|
31
|
-
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-
|
|
32
|
+
export { g as getSharedLayoutPrefixLength, p as parseFarmLayoutChainHeader } from '../render-plan.d-DQj2bzd2.js';
|
|
32
33
|
import 'node:http';
|
|
33
34
|
import '../lifecycle.d-keQs5Swc.js';
|
|
34
35
|
import '../route.d-hs-_cyHn.js';
|
|
35
36
|
import '../endpoint.d-BgHn0lhl.js';
|
|
36
37
|
import '../renderer.js';
|
|
37
|
-
import '../deployment.js';
|
|
38
38
|
import 'http';
|
|
39
39
|
import '../server-fn.js';
|
|
40
40
|
import '../server-fn-error.d-DrcH9cc1.js';
|
|
@@ -89,6 +89,34 @@ interface FarmMobileShellClient {
|
|
|
89
89
|
*/
|
|
90
90
|
declare function _applyFarmMobileShellClient(request: Request, response: Response, client: FarmMobileShellClient | null, onPrivate?: () => void): Response;
|
|
91
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Matchers for the config `redirects()`, `rewrites()` and `headers()`, shared by the dev plugins
|
|
94
|
+
* and the servers that answer with Web `Response`s (the React Server Components pipeline). Each
|
|
95
|
+
* source matches the app-relative path: the basePath and any locale prefix are stripped first.
|
|
96
|
+
*/
|
|
97
|
+
interface FarmConfigRouteMatchOptions {
|
|
98
|
+
i18n?: ResolvedFarmI18nConfig;
|
|
99
|
+
/** Sources match the app-relative path; internal redirect destinations get the basePath back. */
|
|
100
|
+
basePath?: string;
|
|
101
|
+
}
|
|
102
|
+
type FarmConfigRedirectMatcher = (url: URL) => {
|
|
103
|
+
destination: string;
|
|
104
|
+
statusCode: number;
|
|
105
|
+
} | null;
|
|
106
|
+
/** The destination a request URL is rewritten to (its query kept when it names none), or null. */
|
|
107
|
+
type FarmConfigRewriteMatcher = (url: URL) => URL | null;
|
|
108
|
+
/** The `headers` of every config entry whose source matches the request URL, in config order. */
|
|
109
|
+
type FarmConfigHeadersMatcher = (url: URL) => HeaderConfig["headers"][];
|
|
110
|
+
declare function createConfigRedirectMatcher(redirects: readonly RedirectConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigRedirectMatcher;
|
|
111
|
+
declare function createConfigRewriteMatcher(rewrites: readonly RewriteConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigRewriteMatcher;
|
|
112
|
+
declare function createConfigHeadersMatcher(headers: readonly HeaderConfig[], { i18n, basePath }?: FarmConfigRouteMatchOptions): FarmConfigHeadersMatcher;
|
|
113
|
+
/**
|
|
114
|
+
* The response with the matched config headers, as the production entry applies them: a `Link`
|
|
115
|
+
* value is appended, a `Set-Cookie` value is added unless the response already sets it, and any
|
|
116
|
+
* other header replaces the response's own. Returns the response itself when nothing changes.
|
|
117
|
+
*/
|
|
118
|
+
declare function applyConfigResponseHeaders(response: Response, matchedHeaders: readonly HeaderConfig["headers"][]): Response;
|
|
119
|
+
|
|
92
120
|
/**
|
|
93
121
|
* The `config` a middleware file exports, read from its source at build time so prerendering
|
|
94
122
|
* knows which paths the file's own `matcher` leaves alone. Only literal matchers count (strings,
|
|
@@ -257,10 +285,17 @@ interface FarmDocsRouteLabelInput {
|
|
|
257
285
|
apiPath?: string;
|
|
258
286
|
/** The entries of `docs.roots`, served alongside `path`. */
|
|
259
287
|
roots?: readonly string[];
|
|
288
|
+
/**
|
|
289
|
+
* The paths of the pages the docs renderer publishes (`/docs/routing`), listed from its
|
|
290
|
+
* content. Only these are reported by their own path.
|
|
291
|
+
*/
|
|
292
|
+
pages?: ReadonlySet<string>;
|
|
260
293
|
}
|
|
261
294
|
/**
|
|
262
|
-
* A docs page by
|
|
263
|
-
*
|
|
295
|
+
* A docs page by its own path when the docs renderer publishes it (`/docs/routing`, with `.md`
|
|
296
|
+
* for its Markdown), else by the route the docs engine registers (`/docs/[...slug]`), or the docs
|
|
297
|
+
* API by its base. Null outside both. A path no page has keeps the catch-all, so a label never
|
|
298
|
+
* carries a path someone only requested.
|
|
264
299
|
*/
|
|
265
300
|
declare function resolveFarmDocsRouteLabel(routePathname: string, docs: FarmDocsRouteLabelInput): string | null;
|
|
266
301
|
/**
|
|
@@ -386,6 +421,8 @@ interface FarmDefaultMCPContext {
|
|
|
386
421
|
/** Reads a Markdown URL anonymously; null when the page does not answer with Markdown. */
|
|
387
422
|
readMarkdown: (url: string) => Promise<string | null>;
|
|
388
423
|
basePath?: string;
|
|
424
|
+
/** The app's i18n routing, so a listed page's localized URL reads that page. */
|
|
425
|
+
i18n?: FarmDefaultMCPI18n;
|
|
389
426
|
}
|
|
390
427
|
/**
|
|
391
428
|
* Answers one request to the default MCP endpoint: stateless Streamable HTTP, JSON
|
|
@@ -584,4 +621,4 @@ declare function createFarmNativeServerFnPlugin(options: FarmNativeServerFnOptio
|
|
|
584
621
|
|
|
585
622
|
declare function appendFarmLinkHeader(headers: Headers, value: string): void;
|
|
586
623
|
|
|
587
|
-
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|
|
624
|
+
export { _applyFarmMobileShellClient, _farmPluginsKeepResponsesPrivate, _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appMiddlewareMayHandlePath, appendFarmLinkHeader, appendFarmRedirectQuery, applyConfigResponseHeaders, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, configMiddlewareMayHandlePath, createConfigHeadersMatcher, createConfigRedirectMatcher, createConfigRewriteMatcher, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmMobileSessionPlugin, createFarmNativeServerFnPlugin, createFarmNativeTreeResponse, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmPathGuardCoversPage, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, ignoreFarmHeldValues, installFarmIslandValues, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, materializeSSGRoutePath, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmDocsEngineRouteLabel, resolveFarmDocsRouteLabel, resolveFarmI18nConfig, resolveFarmMCPRouteLabel, resolveFarmMarkdownRouteLabel, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, setFarmRouteLabel, withFarmRouteContext };
|