@mastra/server 1.46.1-alpha.1 → 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 +98 -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 +5 -5
- 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,112 +1,112 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEQ7LRJEB_cjs = require('../../chunk-EQ7LRJEB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CANCEL_WORKFLOW_RUN_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEQ7LRJEB_cjs.CANCEL_WORKFLOW_RUN_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "CREATE_WORKFLOW_RUN_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEQ7LRJEB_cjs.CREATE_WORKFLOW_RUN_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DELETE_WORKFLOW_RUN_BY_ID_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEQ7LRJEB_cjs.DELETE_WORKFLOW_RUN_BY_ID_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "EXECUTE_WORKFLOW_STEP_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEQ7LRJEB_cjs.EXECUTE_WORKFLOW_STEP_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "GET_WORKFLOW_BY_ID_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEQ7LRJEB_cjs.GET_WORKFLOW_BY_ID_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "GET_WORKFLOW_RUN_BY_ID_ROUTE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEQ7LRJEB_cjs.GET_WORKFLOW_RUN_BY_ID_ROUTE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "LIST_WORKFLOWS_ROUTE", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEQ7LRJEB_cjs.LIST_WORKFLOWS_ROUTE; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "LIST_WORKFLOW_RUNS_ROUTE", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEQ7LRJEB_cjs.LIST_WORKFLOW_RUNS_ROUTE; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkEQ7LRJEB_cjs.OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "OBSERVE_STREAM_WORKFLOW_ROUTE", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkEQ7LRJEB_cjs.OBSERVE_STREAM_WORKFLOW_ROUTE; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "RECEIVE_WORKFLOW_EVENT_ROUTE", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkEQ7LRJEB_cjs.RECEIVE_WORKFLOW_EVENT_ROUTE; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "RESTART_ASYNC_WORKFLOW_ROUTE", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESTART_ASYNC_WORKFLOW_ROUTE; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "RESTART_WORKFLOW_ROUTE", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESTART_WORKFLOW_ROUTE; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "RESUME_ASYNC_WORKFLOW_ROUTE", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESUME_ASYNC_WORKFLOW_ROUTE; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "RESUME_NO_WAIT_WORKFLOW_ROUTE", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESUME_NO_WAIT_WORKFLOW_ROUTE; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "RESUME_STREAM_WORKFLOW_ROUTE", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESUME_STREAM_WORKFLOW_ROUTE; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "RESUME_WORKFLOW_ROUTE", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkEQ7LRJEB_cjs.RESUME_WORKFLOW_ROUTE; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "START_ASYNC_WORKFLOW_ROUTE", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkEQ7LRJEB_cjs.START_ASYNC_WORKFLOW_ROUTE; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "START_WORKFLOW_RUN_ROUTE", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkEQ7LRJEB_cjs.START_WORKFLOW_RUN_ROUTE; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "STREAM_LEGACY_WORKFLOW_ROUTE", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkEQ7LRJEB_cjs.STREAM_LEGACY_WORKFLOW_ROUTE; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "STREAM_WORKFLOW_ROUTE", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkEQ7LRJEB_cjs.STREAM_WORKFLOW_ROUTE; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkEQ7LRJEB_cjs.TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "TIME_TRAVEL_STREAM_WORKFLOW_ROUTE", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkEQ7LRJEB_cjs.TIME_TRAVEL_STREAM_WORKFLOW_ROUTE; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "TIME_TRAVEL_WORKFLOW_ROUTE", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkEQ7LRJEB_cjs.TIME_TRAVEL_WORKFLOW_ROUTE; }
|
|
110
110
|
});
|
|
111
111
|
//# sourceMappingURL=workflows.cjs.map
|
|
112
112
|
//# sourceMappingURL=workflows.cjs.map
|
|
@@ -199,6 +199,7 @@ export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").Serve
|
|
|
199
199
|
bailed: "bailed";
|
|
200
200
|
tripwire: "tripwire";
|
|
201
201
|
paused: "paused";
|
|
202
|
+
skipped: "skipped";
|
|
202
203
|
}>>;
|
|
203
204
|
}, z.core.$strip>, undefined>, {
|
|
204
205
|
runs: {
|
|
@@ -231,6 +232,7 @@ export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").Serve
|
|
|
231
232
|
bailed: "bailed";
|
|
232
233
|
tripwire: "tripwire";
|
|
233
234
|
paused: "paused";
|
|
235
|
+
skipped: "skipped";
|
|
234
236
|
}>>;
|
|
235
237
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
236
238
|
runs: z.ZodArray<z.ZodObject<{
|
|
@@ -257,7 +259,7 @@ export declare const GET_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").S
|
|
|
257
259
|
workflowName: string;
|
|
258
260
|
createdAt: Date;
|
|
259
261
|
updatedAt: Date;
|
|
260
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused";
|
|
262
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | "skipped";
|
|
261
263
|
resourceId?: string | undefined;
|
|
262
264
|
initialState?: Record<string, any> | undefined;
|
|
263
265
|
result?: unknown;
|
|
@@ -294,6 +296,7 @@ export declare const GET_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").S
|
|
|
294
296
|
bailed: "bailed";
|
|
295
297
|
tripwire: "tripwire";
|
|
296
298
|
paused: "paused";
|
|
299
|
+
skipped: "skipped";
|
|
297
300
|
}>;
|
|
298
301
|
initialState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
299
302
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -444,7 +447,7 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
444
447
|
}, z.core.$strip>>;
|
|
445
448
|
perStep: z.ZodOptional<z.ZodBoolean>;
|
|
446
449
|
}, z.core.$strip>>, {
|
|
447
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
450
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | "skipped" | undefined;
|
|
448
451
|
result?: unknown;
|
|
449
452
|
error?: unknown;
|
|
450
453
|
payload?: unknown;
|
|
@@ -485,6 +488,7 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
485
488
|
bailed: "bailed";
|
|
486
489
|
tripwire: "tripwire";
|
|
487
490
|
paused: "paused";
|
|
491
|
+
skipped: "skipped";
|
|
488
492
|
}>>;
|
|
489
493
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
490
494
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -579,7 +583,7 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
579
583
|
perStep: z.ZodOptional<z.ZodBoolean>;
|
|
580
584
|
forEachIndex: z.ZodOptional<z.ZodNumber>;
|
|
581
585
|
}, z.core.$strip>>, {
|
|
582
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
586
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | "skipped" | undefined;
|
|
583
587
|
result?: unknown;
|
|
584
588
|
error?: unknown;
|
|
585
589
|
payload?: unknown;
|
|
@@ -620,6 +624,7 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
620
624
|
bailed: "bailed";
|
|
621
625
|
tripwire: "tripwire";
|
|
622
626
|
paused: "paused";
|
|
627
|
+
skipped: "skipped";
|
|
623
628
|
}>>;
|
|
624
629
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
625
630
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -752,7 +757,7 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
752
757
|
hideOutput: z.ZodOptional<z.ZodBoolean>;
|
|
753
758
|
}, z.core.$strip>>;
|
|
754
759
|
}, z.core.$strip>>, {
|
|
755
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
760
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | "skipped" | undefined;
|
|
756
761
|
result?: unknown;
|
|
757
762
|
error?: unknown;
|
|
758
763
|
payload?: unknown;
|
|
@@ -789,6 +794,7 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
789
794
|
bailed: "bailed";
|
|
790
795
|
tripwire: "tripwire";
|
|
791
796
|
paused: "paused";
|
|
797
|
+
skipped: "skipped";
|
|
792
798
|
}>>;
|
|
793
799
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
794
800
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -885,7 +891,7 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
885
891
|
}, z.core.$strip>>;
|
|
886
892
|
perStep: z.ZodOptional<z.ZodBoolean>;
|
|
887
893
|
}, z.core.$strip>>, {
|
|
888
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
|
|
894
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | "skipped" | undefined;
|
|
889
895
|
result?: unknown;
|
|
890
896
|
error?: unknown;
|
|
891
897
|
payload?: unknown;
|
|
@@ -929,6 +935,7 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
929
935
|
bailed: "bailed";
|
|
930
936
|
tripwire: "tripwire";
|
|
931
937
|
paused: "paused";
|
|
938
|
+
skipped: "skipped";
|
|
932
939
|
}>>;
|
|
933
940
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
934
941
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/workflows.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AA0B3B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKxC,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAqDD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAgD/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAqBnC,CAAC;AAEH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/workflows.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CANCEL_WORKFLOW_RUN_ROUTE, CREATE_WORKFLOW_RUN_ROUTE, DELETE_WORKFLOW_RUN_BY_ID_ROUTE, EXECUTE_WORKFLOW_STEP_ROUTE, GET_WORKFLOW_BY_ID_ROUTE, GET_WORKFLOW_RUN_BY_ID_ROUTE, LIST_WORKFLOWS_ROUTE, LIST_WORKFLOW_RUNS_ROUTE, OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, OBSERVE_STREAM_WORKFLOW_ROUTE, RECEIVE_WORKFLOW_EVENT_ROUTE, RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, RESTART_ASYNC_WORKFLOW_ROUTE, RESTART_WORKFLOW_ROUTE, RESUME_ASYNC_WORKFLOW_ROUTE, RESUME_NO_WAIT_WORKFLOW_ROUTE, RESUME_STREAM_WORKFLOW_ROUTE, RESUME_WORKFLOW_ROUTE, START_ASYNC_WORKFLOW_ROUTE, START_WORKFLOW_RUN_ROUTE, STREAM_LEGACY_WORKFLOW_ROUTE, STREAM_WORKFLOW_ROUTE, TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, TIME_TRAVEL_WORKFLOW_ROUTE } from '../../chunk-
|
|
1
|
+
export { CANCEL_WORKFLOW_RUN_ROUTE, CREATE_WORKFLOW_RUN_ROUTE, DELETE_WORKFLOW_RUN_BY_ID_ROUTE, EXECUTE_WORKFLOW_STEP_ROUTE, GET_WORKFLOW_BY_ID_ROUTE, GET_WORKFLOW_RUN_BY_ID_ROUTE, LIST_WORKFLOWS_ROUTE, LIST_WORKFLOW_RUNS_ROUTE, OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, OBSERVE_STREAM_WORKFLOW_ROUTE, RECEIVE_WORKFLOW_EVENT_ROUTE, RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, RESTART_ASYNC_WORKFLOW_ROUTE, RESTART_WORKFLOW_ROUTE, RESUME_ASYNC_WORKFLOW_ROUTE, RESUME_NO_WAIT_WORKFLOW_ROUTE, RESUME_STREAM_WORKFLOW_ROUTE, RESUME_WORKFLOW_ROUTE, START_ASYNC_WORKFLOW_ROUTE, START_WORKFLOW_RUN_ROUTE, STREAM_LEGACY_WORKFLOW_ROUTE, STREAM_WORKFLOW_ROUTE, TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, TIME_TRAVEL_WORKFLOW_ROUTE } from '../../chunk-XQ5INMFW.js';
|
|
2
2
|
//# sourceMappingURL=workflows.js.map
|
|
3
3
|
//# sourceMappingURL=workflows.js.map
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -13,8 +13,8 @@ var chunkGU4AEOGA_cjs = require('../chunk-GU4AEOGA.cjs');
|
|
|
13
13
|
var chunkDEK4ZGUR_cjs = require('../chunk-DEK4ZGUR.cjs');
|
|
14
14
|
var chunkK3FM6RLZ_cjs = require('../chunk-K3FM6RLZ.cjs');
|
|
15
15
|
var chunk7DKSWNOM_cjs = require('../chunk-7DKSWNOM.cjs');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
16
|
+
var chunkPSC3HAPW_cjs = require('../chunk-PSC3HAPW.cjs');
|
|
17
|
+
var chunkEQ7LRJEB_cjs = require('../chunk-EQ7LRJEB.cjs');
|
|
18
18
|
var chunkZ7LCIYK7_cjs = require('../chunk-Z7LCIYK7.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
@@ -73,11 +73,11 @@ Object.defineProperty(exports, "agents", {
|
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "agentBuilder", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkPSC3HAPW_cjs.agent_builder_exports; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "workflows", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkEQ7LRJEB_cjs.workflows_exports; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "formatZodError", {
|
|
83
83
|
enumerable: true,
|
package/dist/server/handlers.js
CHANGED
|
@@ -11,8 +11,8 @@ export { logs_exports as logs } from '../chunk-OHWAEEZJ.js';
|
|
|
11
11
|
export { conversations_exports as conversations } from '../chunk-E345K7K7.js';
|
|
12
12
|
export { a2a_exports as a2a } from '../chunk-NEPOKWAA.js';
|
|
13
13
|
export { agents_exports as agents } from '../chunk-WKSF3TVK.js';
|
|
14
|
-
export { agent_builder_exports as agentBuilder } from '../chunk-
|
|
15
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
14
|
+
export { agent_builder_exports as agentBuilder } from '../chunk-UXO4GWPT.js';
|
|
15
|
+
export { workflows_exports as workflows } from '../chunk-XQ5INMFW.js';
|
|
16
16
|
export { formatZodError, isZodError } from '../chunk-7ZWJX3AN.js';
|
|
17
17
|
//# sourceMappingURL=handlers.js.map
|
|
18
18
|
//# sourceMappingURL=handlers.js.map
|
|
@@ -22,8 +22,8 @@ var chunkNOXRQV2G_cjs = require('../../chunk-NOXRQV2G.cjs');
|
|
|
22
22
|
var chunkCXAJPAJ2_cjs = require('../../chunk-CXAJPAJ2.cjs');
|
|
23
23
|
var chunkRR5IB5A2_cjs = require('../../chunk-RR5IB5A2.cjs');
|
|
24
24
|
var chunkHXICAUTW_cjs = require('../../chunk-HXICAUTW.cjs');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
25
|
+
var chunkS6TNTR3A_cjs = require('../../chunk-S6TNTR3A.cjs');
|
|
26
|
+
var chunkPTPMBE6M_cjs = require('../../chunk-PTPMBE6M.cjs');
|
|
27
27
|
var chunkQQCQV7ZF_cjs = require('../../chunk-QQCQV7ZF.cjs');
|
|
28
28
|
var chunk47PVLKIL_cjs = require('../../chunk-47PVLKIL.cjs');
|
|
29
29
|
var chunkWNK6NJYP_cjs = require('../../chunk-WNK6NJYP.cjs');
|
|
@@ -1399,67 +1399,67 @@ Object.defineProperty(exports, "workspaceInfoResponseSchema", {
|
|
|
1399
1399
|
});
|
|
1400
1400
|
Object.defineProperty(exports, "actionIdPathParams", {
|
|
1401
1401
|
enumerable: true,
|
|
1402
|
-
get: function () { return
|
|
1402
|
+
get: function () { return chunkS6TNTR3A_cjs.actionIdPathParams; }
|
|
1403
1403
|
});
|
|
1404
1404
|
Object.defineProperty(exports, "actionRunPathParams", {
|
|
1405
1405
|
enumerable: true,
|
|
1406
|
-
get: function () { return
|
|
1406
|
+
get: function () { return chunkS6TNTR3A_cjs.actionRunPathParams; }
|
|
1407
1407
|
});
|
|
1408
1408
|
Object.defineProperty(exports, "resumeAgentBuilderBodySchema", {
|
|
1409
1409
|
enumerable: true,
|
|
1410
|
-
get: function () { return
|
|
1410
|
+
get: function () { return chunkS6TNTR3A_cjs.resumeAgentBuilderBodySchema; }
|
|
1411
1411
|
});
|
|
1412
1412
|
Object.defineProperty(exports, "startAsyncAgentBuilderBodySchema", {
|
|
1413
1413
|
enumerable: true,
|
|
1414
|
-
get: function () { return
|
|
1414
|
+
get: function () { return chunkS6TNTR3A_cjs.startAsyncAgentBuilderBodySchema; }
|
|
1415
1415
|
});
|
|
1416
1416
|
Object.defineProperty(exports, "streamAgentBuilderBodySchema", {
|
|
1417
1417
|
enumerable: true,
|
|
1418
|
-
get: function () { return
|
|
1418
|
+
get: function () { return chunkS6TNTR3A_cjs.streamAgentBuilderBodySchema; }
|
|
1419
1419
|
});
|
|
1420
1420
|
Object.defineProperty(exports, "streamLegacyAgentBuilderBodySchema", {
|
|
1421
1421
|
enumerable: true,
|
|
1422
|
-
get: function () { return
|
|
1422
|
+
get: function () { return chunkS6TNTR3A_cjs.streamLegacyAgentBuilderBodySchema; }
|
|
1423
1423
|
});
|
|
1424
1424
|
Object.defineProperty(exports, "createWorkflowRunResponseSchema", {
|
|
1425
1425
|
enumerable: true,
|
|
1426
|
-
get: function () { return
|
|
1426
|
+
get: function () { return chunkPTPMBE6M_cjs.createWorkflowRunResponseSchema; }
|
|
1427
1427
|
});
|
|
1428
1428
|
Object.defineProperty(exports, "listWorkflowRunsQuerySchema", {
|
|
1429
1429
|
enumerable: true,
|
|
1430
|
-
get: function () { return
|
|
1430
|
+
get: function () { return chunkPTPMBE6M_cjs.listWorkflowRunsQuerySchema; }
|
|
1431
1431
|
});
|
|
1432
1432
|
Object.defineProperty(exports, "listWorkflowsResponseSchema", {
|
|
1433
1433
|
enumerable: true,
|
|
1434
|
-
get: function () { return
|
|
1434
|
+
get: function () { return chunkPTPMBE6M_cjs.listWorkflowsResponseSchema; }
|
|
1435
1435
|
});
|
|
1436
1436
|
Object.defineProperty(exports, "sendWorkflowRunEventBodySchema", {
|
|
1437
1437
|
enumerable: true,
|
|
1438
|
-
get: function () { return
|
|
1438
|
+
get: function () { return chunkPTPMBE6M_cjs.sendWorkflowRunEventBodySchema; }
|
|
1439
1439
|
});
|
|
1440
1440
|
Object.defineProperty(exports, "workflowControlResponseSchema", {
|
|
1441
1441
|
enumerable: true,
|
|
1442
|
-
get: function () { return
|
|
1442
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowControlResponseSchema; }
|
|
1443
1443
|
});
|
|
1444
1444
|
Object.defineProperty(exports, "workflowExecutionResultSchema", {
|
|
1445
1445
|
enumerable: true,
|
|
1446
|
-
get: function () { return
|
|
1446
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowExecutionResultSchema; }
|
|
1447
1447
|
});
|
|
1448
1448
|
Object.defineProperty(exports, "workflowInfoSchema", {
|
|
1449
1449
|
enumerable: true,
|
|
1450
|
-
get: function () { return
|
|
1450
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowInfoSchema; }
|
|
1451
1451
|
});
|
|
1452
1452
|
Object.defineProperty(exports, "workflowRunResultQuerySchema", {
|
|
1453
1453
|
enumerable: true,
|
|
1454
|
-
get: function () { return
|
|
1454
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowRunResultQuerySchema; }
|
|
1455
1455
|
});
|
|
1456
1456
|
Object.defineProperty(exports, "workflowRunResultSchema", {
|
|
1457
1457
|
enumerable: true,
|
|
1458
|
-
get: function () { return
|
|
1458
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowRunResultSchema; }
|
|
1459
1459
|
});
|
|
1460
1460
|
Object.defineProperty(exports, "workflowRunsResponseSchema", {
|
|
1461
1461
|
enumerable: true,
|
|
1462
|
-
get: function () { return
|
|
1462
|
+
get: function () { return chunkPTPMBE6M_cjs.workflowRunsResponseSchema; }
|
|
1463
1463
|
});
|
|
1464
1464
|
Object.defineProperty(exports, "abortAgentThreadBodySchema", {
|
|
1465
1465
|
enumerable: true,
|
|
@@ -20,8 +20,8 @@ export { agentIdQuerySchema, awaitBufferStatusBodySchema, awaitBufferStatusRespo
|
|
|
20
20
|
export { agentExecutionBodySchema as a2aAgentExecutionBodySchema, a2aAgentIdPathParams, a2aTaskPathParams, agentCardResponseSchema, agentExecutionResponseSchema, messageSendBodySchema, taskQueryBodySchema, taskResponseSchema } from '../../chunk-KEE6UMGC.js';
|
|
21
21
|
export { authenticatedCapabilitiesSchema, authenticatedUserSchema, capabilitiesResponseSchema, capabilityFlagsSchema, credentialsResponseSchema, credentialsSignInBodySchema, credentialsSignUpBodySchema, currentUserResponseSchema, loginConfigSchema, logoutResponseSchema, permissionPatternsResponseSchema, publicCapabilitiesSchema, refreshResponseSchema, ssoCallbackQuerySchema, ssoCallbackResponseSchema, ssoConfigSchema, ssoLoginQuerySchema, ssoLoginResponseSchema, userAccessSchema } from '../../chunk-LWA65ME7.js';
|
|
22
22
|
export { fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, getAgentSkillResponseSchema, getSkillResponseSchema, indexBodySchema, indexResponseSchema, listReferencesResponseSchema, listSkillsResponseSchema, listWorkspacesResponseSchema, mountInfoSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema } from '../../chunk-ZHULRNJG.js';
|
|
23
|
-
export { actionIdPathParams, actionRunPathParams, resumeAgentBuilderBodySchema, startAsyncAgentBuilderBodySchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema } from '../../chunk-
|
|
24
|
-
export { createWorkflowRunResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, sendWorkflowRunEventBodySchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema } from '../../chunk-
|
|
23
|
+
export { actionIdPathParams, actionRunPathParams, resumeAgentBuilderBodySchema, startAsyncAgentBuilderBodySchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema } from '../../chunk-6SZGOLAP.js';
|
|
24
|
+
export { createWorkflowRunResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, sendWorkflowRunEventBodySchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema } from '../../chunk-K4HCNNHA.js';
|
|
25
25
|
export { abortAgentThreadBodySchema, abortAgentThreadResponseSchema, agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, listAgentsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, queueAgentMessageBodySchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema } from '../../chunk-4JILES3G.js';
|
|
26
26
|
export { generateSpeechBodySchema, getListenerResponseSchema, speakResponseSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, voiceSpeakersResponseSchema } from '../../chunk-LPT77UR6.js';
|
|
27
27
|
export { agentVersionPathParams, agentVersionSchema, compareVersionsResponseSchema, createVersionResponseSchema, getVersionResponseSchema, listVersionsResponseSchema, restoreVersionResponseSchema, versionIdPathParams } from '../../chunk-ONDWDP2S.js';
|
|
@@ -21,6 +21,7 @@ export declare const workflowRunStatusSchema: z.ZodEnum<{
|
|
|
21
21
|
bailed: "bailed";
|
|
22
22
|
tripwire: "tripwire";
|
|
23
23
|
paused: "paused";
|
|
24
|
+
skipped: "skipped";
|
|
24
25
|
}>;
|
|
25
26
|
export declare const scheduleRunSummarySchema: z.ZodObject<{
|
|
26
27
|
status: z.ZodEnum<{
|
|
@@ -34,6 +35,7 @@ export declare const scheduleRunSummarySchema: z.ZodObject<{
|
|
|
34
35
|
bailed: "bailed";
|
|
35
36
|
tripwire: "tripwire";
|
|
36
37
|
paused: "paused";
|
|
38
|
+
skipped: "skipped";
|
|
37
39
|
}>;
|
|
38
40
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
39
41
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -70,6 +72,7 @@ export declare const scheduleResponseSchema: z.ZodObject<{
|
|
|
70
72
|
bailed: "bailed";
|
|
71
73
|
tripwire: "tripwire";
|
|
72
74
|
paused: "paused";
|
|
75
|
+
skipped: "skipped";
|
|
73
76
|
}>;
|
|
74
77
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
75
78
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -135,6 +138,7 @@ export declare const scheduleTriggerResponseSchema: z.ZodObject<{
|
|
|
135
138
|
bailed: "bailed";
|
|
136
139
|
tripwire: "tripwire";
|
|
137
140
|
paused: "paused";
|
|
141
|
+
skipped: "skipped";
|
|
138
142
|
}>;
|
|
139
143
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
140
144
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -182,6 +186,7 @@ export declare const listSchedulesResponseSchema: z.ZodObject<{
|
|
|
182
186
|
bailed: "bailed";
|
|
183
187
|
tripwire: "tripwire";
|
|
184
188
|
paused: "paused";
|
|
189
|
+
skipped: "skipped";
|
|
185
190
|
}>;
|
|
186
191
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
187
192
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -241,6 +246,7 @@ export declare const listScheduleTriggersResponseSchema: z.ZodObject<{
|
|
|
241
246
|
bailed: "bailed";
|
|
242
247
|
tripwire: "tripwire";
|
|
243
248
|
paused: "paused";
|
|
249
|
+
skipped: "skipped";
|
|
244
250
|
}>;
|
|
245
251
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
246
252
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/schedules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;EAA+B,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/schedules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;EAA+B,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAYlC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAejC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;EAWvC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;EAA2C,CAAC;AAElF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYxC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAUjC,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEtC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7C,CAAC"}
|
|
@@ -10,6 +10,7 @@ export declare const workflowRunStatusSchema: z.ZodEnum<{
|
|
|
10
10
|
bailed: "bailed";
|
|
11
11
|
tripwire: "tripwire";
|
|
12
12
|
paused: "paused";
|
|
13
|
+
skipped: "skipped";
|
|
13
14
|
}>;
|
|
14
15
|
export declare const workflowIdPathParams: z.ZodObject<{
|
|
15
16
|
workflowId: z.ZodString;
|
|
@@ -157,6 +158,7 @@ export declare const listWorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
157
158
|
bailed: "bailed";
|
|
158
159
|
tripwire: "tripwire";
|
|
159
160
|
paused: "paused";
|
|
161
|
+
skipped: "skipped";
|
|
160
162
|
}>>;
|
|
161
163
|
}, z.core.$strip>;
|
|
162
164
|
/**
|
|
@@ -301,6 +303,7 @@ export declare const workflowExecutionResultSchema: z.ZodObject<{
|
|
|
301
303
|
bailed: "bailed";
|
|
302
304
|
tripwire: "tripwire";
|
|
303
305
|
paused: "paused";
|
|
306
|
+
skipped: "skipped";
|
|
304
307
|
}>>;
|
|
305
308
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
306
309
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -352,6 +355,7 @@ export declare const workflowRunResultSchema: z.ZodObject<{
|
|
|
352
355
|
bailed: "bailed";
|
|
353
356
|
tripwire: "tripwire";
|
|
354
357
|
paused: "paused";
|
|
358
|
+
skipped: "skipped";
|
|
355
359
|
}>;
|
|
356
360
|
initialState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
357
361
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAYlC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;iBAEhC,CAAC;AA2BH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAY7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA2C,CAAC;AAcpF;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;iBAGrC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;iBAKtC,CAAC;AAcH;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;iBAA8B,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;iBAEnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;iBAO3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;iBAG5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;iBAA8B,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAkCH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASxC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;iBAKvC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;iBAAwB,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;iBAE1C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;iBAMrC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTPZFGGU4_cjs = require('../../chunk-TPZFGGU4.cjs');
|
|
4
4
|
var chunk4PQR3D5Y_cjs = require('../../chunk-4PQR3D5Y.cjs');
|
|
5
5
|
var chunkGZ4HWZWE_cjs = require('../../chunk-GZ4HWZWE.cjs');
|
|
6
6
|
var chunkZ7LCIYK7_cjs = require('../../chunk-Z7LCIYK7.cjs');
|
|
@@ -63,7 +63,7 @@ function getBuiltInRouteFGAConfig(route) {
|
|
|
63
63
|
if (!isProtectedFGARoute(route) || !route.path || !route.method) {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
66
|
-
const permission =
|
|
66
|
+
const permission = chunkTPZFGGU4_cjs.getEffectivePermission(route);
|
|
67
67
|
if (!permission) {
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
@@ -277,7 +277,7 @@ function getFGARouteInfo(route) {
|
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
279
|
function getRoutePermissions(route) {
|
|
280
|
-
return [
|
|
280
|
+
return [chunkTPZFGGU4_cjs.getEffectivePermission(route), route.fga?.permission].flatMap((value) => Array.isArray(value) ? value : [value]).filter((permission) => Boolean(permission));
|
|
281
281
|
}
|
|
282
282
|
async function resolveRouteFGAConfig(fgaProvider, route, requestContext, params) {
|
|
283
283
|
if (route.fga) {
|
|
@@ -611,7 +611,7 @@ var MastraServer = class _MastraServer extends server.MastraServerBase {
|
|
|
611
611
|
if (!rbacProvider) {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
|
-
const requiredPermission =
|
|
614
|
+
const requiredPermission = chunkTPZFGGU4_cjs.getEffectivePermission(route);
|
|
615
615
|
if (!requiredPermission) {
|
|
616
616
|
return null;
|
|
617
617
|
}
|
|
@@ -704,7 +704,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
704
704
|
const customRoutes = (this.customApiRoutes ?? serverConfig?.apiRoutes ?? []).filter(
|
|
705
705
|
(route) => !route._mastraInternal
|
|
706
706
|
);
|
|
707
|
-
const routes = [...
|
|
707
|
+
const routes = [...chunkTPZFGGU4_cjs.SERVER_ROUTES, ...customRoutes];
|
|
708
708
|
if (fgaProvider.validatePermissions) {
|
|
709
709
|
const permissions = [...new Set(routes.flatMap((route) => getRoutePermissions(route)))];
|
|
710
710
|
await fgaProvider.validatePermissions(permissions);
|
|
@@ -876,7 +876,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
876
876
|
* Builds the OpenAPI spec object with servers field and custom route paths.
|
|
877
877
|
*/
|
|
878
878
|
buildOpenAPISpec(config, prefix) {
|
|
879
|
-
const openApiSpec = chunkG54X6VE6_cjs.generateOpenAPIDocument(
|
|
879
|
+
const openApiSpec = chunkG54X6VE6_cjs.generateOpenAPIDocument(chunkTPZFGGU4_cjs.SERVER_ROUTES, config);
|
|
880
880
|
if (prefix) {
|
|
881
881
|
openApiSpec.servers = [{ url: prefix }];
|
|
882
882
|
}
|
|
@@ -911,7 +911,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
911
911
|
await this.registerRoute(app, openApiRoute, { prefix });
|
|
912
912
|
}
|
|
913
913
|
async registerRoutes() {
|
|
914
|
-
for (const route of
|
|
914
|
+
for (const route of chunkTPZFGGU4_cjs.SERVER_ROUTES) {
|
|
915
915
|
await this.registerRoute(this.app, route, { prefix: this.prefix });
|
|
916
916
|
}
|
|
917
917
|
if (this.openapiPath) {
|
|
@@ -1000,7 +1000,7 @@ async function checkRouteFGA(mastra, route, requestContext, params) {
|
|
|
1000
1000
|
message: "FGA authorization denied: route FGA metadata is incomplete"
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
const effectivePermission = route.path ?
|
|
1003
|
+
const effectivePermission = route.path ? chunkTPZFGGU4_cjs.getEffectivePermission(route) : null;
|
|
1004
1004
|
const permission = fgaConfig.permission || effectivePermission || `${getFGAResourcePermissionSlug(fgaConfig.resourceType)}:${deriveFGAAction(route.method)}`;
|
|
1005
1005
|
const authorized = await fgaProvider.check(user, {
|
|
1006
1006
|
resource: { type: fgaConfig.resourceType, id: resourceId },
|
|
@@ -1042,23 +1042,23 @@ function getFGAResourcePermissionSlug(resourceType) {
|
|
|
1042
1042
|
|
|
1043
1043
|
Object.defineProperty(exports, "SERVER_ROUTES", {
|
|
1044
1044
|
enumerable: true,
|
|
1045
|
-
get: function () { return
|
|
1045
|
+
get: function () { return chunkTPZFGGU4_cjs.SERVER_ROUTES; }
|
|
1046
1046
|
});
|
|
1047
1047
|
Object.defineProperty(exports, "deriveAction", {
|
|
1048
1048
|
enumerable: true,
|
|
1049
|
-
get: function () { return
|
|
1049
|
+
get: function () { return chunkTPZFGGU4_cjs.deriveAction; }
|
|
1050
1050
|
});
|
|
1051
1051
|
Object.defineProperty(exports, "derivePermission", {
|
|
1052
1052
|
enumerable: true,
|
|
1053
|
-
get: function () { return
|
|
1053
|
+
get: function () { return chunkTPZFGGU4_cjs.derivePermission; }
|
|
1054
1054
|
});
|
|
1055
1055
|
Object.defineProperty(exports, "extractResource", {
|
|
1056
1056
|
enumerable: true,
|
|
1057
|
-
get: function () { return
|
|
1057
|
+
get: function () { return chunkTPZFGGU4_cjs.extractResource; }
|
|
1058
1058
|
});
|
|
1059
1059
|
Object.defineProperty(exports, "getEffectivePermission", {
|
|
1060
1060
|
enumerable: true,
|
|
1061
|
-
get: function () { return
|
|
1061
|
+
get: function () { return chunkTPZFGGU4_cjs.getEffectivePermission; }
|
|
1062
1062
|
});
|
|
1063
1063
|
Object.defineProperty(exports, "WorkflowRegistry", {
|
|
1064
1064
|
enumerable: true,
|
|
@@ -171,7 +171,7 @@ export declare abstract class MastraServer<TApp, TRequest, TResponse> extends Ma
|
|
|
171
171
|
/**
|
|
172
172
|
* Gets the effective RBAC provider for the current request based on auth mode.
|
|
173
173
|
*/
|
|
174
|
-
protected getEffectiveRBACProvider(requestContext: RequestContext): import("@mastra/core/auth
|
|
174
|
+
protected getEffectiveRBACProvider(requestContext: RequestContext): import("@mastra/core/auth").IRBACProvider<any> | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* Gets the effective FGA provider for the current request based on auth mode.
|
|
177
177
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-
|
|
2
|
-
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-
|
|
1
|
+
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-M43CP74T.js';
|
|
2
|
+
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-M43CP74T.js';
|
|
3
3
|
import { coreAuthMiddleware } from '../../chunk-HATXNJ4V.js';
|
|
4
4
|
import { normalizeRoutePath } from '../../chunk-IBUJJIRW.js';
|
|
5
5
|
export { WorkflowRegistry, normalizeRoutePath } from '../../chunk-IBUJJIRW.js';
|