@illalabs/interfaces 0.4.0-canary-beta-e22dfc29 → 0.4.0-canary-dev-2e2c59d3
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/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +0 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/messages.d.ts +4 -148
- package/dist/schemas/messages.d.ts.map +1 -1
- package/dist/schemas/messages.js +2 -1
- package/dist/schemas/messages.js.map +1 -1
- package/dist/schemas/telemetryEvents.d.ts +26 -433
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +2 -24
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/tools/IllaToolError.d.ts +0 -10
- package/dist/tools/IllaToolError.d.ts.map +1 -1
- package/dist/tools/IllaToolError.js +1 -41
- package/dist/tools/IllaToolError.js.map +1 -1
- package/dist/types/actions/outputs.d.ts +3 -12
- package/dist/types/actions/outputs.d.ts.map +1 -1
- package/dist/types/streaming.d.ts +4 -4
- package/dist/types/streaming.d.ts.map +1 -1
- package/dist/types/telemetry.d.ts +1 -16
- package/dist/types/telemetry.d.ts.map +1 -1
- package/dist/types/telemetry.js +1 -1
- package/dist/types/telemetry.js.map +1 -1
- package/package.json +1 -1
- package/dist/schemas/planning.d.ts +0 -3672
- package/dist/schemas/planning.d.ts.map +0 -1
- package/dist/schemas/planning.js +0 -509
- package/dist/schemas/planning.js.map +0 -1
|
@@ -4,20 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
* Telemetry event type enum values.
|
|
5
5
|
* Used to infer TelemetryEventType in types/telemetry.ts
|
|
6
6
|
*/
|
|
7
|
-
export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"
|
|
7
|
+
export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"];
|
|
8
8
|
/**
|
|
9
9
|
* Base telemetry event schema with common fields
|
|
10
10
|
*/
|
|
11
11
|
export declare const baseTelemetryEventSchema: z.ZodObject<{
|
|
12
12
|
requestId: z.ZodString;
|
|
13
|
-
type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"
|
|
13
|
+
type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"]>;
|
|
14
14
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end"
|
|
16
|
+
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
|
|
17
17
|
requestId: string;
|
|
18
18
|
timestamp?: number | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end"
|
|
20
|
+
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
|
|
21
21
|
requestId: string;
|
|
22
22
|
timestamp?: number | undefined;
|
|
23
23
|
}>;
|
|
@@ -193,14 +193,18 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
193
193
|
toolCallId: z.ZodString;
|
|
194
194
|
toolName: z.ZodString;
|
|
195
195
|
status: z.ZodLiteral<"pending">;
|
|
196
|
+
/** Whether a simulation was performed for this pending tool */
|
|
197
|
+
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
196
198
|
}, "strip", z.ZodTypeAny, {
|
|
197
199
|
status: "pending";
|
|
198
200
|
toolCallId: string;
|
|
199
201
|
toolName: string;
|
|
202
|
+
simulated?: boolean | undefined;
|
|
200
203
|
}, {
|
|
201
204
|
status: "pending";
|
|
202
205
|
toolCallId: string;
|
|
203
206
|
toolName: string;
|
|
207
|
+
simulated?: boolean | undefined;
|
|
204
208
|
}>, z.ZodObject<{
|
|
205
209
|
toolCallId: z.ZodString;
|
|
206
210
|
toolName: z.ZodString;
|
|
@@ -235,6 +239,7 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
235
239
|
status: "pending";
|
|
236
240
|
toolCallId: string;
|
|
237
241
|
toolName: string;
|
|
242
|
+
simulated?: boolean | undefined;
|
|
238
243
|
} | {
|
|
239
244
|
status: "success";
|
|
240
245
|
toolCallId: string;
|
|
@@ -253,6 +258,7 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
253
258
|
status: "pending";
|
|
254
259
|
toolCallId: string;
|
|
255
260
|
toolName: string;
|
|
261
|
+
simulated?: boolean | undefined;
|
|
256
262
|
} | {
|
|
257
263
|
status: "success";
|
|
258
264
|
toolCallId: string;
|
|
@@ -472,26 +478,6 @@ export declare const errorTelemetryEventSchema: z.ZodObject<{
|
|
|
472
478
|
requestId: string;
|
|
473
479
|
timestamp?: number | undefined;
|
|
474
480
|
}>;
|
|
475
|
-
/**
|
|
476
|
-
* Plan generated event schema - emitted when a plan is generated by the planning agent.
|
|
477
|
-
*/
|
|
478
|
-
export declare const planGeneratedEventSchema: z.ZodObject<{
|
|
479
|
-
requestId: z.ZodString;
|
|
480
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
481
|
-
} & {
|
|
482
|
-
type: z.ZodLiteral<"plan_generated">;
|
|
483
|
-
planId: z.ZodString;
|
|
484
|
-
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
type: "plan_generated";
|
|
486
|
-
requestId: string;
|
|
487
|
-
planId: string;
|
|
488
|
-
timestamp?: number | undefined;
|
|
489
|
-
}, {
|
|
490
|
-
type: "plan_generated";
|
|
491
|
-
requestId: string;
|
|
492
|
-
planId: string;
|
|
493
|
-
timestamp?: number | undefined;
|
|
494
|
-
}>;
|
|
495
481
|
/**
|
|
496
482
|
* Schema for validating telemetry events.
|
|
497
483
|
* Discriminated union using the "type" field.
|
|
@@ -645,14 +631,18 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
645
631
|
toolCallId: z.ZodString;
|
|
646
632
|
toolName: z.ZodString;
|
|
647
633
|
status: z.ZodLiteral<"pending">;
|
|
634
|
+
/** Whether a simulation was performed for this pending tool */
|
|
635
|
+
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
648
636
|
}, "strip", z.ZodTypeAny, {
|
|
649
637
|
status: "pending";
|
|
650
638
|
toolCallId: string;
|
|
651
639
|
toolName: string;
|
|
640
|
+
simulated?: boolean | undefined;
|
|
652
641
|
}, {
|
|
653
642
|
status: "pending";
|
|
654
643
|
toolCallId: string;
|
|
655
644
|
toolName: string;
|
|
645
|
+
simulated?: boolean | undefined;
|
|
656
646
|
}>, z.ZodObject<{
|
|
657
647
|
toolCallId: z.ZodString;
|
|
658
648
|
toolName: z.ZodString;
|
|
@@ -687,6 +677,7 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
687
677
|
status: "pending";
|
|
688
678
|
toolCallId: string;
|
|
689
679
|
toolName: string;
|
|
680
|
+
simulated?: boolean | undefined;
|
|
690
681
|
} | {
|
|
691
682
|
status: "success";
|
|
692
683
|
toolCallId: string;
|
|
@@ -705,6 +696,7 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
705
696
|
status: "pending";
|
|
706
697
|
toolCallId: string;
|
|
707
698
|
toolName: string;
|
|
699
|
+
simulated?: boolean | undefined;
|
|
708
700
|
} | {
|
|
709
701
|
status: "success";
|
|
710
702
|
toolCallId: string;
|
|
@@ -898,22 +890,6 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
898
890
|
};
|
|
899
891
|
requestId: string;
|
|
900
892
|
timestamp?: number | undefined;
|
|
901
|
-
}>, z.ZodObject<{
|
|
902
|
-
requestId: z.ZodString;
|
|
903
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
904
|
-
} & {
|
|
905
|
-
type: z.ZodLiteral<"plan_generated">;
|
|
906
|
-
planId: z.ZodString;
|
|
907
|
-
}, "strip", z.ZodTypeAny, {
|
|
908
|
-
type: "plan_generated";
|
|
909
|
-
requestId: string;
|
|
910
|
-
planId: string;
|
|
911
|
-
timestamp?: number | undefined;
|
|
912
|
-
}, {
|
|
913
|
-
type: "plan_generated";
|
|
914
|
-
requestId: string;
|
|
915
|
-
planId: string;
|
|
916
|
-
timestamp?: number | undefined;
|
|
917
893
|
}>]>;
|
|
918
894
|
/**
|
|
919
895
|
* Schema for validating result events from the streaming endpoint.
|
|
@@ -1113,31 +1089,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1113
1089
|
description?: string | undefined;
|
|
1114
1090
|
metadata?: Record<string, unknown> | undefined;
|
|
1115
1091
|
}>]>, "many">;
|
|
1116
|
-
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1117
|
-
transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
|
|
1118
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1119
|
-
explorerUrl: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
usdValue: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
}, "strip", z.ZodTypeAny, {
|
|
1122
|
-
explorerUrl?: string | undefined;
|
|
1123
|
-
usdValue?: string | undefined;
|
|
1124
|
-
}, {
|
|
1125
|
-
explorerUrl?: string | undefined;
|
|
1126
|
-
usdValue?: string | undefined;
|
|
1127
|
-
}>>;
|
|
1128
|
-
}, "strip", z.ZodTypeAny, {
|
|
1129
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1130
|
-
metadata?: {
|
|
1131
|
-
explorerUrl?: string | undefined;
|
|
1132
|
-
usdValue?: string | undefined;
|
|
1133
|
-
} | undefined;
|
|
1134
|
-
}, {
|
|
1135
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1136
|
-
metadata?: {
|
|
1137
|
-
explorerUrl?: string | undefined;
|
|
1138
|
-
usdValue?: string | undefined;
|
|
1139
|
-
} | undefined;
|
|
1140
|
-
}>, "many">>;
|
|
1141
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1142
1093
|
signatureRequests: ({
|
|
1143
1094
|
id: string;
|
|
@@ -1162,13 +1113,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1162
1113
|
description?: string | undefined;
|
|
1163
1114
|
metadata?: Record<string, unknown> | undefined;
|
|
1164
1115
|
})[];
|
|
1165
|
-
transactions?: {
|
|
1166
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1167
|
-
metadata?: {
|
|
1168
|
-
explorerUrl?: string | undefined;
|
|
1169
|
-
usdValue?: string | undefined;
|
|
1170
|
-
} | undefined;
|
|
1171
|
-
}[] | undefined;
|
|
1172
1116
|
}, {
|
|
1173
1117
|
signatureRequests: ({
|
|
1174
1118
|
id: string;
|
|
@@ -1193,13 +1137,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1193
1137
|
description?: string | undefined;
|
|
1194
1138
|
metadata?: Record<string, unknown> | undefined;
|
|
1195
1139
|
})[];
|
|
1196
|
-
transactions?: {
|
|
1197
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1198
|
-
metadata?: {
|
|
1199
|
-
explorerUrl?: string | undefined;
|
|
1200
|
-
usdValue?: string | undefined;
|
|
1201
|
-
} | undefined;
|
|
1202
|
-
}[] | undefined;
|
|
1203
1140
|
}>;
|
|
1204
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1205
1142
|
value: {
|
|
@@ -1226,13 +1163,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1226
1163
|
description?: string | undefined;
|
|
1227
1164
|
metadata?: Record<string, unknown> | undefined;
|
|
1228
1165
|
})[];
|
|
1229
|
-
transactions?: {
|
|
1230
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1231
|
-
metadata?: {
|
|
1232
|
-
explorerUrl?: string | undefined;
|
|
1233
|
-
usdValue?: string | undefined;
|
|
1234
|
-
} | undefined;
|
|
1235
|
-
}[] | undefined;
|
|
1236
1166
|
};
|
|
1237
1167
|
type: "SignatureRequests";
|
|
1238
1168
|
}, {
|
|
@@ -1260,13 +1190,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1260
1190
|
description?: string | undefined;
|
|
1261
1191
|
metadata?: Record<string, unknown> | undefined;
|
|
1262
1192
|
})[];
|
|
1263
|
-
transactions?: {
|
|
1264
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1265
|
-
metadata?: {
|
|
1266
|
-
explorerUrl?: string | undefined;
|
|
1267
|
-
usdValue?: string | undefined;
|
|
1268
|
-
} | undefined;
|
|
1269
|
-
}[] | undefined;
|
|
1270
1193
|
};
|
|
1271
1194
|
type: "SignatureRequests";
|
|
1272
1195
|
}>, z.ZodObject<{
|
|
@@ -1455,31 +1378,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1455
1378
|
description?: string | undefined;
|
|
1456
1379
|
metadata?: Record<string, unknown> | undefined;
|
|
1457
1380
|
}>]>, "many">;
|
|
1458
|
-
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1459
|
-
transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
|
|
1460
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1461
|
-
explorerUrl: z.ZodOptional<z.ZodString>;
|
|
1462
|
-
usdValue: z.ZodOptional<z.ZodString>;
|
|
1463
|
-
}, "strip", z.ZodTypeAny, {
|
|
1464
|
-
explorerUrl?: string | undefined;
|
|
1465
|
-
usdValue?: string | undefined;
|
|
1466
|
-
}, {
|
|
1467
|
-
explorerUrl?: string | undefined;
|
|
1468
|
-
usdValue?: string | undefined;
|
|
1469
|
-
}>>;
|
|
1470
|
-
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1472
|
-
metadata?: {
|
|
1473
|
-
explorerUrl?: string | undefined;
|
|
1474
|
-
usdValue?: string | undefined;
|
|
1475
|
-
} | undefined;
|
|
1476
|
-
}, {
|
|
1477
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1478
|
-
metadata?: {
|
|
1479
|
-
explorerUrl?: string | undefined;
|
|
1480
|
-
usdValue?: string | undefined;
|
|
1481
|
-
} | undefined;
|
|
1482
|
-
}>, "many">>;
|
|
1483
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1484
1382
|
signatureRequests: ({
|
|
1485
1383
|
id: string;
|
|
@@ -1504,13 +1402,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1504
1402
|
description?: string | undefined;
|
|
1505
1403
|
metadata?: Record<string, unknown> | undefined;
|
|
1506
1404
|
})[];
|
|
1507
|
-
transactions?: {
|
|
1508
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1509
|
-
metadata?: {
|
|
1510
|
-
explorerUrl?: string | undefined;
|
|
1511
|
-
usdValue?: string | undefined;
|
|
1512
|
-
} | undefined;
|
|
1513
|
-
}[] | undefined;
|
|
1514
1405
|
}, {
|
|
1515
1406
|
signatureRequests: ({
|
|
1516
1407
|
id: string;
|
|
@@ -1535,13 +1426,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1535
1426
|
description?: string | undefined;
|
|
1536
1427
|
metadata?: Record<string, unknown> | undefined;
|
|
1537
1428
|
})[];
|
|
1538
|
-
transactions?: {
|
|
1539
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1540
|
-
metadata?: {
|
|
1541
|
-
explorerUrl?: string | undefined;
|
|
1542
|
-
usdValue?: string | undefined;
|
|
1543
|
-
} | undefined;
|
|
1544
|
-
}[] | undefined;
|
|
1545
1429
|
}>;
|
|
1546
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1547
1431
|
value: {
|
|
@@ -1568,13 +1452,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1568
1452
|
description?: string | undefined;
|
|
1569
1453
|
metadata?: Record<string, unknown> | undefined;
|
|
1570
1454
|
})[];
|
|
1571
|
-
transactions?: {
|
|
1572
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1573
|
-
metadata?: {
|
|
1574
|
-
explorerUrl?: string | undefined;
|
|
1575
|
-
usdValue?: string | undefined;
|
|
1576
|
-
} | undefined;
|
|
1577
|
-
}[] | undefined;
|
|
1578
1455
|
};
|
|
1579
1456
|
type: "SignatureRequests";
|
|
1580
1457
|
}, {
|
|
@@ -1602,13 +1479,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1602
1479
|
description?: string | undefined;
|
|
1603
1480
|
metadata?: Record<string, unknown> | undefined;
|
|
1604
1481
|
})[];
|
|
1605
|
-
transactions?: {
|
|
1606
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1607
|
-
metadata?: {
|
|
1608
|
-
explorerUrl?: string | undefined;
|
|
1609
|
-
usdValue?: string | undefined;
|
|
1610
|
-
} | undefined;
|
|
1611
|
-
}[] | undefined;
|
|
1612
1482
|
};
|
|
1613
1483
|
type: "SignatureRequests";
|
|
1614
1484
|
}>]>, "many">;
|
|
@@ -1656,13 +1526,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1656
1526
|
description?: string | undefined;
|
|
1657
1527
|
metadata?: Record<string, unknown> | undefined;
|
|
1658
1528
|
})[];
|
|
1659
|
-
transactions?: {
|
|
1660
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1661
|
-
metadata?: {
|
|
1662
|
-
explorerUrl?: string | undefined;
|
|
1663
|
-
usdValue?: string | undefined;
|
|
1664
|
-
} | undefined;
|
|
1665
|
-
}[] | undefined;
|
|
1666
1529
|
};
|
|
1667
1530
|
type: "SignatureRequests";
|
|
1668
1531
|
})[];
|
|
@@ -1711,19 +1574,13 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1711
1574
|
description?: string | undefined;
|
|
1712
1575
|
metadata?: Record<string, unknown> | undefined;
|
|
1713
1576
|
})[];
|
|
1714
|
-
transactions?: {
|
|
1715
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1716
|
-
metadata?: {
|
|
1717
|
-
explorerUrl?: string | undefined;
|
|
1718
|
-
usdValue?: string | undefined;
|
|
1719
|
-
} | undefined;
|
|
1720
|
-
}[] | undefined;
|
|
1721
1577
|
};
|
|
1722
1578
|
type: "SignatureRequests";
|
|
1723
1579
|
})[];
|
|
1724
1580
|
type: "ActionSequence";
|
|
1725
1581
|
}>]>;
|
|
1726
1582
|
} & {
|
|
1583
|
+
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
1727
1584
|
simulation: z.ZodOptional<z.ZodObject<{
|
|
1728
1585
|
willSucceed: z.ZodBoolean;
|
|
1729
1586
|
assetChanges: z.ZodArray<z.ZodObject<{
|
|
@@ -1967,13 +1824,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
1967
1824
|
description?: string | undefined;
|
|
1968
1825
|
metadata?: Record<string, unknown> | undefined;
|
|
1969
1826
|
})[];
|
|
1970
|
-
transactions?: {
|
|
1971
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
1972
|
-
metadata?: {
|
|
1973
|
-
explorerUrl?: string | undefined;
|
|
1974
|
-
usdValue?: string | undefined;
|
|
1975
|
-
} | undefined;
|
|
1976
|
-
}[] | undefined;
|
|
1977
1827
|
};
|
|
1978
1828
|
type: "SignatureRequests";
|
|
1979
1829
|
} | {
|
|
@@ -2020,13 +1870,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2020
1870
|
description?: string | undefined;
|
|
2021
1871
|
metadata?: Record<string, unknown> | undefined;
|
|
2022
1872
|
})[];
|
|
2023
|
-
transactions?: {
|
|
2024
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2025
|
-
metadata?: {
|
|
2026
|
-
explorerUrl?: string | undefined;
|
|
2027
|
-
usdValue?: string | undefined;
|
|
2028
|
-
} | undefined;
|
|
2029
|
-
}[] | undefined;
|
|
2030
1873
|
};
|
|
2031
1874
|
type: "SignatureRequests";
|
|
2032
1875
|
})[];
|
|
@@ -2034,6 +1877,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2034
1877
|
};
|
|
2035
1878
|
toolCallId: string;
|
|
2036
1879
|
toolName: string;
|
|
1880
|
+
simulated?: boolean | undefined;
|
|
2037
1881
|
simulation?: {
|
|
2038
1882
|
willSucceed: boolean;
|
|
2039
1883
|
assetChanges: {
|
|
@@ -2125,13 +1969,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2125
1969
|
description?: string | undefined;
|
|
2126
1970
|
metadata?: Record<string, unknown> | undefined;
|
|
2127
1971
|
})[];
|
|
2128
|
-
transactions?: {
|
|
2129
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2130
|
-
metadata?: {
|
|
2131
|
-
explorerUrl?: string | undefined;
|
|
2132
|
-
usdValue?: string | undefined;
|
|
2133
|
-
} | undefined;
|
|
2134
|
-
}[] | undefined;
|
|
2135
1972
|
};
|
|
2136
1973
|
type: "SignatureRequests";
|
|
2137
1974
|
} | {
|
|
@@ -2178,13 +2015,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2178
2015
|
description?: string | undefined;
|
|
2179
2016
|
metadata?: Record<string, unknown> | undefined;
|
|
2180
2017
|
})[];
|
|
2181
|
-
transactions?: {
|
|
2182
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2183
|
-
metadata?: {
|
|
2184
|
-
explorerUrl?: string | undefined;
|
|
2185
|
-
usdValue?: string | undefined;
|
|
2186
|
-
} | undefined;
|
|
2187
|
-
}[] | undefined;
|
|
2188
2018
|
};
|
|
2189
2019
|
type: "SignatureRequests";
|
|
2190
2020
|
})[];
|
|
@@ -2192,6 +2022,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2192
2022
|
};
|
|
2193
2023
|
toolCallId: string;
|
|
2194
2024
|
toolName: string;
|
|
2025
|
+
simulated?: boolean | undefined;
|
|
2195
2026
|
simulation?: {
|
|
2196
2027
|
willSucceed: boolean;
|
|
2197
2028
|
assetChanges: {
|
|
@@ -2373,13 +2204,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2373
2204
|
description?: string | undefined;
|
|
2374
2205
|
metadata?: Record<string, unknown> | undefined;
|
|
2375
2206
|
})[];
|
|
2376
|
-
transactions?: {
|
|
2377
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2378
|
-
metadata?: {
|
|
2379
|
-
explorerUrl?: string | undefined;
|
|
2380
|
-
usdValue?: string | undefined;
|
|
2381
|
-
} | undefined;
|
|
2382
|
-
}[] | undefined;
|
|
2383
2207
|
};
|
|
2384
2208
|
type: "SignatureRequests";
|
|
2385
2209
|
} | {
|
|
@@ -2426,13 +2250,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2426
2250
|
description?: string | undefined;
|
|
2427
2251
|
metadata?: Record<string, unknown> | undefined;
|
|
2428
2252
|
})[];
|
|
2429
|
-
transactions?: {
|
|
2430
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2431
|
-
metadata?: {
|
|
2432
|
-
explorerUrl?: string | undefined;
|
|
2433
|
-
usdValue?: string | undefined;
|
|
2434
|
-
} | undefined;
|
|
2435
|
-
}[] | undefined;
|
|
2436
2253
|
};
|
|
2437
2254
|
type: "SignatureRequests";
|
|
2438
2255
|
})[];
|
|
@@ -2440,6 +2257,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2440
2257
|
};
|
|
2441
2258
|
toolCallId: string;
|
|
2442
2259
|
toolName: string;
|
|
2260
|
+
simulated?: boolean | undefined;
|
|
2443
2261
|
simulation?: {
|
|
2444
2262
|
willSucceed: boolean;
|
|
2445
2263
|
assetChanges: {
|
|
@@ -2558,13 +2376,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2558
2376
|
description?: string | undefined;
|
|
2559
2377
|
metadata?: Record<string, unknown> | undefined;
|
|
2560
2378
|
})[];
|
|
2561
|
-
transactions?: {
|
|
2562
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2563
|
-
metadata?: {
|
|
2564
|
-
explorerUrl?: string | undefined;
|
|
2565
|
-
usdValue?: string | undefined;
|
|
2566
|
-
} | undefined;
|
|
2567
|
-
}[] | undefined;
|
|
2568
2379
|
};
|
|
2569
2380
|
type: "SignatureRequests";
|
|
2570
2381
|
} | {
|
|
@@ -2611,13 +2422,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2611
2422
|
description?: string | undefined;
|
|
2612
2423
|
metadata?: Record<string, unknown> | undefined;
|
|
2613
2424
|
})[];
|
|
2614
|
-
transactions?: {
|
|
2615
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2616
|
-
metadata?: {
|
|
2617
|
-
explorerUrl?: string | undefined;
|
|
2618
|
-
usdValue?: string | undefined;
|
|
2619
|
-
} | undefined;
|
|
2620
|
-
}[] | undefined;
|
|
2621
2425
|
};
|
|
2622
2426
|
type: "SignatureRequests";
|
|
2623
2427
|
})[];
|
|
@@ -2625,6 +2429,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2625
2429
|
};
|
|
2626
2430
|
toolCallId: string;
|
|
2627
2431
|
toolName: string;
|
|
2432
|
+
simulated?: boolean | undefined;
|
|
2628
2433
|
simulation?: {
|
|
2629
2434
|
willSucceed: boolean;
|
|
2630
2435
|
assetChanges: {
|
|
@@ -2693,29 +2498,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
2693
2498
|
};
|
|
2694
2499
|
}[] | undefined;
|
|
2695
2500
|
}>;
|
|
2696
|
-
/**
|
|
2697
|
-
* Schema for plan approval required result events.
|
|
2698
|
-
* Emitted when a plan requires user approval before execution.
|
|
2699
|
-
*/
|
|
2700
|
-
export declare const planApprovalRequiredEventDataSchema: z.ZodObject<{
|
|
2701
|
-
type: z.ZodLiteral<"plan_approval_required">;
|
|
2702
|
-
status: z.ZodLiteral<200>;
|
|
2703
|
-
plan: z.ZodUnknown;
|
|
2704
|
-
requiresApproval: z.ZodBoolean;
|
|
2705
|
-
requestId: z.ZodString;
|
|
2706
|
-
}, "strip", z.ZodTypeAny, {
|
|
2707
|
-
type: "plan_approval_required";
|
|
2708
|
-
status: 200;
|
|
2709
|
-
requestId: string;
|
|
2710
|
-
requiresApproval: boolean;
|
|
2711
|
-
plan?: unknown;
|
|
2712
|
-
}, {
|
|
2713
|
-
type: "plan_approval_required";
|
|
2714
|
-
status: 200;
|
|
2715
|
-
requestId: string;
|
|
2716
|
-
requiresApproval: boolean;
|
|
2717
|
-
plan?: unknown;
|
|
2718
|
-
}>;
|
|
2719
2501
|
/**
|
|
2720
2502
|
* Schema for validating error events from the streaming endpoint
|
|
2721
2503
|
*/
|
|
@@ -2963,31 +2745,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2963
2745
|
description?: string | undefined;
|
|
2964
2746
|
metadata?: Record<string, unknown> | undefined;
|
|
2965
2747
|
}>]>, "many">;
|
|
2966
|
-
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2967
|
-
transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
|
|
2968
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
2969
|
-
explorerUrl: z.ZodOptional<z.ZodString>;
|
|
2970
|
-
usdValue: z.ZodOptional<z.ZodString>;
|
|
2971
|
-
}, "strip", z.ZodTypeAny, {
|
|
2972
|
-
explorerUrl?: string | undefined;
|
|
2973
|
-
usdValue?: string | undefined;
|
|
2974
|
-
}, {
|
|
2975
|
-
explorerUrl?: string | undefined;
|
|
2976
|
-
usdValue?: string | undefined;
|
|
2977
|
-
}>>;
|
|
2978
|
-
}, "strip", z.ZodTypeAny, {
|
|
2979
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2980
|
-
metadata?: {
|
|
2981
|
-
explorerUrl?: string | undefined;
|
|
2982
|
-
usdValue?: string | undefined;
|
|
2983
|
-
} | undefined;
|
|
2984
|
-
}, {
|
|
2985
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
2986
|
-
metadata?: {
|
|
2987
|
-
explorerUrl?: string | undefined;
|
|
2988
|
-
usdValue?: string | undefined;
|
|
2989
|
-
} | undefined;
|
|
2990
|
-
}>, "many">>;
|
|
2991
2748
|
}, "strip", z.ZodTypeAny, {
|
|
2992
2749
|
signatureRequests: ({
|
|
2993
2750
|
id: string;
|
|
@@ -3012,13 +2769,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3012
2769
|
description?: string | undefined;
|
|
3013
2770
|
metadata?: Record<string, unknown> | undefined;
|
|
3014
2771
|
})[];
|
|
3015
|
-
transactions?: {
|
|
3016
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3017
|
-
metadata?: {
|
|
3018
|
-
explorerUrl?: string | undefined;
|
|
3019
|
-
usdValue?: string | undefined;
|
|
3020
|
-
} | undefined;
|
|
3021
|
-
}[] | undefined;
|
|
3022
2772
|
}, {
|
|
3023
2773
|
signatureRequests: ({
|
|
3024
2774
|
id: string;
|
|
@@ -3043,13 +2793,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3043
2793
|
description?: string | undefined;
|
|
3044
2794
|
metadata?: Record<string, unknown> | undefined;
|
|
3045
2795
|
})[];
|
|
3046
|
-
transactions?: {
|
|
3047
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3048
|
-
metadata?: {
|
|
3049
|
-
explorerUrl?: string | undefined;
|
|
3050
|
-
usdValue?: string | undefined;
|
|
3051
|
-
} | undefined;
|
|
3052
|
-
}[] | undefined;
|
|
3053
2796
|
}>;
|
|
3054
2797
|
}, "strip", z.ZodTypeAny, {
|
|
3055
2798
|
value: {
|
|
@@ -3076,13 +2819,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3076
2819
|
description?: string | undefined;
|
|
3077
2820
|
metadata?: Record<string, unknown> | undefined;
|
|
3078
2821
|
})[];
|
|
3079
|
-
transactions?: {
|
|
3080
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3081
|
-
metadata?: {
|
|
3082
|
-
explorerUrl?: string | undefined;
|
|
3083
|
-
usdValue?: string | undefined;
|
|
3084
|
-
} | undefined;
|
|
3085
|
-
}[] | undefined;
|
|
3086
2822
|
};
|
|
3087
2823
|
type: "SignatureRequests";
|
|
3088
2824
|
}, {
|
|
@@ -3110,13 +2846,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3110
2846
|
description?: string | undefined;
|
|
3111
2847
|
metadata?: Record<string, unknown> | undefined;
|
|
3112
2848
|
})[];
|
|
3113
|
-
transactions?: {
|
|
3114
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3115
|
-
metadata?: {
|
|
3116
|
-
explorerUrl?: string | undefined;
|
|
3117
|
-
usdValue?: string | undefined;
|
|
3118
|
-
} | undefined;
|
|
3119
|
-
}[] | undefined;
|
|
3120
2849
|
};
|
|
3121
2850
|
type: "SignatureRequests";
|
|
3122
2851
|
}>, z.ZodObject<{
|
|
@@ -3305,31 +3034,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3305
3034
|
description?: string | undefined;
|
|
3306
3035
|
metadata?: Record<string, unknown> | undefined;
|
|
3307
3036
|
}>]>, "many">;
|
|
3308
|
-
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3309
|
-
transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
|
|
3310
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
3311
|
-
explorerUrl: z.ZodOptional<z.ZodString>;
|
|
3312
|
-
usdValue: z.ZodOptional<z.ZodString>;
|
|
3313
|
-
}, "strip", z.ZodTypeAny, {
|
|
3314
|
-
explorerUrl?: string | undefined;
|
|
3315
|
-
usdValue?: string | undefined;
|
|
3316
|
-
}, {
|
|
3317
|
-
explorerUrl?: string | undefined;
|
|
3318
|
-
usdValue?: string | undefined;
|
|
3319
|
-
}>>;
|
|
3320
|
-
}, "strip", z.ZodTypeAny, {
|
|
3321
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3322
|
-
metadata?: {
|
|
3323
|
-
explorerUrl?: string | undefined;
|
|
3324
|
-
usdValue?: string | undefined;
|
|
3325
|
-
} | undefined;
|
|
3326
|
-
}, {
|
|
3327
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3328
|
-
metadata?: {
|
|
3329
|
-
explorerUrl?: string | undefined;
|
|
3330
|
-
usdValue?: string | undefined;
|
|
3331
|
-
} | undefined;
|
|
3332
|
-
}>, "many">>;
|
|
3333
3037
|
}, "strip", z.ZodTypeAny, {
|
|
3334
3038
|
signatureRequests: ({
|
|
3335
3039
|
id: string;
|
|
@@ -3354,13 +3058,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3354
3058
|
description?: string | undefined;
|
|
3355
3059
|
metadata?: Record<string, unknown> | undefined;
|
|
3356
3060
|
})[];
|
|
3357
|
-
transactions?: {
|
|
3358
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3359
|
-
metadata?: {
|
|
3360
|
-
explorerUrl?: string | undefined;
|
|
3361
|
-
usdValue?: string | undefined;
|
|
3362
|
-
} | undefined;
|
|
3363
|
-
}[] | undefined;
|
|
3364
3061
|
}, {
|
|
3365
3062
|
signatureRequests: ({
|
|
3366
3063
|
id: string;
|
|
@@ -3385,13 +3082,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3385
3082
|
description?: string | undefined;
|
|
3386
3083
|
metadata?: Record<string, unknown> | undefined;
|
|
3387
3084
|
})[];
|
|
3388
|
-
transactions?: {
|
|
3389
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3390
|
-
metadata?: {
|
|
3391
|
-
explorerUrl?: string | undefined;
|
|
3392
|
-
usdValue?: string | undefined;
|
|
3393
|
-
} | undefined;
|
|
3394
|
-
}[] | undefined;
|
|
3395
3085
|
}>;
|
|
3396
3086
|
}, "strip", z.ZodTypeAny, {
|
|
3397
3087
|
value: {
|
|
@@ -3418,13 +3108,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3418
3108
|
description?: string | undefined;
|
|
3419
3109
|
metadata?: Record<string, unknown> | undefined;
|
|
3420
3110
|
})[];
|
|
3421
|
-
transactions?: {
|
|
3422
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3423
|
-
metadata?: {
|
|
3424
|
-
explorerUrl?: string | undefined;
|
|
3425
|
-
usdValue?: string | undefined;
|
|
3426
|
-
} | undefined;
|
|
3427
|
-
}[] | undefined;
|
|
3428
3111
|
};
|
|
3429
3112
|
type: "SignatureRequests";
|
|
3430
3113
|
}, {
|
|
@@ -3452,13 +3135,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3452
3135
|
description?: string | undefined;
|
|
3453
3136
|
metadata?: Record<string, unknown> | undefined;
|
|
3454
3137
|
})[];
|
|
3455
|
-
transactions?: {
|
|
3456
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3457
|
-
metadata?: {
|
|
3458
|
-
explorerUrl?: string | undefined;
|
|
3459
|
-
usdValue?: string | undefined;
|
|
3460
|
-
} | undefined;
|
|
3461
|
-
}[] | undefined;
|
|
3462
3138
|
};
|
|
3463
3139
|
type: "SignatureRequests";
|
|
3464
3140
|
}>]>, "many">;
|
|
@@ -3506,13 +3182,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3506
3182
|
description?: string | undefined;
|
|
3507
3183
|
metadata?: Record<string, unknown> | undefined;
|
|
3508
3184
|
})[];
|
|
3509
|
-
transactions?: {
|
|
3510
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3511
|
-
metadata?: {
|
|
3512
|
-
explorerUrl?: string | undefined;
|
|
3513
|
-
usdValue?: string | undefined;
|
|
3514
|
-
} | undefined;
|
|
3515
|
-
}[] | undefined;
|
|
3516
3185
|
};
|
|
3517
3186
|
type: "SignatureRequests";
|
|
3518
3187
|
})[];
|
|
@@ -3561,19 +3230,13 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3561
3230
|
description?: string | undefined;
|
|
3562
3231
|
metadata?: Record<string, unknown> | undefined;
|
|
3563
3232
|
})[];
|
|
3564
|
-
transactions?: {
|
|
3565
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3566
|
-
metadata?: {
|
|
3567
|
-
explorerUrl?: string | undefined;
|
|
3568
|
-
usdValue?: string | undefined;
|
|
3569
|
-
} | undefined;
|
|
3570
|
-
}[] | undefined;
|
|
3571
3233
|
};
|
|
3572
3234
|
type: "SignatureRequests";
|
|
3573
3235
|
})[];
|
|
3574
3236
|
type: "ActionSequence";
|
|
3575
3237
|
}>]>;
|
|
3576
3238
|
} & {
|
|
3239
|
+
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
3577
3240
|
simulation: z.ZodOptional<z.ZodObject<{
|
|
3578
3241
|
willSucceed: z.ZodBoolean;
|
|
3579
3242
|
assetChanges: z.ZodArray<z.ZodObject<{
|
|
@@ -3817,13 +3480,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3817
3480
|
description?: string | undefined;
|
|
3818
3481
|
metadata?: Record<string, unknown> | undefined;
|
|
3819
3482
|
})[];
|
|
3820
|
-
transactions?: {
|
|
3821
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3822
|
-
metadata?: {
|
|
3823
|
-
explorerUrl?: string | undefined;
|
|
3824
|
-
usdValue?: string | undefined;
|
|
3825
|
-
} | undefined;
|
|
3826
|
-
}[] | undefined;
|
|
3827
3483
|
};
|
|
3828
3484
|
type: "SignatureRequests";
|
|
3829
3485
|
} | {
|
|
@@ -3870,13 +3526,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3870
3526
|
description?: string | undefined;
|
|
3871
3527
|
metadata?: Record<string, unknown> | undefined;
|
|
3872
3528
|
})[];
|
|
3873
|
-
transactions?: {
|
|
3874
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3875
|
-
metadata?: {
|
|
3876
|
-
explorerUrl?: string | undefined;
|
|
3877
|
-
usdValue?: string | undefined;
|
|
3878
|
-
} | undefined;
|
|
3879
|
-
}[] | undefined;
|
|
3880
3529
|
};
|
|
3881
3530
|
type: "SignatureRequests";
|
|
3882
3531
|
})[];
|
|
@@ -3884,6 +3533,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3884
3533
|
};
|
|
3885
3534
|
toolCallId: string;
|
|
3886
3535
|
toolName: string;
|
|
3536
|
+
simulated?: boolean | undefined;
|
|
3887
3537
|
simulation?: {
|
|
3888
3538
|
willSucceed: boolean;
|
|
3889
3539
|
assetChanges: {
|
|
@@ -3975,13 +3625,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3975
3625
|
description?: string | undefined;
|
|
3976
3626
|
metadata?: Record<string, unknown> | undefined;
|
|
3977
3627
|
})[];
|
|
3978
|
-
transactions?: {
|
|
3979
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
3980
|
-
metadata?: {
|
|
3981
|
-
explorerUrl?: string | undefined;
|
|
3982
|
-
usdValue?: string | undefined;
|
|
3983
|
-
} | undefined;
|
|
3984
|
-
}[] | undefined;
|
|
3985
3628
|
};
|
|
3986
3629
|
type: "SignatureRequests";
|
|
3987
3630
|
} | {
|
|
@@ -4028,13 +3671,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4028
3671
|
description?: string | undefined;
|
|
4029
3672
|
metadata?: Record<string, unknown> | undefined;
|
|
4030
3673
|
})[];
|
|
4031
|
-
transactions?: {
|
|
4032
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
4033
|
-
metadata?: {
|
|
4034
|
-
explorerUrl?: string | undefined;
|
|
4035
|
-
usdValue?: string | undefined;
|
|
4036
|
-
} | undefined;
|
|
4037
|
-
}[] | undefined;
|
|
4038
3674
|
};
|
|
4039
3675
|
type: "SignatureRequests";
|
|
4040
3676
|
})[];
|
|
@@ -4042,6 +3678,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4042
3678
|
};
|
|
4043
3679
|
toolCallId: string;
|
|
4044
3680
|
toolName: string;
|
|
3681
|
+
simulated?: boolean | undefined;
|
|
4045
3682
|
simulation?: {
|
|
4046
3683
|
willSucceed: boolean;
|
|
4047
3684
|
assetChanges: {
|
|
@@ -4223,13 +3860,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4223
3860
|
description?: string | undefined;
|
|
4224
3861
|
metadata?: Record<string, unknown> | undefined;
|
|
4225
3862
|
})[];
|
|
4226
|
-
transactions?: {
|
|
4227
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
4228
|
-
metadata?: {
|
|
4229
|
-
explorerUrl?: string | undefined;
|
|
4230
|
-
usdValue?: string | undefined;
|
|
4231
|
-
} | undefined;
|
|
4232
|
-
}[] | undefined;
|
|
4233
3863
|
};
|
|
4234
3864
|
type: "SignatureRequests";
|
|
4235
3865
|
} | {
|
|
@@ -4276,13 +3906,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4276
3906
|
description?: string | undefined;
|
|
4277
3907
|
metadata?: Record<string, unknown> | undefined;
|
|
4278
3908
|
})[];
|
|
4279
|
-
transactions?: {
|
|
4280
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
4281
|
-
metadata?: {
|
|
4282
|
-
explorerUrl?: string | undefined;
|
|
4283
|
-
usdValue?: string | undefined;
|
|
4284
|
-
} | undefined;
|
|
4285
|
-
}[] | undefined;
|
|
4286
3909
|
};
|
|
4287
3910
|
type: "SignatureRequests";
|
|
4288
3911
|
})[];
|
|
@@ -4290,6 +3913,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4290
3913
|
};
|
|
4291
3914
|
toolCallId: string;
|
|
4292
3915
|
toolName: string;
|
|
3916
|
+
simulated?: boolean | undefined;
|
|
4293
3917
|
simulation?: {
|
|
4294
3918
|
willSucceed: boolean;
|
|
4295
3919
|
assetChanges: {
|
|
@@ -4408,13 +4032,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4408
4032
|
description?: string | undefined;
|
|
4409
4033
|
metadata?: Record<string, unknown> | undefined;
|
|
4410
4034
|
})[];
|
|
4411
|
-
transactions?: {
|
|
4412
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
4413
|
-
metadata?: {
|
|
4414
|
-
explorerUrl?: string | undefined;
|
|
4415
|
-
usdValue?: string | undefined;
|
|
4416
|
-
} | undefined;
|
|
4417
|
-
}[] | undefined;
|
|
4418
4035
|
};
|
|
4419
4036
|
type: "SignatureRequests";
|
|
4420
4037
|
} | {
|
|
@@ -4461,13 +4078,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4461
4078
|
description?: string | undefined;
|
|
4462
4079
|
metadata?: Record<string, unknown> | undefined;
|
|
4463
4080
|
})[];
|
|
4464
|
-
transactions?: {
|
|
4465
|
-
transaction: import("viem").PrepareTransactionRequestReturnType;
|
|
4466
|
-
metadata?: {
|
|
4467
|
-
explorerUrl?: string | undefined;
|
|
4468
|
-
usdValue?: string | undefined;
|
|
4469
|
-
} | undefined;
|
|
4470
|
-
}[] | undefined;
|
|
4471
4081
|
};
|
|
4472
4082
|
type: "SignatureRequests";
|
|
4473
4083
|
})[];
|
|
@@ -4475,6 +4085,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4475
4085
|
};
|
|
4476
4086
|
toolCallId: string;
|
|
4477
4087
|
toolName: string;
|
|
4088
|
+
simulated?: boolean | undefined;
|
|
4478
4089
|
simulation?: {
|
|
4479
4090
|
willSucceed: boolean;
|
|
4480
4091
|
assetChanges: {
|
|
@@ -4542,24 +4153,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4542
4153
|
details?: unknown;
|
|
4543
4154
|
};
|
|
4544
4155
|
}[] | undefined;
|
|
4545
|
-
}>, z.ZodObject<{
|
|
4546
|
-
type: z.ZodLiteral<"plan_approval_required">;
|
|
4547
|
-
status: z.ZodLiteral<200>;
|
|
4548
|
-
plan: z.ZodUnknown;
|
|
4549
|
-
requiresApproval: z.ZodBoolean;
|
|
4550
|
-
requestId: z.ZodString;
|
|
4551
|
-
}, "strip", z.ZodTypeAny, {
|
|
4552
|
-
type: "plan_approval_required";
|
|
4553
|
-
status: 200;
|
|
4554
|
-
requestId: string;
|
|
4555
|
-
requiresApproval: boolean;
|
|
4556
|
-
plan?: unknown;
|
|
4557
|
-
}, {
|
|
4558
|
-
type: "plan_approval_required";
|
|
4559
|
-
status: 200;
|
|
4560
|
-
requestId: string;
|
|
4561
|
-
requiresApproval: boolean;
|
|
4562
|
-
plan?: unknown;
|
|
4563
4156
|
}>, z.ZodObject<{
|
|
4564
4157
|
type: z.ZodLiteral<"error">;
|
|
4565
4158
|
requestId: z.ZodString;
|