@mastra/server 0.0.0-new-scorer-api-20250801075530 → 0.0.0-new-button-export-20251219130424
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 +5548 -0
- package/README.md +2 -7
- package/dist/chunk-3BXS37TQ.js +1105 -0
- package/dist/chunk-3BXS37TQ.js.map +1 -0
- package/dist/chunk-3SFLFUKY.js +116 -0
- package/dist/chunk-3SFLFUKY.js.map +1 -0
- package/dist/chunk-3XI22UQR.cjs +148 -0
- package/dist/chunk-3XI22UQR.cjs.map +1 -0
- package/dist/chunk-5W4RPVTK.cjs +49 -0
- package/dist/chunk-5W4RPVTK.cjs.map +1 -0
- package/dist/{chunk-7NADHFD2.cjs → chunk-64ITUOXI.cjs} +2 -2
- package/dist/chunk-64ITUOXI.cjs.map +1 -0
- package/dist/{chunk-MMROOK5J.js → chunk-6QWQZI4Q.js} +2 -2
- package/dist/{chunk-7NADHFD2.cjs.map → chunk-6QWQZI4Q.js.map} +1 -1
- package/dist/chunk-6V57U52D.js +196 -0
- package/dist/chunk-6V57U52D.js.map +1 -0
- package/dist/chunk-7KOS32XA.cjs +928 -0
- package/dist/chunk-7KOS32XA.cjs.map +1 -0
- package/dist/chunk-AZIH2QEC.js +83 -0
- package/dist/chunk-AZIH2QEC.js.map +1 -0
- package/dist/chunk-BMLUV4BH.cjs +992 -0
- package/dist/chunk-BMLUV4BH.cjs.map +1 -0
- package/dist/chunk-BMYZ4DO6.cjs +269 -0
- package/dist/chunk-BMYZ4DO6.cjs.map +1 -0
- package/dist/chunk-BNGT3NIC.cjs +211 -0
- package/dist/chunk-BNGT3NIC.cjs.map +1 -0
- package/dist/chunk-C3UIIRAT.cjs +920 -0
- package/dist/chunk-C3UIIRAT.cjs.map +1 -0
- package/dist/chunk-DRUNNM4C.js +328 -0
- package/dist/chunk-DRUNNM4C.js.map +1 -0
- package/dist/chunk-DVSCJECS.js +250 -0
- package/dist/chunk-DVSCJECS.js.map +1 -0
- package/dist/chunk-DW3WE4M4.js +250 -0
- package/dist/chunk-DW3WE4M4.js.map +1 -0
- package/dist/chunk-E646Y4FQ.js +970 -0
- package/dist/chunk-E646Y4FQ.js.map +1 -0
- package/dist/chunk-EUBTCHQC.js +83 -0
- package/dist/chunk-EUBTCHQC.js.map +1 -0
- package/dist/chunk-FWSKVWS7.cjs +88 -0
- package/dist/chunk-FWSKVWS7.cjs.map +1 -0
- package/dist/chunk-FYY54HZC.js +310 -0
- package/dist/chunk-FYY54HZC.js.map +1 -0
- package/dist/chunk-GFF2I6UD.js +354 -0
- package/dist/chunk-GFF2I6UD.js.map +1 -0
- package/dist/chunk-GU4EWMZB.cjs +769 -0
- package/dist/chunk-GU4EWMZB.cjs.map +1 -0
- package/dist/chunk-H2RMXG2Q.cjs +167 -0
- package/dist/chunk-H2RMXG2Q.cjs.map +1 -0
- package/dist/chunk-HAJOEDNB.js +274 -0
- package/dist/chunk-HAJOEDNB.js.map +1 -0
- package/dist/chunk-HT4LP3BO.js +75 -0
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/chunk-I6LR6CPC.cjs +125 -0
- package/dist/chunk-I6LR6CPC.cjs.map +1 -0
- package/dist/chunk-IEYXQTUW.cjs +284 -0
- package/dist/chunk-IEYXQTUW.cjs.map +1 -0
- package/dist/chunk-JUYWLFVT.cjs +689 -0
- package/dist/chunk-JUYWLFVT.cjs.map +1 -0
- package/dist/chunk-K73YS7YB.cjs +2777 -0
- package/dist/chunk-K73YS7YB.cjs.map +1 -0
- package/dist/chunk-KPSSRYGH.js +234 -0
- package/dist/chunk-KPSSRYGH.js.map +1 -0
- package/dist/chunk-LF2ZLOFP.js +767 -0
- package/dist/chunk-LF2ZLOFP.js.map +1 -0
- package/dist/chunk-LH722MPX.cjs +27569 -0
- package/dist/chunk-LH722MPX.cjs.map +1 -0
- package/dist/chunk-LKTCAPBD.cjs +252 -0
- package/dist/chunk-LKTCAPBD.cjs.map +1 -0
- package/dist/chunk-LQSZ4FJJ.cjs +205 -0
- package/dist/chunk-LQSZ4FJJ.cjs.map +1 -0
- package/dist/chunk-MCYD5LW7.cjs +90 -0
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/chunk-MQLS6Z7A.js +891 -0
- package/dist/chunk-MQLS6Z7A.js.map +1 -0
- package/dist/chunk-O7I5CWRX.cjs +44 -0
- package/dist/{chunk-Q7SFCCGT.cjs.map → chunk-O7I5CWRX.cjs.map} +1 -1
- package/dist/chunk-P3H4AZKI.cjs +252 -0
- package/dist/chunk-P3H4AZKI.cjs.map +1 -0
- package/dist/chunk-P6S2HIVE.cjs +1149 -0
- package/dist/chunk-P6S2HIVE.cjs.map +1 -0
- package/dist/chunk-PR4QN5HX.js +39 -0
- package/dist/{chunk-PZ5AY32C.js.map → chunk-PR4QN5HX.js.map} +1 -1
- package/dist/chunk-PUFCKXFW.cjs +312 -0
- package/dist/chunk-PUFCKXFW.cjs.map +1 -0
- package/dist/chunk-Q7NPRJRV.cjs +88 -0
- package/dist/chunk-Q7NPRJRV.cjs.map +1 -0
- package/dist/chunk-S3TIWWQL.cjs +322 -0
- package/dist/chunk-S3TIWWQL.cjs.map +1 -0
- package/dist/chunk-S5XBFHJL.js +675 -0
- package/dist/chunk-S5XBFHJL.js.map +1 -0
- package/dist/chunk-SRQY5IWD.js +204 -0
- package/dist/chunk-SRQY5IWD.js.map +1 -0
- package/dist/chunk-SV4AUWGY.js +2774 -0
- package/dist/chunk-SV4AUWGY.js.map +1 -0
- package/dist/chunk-SXVANU23.js +164 -0
- package/dist/chunk-SXVANU23.js.map +1 -0
- package/dist/chunk-TYZ6ZISQ.cjs +368 -0
- package/dist/chunk-TYZ6ZISQ.cjs.map +1 -0
- package/dist/chunk-UWRAKVAJ.js +903 -0
- package/dist/chunk-UWRAKVAJ.js.map +1 -0
- package/dist/{chunk-CY4TP3FK.js → chunk-UXGQZUYZ.js} +3 -3
- package/dist/{chunk-CY4TP3FK.js.map → chunk-UXGQZUYZ.js.map} +1 -1
- package/dist/{chunk-RE4RPXT2.cjs → chunk-V5WWQN7P.cjs} +4 -4
- package/dist/{chunk-RE4RPXT2.cjs.map → chunk-V5WWQN7P.cjs.map} +1 -1
- package/dist/chunk-WBLT2HL3.js +144 -0
- package/dist/chunk-WBLT2HL3.js.map +1 -0
- package/dist/chunk-X43DWDXB.cjs +346 -0
- package/dist/chunk-X43DWDXB.cjs.map +1 -0
- package/dist/chunk-XW2HXQDO.js +302 -0
- package/dist/chunk-XW2HXQDO.js.map +1 -0
- package/dist/chunk-XWGAT2DA.js +44 -0
- package/dist/chunk-XWGAT2DA.js.map +1 -0
- package/dist/chunk-ZSD2NWTP.js +27527 -0
- package/dist/chunk-ZSD2NWTP.js.map +1 -0
- package/dist/dist-2J26LQO2.cjs +16 -0
- package/dist/dist-2J26LQO2.cjs.map +1 -0
- package/dist/dist-4CMHRWC4.js +1147 -0
- package/dist/dist-4CMHRWC4.js.map +1 -0
- package/dist/dist-AEJONJSS.js +937 -0
- package/dist/dist-AEJONJSS.js.map +1 -0
- package/dist/dist-AF7EUPXA.cjs +928 -0
- package/dist/dist-AF7EUPXA.cjs.map +1 -0
- package/dist/dist-MEN73GGI.js +3 -0
- package/dist/dist-MEN73GGI.js.map +1 -0
- package/dist/dist-NVXXJWBO.cjs +940 -0
- package/dist/dist-NVXXJWBO.cjs.map +1 -0
- package/dist/dist-Q2ST4SUQ.cjs +764 -0
- package/dist/dist-Q2ST4SUQ.cjs.map +1 -0
- package/dist/dist-TE7XRSWH.js +761 -0
- package/dist/dist-TE7XRSWH.js.map +1 -0
- package/dist/dist-VPYZNWNG.js +925 -0
- package/dist/dist-VPYZNWNG.js.map +1 -0
- package/dist/dist-Y5SYUVLY.cjs +1150 -0
- package/dist/dist-Y5SYUVLY.cjs.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/server/a2a/store.cjs +25 -0
- package/dist/server/a2a/store.cjs.map +1 -0
- package/dist/server/a2a/store.d.ts +3 -3
- package/dist/server/a2a/store.d.ts.map +1 -1
- package/dist/server/a2a/store.js +23 -0
- package/dist/server/a2a/store.js.map +1 -0
- package/dist/server/a2a/tasks.d.ts +7 -7
- package/dist/server/a2a/tasks.d.ts.map +1 -1
- 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 +19 -11
- package/dist/server/handlers/a2a.d.ts +507 -23
- 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 +80 -0
- package/dist/server/handlers/agent-builder.cjs.map +1 -0
- package/dist/server/handlers/agent-builder.d.ts +642 -0
- package/dist/server/handlers/agent-builder.d.ts.map +1 -0
- package/dist/server/handlers/agent-builder.js +3 -0
- package/dist/server/handlers/agent-builder.js.map +1 -0
- package/dist/server/handlers/agents.cjs +79 -15
- package/dist/server/handlers/agents.d.ts +3350 -72
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +2 -2
- 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 +65 -29
- package/dist/server/handlers/memory.d.ts +935 -99
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +40 -0
- package/dist/server/handlers/observability.cjs.map +1 -0
- package/dist/server/handlers/observability.d.ts +156 -0
- package/dist/server/handlers/observability.d.ts.map +1 -0
- package/dist/server/handlers/observability.js +3 -0
- package/dist/server/handlers/observability.js.map +1 -0
- package/dist/server/handlers/scores.cjs +13 -13
- package/dist/server/handlers/scores.d.ts +112 -40
- 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/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 +13 -9
- package/dist/server/handlers/tools.d.ts +69 -19
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +14 -2
- package/dist/server/handlers/utils.d.ts +11 -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 +94 -10
- 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 -38
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +75 -31
- package/dist/server/handlers/workflows.d.ts +1000 -80
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +36 -36
- package/dist/server/handlers.d.ts +12 -12
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/handlers.js +12 -12
- package/dist/server/http-exception.d.ts +0 -5
- package/dist/server/http-exception.d.ts.map +1 -1
- 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 +213 -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 +998 -0
- package/dist/server/schemas/memory.d.ts.map +1 -0
- package/dist/server/schemas/observability.d.ts +402 -0
- package/dist/server/schemas/observability.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/vectors.d.ts +107 -0
- package/dist/server/schemas/vectors.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +668 -0
- package/dist/server/schemas/workflows.d.ts.map +1 -0
- package/dist/server/server-adapter/index.cjs +485 -0
- package/dist/server/server-adapter/index.cjs.map +1 -0
- package/dist/server/server-adapter/index.d.ts +91 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -0
- package/dist/server/server-adapter/index.js +470 -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 +52 -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/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 +45 -0
- package/dist/server/utils.d.ts.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-LNX5VF3I.js +61 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-LNX5VF3I.js.map +1 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-SDYXODLX.cjs +63 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M-SDYXODLX.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-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs +10 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js +8 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.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-DJYRKLRD-MFJRDVVF.cjs +10 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map +1 -0
- package/package.json +66 -17
- package/dist/chunk-2XIJW7SV.cjs +0 -310
- package/dist/chunk-2XIJW7SV.cjs.map +0 -1
- package/dist/chunk-4CEZIJWJ.cjs +0 -150
- package/dist/chunk-4CEZIJWJ.cjs.map +0 -1
- package/dist/chunk-4MQU6AJN.js +0 -83
- package/dist/chunk-4MQU6AJN.js.map +0 -1
- package/dist/chunk-4QSNRCOT.cjs +0 -20
- package/dist/chunk-4QSNRCOT.cjs.map +0 -1
- package/dist/chunk-4US5W7PH.cjs +0 -120
- package/dist/chunk-4US5W7PH.cjs.map +0 -1
- package/dist/chunk-7FHF55WA.js +0 -2041
- package/dist/chunk-7FHF55WA.js.map +0 -1
- package/dist/chunk-BED2O446.cjs +0 -88
- package/dist/chunk-BED2O446.cjs.map +0 -1
- package/dist/chunk-BUOJL3MN.js +0 -529
- package/dist/chunk-BUOJL3MN.js.map +0 -1
- package/dist/chunk-G7NVCO5M.js +0 -123
- package/dist/chunk-G7NVCO5M.js.map +0 -1
- package/dist/chunk-GASWM5HJ.cjs +0 -514
- package/dist/chunk-GASWM5HJ.cjs.map +0 -1
- package/dist/chunk-HWHKM67I.js +0 -114
- package/dist/chunk-HWHKM67I.js.map +0 -1
- package/dist/chunk-HXIOPAHT.js +0 -541
- package/dist/chunk-HXIOPAHT.js.map +0 -1
- package/dist/chunk-ILCWPBYQ.cjs +0 -147
- package/dist/chunk-ILCWPBYQ.cjs.map +0 -1
- package/dist/chunk-JGVY3KWV.cjs +0 -334
- package/dist/chunk-JGVY3KWV.cjs.map +0 -1
- package/dist/chunk-LRUH33B4.cjs +0 -2044
- package/dist/chunk-LRUH33B4.cjs.map +0 -1
- package/dist/chunk-MMROOK5J.js.map +0 -1
- package/dist/chunk-NCS2OXX6.cjs +0 -131
- package/dist/chunk-NCS2OXX6.cjs.map +0 -1
- package/dist/chunk-O4I563YW.cjs +0 -130
- package/dist/chunk-O4I563YW.cjs.map +0 -1
- package/dist/chunk-OW4FX5TS.js +0 -18
- package/dist/chunk-OW4FX5TS.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -9
- package/dist/chunk-Q7SFCCGT.cjs +0 -11
- package/dist/chunk-S37KCGOR.cjs +0 -546
- package/dist/chunk-S37KCGOR.cjs.map +0 -1
- package/dist/chunk-SQ7KKIH3.js +0 -143
- package/dist/chunk-SQ7KKIH3.js.map +0 -1
- package/dist/chunk-TRWPUPGD.js +0 -506
- package/dist/chunk-TRWPUPGD.js.map +0 -1
- package/dist/chunk-TXAQU2XN.js +0 -151
- package/dist/chunk-TXAQU2XN.js.map +0 -1
- package/dist/chunk-UVOSITKU.js +0 -322
- package/dist/chunk-UVOSITKU.js.map +0 -1
- package/dist/chunk-VIGPWTDA.cjs +0 -159
- package/dist/chunk-VIGPWTDA.cjs.map +0 -1
- package/dist/chunk-VOY6MGKA.js +0 -301
- package/dist/chunk-VOY6MGKA.js.map +0 -1
- package/dist/chunk-X5SDJOY6.cjs +0 -557
- package/dist/chunk-X5SDJOY6.cjs.map +0 -1
- package/dist/chunk-Y3J45CVZ.js +0 -144
- package/dist/chunk-Y3J45CVZ.js.map +0 -1
- package/dist/chunk-YS66MFDY.js +0 -124
- package/dist/chunk-YS66MFDY.js.map +0 -1
- package/dist/server/handlers/legacyWorkflows.cjs +0 -48
- package/dist/server/handlers/legacyWorkflows.cjs.map +0 -1
- package/dist/server/handlers/legacyWorkflows.d.ts +0 -59
- package/dist/server/handlers/legacyWorkflows.d.ts.map +0 -1
- package/dist/server/handlers/legacyWorkflows.js +0 -3
- package/dist/server/handlers/legacyWorkflows.js.map +0 -1
- package/dist/server/handlers/network.cjs +0 -24
- package/dist/server/handlers/network.cjs.map +0 -1
- package/dist/server/handlers/network.d.ts +0 -50
- package/dist/server/handlers/network.d.ts.map +0 -1
- package/dist/server/handlers/network.js +0 -3
- package/dist/server/handlers/network.js.map +0 -1
- package/dist/server/handlers/telemetry.cjs +0 -16
- package/dist/server/handlers/telemetry.cjs.map +0 -1
- package/dist/server/handlers/telemetry.d.ts +0 -32
- package/dist/server/handlers/telemetry.d.ts.map +0 -1
- package/dist/server/handlers/telemetry.js +0 -3
- package/dist/server/handlers/telemetry.js.map +0 -1
- package/dist/server/handlers/vNextNetwork.cjs +0 -220
- package/dist/server/handlers/vNextNetwork.cjs.map +0 -1
- package/dist/server/handlers/vNextNetwork.d.ts +0 -179
- package/dist/server/handlers/vNextNetwork.d.ts.map +0 -1
- package/dist/server/handlers/vNextNetwork.js +0 -213
- package/dist/server/handlers/vNextNetwork.js.map +0 -1
|
@@ -1,88 +1,1008 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
import type { Workflow, SerializedStepFlowEntry, WatchEvent } from '@mastra/core/workflows';
|
|
5
|
-
import type { Context } from '../types';
|
|
6
|
-
interface WorkflowContext extends Context {
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { Context } from '../types.js';
|
|
3
|
+
export interface WorkflowContext extends Context {
|
|
7
4
|
workflowId?: string;
|
|
8
5
|
runId?: string;
|
|
9
6
|
}
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
7
|
+
export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
8
|
+
partial?: string | undefined;
|
|
9
|
+
}, Record<string, {
|
|
10
|
+
steps: Record<string, {
|
|
11
|
+
id: string;
|
|
12
|
+
description?: string | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
allSteps: Record<string, {
|
|
15
|
+
id: string;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
stepGraph: {
|
|
19
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
20
|
+
}[];
|
|
21
|
+
options?: {} | undefined;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
inputSchema?: string | undefined;
|
|
25
|
+
outputSchema?: string | undefined;
|
|
26
|
+
isProcessorWorkflow?: boolean | undefined;
|
|
27
|
+
}>, "json">;
|
|
28
|
+
export declare const GET_WORKFLOW_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
29
|
+
workflowId: string;
|
|
30
|
+
}, {
|
|
31
|
+
steps: Record<string, {
|
|
32
|
+
id: string;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
allSteps: Record<string, {
|
|
36
|
+
id: string;
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
stepGraph: {
|
|
40
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
41
|
+
}[];
|
|
42
|
+
options?: {} | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
description?: string | undefined;
|
|
45
|
+
inputSchema?: string | undefined;
|
|
46
|
+
outputSchema?: string | undefined;
|
|
47
|
+
isProcessorWorkflow?: boolean | undefined;
|
|
48
|
+
}, "json">;
|
|
49
|
+
export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
50
|
+
workflowId: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
workflowId: string;
|
|
53
|
+
}, {
|
|
54
|
+
workflowId: string;
|
|
55
|
+
}>, z.ZodObject<{
|
|
56
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
} & {
|
|
61
|
+
fromDate: z.ZodOptional<z.ZodDate>;
|
|
62
|
+
toDate: z.ZodOptional<z.ZodDate>;
|
|
63
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
64
|
+
status: z.ZodOptional<z.ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed", "tripwire"]>>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
67
|
+
page?: number | undefined;
|
|
68
|
+
perPage?: number | undefined;
|
|
69
|
+
offset?: number | undefined;
|
|
70
|
+
limit?: number | undefined;
|
|
71
|
+
resourceId?: string | undefined;
|
|
72
|
+
fromDate?: Date | undefined;
|
|
73
|
+
toDate?: Date | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
76
|
+
page?: number | undefined;
|
|
77
|
+
perPage?: number | undefined;
|
|
78
|
+
offset?: number | undefined;
|
|
79
|
+
limit?: number | undefined;
|
|
80
|
+
resourceId?: string | undefined;
|
|
81
|
+
fromDate?: Date | undefined;
|
|
82
|
+
toDate?: Date | undefined;
|
|
83
|
+
}>, undefined>, {
|
|
84
|
+
total: number;
|
|
85
|
+
runs: {
|
|
86
|
+
runId: string;
|
|
87
|
+
workflowName: string;
|
|
88
|
+
snapshot: string | {};
|
|
89
|
+
createdAt: Date;
|
|
90
|
+
updatedAt: Date;
|
|
91
|
+
resourceId?: string | undefined;
|
|
92
|
+
}[];
|
|
93
|
+
}, "json">;
|
|
94
|
+
export declare const GET_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
95
|
+
runId: string;
|
|
96
|
+
workflowId: string;
|
|
97
|
+
}, {
|
|
98
|
+
runId: string;
|
|
99
|
+
workflowName: string;
|
|
100
|
+
snapshot: string | {};
|
|
101
|
+
createdAt: Date;
|
|
102
|
+
updatedAt: Date;
|
|
103
|
+
resourceId?: string | undefined;
|
|
104
|
+
}, "json">;
|
|
105
|
+
export declare const DELETE_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
106
|
+
runId: string;
|
|
107
|
+
workflowId: string;
|
|
108
|
+
}, {
|
|
41
109
|
message: string;
|
|
42
|
-
}>;
|
|
43
|
-
export declare
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
110
|
+
}, "json">;
|
|
111
|
+
export declare const CREATE_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
112
|
+
workflowId: z.ZodString;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
workflowId: string;
|
|
115
|
+
}, {
|
|
116
|
+
workflowId: string;
|
|
117
|
+
}>, z.ZodObject<{
|
|
118
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
runId?: string | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
runId?: string | undefined;
|
|
123
|
+
}>, z.ZodObject<{
|
|
124
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
125
|
+
disableScorers: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
resourceId?: string | undefined;
|
|
128
|
+
disableScorers?: boolean | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
resourceId?: string | undefined;
|
|
131
|
+
disableScorers?: boolean | undefined;
|
|
132
|
+
}>>, {
|
|
133
|
+
runId: string;
|
|
134
|
+
}, "json">;
|
|
135
|
+
export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
136
|
+
workflowId: z.ZodString;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
workflowId: string;
|
|
139
|
+
}, {
|
|
140
|
+
workflowId: string;
|
|
141
|
+
}>, z.ZodObject<{
|
|
142
|
+
runId: z.ZodString;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
runId: string;
|
|
145
|
+
}, {
|
|
146
|
+
runId: string;
|
|
147
|
+
}>, z.ZodObject<{
|
|
148
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
149
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
150
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
151
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
152
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
154
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
155
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
metadata?: Record<string, unknown> | undefined;
|
|
159
|
+
requestContextKeys?: string[] | undefined;
|
|
160
|
+
traceId?: string | undefined;
|
|
161
|
+
parentSpanId?: string | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
metadata?: Record<string, unknown> | undefined;
|
|
164
|
+
requestContextKeys?: string[] | undefined;
|
|
165
|
+
traceId?: string | undefined;
|
|
166
|
+
parentSpanId?: string | undefined;
|
|
167
|
+
}>>;
|
|
168
|
+
} & {
|
|
169
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
resourceId?: string | undefined;
|
|
172
|
+
inputData?: unknown;
|
|
173
|
+
initialState?: unknown;
|
|
174
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
175
|
+
tracingOptions?: {
|
|
176
|
+
metadata?: Record<string, unknown> | undefined;
|
|
177
|
+
requestContextKeys?: string[] | undefined;
|
|
178
|
+
traceId?: string | undefined;
|
|
179
|
+
parentSpanId?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
closeOnSuspend?: boolean | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
resourceId?: string | undefined;
|
|
184
|
+
inputData?: unknown;
|
|
185
|
+
initialState?: unknown;
|
|
186
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
187
|
+
tracingOptions?: {
|
|
188
|
+
metadata?: Record<string, unknown> | undefined;
|
|
189
|
+
requestContextKeys?: string[] | undefined;
|
|
190
|
+
traceId?: string | undefined;
|
|
191
|
+
parentSpanId?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
closeOnSuspend?: boolean | undefined;
|
|
194
|
+
}>>, unknown, "stream">;
|
|
195
|
+
export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
196
|
+
workflowId: z.ZodString;
|
|
197
|
+
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
workflowId: string;
|
|
199
|
+
}, {
|
|
200
|
+
workflowId: string;
|
|
201
|
+
}>, z.ZodObject<{
|
|
202
|
+
runId: z.ZodString;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
runId: string;
|
|
205
|
+
}, {
|
|
206
|
+
runId: string;
|
|
207
|
+
}>, z.ZodObject<{
|
|
208
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
209
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
210
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
211
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
212
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
214
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
215
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
216
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
218
|
+
metadata?: Record<string, unknown> | undefined;
|
|
219
|
+
requestContextKeys?: string[] | undefined;
|
|
220
|
+
traceId?: string | undefined;
|
|
221
|
+
parentSpanId?: string | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
metadata?: Record<string, unknown> | undefined;
|
|
224
|
+
requestContextKeys?: string[] | undefined;
|
|
225
|
+
traceId?: string | undefined;
|
|
226
|
+
parentSpanId?: string | undefined;
|
|
227
|
+
}>>;
|
|
228
|
+
} & {
|
|
229
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
resourceId?: string | undefined;
|
|
232
|
+
inputData?: unknown;
|
|
233
|
+
initialState?: unknown;
|
|
234
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
235
|
+
tracingOptions?: {
|
|
236
|
+
metadata?: Record<string, unknown> | undefined;
|
|
237
|
+
requestContextKeys?: string[] | undefined;
|
|
238
|
+
traceId?: string | undefined;
|
|
239
|
+
parentSpanId?: string | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
closeOnSuspend?: boolean | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
resourceId?: string | undefined;
|
|
244
|
+
inputData?: unknown;
|
|
245
|
+
initialState?: unknown;
|
|
246
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
247
|
+
tracingOptions?: {
|
|
248
|
+
metadata?: Record<string, unknown> | undefined;
|
|
249
|
+
requestContextKeys?: string[] | undefined;
|
|
250
|
+
traceId?: string | undefined;
|
|
251
|
+
parentSpanId?: string | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
closeOnSuspend?: boolean | undefined;
|
|
254
|
+
}>>, unknown, "stream">;
|
|
255
|
+
export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
256
|
+
workflowId: z.ZodString;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
workflowId: string;
|
|
259
|
+
}, {
|
|
260
|
+
workflowId: string;
|
|
261
|
+
}>, z.ZodObject<{
|
|
262
|
+
runId: z.ZodString;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
runId: string;
|
|
265
|
+
}, {
|
|
266
|
+
runId: string;
|
|
267
|
+
}>, z.ZodObject<{
|
|
268
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
269
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
270
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
271
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
273
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
274
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
275
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
metadata?: Record<string, unknown> | undefined;
|
|
278
|
+
requestContextKeys?: string[] | undefined;
|
|
279
|
+
traceId?: string | undefined;
|
|
280
|
+
parentSpanId?: string | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
metadata?: Record<string, unknown> | undefined;
|
|
283
|
+
requestContextKeys?: string[] | undefined;
|
|
284
|
+
traceId?: string | undefined;
|
|
285
|
+
parentSpanId?: string | undefined;
|
|
286
|
+
}>>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
step?: string | string[] | undefined;
|
|
289
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
290
|
+
tracingOptions?: {
|
|
291
|
+
metadata?: Record<string, unknown> | undefined;
|
|
292
|
+
requestContextKeys?: string[] | undefined;
|
|
293
|
+
traceId?: string | undefined;
|
|
294
|
+
parentSpanId?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
resumeData?: unknown;
|
|
297
|
+
}, {
|
|
298
|
+
step?: string | string[] | undefined;
|
|
299
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
300
|
+
tracingOptions?: {
|
|
301
|
+
metadata?: Record<string, unknown> | undefined;
|
|
302
|
+
requestContextKeys?: string[] | undefined;
|
|
303
|
+
traceId?: string | undefined;
|
|
304
|
+
parentSpanId?: string | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
resumeData?: unknown;
|
|
307
|
+
}>>, any, "stream">;
|
|
308
|
+
export declare const GET_WORKFLOW_RUN_EXECUTION_RESULT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
309
|
+
workflowId: z.ZodString;
|
|
310
|
+
} & {
|
|
311
|
+
runId: z.ZodString;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
runId: string;
|
|
314
|
+
workflowId: string;
|
|
315
|
+
}, {
|
|
316
|
+
runId: string;
|
|
317
|
+
workflowId: string;
|
|
318
|
+
}>, z.ZodObject<{
|
|
319
|
+
fields: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
320
|
+
withNestedWorkflows: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
fields?: string | undefined;
|
|
323
|
+
withNestedWorkflows?: "true" | "false" | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
fields?: string | undefined;
|
|
326
|
+
withNestedWorkflows?: "true" | "false" | undefined;
|
|
327
|
+
}>, undefined>, {
|
|
328
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
329
|
+
error?: unknown;
|
|
330
|
+
steps?: Record<string, any> | undefined;
|
|
331
|
+
result?: unknown;
|
|
332
|
+
payload?: unknown;
|
|
333
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
334
|
+
serializedStepGraph?: {
|
|
335
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
336
|
+
}[] | undefined;
|
|
337
|
+
}, "json">;
|
|
338
|
+
export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
339
|
+
workflowId: z.ZodString;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
workflowId: string;
|
|
342
|
+
}, {
|
|
343
|
+
workflowId: string;
|
|
344
|
+
}>, z.ZodObject<{
|
|
345
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
runId?: string | undefined;
|
|
348
|
+
}, {
|
|
349
|
+
runId?: string | undefined;
|
|
350
|
+
}>, z.ZodObject<{
|
|
351
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
352
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
353
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
354
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
355
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
357
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
358
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
359
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
metadata?: Record<string, unknown> | undefined;
|
|
362
|
+
requestContextKeys?: string[] | undefined;
|
|
363
|
+
traceId?: string | undefined;
|
|
364
|
+
parentSpanId?: string | undefined;
|
|
365
|
+
}, {
|
|
366
|
+
metadata?: Record<string, unknown> | undefined;
|
|
367
|
+
requestContextKeys?: string[] | undefined;
|
|
368
|
+
traceId?: string | undefined;
|
|
369
|
+
parentSpanId?: string | undefined;
|
|
370
|
+
}>>;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
resourceId?: string | undefined;
|
|
373
|
+
inputData?: unknown;
|
|
374
|
+
initialState?: unknown;
|
|
375
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
376
|
+
tracingOptions?: {
|
|
377
|
+
metadata?: Record<string, unknown> | undefined;
|
|
378
|
+
requestContextKeys?: string[] | undefined;
|
|
379
|
+
traceId?: string | undefined;
|
|
380
|
+
parentSpanId?: string | undefined;
|
|
381
|
+
} | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
resourceId?: string | undefined;
|
|
384
|
+
inputData?: unknown;
|
|
385
|
+
initialState?: unknown;
|
|
386
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
387
|
+
tracingOptions?: {
|
|
388
|
+
metadata?: Record<string, unknown> | undefined;
|
|
389
|
+
requestContextKeys?: string[] | undefined;
|
|
390
|
+
traceId?: string | undefined;
|
|
391
|
+
parentSpanId?: string | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
}>>, {
|
|
394
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
395
|
+
error?: unknown;
|
|
396
|
+
steps?: Record<string, any> | undefined;
|
|
397
|
+
result?: unknown;
|
|
398
|
+
payload?: unknown;
|
|
399
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
400
|
+
serializedStepGraph?: {
|
|
401
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
402
|
+
}[] | undefined;
|
|
403
|
+
}, "json">;
|
|
404
|
+
export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
405
|
+
workflowId: z.ZodString;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
workflowId: string;
|
|
408
|
+
}, {
|
|
409
|
+
workflowId: string;
|
|
410
|
+
}>, z.ZodObject<{
|
|
411
|
+
runId: z.ZodString;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
runId: string;
|
|
414
|
+
}, {
|
|
415
|
+
runId: string;
|
|
416
|
+
}>, z.ZodObject<{
|
|
417
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
418
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
419
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
420
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
421
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
423
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
424
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
425
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, "strip", z.ZodTypeAny, {
|
|
427
|
+
metadata?: Record<string, unknown> | undefined;
|
|
428
|
+
requestContextKeys?: string[] | undefined;
|
|
429
|
+
traceId?: string | undefined;
|
|
430
|
+
parentSpanId?: string | undefined;
|
|
431
|
+
}, {
|
|
432
|
+
metadata?: Record<string, unknown> | undefined;
|
|
433
|
+
requestContextKeys?: string[] | undefined;
|
|
434
|
+
traceId?: string | undefined;
|
|
435
|
+
parentSpanId?: string | undefined;
|
|
436
|
+
}>>;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
resourceId?: string | undefined;
|
|
439
|
+
inputData?: unknown;
|
|
440
|
+
initialState?: unknown;
|
|
441
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
442
|
+
tracingOptions?: {
|
|
443
|
+
metadata?: Record<string, unknown> | undefined;
|
|
444
|
+
requestContextKeys?: string[] | undefined;
|
|
445
|
+
traceId?: string | undefined;
|
|
446
|
+
parentSpanId?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
448
|
+
}, {
|
|
449
|
+
resourceId?: string | undefined;
|
|
450
|
+
inputData?: unknown;
|
|
451
|
+
initialState?: unknown;
|
|
452
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
453
|
+
tracingOptions?: {
|
|
454
|
+
metadata?: Record<string, unknown> | undefined;
|
|
455
|
+
requestContextKeys?: string[] | undefined;
|
|
456
|
+
traceId?: string | undefined;
|
|
457
|
+
parentSpanId?: string | undefined;
|
|
458
|
+
} | undefined;
|
|
459
|
+
}>>, {
|
|
69
460
|
message: string;
|
|
70
|
-
}>;
|
|
71
|
-
export declare
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
461
|
+
}, "json">;
|
|
462
|
+
export declare const OBSERVE_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
463
|
+
workflowId: z.ZodString;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
workflowId: string;
|
|
466
|
+
}, {
|
|
467
|
+
workflowId: string;
|
|
468
|
+
}>, z.ZodObject<{
|
|
469
|
+
runId: z.ZodString;
|
|
470
|
+
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
runId: string;
|
|
472
|
+
}, {
|
|
473
|
+
runId: string;
|
|
474
|
+
}>, undefined>, any, "stream">;
|
|
475
|
+
export declare const OBSERVE_STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
476
|
+
workflowId: z.ZodString;
|
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
|
478
|
+
workflowId: string;
|
|
479
|
+
}, {
|
|
480
|
+
workflowId: string;
|
|
481
|
+
}>, z.ZodObject<{
|
|
482
|
+
runId: z.ZodString;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
runId: string;
|
|
485
|
+
}, {
|
|
486
|
+
runId: string;
|
|
487
|
+
}>, undefined>, any, "stream">;
|
|
488
|
+
export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
489
|
+
workflowId: z.ZodString;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
workflowId: string;
|
|
492
|
+
}, {
|
|
493
|
+
workflowId: string;
|
|
494
|
+
}>, z.ZodObject<{
|
|
495
|
+
runId: z.ZodString;
|
|
496
|
+
}, "strip", z.ZodTypeAny, {
|
|
497
|
+
runId: string;
|
|
498
|
+
}, {
|
|
499
|
+
runId: string;
|
|
500
|
+
}>, z.ZodObject<{
|
|
501
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
502
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
503
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
504
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
505
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
506
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
507
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
508
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
|
+
metadata?: Record<string, unknown> | undefined;
|
|
511
|
+
requestContextKeys?: string[] | undefined;
|
|
512
|
+
traceId?: string | undefined;
|
|
513
|
+
parentSpanId?: string | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
metadata?: Record<string, unknown> | undefined;
|
|
516
|
+
requestContextKeys?: string[] | undefined;
|
|
517
|
+
traceId?: string | undefined;
|
|
518
|
+
parentSpanId?: string | undefined;
|
|
519
|
+
}>>;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
step?: string | string[] | undefined;
|
|
522
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
523
|
+
tracingOptions?: {
|
|
524
|
+
metadata?: Record<string, unknown> | undefined;
|
|
525
|
+
requestContextKeys?: string[] | undefined;
|
|
526
|
+
traceId?: string | undefined;
|
|
527
|
+
parentSpanId?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
resumeData?: unknown;
|
|
530
|
+
}, {
|
|
531
|
+
step?: string | string[] | undefined;
|
|
532
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
533
|
+
tracingOptions?: {
|
|
534
|
+
metadata?: Record<string, unknown> | undefined;
|
|
535
|
+
requestContextKeys?: string[] | undefined;
|
|
536
|
+
traceId?: string | undefined;
|
|
537
|
+
parentSpanId?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
|
+
resumeData?: unknown;
|
|
540
|
+
}>>, {
|
|
541
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
542
|
+
error?: unknown;
|
|
543
|
+
steps?: Record<string, any> | undefined;
|
|
544
|
+
result?: unknown;
|
|
545
|
+
payload?: unknown;
|
|
546
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
547
|
+
serializedStepGraph?: {
|
|
548
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
549
|
+
}[] | undefined;
|
|
550
|
+
}, "json">;
|
|
551
|
+
export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
552
|
+
workflowId: z.ZodString;
|
|
553
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
|
+
workflowId: string;
|
|
555
|
+
}, {
|
|
556
|
+
workflowId: string;
|
|
557
|
+
}>, z.ZodObject<{
|
|
558
|
+
runId: z.ZodString;
|
|
559
|
+
}, "strip", z.ZodTypeAny, {
|
|
560
|
+
runId: string;
|
|
561
|
+
}, {
|
|
562
|
+
runId: string;
|
|
563
|
+
}>, z.ZodObject<{
|
|
564
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
565
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
566
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
567
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
568
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
569
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
570
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
571
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
572
|
+
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
metadata?: Record<string, unknown> | undefined;
|
|
574
|
+
requestContextKeys?: string[] | undefined;
|
|
575
|
+
traceId?: string | undefined;
|
|
576
|
+
parentSpanId?: string | undefined;
|
|
577
|
+
}, {
|
|
578
|
+
metadata?: Record<string, unknown> | undefined;
|
|
579
|
+
requestContextKeys?: string[] | undefined;
|
|
580
|
+
traceId?: string | undefined;
|
|
581
|
+
parentSpanId?: string | undefined;
|
|
582
|
+
}>>;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
step?: string | string[] | undefined;
|
|
585
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
586
|
+
tracingOptions?: {
|
|
587
|
+
metadata?: Record<string, unknown> | undefined;
|
|
588
|
+
requestContextKeys?: string[] | undefined;
|
|
589
|
+
traceId?: string | undefined;
|
|
590
|
+
parentSpanId?: string | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
resumeData?: unknown;
|
|
593
|
+
}, {
|
|
594
|
+
step?: string | string[] | undefined;
|
|
595
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
596
|
+
tracingOptions?: {
|
|
597
|
+
metadata?: Record<string, unknown> | undefined;
|
|
598
|
+
requestContextKeys?: string[] | undefined;
|
|
599
|
+
traceId?: string | undefined;
|
|
600
|
+
parentSpanId?: string | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
resumeData?: unknown;
|
|
603
|
+
}>>, {
|
|
604
|
+
message: string;
|
|
605
|
+
}, "json">;
|
|
606
|
+
export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
607
|
+
workflowId: z.ZodString;
|
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
|
609
|
+
workflowId: string;
|
|
610
|
+
}, {
|
|
611
|
+
workflowId: string;
|
|
612
|
+
}>, z.ZodObject<{
|
|
613
|
+
runId: z.ZodString;
|
|
614
|
+
}, "strip", z.ZodTypeAny, {
|
|
615
|
+
runId: string;
|
|
616
|
+
}, {
|
|
617
|
+
runId: string;
|
|
618
|
+
}>, z.ZodObject<{
|
|
619
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
620
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
621
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
622
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
623
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
624
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
metadata?: Record<string, unknown> | undefined;
|
|
627
|
+
requestContextKeys?: string[] | undefined;
|
|
628
|
+
traceId?: string | undefined;
|
|
629
|
+
parentSpanId?: string | undefined;
|
|
630
|
+
}, {
|
|
631
|
+
metadata?: Record<string, unknown> | undefined;
|
|
632
|
+
requestContextKeys?: string[] | undefined;
|
|
633
|
+
traceId?: string | undefined;
|
|
634
|
+
parentSpanId?: string | undefined;
|
|
635
|
+
}>>;
|
|
636
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
638
|
+
tracingOptions?: {
|
|
639
|
+
metadata?: Record<string, unknown> | undefined;
|
|
640
|
+
requestContextKeys?: string[] | undefined;
|
|
641
|
+
traceId?: string | undefined;
|
|
642
|
+
parentSpanId?: string | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
646
|
+
tracingOptions?: {
|
|
647
|
+
metadata?: Record<string, unknown> | undefined;
|
|
648
|
+
requestContextKeys?: string[] | undefined;
|
|
649
|
+
traceId?: string | undefined;
|
|
650
|
+
parentSpanId?: string | undefined;
|
|
651
|
+
} | undefined;
|
|
652
|
+
}>>, {
|
|
653
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
654
|
+
error?: unknown;
|
|
655
|
+
steps?: Record<string, any> | undefined;
|
|
656
|
+
result?: unknown;
|
|
657
|
+
payload?: unknown;
|
|
658
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
659
|
+
serializedStepGraph?: {
|
|
660
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
661
|
+
}[] | undefined;
|
|
662
|
+
}, "json">;
|
|
663
|
+
export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
664
|
+
workflowId: z.ZodString;
|
|
665
|
+
}, "strip", z.ZodTypeAny, {
|
|
666
|
+
workflowId: string;
|
|
667
|
+
}, {
|
|
668
|
+
workflowId: string;
|
|
669
|
+
}>, z.ZodObject<{
|
|
670
|
+
runId: z.ZodString;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
runId: string;
|
|
673
|
+
}, {
|
|
674
|
+
runId: string;
|
|
675
|
+
}>, z.ZodObject<{
|
|
676
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
677
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
678
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
679
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
680
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
681
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, "strip", z.ZodTypeAny, {
|
|
683
|
+
metadata?: Record<string, unknown> | undefined;
|
|
684
|
+
requestContextKeys?: string[] | undefined;
|
|
685
|
+
traceId?: string | undefined;
|
|
686
|
+
parentSpanId?: string | undefined;
|
|
687
|
+
}, {
|
|
688
|
+
metadata?: Record<string, unknown> | undefined;
|
|
689
|
+
requestContextKeys?: string[] | undefined;
|
|
690
|
+
traceId?: string | undefined;
|
|
691
|
+
parentSpanId?: string | undefined;
|
|
692
|
+
}>>;
|
|
693
|
+
}, "strip", z.ZodTypeAny, {
|
|
694
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
695
|
+
tracingOptions?: {
|
|
696
|
+
metadata?: Record<string, unknown> | undefined;
|
|
697
|
+
requestContextKeys?: string[] | undefined;
|
|
698
|
+
traceId?: string | undefined;
|
|
699
|
+
parentSpanId?: string | undefined;
|
|
700
|
+
} | undefined;
|
|
701
|
+
}, {
|
|
702
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
703
|
+
tracingOptions?: {
|
|
704
|
+
metadata?: Record<string, unknown> | undefined;
|
|
705
|
+
requestContextKeys?: string[] | undefined;
|
|
706
|
+
traceId?: string | undefined;
|
|
707
|
+
parentSpanId?: string | undefined;
|
|
708
|
+
} | undefined;
|
|
709
|
+
}>>, {
|
|
710
|
+
message: string;
|
|
711
|
+
}, "json">;
|
|
712
|
+
export declare const RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE: import("../server-adapter").ServerRoute<{
|
|
713
|
+
workflowId: string;
|
|
714
|
+
}, {
|
|
715
|
+
message: string;
|
|
716
|
+
}, "json">;
|
|
717
|
+
export declare const RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
718
|
+
workflowId: string;
|
|
719
|
+
}, {
|
|
720
|
+
message: string;
|
|
721
|
+
}, "json">;
|
|
722
|
+
export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
723
|
+
workflowId: z.ZodString;
|
|
724
|
+
}, "strip", z.ZodTypeAny, {
|
|
725
|
+
workflowId: string;
|
|
726
|
+
}, {
|
|
727
|
+
workflowId: string;
|
|
728
|
+
}>, z.ZodObject<{
|
|
729
|
+
runId: z.ZodString;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
runId: string;
|
|
732
|
+
}, {
|
|
733
|
+
runId: string;
|
|
734
|
+
}>, z.ZodObject<{
|
|
735
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
736
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
737
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
738
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
739
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
740
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
741
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
742
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
743
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
744
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
745
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
746
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
metadata?: Record<string, unknown> | undefined;
|
|
749
|
+
requestContextKeys?: string[] | undefined;
|
|
750
|
+
traceId?: string | undefined;
|
|
751
|
+
parentSpanId?: string | undefined;
|
|
752
|
+
}, {
|
|
753
|
+
metadata?: Record<string, unknown> | undefined;
|
|
754
|
+
requestContextKeys?: string[] | undefined;
|
|
755
|
+
traceId?: string | undefined;
|
|
756
|
+
parentSpanId?: string | undefined;
|
|
757
|
+
}>>;
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
759
|
+
step: string | string[];
|
|
760
|
+
context?: Record<string, any> | undefined;
|
|
761
|
+
inputData?: unknown;
|
|
762
|
+
initialState?: unknown;
|
|
763
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
764
|
+
tracingOptions?: {
|
|
765
|
+
metadata?: Record<string, unknown> | undefined;
|
|
766
|
+
requestContextKeys?: string[] | undefined;
|
|
767
|
+
traceId?: string | undefined;
|
|
768
|
+
parentSpanId?: string | undefined;
|
|
769
|
+
} | undefined;
|
|
770
|
+
resumeData?: unknown;
|
|
771
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
772
|
+
}, {
|
|
773
|
+
step: string | string[];
|
|
774
|
+
context?: Record<string, any> | undefined;
|
|
775
|
+
inputData?: unknown;
|
|
776
|
+
initialState?: unknown;
|
|
777
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
778
|
+
tracingOptions?: {
|
|
779
|
+
metadata?: Record<string, unknown> | undefined;
|
|
780
|
+
requestContextKeys?: string[] | undefined;
|
|
781
|
+
traceId?: string | undefined;
|
|
782
|
+
parentSpanId?: string | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
resumeData?: unknown;
|
|
785
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
786
|
+
}>>, {
|
|
787
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
788
|
+
error?: unknown;
|
|
789
|
+
steps?: Record<string, any> | undefined;
|
|
790
|
+
result?: unknown;
|
|
791
|
+
payload?: unknown;
|
|
792
|
+
activeStepsPath?: Record<string, number[]> | undefined;
|
|
793
|
+
serializedStepGraph?: {
|
|
794
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
795
|
+
}[] | undefined;
|
|
796
|
+
}, "json">;
|
|
797
|
+
export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
798
|
+
workflowId: z.ZodString;
|
|
799
|
+
}, "strip", z.ZodTypeAny, {
|
|
800
|
+
workflowId: string;
|
|
801
|
+
}, {
|
|
802
|
+
workflowId: string;
|
|
803
|
+
}>, z.ZodObject<{
|
|
804
|
+
runId: z.ZodString;
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
runId: string;
|
|
807
|
+
}, {
|
|
808
|
+
runId: string;
|
|
809
|
+
}>, z.ZodObject<{
|
|
810
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
811
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
812
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
813
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
814
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
815
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
816
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
817
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
819
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
820
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
821
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
822
|
+
}, "strip", z.ZodTypeAny, {
|
|
823
|
+
metadata?: Record<string, unknown> | undefined;
|
|
824
|
+
requestContextKeys?: string[] | undefined;
|
|
825
|
+
traceId?: string | undefined;
|
|
826
|
+
parentSpanId?: string | undefined;
|
|
827
|
+
}, {
|
|
828
|
+
metadata?: Record<string, unknown> | undefined;
|
|
829
|
+
requestContextKeys?: string[] | undefined;
|
|
830
|
+
traceId?: string | undefined;
|
|
831
|
+
parentSpanId?: string | undefined;
|
|
832
|
+
}>>;
|
|
833
|
+
}, "strip", z.ZodTypeAny, {
|
|
834
|
+
step: string | string[];
|
|
835
|
+
context?: Record<string, any> | undefined;
|
|
836
|
+
inputData?: unknown;
|
|
837
|
+
initialState?: unknown;
|
|
838
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
839
|
+
tracingOptions?: {
|
|
840
|
+
metadata?: Record<string, unknown> | undefined;
|
|
841
|
+
requestContextKeys?: string[] | undefined;
|
|
842
|
+
traceId?: string | undefined;
|
|
843
|
+
parentSpanId?: string | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
resumeData?: unknown;
|
|
846
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
847
|
+
}, {
|
|
848
|
+
step: string | string[];
|
|
849
|
+
context?: Record<string, any> | undefined;
|
|
850
|
+
inputData?: unknown;
|
|
851
|
+
initialState?: unknown;
|
|
852
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
853
|
+
tracingOptions?: {
|
|
854
|
+
metadata?: Record<string, unknown> | undefined;
|
|
855
|
+
requestContextKeys?: string[] | undefined;
|
|
856
|
+
traceId?: string | undefined;
|
|
857
|
+
parentSpanId?: string | undefined;
|
|
858
|
+
} | undefined;
|
|
859
|
+
resumeData?: unknown;
|
|
860
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
861
|
+
}>>, {
|
|
79
862
|
message: string;
|
|
80
|
-
}>;
|
|
81
|
-
export declare
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
863
|
+
}, "json">;
|
|
864
|
+
export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
865
|
+
workflowId: z.ZodString;
|
|
866
|
+
}, "strip", z.ZodTypeAny, {
|
|
867
|
+
workflowId: string;
|
|
868
|
+
}, {
|
|
869
|
+
workflowId: string;
|
|
870
|
+
}>, z.ZodObject<{
|
|
871
|
+
runId: z.ZodString;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
runId: string;
|
|
874
|
+
}, {
|
|
875
|
+
runId: string;
|
|
876
|
+
}>, z.ZodObject<{
|
|
877
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
878
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
879
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
880
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
881
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
882
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
883
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
884
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
885
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
886
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
887
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
888
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
889
|
+
}, "strip", z.ZodTypeAny, {
|
|
890
|
+
metadata?: Record<string, unknown> | undefined;
|
|
891
|
+
requestContextKeys?: string[] | undefined;
|
|
892
|
+
traceId?: string | undefined;
|
|
893
|
+
parentSpanId?: string | undefined;
|
|
894
|
+
}, {
|
|
895
|
+
metadata?: Record<string, unknown> | undefined;
|
|
896
|
+
requestContextKeys?: string[] | undefined;
|
|
897
|
+
traceId?: string | undefined;
|
|
898
|
+
parentSpanId?: string | undefined;
|
|
899
|
+
}>>;
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
901
|
+
step: string | string[];
|
|
902
|
+
context?: Record<string, any> | undefined;
|
|
903
|
+
inputData?: unknown;
|
|
904
|
+
initialState?: unknown;
|
|
905
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
906
|
+
tracingOptions?: {
|
|
907
|
+
metadata?: Record<string, unknown> | undefined;
|
|
908
|
+
requestContextKeys?: string[] | undefined;
|
|
909
|
+
traceId?: string | undefined;
|
|
910
|
+
parentSpanId?: string | undefined;
|
|
911
|
+
} | undefined;
|
|
912
|
+
resumeData?: unknown;
|
|
913
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
914
|
+
}, {
|
|
915
|
+
step: string | string[];
|
|
916
|
+
context?: Record<string, any> | undefined;
|
|
917
|
+
inputData?: unknown;
|
|
918
|
+
initialState?: unknown;
|
|
919
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
920
|
+
tracingOptions?: {
|
|
921
|
+
metadata?: Record<string, unknown> | undefined;
|
|
922
|
+
requestContextKeys?: string[] | undefined;
|
|
923
|
+
traceId?: string | undefined;
|
|
924
|
+
parentSpanId?: string | undefined;
|
|
925
|
+
} | undefined;
|
|
926
|
+
resumeData?: unknown;
|
|
927
|
+
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
928
|
+
}>>, unknown, "stream">;
|
|
929
|
+
export declare const CANCEL_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<{
|
|
930
|
+
runId: string;
|
|
931
|
+
workflowId: string;
|
|
932
|
+
}, {
|
|
85
933
|
message: string;
|
|
86
|
-
}>;
|
|
87
|
-
export {
|
|
934
|
+
}, "json">;
|
|
935
|
+
export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
936
|
+
workflowId: z.ZodString;
|
|
937
|
+
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
workflowId: string;
|
|
939
|
+
}, {
|
|
940
|
+
workflowId: string;
|
|
941
|
+
}>, z.ZodObject<{
|
|
942
|
+
runId: z.ZodString;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
runId: string;
|
|
945
|
+
}, {
|
|
946
|
+
runId: string;
|
|
947
|
+
}>, z.ZodObject<{
|
|
948
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
949
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
950
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
951
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
952
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
953
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
954
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
955
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
956
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
957
|
+
}, "strip", z.ZodTypeAny, {
|
|
958
|
+
metadata?: Record<string, unknown> | undefined;
|
|
959
|
+
requestContextKeys?: string[] | undefined;
|
|
960
|
+
traceId?: string | undefined;
|
|
961
|
+
parentSpanId?: string | undefined;
|
|
962
|
+
}, {
|
|
963
|
+
metadata?: Record<string, unknown> | undefined;
|
|
964
|
+
requestContextKeys?: string[] | undefined;
|
|
965
|
+
traceId?: string | undefined;
|
|
966
|
+
parentSpanId?: string | undefined;
|
|
967
|
+
}>>;
|
|
968
|
+
} & {
|
|
969
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
970
|
+
}, "strip", z.ZodTypeAny, {
|
|
971
|
+
resourceId?: string | undefined;
|
|
972
|
+
inputData?: unknown;
|
|
973
|
+
initialState?: unknown;
|
|
974
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
975
|
+
tracingOptions?: {
|
|
976
|
+
metadata?: Record<string, unknown> | undefined;
|
|
977
|
+
requestContextKeys?: string[] | undefined;
|
|
978
|
+
traceId?: string | undefined;
|
|
979
|
+
parentSpanId?: string | undefined;
|
|
980
|
+
} | undefined;
|
|
981
|
+
closeOnSuspend?: boolean | undefined;
|
|
982
|
+
}, {
|
|
983
|
+
resourceId?: string | undefined;
|
|
984
|
+
inputData?: unknown;
|
|
985
|
+
initialState?: unknown;
|
|
986
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
987
|
+
tracingOptions?: {
|
|
988
|
+
metadata?: Record<string, unknown> | undefined;
|
|
989
|
+
requestContextKeys?: string[] | undefined;
|
|
990
|
+
traceId?: string | undefined;
|
|
991
|
+
parentSpanId?: string | undefined;
|
|
992
|
+
} | undefined;
|
|
993
|
+
closeOnSuspend?: boolean | undefined;
|
|
994
|
+
}>>, any, "stream">;
|
|
995
|
+
export declare const OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
996
|
+
workflowId: z.ZodString;
|
|
997
|
+
}, "strip", z.ZodTypeAny, {
|
|
998
|
+
workflowId: string;
|
|
999
|
+
}, {
|
|
1000
|
+
workflowId: string;
|
|
1001
|
+
}>, z.ZodObject<{
|
|
1002
|
+
runId: z.ZodString;
|
|
1003
|
+
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
runId: string;
|
|
1005
|
+
}, {
|
|
1006
|
+
runId: string;
|
|
1007
|
+
}>, undefined>, any, "stream">;
|
|
88
1008
|
//# sourceMappingURL=workflows.d.ts.map
|