@farm.js/core 0.2.0-beta.0 → 0.2.0-beta.1

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 (92) hide show
  1. package/dist/analyzer-IIWSUXSQ.cjs +17 -0
  2. package/dist/{analyzer-PWHYGER6.mjs → analyzer-RYSF2BM3.mjs} +2 -2
  3. package/dist/api/route-manager.cjs +3 -3
  4. package/dist/api/route-manager.mjs +2 -2
  5. package/dist/api.cjs +4 -4
  6. package/dist/api.mjs +3 -3
  7. package/dist/{app.d-b3A4cca5.d.ts → app.d-CoY-zsJt.d.ts} +1 -1
  8. package/dist/{app.d-AVZXCfcO.d.mts → app.d-DE5KNbmf.d.mts} +1 -1
  9. package/dist/{chunk-W3ZBLFLU.mjs → chunk-23BZ7ZH6.mjs} +1 -1
  10. package/dist/{chunk-FEWCWBOF.cjs → chunk-27ESPHQA.cjs} +4 -4
  11. package/dist/{chunk-WPB6HJC7.mjs → chunk-2U2GRXP5.mjs} +1 -1
  12. package/dist/{chunk-L6ZL35ZJ.mjs → chunk-4A6A6P4T.mjs} +2 -2
  13. package/dist/{chunk-JGUMFTZT.cjs → chunk-6BMAGVDI.cjs} +4 -4
  14. package/dist/{chunk-CFLRUCN7.cjs → chunk-6ETHVRFO.cjs} +135 -135
  15. package/dist/{chunk-MZPPT5NA.mjs → chunk-AMMFRXFW.mjs} +1 -1
  16. package/dist/{chunk-GV5D5EM6.mjs → chunk-ANKMAGFJ.mjs} +1 -1
  17. package/dist/{chunk-SCOKBXHS.mjs → chunk-CIQCJ72N.mjs} +13 -13
  18. package/dist/{chunk-ZOD6EYWE.mjs → chunk-CPMK7EFR.mjs} +1 -1
  19. package/dist/{chunk-MM4U2NNI.mjs → chunk-DZC2XGK4.mjs} +24 -18
  20. package/dist/{chunk-XJJQAFZX.mjs → chunk-EBKYRP2P.mjs} +1 -1
  21. package/dist/{chunk-CNGGEHXY.cjs → chunk-FJGA3XWL.cjs} +2 -2
  22. package/dist/{chunk-PTAGDZ7I.mjs → chunk-GTHBWZUK.mjs} +5 -1
  23. package/dist/{chunk-SG5RFGV6.cjs → chunk-HENPVGZC.cjs} +2 -2
  24. package/dist/{chunk-MRULVIH3.mjs → chunk-ISSFWEPY.mjs} +1 -1
  25. package/dist/{chunk-PQ6DBVJ2.cjs → chunk-KBIM7PFQ.cjs} +73 -67
  26. package/dist/{chunk-ERV422FO.cjs → chunk-KRU3XPOW.cjs} +2 -2
  27. package/dist/{chunk-TQFIZRON.cjs → chunk-L4B7PB3H.cjs} +126 -126
  28. package/dist/{chunk-VMGQOP7X.cjs → chunk-M3JYBZO2.cjs} +2 -2
  29. package/dist/{chunk-SUACCCZG.cjs → chunk-N2ZMSSPP.cjs} +11 -11
  30. package/dist/{chunk-7LBNWL3L.cjs → chunk-ND65INFS.cjs} +2 -2
  31. package/dist/{chunk-WOTAU3BN.mjs → chunk-NVXU5BEG.mjs} +47 -28
  32. package/dist/{chunk-HU4R2PPW.cjs → chunk-NZRAUCUL.cjs} +2 -2
  33. package/dist/{chunk-PA3VZNWU.cjs → chunk-OIPPISQ6.cjs} +81 -62
  34. package/dist/{chunk-H47EH24T.mjs → chunk-OQOII62L.mjs} +1 -1
  35. package/dist/{chunk-LUGQUU4S.mjs → chunk-PKV3JGMS.mjs} +1 -1
  36. package/dist/{chunk-BQHIJOZM.cjs → chunk-SIECKBNK.cjs} +6 -2
  37. package/dist/{chunk-JDO3X7RB.mjs → chunk-SPKZCFPH.mjs} +1 -1
  38. package/dist/{chunk-3MY6TNNE.cjs → chunk-TWFJJPE7.cjs} +3 -3
  39. package/dist/{chunk-6266WH6X.cjs → chunk-V3Y3R3JJ.cjs} +1 -1
  40. package/dist/{chunk-YCHIR3X6.mjs → chunk-VZWAXQME.mjs} +1 -1
  41. package/dist/{chunk-5ZWXTIGE.cjs → chunk-WEZTGM7N.cjs} +2 -2
  42. package/dist/{chunk-BJHXFEAF.mjs → chunk-YPAOC3FO.mjs} +2 -2
  43. package/dist/{chunk-M4CNAZMS.mjs → chunk-Z7ZRBCAB.mjs} +11 -11
  44. package/dist/{chunk-XRYLMTYF.cjs → chunk-ZPQY7O64.cjs} +3 -3
  45. package/dist/{devtools-2CRVXV7E.mjs → devtools-5DBTT2DI.mjs} +1 -1
  46. package/dist/{devtools-RL4AU5KD.cjs → devtools-JTJA2KIZ.cjs} +2 -2
  47. package/dist/docs.cjs +3 -3
  48. package/dist/docs.mjs +2 -2
  49. package/dist/environment/vite.cjs +3 -3
  50. package/dist/environment/vite.mjs +2 -2
  51. package/dist/index.cjs +22 -22
  52. package/dist/index.d.mts +1 -1
  53. package/dist/index.d.ts +1 -1
  54. package/dist/index.mjs +17 -17
  55. package/dist/internal/build-runtime.cjs +17 -17
  56. package/dist/internal/build-runtime.mjs +16 -16
  57. package/dist/internal/cli-runtime.cjs +5 -5
  58. package/dist/internal/cli-runtime.mjs +4 -4
  59. package/dist/internal/client-error-overlay.cjs +4 -4
  60. package/dist/internal/client-error-overlay.mjs +1 -1
  61. package/dist/internal/config-runtime.cjs +3 -3
  62. package/dist/internal/config-runtime.mjs +2 -2
  63. package/dist/internal/infra-analytics-runtime.cjs +6 -6
  64. package/dist/internal/infra-analytics-runtime.mjs +4 -4
  65. package/dist/internal/native-server-fns.cjs +4 -4
  66. package/dist/internal/native-server-fns.mjs +3 -3
  67. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  68. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  69. package/dist/internal/production-runtime.cjs +4 -4
  70. package/dist/internal/production-runtime.mjs +3 -3
  71. package/dist/{manager-D4DZRBRS.cjs → manager-37UJPUN4.cjs} +4 -4
  72. package/dist/{manager-PKPQGBAE.mjs → manager-7BNSJKME.mjs} +3 -3
  73. package/dist/plugin.cjs +12 -12
  74. package/dist/plugin.mjs +11 -11
  75. package/dist/{rsc-pipeline-3DYC5ZXW.cjs → rsc-pipeline-LGXJGGMW.cjs} +3 -3
  76. package/dist/{rsc-pipeline-LRB4ZG6I.mjs → rsc-pipeline-W5DSWDHD.mjs} +2 -2
  77. package/dist/{runtime-3WJNNAAR.mjs → runtime-UOZKSM5S.mjs} +2 -2
  78. package/dist/{runtime-CRFF32H6.cjs → runtime-YV4X5FAK.cjs} +4 -4
  79. package/dist/server.cjs +36 -35
  80. package/dist/server.d.mts +1 -1
  81. package/dist/server.d.ts +1 -1
  82. package/dist/server.mjs +16 -15
  83. package/dist/testing.cjs +2 -2
  84. package/dist/testing.mjs +2 -2
  85. package/dist/version.cjs +2 -2
  86. package/dist/version.mjs +1 -1
  87. package/dist/vite.cjs +12 -12
  88. package/dist/vite.mjs +11 -11
  89. package/package.json +1 -1
  90. package/dist/analyzer-B2TRJT3B.cjs +0 -17
  91. /package/dist/{chunk-IRPXOTEN.cjs → chunk-FLKG2PYH.cjs} +0 -0
  92. /package/dist/{chunk-BGEA4K7C.mjs → chunk-OOOUYA6L.mjs} +0 -0
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-D2VAANBS.mjs";
19
19
  import {
20
20
  FARM_VERSION
21
- } from "./chunk-XJJQAFZX.mjs";
21
+ } from "./chunk-EBKYRP2P.mjs";
22
22
 
