@farm.js/core 0.1.51-beta.2 → 0.1.60
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-WWCC4GLG.mjs → agent-mcp-handler-7QMX2LUY.mjs} +7 -7
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
- package/dist/{agent-mcp.d-Z5DuwrqW.d.mts → agent-mcp.d-C-2S9bnP.d.mts} +1 -1
- package/dist/{agent-mcp.d-CR5Ov83o.d.ts → agent-mcp.d-SIoCUP1I.d.ts} +1 -1
- package/dist/agent-runtime.cjs +5 -5
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/agent-runtime.mjs +4 -4
- package/dist/{analyzer-Z6TNEAET.mjs → analyzer-22BEYV7S.mjs} +126 -12
- package/dist/{analyzer-T76CN3S7.cjs → analyzer-LCSI3NSH.cjs} +132 -18
- package/dist/api/client.cjs +5 -4
- package/dist/api/client.d.mts +1 -1
- package/dist/api/client.d.ts +1 -1
- package/dist/api/client.mjs +3 -2
- package/dist/api/client.native.cjs +45 -0
- package/dist/api/client.native.d.mts +23 -0
- package/dist/api/client.native.d.ts +23 -0
- package/dist/api/client.native.mjs +45 -0
- package/dist/api/route-manager.cjs +7 -7
- package/dist/api/route-manager.d.mts +4 -4
- package/dist/api/route-manager.d.ts +4 -4
- package/dist/api/route-manager.mjs +6 -6
- package/dist/api/runtime.cjs +5 -5
- package/dist/api/runtime.d.mts +3 -3
- package/dist/api/runtime.d.ts +3 -3
- package/dist/api/runtime.mjs +4 -4
- package/dist/{api-client.d-CeA6tNA6.d.mts → api-client.d-BNLXNCXJ.d.mts} +1 -1
- package/dist/{api-client.d-BWcqZciH.d.ts → api-client.d-ddQBNGtu.d.ts} +1 -1
- package/dist/api.cjs +11 -11
- package/dist/api.d.mts +5 -5
- package/dist/api.d.ts +5 -5
- package/dist/api.mjs +10 -10
- package/dist/{app-manifest.d-CAHkOBFa.d.mts → app-manifest.d-DrSAHskY.d.mts} +1 -1
- package/dist/{app-manifest.d-DiWr_Jfx.d.ts → app-manifest.d-Tb3CJpL4.d.ts} +1 -1
- package/dist/app-markdown.cjs +7 -7
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +6 -6
- package/dist/{app.d-DmapqkbV.d.ts → app.d-CmWlYpZJ.d.ts} +9 -4
- package/dist/{app.d-BfgJCsTQ.d.mts → app.d-D6QQM_kk.d.mts} +9 -4
- package/dist/{chunk-SN5VSO3Q.mjs → chunk-25T5VXOE.mjs} +7 -9
- package/dist/{chunk-GUJTVM36.cjs → chunk-2FRLSDBT.cjs} +1 -1
- package/dist/{chunk-LM2YOGDK.mjs → chunk-2I6PUKWJ.mjs} +1 -1
- package/dist/{chunk-EIMK7D2D.mjs → chunk-2KTYMMWT.mjs} +34 -4
- package/dist/{chunk-B5BBTPJQ.cjs → chunk-2OF5RPVU.cjs} +14 -14
- package/dist/chunk-37PYUEK5.mjs +533 -0
- package/dist/chunk-3HLQTOVU.cjs +6 -0
- package/dist/{chunk-VSLM6BHX.cjs → chunk-3OJNNCDL.cjs} +9 -9
- package/dist/{chunk-X3JNB2TB.mjs → chunk-3PX4AIXO.mjs} +36 -5
- package/dist/{chunk-UQHIWZZ6.cjs → chunk-3TL3AH25.cjs} +12 -6
- package/dist/chunk-3YMLUNL2.cjs +251 -0
- package/dist/chunk-4JTQPOKO.cjs +137 -0
- package/dist/{chunk-QXPSWMUD.cjs → chunk-4P23B7DU.cjs} +5 -5
- package/dist/{chunk-YVJV7Q2X.mjs → chunk-55U5QIXQ.mjs} +1 -1
- package/dist/{chunk-5N7QAGEA.cjs → chunk-5JNUYGNF.cjs} +37 -7
- package/dist/{chunk-NJLTQR5P.cjs → chunk-6BJJYOFL.cjs} +7 -7
- package/dist/chunk-6UUH4N4J.mjs +251 -0
- package/dist/{chunk-2NHOYYUT.mjs → chunk-7H45IJWO.mjs} +2 -2
- package/dist/{chunk-NN3MOPSI.mjs → chunk-A2MN5PQJ.mjs} +7 -7
- package/dist/{chunk-KY32FWK7.mjs → chunk-BHJAYPYU.mjs} +2 -2
- package/dist/{chunk-VAHBCI6X.mjs → chunk-BQWBHWEW.mjs} +26 -1
- package/dist/{chunk-KJMWAUKE.mjs → chunk-C7GJDVN4.mjs} +1 -1
- package/dist/{chunk-OYNNA4DD.cjs → chunk-CBKRS3M4.cjs} +9 -9
- package/dist/{chunk-I2DQGS56.cjs → chunk-CBOEJ5Z4.cjs} +39 -41
- package/dist/{chunk-BOVGCUDZ.cjs → chunk-CI4UNQHO.cjs} +2 -2
- package/dist/{chunk-S5AQ7CAC.cjs → chunk-CNNBFGL5.cjs} +39 -14
- package/dist/chunk-D2X5MUF5.cjs +1457 -0
- package/dist/{chunk-LEIXUFJN.cjs → chunk-D4MRNBVF.cjs} +10 -9
- package/dist/{chunk-2KVDHNQS.mjs → chunk-D7LTCK3U.mjs} +2 -2
- package/dist/{chunk-J3LBO2O4.cjs → chunk-DPJ66FSI.cjs} +22 -22
- package/dist/{chunk-NYQSC4DX.cjs → chunk-DZPR2W6U.cjs} +5 -5
- package/dist/{chunk-GW4YUIHW.mjs → chunk-E72UD6ME.mjs} +1 -1
- package/dist/chunk-EFZGB7JC.cjs +114 -0
- package/dist/{chunk-XXXRRVY6.mjs → chunk-EGVC4LIG.mjs} +5 -5
- package/dist/{chunk-72NBDVWQ.mjs → chunk-EXUONJYV.mjs} +3 -3
- package/dist/{chunk-VS7EHLLW.mjs → chunk-EZ34EHQP.mjs} +1 -1
- package/dist/{chunk-FM2UEKS2.mjs → chunk-F6Y7ZAPQ.mjs} +2 -2
- package/dist/{chunk-LMFJCXDD.mjs → chunk-FN5UEC7I.mjs} +1 -1
- package/dist/{chunk-E6LTONL4.mjs → chunk-FORSVMEJ.mjs} +2 -2
- package/dist/{chunk-6CYQQQGR.mjs → chunk-HPWB57PZ.mjs} +1 -1
- package/dist/{chunk-Y2G5SJFB.mjs → chunk-IFHPDLIS.mjs} +1 -1
- package/dist/{chunk-GNJIYJMS.cjs → chunk-IFXSBJPN.cjs} +16 -16
- package/dist/{chunk-74Z5KX4A.mjs → chunk-ILMTRGBG.mjs} +309 -56
- package/dist/{chunk-NXBHYO7S.cjs → chunk-JBK7UJOI.cjs} +14 -11
- package/dist/chunk-JI5D7MXY.mjs +137 -0
- package/dist/{chunk-QXJADAQB.cjs → chunk-JIBEFLQ7.cjs} +6 -2
- package/dist/{chunk-LZ4SB57H.mjs → chunk-JPIUGDK4.mjs} +1 -1
- package/dist/{chunk-Y3N5BFRJ.mjs → chunk-JSDV2NUN.mjs} +1 -1
- package/dist/{chunk-IRSS4HS4.mjs → chunk-K3RU5MOR.mjs} +1 -1
- package/dist/chunk-KPOMS5RO.cjs +237 -0
- package/dist/{chunk-LAZK6UV7.mjs → chunk-KVW2M6PI.mjs} +1 -1
- package/dist/{chunk-5IONBVJY.cjs → chunk-LB3DPQP6.cjs} +22 -22
- package/dist/{chunk-CZ35L6PL.mjs → chunk-LJVNMGE3.mjs} +10 -4
- package/dist/chunk-LLZSYFOM.mjs +6 -0
- package/dist/{chunk-X2AMN2WV.cjs → chunk-LQNW3ABP.cjs} +10 -10
- package/dist/{chunk-6ONBZGVH.cjs → chunk-LRB5OVRT.cjs} +3 -3
- package/dist/{chunk-WJFFPXCV.cjs → chunk-LT4VAF5Z.cjs} +12 -10
- package/dist/{chunk-F6TLUMH7.mjs → chunk-M53MIIXY.mjs} +1 -1
- package/dist/{chunk-HIFIG6HL.cjs → chunk-MEQN6DDA.cjs} +5 -5
- package/dist/{chunk-XLRLSTJ6.cjs → chunk-MGKW5XZE.cjs} +7 -7
- package/dist/{chunk-B3GZAQSC.cjs → chunk-MHLNWRCJ.cjs} +3 -3
- package/dist/{chunk-5ENW27SL.mjs → chunk-MMK4MZUN.mjs} +1 -1
- package/dist/{chunk-DTU4PX7V.cjs → chunk-MTWXOEI4.cjs} +927 -629
- package/dist/chunk-NHD7BAKD.mjs +1457 -0
- package/dist/{chunk-NPQLMP7M.cjs → chunk-NQJDO7K7.cjs} +32 -31
- package/dist/{chunk-76GHW3WI.cjs → chunk-O27PLNQZ.cjs} +10 -10
- package/dist/{chunk-PIHKO25G.mjs → chunk-OM7WILES.mjs} +1 -1
- package/dist/{chunk-7UPCJDB5.mjs → chunk-PCXIJKPM.mjs} +8 -8
- package/dist/{chunk-IWFV5ZED.cjs → chunk-PMJSG4JS.cjs} +1 -1
- package/dist/{chunk-JATTVAHA.cjs → chunk-PRFNLQSP.cjs} +4 -4
- package/dist/{chunk-SBABQKPT.cjs → chunk-QAS7KE7J.cjs} +7 -7
- package/dist/chunk-QGOZLGVP.mjs +0 -0
- package/dist/{chunk-VQJYGZNX.cjs → chunk-QMNWKQL4.cjs} +1 -1
- package/dist/{chunk-XB24LZWI.cjs → chunk-QRX4JRBO.cjs} +3 -3
- package/dist/{chunk-LNM57D3H.cjs → chunk-R53QDV6T.cjs} +4 -4
- package/dist/{chunk-SUV6YO4Q.cjs → chunk-RAWWCDCT.cjs} +5 -5
- package/dist/{chunk-LJDIFIJ2.mjs → chunk-RPUJHJHE.mjs} +4 -4
- package/dist/{chunk-G2KTRMWA.mjs → chunk-RSEAX5MW.mjs} +4 -0
- package/dist/chunk-SJRCWF4Z.mjs +237 -0
- package/dist/{chunk-IBSAYAWB.mjs → chunk-SX7EECTS.mjs} +8 -5
- package/dist/{chunk-KBRZAYI7.mjs → chunk-T4TBK5NY.mjs} +2 -2
- package/dist/{chunk-4SSRBCBR.mjs → chunk-T7I62A4C.mjs} +619 -321
- package/dist/{chunk-E36C43IX.cjs → chunk-U4BJKNIR.cjs} +6 -6
- package/dist/{chunk-YU42A5MA.cjs → chunk-UDJY2ZGY.cjs} +533 -280
- package/dist/{chunk-SHS6KXOZ.mjs → chunk-UR25Z5Z6.mjs} +1 -1
- package/dist/{chunk-WZW6LEHM.cjs → chunk-UYSTTPYJ.cjs} +1590 -1019
- package/dist/{chunk-KRRZJ77U.mjs → chunk-UZZ6IEQP.mjs} +3 -3
- package/dist/{chunk-EKJYE4Y7.cjs → chunk-VGG74PSU.cjs} +25 -25
- package/dist/{chunk-CTM4SPB3.mjs → chunk-VPTWKOCY.mjs} +20 -19
- package/dist/{chunk-UN6N623E.mjs → chunk-VQJHT2ND.mjs} +2 -2
- package/dist/{chunk-SJ23LJ3N.cjs → chunk-VVTJTMGQ.cjs} +3 -3
- package/dist/{chunk-KHXAJ2KA.cjs → chunk-W2RZ73IU.cjs} +12 -12
- package/dist/{chunk-JWI5PUO2.mjs → chunk-W2ZXMMHA.mjs} +2 -1
- package/dist/{chunk-BLD5GVCG.mjs → chunk-W6QLRQ3V.mjs} +1 -1
- package/dist/{chunk-AV26KHTG.mjs → chunk-X2CZTWQA.mjs} +2 -2
- package/dist/chunk-XPIPMWY3.cjs +1 -0
- package/dist/chunk-XTG73QZA.cjs +533 -0
- package/dist/{chunk-XPMC4E2G.cjs → chunk-XVSBALOY.cjs} +3 -3
- package/dist/{chunk-XYL4HSVC.cjs → chunk-YI6FKTTN.cjs} +38 -7
- package/dist/{chunk-N77JBPLC.mjs → chunk-YSXTNSXS.mjs} +10 -8
- package/dist/{chunk-EHB77D5U.cjs → chunk-ZDAEHG2O.cjs} +3 -3
- package/dist/{chunk-PMKUU273.mjs → chunk-ZFUKPWFC.mjs} +1226 -655
- package/dist/{chunk-E73PGHSR.mjs → chunk-ZMHAFH4R.mjs} +8 -8
- package/dist/{chunk-ZOWNWHK6.cjs → chunk-ZNH6NR3H.cjs} +2 -2
- package/dist/chunk-ZNXTU4YH.mjs +114 -0
- package/dist/{chunk-PFV2KPDZ.cjs → chunk-ZOYKJBP5.cjs} +3 -3
- package/dist/{chunk-CECUDGXQ.cjs → chunk-ZP32GNJQ.cjs} +13 -13
- package/dist/{chunk-72D2NX77.mjs → chunk-ZZ2QKCKW.mjs} +1 -1
- package/dist/{client-plugins.d-Bx3FXpqm.d.mts → client-plugins.d-CgQQ-EAv.d.mts} +25 -4
- package/dist/{client-plugins.d-TiLbS5j4.d.ts → client-plugins.d-vXrbcfJ1.d.ts} +25 -4
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client.cjs +9 -9
- package/dist/client.d.mts +9 -9
- package/dist/client.d.ts +9 -9
- package/dist/client.mjs +9 -9
- package/dist/{config.d-iRPI16ku.d.mts → config.d-DqZkLwef.d.mts} +146 -1
- package/dist/{config.d-iRPI16ku.d.ts → config.d-DqZkLwef.d.ts} +146 -1
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/cron.cjs +3 -3
- package/dist/cron.d.mts +10 -0
- package/dist/cron.d.ts +10 -0
- package/dist/cron.mjs +2 -2
- package/dist/desktop.d.mts +3 -3
- package/dist/desktop.d.ts +3 -3
- package/dist/{devtools-UQLDAOEI.mjs → devtools-KQZ6SRCJ.mjs} +16 -16
- package/dist/{devtools-6XWCZIGO.cjs → devtools-UF6JYHUN.cjs} +18 -18
- package/dist/docs.cjs +19 -19
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +18 -18
- package/dist/index.cjs +99 -95
- package/dist/{index.d-yueUNipJ.d.ts → index.d-DlCELfhf.d.ts} +1 -1
- package/dist/{index.d-YxJ2AiDF.d.mts → index.d-Dmfb7Kb_.d.mts} +1 -1
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.mjs +139 -135
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.mjs +4 -4
- package/dist/internal/app-markdown-runtime.cjs +6 -6
- package/dist/internal/app-markdown-runtime.d.mts +3 -3
- package/dist/internal/app-markdown-runtime.d.ts +3 -3
- package/dist/internal/app-markdown-runtime.mjs +5 -5
- package/dist/internal/build-runtime.cjs +52 -50
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +51 -49
- package/dist/internal/cli-runtime.cjs +28 -28
- package/dist/internal/cli-runtime.mjs +28 -28
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +20 -15
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +8 -3
- package/dist/internal/compression-runtime.d.mts +2 -2
- package/dist/internal/compression-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.cjs +18 -18
- package/dist/internal/config-runtime.d.mts +119 -7
- package/dist/internal/config-runtime.d.ts +119 -7
- package/dist/internal/config-runtime.mjs +17 -17
- package/dist/internal/infra-analytics-runtime.cjs +11 -11
- package/dist/internal/infra-analytics-runtime.mjs +9 -9
- package/dist/internal/islands-boot.cjs +211 -0
- package/dist/internal/islands-boot.d.mts +8 -0
- package/dist/internal/islands-boot.d.ts +8 -0
- package/dist/internal/islands-boot.mjs +211 -0
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +42 -28
- package/dist/internal/production-runtime.d.mts +50 -12
- package/dist/internal/production-runtime.d.ts +50 -12
- package/dist/internal/production-runtime.mjs +52 -38
- package/dist/markdown.cjs +7 -5
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +6 -4
- package/dist/middleware.cjs +10 -10
- package/dist/middleware.d.mts +4 -4
- package/dist/middleware.d.ts +4 -4
- package/dist/middleware.mjs +9 -9
- package/dist/mobile.d.mts +43 -5
- package/dist/mobile.d.ts +43 -5
- package/dist/modules-VHD7BELU.mjs +13 -0
- package/dist/modules-WT5D3AWY.cjs +13 -0
- package/dist/native-specs-BD7HOTMJ.mjs +15 -0
- package/dist/native-specs-IQQRJOOW.cjs +15 -0
- package/dist/native-tree-6G5O53O3.cjs +27 -0
- package/dist/native-tree-VWNW2MQ2.mjs +27 -0
- package/dist/native.cjs +87 -0
- package/dist/native.d.mts +72 -0
- package/dist/native.d.ts +72 -0
- package/dist/native.mjs +87 -0
- package/dist/{navigation-delegate.d-HnDXhlyP.d.mts → navigation-delegate.d-CnOTWOyi.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BY1e_Xrh.d.ts → navigation-delegate.d-JXx40JzR.d.ts} +1 -1
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/navigation.mjs +4 -4
- package/dist/{nitro-R444AF3O.mjs → nitro-FLN6DRGJ.mjs} +7 -7
- package/dist/{nitro-CK7M4RMY.cjs → nitro-HXAZZQKY.cjs} +12 -12
- package/dist/plugin.cjs +43 -42
- package/dist/plugin.d.mts +5 -4
- package/dist/plugin.d.ts +5 -4
- package/dist/plugin.mjs +42 -41
- package/dist/port-C6GBH4C6.cjs +419 -0
- package/dist/port-WOOQ3V56.mjs +419 -0
- package/dist/{production-runtime.d-BpJUDzP8.d.mts → production-runtime.d-CP5s6RuY.d.mts} +1 -1
- package/dist/{production-runtime.d-lMjvE9cf.d.ts → production-runtime.d-N-cE3pmy.d.ts} +1 -1
- package/dist/{programmatic-routes-client.d-BlFp5hv4.d.ts → programmatic-routes-client.d-CLG2N1yH.d.ts} +2 -2
- package/dist/{programmatic-routes-client.d-6CGQ3TCk.d.mts → programmatic-routes-client.d-CPbNqtIi.d.mts} +2 -2
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan.d-DhP0mTHF.d.ts → render-plan.d-B9lAP3uX.d.ts} +1 -1
- package/dist/{render-plan.d-BH9edqKs.d.mts → render-plan.d-DZ-qjjdG.d.mts} +1 -1
- package/dist/renderer/react/server.cjs +2 -2
- package/dist/renderer/react/server.mjs +3 -3
- package/dist/renderer-client.cjs +6 -6
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +2 -2
- package/dist/{request.d-BVZrsR1v.d.ts → request.d-BiicaNxb.d.ts} +1 -1
- package/dist/{request.d-DJFRdKi8.d.mts → request.d-DV0oeUit.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/{route-rendering.d-Bpmw7PED.d.mts → route-rendering.d-BrIKA51A.d.mts} +1 -1
- package/dist/{route-rendering.d-B00JtK_-.d.ts → route-rendering.d-Iss0C7GR.d.ts} +1 -1
- package/dist/{router.d-Bd1x9XxQ.d.ts → router.d-DjGn_al7.d.ts} +1 -1
- package/dist/{router.d-e0jQ3jQ-.d.mts → router.d-mNTbOGV_.d.mts} +1 -1
- package/dist/{routes.d-D96Dq9lz.d.ts → routes.d-BKSjHuH9.d.ts} +27 -4
- package/dist/{routes.d-Cmv8TgVq.d.mts → routes.d-qd8Qf4LG.d.mts} +27 -4
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/{rsc-pipeline-DX4OC5FN.cjs → rsc-pipeline-SVLBTY7H.cjs} +21 -21
- package/dist/{rsc-pipeline-ZQ4CTVEG.mjs → rsc-pipeline-WBLBDQXA.mjs} +20 -20
- package/dist/{runtime-NQ3EDSA7.cjs → runtime-DGUOWSMF.cjs} +307 -48
- package/dist/{runtime-NPDRDV6R.mjs → runtime-HFZTVNFF.mjs} +298 -39
- package/dist/{runtime.d-CgB3IJDq.d.mts → runtime.d-BNVbojF1.d.mts} +1 -1
- package/dist/{runtime.d-D-td-RR3.d.ts → runtime.d-Bm_4hP5T.d.ts} +1 -1
- package/dist/{schema-dev-notice-F6QYSOAI.mjs → schema-dev-notice-JMXEQWIQ.mjs} +3 -3
- package/dist/{schema-dev-notice-UU7DMZEU.cjs → schema-dev-notice-PLBFDTOF.cjs} +6 -6
- package/dist/server-fn-client.d.mts +1 -1
- package/dist/server-fn-client.d.ts +1 -1
- package/dist/server-plugins.cjs +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server-plugins.mjs +1 -1
- package/dist/server.cjs +82 -81
- package/dist/server.d.mts +12 -11
- package/dist/server.d.ts +12 -11
- package/dist/server.mjs +65 -64
- package/dist/session-2Q72D4QV.cjs +23 -0
- package/dist/{session-IGEDQ5PY.mjs → session-QZXZOPR2.mjs} +2 -2
- package/dist/shell-render.d-CG6bPiiA.d.mts +41 -0
- package/dist/shell-render.d-CG6bPiiA.d.ts +41 -0
- package/dist/{spa-router.d-CO01mVOM.d.ts → spa-router.d-DAtnNoBe.d.ts} +11 -2
- package/dist/{spa-router.d-BWDhS0FK.d.mts → spa-router.d-DHDoXxDE.d.mts} +11 -2
- package/dist/testing.cjs +7 -7
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.mjs +6 -6
- package/dist/{utils.d-B77__yh8.d.ts → utils.d-DwZ-KLSB.d.ts} +7 -1
- package/dist/{utils.d-DRDazhCA.d.mts → utils.d-uKZcKJk4.d.mts} +7 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +43 -42
- package/dist/vite.d.mts +17 -6
- package/dist/vite.d.ts +17 -6
- package/dist/vite.mjs +42 -41
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +17 -3
- package/dist/agent-mcp-handler-RT3COCEL.cjs +0 -18
- package/dist/session-AAU7RNRO.cjs +0 -23
- package/dist/{chunk-7FVVQEVL.cjs → chunk-4BS3HSY7.cjs} +2 -2
- package/dist/{chunk-N7JQXQAV.cjs → chunk-5OJVKXFV.cjs} +2 -2
- package/dist/{chunk-WSDKXV4E.mjs → chunk-72KABRWN.mjs} +4 -4
- package/dist/{chunk-C3BOESDW.mjs → chunk-B4CWYGCG.mjs} +3 -3
package/dist/server.mjs
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmDevLoopbackPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FN5UEC7I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createFarmInfraAnalyticsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FORSVMEJ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
FARM_SERVER_QUERY_SYMBOL,
|
|
9
|
+
createServerQuery
|
|
10
|
+
} from "./chunk-T4EW7AAD.mjs";
|
|
7
11
|
import {
|
|
8
12
|
FarmEnvironmentError,
|
|
9
13
|
createClientOnlyFn,
|
|
10
14
|
createIsomorphicFn,
|
|
11
15
|
createServerOnlyFn
|
|
12
16
|
} from "./chunk-VR6QLTTX.mjs";
|
|
13
|
-
import {
|
|
14
|
-
loadFarmInstrumentation,
|
|
15
|
-
resolveFarmInstrumentationFile
|
|
16
|
-
} from "./chunk-N35YPV4N.mjs";
|
|
17
|
-
import {
|
|
18
|
-
createFarmInstrumentationLifecycle
|
|
19
|
-
} from "./chunk-WNDAISB7.mjs";
|
|
20
|
-
import {
|
|
21
|
-
FARM_SERVER_QUERY_SYMBOL,
|
|
22
|
-
createServerQuery
|
|
23
|
-
} from "./chunk-T4EW7AAD.mjs";
|
|
24
|
-
import "./chunk-AER5I65K.mjs";
|
|
25
17
|
import {
|
|
26
18
|
loadFarmDocsEngine
|
|
27
19
|
} from "./chunk-VE3FWJBO.mjs";
|
|
@@ -31,15 +23,23 @@ import {
|
|
|
31
23
|
resolveConfig,
|
|
32
24
|
resolveFarmMCPConfig,
|
|
33
25
|
resolveFarmMCPPlugin
|
|
34
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VPTWKOCY.mjs";
|
|
35
27
|
import "./chunk-VISQDC6W.mjs";
|
|
28
|
+
import {
|
|
29
|
+
loadFarmInstrumentation,
|
|
30
|
+
resolveFarmInstrumentationFile
|
|
31
|
+
} from "./chunk-N35YPV4N.mjs";
|
|
32
|
+
import {
|
|
33
|
+
createFarmInstrumentationLifecycle
|
|
34
|
+
} from "./chunk-WNDAISB7.mjs";
|
|
35
|
+
import "./chunk-AER5I65K.mjs";
|
|
36
36
|
import "./chunk-N7XWC6BN.mjs";
|
|
37
37
|
import {
|
|
38
38
|
defineConfig,
|
|
39
39
|
farmI18nClientBridgePlugin,
|
|
40
40
|
farmPlugin,
|
|
41
41
|
farmServerOnlyEntriesPlugin
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ILMTRGBG.mjs";
|
|
43
43
|
import {
|
|
44
44
|
createFarmReactRefreshPlugins,
|
|
45
45
|
farmDesktopDevGuardPlugin
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
createFarmThemeCssPlugin,
|
|
57
57
|
mergeFarmViteConfig,
|
|
58
58
|
resolveFarmImageProviderForRuntime
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-ZFUKPWFC.mjs";
|
|
60
60
|
import {
|
|
61
61
|
loadTailwindVitePlugin
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-OM7WILES.mjs";
|
|
63
63
|
import {
|
|
64
64
|
FarmRuntimeShutdownError,
|
|
65
65
|
PluginManager
|
|
@@ -69,41 +69,35 @@ import {
|
|
|
69
69
|
validateFarmDesktopConfig
|
|
70
70
|
} from "./chunk-SMUW7UST.mjs";
|
|
71
71
|
import "./chunk-UB7RVEMX.mjs";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-WNLPQW7W.mjs";
|
|
72
|
+
import "./chunk-LJVNMGE3.mjs";
|
|
73
|
+
import "./chunk-D7LTCK3U.mjs";
|
|
74
|
+
import "./chunk-72KABRWN.mjs";
|
|
76
75
|
import {
|
|
77
76
|
readSchemaTables
|
|
78
77
|
} from "./chunk-2DLGV2ZG.mjs";
|
|
79
|
-
import "./chunk-F3N52U7S.mjs";
|
|
80
78
|
import "./chunk-HPP2II4Z.mjs";
|
|
81
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-WNLPQW7W.mjs";
|
|
80
|
+
import "./chunk-F3N52U7S.mjs";
|
|
81
|
+
import "./chunk-PCXIJKPM.mjs";
|
|
82
|
+
import "./chunk-LLZSYFOM.mjs";
|
|
82
83
|
import "./chunk-UUMKLGUU.mjs";
|
|
83
84
|
import "./chunk-23LVFSID.mjs";
|
|
85
|
+
import "./chunk-Z5A6CNV2.mjs";
|
|
84
86
|
import "./chunk-CSLUBKGG.mjs";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-ZMHAFH4R.mjs";
|
|
88
|
+
import "./chunk-UZZ6IEQP.mjs";
|
|
87
89
|
import "./chunk-OZK2DS44.mjs";
|
|
88
|
-
import "./chunk-A4PWGL46.mjs";
|
|
89
|
-
import "./chunk-Z5A6CNV2.mjs";
|
|
90
90
|
import "./chunk-X3EFRVXY.mjs";
|
|
91
|
+
import "./chunk-A4PWGL46.mjs";
|
|
92
|
+
import "./chunk-MNIR7I7B.mjs";
|
|
91
93
|
import "./chunk-S32PDOLO.mjs";
|
|
92
94
|
import "./chunk-XAXTTBUT.mjs";
|
|
93
|
-
import "./chunk-MNIR7I7B.mjs";
|
|
94
|
-
import "./chunk-TUPKMMXT.mjs";
|
|
95
|
-
import "./chunk-Q5B4LNON.mjs";
|
|
96
95
|
import "./chunk-HZOMT5DY.mjs";
|
|
97
96
|
import {
|
|
98
97
|
farmEnvironmentFunctionsPlugin
|
|
99
98
|
} from "./chunk-ZQ5BDNKW.mjs";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-BRYPZIMB.mjs";
|
|
103
|
-
import {
|
|
104
|
-
getTheme,
|
|
105
|
-
getThemeSnapshot
|
|
106
|
-
} from "./chunk-EMDGXYUD.mjs";
|
|
99
|
+
import "./chunk-TUPKMMXT.mjs";
|
|
100
|
+
import "./chunk-Q5B4LNON.mjs";
|
|
107
101
|
import "./chunk-EJCVG25Z.mjs";
|
|
108
102
|
import "./chunk-NRNAHZ57.mjs";
|
|
109
103
|
import {
|
|
@@ -117,14 +111,10 @@ import {
|
|
|
117
111
|
loadFarmRendererVitePlugins,
|
|
118
112
|
resolveFarmRenderer
|
|
119
113
|
} from "./chunk-ES2LD2YD.mjs";
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-2WZTGPK6.mjs";
|
|
122
|
-
import "./chunk-LAZK6UV7.mjs";
|
|
114
|
+
import "./chunk-T4TBK5NY.mjs";
|
|
123
115
|
import "./chunk-22W4FNTG.mjs";
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import
|
|
126
|
-
setEnv
|
|
127
|
-
} from "./chunk-N33DLJBC.mjs";
|
|
116
|
+
import "./chunk-2WZTGPK6.mjs";
|
|
117
|
+
import "./chunk-KVW2M6PI.mjs";
|
|
128
118
|
import {
|
|
129
119
|
createFarmConfigResolutionPlugin,
|
|
130
120
|
getFarmAppDirectories,
|
|
@@ -133,10 +123,18 @@ import {
|
|
|
133
123
|
loadFarmConfigFile,
|
|
134
124
|
resolveFarmLayers
|
|
135
125
|
} from "./chunk-52Y3C3HG.mjs";
|
|
126
|
+
import "./chunk-2NGZFOKG.mjs";
|
|
127
|
+
import {
|
|
128
|
+
setEnv
|
|
129
|
+
} from "./chunk-N33DLJBC.mjs";
|
|
130
|
+
import "./chunk-55U5QIXQ.mjs";
|
|
131
|
+
import "./chunk-E72UD6ME.mjs";
|
|
132
|
+
import "./chunk-BRYPZIMB.mjs";
|
|
136
133
|
import "./chunk-UIJOLBUL.mjs";
|
|
134
|
+
import "./chunk-YSXTNSXS.mjs";
|
|
137
135
|
import "./chunk-VFXE6NWR.mjs";
|
|
138
|
-
import "./chunk-
|
|
139
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-JPIUGDK4.mjs";
|
|
137
|
+
import "./chunk-3PX4AIXO.mjs";
|
|
140
138
|
import "./chunk-WXFY5JIY.mjs";
|
|
141
139
|
import {
|
|
142
140
|
DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT,
|
|
@@ -151,8 +149,12 @@ import {
|
|
|
151
149
|
sanitizeServerActionError,
|
|
152
150
|
validateServerActionRequest
|
|
153
151
|
} from "./chunk-FSQMN2MQ.mjs";
|
|
152
|
+
import "./chunk-YP7YO3S3.mjs";
|
|
153
|
+
import {
|
|
154
|
+
getTheme,
|
|
155
|
+
getThemeSnapshot
|
|
156
|
+
} from "./chunk-EMDGXYUD.mjs";
|
|
154
157
|
import "./chunk-YWPNIYUP.mjs";
|
|
155
|
-
import "./chunk-N77JBPLC.mjs";
|
|
156
158
|
import {
|
|
157
159
|
_collectFarmStorageModules,
|
|
158
160
|
_registerFarmStorageModules,
|
|
@@ -183,16 +185,15 @@ import {
|
|
|
183
185
|
vercelBlobStorage,
|
|
184
186
|
vercelKVStorage
|
|
185
187
|
} from "./chunk-TJVUTGED.mjs";
|
|
186
|
-
import "./chunk-YP7YO3S3.mjs";
|
|
187
188
|
import "./chunk-BMQAPZXD.mjs";
|
|
188
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-IFHPDLIS.mjs";
|
|
189
190
|
import "./chunk-H4WUWLQR.mjs";
|
|
190
|
-
import "./chunk-
|
|
191
|
+
import "./chunk-M53MIIXY.mjs";
|
|
191
192
|
import "./chunk-46P5KNTE.mjs";
|
|
192
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-A2MN5PQJ.mjs";
|
|
194
|
+
import "./chunk-MMK4MZUN.mjs";
|
|
195
|
+
import "./chunk-K3RU5MOR.mjs";
|
|
193
196
|
import "./chunk-KPAJWD3N.mjs";
|
|
194
|
-
import "./chunk-5ENW27SL.mjs";
|
|
195
|
-
import "./chunk-IRSS4HS4.mjs";
|
|
196
197
|
import "./chunk-6ZFRWRHO.mjs";
|
|
197
198
|
import "./chunk-EDPENAVO.mjs";
|
|
198
199
|
import "./chunk-OJO2GOM3.mjs";
|
|
@@ -203,17 +204,17 @@ import {
|
|
|
203
204
|
_withAfterNodeMiddleware,
|
|
204
205
|
after
|
|
205
206
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
206
|
-
import "./chunk-
|
|
207
|
+
import "./chunk-BHJAYPYU.mjs";
|
|
207
208
|
import "./chunk-FSXSQQTV.mjs";
|
|
208
209
|
import "./chunk-YX6AFPXC.mjs";
|
|
209
210
|
import "./chunk-CV6MFQ4Y.mjs";
|
|
210
211
|
import "./chunk-DU4VHHPJ.mjs";
|
|
211
212
|
import "./chunk-NR63PD3P.mjs";
|
|
212
|
-
import "./chunk-
|
|
213
|
+
import "./chunk-RPUJHJHE.mjs";
|
|
213
214
|
import "./chunk-R62SF5R4.mjs";
|
|
214
215
|
import "./chunk-GWXZS7K5.mjs";
|
|
215
216
|
import "./chunk-D7Y63SOY.mjs";
|
|
216
|
-
import "./chunk-
|
|
217
|
+
import "./chunk-C7GJDVN4.mjs";
|
|
217
218
|
import "./chunk-6YFC3ZFX.mjs";
|
|
218
219
|
import "./chunk-EVMXPJCB.mjs";
|
|
219
220
|
import {
|
|
@@ -259,25 +260,25 @@ import {
|
|
|
259
260
|
toPosixPath,
|
|
260
261
|
toRootRelativeUrlPath,
|
|
261
262
|
toViteModuleId
|
|
262
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-JSDV2NUN.mjs";
|
|
263
264
|
import "./chunk-H3ASZDT7.mjs";
|
|
264
265
|
import "./chunk-2DA7CLY7.mjs";
|
|
265
266
|
import {
|
|
266
267
|
sendWebResponse
|
|
267
268
|
} from "./chunk-CO6UYM2D.mjs";
|
|
269
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
268
270
|
import "./chunk-GFT5AHAT.mjs";
|
|
269
271
|
import "./chunk-D2LCAV6L.mjs";
|
|
270
|
-
import "./chunk-LM2YOGDK.mjs";
|
|
271
272
|
import {
|
|
272
273
|
FARM_VERSION
|
|
273
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-HPWB57PZ.mjs";
|
|
274
275
|
import "./chunk-RFKTJTWZ.mjs";
|
|
275
276
|
import "./chunk-QPNVDSFZ.mjs";
|
|
276
277
|
import "./chunk-GYMGK467.mjs";
|
|
277
278
|
import "./chunk-5Y4GYKKH.mjs";
|
|
278
279
|
import "./chunk-YT3SLLZK.mjs";
|
|
279
280
|
import "./chunk-GUZC226X.mjs";
|
|
280
|
-
import "./chunk-
|
|
281
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
281
282
|
import "./chunk-K76CBYQM.mjs";
|
|
282
283
|
import "./chunk-AY2YD5ZX.mjs";
|
|
283
284
|
import "./chunk-MFQGU5CC.mjs";
|
|
@@ -307,8 +308,8 @@ import {
|
|
|
307
308
|
} from "./chunk-QPJ4MZTO.mjs";
|
|
308
309
|
import "./chunk-XQ4DPO4G.mjs";
|
|
309
310
|
import "./chunk-ONG4RDW3.mjs";
|
|
310
|
-
import "./chunk-JNYFXL7X.mjs";
|
|
311
311
|
import "./chunk-LM55GS4R.mjs";
|
|
312
|
+
import "./chunk-JNYFXL7X.mjs";
|
|
312
313
|
import {
|
|
313
314
|
getCurrentRequest
|
|
314
315
|
} from "./chunk-6HRAK7I5.mjs";
|
|
@@ -619,7 +620,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
619
620
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
620
621
|
const rscConfig = userConfig ?? config;
|
|
621
622
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
622
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
623
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-WBLBDQXA.mjs");
|
|
623
624
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
624
625
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
625
626
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -831,7 +832,7 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
831
832
|
...Object.values(config.integrations ?? {})
|
|
832
833
|
];
|
|
833
834
|
if (!candidates.some((candidate) => readSchemaTables(candidate))) return false;
|
|
834
|
-
void import("./schema-dev-notice-
|
|
835
|
+
void import("./schema-dev-notice-JMXEQWIQ.mjs").then(({ noticePendingSchemaChanges }) => noticePendingSchemaChanges(config)).catch(() => {
|
|
835
836
|
});
|
|
836
837
|
return true;
|
|
837
838
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunk4BS3HSY7cjs = require('./chunk-4BS3HSY7.cjs');
|
|
11
|
+
require('./chunk-SHIWRBFI.cjs');
|
|
12
|
+
require('./chunk-JMYXO572.cjs');
|
|
13
|
+
require('./chunk-BTZ5O6VM.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.FARM_MOBILE_APP_HEADER = _chunk4BS3HSY7cjs.FARM_MOBILE_APP_HEADER; exports.FARM_MOBILE_DEVICE_COOKIE = _chunk4BS3HSY7cjs.FARM_MOBILE_DEVICE_COOKIE; exports.FARM_MOBILE_NONCE_HEADER = _chunk4BS3HSY7cjs.FARM_MOBILE_NONCE_HEADER; exports.FARM_MOBILE_SESSION_PATH = _chunk4BS3HSY7cjs.FARM_MOBILE_SESSION_PATH; exports.FARM_MOBILE_SESSION_PLUGIN = _chunk4BS3HSY7cjs.FARM_MOBILE_SESSION_PLUGIN; exports.createFarmMobileSessionPlugin = _chunk4BS3HSY7cjs.createFarmMobileSessionPlugin; exports.isFarmMobileNativeRequest = _chunk4BS3HSY7cjs.isFarmMobileNativeRequest; exports.parseFarmMobileToken = _chunk4BS3HSY7cjs.parseFarmMobileToken;
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
createFarmMobileSessionPlugin,
|
|
8
8
|
isFarmMobileNativeRequest,
|
|
9
9
|
parseFarmMobileToken
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-TJVUTGED.mjs";
|
|
10
|
+
} from "./chunk-B4CWYGCG.mjs";
|
|
12
11
|
import "./chunk-YP7YO3S3.mjs";
|
|
12
|
+
import "./chunk-TJVUTGED.mjs";
|
|
13
13
|
import "./chunk-Y6FXYEAI.mjs";
|
|
14
14
|
export {
|
|
15
15
|
FARM_MOBILE_APP_HEADER,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server side of page shells (`mobile.shells`, RFC 0004 7.2). `farm build --mobile` builds its
|
|
3
|
+
* server with a random token and asks it for each page route's shell: the route's layouts around
|
|
4
|
+
* its `loading.tsx`, rendered with no params, data, or page metadata. Only that build's server has
|
|
5
|
+
* the mode, and it answers only requests that carry the token, so a deployed server never renders
|
|
6
|
+
* shells. Loaded by the generated server entry only when the build has a token.
|
|
7
|
+
*/
|
|
8
|
+
/** Carries the build's token. Without the right one, the request renders as usual. */
|
|
9
|
+
declare const FARM_SHELL_RENDER_HEADER = "X-Farm-Shell-Render";
|
|
10
|
+
/** The page route the build asks a shell for, such as `/notes/[id]`, route groups removed. */
|
|
11
|
+
declare const FARM_SHELL_ROUTE_HEADER = "X-Farm-Shell-Route";
|
|
12
|
+
/**
|
|
13
|
+
* The URL segment that stands in for each dynamic segment of a route, so the request matches it.
|
|
14
|
+
* Shells render with no params, so the value never reaches a layout or the loading file.
|
|
15
|
+
*/
|
|
16
|
+
declare const FARM_SHELL_PARAM_SEGMENT = "__farm_shell__";
|
|
17
|
+
/** True when `request` carries this build's shell token. An empty token never matches. */
|
|
18
|
+
declare function _isFarmMobileShellRenderRequest(request: Request, token: string): boolean;
|
|
19
|
+
interface FarmMobileShellRouteCheck {
|
|
20
|
+
/** The route the build asked for (`X-Farm-Shell-Route`). */
|
|
21
|
+
requested: string | null;
|
|
22
|
+
/** The page route the request matched. */
|
|
23
|
+
route: string;
|
|
24
|
+
/** Patterns of the layouts that wrap the page, root first. */
|
|
25
|
+
layouts: readonly string[];
|
|
26
|
+
/** Pattern of the page's nearest `loading` file, or null when it has none. */
|
|
27
|
+
loading: string | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Why a route has no shell, or null when it has one. A shell is the same HTML for every URL of
|
|
31
|
+
* the route, so the loading file and every layout around the page must sit in static folders:
|
|
32
|
+
* nothing in it may depend on a param.
|
|
33
|
+
*/
|
|
34
|
+
declare function _checkFarmMobileShellRoute(check: FarmMobileShellRouteCheck): string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The URL path the build requests a route's shell at: each dynamic segment becomes
|
|
37
|
+
* {@link FARM_SHELL_PARAM_SEGMENT}, an optional catch-all is dropped. Route groups are removed.
|
|
38
|
+
*/
|
|
39
|
+
declare function createFarmMobileShellRenderPath(route: string): string;
|
|
40
|
+
|
|
41
|
+
export { FARM_SHELL_PARAM_SEGMENT as F, _checkFarmMobileShellRoute as _, FARM_SHELL_RENDER_HEADER as a, FARM_SHELL_ROUTE_HEADER as b, createFarmMobileShellRenderPath as c, _isFarmMobileShellRenderRequest as d };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server side of page shells (`mobile.shells`, RFC 0004 7.2). `farm build --mobile` builds its
|
|
3
|
+
* server with a random token and asks it for each page route's shell: the route's layouts around
|
|
4
|
+
* its `loading.tsx`, rendered with no params, data, or page metadata. Only that build's server has
|
|
5
|
+
* the mode, and it answers only requests that carry the token, so a deployed server never renders
|
|
6
|
+
* shells. Loaded by the generated server entry only when the build has a token.
|
|
7
|
+
*/
|
|
8
|
+
/** Carries the build's token. Without the right one, the request renders as usual. */
|
|
9
|
+
declare const FARM_SHELL_RENDER_HEADER = "X-Farm-Shell-Render";
|
|
10
|
+
/** The page route the build asks a shell for, such as `/notes/[id]`, route groups removed. */
|
|
11
|
+
declare const FARM_SHELL_ROUTE_HEADER = "X-Farm-Shell-Route";
|
|
12
|
+
/**
|
|
13
|
+
* The URL segment that stands in for each dynamic segment of a route, so the request matches it.
|
|
14
|
+
* Shells render with no params, so the value never reaches a layout or the loading file.
|
|
15
|
+
*/
|
|
16
|
+
declare const FARM_SHELL_PARAM_SEGMENT = "__farm_shell__";
|
|
17
|
+
/** True when `request` carries this build's shell token. An empty token never matches. */
|
|
18
|
+
declare function _isFarmMobileShellRenderRequest(request: Request, token: string): boolean;
|
|
19
|
+
interface FarmMobileShellRouteCheck {
|
|
20
|
+
/** The route the build asked for (`X-Farm-Shell-Route`). */
|
|
21
|
+
requested: string | null;
|
|
22
|
+
/** The page route the request matched. */
|
|
23
|
+
route: string;
|
|
24
|
+
/** Patterns of the layouts that wrap the page, root first. */
|
|
25
|
+
layouts: readonly string[];
|
|
26
|
+
/** Pattern of the page's nearest `loading` file, or null when it has none. */
|
|
27
|
+
loading: string | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Why a route has no shell, or null when it has one. A shell is the same HTML for every URL of
|
|
31
|
+
* the route, so the loading file and every layout around the page must sit in static folders:
|
|
32
|
+
* nothing in it may depend on a param.
|
|
33
|
+
*/
|
|
34
|
+
declare function _checkFarmMobileShellRoute(check: FarmMobileShellRouteCheck): string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The URL path the build requests a route's shell at: each dynamic segment becomes
|
|
37
|
+
* {@link FARM_SHELL_PARAM_SEGMENT}, an optional catch-all is dropped. Route groups are removed.
|
|
38
|
+
*/
|
|
39
|
+
declare function createFarmMobileShellRenderPath(route: string): string;
|
|
40
|
+
|
|
41
|
+
export { FARM_SHELL_PARAM_SEGMENT as F, _checkFarmMobileShellRoute as _, FARM_SHELL_RENDER_HEADER as a, FARM_SHELL_ROUTE_HEADER as b, createFarmMobileShellRenderPath as c, _isFarmMobileShellRenderRequest as d };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-vXrbcfJ1.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-C2aLBOwu.js';
|
|
3
3
|
import { a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.js';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-B9lAP3uX.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -56,6 +56,15 @@ interface RouterOptions {
|
|
|
56
56
|
scrollRestoration?: boolean;
|
|
57
57
|
shouldUseDocumentNavigation?: (pathname: string) => boolean;
|
|
58
58
|
deploymentId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Islands mode in `farm dev`: navigates as the production client does, by fetching the page
|
|
61
|
+
* itself. Resolves the page's data once its shell arrives, or null for a navigation the page-data
|
|
62
|
+
* endpoint answers instead.
|
|
63
|
+
*/
|
|
64
|
+
fetchNavigationDocument?: (path: string, context: {
|
|
65
|
+
signal: AbortSignal;
|
|
66
|
+
refresh: boolean;
|
|
67
|
+
}) => Promise<PageData | null>;
|
|
59
68
|
}
|
|
60
69
|
interface FarmNavigationBlockerContext {
|
|
61
70
|
from: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-C2aLBOwu.mjs';
|
|
3
3
|
import { a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.mjs';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-DZ-qjjdG.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -56,6 +56,15 @@ interface RouterOptions {
|
|
|
56
56
|
scrollRestoration?: boolean;
|
|
57
57
|
shouldUseDocumentNavigation?: (pathname: string) => boolean;
|
|
58
58
|
deploymentId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Islands mode in `farm dev`: navigates as the production client does, by fetching the page
|
|
61
|
+
* itself. Resolves the page's data once its shell arrives, or null for a navigation the page-data
|
|
62
|
+
* endpoint answers instead.
|
|
63
|
+
*/
|
|
64
|
+
fetchNavigationDocument?: (path: string, context: {
|
|
65
|
+
signal: AbortSignal;
|
|
66
|
+
refresh: boolean;
|
|
67
|
+
}) => Promise<PageData | null>;
|
|
59
68
|
}
|
|
60
69
|
interface FarmNavigationBlockerContext {
|
|
61
70
|
from: string;
|
package/dist/testing.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var _chunkFK25QSVCcjs = require('./chunk-FK25QSVC.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkX333W5KVcjs = require('./chunk-X333W5KV.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-W2RZ73IU.cjs');
|
|
16
16
|
require('./chunk-NWUHS6GV.cjs');
|
|
17
17
|
require('./chunk-SBDWCDS6.cjs');
|
|
18
18
|
require('./chunk-RVGLYMJM.cjs');
|
|
@@ -20,11 +20,11 @@ require('./chunk-BBPDJGCU.cjs');
|
|
|
20
20
|
require('./chunk-KORZ6PRE.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkCBKRS3M4cjs = require('./chunk-CBKRS3M4.cjs');
|
|
24
24
|
require('./chunk-5C7XMKQ4.cjs');
|
|
25
25
|
require('./chunk-JXIYH2NO.cjs');
|
|
26
26
|
require('./chunk-4DCWVSL2.cjs');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-LRB5OVRT.cjs');
|
|
28
28
|
require('./chunk-E7QOEV5Z.cjs');
|
|
29
29
|
require('./chunk-OYZXVBZP.cjs');
|
|
30
30
|
|
|
@@ -35,20 +35,20 @@ require('./chunk-FEFCISOX.cjs');
|
|
|
35
35
|
require('./chunk-SNP33A33.cjs');
|
|
36
36
|
require('./chunk-JYNNIGQO.cjs');
|
|
37
37
|
require('./chunk-LNVGXUL3.cjs');
|
|
38
|
-
require('./chunk-
|
|
38
|
+
require('./chunk-QMNWKQL4.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkSUCDVKUBcjs = require('./chunk-SUCDVKUB.cjs');
|
|
43
43
|
require('./chunk-EVIWKPJV.cjs');
|
|
44
|
+
require('./chunk-2OF5RPVU.cjs');
|
|
44
45
|
require('./chunk-LIFUPCXW.cjs');
|
|
45
46
|
require('./chunk-JYT7AN37.cjs');
|
|
46
|
-
require('./chunk-B5BBTPJQ.cjs');
|
|
47
47
|
require('./chunk-HLYRXN2I.cjs');
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
var _chunkCA7DNRHOcjs = require('./chunk-CA7DNRHO.cjs');
|
|
51
|
-
require('./chunk-
|
|
51
|
+
require('./chunk-PMJSG4JS.cjs');
|
|
52
52
|
require('./chunk-VOQ7XZZT.cjs');
|
|
53
53
|
require('./chunk-R5U7OIPI.cjs');
|
|
54
54
|
require('./chunk-D4XGKF67.cjs');
|
|
@@ -314,7 +314,7 @@ function omitEndpointControlOptions(options) {
|
|
|
314
314
|
}
|
|
315
315
|
async function invokeTestEndpoint(endpoint, request, params = {}, throwOnError = false) {
|
|
316
316
|
try {
|
|
317
|
-
return await
|
|
317
|
+
return await _chunkCBKRS3M4cjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
|
|
318
318
|
} catch (error) {
|
|
319
319
|
if (throwOnError) throw error;
|
|
320
320
|
return jsonErrorResponse(error instanceof Error ? error.message : "Internal Server Error", 500);
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
3
3
|
import './types.d-C41ePjvP.mjs';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.mjs';
|
|
5
5
|
import { ServerFn } from './server-fn.mjs';
|
|
@@ -31,7 +31,7 @@ import './layers.d-CcS42OGR.mjs';
|
|
|
31
31
|
import 'rolldown/utils';
|
|
32
32
|
import 'rolldown';
|
|
33
33
|
import './image-config.d-CeDgNyX4.mjs';
|
|
34
|
-
import './config.d-
|
|
34
|
+
import './config.d-DqZkLwef.mjs';
|
|
35
35
|
import './types.d-DQnyD3VD.mjs';
|
|
36
36
|
import './font.mjs';
|
|
37
37
|
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-vXrbcfJ1.js';
|
|
3
3
|
import './types.d-C41ePjvP.js';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.js';
|
|
5
5
|
import { ServerFn } from './server-fn.js';
|
|
@@ -31,7 +31,7 @@ import './layers.d-CcS42OGR.js';
|
|
|
31
31
|
import 'rolldown/utils';
|
|
32
32
|
import 'rolldown';
|
|
33
33
|
import './image-config.d-CeDgNyX4.js';
|
|
34
|
-
import './config.d-
|
|
34
|
+
import './config.d-DqZkLwef.js';
|
|
35
35
|
import './types.d-DQnyD3VD.js';
|
|
36
36
|
import './font.js';
|
|
37
37
|
|
package/dist/testing.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveFarmRouteContext,
|
|
13
13
|
withFarmRouteContext
|
|
14
14
|
} from "./chunk-BMQAPZXD.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BHJAYPYU.mjs";
|
|
16
16
|
import "./chunk-FSXSQQTV.mjs";
|
|
17
17
|
import "./chunk-YX6AFPXC.mjs";
|
|
18
18
|
import "./chunk-CV6MFQ4Y.mjs";
|
|
@@ -20,11 +20,11 @@ import "./chunk-DU4VHHPJ.mjs";
|
|
|
20
20
|
import "./chunk-NR63PD3P.mjs";
|
|
21
21
|
import {
|
|
22
22
|
invokeAPIRouteEndpoint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RPUJHJHE.mjs";
|
|
24
24
|
import "./chunk-R62SF5R4.mjs";
|
|
25
25
|
import "./chunk-GWXZS7K5.mjs";
|
|
26
26
|
import "./chunk-D7Y63SOY.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-C7GJDVN4.mjs";
|
|
28
28
|
import "./chunk-6YFC3ZFX.mjs";
|
|
29
29
|
import "./chunk-EVMXPJCB.mjs";
|
|
30
30
|
import {
|
|
@@ -35,20 +35,20 @@ import "./chunk-QSTRBKHZ.mjs";
|
|
|
35
35
|
import "./chunk-VHIXGZYH.mjs";
|
|
36
36
|
import "./chunk-TUOO6IK3.mjs";
|
|
37
37
|
import "./chunk-MU5V7XHL.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-JSDV2NUN.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createFarmSearchParams,
|
|
41
41
|
searchParamsToObject
|
|
42
42
|
} from "./chunk-H3ASZDT7.mjs";
|
|
43
43
|
import "./chunk-2DA7CLY7.mjs";
|
|
44
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
44
45
|
import "./chunk-GFT5AHAT.mjs";
|
|
45
46
|
import "./chunk-D2LCAV6L.mjs";
|
|
46
|
-
import "./chunk-LM2YOGDK.mjs";
|
|
47
47
|
import "./chunk-YT3SLLZK.mjs";
|
|
48
48
|
import {
|
|
49
49
|
matchAPIRoute
|
|
50
50
|
} from "./chunk-GUZC226X.mjs";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
52
52
|
import "./chunk-K76CBYQM.mjs";
|
|
53
53
|
import "./chunk-AY2YD5ZX.mjs";
|
|
54
54
|
import "./chunk-MFQGU5CC.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-vXrbcfJ1.js';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -34,6 +34,12 @@ declare function toRootRelativeUrlPath(absolutePath: string, projectRoot: string
|
|
|
34
34
|
declare function toPosixPath(filePath: string): string;
|
|
35
35
|
declare function toViteModuleId(filePath: string, root: string): string;
|
|
36
36
|
declare function fileExists(filePath: string): Promise<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* Files matching `pattern` under `cwd`, sorted. tinyglobby lists them in the order its crawl finds
|
|
39
|
+
* them, which changes from run to run; routes of equal rank keep the order they were found in, so
|
|
40
|
+
* an unsorted list makes the client route table, and the hashes of every client chunk, change
|
|
41
|
+
* between builds of the same app.
|
|
42
|
+
*/
|
|
37
43
|
declare function globFiles(pattern: string, cwd: string): Promise<string[]>;
|
|
38
44
|
declare function parseSearchParams(searchParams: URLSearchParams): Record<string, string | string[]>;
|
|
39
45
|
declare const logger: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -34,6 +34,12 @@ declare function toRootRelativeUrlPath(absolutePath: string, projectRoot: string
|
|
|
34
34
|
declare function toPosixPath(filePath: string): string;
|
|
35
35
|
declare function toViteModuleId(filePath: string, root: string): string;
|
|
36
36
|
declare function fileExists(filePath: string): Promise<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* Files matching `pattern` under `cwd`, sorted. tinyglobby lists them in the order its crawl finds
|
|
39
|
+
* them, which changes from run to run; routes of equal rank keep the order they were found in, so
|
|
40
|
+
* an unsorted list makes the client route table, and the hashes of every client chunk, change
|
|
41
|
+
* between builds of the same app.
|
|
42
|
+
*/
|
|
37
43
|
declare function globFiles(pattern: string, cwd: string): Promise<string[]>;
|
|
38
44
|
declare function parseSearchParams(searchParams: URLSearchParams): Record<string, string | string[]>;
|
|
39
45
|
declare const logger: {
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2FRLSDBTcjs = require('./chunk-2FRLSDBT.cjs');
|
|
4
4
|
require('./chunk-BTZ5O6VM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunk2FRLSDBTcjs.FARM_VERSION;
|