@mastra/server 0.0.0-bundle-studio-cloud-20251222034739 → 0.0.0-bundle-version-20260121132824
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 +1059 -4
- package/dist/{chunk-UWRAKVAJ.js → chunk-2CLS2PYJ.js} +151 -24
- package/dist/chunk-2CLS2PYJ.js.map +1 -0
- package/dist/{chunk-MQLS6Z7A.js → chunk-2CYGIE3E.js} +257 -73
- package/dist/chunk-2CYGIE3E.js.map +1 -0
- package/dist/{chunk-3XI22UQR.cjs → chunk-33CKPQS4.cjs} +31 -4
- package/dist/chunk-33CKPQS4.cjs.map +1 -0
- package/dist/{chunk-3SFLFUKY.js → chunk-3FEYUHHJ.js} +4 -4
- package/dist/{chunk-3SFLFUKY.js.map → chunk-3FEYUHHJ.js.map} +1 -1
- package/dist/{chunk-DW3WE4M4.js → chunk-3REGEJEN.js} +4 -4
- package/dist/{chunk-DW3WE4M4.js.map → chunk-3REGEJEN.js.map} +1 -1
- package/dist/chunk-3W67K7YE.js +13 -0
- package/dist/chunk-3W67K7YE.js.map +1 -0
- package/dist/chunk-4DJ7EJRB.cjs +186 -0
- package/dist/chunk-4DJ7EJRB.cjs.map +1 -0
- package/dist/{chunk-Q7NPRJRV.cjs → chunk-4EYONQIW.cjs} +9 -15
- package/dist/chunk-4EYONQIW.cjs.map +1 -0
- package/dist/{chunk-3BXS37TQ.js → chunk-4R2Z655M.js} +77 -107
- package/dist/chunk-4R2Z655M.js.map +1 -0
- package/dist/{chunk-AZIH2QEC.js → chunk-5NFRDYFN.js} +9 -15
- package/dist/chunk-5NFRDYFN.js.map +1 -0
- package/dist/chunk-5VDI75UV.js +44 -0
- package/dist/chunk-5VDI75UV.js.map +1 -0
- package/dist/{chunk-BNGT3NIC.cjs → chunk-6MP2S6VI.cjs} +26 -26
- package/dist/{chunk-BNGT3NIC.cjs.map → chunk-6MP2S6VI.cjs.map} +1 -1
- package/dist/{chunk-SXVANU23.js → chunk-7S7ALPCY.js} +66 -5
- package/dist/chunk-7S7ALPCY.js.map +1 -0
- package/dist/chunk-7XPMKW4Y.cjs +447 -0
- package/dist/chunk-7XPMKW4Y.cjs.map +1 -0
- package/dist/{chunk-K73YS7YB.cjs → chunk-AQI6GLTN.cjs} +74 -74
- package/dist/{chunk-K73YS7YB.cjs.map → chunk-AQI6GLTN.cjs.map} +1 -1
- package/dist/{chunk-S3TIWWQL.cjs → chunk-AV3CN5ZR.cjs} +22 -18
- package/dist/chunk-AV3CN5ZR.cjs.map +1 -0
- package/dist/{chunk-H2RMXG2Q.cjs → chunk-AVRO3FIN.cjs} +68 -4
- package/dist/chunk-AVRO3FIN.cjs.map +1 -0
- package/dist/{chunk-BMYZ4DO6.cjs → chunk-BRI4GUZ2.cjs} +19 -8
- package/dist/chunk-BRI4GUZ2.cjs.map +1 -0
- package/dist/{chunk-HAJOEDNB.js → chunk-CGIGPJRU.js} +32 -27
- package/dist/chunk-CGIGPJRU.js.map +1 -0
- package/dist/{chunk-JUYWLFVT.cjs → chunk-CLAEGIP5.cjs} +10 -16
- package/dist/chunk-CLAEGIP5.cjs.map +1 -0
- package/dist/chunk-FLLJIPD4.cjs +46 -0
- package/dist/chunk-FLLJIPD4.cjs.map +1 -0
- package/dist/chunk-G2AMUTU4.js +250 -0
- package/dist/chunk-G2AMUTU4.js.map +1 -0
- package/dist/{chunk-3OAAPDGI.js → chunk-GHQZIEPS.js} +6700 -1111
- package/dist/chunk-GHQZIEPS.js.map +1 -0
- package/dist/{chunk-WBLT2HL3.js → chunk-GNCALVLC.js} +31 -4
- package/dist/chunk-GNCALVLC.js.map +1 -0
- package/dist/{chunk-6V57U52D.js → chunk-H34VRYSF.js} +8 -8
- package/dist/{chunk-6V57U52D.js.map → chunk-H34VRYSF.js.map} +1 -1
- package/dist/{chunk-E646Y4FQ.js → chunk-H66LLFDL.js} +3 -3
- package/dist/chunk-H66LLFDL.js.map +1 -0
- package/dist/{chunk-LXXDQQSW.cjs → chunk-HCVDHEDD.cjs} +6838 -1252
- package/dist/chunk-HCVDHEDD.cjs.map +1 -0
- package/dist/chunk-I27H7BEB.js +439 -0
- package/dist/chunk-I27H7BEB.js.map +1 -0
- package/dist/{chunk-SRQY5IWD.js → chunk-IVGQTL3T.js} +5 -5
- package/dist/{chunk-SRQY5IWD.js.map → chunk-IVGQTL3T.js.map} +1 -1
- package/dist/{chunk-FYY54HZC.js → chunk-KKY4MSZO.js} +12 -8
- package/dist/chunk-KKY4MSZO.js.map +1 -0
- package/dist/{chunk-LKTCAPBD.cjs → chunk-L2E5RUVT.cjs} +13 -13
- package/dist/{chunk-LKTCAPBD.cjs.map → chunk-L2E5RUVT.cjs.map} +1 -1
- package/dist/chunk-LJ6YRVDI.cjs +15 -0
- package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
- package/dist/{chunk-SV4AUWGY.js → chunk-LOA7RQYO.js} +3 -3
- package/dist/{chunk-SV4AUWGY.js.map → chunk-LOA7RQYO.js.map} +1 -1
- package/dist/{chunk-X43DWDXB.cjs → chunk-MPUVSOEU.cjs} +22 -22
- package/dist/{chunk-X43DWDXB.cjs.map → chunk-MPUVSOEU.cjs.map} +1 -1
- package/dist/chunk-N4EIZSG2.js +180 -0
- package/dist/chunk-N4EIZSG2.js.map +1 -0
- package/dist/{chunk-C3UIIRAT.cjs → chunk-NUO7HPOV.cjs} +292 -107
- package/dist/chunk-NUO7HPOV.cjs.map +1 -0
- package/dist/{chunk-UXGQZUYZ.js → chunk-ONN5EA7E.js} +13 -3
- package/dist/chunk-ONN5EA7E.js.map +1 -0
- package/dist/chunk-PNZQCQY4.cjs +252 -0
- package/dist/chunk-PNZQCQY4.cjs.map +1 -0
- package/dist/{chunk-I6LR6CPC.cjs → chunk-QPFYN6B5.cjs} +10 -10
- package/dist/{chunk-I6LR6CPC.cjs.map → chunk-QPFYN6B5.cjs.map} +1 -1
- package/dist/{chunk-V5WWQN7P.cjs → chunk-SUKFO7UM.cjs} +13 -2
- package/dist/chunk-SUKFO7UM.cjs.map +1 -0
- package/dist/chunk-T4SPG2GP.cjs +82 -0
- package/dist/chunk-T4SPG2GP.cjs.map +1 -0
- package/dist/{chunk-XW2HXQDO.js → chunk-TMS4LS2J.js} +3 -3
- package/dist/{chunk-XW2HXQDO.js.map → chunk-TMS4LS2J.js.map} +1 -1
- package/dist/{chunk-LQSZ4FJJ.cjs → chunk-UK4FZWNW.cjs} +37 -37
- package/dist/{chunk-LQSZ4FJJ.cjs.map → chunk-UK4FZWNW.cjs.map} +1 -1
- package/dist/{chunk-BMLUV4BH.cjs → chunk-VX3VN7FN.cjs} +3 -3
- package/dist/chunk-VX3VN7FN.cjs.map +1 -0
- package/dist/{chunk-PUFCKXFW.cjs → chunk-WJ6DNHLW.cjs} +11 -11
- package/dist/{chunk-PUFCKXFW.cjs.map → chunk-WJ6DNHLW.cjs.map} +1 -1
- package/dist/{chunk-KPSSRYGH.js → chunk-WLGJVDH4.js} +17 -9
- package/dist/chunk-WLGJVDH4.js.map +1 -0
- package/dist/{chunk-DRUNNM4C.js → chunk-XB27LCKO.js} +4 -4
- package/dist/{chunk-DRUNNM4C.js.map → chunk-XB27LCKO.js.map} +1 -1
- package/dist/{chunk-IEYXQTUW.cjs → chunk-XCEQ4GQW.cjs} +42 -37
- package/dist/chunk-XCEQ4GQW.cjs.map +1 -0
- package/dist/chunk-XOUK3IYU.js +77 -0
- package/dist/chunk-XOUK3IYU.js.map +1 -0
- package/dist/{chunk-7KOS32XA.cjs → chunk-YK63KHHB.cjs} +242 -111
- package/dist/chunk-YK63KHHB.cjs.map +1 -0
- package/dist/{chunk-S5XBFHJL.js → chunk-YN3FWKVQ.js} +6 -12
- package/dist/chunk-YN3FWKVQ.js.map +1 -0
- package/dist/{chunk-P6S2HIVE.cjs → chunk-ZQ2G6QKS.cjs} +131 -163
- package/dist/chunk-ZQ2G6QKS.cjs.map +1 -0
- package/dist/{dist-AF7EUPXA.cjs → dist-7NTDEVLP.cjs} +28 -28
- package/dist/{dist-AF7EUPXA.cjs.map → dist-7NTDEVLP.cjs.map} +1 -1
- package/dist/{dist-4CMHRWC4.js → dist-B5GMANA6.js} +3 -3
- package/dist/{dist-4CMHRWC4.js.map → dist-B5GMANA6.js.map} +1 -1
- package/dist/dist-EDO7GEGI.js +3 -0
- package/dist/{dist-MEN73GGI.js.map → dist-EDO7GEGI.js.map} +1 -1
- package/dist/{dist-Q2ST4SUQ.cjs → dist-OF24ZMHH.cjs} +30 -30
- package/dist/{dist-Q2ST4SUQ.cjs.map → dist-OF24ZMHH.cjs.map} +1 -1
- package/dist/{dist-Y5SYUVLY.cjs → dist-P6YSNLL3.cjs} +20 -20
- package/dist/{dist-Y5SYUVLY.cjs.map → dist-P6YSNLL3.cjs.map} +1 -1
- package/dist/{dist-AEJONJSS.js → dist-SMBO5KVB.js} +3 -3
- package/dist/{dist-AEJONJSS.js.map → dist-SMBO5KVB.js.map} +1 -1
- package/dist/{dist-TE7XRSWH.js → dist-THPMW5QR.js} +3 -3
- package/dist/{dist-TE7XRSWH.js.map → dist-THPMW5QR.js.map} +1 -1
- package/dist/{dist-NVXXJWBO.cjs → dist-VZTG56X2.cjs} +26 -26
- package/dist/{dist-NVXXJWBO.cjs.map → dist-VZTG56X2.cjs.map} +1 -1
- package/dist/dist-ZLC23RVC.cjs +16 -0
- package/dist/{dist-2J26LQO2.cjs.map → dist-ZLC23RVC.cjs.map} +1 -1
- package/dist/{dist-VPYZNWNG.js → dist-ZOZ6MHJH.js} +3 -3
- package/dist/{dist-VPYZNWNG.js.map → dist-ZOZ6MHJH.js.map} +1 -1
- package/dist/docs/README.md +31 -0
- package/dist/docs/SKILL.md +32 -0
- package/dist/docs/SOURCE_MAP.json +6 -0
- package/dist/docs/server/01-custom-adapters.md +380 -0
- package/dist/docs/server/02-reference.md +819 -0
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -28
- package/dist/server/handlers/agent-builder.d.ts +77 -87
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +40 -24
- package/dist/server/handlers/agents.d.ts +107 -79
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +6 -2
- package/dist/server/handlers/error.d.ts +12 -0
- package/dist/server/handlers/error.d.ts.map +1 -1
- package/dist/server/handlers/error.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp.cjs +9 -9
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +28 -24
- package/dist/server/handlers/memory.d.ts +206 -90
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +7 -23
- package/dist/server/handlers/observability.d.ts +92 -95
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/processors.cjs +20 -0
- package/dist/server/handlers/processors.cjs.map +1 -0
- package/dist/server/handlers/processors.d.ts +181 -0
- package/dist/server/handlers/processors.d.ts.map +1 -0
- package/dist/server/handlers/processors.js +3 -0
- package/dist/server/handlers/processors.js.map +1 -0
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.d.ts +7 -7
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +6 -6
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/system.cjs +12 -0
- package/dist/server/handlers/system.cjs.map +1 -0
- package/dist/server/handlers/system.d.ts +7 -0
- package/dist/server/handlers/system.d.ts.map +1 -0
- package/dist/server/handlers/system.js +3 -0
- package/dist/server/handlers/system.js.map +1 -0
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vector.cjs +13 -13
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.d.ts +6 -6
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +24 -36
- package/dist/server/handlers/workflows.d.ts +98 -112
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +27 -27
- package/dist/server/handlers.js +12 -12
- package/dist/server/schemas/agent-builder.d.ts +13 -1
- package/dist/server/schemas/agent-builder.d.ts.map +1 -1
- package/dist/server/schemas/agents.d.ts +412 -9
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/memory.d.ts +257 -91
- package/dist/server/schemas/memory.d.ts.map +1 -1
- package/dist/server/schemas/processors.d.ts +519 -0
- package/dist/server/schemas/processors.d.ts.map +1 -0
- package/dist/server/schemas/scores.d.ts +6 -6
- package/dist/server/schemas/system.d.ts +36 -0
- package/dist/server/schemas/system.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +233 -38
- package/dist/server/schemas/workflows.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +187 -149
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +24 -6
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +50 -25
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/redact.d.ts +2 -2
- package/dist/server/server-adapter/redact.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/agents.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/index.d.ts +1 -1
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/memory.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/processors.d.ts +3 -0
- package/dist/server/server-adapter/routes/processors.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts +60 -1
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/system.d.ts +12 -0
- package/dist/server/server-adapter/routes/system.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -1
- package/dist/server/utils.d.ts.map +1 -1
- package/dist/{token-6GSAFR2W-KVDFAJ2M-SDYXODLX.cjs → token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs} +8 -8
- package/dist/{token-6GSAFR2W-KVDFAJ2M-SDYXODLX.cjs.map → token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs.map} +1 -1
- package/dist/{token-6GSAFR2W-KVDFAJ2M-LNX5VF3I.js → token-6GSAFR2W-K2BTU23I-NW33N3NU.js} +5 -5
- package/dist/{token-6GSAFR2W-KVDFAJ2M-LNX5VF3I.js.map → token-6GSAFR2W-K2BTU23I-NW33N3NU.js.map} +1 -1
- package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js +61 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js.map +1 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs +63 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs +10 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js +8 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js.map +1 -0
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs +10 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map → token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs.map} +1 -1
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js +8 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map → token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js.map} +1 -1
- package/package.json +13 -12
- package/dist/chunk-3BXS37TQ.js.map +0 -1
- package/dist/chunk-3OAAPDGI.js.map +0 -1
- package/dist/chunk-3XI22UQR.cjs.map +0 -1
- package/dist/chunk-7KOS32XA.cjs.map +0 -1
- package/dist/chunk-AZIH2QEC.js.map +0 -1
- package/dist/chunk-BMLUV4BH.cjs.map +0 -1
- package/dist/chunk-BMYZ4DO6.cjs.map +0 -1
- package/dist/chunk-C3UIIRAT.cjs.map +0 -1
- package/dist/chunk-E646Y4FQ.js.map +0 -1
- package/dist/chunk-FYY54HZC.js.map +0 -1
- package/dist/chunk-GFF2I6UD.js +0 -354
- package/dist/chunk-GFF2I6UD.js.map +0 -1
- package/dist/chunk-H2RMXG2Q.cjs.map +0 -1
- package/dist/chunk-HAJOEDNB.js.map +0 -1
- package/dist/chunk-IEYXQTUW.cjs.map +0 -1
- package/dist/chunk-JUYWLFVT.cjs.map +0 -1
- package/dist/chunk-KPSSRYGH.js.map +0 -1
- package/dist/chunk-LXXDQQSW.cjs.map +0 -1
- package/dist/chunk-MQLS6Z7A.js.map +0 -1
- package/dist/chunk-P6S2HIVE.cjs.map +0 -1
- package/dist/chunk-Q7NPRJRV.cjs.map +0 -1
- package/dist/chunk-S3TIWWQL.cjs.map +0 -1
- package/dist/chunk-S5XBFHJL.js.map +0 -1
- package/dist/chunk-SXVANU23.js.map +0 -1
- package/dist/chunk-TYZ6ZISQ.cjs +0 -368
- package/dist/chunk-TYZ6ZISQ.cjs.map +0 -1
- package/dist/chunk-UWRAKVAJ.js.map +0 -1
- package/dist/chunk-UXGQZUYZ.js.map +0 -1
- package/dist/chunk-V5WWQN7P.cjs.map +0 -1
- package/dist/chunk-WBLT2HL3.js.map +0 -1
- package/dist/dist-2J26LQO2.cjs +0 -16
- package/dist/dist-MEN73GGI.js +0 -3
- package/dist/server/schemas/observability.d.ts +0 -402
- package/dist/server/schemas/observability.d.ts.map +0 -1
- package/dist/token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js +0 -8
- package/dist/token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs +0 -10
|
@@ -1,40 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4DJ7EJRB_cjs = require('../../chunk-4DJ7EJRB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
Object.defineProperty(exports, "GET_TRACES_PAGINATED_ROUTE", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkTYZ6ZISQ_cjs.GET_TRACES_PAGINATED_ROUTE; }
|
|
10
|
-
});
|
|
11
7
|
Object.defineProperty(exports, "GET_TRACE_ROUTE", {
|
|
12
8
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk4DJ7EJRB_cjs.GET_TRACE_ROUTE; }
|
|
14
10
|
});
|
|
15
11
|
Object.defineProperty(exports, "LIST_SCORES_BY_SPAN_ROUTE", {
|
|
16
12
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "SCORE_TRACES_ROUTE", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunkTYZ6ZISQ_cjs.SCORE_TRACES_ROUTE; }
|
|
13
|
+
get: function () { return chunk4DJ7EJRB_cjs.LIST_SCORES_BY_SPAN_ROUTE; }
|
|
22
14
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "LIST_TRACES_ROUTE", {
|
|
24
16
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4DJ7EJRB_cjs.LIST_TRACES_ROUTE; }
|
|
26
18
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return chunkTYZ6ZISQ_cjs.getTracesPaginatedHandler; }
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "listScoresBySpan", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return chunkTYZ6ZISQ_cjs.listScoresBySpan; }
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(exports, "scoreTracesHandler", {
|
|
19
|
+
Object.defineProperty(exports, "SCORE_TRACES_ROUTE", {
|
|
36
20
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk4DJ7EJRB_cjs.SCORE_TRACES_ROUTE; }
|
|
38
22
|
});
|
|
39
23
|
//# sourceMappingURL=observability.cjs.map
|
|
40
24
|
//# sourceMappingURL=observability.cjs.map
|
|
@@ -1,107 +1,83 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface ObservabilityContext extends Context {
|
|
5
|
-
traceId?: string;
|
|
6
|
-
pagination?: TracesPaginatedArg['pagination'];
|
|
7
|
-
filters?: TracesPaginatedArg['filters'];
|
|
8
|
-
}
|
|
9
|
-
interface ScoreTracesContext extends Context {
|
|
10
|
-
scorerName?: string;
|
|
11
|
-
targets?: Array<{
|
|
12
|
-
traceId: string;
|
|
13
|
-
spanId?: string;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Get a complete trace by trace ID
|
|
18
|
-
* Returns all spans in the trace with their parent-child relationships
|
|
19
|
-
*/
|
|
20
|
-
export declare function getTraceHandler({ mastra, traceId }: ObservabilityContext & {
|
|
21
|
-
traceId: string;
|
|
22
|
-
}): Promise<import("@mastra/core/storage").TraceRecord>;
|
|
23
|
-
/**
|
|
24
|
-
* Get paginated traces with filtering and pagination
|
|
25
|
-
* Returns only root spans (parent spans) for pagination, not child spans
|
|
26
|
-
*/
|
|
27
|
-
export declare function getTracesPaginatedHandler({ mastra, pagination, filters }: ObservabilityContext): Promise<{
|
|
28
|
-
pagination: import("@mastra/core/storage").PaginationInfo;
|
|
29
|
-
spans: import("@mastra/core/storage").SpanRecord[];
|
|
30
|
-
}>;
|
|
31
|
-
/**
|
|
32
|
-
* Score traces using a specified scorer
|
|
33
|
-
* Fire-and-forget approach - returns immediately while scoring runs in background
|
|
34
|
-
*/
|
|
35
|
-
export declare function scoreTracesHandler({ mastra, scorerName, targets }: ScoreTracesContext): Promise<{
|
|
36
|
-
status: string;
|
|
37
|
-
message: string;
|
|
38
|
-
traceCount: number;
|
|
39
|
-
}>;
|
|
40
|
-
export declare function listScoresBySpan({ mastra, traceId, spanId, page, perPage, }: Context & {
|
|
41
|
-
traceId: string;
|
|
42
|
-
spanId: string;
|
|
43
|
-
page: StoragePagination['page'];
|
|
44
|
-
perPage: StoragePagination['perPage'];
|
|
45
|
-
}): Promise<{
|
|
46
|
-
pagination: import("@mastra/core/storage").PaginationInfo;
|
|
47
|
-
scores: import("@mastra/core/evals").ScoreRowData[];
|
|
48
|
-
}>;
|
|
49
|
-
export declare const GET_TRACES_PAGINATED_ROUTE: import("../server-adapter").ServerRoute<{
|
|
50
|
-
page: number;
|
|
51
|
-
perPage: number;
|
|
52
|
-
name?: string | undefined;
|
|
53
|
-
dateRange?: string | undefined;
|
|
54
|
-
spanType?: string | undefined;
|
|
55
|
-
entityId?: string | undefined;
|
|
56
|
-
entityType?: string | undefined;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const LIST_TRACES_ROUTE: import("../server-adapter").ServerRoute<{
|
|
3
|
+
[x: string]: any;
|
|
57
4
|
}, {
|
|
58
5
|
pagination: {
|
|
59
6
|
total: number;
|
|
7
|
+
hasMore: boolean;
|
|
60
8
|
page: number;
|
|
61
9
|
perPage: number | false;
|
|
62
|
-
hasMore: boolean;
|
|
63
10
|
};
|
|
64
11
|
spans: {
|
|
65
|
-
metadata: Record<string, any> | null;
|
|
66
|
-
traceId: string;
|
|
67
|
-
parentSpanId: string | null;
|
|
68
|
-
name: string;
|
|
69
12
|
createdAt: Date;
|
|
13
|
+
name: string;
|
|
70
14
|
updatedAt: Date | null;
|
|
71
|
-
|
|
72
|
-
scope: Record<string, any> | null;
|
|
15
|
+
traceId: string;
|
|
73
16
|
spanId: string;
|
|
74
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
75
|
-
attributes: Record<string, any> | null;
|
|
76
17
|
startedAt: Date;
|
|
18
|
+
spanType: import("@mastra/core/observability").SpanType;
|
|
77
19
|
isEvent: boolean;
|
|
78
|
-
error?:
|
|
79
|
-
|
|
80
|
-
input?:
|
|
81
|
-
|
|
20
|
+
error?: unknown;
|
|
21
|
+
runId?: string | null | undefined;
|
|
22
|
+
input?: unknown;
|
|
23
|
+
threadId?: string | null | undefined;
|
|
24
|
+
resourceId?: string | null | undefined;
|
|
25
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
26
|
+
source?: string | null | undefined;
|
|
27
|
+
output?: unknown;
|
|
28
|
+
entityType?: import("@mastra/core/observability").EntityType | null | undefined;
|
|
29
|
+
entityId?: string | null | undefined;
|
|
30
|
+
links?: unknown[] | null | undefined;
|
|
31
|
+
endedAt?: Date | null | undefined;
|
|
32
|
+
parentSpanId?: string | null | undefined;
|
|
33
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
34
|
+
entityName?: string | null | undefined;
|
|
35
|
+
userId?: string | null | undefined;
|
|
36
|
+
organizationId?: string | null | undefined;
|
|
37
|
+
sessionId?: string | null | undefined;
|
|
38
|
+
requestId?: string | null | undefined;
|
|
39
|
+
environment?: string | null | undefined;
|
|
40
|
+
serviceName?: string | null | undefined;
|
|
41
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
42
|
+
tags?: string[] | null | undefined;
|
|
82
43
|
}[];
|
|
83
44
|
}, "json">;
|
|
84
45
|
export declare const GET_TRACE_ROUTE: import("../server-adapter").ServerRoute<{
|
|
85
46
|
traceId: string;
|
|
86
47
|
}, {
|
|
48
|
+
traceId: string;
|
|
87
49
|
spans: {
|
|
88
|
-
metadata: Record<string, any> | null;
|
|
89
|
-
traceId: string;
|
|
90
|
-
parentSpanId: string | null;
|
|
91
|
-
name: string;
|
|
92
50
|
createdAt: Date;
|
|
51
|
+
name: string;
|
|
93
52
|
updatedAt: Date | null;
|
|
94
|
-
|
|
95
|
-
scope: Record<string, any> | null;
|
|
53
|
+
traceId: string;
|
|
96
54
|
spanId: string;
|
|
97
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
98
|
-
attributes: Record<string, any> | null;
|
|
99
55
|
startedAt: Date;
|
|
56
|
+
spanType: import("@mastra/core/observability").SpanType;
|
|
100
57
|
isEvent: boolean;
|
|
101
|
-
error?:
|
|
102
|
-
|
|
103
|
-
input?:
|
|
104
|
-
|
|
58
|
+
error?: unknown;
|
|
59
|
+
runId?: string | null | undefined;
|
|
60
|
+
input?: unknown;
|
|
61
|
+
threadId?: string | null | undefined;
|
|
62
|
+
resourceId?: string | null | undefined;
|
|
63
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
64
|
+
source?: string | null | undefined;
|
|
65
|
+
output?: unknown;
|
|
66
|
+
entityType?: import("@mastra/core/observability").EntityType | null | undefined;
|
|
67
|
+
entityId?: string | null | undefined;
|
|
68
|
+
links?: unknown[] | null | undefined;
|
|
69
|
+
endedAt?: Date | null | undefined;
|
|
70
|
+
parentSpanId?: string | null | undefined;
|
|
71
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
72
|
+
entityName?: string | null | undefined;
|
|
73
|
+
userId?: string | null | undefined;
|
|
74
|
+
organizationId?: string | null | undefined;
|
|
75
|
+
sessionId?: string | null | undefined;
|
|
76
|
+
requestId?: string | null | undefined;
|
|
77
|
+
environment?: string | null | undefined;
|
|
78
|
+
serviceName?: string | null | undefined;
|
|
79
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
80
|
+
tags?: string[] | null | undefined;
|
|
105
81
|
}[];
|
|
106
82
|
}, "json">;
|
|
107
83
|
export declare const SCORE_TRACES_ROUTE: import("../server-adapter").ServerRoute<{
|
|
@@ -117,7 +93,6 @@ export declare const SCORE_TRACES_ROUTE: import("../server-adapter").ServerRoute
|
|
|
117
93
|
}, "json">;
|
|
118
94
|
export declare const LIST_SCORES_BY_SPAN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
119
95
|
traceId: z.ZodString;
|
|
120
|
-
} & {
|
|
121
96
|
spanId: z.ZodString;
|
|
122
97
|
}, "strip", z.ZodTypeAny, {
|
|
123
98
|
traceId: string;
|
|
@@ -126,31 +101,53 @@ export declare const LIST_SCORES_BY_SPAN_ROUTE: import("../server-adapter").Serv
|
|
|
126
101
|
traceId: string;
|
|
127
102
|
spanId: string;
|
|
128
103
|
}>, z.ZodObject<{
|
|
129
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
130
104
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
105
|
+
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
131
106
|
}, "strip", z.ZodTypeAny, {
|
|
132
107
|
page: number;
|
|
133
108
|
perPage: number;
|
|
134
109
|
}, {
|
|
135
110
|
page?: number | undefined;
|
|
136
111
|
perPage?: number | undefined;
|
|
137
|
-
}> | z.ZodObject<{
|
|
138
|
-
perPage: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
page: number;
|
|
142
|
-
perPage?: number | undefined;
|
|
143
|
-
}, {
|
|
144
|
-
page?: number | undefined;
|
|
145
|
-
perPage?: number | undefined;
|
|
146
112
|
}>, undefined>, {
|
|
147
113
|
pagination: {
|
|
148
114
|
total: number;
|
|
115
|
+
hasMore: boolean;
|
|
149
116
|
page: number;
|
|
150
117
|
perPage: number | false;
|
|
151
|
-
hasMore: boolean;
|
|
152
118
|
};
|
|
153
|
-
scores:
|
|
119
|
+
scores: {
|
|
120
|
+
runId: string;
|
|
121
|
+
source: "LIVE" | "TEST";
|
|
122
|
+
id: string;
|
|
123
|
+
createdAt: Date;
|
|
124
|
+
updatedAt: Date | null;
|
|
125
|
+
scorer: Record<string, unknown>;
|
|
126
|
+
entity: Record<string, unknown>;
|
|
127
|
+
score: number;
|
|
128
|
+
scorerId: string;
|
|
129
|
+
entityId: string;
|
|
130
|
+
input?: unknown;
|
|
131
|
+
threadId?: string | undefined;
|
|
132
|
+
resourceId?: string | undefined;
|
|
133
|
+
metadata?: Record<string, unknown> | undefined;
|
|
134
|
+
output?: unknown;
|
|
135
|
+
additionalContext?: Record<string, unknown> | undefined;
|
|
136
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
137
|
+
entityType?: string | undefined;
|
|
138
|
+
structuredOutput?: boolean | undefined;
|
|
139
|
+
traceId?: string | undefined;
|
|
140
|
+
spanId?: string | undefined;
|
|
141
|
+
extractStepResult?: Record<string, unknown> | undefined;
|
|
142
|
+
extractPrompt?: string | undefined;
|
|
143
|
+
analyzeStepResult?: Record<string, unknown> | undefined;
|
|
144
|
+
analyzePrompt?: string | undefined;
|
|
145
|
+
reason?: string | undefined;
|
|
146
|
+
reasonPrompt?: string | undefined;
|
|
147
|
+
preprocessStepResult?: Record<string, unknown> | undefined;
|
|
148
|
+
preprocessPrompt?: string | undefined;
|
|
149
|
+
generateScorePrompt?: string | undefined;
|
|
150
|
+
generateReasonPrompt?: string | undefined;
|
|
151
|
+
}[];
|
|
154
152
|
}, "json">;
|
|
155
|
-
export {};
|
|
156
153
|
//# sourceMappingURL=observability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4FxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;aA4H6j2D,CAAC;aAAwB,CAAC;aAA0C,CAAC;gBAA2B,CAAC;kBAA+C,CAAC;gBAA6C,CAAC;cAA4D,CAAC;cAA2C,CAAC;kBAA6B,CAAC;gBAAkF,CAAC;aAA0C,CAAC;eAA+C,CAAC;oBAA+C,CAAC;kBAA+C,CAAC;kBAAgE,CAAC;cAA2C,CAAC;sBAAmD,CAAC;iBAA8C,CAAC;iBAA8C,CAAC;mBAAgD,CAAC;mBAAgD,CAAC;aAA0C,CAAC;YAA0D,CAAC;;UA9Fpn4D,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;aA4FimoC,CAAC;aAAwB,CAAC;aAA0C,CAAC;gBAA2B,CAAC;kBAA+C,CAAC;gBAA6C,CAAC;cAA4D,CAAC;cAA2C,CAAC;kBAA6B,CAAC;gBAAkF,CAAC;aAA0C,CAAC;eAA+C,CAAC;oBAA+C,CAAC;kBAA+C,CAAC;kBAAgE,CAAC;cAA2C,CAAC;sBAAmD,CAAC;iBAA8C,CAAC;iBAA8C,CAAC;mBAAgD,CAAC;mBAAgD,CAAC;aAA0C,CAAC;YAA0D,CAAC;;UArEtpqC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;cAmE2y5F,CAAC;;;;;;UA5Bz05F,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA0Bqjc,CAAC;gBAA2B,CAAC;kBAAwC,CAAC;gBAAsC,CAAC;cAAqD,CAAC;yBAAoC,CAAC;sBAA6D,CAAC;kBAAyD,CAAC;wBAA8C,CAAC;eAAsC,CAAC;cAAoC,CAAC;yBAA+C,CAAC;qBAA4D,CAAC;yBAA+C,CAAC;qBAA4D,CAAC;cAAoC,CAAC;oBAA0C,CAAC;4BAAkD,CAAC;wBAA+D,CAAC;2BAAiD,CAAC;4BAAkD,CAAC;;UADthe,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { GET_TRACE_ROUTE, LIST_SCORES_BY_SPAN_ROUTE, LIST_TRACES_ROUTE, SCORE_TRACES_ROUTE } from '../../chunk-N4EIZSG2.js';
|
|
2
2
|
//# sourceMappingURL=observability.js.map
|
|
3
3
|
//# sourceMappingURL=observability.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7XPMKW4Y_cjs = require('../../chunk-7XPMKW4Y.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "EXECUTE_PROCESSOR_ROUTE", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk7XPMKW4Y_cjs.EXECUTE_PROCESSOR_ROUTE; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "GET_PROCESSOR_BY_ID_ROUTE", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk7XPMKW4Y_cjs.GET_PROCESSOR_BY_ID_ROUTE; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "LIST_PROCESSORS_ROUTE", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk7XPMKW4Y_cjs.LIST_PROCESSORS_ROUTE; }
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=processors.cjs.map
|
|
20
|
+
//# sourceMappingURL=processors.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"processors.cjs"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export declare const LIST_PROCESSORS_ROUTE: import("../server-adapter").ServerRoute<{}, Record<string, {
|
|
2
|
+
id: string;
|
|
3
|
+
isWorkflow: boolean;
|
|
4
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
5
|
+
agentIds: string[];
|
|
6
|
+
configurations: {
|
|
7
|
+
type: "output" | "input";
|
|
8
|
+
agentId: string;
|
|
9
|
+
}[];
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
description?: string | undefined;
|
|
12
|
+
}>, "json">;
|
|
13
|
+
export declare const GET_PROCESSOR_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
14
|
+
processorId: string;
|
|
15
|
+
}, {
|
|
16
|
+
id: string;
|
|
17
|
+
isWorkflow: boolean;
|
|
18
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
19
|
+
configurations: {
|
|
20
|
+
type: "output" | "input";
|
|
21
|
+
agentId: string;
|
|
22
|
+
agentName: string;
|
|
23
|
+
}[];
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
}, "json">;
|
|
27
|
+
export declare const EXECUTE_PROCESSOR_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
28
|
+
processorId: import("zod").ZodString;
|
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30
|
+
processorId: string;
|
|
31
|
+
}, {
|
|
32
|
+
processorId: string;
|
|
33
|
+
}>, undefined, import("zod").ZodObject<{
|
|
34
|
+
phase: import("zod").ZodEnum<["input", "inputStep", "outputStream", "outputResult", "outputStep"]>;
|
|
35
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
36
|
+
id: import("zod").ZodString;
|
|
37
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
38
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
39
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
40
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
41
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
42
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
44
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
45
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
46
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
48
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
49
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
50
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
51
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
52
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
53
|
+
id: import("zod").ZodString;
|
|
54
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
55
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
56
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
57
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
58
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
59
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
61
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
62
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
63
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
65
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
66
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
67
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
68
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
69
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
70
|
+
id: import("zod").ZodString;
|
|
71
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
72
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
73
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
74
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
75
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
76
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
78
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
79
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
80
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
82
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
83
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
84
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
85
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
86
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">;
|
|
87
|
+
agentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
88
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
89
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
90
|
+
messages: import("zod").objectOutputType<{
|
|
91
|
+
id: import("zod").ZodString;
|
|
92
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
93
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
94
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
95
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
96
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
97
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
99
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
100
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
101
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
103
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
104
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
105
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
107
|
+
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
108
|
+
phase: "input" | "inputStep" | "outputStream" | "outputResult" | "outputStep";
|
|
109
|
+
requestContext?: Record<string, any> | undefined;
|
|
110
|
+
agentId?: string | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
messages: import("zod").objectInputType<{
|
|
113
|
+
id: import("zod").ZodString;
|
|
114
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
115
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
116
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
117
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
118
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
119
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
120
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
121
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
122
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
123
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
124
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
125
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
126
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
127
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
128
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
129
|
+
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
130
|
+
phase: "input" | "inputStep" | "outputStream" | "outputResult" | "outputStep";
|
|
131
|
+
requestContext?: Record<string, any> | undefined;
|
|
132
|
+
agentId?: string | undefined;
|
|
133
|
+
}>>, {
|
|
134
|
+
success: boolean;
|
|
135
|
+
phase: string;
|
|
136
|
+
error?: string | undefined;
|
|
137
|
+
tripwire?: {
|
|
138
|
+
triggered: boolean;
|
|
139
|
+
metadata?: any;
|
|
140
|
+
reason?: string | undefined;
|
|
141
|
+
} | undefined;
|
|
142
|
+
messages?: import("zod").objectOutputType<{
|
|
143
|
+
id: import("zod").ZodString;
|
|
144
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
145
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
146
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
147
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
148
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
149
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
151
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
152
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
153
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
154
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
155
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
156
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
157
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
158
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
159
|
+
}, import("zod").ZodTypeAny, "passthrough">[] | undefined;
|
|
160
|
+
messageList?: {
|
|
161
|
+
messages: import("zod").objectOutputType<{
|
|
162
|
+
id: import("zod").ZodString;
|
|
163
|
+
role: import("zod").ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
164
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
165
|
+
content: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
166
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
167
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
168
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
169
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
170
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
171
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
172
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
174
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<2>>;
|
|
175
|
+
parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
176
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodString]>;
|
|
178
|
+
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
179
|
+
} | undefined;
|
|
180
|
+
}, "json">;
|
|
181
|
+
//# sourceMappingURL=processors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processors.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/processors.ts"],"names":[],"mappings":"AA0EA,eAAO,MAAM,qBAAqB;;;;;;;;;;;WAyDhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;UAoDpC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuSlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"processors.js"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAV3CN5ZR_cjs = require('../../chunk-AV3CN5ZR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "GET_SCORER_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkAV3CN5ZR_cjs.GET_SCORER_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LIST_SCORERS_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAV3CN5ZR_cjs.LIST_SCORERS_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "LIST_SCORES_BY_ENTITY_ID_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkAV3CN5ZR_cjs.LIST_SCORES_BY_ENTITY_ID_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LIST_SCORES_BY_RUN_ID_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkAV3CN5ZR_cjs.LIST_SCORES_BY_RUN_ID_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LIST_SCORES_BY_SCORER_ID_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkAV3CN5ZR_cjs.LIST_SCORES_BY_SCORER_ID_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SAVE_SCORE_ROUTE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkAV3CN5ZR_cjs.SAVE_SCORE_ROUTE; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=scores.cjs.map
|
|
32
32
|
//# sourceMappingURL=scores.cjs.map
|
|
@@ -48,13 +48,13 @@ export declare const LIST_SCORES_BY_RUN_ID_ROUTE: import("../server-adapter").Se
|
|
|
48
48
|
page?: number | undefined;
|
|
49
49
|
perPage?: number | undefined;
|
|
50
50
|
}>, undefined>, {
|
|
51
|
+
scores: unknown[];
|
|
51
52
|
pagination: {
|
|
52
53
|
total: number;
|
|
53
54
|
page: number;
|
|
54
55
|
perPage: number | false;
|
|
55
56
|
hasMore: boolean;
|
|
56
57
|
};
|
|
57
|
-
scores: unknown[];
|
|
58
58
|
}, "json">;
|
|
59
59
|
export declare const LIST_SCORES_BY_SCORER_ID_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
60
60
|
scorerId: import("zod").ZodString;
|
|
@@ -70,31 +70,31 @@ export declare const LIST_SCORES_BY_SCORER_ID_ROUTE: import("../server-adapter")
|
|
|
70
70
|
}, "strip", import("zod").ZodTypeAny, {
|
|
71
71
|
page: number;
|
|
72
72
|
perPage: number;
|
|
73
|
-
entityId?: string | undefined;
|
|
74
73
|
entityType?: string | undefined;
|
|
74
|
+
entityId?: string | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
page?: number | undefined;
|
|
77
77
|
perPage?: number | undefined;
|
|
78
|
-
entityId?: string | undefined;
|
|
79
78
|
entityType?: string | undefined;
|
|
79
|
+
entityId?: string | undefined;
|
|
80
80
|
}>, undefined>, {
|
|
81
|
+
scores: unknown[];
|
|
81
82
|
pagination: {
|
|
82
83
|
total: number;
|
|
83
84
|
page: number;
|
|
84
85
|
perPage: number | false;
|
|
85
86
|
hasMore: boolean;
|
|
86
87
|
};
|
|
87
|
-
scores: unknown[];
|
|
88
88
|
}, "json">;
|
|
89
89
|
export declare const LIST_SCORES_BY_ENTITY_ID_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
90
90
|
entityType: import("zod").ZodString;
|
|
91
91
|
entityId: import("zod").ZodString;
|
|
92
92
|
}, "strip", import("zod").ZodTypeAny, {
|
|
93
|
-
entityId: string;
|
|
94
93
|
entityType: string;
|
|
95
|
-
}, {
|
|
96
94
|
entityId: string;
|
|
95
|
+
}, {
|
|
97
96
|
entityType: string;
|
|
97
|
+
entityId: string;
|
|
98
98
|
}>, import("zod").ZodObject<{
|
|
99
99
|
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
100
100
|
perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
@@ -105,13 +105,13 @@ export declare const LIST_SCORES_BY_ENTITY_ID_ROUTE: import("../server-adapter")
|
|
|
105
105
|
page?: number | undefined;
|
|
106
106
|
perPage?: number | undefined;
|
|
107
107
|
}>, undefined>, {
|
|
108
|
+
scores: unknown[];
|
|
108
109
|
pagination: {
|
|
109
110
|
total: number;
|
|
110
111
|
page: number;
|
|
111
112
|
perPage: number | false;
|
|
112
113
|
hasMore: boolean;
|
|
113
114
|
};
|
|
114
|
-
scores: unknown[];
|
|
115
115
|
}, "json">;
|
|
116
116
|
export declare const SAVE_SCORE_ROUTE: import("../server-adapter").ServerRoute<{
|
|
117
117
|
score?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scores.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/scores.ts"],"names":[],"mappings":"AAyHA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;WAe7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAuB3B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"scores.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/scores.ts"],"names":[],"mappings":"AAyHA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;WAe7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAuB3B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;UA8BtC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;UA2CzC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;UAsB3B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GET_SCORER_ROUTE, LIST_SCORERS_ROUTE, LIST_SCORES_BY_ENTITY_ID_ROUTE, LIST_SCORES_BY_RUN_ID_ROUTE, LIST_SCORES_BY_SCORER_ID_ROUTE, SAVE_SCORE_ROUTE } from '../../chunk-
|
|
1
|
+
export { GET_SCORER_ROUTE, LIST_SCORERS_ROUTE, LIST_SCORES_BY_ENTITY_ID_ROUTE, LIST_SCORES_BY_RUN_ID_ROUTE, LIST_SCORES_BY_SCORER_ID_ROUTE, SAVE_SCORE_ROUTE } from '../../chunk-KKY4MSZO.js';
|
|
2
2
|
//# sourceMappingURL=scores.js.map
|
|
3
3
|
//# sourceMappingURL=scores.js.map
|