@mastra/server 1.0.0-beta.2 → 1.0.0-beta.21
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 +708 -0
- package/README.md +2 -2
- package/dist/chunk-2UAI7X5P.js +1018 -0
- package/dist/chunk-2UAI7X5P.js.map +1 -0
- package/dist/chunk-3FEYUHHJ.js +116 -0
- package/dist/chunk-3FEYUHHJ.js.map +1 -0
- package/dist/chunk-3RAQVZUX.js +204 -0
- package/dist/chunk-3RAQVZUX.js.map +1 -0
- package/dist/{chunk-SHWNNZBL.js → chunk-3REGEJEN.js} +13 -17
- package/dist/chunk-3REGEJEN.js.map +1 -0
- 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-4EYONQIW.cjs +82 -0
- package/dist/chunk-4EYONQIW.cjs.map +1 -0
- package/dist/chunk-4TRYHC5Z.cjs +205 -0
- package/dist/chunk-4TRYHC5Z.cjs.map +1 -0
- package/dist/chunk-5NFRDYFN.js +77 -0
- 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-5W4RPVTK.cjs +49 -0
- package/dist/chunk-5W4RPVTK.cjs.map +1 -0
- package/dist/chunk-6HKMJXTF.js +234 -0
- package/dist/chunk-6HKMJXTF.js.map +1 -0
- package/dist/chunk-7S7ALPCY.js +225 -0
- package/dist/chunk-7S7ALPCY.js.map +1 -0
- package/dist/{chunk-2PLXW4ZX.cjs → chunk-AQI6GLTN.cjs} +74 -74
- package/dist/{chunk-2PLXW4ZX.cjs.map → chunk-AQI6GLTN.cjs.map} +1 -1
- package/dist/chunk-AV3CN5ZR.cjs +326 -0
- package/dist/chunk-AV3CN5ZR.cjs.map +1 -0
- package/dist/chunk-AVRO3FIN.cjs +231 -0
- package/dist/chunk-AVRO3FIN.cjs.map +1 -0
- package/dist/chunk-CGIGPJRU.js +279 -0
- package/dist/chunk-CGIGPJRU.js.map +1 -0
- package/dist/chunk-DVSCJECS.js +250 -0
- package/dist/chunk-DVSCJECS.js.map +1 -0
- package/dist/chunk-EUBTCHQC.js +83 -0
- package/dist/chunk-EUBTCHQC.js.map +1 -0
- package/dist/chunk-EZPXTOSM.cjs +928 -0
- package/dist/chunk-EZPXTOSM.cjs.map +1 -0
- package/dist/chunk-F6CHEWZT.cjs +211 -0
- package/dist/chunk-F6CHEWZT.cjs.map +1 -0
- package/dist/chunk-FBB2QKRV.js +1075 -0
- package/dist/chunk-FBB2QKRV.js.map +1 -0
- package/dist/chunk-FLLJIPD4.cjs +46 -0
- package/dist/chunk-FLLJIPD4.cjs.map +1 -0
- package/dist/chunk-FWSKVWS7.cjs +88 -0
- package/dist/chunk-FWSKVWS7.cjs.map +1 -0
- package/dist/chunk-G2AMUTU4.js +250 -0
- package/dist/chunk-G2AMUTU4.js.map +1 -0
- package/dist/{chunk-W2KMU354.cjs → chunk-GWLR6K3H.cjs} +23 -4
- package/dist/chunk-GWLR6K3H.cjs.map +1 -0
- package/dist/chunk-H27ZCWUX.cjs +33025 -0
- package/dist/chunk-H27ZCWUX.cjs.map +1 -0
- package/dist/{chunk-RQK4FQUD.js → chunk-H66LLFDL.js} +4 -46
- package/dist/chunk-H66LLFDL.js.map +1 -0
- package/dist/chunk-HT4LP3BO.js +75 -0
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/chunk-KKY4MSZO.js +314 -0
- package/dist/chunk-KKY4MSZO.js.map +1 -0
- package/dist/{chunk-QU6N55W6.cjs → chunk-L2E5RUVT.cjs} +17 -21
- package/dist/chunk-L2E5RUVT.cjs.map +1 -0
- package/dist/chunk-LJ6YRVDI.cjs +15 -0
- package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
- package/dist/{chunk-ZULZ2752.js → chunk-LOA7RQYO.js} +3 -3
- package/dist/{chunk-ZULZ2752.js.map → chunk-LOA7RQYO.js.map} +1 -1
- package/dist/chunk-MCYD5LW7.cjs +90 -0
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/chunk-MPUVSOEU.cjs +346 -0
- package/dist/chunk-MPUVSOEU.cjs.map +1 -0
- package/dist/chunk-N4EIZSG2.js +180 -0
- package/dist/chunk-N4EIZSG2.js.map +1 -0
- package/dist/{chunk-FPBYKMIS.js → chunk-NETDNGUZ.js} +222 -30
- package/dist/chunk-NETDNGUZ.js.map +1 -0
- package/dist/chunk-NGPUSFSO.cjs +1117 -0
- package/dist/chunk-NGPUSFSO.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-OQVXRANI.js +196 -0
- package/dist/chunk-OQVXRANI.js.map +1 -0
- package/dist/chunk-P3H4AZKI.cjs +252 -0
- package/dist/chunk-P3H4AZKI.cjs.map +1 -0
- package/dist/chunk-PNZQCQY4.cjs +252 -0
- package/dist/chunk-PNZQCQY4.cjs.map +1 -0
- package/dist/{chunk-D7T74TVR.js → chunk-QKXZF7YS.js} +23 -4
- package/dist/chunk-QKXZF7YS.js.map +1 -0
- package/dist/chunk-QPFYN6B5.cjs +125 -0
- package/dist/chunk-QPFYN6B5.cjs.map +1 -0
- package/dist/chunk-R25YJP3Y.cjs +269 -0
- package/dist/chunk-R25YJP3Y.cjs.map +1 -0
- 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-TMS4LS2J.js +302 -0
- package/dist/chunk-TMS4LS2J.js.map +1 -0
- package/dist/{chunk-KJIDZQRA.cjs → chunk-U7IJEAF4.cjs} +228 -30
- package/dist/chunk-U7IJEAF4.cjs.map +1 -0
- package/dist/chunk-UST3FS67.cjs +1048 -0
- package/dist/chunk-UST3FS67.cjs.map +1 -0
- package/dist/chunk-V2BBRMP6.js +32986 -0
- package/dist/chunk-V2BBRMP6.js.map +1 -0
- package/dist/chunk-VEHQCZFU.js +903 -0
- package/dist/chunk-VEHQCZFU.js.map +1 -0
- package/dist/{chunk-LPM6BBAX.cjs → chunk-VX3VN7FN.cjs} +3 -54
- package/dist/chunk-VX3VN7FN.cjs.map +1 -0
- package/dist/chunk-WJ6DNHLW.cjs +312 -0
- package/dist/chunk-WJ6DNHLW.cjs.map +1 -0
- package/dist/chunk-XB27LCKO.js +328 -0
- package/dist/chunk-XB27LCKO.js.map +1 -0
- package/dist/chunk-XCEQ4GQW.cjs +289 -0
- 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-XWGAT2DA.js +44 -0
- package/dist/chunk-XWGAT2DA.js.map +1 -0
- package/dist/{dist-G2BYZJOC.cjs → dist-7NTDEVLP.cjs} +28 -28
- package/dist/{dist-G2BYZJOC.cjs.map → dist-7NTDEVLP.cjs.map} +1 -1
- package/dist/{dist-X7XR3M3Z.js → dist-B5GMANA6.js} +3 -3
- package/dist/{dist-X7XR3M3Z.js.map → dist-B5GMANA6.js.map} +1 -1
- package/dist/dist-EDO7GEGI.js +3 -0
- package/dist/{dist-YREX2TJT.js.map → dist-EDO7GEGI.js.map} +1 -1
- package/dist/{dist-RFMYFILX.cjs → dist-OF24ZMHH.cjs} +30 -30
- package/dist/{dist-RFMYFILX.cjs.map → dist-OF24ZMHH.cjs.map} +1 -1
- package/dist/{dist-4MVGNSRL.cjs → dist-P6YSNLL3.cjs} +20 -20
- package/dist/{dist-4MVGNSRL.cjs.map → dist-P6YSNLL3.cjs.map} +1 -1
- package/dist/{dist-PQZUVLPC.js → dist-SMBO5KVB.js} +3 -3
- package/dist/{dist-PQZUVLPC.js.map → dist-SMBO5KVB.js.map} +1 -1
- package/dist/{dist-XVBSOGFK.js → dist-THPMW5QR.js} +3 -3
- package/dist/{dist-XVBSOGFK.js.map → dist-THPMW5QR.js.map} +1 -1
- package/dist/{dist-FZYCV3VB.cjs → dist-VZTG56X2.cjs} +26 -26
- package/dist/{dist-FZYCV3VB.cjs.map → dist-VZTG56X2.cjs.map} +1 -1
- package/dist/dist-ZLC23RVC.cjs +16 -0
- package/dist/{dist-P4MXBQ3U.cjs.map → dist-ZLC23RVC.cjs.map} +1 -1
- package/dist/{dist-R7WYX6LC.js → dist-ZOZ6MHJH.js} +3 -3
- package/dist/{dist-R7WYX6LC.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 +377 -0
- package/dist/docs/server/02-reference.md +828 -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 +137 -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 +127 -0
- package/dist/server/auth/index.js.map +1 -0
- package/dist/server/handlers/a2a.cjs +15 -7
- package/dist/server/handlers/a2a.d.ts +482 -0
- 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 +31 -43
- package/dist/server/handlers/agent-builder.d.ts +624 -77
- 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 +57 -37
- package/dist/server/handlers/agents.d.ts +3296 -131
- 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 +7 -7
- package/dist/server/handlers/logs.d.ts +135 -27
- 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 +110 -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 +71 -27
- package/dist/server/handlers/memory.d.ts +1016 -95
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +9 -9
- package/dist/server/handlers/observability.d.ts +146 -42
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +13 -13
- package/dist/server/handlers/scores.d.ts +110 -141
- 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 +289 -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 +15 -0
- package/dist/server/handlers/test-utils.cjs.map +1 -0
- package/dist/server/handlers/test-utils.d.ts +6 -0
- package/dist/server/handlers/test-utils.d.ts.map +1 -0
- package/dist/server/handlers/test-utils.js +13 -0
- package/dist/server/handlers/test-utils.js.map +1 -0
- package/dist/server/handlers/tools.cjs +11 -11
- package/dist/server/handlers/tools.d.ts +69 -23
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +11 -3
- package/dist/server/handlers/utils.d.ts +5 -0
- package/dist/server/handlers/utils.d.ts.map +1 -1
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/vector.cjs +31 -7
- package/dist/server/handlers/vector.d.ts +93 -9
- package/dist/server/handlers/vector.d.ts.map +1 -1
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +21 -9
- package/dist/server/handlers/voice.d.ts +81 -40
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +57 -37
- package/dist/server/handlers/workflows.d.ts +980 -74
- 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 +786 -0
- package/dist/server/schemas/a2a.d.ts.map +1 -0
- package/dist/server/schemas/agent-builder.d.ts +225 -0
- package/dist/server/schemas/agent-builder.d.ts.map +1 -0
- package/dist/server/schemas/agents.d.ts +1401 -0
- package/dist/server/schemas/agents.d.ts.map +1 -0
- package/dist/server/schemas/common.d.ts +179 -0
- package/dist/server/schemas/common.d.ts.map +1 -0
- package/dist/server/schemas/logs.d.ts +124 -0
- package/dist/server/schemas/logs.d.ts.map +1 -0
- package/dist/server/schemas/mcp.d.ts +299 -0
- package/dist/server/schemas/mcp.d.ts.map +1 -0
- package/dist/server/schemas/memory.d.ts +1128 -0
- package/dist/server/schemas/memory.d.ts.map +1 -0
- package/dist/server/schemas/scores.d.ts +259 -0
- package/dist/server/schemas/scores.d.ts.map +1 -0
- package/dist/server/schemas/stored-agents.d.ts +792 -0
- package/dist/server/schemas/stored-agents.d.ts.map +1 -0
- package/dist/server/schemas/system.d.ts +36 -0
- package/dist/server/schemas/system.d.ts.map +1 -0
- package/dist/server/schemas/vectors.d.ts +107 -0
- package/dist/server/schemas/vectors.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +863 -0
- package/dist/server/schemas/workflows.d.ts.map +1 -0
- package/dist/server/server-adapter/index.cjs +510 -0
- package/dist/server/server-adapter/index.cjs.map +1 -0
- package/dist/server/server-adapter/index.d.ts +109 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -0
- package/dist/server/server-adapter/index.js +482 -0
- package/dist/server/server-adapter/index.js.map +1 -0
- package/dist/server/server-adapter/openapi-utils.d.ts +59 -0
- package/dist/server/server-adapter/openapi-utils.d.ts.map +1 -0
- 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/a2a.d.ts +3 -0
- package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts +3 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agents.d.ts +3 -0
- package/dist/server/server-adapter/routes/agents.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/index.d.ts +50 -0
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/legacy.d.ts +7 -0
- package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/logs.d.ts +3 -0
- package/dist/server/server-adapter/routes/logs.d.ts.map +1 -0
- 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 +3 -0
- package/dist/server/server-adapter/routes/memory.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/observability.d.ts +3 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts +111 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/scorers.d.ts +3 -0
- package/dist/server/server-adapter/routes/scorers.d.ts.map +1 -0
- 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/stream-types.d.ts +10 -0
- package/dist/server/server-adapter/routes/stream-types.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/tools.d.ts +3 -0
- package/dist/server/server-adapter/routes/tools.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/vectors.d.ts +3 -0
- package/dist/server/server-adapter/routes/vectors.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workflows.d.ts +3 -0
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -0
- package/dist/server/utils.d.ts +1 -1
- package/dist/server/utils.d.ts.map +1 -1
- package/dist/{token-375W3LEI.cjs → token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs} +11 -12
- package/dist/token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs.map +1 -0
- package/dist/{token-C3IMNCC4.js → token-6GSAFR2W-K2BTU23I-NW33N3NU.js} +8 -9
- package/dist/token-6GSAFR2W-K2BTU23I-NW33N3NU.js.map +1 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs +63 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs.map +1 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-VW443KIA.js +61 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-VW443KIA.js.map +1 -0
- 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-DJYRKLRD-6TH3ODCN.cjs +10 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js +8 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js.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-TIJ3LMSH-ANFISSXX.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js +8 -0
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js.map +1 -0
- package/package.json +35 -10
- package/dist/chunk-2IS5WICF.js +0 -23036
- package/dist/chunk-2IS5WICF.js.map +0 -1
- package/dist/chunk-2YZH5PH6.cjs +0 -200
- package/dist/chunk-2YZH5PH6.cjs.map +0 -1
- package/dist/chunk-3AMNUUZF.js +0 -124
- package/dist/chunk-3AMNUUZF.js.map +0 -1
- package/dist/chunk-3F52QCI4.js +0 -192
- package/dist/chunk-3F52QCI4.js.map +0 -1
- package/dist/chunk-4JF5WXPL.js +0 -502
- package/dist/chunk-4JF5WXPL.js.map +0 -1
- package/dist/chunk-73PAWDM5.js +0 -83
- package/dist/chunk-73PAWDM5.js.map +0 -1
- package/dist/chunk-A24TSVEZ.cjs +0 -130
- package/dist/chunk-A24TSVEZ.cjs.map +0 -1
- package/dist/chunk-A2NPD5N6.cjs +0 -517
- package/dist/chunk-A2NPD5N6.cjs.map +0 -1
- package/dist/chunk-B3Z6J745.js +0 -122
- package/dist/chunk-B3Z6J745.js.map +0 -1
- package/dist/chunk-BTWIR2B7.cjs +0 -28
- package/dist/chunk-BTWIR2B7.cjs.map +0 -1
- package/dist/chunk-D7T74TVR.js.map +0 -1
- package/dist/chunk-EHACNWDL.cjs +0 -681
- package/dist/chunk-EHACNWDL.cjs.map +0 -1
- package/dist/chunk-FPBYKMIS.js.map +0 -1
- package/dist/chunk-GLAZTMX3.cjs +0 -128
- package/dist/chunk-GLAZTMX3.cjs.map +0 -1
- package/dist/chunk-ID6JYDNL.cjs +0 -23075
- package/dist/chunk-ID6JYDNL.cjs.map +0 -1
- package/dist/chunk-KF3RI45U.cjs +0 -172
- package/dist/chunk-KF3RI45U.cjs.map +0 -1
- package/dist/chunk-KJIDZQRA.cjs.map +0 -1
- package/dist/chunk-KWH5QBXP.js +0 -123
- package/dist/chunk-KWH5QBXP.js.map +0 -1
- package/dist/chunk-LPM6BBAX.cjs.map +0 -1
- package/dist/chunk-ND5OKOMT.js +0 -165
- package/dist/chunk-ND5OKOMT.js.map +0 -1
- package/dist/chunk-PPMIB3FQ.cjs +0 -88
- package/dist/chunk-PPMIB3FQ.cjs.map +0 -1
- package/dist/chunk-QU6N55W6.cjs.map +0 -1
- package/dist/chunk-RQK4FQUD.js.map +0 -1
- package/dist/chunk-S54HNARD.cjs +0 -131
- package/dist/chunk-S54HNARD.cjs.map +0 -1
- package/dist/chunk-SHWNNZBL.js.map +0 -1
- package/dist/chunk-SZIFSF4T.js +0 -25
- package/dist/chunk-SZIFSF4T.js.map +0 -1
- package/dist/chunk-TOCYBDP2.js +0 -46
- package/dist/chunk-TOCYBDP2.js.map +0 -1
- package/dist/chunk-UXGQZUYZ.js.map +0 -1
- package/dist/chunk-V5WWQN7P.cjs.map +0 -1
- package/dist/chunk-W2KMU354.cjs.map +0 -1
- package/dist/chunk-X3MICMI2.cjs +0 -620
- package/dist/chunk-X3MICMI2.cjs.map +0 -1
- package/dist/chunk-X6C7BUWN.cjs +0 -48
- package/dist/chunk-X6C7BUWN.cjs.map +0 -1
- package/dist/chunk-Z2O5YVHY.js +0 -661
- package/dist/chunk-Z2O5YVHY.js.map +0 -1
- package/dist/chunk-ZJ6KEY6H.js +0 -600
- package/dist/chunk-ZJ6KEY6H.js.map +0 -1
- package/dist/dist-P4MXBQ3U.cjs +0 -16
- package/dist/dist-YREX2TJT.js +0 -3
- 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
|
@@ -1,85 +1,632 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
export declare const LIST_AGENT_BUILDER_ACTIONS_ROUTE: import("../server-adapter").ServerRoute<{}, Record<string, {
|
|
2
|
+
steps: Record<string, {
|
|
3
|
+
id: string;
|
|
4
|
+
description?: string | undefined;
|
|
5
|
+
stateSchema?: string | undefined;
|
|
6
|
+
inputSchema?: string | undefined;
|
|
7
|
+
outputSchema?: string | undefined;
|
|
8
|
+
resumeSchema?: string | undefined;
|
|
9
|
+
suspendSchema?: string | undefined;
|
|
10
|
+
component?: string | undefined;
|
|
11
|
+
isWorkflow?: boolean | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
allSteps: Record<string, {
|
|
14
|
+
id: string;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
stateSchema?: string | undefined;
|
|
17
|
+
inputSchema?: string | undefined;
|
|
18
|
+
outputSchema?: string | undefined;
|
|
19
|
+
resumeSchema?: string | undefined;
|
|
20
|
+
suspendSchema?: string | undefined;
|
|
21
|
+
component?: string | undefined;
|
|
22
|
+
isWorkflow?: boolean | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
stepGraph: {
|
|
25
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
26
|
+
}[];
|
|
27
|
+
options?: {} | undefined;
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
description?: string | undefined;
|
|
30
|
+
stateSchema?: string | undefined;
|
|
31
|
+
inputSchema?: string | undefined;
|
|
32
|
+
outputSchema?: string | undefined;
|
|
33
|
+
isProcessorWorkflow?: boolean | undefined;
|
|
34
|
+
}>, "json">;
|
|
35
|
+
export declare const GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
36
|
+
actionId: string;
|
|
37
|
+
}, {
|
|
38
|
+
steps: Record<string, {
|
|
39
|
+
id: string;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
stateSchema?: string | undefined;
|
|
42
|
+
inputSchema?: string | undefined;
|
|
43
|
+
outputSchema?: string | undefined;
|
|
44
|
+
resumeSchema?: string | undefined;
|
|
45
|
+
suspendSchema?: string | undefined;
|
|
46
|
+
component?: string | undefined;
|
|
47
|
+
isWorkflow?: boolean | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
allSteps: Record<string, {
|
|
50
|
+
id: string;
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
stateSchema?: string | undefined;
|
|
53
|
+
inputSchema?: string | undefined;
|
|
54
|
+
outputSchema?: string | undefined;
|
|
55
|
+
resumeSchema?: string | undefined;
|
|
56
|
+
suspendSchema?: string | undefined;
|
|
57
|
+
component?: string | undefined;
|
|
58
|
+
isWorkflow?: boolean | undefined;
|
|
59
|
+
}>;
|
|
60
|
+
stepGraph: {
|
|
61
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
62
|
+
}[];
|
|
63
|
+
options?: {} | undefined;
|
|
64
|
+
name?: string | undefined;
|
|
65
|
+
description?: string | undefined;
|
|
66
|
+
stateSchema?: string | undefined;
|
|
67
|
+
inputSchema?: string | undefined;
|
|
68
|
+
outputSchema?: string | undefined;
|
|
69
|
+
isProcessorWorkflow?: boolean | undefined;
|
|
70
|
+
}, "json">;
|
|
71
|
+
export declare const LIST_AGENT_BUILDER_ACTION_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
72
|
+
actionId: import("zod").ZodString;
|
|
73
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
74
|
+
actionId: string;
|
|
75
|
+
}, {
|
|
76
|
+
actionId: string;
|
|
77
|
+
}>, import("zod").ZodObject<{
|
|
78
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
79
|
+
perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
80
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
81
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
82
|
+
} & {
|
|
83
|
+
fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
84
|
+
toDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
85
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed", "tripwire", "paused"]>>;
|
|
87
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
88
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
89
|
+
page?: number | undefined;
|
|
90
|
+
perPage?: number | undefined;
|
|
91
|
+
offset?: number | undefined;
|
|
92
|
+
limit?: number | undefined;
|
|
93
|
+
resourceId?: string | undefined;
|
|
94
|
+
fromDate?: Date | undefined;
|
|
95
|
+
toDate?: Date | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
98
|
+
page?: number | undefined;
|
|
99
|
+
perPage?: number | undefined;
|
|
100
|
+
offset?: number | undefined;
|
|
101
|
+
limit?: number | undefined;
|
|
102
|
+
resourceId?: string | undefined;
|
|
103
|
+
fromDate?: Date | undefined;
|
|
104
|
+
toDate?: Date | undefined;
|
|
105
|
+
}>, undefined>, {
|
|
106
|
+
total: number;
|
|
107
|
+
runs: {
|
|
108
|
+
runId: string;
|
|
109
|
+
workflowName: string;
|
|
110
|
+
snapshot: string | {};
|
|
111
|
+
createdAt: Date;
|
|
112
|
+
updatedAt: Date;
|
|
113
|
+
resourceId?: string | undefined;
|
|
114
|
+
}[];
|
|
115
|
+
}, "json">;
|
|
116
|
+
export declare const GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
117
|
+
actionId: import("zod").ZodString;
|
|
118
|
+
runId: import("zod").ZodString;
|
|
119
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
120
|
+
runId: string;
|
|
121
|
+
actionId: string;
|
|
122
|
+
}, {
|
|
123
|
+
runId: string;
|
|
124
|
+
actionId: string;
|
|
125
|
+
}>, import("zod").ZodObject<{
|
|
126
|
+
fields: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, string | undefined, string | undefined>;
|
|
127
|
+
withNestedWorkflows: import("zod").ZodOptional<import("zod").ZodEnum<["true", "false"]>>;
|
|
128
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
129
|
+
fields?: string | undefined;
|
|
130
|
+
withNestedWorkflows?: "true" | "false" | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
fields?: string | undefined;
|
|
133
|
+
withNestedWorkflows?: "true" | "false" | undefined;
|
|
134
|
+
}>, undefined>, {
|
|
135
|
+
runId: string;
|
|
136
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused";
|
|
137
|
+
workflowName: string;
|
|
138
|
+
createdAt: Date;
|
|
139
|
+
updatedAt: Date;
|
|
140
|
+
error?: unknown;
|
|
141
|
+
steps?: Record<string, any> | undefined;
|
|
142
|
+
resourceId?: string | undefined;
|
|
143
|
+
initialState?: Record<string, any> | undefined;
|
|
144
|
+
result?: unknown;
|
|
145
|
+
payload?: unknown;
|
|
146
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
147
|
+
serializedStepGraph?: {
|
|
148
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
}, "json">;
|
|
151
|
+
export declare const CREATE_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
152
|
+
actionId: import("zod").ZodString;
|
|
153
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
154
|
+
actionId: string;
|
|
155
|
+
}, {
|
|
156
|
+
actionId: string;
|
|
157
|
+
}>, import("zod").ZodObject<{
|
|
158
|
+
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
160
|
+
runId?: string | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
runId?: string | undefined;
|
|
163
|
+
}>, undefined>, {
|
|
164
|
+
runId: string;
|
|
165
|
+
}, "json">;
|
|
166
|
+
export declare const STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
167
|
+
actionId: import("zod").ZodString;
|
|
168
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
169
|
+
actionId: string;
|
|
170
|
+
}, {
|
|
171
|
+
actionId: string;
|
|
172
|
+
}>, import("zod").ZodObject<{
|
|
173
|
+
runId: import("zod").ZodString;
|
|
174
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
175
|
+
runId: string;
|
|
176
|
+
}, {
|
|
177
|
+
runId: string;
|
|
178
|
+
}>, import("zod").ZodObject<{
|
|
179
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
181
|
+
initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
182
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
183
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
184
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
185
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
186
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
187
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
188
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
189
|
+
metadata?: Record<string, unknown> | undefined;
|
|
190
|
+
requestContextKeys?: string[] | undefined;
|
|
191
|
+
traceId?: string | undefined;
|
|
192
|
+
parentSpanId?: string | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
metadata?: Record<string, unknown> | undefined;
|
|
195
|
+
requestContextKeys?: string[] | undefined;
|
|
196
|
+
traceId?: string | undefined;
|
|
197
|
+
parentSpanId?: string | undefined;
|
|
198
|
+
}>>;
|
|
199
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
200
|
+
} & {
|
|
201
|
+
closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
202
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
203
|
+
resourceId?: string | undefined;
|
|
15
204
|
inputData?: unknown;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
205
|
+
initialState?: unknown;
|
|
206
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
207
|
+
tracingOptions?: {
|
|
208
|
+
metadata?: Record<string, unknown> | undefined;
|
|
209
|
+
requestContextKeys?: string[] | undefined;
|
|
210
|
+
traceId?: string | undefined;
|
|
211
|
+
parentSpanId?: string | undefined;
|
|
212
|
+
} | undefined;
|
|
213
|
+
perStep?: boolean | undefined;
|
|
214
|
+
closeOnSuspend?: boolean | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
resourceId?: string | undefined;
|
|
20
217
|
inputData?: unknown;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
218
|
+
initialState?: unknown;
|
|
219
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
220
|
+
tracingOptions?: {
|
|
221
|
+
metadata?: Record<string, unknown> | undefined;
|
|
222
|
+
requestContextKeys?: string[] | undefined;
|
|
223
|
+
traceId?: string | undefined;
|
|
224
|
+
parentSpanId?: string | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
perStep?: boolean | undefined;
|
|
227
|
+
closeOnSuspend?: boolean | undefined;
|
|
228
|
+
}>>, any, "stream">;
|
|
229
|
+
export declare const START_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
230
|
+
actionId: import("zod").ZodString;
|
|
231
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
232
|
+
actionId: string;
|
|
233
|
+
}, {
|
|
234
|
+
actionId: string;
|
|
235
|
+
}>, import("zod").ZodObject<{
|
|
236
|
+
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
237
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
238
|
+
runId?: string | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
runId?: string | undefined;
|
|
241
|
+
}>, import("zod").ZodObject<{
|
|
242
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
243
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
244
|
+
initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
245
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
246
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
247
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
248
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
249
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
250
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
251
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
252
|
+
metadata?: Record<string, unknown> | undefined;
|
|
253
|
+
requestContextKeys?: string[] | undefined;
|
|
254
|
+
traceId?: string | undefined;
|
|
255
|
+
parentSpanId?: string | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
metadata?: Record<string, unknown> | undefined;
|
|
258
|
+
requestContextKeys?: string[] | undefined;
|
|
259
|
+
traceId?: string | undefined;
|
|
260
|
+
parentSpanId?: string | undefined;
|
|
261
|
+
}>>;
|
|
262
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
263
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
264
|
+
resourceId?: string | undefined;
|
|
27
265
|
inputData?: unknown;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
266
|
+
initialState?: unknown;
|
|
267
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
268
|
+
tracingOptions?: {
|
|
269
|
+
metadata?: Record<string, unknown> | undefined;
|
|
270
|
+
requestContextKeys?: string[] | undefined;
|
|
271
|
+
traceId?: string | undefined;
|
|
272
|
+
parentSpanId?: string | undefined;
|
|
273
|
+
} | undefined;
|
|
274
|
+
perStep?: boolean | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
resourceId?: string | undefined;
|
|
32
277
|
inputData?: unknown;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
278
|
+
initialState?: unknown;
|
|
279
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
280
|
+
tracingOptions?: {
|
|
281
|
+
metadata?: Record<string, unknown> | undefined;
|
|
282
|
+
requestContextKeys?: string[] | undefined;
|
|
283
|
+
traceId?: string | undefined;
|
|
284
|
+
parentSpanId?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
perStep?: boolean | undefined;
|
|
287
|
+
}>>, {
|
|
288
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
289
|
+
error?: unknown;
|
|
290
|
+
steps?: Record<string, any> | undefined;
|
|
291
|
+
initialState?: unknown;
|
|
292
|
+
result?: unknown;
|
|
293
|
+
payload?: unknown;
|
|
294
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
295
|
+
serializedStepGraph?: {
|
|
296
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
297
|
+
}[] | undefined;
|
|
298
|
+
}, "json">;
|
|
299
|
+
export declare const START_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
300
|
+
actionId: import("zod").ZodString;
|
|
301
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
302
|
+
actionId: string;
|
|
303
|
+
}, {
|
|
304
|
+
actionId: string;
|
|
305
|
+
}>, import("zod").ZodObject<{
|
|
306
|
+
runId: import("zod").ZodString;
|
|
307
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
308
|
+
runId: string;
|
|
309
|
+
}, {
|
|
310
|
+
runId: string;
|
|
311
|
+
}>, import("zod").ZodObject<{
|
|
312
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
313
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
314
|
+
initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
315
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
316
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
317
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
318
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
319
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
320
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
321
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
322
|
+
metadata?: Record<string, unknown> | undefined;
|
|
323
|
+
requestContextKeys?: string[] | undefined;
|
|
324
|
+
traceId?: string | undefined;
|
|
325
|
+
parentSpanId?: string | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
metadata?: Record<string, unknown> | undefined;
|
|
328
|
+
requestContextKeys?: string[] | undefined;
|
|
329
|
+
traceId?: string | undefined;
|
|
330
|
+
parentSpanId?: string | undefined;
|
|
331
|
+
}>>;
|
|
332
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
333
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
334
|
+
resourceId?: string | undefined;
|
|
335
|
+
inputData?: unknown;
|
|
336
|
+
initialState?: unknown;
|
|
337
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
338
|
+
tracingOptions?: {
|
|
339
|
+
metadata?: Record<string, unknown> | undefined;
|
|
340
|
+
requestContextKeys?: string[] | undefined;
|
|
341
|
+
traceId?: string | undefined;
|
|
342
|
+
parentSpanId?: string | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
perStep?: boolean | undefined;
|
|
345
|
+
}, {
|
|
346
|
+
resourceId?: string | undefined;
|
|
40
347
|
inputData?: unknown;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
tracingOptions?:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
348
|
+
initialState?: unknown;
|
|
349
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
350
|
+
tracingOptions?: {
|
|
351
|
+
metadata?: Record<string, unknown> | undefined;
|
|
352
|
+
requestContextKeys?: string[] | undefined;
|
|
353
|
+
traceId?: string | undefined;
|
|
354
|
+
parentSpanId?: string | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
perStep?: boolean | undefined;
|
|
357
|
+
}>>, {
|
|
358
|
+
message: string;
|
|
359
|
+
}, "json">;
|
|
360
|
+
export declare const OBSERVE_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
361
|
+
actionId: import("zod").ZodString;
|
|
362
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
363
|
+
actionId: string;
|
|
364
|
+
}, {
|
|
365
|
+
actionId: string;
|
|
366
|
+
}>, import("zod").ZodObject<{
|
|
367
|
+
runId: import("zod").ZodString;
|
|
368
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
369
|
+
runId: string;
|
|
370
|
+
}, {
|
|
371
|
+
runId: string;
|
|
372
|
+
}>, undefined>, any, "stream">;
|
|
373
|
+
export declare const RESUME_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
374
|
+
actionId: import("zod").ZodString;
|
|
375
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
376
|
+
actionId: string;
|
|
377
|
+
}, {
|
|
378
|
+
actionId: string;
|
|
379
|
+
}>, import("zod").ZodObject<{
|
|
380
|
+
runId: import("zod").ZodString;
|
|
381
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
382
|
+
runId: string;
|
|
383
|
+
}, {
|
|
384
|
+
runId: string;
|
|
385
|
+
}>, import("zod").ZodObject<{
|
|
386
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
387
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
388
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
389
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
390
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
391
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
392
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
393
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
394
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
395
|
+
metadata?: Record<string, unknown> | undefined;
|
|
396
|
+
requestContextKeys?: string[] | undefined;
|
|
397
|
+
traceId?: string | undefined;
|
|
398
|
+
parentSpanId?: string | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
metadata?: Record<string, unknown> | undefined;
|
|
401
|
+
requestContextKeys?: string[] | undefined;
|
|
402
|
+
traceId?: string | undefined;
|
|
403
|
+
parentSpanId?: string | undefined;
|
|
404
|
+
}>>;
|
|
405
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
406
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
407
|
+
step?: string | string[] | undefined;
|
|
408
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
409
|
+
tracingOptions?: {
|
|
410
|
+
metadata?: Record<string, unknown> | undefined;
|
|
411
|
+
requestContextKeys?: string[] | undefined;
|
|
412
|
+
traceId?: string | undefined;
|
|
413
|
+
parentSpanId?: string | undefined;
|
|
414
|
+
} | undefined;
|
|
415
|
+
perStep?: boolean | undefined;
|
|
416
|
+
resumeData?: unknown;
|
|
417
|
+
}, {
|
|
418
|
+
step?: string | string[] | undefined;
|
|
419
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
420
|
+
tracingOptions?: {
|
|
421
|
+
metadata?: Record<string, unknown> | undefined;
|
|
422
|
+
requestContextKeys?: string[] | undefined;
|
|
423
|
+
traceId?: string | undefined;
|
|
424
|
+
parentSpanId?: string | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
perStep?: boolean | undefined;
|
|
427
|
+
resumeData?: unknown;
|
|
428
|
+
}>>, {
|
|
429
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
430
|
+
error?: unknown;
|
|
431
|
+
steps?: Record<string, any> | undefined;
|
|
432
|
+
initialState?: unknown;
|
|
433
|
+
result?: unknown;
|
|
434
|
+
payload?: unknown;
|
|
435
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
436
|
+
serializedStepGraph?: {
|
|
437
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
438
|
+
}[] | undefined;
|
|
439
|
+
}, "json">;
|
|
440
|
+
export declare const RESUME_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
441
|
+
actionId: import("zod").ZodString;
|
|
442
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
443
|
+
actionId: string;
|
|
444
|
+
}, {
|
|
445
|
+
actionId: string;
|
|
446
|
+
}>, import("zod").ZodObject<{
|
|
447
|
+
runId: import("zod").ZodString;
|
|
448
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
449
|
+
runId: string;
|
|
450
|
+
}, {
|
|
451
|
+
runId: string;
|
|
452
|
+
}>, import("zod").ZodObject<{
|
|
453
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
454
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
455
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
456
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
457
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
458
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
459
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
460
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
461
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
462
|
+
metadata?: Record<string, unknown> | undefined;
|
|
463
|
+
requestContextKeys?: string[] | undefined;
|
|
464
|
+
traceId?: string | undefined;
|
|
465
|
+
parentSpanId?: string | undefined;
|
|
466
|
+
}, {
|
|
467
|
+
metadata?: Record<string, unknown> | undefined;
|
|
468
|
+
requestContextKeys?: string[] | undefined;
|
|
469
|
+
traceId?: string | undefined;
|
|
470
|
+
parentSpanId?: string | undefined;
|
|
471
|
+
}>>;
|
|
472
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
473
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
474
|
+
step?: string | string[] | undefined;
|
|
475
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
476
|
+
tracingOptions?: {
|
|
477
|
+
metadata?: Record<string, unknown> | undefined;
|
|
478
|
+
requestContextKeys?: string[] | undefined;
|
|
479
|
+
traceId?: string | undefined;
|
|
480
|
+
parentSpanId?: string | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
perStep?: boolean | undefined;
|
|
483
|
+
resumeData?: unknown;
|
|
484
|
+
}, {
|
|
485
|
+
step?: string | string[] | undefined;
|
|
486
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
487
|
+
tracingOptions?: {
|
|
488
|
+
metadata?: Record<string, unknown> | undefined;
|
|
489
|
+
requestContextKeys?: string[] | undefined;
|
|
490
|
+
traceId?: string | undefined;
|
|
491
|
+
parentSpanId?: string | undefined;
|
|
492
|
+
} | undefined;
|
|
493
|
+
perStep?: boolean | undefined;
|
|
494
|
+
resumeData?: unknown;
|
|
495
|
+
}>>, {
|
|
64
496
|
message: string;
|
|
65
|
-
}>;
|
|
66
|
-
export declare const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
497
|
+
}, "json">;
|
|
498
|
+
export declare const RESUME_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
499
|
+
actionId: import("zod").ZodString;
|
|
500
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
501
|
+
actionId: string;
|
|
502
|
+
}, {
|
|
503
|
+
actionId: string;
|
|
504
|
+
}>, import("zod").ZodObject<{
|
|
505
|
+
runId: import("zod").ZodString;
|
|
506
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
507
|
+
runId: string;
|
|
508
|
+
}, {
|
|
509
|
+
runId: string;
|
|
510
|
+
}>, import("zod").ZodObject<{
|
|
511
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
512
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
513
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
514
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
515
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
516
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
517
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
518
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
519
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
520
|
+
metadata?: Record<string, unknown> | undefined;
|
|
521
|
+
requestContextKeys?: string[] | undefined;
|
|
522
|
+
traceId?: string | undefined;
|
|
523
|
+
parentSpanId?: string | undefined;
|
|
524
|
+
}, {
|
|
525
|
+
metadata?: Record<string, unknown> | undefined;
|
|
526
|
+
requestContextKeys?: string[] | undefined;
|
|
527
|
+
traceId?: string | undefined;
|
|
528
|
+
parentSpanId?: string | undefined;
|
|
529
|
+
}>>;
|
|
530
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
531
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
532
|
+
step?: string | string[] | undefined;
|
|
533
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
534
|
+
tracingOptions?: {
|
|
535
|
+
metadata?: Record<string, unknown> | undefined;
|
|
536
|
+
requestContextKeys?: string[] | undefined;
|
|
537
|
+
traceId?: string | undefined;
|
|
538
|
+
parentSpanId?: string | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
perStep?: boolean | undefined;
|
|
541
|
+
resumeData?: unknown;
|
|
542
|
+
}, {
|
|
543
|
+
step?: string | string[] | undefined;
|
|
544
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
545
|
+
tracingOptions?: {
|
|
546
|
+
metadata?: Record<string, unknown> | undefined;
|
|
547
|
+
requestContextKeys?: string[] | undefined;
|
|
548
|
+
traceId?: string | undefined;
|
|
549
|
+
parentSpanId?: string | undefined;
|
|
550
|
+
} | undefined;
|
|
551
|
+
perStep?: boolean | undefined;
|
|
552
|
+
resumeData?: unknown;
|
|
553
|
+
}>>, any, "stream">;
|
|
554
|
+
export declare const CANCEL_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<{
|
|
555
|
+
runId: string;
|
|
556
|
+
actionId: string;
|
|
557
|
+
}, {
|
|
82
558
|
message: string;
|
|
83
|
-
}>;
|
|
84
|
-
export {
|
|
559
|
+
}, "json">;
|
|
560
|
+
export declare const STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
561
|
+
actionId: import("zod").ZodString;
|
|
562
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
563
|
+
actionId: string;
|
|
564
|
+
}, {
|
|
565
|
+
actionId: string;
|
|
566
|
+
}>, import("zod").ZodObject<{
|
|
567
|
+
runId: import("zod").ZodString;
|
|
568
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
569
|
+
runId: string;
|
|
570
|
+
}, {
|
|
571
|
+
runId: string;
|
|
572
|
+
}>, import("zod").ZodObject<{
|
|
573
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
574
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
575
|
+
initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
576
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
577
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
578
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
579
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
580
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
581
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
582
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
583
|
+
metadata?: Record<string, unknown> | undefined;
|
|
584
|
+
requestContextKeys?: string[] | undefined;
|
|
585
|
+
traceId?: string | undefined;
|
|
586
|
+
parentSpanId?: string | undefined;
|
|
587
|
+
}, {
|
|
588
|
+
metadata?: Record<string, unknown> | undefined;
|
|
589
|
+
requestContextKeys?: string[] | undefined;
|
|
590
|
+
traceId?: string | undefined;
|
|
591
|
+
parentSpanId?: string | undefined;
|
|
592
|
+
}>>;
|
|
593
|
+
perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
594
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
595
|
+
resourceId?: string | undefined;
|
|
596
|
+
inputData?: unknown;
|
|
597
|
+
initialState?: unknown;
|
|
598
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
599
|
+
tracingOptions?: {
|
|
600
|
+
metadata?: Record<string, unknown> | undefined;
|
|
601
|
+
requestContextKeys?: string[] | undefined;
|
|
602
|
+
traceId?: string | undefined;
|
|
603
|
+
parentSpanId?: string | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
perStep?: boolean | undefined;
|
|
606
|
+
}, {
|
|
607
|
+
resourceId?: string | undefined;
|
|
608
|
+
inputData?: unknown;
|
|
609
|
+
initialState?: unknown;
|
|
610
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
611
|
+
tracingOptions?: {
|
|
612
|
+
metadata?: Record<string, unknown> | undefined;
|
|
613
|
+
requestContextKeys?: string[] | undefined;
|
|
614
|
+
traceId?: string | undefined;
|
|
615
|
+
parentSpanId?: string | undefined;
|
|
616
|
+
} | undefined;
|
|
617
|
+
perStep?: boolean | undefined;
|
|
618
|
+
}>>, any, "stream">;
|
|
619
|
+
export declare const OBSERVE_STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
620
|
+
actionId: import("zod").ZodString;
|
|
621
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
622
|
+
actionId: string;
|
|
623
|
+
}, {
|
|
624
|
+
actionId: string;
|
|
625
|
+
}>, import("zod").ZodObject<{
|
|
626
|
+
runId: import("zod").ZodString;
|
|
627
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
628
|
+
runId: string;
|
|
629
|
+
}, {
|
|
630
|
+
runId: string;
|
|
631
|
+
}>, undefined>, any, "stream">;
|
|
85
632
|
//# sourceMappingURL=agent-builder.d.ts.map
|