@mastra/server 0.0.0-span-scorring-test-20251124132129 → 0.0.0-standard-schema-20260123120255
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 +1811 -32
- package/README.md +2 -2
- package/a2a/store.d.ts +1 -0
- package/auth.d.ts +1 -0
- package/dist/{chunk-SHWNNZBL.js → chunk-24SISJRB.js} +13 -17
- package/dist/chunk-24SISJRB.js.map +1 -0
- package/dist/{chunk-G7BPNX2V.js → chunk-2JNW2CLE.js} +64 -14
- package/dist/chunk-2JNW2CLE.js.map +1 -0
- package/dist/chunk-2UHOWYFV.js +184 -0
- package/dist/chunk-2UHOWYFV.js.map +1 -0
- package/dist/chunk-3W67K7YE.js +13 -0
- package/dist/chunk-3W67K7YE.js.map +1 -0
- package/dist/chunk-4HFYR562.cjs +82 -0
- package/dist/chunk-4HFYR562.cjs.map +1 -0
- package/dist/chunk-55TH4ME5.js +170 -0
- package/dist/chunk-55TH4ME5.js.map +1 -0
- package/dist/{chunk-Z36N2OQA.cjs → chunk-55XIQCGI.cjs} +358 -137
- package/dist/chunk-55XIQCGI.cjs.map +1 -0
- package/dist/{chunk-QGWCNTG6.cjs → chunk-5NQ3GWUJ.cjs} +493 -172
- package/dist/chunk-5NQ3GWUJ.cjs.map +1 -0
- package/dist/{chunk-QU6N55W6.cjs → chunk-6G2RQWKA.cjs} +17 -21
- package/dist/chunk-6G2RQWKA.cjs.map +1 -0
- package/dist/{chunk-KB5NSROG.cjs → chunk-6NLJ5YC3.cjs} +47 -42
- package/dist/chunk-6NLJ5YC3.cjs.map +1 -0
- package/dist/chunk-6OFKRQQL.js +45 -0
- package/dist/chunk-6OFKRQQL.js.map +1 -0
- package/dist/{chunk-UXGQZUYZ.js → chunk-7AINN3FK.js} +13 -3
- package/dist/chunk-7AINN3FK.js.map +1 -0
- package/dist/chunk-7D3UAMQM.cjs +82 -0
- package/dist/chunk-7D3UAMQM.cjs.map +1 -0
- package/dist/{chunk-I5VZ5SKG.js → chunk-7ERB6H6K.js} +17 -11
- package/dist/chunk-7ERB6H6K.js.map +1 -0
- package/dist/{chunk-NDFAQBQD.cjs → chunk-AEMLCRS5.cjs} +514 -166
- package/dist/chunk-AEMLCRS5.cjs.map +1 -0
- package/dist/chunk-BLCHLNBT.js +442 -0
- package/dist/chunk-BLCHLNBT.js.map +1 -0
- package/dist/{chunk-ZLRTFRL4.js → chunk-BSOLG32W.js} +407 -91
- package/dist/chunk-BSOLG32W.js.map +1 -0
- package/dist/{chunk-ASZUOBKV.js → chunk-CQUWREB2.js} +42 -20
- package/dist/chunk-CQUWREB2.js.map +1 -0
- package/dist/chunk-CRCXQW5R.cjs +47 -0
- package/dist/chunk-CRCXQW5R.cjs.map +1 -0
- package/dist/{chunk-3R5EV3HV.js → chunk-CT7S7VRG.js} +36 -29
- package/dist/chunk-CT7S7VRG.js.map +1 -0
- package/dist/{chunk-FAQICBMH.js → chunk-D23WBCJ6.js} +70 -7
- package/dist/chunk-D23WBCJ6.js.map +1 -0
- package/dist/{chunk-R4M3BSUG.js → chunk-DOU5IGJB.js} +26 -10
- package/dist/chunk-DOU5IGJB.js.map +1 -0
- package/dist/chunk-DUTGH2DM.js +31748 -0
- package/dist/chunk-DUTGH2DM.js.map +1 -0
- package/dist/{chunk-5PONYNYP.cjs → chunk-E2SZSFGZ.cjs} +20 -17
- package/dist/chunk-E2SZSFGZ.cjs.map +1 -0
- package/dist/chunk-EH45MGLR.cjs +322 -0
- package/dist/chunk-EH45MGLR.cjs.map +1 -0
- package/dist/chunk-FRRHYZR6.cjs +88 -0
- package/dist/chunk-FRRHYZR6.cjs.map +1 -0
- package/dist/{chunk-ZULZ2752.js → chunk-FXW7MD4U.js} +3 -3
- package/dist/chunk-FXW7MD4U.js.map +1 -0
- package/dist/{chunk-YJ3VDL3Z.cjs → chunk-GGAV65A7.cjs} +37 -31
- package/dist/chunk-GGAV65A7.cjs.map +1 -0
- package/dist/{chunk-PKRHEXX7.js → chunk-HT4LP3BO.js} +19 -18
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/chunk-HZINLMHL.cjs +252 -0
- package/dist/chunk-HZINLMHL.cjs.map +1 -0
- package/dist/{chunk-RQK4FQUD.js → chunk-IGXRQWNN.js} +6 -48
- package/dist/chunk-IGXRQWNN.js.map +1 -0
- package/dist/chunk-IROUDQSO.js +246 -0
- package/dist/chunk-IROUDQSO.js.map +1 -0
- package/dist/chunk-IS3HHGL4.js +250 -0
- package/dist/chunk-IS3HHGL4.js.map +1 -0
- package/dist/chunk-JJLEVKG7.js +576 -0
- package/dist/chunk-JJLEVKG7.js.map +1 -0
- package/dist/{chunk-UJNHKFBR.cjs → chunk-K34R4R2T.cjs} +72 -6
- package/dist/chunk-K34R4R2T.cjs.map +1 -0
- package/dist/chunk-K4HSW5ZF.js +77 -0
- package/dist/chunk-K4HSW5ZF.js.map +1 -0
- package/dist/{chunk-ZODCSH2W.cjs → chunk-L2U75ERO.cjs} +54 -32
- package/dist/chunk-L2U75ERO.cjs.map +1 -0
- package/dist/chunk-L2VZFGWH.cjs +31787 -0
- package/dist/chunk-L2VZFGWH.cjs.map +1 -0
- package/dist/chunk-L7LB66KK.cjs +450 -0
- package/dist/chunk-L7LB66KK.cjs.map +1 -0
- package/dist/chunk-LJ6YRVDI.cjs +15 -0
- package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
- package/dist/{chunk-2NW6POYK.cjs → chunk-MCYD5LW7.cjs} +19 -18
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/{chunk-6DTV6NEW.js → chunk-MF4PZE2D.js} +11 -8
- package/dist/chunk-MF4PZE2D.js.map +1 -0
- package/dist/{chunk-35NT4TMQ.cjs → chunk-MP6TNZXA.cjs} +66 -55
- package/dist/chunk-MP6TNZXA.cjs.map +1 -0
- package/dist/chunk-MPM2W4IS.js +312 -0
- package/dist/chunk-MPM2W4IS.js.map +1 -0
- package/dist/chunk-NE4CLM6P.cjs +190 -0
- package/dist/chunk-NE4CLM6P.cjs.map +1 -0
- package/dist/chunk-NL6ELCFS.cjs +603 -0
- package/dist/chunk-NL6ELCFS.cjs.map +1 -0
- package/dist/{chunk-MWQQRVQC.cjs → chunk-OD6Y7FEM.cjs} +34 -13
- package/dist/chunk-OD6Y7FEM.cjs.map +1 -0
- package/dist/chunk-OS7SAIRA.js +250 -0
- package/dist/chunk-OS7SAIRA.js.map +1 -0
- package/dist/chunk-PWXUI3OG.cjs +252 -0
- package/dist/chunk-PWXUI3OG.cjs.map +1 -0
- package/dist/{chunk-UOFV2ZCI.js → chunk-QAXO2LQT.js} +316 -96
- package/dist/chunk-QAXO2LQT.js.map +1 -0
- package/dist/chunk-RIX6WEJ2.js +83 -0
- package/dist/chunk-RIX6WEJ2.js.map +1 -0
- package/dist/{chunk-FXDZLX2Y.js → chunk-RRVA4RVW.js} +37 -26
- package/dist/chunk-RRVA4RVW.js.map +1 -0
- package/dist/{chunk-LPM6BBAX.cjs → chunk-SLDAFSKJ.cjs} +5 -56
- package/dist/chunk-SLDAFSKJ.cjs.map +1 -0
- package/dist/{chunk-2PLXW4ZX.cjs → chunk-T6YYVQHJ.cjs} +74 -74
- package/dist/chunk-T6YYVQHJ.cjs.map +1 -0
- package/dist/chunk-TF4LSD27.cjs +180 -0
- package/dist/chunk-TF4LSD27.cjs.map +1 -0
- package/dist/chunk-TM6IOINJ.cjs +252 -0
- package/dist/chunk-TM6IOINJ.cjs.map +1 -0
- package/dist/{chunk-ICANWSEW.js → chunk-UVE6SV6I.js} +25 -20
- package/dist/chunk-UVE6SV6I.js.map +1 -0
- package/dist/{chunk-V5WWQN7P.cjs → chunk-UWYAL2Z3.cjs} +13 -2
- package/dist/chunk-UWYAL2Z3.cjs.map +1 -0
- package/dist/{chunk-UZ6CYAOG.cjs → chunk-VES6QKOW.cjs} +64 -14
- package/dist/chunk-VES6QKOW.cjs.map +1 -0
- package/dist/{chunk-VQAT5HX6.js → chunk-W7HAZD2A.js} +458 -116
- package/dist/chunk-W7HAZD2A.js.map +1 -0
- package/dist/{chunk-4ECGVOJZ.cjs → chunk-WNQUNLRT.cjs} +40 -33
- package/dist/chunk-WNQUNLRT.cjs.map +1 -0
- package/dist/chunk-XKLJYRAA.js +77 -0
- package/dist/chunk-XKLJYRAA.js.map +1 -0
- package/dist/{dist-G2BYZJOC.cjs → dist-2GQKYJ34.cjs} +28 -28
- package/dist/dist-2GQKYJ34.cjs.map +1 -0
- package/dist/{dist-X7XR3M3Z.js → dist-C6BUHOEE.js} +3 -3
- package/dist/dist-C6BUHOEE.js.map +1 -0
- package/dist/dist-DGOEFPQD.cjs +16 -0
- package/dist/{dist-P4MXBQ3U.cjs.map → dist-DGOEFPQD.cjs.map} +1 -1
- package/dist/dist-FT2OR7OS.js +3 -0
- package/dist/{dist-YREX2TJT.js.map → dist-FT2OR7OS.js.map} +1 -1
- package/dist/{dist-XVBSOGFK.js → dist-G4CR4WYY.js} +3 -3
- package/dist/dist-G4CR4WYY.js.map +1 -0
- package/dist/{dist-PQZUVLPC.js → dist-G5QFRYLQ.js} +3 -3
- package/dist/dist-G5QFRYLQ.js.map +1 -0
- package/dist/{dist-4MVGNSRL.cjs → dist-JPQK5S4K.cjs} +20 -20
- package/dist/dist-JPQK5S4K.cjs.map +1 -0
- package/dist/{dist-R7WYX6LC.js → dist-MIDN25GT.js} +3 -3
- package/dist/dist-MIDN25GT.js.map +1 -0
- package/dist/{dist-RFMYFILX.cjs → dist-SNKH6NS2.cjs} +30 -30
- package/dist/dist-SNKH6NS2.cjs.map +1 -0
- package/dist/{dist-FZYCV3VB.cjs → dist-XBQPKAO4.cjs} +26 -26
- package/dist/dist-XBQPKAO4.cjs.map +1 -0
- 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/auth/defaults.d.ts +3 -0
- package/dist/server/auth/defaults.d.ts.map +1 -0
- package/dist/server/auth/helpers.d.ts +14 -0
- package/dist/server/auth/helpers.d.ts.map +1 -0
- package/dist/server/auth/index.cjs +44 -0
- package/dist/server/auth/index.cjs.map +1 -0
- package/dist/server/auth/index.d.ts +3 -0
- package/dist/server/auth/index.d.ts.map +1 -0
- package/dist/server/auth/index.js +3 -0
- package/dist/server/auth/index.js.map +1 -0
- package/dist/server/auth/path-pattern.d.ts +43 -0
- package/dist/server/auth/path-pattern.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.d.ts +34 -420
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- 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 +154 -460
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +60 -0
- package/dist/server/handlers/agent-versions.cjs.map +1 -0
- package/dist/server/handlers/agent-versions.d.ts +425 -0
- package/dist/server/handlers/agent-versions.d.ts.map +1 -0
- package/dist/server/handlers/agent-versions.js +3 -0
- package/dist/server/handlers/agent-versions.js.map +1 -0
- package/dist/server/handlers/agents.cjs +43 -23
- package/dist/server/handlers/agents.d.ts +362 -2912
- 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 +22 -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.d.ts +63 -111
- package/dist/server/handlers/logs.d.ts.map +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp.cjs +40 -0
- package/dist/server/handlers/mcp.cjs.map +1 -0
- package/dist/server/handlers/mcp.d.ts +92 -0
- package/dist/server/handlers/mcp.d.ts.map +1 -0
- package/dist/server/handlers/mcp.js +3 -0
- package/dist/server/handlers/mcp.js.map +1 -0
- package/dist/server/handlers/memory.cjs +28 -24
- package/dist/server/handlers/memory.d.ts +244 -756
- 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 +97 -114
- 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 +90 -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 +18 -54
- 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 +28 -0
- package/dist/server/handlers/stored-agents.cjs.map +1 -0
- package/dist/server/handlers/stored-agents.d.ts +214 -0
- package/dist/server/handlers/stored-agents.d.ts.map +1 -0
- package/dist/server/handlers/stored-agents.js +3 -0
- package/dist/server/handlers/stored-agents.js.map +1 -0
- 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/test-utils.cjs +2 -2
- package/dist/server/handlers/test-utils.cjs.map +1 -1
- package/dist/server/handlers/test-utils.d.ts +3 -3
- package/dist/server/handlers/test-utils.d.ts.map +1 -1
- package/dist/server/handlers/test-utils.js +2 -2
- package/dist/server/handlers/test-utils.js.map +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.d.ts +7 -36
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vector.cjs +13 -13
- package/dist/server/handlers/vector.d.ts +16 -57
- package/dist/server/handlers/vector.d.ts.map +1 -1
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.d.ts +18 -56
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +46 -26
- package/dist/server/handlers/workflows.d.ts +358 -533
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +36 -31
- package/dist/server/handlers.d.ts +1 -0
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/handlers.js +12 -11
- package/dist/server/schemas/a2a.d.ts +56 -700
- package/dist/server/schemas/a2a.d.ts.map +1 -1
- package/dist/server/schemas/agent-builder.d.ts +26 -143
- package/dist/server/schemas/agent-builder.d.ts.map +1 -1
- package/dist/server/schemas/agent-versions.d.ts +379 -0
- package/dist/server/schemas/agent-versions.d.ts.map +1 -0
- package/dist/server/schemas/agents.d.ts +152 -1031
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/common.d.ts +37 -103
- package/dist/server/schemas/common.d.ts.map +1 -1
- package/dist/server/schemas/logs.d.ts +38 -106
- package/dist/server/schemas/logs.d.ts.map +1 -1
- package/dist/server/schemas/mcp.d.ts +91 -0
- package/dist/server/schemas/mcp.d.ts.map +1 -0
- package/dist/server/schemas/memory.d.ts +288 -831
- package/dist/server/schemas/memory.d.ts.map +1 -1
- package/dist/server/schemas/processors.d.ts +162 -0
- package/dist/server/schemas/processors.d.ts.map +1 -0
- package/dist/server/schemas/scores.d.ts +31 -213
- package/dist/server/schemas/scores.d.ts.map +1 -1
- package/dist/server/schemas/stored-agents.d.ts +274 -0
- package/dist/server/schemas/stored-agents.d.ts.map +1 -0
- package/dist/server/schemas/system.d.ts +14 -0
- package/dist/server/schemas/system.d.ts.map +1 -0
- package/dist/server/schemas/vectors.d.ts +21 -81
- package/dist/server/schemas/vectors.d.ts.map +1 -1
- package/dist/server/schemas/workflows.d.ts +248 -382
- package/dist/server/schemas/workflows.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +441 -137
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +94 -16
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +325 -35
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/redact.d.ts +26 -0
- package/dist/server/server-adapter/redact.d.ts.map +1 -0
- 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 +18 -7
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/mcp.d.ts +9 -0
- package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -0
- 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 +66 -6
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/stored-agents.d.ts +8 -0
- package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -0
- 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 +1 -1
- package/dist/server/utils.d.ts.map +1 -1
- package/dist/{token-375W3LEI.cjs → token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs} +11 -12
- package/dist/token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs.map +1 -0
- package/dist/{token-C3IMNCC4.js → token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js} +8 -9
- package/dist/token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js.map +1 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs +63 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs.map +1 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js +61 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js.map +1 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs +63 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs.map +1 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js +61 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js +8 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs +10 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js +8 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js.map +1 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs +10 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs +10 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js +8 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js.map +1 -0
- package/handlers/server/handlers.d.ts +1 -0
- package/handlers.d.ts +1 -0
- package/package.json +29 -17
- package/server-adapter.d.ts +1 -0
- package/dist/chunk-2NW6POYK.cjs.map +0 -1
- package/dist/chunk-2PLXW4ZX.cjs.map +0 -1
- package/dist/chunk-35NT4TMQ.cjs.map +0 -1
- package/dist/chunk-3R5EV3HV.js.map +0 -1
- package/dist/chunk-4ECGVOJZ.cjs.map +0 -1
- package/dist/chunk-5PONYNYP.cjs.map +0 -1
- package/dist/chunk-6BISSAIF.js +0 -23494
- package/dist/chunk-6BISSAIF.js.map +0 -1
- package/dist/chunk-6DTV6NEW.js.map +0 -1
- package/dist/chunk-AEO6IHLK.cjs +0 -368
- package/dist/chunk-AEO6IHLK.cjs.map +0 -1
- package/dist/chunk-ASZUOBKV.js.map +0 -1
- package/dist/chunk-ECIVTQ4E.js +0 -354
- package/dist/chunk-ECIVTQ4E.js.map +0 -1
- package/dist/chunk-FAQICBMH.js.map +0 -1
- package/dist/chunk-FXDZLX2Y.js.map +0 -1
- package/dist/chunk-G7BPNX2V.js.map +0 -1
- package/dist/chunk-I5VZ5SKG.js.map +0 -1
- package/dist/chunk-ICANWSEW.js.map +0 -1
- package/dist/chunk-KB5NSROG.cjs.map +0 -1
- package/dist/chunk-LPM6BBAX.cjs.map +0 -1
- package/dist/chunk-MWQQRVQC.cjs.map +0 -1
- package/dist/chunk-NDFAQBQD.cjs.map +0 -1
- package/dist/chunk-PKRHEXX7.js.map +0 -1
- package/dist/chunk-QGWCNTG6.cjs.map +0 -1
- package/dist/chunk-QU6N55W6.cjs.map +0 -1
- package/dist/chunk-R4M3BSUG.js.map +0 -1
- package/dist/chunk-RQK4FQUD.js.map +0 -1
- package/dist/chunk-SHWNNZBL.js.map +0 -1
- package/dist/chunk-TBVUN4XN.cjs +0 -23536
- package/dist/chunk-TBVUN4XN.cjs.map +0 -1
- package/dist/chunk-TOCYBDP2.js +0 -46
- package/dist/chunk-TOCYBDP2.js.map +0 -1
- package/dist/chunk-UJNHKFBR.cjs.map +0 -1
- package/dist/chunk-UOFV2ZCI.js.map +0 -1
- package/dist/chunk-UXGQZUYZ.js.map +0 -1
- package/dist/chunk-UZ6CYAOG.cjs.map +0 -1
- package/dist/chunk-V5WWQN7P.cjs.map +0 -1
- package/dist/chunk-VQAT5HX6.js.map +0 -1
- package/dist/chunk-X6C7BUWN.cjs +0 -48
- package/dist/chunk-X6C7BUWN.cjs.map +0 -1
- package/dist/chunk-YJ3VDL3Z.cjs.map +0 -1
- package/dist/chunk-Z36N2OQA.cjs.map +0 -1
- package/dist/chunk-ZLRTFRL4.js.map +0 -1
- package/dist/chunk-ZODCSH2W.cjs.map +0 -1
- package/dist/chunk-ZULZ2752.js.map +0 -1
- package/dist/dist-4MVGNSRL.cjs.map +0 -1
- package/dist/dist-FZYCV3VB.cjs.map +0 -1
- package/dist/dist-G2BYZJOC.cjs.map +0 -1
- package/dist/dist-P4MXBQ3U.cjs +0 -16
- package/dist/dist-PQZUVLPC.js.map +0 -1
- package/dist/dist-R7WYX6LC.js.map +0 -1
- package/dist/dist-RFMYFILX.cjs.map +0 -1
- package/dist/dist-X7XR3M3Z.js.map +0 -1
- package/dist/dist-XVBSOGFK.js.map +0 -1
- package/dist/dist-YREX2TJT.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-375W3LEI.cjs.map +0 -1
- package/dist/token-C3IMNCC4.js.map +0 -1
- package/dist/token-util-CV3RRG6K.cjs +0 -9
- package/dist/token-util-CV3RRG6K.cjs.map +0 -1
- package/dist/token-util-E5QO2RCL.js +0 -7
- package/dist/token-util-E5QO2RCL.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTM6IOINJ_cjs = require('../../chunk-TM6IOINJ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "CREATE_STORED_AGENT_ROUTE", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTM6IOINJ_cjs.CREATE_STORED_AGENT_ROUTE; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "DELETE_STORED_AGENT_ROUTE", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkTM6IOINJ_cjs.DELETE_STORED_AGENT_ROUTE; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "GET_STORED_AGENT_ROUTE", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkTM6IOINJ_cjs.GET_STORED_AGENT_ROUTE; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "LIST_STORED_AGENTS_ROUTE", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkTM6IOINJ_cjs.LIST_STORED_AGENTS_ROUTE; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "UPDATE_STORED_AGENT_ROUTE", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkTM6IOINJ_cjs.UPDATE_STORED_AGENT_ROUTE; }
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=stored-agents.cjs.map
|
|
28
|
+
//# sourceMappingURL=stored-agents.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"stored-agents.cjs"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GET /stored/agents - List all stored agents
|
|
3
|
+
*/
|
|
4
|
+
export declare const LIST_STORED_AGENTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
|
|
5
|
+
perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
6
|
+
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
7
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8
|
+
field: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
9
|
+
createdAt: "createdAt";
|
|
10
|
+
updatedAt: "updatedAt";
|
|
11
|
+
}>>;
|
|
12
|
+
direction: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
13
|
+
ASC: "ASC";
|
|
14
|
+
DESC: "DESC";
|
|
15
|
+
}>>;
|
|
16
|
+
}, import("zod/v4/core").$strip>>;
|
|
17
|
+
ownerId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
19
|
+
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
|
|
20
|
+
perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
21
|
+
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
22
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
23
|
+
field: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
24
|
+
createdAt: "createdAt";
|
|
25
|
+
updatedAt: "updatedAt";
|
|
26
|
+
}>>;
|
|
27
|
+
direction: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
28
|
+
ASC: "ASC";
|
|
29
|
+
DESC: "DESC";
|
|
30
|
+
}>>;
|
|
31
|
+
}, import("zod/v4/core").$strip>>;
|
|
32
|
+
ownerId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
34
|
+
}, import("zod/v4/core").$strip>, undefined>, {
|
|
35
|
+
total: number;
|
|
36
|
+
page: number;
|
|
37
|
+
perPage: number | false;
|
|
38
|
+
hasMore: boolean;
|
|
39
|
+
agents: {
|
|
40
|
+
name: string;
|
|
41
|
+
instructions: string;
|
|
42
|
+
model: Record<string, unknown>;
|
|
43
|
+
id: string;
|
|
44
|
+
createdAt: Date;
|
|
45
|
+
updatedAt: Date;
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
tools?: string[] | undefined;
|
|
48
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
49
|
+
workflows?: string[] | undefined;
|
|
50
|
+
agents?: string[] | undefined;
|
|
51
|
+
integrationTools?: string[] | undefined;
|
|
52
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
53
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
54
|
+
memory?: string | undefined;
|
|
55
|
+
scorers?: Record<string, {
|
|
56
|
+
sampling?: {
|
|
57
|
+
type: "count" | "ratio";
|
|
58
|
+
rate?: number | undefined;
|
|
59
|
+
count?: number | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
}> | undefined;
|
|
62
|
+
metadata?: Record<string, unknown> | undefined;
|
|
63
|
+
ownerId?: string | undefined;
|
|
64
|
+
}[];
|
|
65
|
+
}, "json">;
|
|
66
|
+
/**
|
|
67
|
+
* GET /stored/agents/:storedAgentId - Get a stored agent by ID
|
|
68
|
+
*/
|
|
69
|
+
export declare const GET_STORED_AGENT_ROUTE: import("../server-adapter").ServerRoute<{
|
|
70
|
+
storedAgentId: string;
|
|
71
|
+
}, {
|
|
72
|
+
name: string;
|
|
73
|
+
instructions: string;
|
|
74
|
+
model: Record<string, unknown>;
|
|
75
|
+
id: string;
|
|
76
|
+
createdAt: Date;
|
|
77
|
+
updatedAt: Date;
|
|
78
|
+
description?: string | undefined;
|
|
79
|
+
tools?: string[] | undefined;
|
|
80
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
81
|
+
workflows?: string[] | undefined;
|
|
82
|
+
agents?: string[] | undefined;
|
|
83
|
+
integrationTools?: string[] | undefined;
|
|
84
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
85
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
86
|
+
memory?: string | undefined;
|
|
87
|
+
scorers?: Record<string, {
|
|
88
|
+
sampling?: {
|
|
89
|
+
type: "count" | "ratio";
|
|
90
|
+
rate?: number | undefined;
|
|
91
|
+
count?: number | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
metadata?: Record<string, unknown> | undefined;
|
|
95
|
+
ownerId?: string | undefined;
|
|
96
|
+
}, "json">;
|
|
97
|
+
/**
|
|
98
|
+
* POST /stored/agents - Create a new stored agent
|
|
99
|
+
*/
|
|
100
|
+
export declare const CREATE_STORED_AGENT_ROUTE: import("../server-adapter").ServerRoute<{
|
|
101
|
+
name: string;
|
|
102
|
+
instructions: string;
|
|
103
|
+
model: Record<string, unknown>;
|
|
104
|
+
id: string;
|
|
105
|
+
description?: string | undefined;
|
|
106
|
+
tools?: string[] | undefined;
|
|
107
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
108
|
+
workflows?: string[] | undefined;
|
|
109
|
+
agents?: string[] | undefined;
|
|
110
|
+
integrationTools?: string[] | undefined;
|
|
111
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
112
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
113
|
+
memory?: string | undefined;
|
|
114
|
+
scorers?: Record<string, {
|
|
115
|
+
sampling?: {
|
|
116
|
+
type: "count" | "ratio";
|
|
117
|
+
rate?: number | undefined;
|
|
118
|
+
count?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}> | undefined;
|
|
121
|
+
metadata?: Record<string, unknown> | undefined;
|
|
122
|
+
ownerId?: string | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
name: string;
|
|
125
|
+
instructions: string;
|
|
126
|
+
model: Record<string, unknown>;
|
|
127
|
+
id: string;
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
updatedAt: Date;
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
tools?: string[] | undefined;
|
|
132
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
133
|
+
workflows?: string[] | undefined;
|
|
134
|
+
agents?: string[] | undefined;
|
|
135
|
+
integrationTools?: string[] | undefined;
|
|
136
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
137
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
138
|
+
memory?: string | undefined;
|
|
139
|
+
scorers?: Record<string, {
|
|
140
|
+
sampling?: {
|
|
141
|
+
type: "count" | "ratio";
|
|
142
|
+
rate?: number | undefined;
|
|
143
|
+
count?: number | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
}> | undefined;
|
|
146
|
+
metadata?: Record<string, unknown> | undefined;
|
|
147
|
+
ownerId?: string | undefined;
|
|
148
|
+
}, "json">;
|
|
149
|
+
/**
|
|
150
|
+
* PATCH /stored/agents/:storedAgentId - Update a stored agent
|
|
151
|
+
*/
|
|
152
|
+
export declare const UPDATE_STORED_AGENT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
153
|
+
storedAgentId: import("zod").ZodString;
|
|
154
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
155
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
156
|
+
description: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
157
|
+
instructions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
158
|
+
model: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
159
|
+
tools: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
160
|
+
defaultOptions: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
161
|
+
workflows: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
162
|
+
agents: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
163
|
+
integrationTools: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
164
|
+
inputProcessors: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>>;
|
|
165
|
+
outputProcessors: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>>;
|
|
166
|
+
memory: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
167
|
+
scorers: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
168
|
+
sampling: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
169
|
+
type: import("zod").ZodEnum<{
|
|
170
|
+
count: "count";
|
|
171
|
+
ratio: "ratio";
|
|
172
|
+
}>;
|
|
173
|
+
rate: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
174
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
175
|
+
}, import("zod/v4/core").$strip>>;
|
|
176
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
177
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
178
|
+
ownerId: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
179
|
+
}, import("zod/v4/core").$strip>>, {
|
|
180
|
+
name: string;
|
|
181
|
+
instructions: string;
|
|
182
|
+
model: Record<string, unknown>;
|
|
183
|
+
id: string;
|
|
184
|
+
createdAt: Date;
|
|
185
|
+
updatedAt: Date;
|
|
186
|
+
description?: string | undefined;
|
|
187
|
+
tools?: string[] | undefined;
|
|
188
|
+
defaultOptions?: Record<string, unknown> | undefined;
|
|
189
|
+
workflows?: string[] | undefined;
|
|
190
|
+
agents?: string[] | undefined;
|
|
191
|
+
integrationTools?: string[] | undefined;
|
|
192
|
+
inputProcessors?: Record<string, unknown>[] | undefined;
|
|
193
|
+
outputProcessors?: Record<string, unknown>[] | undefined;
|
|
194
|
+
memory?: string | undefined;
|
|
195
|
+
scorers?: Record<string, {
|
|
196
|
+
sampling?: {
|
|
197
|
+
type: "count" | "ratio";
|
|
198
|
+
rate?: number | undefined;
|
|
199
|
+
count?: number | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
}> | undefined;
|
|
202
|
+
metadata?: Record<string, unknown> | undefined;
|
|
203
|
+
ownerId?: string | undefined;
|
|
204
|
+
}, "json">;
|
|
205
|
+
/**
|
|
206
|
+
* DELETE /stored/agents/:storedAgentId - Delete a stored agent
|
|
207
|
+
*/
|
|
208
|
+
export declare const DELETE_STORED_AGENT_ROUTE: import("../server-adapter").ServerRoute<{
|
|
209
|
+
storedAgentId: string;
|
|
210
|
+
}, {
|
|
211
|
+
success: boolean;
|
|
212
|
+
message: string;
|
|
213
|
+
}, "json">;
|
|
214
|
+
//# sourceMappingURL=stored-agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stored-agents.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/stored-agents.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAoCnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmCjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6EpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmFpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;UAuCpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"stored-agents.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCRCXQW5R_cjs = require('../../chunk-CRCXQW5R.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GET_SYSTEM_PACKAGES_ROUTE", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkCRCXQW5R_cjs.GET_SYSTEM_PACKAGES_ROUTE; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=system.cjs.map
|
|
12
|
+
//# sourceMappingURL=system.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"system.cjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/system.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,yBAAyB;;;;;UA6BpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"system.js"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var requestContext = require('@mastra/core/request-context');
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function createTestServerContext({ mastra }) {
|
|
6
6
|
return {
|
|
7
7
|
mastra,
|
|
8
8
|
requestContext: new requestContext.RequestContext(),
|
|
@@ -10,6 +10,6 @@ function createTestRuntimeContext({ mastra }) {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
exports.
|
|
13
|
+
exports.createTestServerContext = createTestServerContext;
|
|
14
14
|
//# sourceMappingURL=test-utils.cjs.map
|
|
15
15
|
//# sourceMappingURL=test-utils.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/server/handlers/test-utils.ts"],"names":["RequestContext"],"mappings":";;;;AAIO,SAAS,
|
|
1
|
+
{"version":3,"sources":["../../../src/server/handlers/test-utils.ts"],"names":["RequestContext"],"mappings":";;;;AAIO,SAAS,uBAAA,CAAwB,EAAE,MAAA,EAAO,EAAsC;AACrF,EAAA,OAAO;AAAA,IACL,MAAA;AAAA,IACA,cAAA,EAAgB,IAAIA,6BAAA,EAAe;AAAA,IACnC,WAAA,EAAa,IAAI,eAAA,EAAgB,CAAE;AAAA,GACrC;AACF","file":"test-utils.cjs","sourcesContent":["import type { Mastra } from '@mastra/core';\nimport { RequestContext } from '@mastra/core/request-context';\nimport type { ServerContext } from '../server-adapter';\n\nexport function createTestServerContext({ mastra }: { mastra: Mastra }): ServerContext {\n return {\n mastra,\n requestContext: new RequestContext(),\n abortSignal: new AbortController().signal,\n };\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Mastra } from '@mastra/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function
|
|
2
|
+
import type { ServerContext } from '../server-adapter/index.js';
|
|
3
|
+
export declare function createTestServerContext({ mastra }: {
|
|
4
4
|
mastra: Mastra;
|
|
5
|
-
}):
|
|
5
|
+
}): ServerContext;
|
|
6
6
|
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,wBAAgB,uBAAuB,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,aAAa,CAMrF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestContext } from '@mastra/core/request-context';
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function createTestServerContext({ mastra }) {
|
|
4
4
|
return {
|
|
5
5
|
mastra,
|
|
6
6
|
requestContext: new RequestContext(),
|
|
@@ -8,6 +8,6 @@ function createTestRuntimeContext({ mastra }) {
|
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
export {
|
|
11
|
+
export { createTestServerContext };
|
|
12
12
|
//# sourceMappingURL=test-utils.js.map
|
|
13
13
|
//# sourceMappingURL=test-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/server/handlers/test-utils.ts"],"names":[],"mappings":";;AAIO,SAAS,
|
|
1
|
+
{"version":3,"sources":["../../../src/server/handlers/test-utils.ts"],"names":[],"mappings":";;AAIO,SAAS,uBAAA,CAAwB,EAAE,MAAA,EAAO,EAAsC;AACrF,EAAA,OAAO;AAAA,IACL,MAAA;AAAA,IACA,cAAA,EAAgB,IAAI,cAAA,EAAe;AAAA,IACnC,WAAA,EAAa,IAAI,eAAA,EAAgB,CAAE;AAAA,GACrC;AACF","file":"test-utils.js","sourcesContent":["import type { Mastra } from '@mastra/core';\nimport { RequestContext } from '@mastra/core/request-context';\nimport type { ServerContext } from '../server-adapter';\n\nexport function createTestServerContext({ mastra }: { mastra: Mastra }): ServerContext {\n return {\n mastra,\n requestContext: new RequestContext(),\n abortSignal: new AbortController().signal,\n };\n}\n"]}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6NLJ5YC3_cjs = require('../../chunk-6NLJ5YC3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "EXECUTE_AGENT_TOOL_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6NLJ5YC3_cjs.EXECUTE_AGENT_TOOL_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EXECUTE_TOOL_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6NLJ5YC3_cjs.EXECUTE_TOOL_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "GET_AGENT_TOOL_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6NLJ5YC3_cjs.GET_AGENT_TOOL_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "GET_TOOL_BY_ID_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6NLJ5YC3_cjs.GET_TOOL_BY_ID_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LIST_TOOLS_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6NLJ5YC3_cjs.LIST_TOOLS_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=tools.cjs.map
|
|
28
28
|
//# sourceMappingURL=tools.cjs.map
|
|
@@ -16,27 +16,12 @@ export declare const GET_TOOL_BY_ID_ROUTE: import("../server-adapter").ServerRou
|
|
|
16
16
|
}, "json">;
|
|
17
17
|
export declare const EXECUTE_TOOL_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
18
18
|
toolId: import("zod").ZodString;
|
|
19
|
-
}, "strip
|
|
20
|
-
toolId: string;
|
|
21
|
-
}, {
|
|
22
|
-
toolId: string;
|
|
23
|
-
}>, import("zod").ZodObject<{
|
|
19
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
24
20
|
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
-
}, "strip
|
|
26
|
-
|
|
27
|
-
}, {
|
|
28
|
-
runId?: string | undefined;
|
|
29
|
-
}>, import("zod").ZodObject<{
|
|
30
|
-
data: import("zod").ZodType<unknown, import("zod").ZodTypeDef, unknown>;
|
|
31
|
-
} & {
|
|
21
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
22
|
+
data: import("zod").ZodCustom<unknown, unknown>;
|
|
32
23
|
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
33
|
-
},
|
|
34
|
-
requestContext?: Record<string, any> | undefined;
|
|
35
|
-
data?: unknown;
|
|
36
|
-
}, {
|
|
37
|
-
requestContext?: Record<string, any> | undefined;
|
|
38
|
-
data?: unknown;
|
|
39
|
-
}>>, any, "json">;
|
|
24
|
+
}, import("zod/v4/core").$strip>>, any, "json">;
|
|
40
25
|
export declare const GET_AGENT_TOOL_ROUTE: import("../server-adapter").ServerRoute<{
|
|
41
26
|
agentId: string;
|
|
42
27
|
toolId: string;
|
|
@@ -49,23 +34,9 @@ export declare const GET_AGENT_TOOL_ROUTE: import("../server-adapter").ServerRou
|
|
|
49
34
|
}, "json">;
|
|
50
35
|
export declare const EXECUTE_AGENT_TOOL_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
51
36
|
agentId: import("zod").ZodString;
|
|
52
|
-
} & {
|
|
53
37
|
toolId: import("zod").ZodString;
|
|
54
|
-
}, "strip
|
|
55
|
-
|
|
56
|
-
toolId: string;
|
|
57
|
-
}, {
|
|
58
|
-
agentId: string;
|
|
59
|
-
toolId: string;
|
|
60
|
-
}>, undefined, import("zod").ZodObject<{
|
|
61
|
-
data: import("zod").ZodType<unknown, import("zod").ZodTypeDef, unknown>;
|
|
62
|
-
} & {
|
|
38
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
39
|
+
data: import("zod").ZodCustom<unknown, unknown>;
|
|
63
40
|
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
64
|
-
},
|
|
65
|
-
requestContext?: Record<string, any> | undefined;
|
|
66
|
-
data?: unknown;
|
|
67
|
-
}, {
|
|
68
|
-
requestContext?: Record<string, any> | undefined;
|
|
69
|
-
data?: unknown;
|
|
70
|
-
}>>, any, "json">;
|
|
41
|
+
}, import("zod/v4/core").$strip>>, any, "json">;
|
|
71
42
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/tools.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,gBAAgB;;;;;;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/tools.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,gBAAgB;;;;;;WA+B3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;UAoC/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;+CA+D7B,CAAC;AAMH,eAAO,MAAM,oBAAoB;;;;;;;;;UAoC/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;+CA0CnC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EXECUTE_AGENT_TOOL_ROUTE, EXECUTE_TOOL_ROUTE, GET_AGENT_TOOL_ROUTE, GET_TOOL_BY_ID_ROUTE, LIST_TOOLS_ROUTE } from '../../chunk-
|
|
1
|
+
export { EXECUTE_AGENT_TOOL_ROUTE, EXECUTE_TOOL_ROUTE, GET_AGENT_TOOL_ROUTE, GET_TOOL_BY_ID_ROUTE, LIST_TOOLS_ROUTE } from '../../chunk-UVE6SV6I.js';
|
|
2
2
|
//# sourceMappingURL=tools.js.map
|
|
3
3
|
//# sourceMappingURL=tools.js.map
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGGAV65A7_cjs = require('../../chunk-GGAV65A7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CREATE_INDEX_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkGGAV65A7_cjs.CREATE_INDEX_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DELETE_INDEX_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkGGAV65A7_cjs.DELETE_INDEX_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DESCRIBE_INDEX_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkGGAV65A7_cjs.DESCRIBE_INDEX_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LIST_INDEXES_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGGAV65A7_cjs.LIST_INDEXES_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "QUERY_VECTORS_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGGAV65A7_cjs.QUERY_VECTORS_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "UPSERT_VECTORS_ROUTE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkGGAV65A7_cjs.UPSERT_VECTORS_ROUTE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createIndex", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkGGAV65A7_cjs.createIndex; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "deleteIndex", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkGGAV65A7_cjs.deleteIndex; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "describeIndex", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkGGAV65A7_cjs.describeIndex; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "listIndexes", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkGGAV65A7_cjs.listIndexes; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "queryVectors", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkGGAV65A7_cjs.queryVectors; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "upsertVectors", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkGGAV65A7_cjs.upsertVectors; }
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=vector.cjs.map
|
|
56
56
|
//# sourceMappingURL=vector.cjs.map
|
|
@@ -43,77 +43,36 @@ export declare function deleteIndex({ mastra, vectorName, indexName, }: Pick<Vec
|
|
|
43
43
|
}>;
|
|
44
44
|
export declare const UPSERT_VECTORS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
45
45
|
vectorName: import("zod").ZodString;
|
|
46
|
-
}, "strip
|
|
47
|
-
vectorName: string;
|
|
48
|
-
}, {
|
|
49
|
-
vectorName: string;
|
|
50
|
-
}>, undefined, import("zod").ZodObject<{
|
|
46
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
51
47
|
indexName: import("zod").ZodString;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
-
indexName: string;
|
|
58
|
-
vectors: number[][];
|
|
59
|
-
metadata?: Record<string, any>[] | undefined;
|
|
60
|
-
ids?: string[] | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
indexName: string;
|
|
63
|
-
vectors: number[][];
|
|
64
|
-
metadata?: Record<string, any>[] | undefined;
|
|
65
|
-
ids?: string[] | undefined;
|
|
66
|
-
}>>, {
|
|
48
|
+
vectors: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
49
|
+
metadata: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
|
|
50
|
+
ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
51
|
+
}, import("zod/v4/core").$strip>>, {
|
|
67
52
|
ids: string[];
|
|
68
53
|
}, "json">;
|
|
69
54
|
export declare const CREATE_INDEX_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
70
55
|
vectorName: import("zod").ZodString;
|
|
71
|
-
}, "strip
|
|
72
|
-
vectorName: string;
|
|
73
|
-
}, {
|
|
74
|
-
vectorName: string;
|
|
75
|
-
}>, undefined, import("zod").ZodObject<{
|
|
56
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
76
57
|
indexName: import("zod").ZodString;
|
|
77
|
-
} & {
|
|
78
58
|
dimension: import("zod").ZodNumber;
|
|
79
|
-
metric: import("zod").ZodOptional<import("zod").ZodEnum<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}, {
|
|
85
|
-
indexName: string;
|
|
86
|
-
dimension: number;
|
|
87
|
-
metric?: "cosine" | "euclidean" | "dotproduct" | undefined;
|
|
88
|
-
}>>, {
|
|
59
|
+
metric: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
60
|
+
cosine: "cosine";
|
|
61
|
+
euclidean: "euclidean";
|
|
62
|
+
dotproduct: "dotproduct";
|
|
63
|
+
}>>;
|
|
64
|
+
}, import("zod/v4/core").$strip>>, {
|
|
89
65
|
success: boolean;
|
|
90
66
|
}, "json">;
|
|
91
67
|
export declare const QUERY_VECTORS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
92
68
|
vectorName: import("zod").ZodString;
|
|
93
|
-
}, "strip
|
|
94
|
-
vectorName: string;
|
|
95
|
-
}, {
|
|
96
|
-
vectorName: string;
|
|
97
|
-
}>, undefined, import("zod").ZodObject<{
|
|
69
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
98
70
|
indexName: import("zod").ZodString;
|
|
99
|
-
|
|
100
|
-
queryVector: import("zod").ZodArray<import("zod").ZodNumber, "many">;
|
|
71
|
+
queryVector: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
101
72
|
topK: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
102
73
|
filter: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
103
74
|
includeVector: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
104
|
-
},
|
|
105
|
-
indexName: string;
|
|
106
|
-
queryVector: number[];
|
|
107
|
-
filter?: Record<string, any> | undefined;
|
|
108
|
-
topK?: number | undefined;
|
|
109
|
-
includeVector?: boolean | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
indexName: string;
|
|
112
|
-
queryVector: number[];
|
|
113
|
-
filter?: Record<string, any> | undefined;
|
|
114
|
-
topK?: number | undefined;
|
|
115
|
-
includeVector?: boolean | undefined;
|
|
116
|
-
}>>, unknown[], "json">;
|
|
75
|
+
}, import("zod/v4/core").$strip>>, unknown[], "json">;
|
|
117
76
|
export declare const LIST_INDEXES_ROUTE: import("../server-adapter").ServerRoute<{
|
|
118
77
|
vectorName: string;
|
|
119
78
|
}, string[], "json">;
|
|
@@ -121,8 +80,8 @@ export declare const DESCRIBE_INDEX_ROUTE: import("../server-adapter").ServerRou
|
|
|
121
80
|
vectorName: string;
|
|
122
81
|
indexName: string;
|
|
123
82
|
}, {
|
|
124
|
-
count: number;
|
|
125
83
|
dimension: number;
|
|
84
|
+
count: number;
|
|
126
85
|
metric?: string | undefined;
|
|
127
86
|
}, "json">;
|
|
128
87
|
export declare const DELETE_INDEX_ROUTE: import("../server-adapter").ServerRoute<{
|