@mastra/server 0.0.0-remove-cloud-span-transform-20250425214156 → 0.0.0-remove-unused-import-20250909212718
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 +3541 -0
- package/LICENSE.md +11 -42
- package/README.md +48 -135
- package/dist/chunk-3THIIWWW.cjs +484 -0
- package/dist/chunk-3THIIWWW.cjs.map +1 -0
- package/dist/{chunk-L7XE5QTW.js → chunk-4QCXUEAT.js} +11 -2
- package/dist/chunk-4QCXUEAT.js.map +1 -0
- package/dist/chunk-4RRMWXQ2.js +3522 -0
- package/dist/chunk-4RRMWXQ2.js.map +1 -0
- package/dist/chunk-5DP5XZH6.cjs +928 -0
- package/dist/chunk-5DP5XZH6.cjs.map +1 -0
- package/dist/chunk-5QUKZCEF.js +476 -0
- package/dist/chunk-5QUKZCEF.js.map +1 -0
- package/dist/chunk-66YYHFGF.js +761 -0
- package/dist/chunk-66YYHFGF.js.map +1 -0
- package/dist/chunk-6GMFZ5LK.js +2774 -0
- package/dist/chunk-6GMFZ5LK.js.map +1 -0
- package/dist/chunk-6LUKYSWE.cjs +610 -0
- package/dist/chunk-6LUKYSWE.cjs.map +1 -0
- package/dist/chunk-743UIDHI.cjs +2013 -0
- package/dist/chunk-743UIDHI.cjs.map +1 -0
- package/dist/{chunk-FV45V6WC.cjs → chunk-7NADHFD2.cjs} +3 -7
- package/dist/chunk-7NADHFD2.cjs.map +1 -0
- package/dist/chunk-7QEJ5QG5.js +151 -0
- package/dist/chunk-7QEJ5QG5.js.map +1 -0
- package/dist/chunk-A3AL7EWJ.js +83 -0
- package/dist/chunk-A3AL7EWJ.js.map +1 -0
- package/dist/{chunk-Q6SHQECN.js → chunk-A75S4TDD.js} +36 -10
- package/dist/chunk-A75S4TDD.js.map +1 -0
- package/dist/chunk-AK2FXLLB.cjs +849 -0
- package/dist/chunk-AK2FXLLB.cjs.map +1 -0
- package/dist/chunk-B2V3PUB7.js +591 -0
- package/dist/chunk-B2V3PUB7.js.map +1 -0
- package/dist/chunk-CY4TP3FK.js +16 -0
- package/dist/chunk-CY4TP3FK.js.map +1 -0
- package/dist/chunk-EMMSS5I5.cjs +37 -0
- package/dist/chunk-EMMSS5I5.cjs.map +1 -0
- package/dist/chunk-EMNGA4R4.js +845 -0
- package/dist/chunk-EMNGA4R4.js.map +1 -0
- package/dist/chunk-FALVL2VV.cjs +3525 -0
- package/dist/chunk-FALVL2VV.cjs.map +1 -0
- package/dist/chunk-FQNT7PI4.js +937 -0
- package/dist/chunk-FQNT7PI4.js.map +1 -0
- package/dist/chunk-G3PMV62Z.js +33 -0
- package/dist/chunk-G3PMV62Z.js.map +1 -0
- package/dist/chunk-G4PUALCE.cjs +28 -0
- package/dist/chunk-G4PUALCE.cjs.map +1 -0
- package/dist/chunk-GU4EWMZB.cjs +769 -0
- package/dist/chunk-GU4EWMZB.cjs.map +1 -0
- package/dist/chunk-GUI3CROV.cjs +159 -0
- package/dist/chunk-GUI3CROV.cjs.map +1 -0
- package/dist/chunk-HJQKWRKQ.cjs +764 -0
- package/dist/chunk-HJQKWRKQ.cjs.map +1 -0
- package/dist/chunk-HVBBFCDH.cjs +2321 -0
- package/dist/chunk-HVBBFCDH.cjs.map +1 -0
- package/dist/chunk-HZJRQ5L3.cjs +1411 -0
- package/dist/chunk-HZJRQ5L3.cjs.map +1 -0
- package/dist/chunk-IGFMAZZ5.cjs +1150 -0
- package/dist/chunk-IGFMAZZ5.cjs.map +1 -0
- package/dist/chunk-IOQGI4ML.js +931 -0
- package/dist/chunk-IOQGI4ML.js.map +1 -0
- package/dist/chunk-IY34NOLA.cjs +150 -0
- package/dist/chunk-IY34NOLA.cjs.map +1 -0
- package/dist/chunk-J7BPKKOG.cjs +163 -0
- package/dist/chunk-J7BPKKOG.cjs.map +1 -0
- package/dist/chunk-KNGXRN26.cjs +335 -0
- package/dist/chunk-KNGXRN26.cjs.map +1 -0
- package/dist/{chunk-WTHDCRMY.js → chunk-KV6VHX4V.js} +33 -8
- package/dist/chunk-KV6VHX4V.js.map +1 -0
- package/dist/chunk-L265APUD.cjs +69 -0
- package/dist/chunk-L265APUD.cjs.map +1 -0
- package/dist/chunk-LF2ZLOFP.js +767 -0
- package/dist/chunk-LF2ZLOFP.js.map +1 -0
- package/dist/chunk-LYPU75T6.js +1147 -0
- package/dist/chunk-LYPU75T6.js.map +1 -0
- package/dist/chunk-M2YFWHSB.js +455 -0
- package/dist/chunk-M2YFWHSB.js.map +1 -0
- package/dist/chunk-MLGHQDZZ.js +15671 -0
- package/dist/chunk-MLGHQDZZ.js.map +1 -0
- package/dist/{chunk-TRDNDNGQ.js → chunk-MMROOK5J.js} +4 -7
- package/dist/chunk-MMROOK5J.js.map +1 -0
- package/dist/chunk-N7F33WAD.js +2290 -0
- package/dist/chunk-N7F33WAD.js.map +1 -0
- package/dist/chunk-NG5IVLEZ.js +1012 -0
- package/dist/chunk-NG5IVLEZ.js.map +1 -0
- package/dist/chunk-OGW6HHVI.js +1408 -0
- package/dist/chunk-OGW6HHVI.js.map +1 -0
- package/dist/chunk-OZLRIVC4.cjs +588 -0
- package/dist/chunk-OZLRIVC4.cjs.map +1 -0
- package/dist/chunk-P7CIEIJ3.js +925 -0
- package/dist/chunk-P7CIEIJ3.js.map +1 -0
- package/dist/chunk-P7RBMCBE.cjs +934 -0
- package/dist/chunk-P7RBMCBE.cjs.map +1 -0
- package/dist/chunk-PPYGWINI.cjs +2777 -0
- package/dist/chunk-PPYGWINI.cjs.map +1 -0
- package/dist/{chunk-7IWQE76Z.cjs → chunk-PWTXZZTR.cjs} +37 -11
- package/dist/chunk-PWTXZZTR.cjs.map +1 -0
- package/dist/chunk-R7NOGUZG.js +65 -0
- package/dist/chunk-R7NOGUZG.js.map +1 -0
- package/dist/chunk-RCHEPTZZ.js +2006 -0
- package/dist/chunk-RCHEPTZZ.js.map +1 -0
- package/dist/chunk-RE4RPXT2.cjs +18 -0
- package/dist/chunk-RE4RPXT2.cjs.map +1 -0
- package/dist/chunk-RW2D3G4K.cjs +470 -0
- package/dist/chunk-RW2D3G4K.cjs.map +1 -0
- package/dist/chunk-SIGXR3JT.cjs +1043 -0
- package/dist/chunk-SIGXR3JT.cjs.map +1 -0
- package/dist/chunk-SPLSYTYW.cjs +88 -0
- package/dist/chunk-SPLSYTYW.cjs.map +1 -0
- package/dist/chunk-SQY4T6EJ.js +571 -0
- package/dist/chunk-SQY4T6EJ.js.map +1 -0
- package/dist/{chunk-5JNVY6DU.js → chunk-SYRRSBGL.js} +48 -12
- package/dist/chunk-SYRRSBGL.js.map +1 -0
- package/dist/{chunk-M56ECCHK.cjs → chunk-T3TIA3O6.cjs} +22 -19
- package/dist/chunk-T3TIA3O6.cjs.map +1 -0
- package/dist/{chunk-LFOBHRFO.js → chunk-TTHEEIZ3.js} +83 -65
- package/dist/chunk-TTHEEIZ3.js.map +1 -0
- package/dist/chunk-TVSIG4JE.cjs +940 -0
- package/dist/chunk-TVSIG4JE.cjs.map +1 -0
- package/dist/{chunk-RE6YL32K.js → chunk-U46VIX2V.js} +54 -30
- package/dist/chunk-U46VIX2V.js.map +1 -0
- package/dist/{chunk-4JINXASC.js → chunk-WHN4VX55.js} +7 -4
- package/dist/chunk-WHN4VX55.js.map +1 -0
- package/dist/chunk-WZC6CIVD.cjs +120 -0
- package/dist/chunk-WZC6CIVD.cjs.map +1 -0
- package/dist/chunk-YITREQVN.cjs +15707 -0
- package/dist/chunk-YITREQVN.cjs.map +1 -0
- package/dist/dist-26HWEQY6.js +3 -0
- package/dist/dist-26HWEQY6.js.map +1 -0
- package/dist/dist-3A5DXB37.cjs +20 -0
- package/dist/dist-3A5DXB37.cjs.map +1 -0
- package/dist/dist-3SJKQJGY.cjs +16 -0
- package/dist/dist-3SJKQJGY.cjs.map +1 -0
- package/dist/dist-4ZQSPE5K.js +3 -0
- package/dist/dist-4ZQSPE5K.js.map +1 -0
- package/dist/dist-5W5QNRTD.js +3 -0
- package/dist/dist-5W5QNRTD.js.map +1 -0
- package/dist/dist-653SRMPL.js +3 -0
- package/dist/dist-653SRMPL.js.map +1 -0
- package/dist/dist-6U6EFC5C.cjs +16 -0
- package/dist/dist-6U6EFC5C.cjs.map +1 -0
- package/dist/dist-7IHNNYMF.cjs +16 -0
- package/dist/dist-7IHNNYMF.cjs.map +1 -0
- package/dist/dist-B5IPRF6W.js +3 -0
- package/dist/dist-B5IPRF6W.js.map +1 -0
- package/dist/dist-EOMYFT4Y.cjs +16 -0
- package/dist/dist-EOMYFT4Y.cjs.map +1 -0
- package/dist/dist-EZZMMMNT.cjs +16 -0
- package/dist/dist-EZZMMMNT.cjs.map +1 -0
- package/dist/dist-F2ET4MNO.cjs +16 -0
- package/dist/dist-F2ET4MNO.cjs.map +1 -0
- package/dist/dist-H64VX6DE.js +3 -0
- package/dist/dist-H64VX6DE.js.map +1 -0
- package/dist/dist-HY7RMLJQ.cjs +16 -0
- package/dist/dist-HY7RMLJQ.cjs.map +1 -0
- package/dist/dist-M6S4P3FJ.js +3 -0
- package/dist/dist-M6S4P3FJ.js.map +1 -0
- package/dist/dist-NR7QSCQT.js +3 -0
- package/dist/dist-NR7QSCQT.js.map +1 -0
- package/dist/dist-QLFMCMCX.js +3 -0
- package/dist/dist-QLFMCMCX.js.map +1 -0
- package/dist/dist-UY46BFRP.js +3 -0
- package/dist/dist-UY46BFRP.js.map +1 -0
- package/dist/dist-WCQDRTIV.cjs +16 -0
- package/dist/dist-WCQDRTIV.cjs.map +1 -0
- package/dist/dist-WKYB3LTJ.cjs +16 -0
- package/dist/dist-WKYB3LTJ.cjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/server/a2a/protocol.d.ts +8 -0
- package/dist/server/a2a/protocol.d.ts.map +1 -0
- package/dist/server/a2a/store.cjs +25 -0
- package/dist/server/a2a/store.cjs.map +1 -0
- package/dist/server/a2a/store.d.ts +14 -0
- package/dist/server/a2a/store.d.ts.map +1 -0
- package/dist/server/a2a/store.js +23 -0
- package/dist/server/a2a/store.js.map +1 -0
- package/dist/server/a2a/tasks.d.ts +20 -0
- package/dist/server/a2a/tasks.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +32 -0
- package/dist/server/handlers/a2a.cjs.map +1 -0
- package/dist/server/handlers/a2a.d.ts +68 -0
- package/dist/server/handlers/a2a.d.ts.map +1 -0
- package/dist/server/handlers/a2a.js +3 -0
- package/dist/server/handlers/a2a.js.map +1 -0
- package/dist/server/handlers/agent-builder.cjs +68 -0
- package/dist/server/handlers/agent-builder.cjs.map +1 -0
- package/dist/server/handlers/agent-builder.d.ts +87 -0
- package/dist/server/handlers/agent-builder.d.ts.map +1 -0
- package/dist/server/handlers/agent-builder.js +3 -0
- package/dist/server/handlers/agent-builder.js.map +1 -0
- package/dist/server/handlers/agents.cjs +37 -7
- package/dist/server/handlers/agents.cjs.map +1 -0
- package/dist/server/handlers/agents.d.ts +129 -6
- package/dist/server/handlers/agents.d.ts.map +1 -0
- package/dist/server/handlers/agents.js +3 -1
- package/dist/server/handlers/agents.js.map +1 -0
- package/dist/server/handlers/error.cjs +4 -2
- package/dist/server/handlers/error.cjs.map +1 -0
- package/dist/server/handlers/error.d.ts +2 -1
- package/dist/server/handlers/error.d.ts.map +1 -0
- package/dist/server/handlers/error.js +3 -1
- package/dist/server/handlers/error.js.map +1 -0
- package/dist/server/handlers/legacyWorkflows.cjs +48 -0
- package/dist/server/handlers/legacyWorkflows.cjs.map +1 -0
- package/dist/server/handlers/legacyWorkflows.d.ts +59 -0
- package/dist/server/handlers/legacyWorkflows.d.ts.map +1 -0
- package/dist/server/handlers/legacyWorkflows.js +3 -0
- package/dist/server/handlers/legacyWorkflows.js.map +1 -0
- package/dist/server/handlers/logs.cjs +6 -4
- package/dist/server/handlers/logs.cjs.map +1 -0
- package/dist/server/handlers/logs.d.ts +34 -3
- package/dist/server/handlers/logs.d.ts.map +1 -0
- package/dist/server/handlers/logs.js +3 -1
- package/dist/server/handlers/logs.js.map +1 -0
- package/dist/server/handlers/memory.cjs +39 -9
- package/dist/server/handlers/memory.cjs.map +1 -0
- package/dist/server/handlers/memory.d.ts +118 -8
- package/dist/server/handlers/memory.d.ts.map +1 -0
- package/dist/server/handlers/memory.js +3 -1
- package/dist/server/handlers/memory.js.map +1 -0
- package/dist/server/handlers/network.cjs +7 -5
- package/dist/server/handlers/network.cjs.map +1 -0
- package/dist/server/handlers/network.d.ts +50 -4
- package/dist/server/handlers/network.d.ts.map +1 -0
- package/dist/server/handlers/network.js +3 -1
- package/dist/server/handlers/network.js.map +1 -0
- package/dist/server/handlers/observability.cjs +16 -0
- package/dist/server/handlers/observability.cjs.map +1 -0
- package/dist/server/handlers/observability.d.ts +23 -0
- package/dist/server/handlers/observability.d.ts.map +1 -0
- package/dist/server/handlers/observability.js +3 -0
- package/dist/server/handlers/observability.js.map +1 -0
- package/dist/server/handlers/scores.cjs +32 -0
- package/dist/server/handlers/scores.cjs.map +1 -0
- package/dist/server/handlers/scores.d.ts +49 -0
- package/dist/server/handlers/scores.d.ts.map +1 -0
- package/dist/server/handlers/scores.js +3 -0
- package/dist/server/handlers/scores.js.map +1 -0
- package/dist/server/handlers/telemetry.cjs +9 -3
- package/dist/server/handlers/telemetry.cjs.map +1 -0
- package/dist/server/handlers/telemetry.d.ts +33 -2
- package/dist/server/handlers/telemetry.d.ts.map +1 -0
- package/dist/server/handlers/telemetry.js +3 -1
- package/dist/server/handlers/telemetry.js.map +1 -0
- package/dist/server/handlers/tools.cjs +11 -5
- package/dist/server/handlers/tools.cjs.map +1 -0
- package/dist/server/handlers/tools.d.ts +25 -4
- package/dist/server/handlers/tools.d.ts.map +1 -0
- package/dist/server/handlers/tools.js +3 -1
- package/dist/server/handlers/tools.js.map +1 -0
- package/dist/server/handlers/utils.cjs +8 -2
- package/dist/server/handlers/utils.cjs.map +1 -0
- package/dist/server/handlers/utils.d.ts +8 -1
- package/dist/server/handlers/utils.d.ts.map +1 -0
- package/dist/server/handlers/utils.js +3 -1
- package/dist/server/handlers/utils.js.map +1 -0
- package/dist/server/handlers/vNextNetwork.cjs +220 -0
- package/dist/server/handlers/vNextNetwork.cjs.map +1 -0
- package/dist/server/handlers/vNextNetwork.d.ts +179 -0
- package/dist/server/handlers/vNextNetwork.d.ts.map +1 -0
- package/dist/server/handlers/vNextNetwork.js +213 -0
- package/dist/server/handlers/vNextNetwork.js.map +1 -0
- package/dist/server/handlers/vector.cjs +9 -7
- package/dist/server/handlers/vector.cjs.map +1 -0
- package/dist/server/handlers/vector.d.ts +51 -6
- package/dist/server/handlers/vector.d.ts.map +1 -0
- package/dist/server/handlers/vector.js +3 -1
- package/dist/server/handlers/vector.js.map +1 -0
- package/dist/server/handlers/voice.cjs +10 -4
- package/dist/server/handlers/voice.cjs.map +1 -0
- package/dist/server/handlers/voice.d.ts +39 -3
- package/dist/server/handlers/voice.d.ts.map +1 -0
- package/dist/server/handlers/voice.js +3 -1
- package/dist/server/handlers/voice.js.map +1 -0
- package/dist/server/handlers/workflows.cjs +35 -13
- package/dist/server/handlers/workflows.cjs.map +1 -0
- package/dist/server/handlers/workflows.d.ts +73 -10
- package/dist/server/handlers/workflows.d.ts.map +1 -0
- package/dist/server/handlers/workflows.js +3 -1
- package/dist/server/handlers/workflows.js.map +1 -0
- package/dist/server/handlers.cjs +52 -30
- package/dist/server/handlers.cjs.map +1 -0
- package/dist/server/handlers.d.ts +15 -10
- package/dist/server/handlers.d.ts.map +1 -0
- package/dist/server/handlers.js +16 -10
- package/dist/server/handlers.js.map +1 -0
- package/dist/server/http-exception.d.ts +87 -0
- package/dist/server/http-exception.d.ts.map +1 -0
- package/dist/server/types.d.ts +10 -0
- package/dist/server/types.d.ts.map +1 -0
- package/dist/server/utils.d.ts +42 -0
- package/dist/server/utils.d.ts.map +1 -0
- package/package.json +51 -19
- package/dist/_tsup-dts-rollup.d.cts +0 -648
- package/dist/_tsup-dts-rollup.d.ts +0 -648
- package/dist/chunk-2FJURXCL.cjs +0 -213
- package/dist/chunk-3AHQ5RGN.js +0 -11
- package/dist/chunk-3EJZQ6TQ.js +0 -49
- package/dist/chunk-55HTWX4C.cjs +0 -93
- package/dist/chunk-5SWCVTNL.cjs +0 -5579
- package/dist/chunk-B66WVPGJ.js +0 -297
- package/dist/chunk-D3G23FP3.cjs +0 -126
- package/dist/chunk-FPIWDH5Y.cjs +0 -126
- package/dist/chunk-HCOPJZ4A.cjs +0 -164
- package/dist/chunk-OMN3UI6X.js +0 -5576
- package/dist/chunk-QN4KF3BH.cjs +0 -18
- package/dist/chunk-R4J7XQYU.js +0 -156
- package/dist/chunk-RBQASTUP.js +0 -203
- package/dist/chunk-SKBVVI24.cjs +0 -54
- package/dist/chunk-TZK63M5N.cjs +0 -317
- package/dist/chunk-ZHNKYTNS.cjs +0 -309
- package/dist/chunk-ZLBRQFDD.cjs +0 -13
- package/dist/index.d.cts +0 -1
- package/dist/server/handlers/agents.d.cts +0 -6
- package/dist/server/handlers/error.d.cts +0 -1
- package/dist/server/handlers/logs.d.cts +0 -3
- package/dist/server/handlers/memory.d.cts +0 -8
- package/dist/server/handlers/network.d.cts +0 -4
- package/dist/server/handlers/telemetry.d.cts +0 -2
- package/dist/server/handlers/tools.d.cts +0 -4
- package/dist/server/handlers/utils.d.cts +0 -1
- package/dist/server/handlers/vNextWorkflows.cjs +0 -46
- package/dist/server/handlers/vNextWorkflows.d.cts +0 -10
- package/dist/server/handlers/vNextWorkflows.d.ts +0 -10
- package/dist/server/handlers/vNextWorkflows.js +0 -1
- package/dist/server/handlers/vector.d.cts +0 -6
- package/dist/server/handlers/voice.d.cts +0 -3
- package/dist/server/handlers/workflows.d.cts +0 -10
- package/dist/server/handlers.d.cts +0 -10
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYITREQVN_cjs = require('../../chunk-YITREQVN.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "cancelAgentBuilderActionRunHandler", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkYITREQVN_cjs.cancelAgentBuilderActionRunHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "createAgentBuilderActionRunHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkYITREQVN_cjs.createAgentBuilderActionRunHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getAgentBuilderActionByIdHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkYITREQVN_cjs.getAgentBuilderActionByIdHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getAgentBuilderActionRunByIdHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkYITREQVN_cjs.getAgentBuilderActionRunByIdHandler; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getAgentBuilderActionRunExecutionResultHandler", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkYITREQVN_cjs.getAgentBuilderActionRunExecutionResultHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "getAgentBuilderActionRunsHandler", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkYITREQVN_cjs.getAgentBuilderActionRunsHandler; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "getAgentBuilderActionsHandler", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkYITREQVN_cjs.getAgentBuilderActionsHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "resumeAgentBuilderActionHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkYITREQVN_cjs.resumeAgentBuilderActionHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "resumeAsyncAgentBuilderActionHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkYITREQVN_cjs.resumeAsyncAgentBuilderActionHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "sendAgentBuilderActionRunEventHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkYITREQVN_cjs.sendAgentBuilderActionRunEventHandler; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "startAgentBuilderActionRunHandler", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkYITREQVN_cjs.startAgentBuilderActionRunHandler; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "startAsyncAgentBuilderActionHandler", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkYITREQVN_cjs.startAsyncAgentBuilderActionHandler; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "streamAgentBuilderActionHandler", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkYITREQVN_cjs.streamAgentBuilderActionHandler; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "streamVNextAgentBuilderActionHandler", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return chunkYITREQVN_cjs.streamVNextAgentBuilderActionHandler; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "watchAgentBuilderActionHandler", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return chunkYITREQVN_cjs.watchAgentBuilderActionHandler; }
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=agent-builder.cjs.map
|
|
68
|
+
//# sourceMappingURL=agent-builder.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-builder.cjs"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { WorkflowInfo } from '@mastra/core/workflows';
|
|
2
|
+
import type { Context } from '../types.js';
|
|
3
|
+
import * as workflows from './workflows.js';
|
|
4
|
+
interface AgentBuilderContext extends Context {
|
|
5
|
+
actionId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getAgentBuilderActionsHandler: (builderArgs: AgentBuilderContext) => Promise<Record<string, WorkflowInfo>>;
|
|
8
|
+
export declare const getAgentBuilderActionByIdHandler: (builderArgs: workflows.WorkflowContext & AgentBuilderContext) => Promise<WorkflowInfo>;
|
|
9
|
+
export declare const getAgentBuilderActionRunByIdHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & AgentBuilderContext) => Promise<Promise<import("@mastra/core").WorkflowRun | null>>;
|
|
10
|
+
export declare const getAgentBuilderActionRunExecutionResultHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & AgentBuilderContext) => Promise<{
|
|
11
|
+
status: import("@mastra/core").WorkflowRunStatus;
|
|
12
|
+
steps: Record<string, {
|
|
13
|
+
status: import("@mastra/core").WorkflowRunStatus;
|
|
14
|
+
output?: Record<string, any>;
|
|
15
|
+
payload?: Record<string, any>;
|
|
16
|
+
resumePayload?: Record<string, any>;
|
|
17
|
+
error?: string | Error;
|
|
18
|
+
startedAt: number;
|
|
19
|
+
endedAt: number;
|
|
20
|
+
suspendedAt?: number;
|
|
21
|
+
resumedAt?: number;
|
|
22
|
+
}>;
|
|
23
|
+
result?: Record<string, any>;
|
|
24
|
+
payload?: Record<string, any>;
|
|
25
|
+
error?: string | Error;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const createAgentBuilderActionRunHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & AgentBuilderContext) => Promise<{
|
|
28
|
+
runId: string;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const startAsyncAgentBuilderActionHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
31
|
+
inputData?: unknown;
|
|
32
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
33
|
+
} & AgentBuilderContext) => Promise<import("@mastra/core").WorkflowResult<import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").Step<string, any, any, any, any, any>[]>>;
|
|
34
|
+
export declare const startAgentBuilderActionRunHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
35
|
+
inputData?: unknown;
|
|
36
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
37
|
+
} & AgentBuilderContext) => Promise<{
|
|
38
|
+
message: string;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const watchAgentBuilderActionHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
41
|
+
eventType?: "watch" | "watch-v2";
|
|
42
|
+
} & AgentBuilderContext) => Promise<import("stream/web").ReadableStream<string>>;
|
|
43
|
+
export declare const streamAgentBuilderActionHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
44
|
+
inputData?: unknown;
|
|
45
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
46
|
+
} & AgentBuilderContext) => Promise<{
|
|
47
|
+
stream: import("stream/web").ReadableStream<import("@mastra/core").StreamEvent>;
|
|
48
|
+
getWorkflowState: () => Promise<import("@mastra/core").WorkflowResult<import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").Step<string, any, any, any, any, any>[]>>;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const streamVNextAgentBuilderActionHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
51
|
+
inputData?: unknown;
|
|
52
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
53
|
+
} & AgentBuilderContext) => Promise<import("@mastra/core").MastraWorkflowStream>;
|
|
54
|
+
export declare const resumeAsyncAgentBuilderActionHandler: (builderArgs: workflows.WorkflowContext & {
|
|
55
|
+
body: {
|
|
56
|
+
step: string | string[];
|
|
57
|
+
resumeData?: unknown;
|
|
58
|
+
};
|
|
59
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
60
|
+
} & AgentBuilderContext) => Promise<import("@mastra/core").WorkflowResult<import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").Step<string, any, any, any, any, any>[]>>;
|
|
61
|
+
export declare const resumeAgentBuilderActionHandler: (builderArgs: workflows.WorkflowContext & {
|
|
62
|
+
body: {
|
|
63
|
+
step: string | string[];
|
|
64
|
+
resumeData?: unknown;
|
|
65
|
+
};
|
|
66
|
+
runtimeContext?: import("@mastra/core/runtime-context").RuntimeContext;
|
|
67
|
+
} & AgentBuilderContext) => Promise<{
|
|
68
|
+
message: string;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const getAgentBuilderActionRunsHandler: (builderArgs: workflows.WorkflowContext & {
|
|
71
|
+
fromDate?: Date;
|
|
72
|
+
toDate?: Date;
|
|
73
|
+
limit?: number;
|
|
74
|
+
offset?: number;
|
|
75
|
+
resourceId?: string;
|
|
76
|
+
} & AgentBuilderContext) => Promise<import("@mastra/core").WorkflowRuns>;
|
|
77
|
+
export declare const cancelAgentBuilderActionRunHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & AgentBuilderContext) => Promise<{
|
|
78
|
+
message: string;
|
|
79
|
+
}>;
|
|
80
|
+
export declare const sendAgentBuilderActionRunEventHandler: (builderArgs: Pick<workflows.WorkflowContext, "mastra" | "workflowId" | "runId"> & {
|
|
81
|
+
event: string;
|
|
82
|
+
data: unknown;
|
|
83
|
+
} & AgentBuilderContext) => Promise<{
|
|
84
|
+
message: string;
|
|
85
|
+
}>;
|
|
86
|
+
export {};
|
|
87
|
+
//# sourceMappingURL=agent-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-builder.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agent-builder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,UAAU,mBAAoB,SAAQ,OAAO;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAoDD,eAAO,MAAM,6BAA6B,6EAcP,CAAC;AAEpC,eAAO,MAAM,gCAAgC,yFAG5C,CAAC;AAEF,eAAO,MAAM,mCAAmC,wKAG/C,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;cA2DslB,CAAC;eAA8C,CAAC;qBAAoD,CAAC;aAA4C,CAAC;;;mBAAiH,CAAC;iBAAmC,CAAC;;;;;EAxDx7B,CAAC;AAEF,eAAO,MAAM,kCAAkC;;EAG9C,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;qMAG/C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;EAG7C,CAAC;AAEF,eAAO,MAAM,8BAA8B;;gFAG1C,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;EAG3C,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;gFAGhD,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;kBAwBisL,CAAC;;;qMArBlvL,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;kBAmBo3N,CAAC;;;;;EAhBh6N,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;wEAG5C,CAAC;AAEF,eAAO,MAAM,kCAAkC;;EAG9C,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;EAGjD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { cancelAgentBuilderActionRunHandler, createAgentBuilderActionRunHandler, getAgentBuilderActionByIdHandler, getAgentBuilderActionRunByIdHandler, getAgentBuilderActionRunExecutionResultHandler, getAgentBuilderActionRunsHandler, getAgentBuilderActionsHandler, resumeAgentBuilderActionHandler, resumeAsyncAgentBuilderActionHandler, sendAgentBuilderActionRunEventHandler, startAgentBuilderActionRunHandler, startAsyncAgentBuilderActionHandler, streamAgentBuilderActionHandler, streamVNextAgentBuilderActionHandler, watchAgentBuilderActionHandler } from '../../chunk-MLGHQDZZ.js';
|
|
2
|
+
//# sourceMappingURL=agent-builder.js.map
|
|
3
|
+
//# sourceMappingURL=agent-builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-builder.js"}
|
|
@@ -1,30 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRW2D3G4K_cjs = require('../../chunk-RW2D3G4K.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 chunkRW2D3G4K_cjs.generateHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "generateLegacyHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkRW2D3G4K_cjs.generateLegacyHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "generateVNextHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkRW2D3G4K_cjs.generateVNextHandler; }
|
|
10
18
|
});
|
|
11
19
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
20
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRW2D3G4K_cjs.getAgentByIdHandler; }
|
|
14
22
|
});
|
|
15
23
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
24
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRW2D3G4K_cjs.getAgentsHandler; }
|
|
18
26
|
});
|
|
19
27
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
28
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRW2D3G4K_cjs.getEvalsByAgentIdHandler; }
|
|
22
30
|
});
|
|
23
31
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
32
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRW2D3G4K_cjs.getLiveEvalsByAgentIdHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "getSerializedAgentTools", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkRW2D3G4K_cjs.getSerializedAgentTools; }
|
|
26
38
|
});
|
|
27
39
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
40
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRW2D3G4K_cjs.streamGenerateHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "streamGenerateLegacyHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkRW2D3G4K_cjs.streamGenerateLegacyHandler; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "streamVNextGenerateHandler", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkRW2D3G4K_cjs.streamVNextGenerateHandler; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "streamVNextUIMessageHandler", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkRW2D3G4K_cjs.streamVNextUIMessageHandler; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "updateAgentModelHandler", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkRW2D3G4K_cjs.updateAgentModelHandler; }
|
|
30
58
|
});
|
|
59
|
+
//# sourceMappingURL=agents.cjs.map
|
|
60
|
+
//# sourceMappingURL=agents.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agents.cjs"}
|
|
@@ -1,6 +1,129 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { Agent } from '@mastra/core/agent';
|
|
2
|
+
import { RuntimeContext } from '@mastra/core/runtime-context';
|
|
3
|
+
import type { Context } from '../types.js';
|
|
4
|
+
type GetBody<T extends keyof Agent & {
|
|
5
|
+
[K in keyof Agent]: Agent[K] extends (...args: any) => any ? K : never;
|
|
6
|
+
}[keyof Agent]> = {
|
|
7
|
+
messages: Parameters<Agent[T]>[0];
|
|
8
|
+
} & Parameters<Agent[T]>[1];
|
|
9
|
+
export declare function getSerializedAgentTools(tools: Record<string, any>): Promise<any>;
|
|
10
|
+
export declare function getAgentsHandler({ mastra, runtimeContext }: Context & {
|
|
11
|
+
runtimeContext: RuntimeContext;
|
|
12
|
+
}): Promise<Record<string, Omit<{
|
|
13
|
+
id: string;
|
|
14
|
+
name: any;
|
|
15
|
+
instructions: string;
|
|
16
|
+
tools: any;
|
|
17
|
+
workflows: {};
|
|
18
|
+
provider: string;
|
|
19
|
+
modelId: string;
|
|
20
|
+
modelVersion: "v2" | "v1";
|
|
21
|
+
defaultGenerateOptions: any;
|
|
22
|
+
defaultStreamOptions: any;
|
|
23
|
+
}, "id">>>;
|
|
24
|
+
export declare function getAgentByIdHandler({ mastra, runtimeContext, agentId, isPlayground, }: Context & {
|
|
25
|
+
isPlayground?: boolean;
|
|
26
|
+
runtimeContext: RuntimeContext;
|
|
27
|
+
agentId: string;
|
|
28
|
+
}): Promise<{
|
|
29
|
+
name: any;
|
|
30
|
+
instructions: string;
|
|
31
|
+
tools: any;
|
|
32
|
+
workflows: {};
|
|
33
|
+
provider: string;
|
|
34
|
+
modelId: string;
|
|
35
|
+
modelVersion: "v2" | "v1";
|
|
36
|
+
defaultGenerateOptions: any;
|
|
37
|
+
defaultStreamOptions: any;
|
|
38
|
+
}>;
|
|
39
|
+
export declare function getEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
40
|
+
runtimeContext: RuntimeContext;
|
|
41
|
+
agentId: string;
|
|
42
|
+
}): Promise<{
|
|
43
|
+
id: string;
|
|
44
|
+
name: any;
|
|
45
|
+
instructions: string;
|
|
46
|
+
evals: import("@mastra/core").EvalRow[];
|
|
47
|
+
}>;
|
|
48
|
+
export declare function getLiveEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
49
|
+
runtimeContext: RuntimeContext;
|
|
50
|
+
agentId: string;
|
|
51
|
+
}): Promise<{
|
|
52
|
+
id: string;
|
|
53
|
+
name: any;
|
|
54
|
+
instructions: string;
|
|
55
|
+
evals: import("@mastra/core").EvalRow[];
|
|
56
|
+
}>;
|
|
57
|
+
export declare function generateHandler({ mastra, ...args }: Context & {
|
|
58
|
+
runtimeContext: RuntimeContext;
|
|
59
|
+
agentId: string;
|
|
60
|
+
body: GetBody<'generate'> & {
|
|
61
|
+
resourceid?: string;
|
|
62
|
+
runtimeContext?: Record<string, unknown>;
|
|
63
|
+
};
|
|
64
|
+
abortSignal?: AbortSignal;
|
|
65
|
+
}): Promise<import("@mastra/core").GenerateTextResult<any, undefined>>;
|
|
66
|
+
export declare function generateLegacyHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
67
|
+
runtimeContext: RuntimeContext;
|
|
68
|
+
agentId: string;
|
|
69
|
+
body: GetBody<'generate'> & {
|
|
70
|
+
resourceid?: string;
|
|
71
|
+
runtimeContext?: Record<string, unknown>;
|
|
72
|
+
};
|
|
73
|
+
abortSignal?: AbortSignal;
|
|
74
|
+
}): Promise<import("@mastra/core").GenerateTextResult<any, undefined>>;
|
|
75
|
+
export declare function generateVNextHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
76
|
+
runtimeContext: RuntimeContext;
|
|
77
|
+
agentId: string;
|
|
78
|
+
body: GetBody<'generateVNext'> & {
|
|
79
|
+
runtimeContext?: Record<string, unknown>;
|
|
80
|
+
format?: 'mastra' | 'aisdk';
|
|
81
|
+
};
|
|
82
|
+
abortSignal?: AbortSignal;
|
|
83
|
+
}): Promise<ReturnType<Agent['generateVNext']>>;
|
|
84
|
+
export declare function streamGenerateHandler({ mastra, ...args }: Context & {
|
|
85
|
+
runtimeContext: RuntimeContext;
|
|
86
|
+
agentId: string;
|
|
87
|
+
body: GetBody<'stream'> & {
|
|
88
|
+
resourceid?: string;
|
|
89
|
+
runtimeContext?: string;
|
|
90
|
+
};
|
|
91
|
+
abortSignal?: AbortSignal;
|
|
92
|
+
}): Promise<Response | undefined>;
|
|
93
|
+
export declare function streamGenerateLegacyHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
94
|
+
runtimeContext: RuntimeContext;
|
|
95
|
+
agentId: string;
|
|
96
|
+
body: GetBody<'stream'> & {
|
|
97
|
+
resourceid?: string;
|
|
98
|
+
runtimeContext?: string;
|
|
99
|
+
};
|
|
100
|
+
abortSignal?: AbortSignal;
|
|
101
|
+
}): Promise<Response | undefined>;
|
|
102
|
+
export declare function streamVNextGenerateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
103
|
+
runtimeContext: RuntimeContext;
|
|
104
|
+
agentId: string;
|
|
105
|
+
body: GetBody<'streamVNext'> & {
|
|
106
|
+
runtimeContext?: string;
|
|
107
|
+
format?: 'aisdk' | 'mastra';
|
|
108
|
+
};
|
|
109
|
+
abortSignal?: AbortSignal;
|
|
110
|
+
}): ReturnType<Agent['streamVNext']>;
|
|
111
|
+
export declare function streamVNextUIMessageHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
112
|
+
runtimeContext: RuntimeContext;
|
|
113
|
+
agentId: string;
|
|
114
|
+
body: GetBody<'streamVNext'> & {
|
|
115
|
+
runtimeContext?: string;
|
|
116
|
+
};
|
|
117
|
+
abortSignal?: AbortSignal;
|
|
118
|
+
}): Promise<Response | undefined>;
|
|
119
|
+
export declare function updateAgentModelHandler({ mastra, agentId, body, }: Context & {
|
|
120
|
+
agentId: string;
|
|
121
|
+
body: {
|
|
122
|
+
modelId: string;
|
|
123
|
+
provider: 'openai' | 'anthropic' | 'groq' | 'xai' | 'google';
|
|
124
|
+
};
|
|
125
|
+
}): Promise<{
|
|
126
|
+
message: string;
|
|
127
|
+
}>;
|
|
128
|
+
export {};
|
|
129
|
+
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAK9D,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,CAAC,CAAC,CAAC;CACnC,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5B,wBAAsB,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAkCvE;AAGD,wBAAsB,gBAAgB,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,OAAO,GAAG;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE;;;;;;;;;4BA4CnD,GAAG;0BACP,GAA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getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, generateLegacyHandler, generateVNextHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, getSerializedAgentTools, streamGenerateHandler, streamGenerateLegacyHandler, streamVNextGenerateHandler, streamVNextUIMessageHandler, updateAgentModelHandler } from '../../chunk-M2YFWHSB.js';
|
|
2
|
+
//# sourceMappingURL=agents.js.map
|
|
3
|
+
//# sourceMappingURL=agents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agents.js"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRE4RPXT2_cjs = require('../../chunk-RE4RPXT2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "handleError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRE4RPXT2_cjs.handleError; }
|
|
10
10
|
});
|
|
11
|
+
//# sourceMappingURL=error.cjs.map
|
|
12
|
+
//# sourceMappingURL=error.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"error.cjs"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function handleError(error: unknown, defaultMessage: string): never;
|
|
2
|
+
//# sourceMappingURL=error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/error.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,KAAK,CAUzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"error.js"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKNGXRN26_cjs = require('../../chunk-KNGXRN26.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "createLegacyWorkflowRunHandler", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkKNGXRN26_cjs.createLegacyWorkflowRunHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getLegacyWorkflowByIdHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkKNGXRN26_cjs.getLegacyWorkflowByIdHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getLegacyWorkflowRunHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkKNGXRN26_cjs.getLegacyWorkflowRunHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getLegacyWorkflowRunsHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkKNGXRN26_cjs.getLegacyWorkflowRunsHandler; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getLegacyWorkflowsHandler", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkKNGXRN26_cjs.getLegacyWorkflowsHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "resumeAsyncLegacyWorkflowHandler", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkKNGXRN26_cjs.resumeAsyncLegacyWorkflowHandler; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "resumeLegacyWorkflowHandler", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkKNGXRN26_cjs.resumeLegacyWorkflowHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "startAsyncLegacyWorkflowHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkKNGXRN26_cjs.startAsyncLegacyWorkflowHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "startLegacyWorkflowRunHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkKNGXRN26_cjs.startLegacyWorkflowRunHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "watchLegacyWorkflowHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkKNGXRN26_cjs.watchLegacyWorkflowHandler; }
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
48
|
+
//# sourceMappingURL=legacyWorkflows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"legacyWorkflows.cjs"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ReadableStream } from 'node:stream/web';
|
|
2
|
+
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
3
|
+
import type { LegacyWorkflowRuns } from '@mastra/core/storage';
|
|
4
|
+
import type { LegacyWorkflow } from '@mastra/core/workflows/legacy';
|
|
5
|
+
import type { Context } from '../types.js';
|
|
6
|
+
interface WorkflowContext extends Context {
|
|
7
|
+
workflowId?: string;
|
|
8
|
+
runId?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function getLegacyWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
11
|
+
export declare function getLegacyWorkflowByIdHandler({ mastra, workflowId }: WorkflowContext): Promise<{
|
|
12
|
+
stepGraph: import("@mastra/core/workflows/legacy").StepGraph;
|
|
13
|
+
stepSubscriberGraph: Record<string, import("@mastra/core/workflows/legacy").StepGraph>;
|
|
14
|
+
serializedStepGraph: import("@mastra/core/workflows/legacy").StepGraph;
|
|
15
|
+
serializedStepSubscriberGraph: Record<string, import("@mastra/core/workflows/legacy").StepGraph>;
|
|
16
|
+
name: string;
|
|
17
|
+
triggerSchema: string | undefined;
|
|
18
|
+
steps: any;
|
|
19
|
+
}>;
|
|
20
|
+
export declare function startAsyncLegacyWorkflowHandler({ mastra, runtimeContext, workflowId, runId, triggerData, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
21
|
+
triggerData?: unknown;
|
|
22
|
+
runtimeContext: RuntimeContext;
|
|
23
|
+
}): Promise<import("@mastra/core/workflows/legacy").LegacyWorkflowRunResult<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, import("@mastra/core/workflows/legacy").StepExecutionContext<any, import("@mastra/core/workflows/legacy").WorkflowContext<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, any>[], Record<string, any>>>>[], any>>;
|
|
24
|
+
export declare function getLegacyWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<LegacyWorkflow['getRun']>>;
|
|
25
|
+
export declare function createLegacyWorkflowRunHandler({ mastra, workflowId, runId: prevRunId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<{
|
|
26
|
+
runId: string;
|
|
27
|
+
}>;
|
|
28
|
+
export declare function startLegacyWorkflowRunHandler({ mastra, runtimeContext, workflowId, runId, triggerData, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {
|
|
29
|
+
triggerData?: unknown;
|
|
30
|
+
runtimeContext: RuntimeContext;
|
|
31
|
+
}): Promise<{
|
|
32
|
+
message: string;
|
|
33
|
+
}>;
|
|
34
|
+
export declare function watchLegacyWorkflowHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReadableStream<string>>;
|
|
35
|
+
export declare function resumeAsyncLegacyWorkflowHandler({ mastra, workflowId, runId, body, runtimeContext, }: WorkflowContext & {
|
|
36
|
+
body: {
|
|
37
|
+
stepId: string;
|
|
38
|
+
context: any;
|
|
39
|
+
};
|
|
40
|
+
runtimeContext: RuntimeContext;
|
|
41
|
+
}): Promise<Omit<import("@mastra/core/workflows/legacy").LegacyWorkflowRunResult<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, import("@mastra/core/workflows/legacy").StepExecutionContext<any, import("@mastra/core/workflows/legacy").WorkflowContext<any, import("@mastra/core/workflows/legacy").LegacyStep<string, any, any, any>[], Record<string, any>>>>[], any>, "runId"> | undefined>;
|
|
42
|
+
export declare function resumeLegacyWorkflowHandler({ mastra, workflowId, runId, body, runtimeContext, }: WorkflowContext & {
|
|
43
|
+
body: {
|
|
44
|
+
stepId: string;
|
|
45
|
+
context: any;
|
|
46
|
+
};
|
|
47
|
+
runtimeContext: RuntimeContext;
|
|
48
|
+
}): Promise<{
|
|
49
|
+
message: string;
|
|
50
|
+
}>;
|
|
51
|
+
export declare function getLegacyWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
|
|
52
|
+
fromDate?: Date;
|
|
53
|
+
toDate?: Date;
|
|
54
|
+
limit?: number;
|
|
55
|
+
offset?: number;
|
|
56
|
+
resourceId?: string;
|
|
57
|
+
}): Promise<LegacyWorkflowRuns>;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=legacyWorkflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacyWorkflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/legacyWorkflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,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AG,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAiD5F;AAED,wBAAsB,gCAAgC,CAAC,EACrD,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,cAAc,GACf,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,GAAG,CAAA;KAAE,CAAC;IAAC,cAAc,EAAE,cAAc,CAAA;CAAE,4ZA6B9F;AAED,wBAAsB,2BAA2B,CAAC,EAChD,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,cAAc,GACf,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,GAAG,CAAA;KAAE,CAAC;IAAC,cAAc,EAAE,cAAc,CAAA;CAAE;;GA2B9F;AAED,wBAAsB,4BAA4B,CAAC,EACjD,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,EACN,UAAU,GACX,EAAE,eAAe,GAAG;IACnB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAe9B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { createLegacyWorkflowRunHandler, getLegacyWorkflowByIdHandler, getLegacyWorkflowRunHandler, getLegacyWorkflowRunsHandler, getLegacyWorkflowsHandler, resumeAsyncLegacyWorkflowHandler, resumeLegacyWorkflowHandler, startAsyncLegacyWorkflowHandler, startLegacyWorkflowRunHandler, watchLegacyWorkflowHandler } from '../../chunk-TTHEEIZ3.js';
|
|
2
|
+
//# sourceMappingURL=legacyWorkflows.js.map
|
|
3
|
+
//# sourceMappingURL=legacyWorkflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"legacyWorkflows.js"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSPLSYTYW_cjs = require('../../chunk-SPLSYTYW.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 chunkSPLSYTYW_cjs.getLogTransports; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getLogsByRunIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkSPLSYTYW_cjs.getLogsByRunIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getLogsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkSPLSYTYW_cjs.getLogsHandler; }
|
|
18
18
|
});
|
|
19
|
+
//# sourceMappingURL=logs.cjs.map
|
|
20
|
+
//# sourceMappingURL=logs.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"logs.cjs"}
|
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { BaseLogMessage, LogLevel } from '@mastra/core/logger';
|
|
2
|
+
import type { Mastra } from '@mastra/core/mastra';
|
|
3
|
+
type LogsContext = {
|
|
4
|
+
mastra: Mastra;
|
|
5
|
+
transportId?: string;
|
|
6
|
+
runId?: string;
|
|
7
|
+
params?: {
|
|
8
|
+
fromDate?: Date;
|
|
9
|
+
toDate?: Date;
|
|
10
|
+
logLevel?: LogLevel;
|
|
11
|
+
filters?: string | string[];
|
|
12
|
+
page?: number;
|
|
13
|
+
perPage?: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare function getLogsHandler({ mastra, transportId, params, }: Pick<LogsContext, 'mastra' | 'transportId' | 'params'>): Promise<{
|
|
17
|
+
logs: BaseLogMessage[];
|
|
18
|
+
total: number;
|
|
19
|
+
page: number;
|
|
20
|
+
perPage: number;
|
|
21
|
+
hasMore: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
export declare function getLogsByRunIdHandler({ mastra, runId, transportId, params, }: Pick<LogsContext, 'mastra' | 'runId' | 'transportId' | 'params'>): Promise<{
|
|
24
|
+
logs: import("@mastra/core/logger").BaseLogMessage[];
|
|
25
|
+
total: number;
|
|
26
|
+
page: number;
|
|
27
|
+
perPage: number;
|
|
28
|
+
hasMore: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
export declare function getLogTransports({ mastra }: Pick<LogsContext, 'mastra'>): Promise<{
|
|
31
|
+
transports: string[];
|
|
32
|
+
}>;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=logs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,IAAI,CAAC;QAChB,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC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