@linkshell/wire 0.2.7 → 0.2.8
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/README.md +7 -1
- package/dist/async-questions.d.ts +40 -0
- package/dist/async-questions.js +66 -0
- package/dist/async-questions.js.map +1 -0
- package/dist/computer-preview.d.ts +2 -2
- package/dist/goal.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/model.d.ts +28 -4
- package/dist/model.js +3 -0
- package/dist/model.js.map +1 -1
- package/dist/relay.d.ts +2 -2
- package/dist/rpc.d.ts +672 -284
- package/dist/updates.d.ts +184 -112
- package/dist/updates.js +6 -1
- package/dist/updates.js.map +1 -1
- package/package.json +1 -1
- package/src/async-questions.ts +69 -0
- package/src/index.ts +1 -0
- package/src/model.ts +3 -0
- package/src/updates.ts +6 -1
package/dist/rpc.d.ts
CHANGED
|
@@ -36,26 +36,26 @@ export declare const rpcMessageSchema: z.ZodObject<{
|
|
|
36
36
|
}>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
jsonrpc: "2.0";
|
|
39
|
-
id?: string | number | undefined;
|
|
40
39
|
params?: unknown;
|
|
40
|
+
id?: string | number | undefined;
|
|
41
|
+
result?: unknown;
|
|
42
|
+
method?: string | undefined;
|
|
41
43
|
error?: {
|
|
42
44
|
code: number;
|
|
43
45
|
message: string;
|
|
44
46
|
data?: unknown;
|
|
45
47
|
} | undefined;
|
|
46
|
-
result?: unknown;
|
|
47
|
-
method?: string | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
jsonrpc: "2.0";
|
|
50
|
-
id?: string | number | undefined;
|
|
51
50
|
params?: unknown;
|
|
51
|
+
id?: string | number | undefined;
|
|
52
|
+
result?: unknown;
|
|
53
|
+
method?: string | undefined;
|
|
52
54
|
error?: {
|
|
53
55
|
code: number;
|
|
54
56
|
message: string;
|
|
55
57
|
data?: unknown;
|
|
56
58
|
} | undefined;
|
|
57
|
-
result?: unknown;
|
|
58
|
-
method?: string | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type RpcMessage = z.infer<typeof rpcMessageSchema>;
|
|
61
61
|
/** Application error codes carried in `error.data.code`. */
|
|
@@ -459,6 +459,19 @@ export declare const methods: {
|
|
|
459
459
|
required?: boolean | undefined;
|
|
460
460
|
}[] | undefined;
|
|
461
461
|
}>>;
|
|
462
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
463
|
+
id: z.ZodString;
|
|
464
|
+
title: z.ZodString;
|
|
465
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
options: string[];
|
|
468
|
+
id: string;
|
|
469
|
+
title: string;
|
|
470
|
+
}, {
|
|
471
|
+
options: string[];
|
|
472
|
+
id: string;
|
|
473
|
+
title: string;
|
|
474
|
+
}>, "many">>;
|
|
462
475
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
463
476
|
clientMessageId: z.ZodString;
|
|
464
477
|
text: z.ZodString;
|
|
@@ -504,7 +517,7 @@ export declare const methods: {
|
|
|
504
517
|
}>>;
|
|
505
518
|
}, "strip", z.ZodTypeAny, {
|
|
506
519
|
id: string;
|
|
507
|
-
state: "
|
|
520
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
508
521
|
lastSeq: number;
|
|
509
522
|
agent: string;
|
|
510
523
|
nativeId: string;
|
|
@@ -547,6 +560,11 @@ export declare const methods: {
|
|
|
547
560
|
required?: boolean | undefined;
|
|
548
561
|
}[] | undefined;
|
|
549
562
|
} | undefined;
|
|
563
|
+
asyncQuestions?: {
|
|
564
|
+
options: string[];
|
|
565
|
+
id: string;
|
|
566
|
+
title: string;
|
|
567
|
+
}[] | undefined;
|
|
550
568
|
queue?: {
|
|
551
569
|
images: number;
|
|
552
570
|
text: string;
|
|
@@ -566,7 +584,7 @@ export declare const methods: {
|
|
|
566
584
|
} | undefined;
|
|
567
585
|
}, {
|
|
568
586
|
id: string;
|
|
569
|
-
state: "
|
|
587
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
570
588
|
lastSeq: number;
|
|
571
589
|
agent: string;
|
|
572
590
|
nativeId: string;
|
|
@@ -609,6 +627,11 @@ export declare const methods: {
|
|
|
609
627
|
required?: boolean | undefined;
|
|
610
628
|
}[] | undefined;
|
|
611
629
|
} | undefined;
|
|
630
|
+
asyncQuestions?: {
|
|
631
|
+
options: string[];
|
|
632
|
+
id: string;
|
|
633
|
+
title: string;
|
|
634
|
+
}[] | undefined;
|
|
612
635
|
queue?: {
|
|
613
636
|
images: number;
|
|
614
637
|
text: string;
|
|
@@ -631,7 +654,7 @@ export declare const methods: {
|
|
|
631
654
|
}, "strip", z.ZodTypeAny, {
|
|
632
655
|
sessions: {
|
|
633
656
|
id: string;
|
|
634
|
-
state: "
|
|
657
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
635
658
|
lastSeq: number;
|
|
636
659
|
agent: string;
|
|
637
660
|
nativeId: string;
|
|
@@ -674,6 +697,11 @@ export declare const methods: {
|
|
|
674
697
|
required?: boolean | undefined;
|
|
675
698
|
}[] | undefined;
|
|
676
699
|
} | undefined;
|
|
700
|
+
asyncQuestions?: {
|
|
701
|
+
options: string[];
|
|
702
|
+
id: string;
|
|
703
|
+
title: string;
|
|
704
|
+
}[] | undefined;
|
|
677
705
|
queue?: {
|
|
678
706
|
images: number;
|
|
679
707
|
text: string;
|
|
@@ -696,7 +724,7 @@ export declare const methods: {
|
|
|
696
724
|
}, {
|
|
697
725
|
sessions: {
|
|
698
726
|
id: string;
|
|
699
|
-
state: "
|
|
727
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
700
728
|
lastSeq: number;
|
|
701
729
|
agent: string;
|
|
702
730
|
nativeId: string;
|
|
@@ -739,6 +767,11 @@ export declare const methods: {
|
|
|
739
767
|
required?: boolean | undefined;
|
|
740
768
|
}[] | undefined;
|
|
741
769
|
} | undefined;
|
|
770
|
+
asyncQuestions?: {
|
|
771
|
+
options: string[];
|
|
772
|
+
id: string;
|
|
773
|
+
title: string;
|
|
774
|
+
}[] | undefined;
|
|
742
775
|
queue?: {
|
|
743
776
|
images: number;
|
|
744
777
|
text: string;
|
|
@@ -779,13 +812,13 @@ export declare const methods: {
|
|
|
779
812
|
data: z.ZodOptional<z.ZodString>;
|
|
780
813
|
uri: z.ZodOptional<z.ZodString>;
|
|
781
814
|
}, "strip", z.ZodTypeAny, {
|
|
782
|
-
mimeType: string;
|
|
783
815
|
type: "image";
|
|
816
|
+
mimeType: string;
|
|
784
817
|
data?: string | undefined;
|
|
785
818
|
uri?: string | undefined;
|
|
786
819
|
}, {
|
|
787
|
-
mimeType: string;
|
|
788
820
|
type: "image";
|
|
821
|
+
mimeType: string;
|
|
789
822
|
data?: string | undefined;
|
|
790
823
|
uri?: string | undefined;
|
|
791
824
|
}>, z.ZodObject<{
|
|
@@ -822,8 +855,8 @@ export declare const methods: {
|
|
|
822
855
|
type: "text";
|
|
823
856
|
text: string;
|
|
824
857
|
} | {
|
|
825
|
-
mimeType: string;
|
|
826
858
|
type: "image";
|
|
859
|
+
mimeType: string;
|
|
827
860
|
data?: string | undefined;
|
|
828
861
|
uri?: string | undefined;
|
|
829
862
|
} | {
|
|
@@ -842,8 +875,8 @@ export declare const methods: {
|
|
|
842
875
|
type: "text";
|
|
843
876
|
text: string;
|
|
844
877
|
} | {
|
|
845
|
-
mimeType: string;
|
|
846
878
|
type: "image";
|
|
879
|
+
mimeType: string;
|
|
847
880
|
data?: string | undefined;
|
|
848
881
|
uri?: string | undefined;
|
|
849
882
|
} | {
|
|
@@ -997,6 +1030,19 @@ export declare const methods: {
|
|
|
997
1030
|
required?: boolean | undefined;
|
|
998
1031
|
}[] | undefined;
|
|
999
1032
|
}>>;
|
|
1033
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1034
|
+
id: z.ZodString;
|
|
1035
|
+
title: z.ZodString;
|
|
1036
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
1037
|
+
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
options: string[];
|
|
1039
|
+
id: string;
|
|
1040
|
+
title: string;
|
|
1041
|
+
}, {
|
|
1042
|
+
options: string[];
|
|
1043
|
+
id: string;
|
|
1044
|
+
title: string;
|
|
1045
|
+
}>, "many">>;
|
|
1000
1046
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1001
1047
|
clientMessageId: z.ZodString;
|
|
1002
1048
|
text: z.ZodString;
|
|
@@ -1042,7 +1088,7 @@ export declare const methods: {
|
|
|
1042
1088
|
}>>;
|
|
1043
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1044
1090
|
id: string;
|
|
1045
|
-
state: "
|
|
1091
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1046
1092
|
lastSeq: number;
|
|
1047
1093
|
agent: string;
|
|
1048
1094
|
nativeId: string;
|
|
@@ -1085,6 +1131,11 @@ export declare const methods: {
|
|
|
1085
1131
|
required?: boolean | undefined;
|
|
1086
1132
|
}[] | undefined;
|
|
1087
1133
|
} | undefined;
|
|
1134
|
+
asyncQuestions?: {
|
|
1135
|
+
options: string[];
|
|
1136
|
+
id: string;
|
|
1137
|
+
title: string;
|
|
1138
|
+
}[] | undefined;
|
|
1088
1139
|
queue?: {
|
|
1089
1140
|
images: number;
|
|
1090
1141
|
text: string;
|
|
@@ -1104,7 +1155,7 @@ export declare const methods: {
|
|
|
1104
1155
|
} | undefined;
|
|
1105
1156
|
}, {
|
|
1106
1157
|
id: string;
|
|
1107
|
-
state: "
|
|
1158
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1108
1159
|
lastSeq: number;
|
|
1109
1160
|
agent: string;
|
|
1110
1161
|
nativeId: string;
|
|
@@ -1147,6 +1198,11 @@ export declare const methods: {
|
|
|
1147
1198
|
required?: boolean | undefined;
|
|
1148
1199
|
}[] | undefined;
|
|
1149
1200
|
} | undefined;
|
|
1201
|
+
asyncQuestions?: {
|
|
1202
|
+
options: string[];
|
|
1203
|
+
id: string;
|
|
1204
|
+
title: string;
|
|
1205
|
+
}[] | undefined;
|
|
1150
1206
|
queue?: {
|
|
1151
1207
|
images: number;
|
|
1152
1208
|
text: string;
|
|
@@ -1168,7 +1224,7 @@ export declare const methods: {
|
|
|
1168
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1169
1225
|
session: {
|
|
1170
1226
|
id: string;
|
|
1171
|
-
state: "
|
|
1227
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1172
1228
|
lastSeq: number;
|
|
1173
1229
|
agent: string;
|
|
1174
1230
|
nativeId: string;
|
|
@@ -1211,6 +1267,11 @@ export declare const methods: {
|
|
|
1211
1267
|
required?: boolean | undefined;
|
|
1212
1268
|
}[] | undefined;
|
|
1213
1269
|
} | undefined;
|
|
1270
|
+
asyncQuestions?: {
|
|
1271
|
+
options: string[];
|
|
1272
|
+
id: string;
|
|
1273
|
+
title: string;
|
|
1274
|
+
}[] | undefined;
|
|
1214
1275
|
queue?: {
|
|
1215
1276
|
images: number;
|
|
1216
1277
|
text: string;
|
|
@@ -1232,7 +1293,7 @@ export declare const methods: {
|
|
|
1232
1293
|
}, {
|
|
1233
1294
|
session: {
|
|
1234
1295
|
id: string;
|
|
1235
|
-
state: "
|
|
1296
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1236
1297
|
lastSeq: number;
|
|
1237
1298
|
agent: string;
|
|
1238
1299
|
nativeId: string;
|
|
@@ -1275,6 +1336,11 @@ export declare const methods: {
|
|
|
1275
1336
|
required?: boolean | undefined;
|
|
1276
1337
|
}[] | undefined;
|
|
1277
1338
|
} | undefined;
|
|
1339
|
+
asyncQuestions?: {
|
|
1340
|
+
options: string[];
|
|
1341
|
+
id: string;
|
|
1342
|
+
title: string;
|
|
1343
|
+
}[] | undefined;
|
|
1278
1344
|
queue?: {
|
|
1279
1345
|
images: number;
|
|
1280
1346
|
text: string;
|
|
@@ -1459,6 +1525,19 @@ export declare const methods: {
|
|
|
1459
1525
|
required?: boolean | undefined;
|
|
1460
1526
|
}[] | undefined;
|
|
1461
1527
|
}>>;
|
|
1528
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1529
|
+
id: z.ZodString;
|
|
1530
|
+
title: z.ZodString;
|
|
1531
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
1532
|
+
}, "strip", z.ZodTypeAny, {
|
|
1533
|
+
options: string[];
|
|
1534
|
+
id: string;
|
|
1535
|
+
title: string;
|
|
1536
|
+
}, {
|
|
1537
|
+
options: string[];
|
|
1538
|
+
id: string;
|
|
1539
|
+
title: string;
|
|
1540
|
+
}>, "many">>;
|
|
1462
1541
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1463
1542
|
clientMessageId: z.ZodString;
|
|
1464
1543
|
text: z.ZodString;
|
|
@@ -1504,7 +1583,7 @@ export declare const methods: {
|
|
|
1504
1583
|
}>>;
|
|
1505
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1506
1585
|
id: string;
|
|
1507
|
-
state: "
|
|
1586
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1508
1587
|
lastSeq: number;
|
|
1509
1588
|
agent: string;
|
|
1510
1589
|
nativeId: string;
|
|
@@ -1547,6 +1626,11 @@ export declare const methods: {
|
|
|
1547
1626
|
required?: boolean | undefined;
|
|
1548
1627
|
}[] | undefined;
|
|
1549
1628
|
} | undefined;
|
|
1629
|
+
asyncQuestions?: {
|
|
1630
|
+
options: string[];
|
|
1631
|
+
id: string;
|
|
1632
|
+
title: string;
|
|
1633
|
+
}[] | undefined;
|
|
1550
1634
|
queue?: {
|
|
1551
1635
|
images: number;
|
|
1552
1636
|
text: string;
|
|
@@ -1566,7 +1650,7 @@ export declare const methods: {
|
|
|
1566
1650
|
} | undefined;
|
|
1567
1651
|
}, {
|
|
1568
1652
|
id: string;
|
|
1569
|
-
state: "
|
|
1653
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1570
1654
|
lastSeq: number;
|
|
1571
1655
|
agent: string;
|
|
1572
1656
|
nativeId: string;
|
|
@@ -1609,6 +1693,11 @@ export declare const methods: {
|
|
|
1609
1693
|
required?: boolean | undefined;
|
|
1610
1694
|
}[] | undefined;
|
|
1611
1695
|
} | undefined;
|
|
1696
|
+
asyncQuestions?: {
|
|
1697
|
+
options: string[];
|
|
1698
|
+
id: string;
|
|
1699
|
+
title: string;
|
|
1700
|
+
}[] | undefined;
|
|
1612
1701
|
queue?: {
|
|
1613
1702
|
images: number;
|
|
1614
1703
|
text: string;
|
|
@@ -1630,7 +1719,7 @@ export declare const methods: {
|
|
|
1630
1719
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1720
|
session: {
|
|
1632
1721
|
id: string;
|
|
1633
|
-
state: "
|
|
1722
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1634
1723
|
lastSeq: number;
|
|
1635
1724
|
agent: string;
|
|
1636
1725
|
nativeId: string;
|
|
@@ -1673,6 +1762,11 @@ export declare const methods: {
|
|
|
1673
1762
|
required?: boolean | undefined;
|
|
1674
1763
|
}[] | undefined;
|
|
1675
1764
|
} | undefined;
|
|
1765
|
+
asyncQuestions?: {
|
|
1766
|
+
options: string[];
|
|
1767
|
+
id: string;
|
|
1768
|
+
title: string;
|
|
1769
|
+
}[] | undefined;
|
|
1676
1770
|
queue?: {
|
|
1677
1771
|
images: number;
|
|
1678
1772
|
text: string;
|
|
@@ -1694,7 +1788,7 @@ export declare const methods: {
|
|
|
1694
1788
|
}, {
|
|
1695
1789
|
session: {
|
|
1696
1790
|
id: string;
|
|
1697
|
-
state: "
|
|
1791
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1698
1792
|
lastSeq: number;
|
|
1699
1793
|
agent: string;
|
|
1700
1794
|
nativeId: string;
|
|
@@ -1737,6 +1831,11 @@ export declare const methods: {
|
|
|
1737
1831
|
required?: boolean | undefined;
|
|
1738
1832
|
}[] | undefined;
|
|
1739
1833
|
} | undefined;
|
|
1834
|
+
asyncQuestions?: {
|
|
1835
|
+
options: string[];
|
|
1836
|
+
id: string;
|
|
1837
|
+
title: string;
|
|
1838
|
+
}[] | undefined;
|
|
1740
1839
|
queue?: {
|
|
1741
1840
|
images: number;
|
|
1742
1841
|
text: string;
|
|
@@ -1926,6 +2025,19 @@ export declare const methods: {
|
|
|
1926
2025
|
required?: boolean | undefined;
|
|
1927
2026
|
}[] | undefined;
|
|
1928
2027
|
}>>;
|
|
2028
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2029
|
+
id: z.ZodString;
|
|
2030
|
+
title: z.ZodString;
|
|
2031
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
2032
|
+
}, "strip", z.ZodTypeAny, {
|
|
2033
|
+
options: string[];
|
|
2034
|
+
id: string;
|
|
2035
|
+
title: string;
|
|
2036
|
+
}, {
|
|
2037
|
+
options: string[];
|
|
2038
|
+
id: string;
|
|
2039
|
+
title: string;
|
|
2040
|
+
}>, "many">>;
|
|
1929
2041
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1930
2042
|
clientMessageId: z.ZodString;
|
|
1931
2043
|
text: z.ZodString;
|
|
@@ -1971,7 +2083,7 @@ export declare const methods: {
|
|
|
1971
2083
|
}>>;
|
|
1972
2084
|
}, "strip", z.ZodTypeAny, {
|
|
1973
2085
|
id: string;
|
|
1974
|
-
state: "
|
|
2086
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
1975
2087
|
lastSeq: number;
|
|
1976
2088
|
agent: string;
|
|
1977
2089
|
nativeId: string;
|
|
@@ -2014,6 +2126,11 @@ export declare const methods: {
|
|
|
2014
2126
|
required?: boolean | undefined;
|
|
2015
2127
|
}[] | undefined;
|
|
2016
2128
|
} | undefined;
|
|
2129
|
+
asyncQuestions?: {
|
|
2130
|
+
options: string[];
|
|
2131
|
+
id: string;
|
|
2132
|
+
title: string;
|
|
2133
|
+
}[] | undefined;
|
|
2017
2134
|
queue?: {
|
|
2018
2135
|
images: number;
|
|
2019
2136
|
text: string;
|
|
@@ -2033,7 +2150,7 @@ export declare const methods: {
|
|
|
2033
2150
|
} | undefined;
|
|
2034
2151
|
}, {
|
|
2035
2152
|
id: string;
|
|
2036
|
-
state: "
|
|
2153
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
2037
2154
|
lastSeq: number;
|
|
2038
2155
|
agent: string;
|
|
2039
2156
|
nativeId: string;
|
|
@@ -2076,6 +2193,11 @@ export declare const methods: {
|
|
|
2076
2193
|
required?: boolean | undefined;
|
|
2077
2194
|
}[] | undefined;
|
|
2078
2195
|
} | undefined;
|
|
2196
|
+
asyncQuestions?: {
|
|
2197
|
+
options: string[];
|
|
2198
|
+
id: string;
|
|
2199
|
+
title: string;
|
|
2200
|
+
}[] | undefined;
|
|
2079
2201
|
queue?: {
|
|
2080
2202
|
images: number;
|
|
2081
2203
|
text: string;
|
|
@@ -2098,7 +2220,7 @@ export declare const methods: {
|
|
|
2098
2220
|
}, "strip", z.ZodTypeAny, {
|
|
2099
2221
|
session: {
|
|
2100
2222
|
id: string;
|
|
2101
|
-
state: "
|
|
2223
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
2102
2224
|
lastSeq: number;
|
|
2103
2225
|
agent: string;
|
|
2104
2226
|
nativeId: string;
|
|
@@ -2141,6 +2263,11 @@ export declare const methods: {
|
|
|
2141
2263
|
required?: boolean | undefined;
|
|
2142
2264
|
}[] | undefined;
|
|
2143
2265
|
} | undefined;
|
|
2266
|
+
asyncQuestions?: {
|
|
2267
|
+
options: string[];
|
|
2268
|
+
id: string;
|
|
2269
|
+
title: string;
|
|
2270
|
+
}[] | undefined;
|
|
2144
2271
|
queue?: {
|
|
2145
2272
|
images: number;
|
|
2146
2273
|
text: string;
|
|
@@ -2163,7 +2290,7 @@ export declare const methods: {
|
|
|
2163
2290
|
}, {
|
|
2164
2291
|
session: {
|
|
2165
2292
|
id: string;
|
|
2166
|
-
state: "
|
|
2293
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
2167
2294
|
lastSeq: number;
|
|
2168
2295
|
agent: string;
|
|
2169
2296
|
nativeId: string;
|
|
@@ -2206,6 +2333,11 @@ export declare const methods: {
|
|
|
2206
2333
|
required?: boolean | undefined;
|
|
2207
2334
|
}[] | undefined;
|
|
2208
2335
|
} | undefined;
|
|
2336
|
+
asyncQuestions?: {
|
|
2337
|
+
options: string[];
|
|
2338
|
+
id: string;
|
|
2339
|
+
title: string;
|
|
2340
|
+
}[] | undefined;
|
|
2209
2341
|
queue?: {
|
|
2210
2342
|
images: number;
|
|
2211
2343
|
text: string;
|
|
@@ -2265,13 +2397,13 @@ export declare const methods: {
|
|
|
2265
2397
|
data: z.ZodOptional<z.ZodString>;
|
|
2266
2398
|
uri: z.ZodOptional<z.ZodString>;
|
|
2267
2399
|
}, "strip", z.ZodTypeAny, {
|
|
2268
|
-
mimeType: string;
|
|
2269
2400
|
type: "image";
|
|
2401
|
+
mimeType: string;
|
|
2270
2402
|
data?: string | undefined;
|
|
2271
2403
|
uri?: string | undefined;
|
|
2272
2404
|
}, {
|
|
2273
|
-
mimeType: string;
|
|
2274
2405
|
type: "image";
|
|
2406
|
+
mimeType: string;
|
|
2275
2407
|
data?: string | undefined;
|
|
2276
2408
|
uri?: string | undefined;
|
|
2277
2409
|
}>, z.ZodObject<{
|
|
@@ -2295,8 +2427,8 @@ export declare const methods: {
|
|
|
2295
2427
|
type: "text";
|
|
2296
2428
|
text: string;
|
|
2297
2429
|
} | {
|
|
2298
|
-
mimeType: string;
|
|
2299
2430
|
type: "image";
|
|
2431
|
+
mimeType: string;
|
|
2300
2432
|
data?: string | undefined;
|
|
2301
2433
|
uri?: string | undefined;
|
|
2302
2434
|
} | {
|
|
@@ -2312,8 +2444,8 @@ export declare const methods: {
|
|
|
2312
2444
|
type: "text";
|
|
2313
2445
|
text: string;
|
|
2314
2446
|
} | {
|
|
2315
|
-
mimeType: string;
|
|
2316
2447
|
type: "image";
|
|
2448
|
+
mimeType: string;
|
|
2317
2449
|
data?: string | undefined;
|
|
2318
2450
|
uri?: string | undefined;
|
|
2319
2451
|
} | {
|
|
@@ -2343,13 +2475,13 @@ export declare const methods: {
|
|
|
2343
2475
|
data: z.ZodOptional<z.ZodString>;
|
|
2344
2476
|
uri: z.ZodOptional<z.ZodString>;
|
|
2345
2477
|
}, "strip", z.ZodTypeAny, {
|
|
2346
|
-
mimeType: string;
|
|
2347
2478
|
type: "image";
|
|
2479
|
+
mimeType: string;
|
|
2348
2480
|
data?: string | undefined;
|
|
2349
2481
|
uri?: string | undefined;
|
|
2350
2482
|
}, {
|
|
2351
|
-
mimeType: string;
|
|
2352
2483
|
type: "image";
|
|
2484
|
+
mimeType: string;
|
|
2353
2485
|
data?: string | undefined;
|
|
2354
2486
|
uri?: string | undefined;
|
|
2355
2487
|
}>, z.ZodObject<{
|
|
@@ -2373,8 +2505,8 @@ export declare const methods: {
|
|
|
2373
2505
|
type: "text";
|
|
2374
2506
|
text: string;
|
|
2375
2507
|
} | {
|
|
2376
|
-
mimeType: string;
|
|
2377
2508
|
type: "image";
|
|
2509
|
+
mimeType: string;
|
|
2378
2510
|
data?: string | undefined;
|
|
2379
2511
|
uri?: string | undefined;
|
|
2380
2512
|
} | {
|
|
@@ -2391,8 +2523,8 @@ export declare const methods: {
|
|
|
2391
2523
|
type: "text";
|
|
2392
2524
|
text: string;
|
|
2393
2525
|
} | {
|
|
2394
|
-
mimeType: string;
|
|
2395
2526
|
type: "image";
|
|
2527
|
+
mimeType: string;
|
|
2396
2528
|
data?: string | undefined;
|
|
2397
2529
|
uri?: string | undefined;
|
|
2398
2530
|
} | {
|
|
@@ -2423,13 +2555,13 @@ export declare const methods: {
|
|
|
2423
2555
|
data: z.ZodOptional<z.ZodString>;
|
|
2424
2556
|
uri: z.ZodOptional<z.ZodString>;
|
|
2425
2557
|
}, "strip", z.ZodTypeAny, {
|
|
2426
|
-
mimeType: string;
|
|
2427
2558
|
type: "image";
|
|
2559
|
+
mimeType: string;
|
|
2428
2560
|
data?: string | undefined;
|
|
2429
2561
|
uri?: string | undefined;
|
|
2430
2562
|
}, {
|
|
2431
|
-
mimeType: string;
|
|
2432
2563
|
type: "image";
|
|
2564
|
+
mimeType: string;
|
|
2433
2565
|
data?: string | undefined;
|
|
2434
2566
|
uri?: string | undefined;
|
|
2435
2567
|
}>, z.ZodObject<{
|
|
@@ -2453,8 +2585,8 @@ export declare const methods: {
|
|
|
2453
2585
|
type: "text";
|
|
2454
2586
|
text: string;
|
|
2455
2587
|
} | {
|
|
2456
|
-
mimeType: string;
|
|
2457
2588
|
type: "image";
|
|
2589
|
+
mimeType: string;
|
|
2458
2590
|
data?: string | undefined;
|
|
2459
2591
|
uri?: string | undefined;
|
|
2460
2592
|
} | {
|
|
@@ -2471,8 +2603,8 @@ export declare const methods: {
|
|
|
2471
2603
|
type: "text";
|
|
2472
2604
|
text: string;
|
|
2473
2605
|
} | {
|
|
2474
|
-
mimeType: string;
|
|
2475
2606
|
type: "image";
|
|
2607
|
+
mimeType: string;
|
|
2476
2608
|
data?: string | undefined;
|
|
2477
2609
|
uri?: string | undefined;
|
|
2478
2610
|
} | {
|
|
@@ -2509,13 +2641,13 @@ export declare const methods: {
|
|
|
2509
2641
|
data: z.ZodOptional<z.ZodString>;
|
|
2510
2642
|
uri: z.ZodOptional<z.ZodString>;
|
|
2511
2643
|
}, "strip", z.ZodTypeAny, {
|
|
2512
|
-
mimeType: string;
|
|
2513
2644
|
type: "image";
|
|
2645
|
+
mimeType: string;
|
|
2514
2646
|
data?: string | undefined;
|
|
2515
2647
|
uri?: string | undefined;
|
|
2516
2648
|
}, {
|
|
2517
|
-
mimeType: string;
|
|
2518
2649
|
type: "image";
|
|
2650
|
+
mimeType: string;
|
|
2519
2651
|
data?: string | undefined;
|
|
2520
2652
|
uri?: string | undefined;
|
|
2521
2653
|
}>, z.ZodObject<{
|
|
@@ -2540,8 +2672,8 @@ export declare const methods: {
|
|
|
2540
2672
|
type: "text";
|
|
2541
2673
|
text: string;
|
|
2542
2674
|
} | {
|
|
2543
|
-
mimeType: string;
|
|
2544
2675
|
type: "image";
|
|
2676
|
+
mimeType: string;
|
|
2545
2677
|
data?: string | undefined;
|
|
2546
2678
|
uri?: string | undefined;
|
|
2547
2679
|
} | {
|
|
@@ -2556,8 +2688,8 @@ export declare const methods: {
|
|
|
2556
2688
|
type: "text";
|
|
2557
2689
|
text: string;
|
|
2558
2690
|
} | {
|
|
2559
|
-
mimeType: string;
|
|
2560
2691
|
type: "image";
|
|
2692
|
+
mimeType: string;
|
|
2561
2693
|
data?: string | undefined;
|
|
2562
2694
|
uri?: string | undefined;
|
|
2563
2695
|
} | {
|
|
@@ -2970,8 +3102,8 @@ export declare const methods: {
|
|
|
2970
3102
|
type: "text";
|
|
2971
3103
|
text: string;
|
|
2972
3104
|
} | {
|
|
2973
|
-
mimeType: string;
|
|
2974
3105
|
type: "image";
|
|
3106
|
+
mimeType: string;
|
|
2975
3107
|
data?: string | undefined;
|
|
2976
3108
|
uri?: string | undefined;
|
|
2977
3109
|
} | {
|
|
@@ -3075,8 +3207,8 @@ export declare const methods: {
|
|
|
3075
3207
|
type: "text";
|
|
3076
3208
|
text: string;
|
|
3077
3209
|
} | {
|
|
3078
|
-
mimeType: string;
|
|
3079
3210
|
type: "image";
|
|
3211
|
+
mimeType: string;
|
|
3080
3212
|
data?: string | undefined;
|
|
3081
3213
|
uri?: string | undefined;
|
|
3082
3214
|
} | {
|
|
@@ -3404,13 +3536,13 @@ export declare const methods: {
|
|
|
3404
3536
|
data: z.ZodOptional<z.ZodString>;
|
|
3405
3537
|
uri: z.ZodOptional<z.ZodString>;
|
|
3406
3538
|
}, "strip", z.ZodTypeAny, {
|
|
3407
|
-
mimeType: string;
|
|
3408
3539
|
type: "image";
|
|
3540
|
+
mimeType: string;
|
|
3409
3541
|
data?: string | undefined;
|
|
3410
3542
|
uri?: string | undefined;
|
|
3411
3543
|
}, {
|
|
3412
|
-
mimeType: string;
|
|
3413
3544
|
type: "image";
|
|
3545
|
+
mimeType: string;
|
|
3414
3546
|
data?: string | undefined;
|
|
3415
3547
|
uri?: string | undefined;
|
|
3416
3548
|
}>, z.ZodObject<{
|
|
@@ -3435,8 +3567,8 @@ export declare const methods: {
|
|
|
3435
3567
|
type: "text";
|
|
3436
3568
|
text: string;
|
|
3437
3569
|
} | {
|
|
3438
|
-
mimeType: string;
|
|
3439
3570
|
type: "image";
|
|
3571
|
+
mimeType: string;
|
|
3440
3572
|
data?: string | undefined;
|
|
3441
3573
|
uri?: string | undefined;
|
|
3442
3574
|
} | {
|
|
@@ -3451,8 +3583,8 @@ export declare const methods: {
|
|
|
3451
3583
|
type: "text";
|
|
3452
3584
|
text: string;
|
|
3453
3585
|
} | {
|
|
3454
|
-
mimeType: string;
|
|
3455
3586
|
type: "image";
|
|
3587
|
+
mimeType: string;
|
|
3456
3588
|
data?: string | undefined;
|
|
3457
3589
|
uri?: string | undefined;
|
|
3458
3590
|
} | {
|
|
@@ -3580,8 +3712,8 @@ export declare const methods: {
|
|
|
3580
3712
|
type: "text";
|
|
3581
3713
|
text: string;
|
|
3582
3714
|
} | {
|
|
3583
|
-
mimeType: string;
|
|
3584
3715
|
type: "image";
|
|
3716
|
+
mimeType: string;
|
|
3585
3717
|
data?: string | undefined;
|
|
3586
3718
|
uri?: string | undefined;
|
|
3587
3719
|
} | {
|
|
@@ -3681,8 +3813,8 @@ export declare const methods: {
|
|
|
3681
3813
|
type: "text";
|
|
3682
3814
|
text: string;
|
|
3683
3815
|
} | {
|
|
3684
|
-
mimeType: string;
|
|
3685
3816
|
type: "image";
|
|
3817
|
+
mimeType: string;
|
|
3686
3818
|
data?: string | undefined;
|
|
3687
3819
|
uri?: string | undefined;
|
|
3688
3820
|
} | {
|
|
@@ -3748,16 +3880,16 @@ export declare const methods: {
|
|
|
3748
3880
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
3749
3881
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3750
3882
|
}, "strip", z.ZodTypeAny, {
|
|
3751
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3752
3883
|
objective: string;
|
|
3884
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3753
3885
|
tokenBudget?: number | null | undefined;
|
|
3754
3886
|
tokensUsed?: number | undefined;
|
|
3755
3887
|
timeUsedSeconds?: number | undefined;
|
|
3756
3888
|
iterations?: number | undefined;
|
|
3757
3889
|
lastReason?: string | null | undefined;
|
|
3758
3890
|
}, {
|
|
3759
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3760
3891
|
objective: string;
|
|
3892
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3761
3893
|
tokenBudget?: number | null | undefined;
|
|
3762
3894
|
tokensUsed?: number | undefined;
|
|
3763
3895
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3767,8 +3899,8 @@ export declare const methods: {
|
|
|
3767
3899
|
}, "strip", z.ZodTypeAny, {
|
|
3768
3900
|
sessionUpdate: "ls_goal";
|
|
3769
3901
|
goal: {
|
|
3770
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3771
3902
|
objective: string;
|
|
3903
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3772
3904
|
tokenBudget?: number | null | undefined;
|
|
3773
3905
|
tokensUsed?: number | undefined;
|
|
3774
3906
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3778,8 +3910,8 @@ export declare const methods: {
|
|
|
3778
3910
|
}, {
|
|
3779
3911
|
sessionUpdate: "ls_goal";
|
|
3780
3912
|
goal: {
|
|
3781
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3782
3913
|
objective: string;
|
|
3914
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3783
3915
|
tokenBudget?: number | null | undefined;
|
|
3784
3916
|
tokensUsed?: number | undefined;
|
|
3785
3917
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3848,6 +3980,35 @@ export declare const methods: {
|
|
|
3848
3980
|
sessionUpdate: "usage_update";
|
|
3849
3981
|
usedTokens?: number | undefined;
|
|
3850
3982
|
contextWindow?: number | undefined;
|
|
3983
|
+
}>, z.ZodObject<{
|
|
3984
|
+
sessionUpdate: z.ZodLiteral<"ls_async_questions">;
|
|
3985
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
3986
|
+
id: z.ZodString;
|
|
3987
|
+
title: z.ZodString;
|
|
3988
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
3989
|
+
}, "strip", z.ZodTypeAny, {
|
|
3990
|
+
options: string[];
|
|
3991
|
+
id: string;
|
|
3992
|
+
title: string;
|
|
3993
|
+
}, {
|
|
3994
|
+
options: string[];
|
|
3995
|
+
id: string;
|
|
3996
|
+
title: string;
|
|
3997
|
+
}>, "many">;
|
|
3998
|
+
}, "strip", z.ZodTypeAny, {
|
|
3999
|
+
questions: {
|
|
4000
|
+
options: string[];
|
|
4001
|
+
id: string;
|
|
4002
|
+
title: string;
|
|
4003
|
+
}[];
|
|
4004
|
+
sessionUpdate: "ls_async_questions";
|
|
4005
|
+
}, {
|
|
4006
|
+
questions: {
|
|
4007
|
+
options: string[];
|
|
4008
|
+
id: string;
|
|
4009
|
+
title: string;
|
|
4010
|
+
}[];
|
|
4011
|
+
sessionUpdate: "ls_async_questions";
|
|
3851
4012
|
}>, z.ZodObject<{
|
|
3852
4013
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
3853
4014
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -3858,12 +4019,12 @@ export declare const methods: {
|
|
|
3858
4019
|
title: z.ZodString;
|
|
3859
4020
|
options: z.ZodArray<z.ZodString, "many">;
|
|
3860
4021
|
}, "strip", z.ZodTypeAny, {
|
|
3861
|
-
id: string;
|
|
3862
4022
|
options: string[];
|
|
4023
|
+
id: string;
|
|
3863
4024
|
title: string;
|
|
3864
4025
|
}, {
|
|
3865
|
-
id: string;
|
|
3866
4026
|
options: string[];
|
|
4027
|
+
id: string;
|
|
3867
4028
|
title: string;
|
|
3868
4029
|
}>, "many">>;
|
|
3869
4030
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3871,8 +4032,8 @@ export declare const methods: {
|
|
|
3871
4032
|
messageId: string;
|
|
3872
4033
|
role: "agent" | "thought" | "user";
|
|
3873
4034
|
questions?: {
|
|
3874
|
-
id: string;
|
|
3875
4035
|
options: string[];
|
|
4036
|
+
id: string;
|
|
3876
4037
|
title: string;
|
|
3877
4038
|
}[] | undefined;
|
|
3878
4039
|
parentToolCallId?: string | undefined;
|
|
@@ -3881,8 +4042,8 @@ export declare const methods: {
|
|
|
3881
4042
|
messageId: string;
|
|
3882
4043
|
role: "agent" | "thought" | "user";
|
|
3883
4044
|
questions?: {
|
|
3884
|
-
id: string;
|
|
3885
4045
|
options: string[];
|
|
4046
|
+
id: string;
|
|
3886
4047
|
title: string;
|
|
3887
4048
|
}[] | undefined;
|
|
3888
4049
|
parentToolCallId?: string | undefined;
|
|
@@ -3907,34 +4068,34 @@ export declare const methods: {
|
|
|
3907
4068
|
description?: string | undefined;
|
|
3908
4069
|
}>, "many">;
|
|
3909
4070
|
}, "strip", z.ZodTypeAny, {
|
|
3910
|
-
id: string;
|
|
3911
4071
|
values: {
|
|
3912
4072
|
value: string;
|
|
3913
4073
|
name: string;
|
|
3914
4074
|
description?: string | undefined;
|
|
3915
4075
|
}[];
|
|
4076
|
+
id: string;
|
|
3916
4077
|
name: string;
|
|
3917
4078
|
category: "model" | "other" | "mode" | "effort";
|
|
3918
4079
|
current: string;
|
|
3919
4080
|
}, {
|
|
3920
|
-
id: string;
|
|
3921
4081
|
values: {
|
|
3922
4082
|
value: string;
|
|
3923
4083
|
name: string;
|
|
3924
4084
|
description?: string | undefined;
|
|
3925
4085
|
}[];
|
|
4086
|
+
id: string;
|
|
3926
4087
|
name: string;
|
|
3927
4088
|
current: string;
|
|
3928
4089
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
3929
4090
|
}>, "many">;
|
|
3930
4091
|
}, "strip", z.ZodTypeAny, {
|
|
3931
4092
|
options: {
|
|
3932
|
-
id: string;
|
|
3933
4093
|
values: {
|
|
3934
4094
|
value: string;
|
|
3935
4095
|
name: string;
|
|
3936
4096
|
description?: string | undefined;
|
|
3937
4097
|
}[];
|
|
4098
|
+
id: string;
|
|
3938
4099
|
name: string;
|
|
3939
4100
|
category: "model" | "other" | "mode" | "effort";
|
|
3940
4101
|
current: string;
|
|
@@ -3942,12 +4103,12 @@ export declare const methods: {
|
|
|
3942
4103
|
sessionUpdate: "ls_config";
|
|
3943
4104
|
}, {
|
|
3944
4105
|
options: {
|
|
3945
|
-
id: string;
|
|
3946
4106
|
values: {
|
|
3947
4107
|
value: string;
|
|
3948
4108
|
name: string;
|
|
3949
4109
|
description?: string | undefined;
|
|
3950
4110
|
}[];
|
|
4111
|
+
id: string;
|
|
3951
4112
|
name: string;
|
|
3952
4113
|
current: string;
|
|
3953
4114
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -4112,12 +4273,12 @@ export declare const methods: {
|
|
|
4112
4273
|
values: z.ZodArray<z.ZodString, "many">;
|
|
4113
4274
|
other: z.ZodOptional<z.ZodString>;
|
|
4114
4275
|
}, "strip", z.ZodTypeAny, {
|
|
4115
|
-
id: string;
|
|
4116
4276
|
values: string[];
|
|
4277
|
+
id: string;
|
|
4117
4278
|
other?: string | undefined;
|
|
4118
4279
|
}, {
|
|
4119
|
-
id: string;
|
|
4120
4280
|
values: string[];
|
|
4281
|
+
id: string;
|
|
4121
4282
|
other?: string | undefined;
|
|
4122
4283
|
}>, "many">>;
|
|
4123
4284
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4125,8 +4286,8 @@ export declare const methods: {
|
|
|
4125
4286
|
sessionUpdate: "ls_permission_resolved";
|
|
4126
4287
|
optionId?: string | undefined;
|
|
4127
4288
|
answers?: {
|
|
4128
|
-
id: string;
|
|
4129
4289
|
values: string[];
|
|
4290
|
+
id: string;
|
|
4130
4291
|
other?: string | undefined;
|
|
4131
4292
|
}[] | undefined;
|
|
4132
4293
|
}, {
|
|
@@ -4134,8 +4295,8 @@ export declare const methods: {
|
|
|
4134
4295
|
sessionUpdate: "ls_permission_resolved";
|
|
4135
4296
|
optionId?: string | undefined;
|
|
4136
4297
|
answers?: {
|
|
4137
|
-
id: string;
|
|
4138
4298
|
values: string[];
|
|
4299
|
+
id: string;
|
|
4139
4300
|
other?: string | undefined;
|
|
4140
4301
|
}[] | undefined;
|
|
4141
4302
|
}>, z.ZodObject<{
|
|
@@ -4154,10 +4315,10 @@ export declare const methods: {
|
|
|
4154
4315
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
4155
4316
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
4156
4317
|
}, "strip", z.ZodTypeAny, {
|
|
4157
|
-
state: "
|
|
4318
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4158
4319
|
sessionUpdate: "ls_status";
|
|
4159
4320
|
}, {
|
|
4160
|
-
state: "
|
|
4321
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4161
4322
|
sessionUpdate: "ls_status";
|
|
4162
4323
|
}>, z.ZodObject<{
|
|
4163
4324
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -4260,8 +4421,8 @@ export declare const methods: {
|
|
|
4260
4421
|
type: "text";
|
|
4261
4422
|
text: string;
|
|
4262
4423
|
} | {
|
|
4263
|
-
mimeType: string;
|
|
4264
4424
|
type: "image";
|
|
4425
|
+
mimeType: string;
|
|
4265
4426
|
data?: string | undefined;
|
|
4266
4427
|
uri?: string | undefined;
|
|
4267
4428
|
} | {
|
|
@@ -4277,8 +4438,8 @@ export declare const methods: {
|
|
|
4277
4438
|
type: "text";
|
|
4278
4439
|
text: string;
|
|
4279
4440
|
} | {
|
|
4280
|
-
mimeType: string;
|
|
4281
4441
|
type: "image";
|
|
4442
|
+
mimeType: string;
|
|
4282
4443
|
data?: string | undefined;
|
|
4283
4444
|
uri?: string | undefined;
|
|
4284
4445
|
} | {
|
|
@@ -4295,8 +4456,8 @@ export declare const methods: {
|
|
|
4295
4456
|
type: "text";
|
|
4296
4457
|
text: string;
|
|
4297
4458
|
} | {
|
|
4298
|
-
mimeType: string;
|
|
4299
4459
|
type: "image";
|
|
4460
|
+
mimeType: string;
|
|
4300
4461
|
data?: string | undefined;
|
|
4301
4462
|
uri?: string | undefined;
|
|
4302
4463
|
} | {
|
|
@@ -4383,8 +4544,8 @@ export declare const methods: {
|
|
|
4383
4544
|
type: "text";
|
|
4384
4545
|
text: string;
|
|
4385
4546
|
} | {
|
|
4386
|
-
mimeType: string;
|
|
4387
4547
|
type: "image";
|
|
4548
|
+
mimeType: string;
|
|
4388
4549
|
data?: string | undefined;
|
|
4389
4550
|
uri?: string | undefined;
|
|
4390
4551
|
} | {
|
|
@@ -4487,8 +4648,8 @@ export declare const methods: {
|
|
|
4487
4648
|
type: "text";
|
|
4488
4649
|
text: string;
|
|
4489
4650
|
} | {
|
|
4490
|
-
mimeType: string;
|
|
4491
4651
|
type: "image";
|
|
4652
|
+
mimeType: string;
|
|
4492
4653
|
data?: string | undefined;
|
|
4493
4654
|
uri?: string | undefined;
|
|
4494
4655
|
} | {
|
|
@@ -4524,8 +4685,8 @@ export declare const methods: {
|
|
|
4524
4685
|
} | {
|
|
4525
4686
|
sessionUpdate: "ls_goal";
|
|
4526
4687
|
goal: {
|
|
4527
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4528
4688
|
objective: string;
|
|
4689
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4529
4690
|
tokenBudget?: number | null | undefined;
|
|
4530
4691
|
tokensUsed?: number | undefined;
|
|
4531
4692
|
timeUsedSeconds?: number | undefined;
|
|
@@ -4550,24 +4711,31 @@ export declare const methods: {
|
|
|
4550
4711
|
sessionUpdate: "usage_update";
|
|
4551
4712
|
usedTokens?: number | undefined;
|
|
4552
4713
|
contextWindow?: number | undefined;
|
|
4714
|
+
} | {
|
|
4715
|
+
questions: {
|
|
4716
|
+
options: string[];
|
|
4717
|
+
id: string;
|
|
4718
|
+
title: string;
|
|
4719
|
+
}[];
|
|
4720
|
+
sessionUpdate: "ls_async_questions";
|
|
4553
4721
|
} | {
|
|
4554
4722
|
sessionUpdate: "ls_message_done";
|
|
4555
4723
|
messageId: string;
|
|
4556
4724
|
role: "agent" | "thought" | "user";
|
|
4557
4725
|
questions?: {
|
|
4558
|
-
id: string;
|
|
4559
4726
|
options: string[];
|
|
4727
|
+
id: string;
|
|
4560
4728
|
title: string;
|
|
4561
4729
|
}[] | undefined;
|
|
4562
4730
|
parentToolCallId?: string | undefined;
|
|
4563
4731
|
} | {
|
|
4564
4732
|
options: {
|
|
4565
|
-
id: string;
|
|
4566
4733
|
values: {
|
|
4567
4734
|
value: string;
|
|
4568
4735
|
name: string;
|
|
4569
4736
|
description?: string | undefined;
|
|
4570
4737
|
}[];
|
|
4738
|
+
id: string;
|
|
4571
4739
|
name: string;
|
|
4572
4740
|
category: "model" | "other" | "mode" | "effort";
|
|
4573
4741
|
current: string;
|
|
@@ -4614,8 +4782,8 @@ export declare const methods: {
|
|
|
4614
4782
|
sessionUpdate: "ls_permission_resolved";
|
|
4615
4783
|
optionId?: string | undefined;
|
|
4616
4784
|
answers?: {
|
|
4617
|
-
id: string;
|
|
4618
4785
|
values: string[];
|
|
4786
|
+
id: string;
|
|
4619
4787
|
other?: string | undefined;
|
|
4620
4788
|
}[] | undefined;
|
|
4621
4789
|
} | {
|
|
@@ -4623,7 +4791,7 @@ export declare const methods: {
|
|
|
4623
4791
|
sessionUpdate: "ls_driver";
|
|
4624
4792
|
deviceId?: string | undefined;
|
|
4625
4793
|
} | {
|
|
4626
|
-
state: "
|
|
4794
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4627
4795
|
sessionUpdate: "ls_status";
|
|
4628
4796
|
} | {
|
|
4629
4797
|
task: {
|
|
@@ -4657,8 +4825,8 @@ export declare const methods: {
|
|
|
4657
4825
|
type: "text";
|
|
4658
4826
|
text: string;
|
|
4659
4827
|
} | {
|
|
4660
|
-
mimeType: string;
|
|
4661
4828
|
type: "image";
|
|
4829
|
+
mimeType: string;
|
|
4662
4830
|
data?: string | undefined;
|
|
4663
4831
|
uri?: string | undefined;
|
|
4664
4832
|
} | {
|
|
@@ -4674,8 +4842,8 @@ export declare const methods: {
|
|
|
4674
4842
|
type: "text";
|
|
4675
4843
|
text: string;
|
|
4676
4844
|
} | {
|
|
4677
|
-
mimeType: string;
|
|
4678
4845
|
type: "image";
|
|
4846
|
+
mimeType: string;
|
|
4679
4847
|
data?: string | undefined;
|
|
4680
4848
|
uri?: string | undefined;
|
|
4681
4849
|
} | {
|
|
@@ -4692,8 +4860,8 @@ export declare const methods: {
|
|
|
4692
4860
|
type: "text";
|
|
4693
4861
|
text: string;
|
|
4694
4862
|
} | {
|
|
4695
|
-
mimeType: string;
|
|
4696
4863
|
type: "image";
|
|
4864
|
+
mimeType: string;
|
|
4697
4865
|
data?: string | undefined;
|
|
4698
4866
|
uri?: string | undefined;
|
|
4699
4867
|
} | {
|
|
@@ -4780,8 +4948,8 @@ export declare const methods: {
|
|
|
4780
4948
|
type: "text";
|
|
4781
4949
|
text: string;
|
|
4782
4950
|
} | {
|
|
4783
|
-
mimeType: string;
|
|
4784
4951
|
type: "image";
|
|
4952
|
+
mimeType: string;
|
|
4785
4953
|
data?: string | undefined;
|
|
4786
4954
|
uri?: string | undefined;
|
|
4787
4955
|
} | {
|
|
@@ -4884,8 +5052,8 @@ export declare const methods: {
|
|
|
4884
5052
|
type: "text";
|
|
4885
5053
|
text: string;
|
|
4886
5054
|
} | {
|
|
4887
|
-
mimeType: string;
|
|
4888
5055
|
type: "image";
|
|
5056
|
+
mimeType: string;
|
|
4889
5057
|
data?: string | undefined;
|
|
4890
5058
|
uri?: string | undefined;
|
|
4891
5059
|
} | {
|
|
@@ -4921,8 +5089,8 @@ export declare const methods: {
|
|
|
4921
5089
|
} | {
|
|
4922
5090
|
sessionUpdate: "ls_goal";
|
|
4923
5091
|
goal: {
|
|
4924
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4925
5092
|
objective: string;
|
|
5093
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4926
5094
|
tokenBudget?: number | null | undefined;
|
|
4927
5095
|
tokensUsed?: number | undefined;
|
|
4928
5096
|
timeUsedSeconds?: number | undefined;
|
|
@@ -4947,24 +5115,31 @@ export declare const methods: {
|
|
|
4947
5115
|
sessionUpdate: "usage_update";
|
|
4948
5116
|
usedTokens?: number | undefined;
|
|
4949
5117
|
contextWindow?: number | undefined;
|
|
5118
|
+
} | {
|
|
5119
|
+
questions: {
|
|
5120
|
+
options: string[];
|
|
5121
|
+
id: string;
|
|
5122
|
+
title: string;
|
|
5123
|
+
}[];
|
|
5124
|
+
sessionUpdate: "ls_async_questions";
|
|
4950
5125
|
} | {
|
|
4951
5126
|
sessionUpdate: "ls_message_done";
|
|
4952
5127
|
messageId: string;
|
|
4953
5128
|
role: "agent" | "thought" | "user";
|
|
4954
5129
|
questions?: {
|
|
4955
|
-
id: string;
|
|
4956
5130
|
options: string[];
|
|
5131
|
+
id: string;
|
|
4957
5132
|
title: string;
|
|
4958
5133
|
}[] | undefined;
|
|
4959
5134
|
parentToolCallId?: string | undefined;
|
|
4960
5135
|
} | {
|
|
4961
5136
|
options: {
|
|
4962
|
-
id: string;
|
|
4963
5137
|
values: {
|
|
4964
5138
|
value: string;
|
|
4965
5139
|
name: string;
|
|
4966
5140
|
description?: string | undefined;
|
|
4967
5141
|
}[];
|
|
5142
|
+
id: string;
|
|
4968
5143
|
name: string;
|
|
4969
5144
|
current: string;
|
|
4970
5145
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -5011,8 +5186,8 @@ export declare const methods: {
|
|
|
5011
5186
|
sessionUpdate: "ls_permission_resolved";
|
|
5012
5187
|
optionId?: string | undefined;
|
|
5013
5188
|
answers?: {
|
|
5014
|
-
id: string;
|
|
5015
5189
|
values: string[];
|
|
5190
|
+
id: string;
|
|
5016
5191
|
other?: string | undefined;
|
|
5017
5192
|
}[] | undefined;
|
|
5018
5193
|
} | {
|
|
@@ -5020,7 +5195,7 @@ export declare const methods: {
|
|
|
5020
5195
|
sessionUpdate: "ls_driver";
|
|
5021
5196
|
deviceId?: string | undefined;
|
|
5022
5197
|
} | {
|
|
5023
|
-
state: "
|
|
5198
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5024
5199
|
sessionUpdate: "ls_status";
|
|
5025
5200
|
} | {
|
|
5026
5201
|
task: {
|
|
@@ -5058,8 +5233,8 @@ export declare const methods: {
|
|
|
5058
5233
|
type: "text";
|
|
5059
5234
|
text: string;
|
|
5060
5235
|
} | {
|
|
5061
|
-
mimeType: string;
|
|
5062
5236
|
type: "image";
|
|
5237
|
+
mimeType: string;
|
|
5063
5238
|
data?: string | undefined;
|
|
5064
5239
|
uri?: string | undefined;
|
|
5065
5240
|
} | {
|
|
@@ -5075,8 +5250,8 @@ export declare const methods: {
|
|
|
5075
5250
|
type: "text";
|
|
5076
5251
|
text: string;
|
|
5077
5252
|
} | {
|
|
5078
|
-
mimeType: string;
|
|
5079
5253
|
type: "image";
|
|
5254
|
+
mimeType: string;
|
|
5080
5255
|
data?: string | undefined;
|
|
5081
5256
|
uri?: string | undefined;
|
|
5082
5257
|
} | {
|
|
@@ -5093,8 +5268,8 @@ export declare const methods: {
|
|
|
5093
5268
|
type: "text";
|
|
5094
5269
|
text: string;
|
|
5095
5270
|
} | {
|
|
5096
|
-
mimeType: string;
|
|
5097
5271
|
type: "image";
|
|
5272
|
+
mimeType: string;
|
|
5098
5273
|
data?: string | undefined;
|
|
5099
5274
|
uri?: string | undefined;
|
|
5100
5275
|
} | {
|
|
@@ -5181,8 +5356,8 @@ export declare const methods: {
|
|
|
5181
5356
|
type: "text";
|
|
5182
5357
|
text: string;
|
|
5183
5358
|
} | {
|
|
5184
|
-
mimeType: string;
|
|
5185
5359
|
type: "image";
|
|
5360
|
+
mimeType: string;
|
|
5186
5361
|
data?: string | undefined;
|
|
5187
5362
|
uri?: string | undefined;
|
|
5188
5363
|
} | {
|
|
@@ -5285,8 +5460,8 @@ export declare const methods: {
|
|
|
5285
5460
|
type: "text";
|
|
5286
5461
|
text: string;
|
|
5287
5462
|
} | {
|
|
5288
|
-
mimeType: string;
|
|
5289
5463
|
type: "image";
|
|
5464
|
+
mimeType: string;
|
|
5290
5465
|
data?: string | undefined;
|
|
5291
5466
|
uri?: string | undefined;
|
|
5292
5467
|
} | {
|
|
@@ -5322,8 +5497,8 @@ export declare const methods: {
|
|
|
5322
5497
|
} | {
|
|
5323
5498
|
sessionUpdate: "ls_goal";
|
|
5324
5499
|
goal: {
|
|
5325
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5326
5500
|
objective: string;
|
|
5501
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5327
5502
|
tokenBudget?: number | null | undefined;
|
|
5328
5503
|
tokensUsed?: number | undefined;
|
|
5329
5504
|
timeUsedSeconds?: number | undefined;
|
|
@@ -5348,24 +5523,31 @@ export declare const methods: {
|
|
|
5348
5523
|
sessionUpdate: "usage_update";
|
|
5349
5524
|
usedTokens?: number | undefined;
|
|
5350
5525
|
contextWindow?: number | undefined;
|
|
5526
|
+
} | {
|
|
5527
|
+
questions: {
|
|
5528
|
+
options: string[];
|
|
5529
|
+
id: string;
|
|
5530
|
+
title: string;
|
|
5531
|
+
}[];
|
|
5532
|
+
sessionUpdate: "ls_async_questions";
|
|
5351
5533
|
} | {
|
|
5352
5534
|
sessionUpdate: "ls_message_done";
|
|
5353
5535
|
messageId: string;
|
|
5354
5536
|
role: "agent" | "thought" | "user";
|
|
5355
5537
|
questions?: {
|
|
5356
|
-
id: string;
|
|
5357
5538
|
options: string[];
|
|
5539
|
+
id: string;
|
|
5358
5540
|
title: string;
|
|
5359
5541
|
}[] | undefined;
|
|
5360
5542
|
parentToolCallId?: string | undefined;
|
|
5361
5543
|
} | {
|
|
5362
5544
|
options: {
|
|
5363
|
-
id: string;
|
|
5364
5545
|
values: {
|
|
5365
5546
|
value: string;
|
|
5366
5547
|
name: string;
|
|
5367
5548
|
description?: string | undefined;
|
|
5368
5549
|
}[];
|
|
5550
|
+
id: string;
|
|
5369
5551
|
name: string;
|
|
5370
5552
|
category: "model" | "other" | "mode" | "effort";
|
|
5371
5553
|
current: string;
|
|
@@ -5412,8 +5594,8 @@ export declare const methods: {
|
|
|
5412
5594
|
sessionUpdate: "ls_permission_resolved";
|
|
5413
5595
|
optionId?: string | undefined;
|
|
5414
5596
|
answers?: {
|
|
5415
|
-
id: string;
|
|
5416
5597
|
values: string[];
|
|
5598
|
+
id: string;
|
|
5417
5599
|
other?: string | undefined;
|
|
5418
5600
|
}[] | undefined;
|
|
5419
5601
|
} | {
|
|
@@ -5421,7 +5603,7 @@ export declare const methods: {
|
|
|
5421
5603
|
sessionUpdate: "ls_driver";
|
|
5422
5604
|
deviceId?: string | undefined;
|
|
5423
5605
|
} | {
|
|
5424
|
-
state: "
|
|
5606
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5425
5607
|
sessionUpdate: "ls_status";
|
|
5426
5608
|
} | {
|
|
5427
5609
|
task: {
|
|
@@ -5458,8 +5640,8 @@ export declare const methods: {
|
|
|
5458
5640
|
type: "text";
|
|
5459
5641
|
text: string;
|
|
5460
5642
|
} | {
|
|
5461
|
-
mimeType: string;
|
|
5462
5643
|
type: "image";
|
|
5644
|
+
mimeType: string;
|
|
5463
5645
|
data?: string | undefined;
|
|
5464
5646
|
uri?: string | undefined;
|
|
5465
5647
|
} | {
|
|
@@ -5475,8 +5657,8 @@ export declare const methods: {
|
|
|
5475
5657
|
type: "text";
|
|
5476
5658
|
text: string;
|
|
5477
5659
|
} | {
|
|
5478
|
-
mimeType: string;
|
|
5479
5660
|
type: "image";
|
|
5661
|
+
mimeType: string;
|
|
5480
5662
|
data?: string | undefined;
|
|
5481
5663
|
uri?: string | undefined;
|
|
5482
5664
|
} | {
|
|
@@ -5493,8 +5675,8 @@ export declare const methods: {
|
|
|
5493
5675
|
type: "text";
|
|
5494
5676
|
text: string;
|
|
5495
5677
|
} | {
|
|
5496
|
-
mimeType: string;
|
|
5497
5678
|
type: "image";
|
|
5679
|
+
mimeType: string;
|
|
5498
5680
|
data?: string | undefined;
|
|
5499
5681
|
uri?: string | undefined;
|
|
5500
5682
|
} | {
|
|
@@ -5581,8 +5763,8 @@ export declare const methods: {
|
|
|
5581
5763
|
type: "text";
|
|
5582
5764
|
text: string;
|
|
5583
5765
|
} | {
|
|
5584
|
-
mimeType: string;
|
|
5585
5766
|
type: "image";
|
|
5767
|
+
mimeType: string;
|
|
5586
5768
|
data?: string | undefined;
|
|
5587
5769
|
uri?: string | undefined;
|
|
5588
5770
|
} | {
|
|
@@ -5685,8 +5867,8 @@ export declare const methods: {
|
|
|
5685
5867
|
type: "text";
|
|
5686
5868
|
text: string;
|
|
5687
5869
|
} | {
|
|
5688
|
-
mimeType: string;
|
|
5689
5870
|
type: "image";
|
|
5871
|
+
mimeType: string;
|
|
5690
5872
|
data?: string | undefined;
|
|
5691
5873
|
uri?: string | undefined;
|
|
5692
5874
|
} | {
|
|
@@ -5722,8 +5904,8 @@ export declare const methods: {
|
|
|
5722
5904
|
} | {
|
|
5723
5905
|
sessionUpdate: "ls_goal";
|
|
5724
5906
|
goal: {
|
|
5725
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5726
5907
|
objective: string;
|
|
5908
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5727
5909
|
tokenBudget?: number | null | undefined;
|
|
5728
5910
|
tokensUsed?: number | undefined;
|
|
5729
5911
|
timeUsedSeconds?: number | undefined;
|
|
@@ -5748,24 +5930,31 @@ export declare const methods: {
|
|
|
5748
5930
|
sessionUpdate: "usage_update";
|
|
5749
5931
|
usedTokens?: number | undefined;
|
|
5750
5932
|
contextWindow?: number | undefined;
|
|
5933
|
+
} | {
|
|
5934
|
+
questions: {
|
|
5935
|
+
options: string[];
|
|
5936
|
+
id: string;
|
|
5937
|
+
title: string;
|
|
5938
|
+
}[];
|
|
5939
|
+
sessionUpdate: "ls_async_questions";
|
|
5751
5940
|
} | {
|
|
5752
5941
|
sessionUpdate: "ls_message_done";
|
|
5753
5942
|
messageId: string;
|
|
5754
5943
|
role: "agent" | "thought" | "user";
|
|
5755
5944
|
questions?: {
|
|
5756
|
-
id: string;
|
|
5757
5945
|
options: string[];
|
|
5946
|
+
id: string;
|
|
5758
5947
|
title: string;
|
|
5759
5948
|
}[] | undefined;
|
|
5760
5949
|
parentToolCallId?: string | undefined;
|
|
5761
5950
|
} | {
|
|
5762
5951
|
options: {
|
|
5763
|
-
id: string;
|
|
5764
5952
|
values: {
|
|
5765
5953
|
value: string;
|
|
5766
5954
|
name: string;
|
|
5767
5955
|
description?: string | undefined;
|
|
5768
5956
|
}[];
|
|
5957
|
+
id: string;
|
|
5769
5958
|
name: string;
|
|
5770
5959
|
current: string;
|
|
5771
5960
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -5812,8 +6001,8 @@ export declare const methods: {
|
|
|
5812
6001
|
sessionUpdate: "ls_permission_resolved";
|
|
5813
6002
|
optionId?: string | undefined;
|
|
5814
6003
|
answers?: {
|
|
5815
|
-
id: string;
|
|
5816
6004
|
values: string[];
|
|
6005
|
+
id: string;
|
|
5817
6006
|
other?: string | undefined;
|
|
5818
6007
|
}[] | undefined;
|
|
5819
6008
|
} | {
|
|
@@ -5821,7 +6010,7 @@ export declare const methods: {
|
|
|
5821
6010
|
sessionUpdate: "ls_driver";
|
|
5822
6011
|
deviceId?: string | undefined;
|
|
5823
6012
|
} | {
|
|
5824
|
-
state: "
|
|
6013
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5825
6014
|
sessionUpdate: "ls_status";
|
|
5826
6015
|
} | {
|
|
5827
6016
|
task: {
|
|
@@ -6213,13 +6402,13 @@ export declare const methods: {
|
|
|
6213
6402
|
data: z.ZodOptional<z.ZodString>;
|
|
6214
6403
|
uri: z.ZodOptional<z.ZodString>;
|
|
6215
6404
|
}, "strip", z.ZodTypeAny, {
|
|
6216
|
-
mimeType: string;
|
|
6217
6405
|
type: "image";
|
|
6406
|
+
mimeType: string;
|
|
6218
6407
|
data?: string | undefined;
|
|
6219
6408
|
uri?: string | undefined;
|
|
6220
6409
|
}, {
|
|
6221
|
-
mimeType: string;
|
|
6222
6410
|
type: "image";
|
|
6411
|
+
mimeType: string;
|
|
6223
6412
|
data?: string | undefined;
|
|
6224
6413
|
uri?: string | undefined;
|
|
6225
6414
|
}>, z.ZodObject<{
|
|
@@ -6243,8 +6432,8 @@ export declare const methods: {
|
|
|
6243
6432
|
type: "text";
|
|
6244
6433
|
text: string;
|
|
6245
6434
|
} | {
|
|
6246
|
-
mimeType: string;
|
|
6247
6435
|
type: "image";
|
|
6436
|
+
mimeType: string;
|
|
6248
6437
|
data?: string | undefined;
|
|
6249
6438
|
uri?: string | undefined;
|
|
6250
6439
|
} | {
|
|
@@ -6260,8 +6449,8 @@ export declare const methods: {
|
|
|
6260
6449
|
type: "text";
|
|
6261
6450
|
text: string;
|
|
6262
6451
|
} | {
|
|
6263
|
-
mimeType: string;
|
|
6264
6452
|
type: "image";
|
|
6453
|
+
mimeType: string;
|
|
6265
6454
|
data?: string | undefined;
|
|
6266
6455
|
uri?: string | undefined;
|
|
6267
6456
|
} | {
|
|
@@ -6291,13 +6480,13 @@ export declare const methods: {
|
|
|
6291
6480
|
data: z.ZodOptional<z.ZodString>;
|
|
6292
6481
|
uri: z.ZodOptional<z.ZodString>;
|
|
6293
6482
|
}, "strip", z.ZodTypeAny, {
|
|
6294
|
-
mimeType: string;
|
|
6295
6483
|
type: "image";
|
|
6484
|
+
mimeType: string;
|
|
6296
6485
|
data?: string | undefined;
|
|
6297
6486
|
uri?: string | undefined;
|
|
6298
6487
|
}, {
|
|
6299
|
-
mimeType: string;
|
|
6300
6488
|
type: "image";
|
|
6489
|
+
mimeType: string;
|
|
6301
6490
|
data?: string | undefined;
|
|
6302
6491
|
uri?: string | undefined;
|
|
6303
6492
|
}>, z.ZodObject<{
|
|
@@ -6321,8 +6510,8 @@ export declare const methods: {
|
|
|
6321
6510
|
type: "text";
|
|
6322
6511
|
text: string;
|
|
6323
6512
|
} | {
|
|
6324
|
-
mimeType: string;
|
|
6325
6513
|
type: "image";
|
|
6514
|
+
mimeType: string;
|
|
6326
6515
|
data?: string | undefined;
|
|
6327
6516
|
uri?: string | undefined;
|
|
6328
6517
|
} | {
|
|
@@ -6339,8 +6528,8 @@ export declare const methods: {
|
|
|
6339
6528
|
type: "text";
|
|
6340
6529
|
text: string;
|
|
6341
6530
|
} | {
|
|
6342
|
-
mimeType: string;
|
|
6343
6531
|
type: "image";
|
|
6532
|
+
mimeType: string;
|
|
6344
6533
|
data?: string | undefined;
|
|
6345
6534
|
uri?: string | undefined;
|
|
6346
6535
|
} | {
|
|
@@ -6371,13 +6560,13 @@ export declare const methods: {
|
|
|
6371
6560
|
data: z.ZodOptional<z.ZodString>;
|
|
6372
6561
|
uri: z.ZodOptional<z.ZodString>;
|
|
6373
6562
|
}, "strip", z.ZodTypeAny, {
|
|
6374
|
-
mimeType: string;
|
|
6375
6563
|
type: "image";
|
|
6564
|
+
mimeType: string;
|
|
6376
6565
|
data?: string | undefined;
|
|
6377
6566
|
uri?: string | undefined;
|
|
6378
6567
|
}, {
|
|
6379
|
-
mimeType: string;
|
|
6380
6568
|
type: "image";
|
|
6569
|
+
mimeType: string;
|
|
6381
6570
|
data?: string | undefined;
|
|
6382
6571
|
uri?: string | undefined;
|
|
6383
6572
|
}>, z.ZodObject<{
|
|
@@ -6401,8 +6590,8 @@ export declare const methods: {
|
|
|
6401
6590
|
type: "text";
|
|
6402
6591
|
text: string;
|
|
6403
6592
|
} | {
|
|
6404
|
-
mimeType: string;
|
|
6405
6593
|
type: "image";
|
|
6594
|
+
mimeType: string;
|
|
6406
6595
|
data?: string | undefined;
|
|
6407
6596
|
uri?: string | undefined;
|
|
6408
6597
|
} | {
|
|
@@ -6419,8 +6608,8 @@ export declare const methods: {
|
|
|
6419
6608
|
type: "text";
|
|
6420
6609
|
text: string;
|
|
6421
6610
|
} | {
|
|
6422
|
-
mimeType: string;
|
|
6423
6611
|
type: "image";
|
|
6612
|
+
mimeType: string;
|
|
6424
6613
|
data?: string | undefined;
|
|
6425
6614
|
uri?: string | undefined;
|
|
6426
6615
|
} | {
|
|
@@ -6457,13 +6646,13 @@ export declare const methods: {
|
|
|
6457
6646
|
data: z.ZodOptional<z.ZodString>;
|
|
6458
6647
|
uri: z.ZodOptional<z.ZodString>;
|
|
6459
6648
|
}, "strip", z.ZodTypeAny, {
|
|
6460
|
-
mimeType: string;
|
|
6461
6649
|
type: "image";
|
|
6650
|
+
mimeType: string;
|
|
6462
6651
|
data?: string | undefined;
|
|
6463
6652
|
uri?: string | undefined;
|
|
6464
6653
|
}, {
|
|
6465
|
-
mimeType: string;
|
|
6466
6654
|
type: "image";
|
|
6655
|
+
mimeType: string;
|
|
6467
6656
|
data?: string | undefined;
|
|
6468
6657
|
uri?: string | undefined;
|
|
6469
6658
|
}>, z.ZodObject<{
|
|
@@ -6488,8 +6677,8 @@ export declare const methods: {
|
|
|
6488
6677
|
type: "text";
|
|
6489
6678
|
text: string;
|
|
6490
6679
|
} | {
|
|
6491
|
-
mimeType: string;
|
|
6492
6680
|
type: "image";
|
|
6681
|
+
mimeType: string;
|
|
6493
6682
|
data?: string | undefined;
|
|
6494
6683
|
uri?: string | undefined;
|
|
6495
6684
|
} | {
|
|
@@ -6504,8 +6693,8 @@ export declare const methods: {
|
|
|
6504
6693
|
type: "text";
|
|
6505
6694
|
text: string;
|
|
6506
6695
|
} | {
|
|
6507
|
-
mimeType: string;
|
|
6508
6696
|
type: "image";
|
|
6697
|
+
mimeType: string;
|
|
6509
6698
|
data?: string | undefined;
|
|
6510
6699
|
uri?: string | undefined;
|
|
6511
6700
|
} | {
|
|
@@ -6918,8 +7107,8 @@ export declare const methods: {
|
|
|
6918
7107
|
type: "text";
|
|
6919
7108
|
text: string;
|
|
6920
7109
|
} | {
|
|
6921
|
-
mimeType: string;
|
|
6922
7110
|
type: "image";
|
|
7111
|
+
mimeType: string;
|
|
6923
7112
|
data?: string | undefined;
|
|
6924
7113
|
uri?: string | undefined;
|
|
6925
7114
|
} | {
|
|
@@ -7023,8 +7212,8 @@ export declare const methods: {
|
|
|
7023
7212
|
type: "text";
|
|
7024
7213
|
text: string;
|
|
7025
7214
|
} | {
|
|
7026
|
-
mimeType: string;
|
|
7027
7215
|
type: "image";
|
|
7216
|
+
mimeType: string;
|
|
7028
7217
|
data?: string | undefined;
|
|
7029
7218
|
uri?: string | undefined;
|
|
7030
7219
|
} | {
|
|
@@ -7352,13 +7541,13 @@ export declare const methods: {
|
|
|
7352
7541
|
data: z.ZodOptional<z.ZodString>;
|
|
7353
7542
|
uri: z.ZodOptional<z.ZodString>;
|
|
7354
7543
|
}, "strip", z.ZodTypeAny, {
|
|
7355
|
-
mimeType: string;
|
|
7356
7544
|
type: "image";
|
|
7545
|
+
mimeType: string;
|
|
7357
7546
|
data?: string | undefined;
|
|
7358
7547
|
uri?: string | undefined;
|
|
7359
7548
|
}, {
|
|
7360
|
-
mimeType: string;
|
|
7361
7549
|
type: "image";
|
|
7550
|
+
mimeType: string;
|
|
7362
7551
|
data?: string | undefined;
|
|
7363
7552
|
uri?: string | undefined;
|
|
7364
7553
|
}>, z.ZodObject<{
|
|
@@ -7383,8 +7572,8 @@ export declare const methods: {
|
|
|
7383
7572
|
type: "text";
|
|
7384
7573
|
text: string;
|
|
7385
7574
|
} | {
|
|
7386
|
-
mimeType: string;
|
|
7387
7575
|
type: "image";
|
|
7576
|
+
mimeType: string;
|
|
7388
7577
|
data?: string | undefined;
|
|
7389
7578
|
uri?: string | undefined;
|
|
7390
7579
|
} | {
|
|
@@ -7399,8 +7588,8 @@ export declare const methods: {
|
|
|
7399
7588
|
type: "text";
|
|
7400
7589
|
text: string;
|
|
7401
7590
|
} | {
|
|
7402
|
-
mimeType: string;
|
|
7403
7591
|
type: "image";
|
|
7592
|
+
mimeType: string;
|
|
7404
7593
|
data?: string | undefined;
|
|
7405
7594
|
uri?: string | undefined;
|
|
7406
7595
|
} | {
|
|
@@ -7528,8 +7717,8 @@ export declare const methods: {
|
|
|
7528
7717
|
type: "text";
|
|
7529
7718
|
text: string;
|
|
7530
7719
|
} | {
|
|
7531
|
-
mimeType: string;
|
|
7532
7720
|
type: "image";
|
|
7721
|
+
mimeType: string;
|
|
7533
7722
|
data?: string | undefined;
|
|
7534
7723
|
uri?: string | undefined;
|
|
7535
7724
|
} | {
|
|
@@ -7629,8 +7818,8 @@ export declare const methods: {
|
|
|
7629
7818
|
type: "text";
|
|
7630
7819
|
text: string;
|
|
7631
7820
|
} | {
|
|
7632
|
-
mimeType: string;
|
|
7633
7821
|
type: "image";
|
|
7822
|
+
mimeType: string;
|
|
7634
7823
|
data?: string | undefined;
|
|
7635
7824
|
uri?: string | undefined;
|
|
7636
7825
|
} | {
|
|
@@ -7696,16 +7885,16 @@ export declare const methods: {
|
|
|
7696
7885
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
7697
7886
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7698
7887
|
}, "strip", z.ZodTypeAny, {
|
|
7699
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7700
7888
|
objective: string;
|
|
7889
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7701
7890
|
tokenBudget?: number | null | undefined;
|
|
7702
7891
|
tokensUsed?: number | undefined;
|
|
7703
7892
|
timeUsedSeconds?: number | undefined;
|
|
7704
7893
|
iterations?: number | undefined;
|
|
7705
7894
|
lastReason?: string | null | undefined;
|
|
7706
7895
|
}, {
|
|
7707
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7708
7896
|
objective: string;
|
|
7897
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7709
7898
|
tokenBudget?: number | null | undefined;
|
|
7710
7899
|
tokensUsed?: number | undefined;
|
|
7711
7900
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7715,8 +7904,8 @@ export declare const methods: {
|
|
|
7715
7904
|
}, "strip", z.ZodTypeAny, {
|
|
7716
7905
|
sessionUpdate: "ls_goal";
|
|
7717
7906
|
goal: {
|
|
7718
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7719
7907
|
objective: string;
|
|
7908
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7720
7909
|
tokenBudget?: number | null | undefined;
|
|
7721
7910
|
tokensUsed?: number | undefined;
|
|
7722
7911
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7726,8 +7915,8 @@ export declare const methods: {
|
|
|
7726
7915
|
}, {
|
|
7727
7916
|
sessionUpdate: "ls_goal";
|
|
7728
7917
|
goal: {
|
|
7729
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7730
7918
|
objective: string;
|
|
7919
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7731
7920
|
tokenBudget?: number | null | undefined;
|
|
7732
7921
|
tokensUsed?: number | undefined;
|
|
7733
7922
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7796,6 +7985,35 @@ export declare const methods: {
|
|
|
7796
7985
|
sessionUpdate: "usage_update";
|
|
7797
7986
|
usedTokens?: number | undefined;
|
|
7798
7987
|
contextWindow?: number | undefined;
|
|
7988
|
+
}>, z.ZodObject<{
|
|
7989
|
+
sessionUpdate: z.ZodLiteral<"ls_async_questions">;
|
|
7990
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
7991
|
+
id: z.ZodString;
|
|
7992
|
+
title: z.ZodString;
|
|
7993
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
7994
|
+
}, "strip", z.ZodTypeAny, {
|
|
7995
|
+
options: string[];
|
|
7996
|
+
id: string;
|
|
7997
|
+
title: string;
|
|
7998
|
+
}, {
|
|
7999
|
+
options: string[];
|
|
8000
|
+
id: string;
|
|
8001
|
+
title: string;
|
|
8002
|
+
}>, "many">;
|
|
8003
|
+
}, "strip", z.ZodTypeAny, {
|
|
8004
|
+
questions: {
|
|
8005
|
+
options: string[];
|
|
8006
|
+
id: string;
|
|
8007
|
+
title: string;
|
|
8008
|
+
}[];
|
|
8009
|
+
sessionUpdate: "ls_async_questions";
|
|
8010
|
+
}, {
|
|
8011
|
+
questions: {
|
|
8012
|
+
options: string[];
|
|
8013
|
+
id: string;
|
|
8014
|
+
title: string;
|
|
8015
|
+
}[];
|
|
8016
|
+
sessionUpdate: "ls_async_questions";
|
|
7799
8017
|
}>, z.ZodObject<{
|
|
7800
8018
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
7801
8019
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -7806,12 +8024,12 @@ export declare const methods: {
|
|
|
7806
8024
|
title: z.ZodString;
|
|
7807
8025
|
options: z.ZodArray<z.ZodString, "many">;
|
|
7808
8026
|
}, "strip", z.ZodTypeAny, {
|
|
7809
|
-
id: string;
|
|
7810
8027
|
options: string[];
|
|
8028
|
+
id: string;
|
|
7811
8029
|
title: string;
|
|
7812
8030
|
}, {
|
|
7813
|
-
id: string;
|
|
7814
8031
|
options: string[];
|
|
8032
|
+
id: string;
|
|
7815
8033
|
title: string;
|
|
7816
8034
|
}>, "many">>;
|
|
7817
8035
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7819,8 +8037,8 @@ export declare const methods: {
|
|
|
7819
8037
|
messageId: string;
|
|
7820
8038
|
role: "agent" | "thought" | "user";
|
|
7821
8039
|
questions?: {
|
|
7822
|
-
id: string;
|
|
7823
8040
|
options: string[];
|
|
8041
|
+
id: string;
|
|
7824
8042
|
title: string;
|
|
7825
8043
|
}[] | undefined;
|
|
7826
8044
|
parentToolCallId?: string | undefined;
|
|
@@ -7829,8 +8047,8 @@ export declare const methods: {
|
|
|
7829
8047
|
messageId: string;
|
|
7830
8048
|
role: "agent" | "thought" | "user";
|
|
7831
8049
|
questions?: {
|
|
7832
|
-
id: string;
|
|
7833
8050
|
options: string[];
|
|
8051
|
+
id: string;
|
|
7834
8052
|
title: string;
|
|
7835
8053
|
}[] | undefined;
|
|
7836
8054
|
parentToolCallId?: string | undefined;
|
|
@@ -7855,34 +8073,34 @@ export declare const methods: {
|
|
|
7855
8073
|
description?: string | undefined;
|
|
7856
8074
|
}>, "many">;
|
|
7857
8075
|
}, "strip", z.ZodTypeAny, {
|
|
7858
|
-
id: string;
|
|
7859
8076
|
values: {
|
|
7860
8077
|
value: string;
|
|
7861
8078
|
name: string;
|
|
7862
8079
|
description?: string | undefined;
|
|
7863
8080
|
}[];
|
|
8081
|
+
id: string;
|
|
7864
8082
|
name: string;
|
|
7865
8083
|
category: "model" | "other" | "mode" | "effort";
|
|
7866
8084
|
current: string;
|
|
7867
8085
|
}, {
|
|
7868
|
-
id: string;
|
|
7869
8086
|
values: {
|
|
7870
8087
|
value: string;
|
|
7871
8088
|
name: string;
|
|
7872
8089
|
description?: string | undefined;
|
|
7873
8090
|
}[];
|
|
8091
|
+
id: string;
|
|
7874
8092
|
name: string;
|
|
7875
8093
|
current: string;
|
|
7876
8094
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
7877
8095
|
}>, "many">;
|
|
7878
8096
|
}, "strip", z.ZodTypeAny, {
|
|
7879
8097
|
options: {
|
|
7880
|
-
id: string;
|
|
7881
8098
|
values: {
|
|
7882
8099
|
value: string;
|
|
7883
8100
|
name: string;
|
|
7884
8101
|
description?: string | undefined;
|
|
7885
8102
|
}[];
|
|
8103
|
+
id: string;
|
|
7886
8104
|
name: string;
|
|
7887
8105
|
category: "model" | "other" | "mode" | "effort";
|
|
7888
8106
|
current: string;
|
|
@@ -7890,12 +8108,12 @@ export declare const methods: {
|
|
|
7890
8108
|
sessionUpdate: "ls_config";
|
|
7891
8109
|
}, {
|
|
7892
8110
|
options: {
|
|
7893
|
-
id: string;
|
|
7894
8111
|
values: {
|
|
7895
8112
|
value: string;
|
|
7896
8113
|
name: string;
|
|
7897
8114
|
description?: string | undefined;
|
|
7898
8115
|
}[];
|
|
8116
|
+
id: string;
|
|
7899
8117
|
name: string;
|
|
7900
8118
|
current: string;
|
|
7901
8119
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -8060,12 +8278,12 @@ export declare const methods: {
|
|
|
8060
8278
|
values: z.ZodArray<z.ZodString, "many">;
|
|
8061
8279
|
other: z.ZodOptional<z.ZodString>;
|
|
8062
8280
|
}, "strip", z.ZodTypeAny, {
|
|
8063
|
-
id: string;
|
|
8064
8281
|
values: string[];
|
|
8282
|
+
id: string;
|
|
8065
8283
|
other?: string | undefined;
|
|
8066
8284
|
}, {
|
|
8067
|
-
id: string;
|
|
8068
8285
|
values: string[];
|
|
8286
|
+
id: string;
|
|
8069
8287
|
other?: string | undefined;
|
|
8070
8288
|
}>, "many">>;
|
|
8071
8289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8073,8 +8291,8 @@ export declare const methods: {
|
|
|
8073
8291
|
sessionUpdate: "ls_permission_resolved";
|
|
8074
8292
|
optionId?: string | undefined;
|
|
8075
8293
|
answers?: {
|
|
8076
|
-
id: string;
|
|
8077
8294
|
values: string[];
|
|
8295
|
+
id: string;
|
|
8078
8296
|
other?: string | undefined;
|
|
8079
8297
|
}[] | undefined;
|
|
8080
8298
|
}, {
|
|
@@ -8082,8 +8300,8 @@ export declare const methods: {
|
|
|
8082
8300
|
sessionUpdate: "ls_permission_resolved";
|
|
8083
8301
|
optionId?: string | undefined;
|
|
8084
8302
|
answers?: {
|
|
8085
|
-
id: string;
|
|
8086
8303
|
values: string[];
|
|
8304
|
+
id: string;
|
|
8087
8305
|
other?: string | undefined;
|
|
8088
8306
|
}[] | undefined;
|
|
8089
8307
|
}>, z.ZodObject<{
|
|
@@ -8102,10 +8320,10 @@ export declare const methods: {
|
|
|
8102
8320
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
8103
8321
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
8104
8322
|
}, "strip", z.ZodTypeAny, {
|
|
8105
|
-
state: "
|
|
8323
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8106
8324
|
sessionUpdate: "ls_status";
|
|
8107
8325
|
}, {
|
|
8108
|
-
state: "
|
|
8326
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8109
8327
|
sessionUpdate: "ls_status";
|
|
8110
8328
|
}>, z.ZodObject<{
|
|
8111
8329
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -8208,8 +8426,8 @@ export declare const methods: {
|
|
|
8208
8426
|
type: "text";
|
|
8209
8427
|
text: string;
|
|
8210
8428
|
} | {
|
|
8211
|
-
mimeType: string;
|
|
8212
8429
|
type: "image";
|
|
8430
|
+
mimeType: string;
|
|
8213
8431
|
data?: string | undefined;
|
|
8214
8432
|
uri?: string | undefined;
|
|
8215
8433
|
} | {
|
|
@@ -8225,8 +8443,8 @@ export declare const methods: {
|
|
|
8225
8443
|
type: "text";
|
|
8226
8444
|
text: string;
|
|
8227
8445
|
} | {
|
|
8228
|
-
mimeType: string;
|
|
8229
8446
|
type: "image";
|
|
8447
|
+
mimeType: string;
|
|
8230
8448
|
data?: string | undefined;
|
|
8231
8449
|
uri?: string | undefined;
|
|
8232
8450
|
} | {
|
|
@@ -8243,8 +8461,8 @@ export declare const methods: {
|
|
|
8243
8461
|
type: "text";
|
|
8244
8462
|
text: string;
|
|
8245
8463
|
} | {
|
|
8246
|
-
mimeType: string;
|
|
8247
8464
|
type: "image";
|
|
8465
|
+
mimeType: string;
|
|
8248
8466
|
data?: string | undefined;
|
|
8249
8467
|
uri?: string | undefined;
|
|
8250
8468
|
} | {
|
|
@@ -8331,8 +8549,8 @@ export declare const methods: {
|
|
|
8331
8549
|
type: "text";
|
|
8332
8550
|
text: string;
|
|
8333
8551
|
} | {
|
|
8334
|
-
mimeType: string;
|
|
8335
8552
|
type: "image";
|
|
8553
|
+
mimeType: string;
|
|
8336
8554
|
data?: string | undefined;
|
|
8337
8555
|
uri?: string | undefined;
|
|
8338
8556
|
} | {
|
|
@@ -8435,8 +8653,8 @@ export declare const methods: {
|
|
|
8435
8653
|
type: "text";
|
|
8436
8654
|
text: string;
|
|
8437
8655
|
} | {
|
|
8438
|
-
mimeType: string;
|
|
8439
8656
|
type: "image";
|
|
8657
|
+
mimeType: string;
|
|
8440
8658
|
data?: string | undefined;
|
|
8441
8659
|
uri?: string | undefined;
|
|
8442
8660
|
} | {
|
|
@@ -8472,8 +8690,8 @@ export declare const methods: {
|
|
|
8472
8690
|
} | {
|
|
8473
8691
|
sessionUpdate: "ls_goal";
|
|
8474
8692
|
goal: {
|
|
8475
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8476
8693
|
objective: string;
|
|
8694
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8477
8695
|
tokenBudget?: number | null | undefined;
|
|
8478
8696
|
tokensUsed?: number | undefined;
|
|
8479
8697
|
timeUsedSeconds?: number | undefined;
|
|
@@ -8498,24 +8716,31 @@ export declare const methods: {
|
|
|
8498
8716
|
sessionUpdate: "usage_update";
|
|
8499
8717
|
usedTokens?: number | undefined;
|
|
8500
8718
|
contextWindow?: number | undefined;
|
|
8719
|
+
} | {
|
|
8720
|
+
questions: {
|
|
8721
|
+
options: string[];
|
|
8722
|
+
id: string;
|
|
8723
|
+
title: string;
|
|
8724
|
+
}[];
|
|
8725
|
+
sessionUpdate: "ls_async_questions";
|
|
8501
8726
|
} | {
|
|
8502
8727
|
sessionUpdate: "ls_message_done";
|
|
8503
8728
|
messageId: string;
|
|
8504
8729
|
role: "agent" | "thought" | "user";
|
|
8505
8730
|
questions?: {
|
|
8506
|
-
id: string;
|
|
8507
8731
|
options: string[];
|
|
8732
|
+
id: string;
|
|
8508
8733
|
title: string;
|
|
8509
8734
|
}[] | undefined;
|
|
8510
8735
|
parentToolCallId?: string | undefined;
|
|
8511
8736
|
} | {
|
|
8512
8737
|
options: {
|
|
8513
|
-
id: string;
|
|
8514
8738
|
values: {
|
|
8515
8739
|
value: string;
|
|
8516
8740
|
name: string;
|
|
8517
8741
|
description?: string | undefined;
|
|
8518
8742
|
}[];
|
|
8743
|
+
id: string;
|
|
8519
8744
|
name: string;
|
|
8520
8745
|
category: "model" | "other" | "mode" | "effort";
|
|
8521
8746
|
current: string;
|
|
@@ -8562,8 +8787,8 @@ export declare const methods: {
|
|
|
8562
8787
|
sessionUpdate: "ls_permission_resolved";
|
|
8563
8788
|
optionId?: string | undefined;
|
|
8564
8789
|
answers?: {
|
|
8565
|
-
id: string;
|
|
8566
8790
|
values: string[];
|
|
8791
|
+
id: string;
|
|
8567
8792
|
other?: string | undefined;
|
|
8568
8793
|
}[] | undefined;
|
|
8569
8794
|
} | {
|
|
@@ -8571,7 +8796,7 @@ export declare const methods: {
|
|
|
8571
8796
|
sessionUpdate: "ls_driver";
|
|
8572
8797
|
deviceId?: string | undefined;
|
|
8573
8798
|
} | {
|
|
8574
|
-
state: "
|
|
8799
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8575
8800
|
sessionUpdate: "ls_status";
|
|
8576
8801
|
} | {
|
|
8577
8802
|
task: {
|
|
@@ -8605,8 +8830,8 @@ export declare const methods: {
|
|
|
8605
8830
|
type: "text";
|
|
8606
8831
|
text: string;
|
|
8607
8832
|
} | {
|
|
8608
|
-
mimeType: string;
|
|
8609
8833
|
type: "image";
|
|
8834
|
+
mimeType: string;
|
|
8610
8835
|
data?: string | undefined;
|
|
8611
8836
|
uri?: string | undefined;
|
|
8612
8837
|
} | {
|
|
@@ -8622,8 +8847,8 @@ export declare const methods: {
|
|
|
8622
8847
|
type: "text";
|
|
8623
8848
|
text: string;
|
|
8624
8849
|
} | {
|
|
8625
|
-
mimeType: string;
|
|
8626
8850
|
type: "image";
|
|
8851
|
+
mimeType: string;
|
|
8627
8852
|
data?: string | undefined;
|
|
8628
8853
|
uri?: string | undefined;
|
|
8629
8854
|
} | {
|
|
@@ -8640,8 +8865,8 @@ export declare const methods: {
|
|
|
8640
8865
|
type: "text";
|
|
8641
8866
|
text: string;
|
|
8642
8867
|
} | {
|
|
8643
|
-
mimeType: string;
|
|
8644
8868
|
type: "image";
|
|
8869
|
+
mimeType: string;
|
|
8645
8870
|
data?: string | undefined;
|
|
8646
8871
|
uri?: string | undefined;
|
|
8647
8872
|
} | {
|
|
@@ -8728,8 +8953,8 @@ export declare const methods: {
|
|
|
8728
8953
|
type: "text";
|
|
8729
8954
|
text: string;
|
|
8730
8955
|
} | {
|
|
8731
|
-
mimeType: string;
|
|
8732
8956
|
type: "image";
|
|
8957
|
+
mimeType: string;
|
|
8733
8958
|
data?: string | undefined;
|
|
8734
8959
|
uri?: string | undefined;
|
|
8735
8960
|
} | {
|
|
@@ -8832,8 +9057,8 @@ export declare const methods: {
|
|
|
8832
9057
|
type: "text";
|
|
8833
9058
|
text: string;
|
|
8834
9059
|
} | {
|
|
8835
|
-
mimeType: string;
|
|
8836
9060
|
type: "image";
|
|
9061
|
+
mimeType: string;
|
|
8837
9062
|
data?: string | undefined;
|
|
8838
9063
|
uri?: string | undefined;
|
|
8839
9064
|
} | {
|
|
@@ -8869,8 +9094,8 @@ export declare const methods: {
|
|
|
8869
9094
|
} | {
|
|
8870
9095
|
sessionUpdate: "ls_goal";
|
|
8871
9096
|
goal: {
|
|
8872
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8873
9097
|
objective: string;
|
|
9098
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8874
9099
|
tokenBudget?: number | null | undefined;
|
|
8875
9100
|
tokensUsed?: number | undefined;
|
|
8876
9101
|
timeUsedSeconds?: number | undefined;
|
|
@@ -8895,24 +9120,31 @@ export declare const methods: {
|
|
|
8895
9120
|
sessionUpdate: "usage_update";
|
|
8896
9121
|
usedTokens?: number | undefined;
|
|
8897
9122
|
contextWindow?: number | undefined;
|
|
9123
|
+
} | {
|
|
9124
|
+
questions: {
|
|
9125
|
+
options: string[];
|
|
9126
|
+
id: string;
|
|
9127
|
+
title: string;
|
|
9128
|
+
}[];
|
|
9129
|
+
sessionUpdate: "ls_async_questions";
|
|
8898
9130
|
} | {
|
|
8899
9131
|
sessionUpdate: "ls_message_done";
|
|
8900
9132
|
messageId: string;
|
|
8901
9133
|
role: "agent" | "thought" | "user";
|
|
8902
9134
|
questions?: {
|
|
8903
|
-
id: string;
|
|
8904
9135
|
options: string[];
|
|
9136
|
+
id: string;
|
|
8905
9137
|
title: string;
|
|
8906
9138
|
}[] | undefined;
|
|
8907
9139
|
parentToolCallId?: string | undefined;
|
|
8908
9140
|
} | {
|
|
8909
9141
|
options: {
|
|
8910
|
-
id: string;
|
|
8911
9142
|
values: {
|
|
8912
9143
|
value: string;
|
|
8913
9144
|
name: string;
|
|
8914
9145
|
description?: string | undefined;
|
|
8915
9146
|
}[];
|
|
9147
|
+
id: string;
|
|
8916
9148
|
name: string;
|
|
8917
9149
|
current: string;
|
|
8918
9150
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -8959,8 +9191,8 @@ export declare const methods: {
|
|
|
8959
9191
|
sessionUpdate: "ls_permission_resolved";
|
|
8960
9192
|
optionId?: string | undefined;
|
|
8961
9193
|
answers?: {
|
|
8962
|
-
id: string;
|
|
8963
9194
|
values: string[];
|
|
9195
|
+
id: string;
|
|
8964
9196
|
other?: string | undefined;
|
|
8965
9197
|
}[] | undefined;
|
|
8966
9198
|
} | {
|
|
@@ -8968,7 +9200,7 @@ export declare const methods: {
|
|
|
8968
9200
|
sessionUpdate: "ls_driver";
|
|
8969
9201
|
deviceId?: string | undefined;
|
|
8970
9202
|
} | {
|
|
8971
|
-
state: "
|
|
9203
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8972
9204
|
sessionUpdate: "ls_status";
|
|
8973
9205
|
} | {
|
|
8974
9206
|
task: {
|
|
@@ -9004,8 +9236,8 @@ export declare const methods: {
|
|
|
9004
9236
|
type: "text";
|
|
9005
9237
|
text: string;
|
|
9006
9238
|
} | {
|
|
9007
|
-
mimeType: string;
|
|
9008
9239
|
type: "image";
|
|
9240
|
+
mimeType: string;
|
|
9009
9241
|
data?: string | undefined;
|
|
9010
9242
|
uri?: string | undefined;
|
|
9011
9243
|
} | {
|
|
@@ -9021,8 +9253,8 @@ export declare const methods: {
|
|
|
9021
9253
|
type: "text";
|
|
9022
9254
|
text: string;
|
|
9023
9255
|
} | {
|
|
9024
|
-
mimeType: string;
|
|
9025
9256
|
type: "image";
|
|
9257
|
+
mimeType: string;
|
|
9026
9258
|
data?: string | undefined;
|
|
9027
9259
|
uri?: string | undefined;
|
|
9028
9260
|
} | {
|
|
@@ -9039,8 +9271,8 @@ export declare const methods: {
|
|
|
9039
9271
|
type: "text";
|
|
9040
9272
|
text: string;
|
|
9041
9273
|
} | {
|
|
9042
|
-
mimeType: string;
|
|
9043
9274
|
type: "image";
|
|
9275
|
+
mimeType: string;
|
|
9044
9276
|
data?: string | undefined;
|
|
9045
9277
|
uri?: string | undefined;
|
|
9046
9278
|
} | {
|
|
@@ -9127,8 +9359,8 @@ export declare const methods: {
|
|
|
9127
9359
|
type: "text";
|
|
9128
9360
|
text: string;
|
|
9129
9361
|
} | {
|
|
9130
|
-
mimeType: string;
|
|
9131
9362
|
type: "image";
|
|
9363
|
+
mimeType: string;
|
|
9132
9364
|
data?: string | undefined;
|
|
9133
9365
|
uri?: string | undefined;
|
|
9134
9366
|
} | {
|
|
@@ -9231,8 +9463,8 @@ export declare const methods: {
|
|
|
9231
9463
|
type: "text";
|
|
9232
9464
|
text: string;
|
|
9233
9465
|
} | {
|
|
9234
|
-
mimeType: string;
|
|
9235
9466
|
type: "image";
|
|
9467
|
+
mimeType: string;
|
|
9236
9468
|
data?: string | undefined;
|
|
9237
9469
|
uri?: string | undefined;
|
|
9238
9470
|
} | {
|
|
@@ -9268,8 +9500,8 @@ export declare const methods: {
|
|
|
9268
9500
|
} | {
|
|
9269
9501
|
sessionUpdate: "ls_goal";
|
|
9270
9502
|
goal: {
|
|
9271
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9272
9503
|
objective: string;
|
|
9504
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9273
9505
|
tokenBudget?: number | null | undefined;
|
|
9274
9506
|
tokensUsed?: number | undefined;
|
|
9275
9507
|
timeUsedSeconds?: number | undefined;
|
|
@@ -9294,24 +9526,31 @@ export declare const methods: {
|
|
|
9294
9526
|
sessionUpdate: "usage_update";
|
|
9295
9527
|
usedTokens?: number | undefined;
|
|
9296
9528
|
contextWindow?: number | undefined;
|
|
9529
|
+
} | {
|
|
9530
|
+
questions: {
|
|
9531
|
+
options: string[];
|
|
9532
|
+
id: string;
|
|
9533
|
+
title: string;
|
|
9534
|
+
}[];
|
|
9535
|
+
sessionUpdate: "ls_async_questions";
|
|
9297
9536
|
} | {
|
|
9298
9537
|
sessionUpdate: "ls_message_done";
|
|
9299
9538
|
messageId: string;
|
|
9300
9539
|
role: "agent" | "thought" | "user";
|
|
9301
9540
|
questions?: {
|
|
9302
|
-
id: string;
|
|
9303
9541
|
options: string[];
|
|
9542
|
+
id: string;
|
|
9304
9543
|
title: string;
|
|
9305
9544
|
}[] | undefined;
|
|
9306
9545
|
parentToolCallId?: string | undefined;
|
|
9307
9546
|
} | {
|
|
9308
9547
|
options: {
|
|
9309
|
-
id: string;
|
|
9310
9548
|
values: {
|
|
9311
9549
|
value: string;
|
|
9312
9550
|
name: string;
|
|
9313
9551
|
description?: string | undefined;
|
|
9314
9552
|
}[];
|
|
9553
|
+
id: string;
|
|
9315
9554
|
name: string;
|
|
9316
9555
|
category: "model" | "other" | "mode" | "effort";
|
|
9317
9556
|
current: string;
|
|
@@ -9358,8 +9597,8 @@ export declare const methods: {
|
|
|
9358
9597
|
sessionUpdate: "ls_permission_resolved";
|
|
9359
9598
|
optionId?: string | undefined;
|
|
9360
9599
|
answers?: {
|
|
9361
|
-
id: string;
|
|
9362
9600
|
values: string[];
|
|
9601
|
+
id: string;
|
|
9363
9602
|
other?: string | undefined;
|
|
9364
9603
|
}[] | undefined;
|
|
9365
9604
|
} | {
|
|
@@ -9367,7 +9606,7 @@ export declare const methods: {
|
|
|
9367
9606
|
sessionUpdate: "ls_driver";
|
|
9368
9607
|
deviceId?: string | undefined;
|
|
9369
9608
|
} | {
|
|
9370
|
-
state: "
|
|
9609
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
9371
9610
|
sessionUpdate: "ls_status";
|
|
9372
9611
|
} | {
|
|
9373
9612
|
task: {
|
|
@@ -9403,8 +9642,8 @@ export declare const methods: {
|
|
|
9403
9642
|
type: "text";
|
|
9404
9643
|
text: string;
|
|
9405
9644
|
} | {
|
|
9406
|
-
mimeType: string;
|
|
9407
9645
|
type: "image";
|
|
9646
|
+
mimeType: string;
|
|
9408
9647
|
data?: string | undefined;
|
|
9409
9648
|
uri?: string | undefined;
|
|
9410
9649
|
} | {
|
|
@@ -9420,8 +9659,8 @@ export declare const methods: {
|
|
|
9420
9659
|
type: "text";
|
|
9421
9660
|
text: string;
|
|
9422
9661
|
} | {
|
|
9423
|
-
mimeType: string;
|
|
9424
9662
|
type: "image";
|
|
9663
|
+
mimeType: string;
|
|
9425
9664
|
data?: string | undefined;
|
|
9426
9665
|
uri?: string | undefined;
|
|
9427
9666
|
} | {
|
|
@@ -9438,8 +9677,8 @@ export declare const methods: {
|
|
|
9438
9677
|
type: "text";
|
|
9439
9678
|
text: string;
|
|
9440
9679
|
} | {
|
|
9441
|
-
mimeType: string;
|
|
9442
9680
|
type: "image";
|
|
9681
|
+
mimeType: string;
|
|
9443
9682
|
data?: string | undefined;
|
|
9444
9683
|
uri?: string | undefined;
|
|
9445
9684
|
} | {
|
|
@@ -9526,8 +9765,8 @@ export declare const methods: {
|
|
|
9526
9765
|
type: "text";
|
|
9527
9766
|
text: string;
|
|
9528
9767
|
} | {
|
|
9529
|
-
mimeType: string;
|
|
9530
9768
|
type: "image";
|
|
9769
|
+
mimeType: string;
|
|
9531
9770
|
data?: string | undefined;
|
|
9532
9771
|
uri?: string | undefined;
|
|
9533
9772
|
} | {
|
|
@@ -9630,8 +9869,8 @@ export declare const methods: {
|
|
|
9630
9869
|
type: "text";
|
|
9631
9870
|
text: string;
|
|
9632
9871
|
} | {
|
|
9633
|
-
mimeType: string;
|
|
9634
9872
|
type: "image";
|
|
9873
|
+
mimeType: string;
|
|
9635
9874
|
data?: string | undefined;
|
|
9636
9875
|
uri?: string | undefined;
|
|
9637
9876
|
} | {
|
|
@@ -9667,8 +9906,8 @@ export declare const methods: {
|
|
|
9667
9906
|
} | {
|
|
9668
9907
|
sessionUpdate: "ls_goal";
|
|
9669
9908
|
goal: {
|
|
9670
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9671
9909
|
objective: string;
|
|
9910
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9672
9911
|
tokenBudget?: number | null | undefined;
|
|
9673
9912
|
tokensUsed?: number | undefined;
|
|
9674
9913
|
timeUsedSeconds?: number | undefined;
|
|
@@ -9693,24 +9932,31 @@ export declare const methods: {
|
|
|
9693
9932
|
sessionUpdate: "usage_update";
|
|
9694
9933
|
usedTokens?: number | undefined;
|
|
9695
9934
|
contextWindow?: number | undefined;
|
|
9935
|
+
} | {
|
|
9936
|
+
questions: {
|
|
9937
|
+
options: string[];
|
|
9938
|
+
id: string;
|
|
9939
|
+
title: string;
|
|
9940
|
+
}[];
|
|
9941
|
+
sessionUpdate: "ls_async_questions";
|
|
9696
9942
|
} | {
|
|
9697
9943
|
sessionUpdate: "ls_message_done";
|
|
9698
9944
|
messageId: string;
|
|
9699
9945
|
role: "agent" | "thought" | "user";
|
|
9700
9946
|
questions?: {
|
|
9701
|
-
id: string;
|
|
9702
9947
|
options: string[];
|
|
9948
|
+
id: string;
|
|
9703
9949
|
title: string;
|
|
9704
9950
|
}[] | undefined;
|
|
9705
9951
|
parentToolCallId?: string | undefined;
|
|
9706
9952
|
} | {
|
|
9707
9953
|
options: {
|
|
9708
|
-
id: string;
|
|
9709
9954
|
values: {
|
|
9710
9955
|
value: string;
|
|
9711
9956
|
name: string;
|
|
9712
9957
|
description?: string | undefined;
|
|
9713
9958
|
}[];
|
|
9959
|
+
id: string;
|
|
9714
9960
|
name: string;
|
|
9715
9961
|
current: string;
|
|
9716
9962
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -9757,8 +10003,8 @@ export declare const methods: {
|
|
|
9757
10003
|
sessionUpdate: "ls_permission_resolved";
|
|
9758
10004
|
optionId?: string | undefined;
|
|
9759
10005
|
answers?: {
|
|
9760
|
-
id: string;
|
|
9761
10006
|
values: string[];
|
|
10007
|
+
id: string;
|
|
9762
10008
|
other?: string | undefined;
|
|
9763
10009
|
}[] | undefined;
|
|
9764
10010
|
} | {
|
|
@@ -9766,7 +10012,7 @@ export declare const methods: {
|
|
|
9766
10012
|
sessionUpdate: "ls_driver";
|
|
9767
10013
|
deviceId?: string | undefined;
|
|
9768
10014
|
} | {
|
|
9769
|
-
state: "
|
|
10015
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
9770
10016
|
sessionUpdate: "ls_status";
|
|
9771
10017
|
} | {
|
|
9772
10018
|
task: {
|
|
@@ -10021,13 +10267,13 @@ export declare const methods: {
|
|
|
10021
10267
|
data: z.ZodOptional<z.ZodString>;
|
|
10022
10268
|
uri: z.ZodOptional<z.ZodString>;
|
|
10023
10269
|
}, "strip", z.ZodTypeAny, {
|
|
10024
|
-
mimeType: string;
|
|
10025
10270
|
type: "image";
|
|
10271
|
+
mimeType: string;
|
|
10026
10272
|
data?: string | undefined;
|
|
10027
10273
|
uri?: string | undefined;
|
|
10028
10274
|
}, {
|
|
10029
|
-
mimeType: string;
|
|
10030
10275
|
type: "image";
|
|
10276
|
+
mimeType: string;
|
|
10031
10277
|
data?: string | undefined;
|
|
10032
10278
|
uri?: string | undefined;
|
|
10033
10279
|
}>, z.ZodObject<{
|
|
@@ -10059,8 +10305,8 @@ export declare const methods: {
|
|
|
10059
10305
|
type: "text";
|
|
10060
10306
|
text: string;
|
|
10061
10307
|
} | {
|
|
10062
|
-
mimeType: string;
|
|
10063
10308
|
type: "image";
|
|
10309
|
+
mimeType: string;
|
|
10064
10310
|
data?: string | undefined;
|
|
10065
10311
|
uri?: string | undefined;
|
|
10066
10312
|
} | {
|
|
@@ -10077,8 +10323,8 @@ export declare const methods: {
|
|
|
10077
10323
|
type: "text";
|
|
10078
10324
|
text: string;
|
|
10079
10325
|
} | {
|
|
10080
|
-
mimeType: string;
|
|
10081
10326
|
type: "image";
|
|
10327
|
+
mimeType: string;
|
|
10082
10328
|
data?: string | undefined;
|
|
10083
10329
|
uri?: string | undefined;
|
|
10084
10330
|
} | {
|
|
@@ -10139,27 +10385,27 @@ export declare const methods: {
|
|
|
10139
10385
|
values: z.ZodArray<z.ZodString, "many">;
|
|
10140
10386
|
other: z.ZodOptional<z.ZodString>;
|
|
10141
10387
|
}, "strip", z.ZodTypeAny, {
|
|
10142
|
-
id: string;
|
|
10143
10388
|
values: string[];
|
|
10389
|
+
id: string;
|
|
10144
10390
|
other?: string | undefined;
|
|
10145
10391
|
}, {
|
|
10146
|
-
id: string;
|
|
10147
10392
|
values: string[];
|
|
10393
|
+
id: string;
|
|
10148
10394
|
other?: string | undefined;
|
|
10149
10395
|
}>, "many">;
|
|
10150
10396
|
}, "strip", z.ZodTypeAny, {
|
|
10151
10397
|
requestId: string;
|
|
10152
10398
|
answers: {
|
|
10153
|
-
id: string;
|
|
10154
10399
|
values: string[];
|
|
10400
|
+
id: string;
|
|
10155
10401
|
other?: string | undefined;
|
|
10156
10402
|
}[];
|
|
10157
10403
|
sessionId: string;
|
|
10158
10404
|
}, {
|
|
10159
10405
|
requestId: string;
|
|
10160
10406
|
answers: {
|
|
10161
|
-
id: string;
|
|
10162
10407
|
values: string[];
|
|
10408
|
+
id: string;
|
|
10163
10409
|
other?: string | undefined;
|
|
10164
10410
|
}[];
|
|
10165
10411
|
sessionId: string;
|
|
@@ -10247,16 +10493,16 @@ export declare const methods: {
|
|
|
10247
10493
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
10248
10494
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10249
10495
|
}, "strip", z.ZodTypeAny, {
|
|
10250
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10251
10496
|
objective: string;
|
|
10497
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10252
10498
|
tokenBudget?: number | null | undefined;
|
|
10253
10499
|
tokensUsed?: number | undefined;
|
|
10254
10500
|
timeUsedSeconds?: number | undefined;
|
|
10255
10501
|
iterations?: number | undefined;
|
|
10256
10502
|
lastReason?: string | null | undefined;
|
|
10257
10503
|
}, {
|
|
10258
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10259
10504
|
objective: string;
|
|
10505
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10260
10506
|
tokenBudget?: number | null | undefined;
|
|
10261
10507
|
tokensUsed?: number | undefined;
|
|
10262
10508
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10265,8 +10511,8 @@ export declare const methods: {
|
|
|
10265
10511
|
}>>;
|
|
10266
10512
|
}, "strip", z.ZodTypeAny, {
|
|
10267
10513
|
goal: {
|
|
10268
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10269
10514
|
objective: string;
|
|
10515
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10270
10516
|
tokenBudget?: number | null | undefined;
|
|
10271
10517
|
tokensUsed?: number | undefined;
|
|
10272
10518
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10275,8 +10521,8 @@ export declare const methods: {
|
|
|
10275
10521
|
} | null;
|
|
10276
10522
|
}, {
|
|
10277
10523
|
goal: {
|
|
10278
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10279
10524
|
objective: string;
|
|
10525
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10280
10526
|
tokenBudget?: number | null | undefined;
|
|
10281
10527
|
tokensUsed?: number | undefined;
|
|
10282
10528
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10509,6 +10755,19 @@ export declare const methods: {
|
|
|
10509
10755
|
required?: boolean | undefined;
|
|
10510
10756
|
}[] | undefined;
|
|
10511
10757
|
}>>;
|
|
10758
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10759
|
+
id: z.ZodString;
|
|
10760
|
+
title: z.ZodString;
|
|
10761
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
10762
|
+
}, "strip", z.ZodTypeAny, {
|
|
10763
|
+
options: string[];
|
|
10764
|
+
id: string;
|
|
10765
|
+
title: string;
|
|
10766
|
+
}, {
|
|
10767
|
+
options: string[];
|
|
10768
|
+
id: string;
|
|
10769
|
+
title: string;
|
|
10770
|
+
}>, "many">>;
|
|
10512
10771
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10513
10772
|
clientMessageId: z.ZodString;
|
|
10514
10773
|
text: z.ZodString;
|
|
@@ -10554,7 +10813,7 @@ export declare const methods: {
|
|
|
10554
10813
|
}>>;
|
|
10555
10814
|
}, "strip", z.ZodTypeAny, {
|
|
10556
10815
|
id: string;
|
|
10557
|
-
state: "
|
|
10816
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10558
10817
|
lastSeq: number;
|
|
10559
10818
|
agent: string;
|
|
10560
10819
|
nativeId: string;
|
|
@@ -10597,6 +10856,11 @@ export declare const methods: {
|
|
|
10597
10856
|
required?: boolean | undefined;
|
|
10598
10857
|
}[] | undefined;
|
|
10599
10858
|
} | undefined;
|
|
10859
|
+
asyncQuestions?: {
|
|
10860
|
+
options: string[];
|
|
10861
|
+
id: string;
|
|
10862
|
+
title: string;
|
|
10863
|
+
}[] | undefined;
|
|
10600
10864
|
queue?: {
|
|
10601
10865
|
images: number;
|
|
10602
10866
|
text: string;
|
|
@@ -10616,7 +10880,7 @@ export declare const methods: {
|
|
|
10616
10880
|
} | undefined;
|
|
10617
10881
|
}, {
|
|
10618
10882
|
id: string;
|
|
10619
|
-
state: "
|
|
10883
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10620
10884
|
lastSeq: number;
|
|
10621
10885
|
agent: string;
|
|
10622
10886
|
nativeId: string;
|
|
@@ -10659,6 +10923,11 @@ export declare const methods: {
|
|
|
10659
10923
|
required?: boolean | undefined;
|
|
10660
10924
|
}[] | undefined;
|
|
10661
10925
|
} | undefined;
|
|
10926
|
+
asyncQuestions?: {
|
|
10927
|
+
options: string[];
|
|
10928
|
+
id: string;
|
|
10929
|
+
title: string;
|
|
10930
|
+
}[] | undefined;
|
|
10662
10931
|
queue?: {
|
|
10663
10932
|
images: number;
|
|
10664
10933
|
text: string;
|
|
@@ -10680,7 +10949,7 @@ export declare const methods: {
|
|
|
10680
10949
|
}, "strip", z.ZodTypeAny, {
|
|
10681
10950
|
session: {
|
|
10682
10951
|
id: string;
|
|
10683
|
-
state: "
|
|
10952
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10684
10953
|
lastSeq: number;
|
|
10685
10954
|
agent: string;
|
|
10686
10955
|
nativeId: string;
|
|
@@ -10723,6 +10992,11 @@ export declare const methods: {
|
|
|
10723
10992
|
required?: boolean | undefined;
|
|
10724
10993
|
}[] | undefined;
|
|
10725
10994
|
} | undefined;
|
|
10995
|
+
asyncQuestions?: {
|
|
10996
|
+
options: string[];
|
|
10997
|
+
id: string;
|
|
10998
|
+
title: string;
|
|
10999
|
+
}[] | undefined;
|
|
10726
11000
|
queue?: {
|
|
10727
11001
|
images: number;
|
|
10728
11002
|
text: string;
|
|
@@ -10744,7 +11018,7 @@ export declare const methods: {
|
|
|
10744
11018
|
}, {
|
|
10745
11019
|
session: {
|
|
10746
11020
|
id: string;
|
|
10747
|
-
state: "
|
|
11021
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10748
11022
|
lastSeq: number;
|
|
10749
11023
|
agent: string;
|
|
10750
11024
|
nativeId: string;
|
|
@@ -10787,6 +11061,11 @@ export declare const methods: {
|
|
|
10787
11061
|
required?: boolean | undefined;
|
|
10788
11062
|
}[] | undefined;
|
|
10789
11063
|
} | undefined;
|
|
11064
|
+
asyncQuestions?: {
|
|
11065
|
+
options: string[];
|
|
11066
|
+
id: string;
|
|
11067
|
+
title: string;
|
|
11068
|
+
}[] | undefined;
|
|
10790
11069
|
queue?: {
|
|
10791
11070
|
images: number;
|
|
10792
11071
|
text: string;
|
|
@@ -10963,6 +11242,19 @@ export declare const methods: {
|
|
|
10963
11242
|
required?: boolean | undefined;
|
|
10964
11243
|
}[] | undefined;
|
|
10965
11244
|
}>>;
|
|
11245
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11246
|
+
id: z.ZodString;
|
|
11247
|
+
title: z.ZodString;
|
|
11248
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
11249
|
+
}, "strip", z.ZodTypeAny, {
|
|
11250
|
+
options: string[];
|
|
11251
|
+
id: string;
|
|
11252
|
+
title: string;
|
|
11253
|
+
}, {
|
|
11254
|
+
options: string[];
|
|
11255
|
+
id: string;
|
|
11256
|
+
title: string;
|
|
11257
|
+
}>, "many">>;
|
|
10966
11258
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10967
11259
|
clientMessageId: z.ZodString;
|
|
10968
11260
|
text: z.ZodString;
|
|
@@ -11008,7 +11300,7 @@ export declare const methods: {
|
|
|
11008
11300
|
}>>;
|
|
11009
11301
|
}, "strip", z.ZodTypeAny, {
|
|
11010
11302
|
id: string;
|
|
11011
|
-
state: "
|
|
11303
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11012
11304
|
lastSeq: number;
|
|
11013
11305
|
agent: string;
|
|
11014
11306
|
nativeId: string;
|
|
@@ -11051,6 +11343,11 @@ export declare const methods: {
|
|
|
11051
11343
|
required?: boolean | undefined;
|
|
11052
11344
|
}[] | undefined;
|
|
11053
11345
|
} | undefined;
|
|
11346
|
+
asyncQuestions?: {
|
|
11347
|
+
options: string[];
|
|
11348
|
+
id: string;
|
|
11349
|
+
title: string;
|
|
11350
|
+
}[] | undefined;
|
|
11054
11351
|
queue?: {
|
|
11055
11352
|
images: number;
|
|
11056
11353
|
text: string;
|
|
@@ -11070,7 +11367,7 @@ export declare const methods: {
|
|
|
11070
11367
|
} | undefined;
|
|
11071
11368
|
}, {
|
|
11072
11369
|
id: string;
|
|
11073
|
-
state: "
|
|
11370
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11074
11371
|
lastSeq: number;
|
|
11075
11372
|
agent: string;
|
|
11076
11373
|
nativeId: string;
|
|
@@ -11113,6 +11410,11 @@ export declare const methods: {
|
|
|
11113
11410
|
required?: boolean | undefined;
|
|
11114
11411
|
}[] | undefined;
|
|
11115
11412
|
} | undefined;
|
|
11413
|
+
asyncQuestions?: {
|
|
11414
|
+
options: string[];
|
|
11415
|
+
id: string;
|
|
11416
|
+
title: string;
|
|
11417
|
+
}[] | undefined;
|
|
11116
11418
|
queue?: {
|
|
11117
11419
|
images: number;
|
|
11118
11420
|
text: string;
|
|
@@ -11134,7 +11436,7 @@ export declare const methods: {
|
|
|
11134
11436
|
}, "strip", z.ZodTypeAny, {
|
|
11135
11437
|
session: {
|
|
11136
11438
|
id: string;
|
|
11137
|
-
state: "
|
|
11439
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11138
11440
|
lastSeq: number;
|
|
11139
11441
|
agent: string;
|
|
11140
11442
|
nativeId: string;
|
|
@@ -11177,6 +11479,11 @@ export declare const methods: {
|
|
|
11177
11479
|
required?: boolean | undefined;
|
|
11178
11480
|
}[] | undefined;
|
|
11179
11481
|
} | undefined;
|
|
11482
|
+
asyncQuestions?: {
|
|
11483
|
+
options: string[];
|
|
11484
|
+
id: string;
|
|
11485
|
+
title: string;
|
|
11486
|
+
}[] | undefined;
|
|
11180
11487
|
queue?: {
|
|
11181
11488
|
images: number;
|
|
11182
11489
|
text: string;
|
|
@@ -11198,7 +11505,7 @@ export declare const methods: {
|
|
|
11198
11505
|
}, {
|
|
11199
11506
|
session: {
|
|
11200
11507
|
id: string;
|
|
11201
|
-
state: "
|
|
11508
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11202
11509
|
lastSeq: number;
|
|
11203
11510
|
agent: string;
|
|
11204
11511
|
nativeId: string;
|
|
@@ -11241,6 +11548,11 @@ export declare const methods: {
|
|
|
11241
11548
|
required?: boolean | undefined;
|
|
11242
11549
|
}[] | undefined;
|
|
11243
11550
|
} | undefined;
|
|
11551
|
+
asyncQuestions?: {
|
|
11552
|
+
options: string[];
|
|
11553
|
+
id: string;
|
|
11554
|
+
title: string;
|
|
11555
|
+
}[] | undefined;
|
|
11244
11556
|
queue?: {
|
|
11245
11557
|
images: number;
|
|
11246
11558
|
text: string;
|
|
@@ -11837,9 +12149,9 @@ export declare const methods: {
|
|
|
11837
12149
|
size: number;
|
|
11838
12150
|
truncated: boolean;
|
|
11839
12151
|
modifiedAt: number;
|
|
12152
|
+
text?: string | undefined;
|
|
11840
12153
|
mimeType?: string | undefined;
|
|
11841
12154
|
data?: string | undefined;
|
|
11842
|
-
text?: string | undefined;
|
|
11843
12155
|
nextOffset?: number | undefined;
|
|
11844
12156
|
}, {
|
|
11845
12157
|
path: string;
|
|
@@ -11847,9 +12159,9 @@ export declare const methods: {
|
|
|
11847
12159
|
size: number;
|
|
11848
12160
|
truncated: boolean;
|
|
11849
12161
|
modifiedAt: number;
|
|
12162
|
+
text?: string | undefined;
|
|
11850
12163
|
mimeType?: string | undefined;
|
|
11851
12164
|
data?: string | undefined;
|
|
11852
|
-
text?: string | undefined;
|
|
11853
12165
|
nextOffset?: number | undefined;
|
|
11854
12166
|
}>;
|
|
11855
12167
|
};
|
|
@@ -11864,12 +12176,12 @@ export declare const methods: {
|
|
|
11864
12176
|
/** base64; up to ~30 MB of file. */
|
|
11865
12177
|
data: z.ZodString;
|
|
11866
12178
|
}, "strip", z.ZodTypeAny, {
|
|
11867
|
-
data: string;
|
|
11868
12179
|
name: string;
|
|
12180
|
+
data: string;
|
|
11869
12181
|
dir: string;
|
|
11870
12182
|
}, {
|
|
11871
|
-
data: string;
|
|
11872
12183
|
name: string;
|
|
12184
|
+
data: string;
|
|
11873
12185
|
dir: string;
|
|
11874
12186
|
}>;
|
|
11875
12187
|
readonly result: z.ZodObject<{
|
|
@@ -12304,14 +12616,14 @@ export declare const methods: {
|
|
|
12304
12616
|
rows: z.ZodNumber;
|
|
12305
12617
|
data: z.ZodString;
|
|
12306
12618
|
}, "strip", z.ZodTypeAny, {
|
|
12307
|
-
data: string;
|
|
12308
12619
|
cols: number;
|
|
12309
12620
|
rows: number;
|
|
12621
|
+
data: string;
|
|
12310
12622
|
frame: number;
|
|
12311
12623
|
}, {
|
|
12312
|
-
data: string;
|
|
12313
12624
|
cols: number;
|
|
12314
12625
|
rows: number;
|
|
12626
|
+
data: string;
|
|
12315
12627
|
frame: number;
|
|
12316
12628
|
}>, "many">;
|
|
12317
12629
|
nextFrame: z.ZodNumber;
|
|
@@ -12319,18 +12631,18 @@ export declare const methods: {
|
|
|
12319
12631
|
}, "strip", z.ZodTypeAny, {
|
|
12320
12632
|
done: boolean;
|
|
12321
12633
|
frames: {
|
|
12322
|
-
data: string;
|
|
12323
12634
|
cols: number;
|
|
12324
12635
|
rows: number;
|
|
12636
|
+
data: string;
|
|
12325
12637
|
frame: number;
|
|
12326
12638
|
}[];
|
|
12327
12639
|
nextFrame: number;
|
|
12328
12640
|
}, {
|
|
12329
12641
|
done: boolean;
|
|
12330
12642
|
frames: {
|
|
12331
|
-
data: string;
|
|
12332
12643
|
cols: number;
|
|
12333
12644
|
rows: number;
|
|
12645
|
+
data: string;
|
|
12334
12646
|
frame: number;
|
|
12335
12647
|
}[];
|
|
12336
12648
|
nextFrame: number;
|
|
@@ -12611,13 +12923,13 @@ export declare const notifications: {
|
|
|
12611
12923
|
data: z.ZodOptional<z.ZodString>;
|
|
12612
12924
|
uri: z.ZodOptional<z.ZodString>;
|
|
12613
12925
|
}, "strip", z.ZodTypeAny, {
|
|
12614
|
-
mimeType: string;
|
|
12615
12926
|
type: "image";
|
|
12927
|
+
mimeType: string;
|
|
12616
12928
|
data?: string | undefined;
|
|
12617
12929
|
uri?: string | undefined;
|
|
12618
12930
|
}, {
|
|
12619
|
-
mimeType: string;
|
|
12620
12931
|
type: "image";
|
|
12932
|
+
mimeType: string;
|
|
12621
12933
|
data?: string | undefined;
|
|
12622
12934
|
uri?: string | undefined;
|
|
12623
12935
|
}>, z.ZodObject<{
|
|
@@ -12641,8 +12953,8 @@ export declare const notifications: {
|
|
|
12641
12953
|
type: "text";
|
|
12642
12954
|
text: string;
|
|
12643
12955
|
} | {
|
|
12644
|
-
mimeType: string;
|
|
12645
12956
|
type: "image";
|
|
12957
|
+
mimeType: string;
|
|
12646
12958
|
data?: string | undefined;
|
|
12647
12959
|
uri?: string | undefined;
|
|
12648
12960
|
} | {
|
|
@@ -12658,8 +12970,8 @@ export declare const notifications: {
|
|
|
12658
12970
|
type: "text";
|
|
12659
12971
|
text: string;
|
|
12660
12972
|
} | {
|
|
12661
|
-
mimeType: string;
|
|
12662
12973
|
type: "image";
|
|
12974
|
+
mimeType: string;
|
|
12663
12975
|
data?: string | undefined;
|
|
12664
12976
|
uri?: string | undefined;
|
|
12665
12977
|
} | {
|
|
@@ -12689,13 +13001,13 @@ export declare const notifications: {
|
|
|
12689
13001
|
data: z.ZodOptional<z.ZodString>;
|
|
12690
13002
|
uri: z.ZodOptional<z.ZodString>;
|
|
12691
13003
|
}, "strip", z.ZodTypeAny, {
|
|
12692
|
-
mimeType: string;
|
|
12693
13004
|
type: "image";
|
|
13005
|
+
mimeType: string;
|
|
12694
13006
|
data?: string | undefined;
|
|
12695
13007
|
uri?: string | undefined;
|
|
12696
13008
|
}, {
|
|
12697
|
-
mimeType: string;
|
|
12698
13009
|
type: "image";
|
|
13010
|
+
mimeType: string;
|
|
12699
13011
|
data?: string | undefined;
|
|
12700
13012
|
uri?: string | undefined;
|
|
12701
13013
|
}>, z.ZodObject<{
|
|
@@ -12719,8 +13031,8 @@ export declare const notifications: {
|
|
|
12719
13031
|
type: "text";
|
|
12720
13032
|
text: string;
|
|
12721
13033
|
} | {
|
|
12722
|
-
mimeType: string;
|
|
12723
13034
|
type: "image";
|
|
13035
|
+
mimeType: string;
|
|
12724
13036
|
data?: string | undefined;
|
|
12725
13037
|
uri?: string | undefined;
|
|
12726
13038
|
} | {
|
|
@@ -12737,8 +13049,8 @@ export declare const notifications: {
|
|
|
12737
13049
|
type: "text";
|
|
12738
13050
|
text: string;
|
|
12739
13051
|
} | {
|
|
12740
|
-
mimeType: string;
|
|
12741
13052
|
type: "image";
|
|
13053
|
+
mimeType: string;
|
|
12742
13054
|
data?: string | undefined;
|
|
12743
13055
|
uri?: string | undefined;
|
|
12744
13056
|
} | {
|
|
@@ -12769,13 +13081,13 @@ export declare const notifications: {
|
|
|
12769
13081
|
data: z.ZodOptional<z.ZodString>;
|
|
12770
13082
|
uri: z.ZodOptional<z.ZodString>;
|
|
12771
13083
|
}, "strip", z.ZodTypeAny, {
|
|
12772
|
-
mimeType: string;
|
|
12773
13084
|
type: "image";
|
|
13085
|
+
mimeType: string;
|
|
12774
13086
|
data?: string | undefined;
|
|
12775
13087
|
uri?: string | undefined;
|
|
12776
13088
|
}, {
|
|
12777
|
-
mimeType: string;
|
|
12778
13089
|
type: "image";
|
|
13090
|
+
mimeType: string;
|
|
12779
13091
|
data?: string | undefined;
|
|
12780
13092
|
uri?: string | undefined;
|
|
12781
13093
|
}>, z.ZodObject<{
|
|
@@ -12799,8 +13111,8 @@ export declare const notifications: {
|
|
|
12799
13111
|
type: "text";
|
|
12800
13112
|
text: string;
|
|
12801
13113
|
} | {
|
|
12802
|
-
mimeType: string;
|
|
12803
13114
|
type: "image";
|
|
13115
|
+
mimeType: string;
|
|
12804
13116
|
data?: string | undefined;
|
|
12805
13117
|
uri?: string | undefined;
|
|
12806
13118
|
} | {
|
|
@@ -12817,8 +13129,8 @@ export declare const notifications: {
|
|
|
12817
13129
|
type: "text";
|
|
12818
13130
|
text: string;
|
|
12819
13131
|
} | {
|
|
12820
|
-
mimeType: string;
|
|
12821
13132
|
type: "image";
|
|
13133
|
+
mimeType: string;
|
|
12822
13134
|
data?: string | undefined;
|
|
12823
13135
|
uri?: string | undefined;
|
|
12824
13136
|
} | {
|
|
@@ -12855,13 +13167,13 @@ export declare const notifications: {
|
|
|
12855
13167
|
data: z.ZodOptional<z.ZodString>;
|
|
12856
13168
|
uri: z.ZodOptional<z.ZodString>;
|
|
12857
13169
|
}, "strip", z.ZodTypeAny, {
|
|
12858
|
-
mimeType: string;
|
|
12859
13170
|
type: "image";
|
|
13171
|
+
mimeType: string;
|
|
12860
13172
|
data?: string | undefined;
|
|
12861
13173
|
uri?: string | undefined;
|
|
12862
13174
|
}, {
|
|
12863
|
-
mimeType: string;
|
|
12864
13175
|
type: "image";
|
|
13176
|
+
mimeType: string;
|
|
12865
13177
|
data?: string | undefined;
|
|
12866
13178
|
uri?: string | undefined;
|
|
12867
13179
|
}>, z.ZodObject<{
|
|
@@ -12886,8 +13198,8 @@ export declare const notifications: {
|
|
|
12886
13198
|
type: "text";
|
|
12887
13199
|
text: string;
|
|
12888
13200
|
} | {
|
|
12889
|
-
mimeType: string;
|
|
12890
13201
|
type: "image";
|
|
13202
|
+
mimeType: string;
|
|
12891
13203
|
data?: string | undefined;
|
|
12892
13204
|
uri?: string | undefined;
|
|
12893
13205
|
} | {
|
|
@@ -12902,8 +13214,8 @@ export declare const notifications: {
|
|
|
12902
13214
|
type: "text";
|
|
12903
13215
|
text: string;
|
|
12904
13216
|
} | {
|
|
12905
|
-
mimeType: string;
|
|
12906
13217
|
type: "image";
|
|
13218
|
+
mimeType: string;
|
|
12907
13219
|
data?: string | undefined;
|
|
12908
13220
|
uri?: string | undefined;
|
|
12909
13221
|
} | {
|
|
@@ -13316,8 +13628,8 @@ export declare const notifications: {
|
|
|
13316
13628
|
type: "text";
|
|
13317
13629
|
text: string;
|
|
13318
13630
|
} | {
|
|
13319
|
-
mimeType: string;
|
|
13320
13631
|
type: "image";
|
|
13632
|
+
mimeType: string;
|
|
13321
13633
|
data?: string | undefined;
|
|
13322
13634
|
uri?: string | undefined;
|
|
13323
13635
|
} | {
|
|
@@ -13421,8 +13733,8 @@ export declare const notifications: {
|
|
|
13421
13733
|
type: "text";
|
|
13422
13734
|
text: string;
|
|
13423
13735
|
} | {
|
|
13424
|
-
mimeType: string;
|
|
13425
13736
|
type: "image";
|
|
13737
|
+
mimeType: string;
|
|
13426
13738
|
data?: string | undefined;
|
|
13427
13739
|
uri?: string | undefined;
|
|
13428
13740
|
} | {
|
|
@@ -13750,13 +14062,13 @@ export declare const notifications: {
|
|
|
13750
14062
|
data: z.ZodOptional<z.ZodString>;
|
|
13751
14063
|
uri: z.ZodOptional<z.ZodString>;
|
|
13752
14064
|
}, "strip", z.ZodTypeAny, {
|
|
13753
|
-
mimeType: string;
|
|
13754
14065
|
type: "image";
|
|
14066
|
+
mimeType: string;
|
|
13755
14067
|
data?: string | undefined;
|
|
13756
14068
|
uri?: string | undefined;
|
|
13757
14069
|
}, {
|
|
13758
|
-
mimeType: string;
|
|
13759
14070
|
type: "image";
|
|
14071
|
+
mimeType: string;
|
|
13760
14072
|
data?: string | undefined;
|
|
13761
14073
|
uri?: string | undefined;
|
|
13762
14074
|
}>, z.ZodObject<{
|
|
@@ -13781,8 +14093,8 @@ export declare const notifications: {
|
|
|
13781
14093
|
type: "text";
|
|
13782
14094
|
text: string;
|
|
13783
14095
|
} | {
|
|
13784
|
-
mimeType: string;
|
|
13785
14096
|
type: "image";
|
|
14097
|
+
mimeType: string;
|
|
13786
14098
|
data?: string | undefined;
|
|
13787
14099
|
uri?: string | undefined;
|
|
13788
14100
|
} | {
|
|
@@ -13797,8 +14109,8 @@ export declare const notifications: {
|
|
|
13797
14109
|
type: "text";
|
|
13798
14110
|
text: string;
|
|
13799
14111
|
} | {
|
|
13800
|
-
mimeType: string;
|
|
13801
14112
|
type: "image";
|
|
14113
|
+
mimeType: string;
|
|
13802
14114
|
data?: string | undefined;
|
|
13803
14115
|
uri?: string | undefined;
|
|
13804
14116
|
} | {
|
|
@@ -13926,8 +14238,8 @@ export declare const notifications: {
|
|
|
13926
14238
|
type: "text";
|
|
13927
14239
|
text: string;
|
|
13928
14240
|
} | {
|
|
13929
|
-
mimeType: string;
|
|
13930
14241
|
type: "image";
|
|
14242
|
+
mimeType: string;
|
|
13931
14243
|
data?: string | undefined;
|
|
13932
14244
|
uri?: string | undefined;
|
|
13933
14245
|
} | {
|
|
@@ -14027,8 +14339,8 @@ export declare const notifications: {
|
|
|
14027
14339
|
type: "text";
|
|
14028
14340
|
text: string;
|
|
14029
14341
|
} | {
|
|
14030
|
-
mimeType: string;
|
|
14031
14342
|
type: "image";
|
|
14343
|
+
mimeType: string;
|
|
14032
14344
|
data?: string | undefined;
|
|
14033
14345
|
uri?: string | undefined;
|
|
14034
14346
|
} | {
|
|
@@ -14094,16 +14406,16 @@ export declare const notifications: {
|
|
|
14094
14406
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
14095
14407
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14096
14408
|
}, "strip", z.ZodTypeAny, {
|
|
14097
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14098
14409
|
objective: string;
|
|
14410
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14099
14411
|
tokenBudget?: number | null | undefined;
|
|
14100
14412
|
tokensUsed?: number | undefined;
|
|
14101
14413
|
timeUsedSeconds?: number | undefined;
|
|
14102
14414
|
iterations?: number | undefined;
|
|
14103
14415
|
lastReason?: string | null | undefined;
|
|
14104
14416
|
}, {
|
|
14105
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14106
14417
|
objective: string;
|
|
14418
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14107
14419
|
tokenBudget?: number | null | undefined;
|
|
14108
14420
|
tokensUsed?: number | undefined;
|
|
14109
14421
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14113,8 +14425,8 @@ export declare const notifications: {
|
|
|
14113
14425
|
}, "strip", z.ZodTypeAny, {
|
|
14114
14426
|
sessionUpdate: "ls_goal";
|
|
14115
14427
|
goal: {
|
|
14116
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14117
14428
|
objective: string;
|
|
14429
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14118
14430
|
tokenBudget?: number | null | undefined;
|
|
14119
14431
|
tokensUsed?: number | undefined;
|
|
14120
14432
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14124,8 +14436,8 @@ export declare const notifications: {
|
|
|
14124
14436
|
}, {
|
|
14125
14437
|
sessionUpdate: "ls_goal";
|
|
14126
14438
|
goal: {
|
|
14127
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14128
14439
|
objective: string;
|
|
14440
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14129
14441
|
tokenBudget?: number | null | undefined;
|
|
14130
14442
|
tokensUsed?: number | undefined;
|
|
14131
14443
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14194,6 +14506,35 @@ export declare const notifications: {
|
|
|
14194
14506
|
sessionUpdate: "usage_update";
|
|
14195
14507
|
usedTokens?: number | undefined;
|
|
14196
14508
|
contextWindow?: number | undefined;
|
|
14509
|
+
}>, z.ZodObject<{
|
|
14510
|
+
sessionUpdate: z.ZodLiteral<"ls_async_questions">;
|
|
14511
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
14512
|
+
id: z.ZodString;
|
|
14513
|
+
title: z.ZodString;
|
|
14514
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
14515
|
+
}, "strip", z.ZodTypeAny, {
|
|
14516
|
+
options: string[];
|
|
14517
|
+
id: string;
|
|
14518
|
+
title: string;
|
|
14519
|
+
}, {
|
|
14520
|
+
options: string[];
|
|
14521
|
+
id: string;
|
|
14522
|
+
title: string;
|
|
14523
|
+
}>, "many">;
|
|
14524
|
+
}, "strip", z.ZodTypeAny, {
|
|
14525
|
+
questions: {
|
|
14526
|
+
options: string[];
|
|
14527
|
+
id: string;
|
|
14528
|
+
title: string;
|
|
14529
|
+
}[];
|
|
14530
|
+
sessionUpdate: "ls_async_questions";
|
|
14531
|
+
}, {
|
|
14532
|
+
questions: {
|
|
14533
|
+
options: string[];
|
|
14534
|
+
id: string;
|
|
14535
|
+
title: string;
|
|
14536
|
+
}[];
|
|
14537
|
+
sessionUpdate: "ls_async_questions";
|
|
14197
14538
|
}>, z.ZodObject<{
|
|
14198
14539
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
14199
14540
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -14204,12 +14545,12 @@ export declare const notifications: {
|
|
|
14204
14545
|
title: z.ZodString;
|
|
14205
14546
|
options: z.ZodArray<z.ZodString, "many">;
|
|
14206
14547
|
}, "strip", z.ZodTypeAny, {
|
|
14207
|
-
id: string;
|
|
14208
14548
|
options: string[];
|
|
14549
|
+
id: string;
|
|
14209
14550
|
title: string;
|
|
14210
14551
|
}, {
|
|
14211
|
-
id: string;
|
|
14212
14552
|
options: string[];
|
|
14553
|
+
id: string;
|
|
14213
14554
|
title: string;
|
|
14214
14555
|
}>, "many">>;
|
|
14215
14556
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14217,8 +14558,8 @@ export declare const notifications: {
|
|
|
14217
14558
|
messageId: string;
|
|
14218
14559
|
role: "agent" | "thought" | "user";
|
|
14219
14560
|
questions?: {
|
|
14220
|
-
id: string;
|
|
14221
14561
|
options: string[];
|
|
14562
|
+
id: string;
|
|
14222
14563
|
title: string;
|
|
14223
14564
|
}[] | undefined;
|
|
14224
14565
|
parentToolCallId?: string | undefined;
|
|
@@ -14227,8 +14568,8 @@ export declare const notifications: {
|
|
|
14227
14568
|
messageId: string;
|
|
14228
14569
|
role: "agent" | "thought" | "user";
|
|
14229
14570
|
questions?: {
|
|
14230
|
-
id: string;
|
|
14231
14571
|
options: string[];
|
|
14572
|
+
id: string;
|
|
14232
14573
|
title: string;
|
|
14233
14574
|
}[] | undefined;
|
|
14234
14575
|
parentToolCallId?: string | undefined;
|
|
@@ -14253,34 +14594,34 @@ export declare const notifications: {
|
|
|
14253
14594
|
description?: string | undefined;
|
|
14254
14595
|
}>, "many">;
|
|
14255
14596
|
}, "strip", z.ZodTypeAny, {
|
|
14256
|
-
id: string;
|
|
14257
14597
|
values: {
|
|
14258
14598
|
value: string;
|
|
14259
14599
|
name: string;
|
|
14260
14600
|
description?: string | undefined;
|
|
14261
14601
|
}[];
|
|
14602
|
+
id: string;
|
|
14262
14603
|
name: string;
|
|
14263
14604
|
category: "model" | "other" | "mode" | "effort";
|
|
14264
14605
|
current: string;
|
|
14265
14606
|
}, {
|
|
14266
|
-
id: string;
|
|
14267
14607
|
values: {
|
|
14268
14608
|
value: string;
|
|
14269
14609
|
name: string;
|
|
14270
14610
|
description?: string | undefined;
|
|
14271
14611
|
}[];
|
|
14612
|
+
id: string;
|
|
14272
14613
|
name: string;
|
|
14273
14614
|
current: string;
|
|
14274
14615
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
14275
14616
|
}>, "many">;
|
|
14276
14617
|
}, "strip", z.ZodTypeAny, {
|
|
14277
14618
|
options: {
|
|
14278
|
-
id: string;
|
|
14279
14619
|
values: {
|
|
14280
14620
|
value: string;
|
|
14281
14621
|
name: string;
|
|
14282
14622
|
description?: string | undefined;
|
|
14283
14623
|
}[];
|
|
14624
|
+
id: string;
|
|
14284
14625
|
name: string;
|
|
14285
14626
|
category: "model" | "other" | "mode" | "effort";
|
|
14286
14627
|
current: string;
|
|
@@ -14288,12 +14629,12 @@ export declare const notifications: {
|
|
|
14288
14629
|
sessionUpdate: "ls_config";
|
|
14289
14630
|
}, {
|
|
14290
14631
|
options: {
|
|
14291
|
-
id: string;
|
|
14292
14632
|
values: {
|
|
14293
14633
|
value: string;
|
|
14294
14634
|
name: string;
|
|
14295
14635
|
description?: string | undefined;
|
|
14296
14636
|
}[];
|
|
14637
|
+
id: string;
|
|
14297
14638
|
name: string;
|
|
14298
14639
|
current: string;
|
|
14299
14640
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -14458,12 +14799,12 @@ export declare const notifications: {
|
|
|
14458
14799
|
values: z.ZodArray<z.ZodString, "many">;
|
|
14459
14800
|
other: z.ZodOptional<z.ZodString>;
|
|
14460
14801
|
}, "strip", z.ZodTypeAny, {
|
|
14461
|
-
id: string;
|
|
14462
14802
|
values: string[];
|
|
14803
|
+
id: string;
|
|
14463
14804
|
other?: string | undefined;
|
|
14464
14805
|
}, {
|
|
14465
|
-
id: string;
|
|
14466
14806
|
values: string[];
|
|
14807
|
+
id: string;
|
|
14467
14808
|
other?: string | undefined;
|
|
14468
14809
|
}>, "many">>;
|
|
14469
14810
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14471,8 +14812,8 @@ export declare const notifications: {
|
|
|
14471
14812
|
sessionUpdate: "ls_permission_resolved";
|
|
14472
14813
|
optionId?: string | undefined;
|
|
14473
14814
|
answers?: {
|
|
14474
|
-
id: string;
|
|
14475
14815
|
values: string[];
|
|
14816
|
+
id: string;
|
|
14476
14817
|
other?: string | undefined;
|
|
14477
14818
|
}[] | undefined;
|
|
14478
14819
|
}, {
|
|
@@ -14480,8 +14821,8 @@ export declare const notifications: {
|
|
|
14480
14821
|
sessionUpdate: "ls_permission_resolved";
|
|
14481
14822
|
optionId?: string | undefined;
|
|
14482
14823
|
answers?: {
|
|
14483
|
-
id: string;
|
|
14484
14824
|
values: string[];
|
|
14825
|
+
id: string;
|
|
14485
14826
|
other?: string | undefined;
|
|
14486
14827
|
}[] | undefined;
|
|
14487
14828
|
}>, z.ZodObject<{
|
|
@@ -14500,10 +14841,10 @@ export declare const notifications: {
|
|
|
14500
14841
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
14501
14842
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
14502
14843
|
}, "strip", z.ZodTypeAny, {
|
|
14503
|
-
state: "
|
|
14844
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14504
14845
|
sessionUpdate: "ls_status";
|
|
14505
14846
|
}, {
|
|
14506
|
-
state: "
|
|
14847
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14507
14848
|
sessionUpdate: "ls_status";
|
|
14508
14849
|
}>, z.ZodObject<{
|
|
14509
14850
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -14606,8 +14947,8 @@ export declare const notifications: {
|
|
|
14606
14947
|
type: "text";
|
|
14607
14948
|
text: string;
|
|
14608
14949
|
} | {
|
|
14609
|
-
mimeType: string;
|
|
14610
14950
|
type: "image";
|
|
14951
|
+
mimeType: string;
|
|
14611
14952
|
data?: string | undefined;
|
|
14612
14953
|
uri?: string | undefined;
|
|
14613
14954
|
} | {
|
|
@@ -14623,8 +14964,8 @@ export declare const notifications: {
|
|
|
14623
14964
|
type: "text";
|
|
14624
14965
|
text: string;
|
|
14625
14966
|
} | {
|
|
14626
|
-
mimeType: string;
|
|
14627
14967
|
type: "image";
|
|
14968
|
+
mimeType: string;
|
|
14628
14969
|
data?: string | undefined;
|
|
14629
14970
|
uri?: string | undefined;
|
|
14630
14971
|
} | {
|
|
@@ -14641,8 +14982,8 @@ export declare const notifications: {
|
|
|
14641
14982
|
type: "text";
|
|
14642
14983
|
text: string;
|
|
14643
14984
|
} | {
|
|
14644
|
-
mimeType: string;
|
|
14645
14985
|
type: "image";
|
|
14986
|
+
mimeType: string;
|
|
14646
14987
|
data?: string | undefined;
|
|
14647
14988
|
uri?: string | undefined;
|
|
14648
14989
|
} | {
|
|
@@ -14729,8 +15070,8 @@ export declare const notifications: {
|
|
|
14729
15070
|
type: "text";
|
|
14730
15071
|
text: string;
|
|
14731
15072
|
} | {
|
|
14732
|
-
mimeType: string;
|
|
14733
15073
|
type: "image";
|
|
15074
|
+
mimeType: string;
|
|
14734
15075
|
data?: string | undefined;
|
|
14735
15076
|
uri?: string | undefined;
|
|
14736
15077
|
} | {
|
|
@@ -14833,8 +15174,8 @@ export declare const notifications: {
|
|
|
14833
15174
|
type: "text";
|
|
14834
15175
|
text: string;
|
|
14835
15176
|
} | {
|
|
14836
|
-
mimeType: string;
|
|
14837
15177
|
type: "image";
|
|
15178
|
+
mimeType: string;
|
|
14838
15179
|
data?: string | undefined;
|
|
14839
15180
|
uri?: string | undefined;
|
|
14840
15181
|
} | {
|
|
@@ -14870,8 +15211,8 @@ export declare const notifications: {
|
|
|
14870
15211
|
} | {
|
|
14871
15212
|
sessionUpdate: "ls_goal";
|
|
14872
15213
|
goal: {
|
|
14873
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14874
15214
|
objective: string;
|
|
15215
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14875
15216
|
tokenBudget?: number | null | undefined;
|
|
14876
15217
|
tokensUsed?: number | undefined;
|
|
14877
15218
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14896,24 +15237,31 @@ export declare const notifications: {
|
|
|
14896
15237
|
sessionUpdate: "usage_update";
|
|
14897
15238
|
usedTokens?: number | undefined;
|
|
14898
15239
|
contextWindow?: number | undefined;
|
|
15240
|
+
} | {
|
|
15241
|
+
questions: {
|
|
15242
|
+
options: string[];
|
|
15243
|
+
id: string;
|
|
15244
|
+
title: string;
|
|
15245
|
+
}[];
|
|
15246
|
+
sessionUpdate: "ls_async_questions";
|
|
14899
15247
|
} | {
|
|
14900
15248
|
sessionUpdate: "ls_message_done";
|
|
14901
15249
|
messageId: string;
|
|
14902
15250
|
role: "agent" | "thought" | "user";
|
|
14903
15251
|
questions?: {
|
|
14904
|
-
id: string;
|
|
14905
15252
|
options: string[];
|
|
15253
|
+
id: string;
|
|
14906
15254
|
title: string;
|
|
14907
15255
|
}[] | undefined;
|
|
14908
15256
|
parentToolCallId?: string | undefined;
|
|
14909
15257
|
} | {
|
|
14910
15258
|
options: {
|
|
14911
|
-
id: string;
|
|
14912
15259
|
values: {
|
|
14913
15260
|
value: string;
|
|
14914
15261
|
name: string;
|
|
14915
15262
|
description?: string | undefined;
|
|
14916
15263
|
}[];
|
|
15264
|
+
id: string;
|
|
14917
15265
|
name: string;
|
|
14918
15266
|
category: "model" | "other" | "mode" | "effort";
|
|
14919
15267
|
current: string;
|
|
@@ -14960,8 +15308,8 @@ export declare const notifications: {
|
|
|
14960
15308
|
sessionUpdate: "ls_permission_resolved";
|
|
14961
15309
|
optionId?: string | undefined;
|
|
14962
15310
|
answers?: {
|
|
14963
|
-
id: string;
|
|
14964
15311
|
values: string[];
|
|
15312
|
+
id: string;
|
|
14965
15313
|
other?: string | undefined;
|
|
14966
15314
|
}[] | undefined;
|
|
14967
15315
|
} | {
|
|
@@ -14969,7 +15317,7 @@ export declare const notifications: {
|
|
|
14969
15317
|
sessionUpdate: "ls_driver";
|
|
14970
15318
|
deviceId?: string | undefined;
|
|
14971
15319
|
} | {
|
|
14972
|
-
state: "
|
|
15320
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14973
15321
|
sessionUpdate: "ls_status";
|
|
14974
15322
|
} | {
|
|
14975
15323
|
task: {
|
|
@@ -15003,8 +15351,8 @@ export declare const notifications: {
|
|
|
15003
15351
|
type: "text";
|
|
15004
15352
|
text: string;
|
|
15005
15353
|
} | {
|
|
15006
|
-
mimeType: string;
|
|
15007
15354
|
type: "image";
|
|
15355
|
+
mimeType: string;
|
|
15008
15356
|
data?: string | undefined;
|
|
15009
15357
|
uri?: string | undefined;
|
|
15010
15358
|
} | {
|
|
@@ -15020,8 +15368,8 @@ export declare const notifications: {
|
|
|
15020
15368
|
type: "text";
|
|
15021
15369
|
text: string;
|
|
15022
15370
|
} | {
|
|
15023
|
-
mimeType: string;
|
|
15024
15371
|
type: "image";
|
|
15372
|
+
mimeType: string;
|
|
15025
15373
|
data?: string | undefined;
|
|
15026
15374
|
uri?: string | undefined;
|
|
15027
15375
|
} | {
|
|
@@ -15038,8 +15386,8 @@ export declare const notifications: {
|
|
|
15038
15386
|
type: "text";
|
|
15039
15387
|
text: string;
|
|
15040
15388
|
} | {
|
|
15041
|
-
mimeType: string;
|
|
15042
15389
|
type: "image";
|
|
15390
|
+
mimeType: string;
|
|
15043
15391
|
data?: string | undefined;
|
|
15044
15392
|
uri?: string | undefined;
|
|
15045
15393
|
} | {
|
|
@@ -15126,8 +15474,8 @@ export declare const notifications: {
|
|
|
15126
15474
|
type: "text";
|
|
15127
15475
|
text: string;
|
|
15128
15476
|
} | {
|
|
15129
|
-
mimeType: string;
|
|
15130
15477
|
type: "image";
|
|
15478
|
+
mimeType: string;
|
|
15131
15479
|
data?: string | undefined;
|
|
15132
15480
|
uri?: string | undefined;
|
|
15133
15481
|
} | {
|
|
@@ -15230,8 +15578,8 @@ export declare const notifications: {
|
|
|
15230
15578
|
type: "text";
|
|
15231
15579
|
text: string;
|
|
15232
15580
|
} | {
|
|
15233
|
-
mimeType: string;
|
|
15234
15581
|
type: "image";
|
|
15582
|
+
mimeType: string;
|
|
15235
15583
|
data?: string | undefined;
|
|
15236
15584
|
uri?: string | undefined;
|
|
15237
15585
|
} | {
|
|
@@ -15267,8 +15615,8 @@ export declare const notifications: {
|
|
|
15267
15615
|
} | {
|
|
15268
15616
|
sessionUpdate: "ls_goal";
|
|
15269
15617
|
goal: {
|
|
15270
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
15271
15618
|
objective: string;
|
|
15619
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
15272
15620
|
tokenBudget?: number | null | undefined;
|
|
15273
15621
|
tokensUsed?: number | undefined;
|
|
15274
15622
|
timeUsedSeconds?: number | undefined;
|
|
@@ -15293,24 +15641,31 @@ export declare const notifications: {
|
|
|
15293
15641
|
sessionUpdate: "usage_update";
|
|
15294
15642
|
usedTokens?: number | undefined;
|
|
15295
15643
|
contextWindow?: number | undefined;
|
|
15644
|
+
} | {
|
|
15645
|
+
questions: {
|
|
15646
|
+
options: string[];
|
|
15647
|
+
id: string;
|
|
15648
|
+
title: string;
|
|
15649
|
+
}[];
|
|
15650
|
+
sessionUpdate: "ls_async_questions";
|
|
15296
15651
|
} | {
|
|
15297
15652
|
sessionUpdate: "ls_message_done";
|
|
15298
15653
|
messageId: string;
|
|
15299
15654
|
role: "agent" | "thought" | "user";
|
|
15300
15655
|
questions?: {
|
|
15301
|
-
id: string;
|
|
15302
15656
|
options: string[];
|
|
15657
|
+
id: string;
|
|
15303
15658
|
title: string;
|
|
15304
15659
|
}[] | undefined;
|
|
15305
15660
|
parentToolCallId?: string | undefined;
|
|
15306
15661
|
} | {
|
|
15307
15662
|
options: {
|
|
15308
|
-
id: string;
|
|
15309
15663
|
values: {
|
|
15310
15664
|
value: string;
|
|
15311
15665
|
name: string;
|
|
15312
15666
|
description?: string | undefined;
|
|
15313
15667
|
}[];
|
|
15668
|
+
id: string;
|
|
15314
15669
|
name: string;
|
|
15315
15670
|
current: string;
|
|
15316
15671
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -15357,8 +15712,8 @@ export declare const notifications: {
|
|
|
15357
15712
|
sessionUpdate: "ls_permission_resolved";
|
|
15358
15713
|
optionId?: string | undefined;
|
|
15359
15714
|
answers?: {
|
|
15360
|
-
id: string;
|
|
15361
15715
|
values: string[];
|
|
15716
|
+
id: string;
|
|
15362
15717
|
other?: string | undefined;
|
|
15363
15718
|
}[] | undefined;
|
|
15364
15719
|
} | {
|
|
@@ -15366,7 +15721,7 @@ export declare const notifications: {
|
|
|
15366
15721
|
sessionUpdate: "ls_driver";
|
|
15367
15722
|
deviceId?: string | undefined;
|
|
15368
15723
|
} | {
|
|
15369
|
-
state: "
|
|
15724
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15370
15725
|
sessionUpdate: "ls_status";
|
|
15371
15726
|
} | {
|
|
15372
15727
|
task: {
|
|
@@ -15554,6 +15909,19 @@ export declare const notifications: {
|
|
|
15554
15909
|
required?: boolean | undefined;
|
|
15555
15910
|
}[] | undefined;
|
|
15556
15911
|
}>>;
|
|
15912
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15913
|
+
id: z.ZodString;
|
|
15914
|
+
title: z.ZodString;
|
|
15915
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
15916
|
+
}, "strip", z.ZodTypeAny, {
|
|
15917
|
+
options: string[];
|
|
15918
|
+
id: string;
|
|
15919
|
+
title: string;
|
|
15920
|
+
}, {
|
|
15921
|
+
options: string[];
|
|
15922
|
+
id: string;
|
|
15923
|
+
title: string;
|
|
15924
|
+
}>, "many">>;
|
|
15557
15925
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15558
15926
|
clientMessageId: z.ZodString;
|
|
15559
15927
|
text: z.ZodString;
|
|
@@ -15599,7 +15967,7 @@ export declare const notifications: {
|
|
|
15599
15967
|
}>>;
|
|
15600
15968
|
}, "strip", z.ZodTypeAny, {
|
|
15601
15969
|
id: string;
|
|
15602
|
-
state: "
|
|
15970
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15603
15971
|
lastSeq: number;
|
|
15604
15972
|
agent: string;
|
|
15605
15973
|
nativeId: string;
|
|
@@ -15642,6 +16010,11 @@ export declare const notifications: {
|
|
|
15642
16010
|
required?: boolean | undefined;
|
|
15643
16011
|
}[] | undefined;
|
|
15644
16012
|
} | undefined;
|
|
16013
|
+
asyncQuestions?: {
|
|
16014
|
+
options: string[];
|
|
16015
|
+
id: string;
|
|
16016
|
+
title: string;
|
|
16017
|
+
}[] | undefined;
|
|
15645
16018
|
queue?: {
|
|
15646
16019
|
images: number;
|
|
15647
16020
|
text: string;
|
|
@@ -15661,7 +16034,7 @@ export declare const notifications: {
|
|
|
15661
16034
|
} | undefined;
|
|
15662
16035
|
}, {
|
|
15663
16036
|
id: string;
|
|
15664
|
-
state: "
|
|
16037
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15665
16038
|
lastSeq: number;
|
|
15666
16039
|
agent: string;
|
|
15667
16040
|
nativeId: string;
|
|
@@ -15704,6 +16077,11 @@ export declare const notifications: {
|
|
|
15704
16077
|
required?: boolean | undefined;
|
|
15705
16078
|
}[] | undefined;
|
|
15706
16079
|
} | undefined;
|
|
16080
|
+
asyncQuestions?: {
|
|
16081
|
+
options: string[];
|
|
16082
|
+
id: string;
|
|
16083
|
+
title: string;
|
|
16084
|
+
}[] | undefined;
|
|
15707
16085
|
queue?: {
|
|
15708
16086
|
images: number;
|
|
15709
16087
|
text: string;
|
|
@@ -15725,7 +16103,7 @@ export declare const notifications: {
|
|
|
15725
16103
|
}, "strip", z.ZodTypeAny, {
|
|
15726
16104
|
session: {
|
|
15727
16105
|
id: string;
|
|
15728
|
-
state: "
|
|
16106
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15729
16107
|
lastSeq: number;
|
|
15730
16108
|
agent: string;
|
|
15731
16109
|
nativeId: string;
|
|
@@ -15768,6 +16146,11 @@ export declare const notifications: {
|
|
|
15768
16146
|
required?: boolean | undefined;
|
|
15769
16147
|
}[] | undefined;
|
|
15770
16148
|
} | undefined;
|
|
16149
|
+
asyncQuestions?: {
|
|
16150
|
+
options: string[];
|
|
16151
|
+
id: string;
|
|
16152
|
+
title: string;
|
|
16153
|
+
}[] | undefined;
|
|
15771
16154
|
queue?: {
|
|
15772
16155
|
images: number;
|
|
15773
16156
|
text: string;
|
|
@@ -15789,7 +16172,7 @@ export declare const notifications: {
|
|
|
15789
16172
|
}, {
|
|
15790
16173
|
session: {
|
|
15791
16174
|
id: string;
|
|
15792
|
-
state: "
|
|
16175
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15793
16176
|
lastSeq: number;
|
|
15794
16177
|
agent: string;
|
|
15795
16178
|
nativeId: string;
|
|
@@ -15832,6 +16215,11 @@ export declare const notifications: {
|
|
|
15832
16215
|
required?: boolean | undefined;
|
|
15833
16216
|
}[] | undefined;
|
|
15834
16217
|
} | undefined;
|
|
16218
|
+
asyncQuestions?: {
|
|
16219
|
+
options: string[];
|
|
16220
|
+
id: string;
|
|
16221
|
+
title: string;
|
|
16222
|
+
}[] | undefined;
|
|
15835
16223
|
queue?: {
|
|
15836
16224
|
images: number;
|
|
15837
16225
|
text: string;
|