@farm.js/core 0.1.51-beta.1 → 0.1.51-beta.3

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 (187) hide show
  1. package/dist/{agent-mcp-handler-WWCC4GLG.mjs → agent-mcp-handler-7JSKGSOW.mjs} +4 -4
  2. package/dist/{agent-mcp-handler-RT3COCEL.cjs → agent-mcp-handler-YE4AGWHN.cjs} +5 -5
  3. package/dist/{agent-mcp.d-ZuuNgrkQ.d.ts → agent-mcp.d-BAR9njbJ.d.ts} +1 -1
  4. package/dist/{agent-mcp.d-BPzpKBHQ.d.mts → agent-mcp.d-BJKChOrO.d.mts} +1 -1
  5. package/dist/agent-runtime.d.mts +2 -2
  6. package/dist/agent-runtime.d.ts +2 -2
  7. package/dist/{analyzer-V74FTD2F.mjs → analyzer-OTPEWH5W.mjs} +82 -22
  8. package/dist/{analyzer-AZULAOPL.cjs → analyzer-TSQXZCZN.cjs} +82 -22
  9. package/dist/api/route-manager.d.mts +4 -4
  10. package/dist/api/route-manager.d.ts +4 -4
  11. package/dist/api/runtime.d.mts +3 -3
  12. package/dist/api/runtime.d.ts +3 -3
  13. package/dist/api.d.mts +4 -4
  14. package/dist/api.d.ts +4 -4
  15. package/dist/{app-manifest.d-HWhqbP2X.d.ts → app-manifest.d-BLFbaqx8.d.ts} +1 -1
  16. package/dist/{app-manifest.d-BJDcZn3W.d.mts → app-manifest.d-DEQNnNhV.d.mts} +1 -1
  17. package/dist/app-markdown.cjs +4 -4
  18. package/dist/app-markdown.d.mts +3 -3
  19. package/dist/app-markdown.d.ts +3 -3
  20. package/dist/app-markdown.mjs +3 -3
  21. package/dist/{app.d-B5EWdob-.d.ts → app.d-CNPaUYaa.d.ts} +4 -4
  22. package/dist/{app.d-DOGW1KI8.d.mts → app.d-CT7xDkj2.d.mts} +4 -4
  23. package/dist/{chunk-YVJV7Q2X.mjs → chunk-3BLEXUGE.mjs} +1 -1
  24. package/dist/chunk-3HLQTOVU.cjs +6 -0
  25. package/dist/{chunk-KU7MBLDZ.mjs → chunk-3SMXQNFD.mjs} +2 -2
  26. package/dist/{chunk-EWC76P5D.mjs → chunk-3TLKUBXG.mjs} +411 -166
  27. package/dist/{chunk-BSEKNTMS.mjs → chunk-3WSIYBMG.mjs} +41 -19
  28. package/dist/{chunk-JVBNKWLV.cjs → chunk-3XQ57EFI.cjs} +16 -16
  29. package/dist/{chunk-GW4YUIHW.mjs → chunk-3Z63X45F.mjs} +1 -1
  30. package/dist/{chunk-SCRC5AMM.mjs → chunk-4353ZRE5.mjs} +1 -1
  31. package/dist/{chunk-SBABQKPT.cjs → chunk-46KXZBOG.cjs} +5 -5
  32. package/dist/{chunk-2756SHCI.cjs → chunk-4CGOMZP3.cjs} +221 -199
  33. package/dist/{chunk-RMPNYUGT.cjs → chunk-4SEHMBL4.cjs} +10 -10
  34. package/dist/{chunk-QAIAFCRZ.mjs → chunk-4TKAIO2F.mjs} +3 -3
  35. package/dist/{chunk-NJLTQR5P.cjs → chunk-53SACYBY.cjs} +7 -7
  36. package/dist/{chunk-I3EFXUAR.mjs → chunk-5FXPJIOT.mjs} +2 -2
  37. package/dist/chunk-7FVVQEVL.cjs +541 -0
  38. package/dist/{chunk-IFBINMI4.cjs → chunk-7MD37P5V.cjs} +5 -5
  39. package/dist/{chunk-JATTVAHA.cjs → chunk-B3GM5I6N.cjs} +4 -4
  40. package/dist/chunk-C3BOESDW.mjs +541 -0
  41. package/dist/{chunk-WJFFPXCV.cjs → chunk-D7UQC4O6.cjs} +10 -8
  42. package/dist/{chunk-KRRZJ77U.mjs → chunk-E5DXF5GE.mjs} +2 -2
  43. package/dist/chunk-EFZGB7JC.cjs +114 -0
  44. package/dist/{chunk-NYQSC4DX.cjs → chunk-FFE2EMF7.cjs} +5 -5
  45. package/dist/{chunk-KMB5BMFX.mjs → chunk-GAO7MS5O.mjs} +9 -3
  46. package/dist/{chunk-HIFIG6HL.cjs → chunk-H33PJEXN.cjs} +5 -5
  47. package/dist/{chunk-TT66CP3P.cjs → chunk-HLWOWZFX.cjs} +2 -2
  48. package/dist/chunk-JXEPLIXD.cjs +389 -0
  49. package/dist/{chunk-VITZRYW3.cjs → chunk-KLNFJDFM.cjs} +15 -9
  50. package/dist/{chunk-KBRZAYI7.mjs → chunk-LDNSSHEG.mjs} +2 -2
  51. package/dist/chunk-LLZSYFOM.mjs +6 -0
  52. package/dist/{chunk-N77JBPLC.mjs → chunk-LPDKG6RA.mjs} +9 -7
  53. package/dist/chunk-MIGFX2FN.mjs +758 -0
  54. package/dist/{chunk-72D2NX77.mjs → chunk-MRNDAJEV.mjs} +1 -1
  55. package/dist/{chunk-5A5GAZ75.mjs → chunk-NOTSHVRN.mjs} +406 -234
  56. package/dist/{chunk-AGR7VJH2.cjs → chunk-OAMUSC7H.cjs} +1 -1
  57. package/dist/chunk-P6MHI5O2.cjs +758 -0
  58. package/dist/{chunk-EOSFVNXZ.mjs → chunk-R4PHCZ3G.mjs} +1 -1
  59. package/dist/{chunk-X2M4XN4V.cjs → chunk-TQMI6BYO.cjs} +675 -430
  60. package/dist/{chunk-76GHW3WI.cjs → chunk-TSFMFPRU.cjs} +4 -4
  61. package/dist/{chunk-5N7QAGEA.cjs → chunk-TWHXBMLJ.cjs} +37 -7
  62. package/dist/{chunk-BOVGCUDZ.cjs → chunk-UJL4JOXV.cjs} +2 -2
  63. package/dist/chunk-UQF3OJVE.mjs +389 -0
  64. package/dist/{chunk-XY4DYGSU.cjs → chunk-WGUHDWT5.cjs} +607 -435
  65. package/dist/{chunk-LAZK6UV7.mjs → chunk-YAJTD3ZG.mjs} +1 -1
  66. package/dist/{chunk-7UPCJDB5.mjs → chunk-YUEYBL35.mjs} +2 -2
  67. package/dist/{chunk-EIMK7D2D.mjs → chunk-ZD2VKAUI.mjs} +34 -4
  68. package/dist/chunk-ZNXTU4YH.mjs +114 -0
  69. package/dist/{client-plugins.d-C_3CdALC.d.mts → client-plugins.d-DllmH8eM.d.mts} +31 -5
  70. package/dist/{client-plugins.d-C0n8Yhh-.d.ts → client-plugins.d-n3iWY1EJ.d.ts} +31 -5
  71. package/dist/client-plugins.d.mts +2 -2
  72. package/dist/client-plugins.d.ts +2 -2
  73. package/dist/client.d.mts +7 -7
  74. package/dist/client.d.ts +7 -7
  75. package/dist/{config.d-CnhyvvmT.d.ts → config.d-DqKaCr1r.d.mts} +14 -3
  76. package/dist/{config.d-CnhyvvmT.d.mts → config.d-DqKaCr1r.d.ts} +14 -3
  77. package/dist/config.d.mts +2 -2
  78. package/dist/config.d.ts +2 -2
  79. package/dist/desktop.d.mts +3 -3
  80. package/dist/desktop.d.ts +3 -3
  81. package/dist/{devtools-KJFUE5FO.cjs → devtools-TO6TAO32.cjs} +5 -5
  82. package/dist/{devtools-BU5IT2PD.mjs → devtools-UESYARTF.mjs} +4 -4
  83. package/dist/docs.cjs +7 -7
  84. package/dist/docs.d.mts +3 -3
  85. package/dist/docs.d.ts +3 -3
  86. package/dist/docs.mjs +6 -6
  87. package/dist/index.cjs +23 -18
  88. package/dist/{index.d-CsGxS-hZ.d.mts → index.d-BL7KKiwa.d.mts} +1 -1
  89. package/dist/{index.d-B6M_8kmo.d.ts → index.d-BXsAXm1U.d.ts} +1 -1
  90. package/dist/index.d.mts +17 -17
  91. package/dist/index.d.ts +17 -17
  92. package/dist/index.mjs +23 -18
  93. package/dist/integrations.d.mts +2 -2
  94. package/dist/integrations.d.ts +2 -2
  95. package/dist/internal/app-markdown-runtime.cjs +3 -3
  96. package/dist/internal/app-markdown-runtime.d.mts +3 -3
  97. package/dist/internal/app-markdown-runtime.d.ts +3 -3
  98. package/dist/internal/app-markdown-runtime.mjs +2 -2
  99. package/dist/internal/build-runtime.cjs +21 -18
  100. package/dist/internal/build-runtime.d.mts +4 -4
  101. package/dist/internal/build-runtime.d.ts +4 -4
  102. package/dist/internal/build-runtime.mjs +20 -17
  103. package/dist/internal/cli-runtime.cjs +7 -7
  104. package/dist/internal/cli-runtime.mjs +6 -6
  105. package/dist/internal/client-error-overlay.cjs +4 -4
  106. package/dist/internal/client-error-overlay.mjs +1 -1
  107. package/dist/internal/client-runtime.d.mts +5 -5
  108. package/dist/internal/client-runtime.d.ts +5 -5
  109. package/dist/internal/compression-runtime.d.mts +2 -2
  110. package/dist/internal/compression-runtime.d.ts +2 -2
  111. package/dist/internal/config-runtime.cjs +6 -6
  112. package/dist/internal/config-runtime.d.mts +41 -80
  113. package/dist/internal/config-runtime.d.ts +41 -80
  114. package/dist/internal/config-runtime.mjs +5 -5
  115. package/dist/internal/infra-analytics-runtime.cjs +8 -8
  116. package/dist/internal/infra-analytics-runtime.mjs +6 -6
  117. package/dist/internal/product-telemetry-runtime.cjs +2 -2
  118. package/dist/internal/product-telemetry-runtime.mjs +1 -1
  119. package/dist/internal/production-runtime.cjs +91 -9
  120. package/dist/internal/production-runtime.d.mts +67 -12
  121. package/dist/internal/production-runtime.d.ts +67 -12
  122. package/dist/internal/production-runtime.mjs +90 -8
  123. package/dist/markdown.cjs +4 -2
  124. package/dist/markdown.d.mts +2 -2
  125. package/dist/markdown.d.ts +2 -2
  126. package/dist/markdown.mjs +3 -1
  127. package/dist/middleware.d.mts +4 -4
  128. package/dist/middleware.d.ts +4 -4
  129. package/dist/mobile.d.mts +21 -5
  130. package/dist/mobile.d.ts +21 -5
  131. package/dist/native-tree-EBPDFTRW.mjs +25 -0
  132. package/dist/native-tree-MMZS7S6W.cjs +25 -0
  133. package/dist/{navigation-delegate.d-C0BbdUgN.d.mts → navigation-delegate.d-C76gXTmO.d.mts} +1 -1
  134. package/dist/{navigation-delegate.d-jArRF0ZP.d.ts → navigation-delegate.d-DIyDslxt.d.ts} +1 -1
  135. package/dist/navigation.d.mts +5 -5
  136. package/dist/navigation.d.ts +5 -5
  137. package/dist/plugin.cjs +14 -13
  138. package/dist/plugin.d.mts +5 -4
  139. package/dist/plugin.d.ts +5 -4
  140. package/dist/plugin.mjs +13 -12
  141. package/dist/{production-runtime.d-DFaQ1qaV.d.mts → production-runtime.d-CDHztggO.d.mts} +1 -1
  142. package/dist/{production-runtime.d-UnXmSS_S.d.ts → production-runtime.d-tyaGdbk6.d.ts} +1 -1
  143. package/dist/{programmatic-routes-client.d-VZ0qcbH4.d.ts → programmatic-routes-client.d-XfmIrCK1.d.ts} +2 -2
  144. package/dist/{programmatic-routes-client.d-BIowUXQC.d.mts → programmatic-routes-client.d-aAWiDd64.d.mts} +2 -2
  145. package/dist/{render-plan.d-BNeqyPyJ.d.mts → render-plan.d-Diwybxo8.d.mts} +1 -1
  146. package/dist/{render-plan.d-BB6KrYjP.d.ts → render-plan.d-Dr5WRjoV.d.ts} +1 -1
  147. package/dist/renderer-client.d.mts +5 -5
  148. package/dist/renderer-client.d.ts +5 -5
  149. package/dist/{request.d-Bxhghm76.d.ts → request.d-D01fRn--.d.ts} +1 -1
  150. package/dist/{request.d-BV1munmx.d.mts → request.d-Dd3AFR79.d.mts} +1 -1
  151. package/dist/request.d.mts +3 -3
  152. package/dist/request.d.ts +3 -3
  153. package/dist/{route-rendering.d-DShqKlgK.d.mts → route-rendering.d-BQ53lJ_D.d.mts} +1 -1
  154. package/dist/{route-rendering.d-BIf7zE9d.d.ts → route-rendering.d-Bhx4QoJt.d.ts} +1 -1
  155. package/dist/{router.d-BE7i84fb.d.mts → router.d-Bi23a6Xc.d.mts} +1 -1
  156. package/dist/{router.d-Bw3K3b0a.d.ts → router.d-DQ3k7EYn.d.ts} +1 -1
  157. package/dist/{routes.d-_5tBQexL.d.mts → routes.d-BgTd7vI4.d.mts} +91 -4
  158. package/dist/{routes.d-DVZQL0-H.d.ts → routes.d-C7jMJFvP.d.ts} +91 -4
  159. package/dist/routes.d.mts +2 -2
  160. package/dist/routes.d.ts +2 -2
  161. package/dist/{rsc-pipeline-FBM6NFYY.mjs → rsc-pipeline-K3ER3Q4N.mjs} +5 -5
  162. package/dist/{rsc-pipeline-IQI5XQLS.cjs → rsc-pipeline-OCZIT5OF.cjs} +6 -6
  163. package/dist/{runtime-DXEVFYLE.cjs → runtime-DKNSIH7V.cjs} +85 -29
  164. package/dist/{runtime-2JYIDUON.mjs → runtime-MKYDEUZT.mjs} +75 -19
  165. package/dist/{runtime.d-CQgoYR0Q.d.mts → runtime.d-B2Js6qZ2.d.mts} +1 -1
  166. package/dist/{runtime.d-CfhaLPl-.d.ts → runtime.d-BL-CGwoi.d.ts} +1 -1
  167. package/dist/server-plugins.d.mts +3 -3
  168. package/dist/server-plugins.d.ts +3 -3
  169. package/dist/server.cjs +31 -30
  170. package/dist/server.d.mts +11 -10
  171. package/dist/server.d.ts +11 -10
  172. package/dist/server.mjs +16 -15
  173. package/dist/session-AAU7RNRO.cjs +23 -0
  174. package/dist/session-IGEDQ5PY.mjs +23 -0
  175. package/dist/{spa-router.d-D63jb6nX.d.mts → spa-router.d-B2rIFGs0.d.mts} +2 -2
  176. package/dist/{spa-router.d-C5opIgXg.d.ts → spa-router.d-DqZ6Lfs0.d.ts} +2 -2
  177. package/dist/testing.d.mts +2 -2
  178. package/dist/testing.d.ts +2 -2
  179. package/dist/{utils.d-CkpTqTsC.d.ts → utils.d-Bv2MPeLR.d.ts} +1 -1
  180. package/dist/{utils.d-CO-U4OVZ.d.mts → utils.d-fqXe8lNc.d.mts} +1 -1
  181. package/dist/version.cjs +2 -2
  182. package/dist/version.mjs +1 -1
  183. package/dist/vite.cjs +14 -13
  184. package/dist/vite.d.mts +12 -6
  185. package/dist/vite.d.ts +12 -6
  186. package/dist/vite.mjs +13 -12
  187. package/package.json +3 -3
