@farm.js/core 0.1.43 → 0.1.45

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 (139) hide show
  1. package/dist/{agent-mcp-3KDz4hr9.d.mts → agent-mcp-CWI-awqd.d.mts} +1 -1
  2. package/dist/{agent-mcp-6yRebHk7.d.ts → agent-mcp-EnzWYv_X.d.ts} +1 -1
  3. package/dist/agent-runtime.cjs +3 -2
  4. package/dist/agent-runtime.d.mts +1 -1
  5. package/dist/agent-runtime.d.ts +1 -1
  6. package/dist/agent-runtime.mjs +2 -1
  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-8Db1zR-2.d.ts → app-CAN_2Cqo.d.ts} +4 -4
  14. package/dist/{app-DlTWv4cn.d.mts → app-DG3dE8v5.d.mts} +4 -4
  15. package/dist/{app-manifest-TRzS7ZZ9.d.mts → app-manifest-8x5VjZ0L.d.mts} +1 -1
  16. package/dist/{app-manifest-cO2jkG1F.d.ts → app-manifest-DazjgQya.d.ts} +1 -1
  17. package/dist/app-markdown.d.mts +2 -2
  18. package/dist/app-markdown.d.ts +2 -2
  19. package/dist/{chunk-YBDSTNMH.cjs → chunk-2DZOABRK.cjs} +1 -1
  20. package/dist/{chunk-OYSGGV6O.mjs → chunk-2NCY6O6Q.mjs} +5 -5
  21. package/dist/{chunk-AX7S67YV.mjs → chunk-37VKVISD.mjs} +9 -173
  22. package/dist/chunk-3SAWHWDH.cjs +186 -0
  23. package/dist/{chunk-RHGK2JEN.cjs → chunk-B6XAA7V6.cjs} +18 -182
  24. package/dist/{chunk-RQYTOFQM.cjs → chunk-CW6SNEN2.cjs} +2 -2
  25. package/dist/{chunk-T7J7E63D.cjs → chunk-E22SWCXB.cjs} +2 -2
  26. package/dist/{chunk-ZYWJIPKQ.mjs → chunk-FDCV5OCT.mjs} +1 -1
  27. package/dist/{chunk-YGZH4T2X.mjs → chunk-FHQZJJQR.mjs} +1 -1
  28. package/dist/chunk-GZWHCWLB.mjs +186 -0
  29. package/dist/{chunk-JDJAPCR2.cjs → chunk-I5IO3ASU.cjs} +92 -90
  30. package/dist/{chunk-XARSG2TG.mjs → chunk-IOMVXBLZ.mjs} +1 -1
  31. package/dist/{chunk-VLXNGUKO.mjs → chunk-JVXW76I7.mjs} +1 -1
  32. package/dist/{chunk-7SCCY6SI.mjs → chunk-K5DHVEXC.mjs} +3 -3
  33. package/dist/{chunk-BKPXWRTT.cjs → chunk-KVN3YEFF.cjs} +6 -6
  34. package/dist/{chunk-LVABUXLA.cjs → chunk-LPE3ED4R.cjs} +2 -2
  35. package/dist/{chunk-NXO75WY4.mjs → chunk-OYZGFRPA.mjs} +1 -1
  36. package/dist/{chunk-RACQTC7K.cjs → chunk-SIVK2SRR.cjs} +52 -52
  37. package/dist/{chunk-GVNCWSQV.cjs → chunk-UN4B2TXC.cjs} +4 -4
  38. package/dist/{chunk-4OCEMK72.mjs → chunk-VR64PHNT.mjs} +10 -8
  39. package/dist/{chunk-4MRQ5OKQ.mjs → chunk-WWYXIECF.mjs} +1 -1
  40. package/dist/{chunk-TESO7EFU.mjs → chunk-X6YOWNDZ.mjs} +2 -2
  41. package/dist/{chunk-VIVQERJ5.cjs → chunk-YAD64RWI.cjs} +57 -57
  42. package/dist/{chunk-HUMEHX24.cjs → chunk-YN2QEMMO.cjs} +2 -2
  43. package/dist/{client-plugins-kwQuZcWq.d.ts → client-plugins-BGS0wqzc.d.ts} +16 -15
  44. package/dist/{client-plugins-Cv0OJtnM.d.mts → client-plugins-nQ0tYt4l.d.mts} +16 -15
  45. package/dist/client-plugins.d.mts +1 -1
  46. package/dist/client-plugins.d.ts +1 -1
  47. package/dist/client.d.mts +5 -5
  48. package/dist/client.d.ts +5 -5
  49. package/dist/config.d.mts +1 -1
  50. package/dist/config.d.ts +1 -1
  51. package/dist/{devtools-MLB3JJMC.cjs → devtools-5Q7VRKVH.cjs} +4 -3
  52. package/dist/{devtools-M22FEFPK.mjs → devtools-LJ4IGYGW.mjs} +3 -2
  53. package/dist/docs.cjs +5 -4
  54. package/dist/docs.d.mts +2 -2
  55. package/dist/docs.d.ts +2 -2
  56. package/dist/docs.mjs +4 -3
  57. package/dist/{index-DAl0QTZS.d.ts → index-Cy26isrh.d.ts} +1 -1
  58. package/dist/{index-CQOp8EmB.d.mts → index-y1jgR74U.d.mts} +1 -1
  59. package/dist/index.cjs +13 -11
  60. package/dist/index.d.mts +15 -15
  61. package/dist/index.d.ts +15 -15
  62. package/dist/index.mjs +14 -12
  63. package/dist/integrations.cjs +5 -3
  64. package/dist/integrations.d.mts +1 -1
  65. package/dist/integrations.d.ts +1 -1
  66. package/dist/integrations.mjs +6 -4
  67. package/dist/internal/app-markdown-runtime.d.mts +2 -2
  68. package/dist/internal/app-markdown-runtime.d.ts +2 -2
  69. package/dist/internal/build-runtime.cjs +11 -10
  70. package/dist/internal/build-runtime.d.mts +3 -3
  71. package/dist/internal/build-runtime.d.ts +3 -3
  72. package/dist/internal/build-runtime.mjs +10 -9
  73. package/dist/internal/cli-runtime.cjs +5 -4
  74. package/dist/internal/cli-runtime.mjs +4 -3
  75. package/dist/internal/client-error-overlay.cjs +4 -4
  76. package/dist/internal/client-error-overlay.mjs +1 -1
  77. package/dist/internal/compression-runtime.d.mts +1 -1
  78. package/dist/internal/compression-runtime.d.ts +1 -1
  79. package/dist/internal/config-runtime.cjs +4 -3
  80. package/dist/internal/config-runtime.d.mts +2 -2
  81. package/dist/internal/config-runtime.d.ts +2 -2
  82. package/dist/internal/config-runtime.mjs +3 -2
  83. package/dist/internal/product-telemetry-runtime.cjs +2 -2
  84. package/dist/internal/product-telemetry-runtime.mjs +1 -1
  85. package/dist/internal/production-runtime.cjs +5 -11
  86. package/dist/internal/production-runtime.d.mts +10 -10
  87. package/dist/internal/production-runtime.d.ts +10 -10
  88. package/dist/internal/production-runtime.mjs +4 -10
  89. package/dist/markdown.d.mts +1 -1
  90. package/dist/markdown.d.ts +1 -1
  91. package/dist/middleware.d.mts +3 -3
  92. package/dist/middleware.d.ts +3 -3
  93. package/dist/navigation.d.mts +4 -4
  94. package/dist/navigation.d.ts +4 -4
  95. package/dist/plugin.cjs +7 -6
  96. package/dist/plugin.d.mts +3 -3
  97. package/dist/plugin.d.ts +3 -3
  98. package/dist/plugin.mjs +6 -5
  99. package/dist/{production-runtime-5nArjFpn.d.ts → production-runtime-BVMDgHrA.d.ts} +1 -1
  100. package/dist/{production-runtime-BzsF2z5F.d.mts → production-runtime-ClFA_1KQ.d.mts} +1 -1
  101. package/dist/{render-plan-B9yQorV4.d.mts → render-plan-CoSovy_O.d.mts} +1 -1
  102. package/dist/{render-plan-fg6E_HvL.d.ts → render-plan-y2DefWf8.d.ts} +1 -1
  103. package/dist/renderer-client.d.mts +3 -3
  104. package/dist/renderer-client.d.ts +3 -3
  105. package/dist/{request-gz8vFK0n.d.ts → request-aG5Wovm5.d.ts} +1 -1
  106. package/dist/{request-C4j_g-BH.d.mts → request-cNM09Q7e.d.mts} +1 -1
  107. package/dist/request.d.mts +2 -2
  108. package/dist/request.d.ts +2 -2
  109. package/dist/{route-rendering-DamyKVi3.d.ts → route-rendering-B3uQmCWX.d.ts} +1 -1
  110. package/dist/{route-rendering-iTTOwz1f.d.mts → route-rendering-EyInfsjI.d.mts} +1 -1
  111. package/dist/{router-OVjDqVo8.d.ts → router-DNUf-Bg1.d.ts} +1 -1
  112. package/dist/{router-EoSzHlos.d.mts → router-Devibh4r.d.mts} +1 -1
  113. package/dist/routes.d.mts +1 -1
  114. package/dist/routes.d.ts +1 -1
  115. package/dist/{rsc-pipeline-YCDRJME4.cjs → rsc-pipeline-4ZJ6GUVQ.cjs} +5 -4
  116. package/dist/{rsc-pipeline-LK4K5JFK.mjs → rsc-pipeline-KK6GFDET.mjs} +4 -3
  117. package/dist/{runtime-DDH4tiuF.d.mts → runtime-9KZb8AI5.d.mts} +1 -1
  118. package/dist/{runtime-CwiuozLd.d.ts → runtime-CLr9P5kn.d.ts} +1 -1
  119. package/dist/server-plugins.d.mts +2 -2
  120. package/dist/server-plugins.d.ts +2 -2
  121. package/dist/server.cjs +22 -21
  122. package/dist/server.d.mts +9 -9
  123. package/dist/server.d.ts +9 -9
  124. package/dist/server.mjs +8 -7
  125. package/dist/{spa-router-Br4qFCWf.d.mts → spa-router-BIxh4IY-.d.mts} +2 -2
  126. package/dist/{spa-router-BsWUKH73.d.ts → spa-router-Ds6R_oe-.d.ts} +2 -2
  127. package/dist/{ssg-Donyfcxy.d.mts → ssg-ByrOVYdM.d.mts} +2 -2
  128. package/dist/{ssg-Csy2vwpi.d.ts → ssg-XnMHCyEc.d.ts} +2 -2
  129. package/dist/testing.d.mts +1 -1
  130. package/dist/testing.d.ts +1 -1
  131. package/dist/{utils-Luk72LXC.d.ts → utils-BN70ueSN.d.ts} +1 -1
  132. package/dist/{utils-d_k1ZZw0.d.mts → utils-BrjR5xRs.d.mts} +1 -1
  133. package/dist/version.cjs +2 -2
  134. package/dist/version.mjs +1 -1
  135. package/dist/vite.cjs +7 -6
  136. package/dist/vite.d.mts +4 -4
  137. package/dist/vite.d.ts +4 -4
  138. package/dist/vite.mjs +6 -5
  139. package/package.json +1 -1