23
23
  // src/mobile/analyzer.ts
24
24
  import { createHash } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YFTGIHNC.mjs";
4
4
  import {
5
5
  isFarmAPIRouteFileName
6
- } from "./chunk-PTAGDZ7I.mjs";
6
+ } from "./chunk-GTHBWZUK.mjs";
7
7
  import {
8
8
  registerAPIRouteShape
9
9
  } from "./chunk-2LKUR5QJ.mjs";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  collectFarmNativeServerFns,
34
34
  findFarmNativeScreenFiles
35
- } from "./chunk-WPB6HJC7.mjs";
35
+ } from "./chunk-2U2GRXP5.mjs";
36
36
  import {
37
37
  assertFarmDocsAdapterServesNoGuardedPages,
38
38
  compileFarmDocsAdapterEdgeManifest,
@@ -40,7 +40,7 @@ import {
40
40
  farmDocsAdapterServesGuardedPages,
41
41
  listFarmDocsAdapterPages,
42
42
  listFarmDocsPagePaths
43
- } from "./chunk-YCHIR3X6.mjs";
43
+ } from "./chunk-VZWAXQME.mjs";
44
44
  import {
45
45
  FARM_DOCS_LAST_MODIFIED_MANIFEST,
46
46
  createFarmDocsHandler,
@@ -70,7 +70,7 @@ import {
70
70
  getDeployTargetForPreset,
71
71
  hasCustomFarmRouteContext,
72
72
  resolveDeployOutputPath
73
- } from "./chunk-BGEA4K7C.mjs";
73
+ } from "./chunk-OOOUYA6L.mjs";
74
74
  import {
75
75
  resolveFarmInstrumentationFile
76
76
  } from "./chunk-QRNYSISP.mjs";
