@mastra/server 0.0.0-mcp-server-update-parse-20250421171139 → 0.0.0-mcp-schema-serializer-20250430202337

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.
Files changed (33) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +111 -30
  2. package/dist/_tsup-dts-rollup.d.ts +111 -30
  3. package/dist/{chunk-4WJ5GHRG.cjs → chunk-4BIX6GMY.cjs} +56 -31
  4. package/dist/{chunk-A7DF4ETD.cjs → chunk-55HTWX4C.cjs} +2 -9
  5. package/dist/{chunk-XISBMH56.js → chunk-5JNVY6DU.js} +4 -4
  6. package/dist/{chunk-JLDXUWK7.cjs → chunk-5YGDYMRB.cjs} +52 -31
  7. package/dist/chunk-AELYAUEE.cjs +316 -0
  8. package/dist/{chunk-HABV7TZK.cjs → chunk-D3G23FP3.cjs} +4 -4
  9. package/dist/{chunk-RNU4JMLM.cjs → chunk-EVCC233P.cjs} +15 -11
  10. package/dist/chunk-JPB6RPGB.js +304 -0
  11. package/dist/{chunk-4B7OUZXW.js → chunk-M3YJLWTU.js} +15 -11
  12. package/dist/{chunk-3RVHWGWO.js → chunk-Q6SHQECN.js} +2 -9
  13. package/dist/{chunk-YANVFOYA.js → chunk-QJ3AHN64.js} +52 -31
  14. package/dist/{chunk-TFFNX7FI.js → chunk-Y3SV5XK4.js} +56 -31
  15. package/dist/server/handlers/agents.cjs +7 -7
  16. package/dist/server/handlers/agents.js +1 -1
  17. package/dist/server/handlers/network.cjs +5 -5
  18. package/dist/server/handlers/network.js +1 -1
  19. package/dist/server/handlers/tools.cjs +5 -5
  20. package/dist/server/handlers/tools.js +1 -1
  21. package/dist/server/handlers/vNextWorkflows.cjs +46 -0
  22. package/dist/server/handlers/vNextWorkflows.d.cts +10 -0
  23. package/dist/server/handlers/vNextWorkflows.d.ts +10 -0
  24. package/dist/server/handlers/vNextWorkflows.js +1 -0
  25. package/dist/server/handlers/voice.cjs +4 -4
  26. package/dist/server/handlers/voice.js +1 -1
  27. package/dist/server/handlers/workflows.cjs +11 -11
  28. package/dist/server/handlers/workflows.js +1 -1
  29. package/dist/server/handlers.cjs +15 -10
  30. package/dist/server/handlers.d.cts +1 -0
  31. package/dist/server/handlers.d.ts +1 -0
  32. package/dist/server/handlers.js +6 -5
  33. package/package.json +5 -5
@@ -13,27 +13,35 @@ __export(agents_exports, {
13
13
  getLiveEvalsByAgentIdHandler: () => getLiveEvalsByAgentIdHandler,
14
14
  streamGenerateHandler: () => streamGenerateHandler
15
15
  });
