@mastra/deployer 0.21.0-alpha.1 → 0.21.0-alpha.4
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 +24 -0
- 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/scores/handlers.d.ts +111 -111
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.21.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c)]:
|
|
8
|
+
- @mastra/server@0.21.0-alpha.4
|
|
9
|
+
- @mastra/core@0.21.0-alpha.4
|
|
10
|
+
|
|
11
|
+
## 0.21.0-alpha.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8)]:
|
|
16
|
+
- @mastra/core@0.21.0-alpha.3
|
|
17
|
+
- @mastra/server@0.21.0-alpha.3
|
|
18
|
+
|
|
19
|
+
## 0.21.0-alpha.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c)]:
|
|
24
|
+
- @mastra/core@0.21.0-alpha.2
|
|
25
|
+
- @mastra/server@0.21.0-alpha.2
|
|
26
|
+
|
|
3
27
|
## 0.21.0-alpha.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ export declare function getAgentCardByIdHandler(c: Context): Promise<Response &
|
|
|
4
4
|
extensions?: {
|
|
5
5
|
description?: string | undefined;
|
|
6
6
|
params?: {
|
|
7
|
-
[x: string]:
|
|
7
|
+
[x: string]: never;
|
|
8
8
|
} | undefined;
|
|
9
9
|
required?: boolean | undefined;
|
|
10
10
|
uri: string;
|
|
@@ -93,10 +93,10 @@ export declare function getAgentsHandler(c: Context): Promise<Response & import(
|
|
|
93
93
|
};
|
|
94
94
|
}[] | undefined;
|
|
95
95
|
defaultGenerateOptions?: {
|
|
96
|
-
[x: string]:
|
|
96
|
+
[x: string]: never;
|
|
97
97
|
} | undefined;
|
|
98
98
|
defaultStreamOptions?: {
|
|
99
|
-
[x: string]:
|
|
99
|
+
[x: string]: never;
|
|
100
100
|
} | undefined;
|
|
101
101
|
};
|
|
102
102
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>;
|
|
@@ -192,10 +192,10 @@ export declare function getAgentByIdHandler(c: Context): Promise<Response & impo
|
|
|
192
192
|
};
|
|
193
193
|
}[] | undefined;
|
|
194
194
|
defaultGenerateOptions?: {
|
|
195
|
-
[x: string]:
|
|
195
|
+
[x: string]: never;
|
|
196
196
|
} | undefined;
|
|
197
197
|
defaultStreamOptions?: {
|
|
198
|
-
[x: string]:
|
|
198
|
+
[x: string]: never;
|
|
199
199
|
} | undefined;
|
|
200
200
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>;
|
|
201
201
|
export declare function getEvalsByAgentIdHandler(c: Context): Promise<Response & import("hono").TypedResponse<{
|
|
@@ -13,23 +13,23 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
13
13
|
readonly defaultObjectGenerationMode: "tool" | "json" | undefined;
|
|
14
14
|
readonly supportsImageUrls?: boolean | undefined;
|
|
15
15
|
readonly supportsStructuredOutputs?: boolean | undefined;
|
|
16
|
-
supportsUrl?: undefined;
|
|
17
|
-
doGenerate:
|
|
18
|
-
doStream:
|
|
16
|
+
supportsUrl?: {} | undefined;
|
|
17
|
+
doGenerate: {};
|
|
18
|
+
doStream: {};
|
|
19
19
|
} | {
|
|
20
20
|
readonly specificationVersion: "v2";
|
|
21
21
|
readonly provider: string;
|
|
22
22
|
readonly modelId: string;
|
|
23
23
|
supportedUrls: {
|
|
24
24
|
[x: string]: {
|
|
25
|
-
exec:
|
|
26
|
-
test:
|
|
25
|
+
exec: {};
|
|
26
|
+
test: {};
|
|
27
27
|
readonly source: string;
|
|
28
28
|
readonly global: boolean;
|
|
29
29
|
readonly ignoreCase: boolean;
|
|
30
30
|
readonly multiline: boolean;
|
|
31
31
|
lastIndex: number;
|
|
32
|
-
compile:
|
|
32
|
+
compile: {};
|
|
33
33
|
readonly flags: string;
|
|
34
34
|
readonly sticky: boolean;
|
|
35
35
|
readonly unicode: boolean;
|
|
@@ -37,10 +37,10 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
37
37
|
readonly hasIndices: boolean;
|
|
38
38
|
}[];
|
|
39
39
|
} | {
|
|
40
|
-
then:
|
|
40
|
+
then: {};
|
|
41
41
|
};
|
|
42
|
-
doGenerate:
|
|
43
|
-
doStream:
|
|
42
|
+
doGenerate: {};
|
|
43
|
+
doStream: {};
|
|
44
44
|
} | {
|
|
45
45
|
id: `${string}/${string}`;
|
|
46
46
|
url?: string | undefined;
|
|
@@ -65,7 +65,7 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
65
65
|
readonly _output: any;
|
|
66
66
|
readonly _input: any;
|
|
67
67
|
readonly _def: {
|
|
68
|
-
errorMap?: undefined;
|
|
68
|
+
errorMap?: {} | undefined;
|
|
69
69
|
description?: string | undefined | undefined;
|
|
70
70
|
};
|
|
71
71
|
readonly description: string | undefined;
|
|
@@ -77,34 +77,34 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
77
77
|
readonly output: any;
|
|
78
78
|
} | undefined;
|
|
79
79
|
};
|
|
80
|
-
_parse:
|
|
81
|
-
_getType:
|
|
82
|
-
_getOrReturnCtx:
|
|
83
|
-
_processInputParams:
|
|
84
|
-
_parseSync:
|
|
85
|
-
_parseAsync:
|
|
86
|
-
parse:
|
|
87
|
-
safeParse:
|
|
88
|
-
parseAsync:
|
|
89
|
-
safeParseAsync:
|
|
90
|
-
spa:
|
|
91
|
-
refine:
|
|
92
|
-
refinement:
|
|
93
|
-
_refinement:
|
|
94
|
-
superRefine:
|
|
95
|
-
or:
|
|
96
|
-
and:
|
|
97
|
-
transform:
|
|
98
|
-
brand:
|
|
99
|
-
describe:
|
|
100
|
-
pipe:
|
|
80
|
+
_parse: {};
|
|
81
|
+
_getType: {};
|
|
82
|
+
_getOrReturnCtx: {};
|
|
83
|
+
_processInputParams: {};
|
|
84
|
+
_parseSync: {};
|
|
85
|
+
_parseAsync: {};
|
|
86
|
+
parse: {};
|
|
87
|
+
safeParse: {};
|
|
88
|
+
parseAsync: {};
|
|
89
|
+
safeParseAsync: {};
|
|
90
|
+
spa: {};
|
|
91
|
+
refine: {};
|
|
92
|
+
refinement: {};
|
|
93
|
+
_refinement: {};
|
|
94
|
+
superRefine: {};
|
|
95
|
+
or: {};
|
|
96
|
+
and: {};
|
|
97
|
+
transform: {};
|
|
98
|
+
brand: {};
|
|
99
|
+
describe: {};
|
|
100
|
+
pipe: {};
|
|
101
101
|
};
|
|
102
102
|
output: {
|
|
103
103
|
readonly _type: any;
|
|
104
104
|
readonly _output: any;
|
|
105
105
|
readonly _input: any;
|
|
106
106
|
readonly _def: {
|
|
107
|
-
errorMap?: undefined;
|
|
107
|
+
errorMap?: {} | undefined;
|
|
108
108
|
description?: string | undefined | undefined;
|
|
109
109
|
};
|
|
110
110
|
readonly description: string | undefined;
|
|
@@ -116,27 +116,27 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
116
116
|
readonly output: any;
|
|
117
117
|
} | undefined;
|
|
118
118
|
};
|
|
119
|
-
_parse:
|
|
120
|
-
_getType:
|
|
121
|
-
_getOrReturnCtx:
|
|
122
|
-
_processInputParams:
|
|
123
|
-
_parseSync:
|
|
124
|
-
_parseAsync:
|
|
125
|
-
parse:
|
|
126
|
-
safeParse:
|
|
127
|
-
parseAsync:
|
|
128
|
-
safeParseAsync:
|
|
129
|
-
spa:
|
|
130
|
-
refine:
|
|
131
|
-
refinement:
|
|
132
|
-
_refinement:
|
|
133
|
-
superRefine:
|
|
134
|
-
or:
|
|
135
|
-
and:
|
|
136
|
-
transform:
|
|
137
|
-
brand:
|
|
138
|
-
describe:
|
|
139
|
-
pipe:
|
|
119
|
+
_parse: {};
|
|
120
|
+
_getType: {};
|
|
121
|
+
_getOrReturnCtx: {};
|
|
122
|
+
_processInputParams: {};
|
|
123
|
+
_parseSync: {};
|
|
124
|
+
_parseAsync: {};
|
|
125
|
+
parse: {};
|
|
126
|
+
safeParse: {};
|
|
127
|
+
parseAsync: {};
|
|
128
|
+
safeParseAsync: {};
|
|
129
|
+
spa: {};
|
|
130
|
+
refine: {};
|
|
131
|
+
refinement: {};
|
|
132
|
+
_refinement: {};
|
|
133
|
+
superRefine: {};
|
|
134
|
+
or: {};
|
|
135
|
+
and: {};
|
|
136
|
+
transform: {};
|
|
137
|
+
brand: {};
|
|
138
|
+
describe: {};
|
|
139
|
+
pipe: {};
|
|
140
140
|
};
|
|
141
141
|
} | undefined;
|
|
142
142
|
};
|
|
@@ -146,7 +146,7 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
146
146
|
readonly _output: any;
|
|
147
147
|
readonly _input: any;
|
|
148
148
|
readonly _def: {
|
|
149
|
-
errorMap?: undefined;
|
|
149
|
+
errorMap?: {} | undefined;
|
|
150
150
|
description?: string | undefined | undefined;
|
|
151
151
|
};
|
|
152
152
|
readonly description: string | undefined;
|
|
@@ -158,34 +158,34 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
158
158
|
readonly output: any;
|
|
159
159
|
} | undefined;
|
|
160
160
|
};
|
|
161
|
-
_parse:
|
|
162
|
-
_getType:
|
|
163
|
-
_getOrReturnCtx:
|
|
164
|
-
_processInputParams:
|
|
165
|
-
_parseSync:
|
|
166
|
-
_parseAsync:
|
|
167
|
-
parse:
|
|
168
|
-
safeParse:
|
|
169
|
-
parseAsync:
|
|
170
|
-
safeParseAsync:
|
|
171
|
-
spa:
|
|
172
|
-
refine:
|
|
173
|
-
refinement:
|
|
174
|
-
_refinement:
|
|
175
|
-
superRefine:
|
|
176
|
-
or:
|
|
177
|
-
and:
|
|
178
|
-
transform:
|
|
179
|
-
brand:
|
|
180
|
-
describe:
|
|
181
|
-
pipe:
|
|
161
|
+
_parse: {};
|
|
162
|
+
_getType: {};
|
|
163
|
+
_getOrReturnCtx: {};
|
|
164
|
+
_processInputParams: {};
|
|
165
|
+
_parseSync: {};
|
|
166
|
+
_parseAsync: {};
|
|
167
|
+
parse: {};
|
|
168
|
+
safeParse: {};
|
|
169
|
+
parseAsync: {};
|
|
170
|
+
safeParseAsync: {};
|
|
171
|
+
spa: {};
|
|
172
|
+
refine: {};
|
|
173
|
+
refinement: {};
|
|
174
|
+
_refinement: {};
|
|
175
|
+
superRefine: {};
|
|
176
|
+
or: {};
|
|
177
|
+
and: {};
|
|
178
|
+
transform: {};
|
|
179
|
+
brand: {};
|
|
180
|
+
describe: {};
|
|
181
|
+
pipe: {};
|
|
182
182
|
};
|
|
183
183
|
output: {
|
|
184
184
|
readonly _type: any;
|
|
185
185
|
readonly _output: any;
|
|
186
186
|
readonly _input: any;
|
|
187
187
|
readonly _def: {
|
|
188
|
-
errorMap?: undefined;
|
|
188
|
+
errorMap?: {} | undefined;
|
|
189
189
|
description?: string | undefined | undefined;
|
|
190
190
|
};
|
|
191
191
|
readonly description: string | undefined;
|
|
@@ -197,27 +197,27 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
197
197
|
readonly output: any;
|
|
198
198
|
} | undefined;
|
|
199
199
|
};
|
|
200
|
-
_parse:
|
|
201
|
-
_getType:
|
|
202
|
-
_getOrReturnCtx:
|
|
203
|
-
_processInputParams:
|
|
204
|
-
_parseSync:
|
|
205
|
-
_parseAsync:
|
|
206
|
-
parse:
|
|
207
|
-
safeParse:
|
|
208
|
-
parseAsync:
|
|
209
|
-
safeParseAsync:
|
|
210
|
-
spa:
|
|
211
|
-
refine:
|
|
212
|
-
refinement:
|
|
213
|
-
_refinement:
|
|
214
|
-
superRefine:
|
|
215
|
-
or:
|
|
216
|
-
and:
|
|
217
|
-
transform:
|
|
218
|
-
brand:
|
|
219
|
-
describe:
|
|
220
|
-
pipe:
|
|
200
|
+
_parse: {};
|
|
201
|
+
_getType: {};
|
|
202
|
+
_getOrReturnCtx: {};
|
|
203
|
+
_processInputParams: {};
|
|
204
|
+
_parseSync: {};
|
|
205
|
+
_parseAsync: {};
|
|
206
|
+
parse: {};
|
|
207
|
+
safeParse: {};
|
|
208
|
+
parseAsync: {};
|
|
209
|
+
safeParseAsync: {};
|
|
210
|
+
spa: {};
|
|
211
|
+
refine: {};
|
|
212
|
+
refinement: {};
|
|
213
|
+
_refinement: {};
|
|
214
|
+
superRefine: {};
|
|
215
|
+
or: {};
|
|
216
|
+
and: {};
|
|
217
|
+
transform: {};
|
|
218
|
+
brand: {};
|
|
219
|
+
describe: {};
|
|
220
|
+
pipe: {};
|
|
221
221
|
};
|
|
222
222
|
} | undefined;
|
|
223
223
|
readonly name: any;
|
|
@@ -230,23 +230,23 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
230
230
|
readonly defaultObjectGenerationMode: "tool" | "json" | undefined;
|
|
231
231
|
readonly supportsImageUrls?: boolean | undefined;
|
|
232
232
|
readonly supportsStructuredOutputs?: boolean | undefined;
|
|
233
|
-
supportsUrl?: undefined;
|
|
234
|
-
doGenerate:
|
|
235
|
-
doStream:
|
|
233
|
+
supportsUrl?: {} | undefined;
|
|
234
|
+
doGenerate: {};
|
|
235
|
+
doStream: {};
|
|
236
236
|
} | {
|
|
237
237
|
readonly specificationVersion: "v2";
|
|
238
238
|
readonly provider: string;
|
|
239
239
|
readonly modelId: string;
|
|
240
240
|
supportedUrls: {
|
|
241
241
|
[x: string]: {
|
|
242
|
-
exec:
|
|
243
|
-
test:
|
|
242
|
+
exec: {};
|
|
243
|
+
test: {};
|
|
244
244
|
readonly source: string;
|
|
245
245
|
readonly global: boolean;
|
|
246
246
|
readonly ignoreCase: boolean;
|
|
247
247
|
readonly multiline: boolean;
|
|
248
248
|
lastIndex: number;
|
|
249
|
-
compile:
|
|
249
|
+
compile: {};
|
|
250
250
|
readonly flags: string;
|
|
251
251
|
readonly sticky: boolean;
|
|
252
252
|
readonly unicode: boolean;
|
|
@@ -254,10 +254,10 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
254
254
|
readonly hasIndices: boolean;
|
|
255
255
|
}[];
|
|
256
256
|
} | {
|
|
257
|
-
then:
|
|
257
|
+
then: {};
|
|
258
258
|
};
|
|
259
|
-
doGenerate:
|
|
260
|
-
doStream:
|
|
259
|
+
doGenerate: {};
|
|
260
|
+
doStream: {};
|
|
261
261
|
} | {
|
|
262
262
|
id: `${string}/${string}`;
|
|
263
263
|
url?: string | undefined;
|
|
@@ -276,11 +276,11 @@ export declare function getScorerHandler(c: Context): Promise<Response & import(
|
|
|
276
276
|
};
|
|
277
277
|
instructions: string;
|
|
278
278
|
} | undefined;
|
|
279
|
-
preprocess:
|
|
280
|
-
analyze:
|
|
281
|
-
generateScore:
|
|
282
|
-
generateReason:
|
|
283
|
-
run:
|
|
279
|
+
preprocess: {};
|
|
280
|
+
analyze: {};
|
|
281
|
+
generateScore: {};
|
|
282
|
+
generateReason: {};
|
|
283
|
+
run: {};
|
|
284
284
|
};
|
|
285
285
|
sampling?: {
|
|
286
286
|
type: "none";
|
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.7_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);
|