@@ -116,7 +116,7 @@ import {
116
116
  resolveFarmNotFoundComponentPath,
117
117
  resolveFarmRouteRootStrategy,
118
118
  toBakedMarkdownSourcePath
119
- } from "./chunk-MM4U2NNI.mjs";
119
+ } from "./chunk-DZC2XGK4.mjs";
120
120
  import {
121
121
  TAILWIND_CSS_BROWSER_TARGET,
122
122
  generateFarmClientPluginEntryCode,
@@ -132,11 +132,11 @@ import {
132
132
  readRouteRenderingDirectiveFromFile,
133
133
  resolveRouteRenderingConfig,
134
134
  resolveRouteRenderingConfigFromFile
135
- } from "./chunk-W3ZBLFLU.mjs";
135
+ } from "./chunk-23BZ7ZH6.mjs";
136
136
  import {
137
137
  FARM_PRERENDER_ENV,
138
138
  _farmWebMCPReportsEnabled
139
- } from "./chunk-MRULVIH3.mjs";
139
+ } from "./chunk-ISSFWEPY.mjs";
140
140
  import {
141
141
  HOISTED_HEAD_ELEMENT,
142
142
  appMiddlewareMayHandlePath,
@@ -163,7 +163,7 @@ import {
163
163
  listFarmBuiltInRoutePaths,
164
164
  resolveFarmApiCatalogInput,
165
165
  resolveFarmAppManifestInput
166
- } from "./chunk-BJHXFEAF.mjs";
166
+ } from "./chunk-YPAOC3FO.mjs";
167
167
  import {
168
168
  FARM_DEFAULT_MCP_PATH,
169
169
  createFarmDefaultMCPServer,
@@ -171,7 +171,7 @@ import {
171
171
  } from "./chunk-HR4N2K4V.mjs";
172
172
  import {
173
173
  isFarmPreviewDeploymentEnvironment
174
- } from "./chunk-LUGQUU4S.mjs";
174
+ } from "./chunk-PKV3JGMS.mjs";
175
175
  import {
176
176
  FARM_NATIVE_SERVER_FN_PLUGIN
177
177
  } from "./chunk-L4RTTTVE.mjs";