@@ -3,7 +3,7 @@ import {
3
3
  getFarmMarkdownMirrorPath,
4
4
  isFarmMarkdownMirrorExposed,
5
5
  matchesFarmMarkdownRoutePattern
6
- } from "./chunk-N77JBPLC.mjs";
6
+ } from "./chunk-LPDKG6RA.mjs";
7
7
  import {
8
8
  applyFarmBasePath
9
9
  } from "./chunk-SF3JB56B.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XAXTTBUT.mjs";
4
4
  import {
5
5
  serializeFarmLlmsTxt
6
- } from "./chunk-LAZK6UV7.mjs";
6
+ } from "./chunk-YAJTD3ZG.mjs";
7
7
  import {
8
8
  stampFarmCspNonce
9
9
  } from "./chunk-22W4FNTG.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-YWPNIYUP.mjs";
13
13
  import {
14
14
  emitFarmAgentRead
15
- } from "./chunk-N77JBPLC.mjs";
15
+ } from "./chunk-LPDKG6RA.mjs";
16
16
  import {
17
17
  integrationMiddlewareMayHandlePath
18
18
  } from "./chunk-F6TLUMH7.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-22W4FNTG.mjs";
19
19
  import {
20
20
  farmAcceptQuality
21
- } from "./chunk-N77JBPLC.mjs";
21
+ } from "./chunk-LPDKG6RA.mjs";
22
22
  import {
23
23
  matchesFarmIfNoneMatch
24
24
  } from "./chunk-GFT5AHAT.mjs";
