@farm.js/core 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp.d--uQgDp_Q.d.ts → agent-mcp.d-DuZjglYX.d.ts} +1 -1
- package/dist/{agent-mcp.d-DpthRhqr.d.mts → agent-mcp.d-gI3ahrF6.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-5RSMYPWD.cjs +17 -0
- package/dist/{analyzer-GLFRODYV.mjs → analyzer-7TNBOI3J.mjs} +2 -2
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/route-manager.cjs +4 -4
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +5 -5
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +4 -4
- package/dist/{app-manifest.d-DMgcFuXQ.d.ts → app-manifest.d-B3h89j6a.d.ts} +1 -1
- package/dist/{app-manifest.d-DXAvPjMw.d.mts → app-manifest.d-bHK9EGPI.d.mts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-htfGqq-d.d.ts → app.d-C3uyET_L.d.ts} +4 -4
- package/dist/{app.d-DG_-nN5y.d.mts → app.d-Cr7fXGvJ.d.mts} +4 -4
- package/dist/{chunk-BOHBFBRA.mjs → chunk-2FKGY2ZS.mjs} +1 -1
- package/dist/{chunk-YOVSWY2E.mjs → chunk-2XDRRAAD.mjs} +1 -1
- package/dist/{chunk-QJKGRUBR.mjs → chunk-4WCEWA22.mjs} +4 -4
- package/dist/{chunk-YQXLBYY2.cjs → chunk-5B2Y4EVS.cjs} +32 -8
- package/dist/{chunk-QCVP22KW.cjs → chunk-5RYBQKBY.cjs} +3 -3
- package/dist/{chunk-PGU4SCIU.cjs → chunk-6QWBZGGP.cjs} +132 -132
- package/dist/{chunk-DVL3UVYT.mjs → chunk-6XABTMXR.mjs} +2 -2
- package/dist/{chunk-D5GFVHBV.mjs → chunk-6YOMQ4GX.mjs} +9 -9
- package/dist/chunk-7QGA6UX6.cjs +26 -0
- package/dist/{chunk-JJ22OI7J.cjs → chunk-A4WDDASS.cjs} +2 -2
- package/dist/{chunk-V36K4TSU.mjs → chunk-ADKPJZPP.mjs} +1 -1
- package/dist/{chunk-LQZXCSYG.mjs → chunk-B6K2ZM3C.mjs} +5 -3
- package/dist/{chunk-JZAGIXMB.cjs → chunk-C2J5LMH6.cjs} +1 -1
- package/dist/{chunk-SIJ3DREB.mjs → chunk-CIRC2LRP.mjs} +1 -1
- package/dist/{chunk-Q4FHYBFT.cjs → chunk-CSCORWIQ.cjs} +11 -11
- package/dist/{chunk-RCJAOQWW.mjs → chunk-CTHQE7DO.mjs} +1 -1
- package/dist/{chunk-PRKFECGT.cjs → chunk-DZWX7FDX.cjs} +6 -4
- package/dist/{chunk-OKZHPPBX.mjs → chunk-ERY4VYUH.mjs} +1 -1
- package/dist/{chunk-GEZ76JXD.cjs → chunk-F6JSVP5C.cjs} +3 -3
- package/dist/chunk-G7LNCHTS.mjs +21 -0
- package/dist/{chunk-D2OU4CX2.cjs → chunk-GWFNJLDN.cjs} +11 -11
- package/dist/{chunk-V6ACETKR.cjs → chunk-H7DAFRYR.cjs} +4 -4
- package/dist/{chunk-TI4BJFYX.mjs → chunk-HOBCEE5J.mjs} +12 -12
- package/dist/{chunk-XYCB3CXM.mjs → chunk-IPKL7L6B.mjs} +2 -2
- package/dist/{chunk-P2THJDLH.mjs → chunk-IQQ3SWH6.mjs} +86 -51
- package/dist/{chunk-HENYWY5J.cjs → chunk-JJUHUPRB.cjs} +2 -2
- package/dist/{chunk-XSE4XJKY.cjs → chunk-K7RXZ77U.cjs} +2 -2
- package/dist/{chunk-HBZQIRRM.mjs → chunk-KJMRW3IP.mjs} +1 -1
- package/dist/{chunk-PYPHM7AS.cjs → chunk-LH7S7FI3.cjs} +5 -1
- package/dist/{chunk-WXPY5FRF.cjs → chunk-P2PF5FUW.cjs} +2 -2
- package/dist/{chunk-CPL7WIMP.mjs → chunk-P3UT3OLV.mjs} +2 -2
- package/dist/{chunk-PZ5ZJAAO.mjs → chunk-POCWXRXW.mjs} +1 -1
- package/dist/{chunk-Z23OCU33.cjs → chunk-RF3VCNV7.cjs} +6 -6
- package/dist/{chunk-CZMMU3FP.mjs → chunk-RS4QZOFK.mjs} +1 -1
- package/dist/{chunk-MR64FNW6.cjs → chunk-SO4USIKL.cjs} +4 -4
- package/dist/{chunk-PVB5UYJT.cjs → chunk-TAXZQNFZ.cjs} +74 -74
- package/dist/{chunk-MYJPW4XN.mjs → chunk-UKGAP2OK.mjs} +3 -3
- package/dist/{chunk-DZXD6CYJ.mjs → chunk-V2RXBDV6.mjs} +4 -0
- package/dist/{chunk-L2KGQXFU.mjs → chunk-VZRY3CL5.mjs} +1 -1
- package/dist/{chunk-LO5BNR6Y.mjs → chunk-W5T3ZAFU.mjs} +25 -1
- package/dist/{chunk-ADCVSTFV.cjs → chunk-WAQIO2VD.cjs} +2 -2
- package/dist/{chunk-QI3UYN3P.cjs → chunk-WFL7CD5C.cjs} +12 -12
- package/dist/{chunk-E7ISZK3R.mjs → chunk-XGBDRC5B.mjs} +2 -2
- package/dist/{chunk-W34OS5CK.cjs → chunk-XLJ2REOI.cjs} +370 -335
- package/dist/{chunk-D2VLHRBN.cjs → chunk-Y3MTKPLN.cjs} +4 -4
- package/dist/{chunk-GL4SPJTE.cjs → chunk-YPPAYYSX.cjs} +4 -4
- package/dist/{client-component.d-DDbDw2yP.d.ts → client-component.d-BavTzqsn.d.ts} +1 -1
- package/dist/{client-component.d-D5JVDeQf.d.mts → client-component.d-X3j9FOZ2.d.mts} +1 -1
- package/dist/{client-plugins.d-BHqfH3DQ.d.ts → client-plugins.d-CqTr5IrQ.d.ts} +61 -1
- package/dist/{client-plugins.d-9jr2yWR3.d.mts → client-plugins.d-DnnAopKG.d.mts} +61 -1
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.cjs +5 -1
- package/dist/desktop.d.mts +8 -4
- package/dist/desktop.d.ts +8 -4
- package/dist/desktop.mjs +4 -0
- package/dist/{dev-guard-M3ZCDWCK.cjs → dev-guard-5NUIX6IZ.cjs} +4 -3
- package/dist/{dev-guard-TFVWJNIB.mjs → dev-guard-L42ZZRCZ.mjs} +2 -1
- package/dist/{devtools-ZDBCJI44.mjs → devtools-VPFBH6I2.mjs} +1 -1
- package/dist/{devtools-F6Z436WU.cjs → devtools-YTND2OWT.cjs} +2 -2
- package/dist/docs.cjs +3 -3
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +2 -2
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.mjs +3 -3
- package/dist/{handler.d-EtTSPkeO.d.mts → handler.d-BSlpYCDB.d.mts} +1 -1
- package/dist/{handler.d-Dq_bSEKC.d.ts → handler.d-DgX7gPO6.d.ts} +1 -1
- package/dist/{headers.d-BKwGD_uC.d.mts → headers.d-Cf8l5LMo.d.mts} +1 -1
- package/dist/{headers.d-CpIHLCEk.d.ts → headers.d-CmxW42R2.d.ts} +1 -1
- package/dist/index.cjs +22 -21
- package/dist/{index.d-DXtaU9OU.d.mts → index.d-7xoJqKRZ.d.mts} +1 -1
- package/dist/{index.d-CoRZKiHA.d.ts → index.d-BZZt7kxO.d.ts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +21 -20
- 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.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +22 -21
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +21 -20
- package/dist/internal/cli-runtime.cjs +7 -7
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +6 -6
- 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 +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +5 -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 +4 -3
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- 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 +4 -4
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +3 -3
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- 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-BzK2Z1pR.d.ts → mount.d-CD-xVBu7.d.ts} +1 -1
- package/dist/{mount.d-D-ynBlxU.d.mts → mount.d-Dd0xeRMl.d.mts} +1 -1
- package/dist/{navigation-delegate.d-DtsnFnNF.d.ts → navigation-delegate.d-Bses_F-y.d.ts} +1 -1
- package/dist/{navigation-delegate.d-aJh3ZmTY.d.mts → navigation-delegate.d-dBNg976E.d.mts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +17 -16
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +16 -15
- package/dist/{render-plan.d-h8bkOQyh.d.ts → render-plan.d-DaIwnRK2.d.ts} +1 -1
- package/dist/{render-plan.d-C6nUIU2m.d.mts → render-plan.d-vOdZHHLI.d.mts} +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/{request.d-CBEdJD5R.d.mts → request.d-B8U4pVFP.d.mts} +1 -1
- package/dist/{request.d-CrriEvxy.d.ts → request.d-CgXp3EEc.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-DgXpNk_c.d.mts → route-rendering.d-BQvNYQqu.d.mts} +1 -1
- package/dist/{route-rendering.d-C-ivf31T.d.ts → route-rendering.d-Di0AxFix.d.ts} +1 -1
- package/dist/{router.d-BRRPd5dE.d.ts → router.d-BJVGhSAJ.d.ts} +1 -1
- package/dist/{router.d-O5LrW9mZ.d.mts → router.d-hNedVdoB.d.mts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-HYINQPMW.mjs → rsc-pipeline-2JSNRVIL.mjs} +6 -5
- package/dist/{rsc-pipeline-2DNM7UDA.cjs → rsc-pipeline-WTKDMTE2.cjs} +7 -6
- package/dist/{runtime-M6GLD4CR.cjs → runtime-I4GV4CDP.cjs} +8 -8
- package/dist/{runtime-JP7L5KI7.mjs → runtime-RNSTQY27.mjs} +5 -5
- package/dist/{runtime.d-DW_1avVi.d.ts → runtime.d-0R8nHCM6.d.ts} +1 -1
- package/dist/{runtime.d-DP8Sk9PM.d.mts → runtime.d-DpeuF_T-.d.mts} +1 -1
- package/dist/{schema-dependencies.d-Cedd7QUf.d.mts → schema-dependencies.d-_Wyey4Wv.d.mts} +1 -1
- package/dist/{schema-dependencies.d-C__RyTvW.d.ts → schema-dependencies.d-tkUHREqz.d.ts} +1 -1
- package/dist/{server-components-status.d-CdsEQbeM.d.ts → server-components-status.d-B2Z5WvO5.d.ts} +1 -1
- package/dist/{server-components-status.d-DN98yOT4.d.mts → server-components-status.d-sN7ju-ie.d.mts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +42 -41
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +18 -17
- package/dist/{spa-router.d-FcDbBCrK.d.mts → spa-router.d-D3AtR2Bc.d.mts} +2 -2
- package/dist/{spa-router.d-BJWZAdrV.d.ts → spa-router.d-MjT6sGb9.d.ts} +2 -2
- package/dist/{ssg.d--uut8Gya.d.mts → ssg.d-B32Cp_XW.d.mts} +2 -2
- package/dist/{ssg.d-Cf9mC1rZ.d.ts → ssg.d-C1SNuPz5.d.ts} +2 -2
- package/dist/{store-core.d-h7o6V2kH.d.ts → store-core.d-BZ3YXs70.d.ts} +2 -2
- package/dist/{store-core.d-DgYlAo-e.d.mts → store-core.d-BbVdaoA0.d.mts} +2 -2
- package/dist/testing.cjs +5 -5
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/{utils.d-2lGEnyBc.d.ts → utils.d-Bjbm44fP.d.ts} +1 -1
- package/dist/{utils.d-DjFApBfE.d.mts → utils.d-CoLozp7-.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +17 -16
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +16 -15
- package/package.json +1 -1
- package/dist/analyzer-KBVOHASA.cjs +0 -17
- /package/dist/{chunk-EIAA4W3M.cjs → chunk-2LGM5WIK.cjs} +0 -0
- /package/dist/{chunk-H6MYRZ2U.mjs → chunk-MVNIAD6O.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata,
|
|
1
|
+
import { M as Metadata, bv as FarmAgentJsonLd, br as FarmMCPServerRegistration, bw as FarmMarkdownResolvedConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-BhPgtN_S.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata,
|
|
1
|
+
import { M as Metadata, bv as FarmAgentJsonLd, br as FarmMCPServerRegistration, bw as FarmMarkdownResolvedConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-D67HQmnv.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
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-DnnAopKG.mjs';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.mjs';
|
|
4
4
|
import './route.d-ShmtqqVQ.mjs';
|
|
5
5
|
import './endpoint.d-BXbBpKoh.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-CqTr5IrQ.js';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.js';
|
|
4
4
|
import './route.d-Cd4Fi6BA.js';
|
|
5
5
|
import './endpoint.d-Dx_1k6Du.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkA4WDDASScjs = require('./chunk-A4WDDASS.cjs');
|
|
7
|
+
require('./chunk-QW5I5D5T.cjs');
|
|
8
|
+
require('./chunk-BRWSQDKO.cjs');
|
|
9
|
+
require('./chunk-J3RIMCBD.cjs');
|
|
10
|
+
require('./chunk-C2J5LMH6.cjs');
|
|
11
|
+
require('./chunk-UGL4BDNB.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.CORE_PORTABLE = _chunkA4WDDASScjs.CORE_PORTABLE; exports.analyzeFarmMobileRoutes = _chunkA4WDDASScjs.analyzeFarmMobileRoutes; exports.readAliases = _chunkA4WDDASScjs.readAliases; exports.resolveFile = _chunkA4WDDASScjs.resolveFile;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
analyzeFarmMobileRoutes,
|
|
4
4
|
readAliases,
|
|
5
5
|
resolveFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ERY4VYUH.mjs";
|
|
7
7
|
import "./chunk-IOEXXZK3.mjs";
|
|
8
8
|
import "./chunk-423SSBYQ.mjs";
|
|
9
9
|
import "./chunk-D2VAANBS.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-2FKGY2ZS.mjs";
|
|
11
11
|
import "./chunk-6IUWKO2Q.mjs";
|
|
12
12
|
export {
|
|
13
13
|
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-Dd0xeRMl.mjs';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-DpeuF_T-.mjs';
|
|
5
5
|
import '../endpoint.d-BXbBpKoh.mjs';
|
|
6
6
|
import '../cache.mjs';
|
|
7
7
|
import '../route.d-ShmtqqVQ.mjs';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-DnnAopKG.mjs';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.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-CD-xVBu7.js';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-0R8nHCM6.js';
|
|
5
5
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
6
6
|
import '../cache.js';
|
|
7
7
|
import '../route.d-Cd4Fi6BA.js';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-CqTr5IrQ.js';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.js';
|
|
10
10
|
import '../renderer.js';
|
|
11
11
|
import '../deployment.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkY3MTKPLNcjs = require('../chunk-Y3MTKPLN.cjs');
|
|
5
5
|
require('../chunk-6K7LEL2T.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-DZWX7FDX.cjs');
|
|
7
7
|
require('../chunk-YCGOQKVC.cjs');
|
|
8
8
|
require('../chunk-YCIFGYBY.cjs');
|
|
9
9
|
require('../chunk-YHALJBYT.cjs');
|
|
@@ -24,7 +24,7 @@ require('../chunk-3ACTVXZG.cjs');
|
|
|
24
24
|
require('../chunk-KHTJVI6B.cjs');
|
|
25
25
|
require('../chunk-G22QP2MX.cjs');
|
|
26
26
|
require('../chunk-MMSCWTJT.cjs');
|
|
27
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-LH7S7FI3.cjs');
|
|
28
28
|
require('../chunk-GUDYDNKU.cjs');
|
|
29
29
|
require('../chunk-VD7ENQP2.cjs');
|
|
30
30
|
require('../chunk-VB7P66Q4.cjs');
|
|
@@ -64,4 +64,4 @@ require('../chunk-UGL4BDNB.cjs');
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
exports.APIRouteConflictError =
|
|
67
|
+
exports.APIRouteConflictError = _chunkY3MTKPLNcjs.APIRouteConflictError; exports.APIRouteManager = _chunkY3MTKPLNcjs.APIRouteManager; exports.API_ROUTE_METHODS = _chunk5P3TZGS3cjs.API_ROUTE_METHODS; exports.getAllowedAPIRouteMethods = _chunk5P3TZGS3cjs.getAllowedAPIRouteMethods; exports.invokeAPIRouteEndpoint = _chunk5P3TZGS3cjs.invokeAPIRouteEndpoint; exports.isWebResponse = _chunk5P3TZGS3cjs.isWebResponse; exports.matchAPIRoute = _chunkQT7MJL5Ecjs.matchAPIRoute; exports.normalizeRouteResponse = _chunk5P3TZGS3cjs.normalizeRouteResponse; exports.resolveAPIRouteEndpoint = _chunk5P3TZGS3cjs.resolveAPIRouteEndpoint;
|
|
@@ -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 { j as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-DpeuF_T-.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-DpeuF_T-.mjs';
|
|
3
|
+
import { j as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-DnnAopKG.mjs';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-euATAbE4.mjs';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-CTAXWZby.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 { j as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-0R8nHCM6.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-0R8nHCM6.js';
|
|
3
|
+
import { j as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-CqTr5IrQ.js';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-euATAbE4.js';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-PUA5qBnd.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APIRouteConflictError,
|
|
3
3
|
APIRouteManager
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-P3UT3OLV.mjs";
|
|
5
5
|
import "../chunk-NRWEY2CM.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-B6K2ZM3C.mjs";
|
|
7
7
|
import "../chunk-O77EKGAS.mjs";
|
|
8
8
|
import "../chunk-O7JEFGUV.mjs";
|
|
9
9
|
import "../chunk-VO55MMBX.mjs";
|
|
@@ -24,7 +24,7 @@ import "../chunk-F7MJWW6A.mjs";
|
|
|
24
24
|
import "../chunk-U6XYBTUT.mjs";
|
|
25
25
|
import "../chunk-PNMAD3OS.mjs";
|
|
26
26
|
import "../chunk-UJWRXBVP.mjs";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-V2RXBDV6.mjs";
|
|
28
28
|
import "../chunk-PKMUQ7LM.mjs";
|
|
29
29
|
import "../chunk-FS55CNTC.mjs";
|
|
30
30
|
import "../chunk-HX5HLFBZ.mjs";
|
package/dist/api/runtime.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-BXbBpKoh.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-DpeuF_T-.mjs';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
export {
|
|
4
|
+
export { aS as FarmMCPCatalogDetails, br as FarmMCPServerRegistration, bs as _findFarmMCPEndpointTool, bt as _publishFarmMCPCatalog, bu as registerFarmMCPServer } from '../client-plugins.d-DnnAopKG.mjs';
|
|
5
5
|
import '../cache.mjs';
|
|
6
6
|
import '../route.d-ShmtqqVQ.mjs';
|
|
7
7
|
import '../lifecycle.d-OtGWAvJT.mjs';
|
package/dist/api/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-Dx_1k6Du.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-0R8nHCM6.js';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
export {
|
|
4
|
+
export { aS as FarmMCPCatalogDetails, br as FarmMCPServerRegistration, bs as _findFarmMCPEndpointTool, bt as _publishFarmMCPCatalog, bu as registerFarmMCPServer } from '../client-plugins.d-CqTr5IrQ.js';
|
|
5
5
|
import '../cache.js';
|
|
6
6
|
import '../route.d-Cd4Fi6BA.js';
|
|
7
7
|
import '../lifecycle.d-OtGWAvJT.js';
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCSCORWIQcjs = require('./chunk-CSCORWIQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBNVQSUZKcjs = require('./chunk-BNVQSUZK.cjs');
|
|
@@ -26,9 +26,9 @@ require('./chunk-KSRWTQ6J.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkY3MTKPLNcjs = require('./chunk-Y3MTKPLN.cjs');
|
|
30
30
|
require('./chunk-6K7LEL2T.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-DZWX7FDX.cjs');
|
|
32
32
|
require('./chunk-YCGOQKVC.cjs');
|
|
33
33
|
require('./chunk-YCIFGYBY.cjs');
|
|
34
34
|
require('./chunk-YHALJBYT.cjs');
|
|
@@ -63,7 +63,7 @@ require('./chunk-3ACTVXZG.cjs');
|
|
|
63
63
|
require('./chunk-KHTJVI6B.cjs');
|
|
64
64
|
require('./chunk-G22QP2MX.cjs');
|
|
65
65
|
require('./chunk-MMSCWTJT.cjs');
|
|
66
|
-
require('./chunk-
|
|
66
|
+
require('./chunk-LH7S7FI3.cjs');
|
|
67
67
|
require('./chunk-GUDYDNKU.cjs');
|
|
68
68
|
require('./chunk-VD7ENQP2.cjs');
|
|
69
69
|
require('./chunk-CH2JX3CM.cjs');
|
|
@@ -163,4 +163,4 @@ require('./chunk-UGL4BDNB.cjs');
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
exports.APIClientError = _chunkOSLI2SCAcjs.APIClientError; exports.APIRouteConflictError =
|
|
166
|
+
exports.APIClientError = _chunkOSLI2SCAcjs.APIClientError; exports.APIRouteConflictError = _chunkY3MTKPLNcjs.APIRouteConflictError; exports.APIRouteManager = _chunkY3MTKPLNcjs.APIRouteManager; exports.API_ROUTE_METHODS = _chunk5P3TZGS3cjs.API_ROUTE_METHODS; exports.DEFAULT_FARM_API_BASE_PATH = _chunkG5KGLMPNcjs.DEFAULT_FARM_API_BASE_PATH; exports.DELETE = _chunk4JCX33RZcjs.DELETE; exports.EndpointFailure = _chunk4JCX33RZcjs.EndpointFailure; exports.FARM_API_ROUTE_META_SYMBOL = _chunkOSLI2SCAcjs.FARM_API_ROUTE_META_SYMBOL; exports.FARM_API_ROUTE_REF_SYMBOL = _chunkOSLI2SCAcjs.FARM_API_ROUTE_REF_SYMBOL; exports.GET = _chunk4JCX33RZcjs.GET; exports.HEAD = _chunk4JCX33RZcjs.HEAD; exports.OPTIONS = _chunk4JCX33RZcjs.OPTIONS; exports.PATCH = _chunk4JCX33RZcjs.PATCH; exports.POST = _chunk4JCX33RZcjs.POST; exports.PUT = _chunk4JCX33RZcjs.PUT; exports.QUERY = _chunk4JCX33RZcjs.QUERY; exports.applyServerFnOptimisticUpdates = _chunkOSLI2SCAcjs.applyServerFnOptimisticUpdates; exports.createAPIClient = _chunkOSLI2SCAcjs.createAPIClient; exports.createApiClients = _chunkOSLI2SCAcjs.createApiClients; exports.createEndpoint = _chunk4JCX33RZcjs.createEndpoint; exports.createRouteFactory = _chunk4JCX33RZcjs.createRouteFactory; exports.createServerAPIClient = _chunkOSLI2SCAcjs.createServerAPIClient; exports.farmApiPlugin = _chunkCSCORWIQcjs.farmApiPlugin; exports.getAPIRouteRefMetadata = _chunkOSLI2SCAcjs.getAPIRouteRefMetadata; exports.getAllowedAPIRouteMethods = _chunk5P3TZGS3cjs.getAllowedAPIRouteMethods; exports.getFarmAPIBaseURL = _chunkG5KGLMPNcjs.getFarmAPIBaseURL; exports.invokeAPIRouteEndpoint = _chunk5P3TZGS3cjs.invokeAPIRouteEndpoint; exports.isAPIRouteRef = _chunkOSLI2SCAcjs.isAPIRouteRef; exports.isEndpointFailure = _chunk4JCX33RZcjs.isEndpointFailure; exports.isFarmAPIStream = _chunkOUOUPA37cjs.isFarmAPIStream; exports.isJSONStreamResponse = _chunkOUOUPA37cjs.isJSONStreamResponse; exports.isMultipartSchema = _chunkOUOUPA37cjs.isMultipartSchema; exports.isWebResponse = _chunk5P3TZGS3cjs.isWebResponse; exports.jsonStream = _chunkOUOUPA37cjs.jsonStream; exports.matchAPIRoute = _chunkQT7MJL5Ecjs.matchAPIRoute; exports.mountFetchHandler = _chunkBNVQSUZKcjs.mountFetchHandler; exports.multipart = _chunkOUOUPA37cjs.multipart; exports.normalizeFarmAPIBasePath = _chunkG5KGLMPNcjs.normalizeFarmAPIBasePath; exports.normalizeFarmAPIConfig = _chunkG5KGLMPNcjs.normalizeFarmAPIConfig; exports.normalizeRouteResponse = _chunk5P3TZGS3cjs.normalizeRouteResponse; exports.readJSONStream = _chunkOUOUPA37cjs.readJSONStream; exports.resolveAPIRouteEndpoint = _chunk5P3TZGS3cjs.resolveAPIRouteEndpoint; exports.resolveFarmAPIConfig = _chunkG5KGLMPNcjs.resolveFarmAPIConfig; exports.resolveFarmAPIRequestURL = _chunkG5KGLMPNcjs.resolveFarmAPIRequestURL; exports.resolveFarmAPIServerBasePath = _chunkH5AC3XSEcjs.resolveFarmAPIServerBasePath; exports.resolvePluginRoutes = _chunk4JCX33RZcjs.resolvePluginRoutes; exports.resolveServerFnInvalidateTargets = _chunkOSLI2SCAcjs.resolveServerFnInvalidateTargets; exports.settleServerFnOptimisticUpdates = _chunkOSLI2SCAcjs.settleServerFnOptimisticUpdates; exports.toFormData = _chunkOUOUPA37cjs.toFormData;
|
package/dist/api.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, h as EndpointErrorContracts, j as EndpointErrorDefinition, k as EndpointErrorDefinitions, l as EndpointErrorHandler, m as EndpointErrorSchema, n as EndpointFail, g as EndpointFailure, o as EndpointHandler, q as EndpointInvalidationContext, r as EndpointInvalidationTarget, s as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, t as EndpointMiddleware, u as EndpointMiddlewareContext, d as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, w as EndpointParamValue, x as EndpointParams, F as FarmAPIStream, y as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, z as MultipartSchema, B as MultipartValues, O as OPTIONS, P as PATCH, K as POST, L as PUT, Q as QUERY, R as RouteOpenAPIConfig, T as TypedEndpoint, N as TypedFormData, S as createEndpoint, i as isEndpointFailure, U as isFarmAPIStream, V as isJSONStreamResponse, W as isMultipartSchema, X as jsonStream, Y as multipart, Z as readJSONStream, _ as toFormData } from './endpoint.d-BXbBpKoh.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-CyVmI4Di.mjs';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
4
|
+
import { bz as ResolvedFarmAPIConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
5
|
+
export { bT as DEFAULT_FARM_API_BASE_PATH, c0 as FarmAPIConfig, c1 as FarmAPIConfigResolverContext, c2 as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fa as normalizeFarmAPIBasePath, fb as normalizeFarmAPIConfig, fg as resolveFarmAPIConfig, fh as resolveFarmAPIRequestURL } from './client-plugins.d-DnnAopKG.mjs';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-ShmtqqVQ.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-ShmtqqVQ.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-Dd0xeRMl.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-DpeuF_T-.mjs';
|
|
12
12
|
import './cache.mjs';
|
|
13
13
|
import './types.d-euATAbE4.mjs';
|
|
14
14
|
import './runtime.d-CTAXWZby.mjs';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, h as EndpointErrorContracts, j as EndpointErrorDefinition, k as EndpointErrorDefinitions, l as EndpointErrorHandler, m as EndpointErrorSchema, n as EndpointFail, g as EndpointFailure, o as EndpointHandler, q as EndpointInvalidationContext, r as EndpointInvalidationTarget, s as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, t as EndpointMiddleware, u as EndpointMiddlewareContext, d as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, w as EndpointParamValue, x as EndpointParams, F as FarmAPIStream, y as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, z as MultipartSchema, B as MultipartValues, O as OPTIONS, P as PATCH, K as POST, L as PUT, Q as QUERY, R as RouteOpenAPIConfig, T as TypedEndpoint, N as TypedFormData, S as createEndpoint, i as isEndpointFailure, U as isFarmAPIStream, V as isJSONStreamResponse, W as isMultipartSchema, X as jsonStream, Y as multipart, Z as readJSONStream, _ as toFormData } from './endpoint.d-Dx_1k6Du.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-DrTM7BdH.js';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
4
|
+
import { bz as ResolvedFarmAPIConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
5
|
+
export { bT as DEFAULT_FARM_API_BASE_PATH, c0 as FarmAPIConfig, c1 as FarmAPIConfigResolverContext, c2 as FarmAPIConfigValue, eP as getFarmAPIBaseURL, fa as normalizeFarmAPIBasePath, fb as normalizeFarmAPIConfig, fg as resolveFarmAPIConfig, fh as resolveFarmAPIRequestURL } from './client-plugins.d-CqTr5IrQ.js';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-Cd4Fi6BA.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-Cd4Fi6BA.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-CD-xVBu7.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-0R8nHCM6.js';
|
|
12
12
|
import './cache.js';
|
|
13
13
|
import './types.d-euATAbE4.js';
|
|
14
14
|
import './runtime.d-PUA5qBnd.js';
|
package/dist/api.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
farmApiPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UKGAP2OK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
mountFetchHandler
|
|
6
6
|
} from "./chunk-L3RDECA5.mjs";
|
|
@@ -26,9 +26,9 @@ import "./chunk-IYEY3JWJ.mjs";
|
|
|
26
26
|
import {
|
|
27
27
|
APIRouteConflictError,
|
|
28
28
|
APIRouteManager
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-P3UT3OLV.mjs";
|
|
30
30
|
import "./chunk-NRWEY2CM.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-B6K2ZM3C.mjs";
|
|
32
32
|
import "./chunk-O77EKGAS.mjs";
|
|
33
33
|
import "./chunk-O7JEFGUV.mjs";
|
|
34
34
|
import "./chunk-VO55MMBX.mjs";
|
|
@@ -63,7 +63,7 @@ import "./chunk-F7MJWW6A.mjs";
|
|
|
63
63
|
import "./chunk-U6XYBTUT.mjs";
|
|
64
64
|
import "./chunk-PNMAD3OS.mjs";
|
|
65
65
|
import "./chunk-UJWRXBVP.mjs";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-V2RXBDV6.mjs";
|
|
67
67
|
import "./chunk-PKMUQ7LM.mjs";
|
|
68
68
|
import "./chunk-FS55CNTC.mjs";
|
|
69
69
|
import "./chunk-IGL6CO6M.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aS as FarmMCPCatalogDetails, aT as ResolvedFarmAppManifestConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aS as FarmMCPCatalogDetails, aT as ResolvedFarmAppManifestConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
package/dist/app-markdown.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as RouteModule, o as FarmMdxResolvedConfig, k as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { s as FARM_MARKDOWN_CONTENT_TYPE, v as FarmMdxComponent, w as FarmMdxUserConfig, t as createFarmMarkdownErrorBody, u as farmRequestWantsMarkdown, x as resolveFarmMdxComponentsModulePath, y as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { p as RouteModule, o as FarmMdxResolvedConfig, k as FarmMdxComponents } from './client-plugins.d-DnnAopKG.mjs';
|
|
2
|
+
export { s as FARM_MARKDOWN_CONTENT_TYPE, v as FarmMdxComponent, w as FarmMdxUserConfig, t as createFarmMarkdownErrorBody, u as farmRequestWantsMarkdown, x as resolveFarmMdxComponentsModulePath, y as resolveMdxConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.mjs';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageRenderer, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown, withoutFarmMarkdownRouteConfig } from './internal/app-markdown-runtime.mjs';
|
|
5
5
|
import './lifecycle.d-OtGWAvJT.mjs';
|
package/dist/app-markdown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as RouteModule, o as FarmMdxResolvedConfig, k as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { s as FARM_MARKDOWN_CONTENT_TYPE, v as FarmMdxComponent, w as FarmMdxUserConfig, t as createFarmMarkdownErrorBody, u as farmRequestWantsMarkdown, x as resolveFarmMdxComponentsModulePath, y as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { p as RouteModule, o as FarmMdxResolvedConfig, k as FarmMdxComponents } from './client-plugins.d-CqTr5IrQ.js';
|
|
2
|
+
export { s as FARM_MARKDOWN_CONTENT_TYPE, v as FarmMdxComponent, w as FarmMdxUserConfig, t as createFarmMarkdownErrorBody, u as farmRequestWantsMarkdown, x as resolveFarmMdxComponentsModulePath, y as resolveMdxConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.js';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageRenderer, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown, withoutFarmMarkdownRouteConfig } from './internal/app-markdown-runtime.js';
|
|
5
5
|
import './lifecycle.d-OtGWAvJT.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aU as FarmConfig, P as ParsedRoute, bx as ResolvedFarmRouteRuntimeConfig, by as ApplicationMetadataRouteKind, p as RouteModule, b7 as LayoutModule, S as SSGCollectionResult, Q as FarmRequest, T as FarmResponse, bz as ResolvedFarmAPIConfig, aL as FarmDocsResolvedConfig, bw as FarmMarkdownResolvedConfig, o as FarmMdxResolvedConfig, aB as ResolvedFarmDevtoolsConfig, bA as ResolvedFarmDevIndicatorsConfig, bB as ResolvedFarmAuthConfig, bC as ResolvedFarmPerformanceConfig, bD as ResolvedFarmSecurityConfig } from './client-plugins.d-CqTr5IrQ.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
|
-
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d
|
|
5
|
+
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-DuZjglYX.js';
|
|
6
6
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.js';
|
|
7
|
-
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
7
|
+
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-BavTzqsn.js';
|
|
8
8
|
import { ViteDevServer } from 'vite';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
10
10
|
import { FarmRenderer, FarmRendererServerModule } from './renderer.js';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-DaIwnRK2.js';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.js';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-PUA5qBnd.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aU as FarmConfig, P as ParsedRoute, bx as ResolvedFarmRouteRuntimeConfig, by as ApplicationMetadataRouteKind, p as RouteModule, b7 as LayoutModule, S as SSGCollectionResult, Q as FarmRequest, T as FarmResponse, bz as ResolvedFarmAPIConfig, aL as FarmDocsResolvedConfig, bw as FarmMarkdownResolvedConfig, o as FarmMdxResolvedConfig, aB as ResolvedFarmDevtoolsConfig, bA as ResolvedFarmDevIndicatorsConfig, bB as ResolvedFarmAuthConfig, bC as ResolvedFarmPerformanceConfig, bD as ResolvedFarmSecurityConfig } from './client-plugins.d-DnnAopKG.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
|
-
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-
|
|
5
|
+
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-gI3ahrF6.mjs';
|
|
6
6
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.mjs';
|
|
7
|
-
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
7
|
+
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-X3j9FOZ2.mjs';
|
|
8
8
|
import { ViteDevServer } from 'vite';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
10
10
|
import { FarmRenderer, FarmRendererServerModule } from './renderer.mjs';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-vOdZHHLI.mjs';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.mjs';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-CTAXWZby.mjs';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
extractProgrammaticPageCallPathLiterals,
|
|
8
8
|
getProgrammaticRouteDefinitionSource,
|
|
9
9
|
parseProgrammaticRoutePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V2RXBDV6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
normalizeFarmRouteRuntimeConfig
|
|
13
13
|
} from "./chunk-PKMUQ7LM.mjs";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-RLEAVG6G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
resolveDeployOutputPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MVNIAD6O.mjs";
|
|
7
7
|
import {
|
|
8
8
|
farmDesktopDevGuardPlugin,
|
|
9
9
|
loadFarmReactPlugin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6XABTMXR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
generateFarmClientPluginEntryCode,
|
|
13
13
|
hasFarmServerRuntimePlugins,
|
|
14
14
|
loadTailwindVitePlugin
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ADKPJZPP.mjs";
|
|
16
16
|
import {
|
|
17
17
|
resolveFarmPlatform
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W5T3ZAFU.mjs";
|
|
19
19
|
import {
|
|
20
20
|
FARM_RSC_INSTALL_HINT,
|
|
21
21
|
findFarmAppPackageDir,
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
var _chunkP2LSRUQBcjs = require('./chunk-P2LSRUQB.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
var _chunk7QGA6UX6cjs = require('./chunk-7QGA6UX6.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
11
14
|
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
12
15
|
|
|
13
16
|
// src/desktop/config.ts
|
|
@@ -25,8 +28,9 @@ function resolveFarmPlatform(env = process.env) {
|
|
|
25
28
|
const value = env[FARM_PLATFORM_ENV];
|
|
26
29
|
return value === "desktop" || value === "mobile" ? value : "web";
|
|
27
30
|
}
|
|
28
|
-
var DESKTOP_KEYS = /* @__PURE__ */ new Set(["name", "id", "version", "icon", "window", "shell"]);
|
|
31
|
+
var DESKTOP_KEYS = /* @__PURE__ */ new Set(["name", "id", "version", "icon", "window", "permissions", "shell"]);
|
|
29
32
|
var WINDOW_KEYS = /* @__PURE__ */ new Set(["width", "height", "title", "hideOnClose"]);
|
|
33
|
+
var PERMISSION_KEYS = new Set(_chunk7QGA6UX6cjs.FARM_DESKTOP_PERMISSIONS);
|
|
30
34
|
var APP_ID = /^[A-Za-z][A-Za-z0-9-]*(?:\.[A-Za-z0-9][A-Za-z0-9-]*)+$/;
|
|
31
35
|
var SHELL_NAME = /^[a-z][a-z0-9-]*$/;
|
|
32
36
|
var SHELL_PACKAGE = /^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*(?:\/[a-z0-9][a-z0-9._-]*)*$/;
|
|
@@ -74,6 +78,20 @@ function validateFarmDesktopConfig(input, context) {
|
|
|
74
78
|
fail("window.hideOnClose must be true or false.");
|
|
75
79
|
}
|
|
76
80
|
}
|
|
81
|
+
if (input.permissions !== void 0) {
|
|
82
|
+
if (!_chunkP2LSRUQBcjs.isPlainObject.call(void 0, input.permissions)) {
|
|
83
|
+
fail('permissions must be an object, such as { microphone: "Notes records voice memos." }.');
|
|
84
|
+
}
|
|
85
|
+
checkKeys(input.permissions, PERMISSION_KEYS, "permissions.");
|
|
86
|
+
for (const key of PERMISSION_KEYS) {
|
|
87
|
+
const value = input.permissions[key];
|
|
88
|
+
if (value !== void 0 && (typeof value !== "string" || !value.trim())) {
|
|
89
|
+
fail(
|
|
90
|
+
`permissions.${key} must be the sentence macOS shows when it asks for access, such as "Notes records voice memos.", or left out for no access.`
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
77
95
|
const shell = optionalString(input.shell, "shell");
|
|
78
96
|
if (shell !== void 0 && !SHELL_NAME.test(shell) && !shell.includes("/")) {
|
|
79
97
|
fail(`shell must be an adapter name such as "electrobun" or a package name, got "${shell}".`);
|
|
@@ -98,17 +116,23 @@ function resolveFarmDesktopConfig(input, root, context) {
|
|
|
98
116
|
const icon = config.icon ? path.resolve(root, config.icon.trim()) : void 0;
|
|
99
117
|
if (icon && !_fs.existsSync.call(void 0, icon))
|
|
100
118
|
desktopChecker(context).fail(`icon ${config.icon} was not found in ${root}.`);
|
|
119
|
+
const permissions = {};
|
|
120
|
+
for (const key of _chunk7QGA6UX6cjs.FARM_DESKTOP_PERMISSIONS) {
|
|
121
|
+
const sentence = _optionalChain([config, 'access', _7 => _7.permissions, 'optionalAccess', _8 => _8[key], 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
|
|
122
|
+
if (sentence) permissions[key] = sentence;
|
|
123
|
+
}
|
|
101
124
|
return {
|
|
102
125
|
name,
|
|
103
|
-
id: _optionalChain([config, 'access',
|
|
104
|
-
version: _optionalChain([config, 'access',
|
|
126
|
+
id: _optionalChain([config, 'access', _11 => _11.id, 'optionalAccess', _12 => _12.trim, 'call', _13 => _13()]) || `local.farm.${slug(name)}`,
|
|
127
|
+
version: _optionalChain([config, 'access', _14 => _14.version, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || typeof pkg.version === "string" && pkg.version.trim() || "0.0.0",
|
|
105
128
|
...icon ? { icon } : {},
|
|
106
129
|
window: {
|
|
107
|
-
width: _nullishCoalesce(_optionalChain([config, 'access',
|
|
108
|
-
height: _nullishCoalesce(_optionalChain([config, 'access',
|
|
109
|
-
title: _optionalChain([config, 'access',
|
|
110
|
-
hideOnClose: _optionalChain([config, 'access',
|
|
130
|
+
width: _nullishCoalesce(_optionalChain([config, 'access', _17 => _17.window, 'optionalAccess', _18 => _18.width]), () => ( 1024)),
|
|
131
|
+
height: _nullishCoalesce(_optionalChain([config, 'access', _19 => _19.window, 'optionalAccess', _20 => _20.height]), () => ( 768)),
|
|
132
|
+
title: _optionalChain([config, 'access', _21 => _21.window, 'optionalAccess', _22 => _22.title, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || name,
|
|
133
|
+
hideOnClose: _optionalChain([config, 'access', _25 => _25.window, 'optionalAccess', _26 => _26.hideOnClose]) === true
|
|
111
134
|
},
|
|
135
|
+
...Object.keys(permissions).length ? { permissions } : {},
|
|
112
136
|
shell,
|
|
113
137
|
shellPackage: resolveFarmDesktopShellPackage(shell)
|
|
114
138
|
};
|
|
@@ -176,7 +200,7 @@ async function createFarmDesktopSetup(userConfig, root, mode, options, cache) {
|
|
|
176
200
|
mcp: false,
|
|
177
201
|
...userConfig.agent
|
|
178
202
|
},
|
|
179
|
-
images: _optionalChain([userConfig, 'access',
|
|
203
|
+
images: _optionalChain([userConfig, 'access', _27 => _27.images, 'optionalAccess', _28 => _28.provider]) === void 0 ? { ...userConfig.images, provider: "none" } : userConfig.images
|
|
180
204
|
},
|
|
181
205
|
// On Bun by default; the CLI picks node-server for shells that embed Node. A platform
|
|
182
206
|
// build environment (VERCEL=1) must not move it either.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunk5B2Y4EVScjs = require('./chunk-5B2Y4EVS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -16,8 +16,8 @@ function farmDesktopDevGuardPlugin(basePath) {
|
|
|
16
16
|
configureServer: {
|
|
17
17
|
order: "pre",
|
|
18
18
|
async handler(server) {
|
|
19
|
-
if (
|
|
20
|
-
const { createFarmDesktopDevGuard } = await import("./dev-guard-
|
|
19
|
+
if (_chunk5B2Y4EVScjs.resolveFarmPlatform.call(void 0, ) !== "desktop") return;
|
|
20
|
+
const { createFarmDesktopDevGuard } = await import("./dev-guard-5NUIX6IZ.cjs");
|
|
21
21
|
server.middlewares.use(createFarmDesktopDevGuard(server, { basePath: basePath || "" }));
|
|
22
22
|
}
|
|
23
23
|
}
|