@farm.js/core 0.1.51-beta.3 → 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-7JSKGSOW.mjs → agent-mcp-handler-7QMX2LUY.mjs} +7 -7
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
- package/dist/{agent-mcp.d-BJKChOrO.d.mts → agent-mcp.d-C-2S9bnP.d.mts} +1 -1
- package/dist/{agent-mcp.d-BAR9njbJ.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-OTPEWH5W.mjs → analyzer-22BEYV7S.mjs} +116 -13
- package/dist/{analyzer-TSQXZCZN.cjs → analyzer-LCSI3NSH.cjs} +123 -20
- 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-DEQNnNhV.d.mts → app-manifest.d-DrSAHskY.d.mts} +1 -1
- package/dist/{app-manifest.d-BLFbaqx8.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-CNPaUYaa.d.ts → app.d-CmWlYpZJ.d.ts} +9 -4
- package/dist/{app.d-CT7xDkj2.d.mts → app.d-D6QQM_kk.d.mts} +9 -4
- package/dist/{chunk-SN5VSO3Q.mjs → chunk-25T5VXOE.mjs} +7 -9
- package/dist/{chunk-OAMUSC7H.cjs → chunk-2FRLSDBT.cjs} +1 -1
- package/dist/{chunk-LM2YOGDK.mjs → chunk-2I6PUKWJ.mjs} +1 -1
- package/dist/{chunk-ZD2VKAUI.mjs → chunk-2KTYMMWT.mjs} +1 -1
- package/dist/{chunk-B5BBTPJQ.cjs → chunk-2OF5RPVU.cjs} +14 -14
- package/dist/{chunk-UQF3OJVE.mjs → chunk-37PYUEK5.mjs} +173 -29
- 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-7MD37P5V.cjs → chunk-4P23B7DU.cjs} +5 -5
- package/dist/{chunk-3BLEXUGE.mjs → chunk-55U5QIXQ.mjs} +1 -1
- package/dist/{chunk-TWHXBMLJ.cjs → chunk-5JNUYGNF.cjs} +4 -4
- package/dist/{chunk-53SACYBY.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-UJL4JOXV.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-4SEHMBL4.cjs → chunk-DPJ66FSI.cjs} +22 -22
- package/dist/{chunk-FFE2EMF7.cjs → chunk-DZPR2W6U.cjs} +5 -5
- package/dist/{chunk-3Z63X45F.mjs → chunk-E72UD6ME.mjs} +1 -1
- 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-5FXPJIOT.mjs → chunk-F6Y7ZAPQ.mjs} +2 -2
- package/dist/{chunk-LMFJCXDD.mjs → chunk-FN5UEC7I.mjs} +1 -1
- package/dist/{chunk-3SMXQNFD.mjs → chunk-FORSVMEJ.mjs} +2 -2
- package/dist/{chunk-R4PHCZ3G.mjs → chunk-HPWB57PZ.mjs} +1 -1
- package/dist/{chunk-Y2G5SJFB.mjs → chunk-IFHPDLIS.mjs} +1 -1
- package/dist/{chunk-3XQ57EFI.cjs → chunk-IFXSBJPN.cjs} +16 -16
- package/dist/{chunk-3WSIYBMG.mjs → chunk-ILMTRGBG.mjs} +279 -48
- package/dist/{chunk-HLWOWZFX.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-YAJTD3ZG.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-X2AMN2WV.cjs → chunk-LQNW3ABP.cjs} +10 -10
- package/dist/{chunk-6ONBZGVH.cjs → chunk-LRB5OVRT.cjs} +3 -3
- package/dist/{chunk-D7UQC4O6.cjs → chunk-LT4VAF5Z.cjs} +2 -2
- package/dist/{chunk-F6TLUMH7.mjs → chunk-M53MIIXY.mjs} +1 -1
- package/dist/{chunk-H33PJEXN.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-WGUHDWT5.cjs → chunk-MTWXOEI4.cjs} +527 -366
- package/dist/chunk-NHD7BAKD.mjs +1457 -0
- package/dist/{chunk-KLNFJDFM.cjs → chunk-NQJDO7K7.cjs} +31 -31
- package/dist/{chunk-TSFMFPRU.cjs → chunk-O27PLNQZ.cjs} +10 -10
- package/dist/{chunk-PIHKO25G.mjs → chunk-OM7WILES.mjs} +1 -1
- package/dist/{chunk-YUEYBL35.mjs → chunk-PCXIJKPM.mjs} +8 -8
- package/dist/{chunk-IWFV5ZED.cjs → chunk-PMJSG4JS.cjs} +1 -1
- package/dist/{chunk-B3GM5I6N.cjs → chunk-PRFNLQSP.cjs} +4 -4
- package/dist/{chunk-46KXZBOG.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-4353ZRE5.mjs → chunk-SX7EECTS.mjs} +8 -5
- package/dist/{chunk-LDNSSHEG.mjs → chunk-T4TBK5NY.mjs} +2 -2
- package/dist/{chunk-NOTSHVRN.mjs → chunk-T7I62A4C.mjs} +293 -132
- package/dist/{chunk-E36C43IX.cjs → chunk-U4BJKNIR.cjs} +6 -6
- package/dist/{chunk-4CGOMZP3.cjs → chunk-UDJY2ZGY.cjs} +487 -256
- package/dist/{chunk-SHS6KXOZ.mjs → chunk-UR25Z5Z6.mjs} +1 -1
- package/dist/{chunk-TQMI6BYO.cjs → chunk-UYSTTPYJ.cjs} +1262 -936
- package/dist/{chunk-E5DXF5GE.mjs → chunk-UZZ6IEQP.mjs} +3 -3
- package/dist/{chunk-EKJYE4Y7.cjs → chunk-VGG74PSU.cjs} +25 -25
- package/dist/{chunk-GAO7MS5O.mjs → chunk-VPTWKOCY.mjs} +19 -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-JXEPLIXD.cjs → chunk-XTG73QZA.cjs} +183 -39
- package/dist/{chunk-XPMC4E2G.cjs → chunk-XVSBALOY.cjs} +3 -3
- package/dist/{chunk-XYL4HSVC.cjs → chunk-YI6FKTTN.cjs} +38 -7
- package/dist/{chunk-LPDKG6RA.mjs → chunk-YSXTNSXS.mjs} +1 -1
- package/dist/{chunk-EHB77D5U.cjs → chunk-ZDAEHG2O.cjs} +3 -3
- package/dist/{chunk-3TLKUBXG.mjs → chunk-ZFUKPWFC.mjs} +912 -586
- package/dist/{chunk-4TKAIO2F.mjs → chunk-ZMHAFH4R.mjs} +8 -8
- package/dist/{chunk-ZOWNWHK6.cjs → chunk-ZNH6NR3H.cjs} +2 -2
- package/dist/{chunk-PFV2KPDZ.cjs → chunk-ZOYKJBP5.cjs} +3 -3
- package/dist/{chunk-CECUDGXQ.cjs → chunk-ZP32GNJQ.cjs} +13 -13
- package/dist/{chunk-MRNDAJEV.mjs → chunk-ZZ2QKCKW.mjs} +1 -1
- package/dist/{client-plugins.d-DllmH8eM.d.mts → client-plugins.d-CgQQ-EAv.d.mts} +10 -2
- package/dist/{client-plugins.d-n3iWY1EJ.d.ts → client-plugins.d-vXrbcfJ1.d.ts} +10 -2
- 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-DqKaCr1r.d.ts → config.d-DqZkLwef.d.mts} +139 -1
- package/dist/{config.d-DqKaCr1r.d.mts → config.d-DqZkLwef.d.ts} +139 -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-UESYARTF.mjs → devtools-KQZ6SRCJ.mjs} +16 -16
- package/dist/{devtools-TO6TAO32.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 +96 -96
- package/dist/{index.d-BXsAXm1U.d.ts → index.d-DlCELfhf.d.ts} +1 -1
- package/dist/{index.d-BL7KKiwa.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 -139
- 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 +50 -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 +49 -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 +94 -6
- package/dist/internal/config-runtime.d.ts +94 -6
- 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 +37 -101
- package/dist/internal/production-runtime.d.mts +17 -11
- package/dist/internal/production-runtime.d.ts +17 -11
- package/dist/internal/production-runtime.mjs +47 -111
- package/dist/markdown.cjs +5 -5
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +4 -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 +27 -5
- package/dist/mobile.d.ts +27 -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-EBPDFTRW.mjs → native-tree-VWNW2MQ2.mjs} +10 -8
- 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-C76gXTmO.d.mts → navigation-delegate.d-CnOTWOyi.d.mts} +1 -1
- package/dist/{navigation-delegate.d-DIyDslxt.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 +42 -42
- package/dist/plugin.d.mts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin.mjs +41 -41
- package/dist/port-C6GBH4C6.cjs +419 -0
- package/dist/port-WOOQ3V56.mjs +419 -0
- package/dist/{production-runtime.d-CDHztggO.d.mts → production-runtime.d-CP5s6RuY.d.mts} +1 -1
- package/dist/{production-runtime.d-tyaGdbk6.d.ts → production-runtime.d-N-cE3pmy.d.ts} +1 -1
- package/dist/{programmatic-routes-client.d-XfmIrCK1.d.ts → programmatic-routes-client.d-CLG2N1yH.d.ts} +2 -2
- package/dist/{programmatic-routes-client.d-aAWiDd64.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-Dr5WRjoV.d.ts → render-plan.d-B9lAP3uX.d.ts} +1 -1
- package/dist/{render-plan.d-Diwybxo8.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-D01fRn--.d.ts → request.d-BiicaNxb.d.ts} +1 -1
- package/dist/{request.d-Dd3AFR79.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-BQ53lJ_D.d.mts → route-rendering.d-BrIKA51A.d.mts} +1 -1
- package/dist/{route-rendering.d-Bhx4QoJt.d.ts → route-rendering.d-Iss0C7GR.d.ts} +1 -1
- package/dist/{router.d-DQ3k7EYn.d.ts → router.d-DjGn_al7.d.ts} +1 -1
- package/dist/{router.d-Bi23a6Xc.d.mts → router.d-mNTbOGV_.d.mts} +1 -1
- package/dist/{routes.d-C7jMJFvP.d.ts → routes.d-BKSjHuH9.d.ts} +25 -2
- package/dist/{routes.d-BgTd7vI4.d.mts → routes.d-qd8Qf4LG.d.mts} +25 -2
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/{rsc-pipeline-OCZIT5OF.cjs → rsc-pipeline-SVLBTY7H.cjs} +21 -21
- package/dist/{rsc-pipeline-K3ER3Q4N.mjs → rsc-pipeline-WBLBDQXA.mjs} +20 -20
- package/dist/{runtime-DKNSIH7V.cjs → runtime-DGUOWSMF.cjs} +293 -41
- package/dist/{runtime-MKYDEUZT.mjs → runtime-HFZTVNFF.mjs} +283 -31
- package/dist/{runtime.d-B2Js6qZ2.d.mts → runtime.d-BNVbojF1.d.mts} +1 -1
- package/dist/{runtime.d-BL-CGwoi.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 +81 -81
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +64 -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-DqZ6Lfs0.d.ts → spa-router.d-DAtnNoBe.d.ts} +11 -2
- package/dist/{spa-router.d-B2rIFGs0.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-Bv2MPeLR.d.ts → utils.d-DwZ-KLSB.d.ts} +7 -1
- package/dist/{utils.d-fqXe8lNc.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 +42 -42
- package/dist/vite.d.mts +10 -5
- package/dist/vite.d.ts +10 -5
- package/dist/vite.mjs +41 -41
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +17 -3
- package/dist/agent-mcp-handler-YE4AGWHN.cjs +0 -18
- package/dist/chunk-MIGFX2FN.mjs +0 -758
- package/dist/chunk-P6MHI5O2.cjs +0 -758
- package/dist/native-tree-MMZS7S6W.cjs +0 -25
- 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,42 +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
82
|
import "./chunk-LLZSYFOM.mjs";
|
|
83
83
|
import "./chunk-UUMKLGUU.mjs";
|
|
84
84
|
import "./chunk-23LVFSID.mjs";
|
|
85
|
+
import "./chunk-Z5A6CNV2.mjs";
|
|
85
86
|
import "./chunk-CSLUBKGG.mjs";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-ZMHAFH4R.mjs";
|
|
88
|
+
import "./chunk-UZZ6IEQP.mjs";
|
|
88
89
|
import "./chunk-OZK2DS44.mjs";
|
|
89
|
-
import "./chunk-A4PWGL46.mjs";
|
|
90
|
-
import "./chunk-Z5A6CNV2.mjs";
|
|
91
90
|
import "./chunk-X3EFRVXY.mjs";
|
|
91
|
+
import "./chunk-A4PWGL46.mjs";
|
|
92
|
+
import "./chunk-MNIR7I7B.mjs";
|
|
92
93
|
import "./chunk-S32PDOLO.mjs";
|
|
93
94
|
import "./chunk-XAXTTBUT.mjs";
|
|
94
|
-
import "./chunk-MNIR7I7B.mjs";
|
|
95
|
-
import "./chunk-TUPKMMXT.mjs";
|
|
96
|
-
import "./chunk-Q5B4LNON.mjs";
|
|
97
95
|
import "./chunk-HZOMT5DY.mjs";
|
|
98
96
|
import {
|
|
99
97
|
farmEnvironmentFunctionsPlugin
|
|
100
98
|
} from "./chunk-ZQ5BDNKW.mjs";
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-BRYPZIMB.mjs";
|
|
104
|
-
import {
|
|
105
|
-
getTheme,
|
|
106
|
-
getThemeSnapshot
|
|
107
|
-
} from "./chunk-EMDGXYUD.mjs";
|
|
99
|
+
import "./chunk-TUPKMMXT.mjs";
|
|
100
|
+
import "./chunk-Q5B4LNON.mjs";
|
|
108
101
|
import "./chunk-EJCVG25Z.mjs";
|
|
109
102
|
import "./chunk-NRNAHZ57.mjs";
|
|
110
103
|
import {
|
|
@@ -118,14 +111,10 @@ import {
|
|
|
118
111
|
loadFarmRendererVitePlugins,
|
|
119
112
|
resolveFarmRenderer
|
|
120
113
|
} from "./chunk-ES2LD2YD.mjs";
|
|
121
|
-
import "./chunk-
|
|
122
|
-
import "./chunk-2WZTGPK6.mjs";
|
|
123
|
-
import "./chunk-YAJTD3ZG.mjs";
|
|
114
|
+
import "./chunk-T4TBK5NY.mjs";
|
|
124
115
|
import "./chunk-22W4FNTG.mjs";
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import
|
|
127
|
-
setEnv
|
|
128
|
-
} from "./chunk-N33DLJBC.mjs";
|
|
116
|
+
import "./chunk-2WZTGPK6.mjs";
|
|
117
|
+
import "./chunk-KVW2M6PI.mjs";
|
|
129
118
|
import {
|
|
130
119
|
createFarmConfigResolutionPlugin,
|
|
131
120
|
getFarmAppDirectories,
|
|
@@ -134,10 +123,18 @@ import {
|
|
|
134
123
|
loadFarmConfigFile,
|
|
135
124
|
resolveFarmLayers
|
|
136
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";
|
|
137
133
|
import "./chunk-UIJOLBUL.mjs";
|
|
134
|
+
import "./chunk-YSXTNSXS.mjs";
|
|
138
135
|
import "./chunk-VFXE6NWR.mjs";
|
|
139
|
-
import "./chunk-
|
|
140
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-JPIUGDK4.mjs";
|
|
137
|
+
import "./chunk-3PX4AIXO.mjs";
|
|
141
138
|
import "./chunk-WXFY5JIY.mjs";
|
|
142
139
|
import {
|
|
143
140
|
DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT,
|
|
@@ -152,8 +149,12 @@ import {
|
|
|
152
149
|
sanitizeServerActionError,
|
|
153
150
|
validateServerActionRequest
|
|
154
151
|
} from "./chunk-FSQMN2MQ.mjs";
|
|
152
|
+
import "./chunk-YP7YO3S3.mjs";
|
|
153
|
+
import {
|
|
154
|
+
getTheme,
|
|
155
|
+
getThemeSnapshot
|
|
156
|
+
} from "./chunk-EMDGXYUD.mjs";
|
|
155
157
|
import "./chunk-YWPNIYUP.mjs";
|
|
156
|
-
import "./chunk-LPDKG6RA.mjs";
|
|
157
158
|
import {
|
|
158
159
|
_collectFarmStorageModules,
|
|
159
160
|
_registerFarmStorageModules,
|
|
@@ -184,16 +185,15 @@ import {
|
|
|
184
185
|
vercelBlobStorage,
|
|
185
186
|
vercelKVStorage
|
|
186
187
|
} from "./chunk-TJVUTGED.mjs";
|
|
187
|
-
import "./chunk-YP7YO3S3.mjs";
|
|
188
188
|
import "./chunk-BMQAPZXD.mjs";
|
|
189
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-IFHPDLIS.mjs";
|
|
190
190
|
import "./chunk-H4WUWLQR.mjs";
|
|
191
|
-
import "./chunk-
|
|
191
|
+
import "./chunk-M53MIIXY.mjs";
|
|
192
192
|
import "./chunk-46P5KNTE.mjs";
|
|
193
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-A2MN5PQJ.mjs";
|
|
194
|
+
import "./chunk-MMK4MZUN.mjs";
|
|
195
|
+
import "./chunk-K3RU5MOR.mjs";
|
|
194
196
|
import "./chunk-KPAJWD3N.mjs";
|
|
195
|
-
import "./chunk-5ENW27SL.mjs";
|
|
196
|
-
import "./chunk-IRSS4HS4.mjs";
|
|
197
197
|
import "./chunk-6ZFRWRHO.mjs";
|
|
198
198
|
import "./chunk-EDPENAVO.mjs";
|
|
199
199
|
import "./chunk-OJO2GOM3.mjs";
|
|
@@ -204,17 +204,17 @@ import {
|
|
|
204
204
|
_withAfterNodeMiddleware,
|
|
205
205
|
after
|
|
206
206
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
207
|
-
import "./chunk-
|
|
207
|
+
import "./chunk-BHJAYPYU.mjs";
|
|
208
208
|
import "./chunk-FSXSQQTV.mjs";
|
|
209
209
|
import "./chunk-YX6AFPXC.mjs";
|
|
210
210
|
import "./chunk-CV6MFQ4Y.mjs";
|
|
211
211
|
import "./chunk-DU4VHHPJ.mjs";
|
|
212
212
|
import "./chunk-NR63PD3P.mjs";
|
|
213
|
-
import "./chunk-
|
|
213
|
+
import "./chunk-RPUJHJHE.mjs";
|
|
214
214
|
import "./chunk-R62SF5R4.mjs";
|
|
215
215
|
import "./chunk-GWXZS7K5.mjs";
|
|
216
216
|
import "./chunk-D7Y63SOY.mjs";
|
|
217
|
-
import "./chunk-
|
|
217
|
+
import "./chunk-C7GJDVN4.mjs";
|
|
218
218
|
import "./chunk-6YFC3ZFX.mjs";
|
|
219
219
|
import "./chunk-EVMXPJCB.mjs";
|
|
220
220
|
import {
|
|
@@ -260,25 +260,25 @@ import {
|
|
|
260
260
|
toPosixPath,
|
|
261
261
|
toRootRelativeUrlPath,
|
|
262
262
|
toViteModuleId
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-JSDV2NUN.mjs";
|
|
264
264
|
import "./chunk-H3ASZDT7.mjs";
|
|
265
265
|
import "./chunk-2DA7CLY7.mjs";
|
|
266
266
|
import {
|
|
267
267
|
sendWebResponse
|
|
268
268
|
} from "./chunk-CO6UYM2D.mjs";
|
|
269
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
269
270
|
import "./chunk-GFT5AHAT.mjs";
|
|
270
271
|
import "./chunk-D2LCAV6L.mjs";
|
|
271
|
-
import "./chunk-LM2YOGDK.mjs";
|
|
272
272
|
import {
|
|
273
273
|
FARM_VERSION
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-HPWB57PZ.mjs";
|
|
275
275
|
import "./chunk-RFKTJTWZ.mjs";
|
|
276
276
|
import "./chunk-QPNVDSFZ.mjs";
|
|
277
277
|
import "./chunk-GYMGK467.mjs";
|
|
278
278
|
import "./chunk-5Y4GYKKH.mjs";
|
|
279
279
|
import "./chunk-YT3SLLZK.mjs";
|
|
280
280
|
import "./chunk-GUZC226X.mjs";
|
|
281
|
-
import "./chunk-
|
|
281
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
282
282
|
import "./chunk-K76CBYQM.mjs";
|
|
283
283
|
import "./chunk-AY2YD5ZX.mjs";
|
|
284
284
|
import "./chunk-MFQGU5CC.mjs";
|
|
@@ -308,8 +308,8 @@ import {
|
|
|
308
308
|
} from "./chunk-QPJ4MZTO.mjs";
|
|
309
309
|
import "./chunk-XQ4DPO4G.mjs";
|
|
310
310
|
import "./chunk-ONG4RDW3.mjs";
|
|
311
|
-
import "./chunk-JNYFXL7X.mjs";
|
|
312
311
|
import "./chunk-LM55GS4R.mjs";
|
|
312
|
+
import "./chunk-JNYFXL7X.mjs";
|
|
313
313
|
import {
|
|
314
314
|
getCurrentRequest
|
|
315
315
|
} from "./chunk-6HRAK7I5.mjs";
|
|
@@ -620,7 +620,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
620
620
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
621
621
|
const rscConfig = userConfig ?? config;
|
|
622
622
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
623
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
623
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-WBLBDQXA.mjs");
|
|
624
624
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
625
625
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
626
626
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -832,7 +832,7 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
832
832
|
...Object.values(config.integrations ?? {})
|
|
833
833
|
];
|
|
834
834
|
if (!candidates.some((candidate) => readSchemaTables(candidate))) return false;
|
|
835
|
-
void import("./schema-dev-notice-
|
|
835
|
+
void import("./schema-dev-notice-JMXEQWIQ.mjs").then(({ noticePendingSchemaChanges }) => noticePendingSchemaChanges(config)).catch(() => {
|
|
836
836
|
});
|
|
837
837
|
return true;
|
|
838
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;
|