@@ -758,6 +758,23 @@ function titleFromMarkdown(body, fallback) {
758
758
  const heading = body.match(/^#\s+(.+)$/m)?.[1]?.trim();
759
759
  return heading || fallback;
760
760
  }
761
+ function createLastModifiedResolver(contentDir, sourcePath, frontmatter) {
762
+ let resolved = false;
763
+ let value;
764
+ return {
765
+ get() {
766
+ if (!resolved) {
767
+ value = resolveFarmDocsPageLastModified(contentDir, sourcePath, frontmatter);
768
+ resolved = true;
769
+ }
770
+ return value;
771
+ },
772
+ set(next) {
773
+ value = next;
774
+ resolved = true;
775
+ }
776
+ };
777
+ }
761
778
  function loadFarmDocsPage(contentDir, docs, slug) {
762
779
  const sourcePath = findDocsPageFile(contentDir, slug);
763
780
  if (!sourcePath) return null;
@@ -765,6 +782,7 @@ function loadFarmDocsPage(contentDir, docs, slug) {
765
782
  const { frontmatter, body } = parseFrontmatter(source);
766
783
  const title = frontmatter.title || titleFromMarkdown(body, titleFromSlug(slug));
767
784
  const href = createDocsHref(docs.entry, slug);
785
+ const lastModified = createLastModifiedResolver(contentDir, sourcePath, frontmatter);
768
786
  return {
769
787
  slug,
770
788
  title,
@@ -772,7 +790,12 @@ function loadFarmDocsPage(contentDir, docs, slug) {
772
790
  section: frontmatter.section,
773
791
  href,
774
792
  sourcePath,
775
- lastModified: resolveFarmDocsPageLastModified(contentDir, sourcePath, frontmatter),
793
+ get lastModified() {
794
+ return lastModified.get();
795
+ },
796
+ set lastModified(value) {
797
+ lastModified.set(value);
798
+ },
776
799
  frontmatter,
777
800
  body
778
801
  };
@@ -817,6 +840,7 @@ function discoverFarmDocsPages(contentDir, docs) {
817
840
  if (slug === null) continue;
818
841
  const source = readFileSync2(absolutePath, "utf8");
819
842
  const { frontmatter, body } = parseFrontmatter(source);
843
+ const lastModified = createLastModifiedResolver(contentDir, absolutePath, frontmatter);
820
844
  pages.push({
821
845
  slug,
822
846
  title: frontmatter.title || titleFromMarkdown(body, titleFromSlug(slug)),
@@ -824,7 +848,12 @@ function discoverFarmDocsPages(contentDir, docs) {
824
848
  section: frontmatter.section,
825
849
  href: createDocsHref(docs.entry, slug),
826
850
  sourcePath: absolutePath,
827
- lastModified: resolveFarmDocsPageLastModified(contentDir, absolutePath, frontmatter)
851
+ get lastModified() {
852
+ return lastModified.get();
853
+ },
854
+ set lastModified(value) {
855
+ lastModified.set(value);
856
+ }
828
857
  });
829
858
  }
830
859
  };
@@ -901,8 +930,9 @@ function formatLastModifiedDate(value) {
901
930
  }
902
931
  function renderLastUpdatedText(page, docs, position) {
903
932
  const config = resolveLastUpdatedDisplayConfig(docs);
933
+ if (!config.enabled || config.position !== position) return "";
904
934
  const formatted = formatLastModifiedDate(page.lastModified);
905
- if (!config.enabled || config.position !== position || !formatted) return "";
935
+ if (!formatted) return "";
906
936
  const time = `<time datetime="${escapeAttribute(page.lastModified || "")}">${escapeHtml(formatted)}</time>`;
907
937
  const label = config.label.trim();
908
938
  return label ? `${escapeHtml(label)} ${time}` : time;
@@ -0,0 +1,114 @@
1
+ // src/nitro/mobile-client.ts
2
+ import fs from "fs/promises";
3
+ import path from "path";
4
+ var FARM_MOBILE_CLIENT_ENTRY_NAME = "farm-mobile-client";
5
+ var FARM_MOBILE_CLIENT_MANIFEST_FILE = "mobile-client.json";
6
+ var HASHED_FILE = /-h[0-9a-f]{8,}\.[A-Za-z0-9]+$/;
7
+ function isFarmContentHashedFile(file) {
8
+ return HASHED_FILE.test(file);
9
+ }
10
+ function manifestPath(buildDir) {
11
+ return path.join(buildDir, FARM_MOBILE_CLIENT_MANIFEST_FILE);
12
+ }
13
+ async function removeFarmMobileClientManifest(buildDir) {
14
+ await fs.rm(manifestPath(buildDir), { force: true });
15
+ }
16
+ function createFarmMobileClientManifestPlugin(options) {
17
+ return {
18
+ name: "farm-mobile-client-manifest",
19
+ enforce: "post",
20
+ async generateBundle(_output, bundle) {
21
+ const entry = Object.entries(bundle).find(
22
+ ([, output]) => output.type === "chunk" && output.isEntry && output.name === options.entryName
23
+ )?.[0];
24
+ const record = entry ? {
25
+ entry,
26
+ files: Object.keys(bundle).filter((file) => !file.endsWith(".css") && !file.endsWith(".map")).sort()
27
+ } : null;
28
+ await fs.mkdir(options.buildDir, { recursive: true });
29
+ await fs.writeFile(manifestPath(options.buildDir), JSON.stringify(record));
30
+ }
31
+ };
32
+ }
33
+ async function hasFarmMobileClientEntry(buildDir, clientOutputDir) {
34
+ let record = null;
35
+ try {
36
+ record = JSON.parse(await fs.readFile(manifestPath(buildDir), "utf8"));
37
+ } catch {
38
+ return false;
39
+ }
40
+ if (!record) return false;
41
+ return fs.stat(path.join(clientOutputDir, record.entry)).then(
42
+ (stat) => stat.isFile() && stat.size > 0,
43
+ () => false
44
+ );
45
+ }
46
+ function stylesheetUrls(css) {
47
+ const urls = [];
48
+ for (const match of css.matchAll(/url\(\s*(["']?)(\/[^"')?#]+)[^"')]*\1\s*\)/g)) {
49
+ urls.push(match[2]);
50
+ }
51
+ return urls;
52
+ }
53
+ async function finalizeFarmMobileClient(options) {
54
+ let record = null;
55
+ try {
56
+ record = JSON.parse(await fs.readFile(manifestPath(options.buildDir), "utf8"));
57
+ } catch {
58
+ return null;
59
+ }
60
+ if (!record) return null;
61
+ const mobileFiles = new Set(record.files);
62
+ const files = new Set(record.files.filter(isFarmContentHashedFile).map((file) => `/${file}`));
63
+ const stylesheetFile = options.stylesheet.replace(/^\/+/, "");
64
+ if (isFarmContentHashedFile(stylesheetFile)) {
65
+ files.add(`/${stylesheetFile}`);
66
+ const css = await fs.readFile(path.join(options.clientOutputDir, stylesheetFile), "utf8").catch(() => "");
67
+ for (const url of stylesheetUrls(css)) {
68
+ const file = url.replace(/^\/+/, "");
69
+ if (!isFarmContentHashedFile(file)) continue;
70
+ const exists = await fs.stat(path.join(options.clientOutputDir, file)).then(
71
+ (stat) => stat.isFile(),
72
+ () => false
73
+ );
74
+ if (exists) files.add(`/${file}`);
75
+ }
76
+ }
77
+ const manifest = {
78
+ version: 1,
79
+ webEntry: options.webEntry,
80
+ entry: `/${record.entry}`,
81
+ stylesheet: options.stylesheet,
82
+ files: [...files].sort()
83
+ };
84
+ await fs.writeFile(manifestPath(options.buildDir), `${JSON.stringify(manifest, null, 2)}
85
+ `);
86
+ return {
87
+ webEntry: options.webEntry,
88
+ entry: manifest.entry,
89
+ webOnly: options.webFiles.filter((file) => !mobileFiles.has(file)).sort()
90
+ };
91
+ }
92
+ async function readFarmMobileClientManifest(buildDir) {
93
+ try {
94
+ const manifest = JSON.parse(await fs.readFile(manifestPath(buildDir), "utf8"));
95
+ return manifest && manifest.version === 1 ? manifest : null;
96
+ } catch {
97
+ return null;
98
+ }
99
+ }
100
+ function encodeFarmMobileShellClient(client) {
101
+ return JSON.stringify(JSON.stringify(client)).slice(1, -1).replace(/'/g, "\\u0027").replace(/`/g, "\\u0060").replace(/\$/g, "\\u0024").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
102
+ }
103
+ var FARM_MOBILE_SHELL_CLIENT_PLACEHOLDER = "__farm_mobile_shell_client__";
104
+
105
+ export {
106
+ FARM_MOBILE_CLIENT_ENTRY_NAME,
107
+ removeFarmMobileClientManifest,
108
+ createFarmMobileClientManifestPlugin,
109
+ hasFarmMobileClientEntry,
110
+ finalizeFarmMobileClient,
111
+ readFarmMobileClientManifest,
112
+ encodeFarmMobileShellClient,
113
+ FARM_MOBILE_SHELL_CLIENT_PLACEHOLDER
114
+ };
@@ -21,7 +21,7 @@ import { a as FarmLayerEntry, R as ResolvedFarmLayer } from './layers.d-CcS42OGR
21
21
  import { a as FarmImageConfig, R as ResolvedFarmImageConfig } from './image-config.d-CeDgNyX4.mjs';
22
22
  import { k as FarmI18nUserConfig, R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.mjs';
23
23
  import { FarmCacheUserConfig } from './cache.mjs';
24
- import { P as PlatformBlockCache, b as FarmMobileConfigInput } from './config.d-CnhyvvmT.mjs';
24
+ import { P as PlatformBlockCache, b as FarmMobileConfigInput } from './config.d-DqKaCr1r.mjs';
25
25
  import { R as ResolvedFarmThemeConfig, d as FarmThemeConfig } from './types.d-DQnyD3VD.mjs';
26
26
  import { FarmLayoutFonts } from './font.mjs';
27
27
 
@@ -1224,6 +1224,11 @@ declare function getFarmMarkdownAlternatePath(config: FarmMarkdownResolvedConfig
1224
1224
  declare function isFarmMarkdownMirrorExposed(config: FarmMarkdownResolvedConfig | undefined, pathname: string): boolean;
1225
1225
  /** @internal Matches a page pathname against a route pattern such as `/docs/[...slug]`. */
1226
1226
  declare function matchesFarmMarkdownRoutePattern(pattern: string, pathname: string): boolean;
1227
+ /**
1228
+ * @internal A rendered page as a reader sees it, whole: streamed Suspense content in place, and
1229
+ * scripts, styles, comments, and hidden elements removed. The native tier reads pages this way too.
1230
+ */
1231
+ declare function _readFarmRenderedHtml(html: string): string;
1227
1232
  interface FarmPageFormOption {
1228
1233
  value: string;
1229
1234
  label?: string;
@@ -2560,9 +2565,11 @@ interface FarmUserConfig extends Omit<FarmConfig, "vite" | "docs" | "env" | "lay
2560
2565
  desktop?: FarmDesktopConfigInput;
2561
2566
  /**
2562
2567
  * Preview: the native mobile app (RFC 0004), as a block or a function of
2563
- * `{ os, mode, command, profile, env, root }`. Config only for now: `farm config inspect
2564
- * --mobile` resolves it and its route manifest; there is no `--mobile` shell yet. Web builds
2565
- * never call the function or check the block, and ship neither.
2568
+ * `{ os, mode, command, profile, env, root }`, for `farm dev|build --mobile`. Web builds never
2569
+ * call the function or check the block, and ship neither; they also build the mobile client,
2570
+ * which pages load when a mobile shell asks for them. A server of an app with the block
2571
+ * serves `/__farm/mobile/session` so the app's native screens can sign in with device tokens,
2572
+ * and answers the app's native-tier screen requests.
2566
2573
  */
2567
2574
  mobile?: FarmMobileConfigInput;
2568
2575
  docs?: FarmDocsUserConfig;
@@ -2600,6 +2607,12 @@ interface ResolvedFarmConfig extends Required<Omit<FarmUserConfig, "extends" | "
2600
2607
  agent: ResolvedFarmAgentConfig;
2601
2608
  /** Set only in a desktop dev session or build (`--desktop`); `null` on the web. */
2602
2609
  desktop: ResolvedFarmDesktopConfig | null;
2610
+ /**
2611
+ * @internal True when farm.config has a `mobile` block. A production build then also builds the
2612
+ * mobile client, which documents use when a mobile shell asks for them (RFC 0004, 7.2). The
2613
+ * block itself is never called or checked here.
2614
+ */
2615
+ mobileClient?: boolean;
2603
2616
  /** @internal Tracks whether `context` came from user/layer config instead of the default noop. */
2604
2617
  [FARM_RESOLVED_CUSTOM_CONTEXT]?: boolean;
2605
2618
  root: string;
@@ -3775,6 +3788,19 @@ interface FarmIntegration<TSchema extends FarmIntegrationSchema | undefined = Fa
3775
3788
  documentNavigations?: readonly FarmIntegrationDocumentNavigation[];
3776
3789
  /** Additional Farm plugins owned and configured by this integration. */
3777
3790
  plugins?: readonly FarmIntegrationContributedPlugin<NoInfer<TInstance>>[];
3791
+ /**
3792
+ * Auth integrations: the signed-in session of a request, read from its cookies, or null when
3793
+ * nobody is signed in. Mobile session tokens (`/__farm/mobile/session`) use it to check that a
3794
+ * device's cookies still sign someone in when they are issued and refreshed.
3795
+ */
3796
+ session?: (request: Request) => FarmIntegrationSession | null | Promise<FarmIntegrationSession | null>;
3797
+ }
3798
+ /** What an auth integration's `session()` returns for a signed-in request. */
3799
+ interface FarmIntegrationSession {
3800
+ /** Stable for the life of the session: a new sign-in is a new id. */
3801
+ id: string;
3802
+ userId?: string;
3803
+ expiresAt?: Date | string | number;
3778
3804
  }
3779
3805
  type FarmIntegrationsUserConfig = Record<string, FarmIntegration<any, any, any> | undefined>;
3780
3806
  /** @internal Identifies plugins owned by platform-managed integrations. */
@@ -3972,4 +3998,4 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
3972
3998
  setCookies: string[];
3973
3999
  }>;
3974
4000
 
3975
- export { type FarmPluginDatabase as $, type FarmRouteRegions as A, type BundleResultPayload as B, type FarmRouteMaxDuration as C, type FarmRedirectSignal as D, type FarmRedirectStatus as E, type FarmPlugin as F, getFarmRedirectError as G, isFarmNotFoundError as H, isFarmRedirectError as I, notFound as J, permanentRedirect as K, type LayoutProps as L, type Metadata as M, redirect as N, loadConfig as O, type ParsedRoute as P, resolveConfig as Q, type ResolvedFarmDesktopConfig as R, resolveDeployConfig as S, type APIHandlerLifecyclePayload as T, type APIRouteDiscoveredPayload as U, type BundleLifecyclePayload as V, type ErrorLifecyclePayload as W, FARM_NODE_RESPONSE_END_PENDING as X, type FarmDevtoolsUserConfig as Y, type FarmPluginBuildHooks as Z, type FarmPluginClientConfig as _, type FarmIntegration as a, type MetadataRobotsDirectives as a$, type FarmPluginDefinition as a0, type FarmPluginDevHooks as a1, type FarmPluginDiscoveredRoute as a2, type FarmPluginIntegrationContext as a3, type FarmPluginLifecycle as a4, type FarmPluginRenderHooks as a5, type FarmPluginRouteRuntimePayload as a6, type FarmPluginRouterHooks as a7, type FarmPluginRuntimeAfterEvent as a8, type FarmPluginRuntimeBaseEvent as a9, type RouteMatchResultPayload as aA, type RoutesGeneratedPayload as aB, type ShutdownPayload as aC, definePlugin as aD, resolveFarmDevtoolsConfig as aE, type FarmConfig as aF, type AppRoutePattern as aG, type BuildOptions as aH, type ErrorBoundary as aI, type ErrorProps as aJ, type FarmComponentType as aK, type FarmContextFactory as aL, type FarmContextFactoryInput as aM, type FarmIsolatedClientHydrationMode as aN, type FarmMCPUserConfig as aO, type FarmMigrationCommand as aP, type FarmMigrationsConfig as aQ, type FarmMigrationsUserConfig as aR, type GenerateStaticParams as aS, type Layout as aT, type LayoutMetadataProps as aU, type LayoutModule as aV, type Loading as aW, type LoadingProps as aX, type MetadataJsonLd as aY, type MetadataProps as aZ, type MetadataRobots as a_, type FarmPluginRuntimeBeforeEvent as aa, type FarmPluginRuntimeCloseEvent as ab, type FarmPluginRuntimeContextEvent as ac, type FarmPluginRuntimeEndpoint as ad, type FarmPluginRuntimeEndpointEvent as ae, type FarmPluginRuntimeErrorEvent as af, type FarmPluginRuntimeHooks as ag, type FarmPluginRuntimeKind as ah, type FarmPluginRuntimeRequestHandler as ai, type FarmPluginRuntimeRequestOptions as aj, type FarmPluginRuntimeSession as ak, type FarmPluginRuntimeStartEvent as al, type FarmPluginSetupContext as am, type FarmPluginStateContext as an, type FarmRequestPluginContext as ao, type FarmRequestStore as ap, FarmRuntimeShutdownError as aq, type HMRUpdatePayload as ar, type MiddlewareDiscoveredPayload as as, type NitroBuildLifecyclePayload as at, PluginManager as au, type PluginRequestContext as av, type RenderLifecyclePayload as aw, type ResolvedFarmDevtoolsConfig as ax, type RouteDiscoveredPayload as ay, type RouteMatchPayload as az, type FarmDesktopConfigInput as b, type DefinedIntegration as b$, type MiddlewareProps as b0, type NitroPreset as b1, type Page as b2, type PagePropsWithMiddleware as b3, type PageRouteParams as b4, type ResolvedFarmMigrationsConfig as b5, type SSGCollectionResult as b6, type SSGPage as b7, type ServerAction as b8, type StaticPathParams as b9, resolveFarmDesktopBlock as bA, resolveFarmDesktopConfig as bB, setFarmDesktopDevSession as bC, validateFarmDesktopConfig as bD, type ResolvedFarmRouteRuntimeConfig as bE, type ApplicationMetadataRouteKind as bF, type ResolvedFarmAPIConfig as bG, type FarmDocsResolvedConfig as bH, type ResolvedFarmDevIndicatorsConfig as bI, type ResolvedFarmAuthConfig as bJ, type ResolvedFarmPerformanceConfig as bK, type ResolvedFarmSecurityConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type ResolvedSchemaField as bO, type FarmSqlStatement as bP, type FarmSqlDialect as bQ, type CollectedSchemaModel as bR, type FarmSchemaMigrationStep as bS, type OpenAPIConfig as bT, type ApplyMarkdownNegotiationHeadersOptions as bU, type CookieJar as bV, type CookieOptions as bW, type CreateIntegrationOrmOptions as bX, type CreateMarkdownMirrorResponseOptions as bY, DEFAULT_FARM_API_BASE_PATH as bZ, DEFAULT_FARM_DEVTOOLS_SHORTCUT as b_, type StaticPathPrimitive as ba, type StaticRouteParams as bb, type ThemeColorDescriptor as bc, type Viewport as bd, resolveFarmMCPConfig as be, resolveFarmMCPPlugin as bf, type FarmMCPCatalogDetails as bg, type ResolvedFarmAppManifestConfig as bh, type ReadonlyMiddlewareStore as bi, type FarmMiddlewareConfig as bj, type MiddlewareModule as bk, type MiddlewareConfig$1 as bl, type MiddlewareContext as bm, type FarmServerComponentsMode as bn, type ResolvedFarmConfig as bo, type FarmAgentJsonLd as bp, type FarmMCPServerRegistration as bq, type FarmMarkdownResolvedConfig as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmDesktopDevSession as bv, type FarmDesktopSetupOptions as bw, createFarmDesktopContext as bx, getFarmDesktopOutputDirs as by, installFarmDesktopSetup as bz, type FarmDesktopContext as c, type FarmIntegrationRoute as c$, FARM_DEVTOOLS_LAUNCH_PARAM as c0, FARM_DEVTOOLS_PATH as c1, FARM_INTEGRATION_API_BASE_PATH_KEY as c2, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as c3, FARM_INTEGRATION_SET_COOKIES_KEY as c4, FARM_MARKDOWN_PAGE_CHECK_HEADER as c5, type FarmAPIConfig as c6, type FarmAPIConfigResolverContext as c7, type FarmAPIConfigValue as c8, type FarmAgentCrawlers as c9, type FarmIntegrationConfigContext as cA, type FarmIntegrationConfigDefinition as cB, type FarmIntegrationConfigInput as cC, type FarmIntegrationContributedPlugin as cD, type FarmIntegrationData as cE, type FarmIntegrationDocumentNavigation as cF, type FarmIntegrationEndpointValue as cG, type FarmIntegrationEndpoints as cH, type FarmIntegrationEndpointsFactory as cI, type FarmIntegrationEndpointsFactoryContext as cJ, type FarmIntegrationHandlerContext as cK, type FarmIntegrationInputSchema as cL, type FarmIntegrationLifecycleContext as cM, type FarmIntegrationLifecycleHook as cN, type FarmIntegrationLifecycleLogLevel as cO, type FarmIntegrationLifecycleLogger as cP, type FarmIntegrationLogEvent as cQ, type FarmIntegrationLogPhase as cR, type FarmIntegrationLogger as cS, type FarmIntegrationMiddleware as cT, type FarmIntegrationOrmClient as cU, type FarmIntegrationOrmSchema as cV, type FarmIntegrationPluginOwner as cW, type FarmIntegrationProvider as cX, type FarmIntegrationProviderComponentReference as cY, type FarmIntegrationProviderProps as cZ, type FarmIntegrationRequestContextStore as c_, type FarmAgentUserConfig as ca, type FarmAppManifestConfig as cb, type FarmAuthConfig as cc, type FarmAuthDatabaseConfig as cd, type FarmAuthEmailAndPasswordConfig as ce, type FarmAuthSessionConfig as cf, type FarmAuthUserConfig as cg, type FarmBuildActivityPosition as ch, type FarmCrawlerPolicy as ci, type FarmCspConfig as cj, type FarmCspDirectiveValue as ck, type FarmCspDirectives as cl, type FarmCspOptions as cm, type FarmDeployConfig as cn, type FarmDeployTarget as co, type FarmDevIndicatorsConfig as cp, type FarmDevtoolsConfig as cq, type FarmDocsConfigInput as cr, type FarmDocsNavigationConfig as cs, type FarmDocsResolvedRoot as ct, type FarmDocsRootInput as cu, type FarmDocsSidebarItem as cv, type FarmDocsSocialImageConfig as cw, type FarmDocsSocialImageFonts as cx, type FarmDocsUserConfig as cy, type FarmIntegrationCategory as cz, type FarmDesktopUserConfig as d, type FarmPreloadMode as d$, type FarmIntegrationRouteArgs as d0, type FarmIntegrationRouteDb as d1, type FarmIntegrationRouteFactory as d2, type FarmIntegrationRouteHook as d3, type FarmIntegrationRouteHookContext as d4, type FarmIntegrationRouteInput as d5, type FarmIntegrationRouteInputSchemas as d6, type FarmIntegrationRouteInputSource as d7, type FarmIntegrationRouteMethod as d8, type FarmIntegrationRouteMiddleware as d9, type FarmMCPEndpointTool as dA, type FarmMCPExecuteContext as dB, type FarmMCPOAuthConfig as dC, type FarmMCPPrompt as dD, type FarmMCPPromptMessage as dE, type FarmMCPResource as dF, type FarmMCPResourceContent as dG, type FarmMCPResourceContext as dH, type FarmMCPResourceListing as dI, type FarmMCPServer as dJ, type FarmMCPServerFunction as dK, type FarmMCPStandaloneTool as dL, type FarmMCPTool as dM, type FarmMCPToolDefinition as dN, type FarmMarkdownMirrorTarget as dO, type FarmMarkdownResolvedRoute as dP, type FarmMarkdownRouteInput as dQ, type FarmMarkdownUserConfig as dR, type FarmPageFormAction as dS, type FarmPageFormField as dT, type FarmPageFormOption as dU, type FarmPageFormSubmit as dV, type FarmPerformanceConfig as dW, type FarmPluginFactory as dX, FarmPluginOptionsError as dY, type FarmPluginOptionsIssue as dZ, type FarmPluginOptionsSchema as d_, type FarmIntegrationRouteParamValue as da, type FarmIntegrationRouteParams as db, type FarmIntegrationRouteStorageArgs as dc, type FarmIntegrationRoutesFactory as dd, type FarmIntegrationRoutesFactoryContext as de, type FarmIntegrationSchema as df, type FarmIntegrationSchemaConstraint as dg, type FarmIntegrationSchemaField as dh, type FarmIntegrationSchemaFieldType as di, type FarmIntegrationSchemaModel as dj, type FarmIntegrationSchemaModelExtension as dk, type FarmIntegrationSchemaModelOverride as dl, type FarmIntegrationSchemaReference as dm, type FarmIntegrationSlot as dn, type FarmIntegrationStandardValidationResult as dp, type FarmIntegrationValidationErrorLike as dq, type FarmIntegrationValidationIssue as dr, type FarmIntegrationValidationPathSegment as ds, type FarmIntegrationValidationResult as dt, type FarmIntegrationsUserConfig as du, type FarmLayerConfig as dv, type FarmMCPAuthorization as dw, type FarmMCPAuthorizeContext as dx, type FarmMCPConfig as dy, type FarmMCPEndpoint as dz, type FarmDesktopWindowConfig as e, dispatchIntegrationRequests as e$, type FarmPreloadUserConfig as e0, type FarmRouteRenderingMode as e1, type FarmRouteRule as e2, type FarmRouteRuleCors as e3, type FarmRouteRuleRedirect as e4, type FarmRouteRuleRenderMode as e5, type FarmRouteRules as e6, type FarmRouteRuntimeEntryKind as e7, type FarmRouteRuntimeManifest as e8, type FarmRouteRuntimeManifestEntry as e9, type RateLimitConfig as eA, type RateLimitIncrementResult as eB, type RateLimitStatus as eC, type RateLimitStorage as eD, type RedirectConfig as eE, type RequestMiddleware as eF, type RequestMiddlewareContext as eG, type ResolveMarkdownMirrorTargetOptions as eH, type ResolvedFarmCspConfig as eI, type ResolvedFarmDeployConfig as eJ, type ResolvedFarmMCPConfig as eK, type ResolvedFarmPreloadConfig as eL, type ResolvedSchemaModel as eM, type RewriteConfig as eN, _getFarmMarkdownPageCheckToken as eO, _isFarmMarkdownPageCheck as eP, applyMarkdownNegotiationHeaders as eQ, collectSchemaModels as eR, createFarmRouteRuntimeKey as eS, createIntegrationOrm as eT, createIntegrationRoute as eU, createMarkdownMirrorResponse as eV, defineIntegration as eW, defineIntegrationSchema as eX, describeIntegrationOriginRejection as eY, describeSchemaReference as eZ, dispatchIntegrationRequest as e_, type FarmSecurityConfig as ea, type FarmServerComponentsConfig as eb, type FarmServerComponentsOptions as ec, type FarmTypedIntegrationRoute as ed, type HeaderConfig as ee, type I18nConfig as ef, type ImageConfig as eg, type InferFarmIntegrationOrmClient as eh, type InferFarmIntegrationOrmField as ei, type InferFarmIntegrationOrmFields as ej, type InferFarmIntegrationOrmSchema as ek, type InferPluginOptionsInput as el, type InferPluginOptionsOutput as em, type IntegrationOriginPolicy as en, type IntegrationOriginRejection as eo, type IntegrationOriginResult as ep, type IntegrationOrmModelNames as eq, type MemoryRateLimitStorageOptions as er, MetadataRoute as es, type MetadataRouteContext as et, type MiddlewareChain as eu, type MiddlewareConfig as ev, type MiddlewareFunction as ew, type MiddlewareResult as ex, type MiddlewareStore as ey, type NextFunction as ez, type FarmRouteRuntimeConfig as f, toSnakeCase as f$, escapeSqlString as f0, extractFarmPageActions as f1, farmAcceptQuality as f2, farmIntegrationSchemaToOrmSchema as f3, farmRouteRuleMatches as f4, forwardIntegrationSetCookies as f5, generateFarmDevIndicatorsClientRuntime as f6, generateSqlStatements as f7, getDeployTargetForPreset as f8, getFarmAPIBaseURL as f9, mergeFarmRouteRuntimeConfigs as fA, normalizeDeployTarget as fB, normalizeFarmAPIBasePath as fC, normalizeFarmAPIConfig as fD, normalizeFarmRouteRuntimeConfig as fE, normalizeRouteRules as fF, quoteSqlIdentifier as fG, renderSqlSchemaFile as fH, requestAcceptsMarkdown as fI, resolveDeployOutputPath as fJ, resolveFarmAPIConfig as fK, resolveFarmAPIRequestURL as fL, resolveFarmDevIndicatorsConfig as fM, resolveFarmRouteRuleRuntimeConfig as fN, resolveFarmRouteRuntimeConfig as fO, resolveIntegrationAllowedOrigins as fP, resolveIntegrationOrmRuntimeClient as fQ, resolveIntegrationPlugins as fR, resolveMarkdownConfig as fS, resolveMarkdownMirrorTarget as fT, resolveMigrationsConfig as fU, resolveSchemaModels as fV, routeRulesToHeaders as fW, routeRulesToNitroRouteRules as fX, routeRulesToRedirects as fY, toCamelCase as fZ, toPascalCase as f_, getFarmIntegrationPluginOwner as fa, getFarmIntegrationPluginServerRuntime as fb, getFarmMarkdownAlternatePath as fc, getFarmMarkdownMirrorPath as fd, getFarmRouteRuntimeConfig as fe, getIntegrationDocumentNavigationMatchers as ff, getIntegrationProviders as fg, getIntegrationSchemas as fh, getPresetForDeployTarget as fi, getRegisteredIntegrationAPIManifest as fj, getRegisteredIntegrationRuntime as fk, getRegisteredIntegrationSchemas as fl, getRegisteredIntegrations as fm, getSqlColumnType as fn, getSqlDefaultExpression as fo, hasFarmRouteRuntimeControls as fp, htmlToMarkdown as fq, integrationMiddlewareMayHandlePath as fr, integrationRoute as fs, isFarmIntegration as ft, isFarmIntegrationProviderComponentReference as fu, isFarmMarkdownMirrorExposed as fv, isNullableField as fw, matchIntegrationRoute as fx, matchRegisteredIntegrationRoute as fy, matchesFarmMarkdownRoutePattern as fz, type FarmMdxComponents as g, validateIntegrationRequestOrigin as g0, type MiddlewareMatcher as g1, type FarmLlmsTxtLink as g2, type FarmLlmsTxtUserConfig as g3, type ResolvedFarmLlmsTxtConfig as g4, applyFarmCspNonceToResponse as g5, collectFarmLlmsTxtPages as g6, createFarmAgentRobots as g7, createFarmCspNonce as g8, createFarmDefaultLlmsTxt as g9, createFarmDefaultSitemap as ga, createFarmLlmsFullRenderer as gb, createFarmLlmsMarkdownReader as gc, createFarmMetadataRouteResponse as gd, manageFarmDocumentPreloads as ge, manageFarmHtmlPreloads as gf, manageFarmLinkHeaderPreloads as gg, renderFarmLlmsFullTxt as gh, reportFarmPreloadWarnings as gi, resolveFarmLlmsTxtConfig as gj, resolveFarmSecurityConfig as gk, stampFarmCspNonce as gl, type FarmMdxResolvedConfig as h, type RouteModule as i, FARM_MARKDOWN_CONTENT_TYPE as j, createFarmMarkdownErrorBody as k, farmRequestWantsMarkdown as l, type FarmMdxComponent as m, type FarmMdxUserConfig as n, resolveMdxConfig as o, type FarmUserConfig as p, type RouteSegment as q, resolveFarmMdxComponentsModulePath as r, type FarmRequest as s, type FarmResponse as t, type FarmPluginContext as u, type FarmAppContext as v, type PageProps as w, type FarmSearchParams as x, type PluginContextProps as y, type FarmRouteRuntime as z };
4001
+ export { type FarmPluginDatabase as $, type FarmRouteRegions as A, type BundleResultPayload as B, type FarmRouteMaxDuration as C, type FarmRedirectSignal as D, type FarmRedirectStatus as E, type FarmPlugin as F, getFarmRedirectError as G, isFarmNotFoundError as H, isFarmRedirectError as I, notFound as J, permanentRedirect as K, type LayoutProps as L, type Metadata as M, redirect as N, loadConfig as O, type ParsedRoute as P, resolveConfig as Q, type ResolvedFarmDesktopConfig as R, resolveDeployConfig as S, type APIHandlerLifecyclePayload as T, type APIRouteDiscoveredPayload as U, type BundleLifecyclePayload as V, type ErrorLifecyclePayload as W, FARM_NODE_RESPONSE_END_PENDING as X, type FarmDevtoolsUserConfig as Y, type FarmPluginBuildHooks as Z, type FarmPluginClientConfig as _, type FarmIntegration as a, type MetadataRobotsDirectives as a$, type FarmPluginDefinition as a0, type FarmPluginDevHooks as a1, type FarmPluginDiscoveredRoute as a2, type FarmPluginIntegrationContext as a3, type FarmPluginLifecycle as a4, type FarmPluginRenderHooks as a5, type FarmPluginRouteRuntimePayload as a6, type FarmPluginRouterHooks as a7, type FarmPluginRuntimeAfterEvent as a8, type FarmPluginRuntimeBaseEvent as a9, type RouteMatchResultPayload as aA, type RoutesGeneratedPayload as aB, type ShutdownPayload as aC, definePlugin as aD, resolveFarmDevtoolsConfig as aE, type FarmConfig as aF, type AppRoutePattern as aG, type BuildOptions as aH, type ErrorBoundary as aI, type ErrorProps as aJ, type FarmComponentType as aK, type FarmContextFactory as aL, type FarmContextFactoryInput as aM, type FarmIsolatedClientHydrationMode as aN, type FarmMCPUserConfig as aO, type FarmMigrationCommand as aP, type FarmMigrationsConfig as aQ, type FarmMigrationsUserConfig as aR, type GenerateStaticParams as aS, type Layout as aT, type LayoutMetadataProps as aU, type LayoutModule as aV, type Loading as aW, type LoadingProps as aX, type MetadataJsonLd as aY, type MetadataProps as aZ, type MetadataRobots as a_, type FarmPluginRuntimeBeforeEvent as aa, type FarmPluginRuntimeCloseEvent as ab, type FarmPluginRuntimeContextEvent as ac, type FarmPluginRuntimeEndpoint as ad, type FarmPluginRuntimeEndpointEvent as ae, type FarmPluginRuntimeErrorEvent as af, type FarmPluginRuntimeHooks as ag, type FarmPluginRuntimeKind as ah, type FarmPluginRuntimeRequestHandler as ai, type FarmPluginRuntimeRequestOptions as aj, type FarmPluginRuntimeSession as ak, type FarmPluginRuntimeStartEvent as al, type FarmPluginSetupContext as am, type FarmPluginStateContext as an, type FarmRequestPluginContext as ao, type FarmRequestStore as ap, FarmRuntimeShutdownError as aq, type HMRUpdatePayload as ar, type MiddlewareDiscoveredPayload as as, type NitroBuildLifecyclePayload as at, PluginManager as au, type PluginRequestContext as av, type RenderLifecyclePayload as aw, type ResolvedFarmDevtoolsConfig as ax, type RouteDiscoveredPayload as ay, type RouteMatchPayload as az, type FarmDesktopConfigInput as b, type DefinedIntegration as b$, type MiddlewareProps as b0, type NitroPreset as b1, type Page as b2, type PagePropsWithMiddleware as b3, type PageRouteParams as b4, type ResolvedFarmMigrationsConfig as b5, type SSGCollectionResult as b6, type SSGPage as b7, type ServerAction as b8, type StaticPathParams as b9, resolveFarmDesktopBlock as bA, resolveFarmDesktopConfig as bB, setFarmDesktopDevSession as bC, validateFarmDesktopConfig as bD, type ResolvedFarmRouteRuntimeConfig as bE, type ApplicationMetadataRouteKind as bF, type ResolvedFarmAPIConfig as bG, type FarmDocsResolvedConfig as bH, type ResolvedFarmDevIndicatorsConfig as bI, type ResolvedFarmAuthConfig as bJ, type ResolvedFarmPerformanceConfig as bK, type ResolvedFarmSecurityConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type ResolvedSchemaField as bO, type FarmSqlStatement as bP, type FarmSqlDialect as bQ, type CollectedSchemaModel as bR, type FarmSchemaMigrationStep as bS, type OpenAPIConfig as bT, type ApplyMarkdownNegotiationHeadersOptions as bU, type CookieJar as bV, type CookieOptions as bW, type CreateIntegrationOrmOptions as bX, type CreateMarkdownMirrorResponseOptions as bY, DEFAULT_FARM_API_BASE_PATH as bZ, DEFAULT_FARM_DEVTOOLS_SHORTCUT as b_, type StaticPathPrimitive as ba, type StaticRouteParams as bb, type ThemeColorDescriptor as bc, type Viewport as bd, resolveFarmMCPConfig as be, resolveFarmMCPPlugin as bf, type FarmMCPCatalogDetails as bg, type ResolvedFarmAppManifestConfig as bh, type ReadonlyMiddlewareStore as bi, type FarmMiddlewareConfig as bj, type MiddlewareModule as bk, type MiddlewareConfig$1 as bl, type MiddlewareContext as bm, type FarmServerComponentsMode as bn, type ResolvedFarmConfig as bo, type FarmAgentJsonLd as bp, type FarmMCPServerRegistration as bq, type FarmMarkdownResolvedConfig as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmDesktopDevSession as bv, type FarmDesktopSetupOptions as bw, createFarmDesktopContext as bx, getFarmDesktopOutputDirs as by, installFarmDesktopSetup as bz, type FarmDesktopContext as c, type FarmIntegrationRoute as c$, FARM_DEVTOOLS_LAUNCH_PARAM as c0, FARM_DEVTOOLS_PATH as c1, FARM_INTEGRATION_API_BASE_PATH_KEY as c2, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as c3, FARM_INTEGRATION_SET_COOKIES_KEY as c4, FARM_MARKDOWN_PAGE_CHECK_HEADER as c5, type FarmAPIConfig as c6, type FarmAPIConfigResolverContext as c7, type FarmAPIConfigValue as c8, type FarmAgentCrawlers as c9, type FarmIntegrationConfigContext as cA, type FarmIntegrationConfigDefinition as cB, type FarmIntegrationConfigInput as cC, type FarmIntegrationContributedPlugin as cD, type FarmIntegrationData as cE, type FarmIntegrationDocumentNavigation as cF, type FarmIntegrationEndpointValue as cG, type FarmIntegrationEndpoints as cH, type FarmIntegrationEndpointsFactory as cI, type FarmIntegrationEndpointsFactoryContext as cJ, type FarmIntegrationHandlerContext as cK, type FarmIntegrationInputSchema as cL, type FarmIntegrationLifecycleContext as cM, type FarmIntegrationLifecycleHook as cN, type FarmIntegrationLifecycleLogLevel as cO, type FarmIntegrationLifecycleLogger as cP, type FarmIntegrationLogEvent as cQ, type FarmIntegrationLogPhase as cR, type FarmIntegrationLogger as cS, type FarmIntegrationMiddleware as cT, type FarmIntegrationOrmClient as cU, type FarmIntegrationOrmSchema as cV, type FarmIntegrationPluginOwner as cW, type FarmIntegrationProvider as cX, type FarmIntegrationProviderComponentReference as cY, type FarmIntegrationProviderProps as cZ, type FarmIntegrationRequestContextStore as c_, type FarmAgentUserConfig as ca, type FarmAppManifestConfig as cb, type FarmAuthConfig as cc, type FarmAuthDatabaseConfig as cd, type FarmAuthEmailAndPasswordConfig as ce, type FarmAuthSessionConfig as cf, type FarmAuthUserConfig as cg, type FarmBuildActivityPosition as ch, type FarmCrawlerPolicy as ci, type FarmCspConfig as cj, type FarmCspDirectiveValue as ck, type FarmCspDirectives as cl, type FarmCspOptions as cm, type FarmDeployConfig as cn, type FarmDeployTarget as co, type FarmDevIndicatorsConfig as cp, type FarmDevtoolsConfig as cq, type FarmDocsConfigInput as cr, type FarmDocsNavigationConfig as cs, type FarmDocsResolvedRoot as ct, type FarmDocsRootInput as cu, type FarmDocsSidebarItem as cv, type FarmDocsSocialImageConfig as cw, type FarmDocsSocialImageFonts as cx, type FarmDocsUserConfig as cy, type FarmIntegrationCategory as cz, type FarmDesktopUserConfig as d, type FarmPluginOptionsSchema as d$, type FarmIntegrationRouteArgs as d0, type FarmIntegrationRouteDb as d1, type FarmIntegrationRouteFactory as d2, type FarmIntegrationRouteHook as d3, type FarmIntegrationRouteHookContext as d4, type FarmIntegrationRouteInput as d5, type FarmIntegrationRouteInputSchemas as d6, type FarmIntegrationRouteInputSource as d7, type FarmIntegrationRouteMethod as d8, type FarmIntegrationRouteMiddleware as d9, type FarmMCPEndpoint as dA, type FarmMCPEndpointTool as dB, type FarmMCPExecuteContext as dC, type FarmMCPOAuthConfig as dD, type FarmMCPPrompt as dE, type FarmMCPPromptMessage as dF, type FarmMCPResource as dG, type FarmMCPResourceContent as dH, type FarmMCPResourceContext as dI, type FarmMCPResourceListing as dJ, type FarmMCPServer as dK, type FarmMCPServerFunction as dL, type FarmMCPStandaloneTool as dM, type FarmMCPTool as dN, type FarmMCPToolDefinition as dO, type FarmMarkdownMirrorTarget as dP, type FarmMarkdownResolvedRoute as dQ, type FarmMarkdownRouteInput as dR, type FarmMarkdownUserConfig as dS, type FarmPageFormAction as dT, type FarmPageFormField as dU, type FarmPageFormOption as dV, type FarmPageFormSubmit as dW, type FarmPerformanceConfig as dX, type FarmPluginFactory as dY, FarmPluginOptionsError as dZ, type FarmPluginOptionsIssue as d_, type FarmIntegrationRouteParamValue as da, type FarmIntegrationRouteParams as db, type FarmIntegrationRouteStorageArgs as dc, type FarmIntegrationRoutesFactory as dd, type FarmIntegrationRoutesFactoryContext as de, type FarmIntegrationSchema as df, type FarmIntegrationSchemaConstraint as dg, type FarmIntegrationSchemaField as dh, type FarmIntegrationSchemaFieldType as di, type FarmIntegrationSchemaModel as dj, type FarmIntegrationSchemaModelExtension as dk, type FarmIntegrationSchemaModelOverride as dl, type FarmIntegrationSchemaReference as dm, type FarmIntegrationSession as dn, type FarmIntegrationSlot as dp, type FarmIntegrationStandardValidationResult as dq, type FarmIntegrationValidationErrorLike as dr, type FarmIntegrationValidationIssue as ds, type FarmIntegrationValidationPathSegment as dt, type FarmIntegrationValidationResult as du, type FarmIntegrationsUserConfig as dv, type FarmLayerConfig as dw, type FarmMCPAuthorization as dx, type FarmMCPAuthorizeContext as dy, type FarmMCPConfig as dz, type FarmDesktopWindowConfig as e, describeSchemaReference as e$, type FarmPreloadMode as e0, type FarmPreloadUserConfig as e1, type FarmRouteRenderingMode as e2, type FarmRouteRule as e3, type FarmRouteRuleCors as e4, type FarmRouteRuleRedirect as e5, type FarmRouteRuleRenderMode as e6, type FarmRouteRules as e7, type FarmRouteRuntimeEntryKind as e8, type FarmRouteRuntimeManifest as e9, type NextFunction as eA, type RateLimitConfig as eB, type RateLimitIncrementResult as eC, type RateLimitStatus as eD, type RateLimitStorage as eE, type RedirectConfig as eF, type RequestMiddleware as eG, type RequestMiddlewareContext as eH, type ResolveMarkdownMirrorTargetOptions as eI, type ResolvedFarmCspConfig as eJ, type ResolvedFarmDeployConfig as eK, type ResolvedFarmMCPConfig as eL, type ResolvedFarmPreloadConfig as eM, type ResolvedSchemaModel as eN, type RewriteConfig as eO, _getFarmMarkdownPageCheckToken as eP, _isFarmMarkdownPageCheck as eQ, _readFarmRenderedHtml as eR, applyMarkdownNegotiationHeaders as eS, collectSchemaModels as eT, createFarmRouteRuntimeKey as eU, createIntegrationOrm as eV, createIntegrationRoute as eW, createMarkdownMirrorResponse as eX, defineIntegration as eY, defineIntegrationSchema as eZ, describeIntegrationOriginRejection as e_, type FarmRouteRuntimeManifestEntry as ea, type FarmSecurityConfig as eb, type FarmServerComponentsConfig as ec, type FarmServerComponentsOptions as ed, type FarmTypedIntegrationRoute as ee, type HeaderConfig as ef, type I18nConfig as eg, type ImageConfig as eh, type InferFarmIntegrationOrmClient as ei, type InferFarmIntegrationOrmField as ej, type InferFarmIntegrationOrmFields as ek, type InferFarmIntegrationOrmSchema as el, type InferPluginOptionsInput as em, type InferPluginOptionsOutput as en, type IntegrationOriginPolicy as eo, type IntegrationOriginRejection as ep, type IntegrationOriginResult as eq, type IntegrationOrmModelNames as er, type MemoryRateLimitStorageOptions as es, MetadataRoute as et, type MetadataRouteContext as eu, type MiddlewareChain as ev, type MiddlewareConfig as ew, type MiddlewareFunction as ex, type MiddlewareResult as ey, type MiddlewareStore as ez, type FarmRouteRuntimeConfig as f, toCamelCase as f$, dispatchIntegrationRequest as f0, dispatchIntegrationRequests as f1, escapeSqlString as f2, extractFarmPageActions as f3, farmAcceptQuality as f4, farmIntegrationSchemaToOrmSchema as f5, farmRouteRuleMatches as f6, forwardIntegrationSetCookies as f7, generateFarmDevIndicatorsClientRuntime as f8, generateSqlStatements as f9, matchRegisteredIntegrationRoute as fA, matchesFarmMarkdownRoutePattern as fB, mergeFarmRouteRuntimeConfigs as fC, normalizeDeployTarget as fD, normalizeFarmAPIBasePath as fE, normalizeFarmAPIConfig as fF, normalizeFarmRouteRuntimeConfig as fG, normalizeRouteRules as fH, quoteSqlIdentifier as fI, renderSqlSchemaFile as fJ, requestAcceptsMarkdown as fK, resolveDeployOutputPath as fL, resolveFarmAPIConfig as fM, resolveFarmAPIRequestURL as fN, resolveFarmDevIndicatorsConfig as fO, resolveFarmRouteRuleRuntimeConfig as fP, resolveFarmRouteRuntimeConfig as fQ, resolveIntegrationAllowedOrigins as fR, resolveIntegrationOrmRuntimeClient as fS, resolveIntegrationPlugins as fT, resolveMarkdownConfig as fU, resolveMarkdownMirrorTarget as fV, resolveMigrationsConfig as fW, resolveSchemaModels as fX, routeRulesToHeaders as fY, routeRulesToNitroRouteRules as fZ, routeRulesToRedirects as f_, getDeployTargetForPreset as fa, getFarmAPIBaseURL as fb, getFarmIntegrationPluginOwner as fc, getFarmIntegrationPluginServerRuntime as fd, getFarmMarkdownAlternatePath as fe, getFarmMarkdownMirrorPath as ff, getFarmRouteRuntimeConfig as fg, getIntegrationDocumentNavigationMatchers as fh, getIntegrationProviders as fi, getIntegrationSchemas as fj, getPresetForDeployTarget as fk, getRegisteredIntegrationAPIManifest as fl, getRegisteredIntegrationRuntime as fm, getRegisteredIntegrationSchemas as fn, getRegisteredIntegrations as fo, getSqlColumnType as fp, getSqlDefaultExpression as fq, hasFarmRouteRuntimeControls as fr, htmlToMarkdown as fs, integrationMiddlewareMayHandlePath as ft, integrationRoute as fu, isFarmIntegration as fv, isFarmIntegrationProviderComponentReference as fw, isFarmMarkdownMirrorExposed as fx, isNullableField as fy, matchIntegrationRoute as fz, type FarmMdxComponents as g, toPascalCase as g0, toSnakeCase as g1, validateIntegrationRequestOrigin as g2, type MiddlewareMatcher as g3, type FarmLlmsTxtLink as g4, type FarmLlmsTxtUserConfig as g5, type ResolvedFarmLlmsTxtConfig as g6, applyFarmCspNonceToResponse as g7, collectFarmLlmsTxtPages as g8, createFarmAgentRobots as g9, createFarmCspNonce as ga, createFarmDefaultLlmsTxt as gb, createFarmDefaultSitemap as gc, createFarmLlmsFullRenderer as gd, createFarmLlmsMarkdownReader as ge, createFarmMetadataRouteResponse as gf, manageFarmDocumentPreloads as gg, manageFarmHtmlPreloads as gh, manageFarmLinkHeaderPreloads as gi, renderFarmLlmsFullTxt as gj, reportFarmPreloadWarnings as gk, resolveFarmLlmsTxtConfig as gl, resolveFarmSecurityConfig as gm, stampFarmCspNonce as gn, type FarmMdxResolvedConfig as h, type RouteModule as i, FARM_MARKDOWN_CONTENT_TYPE as j, createFarmMarkdownErrorBody as k, farmRequestWantsMarkdown as l, type FarmMdxComponent as m, type FarmMdxUserConfig as n, resolveMdxConfig as o, type FarmUserConfig as p, type RouteSegment as q, resolveFarmMdxComponentsModulePath as r, type FarmRequest as s, type FarmResponse as t, type FarmPluginContext as u, type FarmAppContext as v, type PageProps as w, type FarmSearchParams as x, type PluginContextProps as y, type FarmRouteRuntime as z };
@@ -21,7 +21,7 @@ import { a as FarmLayerEntry, R as ResolvedFarmLayer } from './layers.d-CcS42OGR
21
21
  import { a as FarmImageConfig, R as ResolvedFarmImageConfig } from './image-config.d-CeDgNyX4.js';
22
22
  import { k as FarmI18nUserConfig, R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
23
23
  import { FarmCacheUserConfig } from './cache.js';
24
- import { P as PlatformBlockCache, b as FarmMobileConfigInput } from './config.d-CnhyvvmT.js';
24
+ import { P as PlatformBlockCache, b as FarmMobileConfigInput } from './config.d-DqKaCr1r.js';
25
25
  import { R as ResolvedFarmThemeConfig, d as FarmThemeConfig } from './types.d-DQnyD3VD.js';
26
26
  import { FarmLayoutFonts } from './font.js';
27
27
 
@@ -1224,6 +1224,11 @@ declare function getFarmMarkdownAlternatePath(config: FarmMarkdownResolvedConfig
1224
1224
  declare function isFarmMarkdownMirrorExposed(config: FarmMarkdownResolvedConfig | undefined, pathname: string): boolean;
1225
1225
  /** @internal Matches a page pathname against a route pattern such as `/docs/[...slug]`. */
1226
1226
  declare function matchesFarmMarkdownRoutePattern(pattern: string, pathname: string): boolean;
1227
+ /**
1228
+ * @internal A rendered page as a reader sees it, whole: streamed Suspense content in place, and
1229
+ * scripts, styles, comments, and hidden elements removed. The native tier reads pages this way too.
1230
+ */
1231
+ declare function _readFarmRenderedHtml(html: string): string;
1227
1232
  interface FarmPageFormOption {
1228
1233
  value: string;
1229
1234
  label?: string;
@@ -2560,9 +2565,11 @@ interface FarmUserConfig extends Omit<FarmConfig, "vite" | "docs" | "env" | "lay
2560
2565
  desktop?: FarmDesktopConfigInput;
2561
2566
  /**
2562
2567
  * Preview: the native mobile app (RFC 0004), as a block or a function of
2563
- * `{ os, mode, command, profile, env, root }`. Config only for now: `farm config inspect
2564
- * --mobile` resolves it and its route manifest; there is no `--mobile` shell yet. Web builds
2565
- * never call the function or check the block, and ship neither.
2568
+ * `{ os, mode, command, profile, env, root }`, for `farm dev|build --mobile`. Web builds never
2569
+ * call the function or check the block, and ship neither; they also build the mobile client,
2570
+ * which pages load when a mobile shell asks for them. A server of an app with the block
2571
+ * serves `/__farm/mobile/session` so the app's native screens can sign in with device tokens,
2572
+ * and answers the app's native-tier screen requests.
2566
2573
  */
2567
2574
  mobile?: FarmMobileConfigInput;
2568
2575
  docs?: FarmDocsUserConfig;
@@ -2600,6 +2607,12 @@ interface ResolvedFarmConfig extends Required<Omit<FarmUserConfig, "extends" | "
2600
2607
  agent: ResolvedFarmAgentConfig;
2601
2608
  /** Set only in a desktop dev session or build (`--desktop`); `null` on the web. */
2602
2609
  desktop: ResolvedFarmDesktopConfig | null;
2610
+ /**
2611
+ * @internal True when farm.config has a `mobile` block. A production build then also builds the
2612
+ * mobile client, which documents use when a mobile shell asks for them (RFC 0004, 7.2). The
2613
+ * block itself is never called or checked here.
2614
+ */
2615
+ mobileClient?: boolean;
2603
2616
  /** @internal Tracks whether `context` came from user/layer config instead of the default noop. */
2604
2617
  [FARM_RESOLVED_CUSTOM_CONTEXT]?: boolean;
2605
2618
  root: string;
@@ -3775,6 +3788,19 @@ interface FarmIntegration<TSchema extends FarmIntegrationSchema | undefined = Fa
3775
3788
  documentNavigations?: readonly FarmIntegrationDocumentNavigation[];
3776
3789
  /** Additional Farm plugins owned and configured by this integration. */
3777
3790
  plugins?: readonly FarmIntegrationContributedPlugin<NoInfer<TInstance>>[];
3791
+ /**
3792
+ * Auth integrations: the signed-in session of a request, read from its cookies, or null when
3793
+ * nobody is signed in. Mobile session tokens (`/__farm/mobile/session`) use it to check that a
3794
+ * device's cookies still sign someone in when they are issued and refreshed.
3795
+ */
3796
+ session?: (request: Request) => FarmIntegrationSession | null | Promise<FarmIntegrationSession | null>;
3797
+ }
3798
+ /** What an auth integration's `session()` returns for a signed-in request. */
3799
+ interface FarmIntegrationSession {
3800
+ /** Stable for the life of the session: a new sign-in is a new id. */
3801
+ id: string;
3802
+ userId?: string;
3803
+ expiresAt?: Date | string | number;
3778
3804
  }
3779
3805
  type FarmIntegrationsUserConfig = Record<string, FarmIntegration<any, any, any> | undefined>;
3780
3806
  /** @internal Identifies plugins owned by platform-managed integrations. */
@@ -3972,4 +3998,4 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
3972
3998
  setCookies: string[];
3973
3999
  }>;
3974
4000
 
3975
- export { type FarmPluginDatabase as $, type FarmRouteRegions as A, type BundleResultPayload as B, type FarmRouteMaxDuration as C, type FarmRedirectSignal as D, type FarmRedirectStatus as E, type FarmPlugin as F, getFarmRedirectError as G, isFarmNotFoundError as H, isFarmRedirectError as I, notFound as J, permanentRedirect as K, type LayoutProps as L, type Metadata as M, redirect as N, loadConfig as O, type ParsedRoute as P, resolveConfig as Q, type ResolvedFarmDesktopConfig as R, resolveDeployConfig as S, type APIHandlerLifecyclePayload as T, type APIRouteDiscoveredPayload as U, type BundleLifecyclePayload as V, type ErrorLifecyclePayload as W, FARM_NODE_RESPONSE_END_PENDING as X, type FarmDevtoolsUserConfig as Y, type FarmPluginBuildHooks as Z, type FarmPluginClientConfig as _, type FarmIntegration as a, type MetadataRobotsDirectives as a$, type FarmPluginDefinition as a0, type FarmPluginDevHooks as a1, type FarmPluginDiscoveredRoute as a2, type FarmPluginIntegrationContext as a3, type FarmPluginLifecycle as a4, type FarmPluginRenderHooks as a5, type FarmPluginRouteRuntimePayload as a6, type FarmPluginRouterHooks as a7, type FarmPluginRuntimeAfterEvent as a8, type FarmPluginRuntimeBaseEvent as a9, type RouteMatchResultPayload as aA, type RoutesGeneratedPayload as aB, type ShutdownPayload as aC, definePlugin as aD, resolveFarmDevtoolsConfig as aE, type FarmConfig as aF, type AppRoutePattern as aG, type BuildOptions as aH, type ErrorBoundary as aI, type ErrorProps as aJ, type FarmComponentType as aK, type FarmContextFactory as aL, type FarmContextFactoryInput as aM, type FarmIsolatedClientHydrationMode as aN, type FarmMCPUserConfig as aO, type FarmMigrationCommand as aP, type FarmMigrationsConfig as aQ, type FarmMigrationsUserConfig as aR, type GenerateStaticParams as aS, type Layout as aT, type LayoutMetadataProps as aU, type LayoutModule as aV, type Loading as aW, type LoadingProps as aX, type MetadataJsonLd as aY, type MetadataProps as aZ, type MetadataRobots as a_, type FarmPluginRuntimeBeforeEvent as aa, type FarmPluginRuntimeCloseEvent as ab, type FarmPluginRuntimeContextEvent as ac, type FarmPluginRuntimeEndpoint as ad, type FarmPluginRuntimeEndpointEvent as ae, type FarmPluginRuntimeErrorEvent as af, type FarmPluginRuntimeHooks as ag, type FarmPluginRuntimeKind as ah, type FarmPluginRuntimeRequestHandler as ai, type FarmPluginRuntimeRequestOptions as aj, type FarmPluginRuntimeSession as ak, type FarmPluginRuntimeStartEvent as al, type FarmPluginSetupContext as am, type FarmPluginStateContext as an, type FarmRequestPluginContext as ao, type FarmRequestStore as ap, FarmRuntimeShutdownError as aq, type HMRUpdatePayload as ar, type MiddlewareDiscoveredPayload as as, type NitroBuildLifecyclePayload as at, PluginManager as au, type PluginRequestContext as av, type RenderLifecyclePayload as aw, type ResolvedFarmDevtoolsConfig as ax, type RouteDiscoveredPayload as ay, type RouteMatchPayload as az, type FarmDesktopConfigInput as b, type DefinedIntegration as b$, type MiddlewareProps as b0, type NitroPreset as b1, type Page as b2, type PagePropsWithMiddleware as b3, type PageRouteParams as b4, type ResolvedFarmMigrationsConfig as b5, type SSGCollectionResult as b6, type SSGPage as b7, type ServerAction as b8, type StaticPathParams as b9, resolveFarmDesktopBlock as bA, resolveFarmDesktopConfig as bB, setFarmDesktopDevSession as bC, validateFarmDesktopConfig as bD, type ResolvedFarmRouteRuntimeConfig as bE, type ApplicationMetadataRouteKind as bF, type ResolvedFarmAPIConfig as bG, type FarmDocsResolvedConfig as bH, type ResolvedFarmDevIndicatorsConfig as bI, type ResolvedFarmAuthConfig as bJ, type ResolvedFarmPerformanceConfig as bK, type ResolvedFarmSecurityConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type ResolvedSchemaField as bO, type FarmSqlStatement as bP, type FarmSqlDialect as bQ, type CollectedSchemaModel as bR, type FarmSchemaMigrationStep as bS, type OpenAPIConfig as bT, type ApplyMarkdownNegotiationHeadersOptions as bU, type CookieJar as bV, type CookieOptions as bW, type CreateIntegrationOrmOptions as bX, type CreateMarkdownMirrorResponseOptions as bY, DEFAULT_FARM_API_BASE_PATH as bZ, DEFAULT_FARM_DEVTOOLS_SHORTCUT as b_, type StaticPathPrimitive as ba, type StaticRouteParams as bb, type ThemeColorDescriptor as bc, type Viewport as bd, resolveFarmMCPConfig as be, resolveFarmMCPPlugin as bf, type FarmMCPCatalogDetails as bg, type ResolvedFarmAppManifestConfig as bh, type ReadonlyMiddlewareStore as bi, type FarmMiddlewareConfig as bj, type MiddlewareModule as bk, type MiddlewareConfig$1 as bl, type MiddlewareContext as bm, type FarmServerComponentsMode as bn, type ResolvedFarmConfig as bo, type FarmAgentJsonLd as bp, type FarmMCPServerRegistration as bq, type FarmMarkdownResolvedConfig as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmDesktopDevSession as bv, type FarmDesktopSetupOptions as bw, createFarmDesktopContext as bx, getFarmDesktopOutputDirs as by, installFarmDesktopSetup as bz, type FarmDesktopContext as c, type FarmIntegrationRoute as c$, FARM_DEVTOOLS_LAUNCH_PARAM as c0, FARM_DEVTOOLS_PATH as c1, FARM_INTEGRATION_API_BASE_PATH_KEY as c2, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as c3, FARM_INTEGRATION_SET_COOKIES_KEY as c4, FARM_MARKDOWN_PAGE_CHECK_HEADER as c5, type FarmAPIConfig as c6, type FarmAPIConfigResolverContext as c7, type FarmAPIConfigValue as c8, type FarmAgentCrawlers as c9, type FarmIntegrationConfigContext as cA, type FarmIntegrationConfigDefinition as cB, type FarmIntegrationConfigInput as cC, type FarmIntegrationContributedPlugin as cD, type FarmIntegrationData as cE, type FarmIntegrationDocumentNavigation as cF, type FarmIntegrationEndpointValue as cG, type FarmIntegrationEndpoints as cH, type FarmIntegrationEndpointsFactory as cI, type FarmIntegrationEndpointsFactoryContext as cJ, type FarmIntegrationHandlerContext as cK, type FarmIntegrationInputSchema as cL, type FarmIntegrationLifecycleContext as cM, type FarmIntegrationLifecycleHook as cN, type FarmIntegrationLifecycleLogLevel as cO, type FarmIntegrationLifecycleLogger as cP, type FarmIntegrationLogEvent as cQ, type FarmIntegrationLogPhase as cR, type FarmIntegrationLogger as cS, type FarmIntegrationMiddleware as cT, type FarmIntegrationOrmClient as cU, type FarmIntegrationOrmSchema as cV, type FarmIntegrationPluginOwner as cW, type FarmIntegrationProvider as cX, type FarmIntegrationProviderComponentReference as cY, type FarmIntegrationProviderProps as cZ, type FarmIntegrationRequestContextStore as c_, type FarmAgentUserConfig as ca, type FarmAppManifestConfig as cb, type FarmAuthConfig as cc, type FarmAuthDatabaseConfig as cd, type FarmAuthEmailAndPasswordConfig as ce, type FarmAuthSessionConfig as cf, type FarmAuthUserConfig as cg, type FarmBuildActivityPosition as ch, type FarmCrawlerPolicy as ci, type FarmCspConfig as cj, type FarmCspDirectiveValue as ck, type FarmCspDirectives as cl, type FarmCspOptions as cm, type FarmDeployConfig as cn, type FarmDeployTarget as co, type FarmDevIndicatorsConfig as cp, type FarmDevtoolsConfig as cq, type FarmDocsConfigInput as cr, type FarmDocsNavigationConfig as cs, type FarmDocsResolvedRoot as ct, type FarmDocsRootInput as cu, type FarmDocsSidebarItem as cv, type FarmDocsSocialImageConfig as cw, type FarmDocsSocialImageFonts as cx, type FarmDocsUserConfig as cy, type FarmIntegrationCategory as cz, type FarmDesktopUserConfig as d, type FarmPreloadMode as d$, type FarmIntegrationRouteArgs as d0, type FarmIntegrationRouteDb as d1, type FarmIntegrationRouteFactory as d2, type FarmIntegrationRouteHook as d3, type FarmIntegrationRouteHookContext as d4, type FarmIntegrationRouteInput as d5, type FarmIntegrationRouteInputSchemas as d6, type FarmIntegrationRouteInputSource as d7, type FarmIntegrationRouteMethod as d8, type FarmIntegrationRouteMiddleware as d9, type FarmMCPEndpointTool as dA, type FarmMCPExecuteContext as dB, type FarmMCPOAuthConfig as dC, type FarmMCPPrompt as dD, type FarmMCPPromptMessage as dE, type FarmMCPResource as dF, type FarmMCPResourceContent as dG, type FarmMCPResourceContext as dH, type FarmMCPResourceListing as dI, type FarmMCPServer as dJ, type FarmMCPServerFunction as dK, type FarmMCPStandaloneTool as dL, type FarmMCPTool as dM, type FarmMCPToolDefinition as dN, type FarmMarkdownMirrorTarget as dO, type FarmMarkdownResolvedRoute as dP, type FarmMarkdownRouteInput as dQ, type FarmMarkdownUserConfig as dR, type FarmPageFormAction as dS, type FarmPageFormField as dT, type FarmPageFormOption as dU, type FarmPageFormSubmit as dV, type FarmPerformanceConfig as dW, type FarmPluginFactory as dX, FarmPluginOptionsError as dY, type FarmPluginOptionsIssue as dZ, type FarmPluginOptionsSchema as d_, type FarmIntegrationRouteParamValue as da, type FarmIntegrationRouteParams as db, type FarmIntegrationRouteStorageArgs as dc, type FarmIntegrationRoutesFactory as dd, type FarmIntegrationRoutesFactoryContext as de, type FarmIntegrationSchema as df, type FarmIntegrationSchemaConstraint as dg, type FarmIntegrationSchemaField as dh, type FarmIntegrationSchemaFieldType as di, type FarmIntegrationSchemaModel as dj, type FarmIntegrationSchemaModelExtension as dk, type FarmIntegrationSchemaModelOverride as dl, type FarmIntegrationSchemaReference as dm, type FarmIntegrationSlot as dn, type FarmIntegrationStandardValidationResult as dp, type FarmIntegrationValidationErrorLike as dq, type FarmIntegrationValidationIssue as dr, type FarmIntegrationValidationPathSegment as ds, type FarmIntegrationValidationResult as dt, type FarmIntegrationsUserConfig as du, type FarmLayerConfig as dv, type FarmMCPAuthorization as dw, type FarmMCPAuthorizeContext as dx, type FarmMCPConfig as dy, type FarmMCPEndpoint as dz, type FarmDesktopWindowConfig as e, dispatchIntegrationRequests as e$, type FarmPreloadUserConfig as e0, type FarmRouteRenderingMode as e1, type FarmRouteRule as e2, type FarmRouteRuleCors as e3, type FarmRouteRuleRedirect as e4, type FarmRouteRuleRenderMode as e5, type FarmRouteRules as e6, type FarmRouteRuntimeEntryKind as e7, type FarmRouteRuntimeManifest as e8, type FarmRouteRuntimeManifestEntry as e9, type RateLimitConfig as eA, type RateLimitIncrementResult as eB, type RateLimitStatus as eC, type RateLimitStorage as eD, type RedirectConfig as eE, type RequestMiddleware as eF, type RequestMiddlewareContext as eG, type ResolveMarkdownMirrorTargetOptions as eH, type ResolvedFarmCspConfig as eI, type ResolvedFarmDeployConfig as eJ, type ResolvedFarmMCPConfig as eK, type ResolvedFarmPreloadConfig as eL, type ResolvedSchemaModel as eM, type RewriteConfig as eN, _getFarmMarkdownPageCheckToken as eO, _isFarmMarkdownPageCheck as eP, applyMarkdownNegotiationHeaders as eQ, collectSchemaModels as eR, createFarmRouteRuntimeKey as eS, createIntegrationOrm as eT, createIntegrationRoute as eU, createMarkdownMirrorResponse as eV, defineIntegration as eW, defineIntegrationSchema as eX, describeIntegrationOriginRejection as eY, describeSchemaReference as eZ, dispatchIntegrationRequest as e_, type FarmSecurityConfig as ea, type FarmServerComponentsConfig as eb, type FarmServerComponentsOptions as ec, type FarmTypedIntegrationRoute as ed, type HeaderConfig as ee, type I18nConfig as ef, type ImageConfig as eg, type InferFarmIntegrationOrmClient as eh, type InferFarmIntegrationOrmField as ei, type InferFarmIntegrationOrmFields as ej, type InferFarmIntegrationOrmSchema as ek, type InferPluginOptionsInput as el, type InferPluginOptionsOutput as em, type IntegrationOriginPolicy as en, type IntegrationOriginRejection as eo, type IntegrationOriginResult as ep, type IntegrationOrmModelNames as eq, type MemoryRateLimitStorageOptions as er, MetadataRoute as es, type MetadataRouteContext as et, type MiddlewareChain as eu, type MiddlewareConfig as ev, type MiddlewareFunction as ew, type MiddlewareResult as ex, type MiddlewareStore as ey, type NextFunction as ez, type FarmRouteRuntimeConfig as f, toSnakeCase as f$, escapeSqlString as f0, extractFarmPageActions as f1, farmAcceptQuality as f2, farmIntegrationSchemaToOrmSchema as f3, farmRouteRuleMatches as f4, forwardIntegrationSetCookies as f5, generateFarmDevIndicatorsClientRuntime as f6, generateSqlStatements as f7, getDeployTargetForPreset as f8, getFarmAPIBaseURL as f9, mergeFarmRouteRuntimeConfigs as fA, normalizeDeployTarget as fB, normalizeFarmAPIBasePath as fC, normalizeFarmAPIConfig as fD, normalizeFarmRouteRuntimeConfig as fE, normalizeRouteRules as fF, quoteSqlIdentifier as fG, renderSqlSchemaFile as fH, requestAcceptsMarkdown as fI, resolveDeployOutputPath as fJ, resolveFarmAPIConfig as fK, resolveFarmAPIRequestURL as fL, resolveFarmDevIndicatorsConfig as fM, resolveFarmRouteRuleRuntimeConfig as fN, resolveFarmRouteRuntimeConfig as fO, resolveIntegrationAllowedOrigins as fP, resolveIntegrationOrmRuntimeClient as fQ, resolveIntegrationPlugins as fR, resolveMarkdownConfig as fS, resolveMarkdownMirrorTarget as fT, resolveMigrationsConfig as fU, resolveSchemaModels as fV, routeRulesToHeaders as fW, routeRulesToNitroRouteRules as fX, routeRulesToRedirects as fY, toCamelCase as fZ, toPascalCase as f_, getFarmIntegrationPluginOwner as fa, getFarmIntegrationPluginServerRuntime as fb, getFarmMarkdownAlternatePath as fc, getFarmMarkdownMirrorPath as fd, getFarmRouteRuntimeConfig as fe, getIntegrationDocumentNavigationMatchers as ff, getIntegrationProviders as fg, getIntegrationSchemas as fh, getPresetForDeployTarget as fi, getRegisteredIntegrationAPIManifest as fj, getRegisteredIntegrationRuntime as fk, getRegisteredIntegrationSchemas as fl, getRegisteredIntegrations as fm, getSqlColumnType as fn, getSqlDefaultExpression as fo, hasFarmRouteRuntimeControls as fp, htmlToMarkdown as fq, integrationMiddlewareMayHandlePath as fr, integrationRoute as fs, isFarmIntegration as ft, isFarmIntegrationProviderComponentReference as fu, isFarmMarkdownMirrorExposed as fv, isNullableField as fw, matchIntegrationRoute as fx, matchRegisteredIntegrationRoute as fy, matchesFarmMarkdownRoutePattern as fz, type FarmMdxComponents as g, validateIntegrationRequestOrigin as g0, type MiddlewareMatcher as g1, type FarmLlmsTxtLink as g2, type FarmLlmsTxtUserConfig as g3, type ResolvedFarmLlmsTxtConfig as g4, applyFarmCspNonceToResponse as g5, collectFarmLlmsTxtPages as g6, createFarmAgentRobots as g7, createFarmCspNonce as g8, createFarmDefaultLlmsTxt as g9, createFarmDefaultSitemap as ga, createFarmLlmsFullRenderer as gb, createFarmLlmsMarkdownReader as gc, createFarmMetadataRouteResponse as gd, manageFarmDocumentPreloads as ge, manageFarmHtmlPreloads as gf, manageFarmLinkHeaderPreloads as gg, renderFarmLlmsFullTxt as gh, reportFarmPreloadWarnings as gi, resolveFarmLlmsTxtConfig as gj, resolveFarmSecurityConfig as gk, stampFarmCspNonce as gl, type FarmMdxResolvedConfig as h, type RouteModule as i, FARM_MARKDOWN_CONTENT_TYPE as j, createFarmMarkdownErrorBody as k, farmRequestWantsMarkdown as l, type FarmMdxComponent as m, type FarmMdxUserConfig as n, resolveMdxConfig as o, type FarmUserConfig as p, type RouteSegment as q, resolveFarmMdxComponentsModulePath as r, type FarmRequest as s, type FarmResponse as t, type FarmPluginContext as u, type FarmAppContext as v, type PageProps as w, type FarmSearchParams as x, type PluginContextProps as y, type FarmRouteRuntime as z };
4001
+ export { type FarmPluginDatabase as $, type FarmRouteRegions as A, type BundleResultPayload as B, type FarmRouteMaxDuration as C, type FarmRedirectSignal as D, type FarmRedirectStatus as E, type FarmPlugin as F, getFarmRedirectError as G, isFarmNotFoundError as H, isFarmRedirectError as I, notFound as J, permanentRedirect as K, type LayoutProps as L, type Metadata as M, redirect as N, loadConfig as O, type ParsedRoute as P, resolveConfig as Q, type ResolvedFarmDesktopConfig as R, resolveDeployConfig as S, type APIHandlerLifecyclePayload as T, type APIRouteDiscoveredPayload as U, type BundleLifecyclePayload as V, type ErrorLifecyclePayload as W, FARM_NODE_RESPONSE_END_PENDING as X, type FarmDevtoolsUserConfig as Y, type FarmPluginBuildHooks as Z, type FarmPluginClientConfig as _, type FarmIntegration as a, type MetadataRobotsDirectives as a$, type FarmPluginDefinition as a0, type FarmPluginDevHooks as a1, type FarmPluginDiscoveredRoute as a2, type FarmPluginIntegrationContext as a3, type FarmPluginLifecycle as a4, type FarmPluginRenderHooks as a5, type FarmPluginRouteRuntimePayload as a6, type FarmPluginRouterHooks as a7, type FarmPluginRuntimeAfterEvent as a8, type FarmPluginRuntimeBaseEvent as a9, type RouteMatchResultPayload as aA, type RoutesGeneratedPayload as aB, type ShutdownPayload as aC, definePlugin as aD, resolveFarmDevtoolsConfig as aE, type FarmConfig as aF, type AppRoutePattern as aG, type BuildOptions as aH, type ErrorBoundary as aI, type ErrorProps as aJ, type FarmComponentType as aK, type FarmContextFactory as aL, type FarmContextFactoryInput as aM, type FarmIsolatedClientHydrationMode as aN, type FarmMCPUserConfig as aO, type FarmMigrationCommand as aP, type FarmMigrationsConfig as aQ, type FarmMigrationsUserConfig as aR, type GenerateStaticParams as aS, type Layout as aT, type LayoutMetadataProps as aU, type LayoutModule as aV, type Loading as aW, type LoadingProps as aX, type MetadataJsonLd as aY, type MetadataProps as aZ, type MetadataRobots as a_, type FarmPluginRuntimeBeforeEvent as aa, type FarmPluginRuntimeCloseEvent as ab, type FarmPluginRuntimeContextEvent as ac, type FarmPluginRuntimeEndpoint as ad, type FarmPluginRuntimeEndpointEvent as ae, type FarmPluginRuntimeErrorEvent as af, type FarmPluginRuntimeHooks as ag, type FarmPluginRuntimeKind as ah, type FarmPluginRuntimeRequestHandler as ai, type FarmPluginRuntimeRequestOptions as aj, type FarmPluginRuntimeSession as ak, type FarmPluginRuntimeStartEvent as al, type FarmPluginSetupContext as am, type FarmPluginStateContext as an, type FarmRequestPluginContext as ao, type FarmRequestStore as ap, FarmRuntimeShutdownError as aq, type HMRUpdatePayload as ar, type MiddlewareDiscoveredPayload as as, type NitroBuildLifecyclePayload as at, PluginManager as au, type PluginRequestContext as av, type RenderLifecyclePayload as aw, type ResolvedFarmDevtoolsConfig as ax, type RouteDiscoveredPayload as ay, type RouteMatchPayload as az, type FarmDesktopConfigInput as b, type DefinedIntegration as b$, type MiddlewareProps as b0, type NitroPreset as b1, type Page as b2, type PagePropsWithMiddleware as b3, type PageRouteParams as b4, type ResolvedFarmMigrationsConfig as b5, type SSGCollectionResult as b6, type SSGPage as b7, type ServerAction as b8, type StaticPathParams as b9, resolveFarmDesktopBlock as bA, resolveFarmDesktopConfig as bB, setFarmDesktopDevSession as bC, validateFarmDesktopConfig as bD, type ResolvedFarmRouteRuntimeConfig as bE, type ApplicationMetadataRouteKind as bF, type ResolvedFarmAPIConfig as bG, type FarmDocsResolvedConfig as bH, type ResolvedFarmDevIndicatorsConfig as bI, type ResolvedFarmAuthConfig as bJ, type ResolvedFarmPerformanceConfig as bK, type ResolvedFarmSecurityConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type ResolvedSchemaField as bO, type FarmSqlStatement as bP, type FarmSqlDialect as bQ, type CollectedSchemaModel as bR, type FarmSchemaMigrationStep as bS, type OpenAPIConfig as bT, type ApplyMarkdownNegotiationHeadersOptions as bU, type CookieJar as bV, type CookieOptions as bW, type CreateIntegrationOrmOptions as bX, type CreateMarkdownMirrorResponseOptions as bY, DEFAULT_FARM_API_BASE_PATH as bZ, DEFAULT_FARM_DEVTOOLS_SHORTCUT as b_, type StaticPathPrimitive as ba, type StaticRouteParams as bb, type ThemeColorDescriptor as bc, type Viewport as bd, resolveFarmMCPConfig as be, resolveFarmMCPPlugin as bf, type FarmMCPCatalogDetails as bg, type ResolvedFarmAppManifestConfig as bh, type ReadonlyMiddlewareStore as bi, type FarmMiddlewareConfig as bj, type MiddlewareModule as bk, type MiddlewareConfig$1 as bl, type MiddlewareContext as bm, type FarmServerComponentsMode as bn, type ResolvedFarmConfig as bo, type FarmAgentJsonLd as bp, type FarmMCPServerRegistration as bq, type FarmMarkdownResolvedConfig as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmDesktopDevSession as bv, type FarmDesktopSetupOptions as bw, createFarmDesktopContext as bx, getFarmDesktopOutputDirs as by, installFarmDesktopSetup as bz, type FarmDesktopContext as c, type FarmIntegrationRoute as c$, FARM_DEVTOOLS_LAUNCH_PARAM as c0, FARM_DEVTOOLS_PATH as c1, FARM_INTEGRATION_API_BASE_PATH_KEY as c2, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as c3, FARM_INTEGRATION_SET_COOKIES_KEY as c4, FARM_MARKDOWN_PAGE_CHECK_HEADER as c5, type FarmAPIConfig as c6, type FarmAPIConfigResolverContext as c7, type FarmAPIConfigValue as c8, type FarmAgentCrawlers as c9, type FarmIntegrationConfigContext as cA, type FarmIntegrationConfigDefinition as cB, type FarmIntegrationConfigInput as cC, type FarmIntegrationContributedPlugin as cD, type FarmIntegrationData as cE, type FarmIntegrationDocumentNavigation as cF, type FarmIntegrationEndpointValue as cG, type FarmIntegrationEndpoints as cH, type FarmIntegrationEndpointsFactory as cI, type FarmIntegrationEndpointsFactoryContext as cJ, type FarmIntegrationHandlerContext as cK, type FarmIntegrationInputSchema as cL, type FarmIntegrationLifecycleContext as cM, type FarmIntegrationLifecycleHook as cN, type FarmIntegrationLifecycleLogLevel as cO, type FarmIntegrationLifecycleLogger as cP, type FarmIntegrationLogEvent as cQ, type FarmIntegrationLogPhase as cR, type FarmIntegrationLogger as cS, type FarmIntegrationMiddleware as cT, type FarmIntegrationOrmClient as cU, type FarmIntegrationOrmSchema as cV, type FarmIntegrationPluginOwner as cW, type FarmIntegrationProvider as cX, type FarmIntegrationProviderComponentReference as cY, type FarmIntegrationProviderProps as cZ, type FarmIntegrationRequestContextStore as c_, type FarmAgentUserConfig as ca, type FarmAppManifestConfig as cb, type FarmAuthConfig as cc, type FarmAuthDatabaseConfig as cd, type FarmAuthEmailAndPasswordConfig as ce, type FarmAuthSessionConfig as cf, type FarmAuthUserConfig as cg, type FarmBuildActivityPosition as ch, type FarmCrawlerPolicy as ci, type FarmCspConfig as cj, type FarmCspDirectiveValue as ck, type FarmCspDirectives as cl, type FarmCspOptions as cm, type FarmDeployConfig as cn, type FarmDeployTarget as co, type FarmDevIndicatorsConfig as cp, type FarmDevtoolsConfig as cq, type FarmDocsConfigInput as cr, type FarmDocsNavigationConfig as cs, type FarmDocsResolvedRoot as ct, type FarmDocsRootInput as cu, type FarmDocsSidebarItem as cv, type FarmDocsSocialImageConfig as cw, type FarmDocsSocialImageFonts as cx, type FarmDocsUserConfig as cy, type FarmIntegrationCategory as cz, type FarmDesktopUserConfig as d, type FarmPluginOptionsSchema as d$, type FarmIntegrationRouteArgs as d0, type FarmIntegrationRouteDb as d1, type FarmIntegrationRouteFactory as d2, type FarmIntegrationRouteHook as d3, type FarmIntegrationRouteHookContext as d4, type FarmIntegrationRouteInput as d5, type FarmIntegrationRouteInputSchemas as d6, type FarmIntegrationRouteInputSource as d7, type FarmIntegrationRouteMethod as d8, type FarmIntegrationRouteMiddleware as d9, type FarmMCPEndpoint as dA, type FarmMCPEndpointTool as dB, type FarmMCPExecuteContext as dC, type FarmMCPOAuthConfig as dD, type FarmMCPPrompt as dE, type FarmMCPPromptMessage as dF, type FarmMCPResource as dG, type FarmMCPResourceContent as dH, type FarmMCPResourceContext as dI, type FarmMCPResourceListing as dJ, type FarmMCPServer as dK, type FarmMCPServerFunction as dL, type FarmMCPStandaloneTool as dM, type FarmMCPTool as dN, type FarmMCPToolDefinition as dO, type FarmMarkdownMirrorTarget as dP, type FarmMarkdownResolvedRoute as dQ, type FarmMarkdownRouteInput as dR, type FarmMarkdownUserConfig as dS, type FarmPageFormAction as dT, type FarmPageFormField as dU, type FarmPageFormOption as dV, type FarmPageFormSubmit as dW, type FarmPerformanceConfig as dX, type FarmPluginFactory as dY, FarmPluginOptionsError as dZ, type FarmPluginOptionsIssue as d_, type FarmIntegrationRouteParamValue as da, type FarmIntegrationRouteParams as db, type FarmIntegrationRouteStorageArgs as dc, type FarmIntegrationRoutesFactory as dd, type FarmIntegrationRoutesFactoryContext as de, type FarmIntegrationSchema as df, type FarmIntegrationSchemaConstraint as dg, type FarmIntegrationSchemaField as dh, type FarmIntegrationSchemaFieldType as di, type FarmIntegrationSchemaModel as dj, type FarmIntegrationSchemaModelExtension as dk, type FarmIntegrationSchemaModelOverride as dl, type FarmIntegrationSchemaReference as dm, type FarmIntegrationSession as dn, type FarmIntegrationSlot as dp, type FarmIntegrationStandardValidationResult as dq, type FarmIntegrationValidationErrorLike as dr, type FarmIntegrationValidationIssue as ds, type FarmIntegrationValidationPathSegment as dt, type FarmIntegrationValidationResult as du, type FarmIntegrationsUserConfig as dv, type FarmLayerConfig as dw, type FarmMCPAuthorization as dx, type FarmMCPAuthorizeContext as dy, type FarmMCPConfig as dz, type FarmDesktopWindowConfig as e, describeSchemaReference as e$, type FarmPreloadMode as e0, type FarmPreloadUserConfig as e1, type FarmRouteRenderingMode as e2, type FarmRouteRule as e3, type FarmRouteRuleCors as e4, type FarmRouteRuleRedirect as e5, type FarmRouteRuleRenderMode as e6, type FarmRouteRules as e7, type FarmRouteRuntimeEntryKind as e8, type FarmRouteRuntimeManifest as e9, type NextFunction as eA, type RateLimitConfig as eB, type RateLimitIncrementResult as eC, type RateLimitStatus as eD, type RateLimitStorage as eE, type RedirectConfig as eF, type RequestMiddleware as eG, type RequestMiddlewareContext as eH, type ResolveMarkdownMirrorTargetOptions as eI, type ResolvedFarmCspConfig as eJ, type ResolvedFarmDeployConfig as eK, type ResolvedFarmMCPConfig as eL, type ResolvedFarmPreloadConfig as eM, type ResolvedSchemaModel as eN, type RewriteConfig as eO, _getFarmMarkdownPageCheckToken as eP, _isFarmMarkdownPageCheck as eQ, _readFarmRenderedHtml as eR, applyMarkdownNegotiationHeaders as eS, collectSchemaModels as eT, createFarmRouteRuntimeKey as eU, createIntegrationOrm as eV, createIntegrationRoute as eW, createMarkdownMirrorResponse as eX, defineIntegration as eY, defineIntegrationSchema as eZ, describeIntegrationOriginRejection as e_, type FarmRouteRuntimeManifestEntry as ea, type FarmSecurityConfig as eb, type FarmServerComponentsConfig as ec, type FarmServerComponentsOptions as ed, type FarmTypedIntegrationRoute as ee, type HeaderConfig as ef, type I18nConfig as eg, type ImageConfig as eh, type InferFarmIntegrationOrmClient as ei, type InferFarmIntegrationOrmField as ej, type InferFarmIntegrationOrmFields as ek, type InferFarmIntegrationOrmSchema as el, type InferPluginOptionsInput as em, type InferPluginOptionsOutput as en, type IntegrationOriginPolicy as eo, type IntegrationOriginRejection as ep, type IntegrationOriginResult as eq, type IntegrationOrmModelNames as er, type MemoryRateLimitStorageOptions as es, MetadataRoute as et, type MetadataRouteContext as eu, type MiddlewareChain as ev, type MiddlewareConfig as ew, type MiddlewareFunction as ex, type MiddlewareResult as ey, type MiddlewareStore as ez, type FarmRouteRuntimeConfig as f, toCamelCase as f$, dispatchIntegrationRequest as f0, dispatchIntegrationRequests as f1, escapeSqlString as f2, extractFarmPageActions as f3, farmAcceptQuality as f4, farmIntegrationSchemaToOrmSchema as f5, farmRouteRuleMatches as f6, forwardIntegrationSetCookies as f7, generateFarmDevIndicatorsClientRuntime as f8, generateSqlStatements as f9, matchRegisteredIntegrationRoute as fA, matchesFarmMarkdownRoutePattern as fB, mergeFarmRouteRuntimeConfigs as fC, normalizeDeployTarget as fD, normalizeFarmAPIBasePath as fE, normalizeFarmAPIConfig as fF, normalizeFarmRouteRuntimeConfig as fG, normalizeRouteRules as fH, quoteSqlIdentifier as fI, renderSqlSchemaFile as fJ, requestAcceptsMarkdown as fK, resolveDeployOutputPath as fL, resolveFarmAPIConfig as fM, resolveFarmAPIRequestURL as fN, resolveFarmDevIndicatorsConfig as fO, resolveFarmRouteRuleRuntimeConfig as fP, resolveFarmRouteRuntimeConfig as fQ, resolveIntegrationAllowedOrigins as fR, resolveIntegrationOrmRuntimeClient as fS, resolveIntegrationPlugins as fT, resolveMarkdownConfig as fU, resolveMarkdownMirrorTarget as fV, resolveMigrationsConfig as fW, resolveSchemaModels as fX, routeRulesToHeaders as fY, routeRulesToNitroRouteRules as fZ, routeRulesToRedirects as f_, getDeployTargetForPreset as fa, getFarmAPIBaseURL as fb, getFarmIntegrationPluginOwner as fc, getFarmIntegrationPluginServerRuntime as fd, getFarmMarkdownAlternatePath as fe, getFarmMarkdownMirrorPath as ff, getFarmRouteRuntimeConfig as fg, getIntegrationDocumentNavigationMatchers as fh, getIntegrationProviders as fi, getIntegrationSchemas as fj, getPresetForDeployTarget as fk, getRegisteredIntegrationAPIManifest as fl, getRegisteredIntegrationRuntime as fm, getRegisteredIntegrationSchemas as fn, getRegisteredIntegrations as fo, getSqlColumnType as fp, getSqlDefaultExpression as fq, hasFarmRouteRuntimeControls as fr, htmlToMarkdown as fs, integrationMiddlewareMayHandlePath as ft, integrationRoute as fu, isFarmIntegration as fv, isFarmIntegrationProviderComponentReference as fw, isFarmMarkdownMirrorExposed as fx, isNullableField as fy, matchIntegrationRoute as fz, type FarmMdxComponents as g, toPascalCase as g0, toSnakeCase as g1, validateIntegrationRequestOrigin as g2, type MiddlewareMatcher as g3, type FarmLlmsTxtLink as g4, type FarmLlmsTxtUserConfig as g5, type ResolvedFarmLlmsTxtConfig as g6, applyFarmCspNonceToResponse as g7, collectFarmLlmsTxtPages as g8, createFarmAgentRobots as g9, createFarmCspNonce as ga, createFarmDefaultLlmsTxt as gb, createFarmDefaultSitemap as gc, createFarmLlmsFullRenderer as gd, createFarmLlmsMarkdownReader as ge, createFarmMetadataRouteResponse as gf, manageFarmDocumentPreloads as gg, manageFarmHtmlPreloads as gh, manageFarmLinkHeaderPreloads as gi, renderFarmLlmsFullTxt as gj, reportFarmPreloadWarnings as gk, resolveFarmLlmsTxtConfig as gl, resolveFarmSecurityConfig as gm, stampFarmCspNonce as gn, type FarmMdxResolvedConfig as h, type RouteModule as i, FARM_MARKDOWN_CONTENT_TYPE as j, createFarmMarkdownErrorBody as k, farmRequestWantsMarkdown as l, type FarmMdxComponent as m, type FarmMdxUserConfig as n, resolveMdxConfig as o, type FarmUserConfig as p, type RouteSegment as q, resolveFarmMdxComponentsModulePath as r, type FarmRequest as s, type FarmResponse as t, type FarmPluginContext as u, type FarmAppContext as v, type PageProps as w, type FarmSearchParams as x, type PluginContextProps as y, type FarmRouteRuntime as z };
@@ -1,5 +1,5 @@
1
1
  export { b as FarmClientHydrationCompleteEvent, d as FarmClientHydrationEvent, e as FarmClientHydrationMode, f as FarmClientHydrationSession, g as FarmClientLocation, h as FarmClientNavigationAction, i as FarmClientNavigationErrorEvent, j as FarmClientNavigationEvent, k as FarmClientNavigationLoadedEvent, l as FarmClientNavigationResolvedEvent, m as FarmClientNavigationSession, n as FarmClientPerformanceEvent, a as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-C2aLBOwu.mjs';
2
- export { F as FarmPlugin, u as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-C_3CdALC.mjs';
2
+ export { F as FarmPlugin, u as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-DllmH8eM.mjs';
3
3
  import './route.d-BaVH3V0w.mjs';
4
4
  import './endpoint.d-BkMSCRf6.mjs';
5
5
  import './cache.mjs';
@@ -28,6 +28,6 @@ import 'rolldown/utils';
28
28
  import 'rolldown';
29
29
  import './image-config.d-CeDgNyX4.mjs';
30
30
  import './types.d-C41ePjvP.mjs';
31
- import './config.d-CnhyvvmT.mjs';
31
+ import './config.d-DqKaCr1r.mjs';
32
32
  import './types.d-DQnyD3VD.mjs';
33
33
  import './font.mjs';
@@ -1,5 +1,5 @@
1
1
  export { b as FarmClientHydrationCompleteEvent, d as FarmClientHydrationEvent, e as FarmClientHydrationMode, f as FarmClientHydrationSession, g as FarmClientLocation, h as FarmClientNavigationAction, i as FarmClientNavigationErrorEvent, j as FarmClientNavigationEvent, k as FarmClientNavigationLoadedEvent, l as FarmClientNavigationResolvedEvent, m as FarmClientNavigationSession, n as FarmClientPerformanceEvent, a as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-C2aLBOwu.js';
2
- export { F as FarmPlugin, u as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-C0n8Yhh-.js';
2
+ export { F as FarmPlugin, u as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-n3iWY1EJ.js';
3
3
  import './route.d-DBTEqifW.js';
4
4
  import './endpoint.d-BgHn0lhl.js';
5
5
  import './cache.js';
@@ -28,6 +28,6 @@ import 'rolldown/utils';
28
28
  import 'rolldown';
29
29
  import './image-config.d-CeDgNyX4.js';
30
30
  import './types.d-C41ePjvP.js';
31
- import './config.d-CnhyvvmT.js';
31
+ import './config.d-DqKaCr1r.js';
32
32
  import './types.d-DQnyD3VD.js';
33
33
  import './font.js';
package/dist/client.d.mts CHANGED
@@ -8,11 +8,11 @@ export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCach
8
8
  export { F as FarmIntegrationAPI, e as FarmIntegrationAPIBodyFormat, f as FarmIntegrationAPIMethod, g as FarmIntegrationAPIOperation, h as FarmIntegrationAPIResponseFormat, p as api, r as defineIntegrationAPI, s as defineIntegrationAPIOperation, t as endpoint } from './route.d-BaVH3V0w.mjs';
9
9
  export { UseThemeResult, useTheme } from './theme/client.mjs';
10
10
  import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions } from './router.mjs';
11
- import { f as FarmViewTransitionMode } from './spa-router.d-D63jb6nX.mjs';
12
- export { b as FarmNavigateOptions, c as FarmNavigationBlocker, F as FarmNavigationBlockerContext, d as FarmNavigationListener, e as FarmNavigationLocation, a as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, h as pushState, r as readPageState, i as replaceState } from './spa-router.d-D63jb6nX.mjs';
11
+ import { f as FarmViewTransitionMode } from './spa-router.d-B2rIFGs0.mjs';
12
+ export { b as FarmNavigateOptions, c as FarmNavigationBlocker, F as FarmNavigationBlockerContext, d as FarmNavigationListener, e as FarmNavigationLocation, a as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, h as pushState, r as readPageState, i as replaceState } from './spa-router.d-B2rIFGs0.mjs';
13
13
  import { c as FarmI18nLocale } from './types.d-C41ePjvP.mjs';
14
- export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-BE7i84fb.mjs';
15
- export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-C0BbdUgN.mjs';
14
+ export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-Bi23a6Xc.mjs';
15
+ export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-C76gXTmO.mjs';
16
16
  export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery.d-lnQFzcQP.mjs';
17
17
  export { b as FarmClientHydrationCompleteEvent, d as FarmClientHydrationEvent, e as FarmClientHydrationMode, f as FarmClientHydrationSession, g as FarmClientLocation, h as FarmClientNavigationAction, i as FarmClientNavigationErrorEvent, j as FarmClientNavigationEvent, k as FarmClientNavigationLoadedEvent, l as FarmClientNavigationResolvedEvent, m as FarmClientNavigationSession, n as FarmClientPerformanceEvent, a as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-C2aLBOwu.mjs';
18
18
  export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime.d-aP52iuL5.mjs';
@@ -22,7 +22,7 @@ import './server-fn.mjs';
22
22
  import './server-fn-error.d-DrcH9cc1.mjs';
23
23
  import './server-query.mjs';
24
24
  import './types.d-DQnyD3VD.mjs';
25
- import './client-plugins.d-C_3CdALC.mjs';
25
+ import './client-plugins.d-DllmH8eM.mjs';
26
26
  import './renderer.mjs';
27
27
  import './deployment.mjs';
28
28
  import 'http';
@@ -43,10 +43,10 @@ import './layers.d-CcS42OGR.mjs';
43
43
  import 'rolldown/utils';
44
44
  import 'rolldown';
45
45
  import './image-config.d-CeDgNyX4.mjs';
46
- import './config.d-CnhyvvmT.mjs';
46
+ import './config.d-DqKaCr1r.mjs';
47
47
  import './font.mjs';
48
48
  import './island.d-CfGru1MO.mjs';
49
- import './render-plan.d-BNeqyPyJ.mjs';
49
+ import './render-plan.d-Diwybxo8.mjs';
50
50
 
51
51
  type MutationStatus = "idle" | "pending" | "success" | "error";
52
52
  type AnyMutationTarget = (...args: any[]) => Promise<any>;
package/dist/client.d.ts CHANGED
@@ -8,11 +8,11 @@ export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCach
8
8
  export { F as FarmIntegrationAPI, e as FarmIntegrationAPIBodyFormat, f as FarmIntegrationAPIMethod, g as FarmIntegrationAPIOperation, h as FarmIntegrationAPIResponseFormat, p as api, r as defineIntegrationAPI, s as defineIntegrationAPIOperation, t as endpoint } from './route.d-DBTEqifW.js';
9
9
  export { UseThemeResult, useTheme } from './theme/client.js';
10
10
  import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions } from './router.js';
11
- import { f as FarmViewTransitionMode } from './spa-router.d-C5opIgXg.js';
12
- export { b as FarmNavigateOptions, c as FarmNavigationBlocker, F as FarmNavigationBlockerContext, d as FarmNavigationListener, e as FarmNavigationLocation, a as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, h as pushState, r as readPageState, i as replaceState } from './spa-router.d-C5opIgXg.js';
11
+ import { f as FarmViewTransitionMode } from './spa-router.d-DqZ6Lfs0.js';
12
+ export { b as FarmNavigateOptions, c as FarmNavigationBlocker, F as FarmNavigationBlockerContext, d as FarmNavigationListener, e as FarmNavigationLocation, a as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, h as pushState, r as readPageState, i as replaceState } from './spa-router.d-DqZ6Lfs0.js';
13
13
  import { c as FarmI18nLocale } from './types.d-C41ePjvP.js';
14
- export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-Bw3K3b0a.js';
15
- export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-jArRF0ZP.js';
14
+ export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-DQ3k7EYn.js';
15
+ export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-DIyDslxt.js';
16
16
  export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery.d-lnQFzcQP.js';
17
17
  export { b as FarmClientHydrationCompleteEvent, d as FarmClientHydrationEvent, e as FarmClientHydrationMode, f as FarmClientHydrationSession, g as FarmClientLocation, h as FarmClientNavigationAction, i as FarmClientNavigationErrorEvent, j as FarmClientNavigationEvent, k as FarmClientNavigationLoadedEvent, l as FarmClientNavigationResolvedEvent, m as FarmClientNavigationSession, n as FarmClientPerformanceEvent, a as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-C2aLBOwu.js';
18
18
  export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime.d-DXRNhX_3.js';
@@ -22,7 +22,7 @@ import './server-fn.js';
22
22
  import './server-fn-error.d-DrcH9cc1.js';
23
23
  import './server-query.js';
24
24
  import './types.d-DQnyD3VD.js';
25
- import './client-plugins.d-C0n8Yhh-.js';
25
+ import './client-plugins.d-n3iWY1EJ.js';
26
26
  import './renderer.js';
27
27
  import './deployment.js';
28
28
  import 'http';
@@ -43,10 +43,10 @@ import './layers.d-CcS42OGR.js';
43
43
  import 'rolldown/utils';
44
44
  import 'rolldown';
45
45
  import './image-config.d-CeDgNyX4.js';
46
- import './config.d-CnhyvvmT.js';
46
+ import './config.d-DqKaCr1r.js';
47
47
  import './font.js';
48
48
  import './island.d-CfGru1MO.js';
49
- import './render-plan.d-BB6KrYjP.js';
49
+ import './render-plan.d-Dr5WRjoV.js';
50
50
 
51
51
  type MutationStatus = "idle" | "pending" | "success" | "error";
52
52
  type AnyMutationTarget = (...args: any[]) => Promise<any>;