@mastra/deployer 1.68.0-alpha.0 → 1.68.0-alpha.6
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/_types/@hono_node-server/package.json +1 -0
- package/dist/_types/@mastra_hono/package.json +1 -0
- package/dist/{analyze-hp4aHpms.cjs → analyze-BC22OIkc.cjs} +109 -94
- package/dist/analyze-BC22OIkc.cjs.map +1 -0
- package/dist/{analyze-B5HY26Tt.js → analyze-D3eRdXC9.js} +107 -91
- package/dist/analyze-D3eRdXC9.js.map +1 -0
- package/dist/{arktype-aI7TBD0R-S0daSmHG.js → arktype-aI7TBD0R-BGjyzmsj.js} +2 -2
- package/dist/{arktype-aI7TBD0R-S0daSmHG.js.map → arktype-aI7TBD0R-BGjyzmsj.js.map} +1 -1
- package/dist/{arktype-aI7TBD0R-BuTX_Phx.cjs → arktype-aI7TBD0R-DCxjN6oF.cjs} +2 -2
- package/dist/{arktype-aI7TBD0R-BuTX_Phx.cjs.map → arktype-aI7TBD0R-DCxjN6oF.cjs.map} +1 -1
- package/dist/build/analyze/analyzeEntry.d.ts +3 -1
- package/dist/build/analyze/analyzeEntry.d.ts.map +1 -1
- package/dist/build/analyze/bundleExternals.d.ts.map +1 -1
- package/dist/build/analyze.cjs +1 -1
- package/dist/build/analyze.d.ts.map +1 -1
- package/dist/build/analyze.js +1 -1
- package/dist/build/bundler.cjs +2 -1
- package/dist/build/bundler.d.ts +10 -0
- package/dist/build/bundler.d.ts.map +1 -1
- package/dist/build/bundler.js +2 -2
- package/dist/build/index.cjs +6 -6
- package/dist/build/index.js +6 -6
- package/dist/build/package-info.d.ts +4 -0
- package/dist/build/package-info.d.ts.map +1 -1
- package/dist/build/plugins/tsconfig-paths.d.ts +2 -1
- package/dist/build/plugins/tsconfig-paths.d.ts.map +1 -1
- package/dist/{build-Boe3fe3L.js → build-C5eBQq1A.js} +6 -6
- package/dist/{build-Boe3fe3L.js.map → build-C5eBQq1A.js.map} +1 -1
- package/dist/{build-Dit9VFE2.cjs → build-D-GPvP7A.cjs} +6 -6
- package/dist/{build-Dit9VFE2.cjs.map → build-D-GPvP7A.cjs.map} +1 -1
- package/dist/bundler/index.cjs +29 -62
- package/dist/bundler/index.cjs.map +1 -1
- package/dist/bundler/index.d.ts +1 -11
- package/dist/bundler/index.d.ts.map +1 -1
- package/dist/bundler/index.js +30 -63
- package/dist/bundler/index.js.map +1 -1
- package/dist/bundler/workspaceDependencies.d.ts +1 -1
- package/dist/bundler/workspaceDependencies.d.ts.map +1 -1
- package/dist/{bundler-CzQiVHzN.js → bundler-CNFQP4Qm.js} +45 -10
- package/dist/bundler-CNFQP4Qm.js.map +1 -0
- package/dist/{bundler-BKf2S2r_.cjs → bundler-I4HUeik1.cjs} +55 -8
- package/dist/bundler-I4HUeik1.cjs.map +1 -0
- package/dist/{bundlerOptions-I2E5y2Wp.cjs → bundlerOptions-CkFbsVoE.cjs} +2 -2
- package/dist/{bundlerOptions-I2E5y2Wp.cjs.map → bundlerOptions-CkFbsVoE.cjs.map} +1 -1
- package/dist/{bundlerOptions-BSySFLb3.js → bundlerOptions-Dg4pdJsM.js} +2 -2
- package/dist/{bundlerOptions-BSySFLb3.js.map → bundlerOptions-Dg4pdJsM.js.map} +1 -1
- package/dist/core-D3wM1JKp.js +1159 -0
- package/dist/core-D3wM1JKp.js.map +1 -0
- package/dist/core-QL_X0T4Y.cjs +1159 -0
- package/dist/core-QL_X0T4Y.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-deployment-monorepo.md +2 -2
- package/dist/{effect-QlVUlMFu-tf02PTZR.cjs → effect-QlVUlMFu-B2nZ842E.cjs} +3 -3
- package/dist/{effect-QlVUlMFu-tf02PTZR.cjs.map → effect-QlVUlMFu-B2nZ842E.cjs.map} +1 -1
- package/dist/{effect-QlVUlMFu-BN-VJnMF.js → effect-QlVUlMFu-DbWuPaWV.js} +3 -3
- package/dist/{effect-QlVUlMFu-BN-VJnMF.js.map → effect-QlVUlMFu-DbWuPaWV.js.map} +1 -1
- package/dist/{esm-DZ1Siz1C.cjs → esm-Ai6osZ1a.cjs} +61 -50
- package/dist/esm-Ai6osZ1a.cjs.map +1 -0
- package/dist/{esm-B51vJPGv.js → esm-D-wYOO-S.js} +61 -50
- package/dist/esm-D-wYOO-S.js.map +1 -0
- package/dist/{index-CLddUTqr-eO-ae7Sx.js → index-CLddUTqr-BXqo9et4.js} +8 -8
- package/dist/{index-CLddUTqr-eO-ae7Sx.js.map → index-CLddUTqr-BXqo9et4.js.map} +1 -1
- package/dist/{index-CLddUTqr-DS5tJ3WV.cjs → index-CLddUTqr-DsGkVS-W.cjs} +8 -8
- package/dist/{index-CLddUTqr-DS5tJ3WV.cjs.map → index-CLddUTqr-DsGkVS-W.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/server/index.cjs +8 -8
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +8 -8
- package/dist/server/index.js.map +1 -1
- package/dist/services/deps.d.ts +1 -1
- package/dist/services/deps.d.ts.map +1 -1
- package/dist/services/index.cjs +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-BLvNG7v7.cjs → services-Beob47UW.cjs} +42 -23
- package/dist/services-Beob47UW.cjs.map +1 -0
- package/dist/{services-B9KRKBT-.js → services-Lm6PRS4D.js} +42 -23
- package/dist/services-Lm6PRS4D.js.map +1 -0
- package/dist/{sury-CWZTCd75-YUPbTtKO.cjs → sury-CWZTCd75-ChXu4j-p.cjs} +3 -3
- package/dist/{sury-CWZTCd75-YUPbTtKO.cjs.map → sury-CWZTCd75-ChXu4j-p.cjs.map} +1 -1
- package/dist/{sury-CWZTCd75-ClSNrMWF.js → sury-CWZTCd75-OKz7uWLi.js} +3 -3
- package/dist/{sury-CWZTCd75-ClSNrMWF.js.map → sury-CWZTCd75-OKz7uWLi.js.map} +1 -1
- package/dist/{typebox-Dei93FPO-CVSJ3SAf.js → typebox-Dei93FPO-C5ACKU09.js} +2 -2
- package/dist/{typebox-Dei93FPO-CVSJ3SAf.js.map → typebox-Dei93FPO-C5ACKU09.js.map} +1 -1
- package/dist/{typebox-Dei93FPO-BTBshlGz.cjs → typebox-Dei93FPO-KTtPU745.cjs} +2 -2
- package/dist/{typebox-Dei93FPO-BTBshlGz.cjs.map → typebox-Dei93FPO-KTtPU745.cjs.map} +1 -1
- package/dist/{utils-DYi43Kp4.js → utils-Bl3Lm7SI.js} +1 -2
- package/dist/{utils-DYi43Kp4.js.map → utils-Bl3Lm7SI.js.map} +1 -1
- package/dist/{utils-7WDNT3Ca.cjs → utils-Bsr_sEcH.cjs} +2 -2
- package/dist/{utils-7WDNT3Ca.cjs.map → utils-Bsr_sEcH.cjs.map} +1 -1
- package/dist/{valibot--1zFm7rT-Dn5WqdyK.cjs → valibot--1zFm7rT-BeX3W1HK.cjs} +3 -3
- package/dist/{valibot--1zFm7rT-Dn5WqdyK.cjs.map → valibot--1zFm7rT-BeX3W1HK.cjs.map} +1 -1
- package/dist/{valibot--1zFm7rT-BxcEC3Pu.js → valibot--1zFm7rT-BuVb-6oJ.js} +3 -3
- package/dist/{valibot--1zFm7rT-BxcEC3Pu.js.map → valibot--1zFm7rT-BuVb-6oJ.js.map} +1 -1
- package/dist/validator/custom-resolver.cjs +1 -1
- package/dist/validator/custom-resolver.js +1 -1
- package/dist/{zod-Bwrt9trS-Bd40XYOT.js → zod-Bwrt9trS-D5b1oyiT.js} +5 -5
- package/dist/{zod-Bwrt9trS-Bd40XYOT.js.map → zod-Bwrt9trS-D5b1oyiT.js.map} +1 -1
- package/dist/{zod-Bwrt9trS-Bi11nE9Q.cjs → zod-Bwrt9trS-DGQs9DWc.cjs} +5 -5
- package/dist/{zod-Bwrt9trS-Bi11nE9Q.cjs.map → zod-Bwrt9trS-DGQs9DWc.cjs.map} +1 -1
- package/package.json +15 -14
- package/dist/analyze-B5HY26Tt.js.map +0 -1
- package/dist/analyze-hp4aHpms.cjs.map +0 -1
- package/dist/bundler-BKf2S2r_.cjs.map +0 -1
- package/dist/bundler-CzQiVHzN.js.map +0 -1
- package/dist/core-D0wEgdn3.cjs +0 -790
- package/dist/core-D0wEgdn3.cjs.map +0 -1
- package/dist/core-DF65PJXc.js +0 -790
- package/dist/core-DF65PJXc.js.map +0 -1
- package/dist/esm-B51vJPGv.js.map +0 -1
- package/dist/esm-DZ1Siz1C.cjs.map +0 -1
- package/dist/services-B9KRKBT-.js.map +0 -1
- package/dist/services-BLvNG7v7.cjs.map +0 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mastra } from '@mastra/core/mastra';
|
|
2
|
-
import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono/dist/index.
|
|
2
|
+
import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono/dist/index.js';
|
|
3
3
|
import { Hono } from 'hono';
|
|
4
4
|
import type { ServerBundleOptions } from './types.js';
|
|
5
5
|
type Bindings = HonoBindings;
|
|
@@ -13,6 +13,6 @@ export declare function createHonoServer(mastra: Mastra, options?: ServerBundleO
|
|
|
13
13
|
Bindings: Bindings;
|
|
14
14
|
Variables: Variables;
|
|
15
15
|
}, import("hono/types").BlankSchema, "/">>;
|
|
16
|
-
export declare function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("../_types/@hono_node-server/dist/index.
|
|
16
|
+
export declare function createNodeServer(mastra: Mastra, options?: ServerBundleOptions): Promise<import("../_types/@hono_node-server/dist/index.mjs").ServerType>;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as normalizeStudioBase, n as escapeStudioHtmlValue, o as injectStudioHtmlConfig } from "../utils-
|
|
2
|
-
import "../index-CLddUTqr-
|
|
1
|
+
import { d as normalizeStudioBase, n as escapeStudioHtmlValue, o as injectStudioHtmlConfig } from "../utils-Bl3Lm7SI.js";
|
|
2
|
+
import "../index-CLddUTqr-BXqo9et4.js";
|
|
3
3
|
import { randomUUID } from "crypto";
|
|
4
4
|
import { createReadStream, existsSync, statSync } from "fs";
|
|
5
5
|
import { readFile } from "fs/promises";
|
|
@@ -32,7 +32,7 @@ import "hono/utils/handler";
|
|
|
32
32
|
import "hono/validator";
|
|
33
33
|
import { HTTPException } from "hono/http-exception";
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/
|
|
35
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/a5684469b73d820c16427572b534c5591df53ea9c5f4cf447ce1042c7c087937/node_modules/@hono/node-server/dist/index.mjs
|
|
36
36
|
var RequestError = class extends Error {
|
|
37
37
|
constructor(message, options) {
|
|
38
38
|
super(message, options);
|
|
@@ -1169,7 +1169,7 @@ const serve = (options, listeningListener) => {
|
|
|
1169
1169
|
return server;
|
|
1170
1170
|
};
|
|
1171
1171
|
//#endregion
|
|
1172
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/
|
|
1172
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/a5684469b73d820c16427572b534c5591df53ea9c5f4cf447ce1042c7c087937/node_modules/@hono/node-server/dist/utils/stream.mjs
|
|
1173
1173
|
const pr54206Applied = () => {
|
|
1174
1174
|
const [major, minor] = versions.node.split(".").map((component) => parseInt(component));
|
|
1175
1175
|
return major >= 23 || major === 22 && minor >= 7 || major === 20 && minor >= 18;
|
|
@@ -1228,7 +1228,7 @@ const createStreamBody = (stream, useNativeReadableToWeb = useReadableToWeb) =>
|
|
|
1228
1228
|
});
|
|
1229
1229
|
};
|
|
1230
1230
|
//#endregion
|
|
1231
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/
|
|
1231
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/node-server/2.0.10/a5684469b73d820c16427572b534c5591df53ea9c5f4cf447ce1042c7c087937/node_modules/@hono/node-server/dist/serve-static.mjs
|
|
1232
1232
|
const COMPRESSIBLE_CONTENT_TYPE_REGEX = /^\s*(?:text\/[^;\s]+|application\/(?:javascript|json|xml|xml-dtd|ecmascript|dart|postscript|rtf|tar|toml|vnd\.dart|vnd\.ms-fontobject|vnd\.ms-opentype|wasm|x-httpd-php|x-javascript|x-ns-proxy-autoconfig|x-sh|x-tar|x-virtualbox-hdd|x-virtualbox-ova|x-virtualbox-ovf|x-virtualbox-vbox|x-virtualbox-vdi|x-virtualbox-vhd|x-virtualbox-vmdk|x-www-form-urlencoded)|font\/(?:otf|ttf)|image\/(?:bmp|vnd\.adobe\.photoshop|vnd\.microsoft\.icon|vnd\.ms-dds|x-icon|x-ms-bmp)|message\/rfc822|model\/gltf-binary|x-shader\/x-fragment|x-shader\/x-vertex|[^;\s]+?\+(?:json|text|xml|yaml))(?:[;\s]|$)/i;
|
|
1233
1233
|
const ENCODINGS = {
|
|
1234
1234
|
br: ".br",
|
|
@@ -1371,7 +1371,7 @@ const serveStatic = (options = { root: "" }) => {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
};
|
|
1373
1373
|
//#endregion
|
|
1374
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/swagger-ui/0.5.3/
|
|
1374
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@hono/swagger-ui/0.5.3/3590b133c266cfa68a8f563d8e7e5c749f211e3cf24cea37b09bf4111885e9ca/node_modules/@hono/swagger-ui/dist/index.js
|
|
1375
1375
|
const RENDER_TYPE = {
|
|
1376
1376
|
STRING_ARRAY: "string_array",
|
|
1377
1377
|
STRING: "string",
|
|
@@ -3207,7 +3207,7 @@ var MastraServer$1 = class extends MastraServer {
|
|
|
3207
3207
|
if (body.requestContext) bodyRequestContext = body.requestContext;
|
|
3208
3208
|
} catch {}
|
|
3209
3209
|
}
|
|
3210
|
-
if (c.req.method === "GET") try {
|
|
3210
|
+
if (c.req.method === "GET" || c.req.method === "POST") try {
|
|
3211
3211
|
const encodedRequestContext = c.req.query("requestContext");
|
|
3212
3212
|
if (encodedRequestContext) try {
|
|
3213
3213
|
paramsRequestContext = JSON.parse(encodedRequestContext);
|
|
@@ -3718,7 +3718,7 @@ var MastraServer$1 = class extends MastraServer {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
};
|
|
3720
3720
|
//#endregion
|
|
3721
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.3.1/
|
|
3721
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.3.1/6bc841d6e289f95fd7cfd8fcdead429c16c34acc92efa4febd25b1c0c5ddd100/node_modules/hono-openapi/dist/index.js
|
|
3722
3722
|
const uniqueSymbol = Symbol("openapi");
|
|
3723
3723
|
function describeRoute(spec) {
|
|
3724
3724
|
const middleware = async (_c, next) => {
|