@mastra/server 0.14.0-alpha.4 → 0.14.0-alpha.6
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/dist/{chunk-NXLKV5JO.js → chunk-7QEJ5QG5.js} +5 -5
- package/dist/chunk-7QEJ5QG5.js.map +1 -0
- package/dist/{chunk-GCS2NCWM.cjs → chunk-GUI3CROV.cjs} +5 -5
- package/dist/chunk-GUI3CROV.cjs.map +1 -0
- package/dist/{chunk-Z2HSKJPF.js → chunk-ICCXVZ6L.js} +3 -3
- package/dist/{chunk-Z2HSKJPF.js.map → chunk-ICCXVZ6L.js.map} +1 -1
- package/dist/{chunk-MARALOVU.cjs → chunk-IPYICGKH.cjs} +7 -7
- package/dist/{chunk-MARALOVU.cjs.map → chunk-IPYICGKH.cjs.map} +1 -1
- package/dist/{chunk-ID4HDWQJ.js → chunk-JTI4PULF.js} +3 -3
- package/dist/{chunk-ID4HDWQJ.js.map → chunk-JTI4PULF.js.map} +1 -1
- package/dist/{chunk-LRUH33B4.cjs → chunk-LCODOYFR.cjs} +1804 -1804
- package/dist/chunk-LCODOYFR.cjs.map +1 -0
- package/dist/{chunk-HA6FNLRP.cjs → chunk-MEZ5K4AI.cjs} +19 -19
- package/dist/{chunk-HA6FNLRP.cjs.map → chunk-MEZ5K4AI.cjs.map} +1 -1
- package/dist/chunk-PREC2QAP.js +16972 -0
- package/dist/chunk-PREC2QAP.js.map +1 -0
- package/dist/{chunk-7FHF55WA.js → chunk-RGY4HZFK.js} +1804 -1804
- package/dist/chunk-RGY4HZFK.js.map +1 -0
- package/dist/{chunk-2M2NTLZE.js → chunk-SFBU4MIU.js} +3 -3
- package/dist/{chunk-2M2NTLZE.js.map → chunk-SFBU4MIU.js.map} +1 -1
- package/dist/{chunk-LHZNQ6RL.cjs → chunk-X7NUY6QT.cjs} +9 -9
- package/dist/{chunk-LHZNQ6RL.cjs.map → chunk-X7NUY6QT.cjs.map} +1 -1
- package/dist/chunk-ZROTEYUT.cjs +16989 -0
- package/dist/chunk-ZROTEYUT.cjs.map +1 -0
- package/dist/server/handlers/agents.cjs +12 -12
- package/dist/server/handlers/agents.d.ts +2 -2
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/legacyWorkflows.cjs +11 -11
- package/dist/server/handlers/legacyWorkflows.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/tools.cjs +5 -5
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vNextNetwork.cjs +5 -5
- package/dist/server/handlers/vNextNetwork.js +1 -1
- package/dist/server/handlers/workflows.cjs +16 -16
- 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 +7 -2
- package/dist/chunk-6LHEW5YZ.js +0 -7889
- package/dist/chunk-6LHEW5YZ.js.map +0 -1
- package/dist/chunk-7FHF55WA.js.map +0 -1
- package/dist/chunk-BQYMGHOD.cjs +0 -7902
- package/dist/chunk-BQYMGHOD.cjs.map +0 -1
- package/dist/chunk-GCS2NCWM.cjs.map +0 -1
- package/dist/chunk-LRUH33B4.cjs.map +0 -1
- package/dist/chunk-NXLKV5JO.js.map +0 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZROTEYUT_cjs = require('../../chunk-ZROTEYUT.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 chunkZROTEYUT_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "generateVNextHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZROTEYUT_cjs.generateVNextHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZROTEYUT_cjs.getAgentByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZROTEYUT_cjs.getAgentsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZROTEYUT_cjs.getEvalsByAgentIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZROTEYUT_cjs.getLiveEvalsByAgentIdHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getSerializedAgentTools", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZROTEYUT_cjs.getSerializedAgentTools; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZROTEYUT_cjs.streamGenerateHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "streamVNextGenerateHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZROTEYUT_cjs.streamVNextGenerateHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "streamVNextUIMessageHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZROTEYUT_cjs.streamVNextUIMessageHandler; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "updateAgentModelHandler", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZROTEYUT_cjs.updateAgentModelHandler; }
|
|
50
50
|
});
|
|
51
51
|
//# sourceMappingURL=agents.cjs.map
|
|
52
52
|
//# sourceMappingURL=agents.cjs.map
|
|
@@ -104,8 +104,8 @@ export declare function updateAgentModelHandler({ mastra, agentId, body, }: Cont
|
|
|
104
104
|
modelId: string;
|
|
105
105
|
provider: 'openai' | 'anthropic' | 'groq' | 'xai' | 'google';
|
|
106
106
|
};
|
|
107
|
-
}): {
|
|
107
|
+
}): Promise<{
|
|
108
108
|
message: string;
|
|
109
|
-
}
|
|
109
|
+
}>;
|
|
110
110
|
export {};
|
|
111
111
|
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agents.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agents.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKxC,KAAK,OAAO,CACV,CAAC,SAAS,MAAM,KAAK,GAAG;KAAG,CAAC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,GAAG,CAAC,GAAG,KAAK;CAAE,CAAC,MAAM,KAAK,CAAC,IAC7G;IACF,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,C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AAC;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,UAAU,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CA8BnC;AAED,wBAAsB,2BAA2B,CAAC,EAChD,MAAM,EACN,cAAc,EACd,OAAO,EACP,IAAI,EACJ,WAAW,GACZ,EAAE,OAAO,GAAG;IACX,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG;QAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CA8BhC;AAED,wBAAsB,uBAAuB,CAAC,EAC5C,MAAM,EACN,OAAO,EACP,IAAI,GACL,EAAE,OAAO,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;KAC9D,CAAC;CACH,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAwC/B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { generateHandler, generateVNextHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, getSerializedAgentTools, streamGenerateHandler, streamVNextGenerateHandler, streamVNextUIMessageHandler, updateAgentModelHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, generateVNextHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, getSerializedAgentTools, streamGenerateHandler, streamVNextGenerateHandler, streamVNextUIMessageHandler, updateAgentModelHandler } from '../../chunk-PREC2QAP.js';
|
|
2
2
|
//# sourceMappingURL=agents.js.map
|
|
3
3
|
//# sourceMappingURL=agents.js.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkX7NUY6QT_cjs = require('../../chunk-X7NUY6QT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createLegacyWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkX7NUY6QT_cjs.createLegacyWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getLegacyWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkX7NUY6QT_cjs.getLegacyWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getLegacyWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkX7NUY6QT_cjs.getLegacyWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getLegacyWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkX7NUY6QT_cjs.getLegacyWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLegacyWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkX7NUY6QT_cjs.getLegacyWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncLegacyWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkX7NUY6QT_cjs.resumeAsyncLegacyWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeLegacyWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkX7NUY6QT_cjs.resumeLegacyWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncLegacyWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkX7NUY6QT_cjs.startAsyncLegacyWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startLegacyWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkX7NUY6QT_cjs.startLegacyWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchLegacyWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkX7NUY6QT_cjs.watchLegacyWorkflowHandler; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
48
48
|
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createLegacyWorkflowRunHandler, getLegacyWorkflowByIdHandler, getLegacyWorkflowRunHandler, getLegacyWorkflowRunsHandler, getLegacyWorkflowsHandler, resumeAsyncLegacyWorkflowHandler, resumeLegacyWorkflowHandler, startAsyncLegacyWorkflowHandler, startLegacyWorkflowRunHandler, watchLegacyWorkflowHandler } from '../../chunk-
|
|
1
|
+
export { createLegacyWorkflowRunHandler, getLegacyWorkflowByIdHandler, getLegacyWorkflowRunHandler, getLegacyWorkflowRunsHandler, getLegacyWorkflowsHandler, resumeAsyncLegacyWorkflowHandler, resumeLegacyWorkflowHandler, startAsyncLegacyWorkflowHandler, startLegacyWorkflowRunHandler, watchLegacyWorkflowHandler } from '../../chunk-SFBU4MIU.js';
|
|
2
2
|
//# sourceMappingURL=legacyWorkflows.js.map
|
|
3
3
|
//# sourceMappingURL=legacyWorkflows.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGUI3CROV_cjs = require('../../chunk-GUI3CROV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getScorerHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkGUI3CROV_cjs.getScorerHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getScorersHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkGUI3CROV_cjs.getScorersHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getScoresByEntityIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkGUI3CROV_cjs.getScoresByEntityIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getScoresByRunIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGUI3CROV_cjs.getScoresByRunIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getScoresByScorerIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGUI3CROV_cjs.getScoresByScorerIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "saveScoreHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkGUI3CROV_cjs.saveScoreHandler; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=scores.cjs.map
|
|
32
32
|
//# sourceMappingURL=scores.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getScorerHandler, getScorersHandler, getScoresByEntityIdHandler, getScoresByRunIdHandler, getScoresByScorerIdHandler, saveScoreHandler } from '../../chunk-
|
|
1
|
+
export { getScorerHandler, getScorersHandler, getScoresByEntityIdHandler, getScoresByRunIdHandler, getScoresByScorerIdHandler, saveScoreHandler } from '../../chunk-7QEJ5QG5.js';
|
|
2
2
|
//# sourceMappingURL=scores.js.map
|
|
3
3
|
//# sourceMappingURL=scores.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIPYICGKH_cjs = require('../../chunk-IPYICGKH.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 chunkIPYICGKH_cjs.executeAgentToolHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "executeToolHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIPYICGKH_cjs.executeToolHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getToolByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIPYICGKH_cjs.getToolByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getToolsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIPYICGKH_cjs.getToolsHandler; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=tools.cjs.map
|
|
24
24
|
//# sourceMappingURL=tools.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-
|
|
1
|
+
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-ICCXVZ6L.js';
|
|
2
2
|
//# sourceMappingURL=tools.js.map
|
|
3
3
|
//# sourceMappingURL=tools.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLCODOYFR_cjs = require('../../chunk-LCODOYFR.cjs');
|
|
4
4
|
var chunk4QSNRCOT_cjs = require('../../chunk-4QSNRCOT.cjs');
|
|
5
5
|
var chunkRE4RPXT2_cjs = require('../../chunk-RE4RPXT2.cjs');
|
|
6
6
|
var chunk7NADHFD2_cjs = require('../../chunk-7NADHFD2.cjs');
|
|
@@ -47,8 +47,8 @@ async function getVNextNetworksHandler({
|
|
|
47
47
|
return {
|
|
48
48
|
name: workflow.name,
|
|
49
49
|
description: workflow.description,
|
|
50
|
-
inputSchema: workflow.inputSchema ?
|
|
51
|
-
outputSchema: workflow.outputSchema ?
|
|
50
|
+
inputSchema: workflow.inputSchema ? chunkLCODOYFR_cjs.stringify(chunkLCODOYFR_cjs.esm_default(workflow.inputSchema)) : void 0,
|
|
51
|
+
outputSchema: workflow.outputSchema ? chunkLCODOYFR_cjs.stringify(chunkLCODOYFR_cjs.esm_default(workflow.outputSchema)) : void 0
|
|
52
52
|
};
|
|
53
53
|
})
|
|
54
54
|
),
|
|
@@ -99,8 +99,8 @@ async function getVNextNetworkByIdHandler({
|
|
|
99
99
|
return {
|
|
100
100
|
name: workflow.name,
|
|
101
101
|
description: workflow.description,
|
|
102
|
-
inputSchema: workflow.inputSchema ?
|
|
103
|
-
outputSchema: workflow.outputSchema ?
|
|
102
|
+
inputSchema: workflow.inputSchema ? chunkLCODOYFR_cjs.stringify(chunkLCODOYFR_cjs.esm_default(workflow.inputSchema)) : void 0,
|
|
103
|
+
outputSchema: workflow.outputSchema ? chunkLCODOYFR_cjs.stringify(chunkLCODOYFR_cjs.esm_default(workflow.outputSchema)) : void 0
|
|
104
104
|
};
|
|
105
105
|
})
|
|
106
106
|
),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { stringify, esm_default } from '../../chunk-
|
|
1
|
+
import { stringify, esm_default } from '../../chunk-RGY4HZFK.js';
|
|
2
2
|
import { validateBody } from '../../chunk-OW4FX5TS.js';
|
|
3
3
|
import { handleError } from '../../chunk-CY4TP3FK.js';
|
|
4
4
|
import { HTTPException } from '../../chunk-MMROOK5J.js';
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMEZ5K4AI_cjs = require('../../chunk-MEZ5K4AI.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 chunkMEZ5K4AI_cjs.cancelWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createWorkflowRunHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkMEZ5K4AI_cjs.createWorkflowRunHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkMEZ5K4AI_cjs.getWorkflowByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkMEZ5K4AI_cjs.getWorkflowRunByIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkMEZ5K4AI_cjs.getWorkflowRunExecutionResultHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkMEZ5K4AI_cjs.getWorkflowRunsHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkMEZ5K4AI_cjs.getWorkflowsHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkMEZ5K4AI_cjs.resumeAsyncWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkMEZ5K4AI_cjs.resumeWorkflowHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "sendWorkflowRunEventHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkMEZ5K4AI_cjs.sendWorkflowRunEventHandler; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkMEZ5K4AI_cjs.startAsyncWorkflowHandler; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkMEZ5K4AI_cjs.startWorkflowRunHandler; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "streamVNextWorkflowHandler", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkMEZ5K4AI_cjs.streamVNextWorkflowHandler; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "streamWorkflowHandler", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkMEZ5K4AI_cjs.streamWorkflowHandler; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkMEZ5K4AI_cjs.watchWorkflowHandler; }
|
|
66
66
|
});
|
|
67
67
|
//# sourceMappingURL=workflows.cjs.map
|
|
68
68
|
//# sourceMappingURL=workflows.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamVNextWorkflowHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-
|
|
1
|
+
export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamVNextWorkflowHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-JTI4PULF.js';
|
|
2
2
|
//# sourceMappingURL=workflows.js.map
|
|
3
3
|
//# sourceMappingURL=workflows.js.map
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkKLCYAQBL_cjs = require('../chunk-KLCYAQBL.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMEZ5K4AI_cjs = require('../chunk-MEZ5K4AI.cjs');
|
|
5
5
|
var chunkUUO7UO6C_cjs = require('../chunk-UUO7UO6C.cjs');
|
|
6
6
|
var chunkJGD42NME_cjs = require('../chunk-JGD42NME.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkGUI3CROV_cjs = require('../chunk-GUI3CROV.cjs');
|
|
8
8
|
var chunkB2L53BNJ_cjs = require('../chunk-B2L53BNJ.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkIPYICGKH_cjs = require('../chunk-IPYICGKH.cjs');
|
|
10
10
|
var chunkT3TIA3O6_cjs = require('../chunk-T3TIA3O6.cjs');
|
|
11
11
|
var chunk3THIIWWW_cjs = require('../chunk-3THIIWWW.cjs');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var chunkZROTEYUT_cjs = require('../chunk-ZROTEYUT.cjs');
|
|
13
|
+
var chunkX7NUY6QT_cjs = require('../chunk-X7NUY6QT.cjs');
|
|
14
14
|
var chunkNPE3X7FQ_cjs = require('../chunk-NPE3X7FQ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ Object.defineProperty(exports, "voice", {
|
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "workflows", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkMEZ5K4AI_cjs.workflows_exports; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "memory", {
|
|
27
27
|
enumerable: true,
|
|
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "network", {
|
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "scores", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkGUI3CROV_cjs.scores_exports; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "telemetry", {
|
|
39
39
|
enumerable: true,
|
|
@@ -41,7 +41,7 @@ Object.defineProperty(exports, "telemetry", {
|
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "tools", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkIPYICGKH_cjs.tools_exports; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "vector", {
|
|
47
47
|
enumerable: true,
|
|
@@ -53,11 +53,11 @@ Object.defineProperty(exports, "a2a", {
|
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "agents", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkZROTEYUT_cjs.agents_exports; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "legacyWorkflows", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkX7NUY6QT_cjs.legacyWorkflows_exports; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "logs", {
|
|
63
63
|
enumerable: true,
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { voice_exports as voice } from '../chunk-QBWF6U7Z.js';
|
|
2
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
2
|
+
export { workflows_exports as workflows } from '../chunk-JTI4PULF.js';
|
|
3
3
|
export { memory_exports as memory } from '../chunk-DT2MVRFD.js';
|
|
4
4
|
export { network_exports as network } from '../chunk-B43YAQJR.js';
|
|
5
|
-
export { scores_exports as scores } from '../chunk-
|
|
5
|
+
export { scores_exports as scores } from '../chunk-7QEJ5QG5.js';
|
|
6
6
|
export { telemetry_exports as telemetry } from '../chunk-PHZHWQZP.js';
|
|
7
|
-
export { tools_exports as tools } from '../chunk-
|
|
7
|
+
export { tools_exports as tools } from '../chunk-ICCXVZ6L.js';
|
|
8
8
|
export { vector_exports as vector } from '../chunk-WHN4VX55.js';
|
|
9
9
|
export { a2a_exports as a2a } from '../chunk-5QUKZCEF.js';
|
|
10
|
-
export { agents_exports as agents } from '../chunk-
|
|
11
|
-
export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-
|
|
10
|
+
export { agents_exports as agents } from '../chunk-PREC2QAP.js';
|
|
11
|
+
export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-SFBU4MIU.js';
|
|
12
12
|
export { logs_exports as logs } from '../chunk-ROA7BCHD.js';
|
|
13
13
|
//# sourceMappingURL=handlers.js.map
|
|
14
14
|
//# sourceMappingURL=handlers.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.14.0-alpha.
|
|
3
|
+
"version": "0.14.0-alpha.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -60,10 +60,15 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@ai-sdk/anthropic": "^1.2.12",
|
|
63
|
+
"@ai-sdk/anthropic-v5": "npm:@ai-sdk/anthropic@2.0.0",
|
|
63
64
|
"@ai-sdk/google": "^1.2.21",
|
|
65
|
+
"@ai-sdk/google-v5": "npm:@ai-sdk/google@2.0.0",
|
|
64
66
|
"@ai-sdk/groq": "^1.2.9",
|
|
67
|
+
"@ai-sdk/groq-v5": "npm:@ai-sdk/groq@2.0.0",
|
|
65
68
|
"@ai-sdk/openai": "^1.3.24",
|
|
69
|
+
"@ai-sdk/openai-v5": "npm:@ai-sdk/openai@2.0.0",
|
|
66
70
|
"@ai-sdk/xai": "^1.2.18",
|
|
71
|
+
"@ai-sdk/xai-v5": "npm:@ai-sdk/xai@2.0.0",
|
|
67
72
|
"@microsoft/api-extractor": "^7.52.8",
|
|
68
73
|
"@types/node": "^20.19.0",
|
|
69
74
|
"eslint": "^9.30.1",
|
|
@@ -75,7 +80,7 @@
|
|
|
75
80
|
"zod-to-json-schema": "^3.24.5",
|
|
76
81
|
"@internal/lint": "0.0.29",
|
|
77
82
|
"@internal/storage-test-utils": "0.0.25",
|
|
78
|
-
"@mastra/core": "0.14.0-alpha.
|
|
83
|
+
"@mastra/core": "0.14.0-alpha.6",
|
|
79
84
|
"@internal/types-builder": "0.0.4"
|
|
80
85
|
},
|
|
81
86
|
"scripts": {
|