@mastra/server 0.0.0-pg-pool-options-20250428183821 → 0.0.0-redis-cloud-transporter-20250508194049

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.
@@ -8,7 +8,7 @@ var vNextWorkflows_exports = {};
8
8
  __export(vNextWorkflows_exports, {
9
9
  createVNextWorkflowRunHandler: () => createVNextWorkflowRunHandler,
10
10
  getVNextWorkflowByIdHandler: () => getVNextWorkflowByIdHandler,
11
- getVNextWorkflowRunHandler: () => getVNextWorkflowRunHandler,
11
+ getVNextWorkflowRunByIdHandler: () => getVNextWorkflowRunByIdHandler,
12
12
  getVNextWorkflowRunsHandler: () => getVNextWorkflowRunsHandler,
13
13
  getVNextWorkflowsHandler: () => getVNextWorkflowsHandler,
14
14
  resumeAsyncVNextWorkflowHandler: () => resumeAsyncVNextWorkflowHandler,
@@ -25,14 +25,16 @@ async function getVNextWorkflowsHandler({ mastra }) {
25
25
  name: workflow.name,
26
26
  steps: Object.entries(workflow.steps).reduce((acc2, [key2, step]) => {
27
27
  acc2[key2] = {
28
- ...step,
28
+ id: step.id,
29
+ description: step.description,
29
30
  inputSchema: step.inputSchema ? stringify(esm_default(step.inputSchema)) : void 0,
30
31
  outputSchema: step.outputSchema ? stringify(esm_default(step.outputSchema)) : void 0,
31
- resumeSchema: step.resumeSchema ? stringify(esm_default(step.resumeSchema)) : void 0
32
+ resumeSchema: step.resumeSchema ? stringify(esm_default(step.resumeSchema)) : void 0,
33
+ suspendSchema: step.suspendSchema ? stringify(esm_default(step.suspendSchema)) : void 0
32
34
  };
33
35
  return acc2;
34
36
  }, {}),
35
- stepGraph: workflow.stepGraph,
37
+ stepGraph: workflow.serializedStepGraph,
36
38
  inputSchema: workflow.inputSchema ? stringify(esm_default(workflow.inputSchema)) : void 0,
37
39
  outputSchema: workflow.outputSchema ? stringify(esm_default(workflow.outputSchema)) : void 0
38
40
  };
@@ -55,15 +57,17 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
55
57
  return {
56
58
  steps: Object.entries(workflow.steps).reduce((acc, [key, step]) => {
57
59
  acc[key] = {
58
- ...step,
60
+ id: step.id,
61
+ description: step.description,
59
62
  inputSchema: step.inputSchema ? stringify(esm_default(step.inputSchema)) : void 0,
60
63
  outputSchema: step.outputSchema ? stringify(esm_default(step.outputSchema)) : void 0,
61
- resumeSchema: step.resumeSchema ? stringify(esm_default(step.resumeSchema)) : void 0
64
+ resumeSchema: step.resumeSchema ? stringify(esm_default(step.resumeSchema)) : void 0,
65
+ suspendSchema: step.suspendSchema ? stringify(esm_default(step.suspendSchema)) : void 0
62
66
  };
63
67
  return acc;
64
68
  }, {}),
65
69
  name: workflow.name,
66
- stepGraph: workflow.stepGraph,
70
+ stepGraph: workflow.serializedStepGraph,
67
71
  inputSchema: workflow.inputSchema ? stringify(esm_default(workflow.inputSchema)) : void 0,
68
72
  outputSchema: workflow.outputSchema ? stringify(esm_default(workflow.outputSchema)) : void 0
69
73
  };
@@ -71,7 +75,7 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
71
75
  throw new HTTPException(500, { message: error?.message || "Error getting workflow" });
72
76
  }
73
77
  }
