@farm.js/core 0.1.62 → 0.1.63

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.
Files changed (158) hide show
  1. package/dist/{agent-mcp.d-BKZ3UNbt.d.mts → agent-mcp.d-CCQ-wKwg.d.mts} +1 -1
  2. package/dist/{agent-mcp.d-C1zr_nGS.d.ts → agent-mcp.d-DOJCBSh9.d.ts} +1 -1
  3. package/dist/agent-runtime.d.mts +1 -1
  4. package/dist/agent-runtime.d.ts +1 -1
  5. package/dist/analyzer-KEA5JVDR.cjs +15 -0
  6. package/dist/{analyzer-YESYU3GK.mjs → analyzer-WNPQPWFR.mjs} +2 -2
  7. package/dist/api/route-manager.d.mts +3 -3
  8. package/dist/api/route-manager.d.ts +3 -3
  9. package/dist/api/runtime.d.mts +2 -2
  10. package/dist/api/runtime.d.ts +2 -2
  11. package/dist/api.d.mts +3 -3
  12. package/dist/api.d.ts +3 -3
  13. package/dist/{app-manifest.d-ntch_bvA.d.ts → app-manifest.d-BaA0omsv.d.mts} +9 -1
  14. package/dist/{app-manifest.d-BpvhfKRH.d.mts → app-manifest.d-poayV4lq.d.ts} +9 -1
  15. package/dist/app-markdown.d.mts +2 -2
  16. package/dist/app-markdown.d.ts +2 -2
  17. package/dist/{app.d-AE8_v3Db.d.ts → app.d-D4Dn03E3.d.ts} +4 -4
  18. package/dist/{app.d-CysWA_8v.d.mts → app.d-DdWxeIGU.d.mts} +4 -4
  19. package/dist/{chunk-RZNCMRD3.mjs → chunk-4DIKLG56.mjs} +1 -1
  20. package/dist/{chunk-ZVIEFTUA.cjs → chunk-5IKQ7BIR.cjs} +2 -2
  21. package/dist/{chunk-WKJQ2FJA.cjs → chunk-5L7I6AMY.cjs} +3 -3
  22. package/dist/{chunk-VM7X5CKC.mjs → chunk-7FFW7DC4.mjs} +29 -3
  23. package/dist/{chunk-JEJQGZI7.cjs → chunk-ANXU3D32.cjs} +2 -2
  24. package/dist/{chunk-VWW4Q3BJ.mjs → chunk-BA2IA32Q.mjs} +1 -1
  25. package/dist/{chunk-SG57PX7K.cjs → chunk-BTVDYS4B.cjs} +7 -2
  26. package/dist/{chunk-IQIKPKFP.mjs → chunk-CBDRR3J3.mjs} +96 -16
  27. package/dist/{chunk-OUWRNHTV.mjs → chunk-EENTT56C.mjs} +10 -10
  28. package/dist/{chunk-XX32BOMM.cjs → chunk-EYLC6GD6.cjs} +44 -18
  29. package/dist/{chunk-SM25ZC4S.cjs → chunk-FNHN3RBD.cjs} +1 -1
  30. package/dist/{chunk-T46NNU4D.mjs → chunk-GPKBUME5.mjs} +1 -1
  31. package/dist/{chunk-2JYBLE63.mjs → chunk-LA45FN37.mjs} +762 -235
  32. package/dist/chunk-LA6O5EL2.mjs +254 -0
  33. package/dist/{chunk-UWI3SJAK.cjs → chunk-LFFSDZ4Y.cjs} +3 -3
  34. package/dist/chunk-LWWDTBGL.cjs +254 -0
  35. package/dist/{chunk-ZBUAOGMY.mjs → chunk-O5FCWI6O.mjs} +1 -1
  36. package/dist/{chunk-RMUD75WT.cjs → chunk-PVJX4UPA.cjs} +323 -243
  37. package/dist/{chunk-GGNJAGGE.cjs → chunk-QN5WRQSQ.cjs} +971 -444
  38. package/dist/{chunk-NT3QDN2E.mjs → chunk-RFYL5OLP.mjs} +1 -1
  39. package/dist/{chunk-LVWGURLD.mjs → chunk-S2NUYHRY.mjs} +1 -1
  40. package/dist/{chunk-2WZTGPK6.mjs → chunk-SQ5O7I3L.mjs} +7 -2
  41. package/dist/{chunk-545WJ5UG.cjs → chunk-U6WCUVSV.cjs} +2 -2
  42. package/dist/{chunk-2CNKQC3G.mjs → chunk-XICXQXYE.mjs} +1 -1
  43. package/dist/{chunk-AJB3DHN6.cjs → chunk-Y2YBNQ3D.cjs} +2 -2
  44. package/dist/{chunk-EXXFSZOC.cjs → chunk-Z74NNER4.cjs} +86 -86
  45. package/dist/{client-component.d-Bgt3x5Fu.d.ts → client-component.d-CQLvqLAJ.d.ts} +14 -3
  46. package/dist/{client-component.d-BoqC2MLC.d.mts → client-component.d-CSEFlHfG.d.mts} +14 -3
  47. package/dist/{client-plugins.d-CWyYBxXf.d.mts → client-plugins.d-BTF0gZm4.d.mts} +10 -1
  48. package/dist/{client-plugins.d-BcqIy4au.d.ts → client-plugins.d-BgPUYPc9.d.ts} +10 -1
  49. package/dist/client-plugins.d.mts +1 -1
  50. package/dist/client-plugins.d.ts +1 -1
  51. package/dist/client.d.mts +6 -6
  52. package/dist/client.d.ts +6 -6
  53. package/dist/config.d.mts +1 -1
  54. package/dist/config.d.ts +1 -1
  55. package/dist/desktop.d.mts +2 -2
  56. package/dist/desktop.d.ts +2 -2
  57. package/dist/{devtools-NUVXYG7I.mjs → devtools-HDKTYIZF.mjs} +2 -2
  58. package/dist/{devtools-SVRSGPNC.cjs → devtools-ZHN5JLVI.cjs} +3 -3
  59. package/dist/docs.cjs +4 -4
  60. package/dist/docs.d.mts +2 -2
  61. package/dist/docs.d.ts +2 -2
  62. package/dist/docs.mjs +3 -3
  63. package/dist/index.cjs +12 -12
  64. package/dist/{index.d-nAncqTXz.d.ts → index.d-Coow7bD4.d.ts} +1 -1
  65. package/dist/{index.d-BDaiu2i5.d.mts → index.d-Dbjx0ku7.d.mts} +1 -1
  66. package/dist/index.d.mts +16 -16
  67. package/dist/index.d.ts +16 -16
  68. package/dist/index.mjs +11 -11
  69. package/dist/integrations.d.mts +1 -1
  70. package/dist/integrations.d.ts +1 -1
  71. package/dist/internal/app-markdown-runtime.d.mts +2 -2
  72. package/dist/internal/app-markdown-runtime.d.ts +2 -2
  73. package/dist/internal/build-runtime.cjs +13 -13
  74. package/dist/internal/build-runtime.d.mts +3 -3
  75. package/dist/internal/build-runtime.d.ts +3 -3
  76. package/dist/internal/build-runtime.mjs +12 -12
  77. package/dist/internal/cli-runtime.cjs +3 -3
  78. package/dist/internal/cli-runtime.mjs +2 -2
  79. package/dist/internal/client-error-overlay.cjs +4 -4
  80. package/dist/internal/client-error-overlay.mjs +1 -1
  81. package/dist/internal/client-runtime.d.mts +4 -4
  82. package/dist/internal/client-runtime.d.ts +4 -4
  83. package/dist/internal/compression-runtime.d.mts +1 -1
  84. package/dist/internal/compression-runtime.d.ts +1 -1
  85. package/dist/internal/config-runtime.cjs +4 -4
  86. package/dist/internal/config-runtime.d.mts +3 -3
  87. package/dist/internal/config-runtime.d.ts +3 -3
  88. package/dist/internal/config-runtime.mjs +3 -3
  89. package/dist/internal/infra-analytics-runtime.cjs +8 -6
  90. package/dist/internal/infra-analytics-runtime.mjs +6 -4
  91. package/dist/internal/native-server-fns.cjs +4 -4
  92. package/dist/internal/native-server-fns.mjs +3 -3
  93. package/dist/internal/product-telemetry-runtime.cjs +17 -211
  94. package/dist/internal/product-telemetry-runtime.mjs +10 -204
  95. package/dist/internal/production-runtime.cjs +7 -6
  96. package/dist/internal/production-runtime.d.mts +10 -10
  97. package/dist/internal/production-runtime.d.ts +10 -10
  98. package/dist/internal/production-runtime.mjs +7 -6
  99. package/dist/internal/react-cache.cjs +21 -1
  100. package/dist/internal/react-cache.d.mts +8 -1
  101. package/dist/internal/react-cache.d.ts +8 -1
  102. package/dist/internal/react-cache.mjs +21 -1
  103. package/dist/markdown.d.mts +1 -1
  104. package/dist/markdown.d.ts +1 -1
  105. package/dist/middleware.d.mts +3 -3
  106. package/dist/middleware.d.ts +3 -3
  107. package/dist/{navigation-delegate.d-CSCm8ZxL.d.mts → navigation-delegate.d-Ca_BV0Wu.d.mts} +1 -1
  108. package/dist/{navigation-delegate.d-BbUHRXxG.d.ts → navigation-delegate.d-aHiPI6GL.d.ts} +1 -1
  109. package/dist/navigation.d.mts +4 -4
  110. package/dist/navigation.d.ts +4 -4
  111. package/dist/plugin.cjs +7 -7
  112. package/dist/plugin.d.mts +3 -3
  113. package/dist/plugin.d.ts +3 -3
  114. package/dist/plugin.mjs +6 -6
  115. package/dist/{production-runtime.d-DgT24A0f.d.ts → production-runtime.d-C0rF7a10.d.ts} +1 -1
  116. package/dist/{production-runtime.d-CcQiDko5.d.mts → production-runtime.d-CnAsSWgF.d.mts} +1 -1
  117. package/dist/{render-plan.d-CyrX6MDs.d.ts → render-plan.d-BxeITFT1.d.ts} +1 -1
  118. package/dist/{render-plan.d-BH9WF-JZ.d.mts → render-plan.d-Z-93m5GZ.d.mts} +1 -1
  119. package/dist/renderer-client.d.mts +4 -4
  120. package/dist/renderer-client.d.ts +4 -4
  121. package/dist/{request.d-CUrPnCW7.d.mts → request.d-8_fMFNEb.d.mts} +1 -1
  122. package/dist/{request.d-BB8M8bcD.d.ts → request.d-X7Q1vmGF.d.ts} +1 -1
  123. package/dist/request.d.mts +2 -2
  124. package/dist/request.d.ts +2 -2
  125. package/dist/{route-rendering.d-CYxlzaFm.d.mts → route-rendering.d-BInmBmul.d.mts} +1 -1
  126. package/dist/{route-rendering.d-DYqZMIf4.d.ts → route-rendering.d-BUr3Jp8S.d.ts} +1 -1
  127. package/dist/{router.d-7o24CD8u.d.mts → router.d-CZQmbpHx.d.mts} +1 -1
  128. package/dist/{router.d-DaKo507j.d.ts → router.d-crorSRiW.d.ts} +1 -1
  129. package/dist/routes.d.mts +1 -1
  130. package/dist/routes.d.ts +1 -1
  131. package/dist/{rsc-pipeline-RFLHDAKD.mjs → rsc-pipeline-3MPRULGA.mjs} +3 -3
  132. package/dist/{rsc-pipeline-OF2I7PCX.cjs → rsc-pipeline-RHEZNBFQ.cjs} +4 -4
  133. package/dist/{runtime-LBTK62AD.cjs → runtime-OZKFZQCU.cjs} +5 -5
  134. package/dist/{runtime-M6UJCSLA.mjs → runtime-X5UR7VHP.mjs} +3 -3
  135. package/dist/{runtime.d-CN73a-IL.d.ts → runtime.d-CCsjTZJW.d.ts} +1 -1
  136. package/dist/{runtime.d-CcNuzhX6.d.mts → runtime.d-CETtpLb-.d.mts} +1 -1
  137. package/dist/server-plugins.d.mts +2 -2
  138. package/dist/server-plugins.d.ts +2 -2
  139. package/dist/server.cjs +24 -24
  140. package/dist/server.d.mts +9 -9
  141. package/dist/server.d.ts +9 -9
  142. package/dist/server.mjs +9 -9
  143. package/dist/{spa-router.d-Cvgf5QP4.d.ts → spa-router.d-CCADbSqJ.d.ts} +2 -2
  144. package/dist/{spa-router.d-CNi77LZm.d.mts → spa-router.d-CtSHzXlC.d.mts} +2 -2
  145. package/dist/testing.d.mts +1 -1
  146. package/dist/testing.d.ts +1 -1
  147. package/dist/{utils.d-C3H-14_Y.d.ts → utils.d-CjyE-npA.d.ts} +1 -1
  148. package/dist/{utils.d-D8VfzZYn.d.mts → utils.d-zFPHKFFJ.d.mts} +1 -1
  149. package/dist/version.cjs +2 -2
  150. package/dist/version.mjs +1 -1
  151. package/dist/vite.cjs +11 -7
  152. package/dist/vite.d.mts +23 -5
  153. package/dist/vite.d.ts +23 -5
  154. package/dist/vite.mjs +10 -6
  155. package/package.json +1 -1
  156. package/dist/analyzer-2AHWJJR7.cjs +0 -15
  157. package/dist/chunk-CSLUBKGG.mjs +0 -44
  158. package/dist/chunk-SGBNF56S.cjs +0 -44
