@mastra/server 0.0.0-mastra-3123-mcp-server-20250419180157 → 0.0.0-mastra-3338-mastra-memory-pinecone-20250507174328
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 +50 -135
- package/dist/_tsup-dts-rollup.d.cts +128 -31
- package/dist/_tsup-dts-rollup.d.ts +128 -31
- package/dist/{chunk-4B7OUZXW.js → chunk-3XTEV33Q.js} +25 -13
- package/dist/{chunk-A7DF4ETD.cjs → chunk-55HTWX4C.cjs} +2 -9
- package/dist/{chunk-XISBMH56.js → chunk-5JNVY6DU.js} +4 -4
- package/dist/{chunk-JLDXUWK7.cjs → chunk-5YGDYMRB.cjs} +52 -31
- package/dist/{chunk-4WJ5GHRG.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-RNU4JMLM.cjs → chunk-CHFORQ7J.cjs} +25 -13
- package/dist/{chunk-HABV7TZK.cjs → chunk-D3G23FP3.cjs} +4 -4
- package/dist/{chunk-TFFNX7FI.js → chunk-GVBJ5I2S.js} +67 -33
- package/dist/chunk-M2RXDCPV.cjs +324 -0
- package/dist/chunk-OWNA6I2H.js +312 -0
- package/dist/{chunk-3RVHWGWO.js → chunk-Q6SHQECN.js} +2 -9
- package/dist/{chunk-YANVFOYA.js → chunk-QJ3AHN64.js} +52 -31
- 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/tools.cjs +5 -5
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vNextWorkflows.cjs +46 -0
- package/dist/server/handlers/vNextWorkflows.d.cts +10 -0
- package/dist/server/handlers/vNextWorkflows.d.ts +10 -0
- package/dist/server/handlers/vNextWorkflows.js +1 -0
- package/dist/server/handlers/voice.cjs +4 -4
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +11 -11
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +17 -12
- package/dist/server/handlers.d.cts +1 -0
- package/dist/server/handlers.d.ts +1 -0
- package/dist/server/handlers.js +7 -6
- package/package.json +6 -6
|
@@ -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;
|
|
@@ -69,7 +90,7 @@ async function getNetworkByIdHandler({ mastra, networkId }) {
|
|
|
69
90
|
}
|
|
70
91
|
async function generateHandler({
|
|
71
92
|
mastra,
|
|
72
|
-
|
|
93
|
+
runtimeContext,
|
|
73
94
|
networkId,
|
|
74
95
|
body
|
|
75
96
|
}) {
|
|
@@ -80,7 +101,7 @@ async function generateHandler({
|
|
|
80
101
|
}
|
|
81
102
|
validateBody({ messages: body.messages });
|
|
82
103
|
const { messages, ...rest } = body;
|
|
83
|
-
const result = await network.generate(messages, { ...rest,
|
|
104
|
+
const result = await network.generate(messages, { ...rest, runtimeContext });
|
|
84
105
|
return result;
|
|
85
106
|
} catch (error) {
|
|
86
107
|
return handleError(error, "Error generating from network");
|
|
@@ -90,7 +111,7 @@ async function streamGenerateHandler({
|
|
|
90
111
|
mastra,
|
|
91
112
|
networkId,
|
|
92
113
|
body,
|
|
93
|
-
|
|
114
|
+
runtimeContext
|
|
94
115
|
}) {
|
|
95
116
|
try {
|
|
96
117
|
const network = mastra.getNetwork(networkId);
|
|
@@ -102,7 +123,7 @@ async function streamGenerateHandler({
|
|
|
102
123
|
const streamResult = await network.stream(messages, {
|
|
103
124
|
output,
|
|
104
125
|
...rest,
|
|
105
|
-
|
|
126
|
+
runtimeContext
|
|
106
127
|
});
|
|
107
128
|
const streamResponse = output ? streamResult.toTextStreamResponse() : streamResult.toDataStreamResponse({
|
|
108
129
|
sendUsage: true,
|
|
@@ -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,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkD3G23FP3_cjs.executeAgentToolHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "executeToolHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD3G23FP3_cjs.executeToolHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getToolByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkD3G23FP3_cjs.getToolByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getToolsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD3G23FP3_cjs.getToolsHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-
|
|
1
|
+
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-5JNVY6DU.js';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkM2RXDCPV_cjs = require('../../chunk-M2RXDCPV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkM2RXDCPV_cjs.createVNextWorkflowRunHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowByIdHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getVNextWorkflowRunByIdHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunByIdHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunsHandler; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getVNextWorkflowsHandler", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowsHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkM2RXDCPV_cjs.resumeAsyncVNextWorkflowHandler; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkM2RXDCPV_cjs.resumeVNextWorkflowHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkM2RXDCPV_cjs.startAsyncVNextWorkflowHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkM2RXDCPV_cjs.startVNextWorkflowRunHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "watchVNextWorkflowHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkM2RXDCPV_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 { getVNextWorkflowRunByIdHandler } 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 { getVNextWorkflowRunByIdHandler } 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, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-OWNA6I2H.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunk55HTWX4C_cjs.generateSpeechHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getSpeakersHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk55HTWX4C_cjs.getSpeakersHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "transcribeSpeechHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk55HTWX4C_cjs.transcribeSpeechHandler; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-
|
|
1
|
+
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-Q6SHQECN.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,20 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
|
|
4
|
+
var chunkM2RXDCPV_cjs = require('../chunk-M2RXDCPV.cjs');
|
|
4
5
|
var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
|
|
7
|
+
var chunkCHFORQ7J_cjs = require('../chunk-CHFORQ7J.cjs');
|
|
8
|
+
var chunk6Q7UXAYJ_cjs = require('../chunk-6Q7UXAYJ.cjs');
|
|
8
9
|
var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
|
|
9
10
|
var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
11
|
+
var chunk5YGDYMRB_cjs = require('../chunk-5YGDYMRB.cjs');
|
|
12
|
+
var chunkAMVOS7YB_cjs = require('../chunk-AMVOS7YB.cjs');
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
Object.defineProperty(exports, "tools", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkD3G23FP3_cjs.tools_exports; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "vNextWorkflows", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkM2RXDCPV_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
|
|
30
|
+
get: function () { return chunk55HTWX4C_cjs.voice_exports; }
|
|
26
31
|
});
|
|
27
32
|
Object.defineProperty(exports, "workflows", {
|
|
28
33
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkCHFORQ7J_cjs.workflows_exports; }
|
|
30
35
|
});
|
|
31
36
|
Object.defineProperty(exports, "agents", {
|
|
32
37
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk6Q7UXAYJ_cjs.agents_exports; }
|
|
34
39
|
});
|
|
35
40
|
Object.defineProperty(exports, "logs", {
|
|
36
41
|
enumerable: true,
|
|
@@ -42,9 +47,9 @@ Object.defineProperty(exports, "memory", {
|
|
|
42
47
|
});
|
|
43
48
|
Object.defineProperty(exports, "network", {
|
|
44
49
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk5YGDYMRB_cjs.network_exports; }
|
|
46
51
|
});
|
|
47
52
|
Object.defineProperty(exports, "telemetry", {
|
|
48
53
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkAMVOS7YB_cjs.telemetry_exports; }
|
|
50
55
|
});
|
|
@@ -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';
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { tools_exports as tools } from '../chunk-
|
|
1
|
+
export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
|
|
2
|
+
export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-OWNA6I2H.js';
|
|
2
3
|
export { vector_exports as vector } from '../chunk-4JINXASC.js';
|
|
3
|
-
export { voice_exports as voice } from '../chunk-
|
|
4
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
5
|
-
export { agents_exports as agents } from '../chunk-
|
|
4
|
+
export { voice_exports as voice } from '../chunk-Q6SHQECN.js';
|
|
5
|
+
export { workflows_exports as workflows } from '../chunk-3XTEV33Q.js';
|
|
6
|
+
export { agents_exports as agents } from '../chunk-GVBJ5I2S.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-
|
|
9
|
-
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-mastra-
|
|
3
|
+
"version": "0.0.0-mastra-3338-mastra-memory-pinecone-20250507174328",
|
|
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-mastra-
|
|
49
|
+
"@mastra/core": "0.0.0-mastra-3338-mastra-memory-pinecone-20250507174328"
|
|
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
|
-
"@
|
|
62
|
-
"@
|
|
60
|
+
"zod-to-json-schema": "^3.24.5",
|
|
61
|
+
"@internal/lint": "0.0.0-mastra-3338-mastra-memory-pinecone-20250507174328",
|
|
62
|
+
"@mastra/core": "0.0.0-mastra-3338-mastra-memory-pinecone-20250507174328"
|
|
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",
|