16
- async function getAgentsHandler({ mastra }) {
16
+ async function getAgentsHandler({ mastra, runtimeContext }) {
17
17
  try {
18
18
  const agents = mastra.getAgents();
19
- const serializedAgents = Object.entries(agents).reduce((acc, [_id, _agent]) => {
20
- const agent = _agent;
21
- const serializedAgentTools = Object.entries(agent?.tools || {}).reduce((acc2, [key, tool]) => {
22
- const _tool = tool;
23
- acc2[key] = {
24
- ..._tool,
25
- inputSchema: _tool.inputSchema ? stringify(esm_default(_tool.inputSchema)) : void 0,
26
- outputSchema: _tool.outputSchema ? stringify(esm_default(_tool.outputSchema)) : void 0
19
+ const serializedAgentsMap = await Promise.all(
20
+ Object.entries(agents).map(async ([id, agent]) => {
21
+ const instructions = await agent.getInstructions({ runtimeContext });
22
+ const tools = await agent.getTools({ runtimeContext });
23
+ const llm = await agent.getLLM({ runtimeContext });
24
+ const serializedAgentTools = Object.entries(tools || {}).reduce((acc, [key, tool]) => {
25
+ const _tool = tool;
26
+ acc[key] = {
27
+ ..._tool,
28
+ inputSchema: _tool.inputSchema ? stringify(esm_default(_tool.inputSchema)) : void 0,
29
+ outputSchema: _tool.outputSchema ? stringify(esm_default(_tool.outputSchema)) : void 0
30
+ };
31
+ return acc;
32
+ }, {});
33
+ return {
34
+ id,
35
+ name: agent.name,
36
+ instructions,
37
+ tools: serializedAgentTools,
38
+ provider: llm?.getProvider(),
39
+ modelId: llm?.getModelId()
27
40
  };
28
- return acc2;
29
- }, {});
30
- acc[_id] = {
31
- name: agent.name,
32
- instructions: agent.instructions,
33
- tools: serializedAgentTools,
34
- provider: agent.llm?.getProvider(),
35
- modelId: agent.llm?.getModelId()
36
- };
41
+ })
42
+ );
43
+ const serializedAgents = serializedAgentsMap.reduce((acc, { id, ...rest }) => {
44
+ acc[id] = rest;
37
45
  return acc;
38
46
  }, {});
39
47
  return serializedAgents;
@@ -41,13 +49,18 @@ async function getAgentsHandler({ mastra }) {
41
49
  return handleError(error, "Error getting agents");
42
50
  }
43
51
  }
44
- async function getAgentByIdHandler({ mastra, agentId }) {
52
+ async function getAgentByIdHandler({
53
+ mastra,
54
+ runtimeContext,
55
+ agentId
56
+ }) {
45
57
  try {
46
58
  const agent = mastra.getAgent(agentId);
47
59
  if (!agent) {
48
60
  throw new HTTPException(404, { message: "Agent not found" });
49
61
  }
50
- const serializedAgentTools = Object.entries(agent?.tools || {}).reduce((acc, [key, tool]) => {
62
+ const tools = await agent.getTools({ runtimeContext });
63
+ const serializedAgentTools = Object.entries(tools || {}).reduce((acc, [key, tool]) => {
51
64
  const _tool = tool;
52
65
  acc[key] = {
53
66
  ..._tool,
@@ -56,39 +69,51 @@ async function getAgentByIdHandler({ mastra, agentId }) {
56
69
  };
57
70
  return acc;
58
71
  }, {});
72
+ const instructions = await agent.getInstructions({ runtimeContext });
73
+ const llm = await agent.getLLM({ runtimeContext });
59
74
  return {
60
75
  name: agent.name,
61
- instructions: agent.instructions,
76
+ instructions,
62
77
  tools: serializedAgentTools,
63
- provider: agent.llm?.getProvider(),
64
- modelId: agent.llm?.getModelId()
78
+ provider: llm?.getProvider(),
79
+ modelId: llm?.getModelId()
65
80
  };
66
81
  } catch (error) {
67
82
  return handleError(error, "Error getting agent");
68
83
  }
69
84
  }
70
- async function getEvalsByAgentIdHandler({ mastra, agentId }) {
85
+ async function getEvalsByAgentIdHandler({
86
+ mastra,
87
+ runtimeContext,
88
+ agentId
89
+ }) {
71
90
  try {
72
91
  const agent = mastra.getAgent(agentId);
73
92
  const evals = await mastra.getStorage()?.getEvalsByAgentName?.(agent.name, "test") || [];
93
+ const instructions = await agent.getInstructions({ runtimeContext });
74
94
  return {
75
95
  id: agentId,
76
96
  name: agent.name,
77
- instructions: agent.instructions,
97
+ instructions,
78
98
  evals
79
99
  };
80
100
  } catch (error) {
81
101
  return handleError(error, "Error getting test evals");
82
102
  }
83
103
  }
84
- async function getLiveEvalsByAgentIdHandler({ mastra, agentId }) {
104
+ async function getLiveEvalsByAgentIdHandler({
105
+ mastra,
106
+ runtimeContext,
107
+ agentId
108
+ }) {
85
109
  try {
86
110
  const agent = mastra.getAgent(agentId);
87
111
  const evals = await mastra.getStorage()?.getEvalsByAgentName?.(agent.name, "live") || [];
112
+ const instructions = await agent.getInstructions({ runtimeContext });
88
113
  return {
89
114
  id: agentId,
90
115
  name: agent.name,
91
- instructions: agent.instructions,
116
+ instructions,
92
117
  evals
93
118
  };
94
119
  } catch (error) {
@@ -97,7 +122,7 @@ async function getLiveEvalsByAgentIdHandler({ mastra, agentId }) {
97
122
  }
98
123
  async function generateHandler({
99
124
  mastra,
100
- container,
125
+ runtimeContext,
101
126
  agentId,
102
127
  body
103
128
  }) {
@@ -113,7 +138,7 @@ async function generateHandler({
113
138
  ...rest,
114
139
  // @ts-expect-error TODO fix types
115
140
  resourceId: finalResourceId,
116
- container
141
+ runtimeContext
117
142
  });
118
143
  return result;
119
144
  } catch (error) {
@@ -122,7 +147,7 @@ async function generateHandler({
122
147
  }
123
148
  async function streamGenerateHandler({
124
149
  mastra,
125
- container,
150
+ runtimeContext,
126
151
  agentId,
127
152
  body
128
153
  }) {
@@ -138,7 +163,7 @@ async function streamGenerateHandler({
138
163
  ...rest,
139
164
  // @ts-expect-error TODO fix types
140
165
  resourceId: finalResourceId,
141
- container
166
+ runtimeContext
142
167
  });
143
168
  const streamResponse = rest.output ? streamResult.toTextStreamResponse() : streamResult.toDataStreamResponse({
144
169
  sendUsage: true,
@@ -1,30 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var chunk4WJ5GHRG_cjs = require('../../chunk-4WJ5GHRG.cjs');
3
+ var chunk4BIX6GMY_cjs = require('../../chunk-4BIX6GMY.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "generateHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunk4WJ5GHRG_cjs.generateHandler; }
9
+ get: function () { return chunk4BIX6GMY_cjs.generateHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getAgentByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunk4WJ5GHRG_cjs.getAgentByIdHandler; }
13
+ get: function () { return chunk4BIX6GMY_cjs.getAgentByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getAgentsHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunk4WJ5GHRG_cjs.getAgentsHandler; }
17
+ get: function () { return chunk4BIX6GMY_cjs.getAgentsHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunk4WJ5GHRG_cjs.getEvalsByAgentIdHandler; }
21
+ get: function () { return chunk4BIX6GMY_cjs.getEvalsByAgentIdHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunk4WJ5GHRG_cjs.getLiveEvalsByAgentIdHandler; }
25
+ get: function () { return chunk4BIX6GMY_cjs.getLiveEvalsByAgentIdHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "streamGenerateHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunk4WJ5GHRG_cjs.streamGenerateHandler; }
29
+ get: function () { return chunk4BIX6GMY_cjs.streamGenerateHandler; }
30
30
  });
@@ -1 +1 @@
1
- export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-TFFNX7FI.js';
1
+ export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-Y3SV5XK4.js';
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkJLDXUWK7_cjs = require('../../chunk-JLDXUWK7.cjs');
3
+ var chunk5YGDYMRB_cjs = require('../../chunk-5YGDYMRB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "generateHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkJLDXUWK7_cjs.generateHandler; }
9
+ get: function () { return chunk5YGDYMRB_cjs.generateHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getNetworkByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkJLDXUWK7_cjs.getNetworkByIdHandler; }
13
+ get: function () { return chunk5YGDYMRB_cjs.getNetworkByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getNetworksHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkJLDXUWK7_cjs.getNetworksHandler; }
17
+ get: function () { return chunk5YGDYMRB_cjs.getNetworksHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "streamGenerateHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkJLDXUWK7_cjs.streamGenerateHandler; }
21
+ get: function () { return chunk5YGDYMRB_cjs.streamGenerateHandler; }
22
22
  });
@@ -1 +1 @@
1
- export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-YANVFOYA.js';
1
+ export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-QJ3AHN64.js';
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkHABV7TZK_cjs = require('../../chunk-HABV7TZK.cjs');
3
+ var chunkD3G23FP3_cjs = require('../../chunk-D3G23FP3.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "executeAgentToolHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkHABV7TZK_cjs.executeAgentToolHandler; }
9
+ get: function () { return chunkD3G23FP3_cjs.executeAgentToolHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "executeToolHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkHABV7TZK_cjs.executeToolHandler; }
13
+ get: function () { return chunkD3G23FP3_cjs.executeToolHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getToolByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkHABV7TZK_cjs.getToolByIdHandler; }
17
+ get: function () { return chunkD3G23FP3_cjs.getToolByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getToolsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkHABV7TZK_cjs.getToolsHandler; }
21
+ get: function () { return chunkD3G23FP3_cjs.getToolsHandler; }
22
22
  });
@@ -1 +1 @@
1
- export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-XISBMH56.js';
1
+ export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-5JNVY6DU.js';
@@ -0,0 +1,46 @@
1
+ 'use strict';
2
+
3
+ var chunkAELYAUEE_cjs = require('../../chunk-AELYAUEE.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunkAELYAUEE_cjs.createVNextWorkflowRunHandler; }
10
+ });
11
+ Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowByIdHandler; }
14
+ });
15
+ Object.defineProperty(exports, "getVNextWorkflowRunHandler", {
16
+ enumerable: true,
17
+ get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowRunHandler; }
18
+ });
19
+ Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
20
+ enumerable: true,
21
+ get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowRunsHandler; }
22
+ });
23
+ Object.defineProperty(exports, "getVNextWorkflowsHandler", {
24
+ enumerable: true,
25
+ get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowsHandler; }
26
+ });
27
+ Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
28
+ enumerable: true,
29
+ get: function () { return chunkAELYAUEE_cjs.resumeAsyncVNextWorkflowHandler; }
30
+ });
31
+ Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
32
+ enumerable: true,
33
+ get: function () { return chunkAELYAUEE_cjs.resumeVNextWorkflowHandler; }
34
+ });
35
+ Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
36
+ enumerable: true,
37
+ get: function () { return chunkAELYAUEE_cjs.startAsyncVNextWorkflowHandler; }
38
+ });
39
+ Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
40
+ enumerable: true,
41
+ get: function () { return chunkAELYAUEE_cjs.startVNextWorkflowRunHandler; }
42
+ });
43
+ Object.defineProperty(exports, "watchVNextWorkflowHandler", {
44
+ enumerable: true,
45
+ get: function () { return chunkAELYAUEE_cjs.watchVNextWorkflowHandler; }
46
+ });
@@ -0,0 +1,10 @@
1
+ export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
2
+ export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
4
+ export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
5
+ export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
6
+ export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
7
+ export { watchVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
8
+ export { resumeAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
9
+ export { resumeVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
10
+ export { getVNextWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
@@ -0,0 +1,10 @@
1
+ export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.js';
2
+ export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
4
+ export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
5
+ export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
6
+ export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
7
+ export { watchVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
8
+ export { resumeAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
9
+ export { resumeVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
10
+ export { getVNextWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
@@ -0,0 +1 @@
1
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-JPB6RPGB.js';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkA7DF4ETD_cjs = require('../../chunk-A7DF4ETD.cjs');
3
+ var chunk55HTWX4C_cjs = require('../../chunk-55HTWX4C.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "generateSpeechHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkA7DF4ETD_cjs.generateSpeechHandler; }
9
+ get: function () { return chunk55HTWX4C_cjs.generateSpeechHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getSpeakersHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkA7DF4ETD_cjs.getSpeakersHandler; }
13
+ get: function () { return chunk55HTWX4C_cjs.getSpeakersHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "transcribeSpeechHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkA7DF4ETD_cjs.transcribeSpeechHandler; }
17
+ get: function () { return chunk55HTWX4C_cjs.transcribeSpeechHandler; }
18
18
  });
@@ -1 +1 @@
1
- export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-3RVHWGWO.js';
1
+ export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-Q6SHQECN.js';
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkRNU4JMLM_cjs = require('../../chunk-RNU4JMLM.cjs');
3
+ var chunkEVCC233P_cjs = require('../../chunk-EVCC233P.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkRNU4JMLM_cjs.createRunHandler; }
9
+ get: function () { return chunkEVCC233P_cjs.createRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkRNU4JMLM_cjs.getWorkflowByIdHandler; }
13
+ get: function () { return chunkEVCC233P_cjs.getWorkflowByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getWorkflowRunHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkRNU4JMLM_cjs.getWorkflowRunHandler; }
17
+ get: function () { return chunkEVCC233P_cjs.getWorkflowRunHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkRNU4JMLM_cjs.getWorkflowRunsHandler; }
21
+ get: function () { return chunkEVCC233P_cjs.getWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkRNU4JMLM_cjs.getWorkflowsHandler; }
25
+ get: function () { return chunkEVCC233P_cjs.getWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkRNU4JMLM_cjs.resumeAsyncWorkflowHandler; }
29
+ get: function () { return chunkEVCC233P_cjs.resumeAsyncWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkRNU4JMLM_cjs.resumeWorkflowHandler; }
33
+ get: function () { return chunkEVCC233P_cjs.resumeWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkRNU4JMLM_cjs.startAsyncWorkflowHandler; }
37
+ get: function () { return chunkEVCC233P_cjs.startAsyncWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkRNU4JMLM_cjs.startWorkflowRunHandler; }
41
+ get: function () { return chunkEVCC233P_cjs.startWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkRNU4JMLM_cjs.watchWorkflowHandler; }
45
+ get: function () { return chunkEVCC233P_cjs.watchWorkflowHandler; }
46
46
  });
@@ -1 +1 @@
1
- export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-4B7OUZXW.js';
1
+ export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-M3YJLWTU.js';
@@ -1,20 +1,25 @@
1
1
  'use strict';
2
2
 
3
- var chunkHABV7TZK_cjs = require('../chunk-HABV7TZK.cjs');
3
+ var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
4
+ var chunkAELYAUEE_cjs = require('../chunk-AELYAUEE.cjs');
4
5
  var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
5
- var chunkA7DF4ETD_cjs = require('../chunk-A7DF4ETD.cjs');
6
- var chunkRNU4JMLM_cjs = require('../chunk-RNU4JMLM.cjs');
7
- var chunk4WJ5GHRG_cjs = require('../chunk-4WJ5GHRG.cjs');
6
+ var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
7
+ var chunkEVCC233P_cjs = require('../chunk-EVCC233P.cjs');
8
+ var chunk4BIX6GMY_cjs = require('../chunk-4BIX6GMY.cjs');
8
9
  var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
9
10
  var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
10
- var chunkJLDXUWK7_cjs = require('../chunk-JLDXUWK7.cjs');
11
+ var chunk5YGDYMRB_cjs = require('../chunk-5YGDYMRB.cjs');
11
12
  var chunk7IWQE76Z_cjs = require('../chunk-7IWQE76Z.cjs');
12
13
 
13
14
 
14
15
 
15
16
  Object.defineProperty(exports, "tools", {
16
17
  enumerable: true,
17
- get: function () { return chunkHABV7TZK_cjs.tools_exports; }
18
+ get: function () { return chunkD3G23FP3_cjs.tools_exports; }
19
+ });
20
+ Object.defineProperty(exports, "vNextWorkflows", {
21
+ enumerable: true,
22
+ get: function () { return chunkAELYAUEE_cjs.vNextWorkflows_exports; }
18
23
  });
19
24
  Object.defineProperty(exports, "vector", {
20
25
  enumerable: true,
@@ -22,15 +27,15 @@ Object.defineProperty(exports, "vector", {
22
27
  });
23
28
  Object.defineProperty(exports, "voice", {
24
29
  enumerable: true,
25
- get: function () { return chunkA7DF4ETD_cjs.voice_exports; }
30
+ get: function () { return chunk55HTWX4C_cjs.voice_exports; }
26
31
  });
27
32
  Object.defineProperty(exports, "workflows", {
28
33
  enumerable: true,
29
- get: function () { return chunkRNU4JMLM_cjs.workflows_exports; }
34
+ get: function () { return chunkEVCC233P_cjs.workflows_exports; }
30
35
  });
31
36
  Object.defineProperty(exports, "agents", {
32
37
  enumerable: true,
33
- get: function () { return chunk4WJ5GHRG_cjs.agents_exports; }
38
+ get: function () { return chunk4BIX6GMY_cjs.agents_exports; }
34
39
  });
35
40
  Object.defineProperty(exports, "logs", {
36
41
  enumerable: true,
@@ -42,7 +47,7 @@ Object.defineProperty(exports, "memory", {
42
47
  });
43
48
  Object.defineProperty(exports, "network", {
44
49
  enumerable: true,
45
- get: function () { return chunkJLDXUWK7_cjs.network_exports; }
50
+ get: function () { return chunk5YGDYMRB_cjs.network_exports; }
46
51
  });
47
52
  Object.defineProperty(exports, "telemetry", {
48
53
  enumerable: true,
@@ -5,5 +5,6 @@ export { network } from '../_tsup-dts-rollup.cjs';
5
5
  export { telemetry } from '../_tsup-dts-rollup.cjs';
6
6
  export { tools } from '../_tsup-dts-rollup.cjs';
7
7
  export { workflows } from '../_tsup-dts-rollup.cjs';
8
+ export { vNextWorkflows } from '../_tsup-dts-rollup.cjs';
8
9
  export { vector } from '../_tsup-dts-rollup.cjs';
9
10
  export { voice } from '../_tsup-dts-rollup.cjs';
@@ -5,5 +5,6 @@ export { network } from '../_tsup-dts-rollup.js';
5
5
  export { telemetry } from '../_tsup-dts-rollup.js';
6
6
  export { tools } from '../_tsup-dts-rollup.js';
7
7
  export { workflows } from '../_tsup-dts-rollup.js';
8
+ export { vNextWorkflows } from '../_tsup-dts-rollup.js';
8
9
  export { vector } from '../_tsup-dts-rollup.js';
9
10
  export { voice } from '../_tsup-dts-rollup.js';
@@ -1,9 +1,10 @@
1
- export { tools_exports as tools } from '../chunk-XISBMH56.js';
1
+ export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
2
+ export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-JPB6RPGB.js';
2
3
  export { vector_exports as vector } from '../chunk-4JINXASC.js';
3
- export { voice_exports as voice } from '../chunk-3RVHWGWO.js';
4
- export { workflows_exports as workflows } from '../chunk-4B7OUZXW.js';
5
- export { agents_exports as agents } from '../chunk-TFFNX7FI.js';
4
+ export { voice_exports as voice } from '../chunk-Q6SHQECN.js';
5
+ export { workflows_exports as workflows } from '../chunk-M3YJLWTU.js';
6
+ export { agents_exports as agents } from '../chunk-Y3SV5XK4.js';
6
7
  export { logs_exports as logs } from '../chunk-3EJZQ6TQ.js';
7
8
  export { memory_exports as memory } from '../chunk-RBQASTUP.js';
8
- export { network_exports as network } from '../chunk-YANVFOYA.js';
9
+ export { network_exports as network } from '../chunk-QJ3AHN64.js';
9
10
  export { telemetry_exports as telemetry } from '../chunk-WTHDCRMY.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.0.0-mcp-server-update-parse-20250421171139",
3
+ "version": "0.0.0-mcp-schema-serializer-20250430202337",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -46,11 +46,11 @@
46
46
  "license": "Elastic-2.0",
47
47
  "dependencies": {},
48
48
  "peerDependencies": {
49
- "@mastra/core": "0.0.0-mcp-server-update-parse-20250421171139"
49
+ "@mastra/core": "0.0.0-mcp-schema-serializer-20250430202337"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@ai-sdk/openai": "^1.3.2",
53
- "@microsoft/api-extractor": "^7.52.1",
53
+ "@microsoft/api-extractor": "^7.52.5",
54
54
  "@types/node": "^20.17.27",
55
55
  "eslint": "^9.23.0",
56
56
  "superjson": "^2.2.2",
@@ -58,8 +58,8 @@
58
58
  "typescript": "^5.8.2",
59
59
  "vitest": "^2.1.9",
60
60
  "zod-to-json-schema": "^3.24.3",
61
- "@mastra/core": "0.0.0-mcp-server-update-parse-20250421171139",
62
- "@internal/lint": "0.0.2"
61
+ "@internal/lint": "0.0.2",
62
+ "@mastra/core": "0.0.0-mcp-schema-serializer-20250430202337"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",