@mastra/deployer 0.20.2-alpha.1 → 0.21.0-alpha.0
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/CHANGELOG.md +33 -0
- package/dist/build/analyze/bundleExternals.d.ts +4 -1
- package/dist/build/analyze/bundleExternals.d.ts.map +1 -1
- package/dist/build/analyze.cjs +2 -2
- package/dist/build/analyze.js +1 -1
- package/dist/build/bundler.cjs +3 -3
- package/dist/build/bundler.js +1 -1
- package/dist/build/index.cjs +12 -12
- package/dist/build/index.js +4 -4
- package/dist/bundler/index.cjs +2 -2
- package/dist/bundler/index.js +1 -1
- package/dist/{chunk-QZSRLR5Y.cjs → chunk-2TROY6ZL.cjs} +36 -23
- package/dist/chunk-2TROY6ZL.cjs.map +1 -0
- package/dist/{chunk-36JTHYM2.js → chunk-3JKL47PF.js} +36 -23
- package/dist/chunk-3JKL47PF.js.map +1 -0
- package/dist/{chunk-LV3YJXBH.js → chunk-5SQQZCSZ.js} +3 -3
- package/dist/{chunk-LV3YJXBH.js.map → chunk-5SQQZCSZ.js.map} +1 -1
- package/dist/{chunk-B3MAF4HY.cjs → chunk-7VHHRH2P.cjs} +9 -9
- package/dist/{chunk-B3MAF4HY.cjs.map → chunk-7VHHRH2P.cjs.map} +1 -1
- package/dist/{chunk-75YMBRRS.cjs → chunk-DCDNHNNC.cjs} +17 -17
- package/dist/{chunk-75YMBRRS.cjs.map → chunk-DCDNHNNC.cjs.map} +1 -1
- package/dist/{chunk-IJ5XDUJI.js → chunk-MKPUJONL.js} +4 -4
- package/dist/{chunk-IJ5XDUJI.js.map → chunk-MKPUJONL.js.map} +1 -1
- package/dist/{chunk-4JSGBXG4.cjs → chunk-MTGZ2VHE.cjs} +14 -14
- package/dist/{chunk-4JSGBXG4.cjs.map → chunk-MTGZ2VHE.cjs.map} +1 -1
- package/dist/{chunk-J6ARA5AG.js → chunk-ORJZPIKJ.js} +3 -3
- package/dist/{chunk-J6ARA5AG.js.map → chunk-ORJZPIKJ.js.map} +1 -1
- package/dist/{chunk-XJH6DNVG.cjs → chunk-S7HYYJRS.cjs} +5 -5
- package/dist/{chunk-XJH6DNVG.cjs.map → chunk-S7HYYJRS.cjs.map} +1 -1
- package/dist/{chunk-ZGEIJUOE.js → chunk-X6AP4LE6.js} +5 -5
- package/dist/{chunk-ZGEIJUOE.js.map → chunk-X6AP4LE6.js.map} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.js +2 -2
- package/dist/server/handlers/a2a.d.ts +1 -1
- package/dist/server/handlers/routes/agents/handlers.d.ts +4 -4
- package/dist/server/handlers/routes/agents/router.d.ts.map +1 -1
- package/dist/server/handlers/routes/scores/handlers.d.ts +143 -113
- package/dist/server/handlers/routes/scores/handlers.d.ts.map +1 -1
- package/dist/server/index.cjs +49 -3
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +49 -3
- package/dist/server/index.js.map +1 -1
- package/package.json +9 -9
- package/dist/chunk-36JTHYM2.js.map +0 -1
- package/dist/chunk-QZSRLR5Y.cjs.map +0 -1
package/dist/server/index.cjs
CHANGED
|
@@ -854,7 +854,7 @@ var middleware = (options) => async (c2) => {
|
|
|
854
854
|
);
|
|
855
855
|
};
|
|
856
856
|
|
|
857
|
-
// ../../node_modules/.pnpm/hono-openapi@0.4.8_hono@4.9.
|
|
857
|
+
// ../../node_modules/.pnpm/hono-openapi@0.4.8_hono@4.9.10_openapi-types@12.1.3_zod@3.25.76/node_modules/hono-openapi/utils.js
|
|
858
858
|
var e = Symbol("openapi");
|
|
859
859
|
var n = ["GET", "PUT", "POST", "DELETE", "OPTIONS", "HEAD", "PATCH", "TRACE"];
|
|
860
860
|
var s2 = (e2) => e2.charAt(0).toUpperCase() + e2.slice(1);
|
|
@@ -3362,7 +3362,30 @@ function agentsRouter(bodyLimitOptions) {
|
|
|
3362
3362
|
deprecated: true
|
|
3363
3363
|
},
|
|
3364
3364
|
runId: { type: "string" },
|
|
3365
|
-
|
|
3365
|
+
structuredOutput: {
|
|
3366
|
+
type: "object",
|
|
3367
|
+
properties: {
|
|
3368
|
+
schema: { type: "object", description: "The schema to use for the structured output" },
|
|
3369
|
+
model: {
|
|
3370
|
+
type: "string",
|
|
3371
|
+
description: "Additional model to use for generating the structured output if provided"
|
|
3372
|
+
},
|
|
3373
|
+
instructions: {
|
|
3374
|
+
type: "string",
|
|
3375
|
+
description: "Custom instructions to provide to the structuring agent. This will override the default instructions."
|
|
3376
|
+
},
|
|
3377
|
+
errorStrategy: {
|
|
3378
|
+
type: "string",
|
|
3379
|
+
enum: ["strict", "warn", "fallback"],
|
|
3380
|
+
description: "The error strategy to use for the structured output"
|
|
3381
|
+
},
|
|
3382
|
+
fallbackValue: {
|
|
3383
|
+
type: "object",
|
|
3384
|
+
description: "The fallback value to use for the structured output when using 'fallback' error strategy"
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
},
|
|
3388
|
+
output: { type: "object", deprecated: true },
|
|
3366
3389
|
tracingOptions: {
|
|
3367
3390
|
type: "object",
|
|
3368
3391
|
description: "Tracing options for the agent execution",
|
|
@@ -3590,7 +3613,30 @@ function agentsRouter(bodyLimitOptions) {
|
|
|
3590
3613
|
deprecated: true
|
|
3591
3614
|
},
|
|
3592
3615
|
runId: { type: "string" },
|
|
3593
|
-
|
|
3616
|
+
structuredOutput: {
|
|
3617
|
+
type: "object",
|
|
3618
|
+
properties: {
|
|
3619
|
+
schema: { type: "object", description: "The schema to use for the structured output" },
|
|
3620
|
+
model: {
|
|
3621
|
+
type: "string",
|
|
3622
|
+
description: "Additional model to use for generating the structured output if provided"
|
|
3623
|
+
},
|
|
3624
|
+
instructions: {
|
|
3625
|
+
type: "string",
|
|
3626
|
+
description: "Custom instructions to provide to the structuring agent. This will override the default instructions."
|
|
3627
|
+
},
|
|
3628
|
+
errorStrategy: {
|
|
3629
|
+
type: "string",
|
|
3630
|
+
enum: ["strict", "warn", "fallback"],
|
|
3631
|
+
description: "The error strategy to use for the structured output"
|
|
3632
|
+
},
|
|
3633
|
+
fallbackValue: {
|
|
3634
|
+
type: "object",
|
|
3635
|
+
description: "The fallback value to use for the structured output when using 'fallback' error strategy"
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
},
|
|
3639
|
+
output: { type: "object", deprecated: true },
|
|
3594
3640
|
tracingOptions: {
|
|
3595
3641
|
type: "object",
|
|
3596
3642
|
description: "Tracing options for the agent execution",
|