@farm.js/core 0.1.72 → 0.1.74
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-VIT4GOSR.mjs → agent-mcp-handler-HX4F4VKN.mjs} +4 -4
- package/dist/{agent-mcp-handler-KE4J3W7S.cjs → agent-mcp-handler-NRIL4JBC.cjs} +5 -5
- package/dist/{agent-mcp.d-Cwff7lcA.d.mts → agent-mcp.d-BEhDfdWc.d.mts} +1 -1
- package/dist/{agent-mcp.d-BO3rZXEM.d.ts → agent-mcp.d-CX8_oOT_.d.ts} +1 -1
- package/dist/agent-runtime.cjs +4 -4
- package/dist/agent-runtime.d.mts +5 -5
- package/dist/agent-runtime.d.ts +5 -5
- package/dist/agent-runtime.mjs +3 -3
- package/dist/{analyzer-5Q75LTIL.mjs → analyzer-2K35LIQZ.mjs} +2 -2
- package/dist/analyzer-6EOYURMV.cjs +16 -0
- package/dist/api/client.d.mts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.native.d.mts +4 -4
- package/dist/api/client.native.d.ts +4 -4
- package/dist/api/node.cjs +9 -8
- package/dist/api/node.d.mts +7 -7
- package/dist/api/node.d.ts +7 -7
- package/dist/api/node.mjs +8 -7
- package/dist/api/route-manager.cjs +11 -9
- package/dist/api/route-manager.d.mts +10 -8
- package/dist/api/route-manager.d.ts +10 -8
- package/dist/api/route-manager.mjs +10 -8
- package/dist/api/runtime.cjs +8 -7
- package/dist/api/runtime.d.mts +6 -6
- package/dist/api/runtime.d.ts +6 -6
- package/dist/api/runtime.mjs +7 -6
- package/dist/{api-client.d-Bp35zMqR.d.mts → api-client.d-CyVmI4Di.d.mts} +2 -2
- package/dist/{api-client.d-CFI_xL0V.d.ts → api-client.d-DrTM7BdH.d.ts} +2 -2
- package/dist/api.cjs +13 -11
- package/dist/api.d.mts +10 -10
- package/dist/api.d.ts +10 -10
- package/dist/api.mjs +12 -10
- package/dist/{app-manifest.d-USD_IbFd.d.mts → app-manifest.d-BcXt2yCx.d.mts} +10 -1
- package/dist/{app-manifest.d-DwjGkYlP.d.ts → app-manifest.d-CVEx1CFB.d.ts} +10 -1
- package/dist/app-markdown.cjs +8 -4
- package/dist/app-markdown.d.mts +7 -7
- package/dist/app-markdown.d.ts +7 -7
- package/dist/app-markdown.mjs +7 -3
- package/dist/{app.d-DAmF2MAk.d.ts → app.d-B6i8CSrx.d.ts} +36 -4
- package/dist/{app.d-fW06_h8h.d.mts → app.d-DowzSmT5.d.mts} +36 -4
- package/dist/cache.cjs +2 -2
- package/dist/cache.d.mts +8 -0
- package/dist/cache.d.ts +8 -0
- package/dist/cache.mjs +1 -1
- package/dist/chunk-2DOI6HLJ.cjs +284 -0
- package/dist/chunk-2GQBBOFH.mjs +76 -0
- package/dist/{chunk-5LOARKDP.cjs → chunk-2TZ3F6TN.cjs} +29 -17
- package/dist/{chunk-IWCYRDRQ.cjs → chunk-35GBGSQZ.cjs} +3 -3
- package/dist/{chunk-GF22VGMS.cjs → chunk-3BUJIPKE.cjs} +2 -2
- package/dist/{chunk-Y5LEPEVH.mjs → chunk-3ODLJRA6.mjs} +1 -1
- package/dist/{chunk-DMAP4RND.cjs → chunk-3OMLZLDE.cjs} +54 -16
- package/dist/{chunk-VNBDN5W2.cjs → chunk-47ZDUDN5.cjs} +64 -27
- package/dist/{chunk-2W4GNXGX.cjs → chunk-4AB62NMW.cjs} +2 -2
- package/dist/{chunk-HDPT6OYE.cjs → chunk-4M5ESTJ2.cjs} +10 -2
- package/dist/{chunk-CBLRSZQL.cjs → chunk-56HHUSR5.cjs} +502 -430
- package/dist/chunk-5XD2ULJG.mjs +114 -0
- package/dist/{chunk-JX5VOLAV.cjs → chunk-65OS2TOT.cjs} +4 -4
- package/dist/{chunk-WIJF3PBM.mjs → chunk-6JEXH7N6.mjs} +1 -1
- package/dist/{chunk-TY5KCYDE.mjs → chunk-72NTEYCX.mjs} +10 -3
- package/dist/{chunk-5R4Q5FN7.cjs → chunk-737MIVX3.cjs} +52 -41
- package/dist/{chunk-5X6OHJEE.cjs → chunk-77SVUQM5.cjs} +74 -20
- package/dist/{chunk-CKQAQFF6.mjs → chunk-7RKHXF4P.mjs} +2 -2
- package/dist/{chunk-GJEC5S4V.mjs → chunk-7VCLTNED.mjs} +1 -1
- package/dist/{chunk-E3LE6EZH.cjs → chunk-ACAEFEOH.cjs} +38 -41
- package/dist/{chunk-REP6HWJN.mjs → chunk-AL6E63FZ.mjs} +2 -2
- package/dist/{chunk-DQ2DI3Y7.mjs → chunk-AO5IRA2N.mjs} +2 -2
- package/dist/{chunk-VAWDGGW3.mjs → chunk-AU5UPNOD.mjs} +26 -15
- package/dist/{chunk-DS7JGFW5.mjs → chunk-B3XY6FMC.mjs} +71 -17
- package/dist/{chunk-U7VH3Q5E.cjs → chunk-B5WZP3T3.cjs} +15 -2
- package/dist/{chunk-3JN5M3T5.mjs → chunk-BFOMCSZ2.mjs} +476 -138
- package/dist/{chunk-I4KPA2C6.mjs → chunk-BIX46FTI.mjs} +1 -1
- package/dist/{chunk-YZLEOMMA.mjs → chunk-BNXV3PRM.mjs} +4 -4
- package/dist/{chunk-3GNVIYPO.cjs → chunk-BSJMWCWM.cjs} +7 -7
- package/dist/{chunk-WVQNXXNE.cjs → chunk-BWFBTTJ5.cjs} +2 -2
- package/dist/{chunk-FEFCISOX.cjs → chunk-CEVXKJKF.cjs} +2 -2
- package/dist/{chunk-DGNMXL2O.mjs → chunk-CF77L6RL.mjs} +33 -36
- package/dist/{chunk-OB45EAQL.mjs → chunk-CXQZQK6R.mjs} +3 -2
- package/dist/{chunk-255J7K4X.mjs → chunk-D2IAYGYA.mjs} +1 -1
- package/dist/{chunk-OSEQL34Q.cjs → chunk-D4TYE6MY.cjs} +2 -2
- package/dist/{chunk-FSSONJRV.cjs → chunk-DM2YGTRH.cjs} +24 -17
- package/dist/{chunk-ICFPTHXM.mjs → chunk-DRBXYJZ6.mjs} +7 -3
- package/dist/{chunk-E3HDJCWF.mjs → chunk-DRHHTHA3.mjs} +1 -1
- package/dist/{chunk-YXIQYWOK.cjs → chunk-DTBRSRTR.cjs} +23 -5
- package/dist/{chunk-JZQS3ZOI.mjs → chunk-E4T7WJJN.mjs} +10 -2
- package/dist/{chunk-YAEN3L2F.cjs → chunk-EF5AP4CV.cjs} +21 -2
- package/dist/{chunk-SPP3EZTJ.cjs → chunk-EHJOSIXM.cjs} +137 -67
- package/dist/{chunk-JZBU7V4D.mjs → chunk-ELJQWUAR.mjs} +125 -55
- package/dist/{chunk-DMXMIE2C.cjs → chunk-ENYBDM4U.cjs} +2 -2
- package/dist/{chunk-ZFEJ2SF2.cjs → chunk-EWIEJQP6.cjs} +28 -28
- package/dist/{chunk-ZUVAGMQ5.cjs → chunk-F244KE2D.cjs} +7 -7
- package/dist/{chunk-WW3LRNQV.mjs → chunk-FCBUNILW.mjs} +1 -1
- package/dist/{chunk-645ENY7W.mjs → chunk-FEQ72ZHD.mjs} +16 -9
- package/dist/{chunk-ME7RVELR.mjs → chunk-FGXSWRWA.mjs} +20 -1
- package/dist/{chunk-2AFW7673.cjs → chunk-FNWL5DMG.cjs} +4 -3
- package/dist/{chunk-HLMUWKAP.cjs → chunk-FYV6DTAG.cjs} +826 -531
- package/dist/{chunk-7PPLTD3P.cjs → chunk-G7S6XG6X.cjs} +6 -6
- package/dist/{chunk-AQIO3RNL.mjs → chunk-GK2GBIXD.mjs} +3 -3
- package/dist/{chunk-IHTDLCDJ.cjs → chunk-GRHSQYD4.cjs} +17 -4
- package/dist/{chunk-W44X6IC2.cjs → chunk-HBLYSWIJ.cjs} +13 -9
- package/dist/chunk-HK4VJI27.cjs +76 -0
- package/dist/{chunk-EGIY4A7V.cjs → chunk-HKZVC5GP.cjs} +2 -2
- package/dist/{chunk-EYPSKXO4.mjs → chunk-HRQV5Q3J.mjs} +1 -1
- package/dist/{chunk-S7MWSFFP.cjs → chunk-IBEHVSU4.cjs} +2 -2
- package/dist/{chunk-77VNYVVX.mjs → chunk-IG4IQMIW.mjs} +1 -1
- package/dist/{chunk-N3XO5AL5.cjs → chunk-IJFNXP3D.cjs} +2 -2
- package/dist/{chunk-RFWWXEIF.mjs → chunk-IP2R2TAE.mjs} +1 -1
- package/dist/{chunk-FETMUBIA.mjs → chunk-IZ5WOTQP.mjs} +1 -1
- package/dist/{chunk-CSLHNBPS.cjs → chunk-J42QN7OC.cjs} +6 -6
- package/dist/{chunk-NDDRTFN4.mjs → chunk-J7EUGGTY.mjs} +2 -2
- package/dist/{chunk-5XFKWHZD.mjs → chunk-JI6N4W2I.mjs} +208 -136
- package/dist/{chunk-GJ7QVFAG.mjs → chunk-JOECBGY7.mjs} +1 -1
- package/dist/{chunk-CL52PD6D.cjs → chunk-JSUVQ5HG.cjs} +8 -8
- package/dist/{chunk-DZHTNSQ5.cjs → chunk-JWHRVBCZ.cjs} +14 -14
- package/dist/{chunk-OSMUE5ST.mjs → chunk-JZ43UD6S.mjs} +7 -7
- package/dist/{chunk-RLEALQEN.mjs → chunk-KIRIFO6T.mjs} +43 -5
- package/dist/{chunk-XGTFLG73.cjs → chunk-KMYOKQPP.cjs} +18 -11
- package/dist/{chunk-WX63N6C5.mjs → chunk-KNEYWPZV.mjs} +64 -27
- package/dist/{chunk-AYVGD3PK.mjs → chunk-KUMKBBYP.mjs} +1 -1
- package/dist/{chunk-VT25ERQK.mjs → chunk-KWUZJZ23.mjs} +21 -3
- package/dist/{chunk-NV26EGMC.mjs → chunk-LHFGTR7F.mjs} +2 -2
- package/dist/{chunk-4P5634G6.cjs → chunk-LIQJYEQP.cjs} +14 -9
- package/dist/chunk-LRPPXKCX.mjs +58 -0
- package/dist/chunk-LXTYJ2HW.mjs +139 -0
- package/dist/{chunk-O32QPFVV.cjs → chunk-MKQ27TGW.cjs} +5 -5
- package/dist/{chunk-KQAB5LML.mjs → chunk-MQ5HA7H2.mjs} +2 -2
- package/dist/{chunk-Z3GPAFIA.mjs → chunk-MUITBU5Z.mjs} +1 -1
- package/dist/chunk-NDOE76QC.cjs +58 -0
- package/dist/{chunk-EXN4DTVF.cjs → chunk-NET6PBUH.cjs} +2 -2
- package/dist/{chunk-YBY34UHB.mjs → chunk-NKETXVKP.mjs} +15 -2
- package/dist/chunk-NRWEY2CM.mjs +25 -0
- package/dist/chunk-NU5XLYRN.cjs +139 -0
- package/dist/{chunk-BE7AQXJB.cjs → chunk-NXGQIXR7.cjs} +507 -169
- package/dist/{chunk-C5AM2XDN.cjs → chunk-O2A6HE76.cjs} +4 -4
- package/dist/{chunk-OAEDVXVE.mjs → chunk-O6K4G7YA.mjs} +5 -2
- package/dist/{chunk-LXEJNWF5.mjs → chunk-OSKIG4OP.mjs} +2 -2
- package/dist/{chunk-3WG7GJQL.cjs → chunk-P3EZKU6L.cjs} +18 -18
- package/dist/{chunk-C2JOS77Z.cjs → chunk-PG6ZIHKE.cjs} +250 -51
- package/dist/{chunk-ET6WW3FY.cjs → chunk-Q3MVNRAO.cjs} +1305 -848
- package/dist/{chunk-AZ6IW6SF.mjs → chunk-Q4G52OSW.mjs} +1 -1
- package/dist/{chunk-TPYAYFMF.cjs → chunk-QL3YZTGZ.cjs} +2 -2
- package/dist/{chunk-JMFTKNBA.mjs → chunk-R4BWNP73.mjs} +2 -2
- package/dist/{chunk-J5ASGNKF.mjs → chunk-R6Q6VSGU.mjs} +24 -9
- package/dist/{chunk-B6RBJJ5G.mjs → chunk-RBRIKT6B.mjs} +15 -2
- package/dist/{chunk-C6CUUBY5.cjs → chunk-RHI67C2V.cjs} +5 -5
- package/dist/chunk-RK3YYUX6.cjs +114 -0
- package/dist/{chunk-Y2LU4LE5.mjs → chunk-ROPMQNCG.mjs} +2 -2
- package/dist/{chunk-QIXEU2WV.cjs → chunk-RQ4UZJPR.cjs} +3 -3
- package/dist/{chunk-ZDZUFD67.cjs → chunk-RSL3YFJG.cjs} +1 -1
- package/dist/{chunk-JWY66PID.cjs → chunk-S3D6SL2V.cjs} +9 -6
- package/dist/{chunk-4HGLJOXZ.cjs → chunk-TPDKFRQX.cjs} +11 -11
- package/dist/{chunk-E2V7RRFL.mjs → chunk-UHAARKF3.mjs} +2 -2
- package/dist/{chunk-QSTRBKHZ.mjs → chunk-UJWRXBVP.mjs} +2 -2
- package/dist/{chunk-7QCJDYZQ.cjs → chunk-V6T3UJAH.cjs} +7 -7
- package/dist/{chunk-AUAMXI6N.mjs → chunk-VFPFXMTF.mjs} +1 -1
- package/dist/{chunk-KPJYBSHL.mjs → chunk-VKLV7GF4.mjs} +221 -22
- package/dist/{chunk-TP4RAV7Y.cjs → chunk-VKRMO3EZ.cjs} +8 -8
- package/dist/chunk-VWIW47FW.cjs +25 -0
- package/dist/{chunk-L6E4SHUB.cjs → chunk-VZKCGHWC.cjs} +39 -24
- package/dist/{chunk-JWLRBDDC.cjs → chunk-WH3PBJS7.cjs} +2 -2
- package/dist/{chunk-BSXKZPFE.mjs → chunk-WS4SLJW5.mjs} +501 -206
- package/dist/{chunk-5OFNUETM.mjs → chunk-WTTJ2YS2.mjs} +9 -1
- package/dist/{chunk-RLFGKJQ6.mjs → chunk-X2KNHD4B.mjs} +14 -2
- package/dist/{chunk-5CFHQ7HM.mjs → chunk-XXKMAHYE.mjs} +1 -1
- package/dist/{chunk-MBCRWU3P.cjs → chunk-XZPI44Q7.cjs} +4 -4
- package/dist/{chunk-ACGBXN3U.cjs → chunk-Y4FEQBKY.cjs} +17 -9
- package/dist/{chunk-MWUDEYBI.mjs → chunk-YH33PZ3K.mjs} +1 -1
- package/dist/chunk-YQWRBBAA.mjs +284 -0
- package/dist/{chunk-QUYAGU65.mjs → chunk-YWDRWG4L.mjs} +1210 -753
- package/dist/{chunk-E46NXBNJ.mjs → chunk-ZD7JUTBY.mjs} +11 -6
- package/dist/{chunk-JDO346NV.mjs → chunk-ZLRWO5GK.mjs} +1 -1
- package/dist/{chunk-NAXKOTPP.cjs → chunk-ZRCGPSUM.cjs} +21 -21
- package/dist/{chunk-YCNHUIPR.cjs → chunk-ZZGANFQH.cjs} +10 -10
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/{client-component.d-9J7CkTWW.d.ts → client-component.d-DYOwmq0c.d.ts} +80 -3
- package/dist/{client-component.d-ciHeCxr-.d.mts → client-component.d-edV76QvU.d.mts} +80 -3
- package/dist/{client-plugins.d-CUOhfapO.d.ts → client-plugins.d-BmJYW2FY.d.ts} +20 -7
- package/dist/{client-plugins.d-JnRz5a1o.d.mts → client-plugins.d-DwvqqGsU.d.mts} +20 -7
- package/dist/client-plugins.d.mts +5 -5
- package/dist/client-plugins.d.ts +5 -5
- package/dist/client.cjs +6 -5
- package/dist/client.d.mts +12 -12
- package/dist/client.d.ts +12 -12
- package/dist/client.mjs +5 -4
- package/dist/config.d.mts +5 -5
- package/dist/config.d.ts +5 -5
- package/dist/cron.cjs +6 -2
- package/dist/cron.d.mts +11 -2
- package/dist/cron.d.ts +11 -2
- package/dist/cron.mjs +7 -3
- package/dist/desktop.d.mts +6 -6
- package/dist/desktop.d.ts +6 -6
- package/dist/{devtools-7JPQMSTQ.mjs → devtools-WPX62NG2.mjs} +10 -9
- package/dist/{devtools-IZFUYWPG.cjs → devtools-YMDS7PUA.cjs} +12 -11
- package/dist/docs.cjs +14 -13
- package/dist/docs.d.mts +6 -6
- package/dist/docs.d.ts +6 -6
- package/dist/docs.mjs +13 -12
- package/dist/{endpoint.d-BkMSCRf6.d.mts → endpoint.d-BXbBpKoh.d.mts} +42 -1
- package/dist/{endpoint.d-BgHn0lhl.d.ts → endpoint.d-Dx_1k6Du.d.ts} +42 -1
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/headers.cjs +3 -3
- package/dist/{headers.d-CqpTL_fZ.d.ts → headers.d-BIbQyAxJ.d.ts} +1 -1
- package/dist/{headers.d-rbbTKGaN.d.mts → headers.d-BtNxFc2s.d.mts} +1 -1
- package/dist/headers.mjs +2 -2
- package/dist/index.cjs +73 -60
- package/dist/{index.d-CMKvzHLW.d.ts → index.d-CQ_wUzOV.d.ts} +1 -1
- package/dist/{index.d-D_B2D9Il.d.mts → index.d-CQdDRXd1.d.mts} +1 -1
- package/dist/index.d.mts +63 -29
- package/dist/index.d.ts +63 -29
- package/dist/index.mjs +69 -56
- package/dist/integrations/orm.d.mts +5 -5
- package/dist/integrations/orm.d.ts +5 -5
- package/dist/integrations.cjs +4 -4
- package/dist/integrations.d.mts +5 -5
- package/dist/integrations.d.ts +5 -5
- package/dist/integrations.mjs +3 -3
- package/dist/internal/app-markdown-runtime.cjs +7 -3
- package/dist/internal/app-markdown-runtime.d.mts +18 -7
- package/dist/internal/app-markdown-runtime.d.ts +18 -7
- package/dist/internal/app-markdown-runtime.mjs +6 -2
- package/dist/internal/build-runtime.cjs +42 -40
- package/dist/internal/build-runtime.d.mts +7 -7
- package/dist/internal/build-runtime.d.ts +7 -7
- package/dist/internal/build-runtime.mjs +41 -39
- package/dist/internal/cli-runtime.cjs +21 -20
- package/dist/internal/cli-runtime.mjs +20 -19
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +6 -2
- package/dist/internal/client-runtime.d.mts +22 -10
- package/dist/internal/client-runtime.d.ts +22 -10
- package/dist/internal/client-runtime.mjs +5 -1
- package/dist/internal/compression-runtime.d.mts +5 -5
- package/dist/internal/compression-runtime.d.ts +5 -5
- package/dist/internal/config-runtime.cjs +12 -11
- package/dist/internal/config-runtime.d.mts +7 -7
- package/dist/internal/config-runtime.d.ts +7 -7
- package/dist/internal/config-runtime.mjs +11 -10
- package/dist/internal/form-actions.cjs +5 -4
- package/dist/internal/form-actions.d.mts +2 -2
- package/dist/internal/form-actions.d.ts +2 -2
- package/dist/internal/form-actions.mjs +4 -3
- package/dist/internal/infra-analytics-runtime.cjs +10 -10
- package/dist/internal/infra-analytics-runtime.mjs +8 -8
- 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 +32 -22
- package/dist/internal/production-runtime.d.mts +65 -14
- package/dist/internal/production-runtime.d.ts +65 -14
- package/dist/internal/production-runtime.mjs +31 -21
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +4 -4
- package/dist/internal/vercel-edge-middleware.mjs +3 -3
- package/dist/{lifecycle.d-keQs5Swc.d.mts → lifecycle.d-OtGWAvJT.d.mts} +4 -0
- package/dist/{lifecycle.d-keQs5Swc.d.ts → lifecycle.d-OtGWAvJT.d.ts} +4 -0
- package/dist/{manager-JIA66YJ2.mjs → manager-RHB2P35B.mjs} +4 -1
- package/dist/{manager-JOHU6BQI.cjs → manager-S77ZARTC.cjs} +5 -2
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.d.mts +5 -5
- package/dist/markdown.d.ts +5 -5
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +6 -6
- package/dist/middleware.d.mts +5 -5
- package/dist/middleware.d.ts +5 -5
- package/dist/middleware.mjs +5 -5
- package/dist/{mount.d-ImEO7q8a.d.mts → mount.d-6bhpBQQB.d.mts} +1 -1
- package/dist/{mount.d-B0XMxDRh.d.ts → mount.d-C-u7rFkM.d.ts} +1 -1
- package/dist/{native-server-fn-handler-EP5AFJYE.mjs → native-server-fn-handler-I66X4E5S.mjs} +6 -5
- package/dist/{native-server-fn-handler-QRTXGZA4.cjs → native-server-fn-handler-W4FSD76W.cjs} +7 -6
- package/dist/{native-tree-L2IIEBXH.mjs → native-tree-3X23BT3N.mjs} +2 -2
- package/dist/{native-tree-GF4BH33L.cjs → native-tree-TAPKR7QJ.cjs} +3 -3
- package/dist/{navigation-delegate.d-83Q7ksf7.d.mts → navigation-delegate.d-nx6gtsY4.d.mts} +1 -1
- package/dist/{navigation-delegate.d-RRx1CSlb.d.ts → navigation-delegate.d-xsG4T1x-.d.ts} +1 -1
- package/dist/navigation.cjs +4 -4
- package/dist/navigation.d.mts +8 -8
- package/dist/navigation.d.ts +8 -8
- package/dist/navigation.mjs +3 -3
- package/dist/{nitro-2LMOMIST.cjs → nitro-SSFTPZMW.cjs} +4 -4
- package/dist/{nitro-72TFIGGO.mjs → nitro-XTQ2HKDL.mjs} +1 -1
- package/dist/{observability.d-B2363jB6.d.ts → observability.d-DdJRiaIX.d.mts} +27 -3
- package/dist/{observability.d-B2363jB6.d.mts → observability.d-DdJRiaIX.d.ts} +27 -3
- package/dist/observability.d.mts +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/plugin.cjs +36 -33
- package/dist/plugin.d.mts +8 -8
- package/dist/plugin.d.ts +8 -8
- package/dist/plugin.mjs +35 -32
- package/dist/query/client.cjs +5 -5
- package/dist/query/client.mjs +1 -1
- package/dist/{render-plan.d-wP8nTeRV.d.mts → render-plan.d-B5y3h97B.d.mts} +1 -1
- package/dist/{render-plan.d-Ds2sXJ5m.d.ts → render-plan.d-gW0fwKz2.d.ts} +1 -1
- package/dist/renderer-client.cjs +4 -4
- package/dist/renderer-client.d.mts +8 -8
- package/dist/renderer-client.d.ts +8 -8
- package/dist/renderer-client.mjs +1 -1
- package/dist/request.cjs +2 -2
- package/dist/{request.d-zpSn6pu_.d.ts → request.d-B0ugAadD.d.ts} +9 -2
- package/dist/{request.d-F3h7K37m.d.mts → request.d-DLq33nYo.d.mts} +9 -2
- package/dist/request.d.mts +6 -6
- package/dist/request.d.ts +6 -6
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-Mw0ZKG2e.d.mts → route-rendering.d-DSeIV7yV.d.mts} +1 -1
- package/dist/{route-rendering.d-BL0_AdKj.d.ts → route-rendering.d-ytaqDQD6.d.ts} +1 -1
- package/dist/{route.d-DrXkpvcg.d.mts → route.d-Cd4Fi6BA.d.ts} +3 -1
- package/dist/{route.d-hs-_cyHn.d.ts → route.d-ShmtqqVQ.d.mts} +3 -1
- package/dist/{router.d-BwXigemZ.d.ts → router.d-BaEAEGPg.d.ts} +1 -1
- package/dist/{router.d-NGVsU11T.d.mts → router.d-Chd5cpe3.d.mts} +1 -1
- package/dist/routes.cjs +5 -3
- package/dist/routes.d.mts +5 -5
- package/dist/routes.d.ts +5 -5
- package/dist/routes.mjs +4 -2
- package/dist/{rsc-pipeline-DHYZLWSF.mjs → rsc-pipeline-DPMYONEV.mjs} +12 -11
- package/dist/{rsc-pipeline-BNXYMG4G.cjs → rsc-pipeline-XIUUMMG5.cjs} +13 -12
- package/dist/{runtime-IWOT6ZVC.cjs → runtime-WD77S3C5.cjs} +25 -25
- package/dist/{runtime-XPYKUNL3.mjs → runtime-XIUJZTZ3.mjs} +16 -16
- package/dist/{runtime.d-BA3MzhXz.d.mts → runtime.d-DpCs0eAO.d.mts} +3 -3
- package/dist/{runtime.d-OBIZWpx1.d.ts → runtime.d-h2USyQsz.d.ts} +3 -3
- package/dist/server-action-security.cjs +5 -3
- package/dist/server-action-security.d.mts +11 -3
- package/dist/server-action-security.d.ts +11 -3
- package/dist/server-action-security.mjs +4 -2
- package/dist/server-fn-client.d.mts +3 -3
- package/dist/server-fn-client.d.ts +3 -3
- package/dist/server-fn.cjs +6 -5
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-fn.mjs +5 -4
- package/dist/server-plugins.cjs +4 -4
- package/dist/server-plugins.d.mts +54 -10
- package/dist/server-plugins.d.ts +54 -10
- package/dist/server-plugins.mjs +3 -3
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.cjs +7 -6
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server-query.mjs +6 -5
- package/dist/server.cjs +65 -68
- package/dist/server.d.mts +15 -15
- package/dist/server.d.ts +15 -15
- package/dist/server.mjs +44 -47
- package/dist/{spa-router.d-BG2XzE5p.d.mts → spa-router.d-DCQVtEaE.d.mts} +11 -5
- package/dist/{spa-router.d-DrYT944-.d.ts → spa-router.d-DpdJHs1q.d.ts} +11 -5
- package/dist/testing.cjs +16 -14
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.mjs +12 -10
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/{utils.d-C1k9BJeD.d.mts → utils.d-DKDZtAY5.d.mts} +1 -1
- package/dist/{utils.d-DcF4wxey.d.ts → utils.d-DmicwMvS.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +38 -33
- package/dist/vite.d.mts +24 -10
- package/dist/vite.d.ts +24 -10
- package/dist/vite.mjs +37 -32
- package/package.json +1 -1
- package/dist/analyzer-UJG4MIZW.cjs +0 -16
- package/dist/chunk-6I4BFRE7.cjs +0 -51
- package/dist/chunk-EIVGPQN5.mjs +0 -51
- package/dist/chunk-V3UOEWCB.cjs +0 -46
- package/dist/chunk-VE3FWJBO.mjs +0 -46
- /package/dist/{chunk-QEJWNXRI.cjs → chunk-EMRYJG4U.cjs} +0 -0
- /package/dist/{chunk-TXE4SAMV.mjs → chunk-H2ZJ35NW.mjs} +0 -0
|
@@ -15,34 +15,229 @@ var _chunkA25FXJ7Dcjs = require('./chunk-A25FXJ7D.cjs');
|
|
|
15
15
|
var _chunkD22BUQKWcjs = require('./chunk-D22BUQKW.cjs');
|
|
16
16
|
|
|
17
17
|
// src/agent-identity.ts
|
|
18
|
-
var
|
|
19
|
-
["ChatGPT-User", "openai", "agent"],
|
|
20
|
-
["OAI-SearchBot", "openai", "crawler"],
|
|
21
|
-
["GPTBot", "openai", "crawler"],
|
|
22
|
-
["
|
|
23
|
-
["Claude-
|
|
24
|
-
["
|
|
25
|
-
["
|
|
26
|
-
["
|
|
27
|
-
["
|
|
28
|
-
["
|
|
29
|
-
["
|
|
18
|
+
var CLIENT_TOKENS = [
|
|
19
|
+
["ChatGPT-User", "ChatGPT-User", "openai", "agent"],
|
|
20
|
+
["OAI-SearchBot", "OAI-SearchBot", "openai", "crawler"],
|
|
21
|
+
["GPTBot", "GPTBot", "openai", "crawler"],
|
|
22
|
+
["codex[_-][a-z]+(?:[_-][a-z]+)*", "Codex", "openai", "harness"],
|
|
23
|
+
["Claude-User", "Claude-User", "anthropic", "agent"],
|
|
24
|
+
["Claude-SearchBot", "Claude-SearchBot", "anthropic", "crawler"],
|
|
25
|
+
["ClaudeBot", "ClaudeBot", "anthropic", "crawler"],
|
|
26
|
+
["claude-code", "Claude Code", "anthropic", "harness"],
|
|
27
|
+
["Perplexity-User", "Perplexity-User", "perplexity", "agent"],
|
|
28
|
+
["PerplexityBot", "PerplexityBot", "perplexity", "crawler"],
|
|
29
|
+
["Google-CloudVertexBot", "Google-CloudVertexBot", "google", "crawler"],
|
|
30
|
+
["MistralAI-User", "MistralAI-User", "other", "agent"],
|
|
31
|
+
["Meta-ExternalFetcher", "Meta-ExternalFetcher", "other", "agent"],
|
|
32
|
+
["Meta-ExternalAgent", "Meta-ExternalAgent", "other", "crawler"],
|
|
33
|
+
["Amazonbot", "Amazonbot", "other", "crawler"],
|
|
34
|
+
["DuckAssistBot", "DuckAssistBot", "other", "crawler"],
|
|
35
|
+
["CCBot", "CCBot", "other", "crawler"],
|
|
36
|
+
["Bytespider", "Bytespider", "other", "crawler"],
|
|
37
|
+
["Googlebot", "Googlebot", "google", "search"],
|
|
38
|
+
["Google-InspectionTool", "Google-InspectionTool", "google", "search"],
|
|
39
|
+
["bingbot", "Bingbot", "microsoft", "search"],
|
|
40
|
+
["Applebot", "Applebot", "unknown", "search"],
|
|
41
|
+
["DuckDuckBot", "DuckDuckBot", "unknown", "search"],
|
|
42
|
+
["YandexBot", "YandexBot", "unknown", "search"],
|
|
43
|
+
["Baiduspider", "Baiduspider", "unknown", "search"],
|
|
44
|
+
["PetalBot", "PetalBot", "unknown", "search"],
|
|
45
|
+
["BingPreview", "BingPreview", "microsoft", "preview"],
|
|
46
|
+
["facebookexternalhit", "facebookexternalhit", "unknown", "preview"],
|
|
47
|
+
["Slackbot-LinkExpanding", "Slackbot", "unknown", "preview"],
|
|
48
|
+
["Slackbot", "Slackbot", "unknown", "preview"],
|
|
49
|
+
["Twitterbot", "Twitterbot", "unknown", "preview"],
|
|
50
|
+
["Discordbot", "Discordbot", "unknown", "preview"],
|
|
51
|
+
["LinkedInBot", "LinkedInBot", "unknown", "preview"],
|
|
52
|
+
["TelegramBot", "TelegramBot", "unknown", "preview"],
|
|
53
|
+
["WhatsApp", "WhatsApp", "unknown", "preview"],
|
|
54
|
+
["UptimeRobot", "UptimeRobot", "unknown", "monitor"],
|
|
55
|
+
["vercel-cron", "Vercel Cron", "unknown", "monitor"],
|
|
56
|
+
["farmjs-clock", "Farm.js clock", "unknown", "monitor"],
|
|
57
|
+
["farmjs-infra-safe-fetch", "Farm.js Infra", "unknown", "bot"],
|
|
58
|
+
["FarmjsInfra-Discovery", "Farm.js Infra", "unknown", "bot"],
|
|
59
|
+
["GoogleOther", "GoogleOther", "google", "bot"],
|
|
60
|
+
["HeadlessChrome", "Headless Chrome", "unknown", "bot"],
|
|
61
|
+
["PhantomJS", "PhantomJS", "unknown", "bot"],
|
|
62
|
+
["Chrome-Lighthouse", "Lighthouse", "unknown", "bot"],
|
|
63
|
+
["Scrapy", "Scrapy", "unknown", "bot"],
|
|
64
|
+
["curl", "curl", "unknown", "script"],
|
|
65
|
+
["Wget", "Wget", "unknown", "script"],
|
|
66
|
+
["python-requests", "python-requests", "unknown", "script"],
|
|
67
|
+
["python-httpx", "python-httpx", "unknown", "script"],
|
|
68
|
+
["Python-urllib", "Python-urllib", "unknown", "script"],
|
|
69
|
+
["aiohttp", "aiohttp", "unknown", "script"],
|
|
70
|
+
["axios", "axios", "unknown", "script"],
|
|
71
|
+
["node-fetch", "node-fetch", "unknown", "script"],
|
|
72
|
+
["undici", "undici", "unknown", "script"],
|
|
73
|
+
// Node's built-in fetch sends exactly `node`.
|
|
74
|
+
["node", "Node.js", "unknown", "script"],
|
|
75
|
+
["Bun", "Bun", "unknown", "script"],
|
|
76
|
+
["Deno", "Deno", "unknown", "script"],
|
|
77
|
+
["Go-http-client", "Go", "unknown", "script"],
|
|
78
|
+
["okhttp", "OkHttp", "unknown", "script"],
|
|
79
|
+
["Java-http-client", "Java", "unknown", "script"],
|
|
80
|
+
["Java", "Java", "unknown", "script"],
|
|
81
|
+
["Apache-HttpClient", "Apache HttpClient", "unknown", "script"],
|
|
82
|
+
["PostmanRuntime", "Postman", "unknown", "script"],
|
|
83
|
+
["insomnia", "Insomnia", "unknown", "script"],
|
|
84
|
+
["HTTPie", "HTTPie", "unknown", "script"],
|
|
85
|
+
["libwww-perl", "libwww-perl", "unknown", "script"],
|
|
86
|
+
["Ruby", "Ruby", "unknown", "script"],
|
|
87
|
+
["got", "got", "unknown", "script"]
|
|
30
88
|
];
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
89
|
+
var MCP_CLIENTS = [
|
|
90
|
+
[["claude-ai"], "claude", "Claude", "anthropic"],
|
|
91
|
+
[["claude-code"], "claude-code", "Claude Code", "anthropic"],
|
|
92
|
+
[["cursor-vscode"], "cursor", "Cursor", "other"],
|
|
93
|
+
[["Visual Studio Code", "Visual-Studio-Code"], "vscode", "VS Code", "microsoft"],
|
|
94
|
+
[["Windsurf", "windsurf-client"], "windsurf", "Windsurf", "other"],
|
|
95
|
+
[["Zed"], "zed", "Zed", "other"],
|
|
96
|
+
[["ChatGPT"], "chatgpt", "ChatGPT", "openai"],
|
|
97
|
+
[["Codex", "codex-mcp-client"], "codex", "Codex", "openai"],
|
|
98
|
+
[["gemini-cli-mcp-client"], "gemini-cli", "Gemini CLI", "google"],
|
|
99
|
+
[["antigravity-client"], "antigravity", "Antigravity", "google"],
|
|
100
|
+
[["github-copilot-developer"], "copilot-cli", "GitHub Copilot CLI", "microsoft"],
|
|
101
|
+
[["Xcode-copilot-xcode"], "copilot-xcode", "GitHub Copilot for Xcode", "microsoft"],
|
|
102
|
+
[
|
|
103
|
+
["JetBrains-IU-copilot-intellij", "JetBrains-JBC-copilot-intellij"],
|
|
104
|
+
"jetbrains",
|
|
105
|
+
"JetBrains AI Assistant",
|
|
106
|
+
"other"
|
|
107
|
+
],
|
|
108
|
+
[["Q-DEV-CLI"], "amazon-q", "Amazon Q Developer CLI", "other"],
|
|
109
|
+
[["Mistral"], "le-chat", "Le Chat", "other"],
|
|
110
|
+
[["Cline"], "cline", "Cline", "other"],
|
|
111
|
+
[["Roo-Code"], "roo-code", "Roo Code", "other"],
|
|
112
|
+
[["Kilo-Code"], "kilo-code", "Kilo Code", "other"],
|
|
113
|
+
[["goose"], "goose", "Goose", "other"],
|
|
114
|
+
[["opencode"], "opencode", "opencode", "other"],
|
|
115
|
+
[["amp-mcp-client"], "amp", "Amp", "other"],
|
|
116
|
+
[["crush"], "crush", "Crush", "other"],
|
|
117
|
+
[["factory-cli"], "factory", "Factory", "other"],
|
|
118
|
+
[["continue-cli-client"], "continue", "Continue", "other"],
|
|
119
|
+
[["com.raycast.macos"], "raycast", "Raycast", "other"],
|
|
120
|
+
[["Cherry Studio"], "cherry-studio", "Cherry Studio", "other"],
|
|
121
|
+
[["Jan-Streamable-Client"], "jan", "Jan", "other"],
|
|
122
|
+
[["@librechat/api-client"], "librechat", "LibreChat", "other"],
|
|
123
|
+
[["lobehub-mcp-client"], "lobehub", "LobeHub", "other"],
|
|
124
|
+
[["dust-mcp-client"], "dust", "Dust", "other"],
|
|
125
|
+
[["Glama"], "glama", "Glama", "other"],
|
|
126
|
+
[["@n8n/n8n-nodes-langchain.mcpClientTool"], "n8n", "n8n", "other"],
|
|
127
|
+
[["make-app-mcp-client"], "make", "Make", "other"],
|
|
128
|
+
[["apify-mcp-client"], "apify", "Apify", "other"],
|
|
129
|
+
[["arcade"], "arcade", "Arcade", "other"],
|
|
130
|
+
[["Alpic"], "alpic", "Alpic", "other"],
|
|
131
|
+
[["Postman-Client"], "postman", "Postman", "other"],
|
|
132
|
+
[["gitguardian"], "gitguardian", "GitGuardian", "other"]
|
|
133
|
+
];
|
|
134
|
+
var MCP_CLIENT_BY_NAME = new Map(
|
|
135
|
+
MCP_CLIENTS.flatMap(([names, slug]) => names.map((name) => [name.toLowerCase(), slug]))
|
|
136
|
+
);
|
|
137
|
+
var MCP_CLIENT_BY_SLUG = new Map(
|
|
138
|
+
MCP_CLIENTS.map(([, slug, name, family]) => [slug, { name, family, category: "harness" }])
|
|
139
|
+
);
|
|
140
|
+
var MCP_SESSION = /^farm\.([a-z0-9-]{1,32})\.[0-9a-f]{32}$/;
|
|
141
|
+
var CLIENT_PATTERN = new RegExp(
|
|
142
|
+
`(?:^|[\\s;(])(?:${CLIENT_TOKENS.map(([token]) => `(${token})`).join("|")})(?=[/\\s;)]|$)`,
|
|
143
|
+
"gi"
|
|
144
|
+
);
|
|
145
|
+
var PRECEDENCE = [
|
|
146
|
+
"harness",
|
|
147
|
+
"agent",
|
|
148
|
+
"crawler",
|
|
149
|
+
"search",
|
|
150
|
+
"preview",
|
|
151
|
+
"monitor",
|
|
152
|
+
"bot",
|
|
153
|
+
"script"
|
|
154
|
+
];
|
|
155
|
+
var AI_CATEGORIES = /* @__PURE__ */ new Set(["agent", "crawler", "harness"]);
|
|
156
|
+
var BROWSERS = [
|
|
157
|
+
[/\bEdg(?:e|A|iOS)?\//, "Edge"],
|
|
158
|
+
[/\bOPR\//, "Opera"],
|
|
159
|
+
[/\bSamsungBrowser\//, "Samsung Internet"],
|
|
160
|
+
[/\b(?:Firefox|FxiOS)\//, "Firefox"],
|
|
161
|
+
[/\b(?:Chrome|CriOS)\//, "Chrome"],
|
|
162
|
+
[/\bVersion\/[\d.]+ (?:Mobile\/\w+ )?Safari\//, "Safari"]
|
|
163
|
+
];
|
|
164
|
+
var BOT_WORD = /(?:bot|crawler|spider|scraper)(?:[/\s;)_-]|$)/i;
|
|
36
165
|
var UNKNOWN = { family: "unknown", category: "unknown", identity: "unknown" };
|
|
166
|
+
function matchToken(userAgent) {
|
|
167
|
+
let best = null;
|
|
168
|
+
let vendor;
|
|
169
|
+
for (const match of userAgent.matchAll(CLIENT_PATTERN)) {
|
|
170
|
+
const index = match.findIndex((group, i) => i > 0 && group !== void 0) - 1;
|
|
171
|
+
const [, name, family, category] = CLIENT_TOKENS[index];
|
|
172
|
+
if (family !== "unknown") {
|
|
173
|
+
if (vendor && vendor !== family) return false;
|
|
174
|
+
vendor = family;
|
|
175
|
+
}
|
|
176
|
+
if (!best || PRECEDENCE.indexOf(category) < PRECEDENCE.indexOf(best.category))
|
|
177
|
+
best = { name, family, category };
|
|
178
|
+
}
|
|
179
|
+
return best;
|
|
180
|
+
}
|
|
37
181
|
function classifyFarmAgent(userAgent) {
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
182
|
+
const match = matchToken((_nullishCoalesce(userAgent, () => ( ""))).slice(0, 2048));
|
|
183
|
+
if (match && AI_CATEGORIES.has(match.category)) {
|
|
184
|
+
const { family, category } = match;
|
|
185
|
+
return {
|
|
186
|
+
family,
|
|
187
|
+
category,
|
|
188
|
+
identity: "self-reported"
|
|
189
|
+
};
|
|
43
190
|
}
|
|
44
191
|
return { ...UNKNOWN };
|
|
45
192
|
}
|
|
193
|
+
function classifyFarmClient(request) {
|
|
194
|
+
const { headers } = request;
|
|
195
|
+
const client = _classifyFarmMCPSession(headers.get("mcp-session-id"));
|
|
196
|
+
if (client) return client;
|
|
197
|
+
const userAgent = (_nullishCoalesce(headers.get("user-agent"), () => ( ""))).slice(0, 2048);
|
|
198
|
+
const match = matchToken(userAgent);
|
|
199
|
+
if (match === false) return { ...UNKNOWN };
|
|
200
|
+
if (match && AI_CATEGORIES.has(match.category)) return declared(match);
|
|
201
|
+
if (/"https:\/\/chatgpt\.com\/?"/i.test(_nullishCoalesce(headers.get("signature-agent"), () => ( ""))))
|
|
202
|
+
return declared({ name: "ChatGPT agent", family: "openai", category: "agent" });
|
|
203
|
+
if (isMcpRequest(request))
|
|
204
|
+
return declared({ name: "MCP client", family: "unknown", category: "harness" });
|
|
205
|
+
if (match) return declared(match);
|
|
206
|
+
const browser = browserName(userAgent);
|
|
207
|
+
if (browser !== void 0 && headers.has("sec-fetch-site") && headers.has("sec-fetch-dest"))
|
|
208
|
+
return declared({ name: browser, family: "unknown", category: "browser" });
|
|
209
|
+
if (BOT_WORD.test(userAgent) || userAgent.includes("://"))
|
|
210
|
+
return declared({ name: "", family: "unknown", category: "bot" });
|
|
211
|
+
return { ...UNKNOWN };
|
|
212
|
+
}
|
|
213
|
+
function declared({ name, family, category }) {
|
|
214
|
+
return { family, category, identity: "self-reported", ...name ? { name } : {} };
|
|
215
|
+
}
|
|
216
|
+
function _farmMCPClientSession(clientInfoName) {
|
|
217
|
+
if (typeof clientInfoName !== "string") return void 0;
|
|
218
|
+
const slug = MCP_CLIENT_BY_NAME.get(clientInfoName.toLowerCase());
|
|
219
|
+
if (!slug) return void 0;
|
|
220
|
+
const random = crypto.getRandomValues(new Uint8Array(16));
|
|
221
|
+
return `farm.${slug}.${Array.from(random, (byte) => byte.toString(16).padStart(2, "0")).join("")}`;
|
|
222
|
+
}
|
|
223
|
+
function _classifyFarmMCPSession(sessionId) {
|
|
224
|
+
const slug = _optionalChain([MCP_SESSION, 'access', _2 => _2.exec, 'call', _3 => _3(_nullishCoalesce(sessionId, () => ( ""))), 'optionalAccess', _4 => _4[1]]);
|
|
225
|
+
const client = slug === void 0 ? void 0 : MCP_CLIENT_BY_SLUG.get(slug);
|
|
226
|
+
return client && declared(client);
|
|
227
|
+
}
|
|
228
|
+
function _isFarmMCPRequest(request) {
|
|
229
|
+
return isMcpRequest(request);
|
|
230
|
+
}
|
|
231
|
+
function isMcpRequest(request) {
|
|
232
|
+
const { headers } = request;
|
|
233
|
+
if (headers.has("mcp-protocol-version") || headers.has("mcp-session-id")) return true;
|
|
234
|
+
const accept = _nullishCoalesce(headers.get("accept"), () => ( ""));
|
|
235
|
+
return request.method === "POST" && /(?:^|[\s,])application\/json(?:[\s;,]|$)/i.test(accept) && /(?:^|[\s,])text\/event-stream(?:[\s;,]|$)/i.test(accept);
|
|
236
|
+
}
|
|
237
|
+
function browserName(userAgent) {
|
|
238
|
+
if (!userAgent.startsWith("Mozilla/5.0 (") || /compatible;|:\/\//i.test(userAgent)) return;
|
|
239
|
+
return _nullishCoalesce(_optionalChain([BROWSERS, 'access', _5 => _5.find, 'call', _6 => _6(([pattern]) => pattern.test(userAgent)), 'optionalAccess', _7 => _7[1]]), () => ( ""));
|
|
240
|
+
}
|
|
46
241
|
var FARM_INTERNAL_READ_HEADER = "x-farm-internal-read";
|
|
47
242
|
function emitFarmAgentRead(request, surface, status, view) {
|
|
48
243
|
if (request.headers.has(FARM_INTERNAL_READ_HEADER)) return;
|
|
@@ -72,7 +267,7 @@ function parseMarkdownHeadingsFromLines(lines) {
|
|
|
72
267
|
const headings = [];
|
|
73
268
|
const used = /* @__PURE__ */ new Map();
|
|
74
269
|
let index = 0;
|
|
75
|
-
if (_optionalChain([lines, 'access',
|
|
270
|
+
if (_optionalChain([lines, 'access', _8 => _8[0], 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) === "---") {
|
|
76
271
|
const close = lines.findIndex((line, lineIndex) => lineIndex > 0 && line.trim() === "---");
|
|
77
272
|
if (close > 0) index = close + 1;
|
|
78
273
|
}
|
|
@@ -286,7 +481,7 @@ Continue: ${next} (about ${remaining} more tokens)
|
|
|
286
481
|
function readOpenFences(lines) {
|
|
287
482
|
const open = [];
|
|
288
483
|
let fence;
|
|
289
|
-
let frontMatter = _optionalChain([lines, 'access',
|
|
484
|
+
let frontMatter = _optionalChain([lines, 'access', _11 => _11[0], 'optionalAccess', _12 => _12.trim, 'call', _13 => _13()]) === "---";
|
|
290
485
|
for (let index = 0; index < lines.length; index++) {
|
|
291
486
|
open.push(frontMatter && index > 0 ? { opener: "", closer: "" } : fence);
|
|
292
487
|
const line = lines[index];
|
|
@@ -415,7 +610,7 @@ function resolveMarkdownConfig(config) {
|
|
|
415
610
|
}
|
|
416
611
|
function resolveMarkdownMirrorTarget(config, pathname, options = {}) {
|
|
417
612
|
const hasMarkdownExtension = pathname.toLowerCase().endsWith(".md");
|
|
418
|
-
if (!_optionalChain([config, 'optionalAccess',
|
|
613
|
+
if (!_optionalChain([config, 'optionalAccess', _14 => _14.enabled]) || !hasMarkdownExtension && !requestAcceptsMarkdown(options.accept)) {
|
|
419
614
|
return null;
|
|
420
615
|
}
|
|
421
616
|
const targetPathname = _resolveFarmMarkdownIndexAlias(
|
|
@@ -424,7 +619,7 @@ function resolveMarkdownMirrorTarget(config, pathname, options = {}) {
|
|
|
424
619
|
),
|
|
425
620
|
options.routePathname
|
|
426
621
|
);
|
|
427
|
-
const routePathname = _nullishCoalesce(_optionalChain([options, 'access',
|
|
622
|
+
const routePathname = _nullishCoalesce(_optionalChain([options, 'access', _15 => _15.routePathname, 'optionalCall', _16 => _16(targetPathname)]), () => ( targetPathname));
|
|
428
623
|
const route = findExposedMarkdownRoute(config, routePathname);
|
|
429
624
|
if (!route && config.expose !== true) {
|
|
430
625
|
return null;
|
|
@@ -439,7 +634,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
439
634
|
if (options.request.method !== "GET" && options.request.method !== "HEAD") {
|
|
440
635
|
return null;
|
|
441
636
|
}
|
|
442
|
-
const requestUrl = _optionalChain([options, 'access',
|
|
637
|
+
const requestUrl = _optionalChain([options, 'access', _17 => _17.requestUrl, 'optionalAccess', _18 => _18.href]) === options.request.url ? options.requestUrl : new URL(options.request.url);
|
|
443
638
|
const hasMarkdownExtension = requestUrl.pathname.toLowerCase().endsWith(".md");
|
|
444
639
|
const target = resolveMarkdownMirrorTarget(options.config, requestUrl.pathname, {
|
|
445
640
|
accept: options.request.headers.get("accept"),
|
|
@@ -481,7 +676,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
481
676
|
options.request.method === "HEAD"
|
|
482
677
|
);
|
|
483
678
|
if (accessResponse || options.request.method === "HEAD") {
|
|
484
|
-
void _optionalChain([pageResponse, 'access',
|
|
679
|
+
void _optionalChain([pageResponse, 'access', _19 => _19.body, 'optionalAccess', _20 => _20.cancel, 'call', _21 => _21(), 'access', _22 => _22.catch, 'call', _23 => _23(() => {
|
|
485
680
|
})]);
|
|
486
681
|
return _nullishCoalesce(accessResponse, () => ( new Response(null, {
|
|
487
682
|
status: pageResponse.status,
|
|
@@ -496,7 +691,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
496
691
|
const region = pageResponse.status < 400 && /<form\b/i.test(html) ? readHtmlContentRegion(html) : void 0;
|
|
497
692
|
const actions = region === void 0 ? [] : extractPageActionsFromRegion(region, pageUrl);
|
|
498
693
|
for (const form of actions) {
|
|
499
|
-
if (!_optionalChain([form, 'access',
|
|
694
|
+
if (!_optionalChain([form, 'access', _24 => _24.action, 'optionalAccess', _25 => _25.startsWith, 'call', _26 => _26("/")])) continue;
|
|
500
695
|
const pathname = new URL(form.action, pageUrl.origin).pathname;
|
|
501
696
|
const tool = _nullishCoalesce(_chunkLRB5OVRTcjs._findFarmMCPEndpointTool.call(void 0, form.method, pathname, options.apiServerBasePath), () => ( _chunkLRB5OVRTcjs._findFarmMCPEndpointTool.call(void 0, form.method, _chunkD22BUQKWcjs.stripFarmBasePath.call(void 0, pathname), options.apiServerBasePath)));
|
|
502
697
|
if (tool) form.tool = tool;
|
|
@@ -504,8 +699,8 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
504
699
|
const markdown = pageResponse.status < 400 && requestUrl.searchParams.has("actions") ? "" : convertHtmlToMarkdown(
|
|
505
700
|
html,
|
|
506
701
|
{
|
|
507
|
-
title: _optionalChain([target, 'access',
|
|
508
|
-
includeMetadata: _nullishCoalesce(_optionalChain([options, 'access',
|
|
702
|
+
title: _optionalChain([target, 'access', _27 => _27.route, 'optionalAccess', _28 => _28.title]),
|
|
703
|
+
includeMetadata: _nullishCoalesce(_optionalChain([options, 'access', _29 => _29.config, 'optionalAccess', _30 => _30.includeMetadata]), () => ( true)),
|
|
509
704
|
sourcePath: target.pathname,
|
|
510
705
|
actionsPath: actions.length > 0 ? `${markdownPath}?actions` : void 0
|
|
511
706
|
},
|
|
@@ -519,12 +714,12 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
519
714
|
if (!hasMarkdownExtension) {
|
|
520
715
|
headersOut.set("Vary", "Accept");
|
|
521
716
|
}
|
|
522
|
-
for (const token of _nullishCoalesce(_optionalChain([pageResponse, 'access',
|
|
717
|
+
for (const token of _nullishCoalesce(_optionalChain([pageResponse, 'access', _31 => _31.headers, 'access', _32 => _32.get, 'call', _33 => _33("vary"), 'optionalAccess', _34 => _34.split, 'call', _35 => _35(",")]), () => ( []))) {
|
|
523
718
|
const name = token.trim();
|
|
524
719
|
if (name && name.toLowerCase() !== "accept") appendHeaderToken(headersOut, "Vary", name);
|
|
525
720
|
}
|
|
526
721
|
const pageCacheControl = pageResponse.headers.get("cache-control");
|
|
527
|
-
const cache = _nullishCoalesce(_nullishCoalesce(_optionalChain([target, 'access',
|
|
722
|
+
const cache = _nullishCoalesce(_nullishCoalesce(_optionalChain([target, 'access', _36 => _36.route, 'optionalAccess', _37 => _37.cache]), () => ( _optionalChain([options, 'access', _38 => _38.config, 'optionalAccess', _39 => _39.cache]))), () => ( false));
|
|
528
723
|
headersOut.set(
|
|
529
724
|
"Cache-Control",
|
|
530
725
|
pageCacheControl && isPrivateCacheControl(pageCacheControl) ? pageCacheControl : _chunkNLBHLPEOcjs.withoutFarmDeploymentCookie.call(void 0, headers.get("cookie")) || headers.has("authorization") ? "private, no-store" : createMarkdownCacheHeader(cache)
|
|
@@ -533,7 +728,7 @@ async function createMarkdownMirrorResponse(options) {
|
|
|
533
728
|
if (pageResponse.status >= 400) {
|
|
534
729
|
preserveMarkdownResponseControlHeaders(pageResponse.headers, headersOut);
|
|
535
730
|
}
|
|
536
|
-
const robots = [pageResponse.headers.get("x-robots-tag"), readHtmlMetaContent(html, "robots")].filter((value) => Boolean(_optionalChain([value, 'optionalAccess',
|
|
731
|
+
const robots = [pageResponse.headers.get("x-robots-tag"), readHtmlMetaContent(html, "robots")].filter((value) => Boolean(_optionalChain([value, 'optionalAccess', _40 => _40.trim, 'call', _41 => _41()]))).join(", ");
|
|
537
732
|
if (robots) headersOut.set("X-Robots-Tag", robots);
|
|
538
733
|
const canonical = readHtmlCanonicalHref(html);
|
|
539
734
|
if (canonical) {
|
|
@@ -858,7 +1053,7 @@ function getFarmMarkdownAlternatePath(config, pathname, options = {}) {
|
|
|
858
1053
|
return target ? target.markdownPath : null;
|
|
859
1054
|
}
|
|
860
1055
|
function isFarmMarkdownMirrorExposed(config, pathname) {
|
|
861
|
-
if (!_optionalChain([config, 'optionalAccess',
|
|
1056
|
+
if (!_optionalChain([config, 'optionalAccess', _42 => _42.enabled])) return false;
|
|
862
1057
|
return config.expose === true || findExposedMarkdownRoute(config, pathname) !== null;
|
|
863
1058
|
}
|
|
864
1059
|
function matchesFarmMarkdownRoutePattern(pattern, pathname) {
|
|
@@ -944,7 +1139,7 @@ function extractHtmlBody(html) {
|
|
|
944
1139
|
const body = rootMatch ? rootMatch[1] : bodyMatch ? bodyMatch[1] : html;
|
|
945
1140
|
const main = extractFirstElementContent(body, ["main"]);
|
|
946
1141
|
if (main !== void 0) return main;
|
|
947
|
-
const articles = _nullishCoalesce(_optionalChain([body, 'access',
|
|
1142
|
+
const articles = _nullishCoalesce(_optionalChain([body, 'access', _43 => _43.match, 'call', _44 => _44(/<article\b/gi), 'optionalAccess', _45 => _45.length]), () => ( 0));
|
|
948
1143
|
return articles === 1 ? _nullishCoalesce(extractFirstElementContent(body, ["article"]), () => ( body)) : body;
|
|
949
1144
|
}
|
|
950
1145
|
function extractFirstElementContent(html, tagNames) {
|
|
@@ -958,7 +1153,7 @@ function extractFirstElementContent(html, tagNames) {
|
|
|
958
1153
|
}
|
|
959
1154
|
function readHtmlMetaContent(html, name) {
|
|
960
1155
|
for (const match of html.matchAll(/<meta\b([^>]*)>/gi)) {
|
|
961
|
-
if (_optionalChain([readHtmlAttribute, 'call',
|
|
1156
|
+
if (_optionalChain([readHtmlAttribute, 'call', _46 => _46(match[1], "name"), 'optionalAccess', _47 => _47.toLowerCase, 'call', _48 => _48()]) === name) {
|
|
962
1157
|
return readHtmlAttribute(match[1], "content");
|
|
963
1158
|
}
|
|
964
1159
|
}
|
|
@@ -966,8 +1161,8 @@ function readHtmlMetaContent(html, name) {
|
|
|
966
1161
|
}
|
|
967
1162
|
function readHtmlCanonicalHref(html) {
|
|
968
1163
|
for (const match of html.matchAll(/<link\b([^>]*)>/gi)) {
|
|
969
|
-
const rel = _optionalChain([readHtmlAttribute, 'call',
|
|
970
|
-
if (_optionalChain([rel, 'optionalAccess',
|
|
1164
|
+
const rel = _optionalChain([readHtmlAttribute, 'call', _49 => _49(match[1], "rel"), 'optionalAccess', _50 => _50.toLowerCase, 'call', _51 => _51(), 'access', _52 => _52.split, 'call', _53 => _53(/\s+/)]);
|
|
1165
|
+
if (_optionalChain([rel, 'optionalAccess', _54 => _54.includes, 'call', _55 => _55("canonical")])) return readHtmlAttribute(match[1], "href");
|
|
971
1166
|
}
|
|
972
1167
|
return void 0;
|
|
973
1168
|
}
|
|
@@ -994,7 +1189,7 @@ function extractPageActionsFromRegion(region, pageUrl) {
|
|
|
994
1189
|
return actions;
|
|
995
1190
|
}
|
|
996
1191
|
function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
997
|
-
const method = _optionalChain([readDecodedAttribute, 'call',
|
|
1192
|
+
const method = _optionalChain([readDecodedAttribute, 'call', _56 => _56(attributes, "method"), 'optionalAccess', _57 => _57.trim, 'call', _58 => _58(), 'access', _59 => _59.toLowerCase, 'call', _60 => _60()]);
|
|
998
1193
|
if (method === "dialog") return void 0;
|
|
999
1194
|
const target = resolveFormTarget(readDecodedAttribute(attributes, "action"), pageUrl);
|
|
1000
1195
|
const form = {
|
|
@@ -1004,11 +1199,11 @@ function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
|
1004
1199
|
submit: []
|
|
1005
1200
|
};
|
|
1006
1201
|
const name = _nullishCoalesce(_nullishCoalesce(readDecodedAttribute(attributes, "aria-label"), () => ( readDecodedAttribute(attributes, "name"))), () => ( readDecodedAttribute(attributes, "id")));
|
|
1007
|
-
if (_optionalChain([name, 'optionalAccess',
|
|
1202
|
+
if (_optionalChain([name, 'optionalAccess', _61 => _61.trim, 'call', _62 => _62()])) form.name = name.trim();
|
|
1008
1203
|
if (target) form.action = target;
|
|
1009
1204
|
else form.requiresJavaScript = true;
|
|
1010
1205
|
if (form.method === "POST") {
|
|
1011
|
-
const enctype = _optionalChain([readDecodedAttribute, 'call',
|
|
1206
|
+
const enctype = _optionalChain([readDecodedAttribute, 'call', _63 => _63(attributes, "enctype"), 'optionalAccess', _64 => _64.trim, 'call', _65 => _65(), 'access', _66 => _66.toLowerCase, 'call', _67 => _67()]);
|
|
1012
1207
|
form.enctype = enctype && FORM_ENCTYPES.has(enctype) ? enctype : "application/x-www-form-urlencoded";
|
|
1013
1208
|
}
|
|
1014
1209
|
const wrappingLabels = [...content.matchAll(/<label\b[^>]*>([\s\S]*?)<\/label>/gi)].map(
|
|
@@ -1019,13 +1214,13 @@ function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
|
1019
1214
|
})
|
|
1020
1215
|
);
|
|
1021
1216
|
const labelOf = (controlAttributes, index) => {
|
|
1022
|
-
const aria = _optionalChain([readDecodedAttribute, 'call',
|
|
1217
|
+
const aria = _optionalChain([readDecodedAttribute, 'call', _68 => _68(controlAttributes, "aria-label"), 'optionalAccess', _69 => _69.trim, 'call', _70 => _70()]);
|
|
1023
1218
|
if (aria) return aria;
|
|
1024
1219
|
const id = readDecodedAttribute(controlAttributes, "id");
|
|
1025
1220
|
const forLabel = id ? labelsFor.get(id) : void 0;
|
|
1026
1221
|
if (forLabel) return forLabel;
|
|
1027
1222
|
const wrapping = wrappingLabels.find((label) => label.start < index && index < label.end);
|
|
1028
|
-
return _optionalChain([wrapping, 'optionalAccess',
|
|
1223
|
+
return _optionalChain([wrapping, 'optionalAccess', _71 => _71.text]) || void 0;
|
|
1029
1224
|
};
|
|
1030
1225
|
const groups = /* @__PURE__ */ new Map();
|
|
1031
1226
|
const controls = /<(input)\b([^>]*)>|<(select|textarea|button)\b([^>]*)>([\s\S]*?)<\/\3>/gi;
|
|
@@ -1036,7 +1231,7 @@ function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
|
1036
1231
|
if (hasHtmlAttribute(controlAttributes, "disabled")) continue;
|
|
1037
1232
|
const label = labelOf(controlAttributes, match.index);
|
|
1038
1233
|
const fieldName = readDecodedAttribute(controlAttributes, "name");
|
|
1039
|
-
const typeAttribute = _optionalChain([readDecodedAttribute, 'call',
|
|
1234
|
+
const typeAttribute = _optionalChain([readDecodedAttribute, 'call', _72 => _72(controlAttributes, "type"), 'optionalAccess', _73 => _73.trim, 'call', _74 => _74(), 'access', _75 => _75.toLowerCase, 'call', _76 => _76()]);
|
|
1040
1235
|
const type = tag === "input" ? _nullishCoalesce(typeAttribute, () => ( "text")) : tag === "button" ? _nullishCoalesce(typeAttribute, () => ( "submit")) : tag;
|
|
1041
1236
|
if (tag === "button" && !["button", "reset"].includes(type) || tag === "input" && (type === "submit" || type === "image")) {
|
|
1042
1237
|
const submit = {
|
|
@@ -1050,7 +1245,7 @@ function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
|
1050
1245
|
const resolved = resolveFormTarget(formAction, pageUrl);
|
|
1051
1246
|
if (resolved) submit.action = resolved;
|
|
1052
1247
|
}
|
|
1053
|
-
const formMethod = _optionalChain([readDecodedAttribute, 'call',
|
|
1248
|
+
const formMethod = _optionalChain([readDecodedAttribute, 'call', _77 => _77(controlAttributes, "formmethod"), 'optionalAccess', _78 => _78.toLowerCase, 'call', _79 => _79()]);
|
|
1054
1249
|
if (formMethod === "get" || formMethod === "post") submit.method = formMethod.toUpperCase();
|
|
1055
1250
|
form.submit.push(submit);
|
|
1056
1251
|
continue;
|
|
@@ -1128,7 +1323,7 @@ function readPageForm(attributes, content, pageUrl, labelsFor) {
|
|
|
1128
1323
|
function resolveFormTarget(action, pageUrl) {
|
|
1129
1324
|
let target;
|
|
1130
1325
|
try {
|
|
1131
|
-
target = new URL(_optionalChain([action, 'optionalAccess',
|
|
1326
|
+
target = new URL(_optionalChain([action, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || pageUrl.href, pageUrl);
|
|
1132
1327
|
} catch (e5) {
|
|
1133
1328
|
return void 0;
|
|
1134
1329
|
}
|
|
@@ -1155,7 +1350,7 @@ function readHtmlAttribute(attributes, name) {
|
|
|
1155
1350
|
}
|
|
1156
1351
|
function readCodeLanguage(attributesList) {
|
|
1157
1352
|
for (const attributes of attributesList) {
|
|
1158
|
-
const language = _nullishCoalesce(_nullishCoalesce(readHtmlAttribute(attributes, "data-language"), () => ( readHtmlAttribute(attributes, "data-lang"))), () => ( _optionalChain([readHtmlAttribute, 'call',
|
|
1353
|
+
const language = _nullishCoalesce(_nullishCoalesce(readHtmlAttribute(attributes, "data-language"), () => ( readHtmlAttribute(attributes, "data-lang"))), () => ( _optionalChain([readHtmlAttribute, 'call', _82 => _82(attributes, "class"), 'optionalAccess', _83 => _83.match, 'call', _84 => _84(/(?:^|\s)lang(?:uage)?-(\S+)/), 'optionalAccess', _85 => _85[1]])));
|
|
1159
1354
|
if (language && /^[\w#+.-]+$/.test(language)) return language;
|
|
1160
1355
|
}
|
|
1161
1356
|
return void 0;
|
|
@@ -1263,7 +1458,7 @@ function matchClosingTags(html) {
|
|
|
1263
1458
|
while (match = tags.exec(html)) {
|
|
1264
1459
|
const name = match[2].toLowerCase();
|
|
1265
1460
|
if (match[1]) {
|
|
1266
|
-
const start = _optionalChain([open, 'access',
|
|
1461
|
+
const start = _optionalChain([open, 'access', _86 => _86.get, 'call', _87 => _87(name), 'optionalAccess', _88 => _88.pop, 'call', _89 => _89()]);
|
|
1267
1462
|
if (start !== void 0) closes.set(start, match.index + match[0].length);
|
|
1268
1463
|
} else if (!VOID_TAGS.has(name) && !isSelfClosingTag(match[0])) {
|
|
1269
1464
|
let starts = open.get(name);
|
|
@@ -1296,7 +1491,7 @@ function resolveStreamedBoundaries(html, { boundaries, placeholders }) {
|
|
|
1296
1491
|
let cursor = 0;
|
|
1297
1492
|
let match;
|
|
1298
1493
|
while (match = openingTag.exec(html)) {
|
|
1299
|
-
const id = _optionalChain([/\sid="([^"]*)"/, 'access',
|
|
1494
|
+
const id = _optionalChain([/\sid="([^"]*)"/, 'access', _90 => _90.exec, 'call', _91 => _91(match[2]), 'optionalAccess', _92 => _92[1]]);
|
|
1300
1495
|
if (!id || !wanted.has(id) || segments.has(id)) continue;
|
|
1301
1496
|
const close = closingTags.get(match.index);
|
|
1302
1497
|
if (close === void 0) continue;
|
|
@@ -1393,4 +1588,8 @@ function decodeHtml(input) {
|
|
|
1393
1588
|
|
|
1394
1589
|
|
|
1395
1590
|
|
|
1396
|
-
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
exports.classifyFarmAgent = classifyFarmAgent; exports.classifyFarmClient = classifyFarmClient; exports._farmMCPClientSession = _farmMCPClientSession; exports._classifyFarmMCPSession = _classifyFarmMCPSession; exports._isFarmMCPRequest = _isFarmMCPRequest; exports.FARM_INTERNAL_READ_HEADER = FARM_INTERNAL_READ_HEADER; exports.emitFarmAgentRead = emitFarmAgentRead; exports.createFarmMarkdownViewResponse = createFarmMarkdownViewResponse; exports.FARM_MARKDOWN_CONTENT_TYPE = FARM_MARKDOWN_CONTENT_TYPE; exports.FARM_MARKDOWN_PAGE_CHECK_HEADER = FARM_MARKDOWN_PAGE_CHECK_HEADER; exports._getFarmMarkdownPageCheckToken = _getFarmMarkdownPageCheckToken; exports._isFarmMarkdownPageCheck = _isFarmMarkdownPageCheck; exports.farmRequestWantsMarkdown = farmRequestWantsMarkdown; exports.createFarmMarkdownErrorBody = createFarmMarkdownErrorBody; exports.resolveMarkdownConfig = resolveMarkdownConfig; exports.resolveMarkdownMirrorTarget = resolveMarkdownMirrorTarget; exports.createMarkdownMirrorResponse = createMarkdownMirrorResponse; exports.applyMarkdownNegotiationHeaders = applyMarkdownNegotiationHeaders; exports.htmlToMarkdown = htmlToMarkdown; exports._resolveFarmMarkdownIndexAlias = _resolveFarmMarkdownIndexAlias; exports._getFarmMarkdownPath = _getFarmMarkdownPath; exports.farmAcceptQuality = farmAcceptQuality; exports.requestAcceptsMarkdown = requestAcceptsMarkdown; exports.getFarmMarkdownMirrorPath = getFarmMarkdownMirrorPath; exports.getFarmMarkdownAlternatePath = getFarmMarkdownAlternatePath; exports.isFarmMarkdownMirrorExposed = isFarmMarkdownMirrorExposed; exports.matchesFarmMarkdownRoutePattern = matchesFarmMarkdownRoutePattern; exports._readFarmRenderedHtml = _readFarmRenderedHtml; exports.extractFarmPageActions = extractFarmPageActions;
|