@@ -192,7 +192,7 @@ import {
192
192
  withFarmSourceSnapshot,
193
193
  withFarmSourceSnapshotOf,
194
194
  withPackageClientBoundaryCache
195
- } from "./chunk-WOTAU3BN.mjs";
195
+ } from "./chunk-NVXU5BEG.mjs";
196
196
  import {
197
197
  generateFarmDocsAdapterClientRuntime,
198
198
  getFarmDocsAdapterConfigModule
@@ -281,10 +281,10 @@ import {
281
281
  } from "./chunk-QD34VE4N.mjs";
282
282
  import {
283
283
  APIRouteManager
284
- } from "./chunk-JDO3X7RB.mjs";
284
+ } from "./chunk-SPKZCFPH.mjs";
285
285
  import {
286
286
  hasPolyroutePlugin
287
- } from "./chunk-PTAGDZ7I.mjs";
287
+ } from "./chunk-GTHBWZUK.mjs";
288
288
  import {
289
289
  readFarmI18nCatalogs
290
290
  } from "./chunk-VO55MMBX.mjs";
@@ -312,7 +312,7 @@ import {
312
312
  } from "./chunk-2I6PUKWJ.mjs";
313
313
  import {
314
314
  FARM_VERSION
315
- } from "./chunk-XJJQAFZX.mjs";
315
+ } from "./chunk-EBKYRP2P.mjs";
316
316
  import {
317
317
  FARM_VIDEO_PLAYER_PATH
318
318
  } from "./chunk-AG27TI6Q.mjs";
@@ -7454,7 +7454,7 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
7454
7454
  const appDirs = getFarmAppDirectories(config);
7455
7455
  let openAPIReference = null;