@@ -30,7 +30,7 @@ var _chunkKEXK442Icjs = require('./chunk-KEXK442I.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunkRACQTC7Kcjs = require('./chunk-RACQTC7K.cjs');
33
+ var _chunkSIVK2SRRcjs = require('./chunk-SIVK2SRR.cjs');
34
34
 
35
35
 
36
36
  var _chunk45QJHGZMcjs = require('./chunk-45QJHGZM.cjs');
@@ -58,7 +58,7 @@ var _chunk3XEMGDBFcjs = require('./chunk-3XEMGDBF.cjs');
58
58
 
59
59
 
60
60
 
61
- var _chunkGVNCWSQVcjs = require('./chunk-GVNCWSQV.cjs');
61
+ var _chunkUN4B2TXCcjs = require('./chunk-UN4B2TXC.cjs');
62
62
 
63
63
 
64
64
  var _chunkCXP5U3RWcjs = require('./chunk-CXP5U3RW.cjs');
@@ -140,7 +140,7 @@ var _chunk6QQDAAAZcjs = require('./chunk-6QQDAAAZ.cjs');
140
140
 
141
141
 
142
142
 
143
- var _chunkRHGK2JENcjs = require('./chunk-RHGK2JEN.cjs');
143
+ var _chunkB6XAA7V6cjs = require('./chunk-B6XAA7V6.cjs');
144
144
 
145
145
 
146
146
  var _chunkL6A26QT5cjs = require('./chunk-L6A26QT5.cjs');
@@ -218,7 +218,7 @@ var _chunkKNBBQHO2cjs = require('./chunk-KNBBQHO2.cjs');
218
218
  var _chunk5NAVKJCZcjs = require('./chunk-5NAVKJCZ.cjs');
219
219
 
220
220
 
221
- var _chunkYBDSTNMHcjs = require('./chunk-YBDSTNMH.cjs');
221
+ var _chunk2DZOABRKcjs = require('./chunk-2DZOABRK.cjs');
222
222
 
223
223
 
224
224
  var _chunkS3A45T7Fcjs = require('./chunk-S3A45T7F.cjs');
@@ -769,7 +769,7 @@ function loadFarmWorkflowsDevRuntime() {
769
769
  }
770
770
  _chunkS3JO3N4Hcjs.__name.call(void 0, loadFarmWorkflowsDevRuntime, "loadFarmWorkflowsDevRuntime");
771
771
  function loadFarmDevtoolsSnapshotRuntime() {
772
- return import("./devtools-MLB3JJMC.cjs");
772
+ return import("./devtools-5Q7VRKVH.cjs");
773
773
  }
774
774
  _chunkS3JO3N4Hcjs.__name.call(void 0, loadFarmDevtoolsSnapshotRuntime, "loadFarmDevtoolsSnapshotRuntime");
775
775
  function loadFarmDevtoolsUIRuntime() {
@@ -856,7 +856,7 @@ function renderFarmI18nStaticHead(requestPath, snapshot) {
856
856
  if (!snapshot) return "";
857
857
  const runtime = `<script>window.__FARM_I18N__ = ${serializeFarmInlineValue(snapshot)};</script>`;
858
858
  if (snapshot.routing === "none") return runtime;
859
- return `${_chunkGVNCWSQVcjs.renderFarmLocaleAlternateLinks.call(void 0, requestPath, snapshot)}${runtime}`;
859
+ return `${_chunkUN4B2TXCcjs.renderFarmLocaleAlternateLinks.call(void 0, requestPath, snapshot)}${runtime}`;
860
860
  }
861
861
  _chunkS3JO3N4Hcjs.__name.call(void 0, renderFarmI18nStaticHead, "renderFarmI18nStaticHead");
862
862
  function getPublicEnvDefine(config) {
@@ -1368,7 +1368,7 @@ function hasViteAlias(alias, find) {
1368
1368
  _chunkS3JO3N4Hcjs.__name.call(void 0, hasViteAlias, "hasViteAlias");
1369
1369
  function farmPlugin(options = {}, initialPluginManager) {
1370
1370
  const imageImports = farmImageImportsPlugin();
1371
- const fontImports = _chunkRACQTC7Kcjs.farmFontImportsPlugin.call(void 0, {
1371
+ const fontImports = _chunkSIVK2SRRcjs.farmFontImportsPlugin.call(void 0, {
1372
1372
  root: options.root,
1373
1373
  basePath: options.basePath,
1374
1374
  publicDir: options.publicDir
@@ -1405,7 +1405,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1405
1405
  config(userConfig, configEnv) {
1406
1406
  isBuild = configEnv.command === "build";
1407
1407
  const layerAliases = _chunkWBKEZXWEcjs.getFarmLayerAliases.call(void 0, options.layers);
1408
- const sourceAlias = hasViteAlias(_optionalChain([userConfig, 'access', _72 => _72.resolve, 'optionalAccess', _73 => _73.alias]), "@") ? {} : _chunkRACQTC7Kcjs.createFarmSourceAlias.call(void 0, options.root || process.cwd(), options.srcDir);
1408
+ const sourceAlias = hasViteAlias(_optionalChain([userConfig, 'access', _72 => _72.resolve, 'optionalAccess', _73 => _73.alias]), "@") ? {} : _chunkSIVK2SRRcjs.createFarmSourceAlias.call(void 0, options.root || process.cwd(), options.srcDir);
1409
1409
  const layerRoots = (_nullishCoalesce(options.layers, () => ( []))).map((layer) => layer.root);
1410
1410
  return {
1411
1411
  // Honor Farm's publicDir so the dev server serves the same static
@@ -1458,7 +1458,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1458
1458
  } catch (e12) {
1459
1459
  }
1460
1460
  }, "emitPluginError");
1461
- farmApp = new (0, _chunkRACQTC7Kcjs.FarmApp)(
1461
+ farmApp = new (0, _chunkSIVK2SRRcjs.FarmApp)(
1462
1462
  {
1463
1463
  ...options,
1464
1464
  root: resolveDevelopmentRoot(options.root, server.config.root)
@@ -1784,7 +1784,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1784
1784
  return _chunkAMDMVWMIcjs.resolveFarmLayoutFonts.call(void 0, layoutModules);
1785
1785
  }, "resolveDocsLayoutFonts");
1786
1786
  releaseDocsMCPServers();
1787
- const isFarmDocsPathGuarded = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (href) => _chunkGVNCWSQVcjs.farmPathGuardCoversPage.call(void 0,
1787
+ const isFarmDocsPathGuarded = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (href) => _chunkUN4B2TXCcjs.farmPathGuardCoversPage.call(void 0,
1788
1788
  {
1789
1789
  config: farmConfig,
1790
1790
  middlewareRoutes: middlewareManager.getMiddlewares().filter((entry) => entry.source !== "config")
@@ -1797,7 +1797,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1797
1797
  clientEntry: "/@farm/client.js",
1798
1798
  resolveLayoutFonts: resolveDocsLayoutFonts,
1799
1799
  fontStylesheetHref: "/@farm/fonts.css",
1800
- globalStylesheetHref: _chunkRACQTC7Kcjs.resolveDevGlobalStylesheetHref.call(void 0,
1800
+ globalStylesheetHref: _chunkSIVK2SRRcjs.resolveDevGlobalStylesheetHref.call(void 0,
1801
1801
  farmConfig.root,
1802
1802
  farmConfig.srcDir
1803
1803
  ),
@@ -1827,7 +1827,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1827
1827
  fontAssets: _chunkHREOKQWTcjs.toFarmDocsPublicFontAssets.call(void 0, farmDocsFontAssetList),
1828
1828
  resolveLayoutFonts: resolveDocsLayoutFonts,
1829
1829
  fontStylesheetHref: "/@farm/fonts.css",
1830
- globalStylesheetHref: _chunkRACQTC7Kcjs.resolveDevGlobalStylesheetHref.call(void 0,
1830
+ globalStylesheetHref: _chunkSIVK2SRRcjs.resolveDevGlobalStylesheetHref.call(void 0,
1831
1831
  farmConfig.root,
1832
1832
  farmConfig.srcDir
1833
1833
  ),
@@ -1841,7 +1841,7 @@ function farmPlugin(options = {}, initialPluginManager) {
1841
1841
  const matchedRoute = routeManager.matchRoute(pathname);
1842
1842
  const layoutEntries = matchedRoute.layouts.map((layout) => ({
1843
1843
  ...layout,
1844
- metadata: _chunkRACQTC7Kcjs.getClientModuleMetadata.call(void 0, layout.modulePath, farmConfig.root)
1844
+ metadata: _chunkSIVK2SRRcjs.getClientModuleMetadata.call(void 0, layout.modulePath, farmConfig.root)
1845
1845
  }));
1846
1846
  if (!layoutEntries.some((layout) => layout.metadata.shouldHydrate)) {
1847
1847
  return response;
@@ -2177,24 +2177,24 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2177
2177
  );
2178
2178
  return;
2179
2179
  }
2180
- if (_optionalChain([options, 'access', _144 => _144.agent, 'optionalAccess', _145 => _145.manifest]) !== false && _chunkGVNCWSQVcjs.isFarmAppManifestPath.call(void 0, _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, requestPathname, farmConfig.basePath))) {
2180
+ if (_optionalChain([options, 'access', _144 => _144.agent, 'optionalAccess', _145 => _145.manifest]) !== false && _chunkUN4B2TXCcjs.isFarmAppManifestPath.call(void 0, _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, requestPathname, farmConfig.basePath))) {
2181
2181
  await serveBuiltInRoute(async () => {
2182
- _nullishCoalesce(farmAppPackages, () => ( (farmAppPackages = _chunkRACQTC7Kcjs.resolveFarmAppPackages.call(void 0, _nullishCoalesce(farmConfig.root, () => ( process.cwd()))))));
2183
- const manifest = await _chunkGVNCWSQVcjs.createFarmAppManifestResponse.call(void 0,
2182
+ _nullishCoalesce(farmAppPackages, () => ( (farmAppPackages = _chunkSIVK2SRRcjs.resolveFarmAppPackages.call(void 0, _nullishCoalesce(farmConfig.root, () => ( process.cwd()))))));
2183
+ const manifest = await _chunkUN4B2TXCcjs.createFarmAppManifestResponse.call(void 0,
2184
2184
  new Request(parsedRequestUrl, {
2185
2185
  method: requestMethod,
2186
2186
  headers: { "if-none-match": String(_nullishCoalesce(req.headers["if-none-match"], () => ( ""))) }
2187
2187
  }),
2188
2188
  {
2189
- ..._chunkGVNCWSQVcjs.resolveFarmAppManifestInput.call(void 0, farmConfig, {
2189
+ ..._chunkUN4B2TXCcjs.resolveFarmAppManifestInput.call(void 0, farmConfig, {
2190
2190
  build: "development",
2191
2191
  packages: farmAppPackages,
2192
2192
  // Read again on each request; unchanged files come from a cache.
2193
- webmcpTools: _optionalChain([farmConfig, 'access', _146 => _146.plugins, 'optionalAccess', _147 => _147.some, 'call', _148 => _148(({ name }) => name === "farm:webmcp")]) ? _chunkRACQTC7Kcjs.collectFarmWebMCPTools.call(void 0, _nullishCoalesce(farmConfig.root, () => ( process.cwd())), farmConfig.srcDir) : []
2193
+ webmcpTools: _optionalChain([farmConfig, 'access', _146 => _146.plugins, 'optionalAccess', _147 => _147.some, 'call', _148 => _148(({ name }) => name === "farm:webmcp")]) ? _chunkSIVK2SRRcjs.collectFarmWebMCPTools.call(void 0, _nullishCoalesce(farmConfig.root, () => ( process.cwd())), farmConfig.srcDir) : []
2194
2194
  }),
2195
2195
  defaultMCP: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => farmApp.getServerRenderer().getDefaultMCPServer(), "defaultMCP"),
2196
2196
  // A guard written for an MCP server's path keeps its tools out of the public view.
2197
- guardCoversPath: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (path6) => _chunkGVNCWSQVcjs.farmPathGuardCoversEndpoint.call(void 0,
2197
+ guardCoversPath: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (path6) => _chunkUN4B2TXCcjs.farmPathGuardCoversEndpoint.call(void 0,
2198
2198
  {
2199
2199
  config: farmConfig,
2200
2200
  middlewareRoutes: middlewareManager.getMiddlewares().filter((entry) => entry.source !== "config")
@@ -2208,11 +2208,11 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2208
2208
  });
2209
2209
  return;
2210
2210
  }
2211
- if (_optionalChain([options, 'access', _149 => _149.agent, 'optionalAccess', _150 => _150.apiCatalog]) && _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, requestPathname, farmConfig.basePath) === _chunkGVNCWSQVcjs.FARM_API_CATALOG_PATH) {
2211
+ if (_optionalChain([options, 'access', _149 => _149.agent, 'optionalAccess', _150 => _150.apiCatalog]) && _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, requestPathname, farmConfig.basePath) === _chunkUN4B2TXCcjs.FARM_API_CATALOG_PATH) {
2212
2212
  await serveBuiltInRoute(
2213
- () => _chunkGVNCWSQVcjs.createFarmApiCatalogResponse.call(void 0,
2213
+ () => _chunkUN4B2TXCcjs.createFarmApiCatalogResponse.call(void 0,
2214
2214
  requestMethod,
2215
- _chunkGVNCWSQVcjs.resolveFarmApiCatalogInput.call(void 0, { ...options, api: farmConfig.api }),
2215
+ _chunkUN4B2TXCcjs.resolveFarmApiCatalogInput.call(void 0, { ...options, api: farmConfig.api }),
2216
2216
  new Request(parsedRequestUrl, {
2217
2217
  headers: { "user-agent": String(_nullishCoalesce(req.headers["user-agent"], () => ( ""))) }
2218
2218
  })
@@ -2221,7 +2221,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2221
2221
  return;
2222
2222
  }
2223
2223
  if (_optionalChain([options, 'access', _151 => _151.agent, 'optionalAccess', _152 => _152.aiCatalog]) !== false) {
2224
- const aiCatalog = _chunkGVNCWSQVcjs.createFarmAiCatalogResponse.call(void 0,
2224
+ const aiCatalog = _chunkUN4B2TXCcjs.createFarmAiCatalogResponse.call(void 0,
2225
2225
  new Request(parsedRequestUrl, {
2226
2226
  method: requestMethod,
2227
2227
  headers: {
@@ -2397,7 +2397,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2397
2397
  }
2398
2398
  const configuredIntegrations = currentConfig.integrations;
2399
2399
  const tryConfiguredIntegrationRoute = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, async () => {
2400
- const matchedRoute = _chunkRHGK2JENcjs.matchIntegrationRoute.call(void 0, configuredIntegrations, {
2400
+ const matchedRoute = _chunkB6XAA7V6cjs.matchIntegrationRoute.call(void 0, configuredIntegrations, {
2401
2401
  pathname: requestPathname,
2402
2402
  method: requestMethod
2403
2403
  });
@@ -2410,7 +2410,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2410
2410
  await pm.runHookParallelFiltered(
2411
2411
  "beforeRequest",
2412
2412
  (plugin) => {
2413
- const owner = _chunkRHGK2JENcjs.getFarmIntegrationPluginOwner.call(void 0, plugin);
2413
+ const owner = _chunkB6XAA7V6cjs.getFarmIntegrationPluginOwner.call(void 0, plugin);
2414
2414
  return plugin.name !== _chunkNFG4PUPIcjs.FARM_CONFIG_REWRITES_PLUGIN_NAME && (_optionalChain([owner, 'optionalAccess', _155 => _155.source]) !== "lifecycle" || owner.key !== matchedRoute.key);
2415
2415
  },
2416
2416
  req,
@@ -2439,7 +2439,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2439
2439
  signal: _chunk5NAVKJCZcjs.createFarmNodeRequestAbortSignal.call(void 0, req, res)
2440
2440
  });
2441
2441
  const dispatchIntegration = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, async (request) => {
2442
- const result = await _chunkRHGK2JENcjs.dispatchIntegrationRequest.call(void 0,
2442
+ const result = await _chunkB6XAA7V6cjs.dispatchIntegrationRequest.call(void 0,
2443
2443
  {
2444
2444
  integration: matchedRoute.integration,
2445
2445
  config: currentConfig,
@@ -2798,7 +2798,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2798
2798
  );
2799
2799
  const loadingModule = loadingBoundary ? await routeManager3.loadRouteModule(loadingBoundary.modulePath) : null;
2800
2800
  const navigationManifest = routeManager3.generateClientManifest(server.config.root);
2801
- const moduleMetadata = _nullishCoalesce(navigationManifest.routes.find((entry) => entry.pattern === route.pattern), () => ( _chunkRACQTC7Kcjs.getClientModuleMetadata.call(void 0, route.modulePath, server.config.root)));
2801
+ const moduleMetadata = _nullishCoalesce(navigationManifest.routes.find((entry) => entry.pattern === route.pattern), () => ( _chunkSIVK2SRRcjs.getClientModuleMetadata.call(void 0, route.modulePath, server.config.root)));
2802
2802
  const isClientComponent = moduleMetadata.isClientComponent;
2803
2803
  const shouldHydrate = moduleMetadata.shouldHydrate;
2804
2804
  let mergedMetadata = {};
@@ -2806,7 +2806,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2806
2806
  layouts.map((layout) => routeManager3.loadLayoutModule(layout.modulePath))
2807
2807
  );
2808
2808
  const layoutHydrationMetadata = layouts.map(
2809
- (layout) => _nullishCoalesce(navigationManifest.layouts.find((entry) => entry.pattern === layout.pattern), () => ( _chunkRACQTC7Kcjs.getClientModuleMetadata.call(void 0, layout.modulePath, server.config.root)))
2809
+ (layout) => _nullishCoalesce(navigationManifest.layouts.find((entry) => entry.pattern === layout.pattern), () => ( _chunkSIVK2SRRcjs.getClientModuleMetadata.call(void 0, layout.modulePath, server.config.root)))
2810
2810
  );
2811
2811
  const shouldHydrateLayout = layoutHydrationMetadata.some(
2812
2812
  (metadata) => metadata.shouldHydrate
@@ -2870,7 +2870,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2870
2870
  const slotModule = await routeManager3.loadRouteModule(slot.route.modulePath);
2871
2871
  const slotMetadata = _nullishCoalesce(navigationManifest.slots.find(
2872
2872
  (entry) => entry.name === slot.name && entry.ownerPattern === slot.ownerPattern && entry.pattern === slot.route.pattern
2873
- ), () => ( _chunkRACQTC7Kcjs.getClientModuleMetadata.call(void 0, slot.route.modulePath, server.config.root)));
2873
+ ), () => ( _chunkSIVK2SRRcjs.getClientModuleMetadata.call(void 0, slot.route.modulePath, server.config.root)));
2874
2874
  const slotContext = await _chunk6QQDAAAZcjs.resolveFarmRouteContext.call(void 0, farmApp.getConfig(), {
2875
2875
  request: targetRequest,
2876
2876
  params: slot.params,
@@ -2916,15 +2916,15 @@ window.__FARM_MANIFEST__ = ${inlineValue({
2916
2916
  );
2917
2917
  const projectRoot = server.config.root;
2918
2918
  const toUrlPath = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (absolutePath) => _chunk5QIKR7RRcjs.toViteModuleId.call(void 0, absolutePath, projectRoot), "toUrlPath");
2919
- const renderPlan = _chunkGVNCWSQVcjs.createFarmRouteRenderPlan.call(void 0, {
2919
+ const renderPlan = _chunkUN4B2TXCcjs.createFarmRouteRenderPlan.call(void 0, {
2920
2920
  pageShouldHydrate: shouldHydrate,
2921
2921
  layoutShouldHydrate: shouldHydrateLayout,
2922
2922
  islandStrategy: hydrationIslandStrategy,
2923
2923
  rendering: _chunk3XEMGDBFcjs.resolveRouteRenderingConfig.call(void 0, routeModule)
2924
2924
  });
2925
2925
  const destinationLayoutPatterns = layouts.map((layout) => layout.pattern);
2926
- const layoutStartIndex = _chunkGVNCWSQVcjs.getSharedLayoutPrefixLength.call(void 0,
2927
- _chunkGVNCWSQVcjs.parseFarmLayoutChainHeader.call(void 0, request.headers.get("x-farm-layout-chain")),
2926
+ const layoutStartIndex = _chunkUN4B2TXCcjs.getSharedLayoutPrefixLength.call(void 0,
2927
+ _chunkUN4B2TXCcjs.parseFarmLayoutChainHeader.call(void 0, request.headers.get("x-farm-layout-chain")),
2928
2928
  destinationLayoutPatterns
2929
2929
  );
2930
2930
  const renderer = farmApp.getServerRenderer();
@@ -3005,7 +3005,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
3005
3005
  {
3006
3006
  status: 200,
3007
3007
  headers: {
3008
- "Cache-Control": _chunkGVNCWSQVcjs.getFarmFragmentCacheControl.call(void 0, renderPlan),
3008
+ "Cache-Control": _chunkUN4B2TXCcjs.getFarmFragmentCacheControl.call(void 0, renderPlan),
3009
3009
  "X-Farm-Navigation": "html-fragment",
3010
3010
  Vary: "X-Farm-Layout-Chain",
3011
3011
  [_chunkC5GUTBZKcjs.FARM_DEPLOYMENT_ID_HEADER]: farmConfig.deploymentId
@@ -3273,8 +3273,8 @@ window.__FARM_MANIFEST__ = ${inlineValue({
3273
3273
  ) : EMPTY_FARM_DOCS_SEARCH_CLIENT_RUNTIME;
3274
3274
  const generatedDevtoolsClientRuntime = devtoolsClientRuntime ? devtoolsClientRuntime.generateFarmDevtoolsClientRuntime(devtools) : "";
3275
3275
  const generatedDevIndicatorsClientRuntime = farmApp ? _chunkPDU4P2ICcjs.generateFarmDevIndicatorsClientRuntime.call(void 0, farmApp.getConfig().devIndicators) : "";
3276
- const integrationProviders = _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, renderer) ? _chunkRHGK2JENcjs.getIntegrationProviders.call(void 0, integrations) : [];
3277
- const isolatedHydrationMode = _chunkRACQTC7Kcjs.resolveFarmIsolatedClientHydrationMode.call(void 0,
3276
+ const integrationProviders = _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, renderer) ? _chunkB6XAA7V6cjs.getIntegrationProviders.call(void 0, integrations) : [];
3277
+ const isolatedHydrationMode = _chunkSIVK2SRRcjs.resolveFarmIsolatedClientHydrationMode.call(void 0,
3278
3278
  _optionalChain([resolvedConfig, 'optionalAccess', _251 => _251.experimental, 'optionalAccess', _252 => _252.isolatedClientHydration]),
3279
3279
  {
3280
3280
  serverComponents: _chunkPDU4P2ICcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([resolvedConfig, 'optionalAccess', _253 => _253.experimental, 'optionalAccess', _254 => _254.serverComponents])) === "rsc",
@@ -3284,7 +3284,7 @@ window.__FARM_MANIFEST__ = ${inlineValue({
3284
3284
  return generateClientCode(
3285
3285
  integrationProviders,
3286
3286
  [
3287
- ..._chunkRHGK2JENcjs.getIntegrationDocumentNavigationMatchers.call(void 0, integrations),
3287
+ ..._chunkB6XAA7V6cjs.getIntegrationDocumentNavigationMatchers.call(void 0, integrations),
3288
3288
  ..._nullishCoalesce(_optionalChain([docsRuntime, 'optionalAccess', _255 => _255.getFarmDocsDocumentNavigationMatchers, 'call', _256 => _256(docs)]), () => ( []))
3289
3289
  ],
3290
3290
  generatedDocsSearchRuntime,
@@ -3299,8 +3299,8 @@ ${generatedDevIndicatorsClientRuntime}`,
3299
3299
  isolatedHydrationMode === "enabled" || _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, renderer) && _optionalChain([(_nullishCoalesce(options.isolatedClientBoundaryModules, () => ( _optionalChain([farmApp, 'optionalAccess', _262 => _262.getRouteManager, 'call', _263 => _263(), 'access', _264 => _264.getIsolatedClientBoundaryModules, 'call', _265 => _265(root)])))), 'optionalAccess', _266 => _266.size]) > 0,
3300
3300
  _nullishCoalesce(_optionalChain([resolvedConfig, 'optionalAccess', _267 => _267.trailingSlash]), () => ( false)),
3301
3301
  _nullishCoalesce(_optionalChain([resolvedConfig, 'optionalAccess', _268 => _268.basePath]), () => ( "/")),
3302
- _chunkRACQTC7Kcjs.generateClientCachePersistenceCode.call(void 0,
3303
- _chunkRACQTC7Kcjs.resolveFarmClientCacheAdapterEntry.call(void 0, root, _optionalChain([resolvedConfig, 'optionalAccess', _269 => _269.cache]))
3302
+ _chunkSIVK2SRRcjs.generateClientCachePersistenceCode.call(void 0,
3303
+ _chunkSIVK2SRRcjs.resolveFarmClientCacheAdapterEntry.call(void 0, root, _optionalChain([resolvedConfig, 'optionalAccess', _269 => _269.cache]))
3304
3304
  ),
3305
3305
  _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, renderer) ? _chunkCY2ZQ5C6cjs.getFarmDocsAdapterConfigModule.call(void 0, docs) : void 0,
3306
3306
  _chunkPDU4P2ICcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([resolvedConfig, 'optionalAccess', _270 => _270.experimental, 'optionalAccess', _271 => _271.serverComponents])) === "islands"
@@ -3323,7 +3323,7 @@ export const getManifest = () => ({
3323
3323
  `;
3324
3324
  }
3325
3325
  const manifest = routeManager.generateClientManifest(server.config.root);
3326
- const globalStylesheetHref = _chunkRACQTC7Kcjs.resolveDevGlobalStylesheetHref.call(void 0,
3326
+ const globalStylesheetHref = _chunkSIVK2SRRcjs.resolveDevGlobalStylesheetHref.call(void 0,
3327
3327
  server.config.root,
3328
3328
  _optionalChain([farmApp, 'optionalAccess', _274 => _274.getConfig, 'call', _275 => _275(), 'access', _276 => _276.srcDir])
3329
3329
  );
@@ -3351,11 +3351,11 @@ export const getManifest = () => ({
3351
3351
  };
3352
3352
  }
3353
3353
  for (const layout of manifest.layouts) {
3354
- const groupScope = _chunkGVNCWSQVcjs.getRouteGroupScope.call(void 0, layout.pattern);
3354
+ const groupScope = _chunkUN4B2TXCcjs.getRouteGroupScope.call(void 0, layout.pattern);
3355
3355
  fullManifest.layouts[layout.pattern] = {
3356
3356
  modulePath: layout.modulePath,
3357
3357
  pattern: layout.pattern,
3358
- ...groupScope ? { urlPattern: _chunkGVNCWSQVcjs.stripRouteGroups.call(void 0, layout.pattern), groupScope } : {},
3358
+ ...groupScope ? { urlPattern: _chunkUN4B2TXCcjs.stripRouteGroups.call(void 0, layout.pattern), groupScope } : {},
3359
3359
  shouldHydrate: layout.shouldHydrate,
3360
3360
  islandStrategy: layout.islandStrategy,
3361
3361
  preloads: [layout.modulePath],
@@ -3394,8 +3394,8 @@ export const manifest = getManifest();
3394
3394
  }
3395
3395
  if (!_optionalChain([transformOptions, 'optionalAccess', _284 => _284.ssr])) {
3396
3396
  const docsConfigModule = _chunkCY2ZQ5C6cjs.getFarmDocsAdapterConfigModule.call(void 0, _optionalChain([farmApp, 'optionalAccess', _285 => _285.getConfig, 'call', _286 => _286(), 'optionalAccess', _287 => _287.docs]));
3397
- if (_chunkRACQTC7Kcjs.isFarmDocsClientConfigModule.call(void 0, id, docsConfigModule)) {
3398
- const redacted = _chunkRACQTC7Kcjs.redactFarmDocsClientConfig.call(void 0, code, id.split("?")[0]);
3397
+ if (_chunkSIVK2SRRcjs.isFarmDocsClientConfigModule.call(void 0, id, docsConfigModule)) {
3398
+ const redacted = _chunkSIVK2SRRcjs.redactFarmDocsClientConfig.call(void 0, code, id.split("?")[0]);
3399
3399
  if (redacted !== null) return { code: redacted, map: null };
3400
3400
  }
3401
3401
  }
@@ -3442,13 +3442,13 @@ export const manifest = getManifest();
3442
3442
  transformed = true;
3443
3443
  }
3444
3444
  }
3445
- if (_chunkRACQTC7Kcjs.hasUseClientDirective.call(void 0, transformedCode)) {
3445
+ if (_chunkSIVK2SRRcjs.hasUseClientDirective.call(void 0, transformedCode)) {
3446
3446
  const clientBoundarySource = transformedCode;
3447
3447
  const moduleInfo = this.getModuleInfo(id);
3448
3448
  if (moduleInfo) {
3449
3449
  moduleInfo.isClientComponent = true;
3450
3450
  }
3451
- transformedCode = _chunkRACQTC7Kcjs.stripUseClientDirective.call(void 0, transformedCode);
3451
+ transformedCode = _chunkSIVK2SRRcjs.stripUseClientDirective.call(void 0, transformedCode);
3452
3452
  transformed = true;
3453
3453
  const currentConfig = _nullishCoalesce(_optionalChain([farmApp, 'optionalAccess', _300 => _300.getConfig, 'call', _301 => _301()]), () => ( options));
3454
3454
  let isolatedModuleReference = null;
@@ -3456,12 +3456,12 @@ export const manifest = getManifest();
3456
3456
  const cleanId = id.split("?", 1)[0];
3457
3457
  const selectedIsolatedModules = _nullishCoalesce(options.isolatedClientBoundaryModules, () => ( _optionalChain([farmApp, 'optionalAccess', _304 => _304.getRouteManager, 'call', _305 => _305(), 'access', _306 => _306.getIsolatedClientBoundaryModules, 'call', _307 => _307(root)])));
3458
3458
  const selectedForIsolatedHydration = _optionalChain([selectedIsolatedModules, 'optionalAccess', _308 => _308.has, 'call', _309 => _309(path5.resolve(cleanId))]) === true;
3459
- if (_chunkPSV6XKPOcjs.isReactRenderer.call(void 0, _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, currentConfig.renderer)) && selectedForIsolatedHydration && _chunkRACQTC7Kcjs.isIsolatableClientBoundarySource.call(void 0, clientBoundarySource)) {
3459
+ if (_chunkPSV6XKPOcjs.isReactRenderer.call(void 0, _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, currentConfig.renderer)) && selectedForIsolatedHydration && _chunkSIVK2SRRcjs.isIsolatableClientBoundarySource.call(void 0, clientBoundarySource)) {
3460
3460
  isolatedModuleReference = _chunk5QIKR7RRcjs.toViteModuleId.call(void 0, cleanId, root);
3461
3461
  const transformedBoundary = transformIsolatedClientBoundaryModule({
3462
3462
  code: transformedCode,
3463
3463
  moduleReference: isolatedModuleReference,
3464
- islandStrategy: _nullishCoalesce(_chunkRACQTC7Kcjs.getIslandStrategyExport.call(void 0, clientBoundarySource), () => ( "load")),
3464
+ islandStrategy: _nullishCoalesce(_chunkSIVK2SRRcjs.getIslandStrategyExport.call(void 0, clientBoundarySource), () => ( "load")),
3465
3465
  parse: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (source) => this.parse(source), "parse"),
3466
3466
  slots: _chunkPDU4P2ICcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([currentConfig, 'access', _310 => _310.experimental, 'optionalAccess', _311 => _311.serverComponents])) === "islands"
3467
3467
  });
@@ -3838,7 +3838,7 @@ function generateProgrammaticClientRouteModuleForId(moduleId, root, renderer, cl
3838
3838
  }
3839
3839
  _chunkS3JO3N4Hcjs.__name.call(void 0, generateProgrammaticClientRouteModuleForId, "generateProgrammaticClientRouteModuleForId");
3840
3840
  function resolveRealModuleFile(filePath, root) {
3841
- const resolved = _nullishCoalesce(_chunkRACQTC7Kcjs.resolveModuleSourcePath.call(void 0, filePath, root), () => ( filePath));
3841
+ const resolved = _nullishCoalesce(_chunkSIVK2SRRcjs.resolveModuleSourcePath.call(void 0, filePath, root), () => ( filePath));
3842
3842
  try {
3843
3843
  return _chunk5QIKR7RRcjs.toPosixPath.call(void 0, fs2.realpathSync(resolved));
3844
3844
  } catch (e15) {
@@ -4183,12 +4183,12 @@ function parseRouteModuleSchema(schema, value, label, routePath) {
4183
4183
  }
4184
4184
  _chunkS3JO3N4Hcjs.__name.call(void 0, parseRouteModuleSchema, "parseRouteModuleSchema");
4185
4185
  function generateClientCode(integrationProviders = [], documentNavigationMatchers = [], docsSearchClientRuntime = EMPTY_FARM_DOCS_SEARCH_CLIENT_RUNTIME, devtoolsClientRuntime = "", plugins = [], root = process.cwd(), srcDir = "src", publicRuntimeConfig = void 0, docsAdapterReact, renderer = _chunkPSV6XKPOcjs.REACT_RENDERER, isolatedHydrationEnabled = false, trailingSlash = false, basePath = "/", clientCachePersistence = { imports: "", init: "" }, docsConfigModule, islandValues = false) {
4186
- const providerClientCode = _chunkRACQTC7Kcjs.generateFarmIntegrationProviderClientCode.call(void 0,
4186
+ const providerClientCode = _chunkSIVK2SRRcjs.generateFarmIntegrationProviderClientCode.call(void 0,
4187
4187
  integrationProviders,
4188
4188
  root,
4189
4189
  _nullishCoalesce(renderer.componentExtensions, () => ( []))
4190
4190
  );
4191
- const clientPluginEntry = _chunkRACQTC7Kcjs.generateFarmClientPluginEntryCode.call(void 0,
4191
+ const clientPluginEntry = _chunkSIVK2SRRcjs.generateFarmClientPluginEntryCode.call(void 0,
4192
4192
  plugins,
4193
4193
  root,
4194
4194
  srcDir,
@@ -5010,7 +5010,7 @@ async function loadLayoutComponents(layouts = []) {
5010
5010
  return loadedLayouts;
5011
5011
  }
5012
5012
 
5013
- ${_chunkRACQTC7Kcjs.FARM_LAYOUT_ELEMENT_CLIENT_SOURCE}
5013
+ ${_chunkSIVK2SRRcjs.FARM_LAYOUT_ELEMENT_CLIENT_SOURCE}
5014
5014
  function wrapWithLoadedLayouts(element, loadedLayouts, params) {
5015
5015
  let wrapped = element;
5016
5016
  for (let index = loadedLayouts.length - 1; index >= 0; index--) {
@@ -5845,7 +5845,7 @@ async function defineConfig(config = {}) {
5845
5845
  config = layeredConfig;
5846
5846
  }
5847
5847
  config.renderer = _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, config.renderer);
5848
- config.images = _chunkRACQTC7Kcjs.resolveFarmImageProviderForRuntime.call(void 0, config.images, { root: appRoot, dev: true });
5848
+ config.images = _chunkSIVK2SRRcjs.resolveFarmImageProviderForRuntime.call(void 0, config.images, { root: appRoot, dev: true });
5849
5849
  const rendererVitePlugins = await _chunkPSV6XKPOcjs.loadFarmRendererVitePlugins.call(void 0, config.renderer, appRoot, {
5850
5850
  ssr: true
5851
5851
  });
@@ -5943,7 +5943,7 @@ async function defineConfig(config = {}) {
5943
5943
  const isExposed = hostConfig === true || hostConfig === "0.0.0.0";
5944
5944
  console.log("");
5945
5945
  console.log(
5946
- ` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkYBDSTNMHcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
5946
+ ` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunk2DZOABRKcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
5947
5947
  );
5948
5948
  console.log("");
5949
5949
  console.log(
@@ -5975,7 +5975,7 @@ async function defineConfig(config = {}) {
5975
5975
  };
5976
5976
  return {
5977
5977
  plugins: [
5978
- _chunkRACQTC7Kcjs.createFarmThemeCssPlugin.call(void 0, config.theme, config.basePath),
5978
+ _chunkSIVK2SRRcjs.createFarmThemeCssPlugin.call(void 0, config.theme, config.basePath),
5979
5979
  tailwindVitePlugin,
5980
5980
  ...rendererVitePlugins,
5981
5981
  ...reactRefreshPlugins,
@@ -5989,8 +5989,8 @@ async function defineConfig(config = {}) {
5989
5989
  customLogger: farmLogger,
5990
5990
  clearScreen: false,
5991
5991
  optimizeDeps: {
5992
- ..._chunkRACQTC7Kcjs.createFarmClientOptimizeDepsConfig.call(void 0,
5993
- _chunkRACQTC7Kcjs.createFarmClientOptimizeDepsEntries.call(void 0,
5992
+ ..._chunkSIVK2SRRcjs.createFarmClientOptimizeDepsConfig.call(void 0,
5993
+ _chunkSIVK2SRRcjs.createFarmClientOptimizeDepsEntries.call(void 0,
5994
5994
  appRoot,
5995
5995
  _chunkWBKEZXWEcjs.getFarmAppDirectories.call(void 0, { ...config, root: appRoot })
5996
5996
  ),
@@ -6033,7 +6033,7 @@ async function defineConfig(config = {}) {
6033
6033
  // Stub out problematic server-only modules during dev mode
6034
6034
  alias: {
6035
6035
  ..._chunkWBKEZXWEcjs.getFarmLayerAliases.call(void 0, config.layers),
6036
- ..._chunkRACQTC7Kcjs.createFarmSourceAlias.call(void 0, appRoot, config.srcDir),
6036
+ ..._chunkSIVK2SRRcjs.createFarmSourceAlias.call(void 0, appRoot, config.srcDir),
6037
6037
  // Nitro internals that should not be resolved in browser
6038
6038
  "supports-color": "data:text/javascript,export default false; export const supportsColor = false; export const stdout = false; export const stderr = false;",
6039
6039
  "@poppinss/dumper": "data:text/javascript,export default {};",
@@ -11,7 +11,7 @@ var _chunkMY5PZYADcjs = require('./chunk-MY5PZYAD.cjs');
11
11
  var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
12
12
 
13
13
 
14
- var _chunkLVABUXLAcjs = require('./chunk-LVABUXLA.cjs');
14
+ var _chunkLPE3ED4Rcjs = require('./chunk-LPE3ED4R.cjs');
15
15
 
16
16
 
17
17
 
@@ -564,7 +564,7 @@ async function resolveAPIContext(options) {
564
564
  config: options.config,
565
565
  configPath: options.configPath
566
566
  }));
567
- const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkLVABUXLAcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
567
+ const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkLPE3ED4Rcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
568
568
  const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _20 => _20.guardedPaths]), () => ( [])));
569
569
  return {
570
570
  root,
@@ -1756,6 +1756,21 @@ declare function resolveIntegrationOrmRuntimeClient<TClient = unknown>(options:
1756
1756
  declare function farmIntegrationSchemaToOrmSchema(schema: FarmIntegrationSchema): Promise<FarmIntegrationOrmSchema>;
1757
1757
  type IntegrationOrmModelNames<TSchema extends FarmIntegrationOrmSchema> = keyof SchemaModels<TSchema> & string;
1758
1758
 
1759
+ declare function isFarmIntegration(value: unknown): value is FarmIntegration;
1760
+ /**
1761
+ * @internal Whether an integration's middleware matcher (a `protectedRoutes` guard, say)
1762
+ * covers `pathname`, a route path without the base path. With `catchAllProbe`, a path no
1763
+ * route uses, only matchers naming particular paths count: middleware without a matcher,
1764
+ * or one that also meets the probe, covers every path and is left out.
1765
+ */
1766
+ declare function integrationMiddlewareMayHandlePath(integrations: FarmIntegrationsUserConfig | undefined, pathname: string, catchAllProbe?: string): boolean;
1767
+ /**
1768
+ * @internal Runtime config key holding the app's same-origin API path. The built server keeps the
1769
+ * user's raw `api` config, whose values may be resolver functions, so the build records the
1770
+ * resolved path here; development configs carry the resolved `api` itself.
1771
+ */
1772
+ declare const FARM_INTEGRATION_API_BASE_PATH_KEY = "__farmAPIServerBasePath";
1773
+
1759
1774
  type FarmIntegrationCategory = "auth" | "payment" | "monitoring" | "logging" | (string & {});
1760
1775
  /** @deprecated Use FarmIntegrationCategory instead. */
1761
1776
  type FarmIntegrationSlot = FarmIntegrationCategory;
@@ -2163,7 +2178,6 @@ type DefinedIntegration<TIntegration extends FarmIntegrationShapeForInference, T
2163
2178
  api: ExtractDerivedIntegrationAPI<TIntegration, TSchema>;
2164
2179
  };
2165
2180
  declare function defineIntegration<const TSchema extends FarmIntegrationSchema | undefined, const TConfig, TIntegration extends FarmIntegrationInput<TSchema, TConfig, any>>(integration: TIntegration & FarmIntegrationInput<TSchema, TConfig, NoInfer<TIntegration["instance"]>>): DefinedIntegration<TIntegration, TSchema>;
2166
- declare function isFarmIntegration(value: unknown): value is FarmIntegration;
2167
2181
  declare function resolveIntegrationPlugins(integrations: FarmIntegrationsUserConfig | undefined): FarmPlugin[];
2168
2182
  declare function getIntegrationProviders(integrations: FarmIntegrationsUserConfig | undefined): FarmIntegrationProvider[];
2169
2183
  declare function isFarmIntegrationProviderComponentReference(value: FarmIntegrationProvider["component"]): value is FarmIntegrationProviderComponentReference;
@@ -2242,19 +2256,6 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
2242
2256
  response: Response | null;
2243
2257
  setCookies: string[];
2244
2258
  }>;
2245
- /**
2246
- * @internal Whether an integration's middleware matcher (a `protectedRoutes` guard, say)
2247
- * covers `pathname`, a route path without the base path. With `catchAllProbe`, a path no
2248
- * route uses, only matchers naming particular paths count: middleware without a matcher,
2249
- * or one that also meets the probe, covers every path and is left out.
2250
- */
2251
- declare function integrationMiddlewareMayHandlePath(integrations: FarmIntegrationsUserConfig | undefined, pathname: string, catchAllProbe?: string): boolean;
2252
- /**
2253
- * @internal Runtime config key holding the app's same-origin API path. The built server keeps the
2254
- * user's raw `api` config, whose values may be resolver functions, so the build records the
2255
- * resolved path here; development configs carry the resolved `api` itself.
2256
- */
2257
- declare const FARM_INTEGRATION_API_BASE_PATH_KEY = "__farmAPIServerBasePath";
2258
2259
 
2259
2260
  interface FarmDocsAdapterDescriptor {
2260
2261
  id: string;
@@ -3797,4 +3798,4 @@ interface MetadataRobots extends MetadataRobotsDirectives {
3797
3798
  googleBot?: string | MetadataRobotsDirectives;
3798
3799
  }
3799
3800
 
3800
- export { type FarmDevtoolsUserConfig as $, type APIRouteDiscoveredPayload as A, type BundleLifecyclePayload as B, type FarmPluginRuntimeCloseEvent as C, type FarmPluginRuntimeHooks as D, type ErrorLifecyclePayload as E, type FarmRouteRuntimeConfig as F, type FarmPluginRuntimeRequestOptions as G, type HMRUpdatePayload as H, type FarmPluginRuntimeRequestHandler as I, type FarmPluginRuntimeSession as J, type FarmPluginDiscoveredRoute as K, type FarmPluginRouterHooks as L, type MiddlewareDiscoveredPayload as M, type NitroBuildLifecyclePayload as N, type FarmPluginRenderHooks as O, type PluginRequestContext as P, type FarmPluginBuildHooks as Q, type RouteDiscoveredPayload as R, type ShutdownPayload as S, type FarmPluginDevHooks as T, type FarmPluginClientConfig as U, PluginManager as V, type FarmPluginDefinition as W, definePlugin as X, type FarmPluginDatabase as Y, resolveFarmDevtoolsConfig as Z, type ResolvedFarmDevtoolsConfig as _, type FarmPlugin as a, type GenerateStaticParams as a$, getFarmRedirectError as a0, isFarmNotFoundError as a1, isFarmRedirectError as a2, notFound as a3, permanentRedirect as a4, redirect as a5, type FarmRedirectSignal as a6, type FarmRedirectStatus as a7, type ParsedRoute as a8, type RouteSegment as a9, resolveDeployConfig as aA, type FarmConfig as aB, resolveFarmMCPConfig as aC, resolveFarmMCPPlugin as aD, type FarmMCPUserConfig as aE, type FarmComponentType as aF, type AppRoutePattern as aG, type PageRouteParams as aH, type NitroPreset as aI, type FarmMigrationCommand as aJ, type FarmMigrationsConfig as aK, type FarmMigrationsUserConfig as aL, type ResolvedFarmMigrationsConfig as aM, type FarmContextFactoryInput as aN, type FarmIsolatedClientHydrationMode as aO, type LoadingProps as aP, type ErrorProps as aQ, type PagePropsWithMiddleware as aR, type MetadataProps as aS, type LayoutMetadataProps as aT, type Page as aU, type Layout as aV, type Loading as aW, type ErrorBoundary as aX, type StaticPathPrimitive as aY, type StaticPathParams as aZ, type StaticRouteParams as a_, type FarmRequest as aa, type FarmResponse as ab, type LayoutProps as ac, type Metadata as ad, type FarmRouteRuntime as ae, type FarmRouteRegions as af, type FarmRouteMaxDuration as ag, type FarmAppContext as ah, type PageProps as ai, type PluginContextProps as aj, type RouteModule as ak, type FarmMdxComponents as al, type FarmMdxResolvedConfig as am, resolveFarmMdxComponentsModulePath as an, resolveMdxConfig as ao, type FarmMdxComponent as ap, type FarmMdxUserConfig as aq, FARM_MARKDOWN_CONTENT_TYPE as ar, createFarmMarkdownErrorBody as as, farmRequestWantsMarkdown as at, type FarmUserConfig as au, type FarmContextFactory as av, type MiddlewareProps as aw, type FarmIntegration as ax, loadConfig as ay, resolveConfig as az, FARM_NODE_RESPONSE_END_PENDING as b, type FarmSecurityConfig as b$, type LayoutModule as b0, type MetadataJsonLd as b1, type ThemeColorDescriptor as b2, type Viewport as b3, type ServerAction as b4, type BuildOptions as b5, type SSGPage as b6, type SSGCollectionResult as b7, type MetadataRobotsDirectives as b8, type MetadataRobots as b9, type CollectedSchemaModel as bA, type FarmSchemaMigrationStep as bB, type OpenAPIConfig as bC, type FarmAgentUserConfig as bD, type FarmAgentCrawlers as bE, type FarmCrawlerPolicy as bF, type FarmAppManifestConfig as bG, FarmPluginOptionsError as bH, type FarmPluginFactory as bI, type FarmPluginOptionsIssue as bJ, type FarmPluginOptionsSchema as bK, type InferPluginOptionsInput as bL, type InferPluginOptionsOutput as bM, resolveMigrationsConfig as bN, resolveDeployOutputPath as bO, normalizeDeployTarget as bP, getDeployTargetForPreset as bQ, getPresetForDeployTarget as bR, type FarmLayerConfig as bS, type FarmPerformanceConfig as bT, type FarmPreloadMode as bU, type FarmPreloadUserConfig as bV, type ResolvedFarmPreloadConfig as bW, type FarmCspConfig as bX, type FarmCspDirectives as bY, type FarmCspDirectiveValue as bZ, type FarmCspOptions as b_, type FarmMCPCatalogDetails as ba, type ResolvedFarmAppManifestConfig as bb, type ReadonlyMiddlewareStore as bc, type FarmMiddlewareConfig as bd, type MiddlewareModule as be, type MiddlewareConfig$1 as bf, type MiddlewareContext as bg, type FarmServerComponentsMode as bh, type ResolvedFarmConfig as bi, type FarmAgentJsonLd as bj, type FarmMCPServerRegistration as bk, type FarmMarkdownResolvedConfig as bl, _findFarmMCPEndpointTool as bm, _publishFarmMCPCatalog as bn, registerFarmMCPServer as bo, type ResolvedFarmRouteRuntimeConfig as bp, type ApplicationMetadataRouteKind as bq, type ResolvedFarmAPIConfig as br, type FarmDocsResolvedConfig as bs, type ResolvedFarmDevIndicatorsConfig as bt, type ResolvedFarmAuthConfig as bu, type ResolvedFarmPerformanceConfig as bv, type ResolvedFarmSecurityConfig as bw, type ResolvedSchemaField as bx, type FarmSqlDialect as by, type FarmSqlStatement as bz, type FarmPluginIntegrationContext as c, type FarmIntegrationValidationErrorLike as c$, type ResolvedFarmCspConfig as c0, MetadataRoute as c1, type MetadataRouteContext as c2, type FarmMCPEndpointTool as c3, type FarmServerComponentsConfig as c4, type FarmServerComponentsOptions as c5, type FarmAuthConfig as c6, type FarmAuthDatabaseConfig as c7, type FarmAuthEmailAndPasswordConfig as c8, type FarmAuthSessionConfig as c9, type ResolvedFarmDeployConfig as cA, type FarmDeployTarget as cB, type FarmDocsUserConfig as cC, type FarmMarkdownUserConfig as cD, describeSchemaReference as cE, collectSchemaModels as cF, generateSqlStatements as cG, renderSqlSchemaFile as cH, getSqlColumnType as cI, getSqlDefaultExpression as cJ, isNullableField as cK, quoteSqlIdentifier as cL, toSnakeCase as cM, toPascalCase as cN, toCamelCase as cO, escapeSqlString as cP, resolveSchemaModels as cQ, type ResolvedSchemaModel as cR, type FarmIntegrationCategory as cS, type FarmIntegrationSlot as cT, type FarmIntegrationRouteParamValue as cU, type FarmIntegrationRouteParams as cV, type FarmIntegrationRouteMethod as cW, type FarmIntegrationRouteInputSource as cX, type FarmIntegrationValidationPathSegment as cY, type FarmIntegrationRouteInput as cZ, type FarmIntegrationValidationIssue as c_, type FarmAuthUserConfig as ca, type FarmMCPAuthorization as cb, type FarmMCPEndpoint as cc, type FarmMCPServerFunction as cd, type FarmMCPToolDefinition as ce, type FarmMCPStandaloneTool as cf, type FarmMCPExecuteContext as cg, type FarmMCPTool as ch, type FarmMCPServer as ci, type FarmMCPAuthorizeContext as cj, type FarmMCPConfig as ck, type FarmMCPOAuthConfig as cl, type FarmMCPPrompt as cm, type FarmMCPPromptMessage as cn, type FarmMCPResource as co, type FarmMCPResourceContent as cp, type FarmMCPResourceContext as cq, type FarmMCPResourceListing as cr, type ResolvedFarmMCPConfig as cs, type RedirectConfig as ct, type HeaderConfig as cu, type RewriteConfig as cv, type ImageConfig as cw, type I18nConfig as cx, type MiddlewareConfig as cy, type FarmDeployConfig as cz, FarmRuntimeShutdownError as d, getIntegrationDocumentNavigationMatchers as d$, type FarmIntegrationValidationResult as d0, type FarmIntegrationStandardValidationResult as d1, type FarmIntegrationInputSchema as d2, type FarmIntegrationRouteInputSchemas as d3, type FarmIntegrationRequestContextStore as d4, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as d5, FARM_INTEGRATION_SET_COOKIES_KEY as d6, forwardIntegrationSetCookies as d7, type FarmIntegrationRouteDb as d8, type FarmIntegrationRouteStorageArgs as d9, type FarmIntegrationSchemaModelExtension as dA, type FarmIntegrationSchemaModelOverride as dB, type FarmIntegrationSchema as dC, defineIntegrationSchema as dD, type FarmIntegrationLogPhase as dE, type FarmIntegrationLogEvent as dF, type FarmIntegrationLogger as dG, type FarmIntegrationPluginOwner as dH, type FarmIntegrationContributedPlugin as dI, type FarmIntegrationsUserConfig as dJ, getFarmIntegrationPluginServerRuntime as dK, getFarmIntegrationPluginOwner as dL, type FarmIntegrationRouteFactory as dM, type FarmIntegrationRoutesFactoryContext as dN, type FarmIntegrationRoutesFactory as dO, type FarmIntegrationEndpointValue as dP, type FarmIntegrationEndpoints as dQ, type FarmIntegrationEndpointsFactoryContext as dR, type FarmIntegrationEndpointsFactory as dS, createIntegrationRoute as dT, integrationRoute as dU, type DefinedIntegration as dV, defineIntegration as dW, isFarmIntegration as dX, resolveIntegrationPlugins as dY, getIntegrationProviders as dZ, isFarmIntegrationProviderComponentReference as d_, type FarmIntegrationRouteArgs as da, type FarmIntegrationConfigContext as db, type FarmIntegrationConfigDefinition as dc, type FarmIntegrationConfigInput as dd, type FarmIntegrationLifecycleLogLevel as de, type FarmIntegrationLifecycleLogger as df, type FarmIntegrationLifecycleContext as dg, type FarmIntegrationLifecycleHook as dh, type FarmIntegrationData as di, type FarmIntegrationHandlerContext as dj, type FarmIntegrationRouteHookContext as dk, type FarmIntegrationRouteHook as dl, type FarmIntegrationRoute as dm, type FarmTypedIntegrationRoute as dn, type FarmIntegrationRouteMiddleware as dp, type FarmIntegrationMiddleware as dq, type FarmIntegrationProviderProps as dr, type FarmIntegrationProviderComponentReference as ds, type FarmIntegrationProvider as dt, type FarmIntegrationDocumentNavigation as du, type FarmIntegrationSchemaFieldType as dv, type FarmIntegrationSchemaReference as dw, type FarmIntegrationSchemaField as dx, type FarmIntegrationSchemaConstraint as dy, type FarmIntegrationSchemaModel as dz, type FarmRequestStore as e, type FarmRouteRuntimeManifest as e$, getIntegrationSchemas as e0, getRegisteredIntegrationRuntime as e1, getRegisteredIntegrations as e2, getRegisteredIntegrationSchemas as e3, matchIntegrationRoute as e4, matchRegisteredIntegrationRoute as e5, getRegisteredIntegrationAPIManifest as e6, dispatchIntegrationRequest as e7, dispatchIntegrationRequests as e8, integrationMiddlewareMayHandlePath as e9, resolveFarmAPIRequestURL as eA, type MiddlewareFunction as eB, type RequestMiddleware as eC, type RequestMiddlewareContext as eD, type MiddlewareStore as eE, type MiddlewareChain as eF, type CookieJar as eG, type CookieOptions as eH, type RateLimitConfig as eI, type RateLimitIncrementResult as eJ, type RateLimitStorage as eK, type RateLimitStatus as eL, type MemoryRateLimitStorageOptions as eM, type NextFunction as eN, type MiddlewareResult as eO, type FarmRouteRuleRenderMode as eP, type FarmRouteRuleRedirect as eQ, type FarmRouteRuleCors as eR, type FarmRouteRule as eS, type FarmRouteRules as eT, normalizeRouteRules as eU, routeRulesToRedirects as eV, routeRulesToHeaders as eW, routeRulesToNitroRouteRules as eX, type FarmRouteRuntimeEntryKind as eY, type FarmRouteRenderingMode as eZ, type FarmRouteRuntimeManifestEntry as e_, FARM_INTEGRATION_API_BASE_PATH_KEY as ea, describeIntegrationOriginRejection as eb, resolveIntegrationAllowedOrigins as ec, validateIntegrationRequestOrigin as ed, type IntegrationOriginPolicy as ee, type IntegrationOriginRejection as ef, type IntegrationOriginResult as eg, type FarmIntegrationOrmSchema as eh, type FarmIntegrationOrmClient as ei, type InferFarmIntegrationOrmField as ej, type InferFarmIntegrationOrmFields as ek, type InferFarmIntegrationOrmSchema as el, type InferFarmIntegrationOrmClient as em, type CreateIntegrationOrmOptions as en, createIntegrationOrm as eo, resolveIntegrationOrmRuntimeClient as ep, farmIntegrationSchemaToOrmSchema as eq, type IntegrationOrmModelNames as er, DEFAULT_FARM_API_BASE_PATH as es, type FarmAPIConfigResolverContext as et, type FarmAPIConfigValue as eu, type FarmAPIConfig as ev, resolveFarmAPIConfig as ew, normalizeFarmAPIConfig as ex, normalizeFarmAPIBasePath as ey, getFarmAPIBaseURL as ez, type FarmPluginContext as f, createFarmCspNonce as f$, normalizeFarmRouteRuntimeConfig as f0, mergeFarmRouteRuntimeConfigs as f1, resolveFarmRouteRuntimeConfig as f2, hasFarmRouteRuntimeControls as f3, getFarmRouteRuntimeConfig as f4, createFarmRouteRuntimeKey as f5, resolveFarmRouteRuleRuntimeConfig as f6, farmRouteRuleMatches as f7, type FarmDocsConfigInput as f8, type FarmDocsNavigationConfig as f9, type FarmPageFormAction as fA, extractFarmPageActions as fB, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fC, FARM_DEVTOOLS_PATH as fD, FARM_DEVTOOLS_LAUNCH_PARAM as fE, type FarmDevtoolsConfig as fF, type FarmBuildActivityPosition as fG, type FarmDevIndicatorsConfig as fH, resolveFarmDevIndicatorsConfig as fI, generateFarmDevIndicatorsClientRuntime as fJ, type FarmLlmsTxtLink as fK, createFarmMetadataRouteResponse as fL, createFarmAgentRobots as fM, createFarmDefaultSitemap as fN, collectFarmLlmsTxtPages as fO, createFarmDefaultLlmsTxt as fP, createFarmLlmsMarkdownReader as fQ, renderFarmLlmsFullTxt as fR, createFarmLlmsFullRenderer as fS, resolveFarmLlmsTxtConfig as fT, type FarmLlmsTxtUserConfig as fU, type ResolvedFarmLlmsTxtConfig as fV, manageFarmDocumentPreloads as fW, manageFarmHtmlPreloads as fX, manageFarmLinkHeaderPreloads as fY, reportFarmPreloadWarnings as fZ, applyFarmCspNonceToResponse as f_, type FarmDocsSocialImageConfig as fa, type FarmDocsSocialImageFonts as fb, type FarmDocsSidebarItem as fc, FARM_MARKDOWN_PAGE_CHECK_HEADER as fd, _getFarmMarkdownPageCheckToken as fe, _isFarmMarkdownPageCheck as ff, type FarmMarkdownRouteInput as fg, type FarmMarkdownResolvedRoute as fh, type FarmMarkdownMirrorTarget as fi, type ResolveMarkdownMirrorTargetOptions as fj, type CreateMarkdownMirrorResponseOptions as fk, type ApplyMarkdownNegotiationHeadersOptions as fl, resolveMarkdownConfig as fm, resolveMarkdownMirrorTarget as fn, createMarkdownMirrorResponse as fo, applyMarkdownNegotiationHeaders as fp, htmlToMarkdown as fq, farmAcceptQuality as fr, requestAcceptsMarkdown as fs, getFarmMarkdownMirrorPath as ft, getFarmMarkdownAlternatePath as fu, isFarmMarkdownMirrorExposed as fv, matchesFarmMarkdownRoutePattern as fw, type FarmPageFormOption as fx, type FarmPageFormField as fy, type FarmPageFormSubmit as fz, type FarmPluginLifecycle as g, resolveFarmSecurityConfig as g0, stampFarmCspNonce as g1, type FarmRequestPluginContext as h, type RoutesGeneratedPayload as i, type RouteMatchPayload as j, type RouteMatchResultPayload as k, type RenderLifecyclePayload as l, type APIHandlerLifecyclePayload as m, type BundleResultPayload as n, type FarmPluginRuntimeKind as o, type FarmPluginRouteRuntimePayload as p, type FarmPluginSetupContext as q, type FarmPluginStateContext as r, type FarmPluginRuntimeBaseEvent as s, type FarmPluginRuntimeContextEvent as t, type FarmPluginRuntimeEndpointEvent as u, type FarmPluginRuntimeEndpoint as v, type FarmPluginRuntimeBeforeEvent as w, type FarmPluginRuntimeAfterEvent as x, type FarmPluginRuntimeErrorEvent as y, type FarmPluginRuntimeStartEvent as z };
3801
+ export { type FarmDevtoolsUserConfig as $, type APIRouteDiscoveredPayload as A, type BundleLifecyclePayload as B, type FarmPluginRuntimeCloseEvent as C, type FarmPluginRuntimeHooks as D, type ErrorLifecyclePayload as E, type FarmRouteRuntimeConfig as F, type FarmPluginRuntimeRequestOptions as G, type HMRUpdatePayload as H, type FarmPluginRuntimeRequestHandler as I, type FarmPluginRuntimeSession as J, type FarmPluginDiscoveredRoute as K, type FarmPluginRouterHooks as L, type MiddlewareDiscoveredPayload as M, type NitroBuildLifecyclePayload as N, type FarmPluginRenderHooks as O, type PluginRequestContext as P, type FarmPluginBuildHooks as Q, type RouteDiscoveredPayload as R, type ShutdownPayload as S, type FarmPluginDevHooks as T, type FarmPluginClientConfig as U, PluginManager as V, type FarmPluginDefinition as W, definePlugin as X, type FarmPluginDatabase as Y, resolveFarmDevtoolsConfig as Z, type ResolvedFarmDevtoolsConfig as _, type FarmPlugin as a, type GenerateStaticParams as a$, getFarmRedirectError as a0, isFarmNotFoundError as a1, isFarmRedirectError as a2, notFound as a3, permanentRedirect as a4, redirect as a5, type FarmRedirectSignal as a6, type FarmRedirectStatus as a7, type ParsedRoute as a8, type RouteSegment as a9, resolveDeployConfig as aA, type FarmConfig as aB, resolveFarmMCPConfig as aC, resolveFarmMCPPlugin as aD, type FarmMCPUserConfig as aE, type FarmComponentType as aF, type AppRoutePattern as aG, type PageRouteParams as aH, type NitroPreset as aI, type FarmMigrationCommand as aJ, type FarmMigrationsConfig as aK, type FarmMigrationsUserConfig as aL, type ResolvedFarmMigrationsConfig as aM, type FarmContextFactoryInput as aN, type FarmIsolatedClientHydrationMode as aO, type LoadingProps as aP, type ErrorProps as aQ, type PagePropsWithMiddleware as aR, type MetadataProps as aS, type LayoutMetadataProps as aT, type Page as aU, type Layout as aV, type Loading as aW, type ErrorBoundary as aX, type StaticPathPrimitive as aY, type StaticPathParams as aZ, type StaticRouteParams as a_, type FarmRequest as aa, type FarmResponse as ab, type LayoutProps as ac, type Metadata as ad, type FarmRouteRuntime as ae, type FarmRouteRegions as af, type FarmRouteMaxDuration as ag, type FarmAppContext as ah, type PageProps as ai, type PluginContextProps as aj, type RouteModule as ak, type FarmMdxComponents as al, type FarmMdxResolvedConfig as am, resolveFarmMdxComponentsModulePath as an, resolveMdxConfig as ao, type FarmMdxComponent as ap, type FarmMdxUserConfig as aq, FARM_MARKDOWN_CONTENT_TYPE as ar, createFarmMarkdownErrorBody as as, farmRequestWantsMarkdown as at, type FarmUserConfig as au, type FarmContextFactory as av, type MiddlewareProps as aw, type FarmIntegration as ax, loadConfig as ay, resolveConfig as az, FARM_NODE_RESPONSE_END_PENDING as b, type FarmSecurityConfig as b$, type LayoutModule as b0, type MetadataJsonLd as b1, type ThemeColorDescriptor as b2, type Viewport as b3, type ServerAction as b4, type BuildOptions as b5, type SSGPage as b6, type SSGCollectionResult as b7, type MetadataRobotsDirectives as b8, type MetadataRobots as b9, type CollectedSchemaModel as bA, type FarmSchemaMigrationStep as bB, type OpenAPIConfig as bC, type FarmAgentUserConfig as bD, type FarmAgentCrawlers as bE, type FarmCrawlerPolicy as bF, type FarmAppManifestConfig as bG, FarmPluginOptionsError as bH, type FarmPluginFactory as bI, type FarmPluginOptionsIssue as bJ, type FarmPluginOptionsSchema as bK, type InferPluginOptionsInput as bL, type InferPluginOptionsOutput as bM, resolveMigrationsConfig as bN, resolveDeployOutputPath as bO, normalizeDeployTarget as bP, getDeployTargetForPreset as bQ, getPresetForDeployTarget as bR, type FarmLayerConfig as bS, type FarmPerformanceConfig as bT, type FarmPreloadMode as bU, type FarmPreloadUserConfig as bV, type ResolvedFarmPreloadConfig as bW, type FarmCspConfig as bX, type FarmCspDirectives as bY, type FarmCspDirectiveValue as bZ, type FarmCspOptions as b_, type FarmMCPCatalogDetails as ba, type ResolvedFarmAppManifestConfig as bb, type ReadonlyMiddlewareStore as bc, type FarmMiddlewareConfig as bd, type MiddlewareModule as be, type MiddlewareConfig$1 as bf, type MiddlewareContext as bg, type FarmServerComponentsMode as bh, type ResolvedFarmConfig as bi, type FarmAgentJsonLd as bj, type FarmMCPServerRegistration as bk, type FarmMarkdownResolvedConfig as bl, _findFarmMCPEndpointTool as bm, _publishFarmMCPCatalog as bn, registerFarmMCPServer as bo, type ResolvedFarmRouteRuntimeConfig as bp, type ApplicationMetadataRouteKind as bq, type ResolvedFarmAPIConfig as br, type FarmDocsResolvedConfig as bs, type ResolvedFarmDevIndicatorsConfig as bt, type ResolvedFarmAuthConfig as bu, type ResolvedFarmPerformanceConfig as bv, type ResolvedFarmSecurityConfig as bw, type ResolvedSchemaField as bx, type FarmSqlDialect as by, type FarmSqlStatement as bz, type FarmPluginIntegrationContext as c, type FarmIntegrationValidationErrorLike as c$, type ResolvedFarmCspConfig as c0, MetadataRoute as c1, type MetadataRouteContext as c2, type FarmMCPEndpointTool as c3, type FarmServerComponentsConfig as c4, type FarmServerComponentsOptions as c5, type FarmAuthConfig as c6, type FarmAuthDatabaseConfig as c7, type FarmAuthEmailAndPasswordConfig as c8, type FarmAuthSessionConfig as c9, type ResolvedFarmDeployConfig as cA, type FarmDeployTarget as cB, type FarmDocsUserConfig as cC, type FarmMarkdownUserConfig as cD, describeSchemaReference as cE, collectSchemaModels as cF, generateSqlStatements as cG, renderSqlSchemaFile as cH, getSqlColumnType as cI, getSqlDefaultExpression as cJ, isNullableField as cK, quoteSqlIdentifier as cL, toSnakeCase as cM, toPascalCase as cN, toCamelCase as cO, escapeSqlString as cP, resolveSchemaModels as cQ, type ResolvedSchemaModel as cR, type FarmIntegrationCategory as cS, type FarmIntegrationSlot as cT, type FarmIntegrationRouteParamValue as cU, type FarmIntegrationRouteParams as cV, type FarmIntegrationRouteMethod as cW, type FarmIntegrationRouteInputSource as cX, type FarmIntegrationValidationPathSegment as cY, type FarmIntegrationRouteInput as cZ, type FarmIntegrationValidationIssue as c_, type FarmAuthUserConfig as ca, type FarmMCPAuthorization as cb, type FarmMCPEndpoint as cc, type FarmMCPServerFunction as cd, type FarmMCPToolDefinition as ce, type FarmMCPStandaloneTool as cf, type FarmMCPExecuteContext as cg, type FarmMCPTool as ch, type FarmMCPServer as ci, type FarmMCPAuthorizeContext as cj, type FarmMCPConfig as ck, type FarmMCPOAuthConfig as cl, type FarmMCPPrompt as cm, type FarmMCPPromptMessage as cn, type FarmMCPResource as co, type FarmMCPResourceContent as cp, type FarmMCPResourceContext as cq, type FarmMCPResourceListing as cr, type ResolvedFarmMCPConfig as cs, type RedirectConfig as ct, type HeaderConfig as cu, type RewriteConfig as cv, type ImageConfig as cw, type I18nConfig as cx, type MiddlewareConfig as cy, type FarmDeployConfig as cz, FarmRuntimeShutdownError as d, getIntegrationSchemas as d$, type FarmIntegrationValidationResult as d0, type FarmIntegrationStandardValidationResult as d1, type FarmIntegrationInputSchema as d2, type FarmIntegrationRouteInputSchemas as d3, type FarmIntegrationRequestContextStore as d4, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as d5, FARM_INTEGRATION_SET_COOKIES_KEY as d6, forwardIntegrationSetCookies as d7, type FarmIntegrationRouteDb as d8, type FarmIntegrationRouteStorageArgs as d9, type FarmIntegrationSchemaModelExtension as dA, type FarmIntegrationSchemaModelOverride as dB, type FarmIntegrationSchema as dC, defineIntegrationSchema as dD, type FarmIntegrationLogPhase as dE, type FarmIntegrationLogEvent as dF, type FarmIntegrationLogger as dG, type FarmIntegrationPluginOwner as dH, type FarmIntegrationContributedPlugin as dI, type FarmIntegrationsUserConfig as dJ, getFarmIntegrationPluginServerRuntime as dK, getFarmIntegrationPluginOwner as dL, type FarmIntegrationRouteFactory as dM, type FarmIntegrationRoutesFactoryContext as dN, type FarmIntegrationRoutesFactory as dO, type FarmIntegrationEndpointValue as dP, type FarmIntegrationEndpoints as dQ, type FarmIntegrationEndpointsFactoryContext as dR, type FarmIntegrationEndpointsFactory as dS, createIntegrationRoute as dT, integrationRoute as dU, type DefinedIntegration as dV, defineIntegration as dW, resolveIntegrationPlugins as dX, getIntegrationProviders as dY, isFarmIntegrationProviderComponentReference as dZ, getIntegrationDocumentNavigationMatchers as d_, type FarmIntegrationRouteArgs as da, type FarmIntegrationConfigContext as db, type FarmIntegrationConfigDefinition as dc, type FarmIntegrationConfigInput as dd, type FarmIntegrationLifecycleLogLevel as de, type FarmIntegrationLifecycleLogger as df, type FarmIntegrationLifecycleContext as dg, type FarmIntegrationLifecycleHook as dh, type FarmIntegrationData as di, type FarmIntegrationHandlerContext as dj, type FarmIntegrationRouteHookContext as dk, type FarmIntegrationRouteHook as dl, type FarmIntegrationRoute as dm, type FarmTypedIntegrationRoute as dn, type FarmIntegrationRouteMiddleware as dp, type FarmIntegrationMiddleware as dq, type FarmIntegrationProviderProps as dr, type FarmIntegrationProviderComponentReference as ds, type FarmIntegrationProvider as dt, type FarmIntegrationDocumentNavigation as du, type FarmIntegrationSchemaFieldType as dv, type FarmIntegrationSchemaReference as dw, type FarmIntegrationSchemaField as dx, type FarmIntegrationSchemaConstraint as dy, type FarmIntegrationSchemaModel as dz, type FarmRequestStore as e, type FarmRouteRuntimeManifest as e$, getRegisteredIntegrationRuntime as e0, getRegisteredIntegrations as e1, getRegisteredIntegrationSchemas as e2, matchIntegrationRoute as e3, matchRegisteredIntegrationRoute as e4, getRegisteredIntegrationAPIManifest as e5, dispatchIntegrationRequest as e6, dispatchIntegrationRequests as e7, describeIntegrationOriginRejection as e8, resolveIntegrationAllowedOrigins as e9, resolveFarmAPIRequestURL as eA, type MiddlewareFunction as eB, type RequestMiddleware as eC, type RequestMiddlewareContext as eD, type MiddlewareStore as eE, type MiddlewareChain as eF, type CookieJar as eG, type CookieOptions as eH, type RateLimitConfig as eI, type RateLimitIncrementResult as eJ, type RateLimitStorage as eK, type RateLimitStatus as eL, type MemoryRateLimitStorageOptions as eM, type NextFunction as eN, type MiddlewareResult as eO, type FarmRouteRuleRenderMode as eP, type FarmRouteRuleRedirect as eQ, type FarmRouteRuleCors as eR, type FarmRouteRule as eS, type FarmRouteRules as eT, normalizeRouteRules as eU, routeRulesToRedirects as eV, routeRulesToHeaders as eW, routeRulesToNitroRouteRules as eX, type FarmRouteRuntimeEntryKind as eY, type FarmRouteRenderingMode as eZ, type FarmRouteRuntimeManifestEntry as e_, validateIntegrationRequestOrigin as ea, type IntegrationOriginPolicy as eb, type IntegrationOriginRejection as ec, type IntegrationOriginResult as ed, FARM_INTEGRATION_API_BASE_PATH_KEY as ee, integrationMiddlewareMayHandlePath as ef, isFarmIntegration as eg, type FarmIntegrationOrmSchema as eh, type FarmIntegrationOrmClient as ei, type InferFarmIntegrationOrmField as ej, type InferFarmIntegrationOrmFields as ek, type InferFarmIntegrationOrmSchema as el, type InferFarmIntegrationOrmClient as em, type CreateIntegrationOrmOptions as en, createIntegrationOrm as eo, resolveIntegrationOrmRuntimeClient as ep, farmIntegrationSchemaToOrmSchema as eq, type IntegrationOrmModelNames as er, DEFAULT_FARM_API_BASE_PATH as es, type FarmAPIConfigResolverContext as et, type FarmAPIConfigValue as eu, type FarmAPIConfig as ev, resolveFarmAPIConfig as ew, normalizeFarmAPIConfig as ex, normalizeFarmAPIBasePath as ey, getFarmAPIBaseURL as ez, type FarmPluginContext as f, createFarmCspNonce as f$, normalizeFarmRouteRuntimeConfig as f0, mergeFarmRouteRuntimeConfigs as f1, resolveFarmRouteRuntimeConfig as f2, hasFarmRouteRuntimeControls as f3, getFarmRouteRuntimeConfig as f4, createFarmRouteRuntimeKey as f5, resolveFarmRouteRuleRuntimeConfig as f6, farmRouteRuleMatches as f7, type FarmDocsConfigInput as f8, type FarmDocsNavigationConfig as f9, type FarmPageFormAction as fA, extractFarmPageActions as fB, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fC, FARM_DEVTOOLS_PATH as fD, FARM_DEVTOOLS_LAUNCH_PARAM as fE, type FarmDevtoolsConfig as fF, type FarmBuildActivityPosition as fG, type FarmDevIndicatorsConfig as fH, resolveFarmDevIndicatorsConfig as fI, generateFarmDevIndicatorsClientRuntime as fJ, type FarmLlmsTxtLink as fK, createFarmMetadataRouteResponse as fL, createFarmAgentRobots as fM, createFarmDefaultSitemap as fN, collectFarmLlmsTxtPages as fO, createFarmDefaultLlmsTxt as fP, createFarmLlmsMarkdownReader as fQ, renderFarmLlmsFullTxt as fR, createFarmLlmsFullRenderer as fS, resolveFarmLlmsTxtConfig as fT, type FarmLlmsTxtUserConfig as fU, type ResolvedFarmLlmsTxtConfig as fV, manageFarmDocumentPreloads as fW, manageFarmHtmlPreloads as fX, manageFarmLinkHeaderPreloads as fY, reportFarmPreloadWarnings as fZ, applyFarmCspNonceToResponse as f_, type FarmDocsSocialImageConfig as fa, type FarmDocsSocialImageFonts as fb, type FarmDocsSidebarItem as fc, FARM_MARKDOWN_PAGE_CHECK_HEADER as fd, _getFarmMarkdownPageCheckToken as fe, _isFarmMarkdownPageCheck as ff, type FarmMarkdownRouteInput as fg, type FarmMarkdownResolvedRoute as fh, type FarmMarkdownMirrorTarget as fi, type ResolveMarkdownMirrorTargetOptions as fj, type CreateMarkdownMirrorResponseOptions as fk, type ApplyMarkdownNegotiationHeadersOptions as fl, resolveMarkdownConfig as fm, resolveMarkdownMirrorTarget as fn, createMarkdownMirrorResponse as fo, applyMarkdownNegotiationHeaders as fp, htmlToMarkdown as fq, farmAcceptQuality as fr, requestAcceptsMarkdown as fs, getFarmMarkdownMirrorPath as ft, getFarmMarkdownAlternatePath as fu, isFarmMarkdownMirrorExposed as fv, matchesFarmMarkdownRoutePattern as fw, type FarmPageFormOption as fx, type FarmPageFormField as fy, type FarmPageFormSubmit as fz, type FarmPluginLifecycle as g, resolveFarmSecurityConfig as g0, stampFarmCspNonce as g1, type FarmRequestPluginContext as h, type RoutesGeneratedPayload as i, type RouteMatchPayload as j, type RouteMatchResultPayload as k, type RenderLifecyclePayload as l, type APIHandlerLifecyclePayload as m, type BundleResultPayload as n, type FarmPluginRuntimeKind as o, type FarmPluginRouteRuntimePayload as p, type FarmPluginSetupContext as q, type FarmPluginStateContext as r, type FarmPluginRuntimeBaseEvent as s, type FarmPluginRuntimeContextEvent as t, type FarmPluginRuntimeEndpointEvent as u, type FarmPluginRuntimeEndpoint as v, type FarmPluginRuntimeBeforeEvent as w, type FarmPluginRuntimeAfterEvent as x, type FarmPluginRuntimeErrorEvent as y, type FarmPluginRuntimeStartEvent as z };