@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.
- package/README.md +48 -135
- package/dist/_tsup-dts-rollup.d.cts +35 -13
- package/dist/_tsup-dts-rollup.d.ts +35 -13
- package/dist/{chunk-LFOBHRFO.js → chunk-3XTEV33Q.js} +16 -4
- package/dist/{chunk-FPIWDH5Y.cjs → chunk-5YGDYMRB.cjs} +48 -27
- package/dist/{chunk-HCOPJZ4A.cjs → chunk-6Q7UXAYJ.cjs} +67 -33
- package/dist/{chunk-7IWQE76Z.cjs → chunk-AMVOS7YB.cjs} +4 -2
- package/dist/{chunk-WTHDCRMY.js → chunk-BPL2CBLV.js} +4 -2
- package/dist/{chunk-TZK63M5N.cjs → chunk-CHFORQ7J.cjs} +16 -4
- package/dist/{chunk-R4J7XQYU.js → chunk-GVBJ5I2S.js} +65 -31
- package/dist/{chunk-YN63BKGG.cjs → chunk-M2RXDCPV.cjs} +28 -16
- package/dist/{chunk-L5JIIJGO.js → chunk-OWNA6I2H.js} +28 -16
- package/dist/{chunk-RE6YL32K.js → chunk-QJ3AHN64.js} +48 -27
- package/dist/server/handlers/agents.cjs +7 -7
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/network.cjs +5 -5
- package/dist/server/handlers/network.js +1 -1
- package/dist/server/handlers/telemetry.cjs +3 -3
- package/dist/server/handlers/telemetry.js +1 -1
- package/dist/server/handlers/vNextWorkflows.cjs +12 -12
- package/dist/server/handlers/vNextWorkflows.d.cts +1 -1
- package/dist/server/handlers/vNextWorkflows.d.ts +1 -1
- package/dist/server/handlers/vNextWorkflows.js +1 -1
- package/dist/server/handlers/workflows.cjs +11 -11
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +10 -10
- package/dist/server/handlers.js +5 -5
- package/package.json +6 -6
|
@@ -8,7 +8,7 @@ var vNextWorkflows_exports = {};
|
|
|
8
8
|
__export(vNextWorkflows_exports, {
|
|
9
9
|
createVNextWorkflowRunHandler: () => createVNextWorkflowRunHandler,
|
|
10
10
|
getVNextWorkflowByIdHandler: () => getVNextWorkflowByIdHandler,
|
|
11
|
-
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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({
|
|
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,
|
|
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({
|
|
13
|
+
async function getNetworksHandler({
|
|
14
|
+
mastra,
|
|
15
|
+
runtimeContext
|
|
16
|
+
}) {
|
|
14
17
|
try {
|
|
15
18
|
const networks = mastra.getNetworks();
|
|
16
|
-
const serializedNetworks =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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({
|
|
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:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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:
|
|
62
|
-
modelId:
|
|
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
|
|
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
|
|
9
|
+
get: function () { return chunk6Q7UXAYJ_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6Q7UXAYJ_cjs.getAgentByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6Q7UXAYJ_cjs.getAgentsHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6Q7UXAYJ_cjs.getEvalsByAgentIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6Q7UXAYJ_cjs.getLiveEvalsByAgentIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk6Q7UXAYJ_cjs.streamGenerateHandler; }
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-GVBJ5I2S.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunk5YGDYMRB_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getNetworkByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk5YGDYMRB_cjs.getNetworkByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getNetworksHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk5YGDYMRB_cjs.getNetworksHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk5YGDYMRB_cjs.streamGenerateHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-QJ3AHN64.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkAMVOS7YB_cjs.getTelemetryHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "storeTelemetryHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAMVOS7YB_cjs.storeTelemetryHandler; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-
|
|
1
|
+
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BPL2CBLV.js';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkM2RXDCPV_cjs.createVNextWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "getVNextWorkflowRunByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getVNextWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkM2RXDCPV_cjs.resumeAsyncVNextWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkM2RXDCPV_cjs.resumeVNextWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkM2RXDCPV_cjs.startAsyncVNextWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkM2RXDCPV_cjs.startVNextWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchVNextWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
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 {
|
|
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 {
|
|
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,
|
|
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
|
|
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
|
|
9
|
+
get: function () { return chunkCHFORQ7J_cjs.createRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCHFORQ7J_cjs.resumeAsyncWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCHFORQ7J_cjs.resumeWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCHFORQ7J_cjs.startAsyncWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkCHFORQ7J_cjs.startWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
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-
|
|
1
|
+
export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-3XTEV33Q.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
|
|
4
|
-
var
|
|
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
|
|
8
|
-
var
|
|
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
|
|
12
|
-
var
|
|
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
|
|
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
|
|
34
|
+
get: function () { return chunkCHFORQ7J_cjs.workflows_exports; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "agents", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
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
|
|
50
|
+
get: function () { return chunk5YGDYMRB_cjs.network_exports; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "telemetry", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkAMVOS7YB_cjs.telemetry_exports; }
|
|
55
55
|
});
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
|
|
2
|
-
export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-
|
|
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-
|
|
6
|
-
export { agents_exports as agents } from '../chunk-
|
|
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-
|
|
10
|
-
export { telemetry_exports as telemetry } from '../chunk-
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
61
|
-
"@internal/lint": "0.0.
|
|
62
|
-
"@mastra/core": "0.0.0-
|
|
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",
|