7456
7456
  if (config.openapi.enabled && config.openapi.route) {
7457
- const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-PKPQGBAE.mjs");
7457
+ const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-7BNSJKME.mjs");
7458
7458
  const openAPIManager = new OpenAPIManager(appDirs, config.openapi, {
7459
7459
  mode: "production",
7460
7460
  apiBaseURL: config.api.baseURL,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RLEAVG6G.mjs";
4
4
  import {
5
5
  resolveDeployOutputPath
6
- } from "./chunk-BGEA4K7C.mjs";
6
+ } from "./chunk-OOOUYA6L.mjs";
7
7
  import {
8
8
  farmDesktopDevGuardPlugin,
9
9
  loadFarmReactPlugin
@@ -9,7 +9,7 @@ import {
9
9
  collectSSGPages,
10
10
  matchSSGPage,
11
11
  resolveRouteRenderingConfigFromFile
12
- } from "./chunk-W3ZBLFLU.mjs";
12
+ } from "./chunk-23BZ7ZH6.mjs";
13
13
  import {
14
14
  resolveFarmRendererRoutes
15
15
  } from "./chunk-YNPVG2GG.mjs";
@@ -59,7 +59,7 @@ import {
59
59
  } from "./chunk-PEQJ4UUT.mjs";
60
60
  import {
61
61
  listFarmMCPLlmsTxtLinks
62
- } from "./chunk-BJHXFEAF.mjs";
62
+ } from "./chunk-YPAOC3FO.mjs";
63
63
  import {
64
64
  FARM_DEFAULT_MCP_PATH,
65
65
  collectFarmDefaultMCPPages,
@@ -104,7 +104,7 @@ import {
104
104
  traceFarmSourceReads,
105
105
  usesFarmServerTree,
106
106
  withFarmSourceSnapshot
107
- } from "./chunk-WOTAU3BN.mjs";
107
+ } from "./chunk-NVXU5BEG.mjs";
108
108
  import {
109
109
  _setDefaultFarmThemeConfig,
110
110
  getTheme
@@ -304,7 +304,7 @@ import {
304
304
  } from "./chunk-EILUVBKS.mjs";
305
305
  import {
306
306
  FARM_VERSION
307
- } from "./chunk-XJJQAFZX.mjs";
307
+ } from "./chunk-EBKYRP2P.mjs";
308
308
  import {
309
309
  normalizeFarmAPIConfig
310
310
  } from "./chunk-W6QLRQ3V.mjs";
@@ -524,7 +524,8 @@ var RouteManager = class _RouteManager {
524
524
  // read, so a production build can tell whether a route module's plan still holds.
525
525
  this.planStamps = /* @__PURE__ */ new Map();
526
526
  this.sourceChangeTracking = false;
527
- this.linkedSources = /* @__PURE__ */ new Map();
527
+ // planSourcePath of each file a plan read.
528
+ this.planSources = /* @__PURE__ */ new Map();
528
529
  // Whether each package directory under `node_modules` a plan read from links to a workspace.
529
530
  this.linkedPackages = /* @__PURE__ */ new Map();
530
531
  // Source files edited since the last plan; null when the next plan must recompute every module.
@@ -975,7 +976,7 @@ var RouteManager = class _RouteManager {
975
976
  }
976
977
  this.editedSources = null;
977
978
  this.sourceSnapshot?.clear();
978
- this.linkedSources.clear();
979
+ this.planSources.clear();
979
980
  this.linkedPackages.clear();
980
981
  }
981
982
  /**
@@ -1044,20 +1045,20 @@ var RouteManager = class _RouteManager {
1044
1045
  * installed package; a plan reads thousands of files of an icon package.
1045
1046
  */
1046
1047
  planSourcePath(file) {
1048
+ let source = this.planSources.get(file);
1049
+ if (source !== void 0) return source;
1050
+ source = file;
1047
1051
  const index = file.lastIndexOf(NODE_MODULES_SEGMENT);
1048
- if (index === -1) return file;
1049
- const directory = getInstalledPackageDirectory(file, index + NODE_MODULES_SEGMENT.length);
1050
- let linked = this.linkedPackages.get(directory);
1051
- if (linked === void 0) {
1052
- linked = realPathOutsideNodeModules(directory) !== null;
1053
- this.linkedPackages.set(directory, linked);
1054
- }
1055
- if (!linked) return null;
1056
- let source = this.linkedSources.get(file);
1057
- if (source === void 0) {
1058
- source = realPathOutsideNodeModules(file);
1059
- this.linkedSources.set(file, source);
1052
+ if (index !== -1) {
1053
+ const directory = getInstalledPackageDirectory(file, index + NODE_MODULES_SEGMENT.length);
1054
+ let linked = this.linkedPackages.get(directory);
1055
+ if (linked === void 0) {
1056
+ linked = realPathOutsideNodeModules(directory) !== null;
1057
+ this.linkedPackages.set(directory, linked);
1058
+ }
1059
+ source = linked ? realPathOutsideNodeModules(file) : null;
1060
1060
  }
1061
+ this.planSources.set(file, source);
1061
1062
  return source;
1062
1063
  }
1063
1064
  /**
@@ -8654,6 +8655,11 @@ function getFarmClientOptimizeDepsInclude(renderer, root) {
8654
8655
  // renderer stays source: pre-bundling it would copy the packages it shares with the app's
8655
8656
  // components into the bundle, so a hook would read a different copy than the renderer set.
8656
8657
  ...renderer && root && !isReactRenderer(renderer) && isPackageSpecifier(renderer.client) && isInstalledPackage(root, renderer.client) ? [renderer.client] : [],
8658
+ // Farm's renderer API, which a renderer's bindings import. An app's components reach it only
8659
+ // through them, from files Vite's scan may not read, such as a custom renderer's own format.
8660
+ // Served as source from a linked renderer, its imports were found on the first page request,
8661
+ // and Vite bundled again and reloaded the page while it loaded.
8662
+ ...renderer && !isReactRenderer(renderer) ? ["@farm.js/core/renderer-client"] : [],
8657
8663
  // The islands runtime of a renderer that declares `islands`, which only Farm's entry imports.
8658
8664
  ...renderer && !isReactRenderer(renderer) && getFarmRendererCapabilities(renderer).islands ? [
8659
8665
  "@farm.js/core/internal/renderer-islands",
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.2.0-beta.0";
2
+ var version = "0.2.0-beta.1";
3
3
 
4
4
  // src/version.ts
5
5
  var FARM_VERSION = version;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk6266WH6Xcjs = require('./chunk-6266WH6X.cjs');
3
+ var _chunkV3Y3R3JJcjs = require('./chunk-V3Y3R3JJ.cjs');
4
4
 
5
5
  // src/deployment-environment.ts
6
6
  function isFarmProductionDeploymentEnvironment(env = process.env) {
@@ -90,7 +90,7 @@ function createFarmProductionSiteReporter(options) {
90
90
  schemaVersion: FARM_PRODUCTION_SITE_TELEMETRY_SCHEMA_VERSION,
91
91
  eventType: FARM_PRODUCTION_SITE_ATTESTATION_EVENT_TYPE,
92
92
  packageName: FARM_PRODUCTION_SITE_TELEMETRY_PACKAGE_NAME,
93
- packageVersion: sanitizeDetail(_chunk6266WH6Xcjs.FARM_VERSION, "unknown"),
93
+ packageVersion: sanitizeDetail(_chunkV3Y3R3JJcjs.FARM_VERSION, "unknown"),
94
94
  renderer: sanitizeDetail(options.renderer, "custom"),
95
95
  deployTarget: sanitizeDetail(options.deployTarget, "custom")
96
96
  };
@@ -2,12 +2,16 @@
2
2
  function hasPolyroutePlugin(plugins) {
3
3
  return plugins?.some((plugin) => plugin.name === "polyroute") === true;
4
4
  }
5
+ function isPolyrouteRouteFileName(fileName) {
6
+ return fileName === "route.rs" || fileName === "route.go";
7
+ }
5
8
  function isFarmAPIRouteFileName(fileName, polyroute = false) {
6
- if (polyroute && fileName === "route.rs") return true;
9
+ if (polyroute && isPolyrouteRouteFileName(fileName)) return true;
7
10
  return /^route\.(?:ts|tsx|js|jsx)$/.test(fileName);
8
11
  }
9
12
 
10
13
  export {
11
14
  hasPolyroutePlugin,
15
+ isPolyrouteRouteFileName,
12
16
  isFarmAPIRouteFileName
13
17
  };
@@ -18,7 +18,7 @@ var _chunkHR5GU4UUcjs = require('./chunk-HR5GU4UU.cjs');
18
18
  var _chunkNDOE76QCcjs = require('./chunk-NDOE76QC.cjs');
19
19
 
20
20
 
21
- var _chunkIRPXOTENcjs = require('./chunk-IRPXOTEN.cjs');
21
+ var _chunkFLKG2PYHcjs = require('./chunk-FLKG2PYH.cjs');
22
22
 
23
23
 
24
24
 
@@ -599,7 +599,7 @@ async function resolveAPIContext(options) {
599
599
  config: options.config,
600
600
  configPath: options.configPath
601
601
  }));
602
- const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkIRPXOTENcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
602
+ const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkFLKG2PYHcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
603
603
  const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _25 => _25.guardedPaths]), () => ( [])));
604
604
  return {
605
605
  root,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFarmRouteLabel
3
- } from "./chunk-BJHXFEAF.mjs";
3
+ } from "./chunk-YPAOC3FO.mjs";
4
4
  import {
5
5
  _classifyFarmMCPSession,
6
6
  _farmMCPClientSession,