linkshell-cli 0.6.3 → 0.7.0
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/host/src/direct.d.ts +32 -0
- package/dist/host/src/direct.js +144 -0
- package/dist/host/src/direct.js.map +1 -0
- package/dist/host/src/drivers/acp/connection.js +3 -0
- package/dist/host/src/drivers/acp/connection.js.map +1 -1
- package/dist/host/src/drivers/acp/driver.d.ts +10 -1
- package/dist/host/src/drivers/acp/driver.js +48 -0
- package/dist/host/src/drivers/acp/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/transcript.d.ts +88 -61
- package/dist/host/src/drivers/claude/transcript.js +8 -0
- package/dist/host/src/drivers/claude/transcript.js.map +1 -1
- package/dist/host/src/drivers/codex/app-server.d.ts +4 -0
- package/dist/host/src/drivers/codex/app-server.js +28 -2
- package/dist/host/src/drivers/codex/app-server.js.map +1 -1
- package/dist/host/src/drivers/codex/driver.d.ts +2 -1
- package/dist/host/src/drivers/codex/driver.js +17 -4
- package/dist/host/src/drivers/codex/driver.js.map +1 -1
- package/dist/host/src/drivers/codex/mapper.d.ts +11 -1
- package/dist/host/src/drivers/codex/mapper.js +80 -0
- package/dist/host/src/drivers/codex/mapper.js.map +1 -1
- package/dist/host/src/drivers/codex/settings.d.ts +7 -2
- package/dist/host/src/drivers/codex/settings.js +21 -2
- package/dist/host/src/drivers/codex/settings.js.map +1 -1
- package/dist/host/src/drivers/types.d.ts +3 -1
- package/dist/host/src/fs.d.ts +3 -3
- package/dist/host/src/host.d.ts +8 -1
- package/dist/host/src/host.js +14 -0
- package/dist/host/src/host.js.map +1 -1
- package/dist/host/src/hub.d.ts +3 -1
- package/dist/host/src/hub.js +25 -0
- package/dist/host/src/hub.js.map +1 -1
- package/dist/host/src/ports.d.ts +11 -2
- package/dist/host/src/ports.js +45 -7
- package/dist/host/src/ports.js.map +1 -1
- package/dist/host/src/questions.d.ts +21 -0
- package/dist/host/src/questions.js +102 -0
- package/dist/host/src/questions.js.map +1 -0
- package/dist/host/src/rpc/server.js +11 -2
- package/dist/host/src/rpc/server.js.map +1 -1
- package/dist/host/src/screen.d.ts +21 -0
- package/dist/host/src/screen.js +25 -12
- package/dist/host/src/screen.js.map +1 -1
- package/dist/wire/src/direct.d.ts +22 -0
- package/dist/wire/src/direct.js +37 -0
- package/dist/wire/src/direct.js.map +1 -0
- package/dist/wire/src/index.d.ts +1 -0
- package/dist/wire/src/index.js +1 -0
- package/dist/wire/src/index.js.map +1 -1
- package/dist/wire/src/model.d.ts +287 -6
- package/dist/wire/src/model.js +33 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +1865 -170
- package/dist/wire/src/rpc.js +27 -3
- package/dist/wire/src/rpc.js.map +1 -1
- package/dist/wire/src/updates.d.ts +390 -34
- package/dist/wire/src/updates.js +11 -1
- package/dist/wire/src/updates.js.map +1 -1
- package/package.json +3 -3
- package/src/types/werift.d.ts +0 -23
package/dist/wire/src/rpc.d.ts
CHANGED
|
@@ -76,14 +76,14 @@ export declare const directoryEntrySchema: z.ZodObject<{
|
|
|
76
76
|
path: string;
|
|
77
77
|
name: string;
|
|
78
78
|
file?: boolean | undefined;
|
|
79
|
-
size?: number | undefined;
|
|
80
79
|
project?: boolean | undefined;
|
|
80
|
+
size?: number | undefined;
|
|
81
81
|
}, {
|
|
82
82
|
path: string;
|
|
83
83
|
name: string;
|
|
84
84
|
file?: boolean | undefined;
|
|
85
|
-
size?: number | undefined;
|
|
86
85
|
project?: boolean | undefined;
|
|
86
|
+
size?: number | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export type DirectoryEntry = z.infer<typeof directoryEntrySchema>;
|
|
89
89
|
export declare const methods: {
|
|
@@ -183,6 +183,13 @@ export declare const methods: {
|
|
|
183
183
|
hint?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}>, "many">;
|
|
186
|
+
direct: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
iceServers: z.ZodArray<z.ZodString, "many">;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
iceServers: string[];
|
|
190
|
+
}, {
|
|
191
|
+
iceServers: string[];
|
|
192
|
+
}>>;
|
|
186
193
|
}, "strip", z.ZodTypeAny, {
|
|
187
194
|
machineId: string;
|
|
188
195
|
hostname: string;
|
|
@@ -211,6 +218,9 @@ export declare const methods: {
|
|
|
211
218
|
} | undefined;
|
|
212
219
|
}[];
|
|
213
220
|
home?: string | undefined;
|
|
221
|
+
direct?: {
|
|
222
|
+
iceServers: string[];
|
|
223
|
+
} | undefined;
|
|
214
224
|
}, {
|
|
215
225
|
machineId: string;
|
|
216
226
|
hostname: string;
|
|
@@ -239,6 +249,9 @@ export declare const methods: {
|
|
|
239
249
|
} | undefined;
|
|
240
250
|
}[];
|
|
241
251
|
home?: string | undefined;
|
|
252
|
+
direct?: {
|
|
253
|
+
iceServers: string[];
|
|
254
|
+
} | undefined;
|
|
242
255
|
}>;
|
|
243
256
|
};
|
|
244
257
|
readonly "projects.list": {
|
|
@@ -295,12 +308,12 @@ export declare const methods: {
|
|
|
295
308
|
includeArchived: z.ZodOptional<z.ZodBoolean>;
|
|
296
309
|
}, "strip", z.ZodTypeAny, {
|
|
297
310
|
limit?: number | undefined;
|
|
298
|
-
includeArchived?: boolean | undefined;
|
|
299
311
|
before?: number | undefined;
|
|
312
|
+
includeArchived?: boolean | undefined;
|
|
300
313
|
}, {
|
|
301
314
|
limit?: number | undefined;
|
|
302
|
-
includeArchived?: boolean | undefined;
|
|
303
315
|
before?: number | undefined;
|
|
316
|
+
includeArchived?: boolean | undefined;
|
|
304
317
|
}>;
|
|
305
318
|
readonly result: z.ZodObject<{
|
|
306
319
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -349,6 +362,54 @@ export declare const methods: {
|
|
|
349
362
|
name: string;
|
|
350
363
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
351
364
|
}>, "many">;
|
|
365
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
366
|
+
id: z.ZodString;
|
|
367
|
+
header: z.ZodOptional<z.ZodString>;
|
|
368
|
+
text: z.ZodString;
|
|
369
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
370
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
371
|
+
value: z.ZodString;
|
|
372
|
+
label: z.ZodString;
|
|
373
|
+
description: z.ZodOptional<z.ZodString>;
|
|
374
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
|
+
value: string;
|
|
376
|
+
label: string;
|
|
377
|
+
description?: string | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
value: string;
|
|
380
|
+
label: string;
|
|
381
|
+
description?: string | undefined;
|
|
382
|
+
}>, "many">>;
|
|
383
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
id: string;
|
|
388
|
+
kind: "text" | "choice" | "choices";
|
|
389
|
+
text: string;
|
|
390
|
+
options?: {
|
|
391
|
+
value: string;
|
|
392
|
+
label: string;
|
|
393
|
+
description?: string | undefined;
|
|
394
|
+
}[] | undefined;
|
|
395
|
+
other?: boolean | undefined;
|
|
396
|
+
header?: string | undefined;
|
|
397
|
+
secret?: boolean | undefined;
|
|
398
|
+
required?: boolean | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
id: string;
|
|
401
|
+
kind: "text" | "choice" | "choices";
|
|
402
|
+
text: string;
|
|
403
|
+
options?: {
|
|
404
|
+
value: string;
|
|
405
|
+
label: string;
|
|
406
|
+
description?: string | undefined;
|
|
407
|
+
}[] | undefined;
|
|
408
|
+
other?: boolean | undefined;
|
|
409
|
+
header?: string | undefined;
|
|
410
|
+
secret?: boolean | undefined;
|
|
411
|
+
required?: boolean | undefined;
|
|
412
|
+
}>, "many">>;
|
|
352
413
|
}, "strip", z.ZodTypeAny, {
|
|
353
414
|
options: {
|
|
354
415
|
optionId: string;
|
|
@@ -359,6 +420,20 @@ export declare const methods: {
|
|
|
359
420
|
requestId: string;
|
|
360
421
|
toolCallId?: string | undefined;
|
|
361
422
|
detail?: string | undefined;
|
|
423
|
+
questions?: {
|
|
424
|
+
id: string;
|
|
425
|
+
kind: "text" | "choice" | "choices";
|
|
426
|
+
text: string;
|
|
427
|
+
options?: {
|
|
428
|
+
value: string;
|
|
429
|
+
label: string;
|
|
430
|
+
description?: string | undefined;
|
|
431
|
+
}[] | undefined;
|
|
432
|
+
other?: boolean | undefined;
|
|
433
|
+
header?: string | undefined;
|
|
434
|
+
secret?: boolean | undefined;
|
|
435
|
+
required?: boolean | undefined;
|
|
436
|
+
}[] | undefined;
|
|
362
437
|
}, {
|
|
363
438
|
options: {
|
|
364
439
|
optionId: string;
|
|
@@ -369,6 +444,20 @@ export declare const methods: {
|
|
|
369
444
|
requestId: string;
|
|
370
445
|
toolCallId?: string | undefined;
|
|
371
446
|
detail?: string | undefined;
|
|
447
|
+
questions?: {
|
|
448
|
+
id: string;
|
|
449
|
+
kind: "text" | "choice" | "choices";
|
|
450
|
+
text: string;
|
|
451
|
+
options?: {
|
|
452
|
+
value: string;
|
|
453
|
+
label: string;
|
|
454
|
+
description?: string | undefined;
|
|
455
|
+
}[] | undefined;
|
|
456
|
+
other?: boolean | undefined;
|
|
457
|
+
header?: string | undefined;
|
|
458
|
+
secret?: boolean | undefined;
|
|
459
|
+
required?: boolean | undefined;
|
|
460
|
+
}[] | undefined;
|
|
372
461
|
}>>;
|
|
373
462
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
374
463
|
clientMessageId: z.ZodString;
|
|
@@ -376,12 +465,12 @@ export declare const methods: {
|
|
|
376
465
|
images: z.ZodNumber;
|
|
377
466
|
}, "strip", z.ZodTypeAny, {
|
|
378
467
|
images: number;
|
|
379
|
-
clientMessageId: string;
|
|
380
468
|
text: string;
|
|
469
|
+
clientMessageId: string;
|
|
381
470
|
}, {
|
|
382
471
|
images: number;
|
|
383
|
-
clientMessageId: string;
|
|
384
472
|
text: string;
|
|
473
|
+
clientMessageId: string;
|
|
385
474
|
}>, "many">>;
|
|
386
475
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
387
476
|
branch: z.ZodString;
|
|
@@ -433,11 +522,25 @@ export declare const methods: {
|
|
|
433
522
|
requestId: string;
|
|
434
523
|
toolCallId?: string | undefined;
|
|
435
524
|
detail?: string | undefined;
|
|
525
|
+
questions?: {
|
|
526
|
+
id: string;
|
|
527
|
+
kind: "text" | "choice" | "choices";
|
|
528
|
+
text: string;
|
|
529
|
+
options?: {
|
|
530
|
+
value: string;
|
|
531
|
+
label: string;
|
|
532
|
+
description?: string | undefined;
|
|
533
|
+
}[] | undefined;
|
|
534
|
+
other?: boolean | undefined;
|
|
535
|
+
header?: string | undefined;
|
|
536
|
+
secret?: boolean | undefined;
|
|
537
|
+
required?: boolean | undefined;
|
|
538
|
+
}[] | undefined;
|
|
436
539
|
} | undefined;
|
|
437
540
|
queue?: {
|
|
438
541
|
images: number;
|
|
439
|
-
clientMessageId: string;
|
|
440
542
|
text: string;
|
|
543
|
+
clientMessageId: string;
|
|
441
544
|
}[] | undefined;
|
|
442
545
|
worktree?: {
|
|
443
546
|
branch: string;
|
|
@@ -477,11 +580,25 @@ export declare const methods: {
|
|
|
477
580
|
requestId: string;
|
|
478
581
|
toolCallId?: string | undefined;
|
|
479
582
|
detail?: string | undefined;
|
|
583
|
+
questions?: {
|
|
584
|
+
id: string;
|
|
585
|
+
kind: "text" | "choice" | "choices";
|
|
586
|
+
text: string;
|
|
587
|
+
options?: {
|
|
588
|
+
value: string;
|
|
589
|
+
label: string;
|
|
590
|
+
description?: string | undefined;
|
|
591
|
+
}[] | undefined;
|
|
592
|
+
other?: boolean | undefined;
|
|
593
|
+
header?: string | undefined;
|
|
594
|
+
secret?: boolean | undefined;
|
|
595
|
+
required?: boolean | undefined;
|
|
596
|
+
}[] | undefined;
|
|
480
597
|
} | undefined;
|
|
481
598
|
queue?: {
|
|
482
599
|
images: number;
|
|
483
|
-
clientMessageId: string;
|
|
484
600
|
text: string;
|
|
601
|
+
clientMessageId: string;
|
|
485
602
|
}[] | undefined;
|
|
486
603
|
worktree?: {
|
|
487
604
|
branch: string;
|
|
@@ -524,11 +641,25 @@ export declare const methods: {
|
|
|
524
641
|
requestId: string;
|
|
525
642
|
toolCallId?: string | undefined;
|
|
526
643
|
detail?: string | undefined;
|
|
644
|
+
questions?: {
|
|
645
|
+
id: string;
|
|
646
|
+
kind: "text" | "choice" | "choices";
|
|
647
|
+
text: string;
|
|
648
|
+
options?: {
|
|
649
|
+
value: string;
|
|
650
|
+
label: string;
|
|
651
|
+
description?: string | undefined;
|
|
652
|
+
}[] | undefined;
|
|
653
|
+
other?: boolean | undefined;
|
|
654
|
+
header?: string | undefined;
|
|
655
|
+
secret?: boolean | undefined;
|
|
656
|
+
required?: boolean | undefined;
|
|
657
|
+
}[] | undefined;
|
|
527
658
|
} | undefined;
|
|
528
659
|
queue?: {
|
|
529
660
|
images: number;
|
|
530
|
-
clientMessageId: string;
|
|
531
661
|
text: string;
|
|
662
|
+
clientMessageId: string;
|
|
532
663
|
}[] | undefined;
|
|
533
664
|
worktree?: {
|
|
534
665
|
branch: string;
|
|
@@ -571,11 +702,25 @@ export declare const methods: {
|
|
|
571
702
|
requestId: string;
|
|
572
703
|
toolCallId?: string | undefined;
|
|
573
704
|
detail?: string | undefined;
|
|
705
|
+
questions?: {
|
|
706
|
+
id: string;
|
|
707
|
+
kind: "text" | "choice" | "choices";
|
|
708
|
+
text: string;
|
|
709
|
+
options?: {
|
|
710
|
+
value: string;
|
|
711
|
+
label: string;
|
|
712
|
+
description?: string | undefined;
|
|
713
|
+
}[] | undefined;
|
|
714
|
+
other?: boolean | undefined;
|
|
715
|
+
header?: string | undefined;
|
|
716
|
+
secret?: boolean | undefined;
|
|
717
|
+
required?: boolean | undefined;
|
|
718
|
+
}[] | undefined;
|
|
574
719
|
} | undefined;
|
|
575
720
|
queue?: {
|
|
576
721
|
images: number;
|
|
577
|
-
clientMessageId: string;
|
|
578
722
|
text: string;
|
|
723
|
+
clientMessageId: string;
|
|
579
724
|
}[] | undefined;
|
|
580
725
|
worktree?: {
|
|
581
726
|
branch: string;
|
|
@@ -729,6 +874,54 @@ export declare const methods: {
|
|
|
729
874
|
name: string;
|
|
730
875
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
731
876
|
}>, "many">;
|
|
877
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
878
|
+
id: z.ZodString;
|
|
879
|
+
header: z.ZodOptional<z.ZodString>;
|
|
880
|
+
text: z.ZodString;
|
|
881
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
882
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
883
|
+
value: z.ZodString;
|
|
884
|
+
label: z.ZodString;
|
|
885
|
+
description: z.ZodOptional<z.ZodString>;
|
|
886
|
+
}, "strip", z.ZodTypeAny, {
|
|
887
|
+
value: string;
|
|
888
|
+
label: string;
|
|
889
|
+
description?: string | undefined;
|
|
890
|
+
}, {
|
|
891
|
+
value: string;
|
|
892
|
+
label: string;
|
|
893
|
+
description?: string | undefined;
|
|
894
|
+
}>, "many">>;
|
|
895
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
896
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
898
|
+
}, "strip", z.ZodTypeAny, {
|
|
899
|
+
id: string;
|
|
900
|
+
kind: "text" | "choice" | "choices";
|
|
901
|
+
text: string;
|
|
902
|
+
options?: {
|
|
903
|
+
value: string;
|
|
904
|
+
label: string;
|
|
905
|
+
description?: string | undefined;
|
|
906
|
+
}[] | undefined;
|
|
907
|
+
other?: boolean | undefined;
|
|
908
|
+
header?: string | undefined;
|
|
909
|
+
secret?: boolean | undefined;
|
|
910
|
+
required?: boolean | undefined;
|
|
911
|
+
}, {
|
|
912
|
+
id: string;
|
|
913
|
+
kind: "text" | "choice" | "choices";
|
|
914
|
+
text: string;
|
|
915
|
+
options?: {
|
|
916
|
+
value: string;
|
|
917
|
+
label: string;
|
|
918
|
+
description?: string | undefined;
|
|
919
|
+
}[] | undefined;
|
|
920
|
+
other?: boolean | undefined;
|
|
921
|
+
header?: string | undefined;
|
|
922
|
+
secret?: boolean | undefined;
|
|
923
|
+
required?: boolean | undefined;
|
|
924
|
+
}>, "many">>;
|
|
732
925
|
}, "strip", z.ZodTypeAny, {
|
|
733
926
|
options: {
|
|
734
927
|
optionId: string;
|
|
@@ -739,6 +932,20 @@ export declare const methods: {
|
|
|
739
932
|
requestId: string;
|
|
740
933
|
toolCallId?: string | undefined;
|
|
741
934
|
detail?: string | undefined;
|
|
935
|
+
questions?: {
|
|
936
|
+
id: string;
|
|
937
|
+
kind: "text" | "choice" | "choices";
|
|
938
|
+
text: string;
|
|
939
|
+
options?: {
|
|
940
|
+
value: string;
|
|
941
|
+
label: string;
|
|
942
|
+
description?: string | undefined;
|
|
943
|
+
}[] | undefined;
|
|
944
|
+
other?: boolean | undefined;
|
|
945
|
+
header?: string | undefined;
|
|
946
|
+
secret?: boolean | undefined;
|
|
947
|
+
required?: boolean | undefined;
|
|
948
|
+
}[] | undefined;
|
|
742
949
|
}, {
|
|
743
950
|
options: {
|
|
744
951
|
optionId: string;
|
|
@@ -749,6 +956,20 @@ export declare const methods: {
|
|
|
749
956
|
requestId: string;
|
|
750
957
|
toolCallId?: string | undefined;
|
|
751
958
|
detail?: string | undefined;
|
|
959
|
+
questions?: {
|
|
960
|
+
id: string;
|
|
961
|
+
kind: "text" | "choice" | "choices";
|
|
962
|
+
text: string;
|
|
963
|
+
options?: {
|
|
964
|
+
value: string;
|
|
965
|
+
label: string;
|
|
966
|
+
description?: string | undefined;
|
|
967
|
+
}[] | undefined;
|
|
968
|
+
other?: boolean | undefined;
|
|
969
|
+
header?: string | undefined;
|
|
970
|
+
secret?: boolean | undefined;
|
|
971
|
+
required?: boolean | undefined;
|
|
972
|
+
}[] | undefined;
|
|
752
973
|
}>>;
|
|
753
974
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
754
975
|
clientMessageId: z.ZodString;
|
|
@@ -756,12 +977,12 @@ export declare const methods: {
|
|
|
756
977
|
images: z.ZodNumber;
|
|
757
978
|
}, "strip", z.ZodTypeAny, {
|
|
758
979
|
images: number;
|
|
759
|
-
clientMessageId: string;
|
|
760
980
|
text: string;
|
|
981
|
+
clientMessageId: string;
|
|
761
982
|
}, {
|
|
762
983
|
images: number;
|
|
763
|
-
clientMessageId: string;
|
|
764
984
|
text: string;
|
|
985
|
+
clientMessageId: string;
|
|
765
986
|
}>, "many">>;
|
|
766
987
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
767
988
|
branch: z.ZodString;
|
|
@@ -813,11 +1034,25 @@ export declare const methods: {
|
|
|
813
1034
|
requestId: string;
|
|
814
1035
|
toolCallId?: string | undefined;
|
|
815
1036
|
detail?: string | undefined;
|
|
1037
|
+
questions?: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
kind: "text" | "choice" | "choices";
|
|
1040
|
+
text: string;
|
|
1041
|
+
options?: {
|
|
1042
|
+
value: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
description?: string | undefined;
|
|
1045
|
+
}[] | undefined;
|
|
1046
|
+
other?: boolean | undefined;
|
|
1047
|
+
header?: string | undefined;
|
|
1048
|
+
secret?: boolean | undefined;
|
|
1049
|
+
required?: boolean | undefined;
|
|
1050
|
+
}[] | undefined;
|
|
816
1051
|
} | undefined;
|
|
817
1052
|
queue?: {
|
|
818
1053
|
images: number;
|
|
819
|
-
clientMessageId: string;
|
|
820
1054
|
text: string;
|
|
1055
|
+
clientMessageId: string;
|
|
821
1056
|
}[] | undefined;
|
|
822
1057
|
worktree?: {
|
|
823
1058
|
branch: string;
|
|
@@ -857,11 +1092,25 @@ export declare const methods: {
|
|
|
857
1092
|
requestId: string;
|
|
858
1093
|
toolCallId?: string | undefined;
|
|
859
1094
|
detail?: string | undefined;
|
|
1095
|
+
questions?: {
|
|
1096
|
+
id: string;
|
|
1097
|
+
kind: "text" | "choice" | "choices";
|
|
1098
|
+
text: string;
|
|
1099
|
+
options?: {
|
|
1100
|
+
value: string;
|
|
1101
|
+
label: string;
|
|
1102
|
+
description?: string | undefined;
|
|
1103
|
+
}[] | undefined;
|
|
1104
|
+
other?: boolean | undefined;
|
|
1105
|
+
header?: string | undefined;
|
|
1106
|
+
secret?: boolean | undefined;
|
|
1107
|
+
required?: boolean | undefined;
|
|
1108
|
+
}[] | undefined;
|
|
860
1109
|
} | undefined;
|
|
861
1110
|
queue?: {
|
|
862
1111
|
images: number;
|
|
863
|
-
clientMessageId: string;
|
|
864
1112
|
text: string;
|
|
1113
|
+
clientMessageId: string;
|
|
865
1114
|
}[] | undefined;
|
|
866
1115
|
worktree?: {
|
|
867
1116
|
branch: string;
|
|
@@ -903,11 +1152,25 @@ export declare const methods: {
|
|
|
903
1152
|
requestId: string;
|
|
904
1153
|
toolCallId?: string | undefined;
|
|
905
1154
|
detail?: string | undefined;
|
|
1155
|
+
questions?: {
|
|
1156
|
+
id: string;
|
|
1157
|
+
kind: "text" | "choice" | "choices";
|
|
1158
|
+
text: string;
|
|
1159
|
+
options?: {
|
|
1160
|
+
value: string;
|
|
1161
|
+
label: string;
|
|
1162
|
+
description?: string | undefined;
|
|
1163
|
+
}[] | undefined;
|
|
1164
|
+
other?: boolean | undefined;
|
|
1165
|
+
header?: string | undefined;
|
|
1166
|
+
secret?: boolean | undefined;
|
|
1167
|
+
required?: boolean | undefined;
|
|
1168
|
+
}[] | undefined;
|
|
906
1169
|
} | undefined;
|
|
907
1170
|
queue?: {
|
|
908
1171
|
images: number;
|
|
909
|
-
clientMessageId: string;
|
|
910
1172
|
text: string;
|
|
1173
|
+
clientMessageId: string;
|
|
911
1174
|
}[] | undefined;
|
|
912
1175
|
worktree?: {
|
|
913
1176
|
branch: string;
|
|
@@ -949,11 +1212,25 @@ export declare const methods: {
|
|
|
949
1212
|
requestId: string;
|
|
950
1213
|
toolCallId?: string | undefined;
|
|
951
1214
|
detail?: string | undefined;
|
|
1215
|
+
questions?: {
|
|
1216
|
+
id: string;
|
|
1217
|
+
kind: "text" | "choice" | "choices";
|
|
1218
|
+
text: string;
|
|
1219
|
+
options?: {
|
|
1220
|
+
value: string;
|
|
1221
|
+
label: string;
|
|
1222
|
+
description?: string | undefined;
|
|
1223
|
+
}[] | undefined;
|
|
1224
|
+
other?: boolean | undefined;
|
|
1225
|
+
header?: string | undefined;
|
|
1226
|
+
secret?: boolean | undefined;
|
|
1227
|
+
required?: boolean | undefined;
|
|
1228
|
+
}[] | undefined;
|
|
952
1229
|
} | undefined;
|
|
953
1230
|
queue?: {
|
|
954
1231
|
images: number;
|
|
955
|
-
clientMessageId: string;
|
|
956
1232
|
text: string;
|
|
1233
|
+
clientMessageId: string;
|
|
957
1234
|
}[] | undefined;
|
|
958
1235
|
worktree?: {
|
|
959
1236
|
branch: string;
|
|
@@ -1033,6 +1310,54 @@ export declare const methods: {
|
|
|
1033
1310
|
name: string;
|
|
1034
1311
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1035
1312
|
}>, "many">;
|
|
1313
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1314
|
+
id: z.ZodString;
|
|
1315
|
+
header: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
text: z.ZodString;
|
|
1317
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
1318
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1319
|
+
value: z.ZodString;
|
|
1320
|
+
label: z.ZodString;
|
|
1321
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
}, "strip", z.ZodTypeAny, {
|
|
1323
|
+
value: string;
|
|
1324
|
+
label: string;
|
|
1325
|
+
description?: string | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
value: string;
|
|
1328
|
+
label: string;
|
|
1329
|
+
description?: string | undefined;
|
|
1330
|
+
}>, "many">>;
|
|
1331
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1333
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
|
+
id: string;
|
|
1336
|
+
kind: "text" | "choice" | "choices";
|
|
1337
|
+
text: string;
|
|
1338
|
+
options?: {
|
|
1339
|
+
value: string;
|
|
1340
|
+
label: string;
|
|
1341
|
+
description?: string | undefined;
|
|
1342
|
+
}[] | undefined;
|
|
1343
|
+
other?: boolean | undefined;
|
|
1344
|
+
header?: string | undefined;
|
|
1345
|
+
secret?: boolean | undefined;
|
|
1346
|
+
required?: boolean | undefined;
|
|
1347
|
+
}, {
|
|
1348
|
+
id: string;
|
|
1349
|
+
kind: "text" | "choice" | "choices";
|
|
1350
|
+
text: string;
|
|
1351
|
+
options?: {
|
|
1352
|
+
value: string;
|
|
1353
|
+
label: string;
|
|
1354
|
+
description?: string | undefined;
|
|
1355
|
+
}[] | undefined;
|
|
1356
|
+
other?: boolean | undefined;
|
|
1357
|
+
header?: string | undefined;
|
|
1358
|
+
secret?: boolean | undefined;
|
|
1359
|
+
required?: boolean | undefined;
|
|
1360
|
+
}>, "many">>;
|
|
1036
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1362
|
options: {
|
|
1038
1363
|
optionId: string;
|
|
@@ -1043,6 +1368,20 @@ export declare const methods: {
|
|
|
1043
1368
|
requestId: string;
|
|
1044
1369
|
toolCallId?: string | undefined;
|
|
1045
1370
|
detail?: string | undefined;
|
|
1371
|
+
questions?: {
|
|
1372
|
+
id: string;
|
|
1373
|
+
kind: "text" | "choice" | "choices";
|
|
1374
|
+
text: string;
|
|
1375
|
+
options?: {
|
|
1376
|
+
value: string;
|
|
1377
|
+
label: string;
|
|
1378
|
+
description?: string | undefined;
|
|
1379
|
+
}[] | undefined;
|
|
1380
|
+
other?: boolean | undefined;
|
|
1381
|
+
header?: string | undefined;
|
|
1382
|
+
secret?: boolean | undefined;
|
|
1383
|
+
required?: boolean | undefined;
|
|
1384
|
+
}[] | undefined;
|
|
1046
1385
|
}, {
|
|
1047
1386
|
options: {
|
|
1048
1387
|
optionId: string;
|
|
@@ -1053,6 +1392,20 @@ export declare const methods: {
|
|
|
1053
1392
|
requestId: string;
|
|
1054
1393
|
toolCallId?: string | undefined;
|
|
1055
1394
|
detail?: string | undefined;
|
|
1395
|
+
questions?: {
|
|
1396
|
+
id: string;
|
|
1397
|
+
kind: "text" | "choice" | "choices";
|
|
1398
|
+
text: string;
|
|
1399
|
+
options?: {
|
|
1400
|
+
value: string;
|
|
1401
|
+
label: string;
|
|
1402
|
+
description?: string | undefined;
|
|
1403
|
+
}[] | undefined;
|
|
1404
|
+
other?: boolean | undefined;
|
|
1405
|
+
header?: string | undefined;
|
|
1406
|
+
secret?: boolean | undefined;
|
|
1407
|
+
required?: boolean | undefined;
|
|
1408
|
+
}[] | undefined;
|
|
1056
1409
|
}>>;
|
|
1057
1410
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1058
1411
|
clientMessageId: z.ZodString;
|
|
@@ -1060,12 +1413,12 @@ export declare const methods: {
|
|
|
1060
1413
|
images: z.ZodNumber;
|
|
1061
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1415
|
images: number;
|
|
1063
|
-
clientMessageId: string;
|
|
1064
1416
|
text: string;
|
|
1417
|
+
clientMessageId: string;
|
|
1065
1418
|
}, {
|
|
1066
1419
|
images: number;
|
|
1067
|
-
clientMessageId: string;
|
|
1068
1420
|
text: string;
|
|
1421
|
+
clientMessageId: string;
|
|
1069
1422
|
}>, "many">>;
|
|
1070
1423
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
1071
1424
|
branch: z.ZodString;
|
|
@@ -1117,11 +1470,25 @@ export declare const methods: {
|
|
|
1117
1470
|
requestId: string;
|
|
1118
1471
|
toolCallId?: string | undefined;
|
|
1119
1472
|
detail?: string | undefined;
|
|
1473
|
+
questions?: {
|
|
1474
|
+
id: string;
|
|
1475
|
+
kind: "text" | "choice" | "choices";
|
|
1476
|
+
text: string;
|
|
1477
|
+
options?: {
|
|
1478
|
+
value: string;
|
|
1479
|
+
label: string;
|
|
1480
|
+
description?: string | undefined;
|
|
1481
|
+
}[] | undefined;
|
|
1482
|
+
other?: boolean | undefined;
|
|
1483
|
+
header?: string | undefined;
|
|
1484
|
+
secret?: boolean | undefined;
|
|
1485
|
+
required?: boolean | undefined;
|
|
1486
|
+
}[] | undefined;
|
|
1120
1487
|
} | undefined;
|
|
1121
1488
|
queue?: {
|
|
1122
1489
|
images: number;
|
|
1123
|
-
clientMessageId: string;
|
|
1124
1490
|
text: string;
|
|
1491
|
+
clientMessageId: string;
|
|
1125
1492
|
}[] | undefined;
|
|
1126
1493
|
worktree?: {
|
|
1127
1494
|
branch: string;
|
|
@@ -1161,11 +1528,25 @@ export declare const methods: {
|
|
|
1161
1528
|
requestId: string;
|
|
1162
1529
|
toolCallId?: string | undefined;
|
|
1163
1530
|
detail?: string | undefined;
|
|
1531
|
+
questions?: {
|
|
1532
|
+
id: string;
|
|
1533
|
+
kind: "text" | "choice" | "choices";
|
|
1534
|
+
text: string;
|
|
1535
|
+
options?: {
|
|
1536
|
+
value: string;
|
|
1537
|
+
label: string;
|
|
1538
|
+
description?: string | undefined;
|
|
1539
|
+
}[] | undefined;
|
|
1540
|
+
other?: boolean | undefined;
|
|
1541
|
+
header?: string | undefined;
|
|
1542
|
+
secret?: boolean | undefined;
|
|
1543
|
+
required?: boolean | undefined;
|
|
1544
|
+
}[] | undefined;
|
|
1164
1545
|
} | undefined;
|
|
1165
1546
|
queue?: {
|
|
1166
1547
|
images: number;
|
|
1167
|
-
clientMessageId: string;
|
|
1168
1548
|
text: string;
|
|
1549
|
+
clientMessageId: string;
|
|
1169
1550
|
}[] | undefined;
|
|
1170
1551
|
worktree?: {
|
|
1171
1552
|
branch: string;
|
|
@@ -1207,11 +1588,25 @@ export declare const methods: {
|
|
|
1207
1588
|
requestId: string;
|
|
1208
1589
|
toolCallId?: string | undefined;
|
|
1209
1590
|
detail?: string | undefined;
|
|
1591
|
+
questions?: {
|
|
1592
|
+
id: string;
|
|
1593
|
+
kind: "text" | "choice" | "choices";
|
|
1594
|
+
text: string;
|
|
1595
|
+
options?: {
|
|
1596
|
+
value: string;
|
|
1597
|
+
label: string;
|
|
1598
|
+
description?: string | undefined;
|
|
1599
|
+
}[] | undefined;
|
|
1600
|
+
other?: boolean | undefined;
|
|
1601
|
+
header?: string | undefined;
|
|
1602
|
+
secret?: boolean | undefined;
|
|
1603
|
+
required?: boolean | undefined;
|
|
1604
|
+
}[] | undefined;
|
|
1210
1605
|
} | undefined;
|
|
1211
1606
|
queue?: {
|
|
1212
1607
|
images: number;
|
|
1213
|
-
clientMessageId: string;
|
|
1214
1608
|
text: string;
|
|
1609
|
+
clientMessageId: string;
|
|
1215
1610
|
}[] | undefined;
|
|
1216
1611
|
worktree?: {
|
|
1217
1612
|
branch: string;
|
|
@@ -1253,11 +1648,25 @@ export declare const methods: {
|
|
|
1253
1648
|
requestId: string;
|
|
1254
1649
|
toolCallId?: string | undefined;
|
|
1255
1650
|
detail?: string | undefined;
|
|
1651
|
+
questions?: {
|
|
1652
|
+
id: string;
|
|
1653
|
+
kind: "text" | "choice" | "choices";
|
|
1654
|
+
text: string;
|
|
1655
|
+
options?: {
|
|
1656
|
+
value: string;
|
|
1657
|
+
label: string;
|
|
1658
|
+
description?: string | undefined;
|
|
1659
|
+
}[] | undefined;
|
|
1660
|
+
other?: boolean | undefined;
|
|
1661
|
+
header?: string | undefined;
|
|
1662
|
+
secret?: boolean | undefined;
|
|
1663
|
+
required?: boolean | undefined;
|
|
1664
|
+
}[] | undefined;
|
|
1256
1665
|
} | undefined;
|
|
1257
1666
|
queue?: {
|
|
1258
1667
|
images: number;
|
|
1259
|
-
clientMessageId: string;
|
|
1260
1668
|
text: string;
|
|
1669
|
+
clientMessageId: string;
|
|
1261
1670
|
}[] | undefined;
|
|
1262
1671
|
worktree?: {
|
|
1263
1672
|
branch: string;
|
|
@@ -1342,6 +1751,54 @@ export declare const methods: {
|
|
|
1342
1751
|
name: string;
|
|
1343
1752
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1344
1753
|
}>, "many">;
|
|
1754
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1755
|
+
id: z.ZodString;
|
|
1756
|
+
header: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
text: z.ZodString;
|
|
1758
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
1759
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1760
|
+
value: z.ZodString;
|
|
1761
|
+
label: z.ZodString;
|
|
1762
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
value: string;
|
|
1765
|
+
label: string;
|
|
1766
|
+
description?: string | undefined;
|
|
1767
|
+
}, {
|
|
1768
|
+
value: string;
|
|
1769
|
+
label: string;
|
|
1770
|
+
description?: string | undefined;
|
|
1771
|
+
}>, "many">>;
|
|
1772
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
1773
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1774
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1775
|
+
}, "strip", z.ZodTypeAny, {
|
|
1776
|
+
id: string;
|
|
1777
|
+
kind: "text" | "choice" | "choices";
|
|
1778
|
+
text: string;
|
|
1779
|
+
options?: {
|
|
1780
|
+
value: string;
|
|
1781
|
+
label: string;
|
|
1782
|
+
description?: string | undefined;
|
|
1783
|
+
}[] | undefined;
|
|
1784
|
+
other?: boolean | undefined;
|
|
1785
|
+
header?: string | undefined;
|
|
1786
|
+
secret?: boolean | undefined;
|
|
1787
|
+
required?: boolean | undefined;
|
|
1788
|
+
}, {
|
|
1789
|
+
id: string;
|
|
1790
|
+
kind: "text" | "choice" | "choices";
|
|
1791
|
+
text: string;
|
|
1792
|
+
options?: {
|
|
1793
|
+
value: string;
|
|
1794
|
+
label: string;
|
|
1795
|
+
description?: string | undefined;
|
|
1796
|
+
}[] | undefined;
|
|
1797
|
+
other?: boolean | undefined;
|
|
1798
|
+
header?: string | undefined;
|
|
1799
|
+
secret?: boolean | undefined;
|
|
1800
|
+
required?: boolean | undefined;
|
|
1801
|
+
}>, "many">>;
|
|
1345
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1346
1803
|
options: {
|
|
1347
1804
|
optionId: string;
|
|
@@ -1352,6 +1809,20 @@ export declare const methods: {
|
|
|
1352
1809
|
requestId: string;
|
|
1353
1810
|
toolCallId?: string | undefined;
|
|
1354
1811
|
detail?: string | undefined;
|
|
1812
|
+
questions?: {
|
|
1813
|
+
id: string;
|
|
1814
|
+
kind: "text" | "choice" | "choices";
|
|
1815
|
+
text: string;
|
|
1816
|
+
options?: {
|
|
1817
|
+
value: string;
|
|
1818
|
+
label: string;
|
|
1819
|
+
description?: string | undefined;
|
|
1820
|
+
}[] | undefined;
|
|
1821
|
+
other?: boolean | undefined;
|
|
1822
|
+
header?: string | undefined;
|
|
1823
|
+
secret?: boolean | undefined;
|
|
1824
|
+
required?: boolean | undefined;
|
|
1825
|
+
}[] | undefined;
|
|
1355
1826
|
}, {
|
|
1356
1827
|
options: {
|
|
1357
1828
|
optionId: string;
|
|
@@ -1362,6 +1833,20 @@ export declare const methods: {
|
|
|
1362
1833
|
requestId: string;
|
|
1363
1834
|
toolCallId?: string | undefined;
|
|
1364
1835
|
detail?: string | undefined;
|
|
1836
|
+
questions?: {
|
|
1837
|
+
id: string;
|
|
1838
|
+
kind: "text" | "choice" | "choices";
|
|
1839
|
+
text: string;
|
|
1840
|
+
options?: {
|
|
1841
|
+
value: string;
|
|
1842
|
+
label: string;
|
|
1843
|
+
description?: string | undefined;
|
|
1844
|
+
}[] | undefined;
|
|
1845
|
+
other?: boolean | undefined;
|
|
1846
|
+
header?: string | undefined;
|
|
1847
|
+
secret?: boolean | undefined;
|
|
1848
|
+
required?: boolean | undefined;
|
|
1849
|
+
}[] | undefined;
|
|
1365
1850
|
}>>;
|
|
1366
1851
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1367
1852
|
clientMessageId: z.ZodString;
|
|
@@ -1369,12 +1854,12 @@ export declare const methods: {
|
|
|
1369
1854
|
images: z.ZodNumber;
|
|
1370
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1371
1856
|
images: number;
|
|
1372
|
-
clientMessageId: string;
|
|
1373
1857
|
text: string;
|
|
1858
|
+
clientMessageId: string;
|
|
1374
1859
|
}, {
|
|
1375
1860
|
images: number;
|
|
1376
|
-
clientMessageId: string;
|
|
1377
1861
|
text: string;
|
|
1862
|
+
clientMessageId: string;
|
|
1378
1863
|
}>, "many">>;
|
|
1379
1864
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
1380
1865
|
branch: z.ZodString;
|
|
@@ -1426,11 +1911,25 @@ export declare const methods: {
|
|
|
1426
1911
|
requestId: string;
|
|
1427
1912
|
toolCallId?: string | undefined;
|
|
1428
1913
|
detail?: string | undefined;
|
|
1914
|
+
questions?: {
|
|
1915
|
+
id: string;
|
|
1916
|
+
kind: "text" | "choice" | "choices";
|
|
1917
|
+
text: string;
|
|
1918
|
+
options?: {
|
|
1919
|
+
value: string;
|
|
1920
|
+
label: string;
|
|
1921
|
+
description?: string | undefined;
|
|
1922
|
+
}[] | undefined;
|
|
1923
|
+
other?: boolean | undefined;
|
|
1924
|
+
header?: string | undefined;
|
|
1925
|
+
secret?: boolean | undefined;
|
|
1926
|
+
required?: boolean | undefined;
|
|
1927
|
+
}[] | undefined;
|
|
1429
1928
|
} | undefined;
|
|
1430
1929
|
queue?: {
|
|
1431
1930
|
images: number;
|
|
1432
|
-
clientMessageId: string;
|
|
1433
1931
|
text: string;
|
|
1932
|
+
clientMessageId: string;
|
|
1434
1933
|
}[] | undefined;
|
|
1435
1934
|
worktree?: {
|
|
1436
1935
|
branch: string;
|
|
@@ -1470,11 +1969,25 @@ export declare const methods: {
|
|
|
1470
1969
|
requestId: string;
|
|
1471
1970
|
toolCallId?: string | undefined;
|
|
1472
1971
|
detail?: string | undefined;
|
|
1972
|
+
questions?: {
|
|
1973
|
+
id: string;
|
|
1974
|
+
kind: "text" | "choice" | "choices";
|
|
1975
|
+
text: string;
|
|
1976
|
+
options?: {
|
|
1977
|
+
value: string;
|
|
1978
|
+
label: string;
|
|
1979
|
+
description?: string | undefined;
|
|
1980
|
+
}[] | undefined;
|
|
1981
|
+
other?: boolean | undefined;
|
|
1982
|
+
header?: string | undefined;
|
|
1983
|
+
secret?: boolean | undefined;
|
|
1984
|
+
required?: boolean | undefined;
|
|
1985
|
+
}[] | undefined;
|
|
1473
1986
|
} | undefined;
|
|
1474
1987
|
queue?: {
|
|
1475
1988
|
images: number;
|
|
1476
|
-
clientMessageId: string;
|
|
1477
1989
|
text: string;
|
|
1990
|
+
clientMessageId: string;
|
|
1478
1991
|
}[] | undefined;
|
|
1479
1992
|
worktree?: {
|
|
1480
1993
|
branch: string;
|
|
@@ -1517,11 +2030,25 @@ export declare const methods: {
|
|
|
1517
2030
|
requestId: string;
|
|
1518
2031
|
toolCallId?: string | undefined;
|
|
1519
2032
|
detail?: string | undefined;
|
|
2033
|
+
questions?: {
|
|
2034
|
+
id: string;
|
|
2035
|
+
kind: "text" | "choice" | "choices";
|
|
2036
|
+
text: string;
|
|
2037
|
+
options?: {
|
|
2038
|
+
value: string;
|
|
2039
|
+
label: string;
|
|
2040
|
+
description?: string | undefined;
|
|
2041
|
+
}[] | undefined;
|
|
2042
|
+
other?: boolean | undefined;
|
|
2043
|
+
header?: string | undefined;
|
|
2044
|
+
secret?: boolean | undefined;
|
|
2045
|
+
required?: boolean | undefined;
|
|
2046
|
+
}[] | undefined;
|
|
1520
2047
|
} | undefined;
|
|
1521
2048
|
queue?: {
|
|
1522
2049
|
images: number;
|
|
1523
|
-
clientMessageId: string;
|
|
1524
2050
|
text: string;
|
|
2051
|
+
clientMessageId: string;
|
|
1525
2052
|
}[] | undefined;
|
|
1526
2053
|
worktree?: {
|
|
1527
2054
|
branch: string;
|
|
@@ -1564,11 +2091,25 @@ export declare const methods: {
|
|
|
1564
2091
|
requestId: string;
|
|
1565
2092
|
toolCallId?: string | undefined;
|
|
1566
2093
|
detail?: string | undefined;
|
|
2094
|
+
questions?: {
|
|
2095
|
+
id: string;
|
|
2096
|
+
kind: "text" | "choice" | "choices";
|
|
2097
|
+
text: string;
|
|
2098
|
+
options?: {
|
|
2099
|
+
value: string;
|
|
2100
|
+
label: string;
|
|
2101
|
+
description?: string | undefined;
|
|
2102
|
+
}[] | undefined;
|
|
2103
|
+
other?: boolean | undefined;
|
|
2104
|
+
header?: string | undefined;
|
|
2105
|
+
secret?: boolean | undefined;
|
|
2106
|
+
required?: boolean | undefined;
|
|
2107
|
+
}[] | undefined;
|
|
1567
2108
|
} | undefined;
|
|
1568
2109
|
queue?: {
|
|
1569
2110
|
images: number;
|
|
1570
|
-
clientMessageId: string;
|
|
1571
2111
|
text: string;
|
|
2112
|
+
clientMessageId: string;
|
|
1572
2113
|
}[] | undefined;
|
|
1573
2114
|
worktree?: {
|
|
1574
2115
|
branch: string;
|
|
@@ -1646,7 +2187,6 @@ export declare const methods: {
|
|
|
1646
2187
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1647
2188
|
}>]>;
|
|
1648
2189
|
}, "strip", z.ZodTypeAny, {
|
|
1649
|
-
sessionUpdate: "user_message_chunk";
|
|
1650
2190
|
content: {
|
|
1651
2191
|
type: "text";
|
|
1652
2192
|
text: string;
|
|
@@ -1661,9 +2201,9 @@ export declare const methods: {
|
|
|
1661
2201
|
uri: string;
|
|
1662
2202
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1663
2203
|
};
|
|
2204
|
+
sessionUpdate: "user_message_chunk";
|
|
1664
2205
|
messageId?: string | undefined;
|
|
1665
2206
|
}, {
|
|
1666
|
-
sessionUpdate: "user_message_chunk";
|
|
1667
2207
|
content: {
|
|
1668
2208
|
type: "text";
|
|
1669
2209
|
text: string;
|
|
@@ -1678,6 +2218,7 @@ export declare const methods: {
|
|
|
1678
2218
|
uri: string;
|
|
1679
2219
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1680
2220
|
};
|
|
2221
|
+
sessionUpdate: "user_message_chunk";
|
|
1681
2222
|
messageId?: string | undefined;
|
|
1682
2223
|
}>, z.ZodObject<{
|
|
1683
2224
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -1724,8 +2265,6 @@ export declare const methods: {
|
|
|
1724
2265
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1725
2266
|
}>]>;
|
|
1726
2267
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
sessionUpdate: "agent_message_chunk";
|
|
1728
|
-
messageId: string;
|
|
1729
2268
|
content: {
|
|
1730
2269
|
type: "text";
|
|
1731
2270
|
text: string;
|
|
@@ -1740,10 +2279,10 @@ export declare const methods: {
|
|
|
1740
2279
|
uri: string;
|
|
1741
2280
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1742
2281
|
};
|
|
1743
|
-
parentToolCallId?: string | undefined;
|
|
1744
|
-
}, {
|
|
1745
2282
|
sessionUpdate: "agent_message_chunk";
|
|
1746
2283
|
messageId: string;
|
|
2284
|
+
parentToolCallId?: string | undefined;
|
|
2285
|
+
}, {
|
|
1747
2286
|
content: {
|
|
1748
2287
|
type: "text";
|
|
1749
2288
|
text: string;
|
|
@@ -1758,6 +2297,8 @@ export declare const methods: {
|
|
|
1758
2297
|
uri: string;
|
|
1759
2298
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1760
2299
|
};
|
|
2300
|
+
sessionUpdate: "agent_message_chunk";
|
|
2301
|
+
messageId: string;
|
|
1761
2302
|
parentToolCallId?: string | undefined;
|
|
1762
2303
|
}>, z.ZodObject<{
|
|
1763
2304
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -1804,8 +2345,6 @@ export declare const methods: {
|
|
|
1804
2345
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1805
2346
|
}>]>;
|
|
1806
2347
|
}, "strip", z.ZodTypeAny, {
|
|
1807
|
-
sessionUpdate: "agent_thought_chunk";
|
|
1808
|
-
messageId: string;
|
|
1809
2348
|
content: {
|
|
1810
2349
|
type: "text";
|
|
1811
2350
|
text: string;
|
|
@@ -1820,10 +2359,10 @@ export declare const methods: {
|
|
|
1820
2359
|
uri: string;
|
|
1821
2360
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1822
2361
|
};
|
|
1823
|
-
parentToolCallId?: string | undefined;
|
|
1824
|
-
}, {
|
|
1825
2362
|
sessionUpdate: "agent_thought_chunk";
|
|
1826
2363
|
messageId: string;
|
|
2364
|
+
parentToolCallId?: string | undefined;
|
|
2365
|
+
}, {
|
|
1827
2366
|
content: {
|
|
1828
2367
|
type: "text";
|
|
1829
2368
|
text: string;
|
|
@@ -1838,6 +2377,8 @@ export declare const methods: {
|
|
|
1838
2377
|
uri: string;
|
|
1839
2378
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
1840
2379
|
};
|
|
2380
|
+
sessionUpdate: "agent_thought_chunk";
|
|
2381
|
+
messageId: string;
|
|
1841
2382
|
parentToolCallId?: string | undefined;
|
|
1842
2383
|
}>, z.ZodObject<{
|
|
1843
2384
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -2049,6 +2590,18 @@ export declare const methods: {
|
|
|
2049
2590
|
}, {
|
|
2050
2591
|
type: "review";
|
|
2051
2592
|
phase: "started" | "finished";
|
|
2593
|
+
}>, z.ZodObject<{
|
|
2594
|
+
type: z.ZodLiteral<"question">;
|
|
2595
|
+
text: z.ZodString;
|
|
2596
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
2597
|
+
}, "strip", z.ZodTypeAny, {
|
|
2598
|
+
type: "question";
|
|
2599
|
+
text: string;
|
|
2600
|
+
more?: number | undefined;
|
|
2601
|
+
}, {
|
|
2602
|
+
type: "question";
|
|
2603
|
+
text: string;
|
|
2604
|
+
more?: number | undefined;
|
|
2052
2605
|
}>]>>;
|
|
2053
2606
|
}, "strip", z.ZodTypeAny, {
|
|
2054
2607
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -2081,6 +2634,10 @@ export declare const methods: {
|
|
|
2081
2634
|
} | {
|
|
2082
2635
|
type: "review";
|
|
2083
2636
|
phase: "started" | "finished";
|
|
2637
|
+
} | {
|
|
2638
|
+
type: "question";
|
|
2639
|
+
text: string;
|
|
2640
|
+
more?: number | undefined;
|
|
2084
2641
|
} | undefined;
|
|
2085
2642
|
content?: ({
|
|
2086
2643
|
type: "content";
|
|
@@ -2150,6 +2707,10 @@ export declare const methods: {
|
|
|
2150
2707
|
} | {
|
|
2151
2708
|
type: "review";
|
|
2152
2709
|
phase: "started" | "finished";
|
|
2710
|
+
} | {
|
|
2711
|
+
type: "question";
|
|
2712
|
+
text: string;
|
|
2713
|
+
more?: number | undefined;
|
|
2153
2714
|
} | undefined;
|
|
2154
2715
|
content?: ({
|
|
2155
2716
|
type: "content";
|
|
@@ -2269,6 +2830,18 @@ export declare const methods: {
|
|
|
2269
2830
|
}, {
|
|
2270
2831
|
type: "review";
|
|
2271
2832
|
phase: "started" | "finished";
|
|
2833
|
+
}>, z.ZodObject<{
|
|
2834
|
+
type: z.ZodLiteral<"question">;
|
|
2835
|
+
text: z.ZodString;
|
|
2836
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
2837
|
+
}, "strip", z.ZodTypeAny, {
|
|
2838
|
+
type: "question";
|
|
2839
|
+
text: string;
|
|
2840
|
+
more?: number | undefined;
|
|
2841
|
+
}, {
|
|
2842
|
+
type: "question";
|
|
2843
|
+
text: string;
|
|
2844
|
+
more?: number | undefined;
|
|
2272
2845
|
}>]>>;
|
|
2273
2846
|
content: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2274
2847
|
type: z.ZodLiteral<"content">;
|
|
@@ -2419,6 +2992,10 @@ export declare const methods: {
|
|
|
2419
2992
|
} | {
|
|
2420
2993
|
type: "review";
|
|
2421
2994
|
phase: "started" | "finished";
|
|
2995
|
+
} | {
|
|
2996
|
+
type: "question";
|
|
2997
|
+
text: string;
|
|
2998
|
+
more?: number | undefined;
|
|
2422
2999
|
} | undefined;
|
|
2423
3000
|
content?: ({
|
|
2424
3001
|
type: "content";
|
|
@@ -2484,6 +3061,10 @@ export declare const methods: {
|
|
|
2484
3061
|
} | {
|
|
2485
3062
|
type: "review";
|
|
2486
3063
|
phase: "started" | "finished";
|
|
3064
|
+
} | {
|
|
3065
|
+
type: "question";
|
|
3066
|
+
text: string;
|
|
3067
|
+
more?: number | undefined;
|
|
2487
3068
|
} | undefined;
|
|
2488
3069
|
content?: ({
|
|
2489
3070
|
type: "content";
|
|
@@ -2744,6 +3325,54 @@ export declare const methods: {
|
|
|
2744
3325
|
name: string;
|
|
2745
3326
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
2746
3327
|
}>, "many">;
|
|
3328
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3329
|
+
id: z.ZodString;
|
|
3330
|
+
header: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
text: z.ZodString;
|
|
3332
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
3333
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3334
|
+
value: z.ZodString;
|
|
3335
|
+
label: z.ZodString;
|
|
3336
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3337
|
+
}, "strip", z.ZodTypeAny, {
|
|
3338
|
+
value: string;
|
|
3339
|
+
label: string;
|
|
3340
|
+
description?: string | undefined;
|
|
3341
|
+
}, {
|
|
3342
|
+
value: string;
|
|
3343
|
+
label: string;
|
|
3344
|
+
description?: string | undefined;
|
|
3345
|
+
}>, "many">>;
|
|
3346
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
3347
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
3348
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3349
|
+
}, "strip", z.ZodTypeAny, {
|
|
3350
|
+
id: string;
|
|
3351
|
+
kind: "text" | "choice" | "choices";
|
|
3352
|
+
text: string;
|
|
3353
|
+
options?: {
|
|
3354
|
+
value: string;
|
|
3355
|
+
label: string;
|
|
3356
|
+
description?: string | undefined;
|
|
3357
|
+
}[] | undefined;
|
|
3358
|
+
other?: boolean | undefined;
|
|
3359
|
+
header?: string | undefined;
|
|
3360
|
+
secret?: boolean | undefined;
|
|
3361
|
+
required?: boolean | undefined;
|
|
3362
|
+
}, {
|
|
3363
|
+
id: string;
|
|
3364
|
+
kind: "text" | "choice" | "choices";
|
|
3365
|
+
text: string;
|
|
3366
|
+
options?: {
|
|
3367
|
+
value: string;
|
|
3368
|
+
label: string;
|
|
3369
|
+
description?: string | undefined;
|
|
3370
|
+
}[] | undefined;
|
|
3371
|
+
other?: boolean | undefined;
|
|
3372
|
+
header?: string | undefined;
|
|
3373
|
+
secret?: boolean | undefined;
|
|
3374
|
+
required?: boolean | undefined;
|
|
3375
|
+
}>, "many">>;
|
|
2747
3376
|
}, "strip", z.ZodTypeAny, {
|
|
2748
3377
|
options: {
|
|
2749
3378
|
optionId: string;
|
|
@@ -2755,6 +3384,20 @@ export declare const methods: {
|
|
|
2755
3384
|
sessionUpdate: "ls_permission";
|
|
2756
3385
|
toolCallId?: string | undefined;
|
|
2757
3386
|
detail?: string | undefined;
|
|
3387
|
+
questions?: {
|
|
3388
|
+
id: string;
|
|
3389
|
+
kind: "text" | "choice" | "choices";
|
|
3390
|
+
text: string;
|
|
3391
|
+
options?: {
|
|
3392
|
+
value: string;
|
|
3393
|
+
label: string;
|
|
3394
|
+
description?: string | undefined;
|
|
3395
|
+
}[] | undefined;
|
|
3396
|
+
other?: boolean | undefined;
|
|
3397
|
+
header?: string | undefined;
|
|
3398
|
+
secret?: boolean | undefined;
|
|
3399
|
+
required?: boolean | undefined;
|
|
3400
|
+
}[] | undefined;
|
|
2758
3401
|
}, {
|
|
2759
3402
|
options: {
|
|
2760
3403
|
optionId: string;
|
|
@@ -2766,18 +3409,55 @@ export declare const methods: {
|
|
|
2766
3409
|
sessionUpdate: "ls_permission";
|
|
2767
3410
|
toolCallId?: string | undefined;
|
|
2768
3411
|
detail?: string | undefined;
|
|
3412
|
+
questions?: {
|
|
3413
|
+
id: string;
|
|
3414
|
+
kind: "text" | "choice" | "choices";
|
|
3415
|
+
text: string;
|
|
3416
|
+
options?: {
|
|
3417
|
+
value: string;
|
|
3418
|
+
label: string;
|
|
3419
|
+
description?: string | undefined;
|
|
3420
|
+
}[] | undefined;
|
|
3421
|
+
other?: boolean | undefined;
|
|
3422
|
+
header?: string | undefined;
|
|
3423
|
+
secret?: boolean | undefined;
|
|
3424
|
+
required?: boolean | undefined;
|
|
3425
|
+
}[] | undefined;
|
|
2769
3426
|
}>, z.ZodObject<{
|
|
2770
3427
|
sessionUpdate: z.ZodLiteral<"ls_permission_resolved">;
|
|
2771
3428
|
requestId: z.ZodString;
|
|
2772
3429
|
optionId: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
answers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3431
|
+
id: z.ZodString;
|
|
3432
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
3433
|
+
other: z.ZodOptional<z.ZodString>;
|
|
3434
|
+
}, "strip", z.ZodTypeAny, {
|
|
3435
|
+
values: string[];
|
|
3436
|
+
id: string;
|
|
3437
|
+
other?: string | undefined;
|
|
3438
|
+
}, {
|
|
3439
|
+
values: string[];
|
|
3440
|
+
id: string;
|
|
3441
|
+
other?: string | undefined;
|
|
3442
|
+
}>, "many">>;
|
|
2773
3443
|
}, "strip", z.ZodTypeAny, {
|
|
2774
3444
|
requestId: string;
|
|
2775
3445
|
sessionUpdate: "ls_permission_resolved";
|
|
2776
3446
|
optionId?: string | undefined;
|
|
3447
|
+
answers?: {
|
|
3448
|
+
values: string[];
|
|
3449
|
+
id: string;
|
|
3450
|
+
other?: string | undefined;
|
|
3451
|
+
}[] | undefined;
|
|
2777
3452
|
}, {
|
|
2778
3453
|
requestId: string;
|
|
2779
3454
|
sessionUpdate: "ls_permission_resolved";
|
|
2780
3455
|
optionId?: string | undefined;
|
|
3456
|
+
answers?: {
|
|
3457
|
+
values: string[];
|
|
3458
|
+
id: string;
|
|
3459
|
+
other?: string | undefined;
|
|
3460
|
+
}[] | undefined;
|
|
2781
3461
|
}>, z.ZodObject<{
|
|
2782
3462
|
sessionUpdate: z.ZodLiteral<"ls_driver">;
|
|
2783
3463
|
driver: z.ZodEnum<["desktop", "remote", "none"]>;
|
|
@@ -2816,11 +3496,7 @@ export declare const methods: {
|
|
|
2816
3496
|
hint?: string | undefined;
|
|
2817
3497
|
}>]>;
|
|
2818
3498
|
}, "strip", z.ZodTypeAny, {
|
|
2819
|
-
sessionId: string;
|
|
2820
|
-
seq: number;
|
|
2821
|
-
ts: number;
|
|
2822
3499
|
update: {
|
|
2823
|
-
sessionUpdate: "user_message_chunk";
|
|
2824
3500
|
content: {
|
|
2825
3501
|
type: "text";
|
|
2826
3502
|
text: string;
|
|
@@ -2835,10 +3511,9 @@ export declare const methods: {
|
|
|
2835
3511
|
uri: string;
|
|
2836
3512
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2837
3513
|
};
|
|
3514
|
+
sessionUpdate: "user_message_chunk";
|
|
2838
3515
|
messageId?: string | undefined;
|
|
2839
3516
|
} | {
|
|
2840
|
-
sessionUpdate: "agent_message_chunk";
|
|
2841
|
-
messageId: string;
|
|
2842
3517
|
content: {
|
|
2843
3518
|
type: "text";
|
|
2844
3519
|
text: string;
|
|
@@ -2853,10 +3528,10 @@ export declare const methods: {
|
|
|
2853
3528
|
uri: string;
|
|
2854
3529
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2855
3530
|
};
|
|
3531
|
+
sessionUpdate: "agent_message_chunk";
|
|
3532
|
+
messageId: string;
|
|
2856
3533
|
parentToolCallId?: string | undefined;
|
|
2857
3534
|
} | {
|
|
2858
|
-
sessionUpdate: "agent_thought_chunk";
|
|
2859
|
-
messageId: string;
|
|
2860
3535
|
content: {
|
|
2861
3536
|
type: "text";
|
|
2862
3537
|
text: string;
|
|
@@ -2871,6 +3546,8 @@ export declare const methods: {
|
|
|
2871
3546
|
uri: string;
|
|
2872
3547
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
2873
3548
|
};
|
|
3549
|
+
sessionUpdate: "agent_thought_chunk";
|
|
3550
|
+
messageId: string;
|
|
2874
3551
|
parentToolCallId?: string | undefined;
|
|
2875
3552
|
} | {
|
|
2876
3553
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -2903,6 +3580,10 @@ export declare const methods: {
|
|
|
2903
3580
|
} | {
|
|
2904
3581
|
type: "review";
|
|
2905
3582
|
phase: "started" | "finished";
|
|
3583
|
+
} | {
|
|
3584
|
+
type: "question";
|
|
3585
|
+
text: string;
|
|
3586
|
+
more?: number | undefined;
|
|
2906
3587
|
} | undefined;
|
|
2907
3588
|
content?: ({
|
|
2908
3589
|
type: "content";
|
|
@@ -2971,6 +3652,10 @@ export declare const methods: {
|
|
|
2971
3652
|
} | {
|
|
2972
3653
|
type: "review";
|
|
2973
3654
|
phase: "started" | "finished";
|
|
3655
|
+
} | {
|
|
3656
|
+
type: "question";
|
|
3657
|
+
text: string;
|
|
3658
|
+
more?: number | undefined;
|
|
2974
3659
|
} | undefined;
|
|
2975
3660
|
content?: ({
|
|
2976
3661
|
type: "content";
|
|
@@ -3071,10 +3756,29 @@ export declare const methods: {
|
|
|
3071
3756
|
sessionUpdate: "ls_permission";
|
|
3072
3757
|
toolCallId?: string | undefined;
|
|
3073
3758
|
detail?: string | undefined;
|
|
3759
|
+
questions?: {
|
|
3760
|
+
id: string;
|
|
3761
|
+
kind: "text" | "choice" | "choices";
|
|
3762
|
+
text: string;
|
|
3763
|
+
options?: {
|
|
3764
|
+
value: string;
|
|
3765
|
+
label: string;
|
|
3766
|
+
description?: string | undefined;
|
|
3767
|
+
}[] | undefined;
|
|
3768
|
+
other?: boolean | undefined;
|
|
3769
|
+
header?: string | undefined;
|
|
3770
|
+
secret?: boolean | undefined;
|
|
3771
|
+
required?: boolean | undefined;
|
|
3772
|
+
}[] | undefined;
|
|
3074
3773
|
} | {
|
|
3075
3774
|
requestId: string;
|
|
3076
3775
|
sessionUpdate: "ls_permission_resolved";
|
|
3077
3776
|
optionId?: string | undefined;
|
|
3777
|
+
answers?: {
|
|
3778
|
+
values: string[];
|
|
3779
|
+
id: string;
|
|
3780
|
+
other?: string | undefined;
|
|
3781
|
+
}[] | undefined;
|
|
3078
3782
|
} | {
|
|
3079
3783
|
driver: "remote" | "desktop" | "none";
|
|
3080
3784
|
sessionUpdate: "ls_driver";
|
|
@@ -3088,12 +3792,11 @@ export declare const methods: {
|
|
|
3088
3792
|
sessionUpdate: "ls_error";
|
|
3089
3793
|
hint?: string | undefined;
|
|
3090
3794
|
};
|
|
3091
|
-
}, {
|
|
3092
3795
|
sessionId: string;
|
|
3093
3796
|
seq: number;
|
|
3094
3797
|
ts: number;
|
|
3798
|
+
}, {
|
|
3095
3799
|
update: {
|
|
3096
|
-
sessionUpdate: "user_message_chunk";
|
|
3097
3800
|
content: {
|
|
3098
3801
|
type: "text";
|
|
3099
3802
|
text: string;
|
|
@@ -3108,10 +3811,9 @@ export declare const methods: {
|
|
|
3108
3811
|
uri: string;
|
|
3109
3812
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3110
3813
|
};
|
|
3814
|
+
sessionUpdate: "user_message_chunk";
|
|
3111
3815
|
messageId?: string | undefined;
|
|
3112
3816
|
} | {
|
|
3113
|
-
sessionUpdate: "agent_message_chunk";
|
|
3114
|
-
messageId: string;
|
|
3115
3817
|
content: {
|
|
3116
3818
|
type: "text";
|
|
3117
3819
|
text: string;
|
|
@@ -3126,10 +3828,10 @@ export declare const methods: {
|
|
|
3126
3828
|
uri: string;
|
|
3127
3829
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3128
3830
|
};
|
|
3831
|
+
sessionUpdate: "agent_message_chunk";
|
|
3832
|
+
messageId: string;
|
|
3129
3833
|
parentToolCallId?: string | undefined;
|
|
3130
3834
|
} | {
|
|
3131
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3132
|
-
messageId: string;
|
|
3133
3835
|
content: {
|
|
3134
3836
|
type: "text";
|
|
3135
3837
|
text: string;
|
|
@@ -3144,6 +3846,8 @@ export declare const methods: {
|
|
|
3144
3846
|
uri: string;
|
|
3145
3847
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3146
3848
|
};
|
|
3849
|
+
sessionUpdate: "agent_thought_chunk";
|
|
3850
|
+
messageId: string;
|
|
3147
3851
|
parentToolCallId?: string | undefined;
|
|
3148
3852
|
} | {
|
|
3149
3853
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -3176,6 +3880,10 @@ export declare const methods: {
|
|
|
3176
3880
|
} | {
|
|
3177
3881
|
type: "review";
|
|
3178
3882
|
phase: "started" | "finished";
|
|
3883
|
+
} | {
|
|
3884
|
+
type: "question";
|
|
3885
|
+
text: string;
|
|
3886
|
+
more?: number | undefined;
|
|
3179
3887
|
} | undefined;
|
|
3180
3888
|
content?: ({
|
|
3181
3889
|
type: "content";
|
|
@@ -3244,6 +3952,10 @@ export declare const methods: {
|
|
|
3244
3952
|
} | {
|
|
3245
3953
|
type: "review";
|
|
3246
3954
|
phase: "started" | "finished";
|
|
3955
|
+
} | {
|
|
3956
|
+
type: "question";
|
|
3957
|
+
text: string;
|
|
3958
|
+
more?: number | undefined;
|
|
3247
3959
|
} | undefined;
|
|
3248
3960
|
content?: ({
|
|
3249
3961
|
type: "content";
|
|
@@ -3344,10 +4056,29 @@ export declare const methods: {
|
|
|
3344
4056
|
sessionUpdate: "ls_permission";
|
|
3345
4057
|
toolCallId?: string | undefined;
|
|
3346
4058
|
detail?: string | undefined;
|
|
4059
|
+
questions?: {
|
|
4060
|
+
id: string;
|
|
4061
|
+
kind: "text" | "choice" | "choices";
|
|
4062
|
+
text: string;
|
|
4063
|
+
options?: {
|
|
4064
|
+
value: string;
|
|
4065
|
+
label: string;
|
|
4066
|
+
description?: string | undefined;
|
|
4067
|
+
}[] | undefined;
|
|
4068
|
+
other?: boolean | undefined;
|
|
4069
|
+
header?: string | undefined;
|
|
4070
|
+
secret?: boolean | undefined;
|
|
4071
|
+
required?: boolean | undefined;
|
|
4072
|
+
}[] | undefined;
|
|
3347
4073
|
} | {
|
|
3348
4074
|
requestId: string;
|
|
3349
4075
|
sessionUpdate: "ls_permission_resolved";
|
|
3350
4076
|
optionId?: string | undefined;
|
|
4077
|
+
answers?: {
|
|
4078
|
+
values: string[];
|
|
4079
|
+
id: string;
|
|
4080
|
+
other?: string | undefined;
|
|
4081
|
+
}[] | undefined;
|
|
3351
4082
|
} | {
|
|
3352
4083
|
driver: "remote" | "desktop" | "none";
|
|
3353
4084
|
sessionUpdate: "ls_driver";
|
|
@@ -3361,16 +4092,15 @@ export declare const methods: {
|
|
|
3361
4092
|
sessionUpdate: "ls_error";
|
|
3362
4093
|
hint?: string | undefined;
|
|
3363
4094
|
};
|
|
4095
|
+
sessionId: string;
|
|
4096
|
+
seq: number;
|
|
4097
|
+
ts: number;
|
|
3364
4098
|
}>, "many">;
|
|
3365
4099
|
startSeq: z.ZodNumber;
|
|
3366
4100
|
}, "strip", z.ZodTypeAny, {
|
|
3367
4101
|
startSeq: number;
|
|
3368
4102
|
events: {
|
|
3369
|
-
sessionId: string;
|
|
3370
|
-
seq: number;
|
|
3371
|
-
ts: number;
|
|
3372
4103
|
update: {
|
|
3373
|
-
sessionUpdate: "user_message_chunk";
|
|
3374
4104
|
content: {
|
|
3375
4105
|
type: "text";
|
|
3376
4106
|
text: string;
|
|
@@ -3385,10 +4115,9 @@ export declare const methods: {
|
|
|
3385
4115
|
uri: string;
|
|
3386
4116
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3387
4117
|
};
|
|
4118
|
+
sessionUpdate: "user_message_chunk";
|
|
3388
4119
|
messageId?: string | undefined;
|
|
3389
4120
|
} | {
|
|
3390
|
-
sessionUpdate: "agent_message_chunk";
|
|
3391
|
-
messageId: string;
|
|
3392
4121
|
content: {
|
|
3393
4122
|
type: "text";
|
|
3394
4123
|
text: string;
|
|
@@ -3403,10 +4132,10 @@ export declare const methods: {
|
|
|
3403
4132
|
uri: string;
|
|
3404
4133
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3405
4134
|
};
|
|
4135
|
+
sessionUpdate: "agent_message_chunk";
|
|
4136
|
+
messageId: string;
|
|
3406
4137
|
parentToolCallId?: string | undefined;
|
|
3407
4138
|
} | {
|
|
3408
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3409
|
-
messageId: string;
|
|
3410
4139
|
content: {
|
|
3411
4140
|
type: "text";
|
|
3412
4141
|
text: string;
|
|
@@ -3421,6 +4150,8 @@ export declare const methods: {
|
|
|
3421
4150
|
uri: string;
|
|
3422
4151
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3423
4152
|
};
|
|
4153
|
+
sessionUpdate: "agent_thought_chunk";
|
|
4154
|
+
messageId: string;
|
|
3424
4155
|
parentToolCallId?: string | undefined;
|
|
3425
4156
|
} | {
|
|
3426
4157
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -3453,6 +4184,10 @@ export declare const methods: {
|
|
|
3453
4184
|
} | {
|
|
3454
4185
|
type: "review";
|
|
3455
4186
|
phase: "started" | "finished";
|
|
4187
|
+
} | {
|
|
4188
|
+
type: "question";
|
|
4189
|
+
text: string;
|
|
4190
|
+
more?: number | undefined;
|
|
3456
4191
|
} | undefined;
|
|
3457
4192
|
content?: ({
|
|
3458
4193
|
type: "content";
|
|
@@ -3521,6 +4256,10 @@ export declare const methods: {
|
|
|
3521
4256
|
} | {
|
|
3522
4257
|
type: "review";
|
|
3523
4258
|
phase: "started" | "finished";
|
|
4259
|
+
} | {
|
|
4260
|
+
type: "question";
|
|
4261
|
+
text: string;
|
|
4262
|
+
more?: number | undefined;
|
|
3524
4263
|
} | undefined;
|
|
3525
4264
|
content?: ({
|
|
3526
4265
|
type: "content";
|
|
@@ -3621,10 +4360,29 @@ export declare const methods: {
|
|
|
3621
4360
|
sessionUpdate: "ls_permission";
|
|
3622
4361
|
toolCallId?: string | undefined;
|
|
3623
4362
|
detail?: string | undefined;
|
|
4363
|
+
questions?: {
|
|
4364
|
+
id: string;
|
|
4365
|
+
kind: "text" | "choice" | "choices";
|
|
4366
|
+
text: string;
|
|
4367
|
+
options?: {
|
|
4368
|
+
value: string;
|
|
4369
|
+
label: string;
|
|
4370
|
+
description?: string | undefined;
|
|
4371
|
+
}[] | undefined;
|
|
4372
|
+
other?: boolean | undefined;
|
|
4373
|
+
header?: string | undefined;
|
|
4374
|
+
secret?: boolean | undefined;
|
|
4375
|
+
required?: boolean | undefined;
|
|
4376
|
+
}[] | undefined;
|
|
3624
4377
|
} | {
|
|
3625
4378
|
requestId: string;
|
|
3626
4379
|
sessionUpdate: "ls_permission_resolved";
|
|
3627
4380
|
optionId?: string | undefined;
|
|
4381
|
+
answers?: {
|
|
4382
|
+
values: string[];
|
|
4383
|
+
id: string;
|
|
4384
|
+
other?: string | undefined;
|
|
4385
|
+
}[] | undefined;
|
|
3628
4386
|
} | {
|
|
3629
4387
|
driver: "remote" | "desktop" | "none";
|
|
3630
4388
|
sessionUpdate: "ls_driver";
|
|
@@ -3638,15 +4396,14 @@ export declare const methods: {
|
|
|
3638
4396
|
sessionUpdate: "ls_error";
|
|
3639
4397
|
hint?: string | undefined;
|
|
3640
4398
|
};
|
|
4399
|
+
sessionId: string;
|
|
4400
|
+
seq: number;
|
|
4401
|
+
ts: number;
|
|
3641
4402
|
}[];
|
|
3642
4403
|
}, {
|
|
3643
4404
|
startSeq: number;
|
|
3644
4405
|
events: {
|
|
3645
|
-
sessionId: string;
|
|
3646
|
-
seq: number;
|
|
3647
|
-
ts: number;
|
|
3648
4406
|
update: {
|
|
3649
|
-
sessionUpdate: "user_message_chunk";
|
|
3650
4407
|
content: {
|
|
3651
4408
|
type: "text";
|
|
3652
4409
|
text: string;
|
|
@@ -3661,10 +4418,9 @@ export declare const methods: {
|
|
|
3661
4418
|
uri: string;
|
|
3662
4419
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3663
4420
|
};
|
|
4421
|
+
sessionUpdate: "user_message_chunk";
|
|
3664
4422
|
messageId?: string | undefined;
|
|
3665
4423
|
} | {
|
|
3666
|
-
sessionUpdate: "agent_message_chunk";
|
|
3667
|
-
messageId: string;
|
|
3668
4424
|
content: {
|
|
3669
4425
|
type: "text";
|
|
3670
4426
|
text: string;
|
|
@@ -3679,10 +4435,10 @@ export declare const methods: {
|
|
|
3679
4435
|
uri: string;
|
|
3680
4436
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3681
4437
|
};
|
|
4438
|
+
sessionUpdate: "agent_message_chunk";
|
|
4439
|
+
messageId: string;
|
|
3682
4440
|
parentToolCallId?: string | undefined;
|
|
3683
4441
|
} | {
|
|
3684
|
-
sessionUpdate: "agent_thought_chunk";
|
|
3685
|
-
messageId: string;
|
|
3686
4442
|
content: {
|
|
3687
4443
|
type: "text";
|
|
3688
4444
|
text: string;
|
|
@@ -3697,6 +4453,8 @@ export declare const methods: {
|
|
|
3697
4453
|
uri: string;
|
|
3698
4454
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
3699
4455
|
};
|
|
4456
|
+
sessionUpdate: "agent_thought_chunk";
|
|
4457
|
+
messageId: string;
|
|
3700
4458
|
parentToolCallId?: string | undefined;
|
|
3701
4459
|
} | {
|
|
3702
4460
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -3729,6 +4487,10 @@ export declare const methods: {
|
|
|
3729
4487
|
} | {
|
|
3730
4488
|
type: "review";
|
|
3731
4489
|
phase: "started" | "finished";
|
|
4490
|
+
} | {
|
|
4491
|
+
type: "question";
|
|
4492
|
+
text: string;
|
|
4493
|
+
more?: number | undefined;
|
|
3732
4494
|
} | undefined;
|
|
3733
4495
|
content?: ({
|
|
3734
4496
|
type: "content";
|
|
@@ -3797,6 +4559,10 @@ export declare const methods: {
|
|
|
3797
4559
|
} | {
|
|
3798
4560
|
type: "review";
|
|
3799
4561
|
phase: "started" | "finished";
|
|
4562
|
+
} | {
|
|
4563
|
+
type: "question";
|
|
4564
|
+
text: string;
|
|
4565
|
+
more?: number | undefined;
|
|
3800
4566
|
} | undefined;
|
|
3801
4567
|
content?: ({
|
|
3802
4568
|
type: "content";
|
|
@@ -3897,10 +4663,29 @@ export declare const methods: {
|
|
|
3897
4663
|
sessionUpdate: "ls_permission";
|
|
3898
4664
|
toolCallId?: string | undefined;
|
|
3899
4665
|
detail?: string | undefined;
|
|
4666
|
+
questions?: {
|
|
4667
|
+
id: string;
|
|
4668
|
+
kind: "text" | "choice" | "choices";
|
|
4669
|
+
text: string;
|
|
4670
|
+
options?: {
|
|
4671
|
+
value: string;
|
|
4672
|
+
label: string;
|
|
4673
|
+
description?: string | undefined;
|
|
4674
|
+
}[] | undefined;
|
|
4675
|
+
other?: boolean | undefined;
|
|
4676
|
+
header?: string | undefined;
|
|
4677
|
+
secret?: boolean | undefined;
|
|
4678
|
+
required?: boolean | undefined;
|
|
4679
|
+
}[] | undefined;
|
|
3900
4680
|
} | {
|
|
3901
4681
|
requestId: string;
|
|
3902
4682
|
sessionUpdate: "ls_permission_resolved";
|
|
3903
4683
|
optionId?: string | undefined;
|
|
4684
|
+
answers?: {
|
|
4685
|
+
values: string[];
|
|
4686
|
+
id: string;
|
|
4687
|
+
other?: string | undefined;
|
|
4688
|
+
}[] | undefined;
|
|
3904
4689
|
} | {
|
|
3905
4690
|
driver: "remote" | "desktop" | "none";
|
|
3906
4691
|
sessionUpdate: "ls_driver";
|
|
@@ -3914,6 +4699,9 @@ export declare const methods: {
|
|
|
3914
4699
|
sessionUpdate: "ls_error";
|
|
3915
4700
|
hint?: string | undefined;
|
|
3916
4701
|
};
|
|
4702
|
+
sessionId: string;
|
|
4703
|
+
seq: number;
|
|
4704
|
+
ts: number;
|
|
3917
4705
|
}[];
|
|
3918
4706
|
}>;
|
|
3919
4707
|
};
|
|
@@ -4042,7 +4830,6 @@ export declare const methods: {
|
|
|
4042
4830
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4043
4831
|
}>]>;
|
|
4044
4832
|
}, "strip", z.ZodTypeAny, {
|
|
4045
|
-
sessionUpdate: "user_message_chunk";
|
|
4046
4833
|
content: {
|
|
4047
4834
|
type: "text";
|
|
4048
4835
|
text: string;
|
|
@@ -4057,9 +4844,9 @@ export declare const methods: {
|
|
|
4057
4844
|
uri: string;
|
|
4058
4845
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4059
4846
|
};
|
|
4847
|
+
sessionUpdate: "user_message_chunk";
|
|
4060
4848
|
messageId?: string | undefined;
|
|
4061
4849
|
}, {
|
|
4062
|
-
sessionUpdate: "user_message_chunk";
|
|
4063
4850
|
content: {
|
|
4064
4851
|
type: "text";
|
|
4065
4852
|
text: string;
|
|
@@ -4074,6 +4861,7 @@ export declare const methods: {
|
|
|
4074
4861
|
uri: string;
|
|
4075
4862
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4076
4863
|
};
|
|
4864
|
+
sessionUpdate: "user_message_chunk";
|
|
4077
4865
|
messageId?: string | undefined;
|
|
4078
4866
|
}>, z.ZodObject<{
|
|
4079
4867
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -4120,8 +4908,6 @@ export declare const methods: {
|
|
|
4120
4908
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4121
4909
|
}>]>;
|
|
4122
4910
|
}, "strip", z.ZodTypeAny, {
|
|
4123
|
-
sessionUpdate: "agent_message_chunk";
|
|
4124
|
-
messageId: string;
|
|
4125
4911
|
content: {
|
|
4126
4912
|
type: "text";
|
|
4127
4913
|
text: string;
|
|
@@ -4136,10 +4922,10 @@ export declare const methods: {
|
|
|
4136
4922
|
uri: string;
|
|
4137
4923
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4138
4924
|
};
|
|
4139
|
-
parentToolCallId?: string | undefined;
|
|
4140
|
-
}, {
|
|
4141
4925
|
sessionUpdate: "agent_message_chunk";
|
|
4142
4926
|
messageId: string;
|
|
4927
|
+
parentToolCallId?: string | undefined;
|
|
4928
|
+
}, {
|
|
4143
4929
|
content: {
|
|
4144
4930
|
type: "text";
|
|
4145
4931
|
text: string;
|
|
@@ -4154,6 +4940,8 @@ export declare const methods: {
|
|
|
4154
4940
|
uri: string;
|
|
4155
4941
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4156
4942
|
};
|
|
4943
|
+
sessionUpdate: "agent_message_chunk";
|
|
4944
|
+
messageId: string;
|
|
4157
4945
|
parentToolCallId?: string | undefined;
|
|
4158
4946
|
}>, z.ZodObject<{
|
|
4159
4947
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -4200,8 +4988,6 @@ export declare const methods: {
|
|
|
4200
4988
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4201
4989
|
}>]>;
|
|
4202
4990
|
}, "strip", z.ZodTypeAny, {
|
|
4203
|
-
sessionUpdate: "agent_thought_chunk";
|
|
4204
|
-
messageId: string;
|
|
4205
4991
|
content: {
|
|
4206
4992
|
type: "text";
|
|
4207
4993
|
text: string;
|
|
@@ -4216,10 +5002,10 @@ export declare const methods: {
|
|
|
4216
5002
|
uri: string;
|
|
4217
5003
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4218
5004
|
};
|
|
4219
|
-
parentToolCallId?: string | undefined;
|
|
4220
|
-
}, {
|
|
4221
5005
|
sessionUpdate: "agent_thought_chunk";
|
|
4222
5006
|
messageId: string;
|
|
5007
|
+
parentToolCallId?: string | undefined;
|
|
5008
|
+
}, {
|
|
4223
5009
|
content: {
|
|
4224
5010
|
type: "text";
|
|
4225
5011
|
text: string;
|
|
@@ -4234,6 +5020,8 @@ export declare const methods: {
|
|
|
4234
5020
|
uri: string;
|
|
4235
5021
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
4236
5022
|
};
|
|
5023
|
+
sessionUpdate: "agent_thought_chunk";
|
|
5024
|
+
messageId: string;
|
|
4237
5025
|
parentToolCallId?: string | undefined;
|
|
4238
5026
|
}>, z.ZodObject<{
|
|
4239
5027
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -4445,6 +5233,18 @@ export declare const methods: {
|
|
|
4445
5233
|
}, {
|
|
4446
5234
|
type: "review";
|
|
4447
5235
|
phase: "started" | "finished";
|
|
5236
|
+
}>, z.ZodObject<{
|
|
5237
|
+
type: z.ZodLiteral<"question">;
|
|
5238
|
+
text: z.ZodString;
|
|
5239
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
5240
|
+
}, "strip", z.ZodTypeAny, {
|
|
5241
|
+
type: "question";
|
|
5242
|
+
text: string;
|
|
5243
|
+
more?: number | undefined;
|
|
5244
|
+
}, {
|
|
5245
|
+
type: "question";
|
|
5246
|
+
text: string;
|
|
5247
|
+
more?: number | undefined;
|
|
4448
5248
|
}>]>>;
|
|
4449
5249
|
}, "strip", z.ZodTypeAny, {
|
|
4450
5250
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -4477,6 +5277,10 @@ export declare const methods: {
|
|
|
4477
5277
|
} | {
|
|
4478
5278
|
type: "review";
|
|
4479
5279
|
phase: "started" | "finished";
|
|
5280
|
+
} | {
|
|
5281
|
+
type: "question";
|
|
5282
|
+
text: string;
|
|
5283
|
+
more?: number | undefined;
|
|
4480
5284
|
} | undefined;
|
|
4481
5285
|
content?: ({
|
|
4482
5286
|
type: "content";
|
|
@@ -4546,6 +5350,10 @@ export declare const methods: {
|
|
|
4546
5350
|
} | {
|
|
4547
5351
|
type: "review";
|
|
4548
5352
|
phase: "started" | "finished";
|
|
5353
|
+
} | {
|
|
5354
|
+
type: "question";
|
|
5355
|
+
text: string;
|
|
5356
|
+
more?: number | undefined;
|
|
4549
5357
|
} | undefined;
|
|
4550
5358
|
content?: ({
|
|
4551
5359
|
type: "content";
|
|
@@ -4665,6 +5473,18 @@ export declare const methods: {
|
|
|
4665
5473
|
}, {
|
|
4666
5474
|
type: "review";
|
|
4667
5475
|
phase: "started" | "finished";
|
|
5476
|
+
}>, z.ZodObject<{
|
|
5477
|
+
type: z.ZodLiteral<"question">;
|
|
5478
|
+
text: z.ZodString;
|
|
5479
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
5480
|
+
}, "strip", z.ZodTypeAny, {
|
|
5481
|
+
type: "question";
|
|
5482
|
+
text: string;
|
|
5483
|
+
more?: number | undefined;
|
|
5484
|
+
}, {
|
|
5485
|
+
type: "question";
|
|
5486
|
+
text: string;
|
|
5487
|
+
more?: number | undefined;
|
|
4668
5488
|
}>]>>;
|
|
4669
5489
|
content: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4670
5490
|
type: z.ZodLiteral<"content">;
|
|
@@ -4815,6 +5635,10 @@ export declare const methods: {
|
|
|
4815
5635
|
} | {
|
|
4816
5636
|
type: "review";
|
|
4817
5637
|
phase: "started" | "finished";
|
|
5638
|
+
} | {
|
|
5639
|
+
type: "question";
|
|
5640
|
+
text: string;
|
|
5641
|
+
more?: number | undefined;
|
|
4818
5642
|
} | undefined;
|
|
4819
5643
|
content?: ({
|
|
4820
5644
|
type: "content";
|
|
@@ -4880,6 +5704,10 @@ export declare const methods: {
|
|
|
4880
5704
|
} | {
|
|
4881
5705
|
type: "review";
|
|
4882
5706
|
phase: "started" | "finished";
|
|
5707
|
+
} | {
|
|
5708
|
+
type: "question";
|
|
5709
|
+
text: string;
|
|
5710
|
+
more?: number | undefined;
|
|
4883
5711
|
} | undefined;
|
|
4884
5712
|
content?: ({
|
|
4885
5713
|
type: "content";
|
|
@@ -5140,6 +5968,54 @@ export declare const methods: {
|
|
|
5140
5968
|
name: string;
|
|
5141
5969
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
5142
5970
|
}>, "many">;
|
|
5971
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5972
|
+
id: z.ZodString;
|
|
5973
|
+
header: z.ZodOptional<z.ZodString>;
|
|
5974
|
+
text: z.ZodString;
|
|
5975
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
5976
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5977
|
+
value: z.ZodString;
|
|
5978
|
+
label: z.ZodString;
|
|
5979
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5980
|
+
}, "strip", z.ZodTypeAny, {
|
|
5981
|
+
value: string;
|
|
5982
|
+
label: string;
|
|
5983
|
+
description?: string | undefined;
|
|
5984
|
+
}, {
|
|
5985
|
+
value: string;
|
|
5986
|
+
label: string;
|
|
5987
|
+
description?: string | undefined;
|
|
5988
|
+
}>, "many">>;
|
|
5989
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
5990
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
5991
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
5992
|
+
}, "strip", z.ZodTypeAny, {
|
|
5993
|
+
id: string;
|
|
5994
|
+
kind: "text" | "choice" | "choices";
|
|
5995
|
+
text: string;
|
|
5996
|
+
options?: {
|
|
5997
|
+
value: string;
|
|
5998
|
+
label: string;
|
|
5999
|
+
description?: string | undefined;
|
|
6000
|
+
}[] | undefined;
|
|
6001
|
+
other?: boolean | undefined;
|
|
6002
|
+
header?: string | undefined;
|
|
6003
|
+
secret?: boolean | undefined;
|
|
6004
|
+
required?: boolean | undefined;
|
|
6005
|
+
}, {
|
|
6006
|
+
id: string;
|
|
6007
|
+
kind: "text" | "choice" | "choices";
|
|
6008
|
+
text: string;
|
|
6009
|
+
options?: {
|
|
6010
|
+
value: string;
|
|
6011
|
+
label: string;
|
|
6012
|
+
description?: string | undefined;
|
|
6013
|
+
}[] | undefined;
|
|
6014
|
+
other?: boolean | undefined;
|
|
6015
|
+
header?: string | undefined;
|
|
6016
|
+
secret?: boolean | undefined;
|
|
6017
|
+
required?: boolean | undefined;
|
|
6018
|
+
}>, "many">>;
|
|
5143
6019
|
}, "strip", z.ZodTypeAny, {
|
|
5144
6020
|
options: {
|
|
5145
6021
|
optionId: string;
|
|
@@ -5151,6 +6027,20 @@ export declare const methods: {
|
|
|
5151
6027
|
sessionUpdate: "ls_permission";
|
|
5152
6028
|
toolCallId?: string | undefined;
|
|
5153
6029
|
detail?: string | undefined;
|
|
6030
|
+
questions?: {
|
|
6031
|
+
id: string;
|
|
6032
|
+
kind: "text" | "choice" | "choices";
|
|
6033
|
+
text: string;
|
|
6034
|
+
options?: {
|
|
6035
|
+
value: string;
|
|
6036
|
+
label: string;
|
|
6037
|
+
description?: string | undefined;
|
|
6038
|
+
}[] | undefined;
|
|
6039
|
+
other?: boolean | undefined;
|
|
6040
|
+
header?: string | undefined;
|
|
6041
|
+
secret?: boolean | undefined;
|
|
6042
|
+
required?: boolean | undefined;
|
|
6043
|
+
}[] | undefined;
|
|
5154
6044
|
}, {
|
|
5155
6045
|
options: {
|
|
5156
6046
|
optionId: string;
|
|
@@ -5162,18 +6052,55 @@ export declare const methods: {
|
|
|
5162
6052
|
sessionUpdate: "ls_permission";
|
|
5163
6053
|
toolCallId?: string | undefined;
|
|
5164
6054
|
detail?: string | undefined;
|
|
6055
|
+
questions?: {
|
|
6056
|
+
id: string;
|
|
6057
|
+
kind: "text" | "choice" | "choices";
|
|
6058
|
+
text: string;
|
|
6059
|
+
options?: {
|
|
6060
|
+
value: string;
|
|
6061
|
+
label: string;
|
|
6062
|
+
description?: string | undefined;
|
|
6063
|
+
}[] | undefined;
|
|
6064
|
+
other?: boolean | undefined;
|
|
6065
|
+
header?: string | undefined;
|
|
6066
|
+
secret?: boolean | undefined;
|
|
6067
|
+
required?: boolean | undefined;
|
|
6068
|
+
}[] | undefined;
|
|
5165
6069
|
}>, z.ZodObject<{
|
|
5166
6070
|
sessionUpdate: z.ZodLiteral<"ls_permission_resolved">;
|
|
5167
6071
|
requestId: z.ZodString;
|
|
5168
6072
|
optionId: z.ZodOptional<z.ZodString>;
|
|
6073
|
+
answers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6074
|
+
id: z.ZodString;
|
|
6075
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
6076
|
+
other: z.ZodOptional<z.ZodString>;
|
|
6077
|
+
}, "strip", z.ZodTypeAny, {
|
|
6078
|
+
values: string[];
|
|
6079
|
+
id: string;
|
|
6080
|
+
other?: string | undefined;
|
|
6081
|
+
}, {
|
|
6082
|
+
values: string[];
|
|
6083
|
+
id: string;
|
|
6084
|
+
other?: string | undefined;
|
|
6085
|
+
}>, "many">>;
|
|
5169
6086
|
}, "strip", z.ZodTypeAny, {
|
|
5170
6087
|
requestId: string;
|
|
5171
6088
|
sessionUpdate: "ls_permission_resolved";
|
|
5172
6089
|
optionId?: string | undefined;
|
|
6090
|
+
answers?: {
|
|
6091
|
+
values: string[];
|
|
6092
|
+
id: string;
|
|
6093
|
+
other?: string | undefined;
|
|
6094
|
+
}[] | undefined;
|
|
5173
6095
|
}, {
|
|
5174
6096
|
requestId: string;
|
|
5175
6097
|
sessionUpdate: "ls_permission_resolved";
|
|
5176
6098
|
optionId?: string | undefined;
|
|
6099
|
+
answers?: {
|
|
6100
|
+
values: string[];
|
|
6101
|
+
id: string;
|
|
6102
|
+
other?: string | undefined;
|
|
6103
|
+
}[] | undefined;
|
|
5177
6104
|
}>, z.ZodObject<{
|
|
5178
6105
|
sessionUpdate: z.ZodLiteral<"ls_driver">;
|
|
5179
6106
|
driver: z.ZodEnum<["desktop", "remote", "none"]>;
|
|
@@ -5212,11 +6139,7 @@ export declare const methods: {
|
|
|
5212
6139
|
hint?: string | undefined;
|
|
5213
6140
|
}>]>;
|
|
5214
6141
|
}, "strip", z.ZodTypeAny, {
|
|
5215
|
-
sessionId: string;
|
|
5216
|
-
seq: number;
|
|
5217
|
-
ts: number;
|
|
5218
6142
|
update: {
|
|
5219
|
-
sessionUpdate: "user_message_chunk";
|
|
5220
6143
|
content: {
|
|
5221
6144
|
type: "text";
|
|
5222
6145
|
text: string;
|
|
@@ -5231,10 +6154,9 @@ export declare const methods: {
|
|
|
5231
6154
|
uri: string;
|
|
5232
6155
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5233
6156
|
};
|
|
6157
|
+
sessionUpdate: "user_message_chunk";
|
|
5234
6158
|
messageId?: string | undefined;
|
|
5235
6159
|
} | {
|
|
5236
|
-
sessionUpdate: "agent_message_chunk";
|
|
5237
|
-
messageId: string;
|
|
5238
6160
|
content: {
|
|
5239
6161
|
type: "text";
|
|
5240
6162
|
text: string;
|
|
@@ -5249,10 +6171,10 @@ export declare const methods: {
|
|
|
5249
6171
|
uri: string;
|
|
5250
6172
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5251
6173
|
};
|
|
6174
|
+
sessionUpdate: "agent_message_chunk";
|
|
6175
|
+
messageId: string;
|
|
5252
6176
|
parentToolCallId?: string | undefined;
|
|
5253
6177
|
} | {
|
|
5254
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5255
|
-
messageId: string;
|
|
5256
6178
|
content: {
|
|
5257
6179
|
type: "text";
|
|
5258
6180
|
text: string;
|
|
@@ -5267,6 +6189,8 @@ export declare const methods: {
|
|
|
5267
6189
|
uri: string;
|
|
5268
6190
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5269
6191
|
};
|
|
6192
|
+
sessionUpdate: "agent_thought_chunk";
|
|
6193
|
+
messageId: string;
|
|
5270
6194
|
parentToolCallId?: string | undefined;
|
|
5271
6195
|
} | {
|
|
5272
6196
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5299,6 +6223,10 @@ export declare const methods: {
|
|
|
5299
6223
|
} | {
|
|
5300
6224
|
type: "review";
|
|
5301
6225
|
phase: "started" | "finished";
|
|
6226
|
+
} | {
|
|
6227
|
+
type: "question";
|
|
6228
|
+
text: string;
|
|
6229
|
+
more?: number | undefined;
|
|
5302
6230
|
} | undefined;
|
|
5303
6231
|
content?: ({
|
|
5304
6232
|
type: "content";
|
|
@@ -5367,6 +6295,10 @@ export declare const methods: {
|
|
|
5367
6295
|
} | {
|
|
5368
6296
|
type: "review";
|
|
5369
6297
|
phase: "started" | "finished";
|
|
6298
|
+
} | {
|
|
6299
|
+
type: "question";
|
|
6300
|
+
text: string;
|
|
6301
|
+
more?: number | undefined;
|
|
5370
6302
|
} | undefined;
|
|
5371
6303
|
content?: ({
|
|
5372
6304
|
type: "content";
|
|
@@ -5467,10 +6399,29 @@ export declare const methods: {
|
|
|
5467
6399
|
sessionUpdate: "ls_permission";
|
|
5468
6400
|
toolCallId?: string | undefined;
|
|
5469
6401
|
detail?: string | undefined;
|
|
6402
|
+
questions?: {
|
|
6403
|
+
id: string;
|
|
6404
|
+
kind: "text" | "choice" | "choices";
|
|
6405
|
+
text: string;
|
|
6406
|
+
options?: {
|
|
6407
|
+
value: string;
|
|
6408
|
+
label: string;
|
|
6409
|
+
description?: string | undefined;
|
|
6410
|
+
}[] | undefined;
|
|
6411
|
+
other?: boolean | undefined;
|
|
6412
|
+
header?: string | undefined;
|
|
6413
|
+
secret?: boolean | undefined;
|
|
6414
|
+
required?: boolean | undefined;
|
|
6415
|
+
}[] | undefined;
|
|
5470
6416
|
} | {
|
|
5471
6417
|
requestId: string;
|
|
5472
6418
|
sessionUpdate: "ls_permission_resolved";
|
|
5473
6419
|
optionId?: string | undefined;
|
|
6420
|
+
answers?: {
|
|
6421
|
+
values: string[];
|
|
6422
|
+
id: string;
|
|
6423
|
+
other?: string | undefined;
|
|
6424
|
+
}[] | undefined;
|
|
5474
6425
|
} | {
|
|
5475
6426
|
driver: "remote" | "desktop" | "none";
|
|
5476
6427
|
sessionUpdate: "ls_driver";
|
|
@@ -5484,12 +6435,11 @@ export declare const methods: {
|
|
|
5484
6435
|
sessionUpdate: "ls_error";
|
|
5485
6436
|
hint?: string | undefined;
|
|
5486
6437
|
};
|
|
5487
|
-
}, {
|
|
5488
6438
|
sessionId: string;
|
|
5489
6439
|
seq: number;
|
|
5490
6440
|
ts: number;
|
|
6441
|
+
}, {
|
|
5491
6442
|
update: {
|
|
5492
|
-
sessionUpdate: "user_message_chunk";
|
|
5493
6443
|
content: {
|
|
5494
6444
|
type: "text";
|
|
5495
6445
|
text: string;
|
|
@@ -5504,10 +6454,9 @@ export declare const methods: {
|
|
|
5504
6454
|
uri: string;
|
|
5505
6455
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5506
6456
|
};
|
|
6457
|
+
sessionUpdate: "user_message_chunk";
|
|
5507
6458
|
messageId?: string | undefined;
|
|
5508
6459
|
} | {
|
|
5509
|
-
sessionUpdate: "agent_message_chunk";
|
|
5510
|
-
messageId: string;
|
|
5511
6460
|
content: {
|
|
5512
6461
|
type: "text";
|
|
5513
6462
|
text: string;
|
|
@@ -5522,10 +6471,10 @@ export declare const methods: {
|
|
|
5522
6471
|
uri: string;
|
|
5523
6472
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5524
6473
|
};
|
|
6474
|
+
sessionUpdate: "agent_message_chunk";
|
|
6475
|
+
messageId: string;
|
|
5525
6476
|
parentToolCallId?: string | undefined;
|
|
5526
6477
|
} | {
|
|
5527
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5528
|
-
messageId: string;
|
|
5529
6478
|
content: {
|
|
5530
6479
|
type: "text";
|
|
5531
6480
|
text: string;
|
|
@@ -5540,6 +6489,8 @@ export declare const methods: {
|
|
|
5540
6489
|
uri: string;
|
|
5541
6490
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5542
6491
|
};
|
|
6492
|
+
sessionUpdate: "agent_thought_chunk";
|
|
6493
|
+
messageId: string;
|
|
5543
6494
|
parentToolCallId?: string | undefined;
|
|
5544
6495
|
} | {
|
|
5545
6496
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5572,6 +6523,10 @@ export declare const methods: {
|
|
|
5572
6523
|
} | {
|
|
5573
6524
|
type: "review";
|
|
5574
6525
|
phase: "started" | "finished";
|
|
6526
|
+
} | {
|
|
6527
|
+
type: "question";
|
|
6528
|
+
text: string;
|
|
6529
|
+
more?: number | undefined;
|
|
5575
6530
|
} | undefined;
|
|
5576
6531
|
content?: ({
|
|
5577
6532
|
type: "content";
|
|
@@ -5640,6 +6595,10 @@ export declare const methods: {
|
|
|
5640
6595
|
} | {
|
|
5641
6596
|
type: "review";
|
|
5642
6597
|
phase: "started" | "finished";
|
|
6598
|
+
} | {
|
|
6599
|
+
type: "question";
|
|
6600
|
+
text: string;
|
|
6601
|
+
more?: number | undefined;
|
|
5643
6602
|
} | undefined;
|
|
5644
6603
|
content?: ({
|
|
5645
6604
|
type: "content";
|
|
@@ -5740,10 +6699,29 @@ export declare const methods: {
|
|
|
5740
6699
|
sessionUpdate: "ls_permission";
|
|
5741
6700
|
toolCallId?: string | undefined;
|
|
5742
6701
|
detail?: string | undefined;
|
|
6702
|
+
questions?: {
|
|
6703
|
+
id: string;
|
|
6704
|
+
kind: "text" | "choice" | "choices";
|
|
6705
|
+
text: string;
|
|
6706
|
+
options?: {
|
|
6707
|
+
value: string;
|
|
6708
|
+
label: string;
|
|
6709
|
+
description?: string | undefined;
|
|
6710
|
+
}[] | undefined;
|
|
6711
|
+
other?: boolean | undefined;
|
|
6712
|
+
header?: string | undefined;
|
|
6713
|
+
secret?: boolean | undefined;
|
|
6714
|
+
required?: boolean | undefined;
|
|
6715
|
+
}[] | undefined;
|
|
5743
6716
|
} | {
|
|
5744
6717
|
requestId: string;
|
|
5745
6718
|
sessionUpdate: "ls_permission_resolved";
|
|
5746
6719
|
optionId?: string | undefined;
|
|
6720
|
+
answers?: {
|
|
6721
|
+
values: string[];
|
|
6722
|
+
id: string;
|
|
6723
|
+
other?: string | undefined;
|
|
6724
|
+
}[] | undefined;
|
|
5747
6725
|
} | {
|
|
5748
6726
|
driver: "remote" | "desktop" | "none";
|
|
5749
6727
|
sessionUpdate: "ls_driver";
|
|
@@ -5757,14 +6735,13 @@ export declare const methods: {
|
|
|
5757
6735
|
sessionUpdate: "ls_error";
|
|
5758
6736
|
hint?: string | undefined;
|
|
5759
6737
|
};
|
|
5760
|
-
}>, "many">;
|
|
5761
|
-
}, "strip", z.ZodTypeAny, {
|
|
5762
|
-
events: {
|
|
5763
6738
|
sessionId: string;
|
|
5764
6739
|
seq: number;
|
|
5765
6740
|
ts: number;
|
|
6741
|
+
}>, "many">;
|
|
6742
|
+
}, "strip", z.ZodTypeAny, {
|
|
6743
|
+
events: {
|
|
5766
6744
|
update: {
|
|
5767
|
-
sessionUpdate: "user_message_chunk";
|
|
5768
6745
|
content: {
|
|
5769
6746
|
type: "text";
|
|
5770
6747
|
text: string;
|
|
@@ -5779,10 +6756,9 @@ export declare const methods: {
|
|
|
5779
6756
|
uri: string;
|
|
5780
6757
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5781
6758
|
};
|
|
6759
|
+
sessionUpdate: "user_message_chunk";
|
|
5782
6760
|
messageId?: string | undefined;
|
|
5783
6761
|
} | {
|
|
5784
|
-
sessionUpdate: "agent_message_chunk";
|
|
5785
|
-
messageId: string;
|
|
5786
6762
|
content: {
|
|
5787
6763
|
type: "text";
|
|
5788
6764
|
text: string;
|
|
@@ -5797,10 +6773,10 @@ export declare const methods: {
|
|
|
5797
6773
|
uri: string;
|
|
5798
6774
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5799
6775
|
};
|
|
6776
|
+
sessionUpdate: "agent_message_chunk";
|
|
6777
|
+
messageId: string;
|
|
5800
6778
|
parentToolCallId?: string | undefined;
|
|
5801
6779
|
} | {
|
|
5802
|
-
sessionUpdate: "agent_thought_chunk";
|
|
5803
|
-
messageId: string;
|
|
5804
6780
|
content: {
|
|
5805
6781
|
type: "text";
|
|
5806
6782
|
text: string;
|
|
@@ -5815,6 +6791,8 @@ export declare const methods: {
|
|
|
5815
6791
|
uri: string;
|
|
5816
6792
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5817
6793
|
};
|
|
6794
|
+
sessionUpdate: "agent_thought_chunk";
|
|
6795
|
+
messageId: string;
|
|
5818
6796
|
parentToolCallId?: string | undefined;
|
|
5819
6797
|
} | {
|
|
5820
6798
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -5847,6 +6825,10 @@ export declare const methods: {
|
|
|
5847
6825
|
} | {
|
|
5848
6826
|
type: "review";
|
|
5849
6827
|
phase: "started" | "finished";
|
|
6828
|
+
} | {
|
|
6829
|
+
type: "question";
|
|
6830
|
+
text: string;
|
|
6831
|
+
more?: number | undefined;
|
|
5850
6832
|
} | undefined;
|
|
5851
6833
|
content?: ({
|
|
5852
6834
|
type: "content";
|
|
@@ -5915,6 +6897,10 @@ export declare const methods: {
|
|
|
5915
6897
|
} | {
|
|
5916
6898
|
type: "review";
|
|
5917
6899
|
phase: "started" | "finished";
|
|
6900
|
+
} | {
|
|
6901
|
+
type: "question";
|
|
6902
|
+
text: string;
|
|
6903
|
+
more?: number | undefined;
|
|
5918
6904
|
} | undefined;
|
|
5919
6905
|
content?: ({
|
|
5920
6906
|
type: "content";
|
|
@@ -6015,10 +7001,29 @@ export declare const methods: {
|
|
|
6015
7001
|
sessionUpdate: "ls_permission";
|
|
6016
7002
|
toolCallId?: string | undefined;
|
|
6017
7003
|
detail?: string | undefined;
|
|
7004
|
+
questions?: {
|
|
7005
|
+
id: string;
|
|
7006
|
+
kind: "text" | "choice" | "choices";
|
|
7007
|
+
text: string;
|
|
7008
|
+
options?: {
|
|
7009
|
+
value: string;
|
|
7010
|
+
label: string;
|
|
7011
|
+
description?: string | undefined;
|
|
7012
|
+
}[] | undefined;
|
|
7013
|
+
other?: boolean | undefined;
|
|
7014
|
+
header?: string | undefined;
|
|
7015
|
+
secret?: boolean | undefined;
|
|
7016
|
+
required?: boolean | undefined;
|
|
7017
|
+
}[] | undefined;
|
|
6018
7018
|
} | {
|
|
6019
7019
|
requestId: string;
|
|
6020
7020
|
sessionUpdate: "ls_permission_resolved";
|
|
6021
7021
|
optionId?: string | undefined;
|
|
7022
|
+
answers?: {
|
|
7023
|
+
values: string[];
|
|
7024
|
+
id: string;
|
|
7025
|
+
other?: string | undefined;
|
|
7026
|
+
}[] | undefined;
|
|
6022
7027
|
} | {
|
|
6023
7028
|
driver: "remote" | "desktop" | "none";
|
|
6024
7029
|
sessionUpdate: "ls_driver";
|
|
@@ -6032,14 +7037,13 @@ export declare const methods: {
|
|
|
6032
7037
|
sessionUpdate: "ls_error";
|
|
6033
7038
|
hint?: string | undefined;
|
|
6034
7039
|
};
|
|
6035
|
-
}[];
|
|
6036
|
-
}, {
|
|
6037
|
-
events: {
|
|
6038
7040
|
sessionId: string;
|
|
6039
7041
|
seq: number;
|
|
6040
7042
|
ts: number;
|
|
7043
|
+
}[];
|
|
7044
|
+
}, {
|
|
7045
|
+
events: {
|
|
6041
7046
|
update: {
|
|
6042
|
-
sessionUpdate: "user_message_chunk";
|
|
6043
7047
|
content: {
|
|
6044
7048
|
type: "text";
|
|
6045
7049
|
text: string;
|
|
@@ -6054,10 +7058,9 @@ export declare const methods: {
|
|
|
6054
7058
|
uri: string;
|
|
6055
7059
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6056
7060
|
};
|
|
7061
|
+
sessionUpdate: "user_message_chunk";
|
|
6057
7062
|
messageId?: string | undefined;
|
|
6058
7063
|
} | {
|
|
6059
|
-
sessionUpdate: "agent_message_chunk";
|
|
6060
|
-
messageId: string;
|
|
6061
7064
|
content: {
|
|
6062
7065
|
type: "text";
|
|
6063
7066
|
text: string;
|
|
@@ -6072,10 +7075,10 @@ export declare const methods: {
|
|
|
6072
7075
|
uri: string;
|
|
6073
7076
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6074
7077
|
};
|
|
7078
|
+
sessionUpdate: "agent_message_chunk";
|
|
7079
|
+
messageId: string;
|
|
6075
7080
|
parentToolCallId?: string | undefined;
|
|
6076
7081
|
} | {
|
|
6077
|
-
sessionUpdate: "agent_thought_chunk";
|
|
6078
|
-
messageId: string;
|
|
6079
7082
|
content: {
|
|
6080
7083
|
type: "text";
|
|
6081
7084
|
text: string;
|
|
@@ -6090,6 +7093,8 @@ export declare const methods: {
|
|
|
6090
7093
|
uri: string;
|
|
6091
7094
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6092
7095
|
};
|
|
7096
|
+
sessionUpdate: "agent_thought_chunk";
|
|
7097
|
+
messageId: string;
|
|
6093
7098
|
parentToolCallId?: string | undefined;
|
|
6094
7099
|
} | {
|
|
6095
7100
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -6122,6 +7127,10 @@ export declare const methods: {
|
|
|
6122
7127
|
} | {
|
|
6123
7128
|
type: "review";
|
|
6124
7129
|
phase: "started" | "finished";
|
|
7130
|
+
} | {
|
|
7131
|
+
type: "question";
|
|
7132
|
+
text: string;
|
|
7133
|
+
more?: number | undefined;
|
|
6125
7134
|
} | undefined;
|
|
6126
7135
|
content?: ({
|
|
6127
7136
|
type: "content";
|
|
@@ -6190,6 +7199,10 @@ export declare const methods: {
|
|
|
6190
7199
|
} | {
|
|
6191
7200
|
type: "review";
|
|
6192
7201
|
phase: "started" | "finished";
|
|
7202
|
+
} | {
|
|
7203
|
+
type: "question";
|
|
7204
|
+
text: string;
|
|
7205
|
+
more?: number | undefined;
|
|
6193
7206
|
} | undefined;
|
|
6194
7207
|
content?: ({
|
|
6195
7208
|
type: "content";
|
|
@@ -6290,10 +7303,29 @@ export declare const methods: {
|
|
|
6290
7303
|
sessionUpdate: "ls_permission";
|
|
6291
7304
|
toolCallId?: string | undefined;
|
|
6292
7305
|
detail?: string | undefined;
|
|
7306
|
+
questions?: {
|
|
7307
|
+
id: string;
|
|
7308
|
+
kind: "text" | "choice" | "choices";
|
|
7309
|
+
text: string;
|
|
7310
|
+
options?: {
|
|
7311
|
+
value: string;
|
|
7312
|
+
label: string;
|
|
7313
|
+
description?: string | undefined;
|
|
7314
|
+
}[] | undefined;
|
|
7315
|
+
other?: boolean | undefined;
|
|
7316
|
+
header?: string | undefined;
|
|
7317
|
+
secret?: boolean | undefined;
|
|
7318
|
+
required?: boolean | undefined;
|
|
7319
|
+
}[] | undefined;
|
|
6293
7320
|
} | {
|
|
6294
7321
|
requestId: string;
|
|
6295
7322
|
sessionUpdate: "ls_permission_resolved";
|
|
6296
7323
|
optionId?: string | undefined;
|
|
7324
|
+
answers?: {
|
|
7325
|
+
values: string[];
|
|
7326
|
+
id: string;
|
|
7327
|
+
other?: string | undefined;
|
|
7328
|
+
}[] | undefined;
|
|
6297
7329
|
} | {
|
|
6298
7330
|
driver: "remote" | "desktop" | "none";
|
|
6299
7331
|
sessionUpdate: "ls_driver";
|
|
@@ -6307,6 +7339,9 @@ export declare const methods: {
|
|
|
6307
7339
|
sessionUpdate: "ls_error";
|
|
6308
7340
|
hint?: string | undefined;
|
|
6309
7341
|
};
|
|
7342
|
+
sessionId: string;
|
|
7343
|
+
seq: number;
|
|
7344
|
+
ts: number;
|
|
6310
7345
|
}[];
|
|
6311
7346
|
}>;
|
|
6312
7347
|
};
|
|
@@ -6316,11 +7351,11 @@ export declare const methods: {
|
|
|
6316
7351
|
sessionId: z.ZodString;
|
|
6317
7352
|
uri: z.ZodString;
|
|
6318
7353
|
}, "strip", z.ZodTypeAny, {
|
|
6319
|
-
sessionId: string;
|
|
6320
7354
|
uri: string;
|
|
6321
|
-
}, {
|
|
6322
7355
|
sessionId: string;
|
|
7356
|
+
}, {
|
|
6323
7357
|
uri: string;
|
|
7358
|
+
sessionId: string;
|
|
6324
7359
|
}>;
|
|
6325
7360
|
readonly result: z.ZodObject<{
|
|
6326
7361
|
mimeType: z.ZodString;
|
|
@@ -6397,7 +7432,6 @@ export declare const methods: {
|
|
|
6397
7432
|
whenBusy: z.ZodOptional<z.ZodEnum<["queue"]>>;
|
|
6398
7433
|
}, "strip", z.ZodTypeAny, {
|
|
6399
7434
|
clientMessageId: string;
|
|
6400
|
-
sessionId: string;
|
|
6401
7435
|
content: ({
|
|
6402
7436
|
type: "text";
|
|
6403
7437
|
text: string;
|
|
@@ -6412,10 +7446,10 @@ export declare const methods: {
|
|
|
6412
7446
|
uri: string;
|
|
6413
7447
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6414
7448
|
})[];
|
|
7449
|
+
sessionId: string;
|
|
6415
7450
|
whenBusy?: "queue" | undefined;
|
|
6416
7451
|
}, {
|
|
6417
7452
|
clientMessageId: string;
|
|
6418
|
-
sessionId: string;
|
|
6419
7453
|
content: ({
|
|
6420
7454
|
type: "text";
|
|
6421
7455
|
text: string;
|
|
@@ -6430,6 +7464,7 @@ export declare const methods: {
|
|
|
6430
7464
|
uri: string;
|
|
6431
7465
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
6432
7466
|
})[];
|
|
7467
|
+
sessionId: string;
|
|
6433
7468
|
whenBusy?: "queue" | undefined;
|
|
6434
7469
|
}>;
|
|
6435
7470
|
/** queued: held until the running turn ends (see `whenBusy`, `sessions.sendQueued`). */
|
|
@@ -6467,6 +7502,47 @@ export declare const methods: {
|
|
|
6467
7502
|
}>;
|
|
6468
7503
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
6469
7504
|
};
|
|
7505
|
+
/**
|
|
7506
|
+
* Answers the questions of a pending request (an `ls_permission` with
|
|
7507
|
+
* `questions`). Skipping or stopping instead is `sessions.permission` with
|
|
7508
|
+
* one of the request's options.
|
|
7509
|
+
*/
|
|
7510
|
+
readonly "sessions.answer": {
|
|
7511
|
+
readonly params: z.ZodObject<{
|
|
7512
|
+
sessionId: z.ZodString;
|
|
7513
|
+
requestId: z.ZodString;
|
|
7514
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
7515
|
+
id: z.ZodString;
|
|
7516
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
7517
|
+
other: z.ZodOptional<z.ZodString>;
|
|
7518
|
+
}, "strip", z.ZodTypeAny, {
|
|
7519
|
+
values: string[];
|
|
7520
|
+
id: string;
|
|
7521
|
+
other?: string | undefined;
|
|
7522
|
+
}, {
|
|
7523
|
+
values: string[];
|
|
7524
|
+
id: string;
|
|
7525
|
+
other?: string | undefined;
|
|
7526
|
+
}>, "many">;
|
|
7527
|
+
}, "strip", z.ZodTypeAny, {
|
|
7528
|
+
requestId: string;
|
|
7529
|
+
answers: {
|
|
7530
|
+
values: string[];
|
|
7531
|
+
id: string;
|
|
7532
|
+
other?: string | undefined;
|
|
7533
|
+
}[];
|
|
7534
|
+
sessionId: string;
|
|
7535
|
+
}, {
|
|
7536
|
+
requestId: string;
|
|
7537
|
+
answers: {
|
|
7538
|
+
values: string[];
|
|
7539
|
+
id: string;
|
|
7540
|
+
other?: string | undefined;
|
|
7541
|
+
}[];
|
|
7542
|
+
sessionId: string;
|
|
7543
|
+
}>;
|
|
7544
|
+
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7545
|
+
};
|
|
6470
7546
|
readonly "sessions.setConfig": {
|
|
6471
7547
|
readonly params: z.ZodObject<{
|
|
6472
7548
|
sessionId: z.ZodString;
|
|
@@ -6594,6 +7670,54 @@ export declare const methods: {
|
|
|
6594
7670
|
name: string;
|
|
6595
7671
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
6596
7672
|
}>, "many">;
|
|
7673
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7674
|
+
id: z.ZodString;
|
|
7675
|
+
header: z.ZodOptional<z.ZodString>;
|
|
7676
|
+
text: z.ZodString;
|
|
7677
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
7678
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7679
|
+
value: z.ZodString;
|
|
7680
|
+
label: z.ZodString;
|
|
7681
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7682
|
+
}, "strip", z.ZodTypeAny, {
|
|
7683
|
+
value: string;
|
|
7684
|
+
label: string;
|
|
7685
|
+
description?: string | undefined;
|
|
7686
|
+
}, {
|
|
7687
|
+
value: string;
|
|
7688
|
+
label: string;
|
|
7689
|
+
description?: string | undefined;
|
|
7690
|
+
}>, "many">>;
|
|
7691
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
7692
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
7693
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
7694
|
+
}, "strip", z.ZodTypeAny, {
|
|
7695
|
+
id: string;
|
|
7696
|
+
kind: "text" | "choice" | "choices";
|
|
7697
|
+
text: string;
|
|
7698
|
+
options?: {
|
|
7699
|
+
value: string;
|
|
7700
|
+
label: string;
|
|
7701
|
+
description?: string | undefined;
|
|
7702
|
+
}[] | undefined;
|
|
7703
|
+
other?: boolean | undefined;
|
|
7704
|
+
header?: string | undefined;
|
|
7705
|
+
secret?: boolean | undefined;
|
|
7706
|
+
required?: boolean | undefined;
|
|
7707
|
+
}, {
|
|
7708
|
+
id: string;
|
|
7709
|
+
kind: "text" | "choice" | "choices";
|
|
7710
|
+
text: string;
|
|
7711
|
+
options?: {
|
|
7712
|
+
value: string;
|
|
7713
|
+
label: string;
|
|
7714
|
+
description?: string | undefined;
|
|
7715
|
+
}[] | undefined;
|
|
7716
|
+
other?: boolean | undefined;
|
|
7717
|
+
header?: string | undefined;
|
|
7718
|
+
secret?: boolean | undefined;
|
|
7719
|
+
required?: boolean | undefined;
|
|
7720
|
+
}>, "many">>;
|
|
6597
7721
|
}, "strip", z.ZodTypeAny, {
|
|
6598
7722
|
options: {
|
|
6599
7723
|
optionId: string;
|
|
@@ -6604,6 +7728,20 @@ export declare const methods: {
|
|
|
6604
7728
|
requestId: string;
|
|
6605
7729
|
toolCallId?: string | undefined;
|
|
6606
7730
|
detail?: string | undefined;
|
|
7731
|
+
questions?: {
|
|
7732
|
+
id: string;
|
|
7733
|
+
kind: "text" | "choice" | "choices";
|
|
7734
|
+
text: string;
|
|
7735
|
+
options?: {
|
|
7736
|
+
value: string;
|
|
7737
|
+
label: string;
|
|
7738
|
+
description?: string | undefined;
|
|
7739
|
+
}[] | undefined;
|
|
7740
|
+
other?: boolean | undefined;
|
|
7741
|
+
header?: string | undefined;
|
|
7742
|
+
secret?: boolean | undefined;
|
|
7743
|
+
required?: boolean | undefined;
|
|
7744
|
+
}[] | undefined;
|
|
6607
7745
|
}, {
|
|
6608
7746
|
options: {
|
|
6609
7747
|
optionId: string;
|
|
@@ -6614,6 +7752,20 @@ export declare const methods: {
|
|
|
6614
7752
|
requestId: string;
|
|
6615
7753
|
toolCallId?: string | undefined;
|
|
6616
7754
|
detail?: string | undefined;
|
|
7755
|
+
questions?: {
|
|
7756
|
+
id: string;
|
|
7757
|
+
kind: "text" | "choice" | "choices";
|
|
7758
|
+
text: string;
|
|
7759
|
+
options?: {
|
|
7760
|
+
value: string;
|
|
7761
|
+
label: string;
|
|
7762
|
+
description?: string | undefined;
|
|
7763
|
+
}[] | undefined;
|
|
7764
|
+
other?: boolean | undefined;
|
|
7765
|
+
header?: string | undefined;
|
|
7766
|
+
secret?: boolean | undefined;
|
|
7767
|
+
required?: boolean | undefined;
|
|
7768
|
+
}[] | undefined;
|
|
6617
7769
|
}>>;
|
|
6618
7770
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6619
7771
|
clientMessageId: z.ZodString;
|
|
@@ -6621,12 +7773,12 @@ export declare const methods: {
|
|
|
6621
7773
|
images: z.ZodNumber;
|
|
6622
7774
|
}, "strip", z.ZodTypeAny, {
|
|
6623
7775
|
images: number;
|
|
6624
|
-
clientMessageId: string;
|
|
6625
7776
|
text: string;
|
|
7777
|
+
clientMessageId: string;
|
|
6626
7778
|
}, {
|
|
6627
7779
|
images: number;
|
|
6628
|
-
clientMessageId: string;
|
|
6629
7780
|
text: string;
|
|
7781
|
+
clientMessageId: string;
|
|
6630
7782
|
}>, "many">>;
|
|
6631
7783
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
6632
7784
|
branch: z.ZodString;
|
|
@@ -6678,11 +7830,25 @@ export declare const methods: {
|
|
|
6678
7830
|
requestId: string;
|
|
6679
7831
|
toolCallId?: string | undefined;
|
|
6680
7832
|
detail?: string | undefined;
|
|
7833
|
+
questions?: {
|
|
7834
|
+
id: string;
|
|
7835
|
+
kind: "text" | "choice" | "choices";
|
|
7836
|
+
text: string;
|
|
7837
|
+
options?: {
|
|
7838
|
+
value: string;
|
|
7839
|
+
label: string;
|
|
7840
|
+
description?: string | undefined;
|
|
7841
|
+
}[] | undefined;
|
|
7842
|
+
other?: boolean | undefined;
|
|
7843
|
+
header?: string | undefined;
|
|
7844
|
+
secret?: boolean | undefined;
|
|
7845
|
+
required?: boolean | undefined;
|
|
7846
|
+
}[] | undefined;
|
|
6681
7847
|
} | undefined;
|
|
6682
7848
|
queue?: {
|
|
6683
7849
|
images: number;
|
|
6684
|
-
clientMessageId: string;
|
|
6685
7850
|
text: string;
|
|
7851
|
+
clientMessageId: string;
|
|
6686
7852
|
}[] | undefined;
|
|
6687
7853
|
worktree?: {
|
|
6688
7854
|
branch: string;
|
|
@@ -6722,11 +7888,25 @@ export declare const methods: {
|
|
|
6722
7888
|
requestId: string;
|
|
6723
7889
|
toolCallId?: string | undefined;
|
|
6724
7890
|
detail?: string | undefined;
|
|
7891
|
+
questions?: {
|
|
7892
|
+
id: string;
|
|
7893
|
+
kind: "text" | "choice" | "choices";
|
|
7894
|
+
text: string;
|
|
7895
|
+
options?: {
|
|
7896
|
+
value: string;
|
|
7897
|
+
label: string;
|
|
7898
|
+
description?: string | undefined;
|
|
7899
|
+
}[] | undefined;
|
|
7900
|
+
other?: boolean | undefined;
|
|
7901
|
+
header?: string | undefined;
|
|
7902
|
+
secret?: boolean | undefined;
|
|
7903
|
+
required?: boolean | undefined;
|
|
7904
|
+
}[] | undefined;
|
|
6725
7905
|
} | undefined;
|
|
6726
7906
|
queue?: {
|
|
6727
7907
|
images: number;
|
|
6728
|
-
clientMessageId: string;
|
|
6729
7908
|
text: string;
|
|
7909
|
+
clientMessageId: string;
|
|
6730
7910
|
}[] | undefined;
|
|
6731
7911
|
worktree?: {
|
|
6732
7912
|
branch: string;
|
|
@@ -6768,11 +7948,25 @@ export declare const methods: {
|
|
|
6768
7948
|
requestId: string;
|
|
6769
7949
|
toolCallId?: string | undefined;
|
|
6770
7950
|
detail?: string | undefined;
|
|
7951
|
+
questions?: {
|
|
7952
|
+
id: string;
|
|
7953
|
+
kind: "text" | "choice" | "choices";
|
|
7954
|
+
text: string;
|
|
7955
|
+
options?: {
|
|
7956
|
+
value: string;
|
|
7957
|
+
label: string;
|
|
7958
|
+
description?: string | undefined;
|
|
7959
|
+
}[] | undefined;
|
|
7960
|
+
other?: boolean | undefined;
|
|
7961
|
+
header?: string | undefined;
|
|
7962
|
+
secret?: boolean | undefined;
|
|
7963
|
+
required?: boolean | undefined;
|
|
7964
|
+
}[] | undefined;
|
|
6771
7965
|
} | undefined;
|
|
6772
7966
|
queue?: {
|
|
6773
7967
|
images: number;
|
|
6774
|
-
clientMessageId: string;
|
|
6775
7968
|
text: string;
|
|
7969
|
+
clientMessageId: string;
|
|
6776
7970
|
}[] | undefined;
|
|
6777
7971
|
worktree?: {
|
|
6778
7972
|
branch: string;
|
|
@@ -6814,11 +8008,25 @@ export declare const methods: {
|
|
|
6814
8008
|
requestId: string;
|
|
6815
8009
|
toolCallId?: string | undefined;
|
|
6816
8010
|
detail?: string | undefined;
|
|
8011
|
+
questions?: {
|
|
8012
|
+
id: string;
|
|
8013
|
+
kind: "text" | "choice" | "choices";
|
|
8014
|
+
text: string;
|
|
8015
|
+
options?: {
|
|
8016
|
+
value: string;
|
|
8017
|
+
label: string;
|
|
8018
|
+
description?: string | undefined;
|
|
8019
|
+
}[] | undefined;
|
|
8020
|
+
other?: boolean | undefined;
|
|
8021
|
+
header?: string | undefined;
|
|
8022
|
+
secret?: boolean | undefined;
|
|
8023
|
+
required?: boolean | undefined;
|
|
8024
|
+
}[] | undefined;
|
|
6817
8025
|
} | undefined;
|
|
6818
8026
|
queue?: {
|
|
6819
8027
|
images: number;
|
|
6820
|
-
clientMessageId: string;
|
|
6821
8028
|
text: string;
|
|
8029
|
+
clientMessageId: string;
|
|
6822
8030
|
}[] | undefined;
|
|
6823
8031
|
worktree?: {
|
|
6824
8032
|
branch: string;
|
|
@@ -6890,6 +8098,54 @@ export declare const methods: {
|
|
|
6890
8098
|
name: string;
|
|
6891
8099
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
6892
8100
|
}>, "many">;
|
|
8101
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8102
|
+
id: z.ZodString;
|
|
8103
|
+
header: z.ZodOptional<z.ZodString>;
|
|
8104
|
+
text: z.ZodString;
|
|
8105
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
8106
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8107
|
+
value: z.ZodString;
|
|
8108
|
+
label: z.ZodString;
|
|
8109
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8110
|
+
}, "strip", z.ZodTypeAny, {
|
|
8111
|
+
value: string;
|
|
8112
|
+
label: string;
|
|
8113
|
+
description?: string | undefined;
|
|
8114
|
+
}, {
|
|
8115
|
+
value: string;
|
|
8116
|
+
label: string;
|
|
8117
|
+
description?: string | undefined;
|
|
8118
|
+
}>, "many">>;
|
|
8119
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
8120
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
8121
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
8122
|
+
}, "strip", z.ZodTypeAny, {
|
|
8123
|
+
id: string;
|
|
8124
|
+
kind: "text" | "choice" | "choices";
|
|
8125
|
+
text: string;
|
|
8126
|
+
options?: {
|
|
8127
|
+
value: string;
|
|
8128
|
+
label: string;
|
|
8129
|
+
description?: string | undefined;
|
|
8130
|
+
}[] | undefined;
|
|
8131
|
+
other?: boolean | undefined;
|
|
8132
|
+
header?: string | undefined;
|
|
8133
|
+
secret?: boolean | undefined;
|
|
8134
|
+
required?: boolean | undefined;
|
|
8135
|
+
}, {
|
|
8136
|
+
id: string;
|
|
8137
|
+
kind: "text" | "choice" | "choices";
|
|
8138
|
+
text: string;
|
|
8139
|
+
options?: {
|
|
8140
|
+
value: string;
|
|
8141
|
+
label: string;
|
|
8142
|
+
description?: string | undefined;
|
|
8143
|
+
}[] | undefined;
|
|
8144
|
+
other?: boolean | undefined;
|
|
8145
|
+
header?: string | undefined;
|
|
8146
|
+
secret?: boolean | undefined;
|
|
8147
|
+
required?: boolean | undefined;
|
|
8148
|
+
}>, "many">>;
|
|
6893
8149
|
}, "strip", z.ZodTypeAny, {
|
|
6894
8150
|
options: {
|
|
6895
8151
|
optionId: string;
|
|
@@ -6900,6 +8156,20 @@ export declare const methods: {
|
|
|
6900
8156
|
requestId: string;
|
|
6901
8157
|
toolCallId?: string | undefined;
|
|
6902
8158
|
detail?: string | undefined;
|
|
8159
|
+
questions?: {
|
|
8160
|
+
id: string;
|
|
8161
|
+
kind: "text" | "choice" | "choices";
|
|
8162
|
+
text: string;
|
|
8163
|
+
options?: {
|
|
8164
|
+
value: string;
|
|
8165
|
+
label: string;
|
|
8166
|
+
description?: string | undefined;
|
|
8167
|
+
}[] | undefined;
|
|
8168
|
+
other?: boolean | undefined;
|
|
8169
|
+
header?: string | undefined;
|
|
8170
|
+
secret?: boolean | undefined;
|
|
8171
|
+
required?: boolean | undefined;
|
|
8172
|
+
}[] | undefined;
|
|
6903
8173
|
}, {
|
|
6904
8174
|
options: {
|
|
6905
8175
|
optionId: string;
|
|
@@ -6910,6 +8180,20 @@ export declare const methods: {
|
|
|
6910
8180
|
requestId: string;
|
|
6911
8181
|
toolCallId?: string | undefined;
|
|
6912
8182
|
detail?: string | undefined;
|
|
8183
|
+
questions?: {
|
|
8184
|
+
id: string;
|
|
8185
|
+
kind: "text" | "choice" | "choices";
|
|
8186
|
+
text: string;
|
|
8187
|
+
options?: {
|
|
8188
|
+
value: string;
|
|
8189
|
+
label: string;
|
|
8190
|
+
description?: string | undefined;
|
|
8191
|
+
}[] | undefined;
|
|
8192
|
+
other?: boolean | undefined;
|
|
8193
|
+
header?: string | undefined;
|
|
8194
|
+
secret?: boolean | undefined;
|
|
8195
|
+
required?: boolean | undefined;
|
|
8196
|
+
}[] | undefined;
|
|
6913
8197
|
}>>;
|
|
6914
8198
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6915
8199
|
clientMessageId: z.ZodString;
|
|
@@ -6917,12 +8201,12 @@ export declare const methods: {
|
|
|
6917
8201
|
images: z.ZodNumber;
|
|
6918
8202
|
}, "strip", z.ZodTypeAny, {
|
|
6919
8203
|
images: number;
|
|
6920
|
-
clientMessageId: string;
|
|
6921
8204
|
text: string;
|
|
8205
|
+
clientMessageId: string;
|
|
6922
8206
|
}, {
|
|
6923
8207
|
images: number;
|
|
6924
|
-
clientMessageId: string;
|
|
6925
8208
|
text: string;
|
|
8209
|
+
clientMessageId: string;
|
|
6926
8210
|
}>, "many">>;
|
|
6927
8211
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
6928
8212
|
branch: z.ZodString;
|
|
@@ -6974,11 +8258,25 @@ export declare const methods: {
|
|
|
6974
8258
|
requestId: string;
|
|
6975
8259
|
toolCallId?: string | undefined;
|
|
6976
8260
|
detail?: string | undefined;
|
|
8261
|
+
questions?: {
|
|
8262
|
+
id: string;
|
|
8263
|
+
kind: "text" | "choice" | "choices";
|
|
8264
|
+
text: string;
|
|
8265
|
+
options?: {
|
|
8266
|
+
value: string;
|
|
8267
|
+
label: string;
|
|
8268
|
+
description?: string | undefined;
|
|
8269
|
+
}[] | undefined;
|
|
8270
|
+
other?: boolean | undefined;
|
|
8271
|
+
header?: string | undefined;
|
|
8272
|
+
secret?: boolean | undefined;
|
|
8273
|
+
required?: boolean | undefined;
|
|
8274
|
+
}[] | undefined;
|
|
6977
8275
|
} | undefined;
|
|
6978
8276
|
queue?: {
|
|
6979
8277
|
images: number;
|
|
6980
|
-
clientMessageId: string;
|
|
6981
8278
|
text: string;
|
|
8279
|
+
clientMessageId: string;
|
|
6982
8280
|
}[] | undefined;
|
|
6983
8281
|
worktree?: {
|
|
6984
8282
|
branch: string;
|
|
@@ -7018,11 +8316,25 @@ export declare const methods: {
|
|
|
7018
8316
|
requestId: string;
|
|
7019
8317
|
toolCallId?: string | undefined;
|
|
7020
8318
|
detail?: string | undefined;
|
|
8319
|
+
questions?: {
|
|
8320
|
+
id: string;
|
|
8321
|
+
kind: "text" | "choice" | "choices";
|
|
8322
|
+
text: string;
|
|
8323
|
+
options?: {
|
|
8324
|
+
value: string;
|
|
8325
|
+
label: string;
|
|
8326
|
+
description?: string | undefined;
|
|
8327
|
+
}[] | undefined;
|
|
8328
|
+
other?: boolean | undefined;
|
|
8329
|
+
header?: string | undefined;
|
|
8330
|
+
secret?: boolean | undefined;
|
|
8331
|
+
required?: boolean | undefined;
|
|
8332
|
+
}[] | undefined;
|
|
7021
8333
|
} | undefined;
|
|
7022
8334
|
queue?: {
|
|
7023
8335
|
images: number;
|
|
7024
|
-
clientMessageId: string;
|
|
7025
8336
|
text: string;
|
|
8337
|
+
clientMessageId: string;
|
|
7026
8338
|
}[] | undefined;
|
|
7027
8339
|
worktree?: {
|
|
7028
8340
|
branch: string;
|
|
@@ -7064,11 +8376,25 @@ export declare const methods: {
|
|
|
7064
8376
|
requestId: string;
|
|
7065
8377
|
toolCallId?: string | undefined;
|
|
7066
8378
|
detail?: string | undefined;
|
|
8379
|
+
questions?: {
|
|
8380
|
+
id: string;
|
|
8381
|
+
kind: "text" | "choice" | "choices";
|
|
8382
|
+
text: string;
|
|
8383
|
+
options?: {
|
|
8384
|
+
value: string;
|
|
8385
|
+
label: string;
|
|
8386
|
+
description?: string | undefined;
|
|
8387
|
+
}[] | undefined;
|
|
8388
|
+
other?: boolean | undefined;
|
|
8389
|
+
header?: string | undefined;
|
|
8390
|
+
secret?: boolean | undefined;
|
|
8391
|
+
required?: boolean | undefined;
|
|
8392
|
+
}[] | undefined;
|
|
7067
8393
|
} | undefined;
|
|
7068
8394
|
queue?: {
|
|
7069
8395
|
images: number;
|
|
7070
|
-
clientMessageId: string;
|
|
7071
8396
|
text: string;
|
|
8397
|
+
clientMessageId: string;
|
|
7072
8398
|
}[] | undefined;
|
|
7073
8399
|
worktree?: {
|
|
7074
8400
|
branch: string;
|
|
@@ -7110,11 +8436,25 @@ export declare const methods: {
|
|
|
7110
8436
|
requestId: string;
|
|
7111
8437
|
toolCallId?: string | undefined;
|
|
7112
8438
|
detail?: string | undefined;
|
|
8439
|
+
questions?: {
|
|
8440
|
+
id: string;
|
|
8441
|
+
kind: "text" | "choice" | "choices";
|
|
8442
|
+
text: string;
|
|
8443
|
+
options?: {
|
|
8444
|
+
value: string;
|
|
8445
|
+
label: string;
|
|
8446
|
+
description?: string | undefined;
|
|
8447
|
+
}[] | undefined;
|
|
8448
|
+
other?: boolean | undefined;
|
|
8449
|
+
header?: string | undefined;
|
|
8450
|
+
secret?: boolean | undefined;
|
|
8451
|
+
required?: boolean | undefined;
|
|
8452
|
+
}[] | undefined;
|
|
7113
8453
|
} | undefined;
|
|
7114
8454
|
queue?: {
|
|
7115
8455
|
images: number;
|
|
7116
|
-
clientMessageId: string;
|
|
7117
8456
|
text: string;
|
|
8457
|
+
clientMessageId: string;
|
|
7118
8458
|
}[] | undefined;
|
|
7119
8459
|
worktree?: {
|
|
7120
8460
|
branch: string;
|
|
@@ -7142,10 +8482,10 @@ export declare const methods: {
|
|
|
7142
8482
|
worktree: z.ZodOptional<z.ZodEnum<["keep", "remove"]>>;
|
|
7143
8483
|
}, "strip", z.ZodTypeAny, {
|
|
7144
8484
|
sessionId: string;
|
|
7145
|
-
worktree?: "
|
|
8485
|
+
worktree?: "keep" | "remove" | undefined;
|
|
7146
8486
|
}, {
|
|
7147
8487
|
sessionId: string;
|
|
7148
|
-
worktree?: "
|
|
8488
|
+
worktree?: "keep" | "remove" | undefined;
|
|
7149
8489
|
}>;
|
|
7150
8490
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7151
8491
|
};
|
|
@@ -7627,14 +8967,14 @@ export declare const methods: {
|
|
|
7627
8967
|
path: string;
|
|
7628
8968
|
name: string;
|
|
7629
8969
|
file?: boolean | undefined;
|
|
7630
|
-
size?: number | undefined;
|
|
7631
8970
|
project?: boolean | undefined;
|
|
8971
|
+
size?: number | undefined;
|
|
7632
8972
|
}, {
|
|
7633
8973
|
path: string;
|
|
7634
8974
|
name: string;
|
|
7635
8975
|
file?: boolean | undefined;
|
|
7636
|
-
size?: number | undefined;
|
|
7637
8976
|
project?: boolean | undefined;
|
|
8977
|
+
size?: number | undefined;
|
|
7638
8978
|
}>, "many">;
|
|
7639
8979
|
/** The directory holds more than a listing carries (1000 entries). */
|
|
7640
8980
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7644,8 +8984,8 @@ export declare const methods: {
|
|
|
7644
8984
|
path: string;
|
|
7645
8985
|
name: string;
|
|
7646
8986
|
file?: boolean | undefined;
|
|
7647
|
-
size?: number | undefined;
|
|
7648
8987
|
project?: boolean | undefined;
|
|
8988
|
+
size?: number | undefined;
|
|
7649
8989
|
}[];
|
|
7650
8990
|
home: string;
|
|
7651
8991
|
parent?: string | undefined;
|
|
@@ -7656,8 +8996,8 @@ export declare const methods: {
|
|
|
7656
8996
|
path: string;
|
|
7657
8997
|
name: string;
|
|
7658
8998
|
file?: boolean | undefined;
|
|
7659
|
-
size?: number | undefined;
|
|
7660
8999
|
project?: boolean | undefined;
|
|
9000
|
+
size?: number | undefined;
|
|
7661
9001
|
}[];
|
|
7662
9002
|
home: string;
|
|
7663
9003
|
parent?: string | undefined;
|
|
@@ -7699,7 +9039,7 @@ export declare const methods: {
|
|
|
7699
9039
|
nextOffset: z.ZodOptional<z.ZodNumber>;
|
|
7700
9040
|
}, "strip", z.ZodTypeAny, {
|
|
7701
9041
|
path: string;
|
|
7702
|
-
kind: "text" | "
|
|
9042
|
+
kind: "text" | "image" | "binary";
|
|
7703
9043
|
size: number;
|
|
7704
9044
|
truncated: boolean;
|
|
7705
9045
|
modifiedAt: number;
|
|
@@ -7709,7 +9049,7 @@ export declare const methods: {
|
|
|
7709
9049
|
nextOffset?: number | undefined;
|
|
7710
9050
|
}, {
|
|
7711
9051
|
path: string;
|
|
7712
|
-
kind: "text" | "
|
|
9052
|
+
kind: "text" | "image" | "binary";
|
|
7713
9053
|
size: number;
|
|
7714
9054
|
truncated: boolean;
|
|
7715
9055
|
modifiedAt: number;
|
|
@@ -7794,14 +9134,14 @@ export declare const methods: {
|
|
|
7794
9134
|
path: string;
|
|
7795
9135
|
name: string;
|
|
7796
9136
|
file?: boolean | undefined;
|
|
7797
|
-
size?: number | undefined;
|
|
7798
9137
|
project?: boolean | undefined;
|
|
9138
|
+
size?: number | undefined;
|
|
7799
9139
|
}, {
|
|
7800
9140
|
path: string;
|
|
7801
9141
|
name: string;
|
|
7802
9142
|
file?: boolean | undefined;
|
|
7803
|
-
size?: number | undefined;
|
|
7804
9143
|
project?: boolean | undefined;
|
|
9144
|
+
size?: number | undefined;
|
|
7805
9145
|
}>, "many">;
|
|
7806
9146
|
truncated: z.ZodBoolean;
|
|
7807
9147
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7809,8 +9149,8 @@ export declare const methods: {
|
|
|
7809
9149
|
path: string;
|
|
7810
9150
|
name: string;
|
|
7811
9151
|
file?: boolean | undefined;
|
|
7812
|
-
size?: number | undefined;
|
|
7813
9152
|
project?: boolean | undefined;
|
|
9153
|
+
size?: number | undefined;
|
|
7814
9154
|
}[];
|
|
7815
9155
|
truncated: boolean;
|
|
7816
9156
|
}, {
|
|
@@ -7818,8 +9158,8 @@ export declare const methods: {
|
|
|
7818
9158
|
path: string;
|
|
7819
9159
|
name: string;
|
|
7820
9160
|
file?: boolean | undefined;
|
|
7821
|
-
size?: number | undefined;
|
|
7822
9161
|
project?: boolean | undefined;
|
|
9162
|
+
size?: number | undefined;
|
|
7823
9163
|
}[];
|
|
7824
9164
|
truncated: boolean;
|
|
7825
9165
|
}>;
|
|
@@ -8165,17 +9505,47 @@ export declare const methods: {
|
|
|
8165
9505
|
readonly "proxy.open": {
|
|
8166
9506
|
readonly params: z.ZodObject<{
|
|
8167
9507
|
port: z.ZodNumber;
|
|
9508
|
+
/** Carry the stream on the direct channel, if this connection has one open. */
|
|
9509
|
+
direct: z.ZodOptional<z.ZodBoolean>;
|
|
8168
9510
|
}, "strip", z.ZodTypeAny, {
|
|
8169
9511
|
port: number;
|
|
9512
|
+
direct?: boolean | undefined;
|
|
8170
9513
|
}, {
|
|
8171
9514
|
port: number;
|
|
9515
|
+
direct?: boolean | undefined;
|
|
8172
9516
|
}>;
|
|
9517
|
+
/** `channel`: the stream's number on the direct channel, when it goes there instead of over `proxy.*`. */
|
|
8173
9518
|
readonly result: z.ZodObject<{
|
|
8174
9519
|
streamId: z.ZodString;
|
|
9520
|
+
channel: z.ZodOptional<z.ZodNumber>;
|
|
8175
9521
|
}, "strip", z.ZodTypeAny, {
|
|
8176
9522
|
streamId: string;
|
|
9523
|
+
channel?: number | undefined;
|
|
8177
9524
|
}, {
|
|
8178
9525
|
streamId: string;
|
|
9526
|
+
channel?: number | undefined;
|
|
9527
|
+
}>;
|
|
9528
|
+
};
|
|
9529
|
+
/**
|
|
9530
|
+
* Sets up the direct channel (see `direct.ts`): the device's WebRTC offer,
|
|
9531
|
+
* holding the `linkshell-bulk` data channel, answered by the host. Each side
|
|
9532
|
+
* has gathered its addresses before sending. A new offer replaces the
|
|
9533
|
+
* connection made by an earlier one.
|
|
9534
|
+
*/
|
|
9535
|
+
readonly "direct.offer": {
|
|
9536
|
+
readonly params: z.ZodObject<{
|
|
9537
|
+
sdp: z.ZodString;
|
|
9538
|
+
}, "strip", z.ZodTypeAny, {
|
|
9539
|
+
sdp: string;
|
|
9540
|
+
}, {
|
|
9541
|
+
sdp: string;
|
|
9542
|
+
}>;
|
|
9543
|
+
readonly result: z.ZodObject<{
|
|
9544
|
+
sdp: z.ZodString;
|
|
9545
|
+
}, "strip", z.ZodTypeAny, {
|
|
9546
|
+
sdp: string;
|
|
9547
|
+
}, {
|
|
9548
|
+
sdp: string;
|
|
8179
9549
|
}>;
|
|
8180
9550
|
};
|
|
8181
9551
|
/**
|
|
@@ -8291,7 +9661,6 @@ export declare const notifications: {
|
|
|
8291
9661
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8292
9662
|
}>]>;
|
|
8293
9663
|
}, "strip", z.ZodTypeAny, {
|
|
8294
|
-
sessionUpdate: "user_message_chunk";
|
|
8295
9664
|
content: {
|
|
8296
9665
|
type: "text";
|
|
8297
9666
|
text: string;
|
|
@@ -8306,9 +9675,9 @@ export declare const notifications: {
|
|
|
8306
9675
|
uri: string;
|
|
8307
9676
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8308
9677
|
};
|
|
9678
|
+
sessionUpdate: "user_message_chunk";
|
|
8309
9679
|
messageId?: string | undefined;
|
|
8310
9680
|
}, {
|
|
8311
|
-
sessionUpdate: "user_message_chunk";
|
|
8312
9681
|
content: {
|
|
8313
9682
|
type: "text";
|
|
8314
9683
|
text: string;
|
|
@@ -8323,6 +9692,7 @@ export declare const notifications: {
|
|
|
8323
9692
|
uri: string;
|
|
8324
9693
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8325
9694
|
};
|
|
9695
|
+
sessionUpdate: "user_message_chunk";
|
|
8326
9696
|
messageId?: string | undefined;
|
|
8327
9697
|
}>, z.ZodObject<{
|
|
8328
9698
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
@@ -8369,8 +9739,6 @@ export declare const notifications: {
|
|
|
8369
9739
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8370
9740
|
}>]>;
|
|
8371
9741
|
}, "strip", z.ZodTypeAny, {
|
|
8372
|
-
sessionUpdate: "agent_message_chunk";
|
|
8373
|
-
messageId: string;
|
|
8374
9742
|
content: {
|
|
8375
9743
|
type: "text";
|
|
8376
9744
|
text: string;
|
|
@@ -8385,10 +9753,10 @@ export declare const notifications: {
|
|
|
8385
9753
|
uri: string;
|
|
8386
9754
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8387
9755
|
};
|
|
8388
|
-
parentToolCallId?: string | undefined;
|
|
8389
|
-
}, {
|
|
8390
9756
|
sessionUpdate: "agent_message_chunk";
|
|
8391
9757
|
messageId: string;
|
|
9758
|
+
parentToolCallId?: string | undefined;
|
|
9759
|
+
}, {
|
|
8392
9760
|
content: {
|
|
8393
9761
|
type: "text";
|
|
8394
9762
|
text: string;
|
|
@@ -8403,6 +9771,8 @@ export declare const notifications: {
|
|
|
8403
9771
|
uri: string;
|
|
8404
9772
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8405
9773
|
};
|
|
9774
|
+
sessionUpdate: "agent_message_chunk";
|
|
9775
|
+
messageId: string;
|
|
8406
9776
|
parentToolCallId?: string | undefined;
|
|
8407
9777
|
}>, z.ZodObject<{
|
|
8408
9778
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
@@ -8449,8 +9819,6 @@ export declare const notifications: {
|
|
|
8449
9819
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8450
9820
|
}>]>;
|
|
8451
9821
|
}, "strip", z.ZodTypeAny, {
|
|
8452
|
-
sessionUpdate: "agent_thought_chunk";
|
|
8453
|
-
messageId: string;
|
|
8454
9822
|
content: {
|
|
8455
9823
|
type: "text";
|
|
8456
9824
|
text: string;
|
|
@@ -8465,10 +9833,10 @@ export declare const notifications: {
|
|
|
8465
9833
|
uri: string;
|
|
8466
9834
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8467
9835
|
};
|
|
8468
|
-
parentToolCallId?: string | undefined;
|
|
8469
|
-
}, {
|
|
8470
9836
|
sessionUpdate: "agent_thought_chunk";
|
|
8471
9837
|
messageId: string;
|
|
9838
|
+
parentToolCallId?: string | undefined;
|
|
9839
|
+
}, {
|
|
8472
9840
|
content: {
|
|
8473
9841
|
type: "text";
|
|
8474
9842
|
text: string;
|
|
@@ -8483,6 +9851,8 @@ export declare const notifications: {
|
|
|
8483
9851
|
uri: string;
|
|
8484
9852
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
8485
9853
|
};
|
|
9854
|
+
sessionUpdate: "agent_thought_chunk";
|
|
9855
|
+
messageId: string;
|
|
8486
9856
|
parentToolCallId?: string | undefined;
|
|
8487
9857
|
}>, z.ZodObject<{
|
|
8488
9858
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
@@ -8694,6 +10064,18 @@ export declare const notifications: {
|
|
|
8694
10064
|
}, {
|
|
8695
10065
|
type: "review";
|
|
8696
10066
|
phase: "started" | "finished";
|
|
10067
|
+
}>, z.ZodObject<{
|
|
10068
|
+
type: z.ZodLiteral<"question">;
|
|
10069
|
+
text: z.ZodString;
|
|
10070
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
10071
|
+
}, "strip", z.ZodTypeAny, {
|
|
10072
|
+
type: "question";
|
|
10073
|
+
text: string;
|
|
10074
|
+
more?: number | undefined;
|
|
10075
|
+
}, {
|
|
10076
|
+
type: "question";
|
|
10077
|
+
text: string;
|
|
10078
|
+
more?: number | undefined;
|
|
8697
10079
|
}>]>>;
|
|
8698
10080
|
}, "strip", z.ZodTypeAny, {
|
|
8699
10081
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -8726,6 +10108,10 @@ export declare const notifications: {
|
|
|
8726
10108
|
} | {
|
|
8727
10109
|
type: "review";
|
|
8728
10110
|
phase: "started" | "finished";
|
|
10111
|
+
} | {
|
|
10112
|
+
type: "question";
|
|
10113
|
+
text: string;
|
|
10114
|
+
more?: number | undefined;
|
|
8729
10115
|
} | undefined;
|
|
8730
10116
|
content?: ({
|
|
8731
10117
|
type: "content";
|
|
@@ -8795,6 +10181,10 @@ export declare const notifications: {
|
|
|
8795
10181
|
} | {
|
|
8796
10182
|
type: "review";
|
|
8797
10183
|
phase: "started" | "finished";
|
|
10184
|
+
} | {
|
|
10185
|
+
type: "question";
|
|
10186
|
+
text: string;
|
|
10187
|
+
more?: number | undefined;
|
|
8798
10188
|
} | undefined;
|
|
8799
10189
|
content?: ({
|
|
8800
10190
|
type: "content";
|
|
@@ -8914,6 +10304,18 @@ export declare const notifications: {
|
|
|
8914
10304
|
}, {
|
|
8915
10305
|
type: "review";
|
|
8916
10306
|
phase: "started" | "finished";
|
|
10307
|
+
}>, z.ZodObject<{
|
|
10308
|
+
type: z.ZodLiteral<"question">;
|
|
10309
|
+
text: z.ZodString;
|
|
10310
|
+
more: z.ZodOptional<z.ZodNumber>;
|
|
10311
|
+
}, "strip", z.ZodTypeAny, {
|
|
10312
|
+
type: "question";
|
|
10313
|
+
text: string;
|
|
10314
|
+
more?: number | undefined;
|
|
10315
|
+
}, {
|
|
10316
|
+
type: "question";
|
|
10317
|
+
text: string;
|
|
10318
|
+
more?: number | undefined;
|
|
8917
10319
|
}>]>>;
|
|
8918
10320
|
content: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8919
10321
|
type: z.ZodLiteral<"content">;
|
|
@@ -9064,6 +10466,10 @@ export declare const notifications: {
|
|
|
9064
10466
|
} | {
|
|
9065
10467
|
type: "review";
|
|
9066
10468
|
phase: "started" | "finished";
|
|
10469
|
+
} | {
|
|
10470
|
+
type: "question";
|
|
10471
|
+
text: string;
|
|
10472
|
+
more?: number | undefined;
|
|
9067
10473
|
} | undefined;
|
|
9068
10474
|
content?: ({
|
|
9069
10475
|
type: "content";
|
|
@@ -9129,6 +10535,10 @@ export declare const notifications: {
|
|
|
9129
10535
|
} | {
|
|
9130
10536
|
type: "review";
|
|
9131
10537
|
phase: "started" | "finished";
|
|
10538
|
+
} | {
|
|
10539
|
+
type: "question";
|
|
10540
|
+
text: string;
|
|
10541
|
+
more?: number | undefined;
|
|
9132
10542
|
} | undefined;
|
|
9133
10543
|
content?: ({
|
|
9134
10544
|
type: "content";
|
|
@@ -9389,6 +10799,54 @@ export declare const notifications: {
|
|
|
9389
10799
|
name: string;
|
|
9390
10800
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
9391
10801
|
}>, "many">;
|
|
10802
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10803
|
+
id: z.ZodString;
|
|
10804
|
+
header: z.ZodOptional<z.ZodString>;
|
|
10805
|
+
text: z.ZodString;
|
|
10806
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
10807
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10808
|
+
value: z.ZodString;
|
|
10809
|
+
label: z.ZodString;
|
|
10810
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10811
|
+
}, "strip", z.ZodTypeAny, {
|
|
10812
|
+
value: string;
|
|
10813
|
+
label: string;
|
|
10814
|
+
description?: string | undefined;
|
|
10815
|
+
}, {
|
|
10816
|
+
value: string;
|
|
10817
|
+
label: string;
|
|
10818
|
+
description?: string | undefined;
|
|
10819
|
+
}>, "many">>;
|
|
10820
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
10821
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
10822
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
10823
|
+
}, "strip", z.ZodTypeAny, {
|
|
10824
|
+
id: string;
|
|
10825
|
+
kind: "text" | "choice" | "choices";
|
|
10826
|
+
text: string;
|
|
10827
|
+
options?: {
|
|
10828
|
+
value: string;
|
|
10829
|
+
label: string;
|
|
10830
|
+
description?: string | undefined;
|
|
10831
|
+
}[] | undefined;
|
|
10832
|
+
other?: boolean | undefined;
|
|
10833
|
+
header?: string | undefined;
|
|
10834
|
+
secret?: boolean | undefined;
|
|
10835
|
+
required?: boolean | undefined;
|
|
10836
|
+
}, {
|
|
10837
|
+
id: string;
|
|
10838
|
+
kind: "text" | "choice" | "choices";
|
|
10839
|
+
text: string;
|
|
10840
|
+
options?: {
|
|
10841
|
+
value: string;
|
|
10842
|
+
label: string;
|
|
10843
|
+
description?: string | undefined;
|
|
10844
|
+
}[] | undefined;
|
|
10845
|
+
other?: boolean | undefined;
|
|
10846
|
+
header?: string | undefined;
|
|
10847
|
+
secret?: boolean | undefined;
|
|
10848
|
+
required?: boolean | undefined;
|
|
10849
|
+
}>, "many">>;
|
|
9392
10850
|
}, "strip", z.ZodTypeAny, {
|
|
9393
10851
|
options: {
|
|
9394
10852
|
optionId: string;
|
|
@@ -9400,6 +10858,20 @@ export declare const notifications: {
|
|
|
9400
10858
|
sessionUpdate: "ls_permission";
|
|
9401
10859
|
toolCallId?: string | undefined;
|
|
9402
10860
|
detail?: string | undefined;
|
|
10861
|
+
questions?: {
|
|
10862
|
+
id: string;
|
|
10863
|
+
kind: "text" | "choice" | "choices";
|
|
10864
|
+
text: string;
|
|
10865
|
+
options?: {
|
|
10866
|
+
value: string;
|
|
10867
|
+
label: string;
|
|
10868
|
+
description?: string | undefined;
|
|
10869
|
+
}[] | undefined;
|
|
10870
|
+
other?: boolean | undefined;
|
|
10871
|
+
header?: string | undefined;
|
|
10872
|
+
secret?: boolean | undefined;
|
|
10873
|
+
required?: boolean | undefined;
|
|
10874
|
+
}[] | undefined;
|
|
9403
10875
|
}, {
|
|
9404
10876
|
options: {
|
|
9405
10877
|
optionId: string;
|
|
@@ -9411,18 +10883,55 @@ export declare const notifications: {
|
|
|
9411
10883
|
sessionUpdate: "ls_permission";
|
|
9412
10884
|
toolCallId?: string | undefined;
|
|
9413
10885
|
detail?: string | undefined;
|
|
10886
|
+
questions?: {
|
|
10887
|
+
id: string;
|
|
10888
|
+
kind: "text" | "choice" | "choices";
|
|
10889
|
+
text: string;
|
|
10890
|
+
options?: {
|
|
10891
|
+
value: string;
|
|
10892
|
+
label: string;
|
|
10893
|
+
description?: string | undefined;
|
|
10894
|
+
}[] | undefined;
|
|
10895
|
+
other?: boolean | undefined;
|
|
10896
|
+
header?: string | undefined;
|
|
10897
|
+
secret?: boolean | undefined;
|
|
10898
|
+
required?: boolean | undefined;
|
|
10899
|
+
}[] | undefined;
|
|
9414
10900
|
}>, z.ZodObject<{
|
|
9415
10901
|
sessionUpdate: z.ZodLiteral<"ls_permission_resolved">;
|
|
9416
10902
|
requestId: z.ZodString;
|
|
9417
10903
|
optionId: z.ZodOptional<z.ZodString>;
|
|
10904
|
+
answers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10905
|
+
id: z.ZodString;
|
|
10906
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
10907
|
+
other: z.ZodOptional<z.ZodString>;
|
|
10908
|
+
}, "strip", z.ZodTypeAny, {
|
|
10909
|
+
values: string[];
|
|
10910
|
+
id: string;
|
|
10911
|
+
other?: string | undefined;
|
|
10912
|
+
}, {
|
|
10913
|
+
values: string[];
|
|
10914
|
+
id: string;
|
|
10915
|
+
other?: string | undefined;
|
|
10916
|
+
}>, "many">>;
|
|
9418
10917
|
}, "strip", z.ZodTypeAny, {
|
|
9419
10918
|
requestId: string;
|
|
9420
10919
|
sessionUpdate: "ls_permission_resolved";
|
|
9421
10920
|
optionId?: string | undefined;
|
|
10921
|
+
answers?: {
|
|
10922
|
+
values: string[];
|
|
10923
|
+
id: string;
|
|
10924
|
+
other?: string | undefined;
|
|
10925
|
+
}[] | undefined;
|
|
9422
10926
|
}, {
|
|
9423
10927
|
requestId: string;
|
|
9424
10928
|
sessionUpdate: "ls_permission_resolved";
|
|
9425
10929
|
optionId?: string | undefined;
|
|
10930
|
+
answers?: {
|
|
10931
|
+
values: string[];
|
|
10932
|
+
id: string;
|
|
10933
|
+
other?: string | undefined;
|
|
10934
|
+
}[] | undefined;
|
|
9426
10935
|
}>, z.ZodObject<{
|
|
9427
10936
|
sessionUpdate: z.ZodLiteral<"ls_driver">;
|
|
9428
10937
|
driver: z.ZodEnum<["desktop", "remote", "none"]>;
|
|
@@ -9461,11 +10970,7 @@ export declare const notifications: {
|
|
|
9461
10970
|
hint?: string | undefined;
|
|
9462
10971
|
}>]>;
|
|
9463
10972
|
}, "strip", z.ZodTypeAny, {
|
|
9464
|
-
sessionId: string;
|
|
9465
|
-
seq: number;
|
|
9466
|
-
ts: number;
|
|
9467
10973
|
update: {
|
|
9468
|
-
sessionUpdate: "user_message_chunk";
|
|
9469
10974
|
content: {
|
|
9470
10975
|
type: "text";
|
|
9471
10976
|
text: string;
|
|
@@ -9480,10 +10985,9 @@ export declare const notifications: {
|
|
|
9480
10985
|
uri: string;
|
|
9481
10986
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9482
10987
|
};
|
|
10988
|
+
sessionUpdate: "user_message_chunk";
|
|
9483
10989
|
messageId?: string | undefined;
|
|
9484
10990
|
} | {
|
|
9485
|
-
sessionUpdate: "agent_message_chunk";
|
|
9486
|
-
messageId: string;
|
|
9487
10991
|
content: {
|
|
9488
10992
|
type: "text";
|
|
9489
10993
|
text: string;
|
|
@@ -9498,10 +11002,10 @@ export declare const notifications: {
|
|
|
9498
11002
|
uri: string;
|
|
9499
11003
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9500
11004
|
};
|
|
11005
|
+
sessionUpdate: "agent_message_chunk";
|
|
11006
|
+
messageId: string;
|
|
9501
11007
|
parentToolCallId?: string | undefined;
|
|
9502
11008
|
} | {
|
|
9503
|
-
sessionUpdate: "agent_thought_chunk";
|
|
9504
|
-
messageId: string;
|
|
9505
11009
|
content: {
|
|
9506
11010
|
type: "text";
|
|
9507
11011
|
text: string;
|
|
@@ -9516,6 +11020,8 @@ export declare const notifications: {
|
|
|
9516
11020
|
uri: string;
|
|
9517
11021
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9518
11022
|
};
|
|
11023
|
+
sessionUpdate: "agent_thought_chunk";
|
|
11024
|
+
messageId: string;
|
|
9519
11025
|
parentToolCallId?: string | undefined;
|
|
9520
11026
|
} | {
|
|
9521
11027
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -9548,6 +11054,10 @@ export declare const notifications: {
|
|
|
9548
11054
|
} | {
|
|
9549
11055
|
type: "review";
|
|
9550
11056
|
phase: "started" | "finished";
|
|
11057
|
+
} | {
|
|
11058
|
+
type: "question";
|
|
11059
|
+
text: string;
|
|
11060
|
+
more?: number | undefined;
|
|
9551
11061
|
} | undefined;
|
|
9552
11062
|
content?: ({
|
|
9553
11063
|
type: "content";
|
|
@@ -9616,6 +11126,10 @@ export declare const notifications: {
|
|
|
9616
11126
|
} | {
|
|
9617
11127
|
type: "review";
|
|
9618
11128
|
phase: "started" | "finished";
|
|
11129
|
+
} | {
|
|
11130
|
+
type: "question";
|
|
11131
|
+
text: string;
|
|
11132
|
+
more?: number | undefined;
|
|
9619
11133
|
} | undefined;
|
|
9620
11134
|
content?: ({
|
|
9621
11135
|
type: "content";
|
|
@@ -9716,10 +11230,29 @@ export declare const notifications: {
|
|
|
9716
11230
|
sessionUpdate: "ls_permission";
|
|
9717
11231
|
toolCallId?: string | undefined;
|
|
9718
11232
|
detail?: string | undefined;
|
|
11233
|
+
questions?: {
|
|
11234
|
+
id: string;
|
|
11235
|
+
kind: "text" | "choice" | "choices";
|
|
11236
|
+
text: string;
|
|
11237
|
+
options?: {
|
|
11238
|
+
value: string;
|
|
11239
|
+
label: string;
|
|
11240
|
+
description?: string | undefined;
|
|
11241
|
+
}[] | undefined;
|
|
11242
|
+
other?: boolean | undefined;
|
|
11243
|
+
header?: string | undefined;
|
|
11244
|
+
secret?: boolean | undefined;
|
|
11245
|
+
required?: boolean | undefined;
|
|
11246
|
+
}[] | undefined;
|
|
9719
11247
|
} | {
|
|
9720
11248
|
requestId: string;
|
|
9721
11249
|
sessionUpdate: "ls_permission_resolved";
|
|
9722
11250
|
optionId?: string | undefined;
|
|
11251
|
+
answers?: {
|
|
11252
|
+
values: string[];
|
|
11253
|
+
id: string;
|
|
11254
|
+
other?: string | undefined;
|
|
11255
|
+
}[] | undefined;
|
|
9723
11256
|
} | {
|
|
9724
11257
|
driver: "remote" | "desktop" | "none";
|
|
9725
11258
|
sessionUpdate: "ls_driver";
|
|
@@ -9733,12 +11266,11 @@ export declare const notifications: {
|
|
|
9733
11266
|
sessionUpdate: "ls_error";
|
|
9734
11267
|
hint?: string | undefined;
|
|
9735
11268
|
};
|
|
9736
|
-
}, {
|
|
9737
11269
|
sessionId: string;
|
|
9738
11270
|
seq: number;
|
|
9739
11271
|
ts: number;
|
|
11272
|
+
}, {
|
|
9740
11273
|
update: {
|
|
9741
|
-
sessionUpdate: "user_message_chunk";
|
|
9742
11274
|
content: {
|
|
9743
11275
|
type: "text";
|
|
9744
11276
|
text: string;
|
|
@@ -9753,10 +11285,9 @@ export declare const notifications: {
|
|
|
9753
11285
|
uri: string;
|
|
9754
11286
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9755
11287
|
};
|
|
11288
|
+
sessionUpdate: "user_message_chunk";
|
|
9756
11289
|
messageId?: string | undefined;
|
|
9757
11290
|
} | {
|
|
9758
|
-
sessionUpdate: "agent_message_chunk";
|
|
9759
|
-
messageId: string;
|
|
9760
11291
|
content: {
|
|
9761
11292
|
type: "text";
|
|
9762
11293
|
text: string;
|
|
@@ -9771,10 +11302,10 @@ export declare const notifications: {
|
|
|
9771
11302
|
uri: string;
|
|
9772
11303
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9773
11304
|
};
|
|
11305
|
+
sessionUpdate: "agent_message_chunk";
|
|
11306
|
+
messageId: string;
|
|
9774
11307
|
parentToolCallId?: string | undefined;
|
|
9775
11308
|
} | {
|
|
9776
|
-
sessionUpdate: "agent_thought_chunk";
|
|
9777
|
-
messageId: string;
|
|
9778
11309
|
content: {
|
|
9779
11310
|
type: "text";
|
|
9780
11311
|
text: string;
|
|
@@ -9789,6 +11320,8 @@ export declare const notifications: {
|
|
|
9789
11320
|
uri: string;
|
|
9790
11321
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
9791
11322
|
};
|
|
11323
|
+
sessionUpdate: "agent_thought_chunk";
|
|
11324
|
+
messageId: string;
|
|
9792
11325
|
parentToolCallId?: string | undefined;
|
|
9793
11326
|
} | {
|
|
9794
11327
|
status: "failed" | "pending" | "in_progress" | "completed";
|
|
@@ -9821,6 +11354,10 @@ export declare const notifications: {
|
|
|
9821
11354
|
} | {
|
|
9822
11355
|
type: "review";
|
|
9823
11356
|
phase: "started" | "finished";
|
|
11357
|
+
} | {
|
|
11358
|
+
type: "question";
|
|
11359
|
+
text: string;
|
|
11360
|
+
more?: number | undefined;
|
|
9824
11361
|
} | undefined;
|
|
9825
11362
|
content?: ({
|
|
9826
11363
|
type: "content";
|
|
@@ -9889,6 +11426,10 @@ export declare const notifications: {
|
|
|
9889
11426
|
} | {
|
|
9890
11427
|
type: "review";
|
|
9891
11428
|
phase: "started" | "finished";
|
|
11429
|
+
} | {
|
|
11430
|
+
type: "question";
|
|
11431
|
+
text: string;
|
|
11432
|
+
more?: number | undefined;
|
|
9892
11433
|
} | undefined;
|
|
9893
11434
|
content?: ({
|
|
9894
11435
|
type: "content";
|
|
@@ -9989,10 +11530,29 @@ export declare const notifications: {
|
|
|
9989
11530
|
sessionUpdate: "ls_permission";
|
|
9990
11531
|
toolCallId?: string | undefined;
|
|
9991
11532
|
detail?: string | undefined;
|
|
11533
|
+
questions?: {
|
|
11534
|
+
id: string;
|
|
11535
|
+
kind: "text" | "choice" | "choices";
|
|
11536
|
+
text: string;
|
|
11537
|
+
options?: {
|
|
11538
|
+
value: string;
|
|
11539
|
+
label: string;
|
|
11540
|
+
description?: string | undefined;
|
|
11541
|
+
}[] | undefined;
|
|
11542
|
+
other?: boolean | undefined;
|
|
11543
|
+
header?: string | undefined;
|
|
11544
|
+
secret?: boolean | undefined;
|
|
11545
|
+
required?: boolean | undefined;
|
|
11546
|
+
}[] | undefined;
|
|
9992
11547
|
} | {
|
|
9993
11548
|
requestId: string;
|
|
9994
11549
|
sessionUpdate: "ls_permission_resolved";
|
|
9995
11550
|
optionId?: string | undefined;
|
|
11551
|
+
answers?: {
|
|
11552
|
+
values: string[];
|
|
11553
|
+
id: string;
|
|
11554
|
+
other?: string | undefined;
|
|
11555
|
+
}[] | undefined;
|
|
9996
11556
|
} | {
|
|
9997
11557
|
driver: "remote" | "desktop" | "none";
|
|
9998
11558
|
sessionUpdate: "ls_driver";
|
|
@@ -10006,6 +11566,9 @@ export declare const notifications: {
|
|
|
10006
11566
|
sessionUpdate: "ls_error";
|
|
10007
11567
|
hint?: string | undefined;
|
|
10008
11568
|
};
|
|
11569
|
+
sessionId: string;
|
|
11570
|
+
seq: number;
|
|
11571
|
+
ts: number;
|
|
10009
11572
|
}>;
|
|
10010
11573
|
/**
|
|
10011
11574
|
* Sent before a subscription's backlog when it doesn't continue from the
|
|
@@ -10069,6 +11632,54 @@ export declare const notifications: {
|
|
|
10069
11632
|
name: string;
|
|
10070
11633
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
10071
11634
|
}>, "many">;
|
|
11635
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11636
|
+
id: z.ZodString;
|
|
11637
|
+
header: z.ZodOptional<z.ZodString>;
|
|
11638
|
+
text: z.ZodString;
|
|
11639
|
+
kind: z.ZodEnum<["choice", "choices", "text"]>;
|
|
11640
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11641
|
+
value: z.ZodString;
|
|
11642
|
+
label: z.ZodString;
|
|
11643
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11644
|
+
}, "strip", z.ZodTypeAny, {
|
|
11645
|
+
value: string;
|
|
11646
|
+
label: string;
|
|
11647
|
+
description?: string | undefined;
|
|
11648
|
+
}, {
|
|
11649
|
+
value: string;
|
|
11650
|
+
label: string;
|
|
11651
|
+
description?: string | undefined;
|
|
11652
|
+
}>, "many">>;
|
|
11653
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
11654
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
11655
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
11656
|
+
}, "strip", z.ZodTypeAny, {
|
|
11657
|
+
id: string;
|
|
11658
|
+
kind: "text" | "choice" | "choices";
|
|
11659
|
+
text: string;
|
|
11660
|
+
options?: {
|
|
11661
|
+
value: string;
|
|
11662
|
+
label: string;
|
|
11663
|
+
description?: string | undefined;
|
|
11664
|
+
}[] | undefined;
|
|
11665
|
+
other?: boolean | undefined;
|
|
11666
|
+
header?: string | undefined;
|
|
11667
|
+
secret?: boolean | undefined;
|
|
11668
|
+
required?: boolean | undefined;
|
|
11669
|
+
}, {
|
|
11670
|
+
id: string;
|
|
11671
|
+
kind: "text" | "choice" | "choices";
|
|
11672
|
+
text: string;
|
|
11673
|
+
options?: {
|
|
11674
|
+
value: string;
|
|
11675
|
+
label: string;
|
|
11676
|
+
description?: string | undefined;
|
|
11677
|
+
}[] | undefined;
|
|
11678
|
+
other?: boolean | undefined;
|
|
11679
|
+
header?: string | undefined;
|
|
11680
|
+
secret?: boolean | undefined;
|
|
11681
|
+
required?: boolean | undefined;
|
|
11682
|
+
}>, "many">>;
|
|
10072
11683
|
}, "strip", z.ZodTypeAny, {
|
|
10073
11684
|
options: {
|
|
10074
11685
|
optionId: string;
|
|
@@ -10079,6 +11690,20 @@ export declare const notifications: {
|
|
|
10079
11690
|
requestId: string;
|
|
10080
11691
|
toolCallId?: string | undefined;
|
|
10081
11692
|
detail?: string | undefined;
|
|
11693
|
+
questions?: {
|
|
11694
|
+
id: string;
|
|
11695
|
+
kind: "text" | "choice" | "choices";
|
|
11696
|
+
text: string;
|
|
11697
|
+
options?: {
|
|
11698
|
+
value: string;
|
|
11699
|
+
label: string;
|
|
11700
|
+
description?: string | undefined;
|
|
11701
|
+
}[] | undefined;
|
|
11702
|
+
other?: boolean | undefined;
|
|
11703
|
+
header?: string | undefined;
|
|
11704
|
+
secret?: boolean | undefined;
|
|
11705
|
+
required?: boolean | undefined;
|
|
11706
|
+
}[] | undefined;
|
|
10082
11707
|
}, {
|
|
10083
11708
|
options: {
|
|
10084
11709
|
optionId: string;
|
|
@@ -10089,6 +11714,20 @@ export declare const notifications: {
|
|
|
10089
11714
|
requestId: string;
|
|
10090
11715
|
toolCallId?: string | undefined;
|
|
10091
11716
|
detail?: string | undefined;
|
|
11717
|
+
questions?: {
|
|
11718
|
+
id: string;
|
|
11719
|
+
kind: "text" | "choice" | "choices";
|
|
11720
|
+
text: string;
|
|
11721
|
+
options?: {
|
|
11722
|
+
value: string;
|
|
11723
|
+
label: string;
|
|
11724
|
+
description?: string | undefined;
|
|
11725
|
+
}[] | undefined;
|
|
11726
|
+
other?: boolean | undefined;
|
|
11727
|
+
header?: string | undefined;
|
|
11728
|
+
secret?: boolean | undefined;
|
|
11729
|
+
required?: boolean | undefined;
|
|
11730
|
+
}[] | undefined;
|
|
10092
11731
|
}>>;
|
|
10093
11732
|
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10094
11733
|
clientMessageId: z.ZodString;
|
|
@@ -10096,12 +11735,12 @@ export declare const notifications: {
|
|
|
10096
11735
|
images: z.ZodNumber;
|
|
10097
11736
|
}, "strip", z.ZodTypeAny, {
|
|
10098
11737
|
images: number;
|
|
10099
|
-
clientMessageId: string;
|
|
10100
11738
|
text: string;
|
|
11739
|
+
clientMessageId: string;
|
|
10101
11740
|
}, {
|
|
10102
11741
|
images: number;
|
|
10103
|
-
clientMessageId: string;
|
|
10104
11742
|
text: string;
|
|
11743
|
+
clientMessageId: string;
|
|
10105
11744
|
}>, "many">>;
|
|
10106
11745
|
worktree: z.ZodOptional<z.ZodObject<{
|
|
10107
11746
|
branch: z.ZodString;
|
|
@@ -10153,11 +11792,25 @@ export declare const notifications: {
|
|
|
10153
11792
|
requestId: string;
|
|
10154
11793
|
toolCallId?: string | undefined;
|
|
10155
11794
|
detail?: string | undefined;
|
|
11795
|
+
questions?: {
|
|
11796
|
+
id: string;
|
|
11797
|
+
kind: "text" | "choice" | "choices";
|
|
11798
|
+
text: string;
|
|
11799
|
+
options?: {
|
|
11800
|
+
value: string;
|
|
11801
|
+
label: string;
|
|
11802
|
+
description?: string | undefined;
|
|
11803
|
+
}[] | undefined;
|
|
11804
|
+
other?: boolean | undefined;
|
|
11805
|
+
header?: string | undefined;
|
|
11806
|
+
secret?: boolean | undefined;
|
|
11807
|
+
required?: boolean | undefined;
|
|
11808
|
+
}[] | undefined;
|
|
10156
11809
|
} | undefined;
|
|
10157
11810
|
queue?: {
|
|
10158
11811
|
images: number;
|
|
10159
|
-
clientMessageId: string;
|
|
10160
11812
|
text: string;
|
|
11813
|
+
clientMessageId: string;
|
|
10161
11814
|
}[] | undefined;
|
|
10162
11815
|
worktree?: {
|
|
10163
11816
|
branch: string;
|
|
@@ -10197,11 +11850,25 @@ export declare const notifications: {
|
|
|
10197
11850
|
requestId: string;
|
|
10198
11851
|
toolCallId?: string | undefined;
|
|
10199
11852
|
detail?: string | undefined;
|
|
11853
|
+
questions?: {
|
|
11854
|
+
id: string;
|
|
11855
|
+
kind: "text" | "choice" | "choices";
|
|
11856
|
+
text: string;
|
|
11857
|
+
options?: {
|
|
11858
|
+
value: string;
|
|
11859
|
+
label: string;
|
|
11860
|
+
description?: string | undefined;
|
|
11861
|
+
}[] | undefined;
|
|
11862
|
+
other?: boolean | undefined;
|
|
11863
|
+
header?: string | undefined;
|
|
11864
|
+
secret?: boolean | undefined;
|
|
11865
|
+
required?: boolean | undefined;
|
|
11866
|
+
}[] | undefined;
|
|
10200
11867
|
} | undefined;
|
|
10201
11868
|
queue?: {
|
|
10202
11869
|
images: number;
|
|
10203
|
-
clientMessageId: string;
|
|
10204
11870
|
text: string;
|
|
11871
|
+
clientMessageId: string;
|
|
10205
11872
|
}[] | undefined;
|
|
10206
11873
|
worktree?: {
|
|
10207
11874
|
branch: string;
|
|
@@ -10243,11 +11910,25 @@ export declare const notifications: {
|
|
|
10243
11910
|
requestId: string;
|
|
10244
11911
|
toolCallId?: string | undefined;
|
|
10245
11912
|
detail?: string | undefined;
|
|
11913
|
+
questions?: {
|
|
11914
|
+
id: string;
|
|
11915
|
+
kind: "text" | "choice" | "choices";
|
|
11916
|
+
text: string;
|
|
11917
|
+
options?: {
|
|
11918
|
+
value: string;
|
|
11919
|
+
label: string;
|
|
11920
|
+
description?: string | undefined;
|
|
11921
|
+
}[] | undefined;
|
|
11922
|
+
other?: boolean | undefined;
|
|
11923
|
+
header?: string | undefined;
|
|
11924
|
+
secret?: boolean | undefined;
|
|
11925
|
+
required?: boolean | undefined;
|
|
11926
|
+
}[] | undefined;
|
|
10246
11927
|
} | undefined;
|
|
10247
11928
|
queue?: {
|
|
10248
11929
|
images: number;
|
|
10249
|
-
clientMessageId: string;
|
|
10250
11930
|
text: string;
|
|
11931
|
+
clientMessageId: string;
|
|
10251
11932
|
}[] | undefined;
|
|
10252
11933
|
worktree?: {
|
|
10253
11934
|
branch: string;
|
|
@@ -10289,11 +11970,25 @@ export declare const notifications: {
|
|
|
10289
11970
|
requestId: string;
|
|
10290
11971
|
toolCallId?: string | undefined;
|
|
10291
11972
|
detail?: string | undefined;
|
|
11973
|
+
questions?: {
|
|
11974
|
+
id: string;
|
|
11975
|
+
kind: "text" | "choice" | "choices";
|
|
11976
|
+
text: string;
|
|
11977
|
+
options?: {
|
|
11978
|
+
value: string;
|
|
11979
|
+
label: string;
|
|
11980
|
+
description?: string | undefined;
|
|
11981
|
+
}[] | undefined;
|
|
11982
|
+
other?: boolean | undefined;
|
|
11983
|
+
header?: string | undefined;
|
|
11984
|
+
secret?: boolean | undefined;
|
|
11985
|
+
required?: boolean | undefined;
|
|
11986
|
+
}[] | undefined;
|
|
10292
11987
|
} | undefined;
|
|
10293
11988
|
queue?: {
|
|
10294
11989
|
images: number;
|
|
10295
|
-
clientMessageId: string;
|
|
10296
11990
|
text: string;
|
|
11991
|
+
clientMessageId: string;
|
|
10297
11992
|
}[] | undefined;
|
|
10298
11993
|
worktree?: {
|
|
10299
11994
|
branch: string;
|
|
@@ -10326,11 +12021,11 @@ export declare const notifications: {
|
|
|
10326
12021
|
sessionId: z.ZodString;
|
|
10327
12022
|
line: z.ZodString;
|
|
10328
12023
|
}, "strip", z.ZodTypeAny, {
|
|
10329
|
-
sessionId: string;
|
|
10330
12024
|
line: string;
|
|
10331
|
-
}, {
|
|
10332
12025
|
sessionId: string;
|
|
12026
|
+
}, {
|
|
10333
12027
|
line: string;
|
|
12028
|
+
sessionId: string;
|
|
10334
12029
|
}>;
|
|
10335
12030
|
readonly "pairing.done": z.ZodObject<{
|
|
10336
12031
|
device: z.ZodObject<{
|
|
@@ -10452,13 +12147,13 @@ export declare const notifications: {
|
|
|
10452
12147
|
seq: z.ZodNumber;
|
|
10453
12148
|
data: z.ZodString;
|
|
10454
12149
|
}, "strip", z.ZodTypeAny, {
|
|
10455
|
-
seq: number;
|
|
10456
12150
|
data: string;
|
|
10457
12151
|
terminalId: string;
|
|
10458
|
-
}, {
|
|
10459
12152
|
seq: number;
|
|
12153
|
+
}, {
|
|
10460
12154
|
data: string;
|
|
10461
12155
|
terminalId: string;
|
|
12156
|
+
seq: number;
|
|
10462
12157
|
}>;
|
|
10463
12158
|
/** A terminal's list entry changed (title, size, exit), or it was closed (`closed`). */
|
|
10464
12159
|
readonly "terminal.changed": z.ZodObject<{
|