@mastra/server 1.33.0-alpha.6 → 1.33.0-alpha.7
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 +152 -0
- package/dist/{api-schema-manifest-IWGQ5O45.js → api-schema-manifest-JLJ555JD.js} +3 -3
- package/dist/{api-schema-manifest-IWGQ5O45.js.map → api-schema-manifest-JLJ555JD.js.map} +1 -1
- package/dist/{api-schema-manifest-KDXQELMU.cjs → api-schema-manifest-QMJFKSSQ.cjs} +4 -4
- package/dist/{api-schema-manifest-KDXQELMU.cjs.map → api-schema-manifest-QMJFKSSQ.cjs.map} +1 -1
- package/dist/{chunk-IDLB647Y.js → chunk-2S4WCY5N.js} +3 -3
- package/dist/{chunk-IDLB647Y.js.map → chunk-2S4WCY5N.js.map} +1 -1
- package/dist/{chunk-EFW6MWXU.cjs → chunk-5XW4MKE6.cjs} +22 -2
- package/dist/chunk-5XW4MKE6.cjs.map +1 -0
- package/dist/{chunk-N6HISTTP.cjs → chunk-6ICH4PZY.cjs} +8 -8
- package/dist/{chunk-N6HISTTP.cjs.map → chunk-6ICH4PZY.cjs.map} +1 -1
- package/dist/{chunk-TE2PWB67.js → chunk-6IR53OXN.js} +3 -3
- package/dist/{chunk-TE2PWB67.js.map → chunk-6IR53OXN.js.map} +1 -1
- package/dist/{chunk-LXNZK6NM.cjs → chunk-6PJXFSA6.cjs} +51 -51
- package/dist/{chunk-LXNZK6NM.cjs.map → chunk-6PJXFSA6.cjs.map} +1 -1
- package/dist/{chunk-64YJOWH2.cjs → chunk-72W42JL4.cjs} +5 -5
- package/dist/{chunk-64YJOWH2.cjs.map → chunk-72W42JL4.cjs.map} +1 -1
- package/dist/{chunk-UOBKNRHM.cjs → chunk-7MXANTMR.cjs} +7 -7
- package/dist/{chunk-UOBKNRHM.cjs.map → chunk-7MXANTMR.cjs.map} +1 -1
- package/dist/{chunk-RQNN75EV.js → chunk-7QLLMDX3.js} +4 -4
- package/dist/{chunk-RQNN75EV.js.map → chunk-7QLLMDX3.js.map} +1 -1
- package/dist/{chunk-2KDOM6QE.js → chunk-7UMTLDZF.js} +106 -4
- package/dist/chunk-7UMTLDZF.js.map +1 -0
- package/dist/{chunk-WEDFF5FH.js → chunk-7UYUFWJS.js} +42 -42
- package/dist/chunk-7UYUFWJS.js.map +1 -0
- package/dist/{chunk-VZNSMKB7.cjs → chunk-7Y6MST2S.cjs} +135 -133
- package/dist/chunk-7Y6MST2S.cjs.map +1 -0
- package/dist/{chunk-CSG535HL.cjs → chunk-AHKXIRNB.cjs} +67 -41
- package/dist/chunk-AHKXIRNB.cjs.map +1 -0
- package/dist/chunk-B3CHYE7C.js +549 -0
- package/dist/chunk-B3CHYE7C.js.map +1 -0
- package/dist/{chunk-XPF4VEXO.js → chunk-C45QKFMT.js} +18 -16
- package/dist/chunk-C45QKFMT.js.map +1 -0
- package/dist/{chunk-OJLXPTSL.cjs → chunk-CXWOBZOJ.cjs} +13 -13
- package/dist/{chunk-OJLXPTSL.cjs.map → chunk-CXWOBZOJ.cjs.map} +1 -1
- package/dist/{chunk-5HQXXBTM.js → chunk-DXZFPYNO.js} +3 -3
- package/dist/{chunk-5HQXXBTM.js.map → chunk-DXZFPYNO.js.map} +1 -1
- package/dist/{chunk-TWT64BVR.js → chunk-E55OUW7R.js} +44 -69
- package/dist/chunk-E55OUW7R.js.map +1 -0
- package/dist/{chunk-LOZT5NDU.cjs → chunk-E74QCKFN.cjs} +3 -3
- package/dist/{chunk-LOZT5NDU.cjs.map → chunk-E74QCKFN.cjs.map} +1 -1
- package/dist/{chunk-IT26WLSZ.js → chunk-EWN5J4RH.js} +6 -6
- package/dist/{chunk-IT26WLSZ.js.map → chunk-EWN5J4RH.js.map} +1 -1
- package/dist/chunk-F3HP5HM6.cjs +998 -0
- package/dist/chunk-F3HP5HM6.cjs.map +1 -0
- package/dist/{chunk-47U5QTGT.cjs → chunk-FST7LM2Z.cjs} +76 -29
- package/dist/chunk-FST7LM2Z.cjs.map +1 -0
- package/dist/{chunk-MTKGUIFX.js → chunk-GCR6GN77.js} +4 -4
- package/dist/{chunk-MTKGUIFX.js.map → chunk-GCR6GN77.js.map} +1 -1
- package/dist/{chunk-ANXKF4TA.cjs → chunk-HN23LS75.cjs} +108 -108
- package/dist/chunk-HN23LS75.cjs.map +1 -0
- package/dist/{chunk-EQ27BVOT.js → chunk-IJFWBMHN.js} +3 -3
- package/dist/{chunk-EQ27BVOT.js.map → chunk-IJFWBMHN.js.map} +1 -1
- package/dist/{chunk-UOC4K3RU.js → chunk-JOUPK2UV.js} +3 -3
- package/dist/{chunk-UOC4K3RU.js.map → chunk-JOUPK2UV.js.map} +1 -1
- package/dist/{chunk-IYEGDP3G.js → chunk-M7DF3D2M.js} +3 -3
- package/dist/{chunk-IYEGDP3G.js.map → chunk-M7DF3D2M.js.map} +1 -1
- package/dist/{chunk-KSQVYDDO.cjs → chunk-OAWMKZCM.cjs} +4 -4
- package/dist/{chunk-KSQVYDDO.cjs.map → chunk-OAWMKZCM.cjs.map} +1 -1
- package/dist/{chunk-CYLX5SJ4.js → chunk-PX7NE2KG.js} +4 -4
- package/dist/{chunk-CYLX5SJ4.js.map → chunk-PX7NE2KG.js.map} +1 -1
- package/dist/{chunk-2HM5SQM5.js → chunk-Q3JFNANT.js} +3 -3
- package/dist/{chunk-2HM5SQM5.js.map → chunk-Q3JFNANT.js.map} +1 -1
- package/dist/{chunk-EKS524LA.js → chunk-QJD675UA.js} +76 -29
- package/dist/chunk-QJD675UA.js.map +1 -0
- package/dist/{chunk-WMS63TTU.cjs → chunk-T3X7ZXVR.cjs} +140 -36
- package/dist/chunk-T3X7ZXVR.cjs.map +1 -0
- package/dist/{chunk-4KNRG3KO.cjs → chunk-TFJZGWXX.cjs} +7 -7
- package/dist/{chunk-4KNRG3KO.cjs.map → chunk-TFJZGWXX.cjs.map} +1 -1
- package/dist/chunk-TLLV2JP5.js +983 -0
- package/dist/chunk-TLLV2JP5.js.map +1 -0
- package/dist/chunk-TTJ3DYZH.cjs +557 -0
- package/dist/chunk-TTJ3DYZH.cjs.map +1 -0
- package/dist/{chunk-R7EB3VDI.cjs → chunk-VZV7DUW7.cjs} +4 -4
- package/dist/{chunk-R7EB3VDI.cjs.map → chunk-VZV7DUW7.cjs.map} +1 -1
- package/dist/{chunk-GAS277DM.cjs → chunk-WLDDOYXP.cjs} +7 -7
- package/dist/{chunk-GAS277DM.cjs.map → chunk-WLDDOYXP.cjs.map} +1 -1
- package/dist/{chunk-Y3OQTZDN.js → chunk-WN62DURP.js} +37 -11
- package/dist/chunk-WN62DURP.js.map +1 -0
- package/dist/{chunk-QEM5P746.cjs → chunk-XUFBFMUU.cjs} +67 -92
- package/dist/chunk-XUFBFMUU.cjs.map +1 -0
- package/dist/{chunk-BK2PRWVJ.cjs → chunk-Y5LNMKEY.cjs} +5 -5
- package/dist/{chunk-BK2PRWVJ.cjs.map → chunk-Y5LNMKEY.cjs.map} +1 -1
- package/dist/{chunk-OJRAH5VV.js → chunk-YARY4I5U.js} +18 -3
- package/dist/chunk-YARY4I5U.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/{observational-memory-HAJ3K5JJ-RB4HNAIV.cjs → observational-memory-IP2RVQQG-5IHDRYAB.cjs} +26 -26
- package/dist/{observational-memory-HAJ3K5JJ-RB4HNAIV.cjs.map → observational-memory-IP2RVQQG-5IHDRYAB.cjs.map} +1 -1
- package/dist/{observational-memory-HAJ3K5JJ-J2PZI56J.js → observational-memory-IP2RVQQG-DIZILT73.js} +3 -3
- package/dist/{observational-memory-HAJ3K5JJ-J2PZI56J.js.map → observational-memory-IP2RVQQG-DIZILT73.js.map} +1 -1
- package/dist/server/auth/index.cjs +15 -15
- package/dist/server/auth/index.js +1 -1
- package/dist/server/constants.d.ts +5 -0
- package/dist/server/constants.d.ts.map +1 -1
- package/dist/server/handlers/a2a.cjs +14 -14
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -16
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +39 -39
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/auth.cjs +11 -11
- package/dist/server/handlers/auth.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +27 -27
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/responses.adapter.cjs +18 -14
- package/dist/server/handlers/responses.adapter.d.ts +96 -2
- package/dist/server/handlers/responses.adapter.d.ts.map +1 -1
- package/dist/server/handlers/responses.adapter.js +1 -1
- package/dist/server/handlers/responses.cjs +4 -4
- package/dist/server/handlers/responses.d.ts.map +1 -1
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/responses.storage.cjs +8 -8
- package/dist/server/handlers/responses.storage.d.ts +4 -2
- package/dist/server/handlers/responses.storage.d.ts.map +1 -1
- package/dist/server/handlers/responses.storage.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +10 -10
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +32 -24
- package/dist/server/handlers/workflows.d.ts +83 -0
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +22 -22
- package/dist/server/handlers.js +11 -11
- package/dist/server/server-adapter/index.cjs +43 -16
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +5 -1
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +15 -7
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/routes/workflows.d.ts +66 -1
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/chunk-2KDOM6QE.js.map +0 -1
- package/dist/chunk-47U5QTGT.cjs.map +0 -1
- package/dist/chunk-AJYJ4H7P.js +0 -438
- package/dist/chunk-AJYJ4H7P.js.map +0 -1
- package/dist/chunk-ANXKF4TA.cjs.map +0 -1
- package/dist/chunk-CSG535HL.cjs.map +0 -1
- package/dist/chunk-DFSUBEGE.js +0 -226
- package/dist/chunk-DFSUBEGE.js.map +0 -1
- package/dist/chunk-EFW6MWXU.cjs.map +0 -1
- package/dist/chunk-EKS524LA.js.map +0 -1
- package/dist/chunk-OJ72T77G.cjs +0 -452
- package/dist/chunk-OJ72T77G.cjs.map +0 -1
- package/dist/chunk-OJRAH5VV.js.map +0 -1
- package/dist/chunk-PJYQMPXT.cjs +0 -234
- package/dist/chunk-PJYQMPXT.cjs.map +0 -1
- package/dist/chunk-QEM5P746.cjs.map +0 -1
- package/dist/chunk-TWT64BVR.js.map +0 -1
- package/dist/chunk-VZNSMKB7.cjs.map +0 -1
- package/dist/chunk-WEDFF5FH.js.map +0 -1
- package/dist/chunk-WMS63TTU.cjs.map +0 -1
- package/dist/chunk-XPF4VEXO.js.map +0 -1
- package/dist/chunk-Y3OQTZDN.js.map +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkTF7NSMHW_cjs = require('./chunk-TF7NSMHW.cjs');
|
|
4
4
|
var chunk4QZCXU3A_cjs = require('./chunk-4QZCXU3A.cjs');
|
|
5
5
|
var chunkBGRKLLHE_cjs = require('./chunk-BGRKLLHE.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk72W42JL4_cjs = require('./chunk-72W42JL4.cjs');
|
|
7
7
|
var chunkL4M23OMB_cjs = require('./chunk-L4M23OMB.cjs');
|
|
8
8
|
var chunkDIG2K5CV_cjs = require('./chunk-DIG2K5CV.cjs');
|
|
9
9
|
var chunkHYYXUP35_cjs = require('./chunk-HYYXUP35.cjs');
|
|
@@ -19,12 +19,14 @@ chunkO7I5CWRX_cjs.__export(workflows_exports, {
|
|
|
19
19
|
CANCEL_WORKFLOW_RUN_ROUTE: () => CANCEL_WORKFLOW_RUN_ROUTE,
|
|
20
20
|
CREATE_WORKFLOW_RUN_ROUTE: () => CREATE_WORKFLOW_RUN_ROUTE,
|
|
21
21
|
DELETE_WORKFLOW_RUN_BY_ID_ROUTE: () => DELETE_WORKFLOW_RUN_BY_ID_ROUTE,
|
|
22
|
+
EXECUTE_WORKFLOW_STEP_ROUTE: () => EXECUTE_WORKFLOW_STEP_ROUTE,
|
|
22
23
|
GET_WORKFLOW_BY_ID_ROUTE: () => GET_WORKFLOW_BY_ID_ROUTE,
|
|
23
24
|
GET_WORKFLOW_RUN_BY_ID_ROUTE: () => GET_WORKFLOW_RUN_BY_ID_ROUTE,
|
|
24
25
|
LIST_WORKFLOWS_ROUTE: () => LIST_WORKFLOWS_ROUTE,
|
|
25
26
|
LIST_WORKFLOW_RUNS_ROUTE: () => LIST_WORKFLOW_RUNS_ROUTE,
|
|
26
27
|
OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: () => OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE,
|
|
27
28
|
OBSERVE_STREAM_WORKFLOW_ROUTE: () => OBSERVE_STREAM_WORKFLOW_ROUTE,
|
|
29
|
+
RECEIVE_WORKFLOW_EVENT_ROUTE: () => RECEIVE_WORKFLOW_EVENT_ROUTE,
|
|
28
30
|
RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE: () => RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE,
|
|
29
31
|
RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE: () => RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE,
|
|
30
32
|
RESTART_ASYNC_WORKFLOW_ROUTE: () => RESTART_ASYNC_WORKFLOW_ROUTE,
|
|
@@ -170,7 +172,7 @@ var LIST_WORKFLOW_RUNS_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
170
172
|
requestContext
|
|
171
173
|
}) => {
|
|
172
174
|
try {
|
|
173
|
-
const effectiveResourceId =
|
|
175
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, resourceId);
|
|
174
176
|
if (!workflowId) {
|
|
175
177
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
176
178
|
}
|
|
@@ -222,7 +224,7 @@ var GET_WORKFLOW_RUN_BY_ID_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
222
224
|
requiresAuth: true,
|
|
223
225
|
handler: async ({ mastra, workflowId, runId, fields, withNestedWorkflows, requestContext }) => {
|
|
224
226
|
try {
|
|
225
|
-
const effectiveResourceId =
|
|
227
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
226
228
|
if (!workflowId) {
|
|
227
229
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
228
230
|
}
|
|
@@ -242,7 +244,7 @@ var GET_WORKFLOW_RUN_BY_ID_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
242
244
|
if (!run) {
|
|
243
245
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
244
246
|
}
|
|
245
|
-
await
|
|
247
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
246
248
|
return run;
|
|
247
249
|
} catch (error) {
|
|
248
250
|
return chunkB34S64RC_cjs.handleError(error, "Error getting workflow run");
|
|
@@ -261,7 +263,7 @@ var DELETE_WORKFLOW_RUN_BY_ID_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
261
263
|
requiresAuth: true,
|
|
262
264
|
handler: async ({ mastra, workflowId, runId, requestContext }) => {
|
|
263
265
|
try {
|
|
264
|
-
const effectiveResourceId =
|
|
266
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
265
267
|
if (!workflowId) {
|
|
266
268
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
267
269
|
}
|
|
@@ -276,7 +278,7 @@ var DELETE_WORKFLOW_RUN_BY_ID_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
276
278
|
if (!run) {
|
|
277
279
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
278
280
|
}
|
|
279
|
-
await
|
|
281
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
280
282
|
await workflow.deleteWorkflowRunById(runId);
|
|
281
283
|
return { message: "Workflow run deleted" };
|
|
282
284
|
} catch (error) {
|
|
@@ -298,7 +300,7 @@ var CREATE_WORKFLOW_RUN_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
298
300
|
requiresAuth: true,
|
|
299
301
|
handler: async ({ mastra, workflowId, runId, resourceId, disableScorers, requestContext }) => {
|
|
300
302
|
try {
|
|
301
|
-
const effectiveResourceId =
|
|
303
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, resourceId);
|
|
302
304
|
if (!workflowId) {
|
|
303
305
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
304
306
|
}
|
|
@@ -326,7 +328,7 @@ var STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
326
328
|
requiresAuth: true,
|
|
327
329
|
handler: async ({ mastra, workflowId, runId, resourceId, requestContext, ...params }) => {
|
|
328
330
|
try {
|
|
329
|
-
const effectiveResourceId =
|
|
331
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, resourceId);
|
|
330
332
|
if (!workflowId) {
|
|
331
333
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
332
334
|
}
|
|
@@ -367,7 +369,7 @@ var RESUME_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
367
369
|
requiresAuth: true,
|
|
368
370
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
369
371
|
try {
|
|
370
|
-
const effectiveResourceId =
|
|
372
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
371
373
|
if (!workflowId) {
|
|
372
374
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
373
375
|
}
|
|
@@ -382,7 +384,7 @@ var RESUME_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
382
384
|
if (!run) {
|
|
383
385
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
384
386
|
}
|
|
385
|
-
await
|
|
387
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
386
388
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
387
389
|
const serverCache = mastra.getServerCache();
|
|
388
390
|
const resumeResult = _run.resumeStream({ ...params, requestContext });
|
|
@@ -413,7 +415,7 @@ var START_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
413
415
|
requiresAuth: true,
|
|
414
416
|
handler: async ({ mastra, workflowId, runId, resourceId, requestContext, ...params }) => {
|
|
415
417
|
try {
|
|
416
|
-
const effectiveResourceId =
|
|
418
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, resourceId);
|
|
417
419
|
if (!workflowId) {
|
|
418
420
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
419
421
|
}
|
|
@@ -443,7 +445,7 @@ var START_WORKFLOW_RUN_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
443
445
|
requiresAuth: true,
|
|
444
446
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
445
447
|
try {
|
|
446
|
-
const effectiveResourceId =
|
|
448
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
447
449
|
if (!workflowId) {
|
|
448
450
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
449
451
|
}
|
|
@@ -458,7 +460,7 @@ var START_WORKFLOW_RUN_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
458
460
|
if (!run) {
|
|
459
461
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
460
462
|
}
|
|
461
|
-
await
|
|
463
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
462
464
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
463
465
|
void _run.start({
|
|
464
466
|
...params,
|
|
@@ -483,7 +485,7 @@ var OBSERVE_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
483
485
|
requiresAuth: true,
|
|
484
486
|
handler: async ({ mastra, workflowId, runId, offset, requestContext }) => {
|
|
485
487
|
try {
|
|
486
|
-
const effectiveResourceId =
|
|
488
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
487
489
|
if (!workflowId) {
|
|
488
490
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
489
491
|
}
|
|
@@ -498,7 +500,7 @@ var OBSERVE_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
498
500
|
if (!run) {
|
|
499
501
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
500
502
|
}
|
|
501
|
-
await
|
|
503
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
502
504
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
503
505
|
const serverCache = mastra.getServerCache();
|
|
504
506
|
if (!serverCache) {
|
|
@@ -530,7 +532,7 @@ var RESUME_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
530
532
|
requiresAuth: true,
|
|
531
533
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
532
534
|
try {
|
|
533
|
-
const effectiveResourceId =
|
|
535
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
534
536
|
if (!workflowId) {
|
|
535
537
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
536
538
|
}
|
|
@@ -545,7 +547,7 @@ var RESUME_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
545
547
|
if (!run) {
|
|
546
548
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
547
549
|
}
|
|
548
|
-
await
|
|
550
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
549
551
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
550
552
|
const result = await _run.resume({ ...params, requestContext });
|
|
551
553
|
return result;
|
|
@@ -568,7 +570,7 @@ var RESUME_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
568
570
|
requiresAuth: true,
|
|
569
571
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
570
572
|
try {
|
|
571
|
-
const effectiveResourceId =
|
|
573
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
572
574
|
if (!workflowId) {
|
|
573
575
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
574
576
|
}
|
|
@@ -583,7 +585,7 @@ var RESUME_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
583
585
|
if (!run) {
|
|
584
586
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
585
587
|
}
|
|
586
|
-
await
|
|
588
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
587
589
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
588
590
|
void _run.resume({ ...params, requestContext });
|
|
589
591
|
return { message: "Workflow run resumed" };
|
|
@@ -606,7 +608,7 @@ var RESTART_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
606
608
|
requiresAuth: true,
|
|
607
609
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
608
610
|
try {
|
|
609
|
-
const effectiveResourceId =
|
|
611
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
610
612
|
if (!workflowId) {
|
|
611
613
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
612
614
|
}
|
|
@@ -621,7 +623,7 @@ var RESTART_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
621
623
|
if (!run) {
|
|
622
624
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
623
625
|
}
|
|
624
|
-
await
|
|
626
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
625
627
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
626
628
|
const result = await _run.restart({ ...params, requestContext });
|
|
627
629
|
return result;
|
|
@@ -644,7 +646,7 @@ var RESTART_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
644
646
|
requiresAuth: true,
|
|
645
647
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
646
648
|
try {
|
|
647
|
-
const effectiveResourceId =
|
|
649
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
648
650
|
if (!workflowId) {
|
|
649
651
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
650
652
|
}
|
|
@@ -659,7 +661,7 @@ var RESTART_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
659
661
|
if (!run) {
|
|
660
662
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
661
663
|
}
|
|
662
|
-
await
|
|
664
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
663
665
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
664
666
|
void _run.restart({ ...params, requestContext });
|
|
665
667
|
return { message: "Workflow run restarted" };
|
|
@@ -734,7 +736,7 @@ var TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
734
736
|
requiresAuth: true,
|
|
735
737
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
736
738
|
try {
|
|
737
|
-
const effectiveResourceId =
|
|
739
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
738
740
|
if (!workflowId) {
|
|
739
741
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
740
742
|
}
|
|
@@ -749,7 +751,7 @@ var TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
749
751
|
if (!run) {
|
|
750
752
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
751
753
|
}
|
|
752
|
-
await
|
|
754
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
753
755
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
754
756
|
const result = await _run.timeTravel({ ...params, requestContext });
|
|
755
757
|
return result;
|
|
@@ -772,7 +774,7 @@ var TIME_TRAVEL_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
772
774
|
requiresAuth: true,
|
|
773
775
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
774
776
|
try {
|
|
775
|
-
const effectiveResourceId =
|
|
777
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
776
778
|
if (!workflowId) {
|
|
777
779
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
778
780
|
}
|
|
@@ -787,7 +789,7 @@ var TIME_TRAVEL_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
787
789
|
if (!run) {
|
|
788
790
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
789
791
|
}
|
|
790
|
-
await
|
|
792
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
791
793
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
792
794
|
void _run.timeTravel({ ...params, requestContext });
|
|
793
795
|
return { message: "Workflow run time travel started" };
|
|
@@ -809,7 +811,7 @@ var TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
809
811
|
requiresAuth: true,
|
|
810
812
|
handler: async ({ mastra, workflowId, runId, requestContext, ...params }) => {
|
|
811
813
|
try {
|
|
812
|
-
const effectiveResourceId =
|
|
814
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
813
815
|
if (!workflowId) {
|
|
814
816
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
815
817
|
}
|
|
@@ -824,7 +826,7 @@ var TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
824
826
|
if (!existingRun) {
|
|
825
827
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
826
828
|
}
|
|
827
|
-
await
|
|
829
|
+
await chunk72W42JL4_cjs.validateRunOwnership(existingRun, effectiveResourceId);
|
|
828
830
|
const serverCache = mastra.getServerCache();
|
|
829
831
|
const run = await workflow.createRun({ runId, resourceId: existingRun.resourceId });
|
|
830
832
|
const result = run.timeTravelStream({ ...params, requestContext });
|
|
@@ -853,7 +855,7 @@ var CANCEL_WORKFLOW_RUN_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
853
855
|
requiresAuth: true,
|
|
854
856
|
handler: async ({ mastra, workflowId, runId, requestContext }) => {
|
|
855
857
|
try {
|
|
856
|
-
const effectiveResourceId =
|
|
858
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
857
859
|
if (!workflowId) {
|
|
858
860
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
859
861
|
}
|
|
@@ -868,7 +870,7 @@ var CANCEL_WORKFLOW_RUN_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
868
870
|
if (!run) {
|
|
869
871
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
870
872
|
}
|
|
871
|
-
await
|
|
873
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
872
874
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
873
875
|
await _run.cancel();
|
|
874
876
|
return { message: "Workflow run cancelled" };
|
|
@@ -891,7 +893,7 @@ var STREAM_LEGACY_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
891
893
|
requiresAuth: true,
|
|
892
894
|
handler: async ({ mastra, workflowId, runId, resourceId, requestContext, ...params }) => {
|
|
893
895
|
try {
|
|
894
|
-
const effectiveResourceId =
|
|
896
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, resourceId);
|
|
895
897
|
if (!workflowId) {
|
|
896
898
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
897
899
|
}
|
|
@@ -933,7 +935,7 @@ var OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
933
935
|
requiresAuth: true,
|
|
934
936
|
handler: async ({ mastra, workflowId, runId, requestContext }) => {
|
|
935
937
|
try {
|
|
936
|
-
const effectiveResourceId =
|
|
938
|
+
const effectiveResourceId = chunk72W42JL4_cjs.getEffectiveResourceId(requestContext, void 0);
|
|
937
939
|
if (!workflowId) {
|
|
938
940
|
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
939
941
|
}
|
|
@@ -948,7 +950,7 @@ var OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
948
950
|
if (!run) {
|
|
949
951
|
throw new chunk64ITUOXI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
950
952
|
}
|
|
951
|
-
await
|
|
953
|
+
await chunk72W42JL4_cjs.validateRunOwnership(run, effectiveResourceId);
|
|
952
954
|
const _run = await workflow.createRun({ runId, resourceId: run.resourceId });
|
|
953
955
|
const serverCache = mastra.getServerCache();
|
|
954
956
|
if (!serverCache) {
|
|
@@ -968,16 +970,118 @@ var OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
|
968
970
|
}
|
|
969
971
|
}
|
|
970
972
|
});
|
|
973
|
+
var stepExecutionBodySchema = v4.z.object({
|
|
974
|
+
stepId: v4.z.string(),
|
|
975
|
+
executionPath: v4.z.array(v4.z.number().int().nonnegative()),
|
|
976
|
+
stepResults: v4.z.record(v4.z.string(), v4.z.any()),
|
|
977
|
+
state: v4.z.record(v4.z.string(), v4.z.any()),
|
|
978
|
+
requestContext: v4.z.record(v4.z.string(), v4.z.any()),
|
|
979
|
+
input: v4.z.any().optional(),
|
|
980
|
+
resumeData: v4.z.any().optional(),
|
|
981
|
+
retryCount: v4.z.number().int().nonnegative().optional(),
|
|
982
|
+
foreachIdx: v4.z.number().int().nonnegative().optional(),
|
|
983
|
+
format: v4.z.enum(["legacy", "vnext"]).optional(),
|
|
984
|
+
perStep: v4.z.boolean().optional(),
|
|
985
|
+
validateInputs: v4.z.boolean().optional()
|
|
986
|
+
});
|
|
987
|
+
var strategyByMastra = /* @__PURE__ */ new WeakMap();
|
|
988
|
+
async function getStepStrategy(mastra) {
|
|
989
|
+
let cached = strategyByMastra.get(mastra);
|
|
990
|
+
if (!cached) {
|
|
991
|
+
const { InProcessStrategy } = await import('@mastra/core/worker');
|
|
992
|
+
cached = new InProcessStrategy({ mastra });
|
|
993
|
+
strategyByMastra.set(mastra, cached);
|
|
994
|
+
}
|
|
995
|
+
return cached;
|
|
996
|
+
}
|
|
997
|
+
var stepExecutionResponseSchema = v4.z.any();
|
|
998
|
+
var EXECUTE_WORKFLOW_STEP_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
999
|
+
method: "POST",
|
|
1000
|
+
path: "/workflows/:workflowId/runs/:runId/steps/execute",
|
|
1001
|
+
responseType: "json",
|
|
1002
|
+
pathParamSchema: chunkTF7NSMHW_cjs.workflowRunPathParams,
|
|
1003
|
+
bodySchema: stepExecutionBodySchema,
|
|
1004
|
+
responseSchema: stepExecutionResponseSchema,
|
|
1005
|
+
summary: "Execute a workflow step",
|
|
1006
|
+
description: "Internal endpoint used by standalone OrchestrationWorker instances to execute workflow steps remotely via HttpRemoteStrategy.",
|
|
1007
|
+
tags: ["Workflows", "Worker"],
|
|
1008
|
+
requiresAuth: true,
|
|
1009
|
+
handler: (async ({ mastra, workflowId, runId, ...body }) => {
|
|
1010
|
+
try {
|
|
1011
|
+
const strategy = await getStepStrategy(mastra);
|
|
1012
|
+
const result = await strategy.executeStep({
|
|
1013
|
+
workflowId,
|
|
1014
|
+
runId,
|
|
1015
|
+
stepId: body.stepId,
|
|
1016
|
+
executionPath: body.executionPath,
|
|
1017
|
+
stepResults: body.stepResults,
|
|
1018
|
+
state: body.state,
|
|
1019
|
+
requestContext: body.requestContext,
|
|
1020
|
+
input: body.input,
|
|
1021
|
+
resumeData: body.resumeData,
|
|
1022
|
+
retryCount: body.retryCount,
|
|
1023
|
+
foreachIdx: body.foreachIdx,
|
|
1024
|
+
format: body.format,
|
|
1025
|
+
perStep: body.perStep,
|
|
1026
|
+
validateInputs: body.validateInputs
|
|
1027
|
+
});
|
|
1028
|
+
return result;
|
|
1029
|
+
} catch (error) {
|
|
1030
|
+
return chunkB34S64RC_cjs.handleError(error, "Error executing workflow step");
|
|
1031
|
+
}
|
|
1032
|
+
})
|
|
1033
|
+
});
|
|
1034
|
+
var workflowEventSchema = v4.z.object({
|
|
1035
|
+
id: v4.z.string(),
|
|
1036
|
+
type: v4.z.string(),
|
|
1037
|
+
data: v4.z.unknown(),
|
|
1038
|
+
runId: v4.z.string(),
|
|
1039
|
+
createdAt: v4.z.string(),
|
|
1040
|
+
index: v4.z.number().optional(),
|
|
1041
|
+
deliveryAttempt: v4.z.number().optional()
|
|
1042
|
+
});
|
|
1043
|
+
var receiveWorkflowEventBodySchema = v4.z.object({
|
|
1044
|
+
event: workflowEventSchema.passthrough()
|
|
1045
|
+
});
|
|
1046
|
+
var receiveWorkflowEventResponseSchema = v4.z.object({
|
|
1047
|
+
ok: v4.z.boolean(),
|
|
1048
|
+
retry: v4.z.boolean().optional()
|
|
1049
|
+
});
|
|
1050
|
+
var RECEIVE_WORKFLOW_EVENT_ROUTE = chunkHYYXUP35_cjs.createRoute({
|
|
1051
|
+
method: "POST",
|
|
1052
|
+
path: "/workflows/events",
|
|
1053
|
+
responseType: "json",
|
|
1054
|
+
bodySchema: receiveWorkflowEventBodySchema,
|
|
1055
|
+
responseSchema: receiveWorkflowEventResponseSchema,
|
|
1056
|
+
summary: "Receive a workflow event from a push-mode broker",
|
|
1057
|
+
description: "Push-mode entry point for workflow events. Brokers (GCP Pub/Sub push, SNS, EventBridge) POST each event here; Mastra processes it through the same pipeline as pull-mode workers.",
|
|
1058
|
+
tags: ["Workflows", "Worker"],
|
|
1059
|
+
requiresAuth: true,
|
|
1060
|
+
handler: (async ({ mastra, event }) => {
|
|
1061
|
+
try {
|
|
1062
|
+
const rawCreatedAt = event.createdAt;
|
|
1063
|
+
const createdAt = rawCreatedAt instanceof Date ? rawCreatedAt : new Date(rawCreatedAt);
|
|
1064
|
+
if (Number.isNaN(createdAt.getTime())) {
|
|
1065
|
+
throw new chunk64ITUOXI_cjs.HTTPException(400, { message: "Invalid createdAt" });
|
|
1066
|
+
}
|
|
1067
|
+
return await mastra.handleWorkflowEvent({ ...event, createdAt });
|
|
1068
|
+
} catch (error) {
|
|
1069
|
+
return chunkB34S64RC_cjs.handleError(error, "Error receiving workflow event");
|
|
1070
|
+
}
|
|
1071
|
+
})
|
|
1072
|
+
});
|
|
971
1073
|
|
|
972
1074
|
exports.CANCEL_WORKFLOW_RUN_ROUTE = CANCEL_WORKFLOW_RUN_ROUTE;
|
|
973
1075
|
exports.CREATE_WORKFLOW_RUN_ROUTE = CREATE_WORKFLOW_RUN_ROUTE;
|
|
974
1076
|
exports.DELETE_WORKFLOW_RUN_BY_ID_ROUTE = DELETE_WORKFLOW_RUN_BY_ID_ROUTE;
|
|
1077
|
+
exports.EXECUTE_WORKFLOW_STEP_ROUTE = EXECUTE_WORKFLOW_STEP_ROUTE;
|
|
975
1078
|
exports.GET_WORKFLOW_BY_ID_ROUTE = GET_WORKFLOW_BY_ID_ROUTE;
|
|
976
1079
|
exports.GET_WORKFLOW_RUN_BY_ID_ROUTE = GET_WORKFLOW_RUN_BY_ID_ROUTE;
|
|
977
1080
|
exports.LIST_WORKFLOWS_ROUTE = LIST_WORKFLOWS_ROUTE;
|
|
978
1081
|
exports.LIST_WORKFLOW_RUNS_ROUTE = LIST_WORKFLOW_RUNS_ROUTE;
|
|
979
1082
|
exports.OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE;
|
|
980
1083
|
exports.OBSERVE_STREAM_WORKFLOW_ROUTE = OBSERVE_STREAM_WORKFLOW_ROUTE;
|
|
1084
|
+
exports.RECEIVE_WORKFLOW_EVENT_ROUTE = RECEIVE_WORKFLOW_EVENT_ROUTE;
|
|
981
1085
|
exports.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE = RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE;
|
|
982
1086
|
exports.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE = RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE;
|
|
983
1087
|
exports.RESTART_ASYNC_WORKFLOW_ROUTE = RESTART_ASYNC_WORKFLOW_ROUTE;
|
|
@@ -993,5 +1097,5 @@ exports.TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE;
|
|
|
993
1097
|
exports.TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = TIME_TRAVEL_STREAM_WORKFLOW_ROUTE;
|
|
994
1098
|
exports.TIME_TRAVEL_WORKFLOW_ROUTE = TIME_TRAVEL_WORKFLOW_ROUTE;
|
|
995
1099
|
exports.workflows_exports = workflows_exports;
|
|
996
|
-
//# sourceMappingURL=chunk-
|
|
997
|
-
//# sourceMappingURL=chunk-
|
|
1100
|
+
//# sourceMappingURL=chunk-T3X7ZXVR.cjs.map
|
|
1101
|
+
//# sourceMappingURL=chunk-T3X7ZXVR.cjs.map
|