@mastra/server 0.0.0-vnextWorkflows-20250422081019 → 0.0.0-workflow-deno-20250616115451
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 +351 -60
- package/dist/_tsup-dts-rollup.d.ts +351 -60
- package/dist/{chunk-XISBMH56.js → chunk-2HXKRRNS.js} +11 -9
- package/dist/chunk-42IKSJNO.js +421 -0
- package/dist/chunk-42YJ2YVD.cjs +263 -0
- package/dist/{chunk-4JINXASC.js → chunk-55DOQLP6.js} +5 -4
- package/dist/{chunk-QN4KF3BH.cjs → chunk-57CJTIPW.cjs} +2 -2
- package/dist/{chunk-ZLBRQFDD.cjs → chunk-64U3UDTH.cjs} +2 -2
- package/dist/{chunk-2FJURXCL.cjs → chunk-6TJSHFCJ.cjs} +44 -36
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-ASKESBJW.cjs +2004 -0
- package/dist/{chunk-7IWQE76Z.cjs → chunk-B4MQFJ7G.cjs} +16 -10
- package/dist/{chunk-WTHDCRMY.js → chunk-BFOA2QQY.js} +12 -6
- package/dist/{chunk-M56ECCHK.cjs → chunk-BNEY4P4P.cjs} +20 -19
- package/dist/{chunk-YANVFOYA.js → chunk-C7564HUT.js} +56 -34
- package/dist/chunk-CK32I2VN.cjs +435 -0
- package/dist/{chunk-4B7OUZXW.js → chunk-CLYX4KLH.js} +78 -63
- package/dist/chunk-CMMOIUFC.cjs +114 -0
- package/dist/{chunk-3RVHWGWO.js → chunk-CP55EVBK.js} +26 -13
- package/dist/chunk-GHC4YV6R.js +504 -0
- package/dist/{chunk-L7XE5QTW.js → chunk-H5PTF3Y4.js} +1 -1
- package/dist/{chunk-RBQASTUP.js → chunk-I7KJZNX5.js} +14 -6
- package/dist/chunk-IMBY5XUG.cjs +86 -0
- package/dist/{chunk-3AHQ5RGN.js → chunk-M5ABIP7D.js} +1 -1
- package/dist/chunk-MLKGABMK.js +7 -0
- package/dist/{chunk-HABV7TZK.cjs → chunk-NGURCFEJ.cjs} +28 -26
- package/dist/{chunk-TRDNDNGQ.js → chunk-NYN7KFXL.js} +1 -7
- package/dist/chunk-O2YAAFY3.js +255 -0
- package/dist/{chunk-FV45V6WC.cjs → chunk-OCWPVYNI.cjs} +0 -7
- package/dist/chunk-QLG2PFHE.js +81 -0
- package/dist/chunk-SDPGVWQJ.cjs +512 -0
- package/dist/chunk-TGJMNUYJ.js +2001 -0
- package/dist/chunk-VPNDC2DI.cjs +148 -0
- package/dist/chunk-WE32JG64.cjs +332 -0
- package/dist/server/handlers/a2a.cjs +30 -0
- package/dist/server/handlers/a2a.d.cts +6 -0
- package/dist/server/handlers/a2a.d.ts +6 -0
- package/dist/server/handlers/a2a.js +1 -0
- package/dist/server/handlers/agents.cjs +7 -7
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +2 -2
- package/dist/server/handlers/error.js +1 -1
- package/dist/server/handlers/legacyWorkflows.cjs +46 -0
- package/dist/server/handlers/legacyWorkflows.d.cts +10 -0
- package/dist/server/handlers/legacyWorkflows.d.ts +10 -0
- package/dist/server/handlers/legacyWorkflows.js +1 -0
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +9 -9
- package/dist/server/handlers/memory.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/utils.cjs +2 -2
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/vector.cjs +7 -7
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -4
- package/dist/server/handlers/voice.d.cts +1 -0
- package/dist/server/handlers/voice.d.ts +1 -0
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +21 -13
- package/dist/server/handlers/workflows.d.cts +4 -2
- package/dist/server/handlers/workflows.d.ts +4 -2
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +33 -23
- package/dist/server/handlers.d.cts +2 -0
- package/dist/server/handlers.d.ts +2 -0
- package/dist/server/handlers.js +11 -9
- package/package.json +13 -12
- package/dist/chunk-3EJZQ6TQ.js +0 -49
- package/dist/chunk-4WJ5GHRG.cjs +0 -164
- package/dist/chunk-5SWCVTNL.cjs +0 -5579
- package/dist/chunk-A7DF4ETD.cjs +0 -100
- package/dist/chunk-JLDXUWK7.cjs +0 -126
- package/dist/chunk-OMN3UI6X.js +0 -5576
- package/dist/chunk-RNU4JMLM.cjs +0 -317
- package/dist/chunk-SKBVVI24.cjs +0 -54
- package/dist/chunk-TFFNX7FI.js +0 -156
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIMBY5XUG_cjs = require('../../chunk-IMBY5XUG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getLogTransports", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIMBY5XUG_cjs.getLogTransports; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getLogsByRunIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIMBY5XUG_cjs.getLogsByRunIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getLogsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIMBY5XUG_cjs.getLogsHandler; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getLogTransports, getLogsByRunIdHandler, getLogsHandler } from '../../chunk-
|
|
1
|
+
export { getLogTransports, getLogsByRunIdHandler, getLogsHandler } from '../../chunk-QLG2PFHE.js';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6TJSHFCJ_cjs = require('../../chunk-6TJSHFCJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createThreadHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6TJSHFCJ_cjs.createThreadHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "deleteThreadHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6TJSHFCJ_cjs.deleteThreadHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getMemoryStatusHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6TJSHFCJ_cjs.getMemoryStatusHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getMessagesHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6TJSHFCJ_cjs.getMessagesHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getThreadByIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6TJSHFCJ_cjs.getThreadByIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getThreadsHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk6TJSHFCJ_cjs.getThreadsHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "saveMessagesHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk6TJSHFCJ_cjs.saveMessagesHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "updateThreadHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk6TJSHFCJ_cjs.updateThreadHandler; }
|
|
38
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createThreadHandler, deleteThreadHandler, getMemoryStatusHandler, getMessagesHandler, getThreadByIdHandler, getThreadsHandler, saveMessagesHandler, updateThreadHandler } from '../../chunk-
|
|
1
|
+
export { createThreadHandler, deleteThreadHandler, getMemoryStatusHandler, getMessagesHandler, getThreadByIdHandler, getThreadsHandler, saveMessagesHandler, updateThreadHandler } from '../../chunk-I7KJZNX5.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVPNDC2DI_cjs = require('../../chunk-VPNDC2DI.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 chunkVPNDC2DI_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getNetworkByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVPNDC2DI_cjs.getNetworkByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getNetworksHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVPNDC2DI_cjs.getNetworksHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVPNDC2DI_cjs.streamGenerateHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-C7564HUT.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB4MQFJ7G_cjs = require('../../chunk-B4MQFJ7G.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 chunkB4MQFJ7G_cjs.getTelemetryHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "storeTelemetryHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkB4MQFJ7G_cjs.storeTelemetryHandler; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-
|
|
1
|
+
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BFOA2QQY.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNGURCFEJ_cjs = require('../../chunk-NGURCFEJ.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 chunkNGURCFEJ_cjs.executeAgentToolHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "executeToolHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNGURCFEJ_cjs.executeToolHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getToolByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNGURCFEJ_cjs.getToolByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getToolsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNGURCFEJ_cjs.getToolsHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-
|
|
1
|
+
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-2HXKRRNS.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk57CJTIPW_cjs = require('../../chunk-57CJTIPW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "validateBody", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk57CJTIPW_cjs.validateBody; }
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { validateBody } from '../../chunk-
|
|
1
|
+
export { validateBody } from '../../chunk-H5PTF3Y4.js';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBNEY4P4P_cjs = require('../../chunk-BNEY4P4P.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createIndex", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBNEY4P4P_cjs.createIndex; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "deleteIndex", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBNEY4P4P_cjs.deleteIndex; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "describeIndex", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBNEY4P4P_cjs.describeIndex; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "listIndexes", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBNEY4P4P_cjs.listIndexes; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "queryVectors", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBNEY4P4P_cjs.queryVectors; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "upsertVectors", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBNEY4P4P_cjs.upsertVectors; }
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-
|
|
1
|
+
export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-55DOQLP6.js';
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCMMOIUFC_cjs = require('../../chunk-CMMOIUFC.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 chunkCMMOIUFC_cjs.generateSpeechHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getListenerHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkCMMOIUFC_cjs.getListenerHandler; }
|
|
10
14
|
});
|
|
11
15
|
Object.defineProperty(exports, "getSpeakersHandler", {
|
|
12
16
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCMMOIUFC_cjs.getSpeakersHandler; }
|
|
14
18
|
});
|
|
15
19
|
Object.defineProperty(exports, "transcribeSpeechHandler", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCMMOIUFC_cjs.transcribeSpeechHandler; }
|
|
18
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-
|
|
1
|
+
export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-CP55EVBK.js';
|
|
@@ -1,46 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCK32I2VN_cjs = require('../../chunk-CK32I2VN.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "createWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkCK32I2VN_cjs.createWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCK32I2VN_cjs.getWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCK32I2VN_cjs.getWorkflowRunByIdHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkCK32I2VN_cjs.getWorkflowRunExecutionResultHandler; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkCK32I2VN_cjs.getWorkflowRunsHandler; }
|
|
22
26
|
});
|
|
23
27
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCK32I2VN_cjs.getWorkflowsHandler; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCK32I2VN_cjs.resumeAsyncWorkflowHandler; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCK32I2VN_cjs.resumeWorkflowHandler; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkCK32I2VN_cjs.startAsyncWorkflowHandler; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkCK32I2VN_cjs.startWorkflowRunHandler; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "streamWorkflowHandler", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkCK32I2VN_cjs.streamWorkflowHandler; }
|
|
42
50
|
});
|
|
43
51
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
44
52
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkCK32I2VN_cjs.watchWorkflowHandler; }
|
|
46
54
|
});
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { getWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
2
2
|
export { getWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
|
|
3
|
+
export { getWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.cjs';
|
|
4
|
+
export { getWorkflowRunExecutionResultHandler } from '../../_tsup-dts-rollup.cjs';
|
|
5
|
+
export { createWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
3
6
|
export { startAsyncWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
4
|
-
export { getWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
5
|
-
export { createRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
6
7
|
export { startWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
7
8
|
export { watchWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
9
|
+
export { streamWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
8
10
|
export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
9
11
|
export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
10
12
|
export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { getWorkflowsHandler } from '../../_tsup-dts-rollup.js';
|
|
2
2
|
export { getWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
|
|
3
|
+
export { getWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.js';
|
|
4
|
+
export { getWorkflowRunExecutionResultHandler } from '../../_tsup-dts-rollup.js';
|
|
5
|
+
export { createWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
3
6
|
export { startAsyncWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
4
|
-
export { getWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
5
|
-
export { createRunHandler } from '../../_tsup-dts-rollup.js';
|
|
6
7
|
export { startWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
7
8
|
export { watchWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
9
|
+
export { streamWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
8
10
|
export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
9
11
|
export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
10
12
|
export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-42IKSJNO.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,50 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
3
|
+
var chunkVPNDC2DI_cjs = require('../chunk-VPNDC2DI.cjs');
|
|
4
|
+
var chunkB4MQFJ7G_cjs = require('../chunk-B4MQFJ7G.cjs');
|
|
5
|
+
var chunkNGURCFEJ_cjs = require('../chunk-NGURCFEJ.cjs');
|
|
6
|
+
var chunkBNEY4P4P_cjs = require('../chunk-BNEY4P4P.cjs');
|
|
7
|
+
var chunkCMMOIUFC_cjs = require('../chunk-CMMOIUFC.cjs');
|
|
8
|
+
var chunkCK32I2VN_cjs = require('../chunk-CK32I2VN.cjs');
|
|
9
|
+
var chunkSDPGVWQJ_cjs = require('../chunk-SDPGVWQJ.cjs');
|
|
10
|
+
var chunk42YJ2YVD_cjs = require('../chunk-42YJ2YVD.cjs');
|
|
11
|
+
var chunkWE32JG64_cjs = require('../chunk-WE32JG64.cjs');
|
|
12
|
+
var chunkIMBY5XUG_cjs = require('../chunk-IMBY5XUG.cjs');
|
|
13
|
+
var chunk6TJSHFCJ_cjs = require('../chunk-6TJSHFCJ.cjs');
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
|
|
17
|
+
Object.defineProperty(exports, "network", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkVPNDC2DI_cjs.network_exports; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "telemetry", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkB4MQFJ7G_cjs.telemetry_exports; }
|
|
24
|
+
});
|
|
15
25
|
Object.defineProperty(exports, "tools", {
|
|
16
26
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkNGURCFEJ_cjs.tools_exports; }
|
|
18
28
|
});
|
|
19
29
|
Object.defineProperty(exports, "vector", {
|
|
20
30
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkBNEY4P4P_cjs.vector_exports; }
|
|
22
32
|
});
|
|
23
33
|
Object.defineProperty(exports, "voice", {
|
|
24
34
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCMMOIUFC_cjs.voice_exports; }
|
|
26
36
|
});
|
|
27
37
|
Object.defineProperty(exports, "workflows", {
|
|
28
38
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkCK32I2VN_cjs.workflows_exports; }
|
|
30
40
|
});
|
|
31
|
-
Object.defineProperty(exports, "
|
|
41
|
+
Object.defineProperty(exports, "a2a", {
|
|
32
42
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkSDPGVWQJ_cjs.a2a_exports; }
|
|
34
44
|
});
|
|
35
|
-
Object.defineProperty(exports, "
|
|
45
|
+
Object.defineProperty(exports, "agents", {
|
|
36
46
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk42YJ2YVD_cjs.agents_exports; }
|
|
38
48
|
});
|
|
39
|
-
Object.defineProperty(exports, "
|
|
49
|
+
Object.defineProperty(exports, "legacyWorkflows", {
|
|
40
50
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkWE32JG64_cjs.legacyWorkflows_exports; }
|
|
42
52
|
});
|
|
43
|
-
Object.defineProperty(exports, "
|
|
53
|
+
Object.defineProperty(exports, "logs", {
|
|
44
54
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkIMBY5XUG_cjs.logs_exports; }
|
|
46
56
|
});
|
|
47
|
-
Object.defineProperty(exports, "
|
|
57
|
+
Object.defineProperty(exports, "memory", {
|
|
48
58
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk6TJSHFCJ_cjs.memory_exports; }
|
|
50
60
|
});
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { agents } from '../_tsup-dts-rollup.cjs';
|
|
2
|
+
export { a2a } from '../_tsup-dts-rollup.cjs';
|
|
2
3
|
export { logs } from '../_tsup-dts-rollup.cjs';
|
|
3
4
|
export { memory } from '../_tsup-dts-rollup.cjs';
|
|
4
5
|
export { network } from '../_tsup-dts-rollup.cjs';
|
|
5
6
|
export { telemetry } from '../_tsup-dts-rollup.cjs';
|
|
6
7
|
export { tools } from '../_tsup-dts-rollup.cjs';
|
|
8
|
+
export { legacyWorkflows } from '../_tsup-dts-rollup.cjs';
|
|
7
9
|
export { workflows } from '../_tsup-dts-rollup.cjs';
|
|
8
10
|
export { vector } from '../_tsup-dts-rollup.cjs';
|
|
9
11
|
export { voice } from '../_tsup-dts-rollup.cjs';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { agents } from '../_tsup-dts-rollup.js';
|
|
2
|
+
export { a2a } from '../_tsup-dts-rollup.js';
|
|
2
3
|
export { logs } from '../_tsup-dts-rollup.js';
|
|
3
4
|
export { memory } from '../_tsup-dts-rollup.js';
|
|
4
5
|
export { network } from '../_tsup-dts-rollup.js';
|
|
5
6
|
export { telemetry } from '../_tsup-dts-rollup.js';
|
|
6
7
|
export { tools } from '../_tsup-dts-rollup.js';
|
|
8
|
+
export { legacyWorkflows } from '../_tsup-dts-rollup.js';
|
|
7
9
|
export { workflows } from '../_tsup-dts-rollup.js';
|
|
8
10
|
export { vector } from '../_tsup-dts-rollup.js';
|
|
9
11
|
export { voice } from '../_tsup-dts-rollup.js';
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
1
|
+
export { network_exports as network } from '../chunk-C7564HUT.js';
|
|
2
|
+
export { telemetry_exports as telemetry } from '../chunk-BFOA2QQY.js';
|
|
3
|
+
export { tools_exports as tools } from '../chunk-2HXKRRNS.js';
|
|
4
|
+
export { vector_exports as vector } from '../chunk-55DOQLP6.js';
|
|
5
|
+
export { voice_exports as voice } from '../chunk-CP55EVBK.js';
|
|
6
|
+
export { workflows_exports as workflows } from '../chunk-42IKSJNO.js';
|
|
7
|
+
export { a2a_exports as a2a } from '../chunk-GHC4YV6R.js';
|
|
8
|
+
export { agents_exports as agents } from '../chunk-O2YAAFY3.js';
|
|
9
|
+
export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-CLYX4KLH.js';
|
|
10
|
+
export { logs_exports as logs } from '../chunk-QLG2PFHE.js';
|
|
11
|
+
export { memory_exports as memory } from '../chunk-I7KJZNX5.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-workflow-deno-20250616115451",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -44,22 +44,23 @@
|
|
|
44
44
|
"keywords": [],
|
|
45
45
|
"author": "",
|
|
46
46
|
"license": "Elastic-2.0",
|
|
47
|
-
"dependencies": {},
|
|
48
47
|
"peerDependencies": {
|
|
49
|
-
"@mastra/core": "0.
|
|
48
|
+
"@mastra/core": "^0.10.2-alpha.0",
|
|
49
|
+
"zod": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@ai-sdk/openai": "^1.3.
|
|
53
|
-
"@microsoft/api-extractor": "^7.52.
|
|
54
|
-
"@types/node": "^20.
|
|
55
|
-
"eslint": "^9.
|
|
52
|
+
"@ai-sdk/openai": "^1.3.22",
|
|
53
|
+
"@microsoft/api-extractor": "^7.52.8",
|
|
54
|
+
"@types/node": "^20.19.0",
|
|
55
|
+
"eslint": "^9.28.0",
|
|
56
56
|
"superjson": "^2.2.2",
|
|
57
|
-
"tsup": "^8.
|
|
58
|
-
"typescript": "^5.8.
|
|
57
|
+
"tsup": "^8.5.0",
|
|
58
|
+
"typescript": "^5.8.3",
|
|
59
59
|
"vitest": "^2.1.9",
|
|
60
|
-
"zod
|
|
61
|
-
"
|
|
62
|
-
"@
|
|
60
|
+
"zod": "^3.25.57",
|
|
61
|
+
"zod-to-json-schema": "^3.24.5",
|
|
62
|
+
"@mastra/core": "0.0.0-workflow-deno-20250616115451",
|
|
63
|
+
"@internal/lint": "0.0.0-workflow-deno-20250616115451"
|
|
63
64
|
},
|
|
64
65
|
"scripts": {
|
|
65
66
|
"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",
|
package/dist/chunk-3EJZQ6TQ.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { validateBody } from './chunk-L7XE5QTW.js';
|
|
2
|
-
import { handleError } from './chunk-3AHQ5RGN.js';
|
|
3
|
-
import { __export } from './chunk-TRDNDNGQ.js';
|
|
4
|
-
|
|
5
|
-
// src/server/handlers/logs.ts
|
|
6
|
-
var logs_exports = {};
|
|
7
|
-
__export(logs_exports, {
|
|
8
|
-
getLogTransports: () => getLogTransports,
|
|
9
|
-
getLogsByRunIdHandler: () => getLogsByRunIdHandler,
|
|
10
|
-
getLogsHandler: () => getLogsHandler
|
|
11
|
-
});
|
|
12
|
-
async function getLogsHandler({
|
|
13
|
-
mastra,
|
|
14
|
-
transportId
|
|
15
|
-
}) {
|
|
16
|
-
try {
|
|
17
|
-
validateBody({ transportId });
|
|
18
|
-
const logs = await mastra.getLogs(transportId);
|
|
19
|
-
return logs;
|
|
20
|
-
} catch (error) {
|
|
21
|
-
return handleError(error, "Error getting logs");
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
async function getLogsByRunIdHandler({
|
|
25
|
-
mastra,
|
|
26
|
-
runId,
|
|
27
|
-
transportId
|
|
28
|
-
}) {
|
|
29
|
-
try {
|
|
30
|
-
validateBody({ runId, transportId });
|
|
31
|
-
const logs = await mastra.getLogsByRunId({ runId, transportId });
|
|
32
|
-
return logs;
|
|
33
|
-
} catch (error) {
|
|
34
|
-
return handleError(error, "Error getting logs by run ID");
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
async function getLogTransports({ mastra }) {
|
|
38
|
-
try {
|
|
39
|
-
const logger = mastra.getLogger();
|
|
40
|
-
const transports = logger.transports;
|
|
41
|
-
return {
|
|
42
|
-
transports: transports ? Object.keys(transports) : []
|
|
43
|
-
};
|
|
44
|
-
} catch (error) {
|
|
45
|
-
return handleError(error, "Error getting log Transports");
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { getLogTransports, getLogsByRunIdHandler, getLogsHandler, logs_exports };
|