74
- async function getVNextWorkflowRunHandler({
78
+ async function getVNextWorkflowRunByIdHandler({
75
79
  mastra,
76
80
  workflowId,
77
81
  runId
@@ -87,7 +91,7 @@ async function getVNextWorkflowRunHandler({
87
91
  if (!workflow) {
88
92
  throw new HTTPException(404, { message: "Workflow not found" });
89
93
  }
90
- const run = await workflow.getWorkflowRun(runId);
94
+ const run = await workflow.getWorkflowRunById(runId);
91
95
  if (!run) {
92
96
  throw new HTTPException(404, { message: "Workflow run not found" });
93
97
  }
@@ -155,7 +159,7 @@ async function startVNextWorkflowRunHandler({
155
159
  throw new HTTPException(400, { message: "runId required to start run" });
156
160
  }
157
161
  const workflow = mastra.vnext_getWorkflow(workflowId);
158
- const run = await workflow.getWorkflowRun(runId);
162
+ const run = await workflow.getWorkflowRunById(runId);
159
163
  if (!run) {
160
164
  throw new HTTPException(404, { message: "Workflow run not found" });
161
165
  }
@@ -182,7 +186,7 @@ async function watchVNextWorkflowHandler({
182
186
  throw new HTTPException(400, { message: "runId required to watch workflow" });
183
187
  }
184
188
  const workflow = mastra.vnext_getWorkflow(workflowId);
185
- const run = await workflow.getWorkflowRun(runId);
189
+ const run = await workflow.getWorkflowRunById(runId);
186
190
  if (!run) {
187
191
  throw new HTTPException(404, { message: "Workflow run not found" });
188
192
  }
@@ -233,7 +237,7 @@ async function resumeAsyncVNextWorkflowHandler({
233
237
  throw new HTTPException(400, { message: "step required to resume workflow" });
234
238
  }
235
239
  const workflow = mastra.vnext_getWorkflow(workflowId);
236
- const run = await workflow.getWorkflowRun(runId);
240
+ const run = await workflow.getWorkflowRunById(runId);
237
241
  if (!run) {
238
242
  throw new HTTPException(404, { message: "Workflow run not found" });
239
243
  }
@@ -266,7 +270,7 @@ async function resumeVNextWorkflowHandler({
266
270
  throw new HTTPException(400, { message: "step required to resume workflow" });
267
271
  }
268
272
  const workflow = mastra.vnext_getWorkflow(workflowId);
269
- const run = await workflow.getWorkflowRun(runId);
273
+ const run = await workflow.getWorkflowRunById(runId);
270
274
  if (!run) {
271
275
  throw new HTTPException(404, { message: "Workflow run not found" });
272
276
  }
@@ -281,13 +285,21 @@ async function resumeVNextWorkflowHandler({
281
285
  return handleError(error, "Error resuming workflow");
282
286
  }
283
287
  }
284
- async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
288
+ async function getVNextWorkflowRunsHandler({
289
+ mastra,
290
+ workflowId,
291
+ fromDate,
292
+ toDate,
293
+ limit,
294
+ offset,
295
+ resourceId
296
+ }) {
285
297
  try {
286
298
  if (!workflowId) {
287
299
  throw new HTTPException(400, { message: "Workflow ID is required" });
288
300
  }
289
301
  const workflow = mastra.vnext_getWorkflow(workflowId);
290
- const workflowRuns = await workflow.getWorkflowRuns() || {
302
+ const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
291
303
  runs: [],
292
304
  total: 0
293
305
  };
@@ -297,4 +309,4 @@ async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
297
309
  }
298
310
  }
299
311
 
300
- export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, vNextWorkflows_exports, watchVNextWorkflowHandler };
312
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, vNextWorkflows_exports, watchVNextWorkflowHandler };
@@ -10,33 +10,48 @@ __export(network_exports, {
10
10
  getNetworksHandler: () => getNetworksHandler,
11
11
  streamGenerateHandler: () => streamGenerateHandler
12
12
  });
13
- async function getNetworksHandler({ mastra }) {
13
+ async function getNetworksHandler({
14
+ mastra,
15
+ runtimeContext
16
+ }) {
14
17
  try {
15
18
  const networks = mastra.getNetworks();
16
- const serializedNetworks = networks.map((network) => {
17
- const routingAgent = network.getRoutingAgent();
18
- const agents = network.getAgents();
19
- return {
20
- id: network.formatAgentId(routingAgent.name),
21
- name: routingAgent.name,
22
- instructions: routingAgent.instructions,
23
- agents: agents.map((agent) => ({
24
- name: agent.name,
25
- provider: agent.llm?.getProvider(),
26
- modelId: agent.llm?.getModelId()
27
- })),
28
- routingModel: {
29
- provider: routingAgent.llm?.getProvider(),
30
- modelId: routingAgent.llm?.getModelId()
31
- }
32
- };
33
- });
19
+ const serializedNetworks = await Promise.all(
20
+ networks.map(async (network) => {
21
+ const routingAgent = network.getRoutingAgent();
22
+ const routingLLM = await routingAgent.getLLM({ runtimeContext });
23
+ const agents = network.getAgents();
24
+ return {
25
+ id: network.formatAgentId(routingAgent.name),
26
+ name: routingAgent.name,
27
+ instructions: routingAgent.instructions,
28
+ agents: await Promise.all(
29
+ agents.map(async (agent) => {
30
+ const llm = await agent.getLLM({ runtimeContext });
31
+ return {
32
+ name: agent.name,
33
+ provider: llm?.getProvider(),
34
+ modelId: llm?.getModelId()
35
+ };
36
+ })
37
+ ),
38
+ routingModel: {
39
+ provider: routingLLM?.getProvider(),
40
+ modelId: routingLLM?.getModelId()
41
+ }
42
+ };
43
+ })
44
+ );
34
45
  return serializedNetworks;
35
46
  } catch (error) {
36
47
  return handleError(error, "Error getting networks");
37
48
  }
38
49
  }
39
- async function getNetworkByIdHandler({ mastra, networkId }) {
50
+ async function getNetworkByIdHandler({
51
+ mastra,
52
+ networkId,
53
+ runtimeContext
54
+ }) {
40
55
  try {
41
56
  const networks = mastra.getNetworks();
42
57
  const network = networks.find((network2) => {
@@ -47,19 +62,25 @@ async function getNetworkByIdHandler({ mastra, networkId }) {
47
62
  throw new HTTPException(404, { message: "Network not found" });
48
63
  }
49
64
  const routingAgent = network.getRoutingAgent();
65
+ const routingLLM = await routingAgent.getLLM({ runtimeContext });
50
66
  const agents = network.getAgents();
51
67
  const serializedNetwork = {
52
68
  id: network.formatAgentId(routingAgent.name),
53
69
  name: routingAgent.name,
54
70
  instructions: routingAgent.instructions,
55
- agents: agents.map((agent) => ({
56
- name: agent.name,
57
- provider: agent.llm?.getProvider(),
58
- modelId: agent.llm?.getModelId()
59
- })),
71
+ agents: await Promise.all(
72
+ agents.map(async (agent) => {
73
+ const llm = await agent.getLLM({ runtimeContext });
74
+ return {
75
+ name: agent.name,
76
+ provider: llm?.getProvider(),
77
+ modelId: llm?.getModelId()
78
+ };
79
+ })
80
+ ),
60
81
  routingModel: {
61
- provider: routingAgent.llm?.getProvider(),
62
- modelId: routingAgent.llm?.getModelId()
82
+ provider: routingLLM?.getProvider(),
83
+ modelId: routingLLM?.getModelId()
63
84
  }
64
85
  };
65
86
  return serializedNetwork;
@@ -1,30 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var chunkHCOPJZ4A_cjs = require('../../chunk-HCOPJZ4A.cjs');
3
+ var chunk6Q7UXAYJ_cjs = require('../../chunk-6Q7UXAYJ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "generateHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkHCOPJZ4A_cjs.generateHandler; }
9
+ get: function () { return chunk6Q7UXAYJ_cjs.generateHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getAgentByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkHCOPJZ4A_cjs.getAgentByIdHandler; }
13
+ get: function () { return chunk6Q7UXAYJ_cjs.getAgentByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getAgentsHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkHCOPJZ4A_cjs.getAgentsHandler; }
17
+ get: function () { return chunk6Q7UXAYJ_cjs.getAgentsHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkHCOPJZ4A_cjs.getEvalsByAgentIdHandler; }
21
+ get: function () { return chunk6Q7UXAYJ_cjs.getEvalsByAgentIdHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkHCOPJZ4A_cjs.getLiveEvalsByAgentIdHandler; }
25
+ get: function () { return chunk6Q7UXAYJ_cjs.getLiveEvalsByAgentIdHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "streamGenerateHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkHCOPJZ4A_cjs.streamGenerateHandler; }
29
+ get: function () { return chunk6Q7UXAYJ_cjs.streamGenerateHandler; }
30
30
  });
@@ -1 +1 @@
1
- export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-R4J7XQYU.js';
1
+ export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-GVBJ5I2S.js';
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkFPIWDH5Y_cjs = require('../../chunk-FPIWDH5Y.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 chunkFPIWDH5Y_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 chunkFPIWDH5Y_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 chunkFPIWDH5Y_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 chunkFPIWDH5Y_cjs.streamGenerateHandler; }
21
+ get: function () { return chunk5YGDYMRB_cjs.streamGenerateHandler; }
22
22
  });
@@ -1 +1 @@
1
- export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-RE6YL32K.js';
1
+ export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-QJ3AHN64.js';
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunk7IWQE76Z_cjs = require('../../chunk-7IWQE76Z.cjs');
3
+ var chunkAMVOS7YB_cjs = require('../../chunk-AMVOS7YB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "getTelemetryHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunk7IWQE76Z_cjs.getTelemetryHandler; }
9
+ get: function () { return chunkAMVOS7YB_cjs.getTelemetryHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "storeTelemetryHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunk7IWQE76Z_cjs.storeTelemetryHandler; }
13
+ get: function () { return chunkAMVOS7YB_cjs.storeTelemetryHandler; }
14
14
  });
@@ -1 +1 @@
1
- export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-WTHDCRMY.js';
1
+ export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BPL2CBLV.js';
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkYN63BKGG_cjs = require('../../chunk-YN63BKGG.cjs');
3
+ var chunkM2RXDCPV_cjs = require('../../chunk-M2RXDCPV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkYN63BKGG_cjs.createVNextWorkflowRunHandler; }
9
+ get: function () { return chunkM2RXDCPV_cjs.createVNextWorkflowRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowByIdHandler; }
13
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowByIdHandler; }
14
14
  });
15
- Object.defineProperty(exports, "getVNextWorkflowRunHandler", {
15
+ Object.defineProperty(exports, "getVNextWorkflowRunByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowRunHandler; }
17
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowRunsHandler; }
21
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getVNextWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowsHandler; }
25
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkYN63BKGG_cjs.resumeAsyncVNextWorkflowHandler; }
29
+ get: function () { return chunkM2RXDCPV_cjs.resumeAsyncVNextWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkYN63BKGG_cjs.resumeVNextWorkflowHandler; }
33
+ get: function () { return chunkM2RXDCPV_cjs.resumeVNextWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkYN63BKGG_cjs.startAsyncVNextWorkflowHandler; }
37
+ get: function () { return chunkM2RXDCPV_cjs.startAsyncVNextWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkYN63BKGG_cjs.startVNextWorkflowRunHandler; }
41
+ get: function () { return chunkM2RXDCPV_cjs.startVNextWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchVNextWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkYN63BKGG_cjs.watchVNextWorkflowHandler; }
45
+ get: function () { return chunkM2RXDCPV_cjs.watchVNextWorkflowHandler; }
46
46
  });
@@ -1,6 +1,6 @@
1
1
  export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
2
2
  export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
- export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getVNextWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.cjs';
4
4
  export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
5
5
  export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
6
6
  export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
@@ -1,6 +1,6 @@
1
1
  export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.js';
2
2
  export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
3
- export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getVNextWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.js';
4
4
  export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
5
5
  export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
6
6
  export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
@@ -1 +1 @@
1
- export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-L5JIIJGO.js';
1
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-OWNA6I2H.js';
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkTZK63M5N_cjs = require('../../chunk-TZK63M5N.cjs');
3
+ var chunkCHFORQ7J_cjs = require('../../chunk-CHFORQ7J.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkTZK63M5N_cjs.createRunHandler; }
9
+ get: function () { return chunkCHFORQ7J_cjs.createRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkTZK63M5N_cjs.getWorkflowByIdHandler; }
13
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getWorkflowRunHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkTZK63M5N_cjs.getWorkflowRunHandler; }
17
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkTZK63M5N_cjs.getWorkflowRunsHandler; }
21
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkTZK63M5N_cjs.getWorkflowsHandler; }
25
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkTZK63M5N_cjs.resumeAsyncWorkflowHandler; }
29
+ get: function () { return chunkCHFORQ7J_cjs.resumeAsyncWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkTZK63M5N_cjs.resumeWorkflowHandler; }
33
+ get: function () { return chunkCHFORQ7J_cjs.resumeWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkTZK63M5N_cjs.startAsyncWorkflowHandler; }
37
+ get: function () { return chunkCHFORQ7J_cjs.startAsyncWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkTZK63M5N_cjs.startWorkflowRunHandler; }
41
+ get: function () { return chunkCHFORQ7J_cjs.startWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkTZK63M5N_cjs.watchWorkflowHandler; }
45
+ get: function () { return chunkCHFORQ7J_cjs.watchWorkflowHandler; }
46
46
  });
@@ -1 +1 @@
1
- export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-LFOBHRFO.js';
1
+ export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-3XTEV33Q.js';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
4
- var chunkYN63BKGG_cjs = require('../chunk-YN63BKGG.cjs');
4
+ var chunkM2RXDCPV_cjs = require('../chunk-M2RXDCPV.cjs');
5
5
  var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
6
6
  var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
7
- var chunkTZK63M5N_cjs = require('../chunk-TZK63M5N.cjs');
8
- var chunkHCOPJZ4A_cjs = require('../chunk-HCOPJZ4A.cjs');
7
+ var chunkCHFORQ7J_cjs = require('../chunk-CHFORQ7J.cjs');
8
+ var chunk6Q7UXAYJ_cjs = require('../chunk-6Q7UXAYJ.cjs');
9
9
  var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
10
10
  var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
11
- var chunkFPIWDH5Y_cjs = require('../chunk-FPIWDH5Y.cjs');
12
- var chunk7IWQE76Z_cjs = require('../chunk-7IWQE76Z.cjs');
11
+ var chunk5YGDYMRB_cjs = require('../chunk-5YGDYMRB.cjs');
12
+ var chunkAMVOS7YB_cjs = require('../chunk-AMVOS7YB.cjs');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "tools", {
19
19
  });
20
20
  Object.defineProperty(exports, "vNextWorkflows", {
21
21
  enumerable: true,
22
- get: function () { return chunkYN63BKGG_cjs.vNextWorkflows_exports; }
22
+ get: function () { return chunkM2RXDCPV_cjs.vNextWorkflows_exports; }
23
23
  });
24
24
  Object.defineProperty(exports, "vector", {
25
25
  enumerable: true,
@@ -31,11 +31,11 @@ Object.defineProperty(exports, "voice", {
31
31
  });
32
32
  Object.defineProperty(exports, "workflows", {
33
33
  enumerable: true,
34
- get: function () { return chunkTZK63M5N_cjs.workflows_exports; }
34
+ get: function () { return chunkCHFORQ7J_cjs.workflows_exports; }
35
35
  });
36
36
  Object.defineProperty(exports, "agents", {
37
37
  enumerable: true,
38
- get: function () { return chunkHCOPJZ4A_cjs.agents_exports; }
38
+ get: function () { return chunk6Q7UXAYJ_cjs.agents_exports; }
39
39
  });
40
40
  Object.defineProperty(exports, "logs", {
41
41
  enumerable: true,
@@ -47,9 +47,9 @@ Object.defineProperty(exports, "memory", {
47
47
  });
48
48
  Object.defineProperty(exports, "network", {
49
49
  enumerable: true,
50
- get: function () { return chunkFPIWDH5Y_cjs.network_exports; }
50
+ get: function () { return chunk5YGDYMRB_cjs.network_exports; }
51
51
  });
52
52
  Object.defineProperty(exports, "telemetry", {
53
53
  enumerable: true,
54
- get: function () { return chunk7IWQE76Z_cjs.telemetry_exports; }
54
+ get: function () { return chunkAMVOS7YB_cjs.telemetry_exports; }
55
55
  });
@@ -1,10 +1,10 @@
1
1
  export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
2
- export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-L5JIIJGO.js';
2
+ export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-OWNA6I2H.js';
3
3
  export { vector_exports as vector } from '../chunk-4JINXASC.js';
4
4
  export { voice_exports as voice } from '../chunk-Q6SHQECN.js';
5
- export { workflows_exports as workflows } from '../chunk-LFOBHRFO.js';
6
- export { agents_exports as agents } from '../chunk-R4J7XQYU.js';
5
+ export { workflows_exports as workflows } from '../chunk-3XTEV33Q.js';
6
+ export { agents_exports as agents } from '../chunk-GVBJ5I2S.js';
7
7
  export { logs_exports as logs } from '../chunk-3EJZQ6TQ.js';
8
8
  export { memory_exports as memory } from '../chunk-RBQASTUP.js';
9
- export { network_exports as network } from '../chunk-RE6YL32K.js';
10
- export { telemetry_exports as telemetry } from '../chunk-WTHDCRMY.js';
9
+ export { network_exports as network } from '../chunk-QJ3AHN64.js';
10
+ export { telemetry_exports as telemetry } from '../chunk-BPL2CBLV.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.0.0-pg-pool-options-20250428183821",
3
+ "version": "0.0.0-redis-cloud-transporter-20250508194049",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -46,20 +46,20 @@
46
46
  "license": "Elastic-2.0",
47
47
  "dependencies": {},
48
48
  "peerDependencies": {
49
- "@mastra/core": "0.0.0-pg-pool-options-20250428183821"
49
+ "@mastra/core": "0.0.0-redis-cloud-transporter-20250508194049"
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",
57
57
  "tsup": "^8.4.0",
58
58
  "typescript": "^5.8.2",
59
59
  "vitest": "^2.1.9",
60
- "zod-to-json-schema": "^3.24.3",
61
- "@internal/lint": "0.0.2",
62
- "@mastra/core": "0.0.0-pg-pool-options-20250428183821"
60
+ "zod-to-json-schema": "^3.24.5",
61
+ "@internal/lint": "0.0.0-redis-cloud-transporter-20250508194049",
62
+ "@mastra/core": "0.0.0-redis-cloud-transporter-20250508194049"
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",