@mastra/server 1.0.0-beta.4 → 1.0.0-beta.5
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 +19 -0
- package/dist/chunk-2NW6POYK.cjs +89 -0
- package/dist/chunk-2NW6POYK.cjs.map +1 -0
- package/dist/chunk-4JMHKKV3.cjs +201 -0
- package/dist/chunk-4JMHKKV3.cjs.map +1 -0
- package/dist/chunk-4O2QGUW3.js +354 -0
- package/dist/chunk-4O2QGUW3.js.map +1 -0
- package/dist/chunk-4W2SM6CG.js +294 -0
- package/dist/chunk-4W2SM6CG.js.map +1 -0
- package/dist/chunk-5W4RPVTK.cjs +49 -0
- package/dist/chunk-5W4RPVTK.cjs.map +1 -0
- package/dist/chunk-65Q7HO3Q.cjs +907 -0
- package/dist/chunk-65Q7HO3Q.cjs.map +1 -0
- package/dist/chunk-6KNI7VIX.js +1021 -0
- package/dist/chunk-6KNI7VIX.js.map +1 -0
- package/dist/chunk-A6MQQTHN.js +310 -0
- package/dist/chunk-A6MQQTHN.js.map +1 -0
- package/dist/chunk-AUQBEMDP.cjs +322 -0
- package/dist/chunk-AUQBEMDP.cjs.map +1 -0
- package/dist/chunk-CBDUTSTI.js +192 -0
- package/dist/chunk-CBDUTSTI.js.map +1 -0
- package/dist/{chunk-VEVU6EUO.js → chunk-EI2GXZE2.js} +735 -154
- package/dist/chunk-EI2GXZE2.js.map +1 -0
- package/dist/{chunk-TOCYBDP2.js → chunk-ER3QM7DD.js} +4 -4
- package/dist/{chunk-TOCYBDP2.js.map → chunk-ER3QM7DD.js.map} +1 -1
- package/dist/chunk-FCHN5M25.js +878 -0
- package/dist/chunk-FCHN5M25.js.map +1 -0
- package/dist/chunk-FPCGLPLJ.cjs +297 -0
- package/dist/chunk-FPCGLPLJ.cjs.map +1 -0
- package/dist/{chunk-D7T74TVR.js → chunk-G7BPNX2V.js} +4 -3
- package/dist/chunk-G7BPNX2V.js.map +1 -0
- package/dist/chunk-IMK7366C.cjs +346 -0
- package/dist/chunk-IMK7366C.cjs.map +1 -0
- package/dist/chunk-LGG3N3AV.js +116 -0
- package/dist/chunk-LGG3N3AV.js.map +1 -0
- package/dist/chunk-LZDCXQMX.js +164 -0
- package/dist/chunk-LZDCXQMX.js.map +1 -0
- package/dist/chunk-MH3A7RDQ.cjs +1064 -0
- package/dist/chunk-MH3A7RDQ.cjs.map +1 -0
- package/dist/chunk-MWQQRVQC.cjs +259 -0
- package/dist/chunk-MWQQRVQC.cjs.map +1 -0
- package/dist/{chunk-7HVY3D64.cjs → chunk-P6BEEW5J.cjs} +1767 -1183
- package/dist/chunk-P6BEEW5J.cjs.map +1 -0
- package/dist/{chunk-KJIDZQRA.cjs → chunk-PDVJ2TTM.cjs} +216 -23
- package/dist/chunk-PDVJ2TTM.cjs.map +1 -0
- package/dist/chunk-PKRHEXX7.js +74 -0
- package/dist/chunk-PKRHEXX7.js.map +1 -0
- package/dist/chunk-QVHQZUGJ.cjs +368 -0
- package/dist/chunk-QVHQZUGJ.cjs.map +1 -0
- package/dist/chunk-R4M3BSUG.js +226 -0
- package/dist/chunk-R4M3BSUG.js.map +1 -0
- package/dist/chunk-R6ZTXNN2.cjs +797 -0
- package/dist/chunk-R6ZTXNN2.cjs.map +1 -0
- package/dist/{chunk-FPBYKMIS.js → chunk-RCCWKKI3.js} +210 -23
- package/dist/chunk-RCCWKKI3.js.map +1 -0
- package/dist/chunk-S6DFGBDD.cjs +211 -0
- package/dist/chunk-S6DFGBDD.cjs.map +1 -0
- package/dist/chunk-SAQSK4AG.cjs +167 -0
- package/dist/chunk-SAQSK4AG.cjs.map +1 -0
- package/dist/chunk-UCRV7PD3.js +773 -0
- package/dist/chunk-UCRV7PD3.js.map +1 -0
- package/dist/{chunk-W2KMU354.cjs → chunk-UZ6CYAOG.cjs} +4 -3
- package/dist/chunk-UZ6CYAOG.cjs.map +1 -0
- package/dist/{chunk-QU6N55W6.cjs → chunk-V272B7RM.cjs} +11 -12
- package/dist/chunk-V272B7RM.cjs.map +1 -0
- package/dist/{chunk-X6C7BUWN.cjs → chunk-XQPJ63ZD.cjs} +4 -4
- package/dist/{chunk-X6C7BUWN.cjs.map → chunk-XQPJ63ZD.cjs.map} +1 -1
- package/dist/chunk-XWGAT2DA.js +44 -0
- package/dist/chunk-XWGAT2DA.js.map +1 -0
- package/dist/chunk-YLQHE2S5.js +204 -0
- package/dist/chunk-YLQHE2S5.js.map +1 -0
- package/dist/{chunk-SHWNNZBL.js → chunk-YP34EWWK.js} +9 -10
- package/dist/chunk-YP34EWWK.js.map +1 -0
- package/dist/chunk-Z7R7CFVF.cjs +125 -0
- package/dist/chunk-Z7R7CFVF.cjs.map +1 -0
- package/dist/chunk-ZPZSAJAR.js +328 -0
- package/dist/chunk-ZPZSAJAR.js.map +1 -0
- package/dist/server/handlers/a2a.cjs +15 -7
- package/dist/server/handlers/a2a.d.ts +482 -0
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +37 -37
- package/dist/server/handlers/agent-builder.d.ts +600 -77
- 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 +53 -37
- package/dist/server/handlers/agents.d.ts +3271 -125
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/logs.cjs +7 -7
- package/dist/server/handlers/logs.d.ts +135 -27
- package/dist/server/handlers/logs.d.ts.map +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +65 -29
- package/dist/server/handlers/memory.d.ts +932 -96
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +21 -5
- package/dist/server/handlers/observability.d.ts +119 -12
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +13 -13
- package/dist/server/handlers/scores.d.ts +110 -141
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/test-utils.cjs +15 -0
- package/dist/server/handlers/test-utils.cjs.map +1 -0
- package/dist/server/handlers/test-utils.d.ts +6 -0
- package/dist/server/handlers/test-utils.d.ts.map +1 -0
- package/dist/server/handlers/test-utils.js +13 -0
- package/dist/server/handlers/test-utils.js.map +1 -0
- package/dist/server/handlers/tools.cjs +11 -11
- package/dist/server/handlers/tools.d.ts +69 -23
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +11 -3
- package/dist/server/handlers/utils.d.ts +5 -0
- package/dist/server/handlers/utils.d.ts.map +1 -1
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/vector.cjs +31 -7
- package/dist/server/handlers/vector.d.ts +93 -9
- package/dist/server/handlers/vector.d.ts.map +1 -1
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +21 -9
- package/dist/server/handlers/voice.d.ts +81 -40
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +65 -37
- package/dist/server/handlers/workflows.d.ts +919 -79
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +22 -22
- package/dist/server/handlers.js +11 -11
- package/dist/server/schemas/a2a.d.ts +786 -0
- package/dist/server/schemas/a2a.d.ts.map +1 -0
- package/dist/server/schemas/agent-builder.d.ts +195 -0
- package/dist/server/schemas/agent-builder.d.ts.map +1 -0
- package/dist/server/schemas/agents.d.ts +1375 -0
- package/dist/server/schemas/agents.d.ts.map +1 -0
- package/dist/server/schemas/common.d.ts +165 -0
- package/dist/server/schemas/common.d.ts.map +1 -0
- package/dist/server/schemas/logs.d.ts +124 -0
- package/dist/server/schemas/logs.d.ts.map +1 -0
- package/dist/server/schemas/memory.d.ts +998 -0
- package/dist/server/schemas/memory.d.ts.map +1 -0
- package/dist/server/schemas/observability.d.ts +402 -0
- package/dist/server/schemas/observability.d.ts.map +1 -0
- package/dist/server/schemas/scores.d.ts +259 -0
- package/dist/server/schemas/scores.d.ts.map +1 -0
- package/dist/server/schemas/vectors.d.ts +107 -0
- package/dist/server/schemas/vectors.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +608 -0
- package/dist/server/schemas/workflows.d.ts.map +1 -0
- package/dist/server/server-adapter/index.cjs +330 -0
- package/dist/server/server-adapter/index.cjs.map +1 -0
- package/dist/server/server-adapter/index.d.ts +52 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -0
- package/dist/server/server-adapter/index.js +316 -0
- package/dist/server/server-adapter/index.js.map +1 -0
- package/dist/server/server-adapter/openapi-utils.d.ts +59 -0
- package/dist/server/server-adapter/openapi-utils.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/a2a.d.ts +3 -0
- package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts +3 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agents.d.ts +3 -0
- package/dist/server/server-adapter/routes/agents.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/index.d.ts +41 -0
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/legacy.d.ts +7 -0
- package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/logs.d.ts +3 -0
- package/dist/server/server-adapter/routes/logs.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/memory.d.ts +3 -0
- package/dist/server/server-adapter/routes/memory.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/observability.d.ts +3 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts +52 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/scorers.d.ts +3 -0
- package/dist/server/server-adapter/routes/scorers.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/stream-types.d.ts +10 -0
- package/dist/server/server-adapter/routes/stream-types.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/tools.d.ts +3 -0
- package/dist/server/server-adapter/routes/tools.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/vectors.d.ts +3 -0
- package/dist/server/server-adapter/routes/vectors.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workflows.d.ts +3 -0
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -0
- package/dist/server/utils.d.ts.map +1 -1
- package/dist/token-GVZ7HRD7.js +62 -0
- package/dist/{token-C3IMNCC4.js.map → token-GVZ7HRD7.js.map} +1 -1
- package/dist/{token-C3IMNCC4.js → token-JGA3ZWAN.js} +5 -6
- package/dist/token-JGA3ZWAN.js.map +1 -0
- package/dist/token-VFONFWVS.cjs +64 -0
- package/dist/{token-375W3LEI.cjs.map → token-VFONFWVS.cjs.map} +1 -1
- package/dist/{token-375W3LEI.cjs → token-ZOD6YIQ3.cjs} +7 -8
- package/dist/token-ZOD6YIQ3.cjs.map +1 -0
- package/dist/token-util-7R2ZFIXO.js +7 -0
- package/dist/{token-util-E5QO2RCL.js.map → token-util-7R2ZFIXO.js.map} +1 -1
- package/dist/token-util-BLJZJDBZ.cjs +9 -0
- package/dist/{token-util-CV3RRG6K.cjs.map → token-util-BLJZJDBZ.cjs.map} +1 -1
- package/dist/token-util-VGZUWSNR.cjs +9 -0
- package/dist/token-util-VGZUWSNR.cjs.map +1 -0
- package/dist/token-util-VKTPZLSE.js +7 -0
- package/dist/token-util-VKTPZLSE.js.map +1 -0
- package/package.json +20 -7
- package/dist/chunk-2YZH5PH6.cjs +0 -200
- package/dist/chunk-2YZH5PH6.cjs.map +0 -1
- package/dist/chunk-3AMNUUZF.js +0 -124
- package/dist/chunk-3AMNUUZF.js.map +0 -1
- package/dist/chunk-3F52QCI4.js +0 -192
- package/dist/chunk-3F52QCI4.js.map +0 -1
- package/dist/chunk-4G5QBFEW.cjs +0 -681
- package/dist/chunk-4G5QBFEW.cjs.map +0 -1
- package/dist/chunk-73PAWDM5.js +0 -83
- package/dist/chunk-73PAWDM5.js.map +0 -1
- package/dist/chunk-7HVY3D64.cjs.map +0 -1
- package/dist/chunk-A24TSVEZ.cjs +0 -130
- package/dist/chunk-A24TSVEZ.cjs.map +0 -1
- package/dist/chunk-B3Z6J745.js +0 -122
- package/dist/chunk-B3Z6J745.js.map +0 -1
- package/dist/chunk-BTWIR2B7.cjs +0 -28
- package/dist/chunk-BTWIR2B7.cjs.map +0 -1
- package/dist/chunk-D7T74TVR.js.map +0 -1
- package/dist/chunk-FPBYKMIS.js.map +0 -1
- package/dist/chunk-GLAZTMX3.cjs +0 -128
- package/dist/chunk-GLAZTMX3.cjs.map +0 -1
- package/dist/chunk-KF3RI45U.cjs +0 -172
- package/dist/chunk-KF3RI45U.cjs.map +0 -1
- package/dist/chunk-KJIDZQRA.cjs.map +0 -1
- package/dist/chunk-KWH5QBXP.js +0 -123
- package/dist/chunk-KWH5QBXP.js.map +0 -1
- package/dist/chunk-ND5OKOMT.js +0 -165
- package/dist/chunk-ND5OKOMT.js.map +0 -1
- package/dist/chunk-PPMIB3FQ.cjs +0 -88
- package/dist/chunk-PPMIB3FQ.cjs.map +0 -1
- package/dist/chunk-QU6N55W6.cjs.map +0 -1
- package/dist/chunk-S54HNARD.cjs +0 -131
- package/dist/chunk-S54HNARD.cjs.map +0 -1
- package/dist/chunk-SHWNNZBL.js.map +0 -1
- package/dist/chunk-SZIFSF4T.js +0 -25
- package/dist/chunk-SZIFSF4T.js.map +0 -1
- package/dist/chunk-U7GLIXYO.cjs +0 -534
- package/dist/chunk-U7GLIXYO.cjs.map +0 -1
- package/dist/chunk-UGXW2KPL.js +0 -661
- package/dist/chunk-UGXW2KPL.js.map +0 -1
- package/dist/chunk-V6JYJS7O.js +0 -518
- package/dist/chunk-V6JYJS7O.js.map +0 -1
- package/dist/chunk-VEVU6EUO.js.map +0 -1
- package/dist/chunk-W2KMU354.cjs.map +0 -1
- package/dist/chunk-X3MICMI2.cjs +0 -620
- package/dist/chunk-X3MICMI2.cjs.map +0 -1
- package/dist/chunk-ZJ6KEY6H.js +0 -600
- package/dist/chunk-ZJ6KEY6H.js.map +0 -1
- package/dist/token-util-CV3RRG6K.cjs +0 -9
- package/dist/token-util-E5QO2RCL.js +0 -7
|
@@ -1,85 +1,608 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
1
|
+
export declare const LIST_AGENT_BUILDER_ACTIONS_ROUTE: import("../server-adapter").ServerRoute<{}, Record<string, {
|
|
2
|
+
steps: Record<string, {
|
|
3
|
+
id: string;
|
|
4
|
+
description?: string | undefined;
|
|
5
|
+
}>;
|
|
6
|
+
allSteps: Record<string, {
|
|
7
|
+
id: string;
|
|
8
|
+
description?: string | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
stepGraph: {
|
|
11
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
12
|
+
}[];
|
|
13
|
+
options?: {} | undefined;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
inputSchema?: string | undefined;
|
|
17
|
+
outputSchema?: string | undefined;
|
|
18
|
+
}>, "json">;
|
|
19
|
+
export declare const GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
20
|
+
actionId: string;
|
|
21
|
+
}, {
|
|
22
|
+
steps: Record<string, {
|
|
23
|
+
id: string;
|
|
24
|
+
description?: string | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
allSteps: Record<string, {
|
|
27
|
+
id: string;
|
|
28
|
+
description?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
stepGraph: {
|
|
31
|
+
type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
|
|
32
|
+
}[];
|
|
33
|
+
options?: {} | undefined;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
inputSchema?: string | undefined;
|
|
37
|
+
outputSchema?: string | undefined;
|
|
38
|
+
}, "json">;
|
|
39
|
+
export declare const LIST_AGENT_BUILDER_ACTION_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
40
|
+
actionId: import("zod").ZodString;
|
|
41
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
42
|
+
actionId: string;
|
|
43
|
+
}, {
|
|
44
|
+
actionId: string;
|
|
45
|
+
}>, import("zod").ZodObject<{
|
|
46
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
47
|
+
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
48
|
+
} & {
|
|
49
|
+
fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
50
|
+
toDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
51
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed"]>>;
|
|
53
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
54
|
+
limit: number;
|
|
55
|
+
offset: number;
|
|
56
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
57
|
+
resourceId?: string | undefined;
|
|
58
|
+
fromDate?: Date | undefined;
|
|
59
|
+
toDate?: Date | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
62
|
+
limit?: number | undefined;
|
|
63
|
+
offset?: number | undefined;
|
|
64
|
+
resourceId?: string | undefined;
|
|
65
|
+
fromDate?: Date | undefined;
|
|
66
|
+
toDate?: Date | undefined;
|
|
67
|
+
}> | import("zod").ZodObject<{
|
|
68
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
69
|
+
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
70
|
+
} & {
|
|
71
|
+
fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
72
|
+
toDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
73
|
+
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed"]>>;
|
|
75
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
76
|
+
offset: number;
|
|
77
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
78
|
+
limit?: number | undefined;
|
|
79
|
+
resourceId?: string | undefined;
|
|
80
|
+
fromDate?: Date | undefined;
|
|
81
|
+
toDate?: Date | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
84
|
+
limit?: number | undefined;
|
|
85
|
+
offset?: number | undefined;
|
|
86
|
+
resourceId?: string | undefined;
|
|
87
|
+
fromDate?: Date | undefined;
|
|
88
|
+
toDate?: Date | undefined;
|
|
89
|
+
}>, undefined>, {
|
|
90
|
+
total: number;
|
|
91
|
+
runs: {
|
|
92
|
+
runId: string;
|
|
93
|
+
workflowName: string;
|
|
94
|
+
snapshot: string | {};
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
updatedAt: Date;
|
|
97
|
+
resourceId?: string | undefined;
|
|
98
|
+
}[];
|
|
99
|
+
}, "json">;
|
|
100
|
+
export declare const GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
|
|
101
|
+
runId: string;
|
|
102
|
+
actionId: string;
|
|
103
|
+
}, {
|
|
104
|
+
runId: string;
|
|
105
|
+
workflowName: string;
|
|
106
|
+
snapshot: string | {};
|
|
107
|
+
createdAt: Date;
|
|
108
|
+
updatedAt: Date;
|
|
109
|
+
resourceId?: string | undefined;
|
|
110
|
+
}, "json">;
|
|
111
|
+
export declare const GET_AGENT_BUILDER_ACTION_RUN_EXECUTION_RESULT_ROUTE: import("../server-adapter").ServerRoute<{
|
|
112
|
+
runId: string;
|
|
113
|
+
actionId: string;
|
|
114
|
+
}, {
|
|
115
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
116
|
+
error?: unknown;
|
|
117
|
+
result?: unknown;
|
|
118
|
+
}, "json">;
|
|
119
|
+
export declare const CREATE_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
120
|
+
actionId: import("zod").ZodString;
|
|
121
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
122
|
+
actionId: string;
|
|
123
|
+
}, {
|
|
124
|
+
actionId: string;
|
|
125
|
+
}>, import("zod").ZodObject<{
|
|
126
|
+
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
128
|
+
runId?: string | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
runId?: string | undefined;
|
|
131
|
+
}>, undefined>, {
|
|
132
|
+
runId: string;
|
|
133
|
+
}, "json">;
|
|
134
|
+
export declare const STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
135
|
+
actionId: import("zod").ZodString;
|
|
136
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
137
|
+
actionId: string;
|
|
138
|
+
}, {
|
|
139
|
+
actionId: string;
|
|
140
|
+
}>, import("zod").ZodObject<{
|
|
141
|
+
runId: import("zod").ZodString;
|
|
142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
143
|
+
runId: string;
|
|
144
|
+
}, {
|
|
145
|
+
runId: string;
|
|
146
|
+
}>, import("zod").ZodObject<{
|
|
147
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
148
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
149
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
150
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
151
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
152
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
154
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
155
|
+
metadata?: Record<string, unknown> | undefined;
|
|
156
|
+
requestContextKeys?: string[] | undefined;
|
|
157
|
+
traceId?: string | undefined;
|
|
158
|
+
parentSpanId?: string | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
metadata?: Record<string, unknown> | undefined;
|
|
161
|
+
requestContextKeys?: string[] | undefined;
|
|
162
|
+
traceId?: string | undefined;
|
|
163
|
+
parentSpanId?: string | undefined;
|
|
164
|
+
}>>;
|
|
165
|
+
} & {
|
|
166
|
+
closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
167
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15
168
|
inputData?: unknown;
|
|
16
|
-
requestContext?:
|
|
17
|
-
tracingOptions?:
|
|
18
|
-
|
|
19
|
-
|
|
169
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
170
|
+
tracingOptions?: {
|
|
171
|
+
metadata?: Record<string, unknown> | undefined;
|
|
172
|
+
requestContextKeys?: string[] | undefined;
|
|
173
|
+
traceId?: string | undefined;
|
|
174
|
+
parentSpanId?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
closeOnSuspend?: boolean | undefined;
|
|
177
|
+
}, {
|
|
20
178
|
inputData?: unknown;
|
|
21
|
-
requestContext?:
|
|
22
|
-
tracingOptions?:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
179
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
180
|
+
tracingOptions?: {
|
|
181
|
+
metadata?: Record<string, unknown> | undefined;
|
|
182
|
+
requestContextKeys?: string[] | undefined;
|
|
183
|
+
traceId?: string | undefined;
|
|
184
|
+
parentSpanId?: string | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
closeOnSuspend?: boolean | undefined;
|
|
187
|
+
}>>, any, "stream">;
|
|
188
|
+
export declare const STREAM_VNEXT_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
189
|
+
actionId: import("zod").ZodString;
|
|
190
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
191
|
+
actionId: string;
|
|
192
|
+
}, {
|
|
193
|
+
actionId: string;
|
|
194
|
+
}>, import("zod").ZodObject<{
|
|
195
|
+
runId: import("zod").ZodString;
|
|
196
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
197
|
+
runId: string;
|
|
198
|
+
}, {
|
|
199
|
+
runId: string;
|
|
200
|
+
}>, import("zod").ZodObject<{
|
|
201
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
202
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
203
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
204
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
205
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
206
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
209
|
+
metadata?: Record<string, unknown> | undefined;
|
|
210
|
+
requestContextKeys?: string[] | undefined;
|
|
211
|
+
traceId?: string | undefined;
|
|
212
|
+
parentSpanId?: string | undefined;
|
|
213
|
+
}, {
|
|
214
|
+
metadata?: Record<string, unknown> | undefined;
|
|
215
|
+
requestContextKeys?: string[] | undefined;
|
|
216
|
+
traceId?: string | undefined;
|
|
217
|
+
parentSpanId?: string | undefined;
|
|
218
|
+
}>>;
|
|
219
|
+
} & {
|
|
220
|
+
closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
221
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
222
|
+
inputData?: unknown;
|
|
223
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
224
|
+
tracingOptions?: {
|
|
225
|
+
metadata?: Record<string, unknown> | undefined;
|
|
226
|
+
requestContextKeys?: string[] | undefined;
|
|
227
|
+
traceId?: string | undefined;
|
|
228
|
+
parentSpanId?: string | undefined;
|
|
229
|
+
} | undefined;
|
|
230
|
+
closeOnSuspend?: boolean | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
inputData?: unknown;
|
|
233
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
234
|
+
tracingOptions?: {
|
|
235
|
+
metadata?: Record<string, unknown> | undefined;
|
|
236
|
+
requestContextKeys?: string[] | undefined;
|
|
237
|
+
traceId?: string | undefined;
|
|
238
|
+
parentSpanId?: string | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
closeOnSuspend?: boolean | undefined;
|
|
241
|
+
}>>, any, "stream">;
|
|
242
|
+
export declare const START_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
243
|
+
actionId: import("zod").ZodString;
|
|
244
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
245
|
+
actionId: string;
|
|
246
|
+
}, {
|
|
247
|
+
actionId: string;
|
|
248
|
+
}>, import("zod").ZodObject<{
|
|
249
|
+
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
250
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
251
|
+
runId?: string | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
runId?: string | undefined;
|
|
254
|
+
}>, import("zod").ZodObject<{
|
|
255
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
256
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
257
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
258
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
259
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
260
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
261
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
262
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
263
|
+
metadata?: Record<string, unknown> | undefined;
|
|
264
|
+
requestContextKeys?: string[] | undefined;
|
|
265
|
+
traceId?: string | undefined;
|
|
266
|
+
parentSpanId?: string | undefined;
|
|
267
|
+
}, {
|
|
268
|
+
metadata?: Record<string, unknown> | undefined;
|
|
269
|
+
requestContextKeys?: string[] | undefined;
|
|
270
|
+
traceId?: string | undefined;
|
|
271
|
+
parentSpanId?: string | undefined;
|
|
272
|
+
}>>;
|
|
273
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
274
|
+
inputData?: unknown;
|
|
275
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
276
|
+
tracingOptions?: {
|
|
277
|
+
metadata?: Record<string, unknown> | undefined;
|
|
278
|
+
requestContextKeys?: string[] | undefined;
|
|
279
|
+
traceId?: string | undefined;
|
|
280
|
+
parentSpanId?: string | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
}, {
|
|
27
283
|
inputData?: unknown;
|
|
28
|
-
requestContext?:
|
|
29
|
-
tracingOptions?:
|
|
30
|
-
|
|
31
|
-
|
|
284
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
285
|
+
tracingOptions?: {
|
|
286
|
+
metadata?: Record<string, unknown> | undefined;
|
|
287
|
+
requestContextKeys?: string[] | undefined;
|
|
288
|
+
traceId?: string | undefined;
|
|
289
|
+
parentSpanId?: string | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
}>>, {
|
|
292
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
293
|
+
error?: unknown;
|
|
294
|
+
result?: unknown;
|
|
295
|
+
}, "json">;
|
|
296
|
+
export declare const START_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
297
|
+
actionId: import("zod").ZodString;
|
|
298
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
299
|
+
actionId: string;
|
|
300
|
+
}, {
|
|
301
|
+
actionId: string;
|
|
302
|
+
}>, import("zod").ZodObject<{
|
|
303
|
+
runId: import("zod").ZodString;
|
|
304
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
305
|
+
runId: string;
|
|
306
|
+
}, {
|
|
307
|
+
runId: string;
|
|
308
|
+
}>, import("zod").ZodObject<{
|
|
309
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
310
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
311
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
312
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
313
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
314
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
315
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
316
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
317
|
+
metadata?: Record<string, unknown> | undefined;
|
|
318
|
+
requestContextKeys?: string[] | undefined;
|
|
319
|
+
traceId?: string | undefined;
|
|
320
|
+
parentSpanId?: string | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
metadata?: Record<string, unknown> | undefined;
|
|
323
|
+
requestContextKeys?: string[] | undefined;
|
|
324
|
+
traceId?: string | undefined;
|
|
325
|
+
parentSpanId?: string | undefined;
|
|
326
|
+
}>>;
|
|
327
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32
328
|
inputData?: unknown;
|
|
33
|
-
requestContext?:
|
|
34
|
-
tracingOptions?:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
329
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
330
|
+
tracingOptions?: {
|
|
331
|
+
metadata?: Record<string, unknown> | undefined;
|
|
332
|
+
requestContextKeys?: string[] | undefined;
|
|
333
|
+
traceId?: string | undefined;
|
|
334
|
+
parentSpanId?: string | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
}, {
|
|
40
337
|
inputData?: unknown;
|
|
41
|
-
requestContext?:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
338
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
339
|
+
tracingOptions?: {
|
|
340
|
+
metadata?: Record<string, unknown> | undefined;
|
|
341
|
+
requestContextKeys?: string[] | undefined;
|
|
342
|
+
traceId?: string | undefined;
|
|
343
|
+
parentSpanId?: string | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
}>>, {
|
|
346
|
+
message: string;
|
|
347
|
+
}, "json">;
|
|
348
|
+
export declare const OBSERVE_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
349
|
+
actionId: import("zod").ZodString;
|
|
350
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
351
|
+
actionId: string;
|
|
352
|
+
}, {
|
|
353
|
+
actionId: string;
|
|
354
|
+
}>, import("zod").ZodObject<{
|
|
355
|
+
runId: import("zod").ZodString;
|
|
356
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
357
|
+
runId: string;
|
|
358
|
+
}, {
|
|
359
|
+
runId: string;
|
|
360
|
+
}>, undefined>, any, "stream">;
|
|
361
|
+
export declare const OBSERVE_STREAM_VNEXT_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
362
|
+
actionId: import("zod").ZodString;
|
|
363
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
364
|
+
actionId: string;
|
|
365
|
+
}, {
|
|
366
|
+
actionId: string;
|
|
367
|
+
}>, import("zod").ZodObject<{
|
|
368
|
+
runId: import("zod").ZodString;
|
|
369
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
370
|
+
runId: string;
|
|
371
|
+
}, {
|
|
372
|
+
runId: string;
|
|
373
|
+
}>, undefined>, any, "stream">;
|
|
374
|
+
export declare const RESUME_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
375
|
+
actionId: import("zod").ZodString;
|
|
376
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
377
|
+
actionId: string;
|
|
378
|
+
}, {
|
|
379
|
+
actionId: string;
|
|
380
|
+
}>, import("zod").ZodObject<{
|
|
381
|
+
runId: import("zod").ZodString;
|
|
382
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
383
|
+
runId: string;
|
|
384
|
+
}, {
|
|
385
|
+
runId: string;
|
|
386
|
+
}>, import("zod").ZodObject<{
|
|
387
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
388
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
389
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
390
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
391
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
392
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
393
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
394
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
395
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
396
|
+
metadata?: Record<string, unknown> | undefined;
|
|
397
|
+
requestContextKeys?: string[] | undefined;
|
|
398
|
+
traceId?: string | undefined;
|
|
399
|
+
parentSpanId?: string | undefined;
|
|
400
|
+
}, {
|
|
401
|
+
metadata?: Record<string, unknown> | undefined;
|
|
402
|
+
requestContextKeys?: string[] | undefined;
|
|
403
|
+
traceId?: string | undefined;
|
|
404
|
+
parentSpanId?: string | undefined;
|
|
405
|
+
}>>;
|
|
406
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
407
|
+
step?: string | string[] | undefined;
|
|
408
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
409
|
+
tracingOptions?: {
|
|
410
|
+
metadata?: Record<string, unknown> | undefined;
|
|
411
|
+
requestContextKeys?: string[] | undefined;
|
|
412
|
+
traceId?: string | undefined;
|
|
413
|
+
parentSpanId?: string | undefined;
|
|
414
|
+
} | undefined;
|
|
415
|
+
resumeData?: unknown;
|
|
416
|
+
}, {
|
|
417
|
+
step?: string | string[] | undefined;
|
|
418
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
419
|
+
tracingOptions?: {
|
|
420
|
+
metadata?: Record<string, unknown> | undefined;
|
|
421
|
+
requestContextKeys?: string[] | undefined;
|
|
422
|
+
traceId?: string | undefined;
|
|
423
|
+
parentSpanId?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
resumeData?: unknown;
|
|
426
|
+
}>>, {
|
|
427
|
+
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
428
|
+
error?: unknown;
|
|
429
|
+
result?: unknown;
|
|
430
|
+
}, "json">;
|
|
431
|
+
export declare const RESUME_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
432
|
+
actionId: import("zod").ZodString;
|
|
433
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
434
|
+
actionId: string;
|
|
435
|
+
}, {
|
|
436
|
+
actionId: string;
|
|
437
|
+
}>, import("zod").ZodObject<{
|
|
438
|
+
runId: import("zod").ZodString;
|
|
439
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
440
|
+
runId: string;
|
|
441
|
+
}, {
|
|
442
|
+
runId: string;
|
|
443
|
+
}>, import("zod").ZodObject<{
|
|
444
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
445
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
446
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
447
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
448
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
449
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
450
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
451
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
452
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
453
|
+
metadata?: Record<string, unknown> | undefined;
|
|
454
|
+
requestContextKeys?: string[] | undefined;
|
|
455
|
+
traceId?: string | undefined;
|
|
456
|
+
parentSpanId?: string | undefined;
|
|
457
|
+
}, {
|
|
458
|
+
metadata?: Record<string, unknown> | undefined;
|
|
459
|
+
requestContextKeys?: string[] | undefined;
|
|
460
|
+
traceId?: string | undefined;
|
|
461
|
+
parentSpanId?: string | undefined;
|
|
462
|
+
}>>;
|
|
463
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
464
|
+
step?: string | string[] | undefined;
|
|
465
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
466
|
+
tracingOptions?: {
|
|
467
|
+
metadata?: Record<string, unknown> | undefined;
|
|
468
|
+
requestContextKeys?: string[] | undefined;
|
|
469
|
+
traceId?: string | undefined;
|
|
470
|
+
parentSpanId?: string | undefined;
|
|
471
|
+
} | undefined;
|
|
472
|
+
resumeData?: unknown;
|
|
473
|
+
}, {
|
|
474
|
+
step?: string | string[] | undefined;
|
|
475
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
476
|
+
tracingOptions?: {
|
|
477
|
+
metadata?: Record<string, unknown> | undefined;
|
|
478
|
+
requestContextKeys?: string[] | undefined;
|
|
479
|
+
traceId?: string | undefined;
|
|
480
|
+
parentSpanId?: string | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
resumeData?: unknown;
|
|
483
|
+
}>>, {
|
|
64
484
|
message: string;
|
|
65
|
-
}>;
|
|
66
|
-
export declare const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
485
|
+
}, "json">;
|
|
486
|
+
export declare const RESUME_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
487
|
+
actionId: import("zod").ZodString;
|
|
488
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
489
|
+
actionId: string;
|
|
490
|
+
}, {
|
|
491
|
+
actionId: string;
|
|
492
|
+
}>, import("zod").ZodObject<{
|
|
493
|
+
runId: import("zod").ZodString;
|
|
494
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
495
|
+
runId: string;
|
|
496
|
+
}, {
|
|
497
|
+
runId: string;
|
|
498
|
+
}>, import("zod").ZodObject<{
|
|
499
|
+
step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
500
|
+
resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
501
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
502
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
503
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
504
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
505
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
506
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
507
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
508
|
+
metadata?: Record<string, unknown> | undefined;
|
|
509
|
+
requestContextKeys?: string[] | undefined;
|
|
510
|
+
traceId?: string | undefined;
|
|
511
|
+
parentSpanId?: string | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
metadata?: Record<string, unknown> | undefined;
|
|
514
|
+
requestContextKeys?: string[] | undefined;
|
|
515
|
+
traceId?: string | undefined;
|
|
516
|
+
parentSpanId?: string | undefined;
|
|
517
|
+
}>>;
|
|
518
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
519
|
+
step?: string | string[] | undefined;
|
|
520
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
521
|
+
tracingOptions?: {
|
|
522
|
+
metadata?: Record<string, unknown> | undefined;
|
|
523
|
+
requestContextKeys?: string[] | undefined;
|
|
524
|
+
traceId?: string | undefined;
|
|
525
|
+
parentSpanId?: string | undefined;
|
|
526
|
+
} | undefined;
|
|
527
|
+
resumeData?: unknown;
|
|
528
|
+
}, {
|
|
529
|
+
step?: string | string[] | undefined;
|
|
530
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
531
|
+
tracingOptions?: {
|
|
532
|
+
metadata?: Record<string, unknown> | undefined;
|
|
533
|
+
requestContextKeys?: string[] | undefined;
|
|
534
|
+
traceId?: string | undefined;
|
|
535
|
+
parentSpanId?: string | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
resumeData?: unknown;
|
|
538
|
+
}>>, any, "stream">;
|
|
539
|
+
export declare const CANCEL_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<{
|
|
540
|
+
runId: string;
|
|
541
|
+
actionId: string;
|
|
542
|
+
}, {
|
|
82
543
|
message: string;
|
|
83
|
-
}>;
|
|
84
|
-
export {
|
|
544
|
+
}, "json">;
|
|
545
|
+
export declare const STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
546
|
+
actionId: import("zod").ZodString;
|
|
547
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
548
|
+
actionId: string;
|
|
549
|
+
}, {
|
|
550
|
+
actionId: string;
|
|
551
|
+
}>, import("zod").ZodObject<{
|
|
552
|
+
runId: import("zod").ZodString;
|
|
553
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
554
|
+
runId: string;
|
|
555
|
+
}, {
|
|
556
|
+
runId: string;
|
|
557
|
+
}>, import("zod").ZodObject<{
|
|
558
|
+
inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
559
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
560
|
+
tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
561
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
562
|
+
requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
563
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
564
|
+
parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
565
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
566
|
+
metadata?: Record<string, unknown> | undefined;
|
|
567
|
+
requestContextKeys?: string[] | undefined;
|
|
568
|
+
traceId?: string | undefined;
|
|
569
|
+
parentSpanId?: string | undefined;
|
|
570
|
+
}, {
|
|
571
|
+
metadata?: Record<string, unknown> | undefined;
|
|
572
|
+
requestContextKeys?: string[] | undefined;
|
|
573
|
+
traceId?: string | undefined;
|
|
574
|
+
parentSpanId?: string | undefined;
|
|
575
|
+
}>>;
|
|
576
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
577
|
+
inputData?: unknown;
|
|
578
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
579
|
+
tracingOptions?: {
|
|
580
|
+
metadata?: Record<string, unknown> | undefined;
|
|
581
|
+
requestContextKeys?: string[] | undefined;
|
|
582
|
+
traceId?: string | undefined;
|
|
583
|
+
parentSpanId?: string | undefined;
|
|
584
|
+
} | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
inputData?: unknown;
|
|
587
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
588
|
+
tracingOptions?: {
|
|
589
|
+
metadata?: Record<string, unknown> | undefined;
|
|
590
|
+
requestContextKeys?: string[] | undefined;
|
|
591
|
+
traceId?: string | undefined;
|
|
592
|
+
parentSpanId?: string | undefined;
|
|
593
|
+
} | undefined;
|
|
594
|
+
}>>, any, "stream">;
|
|
595
|
+
export declare const OBSERVE_STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
|
|
596
|
+
actionId: import("zod").ZodString;
|
|
597
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
598
|
+
actionId: string;
|
|
599
|
+
}, {
|
|
600
|
+
actionId: string;
|
|
601
|
+
}>, import("zod").ZodObject<{
|
|
602
|
+
runId: import("zod").ZodString;
|
|
603
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
604
|
+
runId: string;
|
|
605
|
+
}, {
|
|
606
|
+
runId: string;
|
|
607
|
+
}>, undefined>, any, "stream">;
|
|
85
608
|
//# sourceMappingURL=agent-builder.d.ts.map
|