@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.
- package/dist/{agent-mcp-D0eZKfci.d.ts → agent-mcp-SSD6L3VZ.d.ts} +1 -1
- package/dist/{agent-mcp-BOqIxJLI.d.mts → agent-mcp-ssVy_tea.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/{app-CzTSMJaf.d.mts → app-1h3lVT4a.d.mts} +4 -4
- package/dist/{app-DM8e1z3G.d.ts → app-KjFzdCqy.d.ts} +4 -4
- package/dist/app-manifest-D3RkVNuS.d.mts +120 -0
- package/dist/app-manifest-DaW8-tvX.d.ts +120 -0
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{chunk-PYHPXPSW.mjs → chunk-2JZHQDUY.mjs} +1 -1
- package/dist/{chunk-R65GCA6A.mjs → chunk-375K2ZVU.mjs} +7 -7
- package/dist/{chunk-L6HYACBE.cjs → chunk-7YHSD3Z6.cjs} +77 -113
- package/dist/{chunk-EH3464KF.cjs → chunk-AHFRQMRX.cjs} +1 -1
- package/dist/{chunk-EX4MKHXN.cjs → chunk-BXJ5HJTJ.cjs} +7 -6
- package/dist/{chunk-BYQVROIP.mjs → chunk-DMRPN25V.mjs} +69 -0
- package/dist/{chunk-4C7KTKX7.mjs → chunk-IVQY6UTY.mjs} +1 -1
- package/dist/{chunk-3TB5QGUW.cjs → chunk-JAXDRRRC.cjs} +70 -1
- package/dist/{chunk-32TZ3QTP.cjs → chunk-JG3MEQUH.cjs} +85 -85
- package/dist/{chunk-ENOBPDKZ.mjs → chunk-NU25TRIO.mjs} +3 -2
- package/dist/{chunk-SVPGWJZF.mjs → chunk-PIZXONIS.mjs} +71 -107
- package/dist/{chunk-JOTUZIM4.cjs → chunk-QKZMB7LY.cjs} +2 -2
- package/dist/{chunk-FJGIVDA5.mjs → chunk-QTEJGB5A.mjs} +3 -3
- package/dist/{chunk-OQ4YXWH4.cjs → chunk-TCJ4A4A2.cjs} +57 -62
- package/dist/{chunk-BGGWKZ2V.mjs → chunk-TUL355PH.mjs} +6 -11
- package/dist/{chunk-VLPII2JJ.mjs → chunk-U2UC7UGP.mjs} +1 -1
- package/dist/{chunk-ROQ4C4LJ.cjs → chunk-ZATTDMBW.cjs} +48 -48
- package/dist/{chunk-PN676AZF.cjs → chunk-ZS6HDNOM.cjs} +6 -6
- package/dist/{client-plugins-CkYwvDJ0.d.mts → client-plugins-C9Py_50W.d.mts} +78 -6
- package/dist/{client-plugins-DfeKd0sD.d.ts → client-plugins-DIem0I0W.d.ts} +78 -6
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-2YHAJYH6.cjs → devtools-2RY3EKHL.cjs} +3 -3
- package/dist/{devtools-N3QLRIQU.mjs → devtools-Q3LBNUJ7.mjs} +2 -2
- package/dist/docs.cjs +4 -4
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.d.mts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.mjs +8 -8
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +9 -9
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +8 -8
- package/dist/internal/cli-runtime.cjs +3 -3
- package/dist/internal/cli-runtime.mjs +2 -2
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +3 -3
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +5 -5
- package/dist/internal/production-runtime.d.mts +10 -127
- package/dist/internal/production-runtime.d.ts +10 -127
- package/dist/internal/production-runtime.mjs +4 -4
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +3 -3
- package/dist/middleware.d.ts +3 -3
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +6 -6
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +5 -5
- package/dist/{production-runtime-BTkXQdYy.d.mts → production-runtime-CHFKIgpW.d.mts} +1 -1
- package/dist/{production-runtime-DFC7pgbp.d.ts → production-runtime-bjjWq-DA.d.ts} +1 -1
- package/dist/{render-plan-BoAK9xFC.d.ts → render-plan-B2UndB4x.d.ts} +1 -1
- package/dist/{render-plan-5rFeWmk7.d.mts → render-plan-DOHg6wdO.d.mts} +1 -1
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/{request-BxBWigtl.d.mts → request-DQcGfdgQ.d.mts} +1 -1
- package/dist/{request-fciwmd3n.d.ts → request-DVNXRQrI.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering-BLZT0IP0.d.ts → route-rendering-B_6fj-GG.d.ts} +1 -1
- package/dist/{route-rendering-BCM1QzEf.d.mts → route-rendering-CEX4mFn-.d.mts} +1 -1
- package/dist/{router-CkheNX3-.d.ts → router-CHEMHm1P.d.ts} +1 -1
- package/dist/{router-DyZJWc1_.d.mts → router-CKHPBKXX.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{runtime-DfU4sKa5.d.ts → runtime-Br2ZDTAv.d.ts} +1 -1
- package/dist/{runtime-wexvUN5J.d.mts → runtime-jj8TKNsy.d.mts} +1 -1
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server.cjs +22 -22
- package/dist/server.d.mts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.mjs +6 -6
- package/dist/{spa-router-DgsMXqfX.d.mts → spa-router-BEvS9Erj.d.mts} +2 -2
- package/dist/{spa-router-CcejECnG.d.ts → spa-router-DmCuH5B7.d.ts} +2 -2
- package/dist/{ssg-Bg4bMMhM.d.mts → ssg-57v6cZcW.d.mts} +2 -2
- package/dist/{ssg-1FGaFISl.d.ts → ssg-gT093ETk.d.ts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{utils-Dxbh6Hgj.d.ts → utils-CCTKvR-P.d.ts} +1 -1
- package/dist/{utils-8wtTYiH4.d.mts → utils-raHHQVyL.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.mts +4 -4
- package/dist/vite.d.ts +4 -4
- package/dist/vite.mjs +5 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as Metadata,
|
|
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,
|
|
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 {
|
package/dist/agent-runtime.d.mts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/agent-runtime.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-
|
|
3
|
-
import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-
|
|
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-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime-
|
|
3
|
-
import { F as FarmRouteRuntimeConfig, a as FarmPlugin } from '../client-plugins-
|
|
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';
|
package/dist/api/runtime.d.mts
CHANGED
|
@@ -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-
|
|
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 {
|
|
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';
|
package/dist/api/runtime.d.ts
CHANGED
|
@@ -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-
|
|
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 {
|
|
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 {
|
|
5
|
-
export {
|
|
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-
|
|
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 {
|
|
5
|
-
export {
|
|
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-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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 };
|
package/dist/app-markdown.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-
|
|
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-
|
|
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';
|
package/dist/app-markdown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { al as FarmMdxComponents, am as FarmMdxResolvedConfig, ak as RouteModule } from './client-plugins-
|
|
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-
|
|
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,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
generateNativeMCPPluginSource,
|
|
13
13
|
layoutsCanCoverSamePage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IVQY6UTY.mjs";
|
|
15
15
|
import {
|
|
16
16
|
assertFarmDocsAdapterServesNoGuardedPages,
|
|
17
17
|
compileFarmDocsAdapterEdgeManifest,
|
|
18
18
|
createFarmDocsAPIHandler,
|
|
19
19
|
hasFarmDocsRuntimeAdapter
|
|
20
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
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),
|