@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/server/utils.ts"],"names":[],"mappings":";;;AAMA,SAAS,QAAA,CAAS,OAA0C,IAAA,EAAe;AACzE,EAAA,OAAO,MAAA,CAAO,OAAA,CAAQ,KAAK,CAAA,CAAE,MAAA,CAAY,CAAC,GAAA,EAAK,CAAC,GAAA,EAAK,IAAI,CAAA,KAAM;AAC7D,IAAA,MAAM,UAAU,IAAA,GAAO,CAAA,EAAG,IAAI,CAAA,CAAA,EAAI,GAAG,CAAA,CAAA,GAAK,GAAA;AAC1C,IAAA,GAAA,CAAI,OAAO,CAAA,GAAI;AAAA,MACb,IAAI,IAAA,CAAK,EAAA;AAAA,MACT,aAAa,IAAA,CAAK,WAAA;AAAA,MAClB,WAAA,EAAa,KAAK,WAAA,GAAc,SAAA,CAAU,gBAAgB,IAAA,CAAK,WAAW,CAAC,CAAA,GAAI,MAAA;AAAA,MAC/E,YAAA,EAAc,KAAK,YAAA,GAAe,SAAA,CAAU,gBAAgB,IAAA,CAAK,YAAY,CAAC,CAAA,GAAI,MAAA;AAAA,MAClF,YAAA,EAAc,KAAK,YAAA,GAAe,SAAA,CAAU,gBAAgB,IAAA,CAAK,YAAY,CAAC,CAAA,GAAI,MAAA;AAAA,MAClF,aAAA,EAAe,KAAK,aAAA,GAAgB,SAAA,CAAU,gBAAgB,IAAA,CAAK,aAAa,CAAC,CAAA,GAAI,MAAA;AAAA,MACrF,UAAA,EAAY,KAAK,SAAA,KAAc,UAAA;AAAA,MAC/B,WAAW,IAAA,CAAK;AAAA,KAClB;AAEA,IAAA,IAAI,IAAA,CA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/B,IAAA,OAAO,OAAA;AAAA,EACT;AAEA,EAAA,IAAI,KAAA,CAAM,OAAA,CAAQ,OAAO,CAAA,EAAG;AAC1B,IAAA,OAAO,OAAA,CACJ,IAAI,CAAA,CAAA,KAAK;AACR,MAAA,IAAI,OAAO,MAAM,QAAA,EAAU;AACzB,QAAA,OAAO,CAAA;AAAA,MACT;AAEA,MAAA,OAAO,OAAO,CAAA,CAAE,OAAA,KAAY,QAAA,GAAW,EAAE,OAAA,GAAU,EAAA;AAAA,IACrD,CAAC,CAAA,CACA,MAAA,CAAO,aAAW,OAAO,CAAA,CACzB,KAAK,IAAI,CAAA;AAAA,EACd;AAGA,EAAA,OAAO,OAAO,OAAA,CAAQ,OAAA,KAAY,QAAA,GAAW,QAAQ,OAAA,GAAU,EAAA;AACjE","file":"chunk-WBLT2HL3.js","sourcesContent":["import type { Mastra } from '@mastra/core';\nimport type { SystemMessage } from '@mastra/core/llm';\nimport { zodToJsonSchema } from '@mastra/core/utils/zod-to-json';\nimport type { StepWithComponent, Workflow, WorkflowInfo } from '@mastra/core/workflows';\nimport { stringify } from 'superjson';\n\nfunction getSteps(steps: Record<string, StepWithComponent>, path?: string) {\n return Object.entries(steps).reduce<any>((acc, [key, step]) => {\n const fullKey = path ? `${path}.${key}` : key;\n acc[fullKey] = {\n id: step.id,\n description: step.description,\n inputSchema: step.inputSchema ? stringify(zodToJsonSchema(step.inputSchema)) : undefined,\n outputSchema: step.outputSchema ? stringify(zodToJsonSchema(step.outputSchema)) : undefined,\n resumeSchema: step.resumeSchema ? stringify(zodToJsonSchema(step.resumeSchema)) : undefined,\n suspendSchema: step.suspendSchema ? stringify(zodToJsonSchema(step.suspendSchema)) : undefined,\n isWorkflow: step.component === 'WORKFLOW',\n component: step.component,\n };\n\n if (step.component === 'WORKFLOW' && step.steps) {\n const nestedSteps = getSteps(step.steps, fullKey) || {};\n acc = { ...acc, ...nestedSteps };\n }\n\n return acc;\n }, {});\n}\n\nexport function getWorkflowInfo(workflow: Workflow, partial: boolean = false): WorkflowInfo {\n if (partial) {\n // Return minimal info in partial mode\n return {\n name: workflow.name,\n description: workflow.description,\n stepCount: Object.keys(workflow.steps).length,\n stepGraph: workflow.serializedStepGraph,\n options: workflow.options,\n steps: {},\n allSteps: {},\n inputSchema: undefined,\n outputSchema: undefined,\n } as WorkflowInfo;\n }\n\n return {\n name: workflow.name,\n description: workflow.description,\n steps: Object.entries(workflow.steps).reduce<any>((acc, [key, step]) => {\n acc[key] = {\n id: step.id,\n description: step.description,\n inputSchema: step.inputSchema ? stringify(zodToJsonSchema(step.inputSchema)) : undefined,\n outputSchema: step.outputSchema ? stringify(zodToJsonSchema(step.outputSchema)) : undefined,\n resumeSchema: step.resumeSchema ? stringify(zodToJsonSchema(step.resumeSchema)) : undefined,\n suspendSchema: step.suspendSchema ? stringify(zodToJsonSchema(step.suspendSchema)) : undefined,\n component: step.component,\n };\n return acc;\n }, {}),\n allSteps: getSteps(workflow.steps) || {},\n stepGraph: workflow.serializedStepGraph,\n inputSchema: workflow.inputSchema ? stringify(zodToJsonSchema(workflow.inputSchema)) : undefined,\n outputSchema: workflow.outputSchema ? stringify(zodToJsonSchema(workflow.outputSchema)) : undefined,\n options: workflow.options,\n isProcessorWorkflow: workflow.type === 'processor',\n };\n}\n\n/**\n * Workflow Registry for temporarily registering additional workflows\n * that are not part of the user's Mastra instance (e.g., internal template workflows)\n */\nexport class WorkflowRegistry {\n private static additionalWorkflows: Record<string, Workflow> = {};\n\n /**\n * Register a workflow temporarily\n */\n static registerTemporaryWorkflow(id: string, workflow: Workflow): void {\n this.additionalWorkflows[id] = workflow;\n }\n\n /**\n * Register all workflows from map\n */\n static registerTemporaryWorkflows(\n workflows: Record<string, Workflow>,\n mastra?: Mastra<any, any, any, any, any, any, any, any, any>,\n ): void {\n for (const [id, workflow] of Object.entries(workflows)) {\n // Register Mastra instance with the workflow if provided\n if (mastra) {\n workflow.__registerMastra(mastra);\n workflow.__registerPrimitives({\n logger: mastra.getLogger(),\n storage: mastra.getStorage(),\n agents: mastra.listAgents(),\n tts: mastra.getTTS(),\n vectors: mastra.listVectors(),\n });\n }\n this.additionalWorkflows[id] = workflow;\n }\n }\n\n /**\n * Get a workflow by ID from the registry (returns undefined if not found)\n */\n static getWorkflow(workflowId: string): Workflow | undefined {\n return this.additionalWorkflows[workflowId];\n }\n\n /**\n * Get all workflows from the registry\n */\n static getAllWorkflows(): Record<string, Workflow> {\n return { ...this.additionalWorkflows };\n }\n\n /**\n * Clean up a temporary workflow\n */\n static cleanupTemporaryWorkflow(workflowId: string): void {\n delete this.additionalWorkflows[workflowId];\n }\n /**\n * Clean up all registered workflows\n */\n static cleanup(): void {\n // Clear all workflows (since we register all agent-builder workflows each time)\n this.additionalWorkflows = {};\n }\n\n /**\n * Check if a workflow ID is a valid agent-builder workflow\n */\n static isAgentBuilderWorkflow(workflowId: string): boolean {\n return workflowId in this.additionalWorkflows;\n }\n\n /**\n * Get all registered temporary workflow IDs (for debugging)\n */\n static getRegisteredWorkflowIds(): string[] {\n return Object.keys(this.additionalWorkflows);\n }\n}\n\nexport function convertInstructionsToString(message: SystemMessage): string {\n if (!message) {\n return '';\n }\n\n if (typeof message === 'string') {\n return message;\n }\n\n if (Array.isArray(message)) {\n return message\n .map(m => {\n if (typeof m === 'string') {\n return m;\n }\n // Safely extract content from message objects\n return typeof m.content === 'string' ? m.content : '';\n })\n .filter(content => content) // Remove empty strings\n .join('\\n');\n }\n\n // Handle single message object - safely extract content\n return typeof message.content === 'string' ? message.content : '';\n}\n"]}
|
package/dist/dist-2J26LQO2.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkK73YS7YB_cjs = require('./chunk-K73YS7YB.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "createOpenAI", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkK73YS7YB_cjs.createOpenAI; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "openai", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkK73YS7YB_cjs.openai; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=dist-2J26LQO2.cjs.map
|
|
16
|
-
//# sourceMappingURL=dist-2J26LQO2.cjs.map
|
package/dist/dist-MEN73GGI.js
DELETED
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Schema for AI span types
|
|
4
|
-
* Defines all possible span types in the observability system
|
|
5
|
-
*/
|
|
6
|
-
export declare const aiSpanTypeSchema: z.ZodEnum<["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"]>;
|
|
7
|
-
/**
|
|
8
|
-
* Schema for AI span record
|
|
9
|
-
* Represents a single trace span with all its metadata
|
|
10
|
-
*/
|
|
11
|
-
export declare const aiSpanRecordSchema: z.ZodObject<{
|
|
12
|
-
traceId: z.ZodString;
|
|
13
|
-
spanId: z.ZodString;
|
|
14
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
15
|
-
name: z.ZodString;
|
|
16
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17
|
-
spanType: z.ZodEnum<["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"]>;
|
|
18
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
20
|
-
links: z.ZodAny;
|
|
21
|
-
startedAt: z.ZodDate;
|
|
22
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
23
|
-
createdAt: z.ZodDate;
|
|
24
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
25
|
-
input: z.ZodAny;
|
|
26
|
-
output: z.ZodAny;
|
|
27
|
-
error: z.ZodAny;
|
|
28
|
-
isEvent: z.ZodBoolean;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
metadata: Record<string, any> | null;
|
|
31
|
-
traceId: string;
|
|
32
|
-
parentSpanId: string | null;
|
|
33
|
-
name: string;
|
|
34
|
-
createdAt: Date;
|
|
35
|
-
updatedAt: Date | null;
|
|
36
|
-
endedAt: Date | null;
|
|
37
|
-
scope: Record<string, any> | null;
|
|
38
|
-
spanId: string;
|
|
39
|
-
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";
|
|
40
|
-
attributes: Record<string, any> | null;
|
|
41
|
-
startedAt: Date;
|
|
42
|
-
isEvent: boolean;
|
|
43
|
-
error?: any;
|
|
44
|
-
output?: any;
|
|
45
|
-
input?: any;
|
|
46
|
-
links?: any;
|
|
47
|
-
}, {
|
|
48
|
-
metadata: Record<string, any> | null;
|
|
49
|
-
traceId: string;
|
|
50
|
-
parentSpanId: string | null;
|
|
51
|
-
name: string;
|
|
52
|
-
createdAt: Date;
|
|
53
|
-
updatedAt: Date | null;
|
|
54
|
-
endedAt: Date | null;
|
|
55
|
-
scope: Record<string, any> | null;
|
|
56
|
-
spanId: string;
|
|
57
|
-
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";
|
|
58
|
-
attributes: Record<string, any> | null;
|
|
59
|
-
startedAt: Date;
|
|
60
|
-
isEvent: boolean;
|
|
61
|
-
error?: any;
|
|
62
|
-
output?: any;
|
|
63
|
-
input?: any;
|
|
64
|
-
links?: any;
|
|
65
|
-
}>;
|
|
66
|
-
/**
|
|
67
|
-
* Schema for paginated AI traces response
|
|
68
|
-
* Returns pagination info and array of trace spans
|
|
69
|
-
*/
|
|
70
|
-
export declare const getAITracesPaginatedResponseSchema: z.ZodObject<{
|
|
71
|
-
pagination: z.ZodObject<{
|
|
72
|
-
total: z.ZodNumber;
|
|
73
|
-
page: z.ZodNumber;
|
|
74
|
-
perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
|
|
75
|
-
hasMore: z.ZodBoolean;
|
|
76
|
-
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
total: number;
|
|
78
|
-
page: number;
|
|
79
|
-
perPage: number | false;
|
|
80
|
-
hasMore: boolean;
|
|
81
|
-
}, {
|
|
82
|
-
total: number;
|
|
83
|
-
page: number;
|
|
84
|
-
perPage: number | false;
|
|
85
|
-
hasMore: boolean;
|
|
86
|
-
}>;
|
|
87
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
88
|
-
traceId: z.ZodString;
|
|
89
|
-
spanId: z.ZodString;
|
|
90
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
-
spanType: z.ZodEnum<["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"]>;
|
|
94
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
95
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
96
|
-
links: z.ZodAny;
|
|
97
|
-
startedAt: z.ZodDate;
|
|
98
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
99
|
-
createdAt: z.ZodDate;
|
|
100
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
101
|
-
input: z.ZodAny;
|
|
102
|
-
output: z.ZodAny;
|
|
103
|
-
error: z.ZodAny;
|
|
104
|
-
isEvent: z.ZodBoolean;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
metadata: Record<string, any> | null;
|
|
107
|
-
traceId: string;
|
|
108
|
-
parentSpanId: string | null;
|
|
109
|
-
name: string;
|
|
110
|
-
createdAt: Date;
|
|
111
|
-
updatedAt: Date | null;
|
|
112
|
-
endedAt: Date | null;
|
|
113
|
-
scope: Record<string, any> | null;
|
|
114
|
-
spanId: string;
|
|
115
|
-
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";
|
|
116
|
-
attributes: Record<string, any> | null;
|
|
117
|
-
startedAt: Date;
|
|
118
|
-
isEvent: boolean;
|
|
119
|
-
error?: any;
|
|
120
|
-
output?: any;
|
|
121
|
-
input?: any;
|
|
122
|
-
links?: any;
|
|
123
|
-
}, {
|
|
124
|
-
metadata: Record<string, any> | null;
|
|
125
|
-
traceId: string;
|
|
126
|
-
parentSpanId: string | null;
|
|
127
|
-
name: string;
|
|
128
|
-
createdAt: Date;
|
|
129
|
-
updatedAt: Date | null;
|
|
130
|
-
endedAt: Date | null;
|
|
131
|
-
scope: Record<string, any> | null;
|
|
132
|
-
spanId: string;
|
|
133
|
-
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";
|
|
134
|
-
attributes: Record<string, any> | null;
|
|
135
|
-
startedAt: Date;
|
|
136
|
-
isEvent: boolean;
|
|
137
|
-
error?: any;
|
|
138
|
-
output?: any;
|
|
139
|
-
input?: any;
|
|
140
|
-
links?: any;
|
|
141
|
-
}>, "many">;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
pagination: {
|
|
144
|
-
total: number;
|
|
145
|
-
page: number;
|
|
146
|
-
perPage: number | false;
|
|
147
|
-
hasMore: boolean;
|
|
148
|
-
};
|
|
149
|
-
spans: {
|
|
150
|
-
metadata: Record<string, any> | null;
|
|
151
|
-
traceId: string;
|
|
152
|
-
parentSpanId: string | null;
|
|
153
|
-
name: string;
|
|
154
|
-
createdAt: Date;
|
|
155
|
-
updatedAt: Date | null;
|
|
156
|
-
endedAt: Date | null;
|
|
157
|
-
scope: Record<string, any> | null;
|
|
158
|
-
spanId: string;
|
|
159
|
-
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";
|
|
160
|
-
attributes: Record<string, any> | null;
|
|
161
|
-
startedAt: Date;
|
|
162
|
-
isEvent: boolean;
|
|
163
|
-
error?: any;
|
|
164
|
-
output?: any;
|
|
165
|
-
input?: any;
|
|
166
|
-
links?: any;
|
|
167
|
-
}[];
|
|
168
|
-
}, {
|
|
169
|
-
pagination: {
|
|
170
|
-
total: number;
|
|
171
|
-
page: number;
|
|
172
|
-
perPage: number | false;
|
|
173
|
-
hasMore: boolean;
|
|
174
|
-
};
|
|
175
|
-
spans: {
|
|
176
|
-
metadata: Record<string, any> | null;
|
|
177
|
-
traceId: string;
|
|
178
|
-
parentSpanId: string | null;
|
|
179
|
-
name: string;
|
|
180
|
-
createdAt: Date;
|
|
181
|
-
updatedAt: Date | null;
|
|
182
|
-
endedAt: Date | null;
|
|
183
|
-
scope: Record<string, any> | null;
|
|
184
|
-
spanId: string;
|
|
185
|
-
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";
|
|
186
|
-
attributes: Record<string, any> | null;
|
|
187
|
-
startedAt: Date;
|
|
188
|
-
isEvent: boolean;
|
|
189
|
-
error?: any;
|
|
190
|
-
output?: any;
|
|
191
|
-
input?: any;
|
|
192
|
-
links?: any;
|
|
193
|
-
}[];
|
|
194
|
-
}>;
|
|
195
|
-
export declare const traceIdPathParams: z.ZodObject<{
|
|
196
|
-
traceId: z.ZodString;
|
|
197
|
-
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
traceId: string;
|
|
199
|
-
}, {
|
|
200
|
-
traceId: string;
|
|
201
|
-
}>;
|
|
202
|
-
export declare const traceSpanPathParams: z.ZodObject<{
|
|
203
|
-
traceId: z.ZodString;
|
|
204
|
-
} & {
|
|
205
|
-
spanId: z.ZodString;
|
|
206
|
-
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
traceId: string;
|
|
208
|
-
spanId: string;
|
|
209
|
-
}, {
|
|
210
|
-
traceId: string;
|
|
211
|
-
spanId: string;
|
|
212
|
-
}>;
|
|
213
|
-
export declare const scoreTracesBodySchema: z.ZodObject<{
|
|
214
|
-
scorerName: z.ZodString;
|
|
215
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
216
|
-
traceId: z.ZodString;
|
|
217
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
218
|
-
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
traceId: string;
|
|
220
|
-
spanId?: string | undefined;
|
|
221
|
-
}, {
|
|
222
|
-
traceId: string;
|
|
223
|
-
spanId?: string | undefined;
|
|
224
|
-
}>, "many">;
|
|
225
|
-
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
scorerName: string;
|
|
227
|
-
targets: {
|
|
228
|
-
traceId: string;
|
|
229
|
-
spanId?: string | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
}, {
|
|
232
|
-
scorerName: string;
|
|
233
|
-
targets: {
|
|
234
|
-
traceId: string;
|
|
235
|
-
spanId?: string | undefined;
|
|
236
|
-
}[];
|
|
237
|
-
}>;
|
|
238
|
-
export declare const getAITraceResponseSchema: z.ZodObject<{
|
|
239
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
240
|
-
traceId: z.ZodString;
|
|
241
|
-
spanId: z.ZodString;
|
|
242
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
243
|
-
name: z.ZodString;
|
|
244
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
245
|
-
spanType: z.ZodEnum<["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"]>;
|
|
246
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
247
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
248
|
-
links: z.ZodAny;
|
|
249
|
-
startedAt: z.ZodDate;
|
|
250
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
251
|
-
createdAt: z.ZodDate;
|
|
252
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
253
|
-
input: z.ZodAny;
|
|
254
|
-
output: z.ZodAny;
|
|
255
|
-
error: z.ZodAny;
|
|
256
|
-
isEvent: z.ZodBoolean;
|
|
257
|
-
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
metadata: Record<string, any> | null;
|
|
259
|
-
traceId: string;
|
|
260
|
-
parentSpanId: string | null;
|
|
261
|
-
name: string;
|
|
262
|
-
createdAt: Date;
|
|
263
|
-
updatedAt: Date | null;
|
|
264
|
-
endedAt: Date | null;
|
|
265
|
-
scope: Record<string, any> | null;
|
|
266
|
-
spanId: string;
|
|
267
|
-
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";
|
|
268
|
-
attributes: Record<string, any> | null;
|
|
269
|
-
startedAt: Date;
|
|
270
|
-
isEvent: boolean;
|
|
271
|
-
error?: any;
|
|
272
|
-
output?: any;
|
|
273
|
-
input?: any;
|
|
274
|
-
links?: any;
|
|
275
|
-
}, {
|
|
276
|
-
metadata: Record<string, any> | null;
|
|
277
|
-
traceId: string;
|
|
278
|
-
parentSpanId: string | null;
|
|
279
|
-
name: string;
|
|
280
|
-
createdAt: Date;
|
|
281
|
-
updatedAt: Date | null;
|
|
282
|
-
endedAt: Date | null;
|
|
283
|
-
scope: Record<string, any> | null;
|
|
284
|
-
spanId: string;
|
|
285
|
-
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";
|
|
286
|
-
attributes: Record<string, any> | null;
|
|
287
|
-
startedAt: Date;
|
|
288
|
-
isEvent: boolean;
|
|
289
|
-
error?: any;
|
|
290
|
-
output?: any;
|
|
291
|
-
input?: any;
|
|
292
|
-
links?: any;
|
|
293
|
-
}>, "many">;
|
|
294
|
-
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
spans: {
|
|
296
|
-
metadata: Record<string, any> | null;
|
|
297
|
-
traceId: string;
|
|
298
|
-
parentSpanId: string | null;
|
|
299
|
-
name: string;
|
|
300
|
-
createdAt: Date;
|
|
301
|
-
updatedAt: Date | null;
|
|
302
|
-
endedAt: Date | null;
|
|
303
|
-
scope: Record<string, any> | null;
|
|
304
|
-
spanId: string;
|
|
305
|
-
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";
|
|
306
|
-
attributes: Record<string, any> | null;
|
|
307
|
-
startedAt: Date;
|
|
308
|
-
isEvent: boolean;
|
|
309
|
-
error?: any;
|
|
310
|
-
output?: any;
|
|
311
|
-
input?: any;
|
|
312
|
-
links?: any;
|
|
313
|
-
}[];
|
|
314
|
-
}, {
|
|
315
|
-
spans: {
|
|
316
|
-
metadata: Record<string, any> | null;
|
|
317
|
-
traceId: string;
|
|
318
|
-
parentSpanId: string | null;
|
|
319
|
-
name: string;
|
|
320
|
-
createdAt: Date;
|
|
321
|
-
updatedAt: Date | null;
|
|
322
|
-
endedAt: Date | null;
|
|
323
|
-
scope: Record<string, any> | null;
|
|
324
|
-
spanId: string;
|
|
325
|
-
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";
|
|
326
|
-
attributes: Record<string, any> | null;
|
|
327
|
-
startedAt: Date;
|
|
328
|
-
isEvent: boolean;
|
|
329
|
-
error?: any;
|
|
330
|
-
output?: any;
|
|
331
|
-
input?: any;
|
|
332
|
-
links?: any;
|
|
333
|
-
}[];
|
|
334
|
-
}>;
|
|
335
|
-
export declare const scoreTracesResponseSchema: z.ZodObject<{
|
|
336
|
-
status: z.ZodString;
|
|
337
|
-
message: z.ZodString;
|
|
338
|
-
traceCount: z.ZodNumber;
|
|
339
|
-
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
message: string;
|
|
341
|
-
status: string;
|
|
342
|
-
traceCount: number;
|
|
343
|
-
}, {
|
|
344
|
-
message: string;
|
|
345
|
-
status: string;
|
|
346
|
-
traceCount: number;
|
|
347
|
-
}>;
|
|
348
|
-
export declare const listScoresBySpanResponseSchema: z.ZodObject<{
|
|
349
|
-
pagination: z.ZodObject<{
|
|
350
|
-
total: z.ZodNumber;
|
|
351
|
-
page: z.ZodNumber;
|
|
352
|
-
perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
|
|
353
|
-
hasMore: z.ZodBoolean;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
total: number;
|
|
356
|
-
page: number;
|
|
357
|
-
perPage: number | false;
|
|
358
|
-
hasMore: boolean;
|
|
359
|
-
}, {
|
|
360
|
-
total: number;
|
|
361
|
-
page: number;
|
|
362
|
-
perPage: number | false;
|
|
363
|
-
hasMore: boolean;
|
|
364
|
-
}>;
|
|
365
|
-
scores: z.ZodArray<z.ZodUnknown, "many">;
|
|
366
|
-
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
pagination: {
|
|
368
|
-
total: number;
|
|
369
|
-
page: number;
|
|
370
|
-
perPage: number | false;
|
|
371
|
-
hasMore: boolean;
|
|
372
|
-
};
|
|
373
|
-
scores: unknown[];
|
|
374
|
-
}, {
|
|
375
|
-
pagination: {
|
|
376
|
-
total: number;
|
|
377
|
-
page: number;
|
|
378
|
-
perPage: number | false;
|
|
379
|
-
hasMore: boolean;
|
|
380
|
-
};
|
|
381
|
-
scores: unknown[];
|
|
382
|
-
}>;
|
|
383
|
-
export declare const listScoresBySpanQuerySchema: z.ZodObject<{
|
|
384
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
385
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
page: number;
|
|
388
|
-
perPage: number;
|
|
389
|
-
}, {
|
|
390
|
-
page?: number | undefined;
|
|
391
|
-
perPage?: number | undefined;
|
|
392
|
-
}> | z.ZodObject<{
|
|
393
|
-
perPage: z.ZodOptional<z.ZodNumber>;
|
|
394
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
page: number;
|
|
397
|
-
perPage?: number | undefined;
|
|
398
|
-
}, {
|
|
399
|
-
page?: number | undefined;
|
|
400
|
-
perPage?: number | undefined;
|
|
401
|
-
}>;
|
|
402
|
-
//# sourceMappingURL=observability.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/observability.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB;;;GAGG;AACH,eAAO,MAAM,gBAAgB,0SAiB3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;EAE9B,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAAiC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { require_token_util } from './chunk-DW3WE4M4.js';
|
|
2
|
-
|
|
3
|
-
// ../memory/dist/token-util-NEHG7TUY-DJYRKLRD.js
|
|
4
|
-
var tokenUtilNEHG7TUY = require_token_util();
|
|
5
|
-
|
|
6
|
-
export { tokenUtilNEHG7TUY as default };
|
|
7
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map
|
|
8
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkLKTCAPBD_cjs = require('./chunk-LKTCAPBD.cjs');
|
|
4
|
-
|
|
5
|
-
// ../memory/dist/token-util-NEHG7TUY-DJYRKLRD.js
|
|
6
|
-
var tokenUtilNEHG7TUY = chunkLKTCAPBD_cjs.require_token_util();
|
|
7
|
-
|
|
8
|
-
module.exports = tokenUtilNEHG7TUY;
|
|
9
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map
|
|
10
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map
|