linkshell-cli 0.10.7 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/gateway/src/main.js +4 -0
- package/dist/gateway/src/main.js.map +1 -1
- package/dist/gateway/src/serve.d.ts +3 -1
- package/dist/gateway/src/serve.js +5 -1
- package/dist/gateway/src/serve.js.map +1 -1
- package/dist/gateway/src/web.d.ts +12 -0
- package/dist/gateway/src/web.js +53 -0
- package/dist/gateway/src/web.js.map +1 -0
- package/dist/host/src/computer-preview-capture.d.ts +11 -0
- package/dist/host/src/computer-preview-capture.js +87 -0
- package/dist/host/src/computer-preview-capture.js.map +1 -0
- package/dist/host/src/computer-preview.d.ts +73 -0
- package/dist/host/src/computer-preview.js +335 -0
- package/dist/host/src/computer-preview.js.map +1 -0
- package/dist/host/src/drivers/acp/connection.d.ts +2 -0
- package/dist/host/src/drivers/acp/connection.js +14 -1
- package/dist/host/src/drivers/acp/connection.js.map +1 -1
- package/dist/host/src/drivers/acp/driver.d.ts +4 -0
- package/dist/host/src/drivers/acp/driver.js +45 -1
- package/dist/host/src/drivers/acp/driver.js.map +1 -1
- package/dist/host/src/drivers/acp/mapper.js +11 -1
- package/dist/host/src/drivers/acp/mapper.js.map +1 -1
- package/dist/host/src/drivers/claude/activity.d.ts +1 -0
- package/dist/host/src/drivers/claude/activity.js +1 -0
- package/dist/host/src/drivers/claude/activity.js.map +1 -1
- package/dist/host/src/drivers/claude/driver.d.ts +6 -0
- package/dist/host/src/drivers/claude/driver.js +30 -2
- package/dist/host/src/drivers/claude/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/tasks.d.ts +33 -0
- package/dist/host/src/drivers/claude/tasks.js +138 -0
- package/dist/host/src/drivers/claude/tasks.js.map +1 -0
- package/dist/host/src/drivers/claude/transcript.d.ts +31 -3
- package/dist/host/src/drivers/claude/transcript.js +20 -1
- package/dist/host/src/drivers/claude/transcript.js.map +1 -1
- package/dist/host/src/drivers/codex/app-server.js +0 -3
- package/dist/host/src/drivers/codex/app-server.js.map +1 -1
- package/dist/host/src/drivers/codex/commands.js +7 -1
- package/dist/host/src/drivers/codex/commands.js.map +1 -1
- package/dist/host/src/drivers/codex/computer-preview.d.ts +3 -0
- package/dist/host/src/drivers/codex/computer-preview.js +44 -0
- package/dist/host/src/drivers/codex/computer-preview.js.map +1 -0
- package/dist/host/src/drivers/codex/driver.d.ts +16 -1
- package/dist/host/src/drivers/codex/driver.js +262 -6
- package/dist/host/src/drivers/codex/driver.js.map +1 -1
- package/dist/host/src/drivers/codex/mapper.js +38 -3
- package/dist/host/src/drivers/codex/mapper.js.map +1 -1
- package/dist/host/src/drivers/registry.js +1 -1
- package/dist/host/src/drivers/registry.js.map +1 -1
- package/dist/host/src/drivers/types.d.ts +23 -1
- package/dist/host/src/hub.d.ts +18 -1
- package/dist/host/src/hub.js +102 -1
- package/dist/host/src/hub.js.map +1 -1
- package/dist/host/src/input.d.ts +9 -0
- package/dist/host/src/input.js +15 -0
- package/dist/host/src/input.js.map +1 -1
- package/dist/host/src/rpc/server.d.ts +1 -0
- package/dist/host/src/rpc/server.js +20 -2
- package/dist/host/src/rpc/server.js.map +1 -1
- package/dist/host/src/screen-viewer.js +641 -109
- package/dist/host/src/screen-viewer.js.map +1 -1
- package/dist/host/src/store.d.ts +10 -0
- package/dist/host/src/store.js +29 -0
- package/dist/host/src/store.js.map +1 -1
- package/dist/host/src/task-output.d.ts +6 -0
- package/dist/host/src/task-output.js +22 -0
- package/dist/host/src/task-output.js.map +1 -0
- package/dist/host/src/terminals.d.ts +37 -2
- package/dist/host/src/terminals.js +54 -14
- package/dist/host/src/terminals.js.map +1 -1
- package/dist/wire/src/computer-preview.d.ts +35 -0
- package/dist/wire/src/computer-preview.js +51 -0
- package/dist/wire/src/computer-preview.js.map +1 -0
- package/dist/wire/src/goal.d.ts +66 -0
- package/dist/wire/src/goal.js +19 -0
- package/dist/wire/src/goal.js.map +1 -0
- package/dist/wire/src/index.d.ts +2 -0
- package/dist/wire/src/index.js +2 -0
- package/dist/wire/src/index.js.map +1 -1
- package/dist/wire/src/model.d.ts +78 -0
- package/dist/wire/src/model.js +31 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +1289 -60
- package/dist/wire/src/rpc.js +53 -3
- package/dist/wire/src/rpc.js.map +1 -1
- package/dist/wire/src/updates.d.ts +334 -22
- package/dist/wire/src/updates.js +11 -1
- package/dist/wire/src/updates.js.map +1 -1
- package/package.json +5 -5
package/dist/wire/src/rpc.d.ts
CHANGED
|
@@ -492,6 +492,16 @@ export declare const methods: {
|
|
|
492
492
|
running: number;
|
|
493
493
|
total: number;
|
|
494
494
|
}>>;
|
|
495
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
496
|
+
total: z.ZodNumber;
|
|
497
|
+
running: z.ZodNumber;
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
499
|
+
running: number;
|
|
500
|
+
total: number;
|
|
501
|
+
}, {
|
|
502
|
+
running: number;
|
|
503
|
+
total: number;
|
|
504
|
+
}>>;
|
|
495
505
|
}, "strip", z.ZodTypeAny, {
|
|
496
506
|
id: string;
|
|
497
507
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -550,6 +560,10 @@ export declare const methods: {
|
|
|
550
560
|
running: number;
|
|
551
561
|
total: number;
|
|
552
562
|
} | undefined;
|
|
563
|
+
tasks?: {
|
|
564
|
+
running: number;
|
|
565
|
+
total: number;
|
|
566
|
+
} | undefined;
|
|
553
567
|
}, {
|
|
554
568
|
id: string;
|
|
555
569
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -608,6 +622,10 @@ export declare const methods: {
|
|
|
608
622
|
running: number;
|
|
609
623
|
total: number;
|
|
610
624
|
} | undefined;
|
|
625
|
+
tasks?: {
|
|
626
|
+
running: number;
|
|
627
|
+
total: number;
|
|
628
|
+
} | undefined;
|
|
611
629
|
}>, "many">;
|
|
612
630
|
nextBefore: z.ZodOptional<z.ZodNumber>;
|
|
613
631
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -669,6 +687,10 @@ export declare const methods: {
|
|
|
669
687
|
running: number;
|
|
670
688
|
total: number;
|
|
671
689
|
} | undefined;
|
|
690
|
+
tasks?: {
|
|
691
|
+
running: number;
|
|
692
|
+
total: number;
|
|
693
|
+
} | undefined;
|
|
672
694
|
}[];
|
|
673
695
|
nextBefore?: number | undefined;
|
|
674
696
|
}, {
|
|
@@ -730,6 +752,10 @@ export declare const methods: {
|
|
|
730
752
|
running: number;
|
|
731
753
|
total: number;
|
|
732
754
|
} | undefined;
|
|
755
|
+
tasks?: {
|
|
756
|
+
running: number;
|
|
757
|
+
total: number;
|
|
758
|
+
} | undefined;
|
|
733
759
|
}[];
|
|
734
760
|
nextBefore?: number | undefined;
|
|
735
761
|
}>;
|
|
@@ -1004,6 +1030,16 @@ export declare const methods: {
|
|
|
1004
1030
|
running: number;
|
|
1005
1031
|
total: number;
|
|
1006
1032
|
}>>;
|
|
1033
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
total: z.ZodNumber;
|
|
1035
|
+
running: z.ZodNumber;
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1037
|
+
running: number;
|
|
1038
|
+
total: number;
|
|
1039
|
+
}, {
|
|
1040
|
+
running: number;
|
|
1041
|
+
total: number;
|
|
1042
|
+
}>>;
|
|
1007
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1008
1044
|
id: string;
|
|
1009
1045
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1062,6 +1098,10 @@ export declare const methods: {
|
|
|
1062
1098
|
running: number;
|
|
1063
1099
|
total: number;
|
|
1064
1100
|
} | undefined;
|
|
1101
|
+
tasks?: {
|
|
1102
|
+
running: number;
|
|
1103
|
+
total: number;
|
|
1104
|
+
} | undefined;
|
|
1065
1105
|
}, {
|
|
1066
1106
|
id: string;
|
|
1067
1107
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1120,6 +1160,10 @@ export declare const methods: {
|
|
|
1120
1160
|
running: number;
|
|
1121
1161
|
total: number;
|
|
1122
1162
|
} | undefined;
|
|
1163
|
+
tasks?: {
|
|
1164
|
+
running: number;
|
|
1165
|
+
total: number;
|
|
1166
|
+
} | undefined;
|
|
1123
1167
|
}>;
|
|
1124
1168
|
}, "strip", z.ZodTypeAny, {
|
|
1125
1169
|
session: {
|
|
@@ -1180,6 +1224,10 @@ export declare const methods: {
|
|
|
1180
1224
|
running: number;
|
|
1181
1225
|
total: number;
|
|
1182
1226
|
} | undefined;
|
|
1227
|
+
tasks?: {
|
|
1228
|
+
running: number;
|
|
1229
|
+
total: number;
|
|
1230
|
+
} | undefined;
|
|
1183
1231
|
};
|
|
1184
1232
|
}, {
|
|
1185
1233
|
session: {
|
|
@@ -1240,6 +1288,10 @@ export declare const methods: {
|
|
|
1240
1288
|
running: number;
|
|
1241
1289
|
total: number;
|
|
1242
1290
|
} | undefined;
|
|
1291
|
+
tasks?: {
|
|
1292
|
+
running: number;
|
|
1293
|
+
total: number;
|
|
1294
|
+
} | undefined;
|
|
1243
1295
|
};
|
|
1244
1296
|
}>;
|
|
1245
1297
|
};
|
|
@@ -1440,6 +1492,16 @@ export declare const methods: {
|
|
|
1440
1492
|
running: number;
|
|
1441
1493
|
total: number;
|
|
1442
1494
|
}>>;
|
|
1495
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
1496
|
+
total: z.ZodNumber;
|
|
1497
|
+
running: z.ZodNumber;
|
|
1498
|
+
}, "strip", z.ZodTypeAny, {
|
|
1499
|
+
running: number;
|
|
1500
|
+
total: number;
|
|
1501
|
+
}, {
|
|
1502
|
+
running: number;
|
|
1503
|
+
total: number;
|
|
1504
|
+
}>>;
|
|
1443
1505
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1506
|
id: string;
|
|
1445
1507
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1498,6 +1560,10 @@ export declare const methods: {
|
|
|
1498
1560
|
running: number;
|
|
1499
1561
|
total: number;
|
|
1500
1562
|
} | undefined;
|
|
1563
|
+
tasks?: {
|
|
1564
|
+
running: number;
|
|
1565
|
+
total: number;
|
|
1566
|
+
} | undefined;
|
|
1501
1567
|
}, {
|
|
1502
1568
|
id: string;
|
|
1503
1569
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1556,6 +1622,10 @@ export declare const methods: {
|
|
|
1556
1622
|
running: number;
|
|
1557
1623
|
total: number;
|
|
1558
1624
|
} | undefined;
|
|
1625
|
+
tasks?: {
|
|
1626
|
+
running: number;
|
|
1627
|
+
total: number;
|
|
1628
|
+
} | undefined;
|
|
1559
1629
|
}>;
|
|
1560
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1561
1631
|
session: {
|
|
@@ -1616,6 +1686,10 @@ export declare const methods: {
|
|
|
1616
1686
|
running: number;
|
|
1617
1687
|
total: number;
|
|
1618
1688
|
} | undefined;
|
|
1689
|
+
tasks?: {
|
|
1690
|
+
running: number;
|
|
1691
|
+
total: number;
|
|
1692
|
+
} | undefined;
|
|
1619
1693
|
};
|
|
1620
1694
|
}, {
|
|
1621
1695
|
session: {
|
|
@@ -1676,6 +1750,10 @@ export declare const methods: {
|
|
|
1676
1750
|
running: number;
|
|
1677
1751
|
total: number;
|
|
1678
1752
|
} | undefined;
|
|
1753
|
+
tasks?: {
|
|
1754
|
+
running: number;
|
|
1755
|
+
total: number;
|
|
1756
|
+
} | undefined;
|
|
1679
1757
|
};
|
|
1680
1758
|
}>;
|
|
1681
1759
|
};
|
|
@@ -1881,6 +1959,16 @@ export declare const methods: {
|
|
|
1881
1959
|
running: number;
|
|
1882
1960
|
total: number;
|
|
1883
1961
|
}>>;
|
|
1962
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
1963
|
+
total: z.ZodNumber;
|
|
1964
|
+
running: z.ZodNumber;
|
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
running: number;
|
|
1967
|
+
total: number;
|
|
1968
|
+
}, {
|
|
1969
|
+
running: number;
|
|
1970
|
+
total: number;
|
|
1971
|
+
}>>;
|
|
1884
1972
|
}, "strip", z.ZodTypeAny, {
|
|
1885
1973
|
id: string;
|
|
1886
1974
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1939,6 +2027,10 @@ export declare const methods: {
|
|
|
1939
2027
|
running: number;
|
|
1940
2028
|
total: number;
|
|
1941
2029
|
} | undefined;
|
|
2030
|
+
tasks?: {
|
|
2031
|
+
running: number;
|
|
2032
|
+
total: number;
|
|
2033
|
+
} | undefined;
|
|
1942
2034
|
}, {
|
|
1943
2035
|
id: string;
|
|
1944
2036
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -1997,6 +2089,10 @@ export declare const methods: {
|
|
|
1997
2089
|
running: number;
|
|
1998
2090
|
total: number;
|
|
1999
2091
|
} | undefined;
|
|
2092
|
+
tasks?: {
|
|
2093
|
+
running: number;
|
|
2094
|
+
total: number;
|
|
2095
|
+
} | undefined;
|
|
2000
2096
|
}>;
|
|
2001
2097
|
startSeq: z.ZodOptional<z.ZodNumber>;
|
|
2002
2098
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2058,6 +2154,10 @@ export declare const methods: {
|
|
|
2058
2154
|
running: number;
|
|
2059
2155
|
total: number;
|
|
2060
2156
|
} | undefined;
|
|
2157
|
+
tasks?: {
|
|
2158
|
+
running: number;
|
|
2159
|
+
total: number;
|
|
2160
|
+
} | undefined;
|
|
2061
2161
|
};
|
|
2062
2162
|
startSeq?: number | undefined;
|
|
2063
2163
|
}, {
|
|
@@ -2119,6 +2219,10 @@ export declare const methods: {
|
|
|
2119
2219
|
running: number;
|
|
2120
2220
|
total: number;
|
|
2121
2221
|
} | undefined;
|
|
2222
|
+
tasks?: {
|
|
2223
|
+
running: number;
|
|
2224
|
+
total: number;
|
|
2225
|
+
} | undefined;
|
|
2122
2226
|
};
|
|
2123
2227
|
startSeq?: number | undefined;
|
|
2124
2228
|
}>;
|
|
@@ -2658,7 +2762,7 @@ export declare const methods: {
|
|
|
2658
2762
|
}>>;
|
|
2659
2763
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2764
|
type: "subagent";
|
|
2661
|
-
action: "message" | "
|
|
2765
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
2662
2766
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
2663
2767
|
model?: string | undefined;
|
|
2664
2768
|
task?: string | undefined;
|
|
@@ -2729,7 +2833,7 @@ export declare const methods: {
|
|
|
2729
2833
|
result?: string | undefined;
|
|
2730
2834
|
}[] | undefined;
|
|
2731
2835
|
} | undefined;
|
|
2732
|
-
action?: "message" | "
|
|
2836
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
2733
2837
|
}>, z.ZodObject<{
|
|
2734
2838
|
type: z.ZodLiteral<"skill">;
|
|
2735
2839
|
name: z.ZodString;
|
|
@@ -2800,7 +2904,7 @@ export declare const methods: {
|
|
|
2800
2904
|
server: string;
|
|
2801
2905
|
} | {
|
|
2802
2906
|
type: "subagent";
|
|
2803
|
-
action: "message" | "
|
|
2907
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
2804
2908
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
2805
2909
|
model?: string | undefined;
|
|
2806
2910
|
task?: string | undefined;
|
|
@@ -2938,7 +3042,7 @@ export declare const methods: {
|
|
|
2938
3042
|
result?: string | undefined;
|
|
2939
3043
|
}[] | undefined;
|
|
2940
3044
|
} | undefined;
|
|
2941
|
-
action?: "message" | "
|
|
3045
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
2942
3046
|
} | {
|
|
2943
3047
|
type: "skill";
|
|
2944
3048
|
name: string;
|
|
@@ -3145,7 +3249,7 @@ export declare const methods: {
|
|
|
3145
3249
|
}>>;
|
|
3146
3250
|
}, "strip", z.ZodTypeAny, {
|
|
3147
3251
|
type: "subagent";
|
|
3148
|
-
action: "message" | "
|
|
3252
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
3149
3253
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
3150
3254
|
model?: string | undefined;
|
|
3151
3255
|
task?: string | undefined;
|
|
@@ -3216,7 +3320,7 @@ export declare const methods: {
|
|
|
3216
3320
|
result?: string | undefined;
|
|
3217
3321
|
}[] | undefined;
|
|
3218
3322
|
} | undefined;
|
|
3219
|
-
action?: "message" | "
|
|
3323
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
3220
3324
|
}>, z.ZodObject<{
|
|
3221
3325
|
type: z.ZodLiteral<"skill">;
|
|
3222
3326
|
name: z.ZodString;
|
|
@@ -3405,7 +3509,7 @@ export declare const methods: {
|
|
|
3405
3509
|
server: string;
|
|
3406
3510
|
} | {
|
|
3407
3511
|
type: "subagent";
|
|
3408
|
-
action: "message" | "
|
|
3512
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
3409
3513
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
3410
3514
|
model?: string | undefined;
|
|
3411
3515
|
task?: string | undefined;
|
|
@@ -3539,7 +3643,7 @@ export declare const methods: {
|
|
|
3539
3643
|
result?: string | undefined;
|
|
3540
3644
|
}[] | undefined;
|
|
3541
3645
|
} | undefined;
|
|
3542
|
-
action?: "message" | "
|
|
3646
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
3543
3647
|
} | {
|
|
3544
3648
|
type: "skill";
|
|
3545
3649
|
name: string;
|
|
@@ -3623,6 +3727,55 @@ export declare const methods: {
|
|
|
3623
3727
|
priority?: "high" | "medium" | "low" | undefined;
|
|
3624
3728
|
}[];
|
|
3625
3729
|
sessionUpdate: "plan";
|
|
3730
|
+
}>, z.ZodObject<{
|
|
3731
|
+
sessionUpdate: z.ZodLiteral<"ls_goal">;
|
|
3732
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
3733
|
+
objective: z.ZodString;
|
|
3734
|
+
status: z.ZodEnum<["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
3735
|
+
tokenBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3736
|
+
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
3737
|
+
timeUsedSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3738
|
+
iterations: z.ZodOptional<z.ZodNumber>;
|
|
3739
|
+
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3740
|
+
}, "strip", z.ZodTypeAny, {
|
|
3741
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3742
|
+
objective: string;
|
|
3743
|
+
tokenBudget?: number | null | undefined;
|
|
3744
|
+
tokensUsed?: number | undefined;
|
|
3745
|
+
timeUsedSeconds?: number | undefined;
|
|
3746
|
+
iterations?: number | undefined;
|
|
3747
|
+
lastReason?: string | null | undefined;
|
|
3748
|
+
}, {
|
|
3749
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3750
|
+
objective: string;
|
|
3751
|
+
tokenBudget?: number | null | undefined;
|
|
3752
|
+
tokensUsed?: number | undefined;
|
|
3753
|
+
timeUsedSeconds?: number | undefined;
|
|
3754
|
+
iterations?: number | undefined;
|
|
3755
|
+
lastReason?: string | null | undefined;
|
|
3756
|
+
}>>;
|
|
3757
|
+
}, "strip", z.ZodTypeAny, {
|
|
3758
|
+
sessionUpdate: "ls_goal";
|
|
3759
|
+
goal: {
|
|
3760
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3761
|
+
objective: string;
|
|
3762
|
+
tokenBudget?: number | null | undefined;
|
|
3763
|
+
tokensUsed?: number | undefined;
|
|
3764
|
+
timeUsedSeconds?: number | undefined;
|
|
3765
|
+
iterations?: number | undefined;
|
|
3766
|
+
lastReason?: string | null | undefined;
|
|
3767
|
+
} | null;
|
|
3768
|
+
}, {
|
|
3769
|
+
sessionUpdate: "ls_goal";
|
|
3770
|
+
goal: {
|
|
3771
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
3772
|
+
objective: string;
|
|
3773
|
+
tokenBudget?: number | null | undefined;
|
|
3774
|
+
tokensUsed?: number | undefined;
|
|
3775
|
+
timeUsedSeconds?: number | undefined;
|
|
3776
|
+
iterations?: number | undefined;
|
|
3777
|
+
lastReason?: string | null | undefined;
|
|
3778
|
+
} | null;
|
|
3626
3779
|
}>, z.ZodObject<{
|
|
3627
3780
|
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
3628
3781
|
availableCommands: z.ZodArray<z.ZodObject<{
|
|
@@ -3973,6 +4126,85 @@ export declare const methods: {
|
|
|
3973
4126
|
}, {
|
|
3974
4127
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
3975
4128
|
sessionUpdate: "ls_status";
|
|
4129
|
+
}>, z.ZodObject<{
|
|
4130
|
+
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
4131
|
+
task: z.ZodObject<{
|
|
4132
|
+
id: z.ZodString;
|
|
4133
|
+
kind: z.ZodEnum<["shell", "monitor"]>;
|
|
4134
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
4135
|
+
title: z.ZodString;
|
|
4136
|
+
command: z.ZodOptional<z.ZodString>;
|
|
4137
|
+
state: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
4138
|
+
startedAt: z.ZodNumber;
|
|
4139
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
4140
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
4141
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
4142
|
+
output: z.ZodOptional<z.ZodBoolean>;
|
|
4143
|
+
canStop: z.ZodOptional<z.ZodBoolean>;
|
|
4144
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
4145
|
+
}, "strip", z.ZodTypeAny, {
|
|
4146
|
+
id: string;
|
|
4147
|
+
title: string;
|
|
4148
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4149
|
+
startedAt: number;
|
|
4150
|
+
kind: "shell" | "monitor";
|
|
4151
|
+
toolCallId?: string | undefined;
|
|
4152
|
+
endedAt?: number | undefined;
|
|
4153
|
+
lastSeq?: number | undefined;
|
|
4154
|
+
command?: string | undefined;
|
|
4155
|
+
summary?: string | undefined;
|
|
4156
|
+
exitCode?: number | undefined;
|
|
4157
|
+
output?: boolean | undefined;
|
|
4158
|
+
canStop?: boolean | undefined;
|
|
4159
|
+
}, {
|
|
4160
|
+
id: string;
|
|
4161
|
+
title: string;
|
|
4162
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4163
|
+
startedAt: number;
|
|
4164
|
+
kind: "shell" | "monitor";
|
|
4165
|
+
toolCallId?: string | undefined;
|
|
4166
|
+
endedAt?: number | undefined;
|
|
4167
|
+
lastSeq?: number | undefined;
|
|
4168
|
+
command?: string | undefined;
|
|
4169
|
+
summary?: string | undefined;
|
|
4170
|
+
exitCode?: number | undefined;
|
|
4171
|
+
output?: boolean | undefined;
|
|
4172
|
+
canStop?: boolean | undefined;
|
|
4173
|
+
}>;
|
|
4174
|
+
}, "strip", z.ZodTypeAny, {
|
|
4175
|
+
task: {
|
|
4176
|
+
id: string;
|
|
4177
|
+
title: string;
|
|
4178
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4179
|
+
startedAt: number;
|
|
4180
|
+
kind: "shell" | "monitor";
|
|
4181
|
+
toolCallId?: string | undefined;
|
|
4182
|
+
endedAt?: number | undefined;
|
|
4183
|
+
lastSeq?: number | undefined;
|
|
4184
|
+
command?: string | undefined;
|
|
4185
|
+
summary?: string | undefined;
|
|
4186
|
+
exitCode?: number | undefined;
|
|
4187
|
+
output?: boolean | undefined;
|
|
4188
|
+
canStop?: boolean | undefined;
|
|
4189
|
+
};
|
|
4190
|
+
sessionUpdate: "ls_task";
|
|
4191
|
+
}, {
|
|
4192
|
+
task: {
|
|
4193
|
+
id: string;
|
|
4194
|
+
title: string;
|
|
4195
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4196
|
+
startedAt: number;
|
|
4197
|
+
kind: "shell" | "monitor";
|
|
4198
|
+
toolCallId?: string | undefined;
|
|
4199
|
+
endedAt?: number | undefined;
|
|
4200
|
+
lastSeq?: number | undefined;
|
|
4201
|
+
command?: string | undefined;
|
|
4202
|
+
summary?: string | undefined;
|
|
4203
|
+
exitCode?: number | undefined;
|
|
4204
|
+
output?: boolean | undefined;
|
|
4205
|
+
canStop?: boolean | undefined;
|
|
4206
|
+
};
|
|
4207
|
+
sessionUpdate: "ls_task";
|
|
3976
4208
|
}>, z.ZodObject<{
|
|
3977
4209
|
sessionUpdate: z.ZodLiteral<"ls_error">;
|
|
3978
4210
|
code: z.ZodString;
|
|
@@ -4055,7 +4287,7 @@ export declare const methods: {
|
|
|
4055
4287
|
server: string;
|
|
4056
4288
|
} | {
|
|
4057
4289
|
type: "subagent";
|
|
4058
|
-
action: "message" | "
|
|
4290
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4059
4291
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
4060
4292
|
model?: string | undefined;
|
|
4061
4293
|
task?: string | undefined;
|
|
@@ -4158,7 +4390,7 @@ export declare const methods: {
|
|
|
4158
4390
|
server: string;
|
|
4159
4391
|
} | {
|
|
4160
4392
|
type: "subagent";
|
|
4161
|
-
action: "message" | "
|
|
4393
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4162
4394
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
4163
4395
|
model?: string | undefined;
|
|
4164
4396
|
task?: string | undefined;
|
|
@@ -4254,6 +4486,17 @@ export declare const methods: {
|
|
|
4254
4486
|
priority: "high" | "medium" | "low";
|
|
4255
4487
|
}[];
|
|
4256
4488
|
sessionUpdate: "plan";
|
|
4489
|
+
} | {
|
|
4490
|
+
sessionUpdate: "ls_goal";
|
|
4491
|
+
goal: {
|
|
4492
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4493
|
+
objective: string;
|
|
4494
|
+
tokenBudget?: number | null | undefined;
|
|
4495
|
+
tokensUsed?: number | undefined;
|
|
4496
|
+
timeUsedSeconds?: number | undefined;
|
|
4497
|
+
iterations?: number | undefined;
|
|
4498
|
+
lastReason?: string | null | undefined;
|
|
4499
|
+
} | null;
|
|
4257
4500
|
} | {
|
|
4258
4501
|
sessionUpdate: "available_commands_update";
|
|
4259
4502
|
availableCommands: {
|
|
@@ -4342,6 +4585,23 @@ export declare const methods: {
|
|
|
4342
4585
|
} | {
|
|
4343
4586
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4344
4587
|
sessionUpdate: "ls_status";
|
|
4588
|
+
} | {
|
|
4589
|
+
task: {
|
|
4590
|
+
id: string;
|
|
4591
|
+
title: string;
|
|
4592
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4593
|
+
startedAt: number;
|
|
4594
|
+
kind: "shell" | "monitor";
|
|
4595
|
+
toolCallId?: string | undefined;
|
|
4596
|
+
endedAt?: number | undefined;
|
|
4597
|
+
lastSeq?: number | undefined;
|
|
4598
|
+
command?: string | undefined;
|
|
4599
|
+
summary?: string | undefined;
|
|
4600
|
+
exitCode?: number | undefined;
|
|
4601
|
+
output?: boolean | undefined;
|
|
4602
|
+
canStop?: boolean | undefined;
|
|
4603
|
+
};
|
|
4604
|
+
sessionUpdate: "ls_task";
|
|
4345
4605
|
} | {
|
|
4346
4606
|
code: string;
|
|
4347
4607
|
message: string;
|
|
@@ -4451,7 +4711,7 @@ export declare const methods: {
|
|
|
4451
4711
|
result?: string | undefined;
|
|
4452
4712
|
}[] | undefined;
|
|
4453
4713
|
} | undefined;
|
|
4454
|
-
action?: "message" | "
|
|
4714
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
4455
4715
|
} | {
|
|
4456
4716
|
type: "skill";
|
|
4457
4717
|
name: string;
|
|
@@ -4554,7 +4814,7 @@ export declare const methods: {
|
|
|
4554
4814
|
result?: string | undefined;
|
|
4555
4815
|
}[] | undefined;
|
|
4556
4816
|
} | undefined;
|
|
4557
|
-
action?: "message" | "
|
|
4817
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
4558
4818
|
} | {
|
|
4559
4819
|
type: "skill";
|
|
4560
4820
|
name: string;
|
|
@@ -4616,6 +4876,17 @@ export declare const methods: {
|
|
|
4616
4876
|
priority?: "high" | "medium" | "low" | undefined;
|
|
4617
4877
|
}[];
|
|
4618
4878
|
sessionUpdate: "plan";
|
|
4879
|
+
} | {
|
|
4880
|
+
sessionUpdate: "ls_goal";
|
|
4881
|
+
goal: {
|
|
4882
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
4883
|
+
objective: string;
|
|
4884
|
+
tokenBudget?: number | null | undefined;
|
|
4885
|
+
tokensUsed?: number | undefined;
|
|
4886
|
+
timeUsedSeconds?: number | undefined;
|
|
4887
|
+
iterations?: number | undefined;
|
|
4888
|
+
lastReason?: string | null | undefined;
|
|
4889
|
+
} | null;
|
|
4619
4890
|
} | {
|
|
4620
4891
|
sessionUpdate: "available_commands_update";
|
|
4621
4892
|
availableCommands: {
|
|
@@ -4704,6 +4975,23 @@ export declare const methods: {
|
|
|
4704
4975
|
} | {
|
|
4705
4976
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
4706
4977
|
sessionUpdate: "ls_status";
|
|
4978
|
+
} | {
|
|
4979
|
+
task: {
|
|
4980
|
+
id: string;
|
|
4981
|
+
title: string;
|
|
4982
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
4983
|
+
startedAt: number;
|
|
4984
|
+
kind: "shell" | "monitor";
|
|
4985
|
+
toolCallId?: string | undefined;
|
|
4986
|
+
endedAt?: number | undefined;
|
|
4987
|
+
lastSeq?: number | undefined;
|
|
4988
|
+
command?: string | undefined;
|
|
4989
|
+
summary?: string | undefined;
|
|
4990
|
+
exitCode?: number | undefined;
|
|
4991
|
+
output?: boolean | undefined;
|
|
4992
|
+
canStop?: boolean | undefined;
|
|
4993
|
+
};
|
|
4994
|
+
sessionUpdate: "ls_task";
|
|
4707
4995
|
} | {
|
|
4708
4996
|
code: string;
|
|
4709
4997
|
message: string;
|
|
@@ -4783,7 +5071,7 @@ export declare const methods: {
|
|
|
4783
5071
|
server: string;
|
|
4784
5072
|
} | {
|
|
4785
5073
|
type: "subagent";
|
|
4786
|
-
action: "message" | "
|
|
5074
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4787
5075
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
4788
5076
|
model?: string | undefined;
|
|
4789
5077
|
task?: string | undefined;
|
|
@@ -4886,7 +5174,7 @@ export declare const methods: {
|
|
|
4886
5174
|
server: string;
|
|
4887
5175
|
} | {
|
|
4888
5176
|
type: "subagent";
|
|
4889
|
-
action: "message" | "
|
|
5177
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
4890
5178
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
4891
5179
|
model?: string | undefined;
|
|
4892
5180
|
task?: string | undefined;
|
|
@@ -4982,6 +5270,17 @@ export declare const methods: {
|
|
|
4982
5270
|
priority: "high" | "medium" | "low";
|
|
4983
5271
|
}[];
|
|
4984
5272
|
sessionUpdate: "plan";
|
|
5273
|
+
} | {
|
|
5274
|
+
sessionUpdate: "ls_goal";
|
|
5275
|
+
goal: {
|
|
5276
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5277
|
+
objective: string;
|
|
5278
|
+
tokenBudget?: number | null | undefined;
|
|
5279
|
+
tokensUsed?: number | undefined;
|
|
5280
|
+
timeUsedSeconds?: number | undefined;
|
|
5281
|
+
iterations?: number | undefined;
|
|
5282
|
+
lastReason?: string | null | undefined;
|
|
5283
|
+
} | null;
|
|
4985
5284
|
} | {
|
|
4986
5285
|
sessionUpdate: "available_commands_update";
|
|
4987
5286
|
availableCommands: {
|
|
@@ -5070,6 +5369,23 @@ export declare const methods: {
|
|
|
5070
5369
|
} | {
|
|
5071
5370
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5072
5371
|
sessionUpdate: "ls_status";
|
|
5372
|
+
} | {
|
|
5373
|
+
task: {
|
|
5374
|
+
id: string;
|
|
5375
|
+
title: string;
|
|
5376
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
5377
|
+
startedAt: number;
|
|
5378
|
+
kind: "shell" | "monitor";
|
|
5379
|
+
toolCallId?: string | undefined;
|
|
5380
|
+
endedAt?: number | undefined;
|
|
5381
|
+
lastSeq?: number | undefined;
|
|
5382
|
+
command?: string | undefined;
|
|
5383
|
+
summary?: string | undefined;
|
|
5384
|
+
exitCode?: number | undefined;
|
|
5385
|
+
output?: boolean | undefined;
|
|
5386
|
+
canStop?: boolean | undefined;
|
|
5387
|
+
};
|
|
5388
|
+
sessionUpdate: "ls_task";
|
|
5073
5389
|
} | {
|
|
5074
5390
|
code: string;
|
|
5075
5391
|
message: string;
|
|
@@ -5182,7 +5498,7 @@ export declare const methods: {
|
|
|
5182
5498
|
result?: string | undefined;
|
|
5183
5499
|
}[] | undefined;
|
|
5184
5500
|
} | undefined;
|
|
5185
|
-
action?: "message" | "
|
|
5501
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
5186
5502
|
} | {
|
|
5187
5503
|
type: "skill";
|
|
5188
5504
|
name: string;
|
|
@@ -5285,7 +5601,7 @@ export declare const methods: {
|
|
|
5285
5601
|
result?: string | undefined;
|
|
5286
5602
|
}[] | undefined;
|
|
5287
5603
|
} | undefined;
|
|
5288
|
-
action?: "message" | "
|
|
5604
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
5289
5605
|
} | {
|
|
5290
5606
|
type: "skill";
|
|
5291
5607
|
name: string;
|
|
@@ -5347,6 +5663,17 @@ export declare const methods: {
|
|
|
5347
5663
|
priority?: "high" | "medium" | "low" | undefined;
|
|
5348
5664
|
}[];
|
|
5349
5665
|
sessionUpdate: "plan";
|
|
5666
|
+
} | {
|
|
5667
|
+
sessionUpdate: "ls_goal";
|
|
5668
|
+
goal: {
|
|
5669
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
5670
|
+
objective: string;
|
|
5671
|
+
tokenBudget?: number | null | undefined;
|
|
5672
|
+
tokensUsed?: number | undefined;
|
|
5673
|
+
timeUsedSeconds?: number | undefined;
|
|
5674
|
+
iterations?: number | undefined;
|
|
5675
|
+
lastReason?: string | null | undefined;
|
|
5676
|
+
} | null;
|
|
5350
5677
|
} | {
|
|
5351
5678
|
sessionUpdate: "available_commands_update";
|
|
5352
5679
|
availableCommands: {
|
|
@@ -5435,6 +5762,23 @@ export declare const methods: {
|
|
|
5435
5762
|
} | {
|
|
5436
5763
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
5437
5764
|
sessionUpdate: "ls_status";
|
|
5765
|
+
} | {
|
|
5766
|
+
task: {
|
|
5767
|
+
id: string;
|
|
5768
|
+
title: string;
|
|
5769
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
5770
|
+
startedAt: number;
|
|
5771
|
+
kind: "shell" | "monitor";
|
|
5772
|
+
toolCallId?: string | undefined;
|
|
5773
|
+
endedAt?: number | undefined;
|
|
5774
|
+
lastSeq?: number | undefined;
|
|
5775
|
+
command?: string | undefined;
|
|
5776
|
+
summary?: string | undefined;
|
|
5777
|
+
exitCode?: number | undefined;
|
|
5778
|
+
output?: boolean | undefined;
|
|
5779
|
+
canStop?: boolean | undefined;
|
|
5780
|
+
};
|
|
5781
|
+
sessionUpdate: "ls_task";
|
|
5438
5782
|
} | {
|
|
5439
5783
|
code: string;
|
|
5440
5784
|
message: string;
|
|
@@ -6300,7 +6644,7 @@ export declare const methods: {
|
|
|
6300
6644
|
}>>;
|
|
6301
6645
|
}, "strip", z.ZodTypeAny, {
|
|
6302
6646
|
type: "subagent";
|
|
6303
|
-
action: "message" | "
|
|
6647
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
6304
6648
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
6305
6649
|
model?: string | undefined;
|
|
6306
6650
|
task?: string | undefined;
|
|
@@ -6371,7 +6715,7 @@ export declare const methods: {
|
|
|
6371
6715
|
result?: string | undefined;
|
|
6372
6716
|
}[] | undefined;
|
|
6373
6717
|
} | undefined;
|
|
6374
|
-
action?: "message" | "
|
|
6718
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
6375
6719
|
}>, z.ZodObject<{
|
|
6376
6720
|
type: z.ZodLiteral<"skill">;
|
|
6377
6721
|
name: z.ZodString;
|
|
@@ -6442,7 +6786,7 @@ export declare const methods: {
|
|
|
6442
6786
|
server: string;
|
|
6443
6787
|
} | {
|
|
6444
6788
|
type: "subagent";
|
|
6445
|
-
action: "message" | "
|
|
6789
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
6446
6790
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
6447
6791
|
model?: string | undefined;
|
|
6448
6792
|
task?: string | undefined;
|
|
@@ -6580,7 +6924,7 @@ export declare const methods: {
|
|
|
6580
6924
|
result?: string | undefined;
|
|
6581
6925
|
}[] | undefined;
|
|
6582
6926
|
} | undefined;
|
|
6583
|
-
action?: "message" | "
|
|
6927
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
6584
6928
|
} | {
|
|
6585
6929
|
type: "skill";
|
|
6586
6930
|
name: string;
|
|
@@ -6787,7 +7131,7 @@ export declare const methods: {
|
|
|
6787
7131
|
}>>;
|
|
6788
7132
|
}, "strip", z.ZodTypeAny, {
|
|
6789
7133
|
type: "subagent";
|
|
6790
|
-
action: "message" | "
|
|
7134
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
6791
7135
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
6792
7136
|
model?: string | undefined;
|
|
6793
7137
|
task?: string | undefined;
|
|
@@ -6858,7 +7202,7 @@ export declare const methods: {
|
|
|
6858
7202
|
result?: string | undefined;
|
|
6859
7203
|
}[] | undefined;
|
|
6860
7204
|
} | undefined;
|
|
6861
|
-
action?: "message" | "
|
|
7205
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
6862
7206
|
}>, z.ZodObject<{
|
|
6863
7207
|
type: z.ZodLiteral<"skill">;
|
|
6864
7208
|
name: z.ZodString;
|
|
@@ -7047,7 +7391,7 @@ export declare const methods: {
|
|
|
7047
7391
|
server: string;
|
|
7048
7392
|
} | {
|
|
7049
7393
|
type: "subagent";
|
|
7050
|
-
action: "message" | "
|
|
7394
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
7051
7395
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
7052
7396
|
model?: string | undefined;
|
|
7053
7397
|
task?: string | undefined;
|
|
@@ -7181,7 +7525,7 @@ export declare const methods: {
|
|
|
7181
7525
|
result?: string | undefined;
|
|
7182
7526
|
}[] | undefined;
|
|
7183
7527
|
} | undefined;
|
|
7184
|
-
action?: "message" | "
|
|
7528
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
7185
7529
|
} | {
|
|
7186
7530
|
type: "skill";
|
|
7187
7531
|
name: string;
|
|
@@ -7265,6 +7609,55 @@ export declare const methods: {
|
|
|
7265
7609
|
priority?: "high" | "medium" | "low" | undefined;
|
|
7266
7610
|
}[];
|
|
7267
7611
|
sessionUpdate: "plan";
|
|
7612
|
+
}>, z.ZodObject<{
|
|
7613
|
+
sessionUpdate: z.ZodLiteral<"ls_goal">;
|
|
7614
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
7615
|
+
objective: z.ZodString;
|
|
7616
|
+
status: z.ZodEnum<["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
7617
|
+
tokenBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7618
|
+
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
7619
|
+
timeUsedSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7620
|
+
iterations: z.ZodOptional<z.ZodNumber>;
|
|
7621
|
+
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7622
|
+
}, "strip", z.ZodTypeAny, {
|
|
7623
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7624
|
+
objective: string;
|
|
7625
|
+
tokenBudget?: number | null | undefined;
|
|
7626
|
+
tokensUsed?: number | undefined;
|
|
7627
|
+
timeUsedSeconds?: number | undefined;
|
|
7628
|
+
iterations?: number | undefined;
|
|
7629
|
+
lastReason?: string | null | undefined;
|
|
7630
|
+
}, {
|
|
7631
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7632
|
+
objective: string;
|
|
7633
|
+
tokenBudget?: number | null | undefined;
|
|
7634
|
+
tokensUsed?: number | undefined;
|
|
7635
|
+
timeUsedSeconds?: number | undefined;
|
|
7636
|
+
iterations?: number | undefined;
|
|
7637
|
+
lastReason?: string | null | undefined;
|
|
7638
|
+
}>>;
|
|
7639
|
+
}, "strip", z.ZodTypeAny, {
|
|
7640
|
+
sessionUpdate: "ls_goal";
|
|
7641
|
+
goal: {
|
|
7642
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7643
|
+
objective: string;
|
|
7644
|
+
tokenBudget?: number | null | undefined;
|
|
7645
|
+
tokensUsed?: number | undefined;
|
|
7646
|
+
timeUsedSeconds?: number | undefined;
|
|
7647
|
+
iterations?: number | undefined;
|
|
7648
|
+
lastReason?: string | null | undefined;
|
|
7649
|
+
} | null;
|
|
7650
|
+
}, {
|
|
7651
|
+
sessionUpdate: "ls_goal";
|
|
7652
|
+
goal: {
|
|
7653
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
7654
|
+
objective: string;
|
|
7655
|
+
tokenBudget?: number | null | undefined;
|
|
7656
|
+
tokensUsed?: number | undefined;
|
|
7657
|
+
timeUsedSeconds?: number | undefined;
|
|
7658
|
+
iterations?: number | undefined;
|
|
7659
|
+
lastReason?: string | null | undefined;
|
|
7660
|
+
} | null;
|
|
7268
7661
|
}>, z.ZodObject<{
|
|
7269
7662
|
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
7270
7663
|
availableCommands: z.ZodArray<z.ZodObject<{
|
|
@@ -7615,6 +8008,85 @@ export declare const methods: {
|
|
|
7615
8008
|
}, {
|
|
7616
8009
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
7617
8010
|
sessionUpdate: "ls_status";
|
|
8011
|
+
}>, z.ZodObject<{
|
|
8012
|
+
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
8013
|
+
task: z.ZodObject<{
|
|
8014
|
+
id: z.ZodString;
|
|
8015
|
+
kind: z.ZodEnum<["shell", "monitor"]>;
|
|
8016
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
8017
|
+
title: z.ZodString;
|
|
8018
|
+
command: z.ZodOptional<z.ZodString>;
|
|
8019
|
+
state: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
8020
|
+
startedAt: z.ZodNumber;
|
|
8021
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
8022
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
8023
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
8024
|
+
output: z.ZodOptional<z.ZodBoolean>;
|
|
8025
|
+
canStop: z.ZodOptional<z.ZodBoolean>;
|
|
8026
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
8027
|
+
}, "strip", z.ZodTypeAny, {
|
|
8028
|
+
id: string;
|
|
8029
|
+
title: string;
|
|
8030
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8031
|
+
startedAt: number;
|
|
8032
|
+
kind: "shell" | "monitor";
|
|
8033
|
+
toolCallId?: string | undefined;
|
|
8034
|
+
endedAt?: number | undefined;
|
|
8035
|
+
lastSeq?: number | undefined;
|
|
8036
|
+
command?: string | undefined;
|
|
8037
|
+
summary?: string | undefined;
|
|
8038
|
+
exitCode?: number | undefined;
|
|
8039
|
+
output?: boolean | undefined;
|
|
8040
|
+
canStop?: boolean | undefined;
|
|
8041
|
+
}, {
|
|
8042
|
+
id: string;
|
|
8043
|
+
title: string;
|
|
8044
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8045
|
+
startedAt: number;
|
|
8046
|
+
kind: "shell" | "monitor";
|
|
8047
|
+
toolCallId?: string | undefined;
|
|
8048
|
+
endedAt?: number | undefined;
|
|
8049
|
+
lastSeq?: number | undefined;
|
|
8050
|
+
command?: string | undefined;
|
|
8051
|
+
summary?: string | undefined;
|
|
8052
|
+
exitCode?: number | undefined;
|
|
8053
|
+
output?: boolean | undefined;
|
|
8054
|
+
canStop?: boolean | undefined;
|
|
8055
|
+
}>;
|
|
8056
|
+
}, "strip", z.ZodTypeAny, {
|
|
8057
|
+
task: {
|
|
8058
|
+
id: string;
|
|
8059
|
+
title: string;
|
|
8060
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8061
|
+
startedAt: number;
|
|
8062
|
+
kind: "shell" | "monitor";
|
|
8063
|
+
toolCallId?: string | undefined;
|
|
8064
|
+
endedAt?: number | undefined;
|
|
8065
|
+
lastSeq?: number | undefined;
|
|
8066
|
+
command?: string | undefined;
|
|
8067
|
+
summary?: string | undefined;
|
|
8068
|
+
exitCode?: number | undefined;
|
|
8069
|
+
output?: boolean | undefined;
|
|
8070
|
+
canStop?: boolean | undefined;
|
|
8071
|
+
};
|
|
8072
|
+
sessionUpdate: "ls_task";
|
|
8073
|
+
}, {
|
|
8074
|
+
task: {
|
|
8075
|
+
id: string;
|
|
8076
|
+
title: string;
|
|
8077
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8078
|
+
startedAt: number;
|
|
8079
|
+
kind: "shell" | "monitor";
|
|
8080
|
+
toolCallId?: string | undefined;
|
|
8081
|
+
endedAt?: number | undefined;
|
|
8082
|
+
lastSeq?: number | undefined;
|
|
8083
|
+
command?: string | undefined;
|
|
8084
|
+
summary?: string | undefined;
|
|
8085
|
+
exitCode?: number | undefined;
|
|
8086
|
+
output?: boolean | undefined;
|
|
8087
|
+
canStop?: boolean | undefined;
|
|
8088
|
+
};
|
|
8089
|
+
sessionUpdate: "ls_task";
|
|
7618
8090
|
}>, z.ZodObject<{
|
|
7619
8091
|
sessionUpdate: z.ZodLiteral<"ls_error">;
|
|
7620
8092
|
code: z.ZodString;
|
|
@@ -7697,7 +8169,7 @@ export declare const methods: {
|
|
|
7697
8169
|
server: string;
|
|
7698
8170
|
} | {
|
|
7699
8171
|
type: "subagent";
|
|
7700
|
-
action: "message" | "
|
|
8172
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
7701
8173
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
7702
8174
|
model?: string | undefined;
|
|
7703
8175
|
task?: string | undefined;
|
|
@@ -7800,7 +8272,7 @@ export declare const methods: {
|
|
|
7800
8272
|
server: string;
|
|
7801
8273
|
} | {
|
|
7802
8274
|
type: "subagent";
|
|
7803
|
-
action: "message" | "
|
|
8275
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
7804
8276
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
7805
8277
|
model?: string | undefined;
|
|
7806
8278
|
task?: string | undefined;
|
|
@@ -7896,6 +8368,17 @@ export declare const methods: {
|
|
|
7896
8368
|
priority: "high" | "medium" | "low";
|
|
7897
8369
|
}[];
|
|
7898
8370
|
sessionUpdate: "plan";
|
|
8371
|
+
} | {
|
|
8372
|
+
sessionUpdate: "ls_goal";
|
|
8373
|
+
goal: {
|
|
8374
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8375
|
+
objective: string;
|
|
8376
|
+
tokenBudget?: number | null | undefined;
|
|
8377
|
+
tokensUsed?: number | undefined;
|
|
8378
|
+
timeUsedSeconds?: number | undefined;
|
|
8379
|
+
iterations?: number | undefined;
|
|
8380
|
+
lastReason?: string | null | undefined;
|
|
8381
|
+
} | null;
|
|
7899
8382
|
} | {
|
|
7900
8383
|
sessionUpdate: "available_commands_update";
|
|
7901
8384
|
availableCommands: {
|
|
@@ -7984,6 +8467,23 @@ export declare const methods: {
|
|
|
7984
8467
|
} | {
|
|
7985
8468
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
7986
8469
|
sessionUpdate: "ls_status";
|
|
8470
|
+
} | {
|
|
8471
|
+
task: {
|
|
8472
|
+
id: string;
|
|
8473
|
+
title: string;
|
|
8474
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8475
|
+
startedAt: number;
|
|
8476
|
+
kind: "shell" | "monitor";
|
|
8477
|
+
toolCallId?: string | undefined;
|
|
8478
|
+
endedAt?: number | undefined;
|
|
8479
|
+
lastSeq?: number | undefined;
|
|
8480
|
+
command?: string | undefined;
|
|
8481
|
+
summary?: string | undefined;
|
|
8482
|
+
exitCode?: number | undefined;
|
|
8483
|
+
output?: boolean | undefined;
|
|
8484
|
+
canStop?: boolean | undefined;
|
|
8485
|
+
};
|
|
8486
|
+
sessionUpdate: "ls_task";
|
|
7987
8487
|
} | {
|
|
7988
8488
|
code: string;
|
|
7989
8489
|
message: string;
|
|
@@ -8093,7 +8593,7 @@ export declare const methods: {
|
|
|
8093
8593
|
result?: string | undefined;
|
|
8094
8594
|
}[] | undefined;
|
|
8095
8595
|
} | undefined;
|
|
8096
|
-
action?: "message" | "
|
|
8596
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8097
8597
|
} | {
|
|
8098
8598
|
type: "skill";
|
|
8099
8599
|
name: string;
|
|
@@ -8196,7 +8696,7 @@ export declare const methods: {
|
|
|
8196
8696
|
result?: string | undefined;
|
|
8197
8697
|
}[] | undefined;
|
|
8198
8698
|
} | undefined;
|
|
8199
|
-
action?: "message" | "
|
|
8699
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8200
8700
|
} | {
|
|
8201
8701
|
type: "skill";
|
|
8202
8702
|
name: string;
|
|
@@ -8258,6 +8758,17 @@ export declare const methods: {
|
|
|
8258
8758
|
priority?: "high" | "medium" | "low" | undefined;
|
|
8259
8759
|
}[];
|
|
8260
8760
|
sessionUpdate: "plan";
|
|
8761
|
+
} | {
|
|
8762
|
+
sessionUpdate: "ls_goal";
|
|
8763
|
+
goal: {
|
|
8764
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
8765
|
+
objective: string;
|
|
8766
|
+
tokenBudget?: number | null | undefined;
|
|
8767
|
+
tokensUsed?: number | undefined;
|
|
8768
|
+
timeUsedSeconds?: number | undefined;
|
|
8769
|
+
iterations?: number | undefined;
|
|
8770
|
+
lastReason?: string | null | undefined;
|
|
8771
|
+
} | null;
|
|
8261
8772
|
} | {
|
|
8262
8773
|
sessionUpdate: "available_commands_update";
|
|
8263
8774
|
availableCommands: {
|
|
@@ -8346,6 +8857,23 @@ export declare const methods: {
|
|
|
8346
8857
|
} | {
|
|
8347
8858
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8348
8859
|
sessionUpdate: "ls_status";
|
|
8860
|
+
} | {
|
|
8861
|
+
task: {
|
|
8862
|
+
id: string;
|
|
8863
|
+
title: string;
|
|
8864
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
8865
|
+
startedAt: number;
|
|
8866
|
+
kind: "shell" | "monitor";
|
|
8867
|
+
toolCallId?: string | undefined;
|
|
8868
|
+
endedAt?: number | undefined;
|
|
8869
|
+
lastSeq?: number | undefined;
|
|
8870
|
+
command?: string | undefined;
|
|
8871
|
+
summary?: string | undefined;
|
|
8872
|
+
exitCode?: number | undefined;
|
|
8873
|
+
output?: boolean | undefined;
|
|
8874
|
+
canStop?: boolean | undefined;
|
|
8875
|
+
};
|
|
8876
|
+
sessionUpdate: "ls_task";
|
|
8349
8877
|
} | {
|
|
8350
8878
|
code: string;
|
|
8351
8879
|
message: string;
|
|
@@ -8423,7 +8951,7 @@ export declare const methods: {
|
|
|
8423
8951
|
server: string;
|
|
8424
8952
|
} | {
|
|
8425
8953
|
type: "subagent";
|
|
8426
|
-
action: "message" | "
|
|
8954
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
8427
8955
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
8428
8956
|
model?: string | undefined;
|
|
8429
8957
|
task?: string | undefined;
|
|
@@ -8526,7 +9054,7 @@ export declare const methods: {
|
|
|
8526
9054
|
server: string;
|
|
8527
9055
|
} | {
|
|
8528
9056
|
type: "subagent";
|
|
8529
|
-
action: "message" | "
|
|
9057
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
8530
9058
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
8531
9059
|
model?: string | undefined;
|
|
8532
9060
|
task?: string | undefined;
|
|
@@ -8622,6 +9150,17 @@ export declare const methods: {
|
|
|
8622
9150
|
priority: "high" | "medium" | "low";
|
|
8623
9151
|
}[];
|
|
8624
9152
|
sessionUpdate: "plan";
|
|
9153
|
+
} | {
|
|
9154
|
+
sessionUpdate: "ls_goal";
|
|
9155
|
+
goal: {
|
|
9156
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9157
|
+
objective: string;
|
|
9158
|
+
tokenBudget?: number | null | undefined;
|
|
9159
|
+
tokensUsed?: number | undefined;
|
|
9160
|
+
timeUsedSeconds?: number | undefined;
|
|
9161
|
+
iterations?: number | undefined;
|
|
9162
|
+
lastReason?: string | null | undefined;
|
|
9163
|
+
} | null;
|
|
8625
9164
|
} | {
|
|
8626
9165
|
sessionUpdate: "available_commands_update";
|
|
8627
9166
|
availableCommands: {
|
|
@@ -8710,6 +9249,23 @@ export declare const methods: {
|
|
|
8710
9249
|
} | {
|
|
8711
9250
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
8712
9251
|
sessionUpdate: "ls_status";
|
|
9252
|
+
} | {
|
|
9253
|
+
task: {
|
|
9254
|
+
id: string;
|
|
9255
|
+
title: string;
|
|
9256
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9257
|
+
startedAt: number;
|
|
9258
|
+
kind: "shell" | "monitor";
|
|
9259
|
+
toolCallId?: string | undefined;
|
|
9260
|
+
endedAt?: number | undefined;
|
|
9261
|
+
lastSeq?: number | undefined;
|
|
9262
|
+
command?: string | undefined;
|
|
9263
|
+
summary?: string | undefined;
|
|
9264
|
+
exitCode?: number | undefined;
|
|
9265
|
+
output?: boolean | undefined;
|
|
9266
|
+
canStop?: boolean | undefined;
|
|
9267
|
+
};
|
|
9268
|
+
sessionUpdate: "ls_task";
|
|
8713
9269
|
} | {
|
|
8714
9270
|
code: string;
|
|
8715
9271
|
message: string;
|
|
@@ -8821,7 +9377,7 @@ export declare const methods: {
|
|
|
8821
9377
|
result?: string | undefined;
|
|
8822
9378
|
}[] | undefined;
|
|
8823
9379
|
} | undefined;
|
|
8824
|
-
action?: "message" | "
|
|
9380
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8825
9381
|
} | {
|
|
8826
9382
|
type: "skill";
|
|
8827
9383
|
name: string;
|
|
@@ -8924,7 +9480,7 @@ export declare const methods: {
|
|
|
8924
9480
|
result?: string | undefined;
|
|
8925
9481
|
}[] | undefined;
|
|
8926
9482
|
} | undefined;
|
|
8927
|
-
action?: "message" | "
|
|
9483
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
8928
9484
|
} | {
|
|
8929
9485
|
type: "skill";
|
|
8930
9486
|
name: string;
|
|
@@ -8986,6 +9542,17 @@ export declare const methods: {
|
|
|
8986
9542
|
priority?: "high" | "medium" | "low" | undefined;
|
|
8987
9543
|
}[];
|
|
8988
9544
|
sessionUpdate: "plan";
|
|
9545
|
+
} | {
|
|
9546
|
+
sessionUpdate: "ls_goal";
|
|
9547
|
+
goal: {
|
|
9548
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
9549
|
+
objective: string;
|
|
9550
|
+
tokenBudget?: number | null | undefined;
|
|
9551
|
+
tokensUsed?: number | undefined;
|
|
9552
|
+
timeUsedSeconds?: number | undefined;
|
|
9553
|
+
iterations?: number | undefined;
|
|
9554
|
+
lastReason?: string | null | undefined;
|
|
9555
|
+
} | null;
|
|
8989
9556
|
} | {
|
|
8990
9557
|
sessionUpdate: "available_commands_update";
|
|
8991
9558
|
availableCommands: {
|
|
@@ -9074,6 +9641,23 @@ export declare const methods: {
|
|
|
9074
9641
|
} | {
|
|
9075
9642
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
9076
9643
|
sessionUpdate: "ls_status";
|
|
9644
|
+
} | {
|
|
9645
|
+
task: {
|
|
9646
|
+
id: string;
|
|
9647
|
+
title: string;
|
|
9648
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9649
|
+
startedAt: number;
|
|
9650
|
+
kind: "shell" | "monitor";
|
|
9651
|
+
toolCallId?: string | undefined;
|
|
9652
|
+
endedAt?: number | undefined;
|
|
9653
|
+
lastSeq?: number | undefined;
|
|
9654
|
+
command?: string | undefined;
|
|
9655
|
+
summary?: string | undefined;
|
|
9656
|
+
exitCode?: number | undefined;
|
|
9657
|
+
output?: boolean | undefined;
|
|
9658
|
+
canStop?: boolean | undefined;
|
|
9659
|
+
};
|
|
9660
|
+
sessionUpdate: "ls_task";
|
|
9077
9661
|
} | {
|
|
9078
9662
|
code: string;
|
|
9079
9663
|
message: string;
|
|
@@ -9086,30 +9670,201 @@ export declare const methods: {
|
|
|
9086
9670
|
}[];
|
|
9087
9671
|
}>;
|
|
9088
9672
|
};
|
|
9089
|
-
/** The
|
|
9090
|
-
readonly "sessions.
|
|
9673
|
+
/** The commands this session left running in the background, and the ones that have ended; newest first. */
|
|
9674
|
+
readonly "sessions.tasks": {
|
|
9091
9675
|
readonly params: z.ZodObject<{
|
|
9092
9676
|
sessionId: z.ZodString;
|
|
9093
|
-
uri: z.ZodString;
|
|
9094
9677
|
}, "strip", z.ZodTypeAny, {
|
|
9095
|
-
uri: string;
|
|
9096
9678
|
sessionId: string;
|
|
9097
9679
|
}, {
|
|
9098
|
-
uri: string;
|
|
9099
9680
|
sessionId: string;
|
|
9100
9681
|
}>;
|
|
9101
9682
|
readonly result: z.ZodObject<{
|
|
9102
|
-
|
|
9103
|
-
|
|
9683
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
9684
|
+
id: z.ZodString;
|
|
9685
|
+
kind: z.ZodEnum<["shell", "monitor"]>;
|
|
9686
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9687
|
+
title: z.ZodString;
|
|
9688
|
+
command: z.ZodOptional<z.ZodString>;
|
|
9689
|
+
state: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
9690
|
+
startedAt: z.ZodNumber;
|
|
9691
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
9692
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
9693
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
9694
|
+
output: z.ZodOptional<z.ZodBoolean>;
|
|
9695
|
+
canStop: z.ZodOptional<z.ZodBoolean>;
|
|
9696
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
9697
|
+
}, "strip", z.ZodTypeAny, {
|
|
9698
|
+
id: string;
|
|
9699
|
+
title: string;
|
|
9700
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9701
|
+
startedAt: number;
|
|
9702
|
+
kind: "shell" | "monitor";
|
|
9703
|
+
toolCallId?: string | undefined;
|
|
9704
|
+
endedAt?: number | undefined;
|
|
9705
|
+
lastSeq?: number | undefined;
|
|
9706
|
+
command?: string | undefined;
|
|
9707
|
+
summary?: string | undefined;
|
|
9708
|
+
exitCode?: number | undefined;
|
|
9709
|
+
output?: boolean | undefined;
|
|
9710
|
+
canStop?: boolean | undefined;
|
|
9711
|
+
}, {
|
|
9712
|
+
id: string;
|
|
9713
|
+
title: string;
|
|
9714
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9715
|
+
startedAt: number;
|
|
9716
|
+
kind: "shell" | "monitor";
|
|
9717
|
+
toolCallId?: string | undefined;
|
|
9718
|
+
endedAt?: number | undefined;
|
|
9719
|
+
lastSeq?: number | undefined;
|
|
9720
|
+
command?: string | undefined;
|
|
9721
|
+
summary?: string | undefined;
|
|
9722
|
+
exitCode?: number | undefined;
|
|
9723
|
+
output?: boolean | undefined;
|
|
9724
|
+
canStop?: boolean | undefined;
|
|
9725
|
+
}>, "many">;
|
|
9104
9726
|
}, "strip", z.ZodTypeAny, {
|
|
9105
|
-
|
|
9106
|
-
|
|
9727
|
+
tasks: {
|
|
9728
|
+
id: string;
|
|
9729
|
+
title: string;
|
|
9730
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9731
|
+
startedAt: number;
|
|
9732
|
+
kind: "shell" | "monitor";
|
|
9733
|
+
toolCallId?: string | undefined;
|
|
9734
|
+
endedAt?: number | undefined;
|
|
9735
|
+
lastSeq?: number | undefined;
|
|
9736
|
+
command?: string | undefined;
|
|
9737
|
+
summary?: string | undefined;
|
|
9738
|
+
exitCode?: number | undefined;
|
|
9739
|
+
output?: boolean | undefined;
|
|
9740
|
+
canStop?: boolean | undefined;
|
|
9741
|
+
}[];
|
|
9107
9742
|
}, {
|
|
9108
|
-
|
|
9109
|
-
|
|
9743
|
+
tasks: {
|
|
9744
|
+
id: string;
|
|
9745
|
+
title: string;
|
|
9746
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
9747
|
+
startedAt: number;
|
|
9748
|
+
kind: "shell" | "monitor";
|
|
9749
|
+
toolCallId?: string | undefined;
|
|
9750
|
+
endedAt?: number | undefined;
|
|
9751
|
+
lastSeq?: number | undefined;
|
|
9752
|
+
command?: string | undefined;
|
|
9753
|
+
summary?: string | undefined;
|
|
9754
|
+
exitCode?: number | undefined;
|
|
9755
|
+
output?: boolean | undefined;
|
|
9756
|
+
canStop?: boolean | undefined;
|
|
9757
|
+
}[];
|
|
9110
9758
|
}>;
|
|
9111
9759
|
};
|
|
9112
|
-
|
|
9760
|
+
/**
|
|
9761
|
+
* A background task's output, a piece at a time from the end: the text
|
|
9762
|
+
* before byte `before` (default: the end), at most `limit` bytes. `start` is
|
|
9763
|
+
* where that text begins (0: the beginning); `size` is the whole output's.
|
|
9764
|
+
*/
|
|
9765
|
+
readonly "sessions.taskOutput": {
|
|
9766
|
+
readonly params: z.ZodObject<{
|
|
9767
|
+
sessionId: z.ZodString;
|
|
9768
|
+
taskId: z.ZodString;
|
|
9769
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
9770
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
9771
|
+
}, "strip", z.ZodTypeAny, {
|
|
9772
|
+
sessionId: string;
|
|
9773
|
+
taskId: string;
|
|
9774
|
+
limit?: number | undefined;
|
|
9775
|
+
before?: number | undefined;
|
|
9776
|
+
}, {
|
|
9777
|
+
sessionId: string;
|
|
9778
|
+
taskId: string;
|
|
9779
|
+
limit?: number | undefined;
|
|
9780
|
+
before?: number | undefined;
|
|
9781
|
+
}>;
|
|
9782
|
+
readonly result: z.ZodObject<{
|
|
9783
|
+
text: z.ZodString;
|
|
9784
|
+
start: z.ZodNumber;
|
|
9785
|
+
size: z.ZodNumber;
|
|
9786
|
+
}, "strip", z.ZodTypeAny, {
|
|
9787
|
+
text: string;
|
|
9788
|
+
size: number;
|
|
9789
|
+
start: number;
|
|
9790
|
+
}, {
|
|
9791
|
+
text: string;
|
|
9792
|
+
size: number;
|
|
9793
|
+
start: number;
|
|
9794
|
+
}>;
|
|
9795
|
+
};
|
|
9796
|
+
/** Stops one background task, leaving the session's turn and its other tasks alone. */
|
|
9797
|
+
readonly "sessions.stopTask": {
|
|
9798
|
+
readonly params: z.ZodObject<{
|
|
9799
|
+
sessionId: z.ZodString;
|
|
9800
|
+
taskId: z.ZodString;
|
|
9801
|
+
}, "strip", z.ZodTypeAny, {
|
|
9802
|
+
sessionId: string;
|
|
9803
|
+
taskId: string;
|
|
9804
|
+
}, {
|
|
9805
|
+
sessionId: string;
|
|
9806
|
+
taskId: string;
|
|
9807
|
+
}>;
|
|
9808
|
+
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
9809
|
+
};
|
|
9810
|
+
/** Opens a read-only computer-use preview through the existing bulk-stream transport. */
|
|
9811
|
+
readonly "sessions.preview": {
|
|
9812
|
+
readonly params: z.ZodObject<{
|
|
9813
|
+
sessionId: z.ZodString;
|
|
9814
|
+
direct: z.ZodOptional<z.ZodBoolean>;
|
|
9815
|
+
}, "strip", z.ZodTypeAny, {
|
|
9816
|
+
sessionId: string;
|
|
9817
|
+
direct?: boolean | undefined;
|
|
9818
|
+
}, {
|
|
9819
|
+
sessionId: string;
|
|
9820
|
+
direct?: boolean | undefined;
|
|
9821
|
+
}>;
|
|
9822
|
+
readonly result: z.ZodObject<{
|
|
9823
|
+
port: z.ZodNumber;
|
|
9824
|
+
token: z.ZodString;
|
|
9825
|
+
}, "strip", z.ZodTypeAny, {
|
|
9826
|
+
port: number;
|
|
9827
|
+
token: string;
|
|
9828
|
+
}, {
|
|
9829
|
+
port: number;
|
|
9830
|
+
token: string;
|
|
9831
|
+
}>;
|
|
9832
|
+
};
|
|
9833
|
+
/** Explicit local user action; normal frame updates never reopen a dismissed preview. */
|
|
9834
|
+
readonly "desktop.preview.show": {
|
|
9835
|
+
readonly params: z.ZodObject<{
|
|
9836
|
+
sessionId: z.ZodString;
|
|
9837
|
+
}, "strip", z.ZodTypeAny, {
|
|
9838
|
+
sessionId: string;
|
|
9839
|
+
}, {
|
|
9840
|
+
sessionId: string;
|
|
9841
|
+
}>;
|
|
9842
|
+
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
9843
|
+
};
|
|
9844
|
+
/** The picture behind a `linkshell-event:` uri. */
|
|
9845
|
+
readonly "sessions.image": {
|
|
9846
|
+
readonly params: z.ZodObject<{
|
|
9847
|
+
sessionId: z.ZodString;
|
|
9848
|
+
uri: z.ZodString;
|
|
9849
|
+
}, "strip", z.ZodTypeAny, {
|
|
9850
|
+
uri: string;
|
|
9851
|
+
sessionId: string;
|
|
9852
|
+
}, {
|
|
9853
|
+
uri: string;
|
|
9854
|
+
sessionId: string;
|
|
9855
|
+
}>;
|
|
9856
|
+
readonly result: z.ZodObject<{
|
|
9857
|
+
mimeType: z.ZodString;
|
|
9858
|
+
data: z.ZodString;
|
|
9859
|
+
}, "strip", z.ZodTypeAny, {
|
|
9860
|
+
mimeType: string;
|
|
9861
|
+
data: string;
|
|
9862
|
+
}, {
|
|
9863
|
+
mimeType: string;
|
|
9864
|
+
data: string;
|
|
9865
|
+
}>;
|
|
9866
|
+
};
|
|
9867
|
+
readonly "sessions.unsubscribe": {
|
|
9113
9868
|
readonly params: z.ZodObject<{
|
|
9114
9869
|
sessionId: z.ZodString;
|
|
9115
9870
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9284,6 +10039,125 @@ export declare const methods: {
|
|
|
9284
10039
|
}>;
|
|
9285
10040
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
9286
10041
|
};
|
|
10042
|
+
readonly "sessions.goal": {
|
|
10043
|
+
readonly params: z.ZodObject<{
|
|
10044
|
+
sessionId: z.ZodString;
|
|
10045
|
+
change: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
10046
|
+
action: z.ZodLiteral<"get">;
|
|
10047
|
+
}, "strip", z.ZodTypeAny, {
|
|
10048
|
+
action: "get";
|
|
10049
|
+
}, {
|
|
10050
|
+
action: "get";
|
|
10051
|
+
}>, z.ZodObject<{
|
|
10052
|
+
action: z.ZodLiteral<"set">;
|
|
10053
|
+
objective: z.ZodString;
|
|
10054
|
+
tokenBudget: z.ZodOptional<z.ZodNumber>;
|
|
10055
|
+
}, "strip", z.ZodTypeAny, {
|
|
10056
|
+
objective: string;
|
|
10057
|
+
action: "set";
|
|
10058
|
+
tokenBudget?: number | undefined;
|
|
10059
|
+
}, {
|
|
10060
|
+
objective: string;
|
|
10061
|
+
action: "set";
|
|
10062
|
+
tokenBudget?: number | undefined;
|
|
10063
|
+
}>, z.ZodObject<{
|
|
10064
|
+
action: z.ZodLiteral<"pause">;
|
|
10065
|
+
}, "strip", z.ZodTypeAny, {
|
|
10066
|
+
action: "pause";
|
|
10067
|
+
}, {
|
|
10068
|
+
action: "pause";
|
|
10069
|
+
}>, z.ZodObject<{
|
|
10070
|
+
action: z.ZodLiteral<"resume">;
|
|
10071
|
+
}, "strip", z.ZodTypeAny, {
|
|
10072
|
+
action: "resume";
|
|
10073
|
+
}, {
|
|
10074
|
+
action: "resume";
|
|
10075
|
+
}>, z.ZodObject<{
|
|
10076
|
+
action: z.ZodLiteral<"clear">;
|
|
10077
|
+
}, "strip", z.ZodTypeAny, {
|
|
10078
|
+
action: "clear";
|
|
10079
|
+
}, {
|
|
10080
|
+
action: "clear";
|
|
10081
|
+
}>]>;
|
|
10082
|
+
}, "strip", z.ZodTypeAny, {
|
|
10083
|
+
change: {
|
|
10084
|
+
action: "get";
|
|
10085
|
+
} | {
|
|
10086
|
+
objective: string;
|
|
10087
|
+
action: "set";
|
|
10088
|
+
tokenBudget?: number | undefined;
|
|
10089
|
+
} | {
|
|
10090
|
+
action: "pause";
|
|
10091
|
+
} | {
|
|
10092
|
+
action: "resume";
|
|
10093
|
+
} | {
|
|
10094
|
+
action: "clear";
|
|
10095
|
+
};
|
|
10096
|
+
sessionId: string;
|
|
10097
|
+
}, {
|
|
10098
|
+
change: {
|
|
10099
|
+
action: "get";
|
|
10100
|
+
} | {
|
|
10101
|
+
objective: string;
|
|
10102
|
+
action: "set";
|
|
10103
|
+
tokenBudget?: number | undefined;
|
|
10104
|
+
} | {
|
|
10105
|
+
action: "pause";
|
|
10106
|
+
} | {
|
|
10107
|
+
action: "resume";
|
|
10108
|
+
} | {
|
|
10109
|
+
action: "clear";
|
|
10110
|
+
};
|
|
10111
|
+
sessionId: string;
|
|
10112
|
+
}>;
|
|
10113
|
+
readonly result: z.ZodObject<{
|
|
10114
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
10115
|
+
objective: z.ZodString;
|
|
10116
|
+
status: z.ZodEnum<["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
10117
|
+
tokenBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10118
|
+
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
10119
|
+
timeUsedSeconds: z.ZodOptional<z.ZodNumber>;
|
|
10120
|
+
iterations: z.ZodOptional<z.ZodNumber>;
|
|
10121
|
+
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10122
|
+
}, "strip", z.ZodTypeAny, {
|
|
10123
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10124
|
+
objective: string;
|
|
10125
|
+
tokenBudget?: number | null | undefined;
|
|
10126
|
+
tokensUsed?: number | undefined;
|
|
10127
|
+
timeUsedSeconds?: number | undefined;
|
|
10128
|
+
iterations?: number | undefined;
|
|
10129
|
+
lastReason?: string | null | undefined;
|
|
10130
|
+
}, {
|
|
10131
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10132
|
+
objective: string;
|
|
10133
|
+
tokenBudget?: number | null | undefined;
|
|
10134
|
+
tokensUsed?: number | undefined;
|
|
10135
|
+
timeUsedSeconds?: number | undefined;
|
|
10136
|
+
iterations?: number | undefined;
|
|
10137
|
+
lastReason?: string | null | undefined;
|
|
10138
|
+
}>>;
|
|
10139
|
+
}, "strip", z.ZodTypeAny, {
|
|
10140
|
+
goal: {
|
|
10141
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10142
|
+
objective: string;
|
|
10143
|
+
tokenBudget?: number | null | undefined;
|
|
10144
|
+
tokensUsed?: number | undefined;
|
|
10145
|
+
timeUsedSeconds?: number | undefined;
|
|
10146
|
+
iterations?: number | undefined;
|
|
10147
|
+
lastReason?: string | null | undefined;
|
|
10148
|
+
} | null;
|
|
10149
|
+
}, {
|
|
10150
|
+
goal: {
|
|
10151
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
10152
|
+
objective: string;
|
|
10153
|
+
tokenBudget?: number | null | undefined;
|
|
10154
|
+
tokensUsed?: number | undefined;
|
|
10155
|
+
timeUsedSeconds?: number | undefined;
|
|
10156
|
+
iterations?: number | undefined;
|
|
10157
|
+
lastReason?: string | null | undefined;
|
|
10158
|
+
} | null;
|
|
10159
|
+
}>;
|
|
10160
|
+
};
|
|
9287
10161
|
readonly "sessions.setConfig": {
|
|
9288
10162
|
readonly params: z.ZodObject<{
|
|
9289
10163
|
sessionId: z.ZodString;
|
|
@@ -9541,6 +10415,16 @@ export declare const methods: {
|
|
|
9541
10415
|
running: number;
|
|
9542
10416
|
total: number;
|
|
9543
10417
|
}>>;
|
|
10418
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
10419
|
+
total: z.ZodNumber;
|
|
10420
|
+
running: z.ZodNumber;
|
|
10421
|
+
}, "strip", z.ZodTypeAny, {
|
|
10422
|
+
running: number;
|
|
10423
|
+
total: number;
|
|
10424
|
+
}, {
|
|
10425
|
+
running: number;
|
|
10426
|
+
total: number;
|
|
10427
|
+
}>>;
|
|
9544
10428
|
}, "strip", z.ZodTypeAny, {
|
|
9545
10429
|
id: string;
|
|
9546
10430
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -9599,6 +10483,10 @@ export declare const methods: {
|
|
|
9599
10483
|
running: number;
|
|
9600
10484
|
total: number;
|
|
9601
10485
|
} | undefined;
|
|
10486
|
+
tasks?: {
|
|
10487
|
+
running: number;
|
|
10488
|
+
total: number;
|
|
10489
|
+
} | undefined;
|
|
9602
10490
|
}, {
|
|
9603
10491
|
id: string;
|
|
9604
10492
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -9657,6 +10545,10 @@ export declare const methods: {
|
|
|
9657
10545
|
running: number;
|
|
9658
10546
|
total: number;
|
|
9659
10547
|
} | undefined;
|
|
10548
|
+
tasks?: {
|
|
10549
|
+
running: number;
|
|
10550
|
+
total: number;
|
|
10551
|
+
} | undefined;
|
|
9660
10552
|
}>;
|
|
9661
10553
|
}, "strip", z.ZodTypeAny, {
|
|
9662
10554
|
session: {
|
|
@@ -9717,6 +10609,10 @@ export declare const methods: {
|
|
|
9717
10609
|
running: number;
|
|
9718
10610
|
total: number;
|
|
9719
10611
|
} | undefined;
|
|
10612
|
+
tasks?: {
|
|
10613
|
+
running: number;
|
|
10614
|
+
total: number;
|
|
10615
|
+
} | undefined;
|
|
9720
10616
|
};
|
|
9721
10617
|
}, {
|
|
9722
10618
|
session: {
|
|
@@ -9777,6 +10673,10 @@ export declare const methods: {
|
|
|
9777
10673
|
running: number;
|
|
9778
10674
|
total: number;
|
|
9779
10675
|
} | undefined;
|
|
10676
|
+
tasks?: {
|
|
10677
|
+
running: number;
|
|
10678
|
+
total: number;
|
|
10679
|
+
} | undefined;
|
|
9780
10680
|
};
|
|
9781
10681
|
}>;
|
|
9782
10682
|
};
|
|
@@ -9969,6 +10869,16 @@ export declare const methods: {
|
|
|
9969
10869
|
running: number;
|
|
9970
10870
|
total: number;
|
|
9971
10871
|
}>>;
|
|
10872
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
10873
|
+
total: z.ZodNumber;
|
|
10874
|
+
running: z.ZodNumber;
|
|
10875
|
+
}, "strip", z.ZodTypeAny, {
|
|
10876
|
+
running: number;
|
|
10877
|
+
total: number;
|
|
10878
|
+
}, {
|
|
10879
|
+
running: number;
|
|
10880
|
+
total: number;
|
|
10881
|
+
}>>;
|
|
9972
10882
|
}, "strip", z.ZodTypeAny, {
|
|
9973
10883
|
id: string;
|
|
9974
10884
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -10027,6 +10937,10 @@ export declare const methods: {
|
|
|
10027
10937
|
running: number;
|
|
10028
10938
|
total: number;
|
|
10029
10939
|
} | undefined;
|
|
10940
|
+
tasks?: {
|
|
10941
|
+
running: number;
|
|
10942
|
+
total: number;
|
|
10943
|
+
} | undefined;
|
|
10030
10944
|
}, {
|
|
10031
10945
|
id: string;
|
|
10032
10946
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -10085,6 +10999,10 @@ export declare const methods: {
|
|
|
10085
10999
|
running: number;
|
|
10086
11000
|
total: number;
|
|
10087
11001
|
} | undefined;
|
|
11002
|
+
tasks?: {
|
|
11003
|
+
running: number;
|
|
11004
|
+
total: number;
|
|
11005
|
+
} | undefined;
|
|
10088
11006
|
}>;
|
|
10089
11007
|
}, "strip", z.ZodTypeAny, {
|
|
10090
11008
|
session: {
|
|
@@ -10145,6 +11063,10 @@ export declare const methods: {
|
|
|
10145
11063
|
running: number;
|
|
10146
11064
|
total: number;
|
|
10147
11065
|
} | undefined;
|
|
11066
|
+
tasks?: {
|
|
11067
|
+
running: number;
|
|
11068
|
+
total: number;
|
|
11069
|
+
} | undefined;
|
|
10148
11070
|
};
|
|
10149
11071
|
}, {
|
|
10150
11072
|
session: {
|
|
@@ -10205,6 +11127,10 @@ export declare const methods: {
|
|
|
10205
11127
|
running: number;
|
|
10206
11128
|
total: number;
|
|
10207
11129
|
} | undefined;
|
|
11130
|
+
tasks?: {
|
|
11131
|
+
running: number;
|
|
11132
|
+
total: number;
|
|
11133
|
+
} | undefined;
|
|
10208
11134
|
};
|
|
10209
11135
|
}>;
|
|
10210
11136
|
};
|
|
@@ -10980,13 +11906,13 @@ export declare const methods: {
|
|
|
10980
11906
|
}, "strip", z.ZodTypeAny, {
|
|
10981
11907
|
cols: number;
|
|
10982
11908
|
rows: number;
|
|
10983
|
-
cwd?: string | undefined;
|
|
10984
11909
|
command?: string | undefined;
|
|
11910
|
+
cwd?: string | undefined;
|
|
10985
11911
|
}, {
|
|
11912
|
+
command?: string | undefined;
|
|
10986
11913
|
cwd?: string | undefined;
|
|
10987
11914
|
cols?: number | undefined;
|
|
10988
11915
|
rows?: number | undefined;
|
|
10989
|
-
command?: string | undefined;
|
|
10990
11916
|
}>;
|
|
10991
11917
|
readonly result: z.ZodObject<{
|
|
10992
11918
|
terminal: z.ZodObject<{
|
|
@@ -11060,12 +11986,18 @@ export declare const methods: {
|
|
|
11060
11986
|
readonly params: z.ZodObject<{
|
|
11061
11987
|
terminalId: z.ZodString;
|
|
11062
11988
|
fromSeq: z.ZodOptional<z.ZodNumber>;
|
|
11989
|
+
replayFormat: z.ZodOptional<z.ZodLiteral<"frames-v1">>;
|
|
11990
|
+
fromFrame: z.ZodOptional<z.ZodNumber>;
|
|
11063
11991
|
}, "strip", z.ZodTypeAny, {
|
|
11064
11992
|
terminalId: string;
|
|
11065
11993
|
fromSeq?: number | undefined;
|
|
11994
|
+
replayFormat?: "frames-v1" | undefined;
|
|
11995
|
+
fromFrame?: number | undefined;
|
|
11066
11996
|
}, {
|
|
11067
11997
|
terminalId: string;
|
|
11068
11998
|
fromSeq?: number | undefined;
|
|
11999
|
+
replayFormat?: "frames-v1" | undefined;
|
|
12000
|
+
fromFrame?: number | undefined;
|
|
11069
12001
|
}>;
|
|
11070
12002
|
readonly result: z.ZodObject<{
|
|
11071
12003
|
terminal: z.ZodObject<{
|
|
@@ -11108,6 +12040,16 @@ export declare const methods: {
|
|
|
11108
12040
|
reset: z.ZodBoolean;
|
|
11109
12041
|
/** The last output seq `replay` covers; later chunks arrive as `terminal.output`. */
|
|
11110
12042
|
seq: z.ZodNumber;
|
|
12043
|
+
recording: z.ZodOptional<z.ZodObject<{
|
|
12044
|
+
afterFrame: z.ZodNumber;
|
|
12045
|
+
throughFrame: z.ZodNumber;
|
|
12046
|
+
}, "strip", z.ZodTypeAny, {
|
|
12047
|
+
afterFrame: number;
|
|
12048
|
+
throughFrame: number;
|
|
12049
|
+
}, {
|
|
12050
|
+
afterFrame: number;
|
|
12051
|
+
throughFrame: number;
|
|
12052
|
+
}>>;
|
|
11111
12053
|
}, "strip", z.ZodTypeAny, {
|
|
11112
12054
|
terminal: {
|
|
11113
12055
|
id: string;
|
|
@@ -11124,6 +12066,10 @@ export declare const methods: {
|
|
|
11124
12066
|
seq: number;
|
|
11125
12067
|
replay: string;
|
|
11126
12068
|
reset: boolean;
|
|
12069
|
+
recording?: {
|
|
12070
|
+
afterFrame: number;
|
|
12071
|
+
throughFrame: number;
|
|
12072
|
+
} | undefined;
|
|
11127
12073
|
}, {
|
|
11128
12074
|
terminal: {
|
|
11129
12075
|
id: string;
|
|
@@ -11140,6 +12086,63 @@ export declare const methods: {
|
|
|
11140
12086
|
seq: number;
|
|
11141
12087
|
replay: string;
|
|
11142
12088
|
reset: boolean;
|
|
12089
|
+
recording?: {
|
|
12090
|
+
afterFrame: number;
|
|
12091
|
+
throughFrame: number;
|
|
12092
|
+
} | undefined;
|
|
12093
|
+
}>;
|
|
12094
|
+
};
|
|
12095
|
+
readonly "terminals.replay": {
|
|
12096
|
+
readonly params: z.ZodObject<{
|
|
12097
|
+
terminalId: z.ZodString;
|
|
12098
|
+
afterFrame: z.ZodNumber;
|
|
12099
|
+
throughFrame: z.ZodNumber;
|
|
12100
|
+
}, "strip", z.ZodTypeAny, {
|
|
12101
|
+
terminalId: string;
|
|
12102
|
+
afterFrame: number;
|
|
12103
|
+
throughFrame: number;
|
|
12104
|
+
}, {
|
|
12105
|
+
terminalId: string;
|
|
12106
|
+
afterFrame: number;
|
|
12107
|
+
throughFrame: number;
|
|
12108
|
+
}>;
|
|
12109
|
+
readonly result: z.ZodObject<{
|
|
12110
|
+
frames: z.ZodArray<z.ZodObject<{
|
|
12111
|
+
frame: z.ZodNumber;
|
|
12112
|
+
cols: z.ZodNumber;
|
|
12113
|
+
rows: z.ZodNumber;
|
|
12114
|
+
data: z.ZodString;
|
|
12115
|
+
}, "strip", z.ZodTypeAny, {
|
|
12116
|
+
cols: number;
|
|
12117
|
+
rows: number;
|
|
12118
|
+
data: string;
|
|
12119
|
+
frame: number;
|
|
12120
|
+
}, {
|
|
12121
|
+
cols: number;
|
|
12122
|
+
rows: number;
|
|
12123
|
+
data: string;
|
|
12124
|
+
frame: number;
|
|
12125
|
+
}>, "many">;
|
|
12126
|
+
nextFrame: z.ZodNumber;
|
|
12127
|
+
done: z.ZodBoolean;
|
|
12128
|
+
}, "strip", z.ZodTypeAny, {
|
|
12129
|
+
frames: {
|
|
12130
|
+
cols: number;
|
|
12131
|
+
rows: number;
|
|
12132
|
+
data: string;
|
|
12133
|
+
frame: number;
|
|
12134
|
+
}[];
|
|
12135
|
+
nextFrame: number;
|
|
12136
|
+
done: boolean;
|
|
12137
|
+
}, {
|
|
12138
|
+
frames: {
|
|
12139
|
+
cols: number;
|
|
12140
|
+
rows: number;
|
|
12141
|
+
data: string;
|
|
12142
|
+
frame: number;
|
|
12143
|
+
}[];
|
|
12144
|
+
nextFrame: number;
|
|
12145
|
+
done: boolean;
|
|
11143
12146
|
}>;
|
|
11144
12147
|
};
|
|
11145
12148
|
readonly "terminals.detach": {
|
|
@@ -11350,16 +12353,16 @@ export declare const methods: {
|
|
|
11350
12353
|
/** Why the answer is missing, or what stands in the way besides the permissions. */
|
|
11351
12354
|
problem: z.ZodOptional<z.ZodString>;
|
|
11352
12355
|
}, "strip", z.ZodTypeAny, {
|
|
12356
|
+
recording: boolean | null;
|
|
11353
12357
|
supported: boolean;
|
|
11354
12358
|
ffmpeg: boolean;
|
|
11355
|
-
recording: boolean | null;
|
|
11356
12359
|
control: boolean | null;
|
|
11357
12360
|
problem?: string | undefined;
|
|
11358
12361
|
app?: string | undefined;
|
|
11359
12362
|
}, {
|
|
12363
|
+
recording: boolean | null;
|
|
11360
12364
|
supported: boolean;
|
|
11361
12365
|
ffmpeg: boolean;
|
|
11362
|
-
recording: boolean | null;
|
|
11363
12366
|
control: boolean | null;
|
|
11364
12367
|
problem?: string | undefined;
|
|
11365
12368
|
app?: string | undefined;
|
|
@@ -11914,7 +12917,7 @@ export declare const notifications: {
|
|
|
11914
12917
|
}>>;
|
|
11915
12918
|
}, "strip", z.ZodTypeAny, {
|
|
11916
12919
|
type: "subagent";
|
|
11917
|
-
action: "message" | "
|
|
12920
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
11918
12921
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
11919
12922
|
model?: string | undefined;
|
|
11920
12923
|
task?: string | undefined;
|
|
@@ -11985,7 +12988,7 @@ export declare const notifications: {
|
|
|
11985
12988
|
result?: string | undefined;
|
|
11986
12989
|
}[] | undefined;
|
|
11987
12990
|
} | undefined;
|
|
11988
|
-
action?: "message" | "
|
|
12991
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
11989
12992
|
}>, z.ZodObject<{
|
|
11990
12993
|
type: z.ZodLiteral<"skill">;
|
|
11991
12994
|
name: z.ZodString;
|
|
@@ -12056,7 +13059,7 @@ export declare const notifications: {
|
|
|
12056
13059
|
server: string;
|
|
12057
13060
|
} | {
|
|
12058
13061
|
type: "subagent";
|
|
12059
|
-
action: "message" | "
|
|
13062
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
12060
13063
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
12061
13064
|
model?: string | undefined;
|
|
12062
13065
|
task?: string | undefined;
|
|
@@ -12194,7 +13197,7 @@ export declare const notifications: {
|
|
|
12194
13197
|
result?: string | undefined;
|
|
12195
13198
|
}[] | undefined;
|
|
12196
13199
|
} | undefined;
|
|
12197
|
-
action?: "message" | "
|
|
13200
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
12198
13201
|
} | {
|
|
12199
13202
|
type: "skill";
|
|
12200
13203
|
name: string;
|
|
@@ -12401,7 +13404,7 @@ export declare const notifications: {
|
|
|
12401
13404
|
}>>;
|
|
12402
13405
|
}, "strip", z.ZodTypeAny, {
|
|
12403
13406
|
type: "subagent";
|
|
12404
|
-
action: "message" | "
|
|
13407
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
12405
13408
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
12406
13409
|
model?: string | undefined;
|
|
12407
13410
|
task?: string | undefined;
|
|
@@ -12472,7 +13475,7 @@ export declare const notifications: {
|
|
|
12472
13475
|
result?: string | undefined;
|
|
12473
13476
|
}[] | undefined;
|
|
12474
13477
|
} | undefined;
|
|
12475
|
-
action?: "message" | "
|
|
13478
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
12476
13479
|
}>, z.ZodObject<{
|
|
12477
13480
|
type: z.ZodLiteral<"skill">;
|
|
12478
13481
|
name: z.ZodString;
|
|
@@ -12661,7 +13664,7 @@ export declare const notifications: {
|
|
|
12661
13664
|
server: string;
|
|
12662
13665
|
} | {
|
|
12663
13666
|
type: "subagent";
|
|
12664
|
-
action: "message" | "
|
|
13667
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
12665
13668
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
12666
13669
|
model?: string | undefined;
|
|
12667
13670
|
task?: string | undefined;
|
|
@@ -12795,7 +13798,7 @@ export declare const notifications: {
|
|
|
12795
13798
|
result?: string | undefined;
|
|
12796
13799
|
}[] | undefined;
|
|
12797
13800
|
} | undefined;
|
|
12798
|
-
action?: "message" | "
|
|
13801
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
12799
13802
|
} | {
|
|
12800
13803
|
type: "skill";
|
|
12801
13804
|
name: string;
|
|
@@ -12879,6 +13882,55 @@ export declare const notifications: {
|
|
|
12879
13882
|
priority?: "high" | "medium" | "low" | undefined;
|
|
12880
13883
|
}[];
|
|
12881
13884
|
sessionUpdate: "plan";
|
|
13885
|
+
}>, z.ZodObject<{
|
|
13886
|
+
sessionUpdate: z.ZodLiteral<"ls_goal">;
|
|
13887
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
13888
|
+
objective: z.ZodString;
|
|
13889
|
+
status: z.ZodEnum<["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
13890
|
+
tokenBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13891
|
+
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
13892
|
+
timeUsedSeconds: z.ZodOptional<z.ZodNumber>;
|
|
13893
|
+
iterations: z.ZodOptional<z.ZodNumber>;
|
|
13894
|
+
lastReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13895
|
+
}, "strip", z.ZodTypeAny, {
|
|
13896
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
13897
|
+
objective: string;
|
|
13898
|
+
tokenBudget?: number | null | undefined;
|
|
13899
|
+
tokensUsed?: number | undefined;
|
|
13900
|
+
timeUsedSeconds?: number | undefined;
|
|
13901
|
+
iterations?: number | undefined;
|
|
13902
|
+
lastReason?: string | null | undefined;
|
|
13903
|
+
}, {
|
|
13904
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
13905
|
+
objective: string;
|
|
13906
|
+
tokenBudget?: number | null | undefined;
|
|
13907
|
+
tokensUsed?: number | undefined;
|
|
13908
|
+
timeUsedSeconds?: number | undefined;
|
|
13909
|
+
iterations?: number | undefined;
|
|
13910
|
+
lastReason?: string | null | undefined;
|
|
13911
|
+
}>>;
|
|
13912
|
+
}, "strip", z.ZodTypeAny, {
|
|
13913
|
+
sessionUpdate: "ls_goal";
|
|
13914
|
+
goal: {
|
|
13915
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
13916
|
+
objective: string;
|
|
13917
|
+
tokenBudget?: number | null | undefined;
|
|
13918
|
+
tokensUsed?: number | undefined;
|
|
13919
|
+
timeUsedSeconds?: number | undefined;
|
|
13920
|
+
iterations?: number | undefined;
|
|
13921
|
+
lastReason?: string | null | undefined;
|
|
13922
|
+
} | null;
|
|
13923
|
+
}, {
|
|
13924
|
+
sessionUpdate: "ls_goal";
|
|
13925
|
+
goal: {
|
|
13926
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
13927
|
+
objective: string;
|
|
13928
|
+
tokenBudget?: number | null | undefined;
|
|
13929
|
+
tokensUsed?: number | undefined;
|
|
13930
|
+
timeUsedSeconds?: number | undefined;
|
|
13931
|
+
iterations?: number | undefined;
|
|
13932
|
+
lastReason?: string | null | undefined;
|
|
13933
|
+
} | null;
|
|
12882
13934
|
}>, z.ZodObject<{
|
|
12883
13935
|
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
12884
13936
|
availableCommands: z.ZodArray<z.ZodObject<{
|
|
@@ -13229,6 +14281,85 @@ export declare const notifications: {
|
|
|
13229
14281
|
}, {
|
|
13230
14282
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
13231
14283
|
sessionUpdate: "ls_status";
|
|
14284
|
+
}>, z.ZodObject<{
|
|
14285
|
+
sessionUpdate: z.ZodLiteral<"ls_task">;
|
|
14286
|
+
task: z.ZodObject<{
|
|
14287
|
+
id: z.ZodString;
|
|
14288
|
+
kind: z.ZodEnum<["shell", "monitor"]>;
|
|
14289
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
14290
|
+
title: z.ZodString;
|
|
14291
|
+
command: z.ZodOptional<z.ZodString>;
|
|
14292
|
+
state: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
14293
|
+
startedAt: z.ZodNumber;
|
|
14294
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
14295
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
14296
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
14297
|
+
output: z.ZodOptional<z.ZodBoolean>;
|
|
14298
|
+
canStop: z.ZodOptional<z.ZodBoolean>;
|
|
14299
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
14300
|
+
}, "strip", z.ZodTypeAny, {
|
|
14301
|
+
id: string;
|
|
14302
|
+
title: string;
|
|
14303
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
14304
|
+
startedAt: number;
|
|
14305
|
+
kind: "shell" | "monitor";
|
|
14306
|
+
toolCallId?: string | undefined;
|
|
14307
|
+
endedAt?: number | undefined;
|
|
14308
|
+
lastSeq?: number | undefined;
|
|
14309
|
+
command?: string | undefined;
|
|
14310
|
+
summary?: string | undefined;
|
|
14311
|
+
exitCode?: number | undefined;
|
|
14312
|
+
output?: boolean | undefined;
|
|
14313
|
+
canStop?: boolean | undefined;
|
|
14314
|
+
}, {
|
|
14315
|
+
id: string;
|
|
14316
|
+
title: string;
|
|
14317
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
14318
|
+
startedAt: number;
|
|
14319
|
+
kind: "shell" | "monitor";
|
|
14320
|
+
toolCallId?: string | undefined;
|
|
14321
|
+
endedAt?: number | undefined;
|
|
14322
|
+
lastSeq?: number | undefined;
|
|
14323
|
+
command?: string | undefined;
|
|
14324
|
+
summary?: string | undefined;
|
|
14325
|
+
exitCode?: number | undefined;
|
|
14326
|
+
output?: boolean | undefined;
|
|
14327
|
+
canStop?: boolean | undefined;
|
|
14328
|
+
}>;
|
|
14329
|
+
}, "strip", z.ZodTypeAny, {
|
|
14330
|
+
task: {
|
|
14331
|
+
id: string;
|
|
14332
|
+
title: string;
|
|
14333
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
14334
|
+
startedAt: number;
|
|
14335
|
+
kind: "shell" | "monitor";
|
|
14336
|
+
toolCallId?: string | undefined;
|
|
14337
|
+
endedAt?: number | undefined;
|
|
14338
|
+
lastSeq?: number | undefined;
|
|
14339
|
+
command?: string | undefined;
|
|
14340
|
+
summary?: string | undefined;
|
|
14341
|
+
exitCode?: number | undefined;
|
|
14342
|
+
output?: boolean | undefined;
|
|
14343
|
+
canStop?: boolean | undefined;
|
|
14344
|
+
};
|
|
14345
|
+
sessionUpdate: "ls_task";
|
|
14346
|
+
}, {
|
|
14347
|
+
task: {
|
|
14348
|
+
id: string;
|
|
14349
|
+
title: string;
|
|
14350
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
14351
|
+
startedAt: number;
|
|
14352
|
+
kind: "shell" | "monitor";
|
|
14353
|
+
toolCallId?: string | undefined;
|
|
14354
|
+
endedAt?: number | undefined;
|
|
14355
|
+
lastSeq?: number | undefined;
|
|
14356
|
+
command?: string | undefined;
|
|
14357
|
+
summary?: string | undefined;
|
|
14358
|
+
exitCode?: number | undefined;
|
|
14359
|
+
output?: boolean | undefined;
|
|
14360
|
+
canStop?: boolean | undefined;
|
|
14361
|
+
};
|
|
14362
|
+
sessionUpdate: "ls_task";
|
|
13232
14363
|
}>, z.ZodObject<{
|
|
13233
14364
|
sessionUpdate: z.ZodLiteral<"ls_error">;
|
|
13234
14365
|
code: z.ZodString;
|
|
@@ -13311,7 +14442,7 @@ export declare const notifications: {
|
|
|
13311
14442
|
server: string;
|
|
13312
14443
|
} | {
|
|
13313
14444
|
type: "subagent";
|
|
13314
|
-
action: "message" | "
|
|
14445
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13315
14446
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
13316
14447
|
model?: string | undefined;
|
|
13317
14448
|
task?: string | undefined;
|
|
@@ -13414,7 +14545,7 @@ export declare const notifications: {
|
|
|
13414
14545
|
server: string;
|
|
13415
14546
|
} | {
|
|
13416
14547
|
type: "subagent";
|
|
13417
|
-
action: "message" | "
|
|
14548
|
+
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
13418
14549
|
state?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
13419
14550
|
model?: string | undefined;
|
|
13420
14551
|
task?: string | undefined;
|
|
@@ -13510,6 +14641,17 @@ export declare const notifications: {
|
|
|
13510
14641
|
priority: "high" | "medium" | "low";
|
|
13511
14642
|
}[];
|
|
13512
14643
|
sessionUpdate: "plan";
|
|
14644
|
+
} | {
|
|
14645
|
+
sessionUpdate: "ls_goal";
|
|
14646
|
+
goal: {
|
|
14647
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
14648
|
+
objective: string;
|
|
14649
|
+
tokenBudget?: number | null | undefined;
|
|
14650
|
+
tokensUsed?: number | undefined;
|
|
14651
|
+
timeUsedSeconds?: number | undefined;
|
|
14652
|
+
iterations?: number | undefined;
|
|
14653
|
+
lastReason?: string | null | undefined;
|
|
14654
|
+
} | null;
|
|
13513
14655
|
} | {
|
|
13514
14656
|
sessionUpdate: "available_commands_update";
|
|
13515
14657
|
availableCommands: {
|
|
@@ -13598,6 +14740,23 @@ export declare const notifications: {
|
|
|
13598
14740
|
} | {
|
|
13599
14741
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
13600
14742
|
sessionUpdate: "ls_status";
|
|
14743
|
+
} | {
|
|
14744
|
+
task: {
|
|
14745
|
+
id: string;
|
|
14746
|
+
title: string;
|
|
14747
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
14748
|
+
startedAt: number;
|
|
14749
|
+
kind: "shell" | "monitor";
|
|
14750
|
+
toolCallId?: string | undefined;
|
|
14751
|
+
endedAt?: number | undefined;
|
|
14752
|
+
lastSeq?: number | undefined;
|
|
14753
|
+
command?: string | undefined;
|
|
14754
|
+
summary?: string | undefined;
|
|
14755
|
+
exitCode?: number | undefined;
|
|
14756
|
+
output?: boolean | undefined;
|
|
14757
|
+
canStop?: boolean | undefined;
|
|
14758
|
+
};
|
|
14759
|
+
sessionUpdate: "ls_task";
|
|
13601
14760
|
} | {
|
|
13602
14761
|
code: string;
|
|
13603
14762
|
message: string;
|
|
@@ -13707,7 +14866,7 @@ export declare const notifications: {
|
|
|
13707
14866
|
result?: string | undefined;
|
|
13708
14867
|
}[] | undefined;
|
|
13709
14868
|
} | undefined;
|
|
13710
|
-
action?: "message" | "
|
|
14869
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13711
14870
|
} | {
|
|
13712
14871
|
type: "skill";
|
|
13713
14872
|
name: string;
|
|
@@ -13810,7 +14969,7 @@ export declare const notifications: {
|
|
|
13810
14969
|
result?: string | undefined;
|
|
13811
14970
|
}[] | undefined;
|
|
13812
14971
|
} | undefined;
|
|
13813
|
-
action?: "message" | "
|
|
14972
|
+
action?: "message" | "resume" | "spawn" | "wait" | "stop" | "list" | undefined;
|
|
13814
14973
|
} | {
|
|
13815
14974
|
type: "skill";
|
|
13816
14975
|
name: string;
|
|
@@ -13872,6 +15031,17 @@ export declare const notifications: {
|
|
|
13872
15031
|
priority?: "high" | "medium" | "low" | undefined;
|
|
13873
15032
|
}[];
|
|
13874
15033
|
sessionUpdate: "plan";
|
|
15034
|
+
} | {
|
|
15035
|
+
sessionUpdate: "ls_goal";
|
|
15036
|
+
goal: {
|
|
15037
|
+
status: "paused" | "active" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
15038
|
+
objective: string;
|
|
15039
|
+
tokenBudget?: number | null | undefined;
|
|
15040
|
+
tokensUsed?: number | undefined;
|
|
15041
|
+
timeUsedSeconds?: number | undefined;
|
|
15042
|
+
iterations?: number | undefined;
|
|
15043
|
+
lastReason?: string | null | undefined;
|
|
15044
|
+
} | null;
|
|
13875
15045
|
} | {
|
|
13876
15046
|
sessionUpdate: "available_commands_update";
|
|
13877
15047
|
availableCommands: {
|
|
@@ -13960,6 +15130,23 @@ export declare const notifications: {
|
|
|
13960
15130
|
} | {
|
|
13961
15131
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
13962
15132
|
sessionUpdate: "ls_status";
|
|
15133
|
+
} | {
|
|
15134
|
+
task: {
|
|
15135
|
+
id: string;
|
|
15136
|
+
title: string;
|
|
15137
|
+
state: "running" | "completed" | "failed" | "stopped" | "unknown";
|
|
15138
|
+
startedAt: number;
|
|
15139
|
+
kind: "shell" | "monitor";
|
|
15140
|
+
toolCallId?: string | undefined;
|
|
15141
|
+
endedAt?: number | undefined;
|
|
15142
|
+
lastSeq?: number | undefined;
|
|
15143
|
+
command?: string | undefined;
|
|
15144
|
+
summary?: string | undefined;
|
|
15145
|
+
exitCode?: number | undefined;
|
|
15146
|
+
output?: boolean | undefined;
|
|
15147
|
+
canStop?: boolean | undefined;
|
|
15148
|
+
};
|
|
15149
|
+
sessionUpdate: "ls_task";
|
|
13963
15150
|
} | {
|
|
13964
15151
|
code: string;
|
|
13965
15152
|
message: string;
|
|
@@ -14162,6 +15349,16 @@ export declare const notifications: {
|
|
|
14162
15349
|
running: number;
|
|
14163
15350
|
total: number;
|
|
14164
15351
|
}>>;
|
|
15352
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
15353
|
+
total: z.ZodNumber;
|
|
15354
|
+
running: z.ZodNumber;
|
|
15355
|
+
}, "strip", z.ZodTypeAny, {
|
|
15356
|
+
running: number;
|
|
15357
|
+
total: number;
|
|
15358
|
+
}, {
|
|
15359
|
+
running: number;
|
|
15360
|
+
total: number;
|
|
15361
|
+
}>>;
|
|
14165
15362
|
}, "strip", z.ZodTypeAny, {
|
|
14166
15363
|
id: string;
|
|
14167
15364
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -14220,6 +15417,10 @@ export declare const notifications: {
|
|
|
14220
15417
|
running: number;
|
|
14221
15418
|
total: number;
|
|
14222
15419
|
} | undefined;
|
|
15420
|
+
tasks?: {
|
|
15421
|
+
running: number;
|
|
15422
|
+
total: number;
|
|
15423
|
+
} | undefined;
|
|
14223
15424
|
}, {
|
|
14224
15425
|
id: string;
|
|
14225
15426
|
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
@@ -14278,6 +15479,10 @@ export declare const notifications: {
|
|
|
14278
15479
|
running: number;
|
|
14279
15480
|
total: number;
|
|
14280
15481
|
} | undefined;
|
|
15482
|
+
tasks?: {
|
|
15483
|
+
running: number;
|
|
15484
|
+
total: number;
|
|
15485
|
+
} | undefined;
|
|
14281
15486
|
}>;
|
|
14282
15487
|
}, "strip", z.ZodTypeAny, {
|
|
14283
15488
|
session: {
|
|
@@ -14338,6 +15543,10 @@ export declare const notifications: {
|
|
|
14338
15543
|
running: number;
|
|
14339
15544
|
total: number;
|
|
14340
15545
|
} | undefined;
|
|
15546
|
+
tasks?: {
|
|
15547
|
+
running: number;
|
|
15548
|
+
total: number;
|
|
15549
|
+
} | undefined;
|
|
14341
15550
|
};
|
|
14342
15551
|
}, {
|
|
14343
15552
|
session: {
|
|
@@ -14398,6 +15607,10 @@ export declare const notifications: {
|
|
|
14398
15607
|
running: number;
|
|
14399
15608
|
total: number;
|
|
14400
15609
|
} | undefined;
|
|
15610
|
+
tasks?: {
|
|
15611
|
+
running: number;
|
|
15612
|
+
total: number;
|
|
15613
|
+
} | undefined;
|
|
14401
15614
|
};
|
|
14402
15615
|
}>;
|
|
14403
15616
|
/** A session was deleted (from any device, or natively by the agent). */
|
|
@@ -14408,6 +15621,13 @@ export declare const notifications: {
|
|
|
14408
15621
|
}, {
|
|
14409
15622
|
sessionId: string;
|
|
14410
15623
|
}>;
|
|
15624
|
+
readonly "session.preview.show": z.ZodObject<{
|
|
15625
|
+
sessionId: z.ZodString;
|
|
15626
|
+
}, "strip", z.ZodTypeAny, {
|
|
15627
|
+
sessionId: string;
|
|
15628
|
+
}, {
|
|
15629
|
+
sessionId: string;
|
|
15630
|
+
}>;
|
|
14411
15631
|
/** To a desktop shim: a device is taking over; exit the native UI, then call desktop.yielded. */
|
|
14412
15632
|
readonly "desktop.yield": z.ZodObject<{
|
|
14413
15633
|
sessionId: z.ZodString;
|
|
@@ -14546,14 +15766,23 @@ export declare const notifications: {
|
|
|
14546
15766
|
terminalId: z.ZodString;
|
|
14547
15767
|
seq: z.ZodNumber;
|
|
14548
15768
|
data: z.ZodString;
|
|
15769
|
+
frame: z.ZodOptional<z.ZodNumber>;
|
|
15770
|
+
cols: z.ZodOptional<z.ZodNumber>;
|
|
15771
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
14549
15772
|
}, "strip", z.ZodTypeAny, {
|
|
14550
15773
|
data: string;
|
|
14551
15774
|
terminalId: string;
|
|
14552
15775
|
seq: number;
|
|
15776
|
+
cols?: number | undefined;
|
|
15777
|
+
rows?: number | undefined;
|
|
15778
|
+
frame?: number | undefined;
|
|
14553
15779
|
}, {
|
|
14554
15780
|
data: string;
|
|
14555
15781
|
terminalId: string;
|
|
14556
15782
|
seq: number;
|
|
15783
|
+
cols?: number | undefined;
|
|
15784
|
+
rows?: number | undefined;
|
|
15785
|
+
frame?: number | undefined;
|
|
14557
15786
|
}>;
|
|
14558
15787
|
/** A terminal's list entry changed (title, size, exit), or it was closed (`closed`). */
|
|
14559
15788
|
readonly "terminal.changed": z.ZodObject<{
|