@linkshell/gateway 0.5.2 → 0.5.3
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/gateway/tsconfig.tsbuildinfo +1 -1
- package/dist/wire/src/model.d.ts +100 -0
- package/dist/wire/src/model.js +41 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +713 -125
- package/dist/wire/src/rpc.js +30 -2
- package/dist/wire/src/rpc.js.map +1 -1
- package/dist/wire/src/updates.d.ts +34 -34
- package/package.json +4 -4
package/dist/wire/src/rpc.d.ts
CHANGED
|
@@ -75,14 +75,14 @@ export declare const directoryEntrySchema: z.ZodObject<{
|
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
path: string;
|
|
77
77
|
name: string;
|
|
78
|
-
project?: boolean | undefined;
|
|
79
78
|
file?: boolean | undefined;
|
|
79
|
+
project?: boolean | undefined;
|
|
80
80
|
size?: number | undefined;
|
|
81
81
|
}, {
|
|
82
82
|
path: string;
|
|
83
83
|
name: string;
|
|
84
|
-
project?: boolean | undefined;
|
|
85
84
|
file?: boolean | undefined;
|
|
85
|
+
project?: boolean | undefined;
|
|
86
86
|
size?: number | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export type DirectoryEntry = z.infer<typeof directoryEntrySchema>;
|
|
@@ -255,16 +255,19 @@ export declare const methods: {
|
|
|
255
255
|
name: z.ZodString;
|
|
256
256
|
lastActiveAt: z.ZodNumber;
|
|
257
257
|
sessionCount: z.ZodNumber;
|
|
258
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
258
259
|
}, "strip", z.ZodTypeAny, {
|
|
259
260
|
name: string;
|
|
260
261
|
cwd: string;
|
|
261
262
|
lastActiveAt: number;
|
|
262
263
|
sessionCount: number;
|
|
264
|
+
branch?: string | undefined;
|
|
263
265
|
}, {
|
|
264
266
|
name: string;
|
|
265
267
|
cwd: string;
|
|
266
268
|
lastActiveAt: number;
|
|
267
269
|
sessionCount: number;
|
|
270
|
+
branch?: string | undefined;
|
|
268
271
|
}>, "many">;
|
|
269
272
|
}, "strip", z.ZodTypeAny, {
|
|
270
273
|
projects: {
|
|
@@ -272,6 +275,7 @@ export declare const methods: {
|
|
|
272
275
|
cwd: string;
|
|
273
276
|
lastActiveAt: number;
|
|
274
277
|
sessionCount: number;
|
|
278
|
+
branch?: string | undefined;
|
|
275
279
|
}[];
|
|
276
280
|
}, {
|
|
277
281
|
projects: {
|
|
@@ -279,6 +283,7 @@ export declare const methods: {
|
|
|
279
283
|
cwd: string;
|
|
280
284
|
lastActiveAt: number;
|
|
281
285
|
sessionCount: number;
|
|
286
|
+
branch?: string | undefined;
|
|
282
287
|
}[];
|
|
283
288
|
}>;
|
|
284
289
|
};
|
|
@@ -378,6 +383,16 @@ export declare const methods: {
|
|
|
378
383
|
clientMessageId: string;
|
|
379
384
|
text: string;
|
|
380
385
|
}>, "many">>;
|
|
386
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
387
|
+
branch: z.ZodString;
|
|
388
|
+
source: z.ZodString;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
branch: string;
|
|
391
|
+
source: string;
|
|
392
|
+
}, {
|
|
393
|
+
branch: string;
|
|
394
|
+
source: string;
|
|
395
|
+
}>>;
|
|
381
396
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
382
397
|
total: z.ZodNumber;
|
|
383
398
|
running: z.ZodNumber;
|
|
@@ -424,6 +439,10 @@ export declare const methods: {
|
|
|
424
439
|
clientMessageId: string;
|
|
425
440
|
text: string;
|
|
426
441
|
}[] | undefined;
|
|
442
|
+
worktree?: {
|
|
443
|
+
branch: string;
|
|
444
|
+
source: string;
|
|
445
|
+
} | undefined;
|
|
427
446
|
subagents?: {
|
|
428
447
|
running: number;
|
|
429
448
|
total: number;
|
|
@@ -464,6 +483,10 @@ export declare const methods: {
|
|
|
464
483
|
clientMessageId: string;
|
|
465
484
|
text: string;
|
|
466
485
|
}[] | undefined;
|
|
486
|
+
worktree?: {
|
|
487
|
+
branch: string;
|
|
488
|
+
source: string;
|
|
489
|
+
} | undefined;
|
|
467
490
|
subagents?: {
|
|
468
491
|
running: number;
|
|
469
492
|
total: number;
|
|
@@ -507,6 +530,10 @@ export declare const methods: {
|
|
|
507
530
|
clientMessageId: string;
|
|
508
531
|
text: string;
|
|
509
532
|
}[] | undefined;
|
|
533
|
+
worktree?: {
|
|
534
|
+
branch: string;
|
|
535
|
+
source: string;
|
|
536
|
+
} | undefined;
|
|
510
537
|
subagents?: {
|
|
511
538
|
running: number;
|
|
512
539
|
total: number;
|
|
@@ -550,6 +577,10 @@ export declare const methods: {
|
|
|
550
577
|
clientMessageId: string;
|
|
551
578
|
text: string;
|
|
552
579
|
}[] | undefined;
|
|
580
|
+
worktree?: {
|
|
581
|
+
branch: string;
|
|
582
|
+
source: string;
|
|
583
|
+
} | undefined;
|
|
553
584
|
subagents?: {
|
|
554
585
|
running: number;
|
|
555
586
|
total: number;
|
|
@@ -604,11 +635,18 @@ export declare const methods: {
|
|
|
604
635
|
}>]>, "many">>;
|
|
605
636
|
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
606
637
|
model: z.ZodOptional<z.ZodString>;
|
|
638
|
+
/**
|
|
639
|
+
* Start in a new git worktree of `cwd`'s repository (its own branch, from
|
|
640
|
+
* the last commit) instead of in `cwd` itself. Refused with `not_a_repo`
|
|
641
|
+
* outside a git repository.
|
|
642
|
+
*/
|
|
643
|
+
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
607
644
|
}, "strip", z.ZodTypeAny, {
|
|
608
645
|
agent: string;
|
|
609
646
|
cwd: string;
|
|
610
647
|
clientMessageId?: string | undefined;
|
|
611
648
|
model?: string | undefined;
|
|
649
|
+
worktree?: boolean | undefined;
|
|
612
650
|
prompt?: ({
|
|
613
651
|
type: "text";
|
|
614
652
|
text: string;
|
|
@@ -628,6 +666,7 @@ export declare const methods: {
|
|
|
628
666
|
cwd: string;
|
|
629
667
|
clientMessageId?: string | undefined;
|
|
630
668
|
model?: string | undefined;
|
|
669
|
+
worktree?: boolean | undefined;
|
|
631
670
|
prompt?: ({
|
|
632
671
|
type: "text";
|
|
633
672
|
text: string;
|
|
@@ -724,6 +763,16 @@ export declare const methods: {
|
|
|
724
763
|
clientMessageId: string;
|
|
725
764
|
text: string;
|
|
726
765
|
}>, "many">>;
|
|
766
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
767
|
+
branch: z.ZodString;
|
|
768
|
+
source: z.ZodString;
|
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
branch: string;
|
|
771
|
+
source: string;
|
|
772
|
+
}, {
|
|
773
|
+
branch: string;
|
|
774
|
+
source: string;
|
|
775
|
+
}>>;
|
|
727
776
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
728
777
|
total: z.ZodNumber;
|
|
729
778
|
running: z.ZodNumber;
|
|
@@ -770,6 +819,10 @@ export declare const methods: {
|
|
|
770
819
|
clientMessageId: string;
|
|
771
820
|
text: string;
|
|
772
821
|
}[] | undefined;
|
|
822
|
+
worktree?: {
|
|
823
|
+
branch: string;
|
|
824
|
+
source: string;
|
|
825
|
+
} | undefined;
|
|
773
826
|
subagents?: {
|
|
774
827
|
running: number;
|
|
775
828
|
total: number;
|
|
@@ -810,6 +863,10 @@ export declare const methods: {
|
|
|
810
863
|
clientMessageId: string;
|
|
811
864
|
text: string;
|
|
812
865
|
}[] | undefined;
|
|
866
|
+
worktree?: {
|
|
867
|
+
branch: string;
|
|
868
|
+
source: string;
|
|
869
|
+
} | undefined;
|
|
813
870
|
subagents?: {
|
|
814
871
|
running: number;
|
|
815
872
|
total: number;
|
|
@@ -852,6 +909,10 @@ export declare const methods: {
|
|
|
852
909
|
clientMessageId: string;
|
|
853
910
|
text: string;
|
|
854
911
|
}[] | undefined;
|
|
912
|
+
worktree?: {
|
|
913
|
+
branch: string;
|
|
914
|
+
source: string;
|
|
915
|
+
} | undefined;
|
|
855
916
|
subagents?: {
|
|
856
917
|
running: number;
|
|
857
918
|
total: number;
|
|
@@ -894,6 +955,314 @@ export declare const methods: {
|
|
|
894
955
|
clientMessageId: string;
|
|
895
956
|
text: string;
|
|
896
957
|
}[] | undefined;
|
|
958
|
+
worktree?: {
|
|
959
|
+
branch: string;
|
|
960
|
+
source: string;
|
|
961
|
+
} | undefined;
|
|
962
|
+
subagents?: {
|
|
963
|
+
running: number;
|
|
964
|
+
total: number;
|
|
965
|
+
} | undefined;
|
|
966
|
+
};
|
|
967
|
+
}>;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* A new session that starts with this one's conversation: all of it, or up
|
|
971
|
+
* to and including the turn of `itemId` (a message in it). The original is
|
|
972
|
+
* untouched. With `worktree` the new session works in a new git worktree of
|
|
973
|
+
* the project instead of the same directory.
|
|
974
|
+
*/
|
|
975
|
+
readonly "sessions.fork": {
|
|
976
|
+
readonly params: z.ZodObject<{
|
|
977
|
+
sessionId: z.ZodString;
|
|
978
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
979
|
+
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
sessionId: string;
|
|
982
|
+
worktree?: boolean | undefined;
|
|
983
|
+
itemId?: string | undefined;
|
|
984
|
+
}, {
|
|
985
|
+
sessionId: string;
|
|
986
|
+
worktree?: boolean | undefined;
|
|
987
|
+
itemId?: string | undefined;
|
|
988
|
+
}>;
|
|
989
|
+
readonly result: z.ZodObject<{
|
|
990
|
+
session: z.ZodObject<{
|
|
991
|
+
id: z.ZodString;
|
|
992
|
+
agent: z.ZodString;
|
|
993
|
+
nativeId: z.ZodString;
|
|
994
|
+
title: z.ZodOptional<z.ZodString>;
|
|
995
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
996
|
+
cwd: z.ZodString;
|
|
997
|
+
state: z.ZodEnum<["idle", "running", "waiting", "error", "offline"]>;
|
|
998
|
+
driver: z.ZodOptional<z.ZodEnum<["desktop", "remote", "none"]>>;
|
|
999
|
+
pendingPermissions: z.ZodNumber;
|
|
1000
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
createdAt: z.ZodNumber;
|
|
1002
|
+
updatedAt: z.ZodNumber;
|
|
1003
|
+
lastSeq: z.ZodNumber;
|
|
1004
|
+
archived: z.ZodBoolean;
|
|
1005
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1006
|
+
kind: z.ZodEnum<["thinking", "responding", "tool"]>;
|
|
1007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
toolKind: z.ZodOptional<z.ZodEnum<["read", "edit", "delete", "move", "search", "execute", "think", "fetch", "other"]>>;
|
|
1009
|
+
}, "strip", z.ZodTypeAny, {
|
|
1010
|
+
kind: "thinking" | "responding" | "tool";
|
|
1011
|
+
title?: string | undefined;
|
|
1012
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1013
|
+
}, {
|
|
1014
|
+
kind: "thinking" | "responding" | "tool";
|
|
1015
|
+
title?: string | undefined;
|
|
1016
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1017
|
+
}>>;
|
|
1018
|
+
permission: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
requestId: z.ZodString;
|
|
1020
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
title: z.ZodString;
|
|
1022
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1024
|
+
optionId: z.ZodString;
|
|
1025
|
+
name: z.ZodString;
|
|
1026
|
+
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
1027
|
+
}, "strip", z.ZodTypeAny, {
|
|
1028
|
+
optionId: string;
|
|
1029
|
+
name: string;
|
|
1030
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1031
|
+
}, {
|
|
1032
|
+
optionId: string;
|
|
1033
|
+
name: string;
|
|
1034
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1035
|
+
}>, "many">;
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1037
|
+
options: {
|
|
1038
|
+
optionId: string;
|
|
1039
|
+
name: string;
|
|
1040
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1041
|
+
}[];
|
|
1042
|
+
title: string;
|
|
1043
|
+
requestId: string;
|
|
1044
|
+
toolCallId?: string | undefined;
|
|
1045
|
+
detail?: string | undefined;
|
|
1046
|
+
}, {
|
|
1047
|
+
options: {
|
|
1048
|
+
optionId: string;
|
|
1049
|
+
name: string;
|
|
1050
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1051
|
+
}[];
|
|
1052
|
+
title: string;
|
|
1053
|
+
requestId: string;
|
|
1054
|
+
toolCallId?: string | undefined;
|
|
1055
|
+
detail?: string | undefined;
|
|
1056
|
+
}>>;
|
|
1057
|
+
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1058
|
+
clientMessageId: z.ZodString;
|
|
1059
|
+
text: z.ZodString;
|
|
1060
|
+
images: z.ZodNumber;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
images: number;
|
|
1063
|
+
clientMessageId: string;
|
|
1064
|
+
text: string;
|
|
1065
|
+
}, {
|
|
1066
|
+
images: number;
|
|
1067
|
+
clientMessageId: string;
|
|
1068
|
+
text: string;
|
|
1069
|
+
}>, "many">>;
|
|
1070
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
1071
|
+
branch: z.ZodString;
|
|
1072
|
+
source: z.ZodString;
|
|
1073
|
+
}, "strip", z.ZodTypeAny, {
|
|
1074
|
+
branch: string;
|
|
1075
|
+
source: string;
|
|
1076
|
+
}, {
|
|
1077
|
+
branch: string;
|
|
1078
|
+
source: string;
|
|
1079
|
+
}>>;
|
|
1080
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
1081
|
+
total: z.ZodNumber;
|
|
1082
|
+
running: z.ZodNumber;
|
|
1083
|
+
}, "strip", z.ZodTypeAny, {
|
|
1084
|
+
running: number;
|
|
1085
|
+
total: number;
|
|
1086
|
+
}, {
|
|
1087
|
+
running: number;
|
|
1088
|
+
total: number;
|
|
1089
|
+
}>>;
|
|
1090
|
+
}, "strip", z.ZodTypeAny, {
|
|
1091
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
1092
|
+
id: string;
|
|
1093
|
+
agent: string;
|
|
1094
|
+
nativeId: string;
|
|
1095
|
+
cwd: string;
|
|
1096
|
+
pendingPermissions: number;
|
|
1097
|
+
createdAt: number;
|
|
1098
|
+
updatedAt: number;
|
|
1099
|
+
lastSeq: number;
|
|
1100
|
+
archived: boolean;
|
|
1101
|
+
title?: string | undefined;
|
|
1102
|
+
preview?: string | undefined;
|
|
1103
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
1104
|
+
model?: string | undefined;
|
|
1105
|
+
activity?: {
|
|
1106
|
+
kind: "thinking" | "responding" | "tool";
|
|
1107
|
+
title?: string | undefined;
|
|
1108
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
permission?: {
|
|
1111
|
+
options: {
|
|
1112
|
+
optionId: string;
|
|
1113
|
+
name: string;
|
|
1114
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1115
|
+
}[];
|
|
1116
|
+
title: string;
|
|
1117
|
+
requestId: string;
|
|
1118
|
+
toolCallId?: string | undefined;
|
|
1119
|
+
detail?: string | undefined;
|
|
1120
|
+
} | undefined;
|
|
1121
|
+
queue?: {
|
|
1122
|
+
images: number;
|
|
1123
|
+
clientMessageId: string;
|
|
1124
|
+
text: string;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
worktree?: {
|
|
1127
|
+
branch: string;
|
|
1128
|
+
source: string;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
subagents?: {
|
|
1131
|
+
running: number;
|
|
1132
|
+
total: number;
|
|
1133
|
+
} | undefined;
|
|
1134
|
+
}, {
|
|
1135
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
1136
|
+
id: string;
|
|
1137
|
+
agent: string;
|
|
1138
|
+
nativeId: string;
|
|
1139
|
+
cwd: string;
|
|
1140
|
+
pendingPermissions: number;
|
|
1141
|
+
createdAt: number;
|
|
1142
|
+
updatedAt: number;
|
|
1143
|
+
lastSeq: number;
|
|
1144
|
+
archived: boolean;
|
|
1145
|
+
title?: string | undefined;
|
|
1146
|
+
preview?: string | undefined;
|
|
1147
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
1148
|
+
model?: string | undefined;
|
|
1149
|
+
activity?: {
|
|
1150
|
+
kind: "thinking" | "responding" | "tool";
|
|
1151
|
+
title?: string | undefined;
|
|
1152
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1153
|
+
} | undefined;
|
|
1154
|
+
permission?: {
|
|
1155
|
+
options: {
|
|
1156
|
+
optionId: string;
|
|
1157
|
+
name: string;
|
|
1158
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1159
|
+
}[];
|
|
1160
|
+
title: string;
|
|
1161
|
+
requestId: string;
|
|
1162
|
+
toolCallId?: string | undefined;
|
|
1163
|
+
detail?: string | undefined;
|
|
1164
|
+
} | undefined;
|
|
1165
|
+
queue?: {
|
|
1166
|
+
images: number;
|
|
1167
|
+
clientMessageId: string;
|
|
1168
|
+
text: string;
|
|
1169
|
+
}[] | undefined;
|
|
1170
|
+
worktree?: {
|
|
1171
|
+
branch: string;
|
|
1172
|
+
source: string;
|
|
1173
|
+
} | undefined;
|
|
1174
|
+
subagents?: {
|
|
1175
|
+
running: number;
|
|
1176
|
+
total: number;
|
|
1177
|
+
} | undefined;
|
|
1178
|
+
}>;
|
|
1179
|
+
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
session: {
|
|
1181
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
1182
|
+
id: string;
|
|
1183
|
+
agent: string;
|
|
1184
|
+
nativeId: string;
|
|
1185
|
+
cwd: string;
|
|
1186
|
+
pendingPermissions: number;
|
|
1187
|
+
createdAt: number;
|
|
1188
|
+
updatedAt: number;
|
|
1189
|
+
lastSeq: number;
|
|
1190
|
+
archived: boolean;
|
|
1191
|
+
title?: string | undefined;
|
|
1192
|
+
preview?: string | undefined;
|
|
1193
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
1194
|
+
model?: string | undefined;
|
|
1195
|
+
activity?: {
|
|
1196
|
+
kind: "thinking" | "responding" | "tool";
|
|
1197
|
+
title?: string | undefined;
|
|
1198
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
permission?: {
|
|
1201
|
+
options: {
|
|
1202
|
+
optionId: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1205
|
+
}[];
|
|
1206
|
+
title: string;
|
|
1207
|
+
requestId: string;
|
|
1208
|
+
toolCallId?: string | undefined;
|
|
1209
|
+
detail?: string | undefined;
|
|
1210
|
+
} | undefined;
|
|
1211
|
+
queue?: {
|
|
1212
|
+
images: number;
|
|
1213
|
+
clientMessageId: string;
|
|
1214
|
+
text: string;
|
|
1215
|
+
}[] | undefined;
|
|
1216
|
+
worktree?: {
|
|
1217
|
+
branch: string;
|
|
1218
|
+
source: string;
|
|
1219
|
+
} | undefined;
|
|
1220
|
+
subagents?: {
|
|
1221
|
+
running: number;
|
|
1222
|
+
total: number;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
};
|
|
1225
|
+
}, {
|
|
1226
|
+
session: {
|
|
1227
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
1228
|
+
id: string;
|
|
1229
|
+
agent: string;
|
|
1230
|
+
nativeId: string;
|
|
1231
|
+
cwd: string;
|
|
1232
|
+
pendingPermissions: number;
|
|
1233
|
+
createdAt: number;
|
|
1234
|
+
updatedAt: number;
|
|
1235
|
+
lastSeq: number;
|
|
1236
|
+
archived: boolean;
|
|
1237
|
+
title?: string | undefined;
|
|
1238
|
+
preview?: string | undefined;
|
|
1239
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
1240
|
+
model?: string | undefined;
|
|
1241
|
+
activity?: {
|
|
1242
|
+
kind: "thinking" | "responding" | "tool";
|
|
1243
|
+
title?: string | undefined;
|
|
1244
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
permission?: {
|
|
1247
|
+
options: {
|
|
1248
|
+
optionId: string;
|
|
1249
|
+
name: string;
|
|
1250
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1251
|
+
}[];
|
|
1252
|
+
title: string;
|
|
1253
|
+
requestId: string;
|
|
1254
|
+
toolCallId?: string | undefined;
|
|
1255
|
+
detail?: string | undefined;
|
|
1256
|
+
} | undefined;
|
|
1257
|
+
queue?: {
|
|
1258
|
+
images: number;
|
|
1259
|
+
clientMessageId: string;
|
|
1260
|
+
text: string;
|
|
1261
|
+
}[] | undefined;
|
|
1262
|
+
worktree?: {
|
|
1263
|
+
branch: string;
|
|
1264
|
+
source: string;
|
|
1265
|
+
} | undefined;
|
|
897
1266
|
subagents?: {
|
|
898
1267
|
running: number;
|
|
899
1268
|
total: number;
|
|
@@ -1007,6 +1376,16 @@ export declare const methods: {
|
|
|
1007
1376
|
clientMessageId: string;
|
|
1008
1377
|
text: string;
|
|
1009
1378
|
}>, "many">>;
|
|
1379
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
1380
|
+
branch: z.ZodString;
|
|
1381
|
+
source: z.ZodString;
|
|
1382
|
+
}, "strip", z.ZodTypeAny, {
|
|
1383
|
+
branch: string;
|
|
1384
|
+
source: string;
|
|
1385
|
+
}, {
|
|
1386
|
+
branch: string;
|
|
1387
|
+
source: string;
|
|
1388
|
+
}>>;
|
|
1010
1389
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
1011
1390
|
total: z.ZodNumber;
|
|
1012
1391
|
running: z.ZodNumber;
|
|
@@ -1053,6 +1432,10 @@ export declare const methods: {
|
|
|
1053
1432
|
clientMessageId: string;
|
|
1054
1433
|
text: string;
|
|
1055
1434
|
}[] | undefined;
|
|
1435
|
+
worktree?: {
|
|
1436
|
+
branch: string;
|
|
1437
|
+
source: string;
|
|
1438
|
+
} | undefined;
|
|
1056
1439
|
subagents?: {
|
|
1057
1440
|
running: number;
|
|
1058
1441
|
total: number;
|
|
@@ -1093,6 +1476,10 @@ export declare const methods: {
|
|
|
1093
1476
|
clientMessageId: string;
|
|
1094
1477
|
text: string;
|
|
1095
1478
|
}[] | undefined;
|
|
1479
|
+
worktree?: {
|
|
1480
|
+
branch: string;
|
|
1481
|
+
source: string;
|
|
1482
|
+
} | undefined;
|
|
1096
1483
|
subagents?: {
|
|
1097
1484
|
running: number;
|
|
1098
1485
|
total: number;
|
|
@@ -1136,6 +1523,10 @@ export declare const methods: {
|
|
|
1136
1523
|
clientMessageId: string;
|
|
1137
1524
|
text: string;
|
|
1138
1525
|
}[] | undefined;
|
|
1526
|
+
worktree?: {
|
|
1527
|
+
branch: string;
|
|
1528
|
+
source: string;
|
|
1529
|
+
} | undefined;
|
|
1139
1530
|
subagents?: {
|
|
1140
1531
|
running: number;
|
|
1141
1532
|
total: number;
|
|
@@ -1179,6 +1570,10 @@ export declare const methods: {
|
|
|
1179
1570
|
clientMessageId: string;
|
|
1180
1571
|
text: string;
|
|
1181
1572
|
}[] | undefined;
|
|
1573
|
+
worktree?: {
|
|
1574
|
+
branch: string;
|
|
1575
|
+
source: string;
|
|
1576
|
+
} | undefined;
|
|
1182
1577
|
subagents?: {
|
|
1183
1578
|
running: number;
|
|
1184
1579
|
total: number;
|
|
@@ -1251,7 +1646,6 @@ export declare const methods: {
|
|
|
1251
1646
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1252
1647
|
}>]>;
|
|
1253
1648
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
sessionUpdate: "user_message_chunk";
|
|
1255
1649
|
content: {
|
|
1256
1650
|
type: "text";
|
|
1257
1651
|
text: string;
|
|
@@ -1266,9 +1660,9 @@ export declare const methods: {
|
|
|
1266
1660
|
uri: string;
|
|
1267
1661
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1268
1662
|
};
|
|
1663
|
+
sessionUpdate: "user_message_chunk";
|
|
1269
1664
|
messageId?: string | undefined;
|
|
1270
1665
|
}, {
|
|
1271
|
-
sessionUpdate: "user_message_chunk";
|
|
1272
1666
|
content: {
|
|
1273
1667
|
type: "text";
|
|
1274
1668
|
text: string;
|
|
@@ -1283,6 +1677,7 @@ export declare const methods: {
|
|
|
1283
1677
|
uri: string;
|
|
1284
1678
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1285
1679
|
};
|
|
1680
|
+
sessionUpdate: "user_message_chunk";
|
|
1286
1681
|
messageId?: string | undefined;
|
|
1287
1682
|
}>, z.ZodObject<{
|
|
1288
1683
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -1329,8 +1724,6 @@ export declare const methods: {
|
|
|
1329
1724
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1330
1725
|
}>]>;
|
|
1331
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
-
sessionUpdate: "agent_message_chunk";
|
|
1333
|
-
messageId: string;
|
|
1334
1727
|
content: {
|
|
1335
1728
|
type: "text";
|
|
1336
1729
|
text: string;
|
|
@@ -1345,10 +1738,10 @@ export declare const methods: {
|
|
|
1345
1738
|
uri: string;
|
|
1346
1739
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1347
1740
|
};
|
|
1348
|
-
parentToolCallId?: string | undefined;
|
|
1349
|
-
}, {
|
|
1350
1741
|
sessionUpdate: "agent_message_chunk";
|
|
1351
1742
|
messageId: string;
|
|
1743
|
+
parentToolCallId?: string | undefined;
|
|
1744
|
+
}, {
|
|
1352
1745
|
content: {
|
|
1353
1746
|
type: "text";
|
|
1354
1747
|
text: string;
|
|
@@ -1363,6 +1756,8 @@ export declare const methods: {
|
|
|
1363
1756
|
uri: string;
|
|
1364
1757
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1365
1758
|
};
|
|
1759
|
+
sessionUpdate: "agent_message_chunk";
|
|
1760
|
+
messageId: string;
|
|
1366
1761
|
parentToolCallId?: string | undefined;
|
|
1367
1762
|
}>, z.ZodObject<{
|
|
1368
1763
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -1409,8 +1804,6 @@ export declare const methods: {
|
|
|
1409
1804
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1410
1805
|
}>]>;
|
|
1411
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1412
|
-
sessionUpdate: "agent_thought_chunk";
|
|
1413
|
-
messageId: string;
|
|
1414
1807
|
content: {
|
|
1415
1808
|
type: "text";
|
|
1416
1809
|
text: string;
|
|
@@ -1425,10 +1818,10 @@ export declare const methods: {
|
|
|
1425
1818
|
uri: string;
|
|
1426
1819
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1427
1820
|
};
|
|
1428
|
-
parentToolCallId?: string | undefined;
|
|
1429
|
-
}, {
|
|
1430
1821
|
sessionUpdate: "agent_thought_chunk";
|
|
1431
1822
|
messageId: string;
|
|
1823
|
+
parentToolCallId?: string | undefined;
|
|
1824
|
+
}, {
|
|
1432
1825
|
content: {
|
|
1433
1826
|
type: "text";
|
|
1434
1827
|
text: string;
|
|
@@ -1443,6 +1836,8 @@ export declare const methods: {
|
|
|
1443
1836
|
uri: string;
|
|
1444
1837
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1445
1838
|
};
|
|
1839
|
+
sessionUpdate: "agent_thought_chunk";
|
|
1840
|
+
messageId: string;
|
|
1446
1841
|
parentToolCallId?: string | undefined;
|
|
1447
1842
|
}>, z.ZodObject<{
|
|
1448
1843
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -2421,11 +2816,7 @@ export declare const methods: {
|
|
|
2421
2816
|
hint?: string | undefined;
|
|
2422
2817
|
}>]>;
|
|
2423
2818
|
}, "strip", z.ZodTypeAny, {
|
|
2424
|
-
sessionId: string;
|
|
2425
|
-
seq: number;
|
|
2426
|
-
ts: number;
|
|
2427
2819
|
update: {
|
|
2428
|
-
sessionUpdate: "user_message_chunk";
|
|
2429
2820
|
content: {
|
|
2430
2821
|
type: "text";
|
|
2431
2822
|
text: string;
|
|
@@ -2440,10 +2831,9 @@ export declare const methods: {
|
|
|
2440
2831
|
uri: string;
|
|
2441
2832
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2442
2833
|
};
|
|
2834
|
+
sessionUpdate: "user_message_chunk";
|
|
2443
2835
|
messageId?: string | undefined;
|
|
2444
2836
|
} | {
|
|
2445
|
-
sessionUpdate: "agent_message_chunk";
|
|
2446
|
-
messageId: string;
|
|
2447
2837
|
content: {
|
|
2448
2838
|
type: "text";
|
|
2449
2839
|
text: string;
|
|
@@ -2458,10 +2848,10 @@ export declare const methods: {
|
|
|
2458
2848
|
uri: string;
|
|
2459
2849
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2460
2850
|
};
|
|
2851
|
+
sessionUpdate: "agent_message_chunk";
|
|
2852
|
+
messageId: string;
|
|
2461
2853
|
parentToolCallId?: string | undefined;
|
|
2462
2854
|
} | {
|
|
2463
|
-
sessionUpdate: "agent_thought_chunk";
|
|
2464
|
-
messageId: string;
|
|
2465
2855
|
content: {
|
|
2466
2856
|
type: "text";
|
|
2467
2857
|
text: string;
|
|
@@ -2476,6 +2866,8 @@ export declare const methods: {
|
|
|
2476
2866
|
uri: string;
|
|
2477
2867
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2478
2868
|
};
|
|
2869
|
+
sessionUpdate: "agent_thought_chunk";
|
|
2870
|
+
messageId: string;
|
|
2479
2871
|
parentToolCallId?: string | undefined;
|
|
2480
2872
|
} | {
|
|
2481
2873
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -2693,12 +3085,11 @@ export declare const methods: {
|
|
|
2693
3085
|
sessionUpdate: "ls_error";
|
|
2694
3086
|
hint?: string | undefined;
|
|
2695
3087
|
};
|
|
2696
|
-
}, {
|
|
2697
3088
|
sessionId: string;
|
|
2698
3089
|
seq: number;
|
|
2699
3090
|
ts: number;
|
|
3091
|
+
}, {
|
|
2700
3092
|
update: {
|
|
2701
|
-
sessionUpdate: "user_message_chunk";
|
|
2702
3093
|
content: {
|
|
2703
3094
|
type: "text";
|
|
2704
3095
|
text: string;
|
|
@@ -2713,10 +3104,9 @@ export declare const methods: {
|
|
|
2713
3104
|
uri: string;
|
|
2714
3105
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2715
3106
|
};
|
|
3107
|
+
sessionUpdate: "user_message_chunk";
|
|
2716
3108
|
messageId?: string | undefined;
|
|
2717
3109
|
} | {
|
|
2718
|
-
sessionUpdate: "agent_message_chunk";
|
|
2719
|
-
messageId: string;
|
|
2720
3110
|
content: {
|
|
2721
3111
|
type: "text";
|
|
2722
3112
|
text: string;
|
|
@@ -2731,10 +3121,10 @@ export declare const methods: {
|
|
|
2731
3121
|
uri: string;
|
|
2732
3122
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2733
3123
|
};
|
|
3124
|
+
sessionUpdate: "agent_message_chunk";
|
|
3125
|
+
messageId: string;
|
|
2734
3126
|
parentToolCallId?: string | undefined;
|
|
2735
3127
|
} | {
|
|
2736
|
-
sessionUpdate: "agent_thought_chunk";
|
|
2737
|
-
messageId: string;
|
|
2738
3128
|
content: {
|
|
2739
3129
|
type: "text";
|
|
2740
3130
|
text: string;
|
|
@@ -2749,6 +3139,8 @@ export declare const methods: {
|
|
|
2749
3139
|
uri: string;
|
|
2750
3140
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2751
3141
|
};
|
|
3142
|
+
sessionUpdate: "agent_thought_chunk";
|
|
3143
|
+
messageId: string;
|
|
2752
3144
|
parentToolCallId?: string | undefined;
|
|
2753
3145
|
} | {
|
|
2754
3146
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -2966,16 +3358,15 @@ export declare const methods: {
|
|
|
2966
3358
|
sessionUpdate: "ls_error";
|
|
2967
3359
|
hint?: string | undefined;
|
|
2968
3360
|
};
|
|
3361
|
+
sessionId: string;
|
|
3362
|
+
seq: number;
|
|
3363
|
+
ts: number;
|
|
2969
3364
|
}>, "many">;
|
|
2970
3365
|
startSeq: z.ZodNumber;
|
|
2971
3366
|
}, "strip", z.ZodTypeAny, {
|
|
2972
3367
|
startSeq: number;
|
|
2973
3368
|
events: {
|
|
2974
|
-
sessionId: string;
|
|
2975
|
-
seq: number;
|
|
2976
|
-
ts: number;
|
|
2977
3369
|
update: {
|
|
2978
|
-
sessionUpdate: "user_message_chunk";
|
|
2979
3370
|
content: {
|
|
2980
3371
|
type: "text";
|
|
2981
3372
|
text: string;
|
|
@@ -2990,10 +3381,9 @@ export declare const methods: {
|
|
|
2990
3381
|
uri: string;
|
|
2991
3382
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2992
3383
|
};
|
|
3384
|
+
sessionUpdate: "user_message_chunk";
|
|
2993
3385
|
messageId?: string | undefined;
|
|
2994
3386
|
} | {
|
|
2995
|
-
sessionUpdate: "agent_message_chunk";
|
|
2996
|
-
messageId: string;
|
|
2997
3387
|
content: {
|
|
2998
3388
|
type: "text";
|
|
2999
3389
|
text: string;
|
|
@@ -3008,10 +3398,10 @@ export declare const methods: {
|
|
|
3008
3398
|
uri: string;
|
|
3009
3399
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3010
3400
|
};
|
|
3401
|
+
sessionUpdate: "agent_message_chunk";
|
|
3402
|
+
messageId: string;
|
|
3011
3403
|
parentToolCallId?: string | undefined;
|
|
3012
3404
|
} | {
|
|
3013
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3014
|
-
messageId: string;
|
|
3015
3405
|
content: {
|
|
3016
3406
|
type: "text";
|
|
3017
3407
|
text: string;
|
|
@@ -3026,6 +3416,8 @@ export declare const methods: {
|
|
|
3026
3416
|
uri: string;
|
|
3027
3417
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3028
3418
|
};
|
|
3419
|
+
sessionUpdate: "agent_thought_chunk";
|
|
3420
|
+
messageId: string;
|
|
3029
3421
|
parentToolCallId?: string | undefined;
|
|
3030
3422
|
} | {
|
|
3031
3423
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -3243,15 +3635,14 @@ export declare const methods: {
|
|
|
3243
3635
|
sessionUpdate: "ls_error";
|
|
3244
3636
|
hint?: string | undefined;
|
|
3245
3637
|
};
|
|
3638
|
+
sessionId: string;
|
|
3639
|
+
seq: number;
|
|
3640
|
+
ts: number;
|
|
3246
3641
|
}[];
|
|
3247
3642
|
}, {
|
|
3248
3643
|
startSeq: number;
|
|
3249
3644
|
events: {
|
|
3250
|
-
sessionId: string;
|
|
3251
|
-
seq: number;
|
|
3252
|
-
ts: number;
|
|
3253
3645
|
update: {
|
|
3254
|
-
sessionUpdate: "user_message_chunk";
|
|
3255
3646
|
content: {
|
|
3256
3647
|
type: "text";
|
|
3257
3648
|
text: string;
|
|
@@ -3266,10 +3657,9 @@ export declare const methods: {
|
|
|
3266
3657
|
uri: string;
|
|
3267
3658
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3268
3659
|
};
|
|
3660
|
+
sessionUpdate: "user_message_chunk";
|
|
3269
3661
|
messageId?: string | undefined;
|
|
3270
3662
|
} | {
|
|
3271
|
-
sessionUpdate: "agent_message_chunk";
|
|
3272
|
-
messageId: string;
|
|
3273
3663
|
content: {
|
|
3274
3664
|
type: "text";
|
|
3275
3665
|
text: string;
|
|
@@ -3284,10 +3674,10 @@ export declare const methods: {
|
|
|
3284
3674
|
uri: string;
|
|
3285
3675
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3286
3676
|
};
|
|
3677
|
+
sessionUpdate: "agent_message_chunk";
|
|
3678
|
+
messageId: string;
|
|
3287
3679
|
parentToolCallId?: string | undefined;
|
|
3288
3680
|
} | {
|
|
3289
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3290
|
-
messageId: string;
|
|
3291
3681
|
content: {
|
|
3292
3682
|
type: "text";
|
|
3293
3683
|
text: string;
|
|
@@ -3302,6 +3692,8 @@ export declare const methods: {
|
|
|
3302
3692
|
uri: string;
|
|
3303
3693
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3304
3694
|
};
|
|
3695
|
+
sessionUpdate: "agent_thought_chunk";
|
|
3696
|
+
messageId: string;
|
|
3305
3697
|
parentToolCallId?: string | undefined;
|
|
3306
3698
|
} | {
|
|
3307
3699
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -3519,6 +3911,9 @@ export declare const methods: {
|
|
|
3519
3911
|
sessionUpdate: "ls_error";
|
|
3520
3912
|
hint?: string | undefined;
|
|
3521
3913
|
};
|
|
3914
|
+
sessionId: string;
|
|
3915
|
+
seq: number;
|
|
3916
|
+
ts: number;
|
|
3522
3917
|
}[];
|
|
3523
3918
|
}>;
|
|
3524
3919
|
};
|
|
@@ -3647,7 +4042,6 @@ export declare const methods: {
|
|
|
3647
4042
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3648
4043
|
}>]>;
|
|
3649
4044
|
}, "strip", z.ZodTypeAny, {
|
|
3650
|
-
sessionUpdate: "user_message_chunk";
|
|
3651
4045
|
content: {
|
|
3652
4046
|
type: "text";
|
|
3653
4047
|
text: string;
|
|
@@ -3662,9 +4056,9 @@ export declare const methods: {
|
|
|
3662
4056
|
uri: string;
|
|
3663
4057
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3664
4058
|
};
|
|
4059
|
+
sessionUpdate: "user_message_chunk";
|
|
3665
4060
|
messageId?: string | undefined;
|
|
3666
4061
|
}, {
|
|
3667
|
-
sessionUpdate: "user_message_chunk";
|
|
3668
4062
|
content: {
|
|
3669
4063
|
type: "text";
|
|
3670
4064
|
text: string;
|
|
@@ -3679,6 +4073,7 @@ export declare const methods: {
|
|
|
3679
4073
|
uri: string;
|
|
3680
4074
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3681
4075
|
};
|
|
4076
|
+
sessionUpdate: "user_message_chunk";
|
|
3682
4077
|
messageId?: string | undefined;
|
|
3683
4078
|
}>, z.ZodObject<{
|
|
3684
4079
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -3725,8 +4120,6 @@ export declare const methods: {
|
|
|
3725
4120
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3726
4121
|
}>]>;
|
|
3727
4122
|
}, "strip", z.ZodTypeAny, {
|
|
3728
|
-
sessionUpdate: "agent_message_chunk";
|
|
3729
|
-
messageId: string;
|
|
3730
4123
|
content: {
|
|
3731
4124
|
type: "text";
|
|
3732
4125
|
text: string;
|
|
@@ -3741,10 +4134,10 @@ export declare const methods: {
|
|
|
3741
4134
|
uri: string;
|
|
3742
4135
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3743
4136
|
};
|
|
3744
|
-
parentToolCallId?: string | undefined;
|
|
3745
|
-
}, {
|
|
3746
4137
|
sessionUpdate: "agent_message_chunk";
|
|
3747
4138
|
messageId: string;
|
|
4139
|
+
parentToolCallId?: string | undefined;
|
|
4140
|
+
}, {
|
|
3748
4141
|
content: {
|
|
3749
4142
|
type: "text";
|
|
3750
4143
|
text: string;
|
|
@@ -3759,6 +4152,8 @@ export declare const methods: {
|
|
|
3759
4152
|
uri: string;
|
|
3760
4153
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3761
4154
|
};
|
|
4155
|
+
sessionUpdate: "agent_message_chunk";
|
|
4156
|
+
messageId: string;
|
|
3762
4157
|
parentToolCallId?: string | undefined;
|
|
3763
4158
|
}>, z.ZodObject<{
|
|
3764
4159
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -3805,8 +4200,6 @@ export declare const methods: {
|
|
|
3805
4200
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3806
4201
|
}>]>;
|
|
3807
4202
|
}, "strip", z.ZodTypeAny, {
|
|
3808
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3809
|
-
messageId: string;
|
|
3810
4203
|
content: {
|
|
3811
4204
|
type: "text";
|
|
3812
4205
|
text: string;
|
|
@@ -3821,10 +4214,10 @@ export declare const methods: {
|
|
|
3821
4214
|
uri: string;
|
|
3822
4215
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3823
4216
|
};
|
|
3824
|
-
parentToolCallId?: string | undefined;
|
|
3825
|
-
}, {
|
|
3826
4217
|
sessionUpdate: "agent_thought_chunk";
|
|
3827
4218
|
messageId: string;
|
|
4219
|
+
parentToolCallId?: string | undefined;
|
|
4220
|
+
}, {
|
|
3828
4221
|
content: {
|
|
3829
4222
|
type: "text";
|
|
3830
4223
|
text: string;
|
|
@@ -3839,6 +4232,8 @@ export declare const methods: {
|
|
|
3839
4232
|
uri: string;
|
|
3840
4233
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3841
4234
|
};
|
|
4235
|
+
sessionUpdate: "agent_thought_chunk";
|
|
4236
|
+
messageId: string;
|
|
3842
4237
|
parentToolCallId?: string | undefined;
|
|
3843
4238
|
}>, z.ZodObject<{
|
|
3844
4239
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -4817,11 +5212,7 @@ export declare const methods: {
|
|
|
4817
5212
|
hint?: string | undefined;
|
|
4818
5213
|
}>]>;
|
|
4819
5214
|
}, "strip", z.ZodTypeAny, {
|
|
4820
|
-
sessionId: string;
|
|
4821
|
-
seq: number;
|
|
4822
|
-
ts: number;
|
|
4823
5215
|
update: {
|
|
4824
|
-
sessionUpdate: "user_message_chunk";
|
|
4825
5216
|
content: {
|
|
4826
5217
|
type: "text";
|
|
4827
5218
|
text: string;
|
|
@@ -4836,10 +5227,9 @@ export declare const methods: {
|
|
|
4836
5227
|
uri: string;
|
|
4837
5228
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4838
5229
|
};
|
|
5230
|
+
sessionUpdate: "user_message_chunk";
|
|
4839
5231
|
messageId?: string | undefined;
|
|
4840
5232
|
} | {
|
|
4841
|
-
sessionUpdate: "agent_message_chunk";
|
|
4842
|
-
messageId: string;
|
|
4843
5233
|
content: {
|
|
4844
5234
|
type: "text";
|
|
4845
5235
|
text: string;
|
|
@@ -4854,10 +5244,10 @@ export declare const methods: {
|
|
|
4854
5244
|
uri: string;
|
|
4855
5245
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4856
5246
|
};
|
|
5247
|
+
sessionUpdate: "agent_message_chunk";
|
|
5248
|
+
messageId: string;
|
|
4857
5249
|
parentToolCallId?: string | undefined;
|
|
4858
5250
|
} | {
|
|
4859
|
-
sessionUpdate: "agent_thought_chunk";
|
|
4860
|
-
messageId: string;
|
|
4861
5251
|
content: {
|
|
4862
5252
|
type: "text";
|
|
4863
5253
|
text: string;
|
|
@@ -4872,6 +5262,8 @@ export declare const methods: {
|
|
|
4872
5262
|
uri: string;
|
|
4873
5263
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4874
5264
|
};
|
|
5265
|
+
sessionUpdate: "agent_thought_chunk";
|
|
5266
|
+
messageId: string;
|
|
4875
5267
|
parentToolCallId?: string | undefined;
|
|
4876
5268
|
} | {
|
|
4877
5269
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5089,12 +5481,11 @@ export declare const methods: {
|
|
|
5089
5481
|
sessionUpdate: "ls_error";
|
|
5090
5482
|
hint?: string | undefined;
|
|
5091
5483
|
};
|
|
5092
|
-
}, {
|
|
5093
5484
|
sessionId: string;
|
|
5094
5485
|
seq: number;
|
|
5095
5486
|
ts: number;
|
|
5487
|
+
}, {
|
|
5096
5488
|
update: {
|
|
5097
|
-
sessionUpdate: "user_message_chunk";
|
|
5098
5489
|
content: {
|
|
5099
5490
|
type: "text";
|
|
5100
5491
|
text: string;
|
|
@@ -5109,10 +5500,9 @@ export declare const methods: {
|
|
|
5109
5500
|
uri: string;
|
|
5110
5501
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5111
5502
|
};
|
|
5503
|
+
sessionUpdate: "user_message_chunk";
|
|
5112
5504
|
messageId?: string | undefined;
|
|
5113
5505
|
} | {
|
|
5114
|
-
sessionUpdate: "agent_message_chunk";
|
|
5115
|
-
messageId: string;
|
|
5116
5506
|
content: {
|
|
5117
5507
|
type: "text";
|
|
5118
5508
|
text: string;
|
|
@@ -5127,10 +5517,10 @@ export declare const methods: {
|
|
|
5127
5517
|
uri: string;
|
|
5128
5518
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5129
5519
|
};
|
|
5520
|
+
sessionUpdate: "agent_message_chunk";
|
|
5521
|
+
messageId: string;
|
|
5130
5522
|
parentToolCallId?: string | undefined;
|
|
5131
5523
|
} | {
|
|
5132
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5133
|
-
messageId: string;
|
|
5134
5524
|
content: {
|
|
5135
5525
|
type: "text";
|
|
5136
5526
|
text: string;
|
|
@@ -5145,6 +5535,8 @@ export declare const methods: {
|
|
|
5145
5535
|
uri: string;
|
|
5146
5536
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5147
5537
|
};
|
|
5538
|
+
sessionUpdate: "agent_thought_chunk";
|
|
5539
|
+
messageId: string;
|
|
5148
5540
|
parentToolCallId?: string | undefined;
|
|
5149
5541
|
} | {
|
|
5150
5542
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5362,14 +5754,13 @@ export declare const methods: {
|
|
|
5362
5754
|
sessionUpdate: "ls_error";
|
|
5363
5755
|
hint?: string | undefined;
|
|
5364
5756
|
};
|
|
5365
|
-
}>, "many">;
|
|
5366
|
-
}, "strip", z.ZodTypeAny, {
|
|
5367
|
-
events: {
|
|
5368
5757
|
sessionId: string;
|
|
5369
5758
|
seq: number;
|
|
5370
5759
|
ts: number;
|
|
5760
|
+
}>, "many">;
|
|
5761
|
+
}, "strip", z.ZodTypeAny, {
|
|
5762
|
+
events: {
|
|
5371
5763
|
update: {
|
|
5372
|
-
sessionUpdate: "user_message_chunk";
|
|
5373
5764
|
content: {
|
|
5374
5765
|
type: "text";
|
|
5375
5766
|
text: string;
|
|
@@ -5384,10 +5775,9 @@ export declare const methods: {
|
|
|
5384
5775
|
uri: string;
|
|
5385
5776
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5386
5777
|
};
|
|
5778
|
+
sessionUpdate: "user_message_chunk";
|
|
5387
5779
|
messageId?: string | undefined;
|
|
5388
5780
|
} | {
|
|
5389
|
-
sessionUpdate: "agent_message_chunk";
|
|
5390
|
-
messageId: string;
|
|
5391
5781
|
content: {
|
|
5392
5782
|
type: "text";
|
|
5393
5783
|
text: string;
|
|
@@ -5402,10 +5792,10 @@ export declare const methods: {
|
|
|
5402
5792
|
uri: string;
|
|
5403
5793
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5404
5794
|
};
|
|
5795
|
+
sessionUpdate: "agent_message_chunk";
|
|
5796
|
+
messageId: string;
|
|
5405
5797
|
parentToolCallId?: string | undefined;
|
|
5406
5798
|
} | {
|
|
5407
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5408
|
-
messageId: string;
|
|
5409
5799
|
content: {
|
|
5410
5800
|
type: "text";
|
|
5411
5801
|
text: string;
|
|
@@ -5420,6 +5810,8 @@ export declare const methods: {
|
|
|
5420
5810
|
uri: string;
|
|
5421
5811
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5422
5812
|
};
|
|
5813
|
+
sessionUpdate: "agent_thought_chunk";
|
|
5814
|
+
messageId: string;
|
|
5423
5815
|
parentToolCallId?: string | undefined;
|
|
5424
5816
|
} | {
|
|
5425
5817
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5637,14 +6029,13 @@ export declare const methods: {
|
|
|
5637
6029
|
sessionUpdate: "ls_error";
|
|
5638
6030
|
hint?: string | undefined;
|
|
5639
6031
|
};
|
|
5640
|
-
}[];
|
|
5641
|
-
}, {
|
|
5642
|
-
events: {
|
|
5643
6032
|
sessionId: string;
|
|
5644
6033
|
seq: number;
|
|
5645
6034
|
ts: number;
|
|
6035
|
+
}[];
|
|
6036
|
+
}, {
|
|
6037
|
+
events: {
|
|
5646
6038
|
update: {
|
|
5647
|
-
sessionUpdate: "user_message_chunk";
|
|
5648
6039
|
content: {
|
|
5649
6040
|
type: "text";
|
|
5650
6041
|
text: string;
|
|
@@ -5659,10 +6050,9 @@ export declare const methods: {
|
|
|
5659
6050
|
uri: string;
|
|
5660
6051
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5661
6052
|
};
|
|
6053
|
+
sessionUpdate: "user_message_chunk";
|
|
5662
6054
|
messageId?: string | undefined;
|
|
5663
6055
|
} | {
|
|
5664
|
-
sessionUpdate: "agent_message_chunk";
|
|
5665
|
-
messageId: string;
|
|
5666
6056
|
content: {
|
|
5667
6057
|
type: "text";
|
|
5668
6058
|
text: string;
|
|
@@ -5677,10 +6067,10 @@ export declare const methods: {
|
|
|
5677
6067
|
uri: string;
|
|
5678
6068
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5679
6069
|
};
|
|
6070
|
+
sessionUpdate: "agent_message_chunk";
|
|
6071
|
+
messageId: string;
|
|
5680
6072
|
parentToolCallId?: string | undefined;
|
|
5681
6073
|
} | {
|
|
5682
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5683
|
-
messageId: string;
|
|
5684
6074
|
content: {
|
|
5685
6075
|
type: "text";
|
|
5686
6076
|
text: string;
|
|
@@ -5695,6 +6085,8 @@ export declare const methods: {
|
|
|
5695
6085
|
uri: string;
|
|
5696
6086
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5697
6087
|
};
|
|
6088
|
+
sessionUpdate: "agent_thought_chunk";
|
|
6089
|
+
messageId: string;
|
|
5698
6090
|
parentToolCallId?: string | undefined;
|
|
5699
6091
|
} | {
|
|
5700
6092
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5912,6 +6304,9 @@ export declare const methods: {
|
|
|
5912
6304
|
sessionUpdate: "ls_error";
|
|
5913
6305
|
hint?: string | undefined;
|
|
5914
6306
|
};
|
|
6307
|
+
sessionId: string;
|
|
6308
|
+
seq: number;
|
|
6309
|
+
ts: number;
|
|
5915
6310
|
}[];
|
|
5916
6311
|
}>;
|
|
5917
6312
|
};
|
|
@@ -5931,11 +6326,11 @@ export declare const methods: {
|
|
|
5931
6326
|
mimeType: z.ZodString;
|
|
5932
6327
|
data: z.ZodString;
|
|
5933
6328
|
}, "strip", z.ZodTypeAny, {
|
|
5934
|
-
data: string;
|
|
5935
6329
|
mimeType: string;
|
|
5936
|
-
}, {
|
|
5937
6330
|
data: string;
|
|
6331
|
+
}, {
|
|
5938
6332
|
mimeType: string;
|
|
6333
|
+
data: string;
|
|
5939
6334
|
}>;
|
|
5940
6335
|
};
|
|
5941
6336
|
readonly "sessions.unsubscribe": {
|
|
@@ -6002,7 +6397,6 @@ export declare const methods: {
|
|
|
6002
6397
|
whenBusy: z.ZodOptional<z.ZodEnum<["queue"]>>;
|
|
6003
6398
|
}, "strip", z.ZodTypeAny, {
|
|
6004
6399
|
clientMessageId: string;
|
|
6005
|
-
sessionId: string;
|
|
6006
6400
|
content: ({
|
|
6007
6401
|
type: "text";
|
|
6008
6402
|
text: string;
|
|
@@ -6017,10 +6411,10 @@ export declare const methods: {
|
|
|
6017
6411
|
uri: string;
|
|
6018
6412
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6019
6413
|
})[];
|
|
6414
|
+
sessionId: string;
|
|
6020
6415
|
whenBusy?: "queue" | undefined;
|
|
6021
6416
|
}, {
|
|
6022
6417
|
clientMessageId: string;
|
|
6023
|
-
sessionId: string;
|
|
6024
6418
|
content: ({
|
|
6025
6419
|
type: "text";
|
|
6026
6420
|
text: string;
|
|
@@ -6035,6 +6429,7 @@ export declare const methods: {
|
|
|
6035
6429
|
uri: string;
|
|
6036
6430
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6037
6431
|
})[];
|
|
6432
|
+
sessionId: string;
|
|
6038
6433
|
whenBusy?: "queue" | undefined;
|
|
6039
6434
|
}>;
|
|
6040
6435
|
/** queued: held until the running turn ends (see `whenBusy`, `sessions.sendQueued`). */
|
|
@@ -6233,6 +6628,16 @@ export declare const methods: {
|
|
|
6233
6628
|
clientMessageId: string;
|
|
6234
6629
|
text: string;
|
|
6235
6630
|
}>, "many">>;
|
|
6631
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
6632
|
+
branch: z.ZodString;
|
|
6633
|
+
source: z.ZodString;
|
|
6634
|
+
}, "strip", z.ZodTypeAny, {
|
|
6635
|
+
branch: string;
|
|
6636
|
+
source: string;
|
|
6637
|
+
}, {
|
|
6638
|
+
branch: string;
|
|
6639
|
+
source: string;
|
|
6640
|
+
}>>;
|
|
6236
6641
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
6237
6642
|
total: z.ZodNumber;
|
|
6238
6643
|
running: z.ZodNumber;
|
|
@@ -6279,6 +6684,10 @@ export declare const methods: {
|
|
|
6279
6684
|
clientMessageId: string;
|
|
6280
6685
|
text: string;
|
|
6281
6686
|
}[] | undefined;
|
|
6687
|
+
worktree?: {
|
|
6688
|
+
branch: string;
|
|
6689
|
+
source: string;
|
|
6690
|
+
} | undefined;
|
|
6282
6691
|
subagents?: {
|
|
6283
6692
|
running: number;
|
|
6284
6693
|
total: number;
|
|
@@ -6319,6 +6728,10 @@ export declare const methods: {
|
|
|
6319
6728
|
clientMessageId: string;
|
|
6320
6729
|
text: string;
|
|
6321
6730
|
}[] | undefined;
|
|
6731
|
+
worktree?: {
|
|
6732
|
+
branch: string;
|
|
6733
|
+
source: string;
|
|
6734
|
+
} | undefined;
|
|
6322
6735
|
subagents?: {
|
|
6323
6736
|
running: number;
|
|
6324
6737
|
total: number;
|
|
@@ -6361,6 +6774,10 @@ export declare const methods: {
|
|
|
6361
6774
|
clientMessageId: string;
|
|
6362
6775
|
text: string;
|
|
6363
6776
|
}[] | undefined;
|
|
6777
|
+
worktree?: {
|
|
6778
|
+
branch: string;
|
|
6779
|
+
source: string;
|
|
6780
|
+
} | undefined;
|
|
6364
6781
|
subagents?: {
|
|
6365
6782
|
running: number;
|
|
6366
6783
|
total: number;
|
|
@@ -6403,6 +6820,10 @@ export declare const methods: {
|
|
|
6403
6820
|
clientMessageId: string;
|
|
6404
6821
|
text: string;
|
|
6405
6822
|
}[] | undefined;
|
|
6823
|
+
worktree?: {
|
|
6824
|
+
branch: string;
|
|
6825
|
+
source: string;
|
|
6826
|
+
} | undefined;
|
|
6406
6827
|
subagents?: {
|
|
6407
6828
|
running: number;
|
|
6408
6829
|
total: number;
|
|
@@ -6503,6 +6924,16 @@ export declare const methods: {
|
|
|
6503
6924
|
clientMessageId: string;
|
|
6504
6925
|
text: string;
|
|
6505
6926
|
}>, "many">>;
|
|
6927
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
6928
|
+
branch: z.ZodString;
|
|
6929
|
+
source: z.ZodString;
|
|
6930
|
+
}, "strip", z.ZodTypeAny, {
|
|
6931
|
+
branch: string;
|
|
6932
|
+
source: string;
|
|
6933
|
+
}, {
|
|
6934
|
+
branch: string;
|
|
6935
|
+
source: string;
|
|
6936
|
+
}>>;
|
|
6506
6937
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
6507
6938
|
total: z.ZodNumber;
|
|
6508
6939
|
running: z.ZodNumber;
|
|
@@ -6549,6 +6980,10 @@ export declare const methods: {
|
|
|
6549
6980
|
clientMessageId: string;
|
|
6550
6981
|
text: string;
|
|
6551
6982
|
}[] | undefined;
|
|
6983
|
+
worktree?: {
|
|
6984
|
+
branch: string;
|
|
6985
|
+
source: string;
|
|
6986
|
+
} | undefined;
|
|
6552
6987
|
subagents?: {
|
|
6553
6988
|
running: number;
|
|
6554
6989
|
total: number;
|
|
@@ -6589,6 +7024,10 @@ export declare const methods: {
|
|
|
6589
7024
|
clientMessageId: string;
|
|
6590
7025
|
text: string;
|
|
6591
7026
|
}[] | undefined;
|
|
7027
|
+
worktree?: {
|
|
7028
|
+
branch: string;
|
|
7029
|
+
source: string;
|
|
7030
|
+
} | undefined;
|
|
6592
7031
|
subagents?: {
|
|
6593
7032
|
running: number;
|
|
6594
7033
|
total: number;
|
|
@@ -6631,6 +7070,10 @@ export declare const methods: {
|
|
|
6631
7070
|
clientMessageId: string;
|
|
6632
7071
|
text: string;
|
|
6633
7072
|
}[] | undefined;
|
|
7073
|
+
worktree?: {
|
|
7074
|
+
branch: string;
|
|
7075
|
+
source: string;
|
|
7076
|
+
} | undefined;
|
|
6634
7077
|
subagents?: {
|
|
6635
7078
|
running: number;
|
|
6636
7079
|
total: number;
|
|
@@ -6673,6 +7116,10 @@ export declare const methods: {
|
|
|
6673
7116
|
clientMessageId: string;
|
|
6674
7117
|
text: string;
|
|
6675
7118
|
}[] | undefined;
|
|
7119
|
+
worktree?: {
|
|
7120
|
+
branch: string;
|
|
7121
|
+
source: string;
|
|
7122
|
+
} | undefined;
|
|
6676
7123
|
subagents?: {
|
|
6677
7124
|
running: number;
|
|
6678
7125
|
total: number;
|
|
@@ -6684,13 +7131,21 @@ export declare const methods: {
|
|
|
6684
7131
|
* Deletes a session: the agent's own record where it has one (Codex thread,
|
|
6685
7132
|
* Claude transcript), and LinkShell's copy either way. Not while it runs.
|
|
6686
7133
|
*/
|
|
7134
|
+
/**
|
|
7135
|
+
* Deletes a session. Its worktree (when it has one that no other session
|
|
7136
|
+
* uses) goes with it if nothing in it would be lost; `worktree: "remove"`
|
|
7137
|
+
* removes it even with uncommitted changes or new commits, "keep" never.
|
|
7138
|
+
*/
|
|
6687
7139
|
readonly "sessions.delete": {
|
|
6688
7140
|
readonly params: z.ZodObject<{
|
|
6689
7141
|
sessionId: z.ZodString;
|
|
7142
|
+
worktree: z.ZodOptional<z.ZodEnum<["keep", "remove"]>>;
|
|
6690
7143
|
}, "strip", z.ZodTypeAny, {
|
|
6691
7144
|
sessionId: string;
|
|
7145
|
+
worktree?: "keep" | "remove" | undefined;
|
|
6692
7146
|
}, {
|
|
6693
7147
|
sessionId: string;
|
|
7148
|
+
worktree?: "keep" | "remove" | undefined;
|
|
6694
7149
|
}>;
|
|
6695
7150
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
6696
7151
|
};
|
|
@@ -7033,6 +7488,113 @@ export declare const methods: {
|
|
|
7033
7488
|
}>;
|
|
7034
7489
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7035
7490
|
};
|
|
7491
|
+
/** What git says about `path`; no `git` when it isn't in a repository. */
|
|
7492
|
+
readonly "git.info": {
|
|
7493
|
+
readonly params: z.ZodObject<{
|
|
7494
|
+
path: z.ZodString;
|
|
7495
|
+
}, "strip", z.ZodTypeAny, {
|
|
7496
|
+
path: string;
|
|
7497
|
+
}, {
|
|
7498
|
+
path: string;
|
|
7499
|
+
}>;
|
|
7500
|
+
readonly result: z.ZodObject<{
|
|
7501
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
7502
|
+
root: z.ZodString;
|
|
7503
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
7504
|
+
head: z.ZodOptional<z.ZodString>;
|
|
7505
|
+
dirty: z.ZodBoolean;
|
|
7506
|
+
}, "strip", z.ZodTypeAny, {
|
|
7507
|
+
dirty: boolean;
|
|
7508
|
+
root: string;
|
|
7509
|
+
branch?: string | undefined;
|
|
7510
|
+
head?: string | undefined;
|
|
7511
|
+
}, {
|
|
7512
|
+
dirty: boolean;
|
|
7513
|
+
root: string;
|
|
7514
|
+
branch?: string | undefined;
|
|
7515
|
+
head?: string | undefined;
|
|
7516
|
+
}>>;
|
|
7517
|
+
}, "strip", z.ZodTypeAny, {
|
|
7518
|
+
git?: {
|
|
7519
|
+
dirty: boolean;
|
|
7520
|
+
root: string;
|
|
7521
|
+
branch?: string | undefined;
|
|
7522
|
+
head?: string | undefined;
|
|
7523
|
+
} | undefined;
|
|
7524
|
+
}, {
|
|
7525
|
+
git?: {
|
|
7526
|
+
dirty: boolean;
|
|
7527
|
+
root: string;
|
|
7528
|
+
branch?: string | undefined;
|
|
7529
|
+
head?: string | undefined;
|
|
7530
|
+
} | undefined;
|
|
7531
|
+
}>;
|
|
7532
|
+
};
|
|
7533
|
+
/** The worktrees LinkShell made, newest first. */
|
|
7534
|
+
readonly "worktrees.list": {
|
|
7535
|
+
readonly params: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7536
|
+
readonly result: z.ZodObject<{
|
|
7537
|
+
worktrees: z.ZodArray<z.ZodObject<{
|
|
7538
|
+
path: z.ZodString;
|
|
7539
|
+
branch: z.ZodString;
|
|
7540
|
+
source: z.ZodString;
|
|
7541
|
+
createdAt: z.ZodNumber;
|
|
7542
|
+
sessions: z.ZodArray<z.ZodString, "many">;
|
|
7543
|
+
dirty: z.ZodBoolean;
|
|
7544
|
+
ahead: z.ZodNumber;
|
|
7545
|
+
}, "strip", z.ZodTypeAny, {
|
|
7546
|
+
dirty: boolean;
|
|
7547
|
+
path: string;
|
|
7548
|
+
createdAt: number;
|
|
7549
|
+
branch: string;
|
|
7550
|
+
source: string;
|
|
7551
|
+
sessions: string[];
|
|
7552
|
+
ahead: number;
|
|
7553
|
+
}, {
|
|
7554
|
+
dirty: boolean;
|
|
7555
|
+
path: string;
|
|
7556
|
+
createdAt: number;
|
|
7557
|
+
branch: string;
|
|
7558
|
+
source: string;
|
|
7559
|
+
sessions: string[];
|
|
7560
|
+
ahead: number;
|
|
7561
|
+
}>, "many">;
|
|
7562
|
+
}, "strip", z.ZodTypeAny, {
|
|
7563
|
+
worktrees: {
|
|
7564
|
+
dirty: boolean;
|
|
7565
|
+
path: string;
|
|
7566
|
+
createdAt: number;
|
|
7567
|
+
branch: string;
|
|
7568
|
+
source: string;
|
|
7569
|
+
sessions: string[];
|
|
7570
|
+
ahead: number;
|
|
7571
|
+
}[];
|
|
7572
|
+
}, {
|
|
7573
|
+
worktrees: {
|
|
7574
|
+
dirty: boolean;
|
|
7575
|
+
path: string;
|
|
7576
|
+
createdAt: number;
|
|
7577
|
+
branch: string;
|
|
7578
|
+
source: string;
|
|
7579
|
+
sessions: string[];
|
|
7580
|
+
ahead: number;
|
|
7581
|
+
}[];
|
|
7582
|
+
}>;
|
|
7583
|
+
};
|
|
7584
|
+
/** Removes a worktree and its branch. Refused (`busy`) while a session uses it, or (`dirty`) when work in it would be lost, unless `force`. */
|
|
7585
|
+
readonly "worktrees.remove": {
|
|
7586
|
+
readonly params: z.ZodObject<{
|
|
7587
|
+
path: z.ZodString;
|
|
7588
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
7589
|
+
}, "strip", z.ZodTypeAny, {
|
|
7590
|
+
path: string;
|
|
7591
|
+
force?: boolean | undefined;
|
|
7592
|
+
}, {
|
|
7593
|
+
path: string;
|
|
7594
|
+
force?: boolean | undefined;
|
|
7595
|
+
}>;
|
|
7596
|
+
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7597
|
+
};
|
|
7036
7598
|
/** Subdirectories of `path` (default: the home directory). */
|
|
7037
7599
|
readonly "fs.list": {
|
|
7038
7600
|
readonly params: z.ZodObject<{
|
|
@@ -7064,14 +7626,14 @@ export declare const methods: {
|
|
|
7064
7626
|
}, "strip", z.ZodTypeAny, {
|
|
7065
7627
|
path: string;
|
|
7066
7628
|
name: string;
|
|
7067
|
-
project?: boolean | undefined;
|
|
7068
7629
|
file?: boolean | undefined;
|
|
7630
|
+
project?: boolean | undefined;
|
|
7069
7631
|
size?: number | undefined;
|
|
7070
7632
|
}, {
|
|
7071
7633
|
path: string;
|
|
7072
7634
|
name: string;
|
|
7073
|
-
project?: boolean | undefined;
|
|
7074
7635
|
file?: boolean | undefined;
|
|
7636
|
+
project?: boolean | undefined;
|
|
7075
7637
|
size?: number | undefined;
|
|
7076
7638
|
}>, "many">;
|
|
7077
7639
|
/** The directory holds more than a listing carries (1000 entries). */
|
|
@@ -7081,8 +7643,8 @@ export declare const methods: {
|
|
|
7081
7643
|
entries: {
|
|
7082
7644
|
path: string;
|
|
7083
7645
|
name: string;
|
|
7084
|
-
project?: boolean | undefined;
|
|
7085
7646
|
file?: boolean | undefined;
|
|
7647
|
+
project?: boolean | undefined;
|
|
7086
7648
|
size?: number | undefined;
|
|
7087
7649
|
}[];
|
|
7088
7650
|
home: string;
|
|
@@ -7093,8 +7655,8 @@ export declare const methods: {
|
|
|
7093
7655
|
entries: {
|
|
7094
7656
|
path: string;
|
|
7095
7657
|
name: string;
|
|
7096
|
-
project?: boolean | undefined;
|
|
7097
7658
|
file?: boolean | undefined;
|
|
7659
|
+
project?: boolean | undefined;
|
|
7098
7660
|
size?: number | undefined;
|
|
7099
7661
|
}[];
|
|
7100
7662
|
home: string;
|
|
@@ -7142,8 +7704,8 @@ export declare const methods: {
|
|
|
7142
7704
|
truncated: boolean;
|
|
7143
7705
|
modifiedAt: number;
|
|
7144
7706
|
text?: string | undefined;
|
|
7145
|
-
data?: string | undefined;
|
|
7146
7707
|
mimeType?: string | undefined;
|
|
7708
|
+
data?: string | undefined;
|
|
7147
7709
|
nextOffset?: number | undefined;
|
|
7148
7710
|
}, {
|
|
7149
7711
|
path: string;
|
|
@@ -7152,8 +7714,8 @@ export declare const methods: {
|
|
|
7152
7714
|
truncated: boolean;
|
|
7153
7715
|
modifiedAt: number;
|
|
7154
7716
|
text?: string | undefined;
|
|
7155
|
-
data?: string | undefined;
|
|
7156
7717
|
mimeType?: string | undefined;
|
|
7718
|
+
data?: string | undefined;
|
|
7157
7719
|
nextOffset?: number | undefined;
|
|
7158
7720
|
}>;
|
|
7159
7721
|
};
|
|
@@ -7213,8 +7775,8 @@ export declare const methods: {
|
|
|
7213
7775
|
query: z.ZodString;
|
|
7214
7776
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
7215
7777
|
}, "strip", z.ZodTypeAny, {
|
|
7216
|
-
limit: number;
|
|
7217
7778
|
query: string;
|
|
7779
|
+
limit: number;
|
|
7218
7780
|
}, {
|
|
7219
7781
|
query: string;
|
|
7220
7782
|
limit?: number | undefined;
|
|
@@ -7231,14 +7793,14 @@ export declare const methods: {
|
|
|
7231
7793
|
}, "strip", z.ZodTypeAny, {
|
|
7232
7794
|
path: string;
|
|
7233
7795
|
name: string;
|
|
7234
|
-
project?: boolean | undefined;
|
|
7235
7796
|
file?: boolean | undefined;
|
|
7797
|
+
project?: boolean | undefined;
|
|
7236
7798
|
size?: number | undefined;
|
|
7237
7799
|
}, {
|
|
7238
7800
|
path: string;
|
|
7239
7801
|
name: string;
|
|
7240
|
-
project?: boolean | undefined;
|
|
7241
7802
|
file?: boolean | undefined;
|
|
7803
|
+
project?: boolean | undefined;
|
|
7242
7804
|
size?: number | undefined;
|
|
7243
7805
|
}>, "many">;
|
|
7244
7806
|
truncated: z.ZodBoolean;
|
|
@@ -7246,8 +7808,8 @@ export declare const methods: {
|
|
|
7246
7808
|
entries: {
|
|
7247
7809
|
path: string;
|
|
7248
7810
|
name: string;
|
|
7249
|
-
project?: boolean | undefined;
|
|
7250
7811
|
file?: boolean | undefined;
|
|
7812
|
+
project?: boolean | undefined;
|
|
7251
7813
|
size?: number | undefined;
|
|
7252
7814
|
}[];
|
|
7253
7815
|
truncated: boolean;
|
|
@@ -7255,8 +7817,8 @@ export declare const methods: {
|
|
|
7255
7817
|
entries: {
|
|
7256
7818
|
path: string;
|
|
7257
7819
|
name: string;
|
|
7258
|
-
project?: boolean | undefined;
|
|
7259
7820
|
file?: boolean | undefined;
|
|
7821
|
+
project?: boolean | undefined;
|
|
7260
7822
|
size?: number | undefined;
|
|
7261
7823
|
}[];
|
|
7262
7824
|
truncated: boolean;
|
|
@@ -7729,7 +8291,6 @@ export declare const notifications: {
|
|
|
7729
8291
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7730
8292
|
}>]>;
|
|
7731
8293
|
}, "strip", z.ZodTypeAny, {
|
|
7732
|
-
sessionUpdate: "user_message_chunk";
|
|
7733
8294
|
content: {
|
|
7734
8295
|
type: "text";
|
|
7735
8296
|
text: string;
|
|
@@ -7744,9 +8305,9 @@ export declare const notifications: {
|
|
|
7744
8305
|
uri: string;
|
|
7745
8306
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7746
8307
|
};
|
|
8308
|
+
sessionUpdate: "user_message_chunk";
|
|
7747
8309
|
messageId?: string | undefined;
|
|
7748
8310
|
}, {
|
|
7749
|
-
sessionUpdate: "user_message_chunk";
|
|
7750
8311
|
content: {
|
|
7751
8312
|
type: "text";
|
|
7752
8313
|
text: string;
|
|
@@ -7761,6 +8322,7 @@ export declare const notifications: {
|
|
|
7761
8322
|
uri: string;
|
|
7762
8323
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7763
8324
|
};
|
|
8325
|
+
sessionUpdate: "user_message_chunk";
|
|
7764
8326
|
messageId?: string | undefined;
|
|
7765
8327
|
}>, z.ZodObject<{
|
|
7766
8328
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -7807,8 +8369,6 @@ export declare const notifications: {
|
|
|
7807
8369
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7808
8370
|
}>]>;
|
|
7809
8371
|
}, "strip", z.ZodTypeAny, {
|
|
7810
|
-
sessionUpdate: "agent_message_chunk";
|
|
7811
|
-
messageId: string;
|
|
7812
8372
|
content: {
|
|
7813
8373
|
type: "text";
|
|
7814
8374
|
text: string;
|
|
@@ -7823,10 +8383,10 @@ export declare const notifications: {
|
|
|
7823
8383
|
uri: string;
|
|
7824
8384
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7825
8385
|
};
|
|
7826
|
-
parentToolCallId?: string | undefined;
|
|
7827
|
-
}, {
|
|
7828
8386
|
sessionUpdate: "agent_message_chunk";
|
|
7829
8387
|
messageId: string;
|
|
8388
|
+
parentToolCallId?: string | undefined;
|
|
8389
|
+
}, {
|
|
7830
8390
|
content: {
|
|
7831
8391
|
type: "text";
|
|
7832
8392
|
text: string;
|
|
@@ -7841,6 +8401,8 @@ export declare const notifications: {
|
|
|
7841
8401
|
uri: string;
|
|
7842
8402
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7843
8403
|
};
|
|
8404
|
+
sessionUpdate: "agent_message_chunk";
|
|
8405
|
+
messageId: string;
|
|
7844
8406
|
parentToolCallId?: string | undefined;
|
|
7845
8407
|
}>, z.ZodObject<{
|
|
7846
8408
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -7887,8 +8449,6 @@ export declare const notifications: {
|
|
|
7887
8449
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7888
8450
|
}>]>;
|
|
7889
8451
|
}, "strip", z.ZodTypeAny, {
|
|
7890
|
-
sessionUpdate: "agent_thought_chunk";
|
|
7891
|
-
messageId: string;
|
|
7892
8452
|
content: {
|
|
7893
8453
|
type: "text";
|
|
7894
8454
|
text: string;
|
|
@@ -7903,10 +8463,10 @@ export declare const notifications: {
|
|
|
7903
8463
|
uri: string;
|
|
7904
8464
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7905
8465
|
};
|
|
7906
|
-
parentToolCallId?: string | undefined;
|
|
7907
|
-
}, {
|
|
7908
8466
|
sessionUpdate: "agent_thought_chunk";
|
|
7909
8467
|
messageId: string;
|
|
8468
|
+
parentToolCallId?: string | undefined;
|
|
8469
|
+
}, {
|
|
7910
8470
|
content: {
|
|
7911
8471
|
type: "text";
|
|
7912
8472
|
text: string;
|
|
@@ -7921,6 +8481,8 @@ export declare const notifications: {
|
|
|
7921
8481
|
uri: string;
|
|
7922
8482
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
7923
8483
|
};
|
|
8484
|
+
sessionUpdate: "agent_thought_chunk";
|
|
8485
|
+
messageId: string;
|
|
7924
8486
|
parentToolCallId?: string | undefined;
|
|
7925
8487
|
}>, z.ZodObject<{
|
|
7926
8488
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -8899,11 +9461,7 @@ export declare const notifications: {
|
|
|
8899
9461
|
hint?: string | undefined;
|
|
8900
9462
|
}>]>;
|
|
8901
9463
|
}, "strip", z.ZodTypeAny, {
|
|
8902
|
-
sessionId: string;
|
|
8903
|
-
seq: number;
|
|
8904
|
-
ts: number;
|
|
8905
9464
|
update: {
|
|
8906
|
-
sessionUpdate: "user_message_chunk";
|
|
8907
9465
|
content: {
|
|
8908
9466
|
type: "text";
|
|
8909
9467
|
text: string;
|
|
@@ -8918,10 +9476,9 @@ export declare const notifications: {
|
|
|
8918
9476
|
uri: string;
|
|
8919
9477
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8920
9478
|
};
|
|
9479
|
+
sessionUpdate: "user_message_chunk";
|
|
8921
9480
|
messageId?: string | undefined;
|
|
8922
9481
|
} | {
|
|
8923
|
-
sessionUpdate: "agent_message_chunk";
|
|
8924
|
-
messageId: string;
|
|
8925
9482
|
content: {
|
|
8926
9483
|
type: "text";
|
|
8927
9484
|
text: string;
|
|
@@ -8936,10 +9493,10 @@ export declare const notifications: {
|
|
|
8936
9493
|
uri: string;
|
|
8937
9494
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8938
9495
|
};
|
|
9496
|
+
sessionUpdate: "agent_message_chunk";
|
|
9497
|
+
messageId: string;
|
|
8939
9498
|
parentToolCallId?: string | undefined;
|
|
8940
9499
|
} | {
|
|
8941
|
-
sessionUpdate: "agent_thought_chunk";
|
|
8942
|
-
messageId: string;
|
|
8943
9500
|
content: {
|
|
8944
9501
|
type: "text";
|
|
8945
9502
|
text: string;
|
|
@@ -8954,6 +9511,8 @@ export declare const notifications: {
|
|
|
8954
9511
|
uri: string;
|
|
8955
9512
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8956
9513
|
};
|
|
9514
|
+
sessionUpdate: "agent_thought_chunk";
|
|
9515
|
+
messageId: string;
|
|
8957
9516
|
parentToolCallId?: string | undefined;
|
|
8958
9517
|
} | {
|
|
8959
9518
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -9171,12 +9730,11 @@ export declare const notifications: {
|
|
|
9171
9730
|
sessionUpdate: "ls_error";
|
|
9172
9731
|
hint?: string | undefined;
|
|
9173
9732
|
};
|
|
9174
|
-
}, {
|
|
9175
9733
|
sessionId: string;
|
|
9176
9734
|
seq: number;
|
|
9177
9735
|
ts: number;
|
|
9736
|
+
}, {
|
|
9178
9737
|
update: {
|
|
9179
|
-
sessionUpdate: "user_message_chunk";
|
|
9180
9738
|
content: {
|
|
9181
9739
|
type: "text";
|
|
9182
9740
|
text: string;
|
|
@@ -9191,10 +9749,9 @@ export declare const notifications: {
|
|
|
9191
9749
|
uri: string;
|
|
9192
9750
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9193
9751
|
};
|
|
9752
|
+
sessionUpdate: "user_message_chunk";
|
|
9194
9753
|
messageId?: string | undefined;
|
|
9195
9754
|
} | {
|
|
9196
|
-
sessionUpdate: "agent_message_chunk";
|
|
9197
|
-
messageId: string;
|
|
9198
9755
|
content: {
|
|
9199
9756
|
type: "text";
|
|
9200
9757
|
text: string;
|
|
@@ -9209,10 +9766,10 @@ export declare const notifications: {
|
|
|
9209
9766
|
uri: string;
|
|
9210
9767
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9211
9768
|
};
|
|
9769
|
+
sessionUpdate: "agent_message_chunk";
|
|
9770
|
+
messageId: string;
|
|
9212
9771
|
parentToolCallId?: string | undefined;
|
|
9213
9772
|
} | {
|
|
9214
|
-
sessionUpdate: "agent_thought_chunk";
|
|
9215
|
-
messageId: string;
|
|
9216
9773
|
content: {
|
|
9217
9774
|
type: "text";
|
|
9218
9775
|
text: string;
|
|
@@ -9227,6 +9784,8 @@ export declare const notifications: {
|
|
|
9227
9784
|
uri: string;
|
|
9228
9785
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9229
9786
|
};
|
|
9787
|
+
sessionUpdate: "agent_thought_chunk";
|
|
9788
|
+
messageId: string;
|
|
9230
9789
|
parentToolCallId?: string | undefined;
|
|
9231
9790
|
} | {
|
|
9232
9791
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -9444,6 +10003,9 @@ export declare const notifications: {
|
|
|
9444
10003
|
sessionUpdate: "ls_error";
|
|
9445
10004
|
hint?: string | undefined;
|
|
9446
10005
|
};
|
|
10006
|
+
sessionId: string;
|
|
10007
|
+
seq: number;
|
|
10008
|
+
ts: number;
|
|
9447
10009
|
}>;
|
|
9448
10010
|
/**
|
|
9449
10011
|
* Sent before a subscription's backlog when it doesn't continue from the
|
|
@@ -9541,6 +10103,16 @@ export declare const notifications: {
|
|
|
9541
10103
|
clientMessageId: string;
|
|
9542
10104
|
text: string;
|
|
9543
10105
|
}>, "many">>;
|
|
10106
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
10107
|
+
branch: z.ZodString;
|
|
10108
|
+
source: z.ZodString;
|
|
10109
|
+
}, "strip", z.ZodTypeAny, {
|
|
10110
|
+
branch: string;
|
|
10111
|
+
source: string;
|
|
10112
|
+
}, {
|
|
10113
|
+
branch: string;
|
|
10114
|
+
source: string;
|
|
10115
|
+
}>>;
|
|
9544
10116
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
9545
10117
|
total: z.ZodNumber;
|
|
9546
10118
|
running: z.ZodNumber;
|
|
@@ -9587,6 +10159,10 @@ export declare const notifications: {
|
|
|
9587
10159
|
clientMessageId: string;
|
|
9588
10160
|
text: string;
|
|
9589
10161
|
}[] | undefined;
|
|
10162
|
+
worktree?: {
|
|
10163
|
+
branch: string;
|
|
10164
|
+
source: string;
|
|
10165
|
+
} | undefined;
|
|
9590
10166
|
subagents?: {
|
|
9591
10167
|
running: number;
|
|
9592
10168
|
total: number;
|
|
@@ -9627,6 +10203,10 @@ export declare const notifications: {
|
|
|
9627
10203
|
clientMessageId: string;
|
|
9628
10204
|
text: string;
|
|
9629
10205
|
}[] | undefined;
|
|
10206
|
+
worktree?: {
|
|
10207
|
+
branch: string;
|
|
10208
|
+
source: string;
|
|
10209
|
+
} | undefined;
|
|
9630
10210
|
subagents?: {
|
|
9631
10211
|
running: number;
|
|
9632
10212
|
total: number;
|
|
@@ -9669,6 +10249,10 @@ export declare const notifications: {
|
|
|
9669
10249
|
clientMessageId: string;
|
|
9670
10250
|
text: string;
|
|
9671
10251
|
}[] | undefined;
|
|
10252
|
+
worktree?: {
|
|
10253
|
+
branch: string;
|
|
10254
|
+
source: string;
|
|
10255
|
+
} | undefined;
|
|
9672
10256
|
subagents?: {
|
|
9673
10257
|
running: number;
|
|
9674
10258
|
total: number;
|
|
@@ -9711,6 +10295,10 @@ export declare const notifications: {
|
|
|
9711
10295
|
clientMessageId: string;
|
|
9712
10296
|
text: string;
|
|
9713
10297
|
}[] | undefined;
|
|
10298
|
+
worktree?: {
|
|
10299
|
+
branch: string;
|
|
10300
|
+
source: string;
|
|
10301
|
+
} | undefined;
|
|
9714
10302
|
subagents?: {
|
|
9715
10303
|
running: number;
|
|
9716
10304
|
total: number;
|
|
@@ -9738,11 +10326,11 @@ export declare const notifications: {
|
|
|
9738
10326
|
sessionId: z.ZodString;
|
|
9739
10327
|
line: z.ZodString;
|
|
9740
10328
|
}, "strip", z.ZodTypeAny, {
|
|
9741
|
-
sessionId: string;
|
|
9742
10329
|
line: string;
|
|
9743
|
-
}, {
|
|
9744
10330
|
sessionId: string;
|
|
10331
|
+
}, {
|
|
9745
10332
|
line: string;
|
|
10333
|
+
sessionId: string;
|
|
9746
10334
|
}>;
|
|
9747
10335
|
readonly "pairing.done": z.ZodObject<{
|
|
9748
10336
|
device: z.ZodObject<{
|
|
@@ -9865,12 +10453,12 @@ export declare const notifications: {
|
|
|
9865
10453
|
data: z.ZodString;
|
|
9866
10454
|
}, "strip", z.ZodTypeAny, {
|
|
9867
10455
|
data: string;
|
|
9868
|
-
seq: number;
|
|
9869
10456
|
terminalId: string;
|
|
10457
|
+
seq: number;
|
|
9870
10458
|
}, {
|
|
9871
10459
|
data: string;
|
|
9872
|
-
seq: number;
|
|
9873
10460
|
terminalId: string;
|
|
10461
|
+
seq: number;
|
|
9874
10462
|
}>;
|
|
9875
10463
|
/** A terminal's list entry changed (title, size, exit), or it was closed (`closed`). */
|
|
9876
10464
|
readonly "terminal.changed": z.ZodObject<{
|