@mastra/server 1.47.0-alpha.2 → 1.47.0-alpha.3
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 +91 -0
- package/dist/{api-schema-manifest-YB7LBQHE.js → api-schema-manifest-OQOZ53HZ.js} +3 -3
- package/dist/{api-schema-manifest-YB7LBQHE.js.map → api-schema-manifest-OQOZ53HZ.js.map} +1 -1
- package/dist/{api-schema-manifest-UURVUNXQ.cjs → api-schema-manifest-SYCCXMOC.cjs} +4 -4
- package/dist/{api-schema-manifest-UURVUNXQ.cjs.map → api-schema-manifest-SYCCXMOC.cjs.map} +1 -1
- package/dist/{chunk-PWU43QJA.js → chunk-3WE5YAL5.js} +100 -22
- package/dist/chunk-3WE5YAL5.js.map +1 -0
- package/dist/{chunk-USOMBGLF.cjs → chunk-4LQSGGSH.cjs} +100 -22
- package/dist/chunk-4LQSGGSH.cjs.map +1 -0
- package/dist/{chunk-AAA3TYIM.js → chunk-6SZGOLAP.js} +3 -3
- package/dist/{chunk-AAA3TYIM.js.map → chunk-6SZGOLAP.js.map} +1 -1
- package/dist/{chunk-CZ5EDK57.cjs → chunk-ABKWQKXZ.cjs} +4 -3
- package/dist/chunk-ABKWQKXZ.cjs.map +1 -0
- package/dist/{chunk-BIYCTKL5.js → chunk-CIWN2JM4.js} +3 -3
- package/dist/{chunk-BIYCTKL5.js.map → chunk-CIWN2JM4.js.map} +1 -1
- package/dist/{chunk-U72IZ5BP.cjs → chunk-EQ7LRJEB.cjs} +62 -62
- package/dist/{chunk-U72IZ5BP.cjs.map → chunk-EQ7LRJEB.cjs.map} +1 -1
- package/dist/{chunk-WAIWLM6T.js → chunk-GLMV4AZT.js} +4 -3
- package/dist/chunk-GLMV4AZT.js.map +1 -0
- package/dist/{chunk-J3LTFYRY.js → chunk-K4HCNNHA.js} +4 -3
- package/dist/chunk-K4HCNNHA.js.map +1 -0
- package/dist/{chunk-6UL3DHZP.js → chunk-M43CP74T.js} +7 -7
- package/dist/{chunk-6UL3DHZP.js.map → chunk-M43CP74T.js.map} +1 -1
- package/dist/{chunk-L4V4FQDA.cjs → chunk-PSC3HAPW.cjs} +57 -57
- package/dist/{chunk-L4V4FQDA.cjs.map → chunk-PSC3HAPW.cjs.map} +1 -1
- package/dist/{chunk-XOGNYKAF.cjs → chunk-PTPMBE6M.cjs} +4 -3
- package/dist/chunk-PTPMBE6M.cjs.map +1 -0
- package/dist/{chunk-L56ROTL6.cjs → chunk-S6TNTR3A.cjs} +7 -7
- package/dist/{chunk-L56ROTL6.cjs.map → chunk-S6TNTR3A.cjs.map} +1 -1
- package/dist/{chunk-55YQXUOE.cjs → chunk-TCWIDHH6.cjs} +3 -3
- package/dist/{chunk-55YQXUOE.cjs.map → chunk-TCWIDHH6.cjs.map} +1 -1
- package/dist/{chunk-MIIC4RAA.cjs → chunk-TPZFGGU4.cjs} +89 -89
- package/dist/{chunk-MIIC4RAA.cjs.map → chunk-TPZFGGU4.cjs.map} +1 -1
- package/dist/{chunk-ILVGJFCT.js → chunk-UXO4GWPT.js} +5 -5
- package/dist/{chunk-ILVGJFCT.js.map → chunk-UXO4GWPT.js.map} +1 -1
- package/dist/{chunk-R7624SPL.js → chunk-XQ5INMFW.js} +3 -3
- package/dist/{chunk-R7624SPL.js.map → chunk-XQ5INMFW.js.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/agent-builder.cjs +17 -17
- package/dist/server/handlers/agent-builder.d.ts +8 -3
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/harness.cjs +35 -35
- package/dist/server/handlers/harness.d.ts +53 -0
- package/dist/server/handlers/harness.d.ts.map +1 -1
- package/dist/server/handlers/harness.js +1 -1
- package/dist/server/handlers/schedules.cjs +6 -6
- package/dist/server/handlers/schedules.d.ts +10 -5
- package/dist/server/handlers/schedules.d.ts.map +1 -1
- package/dist/server/handlers/schedules.js +1 -1
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/workflows.cjs +27 -27
- package/dist/server/handlers/workflows.d.ts +12 -5
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +4 -4
- package/dist/server/handlers.js +2 -2
- package/dist/server/schemas/index.cjs +18 -18
- package/dist/server/schemas/index.js +2 -2
- package/dist/server/schemas/schedules.d.ts +6 -0
- package/dist/server/schemas/schedules.d.ts.map +1 -1
- package/dist/server/schemas/workflows.d.ts +4 -0
- package/dist/server/schemas/workflows.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +13 -13
- package/dist/server/server-adapter/index.d.ts +1 -1
- package/dist/server/server-adapter/index.js +2 -2
- package/dist/server/server-adapter/routes/agent-builder.d.ts +8 -3
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/workflows.d.ts +12 -5
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-CZ5EDK57.cjs.map +0 -1
- package/dist/chunk-J3LTFYRY.js.map +0 -1
- package/dist/chunk-PWU43QJA.js.map +0 -1
- package/dist/chunk-USOMBGLF.cjs.map +0 -1
- package/dist/chunk-WAIWLM6T.js.map +0 -1
- package/dist/chunk-XOGNYKAF.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPTPMBE6M_cjs = require('./chunk-PTPMBE6M.cjs');
|
|
4
4
|
var chunkQQCQV7ZF_cjs = require('./chunk-QQCQV7ZF.cjs');
|
|
5
5
|
var chunkRVD3DGBZ_cjs = require('./chunk-RVD3DGBZ.cjs');
|
|
6
6
|
var chunkDIG2K5CV_cjs = require('./chunk-DIG2K5CV.cjs');
|
|
@@ -85,7 +85,7 @@ var LIST_WORKFLOWS_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
85
85
|
queryParamSchema: v4.z.object({
|
|
86
86
|
partial: v4.z.string().optional()
|
|
87
87
|
}),
|
|
88
|
-
responseSchema:
|
|
88
|
+
responseSchema: chunkPTPMBE6M_cjs.listWorkflowsResponseSchema,
|
|
89
89
|
summary: "List all workflows",
|
|
90
90
|
description: "Returns a list of all available workflows in the system",
|
|
91
91
|
tags: ["Workflows"],
|
|
@@ -128,8 +128,8 @@ var GET_WORKFLOW_BY_ID_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
128
128
|
method: "GET",
|
|
129
129
|
path: "/workflows/:workflowId",
|
|
130
130
|
responseType: "json",
|
|
131
|
-
pathParamSchema:
|
|
132
|
-
responseSchema:
|
|
131
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
132
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowInfoSchema,
|
|
133
133
|
summary: "Get workflow by ID",
|
|
134
134
|
description: "Returns details for a specific workflow",
|
|
135
135
|
tags: ["Workflows"],
|
|
@@ -150,9 +150,9 @@ var LIST_WORKFLOW_RUNS_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
150
150
|
method: "GET",
|
|
151
151
|
path: "/workflows/:workflowId/runs",
|
|
152
152
|
responseType: "json",
|
|
153
|
-
pathParamSchema:
|
|
154
|
-
queryParamSchema:
|
|
155
|
-
responseSchema:
|
|
153
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
154
|
+
queryParamSchema: chunkPTPMBE6M_cjs.listWorkflowRunsQuerySchema,
|
|
155
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowRunsResponseSchema,
|
|
156
156
|
summary: "List workflow runs",
|
|
157
157
|
description: "Returns a paginated list of execution runs for the specified workflow",
|
|
158
158
|
tags: ["Workflows"],
|
|
@@ -214,9 +214,9 @@ var GET_WORKFLOW_RUN_BY_ID_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
214
214
|
method: "GET",
|
|
215
215
|
path: "/workflows/:workflowId/runs/:runId",
|
|
216
216
|
responseType: "json",
|
|
217
|
-
pathParamSchema:
|
|
218
|
-
queryParamSchema:
|
|
219
|
-
responseSchema:
|
|
217
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowRunPathParams,
|
|
218
|
+
queryParamSchema: chunkPTPMBE6M_cjs.workflowRunResultQuerySchema,
|
|
219
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowRunResultSchema,
|
|
220
220
|
summary: "Get workflow run by ID",
|
|
221
221
|
description: "Returns a workflow run with metadata and processed execution state. Use the fields query parameter to reduce payload size by requesting only specific fields (e.g., ?fields=status,result,metadata)",
|
|
222
222
|
tags: ["Workflows"],
|
|
@@ -254,8 +254,8 @@ var DELETE_WORKFLOW_RUN_BY_ID_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
254
254
|
method: "DELETE",
|
|
255
255
|
path: "/workflows/:workflowId/runs/:runId",
|
|
256
256
|
responseType: "json",
|
|
257
|
-
pathParamSchema:
|
|
258
|
-
responseSchema:
|
|
257
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowRunPathParams,
|
|
258
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
259
259
|
summary: "Delete workflow run by ID",
|
|
260
260
|
description: "Deletes a specific workflow run by ID",
|
|
261
261
|
tags: ["Workflows"],
|
|
@@ -289,10 +289,10 @@ var CREATE_WORKFLOW_RUN_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
289
289
|
method: "POST",
|
|
290
290
|
path: "/workflows/:workflowId/create-run",
|
|
291
291
|
responseType: "json",
|
|
292
|
-
pathParamSchema:
|
|
292
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
293
293
|
queryParamSchema: chunkDIG2K5CV_cjs.optionalRunIdSchema,
|
|
294
|
-
bodySchema:
|
|
295
|
-
responseSchema:
|
|
294
|
+
bodySchema: chunkPTPMBE6M_cjs.createWorkflowRunBodySchema,
|
|
295
|
+
responseSchema: chunkPTPMBE6M_cjs.createWorkflowRunResponseSchema,
|
|
296
296
|
summary: "Create workflow run",
|
|
297
297
|
description: "Creates a new workflow execution instance with an optional custom run ID",
|
|
298
298
|
tags: ["Workflows"],
|
|
@@ -322,9 +322,9 @@ var STREAM_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
322
322
|
method: "POST",
|
|
323
323
|
path: "/workflows/:workflowId/stream",
|
|
324
324
|
responseType: "stream",
|
|
325
|
-
pathParamSchema:
|
|
325
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
326
326
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
327
|
-
bodySchema:
|
|
327
|
+
bodySchema: chunkPTPMBE6M_cjs.streamWorkflowBodySchema,
|
|
328
328
|
summary: "Stream workflow execution",
|
|
329
329
|
description: "Executes a workflow and streams the results in real-time",
|
|
330
330
|
tags: ["Workflows"],
|
|
@@ -362,9 +362,9 @@ var RESUME_STREAM_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
362
362
|
method: "POST",
|
|
363
363
|
path: "/workflows/:workflowId/resume-stream",
|
|
364
364
|
responseType: "stream",
|
|
365
|
-
pathParamSchema:
|
|
365
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
366
366
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
367
|
-
bodySchema:
|
|
367
|
+
bodySchema: chunkPTPMBE6M_cjs.resumeBodySchema,
|
|
368
368
|
responseSchema: chunkQQCQV7ZF_cjs.streamResponseSchema,
|
|
369
369
|
summary: "Resume workflow stream",
|
|
370
370
|
description: "Resumes a suspended workflow execution and continues streaming results",
|
|
@@ -408,10 +408,10 @@ var START_ASYNC_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
408
408
|
method: "POST",
|
|
409
409
|
path: "/workflows/:workflowId/start-async",
|
|
410
410
|
responseType: "json",
|
|
411
|
-
pathParamSchema:
|
|
411
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
412
412
|
queryParamSchema: chunkDIG2K5CV_cjs.optionalRunIdSchema,
|
|
413
|
-
bodySchema:
|
|
414
|
-
responseSchema:
|
|
413
|
+
bodySchema: chunkPTPMBE6M_cjs.startAsyncWorkflowBodySchema,
|
|
414
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowExecutionResultSchema,
|
|
415
415
|
summary: "Start workflow asynchronously",
|
|
416
416
|
description: "Starts a workflow execution asynchronously without streaming results",
|
|
417
417
|
tags: ["Workflows"],
|
|
@@ -438,10 +438,10 @@ var START_WORKFLOW_RUN_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
438
438
|
method: "POST",
|
|
439
439
|
path: "/workflows/:workflowId/start",
|
|
440
440
|
responseType: "json",
|
|
441
|
-
pathParamSchema:
|
|
441
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
442
442
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
443
|
-
bodySchema:
|
|
444
|
-
responseSchema:
|
|
443
|
+
bodySchema: chunkPTPMBE6M_cjs.startAsyncWorkflowBodySchema,
|
|
444
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
445
445
|
summary: "Start specific workflow run",
|
|
446
446
|
description: "Starts execution of a specific workflow run by ID",
|
|
447
447
|
tags: ["Workflows"],
|
|
@@ -479,8 +479,8 @@ var OBSERVE_STREAM_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
479
479
|
method: "POST",
|
|
480
480
|
path: "/workflows/:workflowId/observe",
|
|
481
481
|
responseType: "stream",
|
|
482
|
-
pathParamSchema:
|
|
483
|
-
queryParamSchema:
|
|
482
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
483
|
+
queryParamSchema: chunkPTPMBE6M_cjs.observeWorkflowQuerySchema,
|
|
484
484
|
responseSchema: chunkQQCQV7ZF_cjs.streamResponseSchema,
|
|
485
485
|
summary: "Observe workflow stream",
|
|
486
486
|
description: "Observes and streams updates from an already running workflow execution. Supports position-based resume with offset for efficient reconnection.",
|
|
@@ -525,10 +525,10 @@ var RESUME_ASYNC_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
525
525
|
method: "POST",
|
|
526
526
|
path: "/workflows/:workflowId/resume-async",
|
|
527
527
|
responseType: "json",
|
|
528
|
-
pathParamSchema:
|
|
528
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
529
529
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
530
|
-
bodySchema:
|
|
531
|
-
responseSchema:
|
|
530
|
+
bodySchema: chunkPTPMBE6M_cjs.resumeBodySchema,
|
|
531
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowExecutionResultSchema,
|
|
532
532
|
summary: "Resume workflow asynchronously",
|
|
533
533
|
description: "Resumes a suspended workflow execution asynchronously without streaming",
|
|
534
534
|
tags: ["Workflows"],
|
|
@@ -563,10 +563,10 @@ var RESUME_NO_WAIT_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
563
563
|
method: "POST",
|
|
564
564
|
path: "/workflows/:workflowId/resume-no-wait",
|
|
565
565
|
responseType: "json",
|
|
566
|
-
pathParamSchema:
|
|
566
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
567
567
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
568
|
-
bodySchema:
|
|
569
|
-
responseSchema:
|
|
568
|
+
bodySchema: chunkPTPMBE6M_cjs.resumeBodySchema,
|
|
569
|
+
responseSchema: chunkPTPMBE6M_cjs.createWorkflowRunResponseSchema,
|
|
570
570
|
summary: "Resume workflow without waiting",
|
|
571
571
|
description: "Resumes a suspended workflow execution without waiting (fire-and-forget) and returns immediately with the runId. The workflow continues executing in the background.",
|
|
572
572
|
tags: ["Workflows"],
|
|
@@ -601,10 +601,10 @@ var RESUME_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
601
601
|
method: "POST",
|
|
602
602
|
path: "/workflows/:workflowId/resume",
|
|
603
603
|
responseType: "json",
|
|
604
|
-
pathParamSchema:
|
|
604
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
605
605
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
606
|
-
bodySchema:
|
|
607
|
-
responseSchema:
|
|
606
|
+
bodySchema: chunkPTPMBE6M_cjs.resumeBodySchema,
|
|
607
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
608
608
|
summary: "Resume workflow",
|
|
609
609
|
description: "Resumes a suspended workflow execution from a specific step",
|
|
610
610
|
tags: ["Workflows"],
|
|
@@ -639,10 +639,10 @@ var RESTART_ASYNC_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
639
639
|
method: "POST",
|
|
640
640
|
path: "/workflows/:workflowId/restart-async",
|
|
641
641
|
responseType: "json",
|
|
642
|
-
pathParamSchema:
|
|
642
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
643
643
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
644
|
-
bodySchema:
|
|
645
|
-
responseSchema:
|
|
644
|
+
bodySchema: chunkPTPMBE6M_cjs.restartBodySchema,
|
|
645
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowExecutionResultSchema,
|
|
646
646
|
summary: "Restart workflow asynchronously",
|
|
647
647
|
description: "Restarts an active workflow execution asynchronously",
|
|
648
648
|
tags: ["Workflows"],
|
|
@@ -677,10 +677,10 @@ var RESTART_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
677
677
|
method: "POST",
|
|
678
678
|
path: "/workflows/:workflowId/restart",
|
|
679
679
|
responseType: "json",
|
|
680
|
-
pathParamSchema:
|
|
680
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
681
681
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
682
|
-
bodySchema:
|
|
683
|
-
responseSchema:
|
|
682
|
+
bodySchema: chunkPTPMBE6M_cjs.restartBodySchema,
|
|
683
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
684
684
|
summary: "Restart workflow",
|
|
685
685
|
description: "Restarts an active workflow execution",
|
|
686
686
|
tags: ["Workflows"],
|
|
@@ -715,8 +715,8 @@ var RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE = chunkG54X6VE6_cjs.createRoute
|
|
|
715
715
|
method: "POST",
|
|
716
716
|
path: "/workflows/:workflowId/restart-all-active-workflow-runs-async",
|
|
717
717
|
responseType: "json",
|
|
718
|
-
pathParamSchema:
|
|
719
|
-
responseSchema:
|
|
718
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
719
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
720
720
|
summary: "Restart all active workflow runs asynchronously",
|
|
721
721
|
description: "Restarts all active workflow runs asynchronously",
|
|
722
722
|
tags: ["Workflows"],
|
|
@@ -741,8 +741,8 @@ var RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
741
741
|
method: "POST",
|
|
742
742
|
path: "/workflows/:workflowId/restart-all-active-workflow-runs",
|
|
743
743
|
responseType: "json",
|
|
744
|
-
pathParamSchema:
|
|
745
|
-
responseSchema:
|
|
744
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
745
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
746
746
|
summary: "Restart all active workflow runs",
|
|
747
747
|
description: "Restarts all active workflow runs",
|
|
748
748
|
tags: ["Workflows"],
|
|
@@ -767,10 +767,10 @@ var TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
767
767
|
method: "POST",
|
|
768
768
|
path: "/workflows/:workflowId/time-travel-async",
|
|
769
769
|
responseType: "json",
|
|
770
|
-
pathParamSchema:
|
|
770
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
771
771
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
772
|
-
bodySchema:
|
|
773
|
-
responseSchema:
|
|
772
|
+
bodySchema: chunkPTPMBE6M_cjs.timeTravelBodySchema,
|
|
773
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowExecutionResultSchema,
|
|
774
774
|
summary: "Time travel workflow asynchronously",
|
|
775
775
|
description: "Time travels a workflow run asynchronously without streaming",
|
|
776
776
|
tags: ["Workflows"],
|
|
@@ -805,10 +805,10 @@ var TIME_TRAVEL_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
805
805
|
method: "POST",
|
|
806
806
|
path: "/workflows/:workflowId/time-travel",
|
|
807
807
|
responseType: "json",
|
|
808
|
-
pathParamSchema:
|
|
808
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
809
809
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
810
|
-
bodySchema:
|
|
811
|
-
responseSchema:
|
|
810
|
+
bodySchema: chunkPTPMBE6M_cjs.timeTravelBodySchema,
|
|
811
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
812
812
|
summary: "Time travel workflow",
|
|
813
813
|
description: "Time travels a workflow run, starting from a specific step",
|
|
814
814
|
tags: ["Workflows"],
|
|
@@ -843,9 +843,9 @@ var TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
843
843
|
method: "POST",
|
|
844
844
|
path: "/workflows/:workflowId/time-travel-stream",
|
|
845
845
|
responseType: "stream",
|
|
846
|
-
pathParamSchema:
|
|
846
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
847
847
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
848
|
-
bodySchema:
|
|
848
|
+
bodySchema: chunkPTPMBE6M_cjs.timeTravelBodySchema,
|
|
849
849
|
summary: "Time travel workflow stream",
|
|
850
850
|
description: "Time travels a workflow run, starting from a specific step, and streams the results in real-time",
|
|
851
851
|
tags: ["Workflows"],
|
|
@@ -888,8 +888,8 @@ var CANCEL_WORKFLOW_RUN_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
888
888
|
method: "POST",
|
|
889
889
|
path: "/workflows/:workflowId/runs/:runId/cancel",
|
|
890
890
|
responseType: "json",
|
|
891
|
-
pathParamSchema:
|
|
892
|
-
responseSchema:
|
|
891
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowRunPathParams,
|
|
892
|
+
responseSchema: chunkPTPMBE6M_cjs.workflowControlResponseSchema,
|
|
893
893
|
summary: "Cancel workflow run",
|
|
894
894
|
description: "Cancels an in-progress workflow execution",
|
|
895
895
|
tags: ["Workflows"],
|
|
@@ -924,9 +924,9 @@ var STREAM_LEGACY_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
924
924
|
method: "POST",
|
|
925
925
|
path: "/workflows/:workflowId/stream-legacy",
|
|
926
926
|
responseType: "stream",
|
|
927
|
-
pathParamSchema:
|
|
927
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
928
928
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
929
|
-
bodySchema:
|
|
929
|
+
bodySchema: chunkPTPMBE6M_cjs.streamWorkflowBodySchema,
|
|
930
930
|
responseSchema: chunkQQCQV7ZF_cjs.streamResponseSchema,
|
|
931
931
|
summary: "[DEPRECATED] Stream workflow with legacy format",
|
|
932
932
|
description: "Legacy endpoint for streaming workflow execution. Use /workflows/:workflowId/stream instead.",
|
|
@@ -967,7 +967,7 @@ var OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
967
967
|
method: "POST",
|
|
968
968
|
path: "/workflows/:workflowId/observe-stream-legacy",
|
|
969
969
|
responseType: "stream",
|
|
970
|
-
pathParamSchema:
|
|
970
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowIdPathParams,
|
|
971
971
|
queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
|
|
972
972
|
responseSchema: chunkQQCQV7ZF_cjs.streamResponseSchema,
|
|
973
973
|
summary: "[DEPRECATED] Observe workflow stream with legacy format",
|
|
@@ -1040,7 +1040,7 @@ var EXECUTE_WORKFLOW_STEP_ROUTE = chunkG54X6VE6_cjs.createRoute({
|
|
|
1040
1040
|
method: "POST",
|
|
1041
1041
|
path: "/workflows/:workflowId/runs/:runId/steps/execute",
|
|
1042
1042
|
responseType: "json",
|
|
1043
|
-
pathParamSchema:
|
|
1043
|
+
pathParamSchema: chunkPTPMBE6M_cjs.workflowRunPathParams,
|
|
1044
1044
|
bodySchema: stepExecutionBodySchema,
|
|
1045
1045
|
responseSchema: stepExecutionResponseSchema,
|
|
1046
1046
|
summary: "Execute a workflow step",
|
|
@@ -1143,5 +1143,5 @@ exports.TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE;
|
|
|
1143
1143
|
exports.TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = TIME_TRAVEL_STREAM_WORKFLOW_ROUTE;
|
|
1144
1144
|
exports.TIME_TRAVEL_WORKFLOW_ROUTE = TIME_TRAVEL_WORKFLOW_ROUTE;
|
|
1145
1145
|
exports.workflows_exports = workflows_exports;
|
|
1146
|
-
//# sourceMappingURL=chunk-
|
|
1147
|
-
//# sourceMappingURL=chunk-
|
|
1146
|
+
//# sourceMappingURL=chunk-EQ7LRJEB.cjs.map
|
|
1147
|
+
//# sourceMappingURL=chunk-EQ7LRJEB.cjs.map
|