@mastra/server 0.0.0-fix-multi-modal-for-cloud-20251028082043 → 0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352
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/CHANGELOG.md +35 -3
- package/README.md +1 -1
- package/dist/{chunk-AHB4JCIQ.js → chunk-2XD2KQEK.js} +13 -13
- package/dist/chunk-2XD2KQEK.js.map +1 -0
- package/dist/{chunk-AW5BU3RQ.js → chunk-36CWLQQT.js} +19 -19
- package/dist/chunk-36CWLQQT.js.map +1 -0
- package/dist/{chunk-KDUHLUK4.cjs → chunk-4BKR6543.cjs} +128 -208
- package/dist/chunk-4BKR6543.cjs.map +1 -0
- package/dist/{chunk-7HCPO76Z.js → chunk-4YFT3JFJ.js} +107 -192
- package/dist/chunk-4YFT3JFJ.js.map +1 -0
- package/dist/{chunk-KSFLUEWV.js → chunk-6562SOHJ.js} +4 -4
- package/dist/{chunk-KSFLUEWV.js.map → chunk-6562SOHJ.js.map} +1 -1
- package/dist/{chunk-SPRRK3P7.cjs → chunk-6IGZKIRM.cjs} +19 -19
- package/dist/chunk-6IGZKIRM.cjs.map +1 -0
- package/dist/{chunk-QQXMIP6C.js → chunk-74ZF4DII.js} +10 -10
- package/dist/{chunk-QQXMIP6C.js.map → chunk-74ZF4DII.js.map} +1 -1
- package/dist/{chunk-ABRFV4XP.js → chunk-7KNKINQE.js} +11 -11
- package/dist/chunk-7KNKINQE.js.map +1 -0
- package/dist/{chunk-6VPAV4ZV.js → chunk-7MCHFMDF.js} +102 -129
- package/dist/chunk-7MCHFMDF.js.map +1 -0
- package/dist/{chunk-3SNGNFUJ.cjs → chunk-7YHMDEQ6.cjs} +10 -10
- package/dist/{chunk-3SNGNFUJ.cjs.map → chunk-7YHMDEQ6.cjs.map} +1 -1
- package/dist/{chunk-TRGAMKHX.cjs → chunk-BMOVKZO7.cjs} +19 -19
- package/dist/chunk-BMOVKZO7.cjs.map +1 -0
- package/dist/{chunk-OGK26QPW.js → chunk-CXVOX4WB.js} +41 -65
- package/dist/chunk-CXVOX4WB.js.map +1 -0
- package/dist/{chunk-LF2ZLOFP.js → chunk-GQRJOUV7.js} +64 -34
- package/dist/chunk-GQRJOUV7.js.map +1 -0
- package/dist/{chunk-YSHNCC6F.cjs → chunk-HLIRV42R.cjs} +109 -137
- package/dist/chunk-HLIRV42R.cjs.map +1 -0
- package/dist/{chunk-Y7SH5ZKM.cjs → chunk-LROVQBIB.cjs} +41 -66
- package/dist/chunk-LROVQBIB.cjs.map +1 -0
- package/dist/{chunk-GU4EWMZB.cjs → chunk-LZKJT7QP.cjs} +64 -34
- package/dist/chunk-LZKJT7QP.cjs.map +1 -0
- package/dist/{chunk-MN2TZQ7I.js → chunk-OEW3R7V4.js} +13 -13
- package/dist/chunk-OEW3R7V4.js.map +1 -0
- package/dist/{chunk-B7QWVGQQ.cjs → chunk-PUYDRTPG.cjs} +49 -58
- package/dist/chunk-PUYDRTPG.cjs.map +1 -0
- package/dist/{chunk-ZLBL4NQC.js → chunk-S4IOWSI3.js} +45 -54
- package/dist/chunk-S4IOWSI3.js.map +1 -0
- package/dist/{chunk-K5T5A3AL.cjs → chunk-SED4H2GJ.cjs} +14 -14
- package/dist/chunk-SED4H2GJ.cjs.map +1 -0
- package/dist/{chunk-XN74I6VW.cjs → chunk-WH5RPLO4.cjs} +13 -13
- package/dist/chunk-WH5RPLO4.cjs.map +1 -0
- package/dist/{chunk-CJFKRVED.cjs → chunk-YNGDJJOH.cjs} +14 -14
- package/dist/{chunk-CJFKRVED.cjs.map → chunk-YNGDJJOH.cjs.map} +1 -1
- package/dist/server/handlers/a2a.cjs +7 -7
- package/dist/server/handlers/a2a.d.ts +10 -10
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +36 -16
- package/dist/server/handlers/agent-builder.d.ts +22 -6
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +25 -29
- package/dist/server/handlers/agents.d.ts +34 -47
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/logs.cjs +7 -7
- package/dist/server/handlers/logs.d.ts +3 -3
- package/dist/server/handlers/logs.d.ts.map +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +17 -21
- package/dist/server/handlers/memory.d.ts +18 -21
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/scores.cjs +10 -10
- package/dist/server/handlers/scores.d.ts +8 -8
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/tools.cjs +7 -7
- package/dist/server/handlers/tools.d.ts +8 -8
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/voice.cjs +5 -5
- package/dist/server/handlers/voice.d.ts +6 -6
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +23 -23
- package/dist/server/handlers/workflows.d.ts +19 -19
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +19 -24
- package/dist/server/handlers.d.ts +0 -1
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/handlers.js +9 -10
- package/package.json +6 -6
- package/dist/chunk-6VPAV4ZV.js.map +0 -1
- package/dist/chunk-7HCPO76Z.js.map +0 -1
- package/dist/chunk-ABRFV4XP.js.map +0 -1
- package/dist/chunk-AHB4JCIQ.js.map +0 -1
- package/dist/chunk-AW5BU3RQ.js.map +0 -1
- package/dist/chunk-B7QWVGQQ.cjs.map +0 -1
- package/dist/chunk-GU4EWMZB.cjs.map +0 -1
- package/dist/chunk-I3C4ODGV.cjs +0 -335
- package/dist/chunk-I3C4ODGV.cjs.map +0 -1
- package/dist/chunk-K5T5A3AL.cjs.map +0 -1
- package/dist/chunk-KDUHLUK4.cjs.map +0 -1
- package/dist/chunk-LF2ZLOFP.js.map +0 -1
- package/dist/chunk-LLUOPR3J.js +0 -323
- package/dist/chunk-LLUOPR3J.js.map +0 -1
- package/dist/chunk-MN2TZQ7I.js.map +0 -1
- package/dist/chunk-OGK26QPW.js.map +0 -1
- package/dist/chunk-SPRRK3P7.cjs.map +0 -1
- package/dist/chunk-TRGAMKHX.cjs.map +0 -1
- package/dist/chunk-XN74I6VW.cjs.map +0 -1
- package/dist/chunk-Y7SH5ZKM.cjs.map +0 -1
- package/dist/chunk-YSHNCC6F.cjs.map +0 -1
- package/dist/chunk-ZLBL4NQC.js.map +0 -1
- package/dist/server/handlers/legacyWorkflows.cjs +0 -48
- package/dist/server/handlers/legacyWorkflows.cjs.map +0 -1
- package/dist/server/handlers/legacyWorkflows.d.ts +0 -59
- package/dist/server/handlers/legacyWorkflows.d.ts.map +0 -1
- package/dist/server/handlers/legacyWorkflows.js +0 -3
- package/dist/server/handlers/legacyWorkflows.js.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBMOVKZO7_cjs = require('../../chunk-BMOVKZO7.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 chunkBMOVKZO7_cjs.executeAgentToolHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "executeToolHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBMOVKZO7_cjs.executeToolHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentToolHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBMOVKZO7_cjs.getAgentToolHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getToolByIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBMOVKZO7_cjs.getToolByIdHandler; }
|
|
22
22
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
23
|
+
Object.defineProperty(exports, "listToolsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBMOVKZO7_cjs.listToolsHandler; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=tools.cjs.map
|
|
28
28
|
//# sourceMappingURL=tools.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RequestContext } from '@mastra/core/di';
|
|
2
2
|
import type { ToolAction, VercelTool } from '@mastra/core/tools';
|
|
3
3
|
import type { Context } from '../types.js';
|
|
4
4
|
interface ToolsContext extends Context {
|
|
@@ -6,20 +6,20 @@ interface ToolsContext extends Context {
|
|
|
6
6
|
toolId?: string;
|
|
7
7
|
runId?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function listToolsHandler({ tools }: Pick<ToolsContext, 'tools'>): Promise<Record<string, any>>;
|
|
10
10
|
export declare function getToolByIdHandler({ tools, toolId }: Pick<ToolsContext, 'tools' | 'toolId'>): Promise<any>;
|
|
11
|
-
export declare function executeToolHandler(tools: ToolsContext['tools']): ({ mastra, runId, toolId, data,
|
|
11
|
+
export declare function executeToolHandler(tools: ToolsContext['tools']): ({ mastra, runId, toolId, data, requestContext, }: Pick<ToolsContext, "mastra" | "toolId" | "runId"> & {
|
|
12
12
|
data?: unknown;
|
|
13
|
-
|
|
13
|
+
requestContext: RequestContext;
|
|
14
14
|
}) => Promise<any>;
|
|
15
|
-
export declare function getAgentToolHandler({ mastra, agentId, toolId,
|
|
15
|
+
export declare function getAgentToolHandler({ mastra, agentId, toolId, requestContext, }: Pick<ToolsContext, 'mastra' | 'toolId'> & {
|
|
16
16
|
agentId?: string;
|
|
17
|
-
|
|
17
|
+
requestContext: RequestContext;
|
|
18
18
|
}): Promise<any>;
|
|
19
|
-
export declare function executeAgentToolHandler({ mastra, agentId, toolId, data,
|
|
19
|
+
export declare function executeAgentToolHandler({ mastra, agentId, toolId, data, requestContext, }: Pick<ToolsContext, 'mastra' | 'toolId'> & {
|
|
20
20
|
agentId?: string;
|
|
21
21
|
data: any;
|
|
22
|
-
|
|
22
|
+
requestContext: RequestContext;
|
|
23
23
|
}): Promise<any>;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKxC,UAAU,YAAa,SAAQ,OAAO;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,wBAAsB,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAA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1
|
+
export { executeAgentToolHandler, executeToolHandler, getAgentToolHandler, getToolByIdHandler, listToolsHandler } from '../../chunk-2XD2KQEK.js';
|
|
2
2
|
//# sourceMappingURL=tools.js.map
|
|
3
3
|
//# sourceMappingURL=tools.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7YHMDEQ6_cjs = require('../../chunk-7YHMDEQ6.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 chunk7YHMDEQ6_cjs.generateSpeechHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getListenerHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7YHMDEQ6_cjs.getListenerHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getSpeakersHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7YHMDEQ6_cjs.getSpeakersHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "transcribeSpeechHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7YHMDEQ6_cjs.transcribeSpeechHandler; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=voice.cjs.map
|
|
24
24
|
//# sourceMappingURL=voice.cjs.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { Agent } from '@mastra/core/agent';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RequestContext } from '@mastra/core/request-context';
|
|
3
3
|
import type { Context } from '../types.js';
|
|
4
4
|
interface VoiceContext extends Context {
|
|
5
5
|
agentId?: string;
|
|
6
|
-
|
|
6
|
+
requestContext?: RequestContext;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Get available speakers for an agent
|
|
10
10
|
*/
|
|
11
|
-
export declare function getSpeakersHandler({ mastra, agentId,
|
|
11
|
+
export declare function getSpeakersHandler({ mastra, agentId, requestContext }: VoiceContext): Promise<{
|
|
12
12
|
voiceId: string;
|
|
13
13
|
}[]>;
|
|
14
14
|
/**
|
|
15
15
|
* Generate speech from text
|
|
16
16
|
*/
|
|
17
|
-
export declare function generateSpeechHandler({ mastra, agentId, body,
|
|
17
|
+
export declare function generateSpeechHandler({ mastra, agentId, body, requestContext, }: VoiceContext & {
|
|
18
18
|
body?: {
|
|
19
19
|
text?: string;
|
|
20
20
|
speakerId?: string;
|
|
@@ -23,7 +23,7 @@ export declare function generateSpeechHandler({ mastra, agentId, body, runtimeCo
|
|
|
23
23
|
/**
|
|
24
24
|
* Transcribe speech to text
|
|
25
25
|
*/
|
|
26
|
-
export declare function transcribeSpeechHandler({ mastra, agentId, body,
|
|
26
|
+
export declare function transcribeSpeechHandler({ mastra, agentId, body, requestContext, }: VoiceContext & {
|
|
27
27
|
body?: {
|
|
28
28
|
audioData?: Buffer;
|
|
29
29
|
options?: Parameters<NonNullable<Agent['voice']>['listen']>[1];
|
|
@@ -34,7 +34,7 @@ export declare function transcribeSpeechHandler({ mastra, agentId, body, runtime
|
|
|
34
34
|
/**
|
|
35
35
|
* Get available listeners for an agent
|
|
36
36
|
*/
|
|
37
|
-
export declare function getListenerHandler({ mastra, agentId,
|
|
37
|
+
export declare function getListenerHandler({ mastra, agentId, requestContext }: VoiceContext): Promise<{
|
|
38
38
|
enabled: boolean;
|
|
39
39
|
}>;
|
|
40
40
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-
|
|
1
|
+
export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-74ZF4DII.js';
|
|
2
2
|
//# sourceMappingURL=voice.js.map
|
|
3
3
|
//# sourceMappingURL=voice.js.map
|
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPUYDRTPG_cjs = require('../../chunk-PUYDRTPG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "cancelWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkPUYDRTPG_cjs.cancelWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createWorkflowRunHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPUYDRTPG_cjs.createWorkflowRunHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPUYDRTPG_cjs.getWorkflowByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPUYDRTPG_cjs.getWorkflowRunByIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPUYDRTPG_cjs.getWorkflowRunExecutionResultHandler; }
|
|
26
26
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
27
|
+
Object.defineProperty(exports, "listWorkflowRunsHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPUYDRTPG_cjs.listWorkflowRunsHandler; }
|
|
30
30
|
});
|
|
31
|
-
Object.defineProperty(exports, "
|
|
31
|
+
Object.defineProperty(exports, "listWorkflowsHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPUYDRTPG_cjs.listWorkflowsHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "observeStreamLegacyWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPUYDRTPG_cjs.observeStreamLegacyWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "observeStreamVNextWorkflowHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkPUYDRTPG_cjs.observeStreamVNextWorkflowHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "observeStreamWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkPUYDRTPG_cjs.observeStreamWorkflowHandler; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkPUYDRTPG_cjs.resumeAsyncWorkflowHandler; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "resumeStreamWorkflowHandler", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkPUYDRTPG_cjs.resumeStreamWorkflowHandler; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkPUYDRTPG_cjs.resumeWorkflowHandler; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "sendWorkflowRunEventHandler", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkPUYDRTPG_cjs.sendWorkflowRunEventHandler; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkPUYDRTPG_cjs.startAsyncWorkflowHandler; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkPUYDRTPG_cjs.startWorkflowRunHandler; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "streamLegacyWorkflowHandler", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkPUYDRTPG_cjs.streamLegacyWorkflowHandler; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "streamVNextWorkflowHandler", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkPUYDRTPG_cjs.streamVNextWorkflowHandler; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "streamWorkflowHandler", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkPUYDRTPG_cjs.streamWorkflowHandler; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkPUYDRTPG_cjs.watchWorkflowHandler; }
|
|
86
86
|
});
|
|
87
87
|
//# sourceMappingURL=workflows.cjs.map
|
|
88
88
|
//# sourceMappingURL=workflows.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReadableStream } from 'node:stream/web';
|
|
2
2
|
import type { TracingOptions } from '@mastra/core/ai-tracing';
|
|
3
|
-
import type {
|
|
3
|
+
import type { RequestContext } from '@mastra/core/di';
|
|
4
4
|
import type { WorkflowRuns } from '@mastra/core/storage';
|
|
5
5
|
import type { Workflow, WatchEvent, WorkflowInfo, ChunkType, StreamEvent } from '@mastra/core/workflows';
|
|
6
6
|
import type { Context } from '../types.js';
|
|
@@ -8,21 +8,21 @@ export interface WorkflowContext extends Context {
|
|
|
8
8
|
workflowId?: string;
|
|
9
9
|
runId?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function
|
|
11
|
+
export declare function listWorkflowsHandler({ mastra }: WorkflowContext): Promise<Record<string, WorkflowInfo>>;
|
|
12
12
|
export declare function getWorkflowByIdHandler({ mastra, workflowId }: WorkflowContext): Promise<WorkflowInfo>;
|
|
13
13
|
export declare function getWorkflowRunByIdHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<Workflow['getWorkflowRunById']>>;
|
|
14
14
|
export declare function getWorkflowRunExecutionResultHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<WatchEvent['payload']['workflowState']>;
|
|
15
15
|
export declare function createWorkflowRunHandler({ mastra, workflowId, runId: prevRunId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<{
|
|
16
16
|
runId: string;
|
|
17
17
|
}>;
|
|
18
|
-
export declare function startAsyncWorkflowHandler({ mastra,
|
|
18
|
+
export declare function startAsyncWorkflowHandler({ mastra, requestContext, workflowId, runId, inputData, tracingOptions, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
19
19
|
inputData?: unknown;
|
|
20
|
-
|
|
20
|
+
requestContext?: RequestContext;
|
|
21
21
|
tracingOptions?: TracingOptions;
|
|
22
22
|
}): Promise<import("@mastra/core").WorkflowResult<any, any, any, any>>;
|
|
23
|
-
export declare function startWorkflowRunHandler({ mastra,
|
|
23
|
+
export declare function startWorkflowRunHandler({ mastra, requestContext, workflowId, runId, inputData, tracingOptions, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
24
24
|
inputData?: unknown;
|
|
25
|
-
|
|
25
|
+
requestContext?: RequestContext;
|
|
26
26
|
tracingOptions?: TracingOptions;
|
|
27
27
|
}): Promise<{
|
|
28
28
|
message: string;
|
|
@@ -30,14 +30,14 @@ export declare function startWorkflowRunHandler({ mastra, runtimeContext, workfl
|
|
|
30
30
|
export declare function watchWorkflowHandler({ mastra, workflowId, runId, eventType, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
31
31
|
eventType?: 'watch' | 'watch-v2';
|
|
32
32
|
}): Promise<ReadableStream<string>>;
|
|
33
|
-
export declare function streamWorkflowHandler({ mastra,
|
|
33
|
+
export declare function streamWorkflowHandler({ mastra, requestContext, workflowId, runId, inputData, tracingOptions, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
34
34
|
inputData?: unknown;
|
|
35
|
-
|
|
35
|
+
requestContext?: RequestContext;
|
|
36
36
|
tracingOptions?: TracingOptions;
|
|
37
37
|
}): Promise<ReadableStream<ChunkType>>;
|
|
38
|
-
export declare function streamLegacyWorkflowHandler({ mastra,
|
|
38
|
+
export declare function streamLegacyWorkflowHandler({ mastra, requestContext, workflowId, runId, inputData, tracingOptions, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
39
39
|
inputData?: unknown;
|
|
40
|
-
|
|
40
|
+
requestContext?: RequestContext;
|
|
41
41
|
tracingOptions?: TracingOptions;
|
|
42
42
|
}): Promise<{
|
|
43
43
|
stream: ReadableStream<StreamEvent>;
|
|
@@ -45,40 +45,40 @@ export declare function streamLegacyWorkflowHandler({ mastra, runtimeContext, wo
|
|
|
45
45
|
}>;
|
|
46
46
|
export declare function observeStreamLegacyWorkflowHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReadableStream<StreamEvent>>;
|
|
47
47
|
export declare function observeStreamWorkflowHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReadableStream<ChunkType>>;
|
|
48
|
-
export declare function streamVNextWorkflowHandler({ mastra,
|
|
48
|
+
export declare function streamVNextWorkflowHandler({ mastra, requestContext, workflowId, runId, inputData, closeOnSuspend, tracingOptions, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
49
49
|
inputData?: unknown;
|
|
50
|
-
|
|
50
|
+
requestContext?: RequestContext;
|
|
51
51
|
closeOnSuspend?: boolean;
|
|
52
52
|
tracingOptions?: TracingOptions;
|
|
53
53
|
}): Promise<ReadableStream<ChunkType>>;
|
|
54
54
|
export declare function observeStreamVNextWorkflowHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReadableStream<ChunkType>>;
|
|
55
|
-
export declare function resumeAsyncWorkflowHandler({ mastra, workflowId, runId, body,
|
|
55
|
+
export declare function resumeAsyncWorkflowHandler({ mastra, workflowId, runId, body, requestContext, tracingOptions, }: WorkflowContext & {
|
|
56
56
|
body: {
|
|
57
57
|
step: string | string[];
|
|
58
58
|
resumeData?: unknown;
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
requestContext?: RequestContext;
|
|
61
61
|
tracingOptions?: TracingOptions;
|
|
62
62
|
}): Promise<import("@mastra/core").WorkflowResult<any, any, any, any>>;
|
|
63
|
-
export declare function resumeWorkflowHandler({ mastra, workflowId, runId, body,
|
|
63
|
+
export declare function resumeWorkflowHandler({ mastra, workflowId, runId, body, requestContext, tracingOptions, }: WorkflowContext & {
|
|
64
64
|
body: {
|
|
65
65
|
step: string | string[];
|
|
66
66
|
resumeData?: unknown;
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
requestContext?: RequestContext;
|
|
69
69
|
tracingOptions?: TracingOptions;
|
|
70
70
|
}): Promise<{
|
|
71
71
|
message: string;
|
|
72
72
|
}>;
|
|
73
|
-
export declare function resumeStreamWorkflowHandler({ mastra, workflowId, runId, body,
|
|
73
|
+
export declare function resumeStreamWorkflowHandler({ mastra, workflowId, runId, body, requestContext, tracingOptions, }: WorkflowContext & {
|
|
74
74
|
body: {
|
|
75
75
|
step: string | string[];
|
|
76
76
|
resumeData?: unknown;
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
requestContext?: RequestContext;
|
|
79
79
|
tracingOptions?: TracingOptions;
|
|
80
80
|
}): Promise<ReadableStream<ChunkType>>;
|
|
81
|
-
export declare function
|
|
81
|
+
export declare function listWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
|
|
82
82
|
fromDate?: Date;
|
|
83
83
|
toDate?: Date;
|
|
84
84
|
limit?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,EAET,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAIxC,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/workflows.ts"],"names":[],"mappings":"A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8B1D;AAED,wBAAsB,2BAA2B,CAAC,EAChD,MAAM,EACN,UAAU,EACV,KAAK,EACL,KAAK,EACL,IAAI,GACL,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,YAAY,GAAG,OAAO,CAAC,GAAG;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;CACf;;GA8BA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler,
|
|
1
|
+
export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, listWorkflowRunsHandler, listWorkflowsHandler, observeStreamLegacyWorkflowHandler, observeStreamVNextWorkflowHandler, observeStreamWorkflowHandler, resumeAsyncWorkflowHandler, resumeStreamWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamLegacyWorkflowHandler, streamVNextWorkflowHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-S4IOWSI3.js';
|
|
2
2
|
//# sourceMappingURL=workflows.js.map
|
|
3
3
|
//# sourceMappingURL=workflows.js.map
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkY7SH5ZKM_cjs = require('../chunk-Y7SH5ZKM.cjs');
|
|
3
|
+
var chunkLROVQBIB_cjs = require('../chunk-LROVQBIB.cjs');
|
|
5
4
|
var chunk2S4IMB6E_cjs = require('../chunk-2S4IMB6E.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var chunk6IGZKIRM_cjs = require('../chunk-6IGZKIRM.cjs');
|
|
6
|
+
var chunkBMOVKZO7_cjs = require('../chunk-BMOVKZO7.cjs');
|
|
8
7
|
var chunkEP3JQDPD_cjs = require('../chunk-EP3JQDPD.cjs');
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
8
|
+
var chunk7YHMDEQ6_cjs = require('../chunk-7YHMDEQ6.cjs');
|
|
9
|
+
var chunkSED4H2GJ_cjs = require('../chunk-SED4H2GJ.cjs');
|
|
10
|
+
var chunk4BKR6543_cjs = require('../chunk-4BKR6543.cjs');
|
|
11
|
+
var chunkPUYDRTPG_cjs = require('../chunk-PUYDRTPG.cjs');
|
|
12
|
+
var chunkHLIRV42R_cjs = require('../chunk-HLIRV42R.cjs');
|
|
13
|
+
var chunkWH5RPLO4_cjs = require('../chunk-WH5RPLO4.cjs');
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
Object.defineProperty(exports, "logs", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkXN74I6VW_cjs.logs_exports; }
|
|
21
|
-
});
|
|
22
17
|
Object.defineProperty(exports, "memory", {
|
|
23
18
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkLROVQBIB_cjs.memory_exports; }
|
|
25
20
|
});
|
|
26
21
|
Object.defineProperty(exports, "observability", {
|
|
27
22
|
enumerable: true,
|
|
@@ -29,11 +24,11 @@ Object.defineProperty(exports, "observability", {
|
|
|
29
24
|
});
|
|
30
25
|
Object.defineProperty(exports, "scores", {
|
|
31
26
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6IGZKIRM_cjs.scores_exports; }
|
|
33
28
|
});
|
|
34
29
|
Object.defineProperty(exports, "tools", {
|
|
35
30
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkBMOVKZO7_cjs.tools_exports; }
|
|
37
32
|
});
|
|
38
33
|
Object.defineProperty(exports, "vector", {
|
|
39
34
|
enumerable: true,
|
|
@@ -41,27 +36,27 @@ Object.defineProperty(exports, "vector", {
|
|
|
41
36
|
});
|
|
42
37
|
Object.defineProperty(exports, "voice", {
|
|
43
38
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk7YHMDEQ6_cjs.voice_exports; }
|
|
45
40
|
});
|
|
46
41
|
Object.defineProperty(exports, "a2a", {
|
|
47
42
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkSED4H2GJ_cjs.a2a_exports; }
|
|
49
44
|
});
|
|
50
45
|
Object.defineProperty(exports, "agentBuilder", {
|
|
51
46
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk4BKR6543_cjs.agent_builder_exports; }
|
|
53
48
|
});
|
|
54
49
|
Object.defineProperty(exports, "workflows", {
|
|
55
50
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkPUYDRTPG_cjs.workflows_exports; }
|
|
57
52
|
});
|
|
58
53
|
Object.defineProperty(exports, "agents", {
|
|
59
54
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkHLIRV42R_cjs.agents_exports; }
|
|
61
56
|
});
|
|
62
|
-
Object.defineProperty(exports, "
|
|
57
|
+
Object.defineProperty(exports, "logs", {
|
|
63
58
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkWH5RPLO4_cjs.logs_exports; }
|
|
65
60
|
});
|
|
66
61
|
//# sourceMappingURL=handlers.cjs.map
|
|
67
62
|
//# sourceMappingURL=handlers.cjs.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * as agentBuilder from './handlers/agent-builder.js';
|
|
2
2
|
export * as agents from './handlers/agents.js';
|
|
3
3
|
export * as a2a from './handlers/a2a.js';
|
|
4
|
-
export * as legacyWorkflows from './handlers/legacyWorkflows.js';
|
|
5
4
|
export * as logs from './handlers/logs.js';
|
|
6
5
|
export * as memory from './handlers/memory.js';
|
|
7
6
|
export * as observability from './handlers/observability.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../src/server/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../src/server/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC"}
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { memory_exports as memory } from '../chunk-OGK26QPW.js';
|
|
1
|
+
export { memory_exports as memory } from '../chunk-CXVOX4WB.js';
|
|
3
2
|
export { observability_exports as observability } from '../chunk-BATEJLED.js';
|
|
4
|
-
export { scores_exports as scores } from '../chunk-
|
|
5
|
-
export { tools_exports as tools } from '../chunk-
|
|
3
|
+
export { scores_exports as scores } from '../chunk-36CWLQQT.js';
|
|
4
|
+
export { tools_exports as tools } from '../chunk-2XD2KQEK.js';
|
|
6
5
|
export { vector_exports as vector } from '../chunk-MYR4PVGN.js';
|
|
7
|
-
export { voice_exports as voice } from '../chunk-
|
|
8
|
-
export { a2a_exports as a2a } from '../chunk-
|
|
9
|
-
export { agent_builder_exports as agentBuilder } from '../chunk-
|
|
10
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
11
|
-
export { agents_exports as agents } from '../chunk-
|
|
12
|
-
export {
|
|
6
|
+
export { voice_exports as voice } from '../chunk-74ZF4DII.js';
|
|
7
|
+
export { a2a_exports as a2a } from '../chunk-OEW3R7V4.js';
|
|
8
|
+
export { agent_builder_exports as agentBuilder } from '../chunk-4YFT3JFJ.js';
|
|
9
|
+
export { workflows_exports as workflows } from '../chunk-S4IOWSI3.js';
|
|
10
|
+
export { agents_exports as agents } from '../chunk-7MCHFMDF.js';
|
|
11
|
+
export { logs_exports as logs } from '../chunk-7KNKINQE.js';
|
|
13
12
|
//# sourceMappingURL=handlers.js.map
|
|
14
13
|
//# sourceMappingURL=handlers.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.0.0-fix-
|
|
3
|
+
"version": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"license": "Apache-2.0",
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"zod": "^3.25.0 || ^4.0.0",
|
|
60
|
-
"@mastra/core": "0.0.0-fix-
|
|
60
|
+
"@mastra/core": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@ai-sdk/openai": "^1.3.24",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"typescript": "^5.8.3",
|
|
71
71
|
"vitest": "^3.2.4",
|
|
72
72
|
"zod": "^3.25.76",
|
|
73
|
-
"@internal/lint": "0.0.0-fix-
|
|
73
|
+
"@internal/lint": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352",
|
|
74
74
|
"@internal/storage-test-utils": "0.0.49",
|
|
75
|
-
"@mastra/core": "0.0.0-fix-
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
75
|
+
"@mastra/core": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352",
|
|
76
|
+
"@internal/types-builder": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352",
|
|
77
|
+
"@mastra/agent-builder": "0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352"
|
|
78
78
|
},
|
|
79
79
|
"homepage": "https://mastra.ai",
|
|
80
80
|
"repository": {
|