@farm.js/core 0.1.41 → 0.1.42

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 (125) hide show
  1. package/dist/{agent-mcp-D0eZKfci.d.ts → agent-mcp-SSD6L3VZ.d.ts} +1 -1
  2. package/dist/{agent-mcp-BOqIxJLI.d.mts → agent-mcp-ssVy_tea.d.mts} +1 -1
  3. package/dist/agent-runtime.d.mts +1 -1
  4. package/dist/agent-runtime.d.ts +1 -1
  5. package/dist/api/route-manager.d.mts +3 -3
  6. package/dist/api/route-manager.d.ts +3 -3
  7. package/dist/api/runtime.d.mts +2 -2
  8. package/dist/api/runtime.d.ts +2 -2
  9. package/dist/api.d.mts +3 -3
  10. package/dist/api.d.ts +3 -3
  11. package/dist/{app-CzTSMJaf.d.mts → app-1h3lVT4a.d.mts} +4 -4
  12. package/dist/{app-DM8e1z3G.d.ts → app-KjFzdCqy.d.ts} +4 -4
  13. package/dist/app-manifest-D3RkVNuS.d.mts +120 -0
  14. package/dist/app-manifest-DaW8-tvX.d.ts +120 -0
  15. package/dist/app-markdown.d.mts +2 -2
  16. package/dist/app-markdown.d.ts +2 -2
  17. package/dist/{chunk-PYHPXPSW.mjs → chunk-2JZHQDUY.mjs} +1 -1
  18. package/dist/{chunk-R65GCA6A.mjs → chunk-375K2ZVU.mjs} +7 -7
  19. package/dist/{chunk-L6HYACBE.cjs → chunk-7YHSD3Z6.cjs} +77 -113
  20. package/dist/{chunk-EH3464KF.cjs → chunk-AHFRQMRX.cjs} +1 -1
  21. package/dist/{chunk-EX4MKHXN.cjs → chunk-BXJ5HJTJ.cjs} +7 -6
  22. package/dist/{chunk-BYQVROIP.mjs → chunk-DMRPN25V.mjs} +69 -0
  23. package/dist/{chunk-4C7KTKX7.mjs → chunk-IVQY6UTY.mjs} +1 -1
  24. package/dist/{chunk-3TB5QGUW.cjs → chunk-JAXDRRRC.cjs} +70 -1
  25. package/dist/{chunk-32TZ3QTP.cjs → chunk-JG3MEQUH.cjs} +85 -85
  26. package/dist/{chunk-ENOBPDKZ.mjs → chunk-NU25TRIO.mjs} +3 -2
  27. package/dist/{chunk-SVPGWJZF.mjs → chunk-PIZXONIS.mjs} +71 -107
  28. package/dist/{chunk-JOTUZIM4.cjs → chunk-QKZMB7LY.cjs} +2 -2
  29. package/dist/{chunk-FJGIVDA5.mjs → chunk-QTEJGB5A.mjs} +3 -3
  30. package/dist/{chunk-OQ4YXWH4.cjs → chunk-TCJ4A4A2.cjs} +57 -62
  31. package/dist/{chunk-BGGWKZ2V.mjs → chunk-TUL355PH.mjs} +6 -11
  32. package/dist/{chunk-VLPII2JJ.mjs → chunk-U2UC7UGP.mjs} +1 -1
  33. package/dist/{chunk-ROQ4C4LJ.cjs → chunk-ZATTDMBW.cjs} +48 -48
  34. package/dist/{chunk-PN676AZF.cjs → chunk-ZS6HDNOM.cjs} +6 -6
  35. package/dist/{client-plugins-CkYwvDJ0.d.mts → client-plugins-C9Py_50W.d.mts} +78 -6
  36. package/dist/{client-plugins-DfeKd0sD.d.ts → client-plugins-DIem0I0W.d.ts} +78 -6
  37. package/dist/client-plugins.d.mts +1 -1
  38. package/dist/client-plugins.d.ts +1 -1
  39. package/dist/client.d.mts +5 -5
  40. package/dist/client.d.ts +5 -5
  41. package/dist/config.d.mts +1 -1
  42. package/dist/config.d.ts +1 -1
  43. package/dist/{devtools-2YHAJYH6.cjs → devtools-2RY3EKHL.cjs} +3 -3
  44. package/dist/{devtools-N3QLRIQU.mjs → devtools-Q3LBNUJ7.mjs} +2 -2
  45. package/dist/docs.cjs +4 -4
  46. package/dist/docs.d.mts +2 -2
  47. package/dist/docs.d.ts +2 -2
  48. package/dist/docs.mjs +3 -3
  49. package/dist/index.cjs +9 -9
  50. package/dist/index.d.mts +14 -13
  51. package/dist/index.d.ts +14 -13
  52. package/dist/index.mjs +8 -8
  53. package/dist/integrations.d.mts +1 -1
  54. package/dist/integrations.d.ts +1 -1
  55. package/dist/internal/app-markdown-runtime.d.mts +2 -2
  56. package/dist/internal/app-markdown-runtime.d.ts +2 -2
  57. package/dist/internal/build-runtime.cjs +9 -9
  58. package/dist/internal/build-runtime.d.mts +3 -3
  59. package/dist/internal/build-runtime.d.ts +3 -3
  60. package/dist/internal/build-runtime.mjs +8 -8
  61. package/dist/internal/cli-runtime.cjs +3 -3
  62. package/dist/internal/cli-runtime.mjs +2 -2
  63. package/dist/internal/client-error-overlay.cjs +4 -4
  64. package/dist/internal/client-error-overlay.mjs +1 -1
  65. package/dist/internal/compression-runtime.d.mts +1 -1
  66. package/dist/internal/compression-runtime.d.ts +1 -1
  67. package/dist/internal/config-runtime.cjs +3 -3
  68. package/dist/internal/config-runtime.d.mts +2 -2
  69. package/dist/internal/config-runtime.d.ts +2 -2
  70. package/dist/internal/config-runtime.mjs +2 -2
  71. package/dist/internal/product-telemetry-runtime.cjs +2 -2
  72. package/dist/internal/product-telemetry-runtime.mjs +1 -1
  73. package/dist/internal/production-runtime.cjs +5 -5
  74. package/dist/internal/production-runtime.d.mts +10 -127
  75. package/dist/internal/production-runtime.d.ts +10 -127
  76. package/dist/internal/production-runtime.mjs +4 -4
  77. package/dist/markdown.d.mts +1 -1
  78. package/dist/markdown.d.ts +1 -1
  79. package/dist/middleware.d.mts +3 -3
  80. package/dist/middleware.d.ts +3 -3
  81. package/dist/navigation.d.mts +4 -4
  82. package/dist/navigation.d.ts +4 -4
  83. package/dist/plugin.cjs +6 -6
  84. package/dist/plugin.d.mts +3 -3
  85. package/dist/plugin.d.ts +3 -3
  86. package/dist/plugin.mjs +5 -5
  87. package/dist/{production-runtime-BTkXQdYy.d.mts → production-runtime-CHFKIgpW.d.mts} +1 -1
  88. package/dist/{production-runtime-DFC7pgbp.d.ts → production-runtime-bjjWq-DA.d.ts} +1 -1
  89. package/dist/{render-plan-BoAK9xFC.d.ts → render-plan-B2UndB4x.d.ts} +1 -1
  90. package/dist/{render-plan-5rFeWmk7.d.mts → render-plan-DOHg6wdO.d.mts} +1 -1
  91. package/dist/renderer-client.d.mts +3 -3
  92. package/dist/renderer-client.d.ts +3 -3
  93. package/dist/{request-BxBWigtl.d.mts → request-DQcGfdgQ.d.mts} +1 -1
  94. package/dist/{request-fciwmd3n.d.ts → request-DVNXRQrI.d.ts} +1 -1
  95. package/dist/request.d.mts +2 -2
  96. package/dist/request.d.ts +2 -2
  97. package/dist/{route-rendering-BLZT0IP0.d.ts → route-rendering-B_6fj-GG.d.ts} +1 -1
  98. package/dist/{route-rendering-BCM1QzEf.d.mts → route-rendering-CEX4mFn-.d.mts} +1 -1
  99. package/dist/{router-CkheNX3-.d.ts → router-CHEMHm1P.d.ts} +1 -1
  100. package/dist/{router-DyZJWc1_.d.mts → router-CKHPBKXX.d.mts} +1 -1
  101. package/dist/routes.d.mts +1 -1
  102. package/dist/routes.d.ts +1 -1
  103. package/dist/{runtime-DfU4sKa5.d.ts → runtime-Br2ZDTAv.d.ts} +1 -1
  104. package/dist/{runtime-wexvUN5J.d.mts → runtime-jj8TKNsy.d.mts} +1 -1
  105. package/dist/server-plugins.d.mts +2 -2
  106. package/dist/server-plugins.d.ts +2 -2
  107. package/dist/server.cjs +22 -22
  108. package/dist/server.d.mts +9 -9
  109. package/dist/server.d.ts +9 -9
  110. package/dist/server.mjs +6 -6
  111. package/dist/{spa-router-DgsMXqfX.d.mts → spa-router-BEvS9Erj.d.mts} +2 -2
  112. package/dist/{spa-router-CcejECnG.d.ts → spa-router-DmCuH5B7.d.ts} +2 -2
  113. package/dist/{ssg-Bg4bMMhM.d.mts → ssg-57v6cZcW.d.mts} +2 -2
  114. package/dist/{ssg-1FGaFISl.d.ts → ssg-gT093ETk.d.ts} +2 -2
  115. package/dist/testing.d.mts +1 -1
  116. package/dist/testing.d.ts +1 -1
  117. package/dist/{utils-Dxbh6Hgj.d.ts → utils-CCTKvR-P.d.ts} +1 -1
  118. package/dist/{utils-8wtTYiH4.d.mts → utils-raHHQVyL.d.mts} +1 -1
  119. package/dist/version.cjs +2 -2
  120. package/dist/version.mjs +1 -1
  121. package/dist/vite.cjs +6 -6
  122. package/dist/vite.d.mts +4 -4
  123. package/dist/vite.d.ts +4 -4
  124. package/dist/vite.mjs +5 -5
  125. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ad as Metadata, bc as FarmAgentJsonLd, bd as FarmMCPServerRegistration, be as FarmMarkdownResolvedConfig } from './client-plugins-DfeKd0sD.js';
