@ycodium-ai/plugin-api 0.2.3405 → 0.2.3433

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.
@@ -362,21 +362,21 @@ type Arrays_10 = ReadonlyArray<string>;
362
362
  type Arrays_11 = ReadonlyArray<string>;
363
363
  type Arrays_12 = ReadonlyArray<string>;
364
364
  type Arrays_13 = ReadonlyArray<string>;
365
- type Objects_52 = {
365
+ type Objects_53 = {
366
366
  readonly "kind": "inline";
367
367
  readonly "skillMd": string;
368
368
  };
369
- type Objects_53 = {
369
+ type Objects_54 = {
370
370
  readonly [x: string]: string | null;
371
371
  };
372
- type Objects_54 = {
372
+ type Objects_55 = {
373
373
  readonly [x: string]: boolean;
374
374
  };
375
- type Objects_55 = {
375
+ type Objects_56 = {
376
376
  readonly "kind": "builtin";
377
377
  readonly "id": string;
378
378
  };
379
- type Objects_56 = {
379
+ type Objects_57 = {
380
380
  readonly "kind": "catalog";
381
381
  readonly "catalogId": string;
382
382
  readonly "version": string;
@@ -397,55 +397,58 @@ type Union_38 = {
397
397
  readonly "processesSpawned"?: number | undefined;
398
398
  readonly "lastEventAt": string | null;
399
399
  } | undefined;
400
- type Objects_57 = {
400
+ type Objects_58 = {
401
401
  readonly "kind": "executor";
402
402
  };
403
- type Objects_58 = {
403
+ type Objects_59 = {
404
404
  readonly "kind": "providers.homes";
405
405
  };
406
- type Objects_59 = {
406
+ type Objects_60 = {
407
407
  readonly "kind": "workspace.read";
408
408
  };
409
- type Objects_60 = {
409
+ type Objects_61 = {
410
410
  readonly "kind": "work.read";
411
411
  };
412
- type Objects_61 = {
412
+ type Objects_62 = {
413
413
  readonly "kind": "work.writeAsPerson";
414
414
  };
415
- type Objects_62 = {
415
+ type Objects_63 = {
416
+ readonly "kind": "members.read";
417
+ };
418
+ type Objects_64 = {
416
419
  readonly "kind": "process.workspace";
417
420
  };
418
- type Objects_63 = {
421
+ type Objects_65 = {
419
422
  readonly "kind": "ports.register";
420
423
  };
421
424
  type Arrays_15 = ReadonlyArray<"GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS">;
422
- type Objects_64 = {
425
+ type Objects_66 = {
423
426
  readonly "kind": "systemPrompt";
424
427
  };
425
- type Objects_65 = {
428
+ type Objects_67 = {
426
429
  readonly "kind": "tools.guard";
427
430
  };
428
- type Objects_66 = {
431
+ type Objects_68 = {
429
432
  readonly "kind": "workspace.write";
430
433
  };
431
- type Objects_67 = {
434
+ type Objects_69 = {
432
435
  readonly "kind": "sessionProjection";
433
436
  };
434
- type Objects_68 = {
437
+ type Objects_70 = {
435
438
  readonly "kind": "memory.read";
436
439
  };
437
- type Objects_69 = {
440
+ type Objects_71 = {
438
441
  readonly "kind": "communication.read";
439
442
  };
440
- type Objects_70 = {
443
+ type Objects_72 = {
441
444
  readonly "kind": "agentPresets";
442
445
  };
443
- type Objects_71 = {
446
+ type Objects_73 = {
444
447
  readonly "kind": "threads.user";
445
448
  };
446
449
  type Union_39 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
447
450
  type Arrays_16 = ReadonlyArray<string>;
448
- type Objects_72 = {
451
+ type Objects_74 = {
449
452
  readonly "ids": readonly [string, ...Array<string>];
450
453
  };
451
454
  type Union_40 = ReadonlyArray<{
@@ -454,11 +457,11 @@ type Union_40 = ReadonlyArray<{
454
457
  readonly "labelKey"?: string | undefined;
455
458
  readonly "icon"?: string | undefined;
456
459
  }> | undefined;
457
- type Objects_73 = {
460
+ type Objects_75 = {
458
461
  readonly "key": string;
459
462
  readonly "equals": ReadonlyArray<string>;
460
463
  };
461
- type Objects_74 = {
464
+ type Objects_76 = {
462
465
  readonly [x: string]: unknown;
463
466
  };
464
467
  type Union_42 = {
@@ -469,53 +472,56 @@ type Union_42 = {
469
472
  } | {
470
473
  readonly "text": string;
471
474
  };
472
- type Objects_77 = {
475
+ type Objects_79 = {
473
476
  readonly "layer": "wiki";
474
477
  readonly "pageId": string;
475
478
  readonly "revision": number;
476
479
  };
477
- type Objects_78 = {
480
+ type Objects_80 = {
478
481
  readonly "layer": "repo";
479
482
  readonly "rootIndex": number;
480
483
  readonly "rootName": string;
481
484
  };
482
- type Objects_79 = {
485
+ type Objects_81 = {
483
486
  readonly "layer": "settings";
484
487
  };
485
- type Objects_80 = {
488
+ type Objects_82 = {
486
489
  readonly "layer": "builtin";
487
490
  };
488
- type Objects_81 = {
491
+ type Objects_83 = {
489
492
  readonly "layer": "plugin";
490
493
  readonly "entryId": string;
491
494
  };
492
- type Objects_83 = {
495
+ type Objects_85 = {
493
496
  readonly "kind": "agent";
494
497
  readonly "threadId": string;
495
498
  };
496
- type Objects_84 = {
499
+ type Objects_86 = {
497
500
  readonly "kind": "remote-agent";
498
501
  readonly "principalId": string;
499
502
  };
503
+ type Objects_87 = {
504
+ readonly "kind": "system";
505
+ };
500
506
  type Arrays_17 = ReadonlyArray<string>;
501
507
  type Arrays_18 = ReadonlyArray<string>;
502
- type Objects_85 = {
508
+ type Objects_88 = {
503
509
  readonly "searched": number;
504
510
  readonly "read": number;
505
511
  readonly "delivered": number;
506
512
  readonly "lastUsedAt": string | null;
507
513
  readonly "approximate": true;
508
514
  };
509
- type Objects_87 = {
515
+ type Objects_90 = {
510
516
  readonly "experienceId": string;
511
517
  readonly "revision": number;
512
518
  };
513
- type Objects_88 = {
519
+ type Objects_91 = {
514
520
  readonly "projectId": string;
515
521
  readonly "requestId"?: string;
516
522
  readonly "experienceId": string;
517
523
  };
518
- type Objects_89 = {
524
+ type Objects_92 = {
519
525
  readonly "sequence": number;
520
526
  readonly "result": {
521
527
  readonly "experienceId": string;
@@ -523,11 +529,11 @@ type Objects_89 = {
523
529
  };
524
530
  readonly "replayed"?: boolean;
525
531
  };
526
- type Objects_91 = {
532
+ type Objects_94 = {
527
533
  readonly "pageId": string;
528
534
  readonly "revision": number;
529
535
  };
530
- type Objects_93 = {
536
+ type Objects_96 = {
531
537
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
532
538
  readonly "pageId": string;
533
539
  readonly "revision": number;
@@ -536,40 +542,57 @@ type Union_44 = {
536
542
  readonly "experienceId": string;
537
543
  readonly "revision": number;
538
544
  } | null;
539
- type Objects_95 = {
545
+ type Objects_99 = {
546
+ readonly "kind": "remote-agent";
547
+ readonly "principalId": string;
548
+ };
549
+ type Objects_100 = {
540
550
  readonly "stateId": string;
541
551
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
542
552
  readonly "name": string;
543
553
  };
544
554
  type Arrays_21 = ReadonlyArray<string>;
545
555
  type Arrays_22 = ReadonlyArray<string>;
546
- type Objects_96 = {
556
+ type Objects_101 = {
547
557
  readonly "total": number;
548
558
  readonly "completed": number;
549
559
  readonly "cancelled": number;
550
560
  };
551
- type Objects_98 = {
561
+ type Objects_103 = {
552
562
  readonly "stateId": string;
553
563
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
554
564
  };
555
- type Objects_99 = {
565
+ type Objects_104 = {
556
566
  readonly "projectId": string;
557
567
  readonly "requestId"?: string;
558
568
  readonly "workItemId": string;
559
569
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
560
570
  readonly "relatedWorkItemId": string;
561
571
  };
562
- type Objects_100 = {
572
+ type Objects_105 = {
563
573
  readonly "workItemId": string;
564
574
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
565
575
  readonly "relatedWorkItemId": string;
566
576
  };
567
- type Objects_101 = {
577
+ type Union_47 = {
578
+ readonly "pattern": string;
579
+ readonly "color": string;
580
+ } | null;
581
+ type Objects_106 = {
582
+ readonly "pattern": string;
583
+ readonly "color": string;
584
+ };
585
+ type Objects_107 = {
586
+ readonly "projectId": string;
587
+ readonly "requestId"?: string;
588
+ readonly "memberId": string;
589
+ };
590
+ type Objects_108 = {
568
591
  readonly "sequence": number;
569
592
  readonly "replayed"?: boolean;
570
593
  readonly "status": "accepted" | "noop";
571
594
  };
572
- type Objects_102 = {
595
+ type Objects_109 = {
573
596
  readonly "_tag": "snap-shot";
574
597
  readonly "capturedAt": string;
575
598
  readonly "appName": string;
@@ -587,12 +610,12 @@ type Objects_102 = {
587
610
  readonly "height": number;
588
611
  };
589
612
  readonly "truncated": boolean;
590
- readonly "root": Objects_103;
613
+ readonly "root": Objects_110;
591
614
  };
592
615
  readonly "appIdentifier"?: string;
593
616
  readonly "appIconDataUrl"?: string;
594
617
  };
595
- type Objects_104 = {
618
+ type Objects_111 = {
596
619
  readonly "_tag": "agent-artifact";
597
620
  readonly "sourcePath": string;
598
621
  readonly "linkBase"?: string;
@@ -602,13 +625,13 @@ type Objects_104 = {
602
625
  readonly "delivered"?: true;
603
626
  readonly "sha256"?: string;
604
627
  };
605
- type Objects_106 = {
628
+ type Objects_113 = {
606
629
  readonly "projectId": string;
607
630
  readonly "repository": string;
608
631
  readonly "number": number;
609
632
  readonly "url": string;
610
633
  };
611
- type Objects_107 = {
634
+ type Objects_114 = {
612
635
  readonly "_tag": "snap-shot";
613
636
  readonly "capturedAt": string;
614
637
  readonly "appName": string;
@@ -626,12 +649,12 @@ type Objects_107 = {
626
649
  readonly "height": number;
627
650
  };
628
651
  readonly "truncated": boolean;
629
- readonly "root": Objects_108;
652
+ readonly "root": Objects_115;
630
653
  };
631
654
  readonly "appIdentifier"?: string;
632
655
  readonly "appIconDataUrl"?: string;
633
656
  };
634
- type Objects_109 = {
657
+ type Objects_116 = {
635
658
  readonly "_tag": "agent-artifact";
636
659
  readonly "sourcePath": string;
637
660
  readonly "linkBase"?: string;
@@ -641,7 +664,7 @@ type Objects_109 = {
641
664
  readonly "delivered"?: true;
642
665
  readonly "sha256"?: string;
643
666
  };
644
- type Objects_111 = {
667
+ type Objects_118 = {
645
668
  readonly "_tag": "agent-artifact";
646
669
  readonly "sourcePath": string;
647
670
  readonly "linkBase"?: string;
@@ -651,7 +674,7 @@ type Objects_111 = {
651
674
  readonly "delivered"?: true;
652
675
  readonly "sha256"?: string;
653
676
  };
654
- type Union_47 = {
677
+ type Union_51 = {
655
678
  readonly "kind": "lucide";
656
679
  readonly "name": string;
657
680
  readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
@@ -659,72 +682,72 @@ type Union_47 = {
659
682
  readonly "kind": "emoji";
660
683
  readonly "emoji": string;
661
684
  };
662
- type Objects_112 = {
685
+ type Objects_119 = {
663
686
  readonly "projectId": string;
664
687
  readonly "folderId": string;
665
688
  };
666
- type Objects_113 = {
689
+ type Objects_120 = {
667
690
  readonly "applied": boolean;
668
691
  };
669
- type Objects_114 = {
692
+ type Objects_121 = {
670
693
  readonly "sourceThreadId": string;
671
694
  readonly "sourceMessageId": string;
672
695
  readonly "sourceTurnNumber"?: number;
673
696
  };
674
- type Objects_115 = {
697
+ type Objects_122 = {
675
698
  readonly "provider"?: unknown | undefined;
676
699
  readonly "instanceId"?: unknown | undefined;
677
700
  readonly "model": unknown;
678
701
  readonly "options"?: unknown | undefined;
679
702
  };
680
- type Union_49 = ReadonlyArray<string> | undefined;
681
- type Objects_116 = {
703
+ type Union_53 = ReadonlyArray<string> | undefined;
704
+ type Objects_123 = {
682
705
  readonly "parentThreadId": string;
683
706
  readonly "delegationDepth": number;
684
707
  readonly "requestedBy": "agent" | "continuation";
685
708
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
686
709
  };
687
- type Objects_117 = {
710
+ type Objects_124 = {
688
711
  readonly "userId": string;
689
712
  readonly "displayName": string;
690
713
  };
691
- type Objects_119 = {
714
+ type Objects_126 = {
692
715
  readonly "kind": "approval" | "userInput";
693
716
  readonly "requestId": string;
694
717
  readonly "startedAt": string;
695
718
  readonly "completedAt": string | null;
696
719
  readonly "waitingForYouStartedAt"?: string | null | undefined;
697
720
  };
698
- type Objects_120 = {
721
+ type Objects_127 = {
699
722
  readonly "requestId": string;
700
723
  readonly "startedAt": string;
701
724
  };
702
- type Objects_121 = {
725
+ type Objects_128 = {
703
726
  readonly "source": "manual" | "generated";
704
727
  readonly "version": string;
705
728
  readonly "needsRefinement": boolean;
706
729
  };
707
- type Union_58 = {
730
+ type Union_62 = {
708
731
  readonly "phase": "handling" | "unanswered";
709
732
  readonly "parentThreadId": string;
710
733
  } | undefined;
711
- type Union_59 = {
734
+ type Union_63 = {
712
735
  readonly "step": string;
713
736
  readonly "completedSteps": number;
714
737
  readonly "totalSteps": number;
715
738
  } | null | undefined;
716
- type Union_60 = {
739
+ type Union_64 = {
717
740
  readonly "kind": "steer" | "interrupt";
718
741
  readonly "turnId": string;
719
742
  readonly "commandId": string;
720
743
  readonly "source"?: "automatic";
721
744
  } | null;
722
- type Union_61 = {
745
+ type Union_65 = {
723
746
  readonly "sessionId"?: string;
724
747
  readonly "turnId"?: string;
725
748
  readonly "generationId"?: string;
726
749
  } | null;
727
- type Objects_126 = {
750
+ type Objects_133 = {
728
751
  readonly "_tag": "agent-artifact";
729
752
  readonly "sourcePath": string;
730
753
  readonly "linkBase"?: string | undefined;
@@ -734,7 +757,7 @@ type Objects_126 = {
734
757
  readonly "delivered"?: true | undefined;
735
758
  readonly "sha256"?: string | undefined;
736
759
  };
737
- type Objects_127 = {
760
+ type Objects_134 = {
738
761
  readonly "kind": "native-session";
739
762
  readonly "provider": "claude" | "codex";
740
763
  readonly "sessionId": string;
@@ -742,7 +765,7 @@ type Objects_127 = {
742
765
  readonly "turnId"?: string | undefined;
743
766
  readonly "order": number;
744
767
  };
745
- type Objects_128 = {
768
+ type Objects_135 = {
746
769
  readonly "roles"?: {
747
770
  readonly [x: string]: {
748
771
  readonly "instanceId": string;
@@ -751,7 +774,7 @@ type Objects_128 = {
751
774
  } | undefined;
752
775
  readonly "allowlistOnly"?: boolean | undefined;
753
776
  };
754
- type Objects_129 = {
777
+ type Objects_136 = {
755
778
  readonly "source": "none" | "custom" | "plugin";
756
779
  readonly "customId": string | null;
757
780
  readonly "pluginId": string | null;
@@ -770,7 +793,7 @@ type Objects_6 = {
770
793
  readonly "optionOverrides": Arrays_3;
771
794
  readonly "expectedRevisions": Objects_7;
772
795
  };
773
- type Objects_105 = {
796
+ type Objects_112 = {
774
797
  readonly "environmentId": string;
775
798
  readonly "runtimeId": string;
776
799
  readonly "sourceId": string;
@@ -802,7 +825,7 @@ type Objects_16 = {
802
825
  readonly "endReason"?: "server-restart" | undefined;
803
826
  readonly "updatedAt": string;
804
827
  };
805
- type Objects_122 = {
828
+ type Objects_129 = {
806
829
  readonly "threadId": string;
807
830
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
808
831
  readonly "providerName": string | null;
@@ -816,7 +839,7 @@ type Objects_122 = {
816
839
  readonly "endReason"?: "server-restart" | undefined;
817
840
  readonly "updatedAt": string;
818
841
  };
819
- type Objects_76 = {
842
+ type Objects_78 = {
820
843
  readonly "wakeId": string;
821
844
  readonly "threadId": string;
822
845
  readonly "dueAt": string;
@@ -878,17 +901,11 @@ type Union_27 = {
878
901
  readonly "turnId"?: string | undefined;
879
902
  readonly "at": string;
880
903
  } | null;
881
- type Union_45 = {
904
+ type Objects_98 = {
882
905
  readonly "kind": "human";
883
906
  readonly "principal": Union_28;
884
- } | {
885
- readonly "kind": "agent";
886
- readonly "threadId": string;
887
- } | {
888
- readonly "kind": "remote-agent";
889
- readonly "principalId": string;
890
907
  };
891
- type Objects_82 = {
908
+ type Objects_84 = {
892
909
  readonly "kind": "human";
893
910
  readonly "principal": Union_29;
894
911
  };
@@ -899,11 +916,11 @@ type Objects_48 = {
899
916
  type Union_32 = Objects_42 | undefined;
900
917
  type Union_33 = Arrays_9 | Objects_50;
901
918
  type Union_34 = Arrays_10 | undefined;
902
- type Union_66 = Objects_54 | undefined;
903
- type Union_67 = Objects_54 | undefined;
904
- type Union_35 = Objects_52 | Objects_55 | Objects_56;
905
- type Union_41 = Objects_73 | undefined;
906
- type Objects_75 = {
919
+ type Union_70 = Objects_55 | undefined;
920
+ type Union_71 = Objects_55 | undefined;
921
+ type Union_35 = Objects_53 | Objects_56 | Objects_57;
922
+ type Union_41 = Objects_75 | undefined;
923
+ type Objects_77 = {
907
924
  readonly "instanceId": string;
908
925
  readonly "driver": string;
909
926
  readonly "pluginId": string | null;
@@ -948,14 +965,15 @@ type Objects_75 = {
948
965
  readonly "redeemable"?: true;
949
966
  readonly "redeeming"?: true;
950
967
  };
951
- type Arrays_19 = ReadonlyArray<Objects_93>;
952
- type Objects_94 = {
968
+ type Arrays_19 = ReadonlyArray<Objects_96>;
969
+ type Objects_97 = {
953
970
  readonly "changed": boolean;
954
971
  readonly "release": number;
955
- readonly "pages": ReadonlyArray<Objects_93>;
972
+ readonly "pages": ReadonlyArray<Objects_96>;
956
973
  };
957
- type Union_50 = Objects_106 | null | undefined;
958
- type Objects_123 = {
974
+ type Union_72 = Objects_106 | null;
975
+ type Union_54 = Objects_113 | null | undefined;
976
+ type Objects_130 = {
959
977
  readonly "id": string;
960
978
  readonly "title": string;
961
979
  readonly "workspaceRoot": string;
@@ -990,10 +1008,10 @@ type Objects_123 = {
990
1008
  readonly "owner"?: string;
991
1009
  readonly "name"?: string;
992
1010
  } | null | undefined;
993
- readonly "defaultModelSelection": Objects_115 | null;
1011
+ readonly "defaultModelSelection": Objects_122 | null;
994
1012
  readonly "defaultThreadEnvMode"?: "local" | "worktree" | null | undefined;
995
1013
  readonly "faviconPath"?: string | null | undefined;
996
- readonly "projectIcon"?: Union_47 | null | undefined;
1014
+ readonly "projectIcon"?: Union_51 | null | undefined;
997
1015
  readonly "scripts": ReadonlyArray<{
998
1016
  readonly "id": string;
999
1017
  readonly "name": string;
@@ -1008,14 +1026,14 @@ type Objects_123 = {
1008
1026
  readonly "updatedAt": string;
1009
1027
  readonly "archivedAt"?: string | null | undefined;
1010
1028
  };
1011
- type Union_64 = Objects_115 | undefined;
1012
- type Union_51 = Objects_116 | null | undefined;
1013
- type Union_52 = Objects_117 | null | undefined;
1014
- type Union_63 = Objects_117 | null | undefined;
1015
- type Union_54 = ReadonlyArray<Objects_119> | undefined;
1016
- type Union_55 = Objects_120 | null | undefined;
1017
- type Union_56 = Objects_121 | null | undefined;
1018
- type Union_62 = {
1029
+ type Union_68 = Objects_122 | undefined;
1030
+ type Union_55 = Objects_123 | null | undefined;
1031
+ type Union_56 = Objects_124 | null | undefined;
1032
+ type Union_67 = Objects_124 | null | undefined;
1033
+ type Union_58 = ReadonlyArray<Objects_126> | undefined;
1034
+ type Union_59 = Objects_127 | null | undefined;
1035
+ type Union_60 = Objects_128 | null | undefined;
1036
+ type Union_66 = {
1019
1037
  readonly "type": "image";
1020
1038
  readonly "id": string;
1021
1039
  readonly "name": string;
@@ -1036,49 +1054,66 @@ type Union_62 = {
1036
1054
  readonly "coordinateSpace": "captured-image";
1037
1055
  readonly "imageSize": Objects_22;
1038
1056
  readonly "truncated": boolean;
1039
- readonly "root": Objects_125;
1057
+ readonly "root": Objects_132;
1040
1058
  } | undefined;
1041
1059
  readonly "appIdentifier"?: string | undefined;
1042
1060
  readonly "appIconDataUrl"?: string | undefined;
1043
- } | Objects_126 | undefined;
1061
+ } | Objects_133 | undefined;
1044
1062
  } | {
1045
1063
  readonly "type": "file";
1046
1064
  readonly "id": string;
1047
1065
  readonly "name": string;
1048
1066
  readonly "mimeType": string;
1049
1067
  readonly "sizeBytes": number;
1050
- readonly "source"?: Objects_26 | Objects_126 | {
1068
+ readonly "source"?: Objects_26 | Objects_133 | {
1051
1069
  readonly "_tag": "thread-reference";
1052
1070
  readonly "environmentId": string;
1053
1071
  readonly "threadId": string;
1054
1072
  } | undefined;
1055
1073
  };
1056
- type Union_65 = Objects_127 | undefined;
1074
+ type Union_69 = Objects_134 | undefined;
1057
1075
  type Union_ = Arrays_1 | Arrays_2;
1058
1076
  type Union_1 = Objects_6 | undefined;
1059
- type Union_48 = Objects_105 | undefined;
1077
+ type Union_52 = Objects_112 | undefined;
1060
1078
  type Union_11 = Objects_16 | null;
1061
- type Union_57 = Objects_122 | null;
1079
+ type Union_61 = Objects_129 | null;
1062
1080
  type Union_26 = ReadonlyArray<Union_18> | undefined;
1063
- type Union_43 = Objects_82 | {
1081
+ type Union_45 = Objects_98 | {
1082
+ readonly "kind": "agent";
1083
+ readonly "threadId": string;
1084
+ } | Objects_99;
1085
+ type Union_50 = Objects_98 | Objects_99;
1086
+ type Union_75 = Objects_98 | {
1064
1087
  readonly "kind": "local-cli";
1065
1088
  readonly "environmentId": string;
1066
1089
  } | {
1067
1090
  readonly "kind": "seat";
1068
1091
  readonly "seatId": string;
1069
- } | Objects_83 | Objects_84 | {
1092
+ } | {
1093
+ readonly "kind": "agent";
1094
+ readonly "threadId": string;
1095
+ } | Objects_99 | {
1070
1096
  readonly "kind": "plugin";
1071
1097
  readonly "pluginId": string;
1098
+ } | Objects_87;
1099
+ type Union_43 = Objects_84 | {
1100
+ readonly "kind": "local-cli";
1101
+ readonly "environmentId": string;
1072
1102
  } | {
1073
- readonly "kind": "system";
1074
- };
1075
- type Union_46 = Objects_82 | Objects_83 | Objects_84;
1103
+ readonly "kind": "seat";
1104
+ readonly "seatId": string;
1105
+ } | Objects_85 | Objects_86 | {
1106
+ readonly "kind": "plugin";
1107
+ readonly "pluginId": string;
1108
+ } | Objects_87;
1109
+ type Union_46 = Objects_84 | Objects_85 | Objects_86;
1110
+ type Union_48 = Objects_84 | Objects_86 | null;
1076
1111
  type Objects_49 = {
1077
1112
  readonly "instanceId": string;
1078
1113
  readonly "model": string;
1079
1114
  readonly "options"?: Union_33;
1080
1115
  };
1081
- type Objects_51 = {
1116
+ type Objects_52 = {
1082
1117
  readonly "name": string;
1083
1118
  readonly "transport": {
1084
1119
  readonly "type": "stdio";
@@ -1099,7 +1134,7 @@ type Objects_51 = {
1099
1134
  readonly "catalogId"?: string | undefined;
1100
1135
  readonly "oauth"?: Union_32;
1101
1136
  };
1102
- type Objects_118 = {
1137
+ type Objects_125 = {
1103
1138
  readonly "turnId": string;
1104
1139
  readonly "state": "running" | "interrupted" | "completed" | "error";
1105
1140
  readonly "requestedAt": string;
@@ -1107,12 +1142,12 @@ type Objects_118 = {
1107
1142
  readonly "completedAt": string | null;
1108
1143
  readonly "assistantMessageId": string | null;
1109
1144
  readonly "userMessageId"?: string | undefined;
1110
- readonly "modelSelection"?: Objects_115 | undefined;
1145
+ readonly "modelSelection"?: Objects_122 | undefined;
1111
1146
  readonly "sourceProposedPlan"?: {
1112
1147
  readonly "threadId": string;
1113
1148
  readonly "planId": string;
1114
1149
  } | undefined;
1115
- readonly "waitSpans"?: Union_54;
1150
+ readonly "waitSpans"?: Union_58;
1116
1151
  readonly "runSegments"?: Union_8;
1117
1152
  };
1118
1153
  type Objects_4 = {
@@ -1120,6 +1155,11 @@ type Objects_4 = {
1120
1155
  readonly "model": string;
1121
1156
  readonly "options"?: Union_;
1122
1157
  };
1158
+ type Objects_51 = {
1159
+ readonly "instanceId": string;
1160
+ readonly "model": string;
1161
+ readonly "options"?: Union_;
1162
+ };
1123
1163
  type Objects_30 = {
1124
1164
  readonly "items": ReadonlyArray<{
1125
1165
  readonly "recordId": string;
@@ -1143,7 +1183,8 @@ type Objects_30 = {
1143
1183
  readonly "nextCursor": string | null;
1144
1184
  readonly "snapshotSequence": number;
1145
1185
  };
1146
- type Objects_86 = {
1186
+ type Union_73 = Union_50 | null;
1187
+ type Objects_89 = {
1147
1188
  readonly "experienceId": string;
1148
1189
  readonly "revision": number;
1149
1190
  readonly "baseRevision": number | null;
@@ -1153,7 +1194,7 @@ type Objects_86 = {
1153
1194
  readonly "bodyState": "present" | "erased" | "unavailable";
1154
1195
  readonly "bodyWindow"?: Objects_28;
1155
1196
  };
1156
- type Objects_90 = {
1197
+ type Objects_93 = {
1157
1198
  readonly "pageId": string;
1158
1199
  readonly "revision": number;
1159
1200
  readonly "baseRevision": number | null;
@@ -1166,7 +1207,7 @@ type Objects_90 = {
1166
1207
  readonly "bodyState": "present" | "erased" | "unavailable";
1167
1208
  readonly "bodyWindow"?: Objects_28;
1168
1209
  };
1169
- type Objects_92 = {
1210
+ type Objects_95 = {
1170
1211
  readonly "release": number;
1171
1212
  readonly "pages": Arrays_19;
1172
1213
  readonly "itemCount": number;
@@ -1178,7 +1219,7 @@ type Objects_92 = {
1178
1219
  readonly "publishedAt": string;
1179
1220
  };
1180
1221
  type Arrays_20 = ReadonlyArray<Union_46>;
1181
- type Objects_97 = {
1222
+ type Objects_102 = {
1182
1223
  readonly "commentId": string;
1183
1224
  readonly "workItemId": string;
1184
1225
  readonly "projectId": string;
@@ -1193,7 +1234,11 @@ type Objects_97 = {
1193
1234
  readonly "createdAt": string;
1194
1235
  readonly "editedAt": string | null;
1195
1236
  };
1196
- type Union_53 = Objects_118 | null;
1237
+ type Union_74 = {
1238
+ readonly "environmentId": string;
1239
+ readonly "modelSelection": Objects_49;
1240
+ } | null;
1241
+ type Union_57 = Objects_125 | null;
1197
1242
  type Objects_11 = {
1198
1243
  readonly "turnId": string;
1199
1244
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1372,25 +1417,29 @@ type Objects_37 = {
1372
1417
  };
1373
1418
  readonly "observability": Objects_47;
1374
1419
  };
1375
- type Objects_124 = {
1420
+ type Union_49 = {
1421
+ readonly "environmentId": string;
1422
+ readonly "modelSelection": Objects_51;
1423
+ } | null;
1424
+ type Objects_131 = {
1376
1425
  readonly "id": string;
1377
1426
  readonly "projectId": string;
1378
1427
  readonly "title": string;
1379
- readonly "modelSelection": Objects_115;
1380
- readonly "executionSelection"?: Union_48;
1428
+ readonly "modelSelection": Objects_122;
1429
+ readonly "executionSelection"?: Union_52;
1381
1430
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1382
1431
  readonly "nativeModeId"?: string | null | undefined;
1383
1432
  readonly "interactionMode"?: "default" | "plan" | undefined;
1384
1433
  readonly "branch": string | null;
1385
1434
  readonly "worktreePath": string | null;
1386
1435
  readonly "startFolderId"?: string | null | undefined;
1387
- readonly "folderIds"?: Union_49;
1388
- readonly "linkedPullRequest"?: Union_50;
1389
- readonly "origin"?: Union_51;
1390
- readonly "forkedFrom"?: Objects_114 | null | undefined;
1436
+ readonly "folderIds"?: Union_53;
1437
+ readonly "linkedPullRequest"?: Union_54;
1438
+ readonly "origin"?: Union_55;
1439
+ readonly "forkedFrom"?: Objects_121 | null | undefined;
1391
1440
  readonly "presetId"?: string | null | undefined;
1392
- readonly "createdBy"?: Union_52;
1393
- readonly "latestTurn": Union_53;
1441
+ readonly "createdBy"?: Union_56;
1442
+ readonly "latestTurn": Union_57;
1394
1443
  readonly "stopRequestedAt"?: string | null;
1395
1444
  readonly "createdAt": string;
1396
1445
  readonly "updatedAt": string;
@@ -1403,9 +1452,9 @@ type Objects_124 = {
1403
1452
  readonly "pinnedAt"?: string | null | undefined;
1404
1453
  readonly "pinOrderKey"?: string | null | undefined;
1405
1454
  readonly "sortOrderKey"?: string | null | undefined;
1406
- readonly "titleRegeneration"?: Union_55;
1407
- readonly "titleState"?: Union_56;
1408
- readonly "session": Union_57;
1455
+ readonly "titleRegeneration"?: Union_59;
1456
+ readonly "titleState"?: Union_60;
1457
+ readonly "session": Union_61;
1409
1458
  readonly "latestUserMessageAt": string | null;
1410
1459
  readonly "userTurnCount"?: number | undefined;
1411
1460
  readonly "queuedMessageCount"?: number | undefined;
@@ -1417,11 +1466,11 @@ type Objects_124 = {
1417
1466
  readonly "latestDeliveryAt"?: string | null | undefined;
1418
1467
  readonly "hasPendingApprovals": boolean;
1419
1468
  readonly "hasPendingUserInput": boolean;
1420
- readonly "askRoute"?: Union_58;
1469
+ readonly "askRoute"?: Union_62;
1421
1470
  readonly "hasActionableProposedPlan": boolean;
1422
1471
  readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined;
1423
1472
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
1424
- readonly "planProgress"?: Union_59;
1473
+ readonly "planProgress"?: Union_63;
1425
1474
  };
1426
1475
  type Union_6 = Objects_11 | null;
1427
1476
  type Objects_2 = {
@@ -1566,7 +1615,7 @@ type Union_30 = {
1566
1615
  readonly "left": Union_30;
1567
1616
  readonly "right": Union_30;
1568
1617
  };
1569
- type Objects_103 = {
1618
+ type Objects_110 = {
1570
1619
  readonly "role": string;
1571
1620
  readonly "name"?: string;
1572
1621
  readonly "value"?: string;
@@ -1589,9 +1638,9 @@ type Objects_103 = {
1589
1638
  readonly "visible"?: boolean;
1590
1639
  };
1591
1640
  readonly "actions"?: ReadonlyArray<string>;
1592
- readonly "children": ReadonlyArray<Objects_103>;
1641
+ readonly "children": ReadonlyArray<Objects_110>;
1593
1642
  };
1594
- type Objects_108 = {
1643
+ type Objects_115 = {
1595
1644
  readonly "role": string;
1596
1645
  readonly "name"?: string;
1597
1646
  readonly "value"?: string;
@@ -1614,9 +1663,9 @@ type Objects_108 = {
1614
1663
  readonly "visible"?: boolean;
1615
1664
  };
1616
1665
  readonly "actions"?: ReadonlyArray<string>;
1617
- readonly "children": ReadonlyArray<Objects_108>;
1666
+ readonly "children": ReadonlyArray<Objects_115>;
1618
1667
  };
1619
- type Objects_110 = {
1668
+ type Objects_117 = {
1620
1669
  readonly "role": string;
1621
1670
  readonly "name"?: string;
1622
1671
  readonly "value"?: string;
@@ -1639,9 +1688,9 @@ type Objects_110 = {
1639
1688
  readonly "visible"?: boolean;
1640
1689
  };
1641
1690
  readonly "actions"?: ReadonlyArray<string>;
1642
- readonly "children": ReadonlyArray<Objects_110>;
1691
+ readonly "children": ReadonlyArray<Objects_117>;
1643
1692
  };
1644
- type Objects_125 = {
1693
+ type Objects_132 = {
1645
1694
  readonly "role": string;
1646
1695
  readonly "name"?: string;
1647
1696
  readonly "value"?: string;
@@ -1649,7 +1698,7 @@ type Objects_125 = {
1649
1698
  readonly "bounds": Union_19;
1650
1699
  readonly "state"?: Objects_24;
1651
1700
  readonly "actions"?: ReadonlyArray<string>;
1652
- readonly "children": ReadonlyArray<Objects_125>;
1701
+ readonly "children": ReadonlyArray<Objects_132>;
1653
1702
  };
1654
1703
  export type AuthRemoteAgentsListInput = {
1655
1704
  readonly "projectId": string;
@@ -3132,11 +3181,7 @@ export type ProvidersSelectionResolveInput = {
3132
3181
  readonly "routingKey"?: string;
3133
3182
  };
3134
3183
  export type ProvidersSelectionResolveOutput = {
3135
- readonly "modelSelection": {
3136
- readonly "instanceId": string;
3137
- readonly "model": string;
3138
- readonly "options"?: Union_;
3139
- };
3184
+ readonly "modelSelection": Objects_51;
3140
3185
  };
3141
3186
  export type ProvidersSessionsListInput = {
3142
3187
  readonly "threadId"?: string;
@@ -3338,12 +3383,12 @@ export type PluginsProjectConfigGetInput = {
3338
3383
  export type PluginsProjectConfigGetOutput = {
3339
3384
  readonly "config": {
3340
3385
  readonly "mcpServers"?: {
3341
- readonly [x: string]: Objects_51;
3386
+ readonly [x: string]: Objects_52;
3342
3387
  };
3343
3388
  readonly "skills"?: {
3344
3389
  readonly [x: string]: {
3345
3390
  readonly "name": string;
3346
- readonly "source": Objects_52 | Objects_44 | Objects_45;
3391
+ readonly "source": Objects_53 | Objects_44 | Objects_45;
3347
3392
  readonly "modelInvocable": boolean;
3348
3393
  readonly "userInvocable": boolean;
3349
3394
  readonly "providers": Objects_46;
@@ -3362,18 +3407,18 @@ export type PluginsProjectConfigUpdateInput = {
3362
3407
  readonly "type": "stdio";
3363
3408
  readonly "command": string;
3364
3409
  readonly "args"?: Arrays_10;
3365
- readonly "env"?: Objects_53;
3410
+ readonly "env"?: Objects_54;
3366
3411
  } | {
3367
3412
  readonly "type": "http";
3368
3413
  readonly "url": string;
3369
- readonly "headers"?: Objects_53;
3414
+ readonly "headers"?: Objects_54;
3370
3415
  } | {
3371
3416
  readonly "type": "sse";
3372
3417
  readonly "url": string;
3373
- readonly "headers"?: Objects_53;
3418
+ readonly "headers"?: Objects_54;
3374
3419
  };
3375
3420
  readonly "enabled"?: boolean;
3376
- readonly "providers"?: Objects_54;
3421
+ readonly "providers"?: Objects_55;
3377
3422
  readonly "catalogId"?: string;
3378
3423
  readonly "oauth"?: Objects_42;
3379
3424
  };
@@ -3384,7 +3429,7 @@ export type PluginsProjectConfigUpdateInput = {
3384
3429
  readonly "source": Union_35;
3385
3430
  readonly "modelInvocable"?: boolean;
3386
3431
  readonly "userInvocable"?: boolean;
3387
- readonly "providers"?: Objects_54;
3432
+ readonly "providers"?: Objects_55;
3388
3433
  };
3389
3434
  };
3390
3435
  };
@@ -3427,10 +3472,10 @@ export type PluginsInstalledListOutput = {
3427
3472
  readonly "threadId": string | null;
3428
3473
  readonly "runtimeStats"?: Union_38;
3429
3474
  readonly "removable"?: boolean | undefined;
3430
- readonly "permissions"?: ReadonlyArray<Objects_57 | {
3475
+ readonly "permissions"?: ReadonlyArray<Objects_58 | {
3431
3476
  readonly "kind": "fs.read";
3432
3477
  readonly "paths": ReadonlyArray<string>;
3433
- } | Objects_58 | Objects_59 | Objects_60 | Objects_61 | {
3478
+ } | Objects_59 | Objects_60 | Objects_61 | Objects_62 | Objects_63 | {
3434
3479
  readonly "kind": "process.spawn";
3435
3480
  readonly "programs": ReadonlyArray<string | {
3436
3481
  readonly "key": string;
@@ -3438,7 +3483,7 @@ export type PluginsInstalledListOutput = {
3438
3483
  readonly "displayName"?: string | undefined;
3439
3484
  }>;
3440
3485
  readonly "maxConcurrent"?: number;
3441
- } | Objects_62 | Objects_63 | {
3486
+ } | Objects_64 | Objects_65 | {
3442
3487
  readonly "kind": "network.serve";
3443
3488
  readonly "services": ReadonlyArray<{
3444
3489
  readonly "name": string;
@@ -3448,7 +3493,7 @@ export type PluginsInstalledListOutput = {
3448
3493
  readonly "websocket"?: boolean;
3449
3494
  }>;
3450
3495
  }>;
3451
- } | Objects_64 | Objects_65 | Objects_66 | Objects_67 | Objects_68 | Objects_69 | Objects_70 | Objects_71 | {
3496
+ } | Objects_66 | Objects_67 | Objects_68 | Objects_69 | Objects_70 | Objects_71 | Objects_72 | Objects_73 | {
3452
3497
  readonly "kind": "ui.seats";
3453
3498
  readonly "seats": ReadonlyArray<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions">;
3454
3499
  } | {
@@ -3565,9 +3610,9 @@ export type PluginsNotificationsListOutput = {
3565
3610
  };
3566
3611
  }>;
3567
3612
  };
3568
- export type PluginsNotificationsMarkReadInput = Objects_72;
3613
+ export type PluginsNotificationsMarkReadInput = Objects_74;
3569
3614
  export type PluginsNotificationsMarkReadOutput = {};
3570
- export type PluginsNotificationsClearInput = Objects_72;
3615
+ export type PluginsNotificationsClearInput = Objects_74;
3571
3616
  export type PluginsNotificationsClearOutput = {};
3572
3617
  export type PluginsSettingsCardsListInput = {};
3573
3618
  export type PluginsSettingsCardsListOutput = {
@@ -3612,7 +3657,7 @@ export type PluginsSettingsCardsListOutput = {
3612
3657
  readonly "badgeKey"?: string | undefined;
3613
3658
  readonly "warningKey"?: string | undefined;
3614
3659
  readonly "command": string;
3615
- readonly "showWhen"?: Objects_73 | undefined;
3660
+ readonly "showWhen"?: Objects_75 | undefined;
3616
3661
  readonly "fills": ReadonlyArray<string>;
3617
3662
  }> | undefined;
3618
3663
  }>;
@@ -3624,7 +3669,7 @@ export type PluginsSettingsCardsListOutput = {
3624
3669
  readonly "warningKey"?: string | undefined;
3625
3670
  readonly "command": string;
3626
3671
  }> | undefined;
3627
- readonly "values": Objects_74;
3672
+ readonly "values": Objects_76;
3628
3673
  readonly "secretFields"?: ReadonlyArray<string> | undefined;
3629
3674
  readonly "secretCells"?: ReadonlyArray<{
3630
3675
  readonly "field": string;
@@ -3635,7 +3680,7 @@ export type PluginsSettingsCardsListOutput = {
3635
3680
  };
3636
3681
  export type PluginsSettingsCardsUpdateValuesInput = {
3637
3682
  readonly "entryId": string;
3638
- readonly "values": Objects_74;
3683
+ readonly "values": Objects_76;
3639
3684
  readonly "revision": string;
3640
3685
  };
3641
3686
  export type PluginsSettingsCardsUpdateValuesOutput = {
@@ -3647,7 +3692,7 @@ export type PluginsConnectorsInstallInput = {
3647
3692
  readonly "requestId"?: string;
3648
3693
  };
3649
3694
  export type PluginsConnectorsInstallOutput = {
3650
- readonly "entry": Objects_51;
3695
+ readonly "entry": Objects_52;
3651
3696
  };
3652
3697
  export type UsageQuotaGetInput = {
3653
3698
  readonly "instanceIds"?: ReadonlyArray<string>;
@@ -3656,7 +3701,7 @@ export type UsageQuotaGetInput = {
3656
3701
  export type UsageQuotaGetOutput = {
3657
3702
  readonly "contractVersion": number;
3658
3703
  readonly "hostId": string;
3659
- readonly "instances": ReadonlyArray<Objects_75>;
3704
+ readonly "instances": ReadonlyArray<Objects_77>;
3660
3705
  };
3661
3706
  export type UsageTokensGetInput = {
3662
3707
  readonly "sinceDay": string;
@@ -3740,21 +3785,21 @@ export type UsageQuotaRedeemResetInput = {
3740
3785
  };
3741
3786
  export type UsageQuotaRedeemResetOutput = {
3742
3787
  readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed";
3743
- readonly "instance": Objects_75;
3788
+ readonly "instance": Objects_77;
3744
3789
  };
3745
3790
  export type WakesCancelInput = {
3746
3791
  readonly "wakeId": string;
3747
3792
  readonly "requestId"?: string;
3748
3793
  };
3749
3794
  export type WakesCancelOutput = {
3750
- readonly "wake": Objects_76;
3795
+ readonly "wake": Objects_78;
3751
3796
  };
3752
3797
  export type WakesListInput = {
3753
3798
  readonly "threadId"?: string;
3754
3799
  readonly "state"?: "scheduled" | "fired" | "cancelled";
3755
3800
  };
3756
3801
  export type WakesListOutput = {
3757
- readonly "wakes": ReadonlyArray<Objects_76>;
3802
+ readonly "wakes": ReadonlyArray<Objects_78>;
3758
3803
  };
3759
3804
  export type SkillsListInput = {
3760
3805
  readonly "threadId"?: string;
@@ -3763,11 +3808,11 @@ export type SkillsListOutput = {
3763
3808
  readonly "skills": ReadonlyArray<{
3764
3809
  readonly "name": string;
3765
3810
  readonly "description"?: string;
3766
- readonly "origin"?: Objects_77 | Objects_78 | Objects_79 | Objects_80 | Objects_81;
3811
+ readonly "origin"?: Objects_79 | Objects_80 | Objects_81 | Objects_82 | Objects_83;
3767
3812
  }>;
3768
3813
  readonly "shadowed"?: ReadonlyArray<{
3769
3814
  readonly "name": string;
3770
- readonly "origin": Objects_77 | Objects_78 | Objects_79 | Objects_80 | Objects_81;
3815
+ readonly "origin": Objects_79 | Objects_80 | Objects_81 | Objects_82 | Objects_83;
3771
3816
  readonly "by": "wiki" | "repo" | "settings" | "builtin" | "plugin";
3772
3817
  }>;
3773
3818
  readonly "repoReadByCli"?: true;
@@ -3804,7 +3849,7 @@ export type MemoryExperiencesListOutput = {
3804
3849
  readonly "supersedes": Arrays_17;
3805
3850
  readonly "supersededBy"?: Arrays_18;
3806
3851
  readonly "bodyState": "present" | "erased" | "unavailable";
3807
- readonly "usage"?: Objects_85;
3852
+ readonly "usage"?: Objects_88;
3808
3853
  readonly "excerpt": string | null;
3809
3854
  }>;
3810
3855
  readonly "nextCursor": string | null;
@@ -3827,7 +3872,7 @@ export type MemoryExperiencesGetOutput = {
3827
3872
  readonly "supersedes": Arrays_17;
3828
3873
  readonly "supersededBy"?: Arrays_18;
3829
3874
  readonly "bodyState": "present" | "erased" | "unavailable";
3830
- readonly "usage"?: Objects_85;
3875
+ readonly "usage"?: Objects_88;
3831
3876
  readonly "body": string | null;
3832
3877
  readonly "bodyWindow"?: Objects_28;
3833
3878
  readonly "forgottenAt": string | null;
@@ -3844,7 +3889,7 @@ export type MemoryExperiencesHistoryInput = {
3844
3889
  readonly "textLimit"?: number;
3845
3890
  };
3846
3891
  export type MemoryExperiencesHistoryOutput = {
3847
- readonly "items": ReadonlyArray<Objects_86>;
3892
+ readonly "items": ReadonlyArray<Objects_89>;
3848
3893
  readonly "nextCursor": string | null;
3849
3894
  };
3850
3895
  export type MemoryRevisionsGetInput = {
@@ -3854,7 +3899,7 @@ export type MemoryRevisionsGetInput = {
3854
3899
  readonly "textOffset"?: number;
3855
3900
  readonly "textLimit"?: number;
3856
3901
  };
3857
- export type MemoryRevisionsGetOutput = Objects_86;
3902
+ export type MemoryRevisionsGetOutput = Objects_89;
3858
3903
  export type MemorySearchInput = {
3859
3904
  readonly "projectId": string;
3860
3905
  readonly "text": string;
@@ -3890,7 +3935,7 @@ export type MemoryExperiencesRecordInput = {
3890
3935
  };
3891
3936
  export type MemoryExperiencesRecordOutput = {
3892
3937
  readonly "sequence": number;
3893
- readonly "result": Objects_87;
3938
+ readonly "result": Objects_90;
3894
3939
  readonly "replayed"?: boolean;
3895
3940
  };
3896
3941
  export type MemoryExperiencesReviseInput = {
@@ -3902,14 +3947,14 @@ export type MemoryExperiencesReviseInput = {
3902
3947
  };
3903
3948
  export type MemoryExperiencesReviseOutput = {
3904
3949
  readonly "sequence": number;
3905
- readonly "result": Objects_87;
3950
+ readonly "result": Objects_90;
3906
3951
  readonly "replayed"?: boolean;
3907
3952
  };
3908
- export type MemoryExperiencesForgetInput = Objects_88;
3909
- export type MemoryExperiencesForgetOutput = Objects_89;
3910
- export type MemoryExperiencesRestoreInput = Objects_88;
3911
- export type MemoryExperiencesRestoreOutput = Objects_89;
3912
- export type MemoryExperiencesEraseInput = Objects_88;
3953
+ export type MemoryExperiencesForgetInput = Objects_91;
3954
+ export type MemoryExperiencesForgetOutput = Objects_92;
3955
+ export type MemoryExperiencesRestoreInput = Objects_91;
3956
+ export type MemoryExperiencesRestoreOutput = Objects_92;
3957
+ export type MemoryExperiencesEraseInput = Objects_91;
3913
3958
  export type MemoryExperiencesEraseOutput = {
3914
3959
  readonly "sequence": number;
3915
3960
  readonly "result": {
@@ -3974,7 +4019,7 @@ export type MemoryPagesHistoryInput = {
3974
4019
  readonly "textLimit"?: number;
3975
4020
  };
3976
4021
  export type MemoryPagesHistoryOutput = {
3977
- readonly "items": ReadonlyArray<Objects_90>;
4022
+ readonly "items": ReadonlyArray<Objects_93>;
3978
4023
  readonly "nextCursor": string | null;
3979
4024
  };
3980
4025
  export type MemoryPageRevisionsGetInput = {
@@ -3984,7 +4029,7 @@ export type MemoryPageRevisionsGetInput = {
3984
4029
  readonly "textOffset"?: number;
3985
4030
  readonly "textLimit"?: number;
3986
4031
  };
3987
- export type MemoryPageRevisionsGetOutput = Objects_90;
4032
+ export type MemoryPageRevisionsGetOutput = Objects_93;
3988
4033
  export type MemoryPagesCreateInput = {
3989
4034
  readonly "projectId": string;
3990
4035
  readonly "requestId"?: string;
@@ -3997,7 +4042,7 @@ export type MemoryPagesCreateInput = {
3997
4042
  };
3998
4043
  export type MemoryPagesCreateOutput = {
3999
4044
  readonly "sequence": number;
4000
- readonly "result": Objects_91;
4045
+ readonly "result": Objects_94;
4001
4046
  readonly "replayed"?: boolean;
4002
4047
  };
4003
4048
  export type MemoryPagesEditInput = {
@@ -4011,7 +4056,7 @@ export type MemoryPagesEditInput = {
4011
4056
  };
4012
4057
  export type MemoryPagesEditOutput = {
4013
4058
  readonly "sequence": number;
4014
- readonly "result": Objects_91;
4059
+ readonly "result": Objects_94;
4015
4060
  readonly "replayed"?: boolean;
4016
4061
  };
4017
4062
  export type MemoryPagesRestoreInput = {
@@ -4023,7 +4068,7 @@ export type MemoryPagesRestoreInput = {
4023
4068
  };
4024
4069
  export type MemoryPagesRestoreOutput = {
4025
4070
  readonly "sequence": number;
4026
- readonly "result": Objects_91;
4071
+ readonly "result": Objects_94;
4027
4072
  readonly "replayed"?: boolean;
4028
4073
  };
4029
4074
  export type MemoryPagesEraseInput = {
@@ -4094,8 +4139,8 @@ export type MemoryHandbookGetInput = {
4094
4139
  };
4095
4140
  export type MemoryHandbookGetOutput = {
4096
4141
  readonly "head": {
4097
- readonly "current": Objects_92;
4098
- readonly "pages": ReadonlyArray<Objects_90>;
4142
+ readonly "current": Objects_95;
4143
+ readonly "pages": ReadonlyArray<Objects_93>;
4099
4144
  } | null;
4100
4145
  };
4101
4146
  export type MemoryHandbookReleasesListInput = {
@@ -4104,7 +4149,7 @@ export type MemoryHandbookReleasesListInput = {
4104
4149
  readonly "limit"?: number;
4105
4150
  };
4106
4151
  export type MemoryHandbookReleasesListOutput = {
4107
- readonly "items": ReadonlyArray<Objects_92>;
4152
+ readonly "items": ReadonlyArray<Objects_95>;
4108
4153
  readonly "nextCursor": string | null;
4109
4154
  };
4110
4155
  export type MemoryHandbookReleasesGetInput = {
@@ -4145,7 +4190,7 @@ export type MemoryHandbookPublishInput = {
4145
4190
  };
4146
4191
  export type MemoryHandbookPublishOutput = {
4147
4192
  readonly "sequence": number;
4148
- readonly "result": Objects_94;
4193
+ readonly "result": Objects_97;
4149
4194
  readonly "replayed"?: boolean;
4150
4195
  };
4151
4196
  export type MemoryHandbookRevertInput = {
@@ -4157,7 +4202,7 @@ export type MemoryHandbookRevertInput = {
4157
4202
  };
4158
4203
  export type MemoryHandbookRevertOutput = {
4159
4204
  readonly "sequence": number;
4160
- readonly "result": Objects_94;
4205
+ readonly "result": Objects_97;
4161
4206
  readonly "replayed"?: boolean;
4162
4207
  };
4163
4208
  export type WorkRemoteAgentPendingGetInput = {
@@ -4218,7 +4263,7 @@ export type WorkItemsListOutput = {
4218
4263
  readonly "sequenceId": number;
4219
4264
  readonly "title": string | null;
4220
4265
  readonly "bodyState": "present" | "erased" | "unavailable";
4221
- readonly "state": Objects_95;
4266
+ readonly "state": Objects_100;
4222
4267
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
4223
4268
  readonly "assignees": Arrays_20;
4224
4269
  readonly "labelIds": Arrays_21;
@@ -4232,7 +4277,7 @@ export type WorkItemsListOutput = {
4232
4277
  readonly "revision": number;
4233
4278
  readonly "blockedBy": Arrays_22;
4234
4279
  readonly "blockedByTotal": number;
4235
- readonly "childCounts": Objects_96;
4280
+ readonly "childCounts": Objects_101;
4236
4281
  readonly "createdBy": Union_43;
4237
4282
  readonly "createdAt": string;
4238
4283
  readonly "updatedAt": string;
@@ -4260,7 +4305,7 @@ export type WorkItemsGetOutput = {
4260
4305
  readonly "sequenceId": number;
4261
4306
  readonly "title": string | null;
4262
4307
  readonly "bodyState": "present" | "erased" | "unavailable";
4263
- readonly "state": Objects_95;
4308
+ readonly "state": Objects_100;
4264
4309
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
4265
4310
  readonly "assignees": Arrays_20;
4266
4311
  readonly "labelIds": Arrays_21;
@@ -4274,7 +4319,7 @@ export type WorkItemsGetOutput = {
4274
4319
  readonly "revision": number;
4275
4320
  readonly "blockedBy": Arrays_22;
4276
4321
  readonly "blockedByTotal": number;
4277
- readonly "childCounts": Objects_96;
4322
+ readonly "childCounts": Objects_101;
4278
4323
  readonly "createdBy": Union_43;
4279
4324
  readonly "createdAt": string;
4280
4325
  readonly "updatedAt": string;
@@ -4318,7 +4363,7 @@ export type WorkCommentsListInput = {
4318
4363
  readonly "textLimit"?: number;
4319
4364
  };
4320
4365
  export type WorkCommentsListOutput = {
4321
- readonly "items": ReadonlyArray<Objects_97>;
4366
+ readonly "items": ReadonlyArray<Objects_102>;
4322
4367
  readonly "nextCursor": string | null;
4323
4368
  readonly "snapshotSequence": number;
4324
4369
  };
@@ -4329,7 +4374,7 @@ export type WorkCommentsGetInput = {
4329
4374
  readonly "textLimit"?: number;
4330
4375
  };
4331
4376
  export type WorkCommentsGetOutput = {
4332
- readonly "comment": Objects_97;
4377
+ readonly "comment": Objects_102;
4333
4378
  readonly "snapshotSequence": number;
4334
4379
  };
4335
4380
  export type WorkHistoryListInput = {
@@ -4357,8 +4402,8 @@ export type WorkHistoryListOutput = {
4357
4402
  readonly "newRevision": number | null;
4358
4403
  } | {
4359
4404
  readonly "field": "state";
4360
- readonly "old": Objects_98 | null;
4361
- readonly "new": Objects_98 | null;
4405
+ readonly "old": Objects_103 | null;
4406
+ readonly "new": Objects_103 | null;
4362
4407
  } | {
4363
4408
  readonly "field": "assignees" | "mentions";
4364
4409
  readonly "old": ReadonlyArray<Union_46>;
@@ -4425,16 +4470,16 @@ export type WorkItemsClaimOutput = {
4425
4470
  };
4426
4471
  readonly "replayed"?: boolean;
4427
4472
  };
4428
- export type WorkRelationsAddInput = Objects_99;
4473
+ export type WorkRelationsAddInput = Objects_104;
4429
4474
  export type WorkRelationsAddOutput = {
4430
4475
  readonly "sequence": number;
4431
- readonly "result": Objects_100;
4476
+ readonly "result": Objects_105;
4432
4477
  readonly "replayed"?: boolean;
4433
4478
  };
4434
- export type WorkRelationsRemoveInput = Objects_99;
4479
+ export type WorkRelationsRemoveInput = Objects_104;
4435
4480
  export type WorkRelationsRemoveOutput = {
4436
4481
  readonly "sequence": number;
4437
- readonly "result": Objects_100;
4482
+ readonly "result": Objects_105;
4438
4483
  readonly "replayed"?: boolean;
4439
4484
  };
4440
4485
  export type WorkCommentsPostInput = {
@@ -4454,41 +4499,168 @@ export type WorkCommentsPostOutput = {
4454
4499
  };
4455
4500
  readonly "replayed"?: boolean;
4456
4501
  };
4502
+ export type MembersListInput = {
4503
+ readonly "projectId": string;
4504
+ readonly "includeRemoved"?: boolean;
4505
+ readonly "cursor"?: string | null;
4506
+ readonly "limit"?: number;
4507
+ };
4508
+ export type MembersListOutput = {
4509
+ readonly "items": ReadonlyArray<{
4510
+ readonly "memberId": string;
4511
+ readonly "projectId": string;
4512
+ readonly "kind": "human" | "agent";
4513
+ readonly "name": string;
4514
+ readonly "title": string;
4515
+ readonly "responsibility": string;
4516
+ readonly "avatar": Union_47;
4517
+ readonly "identity": Union_48;
4518
+ readonly "agent": Union_49;
4519
+ readonly "workInstructionsRevision": number | null;
4520
+ readonly "version": number;
4521
+ readonly "createdBy": Union_43;
4522
+ readonly "createdAt": string;
4523
+ readonly "updatedAt": string;
4524
+ readonly "removedAt": string | null;
4525
+ }>;
4526
+ readonly "nextCursor": string | null;
4527
+ readonly "snapshotSequence": number;
4528
+ };
4529
+ export type MembersGetInput = {
4530
+ readonly "projectId": string;
4531
+ readonly "memberId": string;
4532
+ readonly "textOffset"?: number;
4533
+ readonly "textLimit"?: number;
4534
+ readonly "expectedRevision"?: number;
4535
+ };
4536
+ export type MembersGetOutput = {
4537
+ readonly "member": {
4538
+ readonly "memberId": string;
4539
+ readonly "projectId": string;
4540
+ readonly "kind": "human" | "agent";
4541
+ readonly "name": string;
4542
+ readonly "title": string;
4543
+ readonly "responsibility": string;
4544
+ readonly "avatar": Union_47;
4545
+ readonly "identity": Union_48;
4546
+ readonly "agent": Union_49;
4547
+ readonly "workInstructionsRevision": number | null;
4548
+ readonly "version": number;
4549
+ readonly "createdBy": Union_43;
4550
+ readonly "createdAt": string;
4551
+ readonly "updatedAt": string;
4552
+ readonly "removedAt": string | null;
4553
+ readonly "workInstructions": string | null;
4554
+ readonly "workInstructionsWindow"?: Objects_28;
4555
+ };
4556
+ readonly "snapshotSequence": number;
4557
+ };
4558
+ export type MembersCreateInput = {
4559
+ readonly "projectId": string;
4560
+ readonly "requestId"?: string;
4561
+ readonly "memberId"?: string;
4562
+ readonly "kind": "human" | "agent";
4563
+ readonly "name": string;
4564
+ readonly "title"?: string;
4565
+ readonly "responsibility"?: string;
4566
+ readonly "avatar"?: {
4567
+ readonly "pattern": string;
4568
+ readonly "color": string;
4569
+ };
4570
+ readonly "workInstructions"?: string;
4571
+ readonly "identity"?: Objects_98 | Objects_99;
4572
+ readonly "agent"?: {
4573
+ readonly "environmentId": string;
4574
+ readonly "modelSelection": Objects_49;
4575
+ };
4576
+ };
4577
+ export type MembersCreateOutput = {
4578
+ readonly "sequence": number;
4579
+ readonly "result": {
4580
+ readonly "memberId": string;
4581
+ readonly "version": number;
4582
+ readonly "workInstructionsRevision"?: number;
4583
+ };
4584
+ readonly "replayed"?: boolean;
4585
+ };
4586
+ export type MembersUpdateInput = {
4587
+ readonly "projectId": string;
4588
+ readonly "requestId"?: string;
4589
+ readonly "memberId": string;
4590
+ readonly "expectedVersion": number;
4591
+ readonly "name"?: string;
4592
+ readonly "title"?: string;
4593
+ readonly "responsibility"?: string;
4594
+ readonly "avatar"?: Objects_106 | null;
4595
+ readonly "workInstructions"?: string;
4596
+ readonly "identity"?: Union_50 | null;
4597
+ readonly "agent"?: {
4598
+ readonly "environmentId": string;
4599
+ readonly "modelSelection": Objects_49;
4600
+ };
4601
+ };
4602
+ export type MembersUpdateOutput = {
4603
+ readonly "sequence": number;
4604
+ readonly "result": {
4605
+ readonly "memberId": string;
4606
+ readonly "version": number;
4607
+ readonly "workInstructionsRevision"?: number;
4608
+ };
4609
+ readonly "replayed"?: boolean;
4610
+ };
4611
+ export type MembersRemoveInput = Objects_107;
4612
+ export type MembersRemoveOutput = {
4613
+ readonly "sequence": number;
4614
+ readonly "result": {
4615
+ readonly "memberId": string;
4616
+ readonly "version": number;
4617
+ };
4618
+ readonly "replayed"?: boolean;
4619
+ };
4620
+ export type MembersRestoreInput = Objects_107;
4621
+ export type MembersRestoreOutput = {
4622
+ readonly "sequence": number;
4623
+ readonly "result": {
4624
+ readonly "memberId": string;
4625
+ readonly "version": number;
4626
+ };
4627
+ readonly "replayed"?: boolean;
4628
+ };
4457
4629
  export type ThreadsInteractionModeSetInput = {
4458
4630
  readonly "requestId"?: string;
4459
4631
  readonly "threadId": string;
4460
4632
  readonly "interactionMode": "default" | "plan";
4461
4633
  };
4462
- export type ThreadsInteractionModeSetOutput = Objects_101;
4634
+ export type ThreadsInteractionModeSetOutput = Objects_108;
4463
4635
  export type ThreadsNativeModeSetInput = {
4464
4636
  readonly "requestId"?: string;
4465
4637
  readonly "threadId": string;
4466
4638
  readonly "nativeModeId": string;
4467
4639
  };
4468
- export type ThreadsNativeModeSetOutput = Objects_101;
4640
+ export type ThreadsNativeModeSetOutput = Objects_108;
4469
4641
  export type ThreadsRuntimeModeSetInput = {
4470
4642
  readonly "requestId"?: string;
4471
4643
  readonly "threadId": string;
4472
4644
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4473
4645
  };
4474
- export type ThreadsRuntimeModeSetOutput = Objects_101;
4646
+ export type ThreadsRuntimeModeSetOutput = Objects_108;
4475
4647
  export type ThreadsContextCompactInput = {
4476
4648
  readonly "requestId"?: string;
4477
4649
  readonly "threadId": string;
4478
4650
  };
4479
- export type ThreadsContextCompactOutput = Objects_101;
4651
+ export type ThreadsContextCompactOutput = Objects_108;
4480
4652
  export type PluginsSelfdevPromoteInput = {
4481
4653
  readonly "requestId"?: string;
4482
4654
  readonly "threadId": string;
4483
4655
  readonly "pluginId": string;
4484
4656
  };
4485
- export type PluginsSelfdevPromoteOutput = Objects_101;
4657
+ export type PluginsSelfdevPromoteOutput = Objects_108;
4486
4658
  export type PluginsSelfdevStopInput = {
4487
4659
  readonly "requestId"?: string;
4488
4660
  readonly "threadId": string;
4489
4661
  readonly "pluginId": string;
4490
4662
  };
4491
- export type PluginsSelfdevStopOutput = Objects_101;
4663
+ export type PluginsSelfdevStopOutput = Objects_108;
4492
4664
  export type ThreadsShellCommandRecordInput = {
4493
4665
  readonly "requestId"?: string;
4494
4666
  readonly "threadId": string;
@@ -4496,7 +4668,7 @@ export type ThreadsShellCommandRecordInput = {
4496
4668
  readonly "terminalId": string;
4497
4669
  readonly "cwd": string;
4498
4670
  };
4499
- export type ThreadsShellCommandRecordOutput = Objects_101;
4671
+ export type ThreadsShellCommandRecordOutput = Objects_108;
4500
4672
  export type ThreadsTurnIntentsEditInput = {
4501
4673
  readonly "requestId"?: string;
4502
4674
  readonly "threadId": string;
@@ -4510,7 +4682,7 @@ export type ThreadsTurnIntentsEditInput = {
4510
4682
  readonly "mimeType": string;
4511
4683
  readonly "sizeBytes": number;
4512
4684
  readonly "dataUrl": string;
4513
- readonly "source"?: Objects_102;
4685
+ readonly "source"?: Objects_109;
4514
4686
  } | {
4515
4687
  readonly "type": "file";
4516
4688
  readonly "name": string;
@@ -4523,7 +4695,7 @@ export type ThreadsTurnIntentsEditInput = {
4523
4695
  readonly "name": string;
4524
4696
  readonly "mimeType": string;
4525
4697
  readonly "sizeBytes": number;
4526
- readonly "source"?: Objects_102 | Objects_104;
4698
+ readonly "source"?: Objects_109 | Objects_111;
4527
4699
  } | {
4528
4700
  readonly "type": "file";
4529
4701
  readonly "id": string;
@@ -4532,7 +4704,7 @@ export type ThreadsTurnIntentsEditInput = {
4532
4704
  readonly "sizeBytes": number;
4533
4705
  readonly "source"?: {
4534
4706
  readonly "_tag": "pasted-text";
4535
- } | Objects_104 | {
4707
+ } | Objects_111 | {
4536
4708
  readonly "_tag": "thread-reference";
4537
4709
  readonly "environmentId": string;
4538
4710
  readonly "threadId": string;
@@ -4551,18 +4723,18 @@ export type ThreadsTurnIntentsReorderInput = {
4551
4723
  readonly "intentId": string;
4552
4724
  readonly "beforeIntentId": string | null;
4553
4725
  };
4554
- export type ThreadsTurnIntentsReorderOutput = Objects_101;
4726
+ export type ThreadsTurnIntentsReorderOutput = Objects_108;
4555
4727
  export type ThreadsTurnQueuePauseInput = {
4556
4728
  readonly "requestId"?: string;
4557
4729
  readonly "threadId": string;
4558
4730
  };
4559
- export type ThreadsTurnQueuePauseOutput = Objects_101;
4731
+ export type ThreadsTurnQueuePauseOutput = Objects_108;
4560
4732
  export type ThreadsUserInputDismissInput = {
4561
4733
  readonly "requestId"?: string;
4562
4734
  readonly "threadId": string;
4563
4735
  readonly "userInputRequestId": string;
4564
4736
  };
4565
- export type ThreadsUserInputDismissOutput = Objects_101;
4737
+ export type ThreadsUserInputDismissOutput = Objects_108;
4566
4738
  export type ThreadsDecisionsRespondInput = {
4567
4739
  readonly "requestId"?: string;
4568
4740
  readonly "threadId": string;
@@ -4570,52 +4742,52 @@ export type ThreadsDecisionsRespondInput = {
4570
4742
  readonly "optionId": string;
4571
4743
  readonly "reason"?: string;
4572
4744
  };
4573
- export type ThreadsDecisionsRespondOutput = Objects_101;
4745
+ export type ThreadsDecisionsRespondOutput = Objects_108;
4574
4746
  export type ThreadsSnoozeInput = {
4575
4747
  readonly "requestId"?: string;
4576
4748
  readonly "threadId": string;
4577
4749
  readonly "snoozedUntil": string;
4578
4750
  };
4579
- export type ThreadsSnoozeOutput = Objects_101;
4751
+ export type ThreadsSnoozeOutput = Objects_108;
4580
4752
  export type ThreadsUnsnoozeInput = {
4581
4753
  readonly "requestId"?: string;
4582
4754
  readonly "threadId": string;
4583
4755
  readonly "reason": "user";
4584
4756
  };
4585
- export type ThreadsUnsnoozeOutput = Objects_101;
4757
+ export type ThreadsUnsnoozeOutput = Objects_108;
4586
4758
  export type ThreadsReorderInput = {
4587
4759
  readonly "requestId"?: string;
4588
4760
  readonly "threadId": string;
4589
4761
  readonly "orderKey": string;
4590
4762
  };
4591
- export type ThreadsReorderOutput = Objects_101;
4763
+ export type ThreadsReorderOutput = Objects_108;
4592
4764
  export type ThreadsDeleteInput = {
4593
4765
  readonly "requestId"?: string;
4594
4766
  readonly "threadId": string;
4595
4767
  };
4596
- export type ThreadsDeleteOutput = Objects_101;
4768
+ export type ThreadsDeleteOutput = Objects_108;
4597
4769
  export type ThreadsArchiveInput = {
4598
4770
  readonly "requestId"?: string;
4599
4771
  readonly "threadId": string;
4600
4772
  };
4601
- export type ThreadsArchiveOutput = Objects_101;
4773
+ export type ThreadsArchiveOutput = Objects_108;
4602
4774
  export type ThreadsUnarchiveInput = {
4603
4775
  readonly "requestId"?: string;
4604
4776
  readonly "threadId": string;
4605
4777
  };
4606
- export type ThreadsUnarchiveOutput = Objects_101;
4778
+ export type ThreadsUnarchiveOutput = Objects_108;
4607
4779
  export type ThreadsSettleInput = {
4608
4780
  readonly "requestId"?: string;
4609
4781
  readonly "threadId": string;
4610
4782
  readonly "discardQueued"?: boolean;
4611
4783
  };
4612
- export type ThreadsSettleOutput = Objects_101;
4784
+ export type ThreadsSettleOutput = Objects_108;
4613
4785
  export type ThreadsUnsettleInput = {
4614
4786
  readonly "requestId"?: string;
4615
4787
  readonly "threadId": string;
4616
4788
  readonly "reason": "user";
4617
4789
  };
4618
- export type ThreadsUnsettleOutput = Objects_101;
4790
+ export type ThreadsUnsettleOutput = Objects_108;
4619
4791
  export type ThreadsCreateInput = {
4620
4792
  readonly "requestId"?: string;
4621
4793
  readonly "threadId": string;
@@ -4645,7 +4817,7 @@ export type ThreadsCreateInput = {
4645
4817
  };
4646
4818
  readonly "presetId"?: string;
4647
4819
  };
4648
- export type ThreadsCreateOutput = Objects_101;
4820
+ export type ThreadsCreateOutput = Objects_108;
4649
4821
  export type ThreadsForkInput = {
4650
4822
  readonly "requestId"?: string;
4651
4823
  readonly "threadId": string;
@@ -4654,7 +4826,7 @@ export type ThreadsForkInput = {
4654
4826
  readonly "startFolderId"?: string;
4655
4827
  readonly "folderIds"?: ReadonlyArray<string>;
4656
4828
  };
4657
- export type ThreadsForkOutput = Objects_101;
4829
+ export type ThreadsForkOutput = Objects_108;
4658
4830
  export type ThreadsImportInput = {
4659
4831
  readonly "requestId"?: string;
4660
4832
  readonly "threadId": string;
@@ -4698,7 +4870,7 @@ export type ThreadsImportInput = {
4698
4870
  readonly "createdAt": string;
4699
4871
  }>;
4700
4872
  };
4701
- export type ThreadsImportOutput = Objects_101;
4873
+ export type ThreadsImportOutput = Objects_108;
4702
4874
  export type ThreadsExternalMessagesAppendInput = {
4703
4875
  readonly "requestId"?: string;
4704
4876
  readonly "threadId": string;
@@ -4734,7 +4906,7 @@ export type ThreadsExternalMessagesAppendInput = {
4734
4906
  readonly "createdAt": string;
4735
4907
  }>;
4736
4908
  };
4737
- export type ThreadsExternalMessagesAppendOutput = Objects_101;
4909
+ export type ThreadsExternalMessagesAppendOutput = Objects_108;
4738
4910
  export type ThreadsUpdateInput = {
4739
4911
  readonly "threadId": string;
4740
4912
  readonly "requestId"?: string;
@@ -4745,14 +4917,14 @@ export type ThreadsUpdateInput = {
4745
4917
  readonly "model": string;
4746
4918
  readonly "options"?: Union_33;
4747
4919
  };
4748
- readonly "executionSelection"?: Objects_105 | null;
4920
+ readonly "executionSelection"?: Objects_112 | null;
4749
4921
  readonly "branch"?: string | null;
4750
4922
  readonly "expectedBranch"?: string | null;
4751
4923
  readonly "worktreePath"?: string | null;
4752
- readonly "linkedPullRequest"?: Objects_106 | null;
4924
+ readonly "linkedPullRequest"?: Objects_113 | null;
4753
4925
  readonly "presetId"?: string | null;
4754
4926
  };
4755
- export type ThreadsUpdateOutput = Objects_101;
4927
+ export type ThreadsUpdateOutput = Objects_108;
4756
4928
  export type ThreadsTurnsStartInput = {
4757
4929
  readonly "requestId"?: string;
4758
4930
  readonly "threadId": string;
@@ -4766,7 +4938,7 @@ export type ThreadsTurnsStartInput = {
4766
4938
  readonly "mimeType": string;
4767
4939
  readonly "sizeBytes": number;
4768
4940
  readonly "dataUrl": string;
4769
- readonly "source"?: Objects_107;
4941
+ readonly "source"?: Objects_114;
4770
4942
  } | {
4771
4943
  readonly "type": "file";
4772
4944
  readonly "name": string;
@@ -4779,7 +4951,7 @@ export type ThreadsTurnsStartInput = {
4779
4951
  readonly "name": string;
4780
4952
  readonly "mimeType": string;
4781
4953
  readonly "sizeBytes": number;
4782
- readonly "source"?: Objects_107 | Objects_109;
4954
+ readonly "source"?: Objects_114 | Objects_116;
4783
4955
  } | {
4784
4956
  readonly "type": "file";
4785
4957
  readonly "id": string;
@@ -4788,7 +4960,7 @@ export type ThreadsTurnsStartInput = {
4788
4960
  readonly "sizeBytes": number;
4789
4961
  readonly "source"?: {
4790
4962
  readonly "_tag": "pasted-text";
4791
- } | Objects_109 | {
4963
+ } | Objects_116 | {
4792
4964
  readonly "_tag": "thread-reference";
4793
4965
  readonly "environmentId": string;
4794
4966
  readonly "threadId": string;
@@ -4907,11 +5079,11 @@ export type ThreadsUserInputRespondInput = {
4907
5079
  readonly "height": number;
4908
5080
  };
4909
5081
  readonly "truncated": boolean;
4910
- readonly "root": Objects_110;
5082
+ readonly "root": Objects_117;
4911
5083
  };
4912
5084
  readonly "appIdentifier"?: string;
4913
5085
  readonly "appIconDataUrl"?: string;
4914
- } | Objects_111;
5086
+ } | Objects_118;
4915
5087
  } | {
4916
5088
  readonly "type": "file";
4917
5089
  readonly "id": string;
@@ -4920,7 +5092,7 @@ export type ThreadsUserInputRespondInput = {
4920
5092
  readonly "sizeBytes": number;
4921
5093
  readonly "source"?: {
4922
5094
  readonly "_tag": "pasted-text";
4923
- } | Objects_111 | {
5095
+ } | Objects_118 | {
4924
5096
  readonly "_tag": "thread-reference";
4925
5097
  readonly "environmentId": string;
4926
5098
  readonly "threadId": string;
@@ -4928,20 +5100,20 @@ export type ThreadsUserInputRespondInput = {
4928
5100
  }>;
4929
5101
  };
4930
5102
  };
4931
- export type ThreadsUserInputRespondOutput = Objects_101;
5103
+ export type ThreadsUserInputRespondOutput = Objects_108;
4932
5104
  export type ThreadsTurnsInterruptInput = {
4933
5105
  readonly "requestId"?: string;
4934
5106
  readonly "threadId": string;
4935
5107
  readonly "turnId"?: string;
4936
5108
  };
4937
- export type ThreadsTurnsInterruptOutput = Objects_101;
5109
+ export type ThreadsTurnsInterruptOutput = Objects_108;
4938
5110
  export type ThreadsSessionStopInput = {
4939
5111
  readonly "requestId"?: string;
4940
5112
  readonly "threadId": string;
4941
5113
  readonly "onlyIfSettled"?: boolean;
4942
5114
  readonly "onlyIfNoTurnInFlight"?: boolean;
4943
5115
  };
4944
- export type ThreadsSessionStopOutput = Objects_101;
5116
+ export type ThreadsSessionStopOutput = Objects_108;
4945
5117
  export type ApprovalsRespondInput = {
4946
5118
  readonly "requestId"?: string;
4947
5119
  readonly "threadId": string;
@@ -4949,7 +5121,7 @@ export type ApprovalsRespondInput = {
4949
5121
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
4950
5122
  readonly "reason"?: string;
4951
5123
  };
4952
- export type ApprovalsRespondOutput = Objects_101;
5124
+ export type ApprovalsRespondOutput = Objects_108;
4953
5125
  export type ThreadsTurnIntentsRunInput = {
4954
5126
  readonly "requestId"?: string;
4955
5127
  readonly "threadId": string;
@@ -4957,7 +5129,7 @@ export type ThreadsTurnIntentsRunInput = {
4957
5129
  readonly "mode": "steer" | "interrupt";
4958
5130
  readonly "expectedTurnId"?: string | null;
4959
5131
  };
4960
- export type ThreadsTurnIntentsRunOutput = Objects_101;
5132
+ export type ThreadsTurnIntentsRunOutput = Objects_108;
4961
5133
  export type ThreadsTurnIntentsCancelInput = {
4962
5134
  readonly "requestId"?: string;
4963
5135
  readonly "threadId": string;
@@ -4965,12 +5137,12 @@ export type ThreadsTurnIntentsCancelInput = {
4965
5137
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
4966
5138
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
4967
5139
  };
4968
- export type ThreadsTurnIntentsCancelOutput = Objects_101;
5140
+ export type ThreadsTurnIntentsCancelOutput = Objects_108;
4969
5141
  export type ThreadsTurnQueueResumeInput = {
4970
5142
  readonly "requestId"?: string;
4971
5143
  readonly "threadId": string;
4972
5144
  };
4973
- export type ThreadsTurnQueueResumeOutput = Objects_101;
5145
+ export type ThreadsTurnQueueResumeOutput = Objects_108;
4974
5146
  export type ProjectsUpdateInput = {
4975
5147
  readonly "requestId"?: string;
4976
5148
  readonly "projectId": string;
@@ -4978,7 +5150,7 @@ export type ProjectsUpdateInput = {
4978
5150
  readonly "workspaceRoot"?: string;
4979
5151
  readonly "defaultModelSelection"?: Objects_49 | null;
4980
5152
  readonly "defaultThreadEnvMode"?: "local" | "worktree" | null;
4981
- readonly "projectIcon"?: Union_47 | null;
5153
+ readonly "projectIcon"?: Union_51 | null;
4982
5154
  readonly "faviconPath"?: string | null;
4983
5155
  readonly "scripts"?: ReadonlyArray<{
4984
5156
  readonly "id": string;
@@ -4990,35 +5162,35 @@ export type ProjectsUpdateInput = {
4990
5162
  readonly "autoOpenPreview"?: boolean;
4991
5163
  }>;
4992
5164
  };
4993
- export type ProjectsUpdateOutput = Objects_101;
5165
+ export type ProjectsUpdateOutput = Objects_108;
4994
5166
  export type ProjectsArchiveInput = {
4995
5167
  readonly "requestId"?: string;
4996
5168
  readonly "projectId": string;
4997
5169
  };
4998
- export type ProjectsArchiveOutput = Objects_101;
5170
+ export type ProjectsArchiveOutput = Objects_108;
4999
5171
  export type ProjectsUnarchiveInput = {
5000
5172
  readonly "requestId"?: string;
5001
5173
  readonly "projectId": string;
5002
5174
  };
5003
- export type ProjectsUnarchiveOutput = Objects_101;
5175
+ export type ProjectsUnarchiveOutput = Objects_108;
5004
5176
  export type ProjectsDeleteInput = {
5005
5177
  readonly "requestId"?: string;
5006
5178
  readonly "projectId": string;
5007
5179
  readonly "force"?: boolean;
5008
5180
  };
5009
- export type ProjectsDeleteOutput = Objects_101;
5181
+ export type ProjectsDeleteOutput = Objects_108;
5010
5182
  export type ProjectsReorderInput = {
5011
5183
  readonly "requestId"?: string;
5012
5184
  readonly "projectId": string;
5013
5185
  readonly "orderKey": string;
5014
5186
  };
5015
- export type ProjectsReorderOutput = Objects_101;
5187
+ export type ProjectsReorderOutput = Objects_108;
5016
5188
  export type ProjectsFoldersDetachInput = {
5017
5189
  readonly "requestId"?: string;
5018
5190
  readonly "projectId": string;
5019
5191
  readonly "folderId": string;
5020
5192
  };
5021
- export type ProjectsFoldersDetachOutput = Objects_101;
5193
+ export type ProjectsFoldersDetachOutput = Objects_108;
5022
5194
  export type ProjectsToolkitsSetInput = {
5023
5195
  readonly "projectId": string;
5024
5196
  readonly "toolkit": "board" | "memory" | "messages";
@@ -5064,10 +5236,10 @@ export type ProjectsCloneStartOutput = {
5064
5236
  readonly "projectId": string;
5065
5237
  readonly "folderId": string;
5066
5238
  };
5067
- export type ProjectsCloneRetryInput = Objects_112;
5068
- export type ProjectsCloneRetryOutput = Objects_113;
5069
- export type ProjectsCloneCancelInput = Objects_112;
5070
- export type ProjectsCloneCancelOutput = Objects_113;
5239
+ export type ProjectsCloneRetryInput = Objects_119;
5240
+ export type ProjectsCloneRetryOutput = Objects_120;
5241
+ export type ProjectsCloneCancelInput = Objects_119;
5242
+ export type ProjectsCloneCancelOutput = Objects_120;
5071
5243
  export type ProjectsCreateInput = {
5072
5244
  readonly "requestId"?: string;
5073
5245
  readonly "projectId": string;
@@ -5077,13 +5249,13 @@ export type ProjectsCreateInput = {
5077
5249
  readonly "defaultModelSelection"?: Objects_49 | null;
5078
5250
  readonly "homeEnvironmentId"?: string;
5079
5251
  };
5080
- export type ProjectsCreateOutput = Objects_101;
5252
+ export type ProjectsCreateOutput = Objects_108;
5081
5253
  export type ProjectsFoldersAttachInput = {
5082
5254
  readonly "requestId"?: string;
5083
5255
  readonly "projectId": string;
5084
5256
  readonly "path": string;
5085
5257
  };
5086
- export type ProjectsFoldersAttachOutput = Objects_101;
5258
+ export type ProjectsFoldersAttachOutput = Objects_108;
5087
5259
  export type CommunicationPeopleCurrentInput = {};
5088
5260
  export type CommunicationPeopleCurrentOutput = {
5089
5261
  readonly "person": Union_29 | null;
@@ -5097,10 +5269,10 @@ export type ThreadsListEncodedOutput = {
5097
5269
  readonly "updatedAt": string;
5098
5270
  readonly "archivedAt": string | null;
5099
5271
  readonly "parentThreadId": string | null;
5100
- readonly "forkedFrom": Objects_114 | null;
5272
+ readonly "forkedFrom": Objects_121 | null;
5101
5273
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5102
5274
  readonly "interactionMode": "default" | "plan";
5103
- readonly "modelSelection": Objects_115;
5275
+ readonly "modelSelection": Objects_122;
5104
5276
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
5105
5277
  readonly "sessionFailureCategory"?: string;
5106
5278
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -5108,16 +5280,16 @@ export type ThreadsListEncodedOutput = {
5108
5280
  readonly "worktreePath"?: string | null;
5109
5281
  readonly "delegationDepth"?: number;
5110
5282
  readonly "summary"?: {
5111
- readonly "executionSelection"?: Union_48;
5283
+ readonly "executionSelection"?: Union_52;
5112
5284
  readonly "nativeModeId"?: string | null | undefined;
5113
5285
  readonly "branch": string | null;
5114
5286
  readonly "startFolderId"?: string | null | undefined;
5115
- readonly "folderIds"?: Union_49;
5116
- readonly "linkedPullRequest"?: Union_50;
5117
- readonly "origin"?: Union_51;
5287
+ readonly "folderIds"?: Union_53;
5288
+ readonly "linkedPullRequest"?: Union_54;
5289
+ readonly "origin"?: Union_55;
5118
5290
  readonly "presetId"?: string | null | undefined;
5119
- readonly "createdBy"?: Union_52;
5120
- readonly "latestTurn": Union_53;
5291
+ readonly "createdBy"?: Union_56;
5292
+ readonly "latestTurn": Union_57;
5121
5293
  readonly "stopRequestedAt"?: string | null;
5122
5294
  readonly "settledOverride"?: "settled" | "active" | null | undefined;
5123
5295
  readonly "settledAt"?: string | null | undefined;
@@ -5127,9 +5299,9 @@ export type ThreadsListEncodedOutput = {
5127
5299
  readonly "pinnedAt"?: string | null | undefined;
5128
5300
  readonly "pinOrderKey"?: string | null | undefined;
5129
5301
  readonly "sortOrderKey"?: string | null | undefined;
5130
- readonly "titleRegeneration"?: Union_55;
5131
- readonly "titleState"?: Union_56;
5132
- readonly "session": Union_57;
5302
+ readonly "titleRegeneration"?: Union_59;
5303
+ readonly "titleState"?: Union_60;
5304
+ readonly "session": Union_61;
5133
5305
  readonly "latestUserMessageAt": string | null;
5134
5306
  readonly "userTurnCount"?: number | undefined;
5135
5307
  readonly "queuedMessageCount"?: number | undefined;
@@ -5141,12 +5313,12 @@ export type ThreadsListEncodedOutput = {
5141
5313
  readonly "latestDeliveryAt"?: string | null | undefined;
5142
5314
  readonly "hasPendingApprovals": boolean;
5143
5315
  readonly "hasPendingUserInput": boolean;
5144
- readonly "askRoute"?: Union_58;
5316
+ readonly "askRoute"?: Union_62;
5145
5317
  readonly "hasActionableProposedPlan": boolean;
5146
5318
  };
5147
5319
  readonly "runtime"?: {
5148
5320
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
5149
- readonly "planProgress"?: Union_59;
5321
+ readonly "planProgress"?: Union_63;
5150
5322
  };
5151
5323
  }>;
5152
5324
  readonly "nextCursor": string | null;
@@ -5155,8 +5327,8 @@ export type ThreadsListEncodedOutput = {
5155
5327
  };
5156
5328
  export type ThreadsArchivedListEncodedOutput = {
5157
5329
  readonly "snapshotSequence": number;
5158
- readonly "projects": ReadonlyArray<Objects_123>;
5159
- readonly "threads": ReadonlyArray<Objects_124>;
5330
+ readonly "projects": ReadonlyArray<Objects_130>;
5331
+ readonly "threads": ReadonlyArray<Objects_131>;
5160
5332
  readonly "updatedAt": string;
5161
5333
  };
5162
5334
  export type ThreadsHistoryEncodedOutput = {
@@ -5166,7 +5338,7 @@ export type ThreadsHistoryEncodedOutput = {
5166
5338
  readonly "id": string;
5167
5339
  readonly "projectId": string;
5168
5340
  readonly "title": string;
5169
- readonly "modelSelection": Objects_115;
5341
+ readonly "modelSelection": Objects_122;
5170
5342
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5171
5343
  readonly "interactionMode"?: "default" | "plan" | undefined;
5172
5344
  readonly "nativeModeId"?: string | null | undefined;
@@ -5174,12 +5346,12 @@ export type ThreadsHistoryEncodedOutput = {
5174
5346
  readonly "worktreePath": string | null;
5175
5347
  readonly "startFolderId"?: string | null | undefined;
5176
5348
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
5177
- readonly "linkedPullRequest"?: Objects_106 | null | undefined;
5178
- readonly "origin"?: Objects_116 | null | undefined;
5179
- readonly "forkedFrom"?: Objects_114 | null | undefined;
5349
+ readonly "linkedPullRequest"?: Objects_113 | null | undefined;
5350
+ readonly "origin"?: Objects_123 | null | undefined;
5351
+ readonly "forkedFrom"?: Objects_121 | null | undefined;
5180
5352
  readonly "presetId"?: string | null | undefined;
5181
- readonly "createdBy"?: Objects_117 | null | undefined;
5182
- readonly "latestTurn": Objects_118 | null;
5353
+ readonly "createdBy"?: Objects_124 | null | undefined;
5354
+ readonly "latestTurn": Objects_125 | null;
5183
5355
  readonly "stopRequestedAt"?: string | null;
5184
5356
  readonly "createdAt": string;
5185
5357
  readonly "updatedAt": string;
@@ -5193,7 +5365,7 @@ export type ThreadsHistoryEncodedOutput = {
5193
5365
  readonly "pinOrderKey"?: string | null | undefined;
5194
5366
  readonly "sortOrderKey"?: string | null | undefined;
5195
5367
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
5196
- readonly "executionSelection"?: Objects_105 | undefined;
5368
+ readonly "executionSelection"?: Objects_112 | undefined;
5197
5369
  readonly "turnIntents"?: ReadonlyArray<{
5198
5370
  readonly "intentId": string;
5199
5371
  readonly "threadId": string;
@@ -5201,7 +5373,7 @@ export type ThreadsHistoryEncodedOutput = {
5201
5373
  readonly "commandId": string;
5202
5374
  readonly "messageId": string;
5203
5375
  readonly "revision"?: number;
5204
- readonly "action"?: Union_60;
5376
+ readonly "action"?: Union_64;
5205
5377
  readonly "executionSelection"?: {
5206
5378
  readonly "environmentId": string;
5207
5379
  readonly "runtimeId": string;
@@ -5224,7 +5396,7 @@ export type ThreadsHistoryEncodedOutput = {
5224
5396
  readonly "binding"?: {
5225
5397
  readonly "bindingId": string;
5226
5398
  readonly "generation": number;
5227
- readonly "selection": Objects_105;
5399
+ readonly "selection": Objects_112;
5228
5400
  readonly "compatibility": {
5229
5401
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
5230
5402
  readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid";
@@ -5263,7 +5435,7 @@ export type ThreadsHistoryEncodedOutput = {
5263
5435
  readonly "workerEpoch": number;
5264
5436
  readonly "sourceBindingId": string | null;
5265
5437
  readonly "targetBindingId": string | null;
5266
- readonly "nativeLocator": Union_61;
5438
+ readonly "nativeLocator": Union_65;
5267
5439
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
5268
5440
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
5269
5441
  readonly "createdAt": string;
@@ -5307,20 +5479,20 @@ export type ThreadsHistoryEncodedOutput = {
5307
5479
  readonly "turnQueuePaused"?: boolean | undefined;
5308
5480
  readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined;
5309
5481
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
5310
- readonly "titleRegeneration"?: Objects_120 | null | undefined;
5311
- readonly "titleState"?: Objects_121 | null | undefined;
5482
+ readonly "titleRegeneration"?: Objects_127 | null | undefined;
5483
+ readonly "titleState"?: Objects_128 | null | undefined;
5312
5484
  readonly "deletedAt": string | null;
5313
5485
  readonly "messages": ReadonlyArray<{
5314
5486
  readonly "id": string;
5315
5487
  readonly "role": "user" | "assistant" | "system";
5316
5488
  readonly "text": string;
5317
- readonly "attachments"?: ReadonlyArray<Union_62> | undefined;
5489
+ readonly "attachments"?: ReadonlyArray<Union_66> | undefined;
5318
5490
  readonly "turnId": string | null;
5319
5491
  readonly "streaming": boolean;
5320
- readonly "author"?: Union_63;
5492
+ readonly "author"?: Union_67;
5321
5493
  readonly "recordId"?: string | undefined;
5322
- readonly "modelSelection"?: Union_64;
5323
- readonly "source"?: Union_65;
5494
+ readonly "modelSelection"?: Union_68;
5495
+ readonly "source"?: Union_69;
5324
5496
  readonly "createdAt": string;
5325
5497
  readonly "updatedAt": string;
5326
5498
  }>;
@@ -5363,15 +5535,15 @@ export type ThreadsHistoryEncodedOutput = {
5363
5535
  readonly "state": "running" | "interrupted" | "completed" | "error";
5364
5536
  readonly "startedAt": string | null;
5365
5537
  readonly "completedAt": string | null;
5366
- readonly "waitSpans"?: ReadonlyArray<Objects_119>;
5538
+ readonly "waitSpans"?: ReadonlyArray<Objects_126>;
5367
5539
  readonly "runSegments"?: Arrays_4;
5368
5540
  readonly "modelSummary"?: {
5369
5541
  readonly "text": string;
5370
- readonly "modelSelection": Objects_115;
5542
+ readonly "modelSelection": Objects_122;
5371
5543
  readonly "generatedAt": string;
5372
5544
  };
5373
5545
  }> | undefined;
5374
- readonly "session": Objects_122 | null;
5546
+ readonly "session": Objects_129 | null;
5375
5547
  };
5376
5548
  readonly "page"?: {
5377
5549
  readonly "beforeCursor": string | null;
@@ -5395,7 +5567,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5395
5567
  readonly "threadId": string;
5396
5568
  readonly "projectId": string;
5397
5569
  readonly "title": string;
5398
- readonly "modelSelection": Objects_115;
5570
+ readonly "modelSelection": Objects_122;
5399
5571
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5400
5572
  readonly "interactionMode"?: "default" | "plan" | undefined;
5401
5573
  readonly "branch": string | null;
@@ -5403,7 +5575,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5403
5575
  readonly "createdAt": string;
5404
5576
  readonly "updatedAt": string;
5405
5577
  readonly "archivedAt"?: string | null | undefined;
5406
- readonly "origin": Objects_116 | null;
5578
+ readonly "origin": Objects_123 | null;
5407
5579
  readonly "forkedFrom": {
5408
5580
  readonly "sourceThreadId": string;
5409
5581
  readonly "sourceMessageId": string;
@@ -5425,7 +5597,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5425
5597
  readonly "completedAt": string | null;
5426
5598
  readonly "assistantMessageId": string | null;
5427
5599
  readonly "userMessageId"?: string | undefined;
5428
- readonly "waitSpans"?: Union_54;
5600
+ readonly "waitSpans"?: Union_58;
5429
5601
  readonly "runSegments"?: Union_8;
5430
5602
  } | null;
5431
5603
  readonly "turnIntents": ReadonlyArray<{
@@ -5434,7 +5606,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5434
5606
  readonly "sequence": number;
5435
5607
  readonly "commandId": string;
5436
5608
  readonly "messageId": string;
5437
- readonly "action"?: Union_60;
5609
+ readonly "action"?: Union_64;
5438
5610
  readonly "deliveredTurnId"?: string | null;
5439
5611
  readonly "createdAt": string;
5440
5612
  readonly "updatedAt": string;
@@ -5446,7 +5618,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5446
5618
  readonly "requestedAt": string;
5447
5619
  readonly "startedAt": string | null;
5448
5620
  readonly "completedAt": string | null;
5449
- readonly "waitSpans": ReadonlyArray<Objects_119>;
5621
+ readonly "waitSpans": ReadonlyArray<Objects_126>;
5450
5622
  } | null;
5451
5623
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5452
5624
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -5455,7 +5627,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5455
5627
  readonly "workerEpoch": number;
5456
5628
  readonly "sourceBindingId": string | null;
5457
5629
  readonly "targetBindingId": string | null;
5458
- readonly "nativeLocator": Union_61;
5630
+ readonly "nativeLocator": Union_65;
5459
5631
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
5460
5632
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
5461
5633
  readonly "createdAt": string;
@@ -5478,11 +5650,11 @@ export type ThreadsMessagesGetEncodedOutput = {
5478
5650
  readonly "text": string;
5479
5651
  readonly "turnId": string | null;
5480
5652
  readonly "createdAt": string;
5481
- readonly "modelSelection"?: Objects_115 | undefined;
5482
- readonly "source"?: Objects_127 | undefined;
5483
- readonly "attachments": ReadonlyArray<Union_62>;
5653
+ readonly "modelSelection"?: Objects_122 | undefined;
5654
+ readonly "source"?: Objects_134 | undefined;
5655
+ readonly "attachments": ReadonlyArray<Union_66>;
5484
5656
  } | null;
5485
- export type ThreadsGetEncodedOutput = Objects_124;
5657
+ export type ThreadsGetEncodedOutput = Objects_131;
5486
5658
  export type ThreadsMessagesListEncodedOutput = {
5487
5659
  readonly "items": ReadonlyArray<{
5488
5660
  readonly "id": string;
@@ -5503,10 +5675,10 @@ export type ThreadsMessagesListEncodedOutput = {
5503
5675
  }> | undefined;
5504
5676
  readonly "turnId": string | null;
5505
5677
  readonly "streaming": boolean;
5506
- readonly "author"?: Union_63;
5678
+ readonly "author"?: Union_67;
5507
5679
  readonly "recordId"?: string | undefined;
5508
- readonly "modelSelection"?: Union_64;
5509
- readonly "source"?: Union_65;
5680
+ readonly "modelSelection"?: Union_68;
5681
+ readonly "source"?: Union_69;
5510
5682
  readonly "createdAt": string;
5511
5683
  readonly "updatedAt": string;
5512
5684
  readonly "attachmentsTotal"?: number;
@@ -5516,8 +5688,8 @@ export type ThreadsMessagesListEncodedOutput = {
5516
5688
  readonly "snapshotSequence": number;
5517
5689
  readonly "total"?: number;
5518
5690
  };
5519
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_123>;
5520
- export type ProjectsGetEncodedOutput = Objects_123;
5691
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_130>;
5692
+ export type ProjectsGetEncodedOutput = Objects_130;
5521
5693
  export type MachineSettingsEditorsGetEncodedOutput = {
5522
5694
  readonly "availableEditors": ReadonlyArray<unknown>;
5523
5695
  readonly "editorDiscovery"?: unknown;
@@ -5537,7 +5709,7 @@ export type MachineSettingsGetEncodedOutput = {
5537
5709
  readonly "enableProviderUpdateChecks"?: boolean | undefined;
5538
5710
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
5539
5711
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
5540
- readonly "agentRouting"?: Objects_128 | undefined;
5712
+ readonly "agentRouting"?: Objects_135 | undefined;
5541
5713
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
5542
5714
  readonly "recordProviderWire"?: boolean | undefined;
5543
5715
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -5550,19 +5722,19 @@ export type MachineSettingsGetEncodedOutput = {
5550
5722
  readonly "newWorktreesStartFromOrigin"?: boolean | undefined;
5551
5723
  readonly "addProjectBaseDirectory"?: string | undefined;
5552
5724
  readonly "autoTurnSummaries"?: boolean | undefined;
5553
- readonly "textGenerationModelSelection"?: Objects_115 | null | undefined;
5725
+ readonly "textGenerationModelSelection"?: Objects_122 | null | undefined;
5554
5726
  readonly "sourceControlWritingStyle"?: {
5555
5727
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
5556
5728
  readonly "customInstructions"?: string | undefined;
5557
5729
  readonly "followChangeRequestTemplates"?: boolean | undefined;
5558
5730
  } | undefined;
5559
- readonly "sourceControlWriterModelSelection"?: Objects_115 | null | undefined;
5731
+ readonly "sourceControlWriterModelSelection"?: Objects_122 | null | undefined;
5560
5732
  readonly "defaultProxyId"?: string | null | undefined;
5561
5733
  readonly "wallpaper"?: {
5562
- readonly "base": Objects_129;
5563
- readonly "sidebar": Objects_129 | null;
5564
- readonly "workspace": Objects_129 | null;
5565
- readonly "chat": Objects_129 | null;
5734
+ readonly "base": Objects_136;
5735
+ readonly "sidebar": Objects_136 | null;
5736
+ readonly "workspace": Objects_136 | null;
5737
+ readonly "chat": Objects_136 | null;
5566
5738
  } | undefined;
5567
5739
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
5568
5740
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -5590,7 +5762,7 @@ export type MachineSettingsGetEncodedOutput = {
5590
5762
  readonly "name": string;
5591
5763
  readonly "transport": Union_31;
5592
5764
  readonly "enabled"?: boolean | undefined;
5593
- readonly "providers"?: Union_66;
5765
+ readonly "providers"?: Union_70;
5594
5766
  readonly "catalogId"?: string | undefined;
5595
5767
  readonly "oauth"?: Union_32;
5596
5768
  };
@@ -5598,10 +5770,10 @@ export type MachineSettingsGetEncodedOutput = {
5598
5770
  readonly "skills": {
5599
5771
  readonly [x: string]: {
5600
5772
  readonly "name": string;
5601
- readonly "source": Objects_43 | Objects_55 | Objects_56;
5773
+ readonly "source": Objects_43 | Objects_56 | Objects_57;
5602
5774
  readonly "modelInvocable"?: boolean | undefined;
5603
5775
  readonly "userInvocable"?: boolean | undefined;
5604
- readonly "providers"?: Union_67;
5776
+ readonly "providers"?: Union_71;
5605
5777
  };
5606
5778
  };
5607
5779
  };
@@ -5691,7 +5863,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5691
5863
  };
5692
5864
  readonly "runtimeMaintenanceRoot"?: string;
5693
5865
  };
5694
- export type ProvidersRoutingGetEncodedOutput = Objects_128;
5866
+ export type ProvidersRoutingGetEncodedOutput = Objects_135;
5695
5867
  export type ProvidersSelectionResolveEncodedOutput = {
5696
5868
  readonly "modelSelection": Objects_49;
5697
5869
  };
@@ -5726,7 +5898,7 @@ export type PluginsProjectConfigGetEncodedOutput = {
5726
5898
  readonly "headerNames": Arrays_13;
5727
5899
  };
5728
5900
  readonly "enabled"?: boolean | undefined;
5729
- readonly "providers"?: Union_66;
5901
+ readonly "providers"?: Union_70;
5730
5902
  readonly "catalogId"?: string | undefined;
5731
5903
  readonly "oauth"?: Union_32;
5732
5904
  };
@@ -5737,7 +5909,7 @@ export type PluginsProjectConfigGetEncodedOutput = {
5737
5909
  readonly "source": Union_35;
5738
5910
  readonly "modelInvocable"?: boolean | undefined;
5739
5911
  readonly "userInvocable"?: boolean | undefined;
5740
- readonly "providers"?: Union_67;
5912
+ readonly "providers"?: Union_71;
5741
5913
  };
5742
5914
  };
5743
5915
  };
@@ -5774,10 +5946,10 @@ export type PluginsInstalledListEncodedOutput = {
5774
5946
  readonly "threadId": string | null;
5775
5947
  readonly "runtimeStats"?: Union_38;
5776
5948
  readonly "removable"?: boolean | undefined;
5777
- readonly "permissions"?: ReadonlyArray<Objects_57 | {
5949
+ readonly "permissions"?: ReadonlyArray<Objects_58 | {
5778
5950
  readonly "kind": "fs.read";
5779
5951
  readonly "paths": ReadonlyArray<string>;
5780
- } | Objects_58 | Objects_59 | Objects_60 | Objects_61 | {
5952
+ } | Objects_59 | Objects_60 | Objects_61 | Objects_62 | Objects_63 | {
5781
5953
  readonly "kind": "process.spawn";
5782
5954
  readonly "programs": ReadonlyArray<string | {
5783
5955
  readonly "key": string;
@@ -5785,7 +5957,7 @@ export type PluginsInstalledListEncodedOutput = {
5785
5957
  readonly "displayName"?: string | undefined;
5786
5958
  }>;
5787
5959
  readonly "maxConcurrent"?: number;
5788
- } | Objects_62 | Objects_63 | {
5960
+ } | Objects_64 | Objects_65 | {
5789
5961
  readonly "kind": "network.serve";
5790
5962
  readonly "services": ReadonlyArray<{
5791
5963
  readonly "name": string;
@@ -5795,7 +5967,7 @@ export type PluginsInstalledListEncodedOutput = {
5795
5967
  readonly "websocket"?: boolean;
5796
5968
  }>;
5797
5969
  }>;
5798
- } | Objects_64 | Objects_65 | Objects_66 | Objects_67 | Objects_68 | Objects_69 | Objects_70 | Objects_71 | {
5970
+ } | Objects_66 | Objects_67 | Objects_68 | Objects_69 | Objects_70 | Objects_71 | Objects_72 | Objects_73 | {
5799
5971
  readonly "kind": "ui.seats";
5800
5972
  readonly "seats": ReadonlyArray<string>;
5801
5973
  } | {
@@ -5875,9 +6047,52 @@ export type ThreadsArtifactsListEncodedOutput = {
5875
6047
  readonly "turnId": string | null;
5876
6048
  readonly "messageId": string;
5877
6049
  readonly "deliveredAt": string;
5878
- readonly "modelSelection"?: Objects_115;
6050
+ readonly "modelSelection"?: Objects_122;
6051
+ }>;
6052
+ readonly "nextCursor": string | null;
6053
+ };
6054
+ export type MembersListEncodedOutput = {
6055
+ readonly "items": ReadonlyArray<{
6056
+ readonly "memberId": string;
6057
+ readonly "projectId": string;
6058
+ readonly "kind": "human" | "agent";
6059
+ readonly "name": string;
6060
+ readonly "title": string;
6061
+ readonly "responsibility": string;
6062
+ readonly "avatar": Union_72;
6063
+ readonly "identity": Union_73;
6064
+ readonly "agent": Union_74;
6065
+ readonly "workInstructionsRevision": number | null;
6066
+ readonly "version": number;
6067
+ readonly "createdBy": Union_75;
6068
+ readonly "createdAt": string;
6069
+ readonly "updatedAt": string;
6070
+ readonly "removedAt": string | null;
5879
6071
  }>;
5880
6072
  readonly "nextCursor": string | null;
6073
+ readonly "snapshotSequence": number;
6074
+ };
6075
+ export type MembersGetEncodedOutput = {
6076
+ readonly "member": {
6077
+ readonly "memberId": string;
6078
+ readonly "projectId": string;
6079
+ readonly "kind": "human" | "agent";
6080
+ readonly "name": string;
6081
+ readonly "title": string;
6082
+ readonly "responsibility": string;
6083
+ readonly "avatar": Union_72;
6084
+ readonly "identity": Union_73;
6085
+ readonly "agent": Union_74;
6086
+ readonly "workInstructionsRevision": number | null;
6087
+ readonly "version": number;
6088
+ readonly "createdBy": Union_75;
6089
+ readonly "createdAt": string;
6090
+ readonly "updatedAt": string;
6091
+ readonly "removedAt": string | null;
6092
+ readonly "workInstructions": string | null;
6093
+ readonly "workInstructionsWindow"?: Objects_28;
6094
+ };
6095
+ readonly "snapshotSequence": number;
5881
6096
  };
5882
6097
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
5883
6098
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
@@ -6227,6 +6442,14 @@ export interface PluginDataPorts {
6227
6442
  readonly list: (input: WorkHistoryListInput) => Promise<WorkHistoryListOutput>;
6228
6443
  };
6229
6444
  };
6445
+ readonly members: {
6446
+ readonly list: (input: MembersListInput) => Promise<MembersListOutput>;
6447
+ readonly get: (input: MembersGetInput) => Promise<MembersGetOutput>;
6448
+ readonly create: (input: MembersCreateInput) => Promise<MembersCreateOutput>;
6449
+ readonly update: (input: MembersUpdateInput) => Promise<MembersUpdateOutput>;
6450
+ readonly remove: (input: MembersRemoveInput) => Promise<MembersRemoveOutput>;
6451
+ readonly restore: (input: MembersRestoreInput) => Promise<MembersRestoreOutput>;
6452
+ };
6230
6453
  }
6231
6454
  /** 以人的身份写的端口(`invocation.asPerson`):只有登记表代人写白名单里的几条,形状与上面同名成员相同。 */
6232
6455
  export interface PluginAsPersonPorts {
@@ -6591,6 +6814,14 @@ export interface PluginUiDataReads {
6591
6814
  readonly input: WorkHistoryListInput;
6592
6815
  readonly output: WorkHistoryListOutput;
6593
6816
  };
6817
+ readonly "members.list": {
6818
+ readonly input: MembersListInput;
6819
+ readonly output: MembersListEncodedOutput;
6820
+ };
6821
+ readonly "members.get": {
6822
+ readonly input: MembersGetInput;
6823
+ readonly output: MembersGetEncodedOutput;
6824
+ };
6594
6825
  readonly "communication.people.current": {
6595
6826
  readonly input: CommunicationPeopleCurrentInput;
6596
6827
  readonly output: CommunicationPeopleCurrentOutput;