@mastra/server 0.0.0-feat-improve-processors-20251205191721 → 0.0.0-feat-add-query-option-to-playground-20251209160219
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 +281 -3
- package/dist/{chunk-FCCK5TSS.js → chunk-3SFLFUKY.js} +3 -3
- package/dist/{chunk-FCCK5TSS.js.map → chunk-3SFLFUKY.js.map} +1 -1
- package/dist/{chunk-CENPXDRK.js → chunk-6YWE7UPT.js} +17 -5
- package/dist/chunk-6YWE7UPT.js.map +1 -0
- package/dist/{chunk-ICROWJN4.cjs → chunk-7HX4V5Y6.cjs} +137 -127
- package/dist/{chunk-ICROWJN4.cjs.map → chunk-7HX4V5Y6.cjs.map} +1 -1
- package/dist/{chunk-ORJBWSYB.js → chunk-7N3PD4SV.js} +3 -3
- package/dist/{chunk-ORJBWSYB.js.map → chunk-7N3PD4SV.js.map} +1 -1
- package/dist/{chunk-6FKQ4DSG.js → chunk-AWBBXA36.js} +31 -21
- package/dist/{chunk-6FKQ4DSG.js.map → chunk-AWBBXA36.js.map} +1 -1
- package/dist/{chunk-KXHMFCVS.cjs → chunk-C3D3X2L5.cjs} +5 -5
- package/dist/{chunk-KXHMFCVS.cjs.map → chunk-C3D3X2L5.cjs.map} +1 -1
- package/dist/{chunk-U565A3UD.js → chunk-C4J473OZ.js} +44 -35
- package/dist/chunk-C4J473OZ.js.map +1 -0
- package/dist/{chunk-2PB6VJQX.js → chunk-CT5VG7NT.js} +3 -3
- package/dist/{chunk-2PB6VJQX.js.map → chunk-CT5VG7NT.js.map} +1 -1
- package/dist/{chunk-BMZXKXKN.js → chunk-DG3INBBQ.js} +59 -22
- package/dist/chunk-DG3INBBQ.js.map +1 -0
- package/dist/{chunk-Z4GN2JAO.cjs → chunk-DHWPHLGF.cjs} +16 -16
- package/dist/{chunk-Z4GN2JAO.cjs.map → chunk-DHWPHLGF.cjs.map} +1 -1
- package/dist/{chunk-7MKJBWFB.js → chunk-DRUNNM4C.js} +3 -3
- package/dist/{chunk-7MKJBWFB.js.map → chunk-DRUNNM4C.js.map} +1 -1
- package/dist/{chunk-QS23OV2B.cjs → chunk-ESZ6V5WB.cjs} +10 -10
- package/dist/{chunk-QS23OV2B.cjs.map → chunk-ESZ6V5WB.cjs.map} +1 -1
- package/dist/{chunk-TLA5YDQF.cjs → chunk-FMTSLS25.cjs} +95 -86
- package/dist/chunk-FMTSLS25.cjs.map +1 -0
- package/dist/{chunk-C36PTNGG.js → chunk-FYY54HZC.js} +3 -3
- package/dist/{chunk-C36PTNGG.js.map → chunk-FYY54HZC.js.map} +1 -1
- package/dist/{chunk-TIX6M3ZD.js → chunk-GFF2I6UD.js} +3 -3
- package/dist/{chunk-TIX6M3ZD.js.map → chunk-GFF2I6UD.js.map} +1 -1
- package/dist/chunk-HAJOEDNB.js +274 -0
- package/dist/chunk-HAJOEDNB.js.map +1 -0
- package/dist/{chunk-PKRHEXX7.js → chunk-HT4LP3BO.js} +19 -18
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/{chunk-CLRYA4BH.cjs → chunk-I6LR6CPC.cjs} +6 -6
- package/dist/{chunk-CLRYA4BH.cjs.map → chunk-I6LR6CPC.cjs.map} +1 -1
- package/dist/chunk-IEYXQTUW.cjs +284 -0
- package/dist/chunk-IEYXQTUW.cjs.map +1 -0
- package/dist/{chunk-QCW6WANZ.cjs → chunk-LBSJWPXK.cjs} +28 -12
- package/dist/chunk-LBSJWPXK.cjs.map +1 -0
- package/dist/{chunk-2NW6POYK.cjs → chunk-MCYD5LW7.cjs} +19 -18
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/{chunk-GXPLVMB6.cjs → chunk-PUSD37LD.cjs} +17 -5
- package/dist/chunk-PUSD37LD.cjs.map +1 -0
- package/dist/{chunk-XMKZWHVG.js → chunk-QNVYGEJ4.js} +4 -4
- package/dist/{chunk-XMKZWHVG.js.map → chunk-QNVYGEJ4.js.map} +1 -1
- package/dist/{chunk-TOUBNMVI.cjs → chunk-S3TIWWQL.cjs} +5 -5
- package/dist/{chunk-TOUBNMVI.cjs.map → chunk-S3TIWWQL.cjs.map} +1 -1
- package/dist/{chunk-TT25WHVT.cjs → chunk-TYZ6ZISQ.cjs} +6 -6
- package/dist/{chunk-TT25WHVT.cjs.map → chunk-TYZ6ZISQ.cjs.map} +1 -1
- package/dist/{chunk-UPY7WWRA.cjs → chunk-US6Y5RLR.cjs} +21 -21
- package/dist/{chunk-UPY7WWRA.cjs.map → chunk-US6Y5RLR.cjs.map} +1 -1
- package/dist/{chunk-WISPJOEJ.js → chunk-UTIOKR5C.js} +3 -3
- package/dist/{chunk-WISPJOEJ.js.map → chunk-UTIOKR5C.js.map} +1 -1
- package/dist/{chunk-R4M3BSUG.js → chunk-WE4USCF3.js} +3 -3
- package/dist/{chunk-R4M3BSUG.js.map → chunk-WE4USCF3.js.map} +1 -1
- package/dist/{chunk-PRNUFXPC.cjs → chunk-WVAQXM6W.cjs} +87 -49
- package/dist/chunk-WVAQXM6W.cjs.map +1 -0
- package/dist/{chunk-SWIK2QSP.cjs → chunk-X43DWDXB.cjs} +5 -5
- package/dist/{chunk-SWIK2QSP.cjs.map → chunk-X43DWDXB.cjs.map} +1 -1
- package/dist/{chunk-MWQQRVQC.cjs → chunk-X4QMPCTP.cjs} +7 -7
- package/dist/{chunk-MWQQRVQC.cjs.map → chunk-X4QMPCTP.cjs.map} +1 -1
- package/dist/{chunk-VJVDLNFK.js → chunk-XNKZPXCY.js} +28 -12
- package/dist/chunk-XNKZPXCY.js.map +1 -0
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +19 -19
- package/dist/server/handlers/agent-builder.d.ts +15 -33
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +23 -23
- package/dist/server/handlers/agents.d.ts +6 -4
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp.cjs +9 -9
- package/dist/server/handlers/mcp.d.ts +3 -1
- package/dist/server/handlers/mcp.d.ts.map +1 -1
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +24 -24
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +9 -9
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +28 -0
- package/dist/server/handlers/stored-agents.cjs.map +1 -0
- package/dist/server/handlers/stored-agents.d.ts +289 -0
- package/dist/server/handlers/stored-agents.d.ts.map +1 -0
- package/dist/server/handlers/stored-agents.js +3 -0
- package/dist/server/handlers/stored-agents.js.map +1 -0
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vector.cjs +13 -13
- package/dist/server/handlers/vector.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 +30 -26
- package/dist/server/handlers/workflows.d.ts +291 -300
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +24 -24
- package/dist/server/handlers.js +12 -12
- package/dist/server/schemas/common.d.ts +29 -15
- package/dist/server/schemas/common.d.ts.map +1 -1
- package/dist/server/schemas/mcp.d.ts +9 -3
- package/dist/server/schemas/mcp.d.ts.map +1 -1
- package/dist/server/schemas/stored-agents.d.ts +792 -0
- package/dist/server/schemas/stored-agents.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +18 -39
- package/dist/server/schemas/workflows.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +157 -141
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +16 -2
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +34 -18
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/stored-agents.d.ts +8 -0
- package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -1
- package/dist/server/utils.d.ts +1 -1
- package/dist/server/utils.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-2NW6POYK.cjs.map +0 -1
- package/dist/chunk-BMZXKXKN.js.map +0 -1
- package/dist/chunk-CENPXDRK.js.map +0 -1
- package/dist/chunk-GXPLVMB6.cjs.map +0 -1
- package/dist/chunk-PKRHEXX7.js.map +0 -1
- package/dist/chunk-PRNUFXPC.cjs.map +0 -1
- package/dist/chunk-QCW6WANZ.cjs.map +0 -1
- package/dist/chunk-TLA5YDQF.cjs.map +0 -1
- package/dist/chunk-U565A3UD.js.map +0 -1
- package/dist/chunk-VJVDLNFK.js.map +0 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import type { Context } from '../types.js';
|
|
2
3
|
export interface WorkflowContext extends Context {
|
|
3
4
|
workflowId?: string;
|
|
4
5
|
runId?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
7
|
+
export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
8
|
+
partial?: string | undefined;
|
|
9
|
+
}, Record<string, {
|
|
7
10
|
steps: Record<string, {
|
|
8
11
|
id: string;
|
|
9
12
|
description?: string | undefined;
|
|
@@ -20,7 +23,6 @@ export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRou
|
|
|
20
23
|
description?: string | undefined;
|
|
21
24
|
inputSchema?: string | undefined;
|
|
22
25
|
outputSchema?: string | undefined;
|
|
23
|
-
isProcessorWorkflow?: boolean | undefined;
|
|
24
26
|
}>, "json">;
|
|
25
27
|
export declare const GET_WORKFLOW_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
26
28
|
workflowId: string;
|
|
@@ -41,55 +43,38 @@ export declare const GET_WORKFLOW_BY_ID_ROUTE: import("../server-adapter").Serve
|
|
|
41
43
|
description?: string | undefined;
|
|
42
44
|
inputSchema?: string | undefined;
|
|
43
45
|
outputSchema?: string | undefined;
|
|
44
|
-
isProcessorWorkflow?: boolean | undefined;
|
|
45
46
|
}, "json">;
|
|
46
|
-
export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
47
|
-
workflowId:
|
|
48
|
-
}, "strip",
|
|
47
|
+
export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
48
|
+
workflowId: z.ZodString;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
50
|
workflowId: string;
|
|
50
51
|
}, {
|
|
51
52
|
workflowId: string;
|
|
52
|
-
}>,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
}>, z.ZodObject<{
|
|
54
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
55
58
|
} & {
|
|
56
|
-
fromDate:
|
|
57
|
-
toDate:
|
|
58
|
-
resourceId:
|
|
59
|
-
status:
|
|
60
|
-
}, "strip",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
resourceId?: string | undefined;
|
|
65
|
-
fromDate?: Date | undefined;
|
|
66
|
-
toDate?: Date | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
69
|
-
limit?: number | undefined;
|
|
59
|
+
fromDate: z.ZodOptional<z.ZodDate>;
|
|
60
|
+
toDate: z.ZodOptional<z.ZodDate>;
|
|
61
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
status: z.ZodOptional<z.ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed"]>>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
65
|
+
page?: number | undefined;
|
|
66
|
+
perPage?: number | undefined;
|
|
70
67
|
offset?: number | undefined;
|
|
71
|
-
resourceId?: string | undefined;
|
|
72
|
-
fromDate?: Date | undefined;
|
|
73
|
-
toDate?: Date | undefined;
|
|
74
|
-
}> | import("zod").ZodObject<{
|
|
75
|
-
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
76
|
-
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
77
|
-
} & {
|
|
78
|
-
fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
79
|
-
toDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
80
|
-
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed", "tripwire"]>>;
|
|
82
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
83
|
-
offset: number;
|
|
84
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | undefined;
|
|
85
68
|
limit?: number | undefined;
|
|
86
69
|
resourceId?: string | undefined;
|
|
87
70
|
fromDate?: Date | undefined;
|
|
88
71
|
toDate?: Date | undefined;
|
|
89
72
|
}, {
|
|
90
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" |
|
|
91
|
-
|
|
73
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
74
|
+
page?: number | undefined;
|
|
75
|
+
perPage?: number | undefined;
|
|
92
76
|
offset?: number | undefined;
|
|
77
|
+
limit?: number | undefined;
|
|
93
78
|
resourceId?: string | undefined;
|
|
94
79
|
fromDate?: Date | undefined;
|
|
95
80
|
toDate?: Date | undefined;
|
|
@@ -115,43 +100,49 @@ export declare const GET_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").S
|
|
|
115
100
|
updatedAt: Date;
|
|
116
101
|
resourceId?: string | undefined;
|
|
117
102
|
}, "json">;
|
|
118
|
-
export declare const
|
|
119
|
-
|
|
120
|
-
|
|
103
|
+
export declare const DELETE_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
104
|
+
runId: string;
|
|
105
|
+
workflowId: string;
|
|
106
|
+
}, {
|
|
107
|
+
message: string;
|
|
108
|
+
}, "json">;
|
|
109
|
+
export declare const CREATE_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
110
|
+
workflowId: z.ZodString;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
112
|
workflowId: string;
|
|
122
113
|
}, {
|
|
123
114
|
workflowId: string;
|
|
124
|
-
}>,
|
|
125
|
-
runId:
|
|
126
|
-
}, "strip",
|
|
115
|
+
}>, z.ZodObject<{
|
|
116
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
118
|
runId?: string | undefined;
|
|
128
119
|
}, {
|
|
129
120
|
runId?: string | undefined;
|
|
130
121
|
}>, undefined>, {
|
|
131
122
|
runId: string;
|
|
132
123
|
}, "json">;
|
|
133
|
-
export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
134
|
-
workflowId:
|
|
135
|
-
}, "strip",
|
|
124
|
+
export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
125
|
+
workflowId: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
127
|
workflowId: string;
|
|
137
128
|
}, {
|
|
138
129
|
workflowId: string;
|
|
139
|
-
}>,
|
|
140
|
-
runId:
|
|
141
|
-
}, "strip",
|
|
130
|
+
}>, z.ZodObject<{
|
|
131
|
+
runId: z.ZodString;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
133
|
runId: string;
|
|
143
134
|
}, {
|
|
144
135
|
runId: string;
|
|
145
|
-
}>,
|
|
146
|
-
inputData:
|
|
147
|
-
initialState:
|
|
148
|
-
requestContext:
|
|
149
|
-
tracingOptions:
|
|
150
|
-
metadata:
|
|
151
|
-
requestContextKeys:
|
|
152
|
-
traceId:
|
|
153
|
-
parentSpanId:
|
|
154
|
-
}, "strip",
|
|
136
|
+
}>, z.ZodObject<{
|
|
137
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
138
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
139
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
140
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
142
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
144
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
146
|
metadata?: Record<string, unknown> | undefined;
|
|
156
147
|
requestContextKeys?: string[] | undefined;
|
|
157
148
|
traceId?: string | undefined;
|
|
@@ -163,8 +154,8 @@ export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
163
154
|
parentSpanId?: string | undefined;
|
|
164
155
|
}>>;
|
|
165
156
|
} & {
|
|
166
|
-
closeOnSuspend:
|
|
167
|
-
}, "strip",
|
|
157
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
159
|
inputData?: unknown;
|
|
169
160
|
initialState?: unknown;
|
|
170
161
|
requestContext?: Record<string, unknown> | undefined;
|
|
@@ -187,28 +178,28 @@ export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
187
178
|
} | undefined;
|
|
188
179
|
closeOnSuspend?: boolean | undefined;
|
|
189
180
|
}>>, unknown, "stream">;
|
|
190
|
-
export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
191
|
-
workflowId:
|
|
192
|
-
}, "strip",
|
|
181
|
+
export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
182
|
+
workflowId: z.ZodString;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
184
|
workflowId: string;
|
|
194
185
|
}, {
|
|
195
186
|
workflowId: string;
|
|
196
|
-
}>,
|
|
197
|
-
runId:
|
|
198
|
-
}, "strip",
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
|
+
runId: z.ZodString;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
190
|
runId: string;
|
|
200
191
|
}, {
|
|
201
192
|
runId: string;
|
|
202
|
-
}>,
|
|
203
|
-
inputData:
|
|
204
|
-
initialState:
|
|
205
|
-
requestContext:
|
|
206
|
-
tracingOptions:
|
|
207
|
-
metadata:
|
|
208
|
-
requestContextKeys:
|
|
209
|
-
traceId:
|
|
210
|
-
parentSpanId:
|
|
211
|
-
}, "strip",
|
|
193
|
+
}>, z.ZodObject<{
|
|
194
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
195
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
196
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
197
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
199
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
200
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
201
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
203
|
metadata?: Record<string, unknown> | undefined;
|
|
213
204
|
requestContextKeys?: string[] | undefined;
|
|
214
205
|
traceId?: string | undefined;
|
|
@@ -220,8 +211,8 @@ export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
220
211
|
parentSpanId?: string | undefined;
|
|
221
212
|
}>>;
|
|
222
213
|
} & {
|
|
223
|
-
closeOnSuspend:
|
|
224
|
-
}, "strip",
|
|
214
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
216
|
inputData?: unknown;
|
|
226
217
|
initialState?: unknown;
|
|
227
218
|
requestContext?: Record<string, unknown> | undefined;
|
|
@@ -244,28 +235,28 @@ export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
244
235
|
} | undefined;
|
|
245
236
|
closeOnSuspend?: boolean | undefined;
|
|
246
237
|
}>>, unknown, "stream">;
|
|
247
|
-
export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
248
|
-
workflowId:
|
|
249
|
-
}, "strip",
|
|
238
|
+
export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
239
|
+
workflowId: z.ZodString;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
241
|
workflowId: string;
|
|
251
242
|
}, {
|
|
252
243
|
workflowId: string;
|
|
253
|
-
}>,
|
|
254
|
-
runId:
|
|
255
|
-
}, "strip",
|
|
244
|
+
}>, z.ZodObject<{
|
|
245
|
+
runId: z.ZodString;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
247
|
runId: string;
|
|
257
248
|
}, {
|
|
258
249
|
runId: string;
|
|
259
|
-
}>,
|
|
260
|
-
step:
|
|
261
|
-
resumeData:
|
|
262
|
-
requestContext:
|
|
263
|
-
tracingOptions:
|
|
264
|
-
metadata:
|
|
265
|
-
requestContextKeys:
|
|
266
|
-
traceId:
|
|
267
|
-
parentSpanId:
|
|
268
|
-
}, "strip",
|
|
250
|
+
}>, z.ZodObject<{
|
|
251
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
252
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
253
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
254
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
256
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
257
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
269
260
|
metadata?: Record<string, unknown> | undefined;
|
|
270
261
|
requestContextKeys?: string[] | undefined;
|
|
271
262
|
traceId?: string | undefined;
|
|
@@ -276,7 +267,7 @@ export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
276
267
|
traceId?: string | undefined;
|
|
277
268
|
parentSpanId?: string | undefined;
|
|
278
269
|
}>>;
|
|
279
|
-
}, "strip",
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
271
|
step?: string | string[] | undefined;
|
|
281
272
|
requestContext?: Record<string, unknown> | undefined;
|
|
282
273
|
tracingOptions?: {
|
|
@@ -301,32 +292,32 @@ export declare const GET_WORKFLOW_RUN_EXECUTION_RESULT_ROUTE: import("../server-
|
|
|
301
292
|
runId: string;
|
|
302
293
|
workflowId: string;
|
|
303
294
|
}, {
|
|
304
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed"
|
|
295
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
305
296
|
error?: unknown;
|
|
306
297
|
result?: unknown;
|
|
307
298
|
}, "json">;
|
|
308
|
-
export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
309
|
-
workflowId:
|
|
310
|
-
}, "strip",
|
|
299
|
+
export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
300
|
+
workflowId: z.ZodString;
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
311
302
|
workflowId: string;
|
|
312
303
|
}, {
|
|
313
304
|
workflowId: string;
|
|
314
|
-
}>,
|
|
315
|
-
runId:
|
|
316
|
-
}, "strip",
|
|
305
|
+
}>, z.ZodObject<{
|
|
306
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
308
|
runId?: string | undefined;
|
|
318
309
|
}, {
|
|
319
310
|
runId?: string | undefined;
|
|
320
|
-
}>,
|
|
321
|
-
inputData:
|
|
322
|
-
initialState:
|
|
323
|
-
requestContext:
|
|
324
|
-
tracingOptions:
|
|
325
|
-
metadata:
|
|
326
|
-
requestContextKeys:
|
|
327
|
-
traceId:
|
|
328
|
-
parentSpanId:
|
|
329
|
-
}, "strip",
|
|
311
|
+
}>, z.ZodObject<{
|
|
312
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
313
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
314
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
315
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
317
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
318
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
319
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
330
321
|
metadata?: Record<string, unknown> | undefined;
|
|
331
322
|
requestContextKeys?: string[] | undefined;
|
|
332
323
|
traceId?: string | undefined;
|
|
@@ -337,7 +328,7 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
337
328
|
traceId?: string | undefined;
|
|
338
329
|
parentSpanId?: string | undefined;
|
|
339
330
|
}>>;
|
|
340
|
-
}, "strip",
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
332
|
inputData?: unknown;
|
|
342
333
|
initialState?: unknown;
|
|
343
334
|
requestContext?: Record<string, unknown> | undefined;
|
|
@@ -358,32 +349,32 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
358
349
|
parentSpanId?: string | undefined;
|
|
359
350
|
} | undefined;
|
|
360
351
|
}>>, {
|
|
361
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed"
|
|
352
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
362
353
|
error?: unknown;
|
|
363
354
|
result?: unknown;
|
|
364
355
|
}, "json">;
|
|
365
|
-
export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
366
|
-
workflowId:
|
|
367
|
-
}, "strip",
|
|
356
|
+
export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
357
|
+
workflowId: z.ZodString;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
359
|
workflowId: string;
|
|
369
360
|
}, {
|
|
370
361
|
workflowId: string;
|
|
371
|
-
}>,
|
|
372
|
-
runId:
|
|
373
|
-
}, "strip",
|
|
362
|
+
}>, z.ZodObject<{
|
|
363
|
+
runId: z.ZodString;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
365
|
runId: string;
|
|
375
366
|
}, {
|
|
376
367
|
runId: string;
|
|
377
|
-
}>,
|
|
378
|
-
inputData:
|
|
379
|
-
initialState:
|
|
380
|
-
requestContext:
|
|
381
|
-
tracingOptions:
|
|
382
|
-
metadata:
|
|
383
|
-
requestContextKeys:
|
|
384
|
-
traceId:
|
|
385
|
-
parentSpanId:
|
|
386
|
-
}, "strip",
|
|
368
|
+
}>, z.ZodObject<{
|
|
369
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
370
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
371
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
372
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
373
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
375
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
376
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
378
|
metadata?: Record<string, unknown> | undefined;
|
|
388
379
|
requestContextKeys?: string[] | undefined;
|
|
389
380
|
traceId?: string | undefined;
|
|
@@ -394,7 +385,7 @@ export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serve
|
|
|
394
385
|
traceId?: string | undefined;
|
|
395
386
|
parentSpanId?: string | undefined;
|
|
396
387
|
}>>;
|
|
397
|
-
}, "strip",
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
398
389
|
inputData?: unknown;
|
|
399
390
|
initialState?: unknown;
|
|
400
391
|
requestContext?: Record<string, unknown> | undefined;
|
|
@@ -417,54 +408,54 @@ export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serve
|
|
|
417
408
|
}>>, {
|
|
418
409
|
message: string;
|
|
419
410
|
}, "json">;
|
|
420
|
-
export declare const OBSERVE_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
421
|
-
workflowId:
|
|
422
|
-
}, "strip",
|
|
411
|
+
export declare const OBSERVE_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
412
|
+
workflowId: z.ZodString;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
414
|
workflowId: string;
|
|
424
415
|
}, {
|
|
425
416
|
workflowId: string;
|
|
426
|
-
}>,
|
|
427
|
-
runId:
|
|
428
|
-
}, "strip",
|
|
417
|
+
}>, z.ZodObject<{
|
|
418
|
+
runId: z.ZodString;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
429
420
|
runId: string;
|
|
430
421
|
}, {
|
|
431
422
|
runId: string;
|
|
432
423
|
}>, undefined>, any, "stream">;
|
|
433
|
-
export declare const OBSERVE_STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
434
|
-
workflowId:
|
|
435
|
-
}, "strip",
|
|
424
|
+
export declare const OBSERVE_STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
425
|
+
workflowId: z.ZodString;
|
|
426
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
427
|
workflowId: string;
|
|
437
428
|
}, {
|
|
438
429
|
workflowId: string;
|
|
439
|
-
}>,
|
|
440
|
-
runId:
|
|
441
|
-
}, "strip",
|
|
430
|
+
}>, z.ZodObject<{
|
|
431
|
+
runId: z.ZodString;
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
433
|
runId: string;
|
|
443
434
|
}, {
|
|
444
435
|
runId: string;
|
|
445
436
|
}>, undefined>, any, "stream">;
|
|
446
|
-
export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
447
|
-
workflowId:
|
|
448
|
-
}, "strip",
|
|
437
|
+
export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
438
|
+
workflowId: z.ZodString;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
449
440
|
workflowId: string;
|
|
450
441
|
}, {
|
|
451
442
|
workflowId: string;
|
|
452
|
-
}>,
|
|
453
|
-
runId:
|
|
454
|
-
}, "strip",
|
|
443
|
+
}>, z.ZodObject<{
|
|
444
|
+
runId: z.ZodString;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
446
|
runId: string;
|
|
456
447
|
}, {
|
|
457
448
|
runId: string;
|
|
458
|
-
}>,
|
|
459
|
-
step:
|
|
460
|
-
resumeData:
|
|
461
|
-
requestContext:
|
|
462
|
-
tracingOptions:
|
|
463
|
-
metadata:
|
|
464
|
-
requestContextKeys:
|
|
465
|
-
traceId:
|
|
466
|
-
parentSpanId:
|
|
467
|
-
}, "strip",
|
|
449
|
+
}>, z.ZodObject<{
|
|
450
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
451
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
452
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
453
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
455
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
456
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
457
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
468
459
|
metadata?: Record<string, unknown> | undefined;
|
|
469
460
|
requestContextKeys?: string[] | undefined;
|
|
470
461
|
traceId?: string | undefined;
|
|
@@ -475,7 +466,7 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
475
466
|
traceId?: string | undefined;
|
|
476
467
|
parentSpanId?: string | undefined;
|
|
477
468
|
}>>;
|
|
478
|
-
}, "strip",
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
470
|
step?: string | string[] | undefined;
|
|
480
471
|
requestContext?: Record<string, unknown> | undefined;
|
|
481
472
|
tracingOptions?: {
|
|
@@ -496,32 +487,32 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
496
487
|
} | undefined;
|
|
497
488
|
resumeData?: unknown;
|
|
498
489
|
}>>, {
|
|
499
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed"
|
|
490
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
500
491
|
error?: unknown;
|
|
501
492
|
result?: unknown;
|
|
502
493
|
}, "json">;
|
|
503
|
-
export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
504
|
-
workflowId:
|
|
505
|
-
}, "strip",
|
|
494
|
+
export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
495
|
+
workflowId: z.ZodString;
|
|
496
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
497
|
workflowId: string;
|
|
507
498
|
}, {
|
|
508
499
|
workflowId: string;
|
|
509
|
-
}>,
|
|
510
|
-
runId:
|
|
511
|
-
}, "strip",
|
|
500
|
+
}>, z.ZodObject<{
|
|
501
|
+
runId: z.ZodString;
|
|
502
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
503
|
runId: string;
|
|
513
504
|
}, {
|
|
514
505
|
runId: string;
|
|
515
|
-
}>,
|
|
516
|
-
step:
|
|
517
|
-
resumeData:
|
|
518
|
-
requestContext:
|
|
519
|
-
tracingOptions:
|
|
520
|
-
metadata:
|
|
521
|
-
requestContextKeys:
|
|
522
|
-
traceId:
|
|
523
|
-
parentSpanId:
|
|
524
|
-
}, "strip",
|
|
506
|
+
}>, z.ZodObject<{
|
|
507
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
508
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
509
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
510
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
512
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
513
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
514
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
516
|
metadata?: Record<string, unknown> | undefined;
|
|
526
517
|
requestContextKeys?: string[] | undefined;
|
|
527
518
|
traceId?: string | undefined;
|
|
@@ -532,7 +523,7 @@ export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
532
523
|
traceId?: string | undefined;
|
|
533
524
|
parentSpanId?: string | undefined;
|
|
534
525
|
}>>;
|
|
535
|
-
}, "strip",
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
527
|
step?: string | string[] | undefined;
|
|
537
528
|
requestContext?: Record<string, unknown> | undefined;
|
|
538
529
|
tracingOptions?: {
|
|
@@ -555,26 +546,26 @@ export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
555
546
|
}>>, {
|
|
556
547
|
message: string;
|
|
557
548
|
}, "json">;
|
|
558
|
-
export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
559
|
-
workflowId:
|
|
560
|
-
}, "strip",
|
|
549
|
+
export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
550
|
+
workflowId: z.ZodString;
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
561
552
|
workflowId: string;
|
|
562
553
|
}, {
|
|
563
554
|
workflowId: string;
|
|
564
|
-
}>,
|
|
565
|
-
runId:
|
|
566
|
-
}, "strip",
|
|
555
|
+
}>, z.ZodObject<{
|
|
556
|
+
runId: z.ZodString;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
567
558
|
runId: string;
|
|
568
559
|
}, {
|
|
569
560
|
runId: string;
|
|
570
|
-
}>,
|
|
571
|
-
requestContext:
|
|
572
|
-
tracingOptions:
|
|
573
|
-
metadata:
|
|
574
|
-
requestContextKeys:
|
|
575
|
-
traceId:
|
|
576
|
-
parentSpanId:
|
|
577
|
-
}, "strip",
|
|
561
|
+
}>, z.ZodObject<{
|
|
562
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
563
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
565
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
566
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
567
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
569
|
metadata?: Record<string, unknown> | undefined;
|
|
579
570
|
requestContextKeys?: string[] | undefined;
|
|
580
571
|
traceId?: string | undefined;
|
|
@@ -585,7 +576,7 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
585
576
|
traceId?: string | undefined;
|
|
586
577
|
parentSpanId?: string | undefined;
|
|
587
578
|
}>>;
|
|
588
|
-
}, "strip",
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
589
580
|
requestContext?: Record<string, unknown> | undefined;
|
|
590
581
|
tracingOptions?: {
|
|
591
582
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -602,30 +593,30 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
602
593
|
parentSpanId?: string | undefined;
|
|
603
594
|
} | undefined;
|
|
604
595
|
}>>, {
|
|
605
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed"
|
|
596
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
606
597
|
error?: unknown;
|
|
607
598
|
result?: unknown;
|
|
608
599
|
}, "json">;
|
|
609
|
-
export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
610
|
-
workflowId:
|
|
611
|
-
}, "strip",
|
|
600
|
+
export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
601
|
+
workflowId: z.ZodString;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
612
603
|
workflowId: string;
|
|
613
604
|
}, {
|
|
614
605
|
workflowId: string;
|
|
615
|
-
}>,
|
|
616
|
-
runId:
|
|
617
|
-
}, "strip",
|
|
606
|
+
}>, z.ZodObject<{
|
|
607
|
+
runId: z.ZodString;
|
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
609
|
runId: string;
|
|
619
610
|
}, {
|
|
620
611
|
runId: string;
|
|
621
|
-
}>,
|
|
622
|
-
requestContext:
|
|
623
|
-
tracingOptions:
|
|
624
|
-
metadata:
|
|
625
|
-
requestContextKeys:
|
|
626
|
-
traceId:
|
|
627
|
-
parentSpanId:
|
|
628
|
-
}, "strip",
|
|
612
|
+
}>, z.ZodObject<{
|
|
613
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
614
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
615
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
616
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
617
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
618
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
|
629
620
|
metadata?: Record<string, unknown> | undefined;
|
|
630
621
|
requestContextKeys?: string[] | undefined;
|
|
631
622
|
traceId?: string | undefined;
|
|
@@ -636,7 +627,7 @@ export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerR
|
|
|
636
627
|
traceId?: string | undefined;
|
|
637
628
|
parentSpanId?: string | undefined;
|
|
638
629
|
}>>;
|
|
639
|
-
}, "strip",
|
|
630
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
631
|
requestContext?: Record<string, unknown> | undefined;
|
|
641
632
|
tracingOptions?: {
|
|
642
633
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -665,32 +656,32 @@ export declare const RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE: import("../server-a
|
|
|
665
656
|
}, {
|
|
666
657
|
message: string;
|
|
667
658
|
}, "json">;
|
|
668
|
-
export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
669
|
-
workflowId:
|
|
670
|
-
}, "strip",
|
|
659
|
+
export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
660
|
+
workflowId: z.ZodString;
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
671
662
|
workflowId: string;
|
|
672
663
|
}, {
|
|
673
664
|
workflowId: string;
|
|
674
|
-
}>,
|
|
675
|
-
runId:
|
|
676
|
-
}, "strip",
|
|
665
|
+
}>, z.ZodObject<{
|
|
666
|
+
runId: z.ZodString;
|
|
667
|
+
}, "strip", z.ZodTypeAny, {
|
|
677
668
|
runId: string;
|
|
678
669
|
}, {
|
|
679
670
|
runId: string;
|
|
680
|
-
}>,
|
|
681
|
-
inputData:
|
|
682
|
-
resumeData:
|
|
683
|
-
initialState:
|
|
684
|
-
step:
|
|
685
|
-
context:
|
|
686
|
-
nestedStepsContext:
|
|
687
|
-
requestContext:
|
|
688
|
-
tracingOptions:
|
|
689
|
-
metadata:
|
|
690
|
-
requestContextKeys:
|
|
691
|
-
traceId:
|
|
692
|
-
parentSpanId:
|
|
693
|
-
}, "strip",
|
|
671
|
+
}>, z.ZodObject<{
|
|
672
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
673
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
674
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
675
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
676
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
677
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
678
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
679
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
680
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
681
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
682
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
683
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
684
|
+
}, "strip", z.ZodTypeAny, {
|
|
694
685
|
metadata?: Record<string, unknown> | undefined;
|
|
695
686
|
requestContextKeys?: string[] | undefined;
|
|
696
687
|
traceId?: string | undefined;
|
|
@@ -701,7 +692,7 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
701
692
|
traceId?: string | undefined;
|
|
702
693
|
parentSpanId?: string | undefined;
|
|
703
694
|
}>>;
|
|
704
|
-
}, "strip",
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
705
696
|
step: string | string[];
|
|
706
697
|
context?: Record<string, any> | undefined;
|
|
707
698
|
inputData?: unknown;
|
|
@@ -730,36 +721,36 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
730
721
|
resumeData?: unknown;
|
|
731
722
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
732
723
|
}>>, {
|
|
733
|
-
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed"
|
|
724
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
734
725
|
error?: unknown;
|
|
735
726
|
result?: unknown;
|
|
736
727
|
}, "json">;
|
|
737
|
-
export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
738
|
-
workflowId:
|
|
739
|
-
}, "strip",
|
|
728
|
+
export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
729
|
+
workflowId: z.ZodString;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
740
731
|
workflowId: string;
|
|
741
732
|
}, {
|
|
742
733
|
workflowId: string;
|
|
743
|
-
}>,
|
|
744
|
-
runId:
|
|
745
|
-
}, "strip",
|
|
734
|
+
}>, z.ZodObject<{
|
|
735
|
+
runId: z.ZodString;
|
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
|
746
737
|
runId: string;
|
|
747
738
|
}, {
|
|
748
739
|
runId: string;
|
|
749
|
-
}>,
|
|
750
|
-
inputData:
|
|
751
|
-
resumeData:
|
|
752
|
-
initialState:
|
|
753
|
-
step:
|
|
754
|
-
context:
|
|
755
|
-
nestedStepsContext:
|
|
756
|
-
requestContext:
|
|
757
|
-
tracingOptions:
|
|
758
|
-
metadata:
|
|
759
|
-
requestContextKeys:
|
|
760
|
-
traceId:
|
|
761
|
-
parentSpanId:
|
|
762
|
-
}, "strip",
|
|
740
|
+
}>, z.ZodObject<{
|
|
741
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
742
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
743
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
744
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
745
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
746
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
747
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
748
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
749
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
750
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
751
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
752
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
754
|
metadata?: Record<string, unknown> | undefined;
|
|
764
755
|
requestContextKeys?: string[] | undefined;
|
|
765
756
|
traceId?: string | undefined;
|
|
@@ -770,7 +761,7 @@ export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
770
761
|
traceId?: string | undefined;
|
|
771
762
|
parentSpanId?: string | undefined;
|
|
772
763
|
}>>;
|
|
773
|
-
}, "strip",
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
774
765
|
step: string | string[];
|
|
775
766
|
context?: Record<string, any> | undefined;
|
|
776
767
|
inputData?: unknown;
|
|
@@ -801,32 +792,32 @@ export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
801
792
|
}>>, {
|
|
802
793
|
message: string;
|
|
803
794
|
}, "json">;
|
|
804
|
-
export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
805
|
-
workflowId:
|
|
806
|
-
}, "strip",
|
|
795
|
+
export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
796
|
+
workflowId: z.ZodString;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
807
798
|
workflowId: string;
|
|
808
799
|
}, {
|
|
809
800
|
workflowId: string;
|
|
810
|
-
}>,
|
|
811
|
-
runId:
|
|
812
|
-
}, "strip",
|
|
801
|
+
}>, z.ZodObject<{
|
|
802
|
+
runId: z.ZodString;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
804
|
runId: string;
|
|
814
805
|
}, {
|
|
815
806
|
runId: string;
|
|
816
|
-
}>,
|
|
817
|
-
inputData:
|
|
818
|
-
resumeData:
|
|
819
|
-
initialState:
|
|
820
|
-
step:
|
|
821
|
-
context:
|
|
822
|
-
nestedStepsContext:
|
|
823
|
-
requestContext:
|
|
824
|
-
tracingOptions:
|
|
825
|
-
metadata:
|
|
826
|
-
requestContextKeys:
|
|
827
|
-
traceId:
|
|
828
|
-
parentSpanId:
|
|
829
|
-
}, "strip",
|
|
807
|
+
}>, z.ZodObject<{
|
|
808
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
809
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
810
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
811
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
812
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
813
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
814
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
815
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
816
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
817
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
818
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
819
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
820
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
821
|
metadata?: Record<string, unknown> | undefined;
|
|
831
822
|
requestContextKeys?: string[] | undefined;
|
|
832
823
|
traceId?: string | undefined;
|
|
@@ -837,7 +828,7 @@ export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapte
|
|
|
837
828
|
traceId?: string | undefined;
|
|
838
829
|
parentSpanId?: string | undefined;
|
|
839
830
|
}>>;
|
|
840
|
-
}, "strip",
|
|
831
|
+
}, "strip", z.ZodTypeAny, {
|
|
841
832
|
step: string | string[];
|
|
842
833
|
context?: Record<string, any> | undefined;
|
|
843
834
|
inputData?: unknown;
|
|
@@ -872,28 +863,28 @@ export declare const CANCEL_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serv
|
|
|
872
863
|
}, {
|
|
873
864
|
message: string;
|
|
874
865
|
}, "json">;
|
|
875
|
-
export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
876
|
-
workflowId:
|
|
877
|
-
}, "strip",
|
|
866
|
+
export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
867
|
+
workflowId: z.ZodString;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
869
|
workflowId: string;
|
|
879
870
|
}, {
|
|
880
871
|
workflowId: string;
|
|
881
|
-
}>,
|
|
882
|
-
runId:
|
|
883
|
-
}, "strip",
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
runId: z.ZodString;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
884
875
|
runId: string;
|
|
885
876
|
}, {
|
|
886
877
|
runId: string;
|
|
887
|
-
}>,
|
|
888
|
-
inputData:
|
|
889
|
-
initialState:
|
|
890
|
-
requestContext:
|
|
891
|
-
tracingOptions:
|
|
892
|
-
metadata:
|
|
893
|
-
requestContextKeys:
|
|
894
|
-
traceId:
|
|
895
|
-
parentSpanId:
|
|
896
|
-
}, "strip",
|
|
878
|
+
}>, z.ZodObject<{
|
|
879
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
880
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
881
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
882
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
884
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
885
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
886
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
897
888
|
metadata?: Record<string, unknown> | undefined;
|
|
898
889
|
requestContextKeys?: string[] | undefined;
|
|
899
890
|
traceId?: string | undefined;
|
|
@@ -905,8 +896,8 @@ export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
905
896
|
parentSpanId?: string | undefined;
|
|
906
897
|
}>>;
|
|
907
898
|
} & {
|
|
908
|
-
closeOnSuspend:
|
|
909
|
-
}, "strip",
|
|
899
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
910
901
|
inputData?: unknown;
|
|
911
902
|
initialState?: unknown;
|
|
912
903
|
requestContext?: Record<string, unknown> | undefined;
|
|
@@ -929,15 +920,15 @@ export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
929
920
|
} | undefined;
|
|
930
921
|
closeOnSuspend?: boolean | undefined;
|
|
931
922
|
}>>, any, "stream">;
|
|
932
|
-
export declare const OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
933
|
-
workflowId:
|
|
934
|
-
}, "strip",
|
|
923
|
+
export declare const OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
924
|
+
workflowId: z.ZodString;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
935
926
|
workflowId: string;
|
|
936
927
|
}, {
|
|
937
928
|
workflowId: string;
|
|
938
|
-
}>,
|
|
939
|
-
runId:
|
|
940
|
-
}, "strip",
|
|
929
|
+
}>, z.ZodObject<{
|
|
930
|
+
runId: z.ZodString;
|
|
931
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
932
|
runId: string;
|
|
942
933
|
}, {
|
|
943
934
|
runId: string;
|