@illalabs/interfaces 0.10.1 → 0.10.2-canary-beta-3f308fb0
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/chatContext.d.ts +6 -6
- package/dist/schemas/chatRequestBody.d.ts +18 -18
- package/dist/schemas/executionCheckerQueryParams.d.ts +2 -2
- package/dist/schemas/messages.d.ts +6 -6
- package/dist/schemas/planning.d.ts +12 -12
- package/dist/schemas/telemetryEvents.d.ts +54 -54
- package/dist/schemas/uiMessageNormalizer.d.ts.map +1 -1
- package/dist/schemas/uiMessageNormalizer.js +12 -3
- package/dist/schemas/uiMessageNormalizer.js.map +1 -1
- package/package.json +1 -1
|
@@ -291,8 +291,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
291
291
|
errorHandling: string;
|
|
292
292
|
constraints?: string[] | undefined;
|
|
293
293
|
};
|
|
294
|
-
toolName?: string | undefined;
|
|
295
294
|
result?: unknown;
|
|
295
|
+
toolName?: string | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
298
298
|
description: string;
|
|
@@ -307,8 +307,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
307
307
|
errorHandling: string;
|
|
308
308
|
constraints?: string[] | undefined;
|
|
309
309
|
};
|
|
310
|
-
toolName?: string | undefined;
|
|
311
310
|
result?: unknown;
|
|
311
|
+
toolName?: string | undefined;
|
|
312
312
|
}>, "many">;
|
|
313
313
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
314
314
|
recommendedModel: z.ZodString;
|
|
@@ -332,8 +332,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
332
332
|
errorHandling: string;
|
|
333
333
|
constraints?: string[] | undefined;
|
|
334
334
|
};
|
|
335
|
-
toolName?: string | undefined;
|
|
336
335
|
result?: unknown;
|
|
336
|
+
toolName?: string | undefined;
|
|
337
337
|
}[];
|
|
338
338
|
complexity: "low" | "medium" | "high";
|
|
339
339
|
recommendedModel: string;
|
|
@@ -357,8 +357,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
357
357
|
errorHandling: string;
|
|
358
358
|
constraints?: string[] | undefined;
|
|
359
359
|
};
|
|
360
|
-
toolName?: string | undefined;
|
|
361
360
|
result?: unknown;
|
|
361
|
+
toolName?: string | undefined;
|
|
362
362
|
}[];
|
|
363
363
|
complexity: "low" | "medium" | "high";
|
|
364
364
|
recommendedModel: string;
|
|
@@ -427,8 +427,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
427
427
|
errorHandling: string;
|
|
428
428
|
constraints?: string[] | undefined;
|
|
429
429
|
};
|
|
430
|
-
toolName?: string | undefined;
|
|
431
430
|
result?: unknown;
|
|
431
|
+
toolName?: string | undefined;
|
|
432
432
|
}[];
|
|
433
433
|
complexity: "low" | "medium" | "high";
|
|
434
434
|
recommendedModel: string;
|
|
@@ -481,8 +481,8 @@ export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
|
481
481
|
errorHandling: string;
|
|
482
482
|
constraints?: string[] | undefined;
|
|
483
483
|
};
|
|
484
|
-
toolName?: string | undefined;
|
|
485
484
|
result?: unknown;
|
|
485
|
+
toolName?: string | undefined;
|
|
486
486
|
}[];
|
|
487
487
|
complexity: "low" | "medium" | "high";
|
|
488
488
|
recommendedModel: string;
|
|
@@ -294,8 +294,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
294
294
|
errorHandling: string;
|
|
295
295
|
constraints?: string[] | undefined;
|
|
296
296
|
};
|
|
297
|
-
toolName?: string | undefined;
|
|
298
297
|
result?: unknown;
|
|
298
|
+
toolName?: string | undefined;
|
|
299
299
|
}, {
|
|
300
300
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
301
301
|
description: string;
|
|
@@ -310,8 +310,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
310
310
|
errorHandling: string;
|
|
311
311
|
constraints?: string[] | undefined;
|
|
312
312
|
};
|
|
313
|
-
toolName?: string | undefined;
|
|
314
313
|
result?: unknown;
|
|
314
|
+
toolName?: string | undefined;
|
|
315
315
|
}>, "many">;
|
|
316
316
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
317
317
|
recommendedModel: z.ZodString;
|
|
@@ -335,8 +335,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
335
335
|
errorHandling: string;
|
|
336
336
|
constraints?: string[] | undefined;
|
|
337
337
|
};
|
|
338
|
-
toolName?: string | undefined;
|
|
339
338
|
result?: unknown;
|
|
339
|
+
toolName?: string | undefined;
|
|
340
340
|
}[];
|
|
341
341
|
complexity: "low" | "medium" | "high";
|
|
342
342
|
recommendedModel: string;
|
|
@@ -360,8 +360,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
360
360
|
errorHandling: string;
|
|
361
361
|
constraints?: string[] | undefined;
|
|
362
362
|
};
|
|
363
|
-
toolName?: string | undefined;
|
|
364
363
|
result?: unknown;
|
|
364
|
+
toolName?: string | undefined;
|
|
365
365
|
}[];
|
|
366
366
|
complexity: "low" | "medium" | "high";
|
|
367
367
|
recommendedModel: string;
|
|
@@ -430,8 +430,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
430
430
|
errorHandling: string;
|
|
431
431
|
constraints?: string[] | undefined;
|
|
432
432
|
};
|
|
433
|
-
toolName?: string | undefined;
|
|
434
433
|
result?: unknown;
|
|
434
|
+
toolName?: string | undefined;
|
|
435
435
|
}[];
|
|
436
436
|
complexity: "low" | "medium" | "high";
|
|
437
437
|
recommendedModel: string;
|
|
@@ -484,8 +484,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
484
484
|
errorHandling: string;
|
|
485
485
|
constraints?: string[] | undefined;
|
|
486
486
|
};
|
|
487
|
-
toolName?: string | undefined;
|
|
488
487
|
result?: unknown;
|
|
488
|
+
toolName?: string | undefined;
|
|
489
489
|
}[];
|
|
490
490
|
complexity: "low" | "medium" | "high";
|
|
491
491
|
recommendedModel: string;
|
|
@@ -622,8 +622,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
622
622
|
errorHandling: string;
|
|
623
623
|
constraints?: string[] | undefined;
|
|
624
624
|
};
|
|
625
|
-
toolName?: string | undefined;
|
|
626
625
|
result?: unknown;
|
|
626
|
+
toolName?: string | undefined;
|
|
627
627
|
}[];
|
|
628
628
|
complexity: "low" | "medium" | "high";
|
|
629
629
|
recommendedModel: string;
|
|
@@ -735,8 +735,8 @@ export declare const CoreApiChatBodyRequestBaseSchema: z.ZodObject<{
|
|
|
735
735
|
errorHandling: string;
|
|
736
736
|
constraints?: string[] | undefined;
|
|
737
737
|
};
|
|
738
|
-
toolName?: string | undefined;
|
|
739
738
|
result?: unknown;
|
|
739
|
+
toolName?: string | undefined;
|
|
740
740
|
}[];
|
|
741
741
|
complexity: "low" | "medium" | "high";
|
|
742
742
|
recommendedModel: string;
|
|
@@ -1062,8 +1062,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1062
1062
|
errorHandling: string;
|
|
1063
1063
|
constraints?: string[] | undefined;
|
|
1064
1064
|
};
|
|
1065
|
-
toolName?: string | undefined;
|
|
1066
1065
|
result?: unknown;
|
|
1066
|
+
toolName?: string | undefined;
|
|
1067
1067
|
}, {
|
|
1068
1068
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
1069
1069
|
description: string;
|
|
@@ -1078,8 +1078,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1078
1078
|
errorHandling: string;
|
|
1079
1079
|
constraints?: string[] | undefined;
|
|
1080
1080
|
};
|
|
1081
|
-
toolName?: string | undefined;
|
|
1082
1081
|
result?: unknown;
|
|
1082
|
+
toolName?: string | undefined;
|
|
1083
1083
|
}>, "many">;
|
|
1084
1084
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
1085
1085
|
recommendedModel: z.ZodString;
|
|
@@ -1103,8 +1103,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1103
1103
|
errorHandling: string;
|
|
1104
1104
|
constraints?: string[] | undefined;
|
|
1105
1105
|
};
|
|
1106
|
-
toolName?: string | undefined;
|
|
1107
1106
|
result?: unknown;
|
|
1107
|
+
toolName?: string | undefined;
|
|
1108
1108
|
}[];
|
|
1109
1109
|
complexity: "low" | "medium" | "high";
|
|
1110
1110
|
recommendedModel: string;
|
|
@@ -1128,8 +1128,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1128
1128
|
errorHandling: string;
|
|
1129
1129
|
constraints?: string[] | undefined;
|
|
1130
1130
|
};
|
|
1131
|
-
toolName?: string | undefined;
|
|
1132
1131
|
result?: unknown;
|
|
1132
|
+
toolName?: string | undefined;
|
|
1133
1133
|
}[];
|
|
1134
1134
|
complexity: "low" | "medium" | "high";
|
|
1135
1135
|
recommendedModel: string;
|
|
@@ -1198,8 +1198,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1198
1198
|
errorHandling: string;
|
|
1199
1199
|
constraints?: string[] | undefined;
|
|
1200
1200
|
};
|
|
1201
|
-
toolName?: string | undefined;
|
|
1202
1201
|
result?: unknown;
|
|
1202
|
+
toolName?: string | undefined;
|
|
1203
1203
|
}[];
|
|
1204
1204
|
complexity: "low" | "medium" | "high";
|
|
1205
1205
|
recommendedModel: string;
|
|
@@ -1252,8 +1252,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1252
1252
|
errorHandling: string;
|
|
1253
1253
|
constraints?: string[] | undefined;
|
|
1254
1254
|
};
|
|
1255
|
-
toolName?: string | undefined;
|
|
1256
1255
|
result?: unknown;
|
|
1256
|
+
toolName?: string | undefined;
|
|
1257
1257
|
}[];
|
|
1258
1258
|
complexity: "low" | "medium" | "high";
|
|
1259
1259
|
recommendedModel: string;
|
|
@@ -1390,8 +1390,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1390
1390
|
errorHandling: string;
|
|
1391
1391
|
constraints?: string[] | undefined;
|
|
1392
1392
|
};
|
|
1393
|
-
toolName?: string | undefined;
|
|
1394
1393
|
result?: unknown;
|
|
1394
|
+
toolName?: string | undefined;
|
|
1395
1395
|
}[];
|
|
1396
1396
|
complexity: "low" | "medium" | "high";
|
|
1397
1397
|
recommendedModel: string;
|
|
@@ -1503,8 +1503,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1503
1503
|
errorHandling: string;
|
|
1504
1504
|
constraints?: string[] | undefined;
|
|
1505
1505
|
};
|
|
1506
|
-
toolName?: string | undefined;
|
|
1507
1506
|
result?: unknown;
|
|
1507
|
+
toolName?: string | undefined;
|
|
1508
1508
|
}[];
|
|
1509
1509
|
complexity: "low" | "medium" | "high";
|
|
1510
1510
|
recommendedModel: string;
|
|
@@ -1616,8 +1616,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1616
1616
|
errorHandling: string;
|
|
1617
1617
|
constraints?: string[] | undefined;
|
|
1618
1618
|
};
|
|
1619
|
-
toolName?: string | undefined;
|
|
1620
1619
|
result?: unknown;
|
|
1620
|
+
toolName?: string | undefined;
|
|
1621
1621
|
}[];
|
|
1622
1622
|
complexity: "low" | "medium" | "high";
|
|
1623
1623
|
recommendedModel: string;
|
|
@@ -1729,8 +1729,8 @@ export declare const CoreApiChatBodyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1729
1729
|
errorHandling: string;
|
|
1730
1730
|
constraints?: string[] | undefined;
|
|
1731
1731
|
};
|
|
1732
|
-
toolName?: string | undefined;
|
|
1733
1732
|
result?: unknown;
|
|
1733
|
+
toolName?: string | undefined;
|
|
1734
1734
|
}[];
|
|
1735
1735
|
complexity: "low" | "medium" | "high";
|
|
1736
1736
|
recommendedModel: string;
|
|
@@ -23,15 +23,15 @@ export declare const LongPollingActionRequestParamsSchema: z.ZodObject<{
|
|
|
23
23
|
fromChain?: number | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
}, "strict", z.ZodTypeAny, {
|
|
26
|
-
toolName: "swap" | "bridge" | "defiSupply" | "defiWithdraw";
|
|
27
26
|
protocol: string;
|
|
27
|
+
toolName: "swap" | "bridge" | "defiSupply" | "defiWithdraw";
|
|
28
28
|
args: {
|
|
29
29
|
txHash: string;
|
|
30
30
|
fromChain?: number | undefined;
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
|
-
toolName: "swap" | "bridge" | "defiSupply" | "defiWithdraw";
|
|
34
33
|
protocol: string;
|
|
34
|
+
toolName: "swap" | "bridge" | "defiSupply" | "defiWithdraw";
|
|
35
35
|
args: {
|
|
36
36
|
txHash: string;
|
|
37
37
|
fromChain?: number | undefined;
|
|
@@ -6904,8 +6904,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
6904
6904
|
nativeTokenSymbol?: string | undefined;
|
|
6905
6905
|
}>>;
|
|
6906
6906
|
}, "strict", z.ZodTypeAny, {
|
|
6907
|
-
|
|
6908
|
-
toolName: string;
|
|
6907
|
+
type: "tool-call";
|
|
6909
6908
|
input: {
|
|
6910
6909
|
type: "BatchTransactions";
|
|
6911
6910
|
value: {
|
|
@@ -7756,7 +7755,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7756
7755
|
amountUSDValue?: string | undefined;
|
|
7757
7756
|
} | undefined;
|
|
7758
7757
|
};
|
|
7759
|
-
|
|
7758
|
+
toolCallId: string;
|
|
7759
|
+
toolName: string;
|
|
7760
7760
|
simulated?: boolean | undefined;
|
|
7761
7761
|
simulation?: {
|
|
7762
7762
|
willSucceed: boolean;
|
|
@@ -7805,8 +7805,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7805
7805
|
nativeTokenSymbol?: string | undefined;
|
|
7806
7806
|
} | undefined;
|
|
7807
7807
|
}, {
|
|
7808
|
-
|
|
7809
|
-
toolName: string;
|
|
7808
|
+
type: "tool-call";
|
|
7810
7809
|
input: {
|
|
7811
7810
|
type: "BatchTransactions";
|
|
7812
7811
|
value: {
|
|
@@ -8657,7 +8656,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
8657
8656
|
amountUSDValue?: string | undefined;
|
|
8658
8657
|
} | undefined;
|
|
8659
8658
|
};
|
|
8660
|
-
|
|
8659
|
+
toolCallId: string;
|
|
8660
|
+
toolName: string;
|
|
8661
8661
|
simulated?: boolean | undefined;
|
|
8662
8662
|
simulation?: {
|
|
8663
8663
|
willSucceed: boolean;
|
|
@@ -109,8 +109,8 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
109
109
|
errorHandling: string;
|
|
110
110
|
constraints?: string[] | undefined;
|
|
111
111
|
};
|
|
112
|
-
toolName?: string | undefined;
|
|
113
112
|
result?: unknown;
|
|
113
|
+
toolName?: string | undefined;
|
|
114
114
|
}, {
|
|
115
115
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
116
116
|
description: string;
|
|
@@ -125,8 +125,8 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
125
125
|
errorHandling: string;
|
|
126
126
|
constraints?: string[] | undefined;
|
|
127
127
|
};
|
|
128
|
-
toolName?: string | undefined;
|
|
129
128
|
result?: unknown;
|
|
129
|
+
toolName?: string | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
/**
|
|
132
132
|
* Human-readable summary step (lighter than the full PlanStep).
|
|
@@ -267,8 +267,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
267
267
|
errorHandling: string;
|
|
268
268
|
constraints?: string[] | undefined;
|
|
269
269
|
};
|
|
270
|
-
toolName?: string | undefined;
|
|
271
270
|
result?: unknown;
|
|
271
|
+
toolName?: string | undefined;
|
|
272
272
|
}, {
|
|
273
273
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
274
274
|
description: string;
|
|
@@ -283,8 +283,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
283
283
|
errorHandling: string;
|
|
284
284
|
constraints?: string[] | undefined;
|
|
285
285
|
};
|
|
286
|
-
toolName?: string | undefined;
|
|
287
286
|
result?: unknown;
|
|
287
|
+
toolName?: string | undefined;
|
|
288
288
|
}>, "many">;
|
|
289
289
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
290
290
|
/** Model ID from ILLA's supported models */
|
|
@@ -314,8 +314,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
314
314
|
errorHandling: string;
|
|
315
315
|
constraints?: string[] | undefined;
|
|
316
316
|
};
|
|
317
|
-
toolName?: string | undefined;
|
|
318
317
|
result?: unknown;
|
|
318
|
+
toolName?: string | undefined;
|
|
319
319
|
}[];
|
|
320
320
|
complexity: "low" | "medium" | "high";
|
|
321
321
|
recommendedModel: string;
|
|
@@ -339,8 +339,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
339
339
|
errorHandling: string;
|
|
340
340
|
constraints?: string[] | undefined;
|
|
341
341
|
};
|
|
342
|
-
toolName?: string | undefined;
|
|
343
342
|
result?: unknown;
|
|
343
|
+
toolName?: string | undefined;
|
|
344
344
|
}[];
|
|
345
345
|
complexity: "low" | "medium" | "high";
|
|
346
346
|
recommendedModel: string;
|
|
@@ -473,8 +473,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
473
473
|
errorHandling: string;
|
|
474
474
|
constraints?: string[] | undefined;
|
|
475
475
|
};
|
|
476
|
-
toolName?: string | undefined;
|
|
477
476
|
result?: unknown;
|
|
477
|
+
toolName?: string | undefined;
|
|
478
478
|
}, {
|
|
479
479
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
480
480
|
description: string;
|
|
@@ -489,8 +489,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
489
489
|
errorHandling: string;
|
|
490
490
|
constraints?: string[] | undefined;
|
|
491
491
|
};
|
|
492
|
-
toolName?: string | undefined;
|
|
493
492
|
result?: unknown;
|
|
493
|
+
toolName?: string | undefined;
|
|
494
494
|
}>, "many">;
|
|
495
495
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
496
496
|
/** Model ID from ILLA's supported models */
|
|
@@ -520,8 +520,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
520
520
|
errorHandling: string;
|
|
521
521
|
constraints?: string[] | undefined;
|
|
522
522
|
};
|
|
523
|
-
toolName?: string | undefined;
|
|
524
523
|
result?: unknown;
|
|
524
|
+
toolName?: string | undefined;
|
|
525
525
|
}[];
|
|
526
526
|
complexity: "low" | "medium" | "high";
|
|
527
527
|
recommendedModel: string;
|
|
@@ -545,8 +545,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
545
545
|
errorHandling: string;
|
|
546
546
|
constraints?: string[] | undefined;
|
|
547
547
|
};
|
|
548
|
-
toolName?: string | undefined;
|
|
549
548
|
result?: unknown;
|
|
549
|
+
toolName?: string | undefined;
|
|
550
550
|
}[];
|
|
551
551
|
complexity: "low" | "medium" | "high";
|
|
552
552
|
recommendedModel: string;
|
|
@@ -619,8 +619,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
619
619
|
errorHandling: string;
|
|
620
620
|
constraints?: string[] | undefined;
|
|
621
621
|
};
|
|
622
|
-
toolName?: string | undefined;
|
|
623
622
|
result?: unknown;
|
|
623
|
+
toolName?: string | undefined;
|
|
624
624
|
}[];
|
|
625
625
|
complexity: "low" | "medium" | "high";
|
|
626
626
|
recommendedModel: string;
|
|
@@ -673,8 +673,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
673
673
|
errorHandling: string;
|
|
674
674
|
constraints?: string[] | undefined;
|
|
675
675
|
};
|
|
676
|
-
toolName?: string | undefined;
|
|
677
676
|
result?: unknown;
|
|
677
|
+
toolName?: string | undefined;
|
|
678
678
|
}[];
|
|
679
679
|
complexity: "low" | "medium" | "high";
|
|
680
680
|
recommendedModel: string;
|
|
@@ -274,15 +274,15 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
274
274
|
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
275
275
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
status: "pending";
|
|
277
278
|
toolCallId: string;
|
|
278
279
|
toolName: string;
|
|
279
|
-
status: "pending";
|
|
280
280
|
result?: unknown;
|
|
281
281
|
simulated?: boolean | undefined;
|
|
282
282
|
}, {
|
|
283
|
+
status: "pending";
|
|
283
284
|
toolCallId: string;
|
|
284
285
|
toolName: string;
|
|
285
|
-
status: "pending";
|
|
286
286
|
result?: unknown;
|
|
287
287
|
simulated?: boolean | undefined;
|
|
288
288
|
}>, z.ZodObject<{
|
|
@@ -291,14 +291,14 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
291
291
|
status: z.ZodLiteral<"success">;
|
|
292
292
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
status: "success";
|
|
294
295
|
toolCallId: string;
|
|
295
296
|
toolName: string;
|
|
296
|
-
status: "success";
|
|
297
297
|
result?: unknown;
|
|
298
298
|
}, {
|
|
299
|
+
status: "success";
|
|
299
300
|
toolCallId: string;
|
|
300
301
|
toolName: string;
|
|
301
|
-
status: "success";
|
|
302
302
|
result?: unknown;
|
|
303
303
|
}>, z.ZodObject<{
|
|
304
304
|
toolCallId: z.ZodString;
|
|
@@ -306,54 +306,54 @@ export declare const toolResultEventSchema: z.ZodObject<{
|
|
|
306
306
|
status: z.ZodLiteral<"failure">;
|
|
307
307
|
error: z.ZodString;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
toolCallId: string;
|
|
310
|
-
toolName: string;
|
|
311
309
|
status: "failure";
|
|
312
310
|
error: string;
|
|
313
|
-
}, {
|
|
314
311
|
toolCallId: string;
|
|
315
312
|
toolName: string;
|
|
313
|
+
}, {
|
|
316
314
|
status: "failure";
|
|
317
315
|
error: string;
|
|
316
|
+
toolCallId: string;
|
|
317
|
+
toolName: string;
|
|
318
318
|
}>]>;
|
|
319
319
|
}, "strip", z.ZodTypeAny, {
|
|
320
320
|
data: {
|
|
321
|
+
status: "pending";
|
|
321
322
|
toolCallId: string;
|
|
322
323
|
toolName: string;
|
|
323
|
-
status: "pending";
|
|
324
324
|
result?: unknown;
|
|
325
325
|
simulated?: boolean | undefined;
|
|
326
326
|
} | {
|
|
327
|
+
status: "success";
|
|
327
328
|
toolCallId: string;
|
|
328
329
|
toolName: string;
|
|
329
|
-
status: "success";
|
|
330
330
|
result?: unknown;
|
|
331
331
|
} | {
|
|
332
|
-
toolCallId: string;
|
|
333
|
-
toolName: string;
|
|
334
332
|
status: "failure";
|
|
335
333
|
error: string;
|
|
334
|
+
toolCallId: string;
|
|
335
|
+
toolName: string;
|
|
336
336
|
};
|
|
337
337
|
type: "tool_result";
|
|
338
338
|
requestId: string;
|
|
339
339
|
timestamp?: number | undefined;
|
|
340
340
|
}, {
|
|
341
341
|
data: {
|
|
342
|
+
status: "pending";
|
|
342
343
|
toolCallId: string;
|
|
343
344
|
toolName: string;
|
|
344
|
-
status: "pending";
|
|
345
345
|
result?: unknown;
|
|
346
346
|
simulated?: boolean | undefined;
|
|
347
347
|
} | {
|
|
348
|
+
status: "success";
|
|
348
349
|
toolCallId: string;
|
|
349
350
|
toolName: string;
|
|
350
|
-
status: "success";
|
|
351
351
|
result?: unknown;
|
|
352
352
|
} | {
|
|
353
|
-
toolCallId: string;
|
|
354
|
-
toolName: string;
|
|
355
353
|
status: "failure";
|
|
356
354
|
error: string;
|
|
355
|
+
toolCallId: string;
|
|
356
|
+
toolName: string;
|
|
357
357
|
};
|
|
358
358
|
type: "tool_result";
|
|
359
359
|
requestId: string;
|
|
@@ -1503,15 +1503,15 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1503
1503
|
simulated: z.ZodOptional<z.ZodBoolean>;
|
|
1504
1504
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1505
1505
|
}, "strip", z.ZodTypeAny, {
|
|
1506
|
+
status: "pending";
|
|
1506
1507
|
toolCallId: string;
|
|
1507
1508
|
toolName: string;
|
|
1508
|
-
status: "pending";
|
|
1509
1509
|
result?: unknown;
|
|
1510
1510
|
simulated?: boolean | undefined;
|
|
1511
1511
|
}, {
|
|
1512
|
+
status: "pending";
|
|
1512
1513
|
toolCallId: string;
|
|
1513
1514
|
toolName: string;
|
|
1514
|
-
status: "pending";
|
|
1515
1515
|
result?: unknown;
|
|
1516
1516
|
simulated?: boolean | undefined;
|
|
1517
1517
|
}>, z.ZodObject<{
|
|
@@ -1520,14 +1520,14 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1520
1520
|
status: z.ZodLiteral<"success">;
|
|
1521
1521
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1522
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1523
|
+
status: "success";
|
|
1523
1524
|
toolCallId: string;
|
|
1524
1525
|
toolName: string;
|
|
1525
|
-
status: "success";
|
|
1526
1526
|
result?: unknown;
|
|
1527
1527
|
}, {
|
|
1528
|
+
status: "success";
|
|
1528
1529
|
toolCallId: string;
|
|
1529
1530
|
toolName: string;
|
|
1530
|
-
status: "success";
|
|
1531
1531
|
result?: unknown;
|
|
1532
1532
|
}>, z.ZodObject<{
|
|
1533
1533
|
toolCallId: z.ZodString;
|
|
@@ -1535,54 +1535,54 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1535
1535
|
status: z.ZodLiteral<"failure">;
|
|
1536
1536
|
error: z.ZodString;
|
|
1537
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1538
|
-
toolCallId: string;
|
|
1539
|
-
toolName: string;
|
|
1540
1538
|
status: "failure";
|
|
1541
1539
|
error: string;
|
|
1542
|
-
}, {
|
|
1543
1540
|
toolCallId: string;
|
|
1544
1541
|
toolName: string;
|
|
1542
|
+
}, {
|
|
1545
1543
|
status: "failure";
|
|
1546
1544
|
error: string;
|
|
1545
|
+
toolCallId: string;
|
|
1546
|
+
toolName: string;
|
|
1547
1547
|
}>]>;
|
|
1548
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1549
|
data: {
|
|
1550
|
+
status: "pending";
|
|
1550
1551
|
toolCallId: string;
|
|
1551
1552
|
toolName: string;
|
|
1552
|
-
status: "pending";
|
|
1553
1553
|
result?: unknown;
|
|
1554
1554
|
simulated?: boolean | undefined;
|
|
1555
1555
|
} | {
|
|
1556
|
+
status: "success";
|
|
1556
1557
|
toolCallId: string;
|
|
1557
1558
|
toolName: string;
|
|
1558
|
-
status: "success";
|
|
1559
1559
|
result?: unknown;
|
|
1560
1560
|
} | {
|
|
1561
|
-
toolCallId: string;
|
|
1562
|
-
toolName: string;
|
|
1563
1561
|
status: "failure";
|
|
1564
1562
|
error: string;
|
|
1563
|
+
toolCallId: string;
|
|
1564
|
+
toolName: string;
|
|
1565
1565
|
};
|
|
1566
1566
|
type: "tool_result";
|
|
1567
1567
|
requestId: string;
|
|
1568
1568
|
timestamp?: number | undefined;
|
|
1569
1569
|
}, {
|
|
1570
1570
|
data: {
|
|
1571
|
+
status: "pending";
|
|
1571
1572
|
toolCallId: string;
|
|
1572
1573
|
toolName: string;
|
|
1573
|
-
status: "pending";
|
|
1574
1574
|
result?: unknown;
|
|
1575
1575
|
simulated?: boolean | undefined;
|
|
1576
1576
|
} | {
|
|
1577
|
+
status: "success";
|
|
1577
1578
|
toolCallId: string;
|
|
1578
1579
|
toolName: string;
|
|
1579
|
-
status: "success";
|
|
1580
1580
|
result?: unknown;
|
|
1581
1581
|
} | {
|
|
1582
|
-
toolCallId: string;
|
|
1583
|
-
toolName: string;
|
|
1584
1582
|
status: "failure";
|
|
1585
1583
|
error: string;
|
|
1584
|
+
toolCallId: string;
|
|
1585
|
+
toolName: string;
|
|
1586
1586
|
};
|
|
1587
1587
|
type: "tool_result";
|
|
1588
1588
|
requestId: string;
|
|
@@ -8214,8 +8214,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
8214
8214
|
nativeTokenSymbol?: string | undefined;
|
|
8215
8215
|
}>>;
|
|
8216
8216
|
}, "strict", z.ZodTypeAny, {
|
|
8217
|
-
|
|
8218
|
-
toolName: string;
|
|
8217
|
+
type: "tool-call";
|
|
8219
8218
|
input: {
|
|
8220
8219
|
type: "BatchTransactions";
|
|
8221
8220
|
value: {
|
|
@@ -9066,7 +9065,8 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
9066
9065
|
amountUSDValue?: string | undefined;
|
|
9067
9066
|
} | undefined;
|
|
9068
9067
|
};
|
|
9069
|
-
|
|
9068
|
+
toolCallId: string;
|
|
9069
|
+
toolName: string;
|
|
9070
9070
|
simulated?: boolean | undefined;
|
|
9071
9071
|
simulation?: {
|
|
9072
9072
|
willSucceed: boolean;
|
|
@@ -9115,8 +9115,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
9115
9115
|
nativeTokenSymbol?: string | undefined;
|
|
9116
9116
|
} | undefined;
|
|
9117
9117
|
}, {
|
|
9118
|
-
|
|
9119
|
-
toolName: string;
|
|
9118
|
+
type: "tool-call";
|
|
9120
9119
|
input: {
|
|
9121
9120
|
type: "BatchTransactions";
|
|
9122
9121
|
value: {
|
|
@@ -9967,7 +9966,8 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
9967
9966
|
amountUSDValue?: string | undefined;
|
|
9968
9967
|
} | undefined;
|
|
9969
9968
|
};
|
|
9970
|
-
|
|
9969
|
+
toolCallId: string;
|
|
9970
|
+
toolName: string;
|
|
9971
9971
|
simulated?: boolean | undefined;
|
|
9972
9972
|
simulation?: {
|
|
9973
9973
|
willSucceed: boolean;
|
|
@@ -10106,8 +10106,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
10106
10106
|
messages: ModelMessage[];
|
|
10107
10107
|
requestId: string;
|
|
10108
10108
|
pendingTools?: {
|
|
10109
|
-
|
|
10110
|
-
toolName: string;
|
|
10109
|
+
type: "tool-call";
|
|
10111
10110
|
input: {
|
|
10112
10111
|
type: "BatchTransactions";
|
|
10113
10112
|
value: {
|
|
@@ -10958,7 +10957,8 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
10958
10957
|
amountUSDValue?: string | undefined;
|
|
10959
10958
|
} | undefined;
|
|
10960
10959
|
};
|
|
10961
|
-
|
|
10960
|
+
toolCallId: string;
|
|
10961
|
+
toolName: string;
|
|
10962
10962
|
simulated?: boolean | undefined;
|
|
10963
10963
|
simulation?: {
|
|
10964
10964
|
willSucceed: boolean;
|
|
@@ -11034,8 +11034,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
11034
11034
|
messages: ModelMessage[];
|
|
11035
11035
|
requestId: string;
|
|
11036
11036
|
pendingTools?: {
|
|
11037
|
-
|
|
11038
|
-
toolName: string;
|
|
11037
|
+
type: "tool-call";
|
|
11039
11038
|
input: {
|
|
11040
11039
|
type: "BatchTransactions";
|
|
11041
11040
|
value: {
|
|
@@ -11886,7 +11885,8 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
11886
11885
|
amountUSDValue?: string | undefined;
|
|
11887
11886
|
} | undefined;
|
|
11888
11887
|
};
|
|
11889
|
-
|
|
11888
|
+
toolCallId: string;
|
|
11889
|
+
toolName: string;
|
|
11890
11890
|
simulated?: boolean | undefined;
|
|
11891
11891
|
simulation?: {
|
|
11892
11892
|
willSucceed: boolean;
|
|
@@ -17798,8 +17798,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
17798
17798
|
nativeTokenSymbol?: string | undefined;
|
|
17799
17799
|
}>>;
|
|
17800
17800
|
}, "strict", z.ZodTypeAny, {
|
|
17801
|
-
|
|
17802
|
-
toolName: string;
|
|
17801
|
+
type: "tool-call";
|
|
17803
17802
|
input: {
|
|
17804
17803
|
type: "BatchTransactions";
|
|
17805
17804
|
value: {
|
|
@@ -18650,7 +18649,8 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
18650
18649
|
amountUSDValue?: string | undefined;
|
|
18651
18650
|
} | undefined;
|
|
18652
18651
|
};
|
|
18653
|
-
|
|
18652
|
+
toolCallId: string;
|
|
18653
|
+
toolName: string;
|
|
18654
18654
|
simulated?: boolean | undefined;
|
|
18655
18655
|
simulation?: {
|
|
18656
18656
|
willSucceed: boolean;
|
|
@@ -18699,8 +18699,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
18699
18699
|
nativeTokenSymbol?: string | undefined;
|
|
18700
18700
|
} | undefined;
|
|
18701
18701
|
}, {
|
|
18702
|
-
|
|
18703
|
-
toolName: string;
|
|
18702
|
+
type: "tool-call";
|
|
18704
18703
|
input: {
|
|
18705
18704
|
type: "BatchTransactions";
|
|
18706
18705
|
value: {
|
|
@@ -19551,7 +19550,8 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
19551
19550
|
amountUSDValue?: string | undefined;
|
|
19552
19551
|
} | undefined;
|
|
19553
19552
|
};
|
|
19554
|
-
|
|
19553
|
+
toolCallId: string;
|
|
19554
|
+
toolName: string;
|
|
19555
19555
|
simulated?: boolean | undefined;
|
|
19556
19556
|
simulation?: {
|
|
19557
19557
|
willSucceed: boolean;
|
|
@@ -19690,8 +19690,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
19690
19690
|
messages: ModelMessage[];
|
|
19691
19691
|
requestId: string;
|
|
19692
19692
|
pendingTools?: {
|
|
19693
|
-
|
|
19694
|
-
toolName: string;
|
|
19693
|
+
type: "tool-call";
|
|
19695
19694
|
input: {
|
|
19696
19695
|
type: "BatchTransactions";
|
|
19697
19696
|
value: {
|
|
@@ -20542,7 +20541,8 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
20542
20541
|
amountUSDValue?: string | undefined;
|
|
20543
20542
|
} | undefined;
|
|
20544
20543
|
};
|
|
20545
|
-
|
|
20544
|
+
toolCallId: string;
|
|
20545
|
+
toolName: string;
|
|
20546
20546
|
simulated?: boolean | undefined;
|
|
20547
20547
|
simulation?: {
|
|
20548
20548
|
willSucceed: boolean;
|
|
@@ -20618,8 +20618,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
20618
20618
|
messages: ModelMessage[];
|
|
20619
20619
|
requestId: string;
|
|
20620
20620
|
pendingTools?: {
|
|
20621
|
-
|
|
20622
|
-
toolName: string;
|
|
20621
|
+
type: "tool-call";
|
|
20623
20622
|
input: {
|
|
20624
20623
|
type: "BatchTransactions";
|
|
20625
20624
|
value: {
|
|
@@ -21470,7 +21469,8 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
21470
21469
|
amountUSDValue?: string | undefined;
|
|
21471
21470
|
} | undefined;
|
|
21472
21471
|
};
|
|
21473
|
-
|
|
21472
|
+
toolCallId: string;
|
|
21473
|
+
toolName: string;
|
|
21474
21474
|
simulated?: boolean | undefined;
|
|
21475
21475
|
simulation?: {
|
|
21476
21476
|
willSucceed: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiMessageNormalizer.d.ts","sourceRoot":"","sources":["../../src/schemas/uiMessageNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,aAAa,CAI9D;
|
|
1
|
+
{"version":3,"file":"uiMessageNormalizer.d.ts","sourceRoot":"","sources":["../../src/schemas/uiMessageNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,aAAa,CAI9D;AAyND;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,aAAa,CAAC,GAC9C,YAAY,EAAE,CAgChB"}
|
|
@@ -84,19 +84,28 @@ function convertAssistantUIMessage(parts) {
|
|
|
84
84
|
assistantContent.push({ type: "text", text: part.text });
|
|
85
85
|
}
|
|
86
86
|
else if (part.type === "reasoning") {
|
|
87
|
-
|
|
87
|
+
const rp = part;
|
|
88
|
+
const reasoningPart = { type: "reasoning", text: rp.text };
|
|
89
|
+
if (rp.providerMetadata) {
|
|
90
|
+
reasoningPart.providerOptions = rp.providerMetadata;
|
|
91
|
+
}
|
|
92
|
+
assistantContent.push(reasoningPart);
|
|
88
93
|
}
|
|
89
94
|
else if (isToolPart(part)) {
|
|
90
95
|
const tp = part;
|
|
91
96
|
const toolName = extractToolName(tp);
|
|
92
97
|
const toolCallId = tp.toolCallId;
|
|
93
98
|
// Always emit a ToolCallPart
|
|
94
|
-
|
|
99
|
+
const toolCallPart = {
|
|
95
100
|
type: "tool-call",
|
|
96
101
|
toolCallId,
|
|
97
102
|
toolName,
|
|
98
103
|
input: tp.input ?? {},
|
|
99
|
-
}
|
|
104
|
+
};
|
|
105
|
+
if (tp.providerMetadata) {
|
|
106
|
+
toolCallPart.providerOptions = tp.providerMetadata;
|
|
107
|
+
}
|
|
108
|
+
assistantContent.push(toolCallPart);
|
|
100
109
|
// Emit ToolResultPart based on state
|
|
101
110
|
if (tp.state === "output-available") {
|
|
102
111
|
toolResults.push({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiMessageNormalizer.js","sourceRoot":"","sources":["../../src/schemas/uiMessageNormalizer.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,GAAY;IACpC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC1D,MAAM,CAAC,GAAG,GAA8B,CAAC;IACzC,OAAO,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAS,cAAc,CAAC,GAAY;IAChC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC1D,MAAM,CAAC,GAAG,GAA8B,CAAC;IACzC,OAAO,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,SAAS,IAAI,CAAC,CAAC;AACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"uiMessageNormalizer.js","sourceRoot":"","sources":["../../src/schemas/uiMessageNormalizer.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,GAAY;IACpC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC1D,MAAM,CAAC,GAAG,GAA8B,CAAC;IACzC,OAAO,OAAO,CAAC,CAAC,IA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