package/dist/server.cjs CHANGED
@@ -4,7 +4,7 @@ var _chunkXVSBALOYcjs = require('./chunk-XVSBALOY.cjs');
4
4
  require('./chunk-3376ZTRC.cjs');
5
5
 
6
6
 
7
- var _chunkWKJQ2FJAcjs = require('./chunk-WKJQ2FJA.cjs');
7
+ var _chunk5L7I6AMYcjs = require('./chunk-5L7I6AMY.cjs');
8
8
 
9
9
 
10
10
 
@@ -24,7 +24,7 @@ var _chunkV3UOEWCBcjs = require('./chunk-V3UOEWCB.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunk545WJ5UGcjs = require('./chunk-545WJ5UG.cjs');
27
+ var _chunkU6WCUVSVcjs = require('./chunk-U6WCUVSV.cjs');
28
28
  require('./chunk-OZC2JPW6.cjs');
29
29
 
30
30
 
@@ -40,7 +40,7 @@ require('./chunk-MPU5DOXX.cjs');
40
40
 
41
41
 
42
42
 
43
- var _chunkRMUD75WTcjs = require('./chunk-RMUD75WT.cjs');
43
+ var _chunkPVJX4UPAcjs = require('./chunk-PVJX4UPA.cjs');
44
44
 
45
45
 
46
46
 
@@ -56,7 +56,7 @@ require('./chunk-5IQ2ERQA.cjs');
56
56
 
57
57
 
58
58
 
59
- var _chunkGGNJAGGEcjs = require('./chunk-GGNJAGGE.cjs');
59
+ var _chunkQN5WRQSQcjs = require('./chunk-QN5WRQSQ.cjs');
60
60
 
61
61
 
62
62
  var _chunkR53QDV6Tcjs = require('./chunk-R53QDV6T.cjs');
@@ -84,9 +84,9 @@ require('./chunk-3HLQTOVU.cjs');
84
84
  require('./chunk-47JV57DA.cjs');
85
85
  require('./chunk-EZTKXD6P.cjs');
86
86
  require('./chunk-CLFEQGET.cjs');
87
- require('./chunk-SGBNF56S.cjs');
88
- require('./chunk-XX32BOMM.cjs');
87
+ require('./chunk-EYLC6GD6.cjs');
89
88
  require('./chunk-QAS7KE7J.cjs');
89
+ require('./chunk-LWWDTBGL.cjs');
90
90
  require('./chunk-CKPTIEDX.cjs');
91
91
  require('./chunk-XGJVRPYL.cjs');
92
92
  require('./chunk-TVCFY3KK.cjs');
@@ -115,7 +115,7 @@ require('./chunk-STF6VDYQ.cjs');
115
115
  var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
116
116
  require('./chunk-DZPR2W6U.cjs');
117
117
  require('./chunk-6JHZPB52.cjs');
118
- require('./chunk-SG57PX7K.cjs');
118
+ require('./chunk-BTVDYS4B.cjs');
119
119
  require('./chunk-MEQN6DDA.cjs');
120
120
 
121
121
 
@@ -273,7 +273,7 @@ require('./chunk-CFG4QERR.cjs');
273
273
  require('./chunk-JYT7AN37.cjs');
274
274
 
275
275
 
276
- var _chunkSM25ZC4Scjs = require('./chunk-SM25ZC4S.cjs');
276
+ var _chunkFNHN3RBDcjs = require('./chunk-FNHN3RBD.cjs');
277
277
  require('./chunk-JGAE5XPL.cjs');
278
278
  require('./chunk-OOZEU5KK.cjs');
279
279
  require('./chunk-HA7YRO53.cjs');
@@ -496,7 +496,7 @@ function createBrandingPlugin() {
496
496
  const pc = _chunkY3WG64CPcjs.createCliColors.call(void 0, );
497
497
  console.log("");
498
498
  console.log(
499
- ` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkSM25ZC4Scjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
499
+ ` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkFNHN3RBDcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
500
500
  );
501
501
  console.log("");
502
502
  console.log(
@@ -571,7 +571,7 @@ function inlineEnvScope(scope) {
571
571
  );
572
572
  }
573
573
  async function resolveInlineConfig(config, mode) {
574
- if (_chunk545WJ5UGcjs.isResolvedFarmConfig.call(void 0, config)) {
574
+ if (_chunkU6WCUVSVcjs.isResolvedFarmConfig.call(void 0, config)) {
575
575
  _chunk3EIPOTZVcjs.setEnv.call(void 0, config.env);
576
576
  return { ...config };
577
577
  }
@@ -581,7 +581,7 @@ async function resolveInlineConfig(config, mode) {
581
581
  const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
582
582
  const auth = config.auth;
583
583
  const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
584
- const resolved = await _chunk545WJ5UGcjs.resolveConfig.call(void 0,
584
+ const resolved = await _chunkU6WCUVSVcjs.resolveConfig.call(void 0,
585
585
  {
586
586
  ...config,
587
587
  ...resolvedDocs ? { docs: false } : {},
@@ -618,11 +618,11 @@ async function createServer2(config = {}, options = {}) {
618
618
  try {
619
619
  const root = config.root || process.cwd();
620
620
  const mode = process.env.NODE_ENV === "production" ? "production" : "development";
621
- const userConfig = await _chunk545WJ5UGcjs.loadConfig.call(void 0, root, void 0, mode);
621
+ const userConfig = await _chunkU6WCUVSVcjs.loadConfig.call(void 0, root, void 0, mode);
622
622
  checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _19 => _19.desktop]));
623
623
  const rscConfig = _nullishCoalesce(userConfig, () => ( config));
624
624
  if (_chunkBPNOYILCcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([rscConfig, 'access', _20 => _20.experimental, 'optionalAccess', _21 => _21.serverComponents]))) {
625
- const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-OF2I7PCX.cjs");
625
+ const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-RHEZNBFQ.cjs");
626
626
  await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
627
627
  if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
628
628
  return await createFarmRscDevServer(rscConfig, {
@@ -632,7 +632,7 @@ async function createServer2(config = {}, options = {}) {
632
632
  });
633
633
  }
634
634
  }
635
- const resolvedConfig = userConfig ? await _chunk545WJ5UGcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
635
+ const resolvedConfig = userConfig ? await _chunkU6WCUVSVcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
636
636
  const instrumentationRoot = resolvedConfig.root;
637
637
  const instrumentationFile = _chunkBRWIVOV4cjs.resolveFarmInstrumentationFile.call(void 0,
638
638
  instrumentationRoot,
@@ -669,7 +669,7 @@ async function createServer2(config = {}, options = {}) {
669
669
  pluginManager.addPlugin(_chunkCL2ONP73cjs.createCompressionPlugin.call(void 0, ));
670
670
  }
671
671
  pluginManager.addPlugins(resolvedConfig.plugins);
672
- const infraAnalytics = resolvedConfig.analytics !== false ? _chunkWKJQ2FJAcjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
672
+ const infraAnalytics = resolvedConfig.analytics !== false ? _chunk5L7I6AMYcjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
673
673
  if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
674
674
  if (mode === "development") {
675
675
  const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
@@ -682,7 +682,7 @@ async function createServer2(config = {}, options = {}) {
682
682
  finalConfig = await pluginManager.runHookSerial("config", finalConfig);
683
683
  finalConfig.renderer = _chunkRD623KW4cjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
684
684
  const projectRoot = finalConfig.root || process.cwd();
685
- finalConfig.images = _chunkGGNJAGGEcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
685
+ finalConfig.images = _chunkQN5WRQSQcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
686
686
  root: projectRoot,
687
687
  dev: true
688
688
  });
@@ -703,20 +703,20 @@ async function createServer2(config = {}, options = {}) {
703
703
  tailwindVitePlugin = await _chunkR53QDV6Tcjs.loadTailwindVitePlugin.call(void 0, );
704
704
  }
705
705
  server = await createViteDevServer(
706
- _chunkGGNJAGGEcjs.mergeFarmViteConfig.call(void 0,
706
+ _chunkQN5WRQSQcjs.mergeFarmViteConfig.call(void 0,
707
707
  {
708
708
  root: projectRoot,
709
709
  css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
710
710
  plugins: [
711
711
  _chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
712
- _chunkGGNJAGGEcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
712
+ _chunkQN5WRQSQcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
713
713
  ...tailwindVitePlugin ? [tailwindVitePlugin] : [],
714
714
  ...rendererVitePlugins,
715
715
  ...reactRefreshPlugins,
716
716
  createDevDependencyStubsPlugin(),
717
- _chunkRMUD75WTcjs.farmI18nClientBridgePlugin.call(void 0, ),
718
- _chunkRMUD75WTcjs.farmServerOnlyEntriesPlugin.call(void 0, ),
719
- _chunkRMUD75WTcjs.farmPlugin.call(void 0, finalConfig, pluginManager),
717
+ _chunkPVJX4UPAcjs.farmI18nClientBridgePlugin.call(void 0, ),
718
+ _chunkPVJX4UPAcjs.farmServerOnlyEntriesPlugin.call(void 0, ),
719
+ _chunkPVJX4UPAcjs.farmPlugin.call(void 0, finalConfig, pluginManager),
720
720
  _chunkNK2VWS7Pcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
721
721
  createBrandingPlugin(),
722
722
  _chunkXVSBALOYcjs.createFarmDevLoopbackPlugin.call(void 0, ),
@@ -732,8 +732,8 @@ async function createServer2(config = {}, options = {}) {
732
732
  dedupe: [...finalConfig.renderer.dedupe || []]
733
733
  },
734
734
  optimizeDeps: {
735
- ..._chunkGGNJAGGEcjs.createFarmClientOptimizeDepsConfig.call(void 0,
736
- _chunkGGNJAGGEcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
735
+ ..._chunkQN5WRQSQcjs.createFarmClientOptimizeDepsConfig.call(void 0,
736
+ _chunkQN5WRQSQcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
737
737
  finalConfig.renderer
738
738
  ),
739
739
  exclude: [
@@ -969,4 +969,4 @@ async function startDevServer(config = {}, port, options = {}) {
969
969
 
970
970
 
971
971
 
972
- exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkGGNJAGGEcjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkGGNJAGGEcjs.RouteManager; exports.ServerActionRequestError = _chunk4P5634G6cjs.ServerActionRequestError; exports.ServerRenderer = _chunkGGNJAGGEcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkJMYXO572cjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkP2355C6Ecjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkP2355C6Ecjs._withAfterNodeMiddleware; exports.after = _chunkP2355C6Ecjs.after; exports.applyFarmCacheInvalidationTargets = _chunkDMAP4RNDcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkUZCMMJJTcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.createClientOnlyFn = _chunkVXCFJWK5cjs.createClientOnlyFn; exports.createFarmApp = _chunkGGNJAGGEcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkDMAP4RNDcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunk5Y2P454Ocjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkJMYXO572cjs.createFarmStorage; exports.createIsomorphicFn = _chunkVXCFJWK5cjs.createIsomorphicFn; exports.createPathCacheTag = _chunkDMAP4RNDcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkDXUXQP2Tcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkDMAP4RNDcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunk4P5634G6cjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkVXCFJWK5cjs.createServerOnlyFn; exports.createServerQuery = _chunkWKPBIT5Qcjs.createServerQuery; exports.createStorageClient = _chunkJMYXO572cjs.createStorageClient; exports.databaseStorage = _chunkJMYXO572cjs.databaseStorage; exports.defineCacheKey = _chunkDMAP4RNDcjs.defineCacheKey; exports.defineConfig = _chunkRMUD75WTcjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunkRMUD75WTcjs.farmPlugin; exports.fileExists = _chunkQMNWKQL4cjs.fileExists; exports.getCurrentRequest = _chunkHNAISJFDcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunk5Y2P454Ocjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunk5Y2P454Ocjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunk5Y2P454Ocjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunk4P5634G6cjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunk4P5634G6cjs.getServerActionInvalidations; exports.getServerActionSignal = _chunk4P5634G6cjs.getServerActionSignal; exports.getStorage = _chunkJMYXO572cjs.getStorage; exports.getTheme = _chunk4ZJ5C7UJcjs.getTheme; exports.getThemeSnapshot = _chunk4ZJ5C7UJcjs.getThemeSnapshot; exports.globFiles = _chunkQMNWKQL4cjs.globFiles; exports.initStorage = _chunkJMYXO572cjs.initStorage; exports.invalidate = _chunkDMAP4RNDcjs.invalidate; exports.invalidateRouteData = _chunkDMAP4RNDcjs.invalidateRouteData; exports.libsqlStorage = _chunkJMYXO572cjs.libsqlStorage; exports.loadFarmConfigFile = _chunk5Y2P454Ocjs.loadFarmConfigFile; exports.localStorage = _chunkJMYXO572cjs.localStorage; exports.logger = _chunkQMNWKQL4cjs.logger; exports.matchRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchRouteParts = _chunkQMNWKQL4cjs.matchRouteParts; exports.matchRoutePrefix = _chunkQMNWKQL4cjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunkQMNWKQL4cjs.matchRoutePrefixParts; exports.memoryStorage = _chunkJMYXO572cjs.memoryStorage; exports.mongodbStorage = _chunkJMYXO572cjs.mongodbStorage; exports.mysql2Storage = _chunkJMYXO572cjs.mysql2Storage; exports.mysqlStorage = _chunkJMYXO572cjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkJMYXO572cjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.parseSearchParams = _chunkQMNWKQL4cjs.parseSearchParams; exports.pgStorage = _chunkJMYXO572cjs.pgStorage; exports.pgliteStorage = _chunkJMYXO572cjs.pgliteStorage; exports.planetscaleStorage = _chunkJMYXO572cjs.planetscaleStorage; exports.postgresStorage = _chunkJMYXO572cjs.postgresStorage; exports.prepareServerActionRequest = _chunk4P5634G6cjs.prepareServerActionRequest; exports.redisStorage = _chunkJMYXO572cjs.redisStorage; exports.resolveAppPath = _chunkQMNWKQL4cjs.resolveAppPath; exports.resolveFarmLayers = _chunk5Y2P454Ocjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunk545WJ5UGcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunk545WJ5UGcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunk4P5634G6cjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkJMYXO572cjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkDMAP4RNDcjs.revalidatePath; exports.revalidateTag = _chunkDMAP4RNDcjs.revalidateTag; exports.runWithServerActionRequest = _chunk4P5634G6cjs.runWithServerActionRequest; exports.s3Storage = _chunkJMYXO572cjs.s3Storage; exports.sanitizeServerActionError = _chunk4P5634G6cjs.sanitizeServerActionError; exports.segmentsToPattern = _chunkQMNWKQL4cjs.segmentsToPattern; exports.sendWebResponse = _chunkYIHRZBD7cjs.sendWebResponse; exports.splitRoutePath = _chunkQMNWKQL4cjs.splitRoutePath; exports.sqliteStorage = _chunkJMYXO572cjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkDMAP4RNDcjs.storageCacheAdapter; exports.toPosixPath = _chunkQMNWKQL4cjs.toPosixPath; exports.toRootRelativeUrlPath = _chunkQMNWKQL4cjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunkQMNWKQL4cjs.toViteModuleId; exports.unstable_cache = _chunkDMAP4RNDcjs.unstable_cache; exports.updateTag = _chunkDMAP4RNDcjs.updateTag; exports.upstashStorage = _chunkJMYXO572cjs.upstashStorage; exports.validateServerActionRequest = _chunk4P5634G6cjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkJMYXO572cjs.vercelBlobStorage; exports.vercelKVStorage = _chunkJMYXO572cjs.vercelKVStorage;
972
+ exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkQN5WRQSQcjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkQN5WRQSQcjs.RouteManager; exports.ServerActionRequestError = _chunk4P5634G6cjs.ServerActionRequestError; exports.ServerRenderer = _chunkQN5WRQSQcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkJMYXO572cjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkP2355C6Ecjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkP2355C6Ecjs._withAfterNodeMiddleware; exports.after = _chunkP2355C6Ecjs.after; exports.applyFarmCacheInvalidationTargets = _chunkDMAP4RNDcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkUZCMMJJTcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.createClientOnlyFn = _chunkVXCFJWK5cjs.createClientOnlyFn; exports.createFarmApp = _chunkQN5WRQSQcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkDMAP4RNDcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunk5Y2P454Ocjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkJMYXO572cjs.createFarmStorage; exports.createIsomorphicFn = _chunkVXCFJWK5cjs.createIsomorphicFn; exports.createPathCacheTag = _chunkDMAP4RNDcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkDXUXQP2Tcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkDMAP4RNDcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunk4P5634G6cjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkVXCFJWK5cjs.createServerOnlyFn; exports.createServerQuery = _chunkWKPBIT5Qcjs.createServerQuery; exports.createStorageClient = _chunkJMYXO572cjs.createStorageClient; exports.databaseStorage = _chunkJMYXO572cjs.databaseStorage; exports.defineCacheKey = _chunkDMAP4RNDcjs.defineCacheKey; exports.defineConfig = _chunkPVJX4UPAcjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunkPVJX4UPAcjs.farmPlugin; exports.fileExists = _chunkQMNWKQL4cjs.fileExists; exports.getCurrentRequest = _chunkHNAISJFDcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunk5Y2P454Ocjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunk5Y2P454Ocjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunk5Y2P454Ocjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunk4P5634G6cjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunk4P5634G6cjs.getServerActionInvalidations; exports.getServerActionSignal = _chunk4P5634G6cjs.getServerActionSignal; exports.getStorage = _chunkJMYXO572cjs.getStorage; exports.getTheme = _chunk4ZJ5C7UJcjs.getTheme; exports.getThemeSnapshot = _chunk4ZJ5C7UJcjs.getThemeSnapshot; exports.globFiles = _chunkQMNWKQL4cjs.globFiles; exports.initStorage = _chunkJMYXO572cjs.initStorage; exports.invalidate = _chunkDMAP4RNDcjs.invalidate; exports.invalidateRouteData = _chunkDMAP4RNDcjs.invalidateRouteData; exports.libsqlStorage = _chunkJMYXO572cjs.libsqlStorage; exports.loadFarmConfigFile = _chunk5Y2P454Ocjs.loadFarmConfigFile; exports.localStorage = _chunkJMYXO572cjs.localStorage; exports.logger = _chunkQMNWKQL4cjs.logger; exports.matchRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchRouteParts = _chunkQMNWKQL4cjs.matchRouteParts; exports.matchRoutePrefix = _chunkQMNWKQL4cjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunkQMNWKQL4cjs.matchRoutePrefixParts; exports.memoryStorage = _chunkJMYXO572cjs.memoryStorage; exports.mongodbStorage = _chunkJMYXO572cjs.mongodbStorage; exports.mysql2Storage = _chunkJMYXO572cjs.mysql2Storage; exports.mysqlStorage = _chunkJMYXO572cjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkJMYXO572cjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.parseSearchParams = _chunkQMNWKQL4cjs.parseSearchParams; exports.pgStorage = _chunkJMYXO572cjs.pgStorage; exports.pgliteStorage = _chunkJMYXO572cjs.pgliteStorage; exports.planetscaleStorage = _chunkJMYXO572cjs.planetscaleStorage; exports.postgresStorage = _chunkJMYXO572cjs.postgresStorage; exports.prepareServerActionRequest = _chunk4P5634G6cjs.prepareServerActionRequest; exports.redisStorage = _chunkJMYXO572cjs.redisStorage; exports.resolveAppPath = _chunkQMNWKQL4cjs.resolveAppPath; exports.resolveFarmLayers = _chunk5Y2P454Ocjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkU6WCUVSVcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkU6WCUVSVcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunk4P5634G6cjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkJMYXO572cjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkDMAP4RNDcjs.revalidatePath; exports.revalidateTag = _chunkDMAP4RNDcjs.revalidateTag; exports.runWithServerActionRequest = _chunk4P5634G6cjs.runWithServerActionRequest; exports.s3Storage = _chunkJMYXO572cjs.s3Storage; exports.sanitizeServerActionError = _chunk4P5634G6cjs.sanitizeServerActionError; exports.segmentsToPattern = _chunkQMNWKQL4cjs.segmentsToPattern; exports.sendWebResponse = _chunkYIHRZBD7cjs.sendWebResponse; exports.splitRoutePath = _chunkQMNWKQL4cjs.splitRoutePath; exports.sqliteStorage = _chunkJMYXO572cjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkDMAP4RNDcjs.storageCacheAdapter; exports.toPosixPath = _chunkQMNWKQL4cjs.toPosixPath; exports.toRootRelativeUrlPath = _chunkQMNWKQL4cjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunkQMNWKQL4cjs.toViteModuleId; exports.unstable_cache = _chunkDMAP4RNDcjs.unstable_cache; exports.updateTag = _chunkDMAP4RNDcjs.updateTag; exports.upstashStorage = _chunkJMYXO572cjs.upstashStorage; exports.validateServerActionRequest = _chunk4P5634G6cjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkJMYXO572cjs.vercelBlobStorage; exports.vercelKVStorage = _chunkJMYXO572cjs.vercelKVStorage;
package/dist/server.d.mts CHANGED
@@ -1,14 +1,14 @@
1
- export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-CysWA_8v.mjs';
1
+ export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-DdWxeIGU.mjs';
2
2
  export { defineConfig, farmPlugin } from './vite.mjs';
3
- import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-CWyYBxXf.mjs';
4
- export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-CWyYBxXf.mjs';
5
- export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-D8VfzZYn.mjs';
3
+ import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-BTF0gZm4.mjs';
4
+ export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-BTF0gZm4.mjs';
5
+ export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-zFPHKFFJ.mjs';
6
6
  export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
7
7
  export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.mjs';
8
8
  export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.mjs';
9
9
  export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.mjs';
10
10
  import { ViteDevServer } from 'vite';
11
- export { g as getCurrentRequest } from './request.d-CUrPnCW7.mjs';
11
+ export { g as getCurrentRequest } from './request.d-8_fMFNEb.mjs';
12
12
  export { s as sendWebResponse } from './response.d-BolW0Vx_.mjs';
13
13
  export { getTheme, getThemeSnapshot } from './theme/server.mjs';
14
14
  export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.mjs';
@@ -42,11 +42,11 @@ import './types.d-C41ePjvP.mjs';
42
42
  import './config.d-qt-mE8O5.mjs';
43
43
  import './types.d-DQnyD3VD.mjs';
44
44
  import './font.mjs';
45
- import './client-component.d-BoqC2MLC.mjs';
46
- import './route-rendering.d-CYxlzaFm.mjs';
45
+ import './client-component.d-CSEFlHfG.mjs';
46
+ import './route-rendering.d-BInmBmul.mjs';
47
47
  import './island.d-CfGru1MO.mjs';
48
- import './agent-mcp.d-BKZ3UNbt.mjs';
49
- import './render-plan.d-BH9WF-JZ.mjs';
48
+ import './agent-mcp.d-CCQ-wKwg.mjs';
49
+ import './render-plan.d-Z-93m5GZ.mjs';
50
50
  import './runtime.d-3iJAKptR.mjs';
51
51
  import './resolver.d-JnZKKsc5.mjs';
52
52
  import './platform.mjs';
package/dist/server.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-AE8_v3Db.js';
1
+ export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-D4Dn03E3.js';
2
2
  export { defineConfig, farmPlugin } from './vite.js';
3
- import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-BcqIy4au.js';
4
- export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-BcqIy4au.js';
5
- export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-C3H-14_Y.js';
3
+ import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-BgPUYPc9.js';
4
+ export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-BgPUYPc9.js';
5
+ export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-CjyE-npA.js';
6
6
  export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
7
7
  export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
8
8
  export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
9
9
  export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
10
10
  import { ViteDevServer } from 'vite';
11
- export { g as getCurrentRequest } from './request.d-BB8M8bcD.js';
11
+ export { g as getCurrentRequest } from './request.d-X7Q1vmGF.js';
12
12
  export { s as sendWebResponse } from './response.d-BolW0Vx_.js';
13
13
  export { getTheme, getThemeSnapshot } from './theme/server.js';
14
14
  export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
@@ -42,11 +42,11 @@ import './types.d-C41ePjvP.js';
42
42
  import './config.d-qt-mE8O5.js';
43
43
  import './types.d-DQnyD3VD.js';
44
44
  import './font.js';
45
- import './client-component.d-Bgt3x5Fu.js';
46
- import './route-rendering.d-DYqZMIf4.js';
45
+ import './client-component.d-CQLvqLAJ.js';
46
+ import './route-rendering.d-BUr3Jp8S.js';
47
47
  import './island.d-CfGru1MO.js';
48
- import './agent-mcp.d-C1zr_nGS.js';
49
- import './render-plan.d-CyrX6MDs.js';
48
+ import './agent-mcp.d-DOJCBSh9.js';
49
+ import './render-plan.d-BxeITFT1.js';
50
50
  import './runtime.d-BtL3PCL3.js';
51
51
  import './resolver.d-BHyZgpa7.js';
52
52
  import './platform.js';
package/dist/server.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FN5UEC7I.mjs";
4
4
  import {
5
5
  createFarmInfraAnalyticsPlugin
6
- } from "./chunk-2CNKQC3G.mjs";
6
+ } from "./chunk-XICXQXYE.mjs";
7
7
  import {
8
8
  FARM_SERVER_QUERY_SYMBOL,
9
9
  createServerQuery
@@ -23,7 +23,7 @@ import {
23
23
  resolveConfig,
24
24
  resolveFarmMCPConfig,
25
25
  resolveFarmMCPPlugin
26
- } from "./chunk-VWW4Q3BJ.mjs";
26
+ } from "./chunk-BA2IA32Q.mjs";
27
27
  import "./chunk-VISQDC6W.mjs";
28
28
  import {
29
29
  loadFarmInstrumentation,
@@ -39,7 +39,7 @@ import {
39
39
  farmI18nClientBridgePlugin,
40
40
  farmPlugin,
41
41
  farmServerOnlyEntriesPlugin
42
- } from "./chunk-IQIKPKFP.mjs";
42
+ } from "./chunk-CBDRR3J3.mjs";
43
43
  import {
44
44
  createFarmReactRefreshPlugins,
45
45
  farmDesktopDevGuardPlugin
@@ -55,7 +55,7 @@ import {
55
55
  createFarmThemeCssPlugin,
56
56
  mergeFarmViteConfig,
57
57
  resolveFarmImageProviderForRuntime
58
- } from "./chunk-2JYBLE63.mjs";
58
+ } from "./chunk-LA45FN37.mjs";
59
59
  import {
60
60
  loadTailwindVitePlugin
61
61
  } from "./chunk-OM7WILES.mjs";
@@ -83,9 +83,9 @@ import "./chunk-LLZSYFOM.mjs";
83
83
  import "./chunk-UUMKLGUU.mjs";
84
84
  import "./chunk-23LVFSID.mjs";
85
85
  import "./chunk-MK5E44WP.mjs";
86
- import "./chunk-CSLUBKGG.mjs";
87
- import "./chunk-VM7X5CKC.mjs";
86
+ import "./chunk-7FFW7DC4.mjs";
88
87
  import "./chunk-UZZ6IEQP.mjs";
88
+ import "./chunk-LA6O5EL2.mjs";
89
89
  import "./chunk-X3EFRVXY.mjs";
90
90
  import "./chunk-A4PWGL46.mjs";
91
91
  import "./chunk-MNIR7I7B.mjs";
@@ -114,7 +114,7 @@ import {
114
114
  } from "./chunk-ES2LD2YD.mjs";
115
115
  import "./chunk-T4TBK5NY.mjs";
116
116
  import "./chunk-22W4FNTG.mjs";
117
- import "./chunk-2WZTGPK6.mjs";
117
+ import "./chunk-SQ5O7I3L.mjs";
118
118
  import "./chunk-KVW2M6PI.mjs";
119
119
  import {
120
120
  createFarmConfigResolutionPlugin,
@@ -272,7 +272,7 @@ import "./chunk-QDWMCFTH.mjs";
272
272
  import "./chunk-D2LCAV6L.mjs";
273
273
  import {
274
274
  FARM_VERSION
275
- } from "./chunk-NT3QDN2E.mjs";
275
+ } from "./chunk-RFYL5OLP.mjs";
276
276
  import "./chunk-RFKTJTWZ.mjs";
277
277
  import "./chunk-QPNVDSFZ.mjs";
278
278
  import "./chunk-GYMGK467.mjs";
@@ -621,7 +621,7 @@ async function createServer2(config = {}, options = {}) {
621
621
  checkWebDesktopBlock(userConfig?.desktop);
622
622
  const rscConfig = userConfig ?? config;
623
623
  if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
624
- const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-RFLHDAKD.mjs");
624
+ const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-3MPRULGA.mjs");
625
625
  await options.ensureServerComponentsPackages?.(rscConfig, root);
626
626
  if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
627
627
  return await createFarmRscDevServer(rscConfig, {
@@ -1,8 +1,8 @@
1
- import { M as Metadata } from './client-plugins.d-BcqIy4au.js';
1
+ import { M as Metadata } from './client-plugins.d-BgPUYPc9.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-CyrX6MDs.js';
5
+ import { F as FarmRouteRenderPlan } from './render-plan.d-BxeITFT1.js';
6
6
 
7
7
  type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
8
8
 
@@ -1,8 +1,8 @@
1
- import { M as Metadata } from './client-plugins.d-CWyYBxXf.mjs';
1
+ import { M as Metadata } from './client-plugins.d-BTF0gZm4.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-BH9WF-JZ.mjs';
5
+ import { F as FarmRouteRenderPlan } from './render-plan.d-Z-93m5GZ.mjs';
6
6
 
7
7
  type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
8
8
 
@@ -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-CWyYBxXf.mjs';
2
+ import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-BTF0gZm4.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';
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-BcqIy4au.js';
2
+ import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-BgPUYPc9.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';
@@ -1,4 +1,4 @@
1
- import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-BcqIy4au.js';
1
+ import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-BgPUYPc9.js';
2
2
 
3
3
  declare function parseRoutePath(filePath: string): ParsedRoute;
4
4
  declare function segmentsToPattern(segments: RouteSegment[]): string;
@@ -1,4 +1,4 @@
1
- import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-CWyYBxXf.mjs';
1
+ import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-BTF0gZm4.mjs';
2
2
 
3
3
  declare function parseRoutePath(filePath: string): ParsedRoute;
4
4
  declare function segmentsToPattern(segments: RouteSegment[]): string;
package/dist/version.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSM25ZC4Scjs = require('./chunk-SM25ZC4S.cjs');
3
+ var _chunkFNHN3RBDcjs = require('./chunk-FNHN3RBD.cjs');
4
4
  require('./chunk-BTZ5O6VM.cjs');
5
5
 
6
6
 
7
- exports.FARM_VERSION = _chunkSM25ZC4Scjs.FARM_VERSION;
7
+ exports.FARM_VERSION = _chunkFNHN3RBDcjs.FARM_VERSION;
package/dist/version.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FARM_VERSION
3
- } from "./chunk-NT3QDN2E.mjs";
3
+ } from "./chunk-RFYL5OLP.mjs";
4
4
  import "./chunk-Y6FXYEAI.mjs";
5
5
  export {
6
6
  FARM_VERSION
package/dist/vite.cjs CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkRMUD75WTcjs = require('./chunk-RMUD75WT.cjs');
11
+ var _chunkPVJX4UPAcjs = require('./chunk-PVJX4UPA.cjs');
12
12
  require('./chunk-65Y5SIBH.cjs');
13
13
  require('./chunk-5IQ2ERQA.cjs');
14
14
 
@@ -18,7 +18,9 @@ require('./chunk-5IQ2ERQA.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkGGNJAGGEcjs = require('./chunk-GGNJAGGE.cjs');
21
+
22
+
23
+ var _chunkQN5WRQSQcjs = require('./chunk-QN5WRQSQ.cjs');
22
24
  require('./chunk-R53QDV6T.cjs');
23
25
  require('./chunk-3EEET2Q5.cjs');
24
26
  require('./chunk-AXVRUDMB.cjs');
@@ -38,9 +40,9 @@ require('./chunk-3HLQTOVU.cjs');
38
40
  require('./chunk-47JV57DA.cjs');
39
41
  require('./chunk-EZTKXD6P.cjs');
40
42
  require('./chunk-CLFEQGET.cjs');
41
- require('./chunk-SGBNF56S.cjs');
42
- require('./chunk-XX32BOMM.cjs');
43
+ require('./chunk-EYLC6GD6.cjs');
43
44
  require('./chunk-QAS7KE7J.cjs');
45
+ require('./chunk-LWWDTBGL.cjs');
44
46
  require('./chunk-CKPTIEDX.cjs');
45
47
  require('./chunk-XGJVRPYL.cjs');
46
48
  require('./chunk-TVCFY3KK.cjs');
@@ -61,7 +63,7 @@ require('./chunk-STF6VDYQ.cjs');
61
63
  require('./chunk-RD623KW4.cjs');
62
64
  require('./chunk-DZPR2W6U.cjs');
63
65
  require('./chunk-6JHZPB52.cjs');
64
- require('./chunk-SG57PX7K.cjs');
66
+ require('./chunk-BTVDYS4B.cjs');
65
67
  require('./chunk-MEQN6DDA.cjs');
66
68
  require('./chunk-5Y2P454O.cjs');
67
69
 
@@ -126,7 +128,7 @@ require('./chunk-2OF5RPVU.cjs');
126
128
 
127
129
  var _chunkCFG4QERRcjs = require('./chunk-CFG4QERR.cjs');
128
130
  require('./chunk-JYT7AN37.cjs');
129
- require('./chunk-SM25ZC4S.cjs');
131
+ require('./chunk-FNHN3RBD.cjs');
130
132
  require('./chunk-JGAE5XPL.cjs');
131
133
  require('./chunk-OOZEU5KK.cjs');
132
134
  require('./chunk-HA7YRO53.cjs');
@@ -177,4 +179,6 @@ require('./chunk-BTZ5O6VM.cjs');
177
179
 
178
180
 
179
181
 
180
- exports.collectFarmClientPackageImports = _chunkGGNJAGGEcjs.collectFarmClientPackageImports; exports.createFarmNodeRequestAbortSignal = _chunkCFG4QERRcjs.createFarmNodeRequestAbortSignal; exports.defineConfig = _chunkRMUD75WTcjs.defineConfig; exports.farmFontImportsPlugin = _chunkGGNJAGGEcjs.farmFontImportsPlugin; exports.farmI18nClientBridgePlugin = _chunkRMUD75WTcjs.farmI18nClientBridgePlugin; exports.farmImageImportsPlugin = _chunkRMUD75WTcjs.farmImageImportsPlugin; exports.farmPlugin = _chunkRMUD75WTcjs.farmPlugin; exports.farmServerOnlyEntriesPlugin = _chunkRMUD75WTcjs.farmServerOnlyEntriesPlugin; exports.generateClientCachePersistenceCode = _chunkGGNJAGGEcjs.generateClientCachePersistenceCode; exports.getPublicFarmImageConfig = _chunkHEPJIKKQcjs.getPublicFarmImageConfig; exports.readRouteRenderingDirectiveFromFile = _chunkX4K7TYN6cjs.readRouteRenderingDirectiveFromFile; exports.resolveFarmClientCacheAdapterEntry = _chunkGGNJAGGEcjs.resolveFarmClientCacheAdapterEntry; exports.resolveFarmImageConfig = _chunkHEPJIKKQcjs.resolveFarmImageConfig; exports.resolveFarmImageProviderForRuntime = _chunkGGNJAGGEcjs.resolveFarmImageProviderForRuntime; exports.resolveFarmImageServerRuntime = _chunkGGNJAGGEcjs.resolveFarmImageServerRuntime; exports.rewriteEarlySsrRelativeImports = _chunkRMUD75WTcjs.rewriteEarlySsrRelativeImports; exports.shouldEmitFarmClientRootHmr = _chunkRMUD75WTcjs.shouldEmitFarmClientRootHmr; exports.transformIsolatedClientBoundaryModule = _chunkRMUD75WTcjs.transformIsolatedClientBoundaryModule; exports.withFarmRequestTracing = _chunkRMUD75WTcjs.withFarmRequestTracing;
182
+
183
+
184
+ exports.collectDevStylesheetUrls = _chunkQN5WRQSQcjs.collectDevStylesheetUrls; exports.collectFarmClientPackageImports = _chunkQN5WRQSQcjs.collectFarmClientPackageImports; exports.createFarmNodeRequestAbortSignal = _chunkCFG4QERRcjs.createFarmNodeRequestAbortSignal; exports.defineConfig = _chunkPVJX4UPAcjs.defineConfig; exports.farmFontImportsPlugin = _chunkQN5WRQSQcjs.farmFontImportsPlugin; exports.farmI18nClientBridgePlugin = _chunkPVJX4UPAcjs.farmI18nClientBridgePlugin; exports.farmImageImportsPlugin = _chunkPVJX4UPAcjs.farmImageImportsPlugin; exports.farmPlugin = _chunkPVJX4UPAcjs.farmPlugin; exports.farmServerOnlyEntriesPlugin = _chunkPVJX4UPAcjs.farmServerOnlyEntriesPlugin; exports.generateClientCachePersistenceCode = _chunkQN5WRQSQcjs.generateClientCachePersistenceCode; exports.getPublicFarmImageConfig = _chunkHEPJIKKQcjs.getPublicFarmImageConfig; exports.readRouteRenderingDirectiveFromFile = _chunkX4K7TYN6cjs.readRouteRenderingDirectiveFromFile; exports.resolveFarmClientCacheAdapterEntry = _chunkQN5WRQSQcjs.resolveFarmClientCacheAdapterEntry; exports.resolveFarmClientOptimizeDeps = _chunkQN5WRQSQcjs.resolveFarmClientOptimizeDeps; exports.resolveFarmImageConfig = _chunkHEPJIKKQcjs.resolveFarmImageConfig; exports.resolveFarmImageProviderForRuntime = _chunkQN5WRQSQcjs.resolveFarmImageProviderForRuntime; exports.resolveFarmImageServerRuntime = _chunkQN5WRQSQcjs.resolveFarmImageServerRuntime; exports.rewriteEarlySsrRelativeImports = _chunkPVJX4UPAcjs.rewriteEarlySsrRelativeImports; exports.shouldEmitFarmClientRootHmr = _chunkPVJX4UPAcjs.shouldEmitFarmClientRootHmr; exports.transformIsolatedClientBoundaryModule = _chunkPVJX4UPAcjs.transformIsolatedClientBoundaryModule; exports.withFarmRequestTracing = _chunkPVJX4UPAcjs.withFarmRequestTracing;
package/dist/vite.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Plugin, UserConfig, Connect } from 'vite';
2
- import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-CWyYBxXf.mjs';
2
+ import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-BTF0gZm4.mjs';
3
3
  import { FarmCacheUserConfig } from './cache.mjs';
4
- import { P as ProgrammaticClientRoutes } from './client-component.d-BoqC2MLC.mjs';
5
- export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile } from './client-component.d-BoqC2MLC.mjs';
4
+ import { P as ProgrammaticClientRoutes } from './client-component.d-CSEFlHfG.mjs';
5
+ export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-CSEFlHfG.mjs';
6
6
  import { FarmPlatform } from './platform.mjs';
7
7
  import { _withAfterNodeMiddleware } from './after.mjs';
8
8
  import { A as APIRequestRuntime } from './server-client-bridge.d-DKWDl5NB.mjs';
@@ -37,7 +37,7 @@ import './types.d-C41ePjvP.mjs';
37
37
  import './config.d-qt-mE8O5.mjs';
38
38
  import './types.d-DQnyD3VD.mjs';
39
39
  import './font.mjs';
40
- import './route-rendering.d-CYxlzaFm.mjs';
40
+ import './route-rendering.d-BInmBmul.mjs';
41
41
  import 'node:http';
42
42
  import './deployment.mjs';
43
43
 
@@ -66,6 +66,24 @@ declare function resolveFarmClientCacheAdapterEntry(root: string, cache: FarmCac
66
66
  */
67
67
  declare function generateClientCachePersistenceCode(entry: ResolvedClientCacheAdapterEntry | undefined): ClientCachePersistenceEntryCode;
68
68
 
69
+ /** The slice of Vite's ModuleNode this module reads, kept minimal for tests. */
70
+ interface DevStyleModule {
71
+ url?: string | null;
72
+ id?: string | null;
73
+ file?: string | null;
74
+ }
75
+ /**
76
+ * Stylesheet URLs from the module graph that the document should link,
77
+ * deduped and sorted for a deterministic head. CSS modules (`.module.css`)
78
+ * are left out: their stylesheet comes with the client module that imports
79
+ * them. In islands mode a server component's CSS module has no client module,
80
+ * so `cssModules` links it as `?direct`, which Vite answers with the compiled
81
+ * stylesheet, hashed classes included.
82
+ */
83
+ declare function collectDevStylesheetUrls(modules: Iterable<DevStyleModule>, alreadyLinked?: string, options?: {
84
+ cssModules?: boolean;
85
+ }): string[];
86
+
69
87
  declare function farmFontImportsPlugin(options?: {
70
88
  root?: string;
71
89
  basePath?: string;
@@ -165,4 +183,4 @@ declare function shouldEmitFarmClientRootHmr(renderer?: FarmRenderer): boolean;
165
183
  declare function farmPlugin(options?: FarmVitePluginOptions, initialPluginManager?: PluginManager): Plugin;
166
184
  declare function defineConfig(config?: FarmVitePluginOptions): Promise<UserConfig>;
167
185
 
168
- export { type ClientCachePersistenceEntryCode, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
186
+ export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
package/dist/vite.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Plugin, UserConfig, Connect } from 'vite';
2
- import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-BcqIy4au.js';
2
+ import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-BgPUYPc9.js';
3
3
  import { FarmCacheUserConfig } from './cache.js';
4
- import { P as ProgrammaticClientRoutes } from './client-component.d-Bgt3x5Fu.js';
5
- export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile } from './client-component.d-Bgt3x5Fu.js';
4
+ import { P as ProgrammaticClientRoutes } from './client-component.d-CQLvqLAJ.js';
5
+ export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-CQLvqLAJ.js';
6
6
  import { FarmPlatform } from './platform.js';
7
7
  import { _withAfterNodeMiddleware } from './after.js';
8
8
  import { A as APIRequestRuntime } from './server-client-bridge.d-DKWDl5NB.js';
@@ -37,7 +37,7 @@ import './types.d-C41ePjvP.js';
37
37
  import './config.d-qt-mE8O5.js';
38
38
  import './types.d-DQnyD3VD.js';
39
39
  import './font.js';
40
- import './route-rendering.d-DYqZMIf4.js';
40
+ import './route-rendering.d-BUr3Jp8S.js';
41
41
  import 'node:http';
42
42
  import './deployment.js';
43
43
 
@@ -66,6 +66,24 @@ declare function resolveFarmClientCacheAdapterEntry(root: string, cache: FarmCac
66
66
  */
67
67
  declare function generateClientCachePersistenceCode(entry: ResolvedClientCacheAdapterEntry | undefined): ClientCachePersistenceEntryCode;
68
68
 
69
+ /** The slice of Vite's ModuleNode this module reads, kept minimal for tests. */
70
+ interface DevStyleModule {
71
+ url?: string | null;
72
+ id?: string | null;
73
+ file?: string | null;
74
+ }
75
+ /**
76
+ * Stylesheet URLs from the module graph that the document should link,
77
+ * deduped and sorted for a deterministic head. CSS modules (`.module.css`)
78
+ * are left out: their stylesheet comes with the client module that imports
79
+ * them. In islands mode a server component's CSS module has no client module,
80
+ * so `cssModules` links it as `?direct`, which Vite answers with the compiled
81
+ * stylesheet, hashed classes included.
82
+ */
83
+ declare function collectDevStylesheetUrls(modules: Iterable<DevStyleModule>, alreadyLinked?: string, options?: {
84
+ cssModules?: boolean;
85
+ }): string[];
86
+
69
87
  declare function farmFontImportsPlugin(options?: {
70
88
  root?: string;
71
89
  basePath?: string;
@@ -165,4 +183,4 @@ declare function shouldEmitFarmClientRootHmr(renderer?: FarmRenderer): boolean;
165
183
  declare function farmPlugin(options?: FarmVitePluginOptions, initialPluginManager?: PluginManager): Plugin;
166
184
  declare function defineConfig(config?: FarmVitePluginOptions): Promise<UserConfig>;
167
185
 
168
- export { type ClientCachePersistenceEntryCode, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
186
+ export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };