@linkshell/wire 0.2.6 → 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 +31 -4
- package/dist/model.js +4 -0
- package/dist/model.js.map +1 -1
- package/dist/relay.d.ts +2 -2
- package/dist/rpc.d.ts +727 -284
- package/dist/updates.d.ts +216 -112
- package/dist/updates.js +8 -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 +4 -0
- package/src/updates.ts +8 -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
|
} | {
|
|
@@ -2636,6 +2768,7 @@ export declare const methods: {
|
|
|
2636
2768
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
2637
2769
|
task: z.ZodOptional<z.ZodString>;
|
|
2638
2770
|
agentType: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2639
2772
|
model: z.ZodOptional<z.ZodString>;
|
|
2640
2773
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
2641
2774
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -2765,6 +2898,7 @@ export declare const methods: {
|
|
|
2765
2898
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
2766
2899
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
2767
2900
|
model?: string | undefined;
|
|
2901
|
+
name?: string | undefined;
|
|
2768
2902
|
task?: string | undefined;
|
|
2769
2903
|
agentType?: string | undefined;
|
|
2770
2904
|
workflow?: {
|
|
@@ -2802,6 +2936,7 @@ export declare const methods: {
|
|
|
2802
2936
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
2803
2937
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
2804
2938
|
model?: string | undefined;
|
|
2939
|
+
name?: string | undefined;
|
|
2805
2940
|
task?: string | undefined;
|
|
2806
2941
|
agentType?: string | undefined;
|
|
2807
2942
|
workflow?: {
|
|
@@ -2907,6 +3042,7 @@ export declare const methods: {
|
|
|
2907
3042
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
2908
3043
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
2909
3044
|
model?: string | undefined;
|
|
3045
|
+
name?: string | undefined;
|
|
2910
3046
|
task?: string | undefined;
|
|
2911
3047
|
agentType?: string | undefined;
|
|
2912
3048
|
workflow?: {
|
|
@@ -2966,8 +3102,8 @@ export declare const methods: {
|
|
|
2966
3102
|
type: "text";
|
|
2967
3103
|
text: string;
|
|
2968
3104
|
} | {
|
|
2969
|
-
mimeType: string;
|
|
2970
3105
|
type: "image";
|
|
3106
|
+
mimeType: string;
|
|
2971
3107
|
data?: string | undefined;
|
|
2972
3108
|
uri?: string | undefined;
|
|
2973
3109
|
} | {
|
|
@@ -3011,6 +3147,7 @@ export declare const methods: {
|
|
|
3011
3147
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
3012
3148
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
3013
3149
|
model?: string | undefined;
|
|
3150
|
+
name?: string | undefined;
|
|
3014
3151
|
task?: string | undefined;
|
|
3015
3152
|
agentType?: string | undefined;
|
|
3016
3153
|
workflow?: {
|
|
@@ -3070,8 +3207,8 @@ export declare const methods: {
|
|
|
3070
3207
|
type: "text";
|
|
3071
3208
|
text: string;
|
|
3072
3209
|
} | {
|
|
3073
|
-
mimeType: string;
|
|
3074
3210
|
type: "image";
|
|
3211
|
+
mimeType: string;
|
|
3075
3212
|
data?: string | undefined;
|
|
3076
3213
|
uri?: string | undefined;
|
|
3077
3214
|
} | {
|
|
@@ -3123,6 +3260,7 @@ export declare const methods: {
|
|
|
3123
3260
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
3124
3261
|
task: z.ZodOptional<z.ZodString>;
|
|
3125
3262
|
agentType: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3126
3264
|
model: z.ZodOptional<z.ZodString>;
|
|
3127
3265
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
3128
3266
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -3252,6 +3390,7 @@ export declare const methods: {
|
|
|
3252
3390
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
3253
3391
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
3254
3392
|
model?: string | undefined;
|
|
3393
|
+
name?: string | undefined;
|
|
3255
3394
|
task?: string | undefined;
|
|
3256
3395
|
agentType?: string | undefined;
|
|
3257
3396
|
workflow?: {
|
|
@@ -3289,6 +3428,7 @@ export declare const methods: {
|
|
|
3289
3428
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
3290
3429
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
3291
3430
|
model?: string | undefined;
|
|
3431
|
+
name?: string | undefined;
|
|
3292
3432
|
task?: string | undefined;
|
|
3293
3433
|
agentType?: string | undefined;
|
|
3294
3434
|
workflow?: {
|
|
@@ -3396,13 +3536,13 @@ export declare const methods: {
|
|
|
3396
3536
|
data: z.ZodOptional<z.ZodString>;
|
|
3397
3537
|
uri: z.ZodOptional<z.ZodString>;
|
|
3398
3538
|
}, "strip", z.ZodTypeAny, {
|
|
3399
|
-
mimeType: string;
|
|
3400
3539
|
type: "image";
|
|
3540
|
+
mimeType: string;
|
|
3401
3541
|
data?: string | undefined;
|
|
3402
3542
|
uri?: string | undefined;
|
|
3403
3543
|
}, {
|
|
3404
|
-
mimeType: string;
|
|
3405
3544
|
type: "image";
|
|
3545
|
+
mimeType: string;
|
|
3406
3546
|
data?: string | undefined;
|
|
3407
3547
|
uri?: string | undefined;
|
|
3408
3548
|
}>, z.ZodObject<{
|
|
@@ -3427,8 +3567,8 @@ export declare const methods: {
|
|
|
3427
3567
|
type: "text";
|
|
3428
3568
|
text: string;
|
|
3429
3569
|
} | {
|
|
3430
|
-
mimeType: string;
|
|
3431
3570
|
type: "image";
|
|
3571
|
+
mimeType: string;
|
|
3432
3572
|
data?: string | undefined;
|
|
3433
3573
|
uri?: string | undefined;
|
|
3434
3574
|
} | {
|
|
@@ -3443,8 +3583,8 @@ export declare const methods: {
|
|
|
3443
3583
|
type: "text";
|
|
3444
3584
|
text: string;
|
|
3445
3585
|
} | {
|
|
3446
|
-
mimeType: string;
|
|
3447
3586
|
type: "image";
|
|
3587
|
+
mimeType: string;
|
|
3448
3588
|
data?: string | undefined;
|
|
3449
3589
|
uri?: string | undefined;
|
|
3450
3590
|
} | {
|
|
@@ -3512,6 +3652,7 @@ export declare const methods: {
|
|
|
3512
3652
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
3513
3653
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
3514
3654
|
model?: string | undefined;
|
|
3655
|
+
name?: string | undefined;
|
|
3515
3656
|
task?: string | undefined;
|
|
3516
3657
|
agentType?: string | undefined;
|
|
3517
3658
|
workflow?: {
|
|
@@ -3571,8 +3712,8 @@ export declare const methods: {
|
|
|
3571
3712
|
type: "text";
|
|
3572
3713
|
text: string;
|
|
3573
3714
|
} | {
|
|
3574
|
-
mimeType: string;
|
|
3575
3715
|
type: "image";
|
|
3716
|
+
mimeType: string;
|
|
3576
3717
|
data?: string | undefined;
|
|
3577
3718
|
uri?: string | undefined;
|
|
3578
3719
|
} | {
|
|
@@ -3612,6 +3753,7 @@ export declare const methods: {
|
|
|
3612
3753
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
3613
3754
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
3614
3755
|
model?: string | undefined;
|
|
3756
|
+
name?: string | undefined;
|
|
3615
3757
|
task?: string | undefined;
|
|
3616
3758
|
agentType?: string | undefined;
|
|
3617
3759
|
workflow?: {
|
|
@@ -3671,8 +3813,8 @@ export declare const methods: {
|
|
|
3671
3813
|
type: "text";
|
|
3672
3814
|
text: string;
|
|
3673
3815
|
} | {
|
|
3674
|
-
mimeType: string;
|
|
3675
3816
|
type: "image";
|
|
3817
|
+
mimeType: string;
|
|
3676
3818
|
data?: string | undefined;
|
|
3677
3819
|
uri?: string | undefined;
|
|
3678
3820
|
} | {
|
|
@@ -3738,16 +3880,16 @@ export declare const methods: {
|
|
|
3738
3880
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
3739
3881
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3740
3882
|
}, "strip", z.ZodTypeAny, {
|
|
3741
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3742
3883
|
objective: string;
|
|
3884
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3743
3885
|
tokenBudget?: number | null | undefined;
|
|
3744
3886
|
tokensUsed?: number | undefined;
|
|
3745
3887
|
timeUsedSeconds?: number | undefined;
|
|
3746
3888
|
iterations?: number | undefined;
|
|
3747
3889
|
lastReason?: string | null | undefined;
|
|
3748
3890
|
}, {
|
|
3749
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3750
3891
|
objective: string;
|
|
3892
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3751
3893
|
tokenBudget?: number | null | undefined;
|
|
3752
3894
|
tokensUsed?: number | undefined;
|
|
3753
3895
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3757,8 +3899,8 @@ export declare const methods: {
|
|
|
3757
3899
|
}, "strip", z.ZodTypeAny, {
|
|
3758
3900
|
sessionUpdate: "ls_goal";
|
|
3759
3901
|
goal: {
|
|
3760
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3761
3902
|
objective: string;
|
|
3903
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3762
3904
|
tokenBudget?: number | null | undefined;
|
|
3763
3905
|
tokensUsed?: number | undefined;
|
|
3764
3906
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3768,8 +3910,8 @@ export declare const methods: {
|
|
|
3768
3910
|
}, {
|
|
3769
3911
|
sessionUpdate: "ls_goal";
|
|
3770
3912
|
goal: {
|
|
3771
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3772
3913
|
objective: string;
|
|
3914
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3773
3915
|
tokenBudget?: number | null | undefined;
|
|
3774
3916
|
tokensUsed?: number | undefined;
|
|
3775
3917
|
timeUsedSeconds?: number | undefined;
|
|
@@ -3838,6 +3980,35 @@ export declare const methods: {
|
|
|
3838
3980
|
sessionUpdate: "usage_update";
|
|
3839
3981
|
usedTokens?: number | undefined;
|
|
3840
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";
|
|
3841
4012
|
}>, z.ZodObject<{
|
|
3842
4013
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
3843
4014
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -3848,12 +4019,12 @@ export declare const methods: {
|
|
|
3848
4019
|
title: z.ZodString;
|
|
3849
4020
|
options: z.ZodArray<z.ZodString, "many">;
|
|
3850
4021
|
}, "strip", z.ZodTypeAny, {
|
|
3851
|
-
id: string;
|
|
3852
4022
|
options: string[];
|
|
4023
|
+
id: string;
|
|
3853
4024
|
title: string;
|
|
3854
4025
|
}, {
|
|
3855
|
-
id: string;
|
|
3856
4026
|
options: string[];
|
|
4027
|
+
id: string;
|
|
3857
4028
|
title: string;
|
|
3858
4029
|
}>, "many">>;
|
|
3859
4030
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3861,8 +4032,8 @@ export declare const methods: {
|
|
|
3861
4032
|
messageId: string;
|
|
3862
4033
|
role: "agent" | "thought" | "user";
|
|
3863
4034
|
questions?: {
|
|
3864
|
-
id: string;
|
|
3865
4035
|
options: string[];
|
|
4036
|
+
id: string;
|
|
3866
4037
|
title: string;
|
|
3867
4038
|
}[] | undefined;
|
|
3868
4039
|
parentToolCallId?: string | undefined;
|
|
@@ -3871,8 +4042,8 @@ export declare const methods: {
|
|
|
3871
4042
|
messageId: string;
|
|
3872
4043
|
role: "agent" | "thought" | "user";
|
|
3873
4044
|
questions?: {
|
|
3874
|
-
id: string;
|
|
3875
4045
|
options: string[];
|
|
4046
|
+
id: string;
|
|
3876
4047
|
title: string;
|
|
3877
4048
|
}[] | undefined;
|
|
3878
4049
|
parentToolCallId?: string | undefined;
|
|
@@ -3897,34 +4068,34 @@ export declare const methods: {
|
|
|
3897
4068
|
description?: string | undefined;
|
|
3898
4069
|
}>, "many">;
|
|
3899
4070
|
}, "strip", z.ZodTypeAny, {
|
|
3900
|
-
id: string;
|
|
3901
4071
|
values: {
|
|
3902
4072
|
value: string;
|
|
3903
4073
|
name: string;
|
|
3904
4074
|
description?: string | undefined;
|
|
3905
4075
|
}[];
|
|
4076
|
+
id: string;
|
|
3906
4077
|
name: string;
|
|
3907
4078
|
category: "model" | "other" | "mode" | "effort";
|
|
3908
4079
|
current: string;
|
|
3909
4080
|
}, {
|
|
3910
|
-
id: string;
|
|
3911
4081
|
values: {
|
|
3912
4082
|
value: string;
|
|
3913
4083
|
name: string;
|
|
3914
4084
|
description?: string | undefined;
|
|
3915
4085
|
}[];
|
|
4086
|
+
id: string;
|
|
3916
4087
|
name: string;
|
|
3917
4088
|
current: string;
|
|
3918
4089
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
3919
4090
|
}>, "many">;
|
|
3920
4091
|
}, "strip", z.ZodTypeAny, {
|
|
3921
4092
|
options: {
|
|
3922
|
-
id: string;
|
|
3923
4093
|
values: {
|
|
3924
4094
|
value: string;
|
|
3925
4095
|
name: string;
|
|
3926
4096
|
description?: string | undefined;
|
|
3927
4097
|
}[];
|
|
4098
|
+
id: string;
|
|
3928
4099
|
name: string;
|
|
3929
4100
|
category: "model" | "other" | "mode" | "effort";
|
|
3930
4101
|
current: string;
|
|
@@ -3932,12 +4103,12 @@ export declare const methods: {
|
|
|
3932
4103
|
sessionUpdate: "ls_config";
|
|
3933
4104
|
}, {
|
|
3934
4105
|
options: {
|
|
3935
|
-
id: string;
|
|
3936
4106
|
values: {
|
|
3937
4107
|
value: string;
|
|
3938
4108
|
name: string;
|
|
3939
4109
|
description?: string | undefined;
|
|
3940
4110
|
}[];
|
|
4111
|
+
id: string;
|
|
3941
4112
|
name: string;
|
|
3942
4113
|
current: string;
|
|
3943
4114
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -4102,12 +4273,12 @@ export declare const methods: {
|
|
|
4102
4273
|
values: z.ZodArray<z.ZodString, "many">;
|
|
4103
4274
|
other: z.ZodOptional<z.ZodString>;
|
|
4104
4275
|
}, "strip", z.ZodTypeAny, {
|
|
4105
|
-
id: string;
|
|
4106
4276
|
values: string[];
|
|
4277
|
+
id: string;
|
|
4107
4278
|
other?: string | undefined;
|
|
4108
4279
|
}, {
|
|
4109
|
-
id: string;
|
|
4110
4280
|
values: string[];
|
|
4281
|
+
id: string;
|
|
4111
4282
|
other?: string | undefined;
|
|
4112
4283
|
}>, "many">>;
|
|
4113
4284
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4115,8 +4286,8 @@ export declare const methods: {
|
|
|
4115
4286
|
sessionUpdate: "ls_permission_resolved";
|
|
4116
4287
|
optionId?: string | undefined;
|
|
4117
4288
|
answers?: {
|
|
4118
|
-
id: string;
|
|
4119
4289
|
values: string[];
|
|
4290
|
+
id: string;
|
|
4120
4291
|
other?: string | undefined;
|
|
4121
4292
|
}[] | undefined;
|
|
4122
4293
|
}, {
|
|
@@ -4124,8 +4295,8 @@ export declare const methods: {
|
|
|
4124
4295
|
sessionUpdate: "ls_permission_resolved";
|
|
4125
4296
|
optionId?: string | undefined;
|
|
4126
4297
|
answers?: {
|
|
4127
|
-
id: string;
|
|
4128
4298
|
values: string[];
|
|
4299
|
+
id: string;
|
|
4129
4300
|
other?: string | undefined;
|
|
4130
4301
|
}[] | undefined;
|
|
4131
4302
|
}>, z.ZodObject<{
|
|
@@ -4144,10 +4315,10 @@ export declare const methods: {
|
|
|
4144
4315
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
4145
4316
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
4146
4317
|
}, "strip", z.ZodTypeAny, {
|
|
4147
|
-
state: "
|
|
4318
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4148
4319
|
sessionUpdate: "ls_status";
|
|
4149
4320
|
}, {
|
|
4150
|
-
state: "
|
|
4321
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4151
4322
|
sessionUpdate: "ls_status";
|
|
4152
4323
|
}>, z.ZodObject<{
|
|
4153
4324
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -4250,8 +4421,8 @@ export declare const methods: {
|
|
|
4250
4421
|
type: "text";
|
|
4251
4422
|
text: string;
|
|
4252
4423
|
} | {
|
|
4253
|
-
mimeType: string;
|
|
4254
4424
|
type: "image";
|
|
4425
|
+
mimeType: string;
|
|
4255
4426
|
data?: string | undefined;
|
|
4256
4427
|
uri?: string | undefined;
|
|
4257
4428
|
} | {
|
|
@@ -4267,8 +4438,8 @@ export declare const methods: {
|
|
|
4267
4438
|
type: "text";
|
|
4268
4439
|
text: string;
|
|
4269
4440
|
} | {
|
|
4270
|
-
mimeType: string;
|
|
4271
4441
|
type: "image";
|
|
4442
|
+
mimeType: string;
|
|
4272
4443
|
data?: string | undefined;
|
|
4273
4444
|
uri?: string | undefined;
|
|
4274
4445
|
} | {
|
|
@@ -4285,8 +4456,8 @@ export declare const methods: {
|
|
|
4285
4456
|
type: "text";
|
|
4286
4457
|
text: string;
|
|
4287
4458
|
} | {
|
|
4288
|
-
mimeType: string;
|
|
4289
4459
|
type: "image";
|
|
4460
|
+
mimeType: string;
|
|
4290
4461
|
data?: string | undefined;
|
|
4291
4462
|
uri?: string | undefined;
|
|
4292
4463
|
} | {
|
|
@@ -4313,6 +4484,7 @@ export declare const methods: {
|
|
|
4313
4484
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4314
4485
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
4315
4486
|
model?: string | undefined;
|
|
4487
|
+
name?: string | undefined;
|
|
4316
4488
|
task?: string | undefined;
|
|
4317
4489
|
agentType?: string | undefined;
|
|
4318
4490
|
workflow?: {
|
|
@@ -4372,8 +4544,8 @@ export declare const methods: {
|
|
|
4372
4544
|
type: "text";
|
|
4373
4545
|
text: string;
|
|
4374
4546
|
} | {
|
|
4375
|
-
mimeType: string;
|
|
4376
4547
|
type: "image";
|
|
4548
|
+
mimeType: string;
|
|
4377
4549
|
data?: string | undefined;
|
|
4378
4550
|
uri?: string | undefined;
|
|
4379
4551
|
} | {
|
|
@@ -4416,6 +4588,7 @@ export declare const methods: {
|
|
|
4416
4588
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4417
4589
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
4418
4590
|
model?: string | undefined;
|
|
4591
|
+
name?: string | undefined;
|
|
4419
4592
|
task?: string | undefined;
|
|
4420
4593
|
agentType?: string | undefined;
|
|
4421
4594
|
workflow?: {
|
|
@@ -4475,8 +4648,8 @@ export declare const methods: {
|
|
|
4475
4648
|
type: "text";
|
|
4476
4649
|
text: string;
|
|
4477
4650
|
} | {
|
|
4478
|
-
mimeType: string;
|
|
4479
4651
|
type: "image";
|
|
4652
|
+
mimeType: string;
|
|
4480
4653
|
data?: string | undefined;
|
|
4481
4654
|
uri?: string | undefined;
|
|
4482
4655
|
} | {
|
|
@@ -4512,8 +4685,8 @@ export declare const methods: {
|
|
|
4512
4685
|
} | {
|
|
4513
4686
|
sessionUpdate: "ls_goal";
|
|
4514
4687
|
goal: {
|
|
4515
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4516
4688
|
objective: string;
|
|
4689
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4517
4690
|
tokenBudget?: number | null | undefined;
|
|
4518
4691
|
tokensUsed?: number | undefined;
|
|
4519
4692
|
timeUsedSeconds?: number | undefined;
|
|
@@ -4538,24 +4711,31 @@ export declare const methods: {
|
|
|
4538
4711
|
sessionUpdate: "usage_update";
|
|
4539
4712
|
usedTokens?: number | undefined;
|
|
4540
4713
|
contextWindow?: number | undefined;
|
|
4714
|
+
} | {
|
|
4715
|
+
questions: {
|
|
4716
|
+
options: string[];
|
|
4717
|
+
id: string;
|
|
4718
|
+
title: string;
|
|
4719
|
+
}[];
|
|
4720
|
+
sessionUpdate: "ls_async_questions";
|
|
4541
4721
|
} | {
|
|
4542
4722
|
sessionUpdate: "ls_message_done";
|
|
4543
4723
|
messageId: string;
|
|
4544
4724
|
role: "agent" | "thought" | "user";
|
|
4545
4725
|
questions?: {
|
|
4546
|
-
id: string;
|
|
4547
4726
|
options: string[];
|
|
4727
|
+
id: string;
|
|
4548
4728
|
title: string;
|
|
4549
4729
|
}[] | undefined;
|
|
4550
4730
|
parentToolCallId?: string | undefined;
|
|
4551
4731
|
} | {
|
|
4552
4732
|
options: {
|
|
4553
|
-
id: string;
|
|
4554
4733
|
values: {
|
|
4555
4734
|
value: string;
|
|
4556
4735
|
name: string;
|
|
4557
4736
|
description?: string | undefined;
|
|
4558
4737
|
}[];
|
|
4738
|
+
id: string;
|
|
4559
4739
|
name: string;
|
|
4560
4740
|
category: "model" | "other" | "mode" | "effort";
|
|
4561
4741
|
current: string;
|
|
@@ -4602,8 +4782,8 @@ export declare const methods: {
|
|
|
4602
4782
|
sessionUpdate: "ls_permission_resolved";
|
|
4603
4783
|
optionId?: string | undefined;
|
|
4604
4784
|
answers?: {
|
|
4605
|
-
id: string;
|
|
4606
4785
|
values: string[];
|
|
4786
|
+
id: string;
|
|
4607
4787
|
other?: string | undefined;
|
|
4608
4788
|
}[] | undefined;
|
|
4609
4789
|
} | {
|
|
@@ -4611,7 +4791,7 @@ export declare const methods: {
|
|
|
4611
4791
|
sessionUpdate: "ls_driver";
|
|
4612
4792
|
deviceId?: string | undefined;
|
|
4613
4793
|
} | {
|
|
4614
|
-
state: "
|
|
4794
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4615
4795
|
sessionUpdate: "ls_status";
|
|
4616
4796
|
} | {
|
|
4617
4797
|
task: {
|
|
@@ -4645,8 +4825,8 @@ export declare const methods: {
|
|
|
4645
4825
|
type: "text";
|
|
4646
4826
|
text: string;
|
|
4647
4827
|
} | {
|
|
4648
|
-
mimeType: string;
|
|
4649
4828
|
type: "image";
|
|
4829
|
+
mimeType: string;
|
|
4650
4830
|
data?: string | undefined;
|
|
4651
4831
|
uri?: string | undefined;
|
|
4652
4832
|
} | {
|
|
@@ -4662,8 +4842,8 @@ export declare const methods: {
|
|
|
4662
4842
|
type: "text";
|
|
4663
4843
|
text: string;
|
|
4664
4844
|
} | {
|
|
4665
|
-
mimeType: string;
|
|
4666
4845
|
type: "image";
|
|
4846
|
+
mimeType: string;
|
|
4667
4847
|
data?: string | undefined;
|
|
4668
4848
|
uri?: string | undefined;
|
|
4669
4849
|
} | {
|
|
@@ -4680,8 +4860,8 @@ export declare const methods: {
|
|
|
4680
4860
|
type: "text";
|
|
4681
4861
|
text: string;
|
|
4682
4862
|
} | {
|
|
4683
|
-
mimeType: string;
|
|
4684
4863
|
type: "image";
|
|
4864
|
+
mimeType: string;
|
|
4685
4865
|
data?: string | undefined;
|
|
4686
4866
|
uri?: string | undefined;
|
|
4687
4867
|
} | {
|
|
@@ -4708,6 +4888,7 @@ export declare const methods: {
|
|
|
4708
4888
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
4709
4889
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
4710
4890
|
model?: string | undefined;
|
|
4891
|
+
name?: string | undefined;
|
|
4711
4892
|
task?: string | undefined;
|
|
4712
4893
|
agentType?: string | undefined;
|
|
4713
4894
|
workflow?: {
|
|
@@ -4767,8 +4948,8 @@ export declare const methods: {
|
|
|
4767
4948
|
type: "text";
|
|
4768
4949
|
text: string;
|
|
4769
4950
|
} | {
|
|
4770
|
-
mimeType: string;
|
|
4771
4951
|
type: "image";
|
|
4952
|
+
mimeType: string;
|
|
4772
4953
|
data?: string | undefined;
|
|
4773
4954
|
uri?: string | undefined;
|
|
4774
4955
|
} | {
|
|
@@ -4811,6 +4992,7 @@ export declare const methods: {
|
|
|
4811
4992
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
4812
4993
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
4813
4994
|
model?: string | undefined;
|
|
4995
|
+
name?: string | undefined;
|
|
4814
4996
|
task?: string | undefined;
|
|
4815
4997
|
agentType?: string | undefined;
|
|
4816
4998
|
workflow?: {
|
|
@@ -4870,8 +5052,8 @@ export declare const methods: {
|
|
|
4870
5052
|
type: "text";
|
|
4871
5053
|
text: string;
|
|
4872
5054
|
} | {
|
|
4873
|
-
mimeType: string;
|
|
4874
5055
|
type: "image";
|
|
5056
|
+
mimeType: string;
|
|
4875
5057
|
data?: string | undefined;
|
|
4876
5058
|
uri?: string | undefined;
|
|
4877
5059
|
} | {
|
|
@@ -4907,8 +5089,8 @@ export declare const methods: {
|
|
|
4907
5089
|
} | {
|
|
4908
5090
|
sessionUpdate: "ls_goal";
|
|
4909
5091
|
goal: {
|
|
4910
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4911
5092
|
objective: string;
|
|
5093
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4912
5094
|
tokenBudget?: number | null | undefined;
|
|
4913
5095
|
tokensUsed?: number | undefined;
|
|
4914
5096
|
timeUsedSeconds?: number | undefined;
|
|
@@ -4933,24 +5115,31 @@ export declare const methods: {
|
|
|
4933
5115
|
sessionUpdate: "usage_update";
|
|
4934
5116
|
usedTokens?: number | undefined;
|
|
4935
5117
|
contextWindow?: number | undefined;
|
|
5118
|
+
} | {
|
|
5119
|
+
questions: {
|
|
5120
|
+
options: string[];
|
|
5121
|
+
id: string;
|
|
5122
|
+
title: string;
|
|
5123
|
+
}[];
|
|
5124
|
+
sessionUpdate: "ls_async_questions";
|
|
4936
5125
|
} | {
|
|
4937
5126
|
sessionUpdate: "ls_message_done";
|
|
4938
5127
|
messageId: string;
|
|
4939
5128
|
role: "agent" | "thought" | "user";
|
|
4940
5129
|
questions?: {
|
|
4941
|
-
id: string;
|
|
4942
5130
|
options: string[];
|
|
5131
|
+
id: string;
|
|
4943
5132
|
title: string;
|
|
4944
5133
|
}[] | undefined;
|
|
4945
5134
|
parentToolCallId?: string | undefined;
|
|
4946
5135
|
} | {
|
|
4947
5136
|
options: {
|
|
4948
|
-
id: string;
|
|
4949
5137
|
values: {
|
|
4950
5138
|
value: string;
|
|
4951
5139
|
name: string;
|
|
4952
5140
|
description?: string | undefined;
|
|
4953
5141
|
}[];
|
|
5142
|
+
id: string;
|
|
4954
5143
|
name: string;
|
|
4955
5144
|
current: string;
|
|
4956
5145
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -4997,8 +5186,8 @@ export declare const methods: {
|
|
|
4997
5186
|
sessionUpdate: "ls_permission_resolved";
|
|
4998
5187
|
optionId?: string | undefined;
|
|
4999
5188
|
answers?: {
|
|
5000
|
-
id: string;
|
|
5001
5189
|
values: string[];
|
|
5190
|
+
id: string;
|
|
5002
5191
|
other?: string | undefined;
|
|
5003
5192
|
}[] | undefined;
|
|
5004
5193
|
} | {
|
|
@@ -5006,7 +5195,7 @@ export declare const methods: {
|
|
|
5006
5195
|
sessionUpdate: "ls_driver";
|
|
5007
5196
|
deviceId?: string | undefined;
|
|
5008
5197
|
} | {
|
|
5009
|
-
state: "
|
|
5198
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5010
5199
|
sessionUpdate: "ls_status";
|
|
5011
5200
|
} | {
|
|
5012
5201
|
task: {
|
|
@@ -5044,8 +5233,8 @@ export declare const methods: {
|
|
|
5044
5233
|
type: "text";
|
|
5045
5234
|
text: string;
|
|
5046
5235
|
} | {
|
|
5047
|
-
mimeType: string;
|
|
5048
5236
|
type: "image";
|
|
5237
|
+
mimeType: string;
|
|
5049
5238
|
data?: string | undefined;
|
|
5050
5239
|
uri?: string | undefined;
|
|
5051
5240
|
} | {
|
|
@@ -5061,8 +5250,8 @@ export declare const methods: {
|
|
|
5061
5250
|
type: "text";
|
|
5062
5251
|
text: string;
|
|
5063
5252
|
} | {
|
|
5064
|
-
mimeType: string;
|
|
5065
5253
|
type: "image";
|
|
5254
|
+
mimeType: string;
|
|
5066
5255
|
data?: string | undefined;
|
|
5067
5256
|
uri?: string | undefined;
|
|
5068
5257
|
} | {
|
|
@@ -5079,8 +5268,8 @@ export declare const methods: {
|
|
|
5079
5268
|
type: "text";
|
|
5080
5269
|
text: string;
|
|
5081
5270
|
} | {
|
|
5082
|
-
mimeType: string;
|
|
5083
5271
|
type: "image";
|
|
5272
|
+
mimeType: string;
|
|
5084
5273
|
data?: string | undefined;
|
|
5085
5274
|
uri?: string | undefined;
|
|
5086
5275
|
} | {
|
|
@@ -5107,6 +5296,7 @@ export declare const methods: {
|
|
|
5107
5296
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
5108
5297
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
5109
5298
|
model?: string | undefined;
|
|
5299
|
+
name?: string | undefined;
|
|
5110
5300
|
task?: string | undefined;
|
|
5111
5301
|
agentType?: string | undefined;
|
|
5112
5302
|
workflow?: {
|
|
@@ -5166,8 +5356,8 @@ export declare const methods: {
|
|
|
5166
5356
|
type: "text";
|
|
5167
5357
|
text: string;
|
|
5168
5358
|
} | {
|
|
5169
|
-
mimeType: string;
|
|
5170
5359
|
type: "image";
|
|
5360
|
+
mimeType: string;
|
|
5171
5361
|
data?: string | undefined;
|
|
5172
5362
|
uri?: string | undefined;
|
|
5173
5363
|
} | {
|
|
@@ -5210,6 +5400,7 @@ export declare const methods: {
|
|
|
5210
5400
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
5211
5401
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
5212
5402
|
model?: string | undefined;
|
|
5403
|
+
name?: string | undefined;
|
|
5213
5404
|
task?: string | undefined;
|
|
5214
5405
|
agentType?: string | undefined;
|
|
5215
5406
|
workflow?: {
|
|
@@ -5269,8 +5460,8 @@ export declare const methods: {
|
|
|
5269
5460
|
type: "text";
|
|
5270
5461
|
text: string;
|
|
5271
5462
|
} | {
|
|
5272
|
-
mimeType: string;
|
|
5273
5463
|
type: "image";
|
|
5464
|
+
mimeType: string;
|
|
5274
5465
|
data?: string | undefined;
|
|
5275
5466
|
uri?: string | undefined;
|
|
5276
5467
|
} | {
|
|
@@ -5306,8 +5497,8 @@ export declare const methods: {
|
|
|
5306
5497
|
} | {
|
|
5307
5498
|
sessionUpdate: "ls_goal";
|
|
5308
5499
|
goal: {
|
|
5309
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5310
5500
|
objective: string;
|
|
5501
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5311
5502
|
tokenBudget?: number | null | undefined;
|
|
5312
5503
|
tokensUsed?: number | undefined;
|
|
5313
5504
|
timeUsedSeconds?: number | undefined;
|
|
@@ -5332,24 +5523,31 @@ export declare const methods: {
|
|
|
5332
5523
|
sessionUpdate: "usage_update";
|
|
5333
5524
|
usedTokens?: number | undefined;
|
|
5334
5525
|
contextWindow?: number | undefined;
|
|
5526
|
+
} | {
|
|
5527
|
+
questions: {
|
|
5528
|
+
options: string[];
|
|
5529
|
+
id: string;
|
|
5530
|
+
title: string;
|
|
5531
|
+
}[];
|
|
5532
|
+
sessionUpdate: "ls_async_questions";
|
|
5335
5533
|
} | {
|
|
5336
5534
|
sessionUpdate: "ls_message_done";
|
|
5337
5535
|
messageId: string;
|
|
5338
5536
|
role: "agent" | "thought" | "user";
|
|
5339
5537
|
questions?: {
|
|
5340
|
-
id: string;
|
|
5341
5538
|
options: string[];
|
|
5539
|
+
id: string;
|
|
5342
5540
|
title: string;
|
|
5343
5541
|
}[] | undefined;
|
|
5344
5542
|
parentToolCallId?: string | undefined;
|
|
5345
5543
|
} | {
|
|
5346
5544
|
options: {
|
|
5347
|
-
id: string;
|
|
5348
5545
|
values: {
|
|
5349
5546
|
value: string;
|
|
5350
5547
|
name: string;
|
|
5351
5548
|
description?: string | undefined;
|
|
5352
5549
|
}[];
|
|
5550
|
+
id: string;
|
|
5353
5551
|
name: string;
|
|
5354
5552
|
category: "model" | "other" | "mode" | "effort";
|
|
5355
5553
|
current: string;
|
|
@@ -5396,8 +5594,8 @@ export declare const methods: {
|
|
|
5396
5594
|
sessionUpdate: "ls_permission_resolved";
|
|
5397
5595
|
optionId?: string | undefined;
|
|
5398
5596
|
answers?: {
|
|
5399
|
-
id: string;
|
|
5400
5597
|
values: string[];
|
|
5598
|
+
id: string;
|
|
5401
5599
|
other?: string | undefined;
|
|
5402
5600
|
}[] | undefined;
|
|
5403
5601
|
} | {
|
|
@@ -5405,7 +5603,7 @@ export declare const methods: {
|
|
|
5405
5603
|
sessionUpdate: "ls_driver";
|
|
5406
5604
|
deviceId?: string | undefined;
|
|
5407
5605
|
} | {
|
|
5408
|
-
state: "
|
|
5606
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5409
5607
|
sessionUpdate: "ls_status";
|
|
5410
5608
|
} | {
|
|
5411
5609
|
task: {
|
|
@@ -5442,8 +5640,8 @@ export declare const methods: {
|
|
|
5442
5640
|
type: "text";
|
|
5443
5641
|
text: string;
|
|
5444
5642
|
} | {
|
|
5445
|
-
mimeType: string;
|
|
5446
5643
|
type: "image";
|
|
5644
|
+
mimeType: string;
|
|
5447
5645
|
data?: string | undefined;
|
|
5448
5646
|
uri?: string | undefined;
|
|
5449
5647
|
} | {
|
|
@@ -5459,8 +5657,8 @@ export declare const methods: {
|
|
|
5459
5657
|
type: "text";
|
|
5460
5658
|
text: string;
|
|
5461
5659
|
} | {
|
|
5462
|
-
mimeType: string;
|
|
5463
5660
|
type: "image";
|
|
5661
|
+
mimeType: string;
|
|
5464
5662
|
data?: string | undefined;
|
|
5465
5663
|
uri?: string | undefined;
|
|
5466
5664
|
} | {
|
|
@@ -5477,8 +5675,8 @@ export declare const methods: {
|
|
|
5477
5675
|
type: "text";
|
|
5478
5676
|
text: string;
|
|
5479
5677
|
} | {
|
|
5480
|
-
mimeType: string;
|
|
5481
5678
|
type: "image";
|
|
5679
|
+
mimeType: string;
|
|
5482
5680
|
data?: string | undefined;
|
|
5483
5681
|
uri?: string | undefined;
|
|
5484
5682
|
} | {
|
|
@@ -5505,6 +5703,7 @@ export declare const methods: {
|
|
|
5505
5703
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
5506
5704
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
5507
5705
|
model?: string | undefined;
|
|
5706
|
+
name?: string | undefined;
|
|
5508
5707
|
task?: string | undefined;
|
|
5509
5708
|
agentType?: string | undefined;
|
|
5510
5709
|
workflow?: {
|
|
@@ -5564,8 +5763,8 @@ export declare const methods: {
|
|
|
5564
5763
|
type: "text";
|
|
5565
5764
|
text: string;
|
|
5566
5765
|
} | {
|
|
5567
|
-
mimeType: string;
|
|
5568
5766
|
type: "image";
|
|
5767
|
+
mimeType: string;
|
|
5569
5768
|
data?: string | undefined;
|
|
5570
5769
|
uri?: string | undefined;
|
|
5571
5770
|
} | {
|
|
@@ -5608,6 +5807,7 @@ export declare const methods: {
|
|
|
5608
5807
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
5609
5808
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
5610
5809
|
model?: string | undefined;
|
|
5810
|
+
name?: string | undefined;
|
|
5611
5811
|
task?: string | undefined;
|
|
5612
5812
|
agentType?: string | undefined;
|
|
5613
5813
|
workflow?: {
|
|
@@ -5667,8 +5867,8 @@ export declare const methods: {
|
|
|
5667
5867
|
type: "text";
|
|
5668
5868
|
text: string;
|
|
5669
5869
|
} | {
|
|
5670
|
-
mimeType: string;
|
|
5671
5870
|
type: "image";
|
|
5871
|
+
mimeType: string;
|
|
5672
5872
|
data?: string | undefined;
|
|
5673
5873
|
uri?: string | undefined;
|
|
5674
5874
|
} | {
|
|
@@ -5704,8 +5904,8 @@ export declare const methods: {
|
|
|
5704
5904
|
} | {
|
|
5705
5905
|
sessionUpdate: "ls_goal";
|
|
5706
5906
|
goal: {
|
|
5707
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5708
5907
|
objective: string;
|
|
5908
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5709
5909
|
tokenBudget?: number | null | undefined;
|
|
5710
5910
|
tokensUsed?: number | undefined;
|
|
5711
5911
|
timeUsedSeconds?: number | undefined;
|
|
@@ -5730,24 +5930,31 @@ export declare const methods: {
|
|
|
5730
5930
|
sessionUpdate: "usage_update";
|
|
5731
5931
|
usedTokens?: number | undefined;
|
|
5732
5932
|
contextWindow?: number | undefined;
|
|
5933
|
+
} | {
|
|
5934
|
+
questions: {
|
|
5935
|
+
options: string[];
|
|
5936
|
+
id: string;
|
|
5937
|
+
title: string;
|
|
5938
|
+
}[];
|
|
5939
|
+
sessionUpdate: "ls_async_questions";
|
|
5733
5940
|
} | {
|
|
5734
5941
|
sessionUpdate: "ls_message_done";
|
|
5735
5942
|
messageId: string;
|
|
5736
5943
|
role: "agent" | "thought" | "user";
|
|
5737
5944
|
questions?: {
|
|
5738
|
-
id: string;
|
|
5739
5945
|
options: string[];
|
|
5946
|
+
id: string;
|
|
5740
5947
|
title: string;
|
|
5741
5948
|
}[] | undefined;
|
|
5742
5949
|
parentToolCallId?: string | undefined;
|
|
5743
5950
|
} | {
|
|
5744
5951
|
options: {
|
|
5745
|
-
id: string;
|
|
5746
5952
|
values: {
|
|
5747
5953
|
value: string;
|
|
5748
5954
|
name: string;
|
|
5749
5955
|
description?: string | undefined;
|
|
5750
5956
|
}[];
|
|
5957
|
+
id: string;
|
|
5751
5958
|
name: string;
|
|
5752
5959
|
current: string;
|
|
5753
5960
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -5794,8 +6001,8 @@ export declare const methods: {
|
|
|
5794
6001
|
sessionUpdate: "ls_permission_resolved";
|
|
5795
6002
|
optionId?: string | undefined;
|
|
5796
6003
|
answers?: {
|
|
5797
|
-
id: string;
|
|
5798
6004
|
values: string[];
|
|
6005
|
+
id: string;
|
|
5799
6006
|
other?: string | undefined;
|
|
5800
6007
|
}[] | undefined;
|
|
5801
6008
|
} | {
|
|
@@ -5803,7 +6010,7 @@ export declare const methods: {
|
|
|
5803
6010
|
sessionUpdate: "ls_driver";
|
|
5804
6011
|
deviceId?: string | undefined;
|
|
5805
6012
|
} | {
|
|
5806
|
-
state: "
|
|
6013
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5807
6014
|
sessionUpdate: "ls_status";
|
|
5808
6015
|
} | {
|
|
5809
6016
|
task: {
|
|
@@ -5849,6 +6056,7 @@ export declare const methods: {
|
|
|
5849
6056
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
5850
6057
|
task: z.ZodString;
|
|
5851
6058
|
agentType: z.ZodOptional<z.ZodString>;
|
|
6059
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5852
6060
|
running: z.ZodBoolean;
|
|
5853
6061
|
failed: z.ZodOptional<z.ZodBoolean>;
|
|
5854
6062
|
startedAt: z.ZodNumber;
|
|
@@ -5985,6 +6193,7 @@ export declare const methods: {
|
|
|
5985
6193
|
failed?: boolean | undefined;
|
|
5986
6194
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
5987
6195
|
endedAt?: number | undefined;
|
|
6196
|
+
name?: string | undefined;
|
|
5988
6197
|
parentToolCallId?: string | undefined;
|
|
5989
6198
|
agentType?: string | undefined;
|
|
5990
6199
|
workflow?: {
|
|
@@ -6026,6 +6235,7 @@ export declare const methods: {
|
|
|
6026
6235
|
failed?: boolean | undefined;
|
|
6027
6236
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6028
6237
|
endedAt?: number | undefined;
|
|
6238
|
+
name?: string | undefined;
|
|
6029
6239
|
parentToolCallId?: string | undefined;
|
|
6030
6240
|
agentType?: string | undefined;
|
|
6031
6241
|
workflow?: {
|
|
@@ -6069,6 +6279,7 @@ export declare const methods: {
|
|
|
6069
6279
|
failed?: boolean | undefined;
|
|
6070
6280
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6071
6281
|
endedAt?: number | undefined;
|
|
6282
|
+
name?: string | undefined;
|
|
6072
6283
|
parentToolCallId?: string | undefined;
|
|
6073
6284
|
agentType?: string | undefined;
|
|
6074
6285
|
workflow?: {
|
|
@@ -6112,6 +6323,7 @@ export declare const methods: {
|
|
|
6112
6323
|
failed?: boolean | undefined;
|
|
6113
6324
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6114
6325
|
endedAt?: number | undefined;
|
|
6326
|
+
name?: string | undefined;
|
|
6115
6327
|
parentToolCallId?: string | undefined;
|
|
6116
6328
|
agentType?: string | undefined;
|
|
6117
6329
|
workflow?: {
|
|
@@ -6190,13 +6402,13 @@ export declare const methods: {
|
|
|
6190
6402
|
data: z.ZodOptional<z.ZodString>;
|
|
6191
6403
|
uri: z.ZodOptional<z.ZodString>;
|
|
6192
6404
|
}, "strip", z.ZodTypeAny, {
|
|
6193
|
-
mimeType: string;
|
|
6194
6405
|
type: "image";
|
|
6406
|
+
mimeType: string;
|
|
6195
6407
|
data?: string | undefined;
|
|
6196
6408
|
uri?: string | undefined;
|
|
6197
6409
|
}, {
|
|
6198
|
-
mimeType: string;
|
|
6199
6410
|
type: "image";
|
|
6411
|
+
mimeType: string;
|
|
6200
6412
|
data?: string | undefined;
|
|
6201
6413
|
uri?: string | undefined;
|
|
6202
6414
|
}>, z.ZodObject<{
|
|
@@ -6220,8 +6432,8 @@ export declare const methods: {
|
|
|
6220
6432
|
type: "text";
|
|
6221
6433
|
text: string;
|
|
6222
6434
|
} | {
|
|
6223
|
-
mimeType: string;
|
|
6224
6435
|
type: "image";
|
|
6436
|
+
mimeType: string;
|
|
6225
6437
|
data?: string | undefined;
|
|
6226
6438
|
uri?: string | undefined;
|
|
6227
6439
|
} | {
|
|
@@ -6237,8 +6449,8 @@ export declare const methods: {
|
|
|
6237
6449
|
type: "text";
|
|
6238
6450
|
text: string;
|
|
6239
6451
|
} | {
|
|
6240
|
-
mimeType: string;
|
|
6241
6452
|
type: "image";
|
|
6453
|
+
mimeType: string;
|
|
6242
6454
|
data?: string | undefined;
|
|
6243
6455
|
uri?: string | undefined;
|
|
6244
6456
|
} | {
|
|
@@ -6268,13 +6480,13 @@ export declare const methods: {
|
|
|
6268
6480
|
data: z.ZodOptional<z.ZodString>;
|
|
6269
6481
|
uri: z.ZodOptional<z.ZodString>;
|
|
6270
6482
|
}, "strip", z.ZodTypeAny, {
|
|
6271
|
-
mimeType: string;
|
|
6272
6483
|
type: "image";
|
|
6484
|
+
mimeType: string;
|
|
6273
6485
|
data?: string | undefined;
|
|
6274
6486
|
uri?: string | undefined;
|
|
6275
6487
|
}, {
|
|
6276
|
-
mimeType: string;
|
|
6277
6488
|
type: "image";
|
|
6489
|
+
mimeType: string;
|
|
6278
6490
|
data?: string | undefined;
|
|
6279
6491
|
uri?: string | undefined;
|
|
6280
6492
|
}>, z.ZodObject<{
|
|
@@ -6298,8 +6510,8 @@ export declare const methods: {
|
|
|
6298
6510
|
type: "text";
|
|
6299
6511
|
text: string;
|
|
6300
6512
|
} | {
|
|
6301
|
-
mimeType: string;
|
|
6302
6513
|
type: "image";
|
|
6514
|
+
mimeType: string;
|
|
6303
6515
|
data?: string | undefined;
|
|
6304
6516
|
uri?: string | undefined;
|
|
6305
6517
|
} | {
|
|
@@ -6316,8 +6528,8 @@ export declare const methods: {
|
|
|
6316
6528
|
type: "text";
|
|
6317
6529
|
text: string;
|
|
6318
6530
|
} | {
|
|
6319
|
-
mimeType: string;
|
|
6320
6531
|
type: "image";
|
|
6532
|
+
mimeType: string;
|
|
6321
6533
|
data?: string | undefined;
|
|
6322
6534
|
uri?: string | undefined;
|
|
6323
6535
|
} | {
|
|
@@ -6348,13 +6560,13 @@ export declare const methods: {
|
|
|
6348
6560
|
data: z.ZodOptional<z.ZodString>;
|
|
6349
6561
|
uri: z.ZodOptional<z.ZodString>;
|
|
6350
6562
|
}, "strip", z.ZodTypeAny, {
|
|
6351
|
-
mimeType: string;
|
|
6352
6563
|
type: "image";
|
|
6564
|
+
mimeType: string;
|
|
6353
6565
|
data?: string | undefined;
|
|
6354
6566
|
uri?: string | undefined;
|
|
6355
6567
|
}, {
|
|
6356
|
-
mimeType: string;
|
|
6357
6568
|
type: "image";
|
|
6569
|
+
mimeType: string;
|
|
6358
6570
|
data?: string | undefined;
|
|
6359
6571
|
uri?: string | undefined;
|
|
6360
6572
|
}>, z.ZodObject<{
|
|
@@ -6378,8 +6590,8 @@ export declare const methods: {
|
|
|
6378
6590
|
type: "text";
|
|
6379
6591
|
text: string;
|
|
6380
6592
|
} | {
|
|
6381
|
-
mimeType: string;
|
|
6382
6593
|
type: "image";
|
|
6594
|
+
mimeType: string;
|
|
6383
6595
|
data?: string | undefined;
|
|
6384
6596
|
uri?: string | undefined;
|
|
6385
6597
|
} | {
|
|
@@ -6396,8 +6608,8 @@ export declare const methods: {
|
|
|
6396
6608
|
type: "text";
|
|
6397
6609
|
text: string;
|
|
6398
6610
|
} | {
|
|
6399
|
-
mimeType: string;
|
|
6400
6611
|
type: "image";
|
|
6612
|
+
mimeType: string;
|
|
6401
6613
|
data?: string | undefined;
|
|
6402
6614
|
uri?: string | undefined;
|
|
6403
6615
|
} | {
|
|
@@ -6434,13 +6646,13 @@ export declare const methods: {
|
|
|
6434
6646
|
data: z.ZodOptional<z.ZodString>;
|
|
6435
6647
|
uri: z.ZodOptional<z.ZodString>;
|
|
6436
6648
|
}, "strip", z.ZodTypeAny, {
|
|
6437
|
-
mimeType: string;
|
|
6438
6649
|
type: "image";
|
|
6650
|
+
mimeType: string;
|
|
6439
6651
|
data?: string | undefined;
|
|
6440
6652
|
uri?: string | undefined;
|
|
6441
6653
|
}, {
|
|
6442
|
-
mimeType: string;
|
|
6443
6654
|
type: "image";
|
|
6655
|
+
mimeType: string;
|
|
6444
6656
|
data?: string | undefined;
|
|
6445
6657
|
uri?: string | undefined;
|
|
6446
6658
|
}>, z.ZodObject<{
|
|
@@ -6465,8 +6677,8 @@ export declare const methods: {
|
|
|
6465
6677
|
type: "text";
|
|
6466
6678
|
text: string;
|
|
6467
6679
|
} | {
|
|
6468
|
-
mimeType: string;
|
|
6469
6680
|
type: "image";
|
|
6681
|
+
mimeType: string;
|
|
6470
6682
|
data?: string | undefined;
|
|
6471
6683
|
uri?: string | undefined;
|
|
6472
6684
|
} | {
|
|
@@ -6481,8 +6693,8 @@ export declare const methods: {
|
|
|
6481
6693
|
type: "text";
|
|
6482
6694
|
text: string;
|
|
6483
6695
|
} | {
|
|
6484
|
-
mimeType: string;
|
|
6485
6696
|
type: "image";
|
|
6697
|
+
mimeType: string;
|
|
6486
6698
|
data?: string | undefined;
|
|
6487
6699
|
uri?: string | undefined;
|
|
6488
6700
|
} | {
|
|
@@ -6561,6 +6773,7 @@ export declare const methods: {
|
|
|
6561
6773
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
6562
6774
|
task: z.ZodOptional<z.ZodString>;
|
|
6563
6775
|
agentType: z.ZodOptional<z.ZodString>;
|
|
6776
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6564
6777
|
model: z.ZodOptional<z.ZodString>;
|
|
6565
6778
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
6566
6779
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -6690,6 +6903,7 @@ export declare const methods: {
|
|
|
6690
6903
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
6691
6904
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6692
6905
|
model?: string | undefined;
|
|
6906
|
+
name?: string | undefined;
|
|
6693
6907
|
task?: string | undefined;
|
|
6694
6908
|
agentType?: string | undefined;
|
|
6695
6909
|
workflow?: {
|
|
@@ -6727,6 +6941,7 @@ export declare const methods: {
|
|
|
6727
6941
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
6728
6942
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6729
6943
|
model?: string | undefined;
|
|
6944
|
+
name?: string | undefined;
|
|
6730
6945
|
task?: string | undefined;
|
|
6731
6946
|
agentType?: string | undefined;
|
|
6732
6947
|
workflow?: {
|
|
@@ -6832,6 +7047,7 @@ export declare const methods: {
|
|
|
6832
7047
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
6833
7048
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6834
7049
|
model?: string | undefined;
|
|
7050
|
+
name?: string | undefined;
|
|
6835
7051
|
task?: string | undefined;
|
|
6836
7052
|
agentType?: string | undefined;
|
|
6837
7053
|
workflow?: {
|
|
@@ -6891,8 +7107,8 @@ export declare const methods: {
|
|
|
6891
7107
|
type: "text";
|
|
6892
7108
|
text: string;
|
|
6893
7109
|
} | {
|
|
6894
|
-
mimeType: string;
|
|
6895
7110
|
type: "image";
|
|
7111
|
+
mimeType: string;
|
|
6896
7112
|
data?: string | undefined;
|
|
6897
7113
|
uri?: string | undefined;
|
|
6898
7114
|
} | {
|
|
@@ -6936,6 +7152,7 @@ export declare const methods: {
|
|
|
6936
7152
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
6937
7153
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
6938
7154
|
model?: string | undefined;
|
|
7155
|
+
name?: string | undefined;
|
|
6939
7156
|
task?: string | undefined;
|
|
6940
7157
|
agentType?: string | undefined;
|
|
6941
7158
|
workflow?: {
|
|
@@ -6995,8 +7212,8 @@ export declare const methods: {
|
|
|
6995
7212
|
type: "text";
|
|
6996
7213
|
text: string;
|
|
6997
7214
|
} | {
|
|
6998
|
-
mimeType: string;
|
|
6999
7215
|
type: "image";
|
|
7216
|
+
mimeType: string;
|
|
7000
7217
|
data?: string | undefined;
|
|
7001
7218
|
uri?: string | undefined;
|
|
7002
7219
|
} | {
|
|
@@ -7048,6 +7265,7 @@ export declare const methods: {
|
|
|
7048
7265
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
7049
7266
|
task: z.ZodOptional<z.ZodString>;
|
|
7050
7267
|
agentType: z.ZodOptional<z.ZodString>;
|
|
7268
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7051
7269
|
model: z.ZodOptional<z.ZodString>;
|
|
7052
7270
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
7053
7271
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -7177,6 +7395,7 @@ export declare const methods: {
|
|
|
7177
7395
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
7178
7396
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
7179
7397
|
model?: string | undefined;
|
|
7398
|
+
name?: string | undefined;
|
|
7180
7399
|
task?: string | undefined;
|
|
7181
7400
|
agentType?: string | undefined;
|
|
7182
7401
|
workflow?: {
|
|
@@ -7214,6 +7433,7 @@ export declare const methods: {
|
|
|
7214
7433
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
7215
7434
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
7216
7435
|
model?: string | undefined;
|
|
7436
|
+
name?: string | undefined;
|
|
7217
7437
|
task?: string | undefined;
|
|
7218
7438
|
agentType?: string | undefined;
|
|
7219
7439
|
workflow?: {
|
|
@@ -7321,13 +7541,13 @@ export declare const methods: {
|
|
|
7321
7541
|
data: z.ZodOptional<z.ZodString>;
|
|
7322
7542
|
uri: z.ZodOptional<z.ZodString>;
|
|
7323
7543
|
}, "strip", z.ZodTypeAny, {
|
|
7324
|
-
mimeType: string;
|
|
7325
7544
|
type: "image";
|
|
7545
|
+
mimeType: string;
|
|
7326
7546
|
data?: string | undefined;
|
|
7327
7547
|
uri?: string | undefined;
|
|
7328
7548
|
}, {
|
|
7329
|
-
mimeType: string;
|
|
7330
7549
|
type: "image";
|
|
7550
|
+
mimeType: string;
|
|
7331
7551
|
data?: string | undefined;
|
|
7332
7552
|
uri?: string | undefined;
|
|
7333
7553
|
}>, z.ZodObject<{
|
|
@@ -7352,8 +7572,8 @@ export declare const methods: {
|
|
|
7352
7572
|
type: "text";
|
|
7353
7573
|
text: string;
|
|
7354
7574
|
} | {
|
|
7355
|
-
mimeType: string;
|
|
7356
7575
|
type: "image";
|
|
7576
|
+
mimeType: string;
|
|
7357
7577
|
data?: string | undefined;
|
|
7358
7578
|
uri?: string | undefined;
|
|
7359
7579
|
} | {
|
|
@@ -7368,8 +7588,8 @@ export declare const methods: {
|
|
|
7368
7588
|
type: "text";
|
|
7369
7589
|
text: string;
|
|
7370
7590
|
} | {
|
|
7371
|
-
mimeType: string;
|
|
7372
7591
|
type: "image";
|
|
7592
|
+
mimeType: string;
|
|
7373
7593
|
data?: string | undefined;
|
|
7374
7594
|
uri?: string | undefined;
|
|
7375
7595
|
} | {
|
|
@@ -7437,6 +7657,7 @@ export declare const methods: {
|
|
|
7437
7657
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
7438
7658
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
7439
7659
|
model?: string | undefined;
|
|
7660
|
+
name?: string | undefined;
|
|
7440
7661
|
task?: string | undefined;
|
|
7441
7662
|
agentType?: string | undefined;
|
|
7442
7663
|
workflow?: {
|
|
@@ -7496,8 +7717,8 @@ export declare const methods: {
|
|
|
7496
7717
|
type: "text";
|
|
7497
7718
|
text: string;
|
|
7498
7719
|
} | {
|
|
7499
|
-
mimeType: string;
|
|
7500
7720
|
type: "image";
|
|
7721
|
+
mimeType: string;
|
|
7501
7722
|
data?: string | undefined;
|
|
7502
7723
|
uri?: string | undefined;
|
|
7503
7724
|
} | {
|
|
@@ -7537,6 +7758,7 @@ export declare const methods: {
|
|
|
7537
7758
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
7538
7759
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
7539
7760
|
model?: string | undefined;
|
|
7761
|
+
name?: string | undefined;
|
|
7540
7762
|
task?: string | undefined;
|
|
7541
7763
|
agentType?: string | undefined;
|
|
7542
7764
|
workflow?: {
|
|
@@ -7596,8 +7818,8 @@ export declare const methods: {
|
|
|
7596
7818
|
type: "text";
|
|
7597
7819
|
text: string;
|
|
7598
7820
|
} | {
|
|
7599
|
-
mimeType: string;
|
|
7600
7821
|
type: "image";
|
|
7822
|
+
mimeType: string;
|
|
7601
7823
|
data?: string | undefined;
|
|
7602
7824
|
uri?: string | undefined;
|
|
7603
7825
|
} | {
|
|
@@ -7663,16 +7885,16 @@ export declare const methods: {
|
|
|
7663
7885
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
7664
7886
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7665
7887
|
}, "strip", z.ZodTypeAny, {
|
|
7666
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7667
7888
|
objective: string;
|
|
7889
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7668
7890
|
tokenBudget?: number | null | undefined;
|
|
7669
7891
|
tokensUsed?: number | undefined;
|
|
7670
7892
|
timeUsedSeconds?: number | undefined;
|
|
7671
7893
|
iterations?: number | undefined;
|
|
7672
7894
|
lastReason?: string | null | undefined;
|
|
7673
7895
|
}, {
|
|
7674
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7675
7896
|
objective: string;
|
|
7897
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7676
7898
|
tokenBudget?: number | null | undefined;
|
|
7677
7899
|
tokensUsed?: number | undefined;
|
|
7678
7900
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7682,8 +7904,8 @@ export declare const methods: {
|
|
|
7682
7904
|
}, "strip", z.ZodTypeAny, {
|
|
7683
7905
|
sessionUpdate: "ls_goal";
|
|
7684
7906
|
goal: {
|
|
7685
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7686
7907
|
objective: string;
|
|
7908
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7687
7909
|
tokenBudget?: number | null | undefined;
|
|
7688
7910
|
tokensUsed?: number | undefined;
|
|
7689
7911
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7693,8 +7915,8 @@ export declare const methods: {
|
|
|
7693
7915
|
}, {
|
|
7694
7916
|
sessionUpdate: "ls_goal";
|
|
7695
7917
|
goal: {
|
|
7696
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7697
7918
|
objective: string;
|
|
7919
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7698
7920
|
tokenBudget?: number | null | undefined;
|
|
7699
7921
|
tokensUsed?: number | undefined;
|
|
7700
7922
|
timeUsedSeconds?: number | undefined;
|
|
@@ -7763,6 +7985,35 @@ export declare const methods: {
|
|
|
7763
7985
|
sessionUpdate: "usage_update";
|
|
7764
7986
|
usedTokens?: number | undefined;
|
|
7765
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";
|
|
7766
8017
|
}>, z.ZodObject<{
|
|
7767
8018
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
7768
8019
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -7773,12 +8024,12 @@ export declare const methods: {
|
|
|
7773
8024
|
title: z.ZodString;
|
|
7774
8025
|
options: z.ZodArray<z.ZodString, "many">;
|
|
7775
8026
|
}, "strip", z.ZodTypeAny, {
|
|
7776
|
-
id: string;
|
|
7777
8027
|
options: string[];
|
|
8028
|
+
id: string;
|
|
7778
8029
|
title: string;
|
|
7779
8030
|
}, {
|
|
7780
|
-
id: string;
|
|
7781
8031
|
options: string[];
|
|
8032
|
+
id: string;
|
|
7782
8033
|
title: string;
|
|
7783
8034
|
}>, "many">>;
|
|
7784
8035
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7786,8 +8037,8 @@ export declare const methods: {
|
|
|
7786
8037
|
messageId: string;
|
|
7787
8038
|
role: "agent" | "thought" | "user";
|
|
7788
8039
|
questions?: {
|
|
7789
|
-
id: string;
|
|
7790
8040
|
options: string[];
|
|
8041
|
+
id: string;
|
|
7791
8042
|
title: string;
|
|
7792
8043
|
}[] | undefined;
|
|
7793
8044
|
parentToolCallId?: string | undefined;
|
|
@@ -7796,8 +8047,8 @@ export declare const methods: {
|
|
|
7796
8047
|
messageId: string;
|
|
7797
8048
|
role: "agent" | "thought" | "user";
|
|
7798
8049
|
questions?: {
|
|
7799
|
-
id: string;
|
|
7800
8050
|
options: string[];
|
|
8051
|
+
id: string;
|
|
7801
8052
|
title: string;
|
|
7802
8053
|
}[] | undefined;
|
|
7803
8054
|
parentToolCallId?: string | undefined;
|
|
@@ -7822,34 +8073,34 @@ export declare const methods: {
|
|
|
7822
8073
|
description?: string | undefined;
|
|
7823
8074
|
}>, "many">;
|
|
7824
8075
|
}, "strip", z.ZodTypeAny, {
|
|
7825
|
-
id: string;
|
|
7826
8076
|
values: {
|
|
7827
8077
|
value: string;
|
|
7828
8078
|
name: string;
|
|
7829
8079
|
description?: string | undefined;
|
|
7830
8080
|
}[];
|
|
8081
|
+
id: string;
|
|
7831
8082
|
name: string;
|
|
7832
8083
|
category: "model" | "other" | "mode" | "effort";
|
|
7833
8084
|
current: string;
|
|
7834
8085
|
}, {
|
|
7835
|
-
id: string;
|
|
7836
8086
|
values: {
|
|
7837
8087
|
value: string;
|
|
7838
8088
|
name: string;
|
|
7839
8089
|
description?: string | undefined;
|
|
7840
8090
|
}[];
|
|
8091
|
+
id: string;
|
|
7841
8092
|
name: string;
|
|
7842
8093
|
current: string;
|
|
7843
8094
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
7844
8095
|
}>, "many">;
|
|
7845
8096
|
}, "strip", z.ZodTypeAny, {
|
|
7846
8097
|
options: {
|
|
7847
|
-
id: string;
|
|
7848
8098
|
values: {
|
|
7849
8099
|
value: string;
|
|
7850
8100
|
name: string;
|
|
7851
8101
|
description?: string | undefined;
|
|
7852
8102
|
}[];
|
|
8103
|
+
id: string;
|
|
7853
8104
|
name: string;
|
|
7854
8105
|
category: "model" | "other" | "mode" | "effort";
|
|
7855
8106
|
current: string;
|
|
@@ -7857,12 +8108,12 @@ export declare const methods: {
|
|
|
7857
8108
|
sessionUpdate: "ls_config";
|
|
7858
8109
|
}, {
|
|
7859
8110
|
options: {
|
|
7860
|
-
id: string;
|
|
7861
8111
|
values: {
|
|
7862
8112
|
value: string;
|
|
7863
8113
|
name: string;
|
|
7864
8114
|
description?: string | undefined;
|
|
7865
8115
|
}[];
|
|
8116
|
+
id: string;
|
|
7866
8117
|
name: string;
|
|
7867
8118
|
current: string;
|
|
7868
8119
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -8027,12 +8278,12 @@ export declare const methods: {
|
|
|
8027
8278
|
values: z.ZodArray<z.ZodString, "many">;
|
|
8028
8279
|
other: z.ZodOptional<z.ZodString>;
|
|
8029
8280
|
}, "strip", z.ZodTypeAny, {
|
|
8030
|
-
id: string;
|
|
8031
8281
|
values: string[];
|
|
8282
|
+
id: string;
|
|
8032
8283
|
other?: string | undefined;
|
|
8033
8284
|
}, {
|
|
8034
|
-
id: string;
|
|
8035
8285
|
values: string[];
|
|
8286
|
+
id: string;
|
|
8036
8287
|
other?: string | undefined;
|
|
8037
8288
|
}>, "many">>;
|
|
8038
8289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8040,8 +8291,8 @@ export declare const methods: {
|
|
|
8040
8291
|
sessionUpdate: "ls_permission_resolved";
|
|
8041
8292
|
optionId?: string | undefined;
|
|
8042
8293
|
answers?: {
|
|
8043
|
-
id: string;
|
|
8044
8294
|
values: string[];
|
|
8295
|
+
id: string;
|
|
8045
8296
|
other?: string | undefined;
|
|
8046
8297
|
}[] | undefined;
|
|
8047
8298
|
}, {
|
|
@@ -8049,8 +8300,8 @@ export declare const methods: {
|
|
|
8049
8300
|
sessionUpdate: "ls_permission_resolved";
|
|
8050
8301
|
optionId?: string | undefined;
|
|
8051
8302
|
answers?: {
|
|
8052
|
-
id: string;
|
|
8053
8303
|
values: string[];
|
|
8304
|
+
id: string;
|
|
8054
8305
|
other?: string | undefined;
|
|
8055
8306
|
}[] | undefined;
|
|
8056
8307
|
}>, z.ZodObject<{
|
|
@@ -8069,10 +8320,10 @@ export declare const methods: {
|
|
|
8069
8320
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
8070
8321
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
8071
8322
|
}, "strip", z.ZodTypeAny, {
|
|
8072
|
-
state: "
|
|
8323
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8073
8324
|
sessionUpdate: "ls_status";
|
|
8074
8325
|
}, {
|
|
8075
|
-
state: "
|
|
8326
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8076
8327
|
sessionUpdate: "ls_status";
|
|
8077
8328
|
}>, z.ZodObject<{
|
|
8078
8329
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -8175,8 +8426,8 @@ export declare const methods: {
|
|
|
8175
8426
|
type: "text";
|
|
8176
8427
|
text: string;
|
|
8177
8428
|
} | {
|
|
8178
|
-
mimeType: string;
|
|
8179
8429
|
type: "image";
|
|
8430
|
+
mimeType: string;
|
|
8180
8431
|
data?: string | undefined;
|
|
8181
8432
|
uri?: string | undefined;
|
|
8182
8433
|
} | {
|
|
@@ -8192,8 +8443,8 @@ export declare const methods: {
|
|
|
8192
8443
|
type: "text";
|
|
8193
8444
|
text: string;
|
|
8194
8445
|
} | {
|
|
8195
|
-
mimeType: string;
|
|
8196
8446
|
type: "image";
|
|
8447
|
+
mimeType: string;
|
|
8197
8448
|
data?: string | undefined;
|
|
8198
8449
|
uri?: string | undefined;
|
|
8199
8450
|
} | {
|
|
@@ -8210,8 +8461,8 @@ export declare const methods: {
|
|
|
8210
8461
|
type: "text";
|
|
8211
8462
|
text: string;
|
|
8212
8463
|
} | {
|
|
8213
|
-
mimeType: string;
|
|
8214
8464
|
type: "image";
|
|
8465
|
+
mimeType: string;
|
|
8215
8466
|
data?: string | undefined;
|
|
8216
8467
|
uri?: string | undefined;
|
|
8217
8468
|
} | {
|
|
@@ -8238,6 +8489,7 @@ export declare const methods: {
|
|
|
8238
8489
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
8239
8490
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
8240
8491
|
model?: string | undefined;
|
|
8492
|
+
name?: string | undefined;
|
|
8241
8493
|
task?: string | undefined;
|
|
8242
8494
|
agentType?: string | undefined;
|
|
8243
8495
|
workflow?: {
|
|
@@ -8297,8 +8549,8 @@ export declare const methods: {
|
|
|
8297
8549
|
type: "text";
|
|
8298
8550
|
text: string;
|
|
8299
8551
|
} | {
|
|
8300
|
-
mimeType: string;
|
|
8301
8552
|
type: "image";
|
|
8553
|
+
mimeType: string;
|
|
8302
8554
|
data?: string | undefined;
|
|
8303
8555
|
uri?: string | undefined;
|
|
8304
8556
|
} | {
|
|
@@ -8341,6 +8593,7 @@ export declare const methods: {
|
|
|
8341
8593
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
8342
8594
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
8343
8595
|
model?: string | undefined;
|
|
8596
|
+
name?: string | undefined;
|
|
8344
8597
|
task?: string | undefined;
|
|
8345
8598
|
agentType?: string | undefined;
|
|
8346
8599
|
workflow?: {
|
|
@@ -8400,8 +8653,8 @@ export declare const methods: {
|
|
|
8400
8653
|
type: "text";
|
|
8401
8654
|
text: string;
|
|
8402
8655
|
} | {
|
|
8403
|
-
mimeType: string;
|
|
8404
8656
|
type: "image";
|
|
8657
|
+
mimeType: string;
|
|
8405
8658
|
data?: string | undefined;
|
|
8406
8659
|
uri?: string | undefined;
|
|
8407
8660
|
} | {
|
|
@@ -8437,8 +8690,8 @@ export declare const methods: {
|
|
|
8437
8690
|
} | {
|
|
8438
8691
|
sessionUpdate: "ls_goal";
|
|
8439
8692
|
goal: {
|
|
8440
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8441
8693
|
objective: string;
|
|
8694
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8442
8695
|
tokenBudget?: number | null | undefined;
|
|
8443
8696
|
tokensUsed?: number | undefined;
|
|
8444
8697
|
timeUsedSeconds?: number | undefined;
|
|
@@ -8463,24 +8716,31 @@ export declare const methods: {
|
|
|
8463
8716
|
sessionUpdate: "usage_update";
|
|
8464
8717
|
usedTokens?: number | undefined;
|
|
8465
8718
|
contextWindow?: number | undefined;
|
|
8719
|
+
} | {
|
|
8720
|
+
questions: {
|
|
8721
|
+
options: string[];
|
|
8722
|
+
id: string;
|
|
8723
|
+
title: string;
|
|
8724
|
+
}[];
|
|
8725
|
+
sessionUpdate: "ls_async_questions";
|
|
8466
8726
|
} | {
|
|
8467
8727
|
sessionUpdate: "ls_message_done";
|
|
8468
8728
|
messageId: string;
|
|
8469
8729
|
role: "agent" | "thought" | "user";
|
|
8470
8730
|
questions?: {
|
|
8471
|
-
id: string;
|
|
8472
8731
|
options: string[];
|
|
8732
|
+
id: string;
|
|
8473
8733
|
title: string;
|
|
8474
8734
|
}[] | undefined;
|
|
8475
8735
|
parentToolCallId?: string | undefined;
|
|
8476
8736
|
} | {
|
|
8477
8737
|
options: {
|
|
8478
|
-
id: string;
|
|
8479
8738
|
values: {
|
|
8480
8739
|
value: string;
|
|
8481
8740
|
name: string;
|
|
8482
8741
|
description?: string | undefined;
|
|
8483
8742
|
}[];
|
|
8743
|
+
id: string;
|
|
8484
8744
|
name: string;
|
|
8485
8745
|
category: "model" | "other" | "mode" | "effort";
|
|
8486
8746
|
current: string;
|
|
@@ -8527,8 +8787,8 @@ export declare const methods: {
|
|
|
8527
8787
|
sessionUpdate: "ls_permission_resolved";
|
|
8528
8788
|
optionId?: string | undefined;
|
|
8529
8789
|
answers?: {
|
|
8530
|
-
id: string;
|
|
8531
8790
|
values: string[];
|
|
8791
|
+
id: string;
|
|
8532
8792
|
other?: string | undefined;
|
|
8533
8793
|
}[] | undefined;
|
|
8534
8794
|
} | {
|
|
@@ -8536,7 +8796,7 @@ export declare const methods: {
|
|
|
8536
8796
|
sessionUpdate: "ls_driver";
|
|
8537
8797
|
deviceId?: string | undefined;
|
|
8538
8798
|
} | {
|
|
8539
|
-
state: "
|
|
8799
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8540
8800
|
sessionUpdate: "ls_status";
|
|
8541
8801
|
} | {
|
|
8542
8802
|
task: {
|
|
@@ -8570,8 +8830,8 @@ export declare const methods: {
|
|
|
8570
8830
|
type: "text";
|
|
8571
8831
|
text: string;
|
|
8572
8832
|
} | {
|
|
8573
|
-
mimeType: string;
|
|
8574
8833
|
type: "image";
|
|
8834
|
+
mimeType: string;
|
|
8575
8835
|
data?: string | undefined;
|
|
8576
8836
|
uri?: string | undefined;
|
|
8577
8837
|
} | {
|
|
@@ -8587,8 +8847,8 @@ export declare const methods: {
|
|
|
8587
8847
|
type: "text";
|
|
8588
8848
|
text: string;
|
|
8589
8849
|
} | {
|
|
8590
|
-
mimeType: string;
|
|
8591
8850
|
type: "image";
|
|
8851
|
+
mimeType: string;
|
|
8592
8852
|
data?: string | undefined;
|
|
8593
8853
|
uri?: string | undefined;
|
|
8594
8854
|
} | {
|
|
@@ -8605,8 +8865,8 @@ export declare const methods: {
|
|
|
8605
8865
|
type: "text";
|
|
8606
8866
|
text: string;
|
|
8607
8867
|
} | {
|
|
8608
|
-
mimeType: string;
|
|
8609
8868
|
type: "image";
|
|
8869
|
+
mimeType: string;
|
|
8610
8870
|
data?: string | undefined;
|
|
8611
8871
|
uri?: string | undefined;
|
|
8612
8872
|
} | {
|
|
@@ -8633,6 +8893,7 @@ export declare const methods: {
|
|
|
8633
8893
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8634
8894
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
8635
8895
|
model?: string | undefined;
|
|
8896
|
+
name?: string | undefined;
|
|
8636
8897
|
task?: string | undefined;
|
|
8637
8898
|
agentType?: string | undefined;
|
|
8638
8899
|
workflow?: {
|
|
@@ -8692,8 +8953,8 @@ export declare const methods: {
|
|
|
8692
8953
|
type: "text";
|
|
8693
8954
|
text: string;
|
|
8694
8955
|
} | {
|
|
8695
|
-
mimeType: string;
|
|
8696
8956
|
type: "image";
|
|
8957
|
+
mimeType: string;
|
|
8697
8958
|
data?: string | undefined;
|
|
8698
8959
|
uri?: string | undefined;
|
|
8699
8960
|
} | {
|
|
@@ -8736,6 +8997,7 @@ export declare const methods: {
|
|
|
8736
8997
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8737
8998
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
8738
8999
|
model?: string | undefined;
|
|
9000
|
+
name?: string | undefined;
|
|
8739
9001
|
task?: string | undefined;
|
|
8740
9002
|
agentType?: string | undefined;
|
|
8741
9003
|
workflow?: {
|
|
@@ -8795,8 +9057,8 @@ export declare const methods: {
|
|
|
8795
9057
|
type: "text";
|
|
8796
9058
|
text: string;
|
|
8797
9059
|
} | {
|
|
8798
|
-
mimeType: string;
|
|
8799
9060
|
type: "image";
|
|
9061
|
+
mimeType: string;
|
|
8800
9062
|
data?: string | undefined;
|
|
8801
9063
|
uri?: string | undefined;
|
|
8802
9064
|
} | {
|
|
@@ -8832,8 +9094,8 @@ export declare const methods: {
|
|
|
8832
9094
|
} | {
|
|
8833
9095
|
sessionUpdate: "ls_goal";
|
|
8834
9096
|
goal: {
|
|
8835
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8836
9097
|
objective: string;
|
|
9098
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8837
9099
|
tokenBudget?: number | null | undefined;
|
|
8838
9100
|
tokensUsed?: number | undefined;
|
|
8839
9101
|
timeUsedSeconds?: number | undefined;
|
|
@@ -8858,24 +9120,31 @@ export declare const methods: {
|
|
|
8858
9120
|
sessionUpdate: "usage_update";
|
|
8859
9121
|
usedTokens?: number | undefined;
|
|
8860
9122
|
contextWindow?: number | undefined;
|
|
9123
|
+
} | {
|
|
9124
|
+
questions: {
|
|
9125
|
+
options: string[];
|
|
9126
|
+
id: string;
|
|
9127
|
+
title: string;
|
|
9128
|
+
}[];
|
|
9129
|
+
sessionUpdate: "ls_async_questions";
|
|
8861
9130
|
} | {
|
|
8862
9131
|
sessionUpdate: "ls_message_done";
|
|
8863
9132
|
messageId: string;
|
|
8864
9133
|
role: "agent" | "thought" | "user";
|
|
8865
9134
|
questions?: {
|
|
8866
|
-
id: string;
|
|
8867
9135
|
options: string[];
|
|
9136
|
+
id: string;
|
|
8868
9137
|
title: string;
|
|
8869
9138
|
}[] | undefined;
|
|
8870
9139
|
parentToolCallId?: string | undefined;
|
|
8871
9140
|
} | {
|
|
8872
9141
|
options: {
|
|
8873
|
-
id: string;
|
|
8874
9142
|
values: {
|
|
8875
9143
|
value: string;
|
|
8876
9144
|
name: string;
|
|
8877
9145
|
description?: string | undefined;
|
|
8878
9146
|
}[];
|
|
9147
|
+
id: string;
|
|
8879
9148
|
name: string;
|
|
8880
9149
|
current: string;
|
|
8881
9150
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -8922,8 +9191,8 @@ export declare const methods: {
|
|
|
8922
9191
|
sessionUpdate: "ls_permission_resolved";
|
|
8923
9192
|
optionId?: string | undefined;
|
|
8924
9193
|
answers?: {
|
|
8925
|
-
id: string;
|
|
8926
9194
|
values: string[];
|
|
9195
|
+
id: string;
|
|
8927
9196
|
other?: string | undefined;
|
|
8928
9197
|
}[] | undefined;
|
|
8929
9198
|
} | {
|
|
@@ -8931,7 +9200,7 @@ export declare const methods: {
|
|
|
8931
9200
|
sessionUpdate: "ls_driver";
|
|
8932
9201
|
deviceId?: string | undefined;
|
|
8933
9202
|
} | {
|
|
8934
|
-
state: "
|
|
9203
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8935
9204
|
sessionUpdate: "ls_status";
|
|
8936
9205
|
} | {
|
|
8937
9206
|
task: {
|
|
@@ -8967,8 +9236,8 @@ export declare const methods: {
|
|
|
8967
9236
|
type: "text";
|
|
8968
9237
|
text: string;
|
|
8969
9238
|
} | {
|
|
8970
|
-
mimeType: string;
|
|
8971
9239
|
type: "image";
|
|
9240
|
+
mimeType: string;
|
|
8972
9241
|
data?: string | undefined;
|
|
8973
9242
|
uri?: string | undefined;
|
|
8974
9243
|
} | {
|
|
@@ -8984,8 +9253,8 @@ export declare const methods: {
|
|
|
8984
9253
|
type: "text";
|
|
8985
9254
|
text: string;
|
|
8986
9255
|
} | {
|
|
8987
|
-
mimeType: string;
|
|
8988
9256
|
type: "image";
|
|
9257
|
+
mimeType: string;
|
|
8989
9258
|
data?: string | undefined;
|
|
8990
9259
|
uri?: string | undefined;
|
|
8991
9260
|
} | {
|
|
@@ -9002,8 +9271,8 @@ export declare const methods: {
|
|
|
9002
9271
|
type: "text";
|
|
9003
9272
|
text: string;
|
|
9004
9273
|
} | {
|
|
9005
|
-
mimeType: string;
|
|
9006
9274
|
type: "image";
|
|
9275
|
+
mimeType: string;
|
|
9007
9276
|
data?: string | undefined;
|
|
9008
9277
|
uri?: string | undefined;
|
|
9009
9278
|
} | {
|
|
@@ -9030,6 +9299,7 @@ export declare const methods: {
|
|
|
9030
9299
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
9031
9300
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
9032
9301
|
model?: string | undefined;
|
|
9302
|
+
name?: string | undefined;
|
|
9033
9303
|
task?: string | undefined;
|
|
9034
9304
|
agentType?: string | undefined;
|
|
9035
9305
|
workflow?: {
|
|
@@ -9089,8 +9359,8 @@ export declare const methods: {
|
|
|
9089
9359
|
type: "text";
|
|
9090
9360
|
text: string;
|
|
9091
9361
|
} | {
|
|
9092
|
-
mimeType: string;
|
|
9093
9362
|
type: "image";
|
|
9363
|
+
mimeType: string;
|
|
9094
9364
|
data?: string | undefined;
|
|
9095
9365
|
uri?: string | undefined;
|
|
9096
9366
|
} | {
|
|
@@ -9133,6 +9403,7 @@ export declare const methods: {
|
|
|
9133
9403
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
9134
9404
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
9135
9405
|
model?: string | undefined;
|
|
9406
|
+
name?: string | undefined;
|
|
9136
9407
|
task?: string | undefined;
|
|
9137
9408
|
agentType?: string | undefined;
|
|
9138
9409
|
workflow?: {
|
|
@@ -9192,8 +9463,8 @@ export declare const methods: {
|
|
|
9192
9463
|
type: "text";
|
|
9193
9464
|
text: string;
|
|
9194
9465
|
} | {
|
|
9195
|
-
mimeType: string;
|
|
9196
9466
|
type: "image";
|
|
9467
|
+
mimeType: string;
|
|
9197
9468
|
data?: string | undefined;
|
|
9198
9469
|
uri?: string | undefined;
|
|
9199
9470
|
} | {
|
|
@@ -9229,8 +9500,8 @@ export declare const methods: {
|
|
|
9229
9500
|
} | {
|
|
9230
9501
|
sessionUpdate: "ls_goal";
|
|
9231
9502
|
goal: {
|
|
9232
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9233
9503
|
objective: string;
|
|
9504
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9234
9505
|
tokenBudget?: number | null | undefined;
|
|
9235
9506
|
tokensUsed?: number | undefined;
|
|
9236
9507
|
timeUsedSeconds?: number | undefined;
|
|
@@ -9255,24 +9526,31 @@ export declare const methods: {
|
|
|
9255
9526
|
sessionUpdate: "usage_update";
|
|
9256
9527
|
usedTokens?: number | undefined;
|
|
9257
9528
|
contextWindow?: number | undefined;
|
|
9529
|
+
} | {
|
|
9530
|
+
questions: {
|
|
9531
|
+
options: string[];
|
|
9532
|
+
id: string;
|
|
9533
|
+
title: string;
|
|
9534
|
+
}[];
|
|
9535
|
+
sessionUpdate: "ls_async_questions";
|
|
9258
9536
|
} | {
|
|
9259
9537
|
sessionUpdate: "ls_message_done";
|
|
9260
9538
|
messageId: string;
|
|
9261
9539
|
role: "agent" | "thought" | "user";
|
|
9262
9540
|
questions?: {
|
|
9263
|
-
id: string;
|
|
9264
9541
|
options: string[];
|
|
9542
|
+
id: string;
|
|
9265
9543
|
title: string;
|
|
9266
9544
|
}[] | undefined;
|
|
9267
9545
|
parentToolCallId?: string | undefined;
|
|
9268
9546
|
} | {
|
|
9269
9547
|
options: {
|
|
9270
|
-
id: string;
|
|
9271
9548
|
values: {
|
|
9272
9549
|
value: string;
|
|
9273
9550
|
name: string;
|
|
9274
9551
|
description?: string | undefined;
|
|
9275
9552
|
}[];
|
|
9553
|
+
id: string;
|
|
9276
9554
|
name: string;
|
|
9277
9555
|
category: "model" | "other" | "mode" | "effort";
|
|
9278
9556
|
current: string;
|
|
@@ -9319,8 +9597,8 @@ export declare const methods: {
|
|
|
9319
9597
|
sessionUpdate: "ls_permission_resolved";
|
|
9320
9598
|
optionId?: string | undefined;
|
|
9321
9599
|
answers?: {
|
|
9322
|
-
id: string;
|
|
9323
9600
|
values: string[];
|
|
9601
|
+
id: string;
|
|
9324
9602
|
other?: string | undefined;
|
|
9325
9603
|
}[] | undefined;
|
|
9326
9604
|
} | {
|
|
@@ -9328,7 +9606,7 @@ export declare const methods: {
|
|
|
9328
9606
|
sessionUpdate: "ls_driver";
|
|
9329
9607
|
deviceId?: string | undefined;
|
|
9330
9608
|
} | {
|
|
9331
|
-
state: "
|
|
9609
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
9332
9610
|
sessionUpdate: "ls_status";
|
|
9333
9611
|
} | {
|
|
9334
9612
|
task: {
|
|
@@ -9364,8 +9642,8 @@ export declare const methods: {
|
|
|
9364
9642
|
type: "text";
|
|
9365
9643
|
text: string;
|
|
9366
9644
|
} | {
|
|
9367
|
-
mimeType: string;
|
|
9368
9645
|
type: "image";
|
|
9646
|
+
mimeType: string;
|
|
9369
9647
|
data?: string | undefined;
|
|
9370
9648
|
uri?: string | undefined;
|
|
9371
9649
|
} | {
|
|
@@ -9381,8 +9659,8 @@ export declare const methods: {
|
|
|
9381
9659
|
type: "text";
|
|
9382
9660
|
text: string;
|
|
9383
9661
|
} | {
|
|
9384
|
-
mimeType: string;
|
|
9385
9662
|
type: "image";
|
|
9663
|
+
mimeType: string;
|
|
9386
9664
|
data?: string | undefined;
|
|
9387
9665
|
uri?: string | undefined;
|
|
9388
9666
|
} | {
|
|
@@ -9399,8 +9677,8 @@ export declare const methods: {
|
|
|
9399
9677
|
type: "text";
|
|
9400
9678
|
text: string;
|
|
9401
9679
|
} | {
|
|
9402
|
-
mimeType: string;
|
|
9403
9680
|
type: "image";
|
|
9681
|
+
mimeType: string;
|
|
9404
9682
|
data?: string | undefined;
|
|
9405
9683
|
uri?: string | undefined;
|
|
9406
9684
|
} | {
|
|
@@ -9427,6 +9705,7 @@ export declare const methods: {
|
|
|
9427
9705
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
9428
9706
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
9429
9707
|
model?: string | undefined;
|
|
9708
|
+
name?: string | undefined;
|
|
9430
9709
|
task?: string | undefined;
|
|
9431
9710
|
agentType?: string | undefined;
|
|
9432
9711
|
workflow?: {
|
|
@@ -9486,8 +9765,8 @@ export declare const methods: {
|
|
|
9486
9765
|
type: "text";
|
|
9487
9766
|
text: string;
|
|
9488
9767
|
} | {
|
|
9489
|
-
mimeType: string;
|
|
9490
9768
|
type: "image";
|
|
9769
|
+
mimeType: string;
|
|
9491
9770
|
data?: string | undefined;
|
|
9492
9771
|
uri?: string | undefined;
|
|
9493
9772
|
} | {
|
|
@@ -9530,6 +9809,7 @@ export declare const methods: {
|
|
|
9530
9809
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
9531
9810
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
9532
9811
|
model?: string | undefined;
|
|
9812
|
+
name?: string | undefined;
|
|
9533
9813
|
task?: string | undefined;
|
|
9534
9814
|
agentType?: string | undefined;
|
|
9535
9815
|
workflow?: {
|
|
@@ -9589,8 +9869,8 @@ export declare const methods: {
|
|
|
9589
9869
|
type: "text";
|
|
9590
9870
|
text: string;
|
|
9591
9871
|
} | {
|
|
9592
|
-
mimeType: string;
|
|
9593
9872
|
type: "image";
|
|
9873
|
+
mimeType: string;
|
|
9594
9874
|
data?: string | undefined;
|
|
9595
9875
|
uri?: string | undefined;
|
|
9596
9876
|
} | {
|
|
@@ -9626,8 +9906,8 @@ export declare const methods: {
|
|
|
9626
9906
|
} | {
|
|
9627
9907
|
sessionUpdate: "ls_goal";
|
|
9628
9908
|
goal: {
|
|
9629
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9630
9909
|
objective: string;
|
|
9910
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9631
9911
|
tokenBudget?: number | null | undefined;
|
|
9632
9912
|
tokensUsed?: number | undefined;
|
|
9633
9913
|
timeUsedSeconds?: number | undefined;
|
|
@@ -9652,24 +9932,31 @@ export declare const methods: {
|
|
|
9652
9932
|
sessionUpdate: "usage_update";
|
|
9653
9933
|
usedTokens?: number | undefined;
|
|
9654
9934
|
contextWindow?: number | undefined;
|
|
9935
|
+
} | {
|
|
9936
|
+
questions: {
|
|
9937
|
+
options: string[];
|
|
9938
|
+
id: string;
|
|
9939
|
+
title: string;
|
|
9940
|
+
}[];
|
|
9941
|
+
sessionUpdate: "ls_async_questions";
|
|
9655
9942
|
} | {
|
|
9656
9943
|
sessionUpdate: "ls_message_done";
|
|
9657
9944
|
messageId: string;
|
|
9658
9945
|
role: "agent" | "thought" | "user";
|
|
9659
9946
|
questions?: {
|
|
9660
|
-
id: string;
|
|
9661
9947
|
options: string[];
|
|
9948
|
+
id: string;
|
|
9662
9949
|
title: string;
|
|
9663
9950
|
}[] | undefined;
|
|
9664
9951
|
parentToolCallId?: string | undefined;
|
|
9665
9952
|
} | {
|
|
9666
9953
|
options: {
|
|
9667
|
-
id: string;
|
|
9668
9954
|
values: {
|
|
9669
9955
|
value: string;
|
|
9670
9956
|
name: string;
|
|
9671
9957
|
description?: string | undefined;
|
|
9672
9958
|
}[];
|
|
9959
|
+
id: string;
|
|
9673
9960
|
name: string;
|
|
9674
9961
|
current: string;
|
|
9675
9962
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -9716,8 +10003,8 @@ export declare const methods: {
|
|
|
9716
10003
|
sessionUpdate: "ls_permission_resolved";
|
|
9717
10004
|
optionId?: string | undefined;
|
|
9718
10005
|
answers?: {
|
|
9719
|
-
id: string;
|
|
9720
10006
|
values: string[];
|
|
10007
|
+
id: string;
|
|
9721
10008
|
other?: string | undefined;
|
|
9722
10009
|
}[] | undefined;
|
|
9723
10010
|
} | {
|
|
@@ -9725,7 +10012,7 @@ export declare const methods: {
|
|
|
9725
10012
|
sessionUpdate: "ls_driver";
|
|
9726
10013
|
deviceId?: string | undefined;
|
|
9727
10014
|
} | {
|
|
9728
|
-
state: "
|
|
10015
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
9729
10016
|
sessionUpdate: "ls_status";
|
|
9730
10017
|
} | {
|
|
9731
10018
|
task: {
|
|
@@ -9980,13 +10267,13 @@ export declare const methods: {
|
|
|
9980
10267
|
data: z.ZodOptional<z.ZodString>;
|
|
9981
10268
|
uri: z.ZodOptional<z.ZodString>;
|
|
9982
10269
|
}, "strip", z.ZodTypeAny, {
|
|
9983
|
-
mimeType: string;
|
|
9984
10270
|
type: "image";
|
|
10271
|
+
mimeType: string;
|
|
9985
10272
|
data?: string | undefined;
|
|
9986
10273
|
uri?: string | undefined;
|
|
9987
10274
|
}, {
|
|
9988
|
-
mimeType: string;
|
|
9989
10275
|
type: "image";
|
|
10276
|
+
mimeType: string;
|
|
9990
10277
|
data?: string | undefined;
|
|
9991
10278
|
uri?: string | undefined;
|
|
9992
10279
|
}>, z.ZodObject<{
|
|
@@ -10018,8 +10305,8 @@ export declare const methods: {
|
|
|
10018
10305
|
type: "text";
|
|
10019
10306
|
text: string;
|
|
10020
10307
|
} | {
|
|
10021
|
-
mimeType: string;
|
|
10022
10308
|
type: "image";
|
|
10309
|
+
mimeType: string;
|
|
10023
10310
|
data?: string | undefined;
|
|
10024
10311
|
uri?: string | undefined;
|
|
10025
10312
|
} | {
|
|
@@ -10036,8 +10323,8 @@ export declare const methods: {
|
|
|
10036
10323
|
type: "text";
|
|
10037
10324
|
text: string;
|
|
10038
10325
|
} | {
|
|
10039
|
-
mimeType: string;
|
|
10040
10326
|
type: "image";
|
|
10327
|
+
mimeType: string;
|
|
10041
10328
|
data?: string | undefined;
|
|
10042
10329
|
uri?: string | undefined;
|
|
10043
10330
|
} | {
|
|
@@ -10098,27 +10385,27 @@ export declare const methods: {
|
|
|
10098
10385
|
values: z.ZodArray<z.ZodString, "many">;
|
|
10099
10386
|
other: z.ZodOptional<z.ZodString>;
|
|
10100
10387
|
}, "strip", z.ZodTypeAny, {
|
|
10101
|
-
id: string;
|
|
10102
10388
|
values: string[];
|
|
10389
|
+
id: string;
|
|
10103
10390
|
other?: string | undefined;
|
|
10104
10391
|
}, {
|
|
10105
|
-
id: string;
|
|
10106
10392
|
values: string[];
|
|
10393
|
+
id: string;
|
|
10107
10394
|
other?: string | undefined;
|
|
10108
10395
|
}>, "many">;
|
|
10109
10396
|
}, "strip", z.ZodTypeAny, {
|
|
10110
10397
|
requestId: string;
|
|
10111
10398
|
answers: {
|
|
10112
|
-
id: string;
|
|
10113
10399
|
values: string[];
|
|
10400
|
+
id: string;
|
|
10114
10401
|
other?: string | undefined;
|
|
10115
10402
|
}[];
|
|
10116
10403
|
sessionId: string;
|
|
10117
10404
|
}, {
|
|
10118
10405
|
requestId: string;
|
|
10119
10406
|
answers: {
|
|
10120
|
-
id: string;
|
|
10121
10407
|
values: string[];
|
|
10408
|
+
id: string;
|
|
10122
10409
|
other?: string | undefined;
|
|
10123
10410
|
}[];
|
|
10124
10411
|
sessionId: string;
|
|
@@ -10206,16 +10493,16 @@ export declare const methods: {
|
|
|
10206
10493
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
10207
10494
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10208
10495
|
}, "strip", z.ZodTypeAny, {
|
|
10209
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10210
10496
|
objective: string;
|
|
10497
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10211
10498
|
tokenBudget?: number | null | undefined;
|
|
10212
10499
|
tokensUsed?: number | undefined;
|
|
10213
10500
|
timeUsedSeconds?: number | undefined;
|
|
10214
10501
|
iterations?: number | undefined;
|
|
10215
10502
|
lastReason?: string | null | undefined;
|
|
10216
10503
|
}, {
|
|
10217
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10218
10504
|
objective: string;
|
|
10505
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10219
10506
|
tokenBudget?: number | null | undefined;
|
|
10220
10507
|
tokensUsed?: number | undefined;
|
|
10221
10508
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10224,8 +10511,8 @@ export declare const methods: {
|
|
|
10224
10511
|
}>>;
|
|
10225
10512
|
}, "strip", z.ZodTypeAny, {
|
|
10226
10513
|
goal: {
|
|
10227
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10228
10514
|
objective: string;
|
|
10515
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10229
10516
|
tokenBudget?: number | null | undefined;
|
|
10230
10517
|
tokensUsed?: number | undefined;
|
|
10231
10518
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10234,8 +10521,8 @@ export declare const methods: {
|
|
|
10234
10521
|
} | null;
|
|
10235
10522
|
}, {
|
|
10236
10523
|
goal: {
|
|
10237
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10238
10524
|
objective: string;
|
|
10525
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10239
10526
|
tokenBudget?: number | null | undefined;
|
|
10240
10527
|
tokensUsed?: number | undefined;
|
|
10241
10528
|
timeUsedSeconds?: number | undefined;
|
|
@@ -10468,6 +10755,19 @@ export declare const methods: {
|
|
|
10468
10755
|
required?: boolean | undefined;
|
|
10469
10756
|
}[] | undefined;
|
|
10470
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">>;
|
|
10471
10771
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10472
10772
|
clientMessageId: z.ZodString;
|
|
10473
10773
|
text: z.ZodString;
|
|
@@ -10513,7 +10813,7 @@ export declare const methods: {
|
|
|
10513
10813
|
}>>;
|
|
10514
10814
|
}, "strip", z.ZodTypeAny, {
|
|
10515
10815
|
id: string;
|
|
10516
|
-
state: "
|
|
10816
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10517
10817
|
lastSeq: number;
|
|
10518
10818
|
agent: string;
|
|
10519
10819
|
nativeId: string;
|
|
@@ -10556,6 +10856,11 @@ export declare const methods: {
|
|
|
10556
10856
|
required?: boolean | undefined;
|
|
10557
10857
|
}[] | undefined;
|
|
10558
10858
|
} | undefined;
|
|
10859
|
+
asyncQuestions?: {
|
|
10860
|
+
options: string[];
|
|
10861
|
+
id: string;
|
|
10862
|
+
title: string;
|
|
10863
|
+
}[] | undefined;
|
|
10559
10864
|
queue?: {
|
|
10560
10865
|
images: number;
|
|
10561
10866
|
text: string;
|
|
@@ -10575,7 +10880,7 @@ export declare const methods: {
|
|
|
10575
10880
|
} | undefined;
|
|
10576
10881
|
}, {
|
|
10577
10882
|
id: string;
|
|
10578
|
-
state: "
|
|
10883
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10579
10884
|
lastSeq: number;
|
|
10580
10885
|
agent: string;
|
|
10581
10886
|
nativeId: string;
|
|
@@ -10618,6 +10923,11 @@ export declare const methods: {
|
|
|
10618
10923
|
required?: boolean | undefined;
|
|
10619
10924
|
}[] | undefined;
|
|
10620
10925
|
} | undefined;
|
|
10926
|
+
asyncQuestions?: {
|
|
10927
|
+
options: string[];
|
|
10928
|
+
id: string;
|
|
10929
|
+
title: string;
|
|
10930
|
+
}[] | undefined;
|
|
10621
10931
|
queue?: {
|
|
10622
10932
|
images: number;
|
|
10623
10933
|
text: string;
|
|
@@ -10639,7 +10949,7 @@ export declare const methods: {
|
|
|
10639
10949
|
}, "strip", z.ZodTypeAny, {
|
|
10640
10950
|
session: {
|
|
10641
10951
|
id: string;
|
|
10642
|
-
state: "
|
|
10952
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10643
10953
|
lastSeq: number;
|
|
10644
10954
|
agent: string;
|
|
10645
10955
|
nativeId: string;
|
|
@@ -10682,6 +10992,11 @@ export declare const methods: {
|
|
|
10682
10992
|
required?: boolean | undefined;
|
|
10683
10993
|
}[] | undefined;
|
|
10684
10994
|
} | undefined;
|
|
10995
|
+
asyncQuestions?: {
|
|
10996
|
+
options: string[];
|
|
10997
|
+
id: string;
|
|
10998
|
+
title: string;
|
|
10999
|
+
}[] | undefined;
|
|
10685
11000
|
queue?: {
|
|
10686
11001
|
images: number;
|
|
10687
11002
|
text: string;
|
|
@@ -10703,7 +11018,7 @@ export declare const methods: {
|
|
|
10703
11018
|
}, {
|
|
10704
11019
|
session: {
|
|
10705
11020
|
id: string;
|
|
10706
|
-
state: "
|
|
11021
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10707
11022
|
lastSeq: number;
|
|
10708
11023
|
agent: string;
|
|
10709
11024
|
nativeId: string;
|
|
@@ -10746,6 +11061,11 @@ export declare const methods: {
|
|
|
10746
11061
|
required?: boolean | undefined;
|
|
10747
11062
|
}[] | undefined;
|
|
10748
11063
|
} | undefined;
|
|
11064
|
+
asyncQuestions?: {
|
|
11065
|
+
options: string[];
|
|
11066
|
+
id: string;
|
|
11067
|
+
title: string;
|
|
11068
|
+
}[] | undefined;
|
|
10749
11069
|
queue?: {
|
|
10750
11070
|
images: number;
|
|
10751
11071
|
text: string;
|
|
@@ -10922,6 +11242,19 @@ export declare const methods: {
|
|
|
10922
11242
|
required?: boolean | undefined;
|
|
10923
11243
|
}[] | undefined;
|
|
10924
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">>;
|
|
10925
11258
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10926
11259
|
clientMessageId: z.ZodString;
|
|
10927
11260
|
text: z.ZodString;
|
|
@@ -10967,7 +11300,7 @@ export declare const methods: {
|
|
|
10967
11300
|
}>>;
|
|
10968
11301
|
}, "strip", z.ZodTypeAny, {
|
|
10969
11302
|
id: string;
|
|
10970
|
-
state: "
|
|
11303
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
10971
11304
|
lastSeq: number;
|
|
10972
11305
|
agent: string;
|
|
10973
11306
|
nativeId: string;
|
|
@@ -11010,6 +11343,11 @@ export declare const methods: {
|
|
|
11010
11343
|
required?: boolean | undefined;
|
|
11011
11344
|
}[] | undefined;
|
|
11012
11345
|
} | undefined;
|
|
11346
|
+
asyncQuestions?: {
|
|
11347
|
+
options: string[];
|
|
11348
|
+
id: string;
|
|
11349
|
+
title: string;
|
|
11350
|
+
}[] | undefined;
|
|
11013
11351
|
queue?: {
|
|
11014
11352
|
images: number;
|
|
11015
11353
|
text: string;
|
|
@@ -11029,7 +11367,7 @@ export declare const methods: {
|
|
|
11029
11367
|
} | undefined;
|
|
11030
11368
|
}, {
|
|
11031
11369
|
id: string;
|
|
11032
|
-
state: "
|
|
11370
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11033
11371
|
lastSeq: number;
|
|
11034
11372
|
agent: string;
|
|
11035
11373
|
nativeId: string;
|
|
@@ -11072,6 +11410,11 @@ export declare const methods: {
|
|
|
11072
11410
|
required?: boolean | undefined;
|
|
11073
11411
|
}[] | undefined;
|
|
11074
11412
|
} | undefined;
|
|
11413
|
+
asyncQuestions?: {
|
|
11414
|
+
options: string[];
|
|
11415
|
+
id: string;
|
|
11416
|
+
title: string;
|
|
11417
|
+
}[] | undefined;
|
|
11075
11418
|
queue?: {
|
|
11076
11419
|
images: number;
|
|
11077
11420
|
text: string;
|
|
@@ -11093,7 +11436,7 @@ export declare const methods: {
|
|
|
11093
11436
|
}, "strip", z.ZodTypeAny, {
|
|
11094
11437
|
session: {
|
|
11095
11438
|
id: string;
|
|
11096
|
-
state: "
|
|
11439
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11097
11440
|
lastSeq: number;
|
|
11098
11441
|
agent: string;
|
|
11099
11442
|
nativeId: string;
|
|
@@ -11136,6 +11479,11 @@ export declare const methods: {
|
|
|
11136
11479
|
required?: boolean | undefined;
|
|
11137
11480
|
}[] | undefined;
|
|
11138
11481
|
} | undefined;
|
|
11482
|
+
asyncQuestions?: {
|
|
11483
|
+
options: string[];
|
|
11484
|
+
id: string;
|
|
11485
|
+
title: string;
|
|
11486
|
+
}[] | undefined;
|
|
11139
11487
|
queue?: {
|
|
11140
11488
|
images: number;
|
|
11141
11489
|
text: string;
|
|
@@ -11157,7 +11505,7 @@ export declare const methods: {
|
|
|
11157
11505
|
}, {
|
|
11158
11506
|
session: {
|
|
11159
11507
|
id: string;
|
|
11160
|
-
state: "
|
|
11508
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
11161
11509
|
lastSeq: number;
|
|
11162
11510
|
agent: string;
|
|
11163
11511
|
nativeId: string;
|
|
@@ -11200,6 +11548,11 @@ export declare const methods: {
|
|
|
11200
11548
|
required?: boolean | undefined;
|
|
11201
11549
|
}[] | undefined;
|
|
11202
11550
|
} | undefined;
|
|
11551
|
+
asyncQuestions?: {
|
|
11552
|
+
options: string[];
|
|
11553
|
+
id: string;
|
|
11554
|
+
title: string;
|
|
11555
|
+
}[] | undefined;
|
|
11203
11556
|
queue?: {
|
|
11204
11557
|
images: number;
|
|
11205
11558
|
text: string;
|
|
@@ -11796,9 +12149,9 @@ export declare const methods: {
|
|
|
11796
12149
|
size: number;
|
|
11797
12150
|
truncated: boolean;
|
|
11798
12151
|
modifiedAt: number;
|
|
12152
|
+
text?: string | undefined;
|
|
11799
12153
|
mimeType?: string | undefined;
|
|
11800
12154
|
data?: string | undefined;
|
|
11801
|
-
text?: string | undefined;
|
|
11802
12155
|
nextOffset?: number | undefined;
|
|
11803
12156
|
}, {
|
|
11804
12157
|
path: string;
|
|
@@ -11806,9 +12159,9 @@ export declare const methods: {
|
|
|
11806
12159
|
size: number;
|
|
11807
12160
|
truncated: boolean;
|
|
11808
12161
|
modifiedAt: number;
|
|
12162
|
+
text?: string | undefined;
|
|
11809
12163
|
mimeType?: string | undefined;
|
|
11810
12164
|
data?: string | undefined;
|
|
11811
|
-
text?: string | undefined;
|
|
11812
12165
|
nextOffset?: number | undefined;
|
|
11813
12166
|
}>;
|
|
11814
12167
|
};
|
|
@@ -11823,12 +12176,12 @@ export declare const methods: {
|
|
|
11823
12176
|
/** base64; up to ~30 MB of file. */
|
|
11824
12177
|
data: z.ZodString;
|
|
11825
12178
|
}, "strip", z.ZodTypeAny, {
|
|
11826
|
-
data: string;
|
|
11827
12179
|
name: string;
|
|
12180
|
+
data: string;
|
|
11828
12181
|
dir: string;
|
|
11829
12182
|
}, {
|
|
11830
|
-
data: string;
|
|
11831
12183
|
name: string;
|
|
12184
|
+
data: string;
|
|
11832
12185
|
dir: string;
|
|
11833
12186
|
}>;
|
|
11834
12187
|
readonly result: z.ZodObject<{
|
|
@@ -12263,14 +12616,14 @@ export declare const methods: {
|
|
|
12263
12616
|
rows: z.ZodNumber;
|
|
12264
12617
|
data: z.ZodString;
|
|
12265
12618
|
}, "strip", z.ZodTypeAny, {
|
|
12266
|
-
data: string;
|
|
12267
12619
|
cols: number;
|
|
12268
12620
|
rows: number;
|
|
12621
|
+
data: string;
|
|
12269
12622
|
frame: number;
|
|
12270
12623
|
}, {
|
|
12271
|
-
data: string;
|
|
12272
12624
|
cols: number;
|
|
12273
12625
|
rows: number;
|
|
12626
|
+
data: string;
|
|
12274
12627
|
frame: number;
|
|
12275
12628
|
}>, "many">;
|
|
12276
12629
|
nextFrame: z.ZodNumber;
|
|
@@ -12278,18 +12631,18 @@ export declare const methods: {
|
|
|
12278
12631
|
}, "strip", z.ZodTypeAny, {
|
|
12279
12632
|
done: boolean;
|
|
12280
12633
|
frames: {
|
|
12281
|
-
data: string;
|
|
12282
12634
|
cols: number;
|
|
12283
12635
|
rows: number;
|
|
12636
|
+
data: string;
|
|
12284
12637
|
frame: number;
|
|
12285
12638
|
}[];
|
|
12286
12639
|
nextFrame: number;
|
|
12287
12640
|
}, {
|
|
12288
12641
|
done: boolean;
|
|
12289
12642
|
frames: {
|
|
12290
|
-
data: string;
|
|
12291
12643
|
cols: number;
|
|
12292
12644
|
rows: number;
|
|
12645
|
+
data: string;
|
|
12293
12646
|
frame: number;
|
|
12294
12647
|
}[];
|
|
12295
12648
|
nextFrame: number;
|
|
@@ -12570,13 +12923,13 @@ export declare const notifications: {
|
|
|
12570
12923
|
data: z.ZodOptional<z.ZodString>;
|
|
12571
12924
|
uri: z.ZodOptional<z.ZodString>;
|
|
12572
12925
|
}, "strip", z.ZodTypeAny, {
|
|
12573
|
-
mimeType: string;
|
|
12574
12926
|
type: "image";
|
|
12927
|
+
mimeType: string;
|
|
12575
12928
|
data?: string | undefined;
|
|
12576
12929
|
uri?: string | undefined;
|
|
12577
12930
|
}, {
|
|
12578
|
-
mimeType: string;
|
|
12579
12931
|
type: "image";
|
|
12932
|
+
mimeType: string;
|
|
12580
12933
|
data?: string | undefined;
|
|
12581
12934
|
uri?: string | undefined;
|
|
12582
12935
|
}>, z.ZodObject<{
|
|
@@ -12600,8 +12953,8 @@ export declare const notifications: {
|
|
|
12600
12953
|
type: "text";
|
|
12601
12954
|
text: string;
|
|
12602
12955
|
} | {
|
|
12603
|
-
mimeType: string;
|
|
12604
12956
|
type: "image";
|
|
12957
|
+
mimeType: string;
|
|
12605
12958
|
data?: string | undefined;
|
|
12606
12959
|
uri?: string | undefined;
|
|
12607
12960
|
} | {
|
|
@@ -12617,8 +12970,8 @@ export declare const notifications: {
|
|
|
12617
12970
|
type: "text";
|
|
12618
12971
|
text: string;
|
|
12619
12972
|
} | {
|
|
12620
|
-
mimeType: string;
|
|
12621
12973
|
type: "image";
|
|
12974
|
+
mimeType: string;
|
|
12622
12975
|
data?: string | undefined;
|
|
12623
12976
|
uri?: string | undefined;
|
|
12624
12977
|
} | {
|
|
@@ -12648,13 +13001,13 @@ export declare const notifications: {
|
|
|
12648
13001
|
data: z.ZodOptional<z.ZodString>;
|
|
12649
13002
|
uri: z.ZodOptional<z.ZodString>;
|
|
12650
13003
|
}, "strip", z.ZodTypeAny, {
|
|
12651
|
-
mimeType: string;
|
|
12652
13004
|
type: "image";
|
|
13005
|
+
mimeType: string;
|
|
12653
13006
|
data?: string | undefined;
|
|
12654
13007
|
uri?: string | undefined;
|
|
12655
13008
|
}, {
|
|
12656
|
-
mimeType: string;
|
|
12657
13009
|
type: "image";
|
|
13010
|
+
mimeType: string;
|
|
12658
13011
|
data?: string | undefined;
|
|
12659
13012
|
uri?: string | undefined;
|
|
12660
13013
|
}>, z.ZodObject<{
|
|
@@ -12678,8 +13031,8 @@ export declare const notifications: {
|
|
|
12678
13031
|
type: "text";
|
|
12679
13032
|
text: string;
|
|
12680
13033
|
} | {
|
|
12681
|
-
mimeType: string;
|
|
12682
13034
|
type: "image";
|
|
13035
|
+
mimeType: string;
|
|
12683
13036
|
data?: string | undefined;
|
|
12684
13037
|
uri?: string | undefined;
|
|
12685
13038
|
} | {
|
|
@@ -12696,8 +13049,8 @@ export declare const notifications: {
|
|
|
12696
13049
|
type: "text";
|
|
12697
13050
|
text: string;
|
|
12698
13051
|
} | {
|
|
12699
|
-
mimeType: string;
|
|
12700
13052
|
type: "image";
|
|
13053
|
+
mimeType: string;
|
|
12701
13054
|
data?: string | undefined;
|
|
12702
13055
|
uri?: string | undefined;
|
|
12703
13056
|
} | {
|
|
@@ -12728,13 +13081,13 @@ export declare const notifications: {
|
|
|
12728
13081
|
data: z.ZodOptional<z.ZodString>;
|
|
12729
13082
|
uri: z.ZodOptional<z.ZodString>;
|
|
12730
13083
|
}, "strip", z.ZodTypeAny, {
|
|
12731
|
-
mimeType: string;
|
|
12732
13084
|
type: "image";
|
|
13085
|
+
mimeType: string;
|
|
12733
13086
|
data?: string | undefined;
|
|
12734
13087
|
uri?: string | undefined;
|
|
12735
13088
|
}, {
|
|
12736
|
-
mimeType: string;
|
|
12737
13089
|
type: "image";
|
|
13090
|
+
mimeType: string;
|
|
12738
13091
|
data?: string | undefined;
|
|
12739
13092
|
uri?: string | undefined;
|
|
12740
13093
|
}>, z.ZodObject<{
|
|
@@ -12758,8 +13111,8 @@ export declare const notifications: {
|
|
|
12758
13111
|
type: "text";
|
|
12759
13112
|
text: string;
|
|
12760
13113
|
} | {
|
|
12761
|
-
mimeType: string;
|
|
12762
13114
|
type: "image";
|
|
13115
|
+
mimeType: string;
|
|
12763
13116
|
data?: string | undefined;
|
|
12764
13117
|
uri?: string | undefined;
|
|
12765
13118
|
} | {
|
|
@@ -12776,8 +13129,8 @@ export declare const notifications: {
|
|
|
12776
13129
|
type: "text";
|
|
12777
13130
|
text: string;
|
|
12778
13131
|
} | {
|
|
12779
|
-
mimeType: string;
|
|
12780
13132
|
type: "image";
|
|
13133
|
+
mimeType: string;
|
|
12781
13134
|
data?: string | undefined;
|
|
12782
13135
|
uri?: string | undefined;
|
|
12783
13136
|
} | {
|
|
@@ -12814,13 +13167,13 @@ export declare const notifications: {
|
|
|
12814
13167
|
data: z.ZodOptional<z.ZodString>;
|
|
12815
13168
|
uri: z.ZodOptional<z.ZodString>;
|
|
12816
13169
|
}, "strip", z.ZodTypeAny, {
|
|
12817
|
-
mimeType: string;
|
|
12818
13170
|
type: "image";
|
|
13171
|
+
mimeType: string;
|
|
12819
13172
|
data?: string | undefined;
|
|
12820
13173
|
uri?: string | undefined;
|
|
12821
13174
|
}, {
|
|
12822
|
-
mimeType: string;
|
|
12823
13175
|
type: "image";
|
|
13176
|
+
mimeType: string;
|
|
12824
13177
|
data?: string | undefined;
|
|
12825
13178
|
uri?: string | undefined;
|
|
12826
13179
|
}>, z.ZodObject<{
|
|
@@ -12845,8 +13198,8 @@ export declare const notifications: {
|
|
|
12845
13198
|
type: "text";
|
|
12846
13199
|
text: string;
|
|
12847
13200
|
} | {
|
|
12848
|
-
mimeType: string;
|
|
12849
13201
|
type: "image";
|
|
13202
|
+
mimeType: string;
|
|
12850
13203
|
data?: string | undefined;
|
|
12851
13204
|
uri?: string | undefined;
|
|
12852
13205
|
} | {
|
|
@@ -12861,8 +13214,8 @@ export declare const notifications: {
|
|
|
12861
13214
|
type: "text";
|
|
12862
13215
|
text: string;
|
|
12863
13216
|
} | {
|
|
12864
|
-
mimeType: string;
|
|
12865
13217
|
type: "image";
|
|
13218
|
+
mimeType: string;
|
|
12866
13219
|
data?: string | undefined;
|
|
12867
13220
|
uri?: string | undefined;
|
|
12868
13221
|
} | {
|
|
@@ -12941,6 +13294,7 @@ export declare const notifications: {
|
|
|
12941
13294
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
12942
13295
|
task: z.ZodOptional<z.ZodString>;
|
|
12943
13296
|
agentType: z.ZodOptional<z.ZodString>;
|
|
13297
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12944
13298
|
model: z.ZodOptional<z.ZodString>;
|
|
12945
13299
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
12946
13300
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -13070,6 +13424,7 @@ export declare const notifications: {
|
|
|
13070
13424
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13071
13425
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13072
13426
|
model?: string | undefined;
|
|
13427
|
+
name?: string | undefined;
|
|
13073
13428
|
task?: string | undefined;
|
|
13074
13429
|
agentType?: string | undefined;
|
|
13075
13430
|
workflow?: {
|
|
@@ -13107,6 +13462,7 @@ export declare const notifications: {
|
|
|
13107
13462
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13108
13463
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13109
13464
|
model?: string | undefined;
|
|
13465
|
+
name?: string | undefined;
|
|
13110
13466
|
task?: string | undefined;
|
|
13111
13467
|
agentType?: string | undefined;
|
|
13112
13468
|
workflow?: {
|
|
@@ -13212,6 +13568,7 @@ export declare const notifications: {
|
|
|
13212
13568
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13213
13569
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13214
13570
|
model?: string | undefined;
|
|
13571
|
+
name?: string | undefined;
|
|
13215
13572
|
task?: string | undefined;
|
|
13216
13573
|
agentType?: string | undefined;
|
|
13217
13574
|
workflow?: {
|
|
@@ -13271,8 +13628,8 @@ export declare const notifications: {
|
|
|
13271
13628
|
type: "text";
|
|
13272
13629
|
text: string;
|
|
13273
13630
|
} | {
|
|
13274
|
-
mimeType: string;
|
|
13275
13631
|
type: "image";
|
|
13632
|
+
mimeType: string;
|
|
13276
13633
|
data?: string | undefined;
|
|
13277
13634
|
uri?: string | undefined;
|
|
13278
13635
|
} | {
|
|
@@ -13316,6 +13673,7 @@ export declare const notifications: {
|
|
|
13316
13673
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13317
13674
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13318
13675
|
model?: string | undefined;
|
|
13676
|
+
name?: string | undefined;
|
|
13319
13677
|
task?: string | undefined;
|
|
13320
13678
|
agentType?: string | undefined;
|
|
13321
13679
|
workflow?: {
|
|
@@ -13375,8 +13733,8 @@ export declare const notifications: {
|
|
|
13375
13733
|
type: "text";
|
|
13376
13734
|
text: string;
|
|
13377
13735
|
} | {
|
|
13378
|
-
mimeType: string;
|
|
13379
13736
|
type: "image";
|
|
13737
|
+
mimeType: string;
|
|
13380
13738
|
data?: string | undefined;
|
|
13381
13739
|
uri?: string | undefined;
|
|
13382
13740
|
} | {
|
|
@@ -13428,6 +13786,7 @@ export declare const notifications: {
|
|
|
13428
13786
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
13429
13787
|
task: z.ZodOptional<z.ZodString>;
|
|
13430
13788
|
agentType: z.ZodOptional<z.ZodString>;
|
|
13789
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13431
13790
|
model: z.ZodOptional<z.ZodString>;
|
|
13432
13791
|
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
13433
13792
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -13557,6 +13916,7 @@ export declare const notifications: {
|
|
|
13557
13916
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13558
13917
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13559
13918
|
model?: string | undefined;
|
|
13919
|
+
name?: string | undefined;
|
|
13560
13920
|
task?: string | undefined;
|
|
13561
13921
|
agentType?: string | undefined;
|
|
13562
13922
|
workflow?: {
|
|
@@ -13594,6 +13954,7 @@ export declare const notifications: {
|
|
|
13594
13954
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13595
13955
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13596
13956
|
model?: string | undefined;
|
|
13957
|
+
name?: string | undefined;
|
|
13597
13958
|
task?: string | undefined;
|
|
13598
13959
|
agentType?: string | undefined;
|
|
13599
13960
|
workflow?: {
|
|
@@ -13701,13 +14062,13 @@ export declare const notifications: {
|
|
|
13701
14062
|
data: z.ZodOptional<z.ZodString>;
|
|
13702
14063
|
uri: z.ZodOptional<z.ZodString>;
|
|
13703
14064
|
}, "strip", z.ZodTypeAny, {
|
|
13704
|
-
mimeType: string;
|
|
13705
14065
|
type: "image";
|
|
14066
|
+
mimeType: string;
|
|
13706
14067
|
data?: string | undefined;
|
|
13707
14068
|
uri?: string | undefined;
|
|
13708
14069
|
}, {
|
|
13709
|
-
mimeType: string;
|
|
13710
14070
|
type: "image";
|
|
14071
|
+
mimeType: string;
|
|
13711
14072
|
data?: string | undefined;
|
|
13712
14073
|
uri?: string | undefined;
|
|
13713
14074
|
}>, z.ZodObject<{
|
|
@@ -13732,8 +14093,8 @@ export declare const notifications: {
|
|
|
13732
14093
|
type: "text";
|
|
13733
14094
|
text: string;
|
|
13734
14095
|
} | {
|
|
13735
|
-
mimeType: string;
|
|
13736
14096
|
type: "image";
|
|
14097
|
+
mimeType: string;
|
|
13737
14098
|
data?: string | undefined;
|
|
13738
14099
|
uri?: string | undefined;
|
|
13739
14100
|
} | {
|
|
@@ -13748,8 +14109,8 @@ export declare const notifications: {
|
|
|
13748
14109
|
type: "text";
|
|
13749
14110
|
text: string;
|
|
13750
14111
|
} | {
|
|
13751
|
-
mimeType: string;
|
|
13752
14112
|
type: "image";
|
|
14113
|
+
mimeType: string;
|
|
13753
14114
|
data?: string | undefined;
|
|
13754
14115
|
uri?: string | undefined;
|
|
13755
14116
|
} | {
|
|
@@ -13817,6 +14178,7 @@ export declare const notifications: {
|
|
|
13817
14178
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13818
14179
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13819
14180
|
model?: string | undefined;
|
|
14181
|
+
name?: string | undefined;
|
|
13820
14182
|
task?: string | undefined;
|
|
13821
14183
|
agentType?: string | undefined;
|
|
13822
14184
|
workflow?: {
|
|
@@ -13876,8 +14238,8 @@ export declare const notifications: {
|
|
|
13876
14238
|
type: "text";
|
|
13877
14239
|
text: string;
|
|
13878
14240
|
} | {
|
|
13879
|
-
mimeType: string;
|
|
13880
14241
|
type: "image";
|
|
14242
|
+
mimeType: string;
|
|
13881
14243
|
data?: string | undefined;
|
|
13882
14244
|
uri?: string | undefined;
|
|
13883
14245
|
} | {
|
|
@@ -13917,6 +14279,7 @@ export declare const notifications: {
|
|
|
13917
14279
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13918
14280
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
13919
14281
|
model?: string | undefined;
|
|
14282
|
+
name?: string | undefined;
|
|
13920
14283
|
task?: string | undefined;
|
|
13921
14284
|
agentType?: string | undefined;
|
|
13922
14285
|
workflow?: {
|
|
@@ -13976,8 +14339,8 @@ export declare const notifications: {
|
|
|
13976
14339
|
type: "text";
|
|
13977
14340
|
text: string;
|
|
13978
14341
|
} | {
|
|
13979
|
-
mimeType: string;
|
|
13980
14342
|
type: "image";
|
|
14343
|
+
mimeType: string;
|
|
13981
14344
|
data?: string | undefined;
|
|
13982
14345
|
uri?: string | undefined;
|
|
13983
14346
|
} | {
|
|
@@ -14043,16 +14406,16 @@ export declare const notifications: {
|
|
|
14043
14406
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
14044
14407
|
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14045
14408
|
}, "strip", z.ZodTypeAny, {
|
|
14046
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14047
14409
|
objective: string;
|
|
14410
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14048
14411
|
tokenBudget?: number | null | undefined;
|
|
14049
14412
|
tokensUsed?: number | undefined;
|
|
14050
14413
|
timeUsedSeconds?: number | undefined;
|
|
14051
14414
|
iterations?: number | undefined;
|
|
14052
14415
|
lastReason?: string | null | undefined;
|
|
14053
14416
|
}, {
|
|
14054
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14055
14417
|
objective: string;
|
|
14418
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14056
14419
|
tokenBudget?: number | null | undefined;
|
|
14057
14420
|
tokensUsed?: number | undefined;
|
|
14058
14421
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14062,8 +14425,8 @@ export declare const notifications: {
|
|
|
14062
14425
|
}, "strip", z.ZodTypeAny, {
|
|
14063
14426
|
sessionUpdate: "ls_goal";
|
|
14064
14427
|
goal: {
|
|
14065
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14066
14428
|
objective: string;
|
|
14429
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14067
14430
|
tokenBudget?: number | null | undefined;
|
|
14068
14431
|
tokensUsed?: number | undefined;
|
|
14069
14432
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14073,8 +14436,8 @@ export declare const notifications: {
|
|
|
14073
14436
|
}, {
|
|
14074
14437
|
sessionUpdate: "ls_goal";
|
|
14075
14438
|
goal: {
|
|
14076
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14077
14439
|
objective: string;
|
|
14440
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14078
14441
|
tokenBudget?: number | null | undefined;
|
|
14079
14442
|
tokensUsed?: number | undefined;
|
|
14080
14443
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14143,6 +14506,35 @@ export declare const notifications: {
|
|
|
14143
14506
|
sessionUpdate: "usage_update";
|
|
14144
14507
|
usedTokens?: number | undefined;
|
|
14145
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";
|
|
14146
14538
|
}>, z.ZodObject<{
|
|
14147
14539
|
sessionUpdate: z.ZodLiteral<"ls_message_done">;
|
|
14148
14540
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -14153,12 +14545,12 @@ export declare const notifications: {
|
|
|
14153
14545
|
title: z.ZodString;
|
|
14154
14546
|
options: z.ZodArray<z.ZodString, "many">;
|
|
14155
14547
|
}, "strip", z.ZodTypeAny, {
|
|
14156
|
-
id: string;
|
|
14157
14548
|
options: string[];
|
|
14549
|
+
id: string;
|
|
14158
14550
|
title: string;
|
|
14159
14551
|
}, {
|
|
14160
|
-
id: string;
|
|
14161
14552
|
options: string[];
|
|
14553
|
+
id: string;
|
|
14162
14554
|
title: string;
|
|
14163
14555
|
}>, "many">>;
|
|
14164
14556
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14166,8 +14558,8 @@ export declare const notifications: {
|
|
|
14166
14558
|
messageId: string;
|
|
14167
14559
|
role: "agent" | "thought" | "user";
|
|
14168
14560
|
questions?: {
|
|
14169
|
-
id: string;
|
|
14170
14561
|
options: string[];
|
|
14562
|
+
id: string;
|
|
14171
14563
|
title: string;
|
|
14172
14564
|
}[] | undefined;
|
|
14173
14565
|
parentToolCallId?: string | undefined;
|
|
@@ -14176,8 +14568,8 @@ export declare const notifications: {
|
|
|
14176
14568
|
messageId: string;
|
|
14177
14569
|
role: "agent" | "thought" | "user";
|
|
14178
14570
|
questions?: {
|
|
14179
|
-
id: string;
|
|
14180
14571
|
options: string[];
|
|
14572
|
+
id: string;
|
|
14181
14573
|
title: string;
|
|
14182
14574
|
}[] | undefined;
|
|
14183
14575
|
parentToolCallId?: string | undefined;
|
|
@@ -14202,34 +14594,34 @@ export declare const notifications: {
|
|
|
14202
14594
|
description?: string | undefined;
|
|
14203
14595
|
}>, "many">;
|
|
14204
14596
|
}, "strip", z.ZodTypeAny, {
|
|
14205
|
-
id: string;
|
|
14206
14597
|
values: {
|
|
14207
14598
|
value: string;
|
|
14208
14599
|
name: string;
|
|
14209
14600
|
description?: string | undefined;
|
|
14210
14601
|
}[];
|
|
14602
|
+
id: string;
|
|
14211
14603
|
name: string;
|
|
14212
14604
|
category: "model" | "other" | "mode" | "effort";
|
|
14213
14605
|
current: string;
|
|
14214
14606
|
}, {
|
|
14215
|
-
id: string;
|
|
14216
14607
|
values: {
|
|
14217
14608
|
value: string;
|
|
14218
14609
|
name: string;
|
|
14219
14610
|
description?: string | undefined;
|
|
14220
14611
|
}[];
|
|
14612
|
+
id: string;
|
|
14221
14613
|
name: string;
|
|
14222
14614
|
current: string;
|
|
14223
14615
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
14224
14616
|
}>, "many">;
|
|
14225
14617
|
}, "strip", z.ZodTypeAny, {
|
|
14226
14618
|
options: {
|
|
14227
|
-
id: string;
|
|
14228
14619
|
values: {
|
|
14229
14620
|
value: string;
|
|
14230
14621
|
name: string;
|
|
14231
14622
|
description?: string | undefined;
|
|
14232
14623
|
}[];
|
|
14624
|
+
id: string;
|
|
14233
14625
|
name: string;
|
|
14234
14626
|
category: "model" | "other" | "mode" | "effort";
|
|
14235
14627
|
current: string;
|
|
@@ -14237,12 +14629,12 @@ export declare const notifications: {
|
|
|
14237
14629
|
sessionUpdate: "ls_config";
|
|
14238
14630
|
}, {
|
|
14239
14631
|
options: {
|
|
14240
|
-
id: string;
|
|
14241
14632
|
values: {
|
|
14242
14633
|
value: string;
|
|
14243
14634
|
name: string;
|
|
14244
14635
|
description?: string | undefined;
|
|
14245
14636
|
}[];
|
|
14637
|
+
id: string;
|
|
14246
14638
|
name: string;
|
|
14247
14639
|
current: string;
|
|
14248
14640
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -14407,12 +14799,12 @@ export declare const notifications: {
|
|
|
14407
14799
|
values: z.ZodArray<z.ZodString, "many">;
|
|
14408
14800
|
other: z.ZodOptional<z.ZodString>;
|
|
14409
14801
|
}, "strip", z.ZodTypeAny, {
|
|
14410
|
-
id: string;
|
|
14411
14802
|
values: string[];
|
|
14803
|
+
id: string;
|
|
14412
14804
|
other?: string | undefined;
|
|
14413
14805
|
}, {
|
|
14414
|
-
id: string;
|
|
14415
14806
|
values: string[];
|
|
14807
|
+
id: string;
|
|
14416
14808
|
other?: string | undefined;
|
|
14417
14809
|
}>, "many">>;
|
|
14418
14810
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14420,8 +14812,8 @@ export declare const notifications: {
|
|
|
14420
14812
|
sessionUpdate: "ls_permission_resolved";
|
|
14421
14813
|
optionId?: string | undefined;
|
|
14422
14814
|
answers?: {
|
|
14423
|
-
id: string;
|
|
14424
14815
|
values: string[];
|
|
14816
|
+
id: string;
|
|
14425
14817
|
other?: string | undefined;
|
|
14426
14818
|
}[] | undefined;
|
|
14427
14819
|
}, {
|
|
@@ -14429,8 +14821,8 @@ export declare const notifications: {
|
|
|
14429
14821
|
sessionUpdate: "ls_permission_resolved";
|
|
14430
14822
|
optionId?: string | undefined;
|
|
14431
14823
|
answers?: {
|
|
14432
|
-
id: string;
|
|
14433
14824
|
values: string[];
|
|
14825
|
+
id: string;
|
|
14434
14826
|
other?: string | undefined;
|
|
14435
14827
|
}[] | undefined;
|
|
14436
14828
|
}>, z.ZodObject<{
|
|
@@ -14449,10 +14841,10 @@ export declare const notifications: {
|
|
|
14449
14841
|
sessionUpdate: z.ZodLiteral<"ls_status">;
|
|
14450
14842
|
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
14451
14843
|
}, "strip", z.ZodTypeAny, {
|
|
14452
|
-
state: "
|
|
14844
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14453
14845
|
sessionUpdate: "ls_status";
|
|
14454
14846
|
}, {
|
|
14455
|
-
state: "
|
|
14847
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14456
14848
|
sessionUpdate: "ls_status";
|
|
14457
14849
|
}>, z.ZodObject<{
|
|
14458
14850
|
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
@@ -14555,8 +14947,8 @@ export declare const notifications: {
|
|
|
14555
14947
|
type: "text";
|
|
14556
14948
|
text: string;
|
|
14557
14949
|
} | {
|
|
14558
|
-
mimeType: string;
|
|
14559
14950
|
type: "image";
|
|
14951
|
+
mimeType: string;
|
|
14560
14952
|
data?: string | undefined;
|
|
14561
14953
|
uri?: string | undefined;
|
|
14562
14954
|
} | {
|
|
@@ -14572,8 +14964,8 @@ export declare const notifications: {
|
|
|
14572
14964
|
type: "text";
|
|
14573
14965
|
text: string;
|
|
14574
14966
|
} | {
|
|
14575
|
-
mimeType: string;
|
|
14576
14967
|
type: "image";
|
|
14968
|
+
mimeType: string;
|
|
14577
14969
|
data?: string | undefined;
|
|
14578
14970
|
uri?: string | undefined;
|
|
14579
14971
|
} | {
|
|
@@ -14590,8 +14982,8 @@ export declare const notifications: {
|
|
|
14590
14982
|
type: "text";
|
|
14591
14983
|
text: string;
|
|
14592
14984
|
} | {
|
|
14593
|
-
mimeType: string;
|
|
14594
14985
|
type: "image";
|
|
14986
|
+
mimeType: string;
|
|
14595
14987
|
data?: string | undefined;
|
|
14596
14988
|
uri?: string | undefined;
|
|
14597
14989
|
} | {
|
|
@@ -14618,6 +15010,7 @@ export declare const notifications: {
|
|
|
14618
15010
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
14619
15011
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
14620
15012
|
model?: string | undefined;
|
|
15013
|
+
name?: string | undefined;
|
|
14621
15014
|
task?: string | undefined;
|
|
14622
15015
|
agentType?: string | undefined;
|
|
14623
15016
|
workflow?: {
|
|
@@ -14677,8 +15070,8 @@ export declare const notifications: {
|
|
|
14677
15070
|
type: "text";
|
|
14678
15071
|
text: string;
|
|
14679
15072
|
} | {
|
|
14680
|
-
mimeType: string;
|
|
14681
15073
|
type: "image";
|
|
15074
|
+
mimeType: string;
|
|
14682
15075
|
data?: string | undefined;
|
|
14683
15076
|
uri?: string | undefined;
|
|
14684
15077
|
} | {
|
|
@@ -14721,6 +15114,7 @@ export declare const notifications: {
|
|
|
14721
15114
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
14722
15115
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
14723
15116
|
model?: string | undefined;
|
|
15117
|
+
name?: string | undefined;
|
|
14724
15118
|
task?: string | undefined;
|
|
14725
15119
|
agentType?: string | undefined;
|
|
14726
15120
|
workflow?: {
|
|
@@ -14780,8 +15174,8 @@ export declare const notifications: {
|
|
|
14780
15174
|
type: "text";
|
|
14781
15175
|
text: string;
|
|
14782
15176
|
} | {
|
|
14783
|
-
mimeType: string;
|
|
14784
15177
|
type: "image";
|
|
15178
|
+
mimeType: string;
|
|
14785
15179
|
data?: string | undefined;
|
|
14786
15180
|
uri?: string | undefined;
|
|
14787
15181
|
} | {
|
|
@@ -14817,8 +15211,8 @@ export declare const notifications: {
|
|
|
14817
15211
|
} | {
|
|
14818
15212
|
sessionUpdate: "ls_goal";
|
|
14819
15213
|
goal: {
|
|
14820
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14821
15214
|
objective: string;
|
|
15215
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14822
15216
|
tokenBudget?: number | null | undefined;
|
|
14823
15217
|
tokensUsed?: number | undefined;
|
|
14824
15218
|
timeUsedSeconds?: number | undefined;
|
|
@@ -14843,24 +15237,31 @@ export declare const notifications: {
|
|
|
14843
15237
|
sessionUpdate: "usage_update";
|
|
14844
15238
|
usedTokens?: number | undefined;
|
|
14845
15239
|
contextWindow?: number | undefined;
|
|
15240
|
+
} | {
|
|
15241
|
+
questions: {
|
|
15242
|
+
options: string[];
|
|
15243
|
+
id: string;
|
|
15244
|
+
title: string;
|
|
15245
|
+
}[];
|
|
15246
|
+
sessionUpdate: "ls_async_questions";
|
|
14846
15247
|
} | {
|
|
14847
15248
|
sessionUpdate: "ls_message_done";
|
|
14848
15249
|
messageId: string;
|
|
14849
15250
|
role: "agent" | "thought" | "user";
|
|
14850
15251
|
questions?: {
|
|
14851
|
-
id: string;
|
|
14852
15252
|
options: string[];
|
|
15253
|
+
id: string;
|
|
14853
15254
|
title: string;
|
|
14854
15255
|
}[] | undefined;
|
|
14855
15256
|
parentToolCallId?: string | undefined;
|
|
14856
15257
|
} | {
|
|
14857
15258
|
options: {
|
|
14858
|
-
id: string;
|
|
14859
15259
|
values: {
|
|
14860
15260
|
value: string;
|
|
14861
15261
|
name: string;
|
|
14862
15262
|
description?: string | undefined;
|
|
14863
15263
|
}[];
|
|
15264
|
+
id: string;
|
|
14864
15265
|
name: string;
|
|
14865
15266
|
category: "model" | "other" | "mode" | "effort";
|
|
14866
15267
|
current: string;
|
|
@@ -14907,8 +15308,8 @@ export declare const notifications: {
|
|
|
14907
15308
|
sessionUpdate: "ls_permission_resolved";
|
|
14908
15309
|
optionId?: string | undefined;
|
|
14909
15310
|
answers?: {
|
|
14910
|
-
id: string;
|
|
14911
15311
|
values: string[];
|
|
15312
|
+
id: string;
|
|
14912
15313
|
other?: string | undefined;
|
|
14913
15314
|
}[] | undefined;
|
|
14914
15315
|
} | {
|
|
@@ -14916,7 +15317,7 @@ export declare const notifications: {
|
|
|
14916
15317
|
sessionUpdate: "ls_driver";
|
|
14917
15318
|
deviceId?: string | undefined;
|
|
14918
15319
|
} | {
|
|
14919
|
-
state: "
|
|
15320
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
14920
15321
|
sessionUpdate: "ls_status";
|
|
14921
15322
|
} | {
|
|
14922
15323
|
task: {
|
|
@@ -14950,8 +15351,8 @@ export declare const notifications: {
|
|
|
14950
15351
|
type: "text";
|
|
14951
15352
|
text: string;
|
|
14952
15353
|
} | {
|
|
14953
|
-
mimeType: string;
|
|
14954
15354
|
type: "image";
|
|
15355
|
+
mimeType: string;
|
|
14955
15356
|
data?: string | undefined;
|
|
14956
15357
|
uri?: string | undefined;
|
|
14957
15358
|
} | {
|
|
@@ -14967,8 +15368,8 @@ export declare const notifications: {
|
|
|
14967
15368
|
type: "text";
|
|
14968
15369
|
text: string;
|
|
14969
15370
|
} | {
|
|
14970
|
-
mimeType: string;
|
|
14971
15371
|
type: "image";
|
|
15372
|
+
mimeType: string;
|
|
14972
15373
|
data?: string | undefined;
|
|
14973
15374
|
uri?: string | undefined;
|
|
14974
15375
|
} | {
|
|
@@ -14985,8 +15386,8 @@ export declare const notifications: {
|
|
|
14985
15386
|
type: "text";
|
|
14986
15387
|
text: string;
|
|
14987
15388
|
} | {
|
|
14988
|
-
mimeType: string;
|
|
14989
15389
|
type: "image";
|
|
15390
|
+
mimeType: string;
|
|
14990
15391
|
data?: string | undefined;
|
|
14991
15392
|
uri?: string | undefined;
|
|
14992
15393
|
} | {
|
|
@@ -15013,6 +15414,7 @@ export declare const notifications: {
|
|
|
15013
15414
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
15014
15415
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
15015
15416
|
model?: string | undefined;
|
|
15417
|
+
name?: string | undefined;
|
|
15016
15418
|
task?: string | undefined;
|
|
15017
15419
|
agentType?: string | undefined;
|
|
15018
15420
|
workflow?: {
|
|
@@ -15072,8 +15474,8 @@ export declare const notifications: {
|
|
|
15072
15474
|
type: "text";
|
|
15073
15475
|
text: string;
|
|
15074
15476
|
} | {
|
|
15075
|
-
mimeType: string;
|
|
15076
15477
|
type: "image";
|
|
15478
|
+
mimeType: string;
|
|
15077
15479
|
data?: string | undefined;
|
|
15078
15480
|
uri?: string | undefined;
|
|
15079
15481
|
} | {
|
|
@@ -15116,6 +15518,7 @@ export declare const notifications: {
|
|
|
15116
15518
|
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
15117
15519
|
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
15118
15520
|
model?: string | undefined;
|
|
15521
|
+
name?: string | undefined;
|
|
15119
15522
|
task?: string | undefined;
|
|
15120
15523
|
agentType?: string | undefined;
|
|
15121
15524
|
workflow?: {
|
|
@@ -15175,8 +15578,8 @@ export declare const notifications: {
|
|
|
15175
15578
|
type: "text";
|
|
15176
15579
|
text: string;
|
|
15177
15580
|
} | {
|
|
15178
|
-
mimeType: string;
|
|
15179
15581
|
type: "image";
|
|
15582
|
+
mimeType: string;
|
|
15180
15583
|
data?: string | undefined;
|
|
15181
15584
|
uri?: string | undefined;
|
|
15182
15585
|
} | {
|
|
@@ -15212,8 +15615,8 @@ export declare const notifications: {
|
|
|
15212
15615
|
} | {
|
|
15213
15616
|
sessionUpdate: "ls_goal";
|
|
15214
15617
|
goal: {
|
|
15215
|
-
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
15216
15618
|
objective: string;
|
|
15619
|
+
status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
15217
15620
|
tokenBudget?: number | null | undefined;
|
|
15218
15621
|
tokensUsed?: number | undefined;
|
|
15219
15622
|
timeUsedSeconds?: number | undefined;
|
|
@@ -15238,24 +15641,31 @@ export declare const notifications: {
|
|
|
15238
15641
|
sessionUpdate: "usage_update";
|
|
15239
15642
|
usedTokens?: number | undefined;
|
|
15240
15643
|
contextWindow?: number | undefined;
|
|
15644
|
+
} | {
|
|
15645
|
+
questions: {
|
|
15646
|
+
options: string[];
|
|
15647
|
+
id: string;
|
|
15648
|
+
title: string;
|
|
15649
|
+
}[];
|
|
15650
|
+
sessionUpdate: "ls_async_questions";
|
|
15241
15651
|
} | {
|
|
15242
15652
|
sessionUpdate: "ls_message_done";
|
|
15243
15653
|
messageId: string;
|
|
15244
15654
|
role: "agent" | "thought" | "user";
|
|
15245
15655
|
questions?: {
|
|
15246
|
-
id: string;
|
|
15247
15656
|
options: string[];
|
|
15657
|
+
id: string;
|
|
15248
15658
|
title: string;
|
|
15249
15659
|
}[] | undefined;
|
|
15250
15660
|
parentToolCallId?: string | undefined;
|
|
15251
15661
|
} | {
|
|
15252
15662
|
options: {
|
|
15253
|
-
id: string;
|
|
15254
15663
|
values: {
|
|
15255
15664
|
value: string;
|
|
15256
15665
|
name: string;
|
|
15257
15666
|
description?: string | undefined;
|
|
15258
15667
|
}[];
|
|
15668
|
+
id: string;
|
|
15259
15669
|
name: string;
|
|
15260
15670
|
current: string;
|
|
15261
15671
|
category?: "model" | "other" | "mode" | "effort" | undefined;
|
|
@@ -15302,8 +15712,8 @@ export declare const notifications: {
|
|
|
15302
15712
|
sessionUpdate: "ls_permission_resolved";
|
|
15303
15713
|
optionId?: string | undefined;
|
|
15304
15714
|
answers?: {
|
|
15305
|
-
id: string;
|
|
15306
15715
|
values: string[];
|
|
15716
|
+
id: string;
|
|
15307
15717
|
other?: string | undefined;
|
|
15308
15718
|
}[] | undefined;
|
|
15309
15719
|
} | {
|
|
@@ -15311,7 +15721,7 @@ export declare const notifications: {
|
|
|
15311
15721
|
sessionUpdate: "ls_driver";
|
|
15312
15722
|
deviceId?: string | undefined;
|
|
15313
15723
|
} | {
|
|
15314
|
-
state: "
|
|
15724
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15315
15725
|
sessionUpdate: "ls_status";
|
|
15316
15726
|
} | {
|
|
15317
15727
|
task: {
|
|
@@ -15499,6 +15909,19 @@ export declare const notifications: {
|
|
|
15499
15909
|
required?: boolean | undefined;
|
|
15500
15910
|
}[] | undefined;
|
|
15501
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">>;
|
|
15502
15925
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15503
15926
|
clientMessageId: z.ZodString;
|
|
15504
15927
|
text: z.ZodString;
|
|
@@ -15544,7 +15967,7 @@ export declare const notifications: {
|
|
|
15544
15967
|
}>>;
|
|
15545
15968
|
}, "strip", z.ZodTypeAny, {
|
|
15546
15969
|
id: string;
|
|
15547
|
-
state: "
|
|
15970
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15548
15971
|
lastSeq: number;
|
|
15549
15972
|
agent: string;
|
|
15550
15973
|
nativeId: string;
|
|
@@ -15587,6 +16010,11 @@ export declare const notifications: {
|
|
|
15587
16010
|
required?: boolean | undefined;
|
|
15588
16011
|
}[] | undefined;
|
|
15589
16012
|
} | undefined;
|
|
16013
|
+
asyncQuestions?: {
|
|
16014
|
+
options: string[];
|
|
16015
|
+
id: string;
|
|
16016
|
+
title: string;
|
|
16017
|
+
}[] | undefined;
|
|
15590
16018
|
queue?: {
|
|
15591
16019
|
images: number;
|
|
15592
16020
|
text: string;
|
|
@@ -15606,7 +16034,7 @@ export declare const notifications: {
|
|
|
15606
16034
|
} | undefined;
|
|
15607
16035
|
}, {
|
|
15608
16036
|
id: string;
|
|
15609
|
-
state: "
|
|
16037
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15610
16038
|
lastSeq: number;
|
|
15611
16039
|
agent: string;
|
|
15612
16040
|
nativeId: string;
|
|
@@ -15649,6 +16077,11 @@ export declare const notifications: {
|
|
|
15649
16077
|
required?: boolean | undefined;
|
|
15650
16078
|
}[] | undefined;
|
|
15651
16079
|
} | undefined;
|
|
16080
|
+
asyncQuestions?: {
|
|
16081
|
+
options: string[];
|
|
16082
|
+
id: string;
|
|
16083
|
+
title: string;
|
|
16084
|
+
}[] | undefined;
|
|
15652
16085
|
queue?: {
|
|
15653
16086
|
images: number;
|
|
15654
16087
|
text: string;
|
|
@@ -15670,7 +16103,7 @@ export declare const notifications: {
|
|
|
15670
16103
|
}, "strip", z.ZodTypeAny, {
|
|
15671
16104
|
session: {
|
|
15672
16105
|
id: string;
|
|
15673
|
-
state: "
|
|
16106
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15674
16107
|
lastSeq: number;
|
|
15675
16108
|
agent: string;
|
|
15676
16109
|
nativeId: string;
|
|
@@ -15713,6 +16146,11 @@ export declare const notifications: {
|
|
|
15713
16146
|
required?: boolean | undefined;
|
|
15714
16147
|
}[] | undefined;
|
|
15715
16148
|
} | undefined;
|
|
16149
|
+
asyncQuestions?: {
|
|
16150
|
+
options: string[];
|
|
16151
|
+
id: string;
|
|
16152
|
+
title: string;
|
|
16153
|
+
}[] | undefined;
|
|
15716
16154
|
queue?: {
|
|
15717
16155
|
images: number;
|
|
15718
16156
|
text: string;
|
|
@@ -15734,7 +16172,7 @@ export declare const notifications: {
|
|
|
15734
16172
|
}, {
|
|
15735
16173
|
session: {
|
|
15736
16174
|
id: string;
|
|
15737
|
-
state: "
|
|
16175
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
15738
16176
|
lastSeq: number;
|
|
15739
16177
|
agent: string;
|
|
15740
16178
|
nativeId: string;
|
|
@@ -15777,6 +16215,11 @@ export declare const notifications: {
|
|
|
15777
16215
|
required?: boolean | undefined;
|
|
15778
16216
|
}[] | undefined;
|
|
15779
16217
|
} | undefined;
|
|
16218
|
+
asyncQuestions?: {
|
|
16219
|
+
options: string[];
|
|
16220
|
+
id: string;
|
|
16221
|
+
title: string;
|
|
16222
|
+
}[] | undefined;
|
|
15780
16223
|
queue?: {
|
|
15781
16224
|
images: number;
|
|
15782
16225
|
text: string;
|