@mastra/deployer 0.20.2 → 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 +25 -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 +8 -8
- package/dist/chunk-36JTHYM2.js.map +0 -1
- package/dist/chunk-QZSRLR5Y.cjs.map +0 -1
package/dist/server/index.js
CHANGED
|
@@ -828,7 +828,7 @@ var middleware = (options) => async (c2) => {
|
|
|
828
828
|
);
|
|
829
829
|
};
|
|
830
830
|
|
|
831
|
-
// ../../node_modules/.pnpm/hono-openapi@0.4.8_hono@4.9.
|
|
831
|
+
// ../../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
|
|
832
832
|
var e = Symbol("openapi");
|
|
833
833
|
var n = ["GET", "PUT", "POST", "DELETE", "OPTIONS", "HEAD", "PATCH", "TRACE"];
|
|
834
834
|
var s2 = (e2) => e2.charAt(0).toUpperCase() + e2.slice(1);
|
|
@@ -3336,7 +3336,30 @@ function agentsRouter(bodyLimitOptions) {
|
|
|
3336
3336
|
deprecated: true
|
|
3337
3337
|
},
|
|
3338
3338
|
runId: { type: "string" },
|
|
3339
|
-
|
|
3339
|
+
structuredOutput: {
|
|
3340
|
+
type: "object",
|
|
3341
|
+
properties: {
|
|
3342
|
+
schema: { type: "object", description: "The schema to use for the structured output" },
|
|
3343
|
+
model: {
|
|
3344
|
+
type: "string",
|
|
3345
|
+
description: "Additional model to use for generating the structured output if provided"
|
|
3346
|
+
},
|
|
3347
|
+
instructions: {
|
|
3348
|
+
type: "string",
|
|
3349
|
+
description: "Custom instructions to provide to the structuring agent. This will override the default instructions."
|
|
3350
|
+
},
|
|
3351
|
+
errorStrategy: {
|
|
3352
|
+
type: "string",
|
|
3353
|
+
enum: ["strict", "warn", "fallback"],
|
|
3354
|
+
description: "The error strategy to use for the structured output"
|
|
3355
|
+
},
|
|
3356
|
+
fallbackValue: {
|
|
3357
|
+
type: "object",
|
|
3358
|
+
description: "The fallback value to use for the structured output when using 'fallback' error strategy"
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
output: { type: "object", deprecated: true },
|
|
3340
3363
|
tracingOptions: {
|
|
3341
3364
|
type: "object",
|
|
3342
3365
|
description: "Tracing options for the agent execution",
|
|
@@ -3564,7 +3587,30 @@ function agentsRouter(bodyLimitOptions) {
|
|
|
3564
3587
|
deprecated: true
|
|
3565
3588
|
},
|
|
3566
3589
|
runId: { type: "string" },
|
|
3567
|
-
|
|
3590
|
+
structuredOutput: {
|
|
3591
|
+
type: "object",
|
|
3592
|
+
properties: {
|
|
3593
|
+
schema: { type: "object", description: "The schema to use for the structured output" },
|
|
3594
|
+
model: {
|
|
3595
|
+
type: "string",
|
|
3596
|
+
description: "Additional model to use for generating the structured output if provided"
|
|
3597
|
+
},
|
|
3598
|
+
instructions: {
|
|
3599
|
+
type: "string",
|
|
3600
|
+
description: "Custom instructions to provide to the structuring agent. This will override the default instructions."
|
|
3601
|
+
},
|
|
3602
|
+
errorStrategy: {
|
|
3603
|
+
type: "string",
|
|
3604
|
+
enum: ["strict", "warn", "fallback"],
|
|
3605
|
+
description: "The error strategy to use for the structured output"
|
|
3606
|
+
},
|
|
3607
|
+
fallbackValue: {
|
|
3608
|
+
type: "object",
|
|
3609
|
+
description: "The fallback value to use for the structured output when using 'fallback' error strategy"
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3613
|
+
output: { type: "object", deprecated: true },
|
|
3568
3614
|
tracingOptions: {
|
|
3569
3615
|
type: "object",
|
|
3570
3616
|
description: "Tracing options for the agent execution",
|