@farm.js/core 0.1.70 → 0.1.71
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-handler-6T2Z7TB6.cjs → agent-mcp-handler-KE4J3W7S.cjs} +3 -3
- package/dist/{agent-mcp-handler-CPU354QQ.mjs → agent-mcp-handler-VIT4GOSR.mjs} +2 -2
- package/dist/{agent-mcp.d-DulgFLBt.d.ts → agent-mcp.d-BzNw6JI8.d.ts} +14 -4
- package/dist/{agent-mcp.d-TAs1ES2F.d.mts → agent-mcp.d-CgFen3EH.d.mts} +14 -4
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-LPIVRSTJ.cjs +16 -0
- package/dist/{analyzer-QGRBLETM.mjs → analyzer-VK3BAOFI.mjs} +2 -2
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- 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 +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/{app-manifest.d-C-nf3Vmm.d.ts → app-manifest.d-DY4JfJxi.d.ts} +1 -1
- package/dist/{app-manifest.d-6zXb90o6.d.mts → app-manifest.d-DpDK_B1k.d.mts} +1 -1
- package/dist/app-markdown.cjs +5 -3
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +4 -2
- package/dist/{app.d-C2xeMIYT.d.ts → app.d-BeK6bb1c.d.ts} +8 -6
- package/dist/{app.d-DF0aundc.d.mts → app.d-D-5UNrFd.d.mts} +8 -6
- package/dist/{chunk-HAXFV2CD.mjs → chunk-2CQC5CMD.mjs} +1 -1
- package/dist/{chunk-IEN2EFE5.cjs → chunk-2IFT2CSA.cjs} +4 -4
- package/dist/{chunk-BPUVDCGG.cjs → chunk-3BQ7QHUH.cjs} +3 -3
- package/dist/{chunk-JFVT5ZZV.mjs → chunk-4OD2LXF2.mjs} +1 -1
- package/dist/{chunk-CCHJWJGP.mjs → chunk-7BUE2GM6.mjs} +141 -86
- package/dist/{chunk-FJ5YCERM.cjs → chunk-7OHJWFLB.cjs} +387 -331
- package/dist/{chunk-5R3JQPWD.mjs → chunk-AYVGD3PK.mjs} +1 -1
- package/dist/{chunk-K7JMTAFH.cjs → chunk-CSQPMV3Q.cjs} +16 -6
- package/dist/{chunk-N62IYXYD.mjs → chunk-DPIGYXSV.mjs} +1 -1
- package/dist/{chunk-LECZ5DPZ.cjs → chunk-DPYBVVL3.cjs} +2 -2
- package/dist/{chunk-RMOU3PR4.mjs → chunk-GUU3IZSM.mjs} +63 -23
- package/dist/{chunk-EDZU7YRK.mjs → chunk-IGXS54GC.mjs} +2 -2
- package/dist/{chunk-3WS5AZ3R.mjs → chunk-IYDJNCR7.mjs} +1 -1
- package/dist/{chunk-R7254L3R.mjs → chunk-J5ASGNKF.mjs} +23 -0
- package/dist/{chunk-75E5FDX2.mjs → chunk-JMFTKNBA.mjs} +10 -10
- package/dist/{chunk-DIHBWZDZ.cjs → chunk-JVA4PIYN.cjs} +408 -294
- package/dist/{chunk-XYVPTTUT.cjs → chunk-KEB7AGS6.cjs} +4 -4
- package/dist/{chunk-TLSSIYAL.mjs → chunk-KQAB5LML.mjs} +10 -3
- package/dist/{chunk-M6U6E4F7.cjs → chunk-KWST2O22.cjs} +108 -68
- package/dist/{chunk-NSZY3EWG.cjs → chunk-L6E4SHUB.cjs} +31 -8
- package/dist/{chunk-MZLJFNMH.cjs → chunk-MEJCP2LX.cjs} +1 -1
- package/dist/{chunk-A2TH5MKE.mjs → chunk-MITIAOUQ.mjs} +3 -3
- package/dist/{chunk-OCNV4CI2.cjs → chunk-MQ4DYVFS.cjs} +26 -0
- package/dist/{chunk-4AC4PXZO.cjs → chunk-N3XO5AL5.cjs} +2 -2
- package/dist/{chunk-R2ZHU37O.mjs → chunk-NLRAQXAA.mjs} +26 -0
- package/dist/{chunk-32SYRIQ7.cjs → chunk-PLXD2MJV.cjs} +3 -3
- package/dist/{chunk-JFPKARWM.cjs → chunk-PMU4U2W2.cjs} +1 -0
- package/dist/{chunk-3EXCZJEN.mjs → chunk-QUFENL7Q.mjs} +1 -1
- package/dist/{chunk-NYF7A4UW.mjs → chunk-RJUCNO7R.mjs} +1 -1
- package/dist/{chunk-K4UGCUXX.cjs → chunk-SXMWVP2L.cjs} +7 -7
- package/dist/{chunk-VG6HYT5K.cjs → chunk-TP4RAV7Y.cjs} +9 -9
- package/dist/{chunk-I7NUT24Z.cjs → chunk-UISZLYKY.cjs} +2 -2
- package/dist/{chunk-KPMLDT3B.mjs → chunk-UQUOSNRN.mjs} +378 -264
- package/dist/{chunk-QZHTDVH4.mjs → chunk-V25GSH43.mjs} +1 -1
- package/dist/{chunk-65FPDDT4.cjs → chunk-VXB5CMNC.cjs} +2 -2
- package/dist/{chunk-5IJRJWJS.mjs → chunk-W2T6NDNP.mjs} +10 -0
- package/dist/{chunk-JRF2SKCD.mjs → chunk-X7LGLF33.mjs} +1 -1
- package/dist/{chunk-QEWWKYDL.cjs → chunk-YCNHUIPR.cjs} +17 -10
- package/dist/{chunk-PJQ5W356.mjs → chunk-Z5ZZAGIH.mjs} +1 -0
- package/dist/{chunk-A7HCBHMC.cjs → chunk-ZPUAOKHV.cjs} +3 -3
- package/dist/{client-component.d-Bk5qKJM-.d.mts → client-component.d-DwpH251K.d.mts} +2 -2
- package/dist/{client-component.d-DNbC4oWI.d.ts → client-component.d-fYupugbZ.d.ts} +2 -2
- package/dist/{client-plugins.d-DwUqh4gp.d.ts → client-plugins.d-BxqFfHpM.d.ts} +8 -5
- package/dist/{client-plugins.d-Pi9nG0W0.d.mts → client-plugins.d-k3bOT5gz.d.mts} +8 -5
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/{devtools-CB43AHEP.mjs → devtools-6MXPFPNJ.mjs} +2 -2
- package/dist/{devtools-L5DUNDF3.cjs → devtools-O5625KCK.cjs} +3 -3
- 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/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/{headers.d-CE6OWB-n.d.ts → headers.d-DalIGbVO.d.ts} +1 -1
- package/dist/{headers.d-DED1hHh4.d.mts → headers.d-sNT7ZQiU.d.mts} +1 -1
- package/dist/index.cjs +20 -18
- package/dist/{index.d-c9UwIqDy.d.ts → index.d-BcA-secm.d.ts} +1 -1
- package/dist/{index.d-CbvOjJcp.d.mts → index.d-DDHHAv7j.d.mts} +1 -1
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.mjs +19 -17
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.cjs +4 -2
- package/dist/internal/app-markdown-runtime.d.mts +11 -3
- package/dist/internal/app-markdown-runtime.d.ts +11 -3
- package/dist/internal/app-markdown-runtime.mjs +3 -1
- package/dist/internal/build-runtime.cjs +19 -19
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +18 -18
- package/dist/internal/cli-runtime.cjs +6 -4
- package/dist/internal/cli-runtime.mjs +5 -3
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +4 -4
- package/dist/internal/client-runtime.d.ts +4 -4
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +4 -4
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +3 -3
- package/dist/internal/infra-analytics-runtime.cjs +7 -7
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +6 -6
- package/dist/internal/production-runtime.d.mts +14 -9
- package/dist/internal/production-runtime.d.ts +14 -9
- package/dist/internal/production-runtime.mjs +5 -5
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/{mount.d-BvWxf8ZE.d.mts → mount.d-C1PONsEe.d.mts} +1 -1
- package/dist/{mount.d-DngLY7NL.d.ts → mount.d-D3JOux2V.d.ts} +1 -1
- package/dist/{navigation-delegate.d-CMyl1h2l.d.mts → navigation-delegate.d-CJQQHboA.d.mts} +1 -1
- package/dist/{navigation-delegate.d-zZogiDfa.d.ts → navigation-delegate.d-CQQPbdkE.d.ts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/{nitro-Y3LGITW3.cjs → nitro-2LMOMIST.cjs} +2 -2
- package/dist/{nitro-NSTXT7LB.mjs → nitro-72TFIGGO.mjs} +1 -1
- package/dist/{plugin-F2O4BFTK.cjs → plugin-5PIQQVRP.cjs} +2 -2
- package/dist/{plugin-VEBRN7A3.mjs → plugin-QZT747YW.mjs} +1 -1
- package/dist/plugin.cjs +13 -13
- package/dist/plugin.d.mts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin.mjs +12 -12
- package/dist/{render-plan.d-Di1znBDW.d.mts → render-plan.d-CiUj0rq5.d.mts} +1 -1
- package/dist/{render-plan.d-DQj2bzd2.d.ts → render-plan.d-DHuJMJRP.d.ts} +1 -1
- package/dist/renderer-client.d.mts +4 -4
- package/dist/renderer-client.d.ts +4 -4
- package/dist/{request.d-CJWzfDYJ.d.mts → request.d-D-F7o7tb.d.mts} +1 -1
- package/dist/{request.d-C5vyoYeL.d.ts → request.d-DRUbOmYD.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-C-et2TZ1.d.mts → route-rendering.d-6smgwT2t.d.mts} +1 -1
- package/dist/{route-rendering.d-DhsY5M2I.d.ts → route-rendering.d-KwqM_mlK.d.ts} +1 -1
- package/dist/{router.d-CJB-Ntni.d.ts → router.d-B6sesMRD.d.ts} +1 -1
- package/dist/{router.d-BMDS5s5X.d.mts → router.d-BYmDeDlp.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{rsc-pipeline-NJKLZ3YE.cjs → rsc-pipeline-P4PCWDO2.cjs} +4 -4
- package/dist/{rsc-pipeline-AXQJCCHI.mjs → rsc-pipeline-R2GOKIMU.mjs} +3 -3
- package/dist/{runtime-JXNEKOSE.mjs → runtime-DP5DYGW5.mjs} +3 -3
- package/dist/{runtime-DMW6DDOI.cjs → runtime-WA2Q4SLG.cjs} +5 -5
- package/dist/{runtime.d-BonodRI9.d.mts → runtime.d-BFSJf-ww.d.mts} +1 -1
- package/dist/{runtime.d-uw4123iI.d.ts → runtime.d-CbdMI0Oy.d.ts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +33 -33
- package/dist/server.d.mts +10 -10
- package/dist/server.d.ts +10 -10
- package/dist/server.mjs +15 -15
- package/dist/{spa-router.d-rha3M95y.d.mts → spa-router.d-D4EDwR20.d.mts} +2 -2
- package/dist/{spa-router.d-l0d9pPZj.d.ts → spa-router.d-mC1D5cTN.d.ts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{utils.d-BK-PTOF8.d.ts → utils.d-A2X3a6z_.d.ts} +1 -1
- package/dist/{utils.d-BzuTobEc.d.mts → utils.d-DxMzteqE.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +13 -13
- package/dist/vite.d.mts +7 -5
- package/dist/vite.d.ts +7 -5
- package/dist/vite.mjs +12 -12
- package/package.json +2 -2
- package/dist/analyzer-GUIRJWZH.cjs +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkYCNHUIPRcjs = require('./chunk-YCNHUIPR.cjs');
|
|
4
|
+
require('./chunk-TP4RAV7Y.cjs');
|
|
5
5
|
require('./chunk-O32QPFVV.cjs');
|
|
6
6
|
require('./chunk-C2JOS77Z.cjs');
|
|
7
7
|
require('./chunk-LRB5OVRT.cjs');
|
|
@@ -18,4 +18,4 @@ require('./chunk-YTVSWXEZ.cjs');
|
|
|
18
18
|
require('./chunk-BTZ5O6VM.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.handleFarmDefaultMCPRequest =
|
|
21
|
+
exports.handleFarmDefaultMCPRequest = _chunkYCNHUIPRcjs.handleFarmDefaultMCPRequest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleFarmDefaultMCPRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KQAB5LML.mjs";
|
|
4
|
+
import "./chunk-JMFTKNBA.mjs";
|
|
5
5
|
import "./chunk-Z3GPAFIA.mjs";
|
|
6
6
|
import "./chunk-KPJYBSHL.mjs";
|
|
7
7
|
import "./chunk-C7GJDVN4.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata, aO as FarmAgentJsonLd, aP as FarmMCPServerRegistration, aQ as FarmMarkdownResolvedConfig } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata, aO as FarmAgentJsonLd, aP as FarmMCPServerRegistration, aQ as FarmMarkdownResolvedConfig } from './client-plugins.d-BxqFfHpM.js';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-BxOZ2YWc.js';
|
|
3
3
|
|
|
4
4
|
type MetadataImageKind = "opengraph" | "twitter";
|
|
@@ -74,10 +74,16 @@ interface FarmDefaultMCPPage {
|
|
|
74
74
|
/** The page's route path, such as `/about`. */
|
|
75
75
|
path: string;
|
|
76
76
|
title: string;
|
|
77
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* The page's absolute URL: the one it answers at, without a redirect, on the root layout's
|
|
79
|
+
* `metadataBase` when it has one, as the sitemap and llms.txt link it.
|
|
80
|
+
*/
|
|
78
81
|
url: string;
|
|
79
82
|
description?: string;
|
|
80
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* The absolute URL of the page's Markdown mirror, which `read_page` reads: on the origin the
|
|
85
|
+
* request reached, so a read stays on this server whatever `metadataBase` names.
|
|
86
|
+
*/
|
|
81
87
|
markdownUrl: string;
|
|
82
88
|
}
|
|
83
89
|
interface FarmDefaultMCPPageSource {
|
|
@@ -93,10 +99,14 @@ type FarmDefaultMCPI18n = FarmLocalePathConfig & {
|
|
|
93
99
|
* The pages the default server lists and reads: static pages with a Markdown mirror,
|
|
94
100
|
* leaving out pages whose metadata says noindex and pages behind a route `guard`, as the
|
|
95
101
|
* generated sitemap does. Each URL is the one the page answers at, so none redirects: below
|
|
96
|
-
* the base path, in the default locale with i18n, and spelled as `trailingSlash` says.
|
|
102
|
+
* the base path, in the default locale with i18n, and spelled as `trailingSlash` says. URLs
|
|
103
|
+
* use the root layout's `metadataBase`, else the request's origin, as the sitemap does.
|
|
97
104
|
*/
|
|
98
105
|
declare function collectFarmDefaultMCPPages(sources: Iterable<FarmDefaultMCPPageSource>, options: {
|
|
106
|
+
/** The origin the request reached, which `read_page` reads mirrors from. */
|
|
99
107
|
origin: string;
|
|
108
|
+
/** The root layout's `metadataBase`: page URLs use its origin when it is absolute http(s). */
|
|
109
|
+
metadataBase?: unknown;
|
|
100
110
|
basePath?: string;
|
|
101
111
|
markdown?: FarmMarkdownResolvedConfig;
|
|
102
112
|
/** The app's `trailingSlash`: pages answer at `/about/`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata, aO as FarmAgentJsonLd, aP as FarmMCPServerRegistration, aQ as FarmMarkdownResolvedConfig } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata, aO as FarmAgentJsonLd, aP as FarmMCPServerRegistration, aQ as FarmMarkdownResolvedConfig } from './client-plugins.d-k3bOT5gz.mjs';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-DwSUVZbF.mjs';
|
|
3
3
|
|
|
4
4
|
type MetadataImageKind = "opengraph" | "twitter";
|
|
@@ -74,10 +74,16 @@ interface FarmDefaultMCPPage {
|
|
|
74
74
|
/** The page's route path, such as `/about`. */
|
|
75
75
|
path: string;
|
|
76
76
|
title: string;
|
|
77
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* The page's absolute URL: the one it answers at, without a redirect, on the root layout's
|
|
79
|
+
* `metadataBase` when it has one, as the sitemap and llms.txt link it.
|
|
80
|
+
*/
|
|
78
81
|
url: string;
|
|
79
82
|
description?: string;
|
|
80
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* The absolute URL of the page's Markdown mirror, which `read_page` reads: on the origin the
|
|
85
|
+
* request reached, so a read stays on this server whatever `metadataBase` names.
|
|
86
|
+
*/
|
|
81
87
|
markdownUrl: string;
|
|
82
88
|
}
|
|
83
89
|
interface FarmDefaultMCPPageSource {
|
|
@@ -93,10 +99,14 @@ type FarmDefaultMCPI18n = FarmLocalePathConfig & {
|
|
|
93
99
|
* The pages the default server lists and reads: static pages with a Markdown mirror,
|
|
94
100
|
* leaving out pages whose metadata says noindex and pages behind a route `guard`, as the
|
|
95
101
|
* generated sitemap does. Each URL is the one the page answers at, so none redirects: below
|
|
96
|
-
* the base path, in the default locale with i18n, and spelled as `trailingSlash` says.
|
|
102
|
+
* the base path, in the default locale with i18n, and spelled as `trailingSlash` says. URLs
|
|
103
|
+
* use the root layout's `metadataBase`, else the request's origin, as the sitemap does.
|
|
97
104
|
*/
|
|
98
105
|
declare function collectFarmDefaultMCPPages(sources: Iterable<FarmDefaultMCPPageSource>, options: {
|
|
106
|
+
/** The origin the request reached, which `read_page` reads mirrors from. */
|
|
99
107
|
origin: string;
|
|
108
|
+
/** The root layout's `metadataBase`: page URLs use its origin when it is absolute http(s). */
|
|
109
|
+
metadataBase?: unknown;
|
|
100
110
|
basePath?: string;
|
|
101
111
|
markdown?: FarmMarkdownResolvedConfig;
|
|
102
112
|
/** The app's `trailingSlash`: pages answer at `/about/`. */
|
package/dist/agent-runtime.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChildProcess } from 'node:child_process';
|
|
2
|
-
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-
|
|
2
|
+
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-k3bOT5gz.mjs';
|
|
3
3
|
import './lifecycle.d-keQs5Swc.mjs';
|
|
4
4
|
import './route.d-DrXkpvcg.mjs';
|
|
5
5
|
import './endpoint.d-BkMSCRf6.mjs';
|
package/dist/agent-runtime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChildProcess } from 'node:child_process';
|
|
2
|
-
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-
|
|
2
|
+
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-BxqFfHpM.js';
|
|
3
3
|
import './lifecycle.d-keQs5Swc.js';
|
|
4
4
|
import './route.d-hs-_cyHn.js';
|
|
5
5
|
import './endpoint.d-BgHn0lhl.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkVXB5CMNCcjs = require('./chunk-VXB5CMNC.cjs');
|
|
7
|
+
require('./chunk-WBTHHTBO.cjs');
|
|
8
|
+
require('./chunk-CCAUIBIS.cjs');
|
|
9
|
+
require('./chunk-MEJCP2LX.cjs');
|
|
10
|
+
require('./chunk-BTZ5O6VM.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.CORE_PORTABLE = _chunkVXB5CMNCcjs.CORE_PORTABLE; exports.analyzeFarmMobileRoutes = _chunkVXB5CMNCcjs.analyzeFarmMobileRoutes; exports.readAliases = _chunkVXB5CMNCcjs.readAliases; exports.resolveFile = _chunkVXB5CMNCcjs.resolveFile;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
analyzeFarmMobileRoutes,
|
|
4
4
|
readAliases,
|
|
5
5
|
resolveFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DPIGYXSV.mjs";
|
|
7
7
|
import "./chunk-IOEXXZK3.mjs";
|
|
8
8
|
import "./chunk-423SSBYQ.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RJUCNO7R.mjs";
|
|
10
10
|
import "./chunk-Y6FXYEAI.mjs";
|
|
11
11
|
export {
|
|
12
12
|
CORE_PORTABLE,
|
package/dist/api/node.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
-
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-
|
|
2
|
+
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-C1PONsEe.mjs';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-BFSJf-ww.mjs';
|
|
5
5
|
import '../endpoint.d-BkMSCRf6.mjs';
|
|
6
6
|
import '../cache.mjs';
|
|
7
7
|
import '../route.d-DrXkpvcg.mjs';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-k3bOT5gz.mjs';
|
|
9
9
|
import '../lifecycle.d-keQs5Swc.mjs';
|
|
10
10
|
import '../renderer.mjs';
|
|
11
11
|
import '../deployment.mjs';
|
package/dist/api/node.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
-
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-
|
|
2
|
+
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-D3JOux2V.js';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-CbdMI0Oy.js';
|
|
5
5
|
import '../endpoint.d-BgHn0lhl.js';
|
|
6
6
|
import '../cache.js';
|
|
7
7
|
import '../route.d-hs-_cyHn.js';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-BxqFfHpM.js';
|
|
9
9
|
import '../lifecycle.d-keQs5Swc.js';
|
|
10
10
|
import '../renderer.js';
|
|
11
11
|
import '../deployment.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PluginAPIDispatch } from '../runtime.d-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
3
|
-
import { f as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-BFSJf-ww.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.d-BFSJf-ww.mjs';
|
|
3
|
+
import { f as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-k3bOT5gz.mjs';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-wVRlLtBf.mjs';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-nUz0HAL4.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PluginAPIDispatch } from '../runtime.d-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
3
|
-
import { f as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-CbdMI0Oy.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.d-CbdMI0Oy.js';
|
|
3
|
+
import { f as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-BxqFfHpM.js';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-wVRlLtBf.js';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-B_uPfMjA.js';
|
package/dist/api/runtime.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-BkMSCRf6.mjs';
|
|
2
|
-
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
2
|
+
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-BFSJf-ww.mjs';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
export { aK as FarmMCPCatalogDetails, aP as FarmMCPServerRegistration, bq as _findFarmMCPEndpointTool, br as _publishFarmMCPCatalog, bs as registerFarmMCPServer } from '../client-plugins.d-
|
|
4
|
+
export { aK as FarmMCPCatalogDetails, aP as FarmMCPServerRegistration, bq as _findFarmMCPEndpointTool, br as _publishFarmMCPCatalog, bs as registerFarmMCPServer } from '../client-plugins.d-k3bOT5gz.mjs';
|
|
5
5
|
import '../cache.mjs';
|
|
6
6
|
import '../route.d-DrXkpvcg.mjs';
|
|
7
7
|
import '../lifecycle.d-keQs5Swc.mjs';
|
package/dist/api/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-BgHn0lhl.js';
|
|
2
|
-
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
2
|
+
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-CbdMI0Oy.js';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
export { aK as FarmMCPCatalogDetails, aP as FarmMCPServerRegistration, bq as _findFarmMCPEndpointTool, br as _publishFarmMCPCatalog, bs as registerFarmMCPServer } from '../client-plugins.d-
|
|
4
|
+
export { aK as FarmMCPCatalogDetails, aP as FarmMCPServerRegistration, bq as _findFarmMCPEndpointTool, br as _publishFarmMCPCatalog, bs as registerFarmMCPServer } from '../client-plugins.d-BxqFfHpM.js';
|
|
5
5
|
import '../cache.js';
|
|
6
6
|
import '../route.d-hs-_cyHn.js';
|
|
7
7
|
import '../lifecycle.d-keQs5Swc.js';
|
package/dist/api.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, g as EndpointErrorContracts, h as EndpointErrorDefinition, j as EndpointErrorDefinitions, k as EndpointErrorHandler, l as EndpointErrorSchema, m as EndpointFail, f as EndpointFailure, n as EndpointHandler, o as EndpointInvalidationContext, q as EndpointInvalidationTarget, r as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, s as EndpointMiddleware, t as EndpointMiddlewareContext, c as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, u as EndpointOptions, v as EndpointParamValue, w as EndpointParams, F as FarmAPIStream, x as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, y as MultipartSchema, z as MultipartValues, O as OPTIONS, P as PATCH, B as POST, C as PUT, Q as QUERY, T as TypedEndpoint, J as TypedFormData, K as createEndpoint, i as isEndpointFailure, L as isFarmAPIStream, N as isJSONStreamResponse, S as isMultipartSchema, U as jsonStream, V as multipart, W as readJSONStream, X as toFormData } from './endpoint.d-BkMSCRf6.mjs';
|
|
2
2
|
export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.mjs';
|
|
3
3
|
export { A as APIClient, b as APIClientError, d as APIClientOptions, e as APIClientSystemError, f as APIClientWithoutIntegrationsOptions, l as APIQueryPrimitive, m as APIQueryValue, n as APIResult, o as APIRouteManifest, p as APIRouteRefMetadata, g as ApiClients, C as CacheKey, q as CacheOptions, r as CachePolicy, s as CacheScope, v as ClientOptions, F as FARM_API_ROUTE_META_SYMBOL, y as FARM_API_ROUTE_REF_SYMBOL, X as InvalidateOptions, Y as InvalidateTarget, Z as OptimisticOptions, _ as OptimisticUpdate, $ as RequestEvent, a0 as ResponseEvent, a1 as RetryAttemptContext, k as RetryOptions, R as RouteAPIClient, S as ServerAPIClient, h as ServerAPIClientOptions, i as ServerAPIClientWithoutIntegrationsOptions, a2 as StatusEvent, a3 as StatusPhase, a4 as applyServerFnOptimisticUpdates, c as createAPIClient, a as createApiClients, j as createServerAPIClient, aa as getAPIRouteRefMetadata, af as isAPIRouteRef, ag as resolveServerFnInvalidateTargets, ah as settleServerFnOptimisticUpdates } from './api-client.d-Bp35zMqR.mjs';
|
|
4
|
-
import { bv as ResolvedFarmAPIConfig } from './client-plugins.d-
|
|
5
|
-
export { bQ as DEFAULT_FARM_API_BASE_PATH, bZ as FarmAPIConfig, b_ as FarmAPIConfigResolverContext, b$ as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fe as normalizeFarmAPIBasePath, ff as normalizeFarmAPIConfig, fk as resolveFarmAPIConfig, fl as resolveFarmAPIRequestURL } from './client-plugins.d-
|
|
4
|
+
import { bv as ResolvedFarmAPIConfig } from './client-plugins.d-k3bOT5gz.mjs';
|
|
5
|
+
export { bQ as DEFAULT_FARM_API_BASE_PATH, bZ as FarmAPIConfig, b_ as FarmAPIConfigResolverContext, b$ as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fe as normalizeFarmAPIBasePath, ff as normalizeFarmAPIConfig, fk as resolveFarmAPIConfig, fl as resolveFarmAPIRequestURL } from './client-plugins.d-k3bOT5gz.mjs';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-DrXkpvcg.mjs';
|
|
8
8
|
export { n as PluginAPIRouter, P as PluginLocalAPI, i as PluginLocalAPIEndpoint, j as PluginRoutes, R as RouteDefinition, o as RouteFactory, p as RouteInputSchemas, q as RouteJSON, l as RouteMethod, r as RouteOptions, s as RoutePathParams, t as createRouteFactory, u as resolvePluginRoutes } from './route.d-DrXkpvcg.mjs';
|
|
9
|
-
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-
|
|
9
|
+
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-C1PONsEe.mjs';
|
|
10
10
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from './route-pattern.d-CVsVbq5n.mjs';
|
|
11
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-
|
|
11
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-BFSJf-ww.mjs';
|
|
12
12
|
import './cache.mjs';
|
|
13
13
|
import './types.d-wVRlLtBf.mjs';
|
|
14
14
|
import './runtime.d-nUz0HAL4.mjs';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, g as EndpointErrorContracts, h as EndpointErrorDefinition, j as EndpointErrorDefinitions, k as EndpointErrorHandler, l as EndpointErrorSchema, m as EndpointFail, f as EndpointFailure, n as EndpointHandler, o as EndpointInvalidationContext, q as EndpointInvalidationTarget, r as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, s as EndpointMiddleware, t as EndpointMiddlewareContext, c as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, u as EndpointOptions, v as EndpointParamValue, w as EndpointParams, F as FarmAPIStream, x as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, y as MultipartSchema, z as MultipartValues, O as OPTIONS, P as PATCH, B as POST, C as PUT, Q as QUERY, T as TypedEndpoint, J as TypedFormData, K as createEndpoint, i as isEndpointFailure, L as isFarmAPIStream, N as isJSONStreamResponse, S as isMultipartSchema, U as jsonStream, V as multipart, W as readJSONStream, X as toFormData } from './endpoint.d-BgHn0lhl.js';
|
|
2
2
|
export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.js';
|
|
3
3
|
export { A as APIClient, b as APIClientError, d as APIClientOptions, e as APIClientSystemError, f as APIClientWithoutIntegrationsOptions, l as APIQueryPrimitive, m as APIQueryValue, n as APIResult, o as APIRouteManifest, p as APIRouteRefMetadata, g as ApiClients, C as CacheKey, q as CacheOptions, r as CachePolicy, s as CacheScope, v as ClientOptions, F as FARM_API_ROUTE_META_SYMBOL, y as FARM_API_ROUTE_REF_SYMBOL, X as InvalidateOptions, Y as InvalidateTarget, Z as OptimisticOptions, _ as OptimisticUpdate, $ as RequestEvent, a0 as ResponseEvent, a1 as RetryAttemptContext, k as RetryOptions, R as RouteAPIClient, S as ServerAPIClient, h as ServerAPIClientOptions, i as ServerAPIClientWithoutIntegrationsOptions, a2 as StatusEvent, a3 as StatusPhase, a4 as applyServerFnOptimisticUpdates, c as createAPIClient, a as createApiClients, j as createServerAPIClient, aa as getAPIRouteRefMetadata, af as isAPIRouteRef, ag as resolveServerFnInvalidateTargets, ah as settleServerFnOptimisticUpdates } from './api-client.d-CFI_xL0V.js';
|
|
4
|
-
import { bv as ResolvedFarmAPIConfig } from './client-plugins.d-
|
|
5
|
-
export { bQ as DEFAULT_FARM_API_BASE_PATH, bZ as FarmAPIConfig, b_ as FarmAPIConfigResolverContext, b$ as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fe as normalizeFarmAPIBasePath, ff as normalizeFarmAPIConfig, fk as resolveFarmAPIConfig, fl as resolveFarmAPIRequestURL } from './client-plugins.d-
|
|
4
|
+
import { bv as ResolvedFarmAPIConfig } from './client-plugins.d-BxqFfHpM.js';
|
|
5
|
+
export { bQ as DEFAULT_FARM_API_BASE_PATH, bZ as FarmAPIConfig, b_ as FarmAPIConfigResolverContext, b$ as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fe as normalizeFarmAPIBasePath, ff as normalizeFarmAPIConfig, fk as resolveFarmAPIConfig, fl as resolveFarmAPIRequestURL } from './client-plugins.d-BxqFfHpM.js';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-hs-_cyHn.js';
|
|
8
8
|
export { n as PluginAPIRouter, P as PluginLocalAPI, i as PluginLocalAPIEndpoint, j as PluginRoutes, R as RouteDefinition, o as RouteFactory, p as RouteInputSchemas, q as RouteJSON, l as RouteMethod, r as RouteOptions, s as RoutePathParams, t as createRouteFactory, u as resolvePluginRoutes } from './route.d-hs-_cyHn.js';
|
|
9
|
-
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-
|
|
9
|
+
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-D3JOux2V.js';
|
|
10
10
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from './route-pattern.d-CVsVbq5n.js';
|
|
11
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-
|
|
11
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-CbdMI0Oy.js';
|
|
12
12
|
import './cache.js';
|
|
13
13
|
import './types.d-wVRlLtBf.js';
|
|
14
14
|
import './runtime.d-B_uPfMjA.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as FarmMCPCatalogDetails, aL as ResolvedFarmAppManifestConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmMCPCatalogDetails, aL as ResolvedFarmAppManifestConfig } from './client-plugins.d-BxqFfHpM.js';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as FarmMCPCatalogDetails, aL as ResolvedFarmAppManifestConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmMCPCatalogDetails, aL as ResolvedFarmAppManifestConfig } from './client-plugins.d-k3bOT5gz.mjs';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
package/dist/app-markdown.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkN3XO5AL5cjs = require('./chunk-N3XO5AL5.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,8 @@ var _chunk4AC4PXZOcjs = require('./chunk-4AC4PXZO.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
var _chunkL6E4SHUBcjs = require('./chunk-L6E4SHUB.cjs');
|
|
16
17
|
require('./chunk-UNJZGVPU.cjs');
|
|
17
18
|
|
|
18
19
|
|
|
@@ -50,4 +51,5 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
50
51
|
|
|
51
52
|
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
|
|
55
|
+
exports.FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS = _chunkL6E4SHUBcjs.FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS; exports.FARM_MARKDOWN_CONTENT_TYPE = _chunkC2JOS77Zcjs.FARM_MARKDOWN_CONTENT_TYPE; exports.createFarmMarkdownErrorBody = _chunkC2JOS77Zcjs.createFarmMarkdownErrorBody; exports.createFarmMarkdownRouteModule = _chunkL6E4SHUBcjs.createFarmMarkdownRouteModule; exports.createFarmMarkdownRouteModuleFromFile = _chunkN3XO5AL5cjs.createFarmMarkdownRouteModuleFromFile; exports.createFarmMarkdownSourceResponse = _chunkL6E4SHUBcjs.createFarmMarkdownSourceResponse; exports.createMarkdownMetadata = _chunkL6E4SHUBcjs.createMarkdownMetadata; exports.farmRequestWantsMarkdown = _chunkC2JOS77Zcjs.farmRequestWantsMarkdown; exports.isFarmMarkdownPageFile = _chunkL6E4SHUBcjs.isFarmMarkdownPageFile; exports.isFarmMarkdownPublicSourceResponse = _chunkL6E4SHUBcjs.isFarmMarkdownPublicSourceResponse; exports.loadFarmMdxComponents = _chunkN3XO5AL5cjs.loadFarmMdxComponents; exports.normalizeFarmMarkdownRoutePath = _chunkL6E4SHUBcjs.normalizeFarmMarkdownRoutePath; exports.parseMarkdownFrontmatter = _chunkL6E4SHUBcjs.parseMarkdownFrontmatter; exports.readFarmMarkdownRouteConfig = _chunkL6E4SHUBcjs.readFarmMarkdownRouteConfig; exports.resolveFarmMdxComponentsModulePath = _chunk2HW5LWAHcjs.resolveFarmMdxComponentsModulePath; exports.resolveMdxConfig = _chunk2HW5LWAHcjs.resolveMdxConfig; exports.titleFromMarkdown = _chunkL6E4SHUBcjs.titleFromMarkdown;
|
package/dist/app-markdown.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as RouteModule, h as FarmMdxResolvedConfig, g as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { k as FARM_MARKDOWN_CONTENT_TYPE, n as FarmMdxComponent, o as FarmMdxUserConfig, l as createFarmMarkdownErrorBody, m as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, p as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { i as RouteModule, h as FarmMdxResolvedConfig, g as FarmMdxComponents } from './client-plugins.d-k3bOT5gz.mjs';
|
|
2
|
+
export { k as FARM_MARKDOWN_CONTENT_TYPE, n as FarmMdxComponent, o as FarmMdxUserConfig, l as createFarmMarkdownErrorBody, m as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, p as resolveMdxConfig } from './client-plugins.d-k3bOT5gz.mjs';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.mjs';
|
|
4
|
-
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown } from './internal/app-markdown-runtime.mjs';
|
|
4
|
+
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.mjs';
|
|
5
5
|
import './lifecycle.d-keQs5Swc.mjs';
|
|
6
6
|
import './route.d-DrXkpvcg.mjs';
|
|
7
7
|
import './endpoint.d-BkMSCRf6.mjs';
|
package/dist/app-markdown.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as RouteModule, h as FarmMdxResolvedConfig, g as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { k as FARM_MARKDOWN_CONTENT_TYPE, n as FarmMdxComponent, o as FarmMdxUserConfig, l as createFarmMarkdownErrorBody, m as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, p as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { i as RouteModule, h as FarmMdxResolvedConfig, g as FarmMdxComponents } from './client-plugins.d-BxqFfHpM.js';
|
|
2
|
+
export { k as FARM_MARKDOWN_CONTENT_TYPE, n as FarmMdxComponent, o as FarmMdxUserConfig, l as createFarmMarkdownErrorBody, m as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, p as resolveMdxConfig } from './client-plugins.d-BxqFfHpM.js';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.js';
|
|
4
|
-
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown } from './internal/app-markdown-runtime.js';
|
|
4
|
+
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.js';
|
|
5
5
|
import './lifecycle.d-keQs5Swc.js';
|
|
6
6
|
import './route.d-hs-_cyHn.js';
|
|
7
7
|
import './endpoint.d-BgHn0lhl.js';
|
package/dist/app-markdown.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmMarkdownRouteModuleFromFile,
|
|
3
3
|
loadFarmMdxComponents
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AYVGD3PK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
7
7
|
createFarmMarkdownRouteModule,
|
|
@@ -11,8 +11,9 @@ import {
|
|
|
11
11
|
isFarmMarkdownPublicSourceResponse,
|
|
12
12
|
normalizeFarmMarkdownRoutePath,
|
|
13
13
|
parseMarkdownFrontmatter,
|
|
14
|
+
readFarmMarkdownRouteConfig,
|
|
14
15
|
titleFromMarkdown
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J5ASGNKF.mjs";
|
|
16
17
|
import "./chunk-BRYPZIMB.mjs";
|
|
17
18
|
import {
|
|
18
19
|
resolveFarmMdxComponentsModulePath,
|
|
@@ -47,6 +48,7 @@ export {
|
|
|
47
48
|
loadFarmMdxComponents,
|
|
48
49
|
normalizeFarmMarkdownRoutePath,
|
|
49
50
|
parseMarkdownFrontmatter,
|
|
51
|
+
readFarmMarkdownRouteConfig,
|
|
50
52
|
resolveFarmMdxComponentsModulePath,
|
|
51
53
|
resolveMdxConfig,
|
|
52
54
|
titleFromMarkdown
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aR as FarmConfig, P as ParsedRoute, bt as ResolvedFarmRouteRuntimeConfig, bu as ApplicationMetadataRouteKind, i as RouteModule, b4 as LayoutModule, bg as SSGCollectionResult, G as FarmRedirectStatus, t as FarmRequest, u as FarmResponse, bv as ResolvedFarmAPIConfig, bw as FarmDocsResolvedConfig, aQ as FarmMarkdownResolvedConfig, h as FarmMdxResolvedConfig, aA as ResolvedFarmDevtoolsConfig, bx as ResolvedFarmDevIndicatorsConfig, by as ResolvedFarmAuthConfig, bz as ResolvedFarmPerformanceConfig, bA as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aR as FarmConfig, P as ParsedRoute, bt as ResolvedFarmRouteRuntimeConfig, bu as ApplicationMetadataRouteKind, i as RouteModule, b4 as LayoutModule, bg as SSGCollectionResult, G as FarmRedirectStatus, t as FarmRequest, u as FarmResponse, bv as ResolvedFarmAPIConfig, bw as FarmDocsResolvedConfig, aQ as FarmMarkdownResolvedConfig, h as FarmMdxResolvedConfig, aA as ResolvedFarmDevtoolsConfig, bx as ResolvedFarmDevIndicatorsConfig, by as ResolvedFarmAuthConfig, bz as ResolvedFarmPerformanceConfig, bA as ResolvedFarmSecurityConfig } from './client-plugins.d-BxqFfHpM.js';
|
|
2
2
|
import { FarmWorkflowsResolvedConfig } from './workflows.js';
|
|
3
3
|
import { FarmCronResolvedConfig } from './cron.js';
|
|
4
4
|
import { R as ResolvedFarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
5
5
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.js';
|
|
6
|
-
import { I as IsolatedClientBoundaryReference, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
6
|
+
import { I as IsolatedClientBoundaryReference, P as ProgrammaticClientRoutes } from './client-component.d-fYupugbZ.js';
|
|
7
7
|
import { ViteDevServer } from 'vite';
|
|
8
|
-
import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-
|
|
8
|
+
import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-BzNw6JI8.js';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
10
10
|
import { FarmRenderer, FarmServerRendererRuntime } from './renderer.js';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-DHuJMJRP.js';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-wVRlLtBf.js';
|
|
13
13
|
import { F as FarmI18nRuntime } from './runtime.d-B_uPfMjA.js';
|
|
14
14
|
import { R as ResolvedFarmThemeConfig } from './types.d-DQnyD3VD.js';
|
|
@@ -500,10 +500,12 @@ declare class ServerRenderer {
|
|
|
500
500
|
/** Same inputs the production server gives llms.txt: static pages and root metadata. */
|
|
501
501
|
private createLlmsTxtContext;
|
|
502
502
|
/**
|
|
503
|
-
* The origin llms.txt
|
|
504
|
-
* request's origin, as for the sitemap and the production server.
|
|
503
|
+
* The origin llms.txt, llms-full.txt and list_pages link to: the root layout's
|
|
504
|
+
* `metadataBase`, else the request's origin, as for the sitemap and the production server.
|
|
505
505
|
*/
|
|
506
506
|
private getAgentOrigin;
|
|
507
|
+
/** The root layout's `metadataBase`, which generated agent files and list_pages link to. */
|
|
508
|
+
private getRootMetadataBase;
|
|
507
509
|
/**
|
|
508
510
|
* Reads page mirrors back through this dev server, the way its .md handler
|
|
509
511
|
* renders pages, so Markdown sources and agent overrides are included. Requests
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aR as FarmConfig, P as ParsedRoute, bt as ResolvedFarmRouteRuntimeConfig, bu as ApplicationMetadataRouteKind, i as RouteModule, b4 as LayoutModule, bg as SSGCollectionResult, G as FarmRedirectStatus, t as FarmRequest, u as FarmResponse, bv as ResolvedFarmAPIConfig, bw as FarmDocsResolvedConfig, aQ as FarmMarkdownResolvedConfig, h as FarmMdxResolvedConfig, aA as ResolvedFarmDevtoolsConfig, bx as ResolvedFarmDevIndicatorsConfig, by as ResolvedFarmAuthConfig, bz as ResolvedFarmPerformanceConfig, bA as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aR as FarmConfig, P as ParsedRoute, bt as ResolvedFarmRouteRuntimeConfig, bu as ApplicationMetadataRouteKind, i as RouteModule, b4 as LayoutModule, bg as SSGCollectionResult, G as FarmRedirectStatus, t as FarmRequest, u as FarmResponse, bv as ResolvedFarmAPIConfig, bw as FarmDocsResolvedConfig, aQ as FarmMarkdownResolvedConfig, h as FarmMdxResolvedConfig, aA as ResolvedFarmDevtoolsConfig, bx as ResolvedFarmDevIndicatorsConfig, by as ResolvedFarmAuthConfig, bz as ResolvedFarmPerformanceConfig, bA as ResolvedFarmSecurityConfig } from './client-plugins.d-k3bOT5gz.mjs';
|
|
2
2
|
import { FarmWorkflowsResolvedConfig } from './workflows.mjs';
|
|
3
3
|
import { FarmCronResolvedConfig } from './cron.mjs';
|
|
4
4
|
import { R as ResolvedFarmImageConfig } from './image-config.d-ByhQ0TT7.mjs';
|
|
5
5
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.mjs';
|
|
6
|
-
import { I as IsolatedClientBoundaryReference, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
6
|
+
import { I as IsolatedClientBoundaryReference, P as ProgrammaticClientRoutes } from './client-component.d-DwpH251K.mjs';
|
|
7
7
|
import { ViteDevServer } from 'vite';
|
|
8
|
-
import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-
|
|
8
|
+
import { M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-CgFen3EH.mjs';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
10
10
|
import { FarmRenderer, FarmServerRendererRuntime } from './renderer.mjs';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-CiUj0rq5.mjs';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-wVRlLtBf.mjs';
|
|
13
13
|
import { F as FarmI18nRuntime } from './runtime.d-nUz0HAL4.mjs';
|
|
14
14
|
import { R as ResolvedFarmThemeConfig } from './types.d-DQnyD3VD.mjs';
|
|
@@ -500,10 +500,12 @@ declare class ServerRenderer {
|
|
|
500
500
|
/** Same inputs the production server gives llms.txt: static pages and root metadata. */
|
|
501
501
|
private createLlmsTxtContext;
|
|
502
502
|
/**
|
|
503
|
-
* The origin llms.txt
|
|
504
|
-
* request's origin, as for the sitemap and the production server.
|
|
503
|
+
* The origin llms.txt, llms-full.txt and list_pages link to: the root layout's
|
|
504
|
+
* `metadataBase`, else the request's origin, as for the sitemap and the production server.
|
|
505
505
|
*/
|
|
506
506
|
private getAgentOrigin;
|
|
507
|
+
/** The root layout's `metadataBase`, which generated agent files and list_pages link to. */
|
|
508
|
+
private getRootMetadataBase;
|
|
507
509
|
/**
|
|
508
510
|
* Reads page mirrors back through this dev server, the way its .md handler
|
|
509
511
|
* renders pages, so Markdown sources and agent overrides are included. Requests
|
|
@@ -21,7 +21,7 @@ var _chunkE7QOEV5Zcjs = require('./chunk-E7QOEV5Z.cjs');
|
|
|
21
21
|
var _chunkQMNWKQL4cjs = require('./chunk-QMNWKQL4.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkMEJCP2LXcjs = require('./chunk-MEJCP2LX.cjs');
|
|
25
25
|
|
|
26
26
|
// src/environment-vite.ts
|
|
27
27
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
@@ -1667,7 +1667,7 @@ var PackageClientBoundaryCache = class {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
const contents = JSON.stringify({
|
|
1669
1669
|
schema: SCHEMA_VERSION,
|
|
1670
|
-
farm:
|
|
1670
|
+
farm: _chunkMEJCP2LXcjs.FARM_VERSION,
|
|
1671
1671
|
paths,
|
|
1672
1672
|
entries
|
|
1673
1673
|
});
|
|
@@ -1707,7 +1707,7 @@ function readStoredCache(file) {
|
|
|
1707
1707
|
} catch (e26) {
|
|
1708
1708
|
return null;
|
|
1709
1709
|
}
|
|
1710
|
-
if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !==
|
|
1710
|
+
if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkMEJCP2LXcjs.FARM_VERSION) {
|
|
1711
1711
|
return null;
|
|
1712
1712
|
}
|
|
1713
1713
|
const { paths, entries } = value;
|
|
@@ -1718,7 +1718,7 @@ function readStoredCache(file) {
|
|
|
1718
1718
|
const usable = variants.filter((entry) => isStoredEntry(entry, paths.length));
|
|
1719
1719
|
if (usable.length > 0) valid[key] = usable;
|
|
1720
1720
|
}
|
|
1721
|
-
return { schema: SCHEMA_VERSION, farm:
|
|
1721
|
+
return { schema: SCHEMA_VERSION, farm: _chunkMEJCP2LXcjs.FARM_VERSION, paths, entries: valid };
|
|
1722
1722
|
}
|
|
1723
1723
|
function isRecord(value) {
|
|
1724
1724
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSXMWVP2Lcjs = require('./chunk-SXMWVP2L.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkC2JOS77Zcjs = require('./chunk-C2JOS77Z.cjs');
|
|
@@ -273,7 +273,7 @@ function requestEvent(metadata, method, status, durationMs) {
|
|
|
273
273
|
id: uuid(),
|
|
274
274
|
requestId: metadata.id,
|
|
275
275
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
276
|
-
route: routeTemplate(
|
|
276
|
+
route: routeTemplate(_chunkSXMWVP2Lcjs.getFarmRouteLabel.call(void 0, metadata.route)),
|
|
277
277
|
agent: metadata.agent,
|
|
278
278
|
kind: "request",
|
|
279
279
|
method,
|
|
@@ -286,7 +286,7 @@ function toolEvent(metadata, event) {
|
|
|
286
286
|
id: uuid(),
|
|
287
287
|
requestId: metadata.id,
|
|
288
288
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
289
|
-
route: routeTemplate(
|
|
289
|
+
route: routeTemplate(_chunkSXMWVP2Lcjs.getFarmRouteLabel.call(void 0, metadata.route)),
|
|
290
290
|
agent: metadata.agent,
|
|
291
291
|
kind: "mcp.tool",
|
|
292
292
|
tool: event.tool,
|