1
+ import { ad as Metadata, be as FarmAgentJsonLd, bf as FarmMCPServerRegistration, bg as FarmMarkdownResolvedConfig } from './client-plugins-DIem0I0W.js';
2
2
 
3
3
  type MetadataImageKind = "opengraph" | "twitter";
4
4
  interface FarmMetadataImageReference {
@@ -1,4 +1,4 @@
1
- import { ad as Metadata, bc as FarmAgentJsonLd, bd as FarmMCPServerRegistration, be as FarmMarkdownResolvedConfig } from './client-plugins-CkYwvDJ0.mjs';
1
+ import { ad as Metadata, be as FarmAgentJsonLd, bf as FarmMCPServerRegistration, bg as FarmMarkdownResolvedConfig } from './client-plugins-C9Py_50W.mjs';
2
2
 
3
3
  type MetadataImageKind = "opengraph" | "twitter";
4
4
  interface FarmMetadataImageReference {
@@ -1,5 +1,5 @@
1
1
  import { ChildProcess } from 'node:child_process';
2
- import { n as BundleResultPayload, a as FarmPlugin, ax as FarmIntegration } from './client-plugins-CkYwvDJ0.mjs';
2
+ import { n as BundleResultPayload, a as FarmPlugin, ax as FarmIntegration } from './client-plugins-C9Py_50W.mjs';
3
3
  import './lifecycle-DK06VuKP.mjs';
4
4
  import './integration-api-DWyMmvrR.mjs';
5
5
  import './endpoint-DGZRZHux.mjs';
@@ -1,5 +1,5 @@
1
1
  import { ChildProcess } from 'node:child_process';
2
- import { n as BundleResultPayload, a as FarmPlugin, ax as FarmIntegration } from './client-plugins-DfeKd0sD.js';
2
+ import { n as BundleResultPayload, a as FarmPlugin, ax as FarmIntegration } from './client-plugins-DIem0I0W.js';
3
3
  import './lifecycle-DK06VuKP.js';
4
4
  import './integration-api-BuPHMeKz.js';
5
5
  import './endpoint-BOE0IAaG.js';
@@ -1,6 +1,6 @@
1
- import { P as PluginAPIDispatch } from '../runtime-wexvUN5J.mjs';
2
- export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-wexvUN5J.mjs';
3
- import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-CkYwvDJ0.mjs';
1
+ import { P as PluginAPIDispatch } from '../runtime-jj8TKNsy.mjs';
2
+ export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-jj8TKNsy.mjs';
3
+ import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-C9Py_50W.mjs';
4
4
  import { ViteDevServer } from 'vite';
5
5
  import '../types-CnH8DOqo.mjs';
6
6
  import { F as FarmI18nRuntime } from '../runtime-CV2UCV-5.mjs';
@@ -1,6 +1,6 @@
1
- import { P as PluginAPIDispatch } from '../runtime-DfU4sKa5.js';
2
- export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-DfU4sKa5.js';
3
- import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-DfeKd0sD.js';
1
+ import { P as PluginAPIDispatch } from '../runtime-Br2ZDTAv.js';
2
+ export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-Br2ZDTAv.js';
3
+ import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-DIem0I0W.js';
4
4
  import { ViteDevServer } from 'vite';
5
5
  import '../types-CnH8DOqo.js';
6
6
  import { F as FarmI18nRuntime } from '../runtime-BgDQzBiu.js';
@@ -1,7 +1,7 @@
1
1
  export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint-DGZRZHux.mjs';
2
- export { f as APIRouteShapeSource, A as API_ROUTE_METHODS, d as createEndpointFailureResponse, c as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, b as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, e as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime-wexvUN5J.mjs';
2
+ export { f as APIRouteShapeSource, A as API_ROUTE_METHODS, d as createEndpointFailureResponse, c as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, b as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, e as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime-jj8TKNsy.mjs';
3
3
  export { A as APIRouteMatch, b as APIRouteParamValue, a as APIRouteParams, m as matchAPIRoute } from '../route-pattern-W-SsJGSp.mjs';
4
- export { bi as FarmMCPCatalogDetails, bd as FarmMCPServerRegistration, bf as _findFarmMCPEndpointTool, bg as _publishFarmMCPCatalog, bh as registerFarmMCPServer } from '../client-plugins-CkYwvDJ0.mjs';
4
+ export { b7 as FarmMCPCatalogDetails, bf as FarmMCPServerRegistration, bh as _findFarmMCPEndpointTool, bi as _publishFarmMCPCatalog, bj as registerFarmMCPServer } from '../client-plugins-C9Py_50W.mjs';
5
5
  import '../cache.mjs';
6
6
  import '../cache-invalidation-BD0z_lfu.mjs';
7
7
  import '../integration-api-DWyMmvrR.mjs';
@@ -1,7 +1,7 @@
1
1
  export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint-BOE0IAaG.js';
2
- export { f as APIRouteShapeSource, A as API_ROUTE_METHODS, d as createEndpointFailureResponse, c as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, b as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, e as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime-DfU4sKa5.js';
2
+ export { f as APIRouteShapeSource, A as API_ROUTE_METHODS, d as createEndpointFailureResponse, c as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, b as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, e as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime-Br2ZDTAv.js';
3
3
  export { A as APIRouteMatch, b as APIRouteParamValue, a as APIRouteParams, m as matchAPIRoute } from '../route-pattern-W-SsJGSp.js';
4
- export { bi as FarmMCPCatalogDetails, bd as FarmMCPServerRegistration, bf as _findFarmMCPEndpointTool, bg as _publishFarmMCPCatalog, bh as registerFarmMCPServer } from '../client-plugins-DfeKd0sD.js';
4
+ export { b7 as FarmMCPCatalogDetails, bf as FarmMCPServerRegistration, bh as _findFarmMCPEndpointTool, bi as _publishFarmMCPCatalog, bj as registerFarmMCPServer } from '../client-plugins-DIem0I0W.js';
5
5
  import '../cache.js';
6
6
  import '../cache-invalidation-BD0z_lfu.js';
7
7
  import '../integration-api-BuPHMeKz.js';
package/dist/api.d.mts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { A as AnyEndpointMiddleware, D as DELETE, k as EndpointErrorContracts, h as EndpointErrorDefinition, j as EndpointErrorDefinitions, l as EndpointErrorHandler, g as EndpointErrorSchema, m as EndpointFail, f as EndpointFailure, w as EndpointHandler, t as EndpointInvalidationContext, s as EndpointInvalidationTarget, u as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, r as EndpointMiddleware, q as EndpointMiddlewareContext, c as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, n as EndpointParamValue, o as EndpointParams, K as FarmAPIStream, J as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, F as MultipartSchema, B as MultipartValues, O as OPTIONS, z as PATCH, P as POST, y as PUT, Q as QUERY, T as TypedEndpoint, C as TypedFormData, x as createEndpoint, i as isEndpointFailure, X as isFarmAPIStream, V as isJSONStreamResponse, N as isMultipartSchema, U as jsonStream, L as multipart, W as readJSONStream, S as toFormData } from './endpoint-DGZRZHux.mjs';
2
2
  export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.mjs';
3
3
  export { v as APIClient, h as APIClientError, b as APIClientOptions, i as APIClientSystemError, c as APIClientWithoutIntegrationsOptions, s as APIQueryPrimitive, t as APIQueryValue, g as APIResult, K as APIRouteManifest, A as APIRouteRefMetadata, x as ApiClients, C as CacheKey, n as CacheOptions, l as CachePolicy, m as CacheScope, r as ClientOptions, a as FARM_API_ROUTE_META_SYMBOL, F as FARM_API_ROUTE_REF_SYMBOL, p as InvalidateOptions, I as InvalidateTarget, q as OptimisticOptions, O as OptimisticUpdate, j as RequestEvent, k as ResponseEvent, o as RetryAttemptContext, R as RetryOptions, u as RouteAPIClient, w as ServerAPIClient, S as ServerAPIClientOptions, d as ServerAPIClientWithoutIntegrationsOptions, f as StatusEvent, e as StatusPhase, G as applyServerFnOptimisticUpdates, z as createAPIClient, y as createApiClients, E as createServerAPIClient, D as getAPIRouteRefMetadata, B as isAPIRouteRef, J as resolveServerFnInvalidateTargets, H as settleServerFnOptimisticUpdates } from './api-client-Dk9QOLwr.mjs';
4
- import { bl as ResolvedFarmAPIConfig } from './client-plugins-CkYwvDJ0.mjs';
5
- export { en as DEFAULT_FARM_API_BASE_PATH, eq as FarmAPIConfig, eo as FarmAPIConfigResolverContext, ep as FarmAPIConfigValue, eu as getFarmAPIBaseURL, et as normalizeFarmAPIBasePath, es as normalizeFarmAPIConfig, er as resolveFarmAPIConfig, ev as resolveFarmAPIRequestURL } from './client-plugins-CkYwvDJ0.mjs';
4
+ import { bm as ResolvedFarmAPIConfig } from './client-plugins-C9Py_50W.mjs';
5
+ export { ep as DEFAULT_FARM_API_BASE_PATH, es as FarmAPIConfig, eq as FarmAPIConfigResolverContext, er as FarmAPIConfigValue, ew as getFarmAPIBaseURL, ev as normalizeFarmAPIBasePath, eu as normalizeFarmAPIConfig, et as resolveFarmAPIConfig, ex as resolveFarmAPIRequestURL } from './client-plugins-C9Py_50W.mjs';
6
6
  import { Plugin } from 'vite';
7
7
  import { c as PluginRoutesFactory } from './integration-api-DWyMmvrR.mjs';
8
8
  export { t as PluginAPIRouter, P as PluginLocalAPI, a as PluginLocalAPIEndpoint, b as PluginRoutes, R as RouteDefinition, r as RouteFactory, o as RouteInputSchemas, p as RouteJSON, d as RouteMethod, q as RouteOptions, n as RoutePathParams, s as createRouteFactory, u as resolvePluginRoutes } from './integration-api-DWyMmvrR.mjs';
9
- export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime-wexvUN5J.mjs';
9
+ export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime-jj8TKNsy.mjs';
10
10
  export { A as APIRouteMatch, b as APIRouteParamValue, a as APIRouteParams, m as matchAPIRoute } from './route-pattern-W-SsJGSp.mjs';
11
11
  import './cache.mjs';
12
12
  import './cache-invalidation-BD0z_lfu.mjs';
package/dist/api.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { A as AnyEndpointMiddleware, D as DELETE, k as EndpointErrorContracts, h as EndpointErrorDefinition, j as EndpointErrorDefinitions, l as EndpointErrorHandler, g as EndpointErrorSchema, m as EndpointFail, f as EndpointFailure, w as EndpointHandler, t as EndpointInvalidationContext, s as EndpointInvalidationTarget, u as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, r as EndpointMiddleware, q as EndpointMiddlewareContext, c as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, n as EndpointParamValue, o as EndpointParams, K as FarmAPIStream, J as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, F as MultipartSchema, B as MultipartValues, O as OPTIONS, z as PATCH, P as POST, y as PUT, Q as QUERY, T as TypedEndpoint, C as TypedFormData, x as createEndpoint, i as isEndpointFailure, X as isFarmAPIStream, V as isJSONStreamResponse, N as isMultipartSchema, U as jsonStream, L as multipart, W as readJSONStream, S as toFormData } from './endpoint-BOE0IAaG.js';
2
2
  export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.js';
3
3
  export { v as APIClient, h as APIClientError, b as APIClientOptions, i as APIClientSystemError, c as APIClientWithoutIntegrationsOptions, s as APIQueryPrimitive, t as APIQueryValue, g as APIResult, K as APIRouteManifest, A as APIRouteRefMetadata, x as ApiClients, C as CacheKey, n as CacheOptions, l as CachePolicy, m as CacheScope, r as ClientOptions, a as FARM_API_ROUTE_META_SYMBOL, F as FARM_API_ROUTE_REF_SYMBOL, p as InvalidateOptions, I as InvalidateTarget, q as OptimisticOptions, O as OptimisticUpdate, j as RequestEvent, k as ResponseEvent, o as RetryAttemptContext, R as RetryOptions, u as RouteAPIClient, w as ServerAPIClient, S as ServerAPIClientOptions, d as ServerAPIClientWithoutIntegrationsOptions, f as StatusEvent, e as StatusPhase, G as applyServerFnOptimisticUpdates, z as createAPIClient, y as createApiClients, E as createServerAPIClient, D as getAPIRouteRefMetadata, B as isAPIRouteRef, J as resolveServerFnInvalidateTargets, H as settleServerFnOptimisticUpdates } from './api-client-BJv9mTbO.js';
4
- import { bl as ResolvedFarmAPIConfig } from './client-plugins-DfeKd0sD.js';
5
- export { en as DEFAULT_FARM_API_BASE_PATH, eq as FarmAPIConfig, eo as FarmAPIConfigResolverContext, ep as FarmAPIConfigValue, eu as getFarmAPIBaseURL, et as normalizeFarmAPIBasePath, es as normalizeFarmAPIConfig, er as resolveFarmAPIConfig, ev as resolveFarmAPIRequestURL } from './client-plugins-DfeKd0sD.js';
4
+ import { bm as ResolvedFarmAPIConfig } from './client-plugins-DIem0I0W.js';
5
+ export { ep as DEFAULT_FARM_API_BASE_PATH, es as FarmAPIConfig, eq as FarmAPIConfigResolverContext, er as FarmAPIConfigValue, ew as getFarmAPIBaseURL, ev as normalizeFarmAPIBasePath, eu as normalizeFarmAPIConfig, et as resolveFarmAPIConfig, ex as resolveFarmAPIRequestURL } from './client-plugins-DIem0I0W.js';
6
6
  import { Plugin } from 'vite';
7
7
  import { c as PluginRoutesFactory } from './integration-api-BuPHMeKz.js';
8
8
  export { t as PluginAPIRouter, P as PluginLocalAPI, a as PluginLocalAPIEndpoint, b as PluginRoutes, R as RouteDefinition, r as RouteFactory, o as RouteInputSchemas, p as RouteJSON, d as RouteMethod, q as RouteOptions, n as RoutePathParams, s as createRouteFactory, u as resolvePluginRoutes } from './integration-api-BuPHMeKz.js';
9
- export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime-DfU4sKa5.js';
9
+ export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime-Br2ZDTAv.js';
10
10
  export { A as APIRouteMatch, b as APIRouteParamValue, a as APIRouteParams, m as matchAPIRoute } from './route-pattern-W-SsJGSp.js';
11
11
  import './cache.js';
12
12
  import './cache-invalidation-BD0z_lfu.js';
@@ -1,14 +1,14 @@
1
- import { ay as FarmConfig, a8 as ParsedRoute, bj as ResolvedFarmRouteRuntimeConfig, bk as ApplicationMetadataRouteKind, ak as RouteModule, aZ as LayoutModule, b4 as SSGCollectionResult, aa as FarmRequest, ab as FarmResponse, bl as ResolvedFarmAPIConfig, bm as FarmDocsResolvedConfig, be as FarmMarkdownResolvedConfig, am as FarmMdxResolvedConfig, _ as ResolvedFarmDevtoolsConfig, bn as ResolvedFarmDevIndicatorsConfig, bo as ResolvedFarmAuthConfig, bp as ResolvedFarmPerformanceConfig, bq as ResolvedFarmSecurityConfig } from './client-plugins-CkYwvDJ0.mjs';
1
+ import { ay as FarmConfig, a8 as ParsedRoute, bk as ResolvedFarmRouteRuntimeConfig, bl as ApplicationMetadataRouteKind, ak as RouteModule, aZ as LayoutModule, b4 as SSGCollectionResult, aa as FarmRequest, ab as FarmResponse, bm as ResolvedFarmAPIConfig, bn as FarmDocsResolvedConfig, bg as FarmMarkdownResolvedConfig, am as FarmMdxResolvedConfig, _ as ResolvedFarmDevtoolsConfig, bo as ResolvedFarmDevIndicatorsConfig, bp as ResolvedFarmAuthConfig, bq as ResolvedFarmPerformanceConfig, br as ResolvedFarmSecurityConfig } from './client-plugins-C9Py_50W.mjs';
2
2
  import { F as FarmWorkflowsResolvedConfig } from './workflows-IWP1ddBm.mjs';
3
3
  import { FarmCronResolvedConfig } from './cron.mjs';
4
4
  import { R as ResolvedFarmImageConfig } from './image-config-BpH1q5R8.mjs';
5
5
  import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.mjs';
6
- import { P as ProgrammaticClientRoutes } from './ssg-Bg4bMMhM.mjs';
6
+ import { P as ProgrammaticClientRoutes } from './ssg-57v6cZcW.mjs';
7
7
  import { ViteDevServer } from 'vite';
8
8
  import { F as FarmIslandStrategy } from './island-CfGru1MO.mjs';
9
- import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp-BOqIxJLI.mjs';
9
+ import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp-ssVy_tea.mjs';
10
10
  import { FarmServerRendererRuntime, FarmRenderer } from './renderer.mjs';
11
- import { F as FarmRouteRenderPlan } from './render-plan-5rFeWmk7.mjs';
11
+ import { F as FarmRouteRenderPlan } from './render-plan-DOHg6wdO.mjs';
12
12
  import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
13
13
  import { F as FarmI18nRuntime } from './runtime-CV2UCV-5.mjs';
14
14
  import { R as ResolvedFarmThemeConfig } from './types-DQnyD3VD.mjs';
@@ -1,14 +1,14 @@
1
- import { ay as FarmConfig, a8 as ParsedRoute, bj as ResolvedFarmRouteRuntimeConfig, bk as ApplicationMetadataRouteKind, ak as RouteModule, aZ as LayoutModule, b4 as SSGCollectionResult, aa as FarmRequest, ab as FarmResponse, bl as ResolvedFarmAPIConfig, bm as FarmDocsResolvedConfig, be as FarmMarkdownResolvedConfig, am as FarmMdxResolvedConfig, _ as ResolvedFarmDevtoolsConfig, bn as ResolvedFarmDevIndicatorsConfig, bo as ResolvedFarmAuthConfig, bp as ResolvedFarmPerformanceConfig, bq as ResolvedFarmSecurityConfig } from './client-plugins-DfeKd0sD.js';
1
+ import { ay as FarmConfig, a8 as ParsedRoute, bk as ResolvedFarmRouteRuntimeConfig, bl as ApplicationMetadataRouteKind, ak as RouteModule, aZ as LayoutModule, b4 as SSGCollectionResult, aa as FarmRequest, ab as FarmResponse, bm as ResolvedFarmAPIConfig, bn as FarmDocsResolvedConfig, bg as FarmMarkdownResolvedConfig, am as FarmMdxResolvedConfig, _ as ResolvedFarmDevtoolsConfig, bo as ResolvedFarmDevIndicatorsConfig, bp as ResolvedFarmAuthConfig, bq as ResolvedFarmPerformanceConfig, br as ResolvedFarmSecurityConfig } from './client-plugins-DIem0I0W.js';
2
2
  import { F as FarmWorkflowsResolvedConfig } from './workflows-IWP1ddBm.js';
3
3
  import { FarmCronResolvedConfig } from './cron.js';
4
4
  import { R as ResolvedFarmImageConfig } from './image-config-BpH1q5R8.js';
5
5
  import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.js';
6
- import { P as ProgrammaticClientRoutes } from './ssg-1FGaFISl.js';
6
+ import { P as ProgrammaticClientRoutes } from './ssg-gT093ETk.js';
7
7
  import { ViteDevServer } from 'vite';
8
8
  import { F as FarmIslandStrategy } from './island-CfGru1MO.js';
9
- import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp-D0eZKfci.js';
9
+ import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp-SSD6L3VZ.js';
10
10
  import { FarmServerRendererRuntime, FarmRenderer } from './renderer.js';
11
- import { F as FarmRouteRenderPlan } from './render-plan-BoAK9xFC.js';
11
+ import { F as FarmRouteRenderPlan } from './render-plan-B2UndB4x.js';
12
12
  import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.js';
13
13
  import { F as FarmI18nRuntime } from './runtime-BgDQzBiu.js';
14
14
  import { R as ResolvedFarmThemeConfig } from './types-DQnyD3VD.js';
@@ -0,0 +1,120 @@
1
+ import { b7 as FarmMCPCatalogDetails, b8 as ResolvedFarmAppManifestConfig } from './client-plugins-C9Py_50W.mjs';
2
+
3
+ interface FarmAppManifestWebMCPTool {
4
+ name: string;
5
+ title?: string;
6
+ description?: string;
7
+ readOnlyHint?: boolean;
8
+ destructiveHint?: boolean;
9
+ idempotentHint?: boolean;
10
+ openWorldHint?: boolean;
11
+ /** The input JSON Schema when the source writes it out; omitted when it's computed. */
12
+ inputSchema?: Record<string, unknown>;
13
+ /** `"computed"` when the schema is built at runtime, so it can't be read from source. */
14
+ inputSchemaSource: "literal" | "computed" | "none";
15
+ }
16
+
17
+ type FarmAppManifestToolSource = "endpoint" | "defineTool" | "serverFunction";
18
+ interface FarmAppManifestTool {
19
+ name: string;
20
+ title?: string;
21
+ description?: string;
22
+ /** How the app defined it: an API endpoint, `defineTool`, or a server function. */
23
+ source: FarmAppManifestToolSource;
24
+ readOnlyHint?: boolean;
25
+ destructiveHint?: boolean;
26
+ idempotentHint?: boolean;
27
+ openWorldHint?: boolean;
28
+ /**
29
+ * JSON Schemas, when the server published them (`@farm.js/mcp` does) and
30
+ * `agent.manifest.mcp.schemas` isn't `false`.
31
+ */
32
+ inputSchema?: Readonly<Record<string, unknown>>;
33
+ outputSchema?: Readonly<Record<string, unknown>>;
34
+ }
35
+ type ServerDetails = NonNullable<FarmMCPCatalogDetails>;
36
+ interface FarmAppManifestServer {
37
+ name: string;
38
+ version: string;
39
+ path: string;
40
+ /**
41
+ * `"required"` when the server runs `authorize` or a guard covers its path: an anonymous
42
+ * client lists nothing, so `tools`, `resources` and `prompts` are empty.
43
+ */
44
+ authorization: "none" | "required";
45
+ tools: FarmAppManifestTool[];
46
+ resources: NonNullable<ServerDetails["resources"]>;
47
+ prompts: NonNullable<ServerDetails["prompts"]>;
48
+ }
49
+ /**
50
+ * The manifest document. A section the app hid with `agent.manifest` is `null`, unlike an
51
+ * empty list, which means there is nothing to show.
52
+ */
53
+ interface FarmAppManifest {
54
+ schemaVersion: 1;
55
+ /** `farm`, `renderer` and `build` are left out when `agent.manifest.app` hides them. */
56
+ app: {
57
+ farm?: string;
58
+ renderer?: string;
59
+ basePath: string;
60
+ build?: string;
61
+ } | null;
62
+ /**
63
+ * Installed versions of the app's `@farm.js/*` and `@farming-labs/*` packages; `null`
64
+ * versions with `agent.manifest.packages: "names"`.
65
+ */
66
+ packages: Record<string, string | null> | null;
67
+ mcp: {
68
+ servers: FarmAppManifestServer[];
69
+ } | null;
70
+ /** Browser tools from `@farm.js/webmcp`, read from the app's source. */
71
+ webmcp: {
72
+ enabled: boolean;
73
+ tools: FarmAppManifestWebMCPTool[];
74
+ } | null;
75
+ /** The app's integrations: which slot each fills and which provider, never their config. */
76
+ integrations: {
77
+ key: string;
78
+ category: string;
79
+ type: string;
80
+ }[] | null;
81
+ agent: {
82
+ apiCatalog: string | null;
83
+ llmsTxt: boolean;
84
+ openapi: string | null;
85
+ } | null;
86
+ plugins: string[] | null;
87
+ }
88
+ /** What the manifest reads from config; serializable, so a production build embeds it. */
89
+ interface FarmAppManifestInput {
90
+ renderer: string;
91
+ basePath: string;
92
+ /** The build's ID, or "development". */
93
+ build: string;
94
+ packages: Record<string, string>;
95
+ webmcp: NonNullable<FarmAppManifest["webmcp"]>;
96
+ integrations: NonNullable<FarmAppManifest["integrations"]>;
97
+ agent: NonNullable<FarmAppManifest["agent"]>;
98
+ plugins: string[];
99
+ /** Resolved `agent.manifest` options; every section is shown without them. */
100
+ sections?: ResolvedFarmAppManifestConfig;
101
+ /**
102
+ * The default read-only MCP server (`agent.mcp`) while the app would serve it. Set by the
103
+ * server at runtime, not serialized: it answers only while no other MCP server is listed.
104
+ */
105
+ defaultMCP?: () => {
106
+ name: string;
107
+ version: string;
108
+ path: string;
109
+ } | undefined;
110
+ /**
111
+ * Whether a guard written for a path (middleware, an integration's `protectedRoutes`)
112
+ * covers an MCP server's endpoint. Set by the server at runtime: such a server is listed
113
+ * as requiring authorization, without its tools, resources or prompts.
114
+ */
115
+ guardCoversPath?: (path: string) => boolean;
116
+ }
117
+ /** Answers `/.well-known/farmjs.json`: the same public document for every request. */
118
+ declare function createFarmAppManifestResponse(request: Request, input: FarmAppManifestInput): Promise<Response>;
119
+
120
+ export { type FarmAppManifest as F, type FarmAppManifestServer as a, type FarmAppManifestTool as b, createFarmAppManifestResponse as c };
@@ -0,0 +1,120 @@
1
+ import { b7 as FarmMCPCatalogDetails, b8 as ResolvedFarmAppManifestConfig } from './client-plugins-DIem0I0W.js';
2
+
3
+ interface FarmAppManifestWebMCPTool {
4
+ name: string;
5
+ title?: string;
6
+ description?: string;
7
+ readOnlyHint?: boolean;
8
+ destructiveHint?: boolean;
9
+ idempotentHint?: boolean;
10
+ openWorldHint?: boolean;
11
+ /** The input JSON Schema when the source writes it out; omitted when it's computed. */
12
+ inputSchema?: Record<string, unknown>;
13
+ /** `"computed"` when the schema is built at runtime, so it can't be read from source. */
14
+ inputSchemaSource: "literal" | "computed" | "none";
15
+ }
16
+
17
+ type FarmAppManifestToolSource = "endpoint" | "defineTool" | "serverFunction";
18
+ interface FarmAppManifestTool {
19
+ name: string;
20
+ title?: string;
21
+ description?: string;
22
+ /** How the app defined it: an API endpoint, `defineTool`, or a server function. */
23
+ source: FarmAppManifestToolSource;
24
+ readOnlyHint?: boolean;
25
+ destructiveHint?: boolean;
26
+ idempotentHint?: boolean;
27
+ openWorldHint?: boolean;
28
+ /**
29
+ * JSON Schemas, when the server published them (`@farm.js/mcp` does) and
30
+ * `agent.manifest.mcp.schemas` isn't `false`.
31
+ */
32
+ inputSchema?: Readonly<Record<string, unknown>>;
33
+ outputSchema?: Readonly<Record<string, unknown>>;
34
+ }
35
+ type ServerDetails = NonNullable<FarmMCPCatalogDetails>;
36
+ interface FarmAppManifestServer {
37
+ name: string;
38
+ version: string;
39
+ path: string;
40
+ /**
41
+ * `"required"` when the server runs `authorize` or a guard covers its path: an anonymous
42
+ * client lists nothing, so `tools`, `resources` and `prompts` are empty.
43
+ */
44
+ authorization: "none" | "required";
45
+ tools: FarmAppManifestTool[];
46
+ resources: NonNullable<ServerDetails["resources"]>;
47
+ prompts: NonNullable<ServerDetails["prompts"]>;
48
+ }
49
+ /**
50
+ * The manifest document. A section the app hid with `agent.manifest` is `null`, unlike an
51
+ * empty list, which means there is nothing to show.
52
+ */
53
+ interface FarmAppManifest {
54
+ schemaVersion: 1;
55
+ /** `farm`, `renderer` and `build` are left out when `agent.manifest.app` hides them. */
56
+ app: {
57
+ farm?: string;
58
+ renderer?: string;
59
+ basePath: string;
60
+ build?: string;
61
+ } | null;
62
+ /**
63
+ * Installed versions of the app's `@farm.js/*` and `@farming-labs/*` packages; `null`
64
+ * versions with `agent.manifest.packages: "names"`.
65
+ */
66
+ packages: Record<string, string | null> | null;
67
+ mcp: {
68
+ servers: FarmAppManifestServer[];
69
+ } | null;
70
+ /** Browser tools from `@farm.js/webmcp`, read from the app's source. */
71
+ webmcp: {
72
+ enabled: boolean;
73
+ tools: FarmAppManifestWebMCPTool[];
74
+ } | null;
75
+ /** The app's integrations: which slot each fills and which provider, never their config. */
76
+ integrations: {
77
+ key: string;
78
+ category: string;
79
+ type: string;
80
+ }[] | null;
81
+ agent: {
82
+ apiCatalog: string | null;
83
+ llmsTxt: boolean;
84
+ openapi: string | null;
85
+ } | null;
86
+ plugins: string[] | null;
87
+ }
88
+ /** What the manifest reads from config; serializable, so a production build embeds it. */
89
+ interface FarmAppManifestInput {
90
+ renderer: string;
91
+ basePath: string;
92
+ /** The build's ID, or "development". */
93
+ build: string;
94
+ packages: Record<string, string>;
95
+ webmcp: NonNullable<FarmAppManifest["webmcp"]>;
96
+ integrations: NonNullable<FarmAppManifest["integrations"]>;
97
+ agent: NonNullable<FarmAppManifest["agent"]>;
98
+ plugins: string[];
99
+ /** Resolved `agent.manifest` options; every section is shown without them. */
100
+ sections?: ResolvedFarmAppManifestConfig;
101
+ /**
102
+ * The default read-only MCP server (`agent.mcp`) while the app would serve it. Set by the
103
+ * server at runtime, not serialized: it answers only while no other MCP server is listed.
104
+ */
105
+ defaultMCP?: () => {
106
+ name: string;
107
+ version: string;
108
+ path: string;
109
+ } | undefined;
110
+ /**
111
+ * Whether a guard written for a path (middleware, an integration's `protectedRoutes`)
112
+ * covers an MCP server's endpoint. Set by the server at runtime: such a server is listed
113
+ * as requiring authorization, without its tools, resources or prompts.
114
+ */
115
+ guardCoversPath?: (path: string) => boolean;
116
+ }
117
+ /** Answers `/.well-known/farmjs.json`: the same public document for every request. */
118
+ declare function createFarmAppManifestResponse(request: Request, input: FarmAppManifestInput): Promise<Response>;
119
+
120
+ export { type FarmAppManifest as F, type FarmAppManifestServer as a, type FarmAppManifestTool as b, createFarmAppManifestResponse as c };
@@ -1,5 +1,5 @@
1
- import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-CkYwvDJ0.mjs';
2
- export { ar as FARM_MARKDOWN_CONTENT_TYPE, ap as FarmMdxComponent, aq as FarmMdxUserConfig, as as createFarmMarkdownErrorBody, at as farmRequestWantsMarkdown, an as resolveFarmMdxComponentsModulePath, ao as resolveMdxConfig } from './client-plugins-CkYwvDJ0.mjs';
1
+ import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-C9Py_50W.mjs';
2
+ export { ar as FARM_MARKDOWN_CONTENT_TYPE, ap as FarmMdxComponent, aq as FarmMdxUserConfig, as as createFarmMarkdownErrorBody, at as farmRequestWantsMarkdown, an as resolveFarmMdxComponentsModulePath, ao as resolveMdxConfig } from './client-plugins-C9Py_50W.mjs';
3
3
  export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageModuleInput, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown } from './internal/app-markdown-runtime.mjs';
4
4
  import './lifecycle-DK06VuKP.mjs';
5
5
  import './integration-api-DWyMmvrR.mjs';
@@ -1,5 +1,5 @@
1
- import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-DfeKd0sD.js';
2
- export { ar as FARM_MARKDOWN_CONTENT_TYPE, ap as FarmMdxComponent, aq as FarmMdxUserConfig, as as createFarmMarkdownErrorBody, at as farmRequestWantsMarkdown, an as resolveFarmMdxComponentsModulePath, ao as resolveMdxConfig } from './client-plugins-DfeKd0sD.js';
1
+ import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-DIem0I0W.js';
2
+ export { ar as FARM_MARKDOWN_CONTENT_TYPE, ap as FarmMdxComponent, aq as FarmMdxUserConfig, as as createFarmMarkdownErrorBody, at as farmRequestWantsMarkdown, an as resolveFarmMdxComponentsModulePath, ao as resolveMdxConfig } from './client-plugins-DIem0I0W.js';
3
3
  export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageModuleInput, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown } from './internal/app-markdown-runtime.js';
4
4
  import './lifecycle-DK06VuKP.js';
5
5
  import './integration-api-BuPHMeKz.js';
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-2VQKKQ6D.mjs";
12
12
  import {
13
13
  resolveDocsConfig
14
- } from "./chunk-ENOBPDKZ.mjs";
14
+ } from "./chunk-NU25TRIO.mjs";
15
15
  import {
16
16
  getFarmDocsAdapterConfigModule,
17
17
  isSecretDocsConfigKey
@@ -11,13 +11,13 @@ import {
11
11
  import {
12
12
  generateNativeMCPPluginSource,
13
13
  layoutsCanCoverSamePage
14
- } from "./chunk-4C7KTKX7.mjs";
14
+ } from "./chunk-IVQY6UTY.mjs";
15
15
  import {
16
16
  assertFarmDocsAdapterServesNoGuardedPages,
17
17
  compileFarmDocsAdapterEdgeManifest,
18
18
  createFarmDocsAPIHandler,
19
19
  hasFarmDocsRuntimeAdapter
20
- } from "./chunk-PYHPXPSW.mjs";
20
+ } from "./chunk-2JZHQDUY.mjs";
21
21
  import {
22
22
  FARM_DOCS_LAST_MODIFIED_MANIFEST,
23
23
  createFarmDocsHandler,
@@ -45,7 +45,7 @@ import {
45
45
  getDeployTargetForPreset,
46
46
  hasCustomFarmRouteContext,
47
47
  resolveDeployOutputPath
48
- } from "./chunk-ENOBPDKZ.mjs";
48
+ } from "./chunk-NU25TRIO.mjs";
49
49
  import {
50
50
  resolveFarmInstrumentationFile
51
51
  } from "./chunk-ZZSRYEYU.mjs";
@@ -83,7 +83,7 @@ import {
83
83
  resolveFarmIsolatedClientHydrationMode,
84
84
  resolveFarmNotFoundComponentPath,
85
85
  usesFarmServerTree
86
- } from "./chunk-FJGIVDA5.mjs";
86
+ } from "./chunk-QTEJGB5A.mjs";
87
87
  import {
88
88
  PluginManager
89
89
  } from "./chunk-FGH3ZXTP.mjs";
@@ -107,7 +107,7 @@ import {
107
107
  resolveFarmAppManifestInput,
108
108
  routeBoundaryCoversDirectory,
109
109
  stripRouteGroups
110
- } from "./chunk-SVPGWJZF.mjs";
110
+ } from "./chunk-PIZXONIS.mjs";
111
111
  import {
112
112
  FARM_DEFAULT_MCP_PATH,
113
113
  createFarmDefaultMCPServer,
@@ -214,7 +214,7 @@ import {
214
214
  } from "./chunk-BTHHUD7Q.mjs";
215
215
  import {
216
216
  FARM_VERSION
217
- } from "./chunk-VLPII2JJ.mjs";
217
+ } from "./chunk-U2UC7UGP.mjs";
218
218
  import {
219
219
  getFarmPresetRuntime
220
220
  } from "./chunk-2A3EQHXX.mjs";
@@ -8502,7 +8502,7 @@ ${hasServerRuntimeIntegrations ? `
8502
8502
  ` : ""}
8503
8503
  ${config.agent?.manifest !== false ? `
8504
8504
  // agent.manifest: /.well-known/farmjs.json (and 0.1.34's /.well-known/farmjs), the app's
8505
- // public manifest; Farm Infra's signed request gets the full view.
8505
+ // public manifest, the same document for every request.
8506
8506
  if (
8507
8507
  [${JSON.stringify(FARM_APP_MANIFEST_PATH)}, ${JSON.stringify(FARM_APP_MANIFEST_LEGACY_PATH)}].includes(
8508
8508
  normalizeRuntimePath(routePathname),