@mastra/deployer 0.10.7-alpha.2 → 0.10.7-alpha.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.
|
@@ -331,7 +331,18 @@ outputModes?: string[] | null | undefined;
|
|
|
331
331
|
|
|
332
332
|
export declare function getAgentExecutionHandler(c: Context): Promise<Response>;
|
|
333
333
|
|
|
334
|
-
export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<
|
|
334
|
+
export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse< {
|
|
335
|
+
[x: string]: {
|
|
336
|
+
name: any;
|
|
337
|
+
tools: any;
|
|
338
|
+
provider: string;
|
|
339
|
+
instructions: string;
|
|
340
|
+
workflows: {};
|
|
341
|
+
modelId: string;
|
|
342
|
+
defaultGenerateOptions: any;
|
|
343
|
+
defaultStreamOptions: any;
|
|
344
|
+
};
|
|
345
|
+
}, ContentfulStatusCode, "json">>;
|
|
335
346
|
|
|
336
347
|
declare function getBundlerOptions(entryFile: string, outputDir: string): Promise<Config['bundler'] | null>;
|
|
337
348
|
export { getBundlerOptions }
|
|
@@ -331,7 +331,18 @@ outputModes?: string[] | null | undefined;
|
|
|
331
331
|
|
|
332
332
|
export declare function getAgentExecutionHandler(c: Context): Promise<Response>;
|
|
333
333
|
|
|
334
|
-
export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<
|
|
334
|
+
export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse< {
|
|
335
|
+
[x: string]: {
|
|
336
|
+
name: any;
|
|
337
|
+
tools: any;
|
|
338
|
+
provider: string;
|
|
339
|
+
instructions: string;
|
|
340
|
+
workflows: {};
|
|
341
|
+
modelId: string;
|
|
342
|
+
defaultGenerateOptions: any;
|
|
343
|
+
defaultStreamOptions: any;
|
|
344
|
+
};
|
|
345
|
+
}, ContentfulStatusCode, "json">>;
|
|
335
346
|
|
|
336
347
|
declare function getBundlerOptions(entryFile: string, outputDir: string): Promise<Config['bundler'] | null>;
|
|
337
348
|
export { getBundlerOptions }
|
package/dist/server/index.cjs
CHANGED
|
@@ -1000,7 +1000,8 @@ async function generateHandler(c2) {
|
|
|
1000
1000
|
mastra,
|
|
1001
1001
|
agentId,
|
|
1002
1002
|
runtimeContext,
|
|
1003
|
-
body
|
|
1003
|
+
body,
|
|
1004
|
+
abortSignal: c2.req.raw.signal
|
|
1004
1005
|
});
|
|
1005
1006
|
return c2.json(result);
|
|
1006
1007
|
} catch (error) {
|
|
@@ -1017,7 +1018,8 @@ async function streamGenerateHandler(c2) {
|
|
|
1017
1018
|
mastra,
|
|
1018
1019
|
agentId,
|
|
1019
1020
|
runtimeContext,
|
|
1020
|
-
body
|
|
1021
|
+
body,
|
|
1022
|
+
abortSignal: c2.req.raw.signal
|
|
1021
1023
|
});
|
|
1022
1024
|
return streamResponse;
|
|
1023
1025
|
} catch (error) {
|
package/dist/server/index.js
CHANGED
|
@@ -993,7 +993,8 @@ async function generateHandler(c2) {
|
|
|
993
993
|
mastra,
|
|
994
994
|
agentId,
|
|
995
995
|
runtimeContext,
|
|
996
|
-
body
|
|
996
|
+
body,
|
|
997
|
+
abortSignal: c2.req.raw.signal
|
|
997
998
|
});
|
|
998
999
|
return c2.json(result);
|
|
999
1000
|
} catch (error) {
|
|
@@ -1010,7 +1011,8 @@ async function streamGenerateHandler(c2) {
|
|
|
1010
1011
|
mastra,
|
|
1011
1012
|
agentId,
|
|
1012
1013
|
runtimeContext,
|
|
1013
|
-
body
|
|
1014
|
+
body,
|
|
1015
|
+
abortSignal: c2.req.raw.signal
|
|
1014
1016
|
});
|
|
1015
1017
|
return streamResponse;
|
|
1016
1018
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "0.10.7-alpha.
|
|
3
|
+
"version": "0.10.7-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"rollup-plugin-node-externals": "^8.0.1",
|
|
109
109
|
"typescript-paths": "^1.5.1",
|
|
110
110
|
"zod": "^3.25.67",
|
|
111
|
-
"@mastra/server": "^0.10.7-alpha.
|
|
111
|
+
"@mastra/server": "^0.10.7-alpha.3"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@hono/node-server": "^1.14.4",
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
"type-fest": "^4.41.0",
|
|
128
128
|
"typescript": "^5.8.3",
|
|
129
129
|
"vitest": "^2.1.9",
|
|
130
|
-
"@mastra/core": "0.10.7-alpha.2",
|
|
131
130
|
"@internal/lint": "0.0.13",
|
|
131
|
+
"@mastra/core": "0.10.7-alpha.3",
|
|
132
132
|
"@mastra/mcp": "^0.10.5-alpha.1"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|