@linkshell/gateway 0.2.38 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gateway/src/relay.js +1 -0
- package/dist/gateway/src/relay.js.map +1 -1
- package/dist/gateway/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +1321 -196
- package/dist/shared-protocol/src/index.js +34 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +2 -2
- package/src/relay.ts +1 -0
|
@@ -614,6 +614,7 @@ export declare const terminalHistoryResponsePayloadSchema: z.ZodObject<{
|
|
|
614
614
|
export declare const agentProviderSchema: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
615
615
|
export declare const agentReasoningEffortSchema: z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>;
|
|
616
616
|
export declare const agentPermissionModeSchema: z.ZodEnum<["read_only", "workspace_write", "full_access"]>;
|
|
617
|
+
export declare const agentCollaborationModeSchema: z.ZodEnum<["default", "plan"]>;
|
|
617
618
|
export declare const agentContentBlockSchema: z.ZodObject<{
|
|
618
619
|
type: z.ZodEnum<["text", "image"]>;
|
|
619
620
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -720,6 +721,59 @@ export declare const agentModelOptionSchema: z.ZodObject<{
|
|
|
720
721
|
id: string;
|
|
721
722
|
label: string;
|
|
722
723
|
}>;
|
|
724
|
+
export declare const agentCommandDescriptorSchema: z.ZodObject<{
|
|
725
|
+
id: z.ZodString;
|
|
726
|
+
name: z.ZodString;
|
|
727
|
+
title: z.ZodString;
|
|
728
|
+
description: z.ZodOptional<z.ZodString>;
|
|
729
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
730
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
731
|
+
category: z.ZodOptional<z.ZodString>;
|
|
732
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
733
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
734
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
736
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
id: string;
|
|
739
|
+
name: string;
|
|
740
|
+
title: string;
|
|
741
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
742
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
743
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
744
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
745
|
+
description?: string | undefined;
|
|
746
|
+
category?: string | undefined;
|
|
747
|
+
requiresIdle?: boolean | undefined;
|
|
748
|
+
destructive?: boolean | undefined;
|
|
749
|
+
disabledReason?: string | undefined;
|
|
750
|
+
}, {
|
|
751
|
+
id: string;
|
|
752
|
+
name: string;
|
|
753
|
+
title: string;
|
|
754
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
755
|
+
description?: string | undefined;
|
|
756
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
757
|
+
category?: string | undefined;
|
|
758
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
759
|
+
requiresIdle?: boolean | undefined;
|
|
760
|
+
destructive?: boolean | undefined;
|
|
761
|
+
disabledReason?: string | undefined;
|
|
762
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
763
|
+
}>;
|
|
764
|
+
export declare const agentModeDescriptorSchema: z.ZodObject<{
|
|
765
|
+
id: z.ZodString;
|
|
766
|
+
title: z.ZodString;
|
|
767
|
+
description: z.ZodOptional<z.ZodString>;
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
id: string;
|
|
770
|
+
title: string;
|
|
771
|
+
description?: string | undefined;
|
|
772
|
+
}, {
|
|
773
|
+
id: string;
|
|
774
|
+
title: string;
|
|
775
|
+
description?: string | undefined;
|
|
776
|
+
}>;
|
|
723
777
|
export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
724
778
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
725
779
|
label: z.ZodString;
|
|
@@ -742,6 +796,60 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
742
796
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
743
797
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
744
798
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
799
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
800
|
+
id: z.ZodString;
|
|
801
|
+
name: z.ZodString;
|
|
802
|
+
title: z.ZodString;
|
|
803
|
+
description: z.ZodOptional<z.ZodString>;
|
|
804
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
805
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
806
|
+
category: z.ZodOptional<z.ZodString>;
|
|
807
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
808
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
809
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
810
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
811
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
id: string;
|
|
814
|
+
name: string;
|
|
815
|
+
title: string;
|
|
816
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
817
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
818
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
819
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
820
|
+
description?: string | undefined;
|
|
821
|
+
category?: string | undefined;
|
|
822
|
+
requiresIdle?: boolean | undefined;
|
|
823
|
+
destructive?: boolean | undefined;
|
|
824
|
+
disabledReason?: string | undefined;
|
|
825
|
+
}, {
|
|
826
|
+
id: string;
|
|
827
|
+
name: string;
|
|
828
|
+
title: string;
|
|
829
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
830
|
+
description?: string | undefined;
|
|
831
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
832
|
+
category?: string | undefined;
|
|
833
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
834
|
+
requiresIdle?: boolean | undefined;
|
|
835
|
+
destructive?: boolean | undefined;
|
|
836
|
+
disabledReason?: string | undefined;
|
|
837
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
838
|
+
}>, "many">>;
|
|
839
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
840
|
+
id: z.ZodString;
|
|
841
|
+
title: z.ZodString;
|
|
842
|
+
description: z.ZodOptional<z.ZodString>;
|
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
id: string;
|
|
845
|
+
title: string;
|
|
846
|
+
description?: string | undefined;
|
|
847
|
+
}, {
|
|
848
|
+
id: string;
|
|
849
|
+
title: string;
|
|
850
|
+
description?: string | undefined;
|
|
851
|
+
}>, "many">>;
|
|
852
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
745
853
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
746
854
|
}, "strip", z.ZodTypeAny, {
|
|
747
855
|
id: "claude" | "codex" | "custom";
|
|
@@ -759,6 +867,26 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
759
867
|
defaultModel?: string | undefined;
|
|
760
868
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
761
869
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
870
|
+
commands?: {
|
|
871
|
+
id: string;
|
|
872
|
+
name: string;
|
|
873
|
+
title: string;
|
|
874
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
875
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
876
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
877
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
878
|
+
description?: string | undefined;
|
|
879
|
+
category?: string | undefined;
|
|
880
|
+
requiresIdle?: boolean | undefined;
|
|
881
|
+
destructive?: boolean | undefined;
|
|
882
|
+
disabledReason?: string | undefined;
|
|
883
|
+
}[] | undefined;
|
|
884
|
+
modes?: {
|
|
885
|
+
id: string;
|
|
886
|
+
title: string;
|
|
887
|
+
description?: string | undefined;
|
|
888
|
+
}[] | undefined;
|
|
889
|
+
currentMode?: string | undefined;
|
|
762
890
|
features?: Record<string, boolean> | undefined;
|
|
763
891
|
}, {
|
|
764
892
|
id: "claude" | "codex" | "custom";
|
|
@@ -776,6 +904,26 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
776
904
|
defaultModel?: string | undefined;
|
|
777
905
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
778
906
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
907
|
+
commands?: {
|
|
908
|
+
id: string;
|
|
909
|
+
name: string;
|
|
910
|
+
title: string;
|
|
911
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
912
|
+
description?: string | undefined;
|
|
913
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
914
|
+
category?: string | undefined;
|
|
915
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
916
|
+
requiresIdle?: boolean | undefined;
|
|
917
|
+
destructive?: boolean | undefined;
|
|
918
|
+
disabledReason?: string | undefined;
|
|
919
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
920
|
+
}[] | undefined;
|
|
921
|
+
modes?: {
|
|
922
|
+
id: string;
|
|
923
|
+
title: string;
|
|
924
|
+
description?: string | undefined;
|
|
925
|
+
}[] | undefined;
|
|
926
|
+
currentMode?: string | undefined;
|
|
779
927
|
features?: Record<string, boolean> | undefined;
|
|
780
928
|
}>;
|
|
781
929
|
export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
@@ -804,6 +952,60 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
804
952
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
805
953
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
806
954
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
955
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
956
|
+
id: z.ZodString;
|
|
957
|
+
name: z.ZodString;
|
|
958
|
+
title: z.ZodString;
|
|
959
|
+
description: z.ZodOptional<z.ZodString>;
|
|
960
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
961
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
962
|
+
category: z.ZodOptional<z.ZodString>;
|
|
963
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
964
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
965
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
966
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
967
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
968
|
+
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
id: string;
|
|
970
|
+
name: string;
|
|
971
|
+
title: string;
|
|
972
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
973
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
974
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
975
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
976
|
+
description?: string | undefined;
|
|
977
|
+
category?: string | undefined;
|
|
978
|
+
requiresIdle?: boolean | undefined;
|
|
979
|
+
destructive?: boolean | undefined;
|
|
980
|
+
disabledReason?: string | undefined;
|
|
981
|
+
}, {
|
|
982
|
+
id: string;
|
|
983
|
+
name: string;
|
|
984
|
+
title: string;
|
|
985
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
986
|
+
description?: string | undefined;
|
|
987
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
988
|
+
category?: string | undefined;
|
|
989
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
990
|
+
requiresIdle?: boolean | undefined;
|
|
991
|
+
destructive?: boolean | undefined;
|
|
992
|
+
disabledReason?: string | undefined;
|
|
993
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
994
|
+
}>, "many">>;
|
|
995
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
996
|
+
id: z.ZodString;
|
|
997
|
+
title: z.ZodString;
|
|
998
|
+
description: z.ZodOptional<z.ZodString>;
|
|
999
|
+
}, "strip", z.ZodTypeAny, {
|
|
1000
|
+
id: string;
|
|
1001
|
+
title: string;
|
|
1002
|
+
description?: string | undefined;
|
|
1003
|
+
}, {
|
|
1004
|
+
id: string;
|
|
1005
|
+
title: string;
|
|
1006
|
+
description?: string | undefined;
|
|
1007
|
+
}>, "many">>;
|
|
1008
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
807
1009
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
808
1010
|
}, "strip", z.ZodTypeAny, {
|
|
809
1011
|
id: "claude" | "codex" | "custom";
|
|
@@ -821,6 +1023,26 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
821
1023
|
defaultModel?: string | undefined;
|
|
822
1024
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
823
1025
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1026
|
+
commands?: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
title: string;
|
|
1030
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1031
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1032
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1033
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1034
|
+
description?: string | undefined;
|
|
1035
|
+
category?: string | undefined;
|
|
1036
|
+
requiresIdle?: boolean | undefined;
|
|
1037
|
+
destructive?: boolean | undefined;
|
|
1038
|
+
disabledReason?: string | undefined;
|
|
1039
|
+
}[] | undefined;
|
|
1040
|
+
modes?: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
title: string;
|
|
1043
|
+
description?: string | undefined;
|
|
1044
|
+
}[] | undefined;
|
|
1045
|
+
currentMode?: string | undefined;
|
|
824
1046
|
features?: Record<string, boolean> | undefined;
|
|
825
1047
|
}, {
|
|
826
1048
|
id: "claude" | "codex" | "custom";
|
|
@@ -838,6 +1060,26 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
838
1060
|
defaultModel?: string | undefined;
|
|
839
1061
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
840
1062
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1063
|
+
commands?: {
|
|
1064
|
+
id: string;
|
|
1065
|
+
name: string;
|
|
1066
|
+
title: string;
|
|
1067
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1068
|
+
description?: string | undefined;
|
|
1069
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1070
|
+
category?: string | undefined;
|
|
1071
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1072
|
+
requiresIdle?: boolean | undefined;
|
|
1073
|
+
destructive?: boolean | undefined;
|
|
1074
|
+
disabledReason?: string | undefined;
|
|
1075
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1076
|
+
}[] | undefined;
|
|
1077
|
+
modes?: {
|
|
1078
|
+
id: string;
|
|
1079
|
+
title: string;
|
|
1080
|
+
description?: string | undefined;
|
|
1081
|
+
}[] | undefined;
|
|
1082
|
+
currentMode?: string | undefined;
|
|
841
1083
|
features?: Record<string, boolean> | undefined;
|
|
842
1084
|
}>, "many">>;
|
|
843
1085
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -878,6 +1120,26 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
878
1120
|
defaultModel?: string | undefined;
|
|
879
1121
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
880
1122
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1123
|
+
commands?: {
|
|
1124
|
+
id: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
title: string;
|
|
1127
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1128
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1129
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1130
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1131
|
+
description?: string | undefined;
|
|
1132
|
+
category?: string | undefined;
|
|
1133
|
+
requiresIdle?: boolean | undefined;
|
|
1134
|
+
destructive?: boolean | undefined;
|
|
1135
|
+
disabledReason?: string | undefined;
|
|
1136
|
+
}[] | undefined;
|
|
1137
|
+
modes?: {
|
|
1138
|
+
id: string;
|
|
1139
|
+
title: string;
|
|
1140
|
+
description?: string | undefined;
|
|
1141
|
+
}[] | undefined;
|
|
1142
|
+
currentMode?: string | undefined;
|
|
881
1143
|
features?: Record<string, boolean> | undefined;
|
|
882
1144
|
}[] | undefined;
|
|
883
1145
|
}, {
|
|
@@ -906,6 +1168,26 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
906
1168
|
defaultModel?: string | undefined;
|
|
907
1169
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
908
1170
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1171
|
+
commands?: {
|
|
1172
|
+
id: string;
|
|
1173
|
+
name: string;
|
|
1174
|
+
title: string;
|
|
1175
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1176
|
+
description?: string | undefined;
|
|
1177
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1178
|
+
category?: string | undefined;
|
|
1179
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1180
|
+
requiresIdle?: boolean | undefined;
|
|
1181
|
+
destructive?: boolean | undefined;
|
|
1182
|
+
disabledReason?: string | undefined;
|
|
1183
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1184
|
+
}[] | undefined;
|
|
1185
|
+
modes?: {
|
|
1186
|
+
id: string;
|
|
1187
|
+
title: string;
|
|
1188
|
+
description?: string | undefined;
|
|
1189
|
+
}[] | undefined;
|
|
1190
|
+
currentMode?: string | undefined;
|
|
909
1191
|
features?: Record<string, boolean> | undefined;
|
|
910
1192
|
}[] | undefined;
|
|
911
1193
|
supportsSessionList?: boolean | undefined;
|
|
@@ -1191,6 +1473,60 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1191
1473
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
1192
1474
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
1193
1475
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
1476
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1477
|
+
id: z.ZodString;
|
|
1478
|
+
name: z.ZodString;
|
|
1479
|
+
title: z.ZodString;
|
|
1480
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
1482
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
1483
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
1485
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
1486
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
1487
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
id: string;
|
|
1491
|
+
name: string;
|
|
1492
|
+
title: string;
|
|
1493
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1494
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1495
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1496
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1497
|
+
description?: string | undefined;
|
|
1498
|
+
category?: string | undefined;
|
|
1499
|
+
requiresIdle?: boolean | undefined;
|
|
1500
|
+
destructive?: boolean | undefined;
|
|
1501
|
+
disabledReason?: string | undefined;
|
|
1502
|
+
}, {
|
|
1503
|
+
id: string;
|
|
1504
|
+
name: string;
|
|
1505
|
+
title: string;
|
|
1506
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1507
|
+
description?: string | undefined;
|
|
1508
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1509
|
+
category?: string | undefined;
|
|
1510
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1511
|
+
requiresIdle?: boolean | undefined;
|
|
1512
|
+
destructive?: boolean | undefined;
|
|
1513
|
+
disabledReason?: string | undefined;
|
|
1514
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1515
|
+
}>, "many">>;
|
|
1516
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1517
|
+
id: z.ZodString;
|
|
1518
|
+
title: z.ZodString;
|
|
1519
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
|
+
id: string;
|
|
1522
|
+
title: string;
|
|
1523
|
+
description?: string | undefined;
|
|
1524
|
+
}, {
|
|
1525
|
+
id: string;
|
|
1526
|
+
title: string;
|
|
1527
|
+
description?: string | undefined;
|
|
1528
|
+
}>, "many">>;
|
|
1529
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
1194
1530
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1195
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1196
1532
|
id: "claude" | "codex" | "custom";
|
|
@@ -1208,6 +1544,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1208
1544
|
defaultModel?: string | undefined;
|
|
1209
1545
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1210
1546
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1547
|
+
commands?: {
|
|
1548
|
+
id: string;
|
|
1549
|
+
name: string;
|
|
1550
|
+
title: string;
|
|
1551
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1552
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1553
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1554
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1555
|
+
description?: string | undefined;
|
|
1556
|
+
category?: string | undefined;
|
|
1557
|
+
requiresIdle?: boolean | undefined;
|
|
1558
|
+
destructive?: boolean | undefined;
|
|
1559
|
+
disabledReason?: string | undefined;
|
|
1560
|
+
}[] | undefined;
|
|
1561
|
+
modes?: {
|
|
1562
|
+
id: string;
|
|
1563
|
+
title: string;
|
|
1564
|
+
description?: string | undefined;
|
|
1565
|
+
}[] | undefined;
|
|
1566
|
+
currentMode?: string | undefined;
|
|
1211
1567
|
features?: Record<string, boolean> | undefined;
|
|
1212
1568
|
}, {
|
|
1213
1569
|
id: "claude" | "codex" | "custom";
|
|
@@ -1225,6 +1581,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1225
1581
|
defaultModel?: string | undefined;
|
|
1226
1582
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1227
1583
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1584
|
+
commands?: {
|
|
1585
|
+
id: string;
|
|
1586
|
+
name: string;
|
|
1587
|
+
title: string;
|
|
1588
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1589
|
+
description?: string | undefined;
|
|
1590
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1591
|
+
category?: string | undefined;
|
|
1592
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1593
|
+
requiresIdle?: boolean | undefined;
|
|
1594
|
+
destructive?: boolean | undefined;
|
|
1595
|
+
disabledReason?: string | undefined;
|
|
1596
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1597
|
+
}[] | undefined;
|
|
1598
|
+
modes?: {
|
|
1599
|
+
id: string;
|
|
1600
|
+
title: string;
|
|
1601
|
+
description?: string | undefined;
|
|
1602
|
+
}[] | undefined;
|
|
1603
|
+
currentMode?: string | undefined;
|
|
1228
1604
|
features?: Record<string, boolean> | undefined;
|
|
1229
1605
|
}>, "many">>;
|
|
1230
1606
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1265,6 +1641,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1265
1641
|
defaultModel?: string | undefined;
|
|
1266
1642
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1267
1643
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1644
|
+
commands?: {
|
|
1645
|
+
id: string;
|
|
1646
|
+
name: string;
|
|
1647
|
+
title: string;
|
|
1648
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1649
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1650
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1651
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1652
|
+
description?: string | undefined;
|
|
1653
|
+
category?: string | undefined;
|
|
1654
|
+
requiresIdle?: boolean | undefined;
|
|
1655
|
+
destructive?: boolean | undefined;
|
|
1656
|
+
disabledReason?: string | undefined;
|
|
1657
|
+
}[] | undefined;
|
|
1658
|
+
modes?: {
|
|
1659
|
+
id: string;
|
|
1660
|
+
title: string;
|
|
1661
|
+
description?: string | undefined;
|
|
1662
|
+
}[] | undefined;
|
|
1663
|
+
currentMode?: string | undefined;
|
|
1268
1664
|
features?: Record<string, boolean> | undefined;
|
|
1269
1665
|
}[] | undefined;
|
|
1270
1666
|
}, {
|
|
@@ -1293,6 +1689,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1293
1689
|
defaultModel?: string | undefined;
|
|
1294
1690
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1295
1691
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1692
|
+
commands?: {
|
|
1693
|
+
id: string;
|
|
1694
|
+
name: string;
|
|
1695
|
+
title: string;
|
|
1696
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1697
|
+
description?: string | undefined;
|
|
1698
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1699
|
+
category?: string | undefined;
|
|
1700
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1701
|
+
requiresIdle?: boolean | undefined;
|
|
1702
|
+
destructive?: boolean | undefined;
|
|
1703
|
+
disabledReason?: string | undefined;
|
|
1704
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1705
|
+
}[] | undefined;
|
|
1706
|
+
modes?: {
|
|
1707
|
+
id: string;
|
|
1708
|
+
title: string;
|
|
1709
|
+
description?: string | undefined;
|
|
1710
|
+
}[] | undefined;
|
|
1711
|
+
currentMode?: string | undefined;
|
|
1296
1712
|
features?: Record<string, boolean> | undefined;
|
|
1297
1713
|
}[] | undefined;
|
|
1298
1714
|
supportsSessionList?: boolean | undefined;
|
|
@@ -1440,6 +1856,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1440
1856
|
defaultModel?: string | undefined;
|
|
1441
1857
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1442
1858
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1859
|
+
commands?: {
|
|
1860
|
+
id: string;
|
|
1861
|
+
name: string;
|
|
1862
|
+
title: string;
|
|
1863
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
1864
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
1865
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
1866
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1867
|
+
description?: string | undefined;
|
|
1868
|
+
category?: string | undefined;
|
|
1869
|
+
requiresIdle?: boolean | undefined;
|
|
1870
|
+
destructive?: boolean | undefined;
|
|
1871
|
+
disabledReason?: string | undefined;
|
|
1872
|
+
}[] | undefined;
|
|
1873
|
+
modes?: {
|
|
1874
|
+
id: string;
|
|
1875
|
+
title: string;
|
|
1876
|
+
description?: string | undefined;
|
|
1877
|
+
}[] | undefined;
|
|
1878
|
+
currentMode?: string | undefined;
|
|
1443
1879
|
features?: Record<string, boolean> | undefined;
|
|
1444
1880
|
}[] | undefined;
|
|
1445
1881
|
} | undefined;
|
|
@@ -1473,6 +1909,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1473
1909
|
defaultModel?: string | undefined;
|
|
1474
1910
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
1475
1911
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1912
|
+
commands?: {
|
|
1913
|
+
id: string;
|
|
1914
|
+
name: string;
|
|
1915
|
+
title: string;
|
|
1916
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1917
|
+
description?: string | undefined;
|
|
1918
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
1919
|
+
category?: string | undefined;
|
|
1920
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
1921
|
+
requiresIdle?: boolean | undefined;
|
|
1922
|
+
destructive?: boolean | undefined;
|
|
1923
|
+
disabledReason?: string | undefined;
|
|
1924
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
1925
|
+
}[] | undefined;
|
|
1926
|
+
modes?: {
|
|
1927
|
+
id: string;
|
|
1928
|
+
title: string;
|
|
1929
|
+
description?: string | undefined;
|
|
1930
|
+
}[] | undefined;
|
|
1931
|
+
currentMode?: string | undefined;
|
|
1476
1932
|
features?: Record<string, boolean> | undefined;
|
|
1477
1933
|
}[] | undefined;
|
|
1478
1934
|
supportsSessionList?: boolean | undefined;
|
|
@@ -1733,15 +2189,15 @@ export declare const agentV2SubagentRefSchema: z.ZodObject<{
|
|
|
1733
2189
|
}, "strip", z.ZodTypeAny, {
|
|
1734
2190
|
threadId: string;
|
|
1735
2191
|
role?: string | undefined;
|
|
1736
|
-
model?: string | undefined;
|
|
1737
2192
|
prompt?: string | undefined;
|
|
2193
|
+
model?: string | undefined;
|
|
1738
2194
|
agentId?: string | undefined;
|
|
1739
2195
|
nickname?: string | undefined;
|
|
1740
2196
|
}, {
|
|
1741
2197
|
threadId: string;
|
|
1742
2198
|
role?: string | undefined;
|
|
1743
|
-
model?: string | undefined;
|
|
1744
2199
|
prompt?: string | undefined;
|
|
2200
|
+
model?: string | undefined;
|
|
1745
2201
|
agentId?: string | undefined;
|
|
1746
2202
|
nickname?: string | undefined;
|
|
1747
2203
|
}>;
|
|
@@ -1774,15 +2230,15 @@ export declare const agentV2SubagentActionSchema: z.ZodObject<{
|
|
|
1774
2230
|
}, "strip", z.ZodTypeAny, {
|
|
1775
2231
|
threadId: string;
|
|
1776
2232
|
role?: string | undefined;
|
|
1777
|
-
model?: string | undefined;
|
|
1778
2233
|
prompt?: string | undefined;
|
|
2234
|
+
model?: string | undefined;
|
|
1779
2235
|
agentId?: string | undefined;
|
|
1780
2236
|
nickname?: string | undefined;
|
|
1781
2237
|
}, {
|
|
1782
2238
|
threadId: string;
|
|
1783
2239
|
role?: string | undefined;
|
|
1784
|
-
model?: string | undefined;
|
|
1785
2240
|
prompt?: string | undefined;
|
|
2241
|
+
model?: string | undefined;
|
|
1786
2242
|
agentId?: string | undefined;
|
|
1787
2243
|
nickname?: string | undefined;
|
|
1788
2244
|
}>, "many">>;
|
|
@@ -1806,8 +2262,8 @@ export declare const agentV2SubagentActionSchema: z.ZodObject<{
|
|
|
1806
2262
|
receiverAgents: {
|
|
1807
2263
|
threadId: string;
|
|
1808
2264
|
role?: string | undefined;
|
|
1809
|
-
model?: string | undefined;
|
|
1810
2265
|
prompt?: string | undefined;
|
|
2266
|
+
model?: string | undefined;
|
|
1811
2267
|
agentId?: string | undefined;
|
|
1812
2268
|
nickname?: string | undefined;
|
|
1813
2269
|
}[];
|
|
@@ -1816,19 +2272,19 @@ export declare const agentV2SubagentActionSchema: z.ZodObject<{
|
|
|
1816
2272
|
threadId: string;
|
|
1817
2273
|
message?: string | undefined;
|
|
1818
2274
|
}>;
|
|
1819
|
-
model?: string | undefined;
|
|
1820
2275
|
prompt?: string | undefined;
|
|
2276
|
+
model?: string | undefined;
|
|
1821
2277
|
}, {
|
|
1822
2278
|
status: string;
|
|
1823
2279
|
tool: string;
|
|
1824
|
-
model?: string | undefined;
|
|
1825
2280
|
prompt?: string | undefined;
|
|
2281
|
+
model?: string | undefined;
|
|
1826
2282
|
receiverThreadIds?: string[] | undefined;
|
|
1827
2283
|
receiverAgents?: {
|
|
1828
2284
|
threadId: string;
|
|
1829
2285
|
role?: string | undefined;
|
|
1830
|
-
model?: string | undefined;
|
|
1831
2286
|
prompt?: string | undefined;
|
|
2287
|
+
model?: string | undefined;
|
|
1832
2288
|
agentId?: string | undefined;
|
|
1833
2289
|
nickname?: string | undefined;
|
|
1834
2290
|
}[] | undefined;
|
|
@@ -1964,15 +2420,15 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1964
2420
|
}, "strip", z.ZodTypeAny, {
|
|
1965
2421
|
threadId: string;
|
|
1966
2422
|
role?: string | undefined;
|
|
1967
|
-
model?: string | undefined;
|
|
1968
2423
|
prompt?: string | undefined;
|
|
2424
|
+
model?: string | undefined;
|
|
1969
2425
|
agentId?: string | undefined;
|
|
1970
2426
|
nickname?: string | undefined;
|
|
1971
2427
|
}, {
|
|
1972
2428
|
threadId: string;
|
|
1973
2429
|
role?: string | undefined;
|
|
1974
|
-
model?: string | undefined;
|
|
1975
2430
|
prompt?: string | undefined;
|
|
2431
|
+
model?: string | undefined;
|
|
1976
2432
|
agentId?: string | undefined;
|
|
1977
2433
|
nickname?: string | undefined;
|
|
1978
2434
|
}>, "many">>;
|
|
@@ -1996,8 +2452,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1996
2452
|
receiverAgents: {
|
|
1997
2453
|
threadId: string;
|
|
1998
2454
|
role?: string | undefined;
|
|
1999
|
-
model?: string | undefined;
|
|
2000
2455
|
prompt?: string | undefined;
|
|
2456
|
+
model?: string | undefined;
|
|
2001
2457
|
agentId?: string | undefined;
|
|
2002
2458
|
nickname?: string | undefined;
|
|
2003
2459
|
}[];
|
|
@@ -2006,19 +2462,19 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2006
2462
|
threadId: string;
|
|
2007
2463
|
message?: string | undefined;
|
|
2008
2464
|
}>;
|
|
2009
|
-
model?: string | undefined;
|
|
2010
2465
|
prompt?: string | undefined;
|
|
2466
|
+
model?: string | undefined;
|
|
2011
2467
|
}, {
|
|
2012
2468
|
status: string;
|
|
2013
2469
|
tool: string;
|
|
2014
|
-
model?: string | undefined;
|
|
2015
2470
|
prompt?: string | undefined;
|
|
2471
|
+
model?: string | undefined;
|
|
2016
2472
|
receiverThreadIds?: string[] | undefined;
|
|
2017
2473
|
receiverAgents?: {
|
|
2018
2474
|
threadId: string;
|
|
2019
2475
|
role?: string | undefined;
|
|
2020
|
-
model?: string | undefined;
|
|
2021
2476
|
prompt?: string | undefined;
|
|
2477
|
+
model?: string | undefined;
|
|
2022
2478
|
agentId?: string | undefined;
|
|
2023
2479
|
nickname?: string | undefined;
|
|
2024
2480
|
}[] | undefined;
|
|
@@ -2233,8 +2689,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2233
2689
|
receiverAgents: {
|
|
2234
2690
|
threadId: string;
|
|
2235
2691
|
role?: string | undefined;
|
|
2236
|
-
model?: string | undefined;
|
|
2237
2692
|
prompt?: string | undefined;
|
|
2693
|
+
model?: string | undefined;
|
|
2238
2694
|
agentId?: string | undefined;
|
|
2239
2695
|
nickname?: string | undefined;
|
|
2240
2696
|
}[];
|
|
@@ -2243,8 +2699,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2243
2699
|
threadId: string;
|
|
2244
2700
|
message?: string | undefined;
|
|
2245
2701
|
}>;
|
|
2246
|
-
model?: string | undefined;
|
|
2247
2702
|
prompt?: string | undefined;
|
|
2703
|
+
model?: string | undefined;
|
|
2248
2704
|
} | undefined;
|
|
2249
2705
|
structuredInput?: {
|
|
2250
2706
|
requestId: string;
|
|
@@ -2329,14 +2785,14 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2329
2785
|
subagent?: {
|
|
2330
2786
|
status: string;
|
|
2331
2787
|
tool: string;
|
|
2332
|
-
model?: string | undefined;
|
|
2333
2788
|
prompt?: string | undefined;
|
|
2789
|
+
model?: string | undefined;
|
|
2334
2790
|
receiverThreadIds?: string[] | undefined;
|
|
2335
2791
|
receiverAgents?: {
|
|
2336
2792
|
threadId: string;
|
|
2337
2793
|
role?: string | undefined;
|
|
2338
|
-
model?: string | undefined;
|
|
2339
2794
|
prompt?: string | undefined;
|
|
2795
|
+
model?: string | undefined;
|
|
2340
2796
|
agentId?: string | undefined;
|
|
2341
2797
|
nickname?: string | undefined;
|
|
2342
2798
|
}[] | undefined;
|
|
@@ -2374,6 +2830,7 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2374
2830
|
model: z.ZodOptional<z.ZodString>;
|
|
2375
2831
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
2376
2832
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
2833
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
2377
2834
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
2378
2835
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
2379
2836
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -2387,11 +2844,12 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2387
2844
|
createdAt: number;
|
|
2388
2845
|
archived: boolean;
|
|
2389
2846
|
lastActivityAt: number;
|
|
2847
|
+
title?: string | undefined;
|
|
2390
2848
|
agentSessionId?: string | undefined;
|
|
2391
2849
|
model?: string | undefined;
|
|
2392
2850
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2393
2851
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2394
|
-
|
|
2852
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2395
2853
|
lastMessagePreview?: string | undefined;
|
|
2396
2854
|
}, {
|
|
2397
2855
|
id: string;
|
|
@@ -2400,11 +2858,12 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2400
2858
|
lastActivityAt: number;
|
|
2401
2859
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
2402
2860
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2861
|
+
title?: string | undefined;
|
|
2403
2862
|
agentSessionId?: string | undefined;
|
|
2404
2863
|
model?: string | undefined;
|
|
2405
2864
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2406
2865
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2407
|
-
|
|
2866
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2408
2867
|
archived?: boolean | undefined;
|
|
2409
2868
|
lastMessagePreview?: string | undefined;
|
|
2410
2869
|
}>;
|
|
@@ -2435,6 +2894,60 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2435
2894
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
2436
2895
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
2437
2896
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
2897
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2898
|
+
id: z.ZodString;
|
|
2899
|
+
name: z.ZodString;
|
|
2900
|
+
title: z.ZodString;
|
|
2901
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2902
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
2903
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
2904
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
2906
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
2907
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
2908
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
2909
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
2910
|
+
}, "strip", z.ZodTypeAny, {
|
|
2911
|
+
id: string;
|
|
2912
|
+
name: string;
|
|
2913
|
+
title: string;
|
|
2914
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
2915
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
2916
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
2917
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2918
|
+
description?: string | undefined;
|
|
2919
|
+
category?: string | undefined;
|
|
2920
|
+
requiresIdle?: boolean | undefined;
|
|
2921
|
+
destructive?: boolean | undefined;
|
|
2922
|
+
disabledReason?: string | undefined;
|
|
2923
|
+
}, {
|
|
2924
|
+
id: string;
|
|
2925
|
+
name: string;
|
|
2926
|
+
title: string;
|
|
2927
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2928
|
+
description?: string | undefined;
|
|
2929
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
2930
|
+
category?: string | undefined;
|
|
2931
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
2932
|
+
requiresIdle?: boolean | undefined;
|
|
2933
|
+
destructive?: boolean | undefined;
|
|
2934
|
+
disabledReason?: string | undefined;
|
|
2935
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
2936
|
+
}>, "many">>;
|
|
2937
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2938
|
+
id: z.ZodString;
|
|
2939
|
+
title: z.ZodString;
|
|
2940
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
}, "strip", z.ZodTypeAny, {
|
|
2942
|
+
id: string;
|
|
2943
|
+
title: string;
|
|
2944
|
+
description?: string | undefined;
|
|
2945
|
+
}, {
|
|
2946
|
+
id: string;
|
|
2947
|
+
title: string;
|
|
2948
|
+
description?: string | undefined;
|
|
2949
|
+
}>, "many">>;
|
|
2950
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
2438
2951
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2439
2952
|
}, "strip", z.ZodTypeAny, {
|
|
2440
2953
|
id: "claude" | "codex" | "custom";
|
|
@@ -2452,6 +2965,26 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2452
2965
|
defaultModel?: string | undefined;
|
|
2453
2966
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
2454
2967
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
2968
|
+
commands?: {
|
|
2969
|
+
id: string;
|
|
2970
|
+
name: string;
|
|
2971
|
+
title: string;
|
|
2972
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
2973
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
2974
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
2975
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2976
|
+
description?: string | undefined;
|
|
2977
|
+
category?: string | undefined;
|
|
2978
|
+
requiresIdle?: boolean | undefined;
|
|
2979
|
+
destructive?: boolean | undefined;
|
|
2980
|
+
disabledReason?: string | undefined;
|
|
2981
|
+
}[] | undefined;
|
|
2982
|
+
modes?: {
|
|
2983
|
+
id: string;
|
|
2984
|
+
title: string;
|
|
2985
|
+
description?: string | undefined;
|
|
2986
|
+
}[] | undefined;
|
|
2987
|
+
currentMode?: string | undefined;
|
|
2455
2988
|
features?: Record<string, boolean> | undefined;
|
|
2456
2989
|
}, {
|
|
2457
2990
|
id: "claude" | "codex" | "custom";
|
|
@@ -2469,6 +3002,26 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2469
3002
|
defaultModel?: string | undefined;
|
|
2470
3003
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
2471
3004
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
3005
|
+
commands?: {
|
|
3006
|
+
id: string;
|
|
3007
|
+
name: string;
|
|
3008
|
+
title: string;
|
|
3009
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3010
|
+
description?: string | undefined;
|
|
3011
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
3012
|
+
category?: string | undefined;
|
|
3013
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
3014
|
+
requiresIdle?: boolean | undefined;
|
|
3015
|
+
destructive?: boolean | undefined;
|
|
3016
|
+
disabledReason?: string | undefined;
|
|
3017
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
3018
|
+
}[] | undefined;
|
|
3019
|
+
modes?: {
|
|
3020
|
+
id: string;
|
|
3021
|
+
title: string;
|
|
3022
|
+
description?: string | undefined;
|
|
3023
|
+
}[] | undefined;
|
|
3024
|
+
currentMode?: string | undefined;
|
|
2472
3025
|
features?: Record<string, boolean> | undefined;
|
|
2473
3026
|
}>, "many">>;
|
|
2474
3027
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2512,6 +3065,26 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2512
3065
|
defaultModel?: string | undefined;
|
|
2513
3066
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
2514
3067
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
3068
|
+
commands?: {
|
|
3069
|
+
id: string;
|
|
3070
|
+
name: string;
|
|
3071
|
+
title: string;
|
|
3072
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
3073
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
3074
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
3075
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3076
|
+
description?: string | undefined;
|
|
3077
|
+
category?: string | undefined;
|
|
3078
|
+
requiresIdle?: boolean | undefined;
|
|
3079
|
+
destructive?: boolean | undefined;
|
|
3080
|
+
disabledReason?: string | undefined;
|
|
3081
|
+
}[] | undefined;
|
|
3082
|
+
modes?: {
|
|
3083
|
+
id: string;
|
|
3084
|
+
title: string;
|
|
3085
|
+
description?: string | undefined;
|
|
3086
|
+
}[] | undefined;
|
|
3087
|
+
currentMode?: string | undefined;
|
|
2515
3088
|
features?: Record<string, boolean> | undefined;
|
|
2516
3089
|
}[] | undefined;
|
|
2517
3090
|
}, {
|
|
@@ -2540,6 +3113,26 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2540
3113
|
defaultModel?: string | undefined;
|
|
2541
3114
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
2542
3115
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
3116
|
+
commands?: {
|
|
3117
|
+
id: string;
|
|
3118
|
+
name: string;
|
|
3119
|
+
title: string;
|
|
3120
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3121
|
+
description?: string | undefined;
|
|
3122
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
3123
|
+
category?: string | undefined;
|
|
3124
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
3125
|
+
requiresIdle?: boolean | undefined;
|
|
3126
|
+
destructive?: boolean | undefined;
|
|
3127
|
+
disabledReason?: string | undefined;
|
|
3128
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
3129
|
+
}[] | undefined;
|
|
3130
|
+
modes?: {
|
|
3131
|
+
id: string;
|
|
3132
|
+
title: string;
|
|
3133
|
+
description?: string | undefined;
|
|
3134
|
+
}[] | undefined;
|
|
3135
|
+
currentMode?: string | undefined;
|
|
2543
3136
|
features?: Record<string, boolean> | undefined;
|
|
2544
3137
|
}[] | undefined;
|
|
2545
3138
|
supportsSessionList?: boolean | undefined;
|
|
@@ -2555,25 +3148,28 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
|
|
|
2555
3148
|
model: z.ZodOptional<z.ZodString>;
|
|
2556
3149
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
2557
3150
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
3151
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
2558
3152
|
title: z.ZodOptional<z.ZodString>;
|
|
2559
3153
|
}, "strip", z.ZodTypeAny, {
|
|
2560
3154
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2561
3155
|
cwd?: string | undefined;
|
|
3156
|
+
title?: string | undefined;
|
|
2562
3157
|
agentSessionId?: string | undefined;
|
|
2563
3158
|
model?: string | undefined;
|
|
2564
3159
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2565
3160
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2566
3161
|
conversationId?: string | undefined;
|
|
2567
|
-
|
|
3162
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2568
3163
|
}, {
|
|
2569
3164
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2570
3165
|
cwd?: string | undefined;
|
|
3166
|
+
title?: string | undefined;
|
|
2571
3167
|
agentSessionId?: string | undefined;
|
|
2572
3168
|
model?: string | undefined;
|
|
2573
3169
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2574
3170
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2575
3171
|
conversationId?: string | undefined;
|
|
2576
|
-
|
|
3172
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2577
3173
|
}>;
|
|
2578
3174
|
export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
2579
3175
|
conversation: z.ZodObject<{
|
|
@@ -2585,6 +3181,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2585
3181
|
model: z.ZodOptional<z.ZodString>;
|
|
2586
3182
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
2587
3183
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
3184
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
2588
3185
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
2589
3186
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
2590
3187
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -2598,11 +3195,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2598
3195
|
createdAt: number;
|
|
2599
3196
|
archived: boolean;
|
|
2600
3197
|
lastActivityAt: number;
|
|
3198
|
+
title?: string | undefined;
|
|
2601
3199
|
agentSessionId?: string | undefined;
|
|
2602
3200
|
model?: string | undefined;
|
|
2603
3201
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2604
3202
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2605
|
-
|
|
3203
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2606
3204
|
lastMessagePreview?: string | undefined;
|
|
2607
3205
|
}, {
|
|
2608
3206
|
id: string;
|
|
@@ -2611,11 +3209,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2611
3209
|
lastActivityAt: number;
|
|
2612
3210
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
2613
3211
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3212
|
+
title?: string | undefined;
|
|
2614
3213
|
agentSessionId?: string | undefined;
|
|
2615
3214
|
model?: string | undefined;
|
|
2616
3215
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2617
3216
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2618
|
-
|
|
3217
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
2619
3218
|
archived?: boolean | undefined;
|
|
2620
3219
|
lastMessagePreview?: string | undefined;
|
|
2621
3220
|
}>;
|
|
@@ -2745,15 +3344,15 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2745
3344
|
}, "strip", z.ZodTypeAny, {
|
|
2746
3345
|
threadId: string;
|
|
2747
3346
|
role?: string | undefined;
|
|
2748
|
-
model?: string | undefined;
|
|
2749
3347
|
prompt?: string | undefined;
|
|
3348
|
+
model?: string | undefined;
|
|
2750
3349
|
agentId?: string | undefined;
|
|
2751
3350
|
nickname?: string | undefined;
|
|
2752
3351
|
}, {
|
|
2753
3352
|
threadId: string;
|
|
2754
3353
|
role?: string | undefined;
|
|
2755
|
-
model?: string | undefined;
|
|
2756
3354
|
prompt?: string | undefined;
|
|
3355
|
+
model?: string | undefined;
|
|
2757
3356
|
agentId?: string | undefined;
|
|
2758
3357
|
nickname?: string | undefined;
|
|
2759
3358
|
}>, "many">>;
|
|
@@ -2777,8 +3376,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2777
3376
|
receiverAgents: {
|
|
2778
3377
|
threadId: string;
|
|
2779
3378
|
role?: string | undefined;
|
|
2780
|
-
model?: string | undefined;
|
|
2781
3379
|
prompt?: string | undefined;
|
|
3380
|
+
model?: string | undefined;
|
|
2782
3381
|
agentId?: string | undefined;
|
|
2783
3382
|
nickname?: string | undefined;
|
|
2784
3383
|
}[];
|
|
@@ -2787,19 +3386,19 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2787
3386
|
threadId: string;
|
|
2788
3387
|
message?: string | undefined;
|
|
2789
3388
|
}>;
|
|
2790
|
-
model?: string | undefined;
|
|
2791
3389
|
prompt?: string | undefined;
|
|
3390
|
+
model?: string | undefined;
|
|
2792
3391
|
}, {
|
|
2793
3392
|
status: string;
|
|
2794
3393
|
tool: string;
|
|
2795
|
-
model?: string | undefined;
|
|
2796
3394
|
prompt?: string | undefined;
|
|
3395
|
+
model?: string | undefined;
|
|
2797
3396
|
receiverThreadIds?: string[] | undefined;
|
|
2798
3397
|
receiverAgents?: {
|
|
2799
3398
|
threadId: string;
|
|
2800
3399
|
role?: string | undefined;
|
|
2801
|
-
model?: string | undefined;
|
|
2802
3400
|
prompt?: string | undefined;
|
|
3401
|
+
model?: string | undefined;
|
|
2803
3402
|
agentId?: string | undefined;
|
|
2804
3403
|
nickname?: string | undefined;
|
|
2805
3404
|
}[] | undefined;
|
|
@@ -3014,8 +3613,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3014
3613
|
receiverAgents: {
|
|
3015
3614
|
threadId: string;
|
|
3016
3615
|
role?: string | undefined;
|
|
3017
|
-
model?: string | undefined;
|
|
3018
3616
|
prompt?: string | undefined;
|
|
3617
|
+
model?: string | undefined;
|
|
3019
3618
|
agentId?: string | undefined;
|
|
3020
3619
|
nickname?: string | undefined;
|
|
3021
3620
|
}[];
|
|
@@ -3024,8 +3623,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3024
3623
|
threadId: string;
|
|
3025
3624
|
message?: string | undefined;
|
|
3026
3625
|
}>;
|
|
3027
|
-
model?: string | undefined;
|
|
3028
3626
|
prompt?: string | undefined;
|
|
3627
|
+
model?: string | undefined;
|
|
3029
3628
|
} | undefined;
|
|
3030
3629
|
structuredInput?: {
|
|
3031
3630
|
requestId: string;
|
|
@@ -3110,14 +3709,14 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3110
3709
|
subagent?: {
|
|
3111
3710
|
status: string;
|
|
3112
3711
|
tool: string;
|
|
3113
|
-
model?: string | undefined;
|
|
3114
3712
|
prompt?: string | undefined;
|
|
3713
|
+
model?: string | undefined;
|
|
3115
3714
|
receiverThreadIds?: string[] | undefined;
|
|
3116
3715
|
receiverAgents?: {
|
|
3117
3716
|
threadId: string;
|
|
3118
3717
|
role?: string | undefined;
|
|
3119
|
-
model?: string | undefined;
|
|
3120
3718
|
prompt?: string | undefined;
|
|
3719
|
+
model?: string | undefined;
|
|
3121
3720
|
agentId?: string | undefined;
|
|
3122
3721
|
nickname?: string | undefined;
|
|
3123
3722
|
}[] | undefined;
|
|
@@ -3155,11 +3754,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3155
3754
|
createdAt: number;
|
|
3156
3755
|
archived: boolean;
|
|
3157
3756
|
lastActivityAt: number;
|
|
3757
|
+
title?: string | undefined;
|
|
3158
3758
|
agentSessionId?: string | undefined;
|
|
3159
3759
|
model?: string | undefined;
|
|
3160
3760
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3161
3761
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3162
|
-
|
|
3762
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3163
3763
|
lastMessagePreview?: string | undefined;
|
|
3164
3764
|
};
|
|
3165
3765
|
snapshot: {
|
|
@@ -3231,8 +3831,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3231
3831
|
receiverAgents: {
|
|
3232
3832
|
threadId: string;
|
|
3233
3833
|
role?: string | undefined;
|
|
3234
|
-
model?: string | undefined;
|
|
3235
3834
|
prompt?: string | undefined;
|
|
3835
|
+
model?: string | undefined;
|
|
3236
3836
|
agentId?: string | undefined;
|
|
3237
3837
|
nickname?: string | undefined;
|
|
3238
3838
|
}[];
|
|
@@ -3241,8 +3841,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3241
3841
|
threadId: string;
|
|
3242
3842
|
message?: string | undefined;
|
|
3243
3843
|
}>;
|
|
3244
|
-
model?: string | undefined;
|
|
3245
3844
|
prompt?: string | undefined;
|
|
3845
|
+
model?: string | undefined;
|
|
3246
3846
|
} | undefined;
|
|
3247
3847
|
structuredInput?: {
|
|
3248
3848
|
requestId: string;
|
|
@@ -3271,11 +3871,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3271
3871
|
lastActivityAt: number;
|
|
3272
3872
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
3273
3873
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3874
|
+
title?: string | undefined;
|
|
3274
3875
|
agentSessionId?: string | undefined;
|
|
3275
3876
|
model?: string | undefined;
|
|
3276
3877
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3277
3878
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3278
|
-
|
|
3879
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3279
3880
|
archived?: boolean | undefined;
|
|
3280
3881
|
lastMessagePreview?: string | undefined;
|
|
3281
3882
|
};
|
|
@@ -3344,14 +3945,14 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3344
3945
|
subagent?: {
|
|
3345
3946
|
status: string;
|
|
3346
3947
|
tool: string;
|
|
3347
|
-
model?: string | undefined;
|
|
3348
3948
|
prompt?: string | undefined;
|
|
3949
|
+
model?: string | undefined;
|
|
3349
3950
|
receiverThreadIds?: string[] | undefined;
|
|
3350
3951
|
receiverAgents?: {
|
|
3351
3952
|
threadId: string;
|
|
3352
3953
|
role?: string | undefined;
|
|
3353
|
-
model?: string | undefined;
|
|
3354
3954
|
prompt?: string | undefined;
|
|
3955
|
+
model?: string | undefined;
|
|
3355
3956
|
agentId?: string | undefined;
|
|
3356
3957
|
nickname?: string | undefined;
|
|
3357
3958
|
}[] | undefined;
|
|
@@ -3398,6 +3999,7 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3398
3999
|
model: z.ZodOptional<z.ZodString>;
|
|
3399
4000
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
3400
4001
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
4002
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
3401
4003
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
3402
4004
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
3403
4005
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -3411,11 +4013,12 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3411
4013
|
createdAt: number;
|
|
3412
4014
|
archived: boolean;
|
|
3413
4015
|
lastActivityAt: number;
|
|
4016
|
+
title?: string | undefined;
|
|
3414
4017
|
agentSessionId?: string | undefined;
|
|
3415
4018
|
model?: string | undefined;
|
|
3416
4019
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3417
4020
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3418
|
-
|
|
4021
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3419
4022
|
lastMessagePreview?: string | undefined;
|
|
3420
4023
|
}, {
|
|
3421
4024
|
id: string;
|
|
@@ -3424,11 +4027,12 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3424
4027
|
lastActivityAt: number;
|
|
3425
4028
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
3426
4029
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4030
|
+
title?: string | undefined;
|
|
3427
4031
|
agentSessionId?: string | undefined;
|
|
3428
4032
|
model?: string | undefined;
|
|
3429
4033
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3430
4034
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3431
|
-
|
|
4035
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3432
4036
|
archived?: boolean | undefined;
|
|
3433
4037
|
lastMessagePreview?: string | undefined;
|
|
3434
4038
|
}>, "many">;
|
|
@@ -3441,11 +4045,12 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3441
4045
|
createdAt: number;
|
|
3442
4046
|
archived: boolean;
|
|
3443
4047
|
lastActivityAt: number;
|
|
4048
|
+
title?: string | undefined;
|
|
3444
4049
|
agentSessionId?: string | undefined;
|
|
3445
4050
|
model?: string | undefined;
|
|
3446
4051
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3447
4052
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3448
|
-
|
|
4053
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3449
4054
|
lastMessagePreview?: string | undefined;
|
|
3450
4055
|
}[];
|
|
3451
4056
|
}, {
|
|
@@ -3456,11 +4061,12 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3456
4061
|
lastActivityAt: number;
|
|
3457
4062
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
3458
4063
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4064
|
+
title?: string | undefined;
|
|
3459
4065
|
agentSessionId?: string | undefined;
|
|
3460
4066
|
model?: string | undefined;
|
|
3461
4067
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3462
4068
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3463
|
-
|
|
4069
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3464
4070
|
archived?: boolean | undefined;
|
|
3465
4071
|
lastMessagePreview?: string | undefined;
|
|
3466
4072
|
}[];
|
|
@@ -3487,6 +4093,7 @@ export declare const agentV2PromptPayloadSchema: z.ZodObject<{
|
|
|
3487
4093
|
model: z.ZodOptional<z.ZodString>;
|
|
3488
4094
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
3489
4095
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
4096
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
3490
4097
|
}, "strip", z.ZodTypeAny, {
|
|
3491
4098
|
clientMessageId: string;
|
|
3492
4099
|
contentBlocks: {
|
|
@@ -3499,6 +4106,7 @@ export declare const agentV2PromptPayloadSchema: z.ZodObject<{
|
|
|
3499
4106
|
model?: string | undefined;
|
|
3500
4107
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3501
4108
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4109
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3502
4110
|
}, {
|
|
3503
4111
|
clientMessageId: string;
|
|
3504
4112
|
contentBlocks: {
|
|
@@ -3511,6 +4119,26 @@ export declare const agentV2PromptPayloadSchema: z.ZodObject<{
|
|
|
3511
4119
|
model?: string | undefined;
|
|
3512
4120
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3513
4121
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4122
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
4123
|
+
}>;
|
|
4124
|
+
export declare const agentV2CommandExecutePayloadSchema: z.ZodObject<{
|
|
4125
|
+
conversationId: z.ZodString;
|
|
4126
|
+
commandId: z.ZodString;
|
|
4127
|
+
rawText: z.ZodOptional<z.ZodString>;
|
|
4128
|
+
args: z.ZodOptional<z.ZodString>;
|
|
4129
|
+
clientMessageId: z.ZodString;
|
|
4130
|
+
}, "strip", z.ZodTypeAny, {
|
|
4131
|
+
clientMessageId: string;
|
|
4132
|
+
conversationId: string;
|
|
4133
|
+
commandId: string;
|
|
4134
|
+
rawText?: string | undefined;
|
|
4135
|
+
args?: string | undefined;
|
|
4136
|
+
}, {
|
|
4137
|
+
clientMessageId: string;
|
|
4138
|
+
conversationId: string;
|
|
4139
|
+
commandId: string;
|
|
4140
|
+
rawText?: string | undefined;
|
|
4141
|
+
args?: string | undefined;
|
|
3514
4142
|
}>;
|
|
3515
4143
|
export declare const agentV2CancelPayloadSchema: z.ZodObject<{
|
|
3516
4144
|
conversationId: z.ZodString;
|
|
@@ -3565,6 +4193,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3565
4193
|
model: z.ZodOptional<z.ZodString>;
|
|
3566
4194
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
3567
4195
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
4196
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
3568
4197
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
3569
4198
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
3570
4199
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -3578,11 +4207,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3578
4207
|
createdAt: number;
|
|
3579
4208
|
archived: boolean;
|
|
3580
4209
|
lastActivityAt: number;
|
|
4210
|
+
title?: string | undefined;
|
|
3581
4211
|
agentSessionId?: string | undefined;
|
|
3582
4212
|
model?: string | undefined;
|
|
3583
4213
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3584
4214
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3585
|
-
|
|
4215
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3586
4216
|
lastMessagePreview?: string | undefined;
|
|
3587
4217
|
}, {
|
|
3588
4218
|
id: string;
|
|
@@ -3591,11 +4221,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3591
4221
|
lastActivityAt: number;
|
|
3592
4222
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
3593
4223
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4224
|
+
title?: string | undefined;
|
|
3594
4225
|
agentSessionId?: string | undefined;
|
|
3595
4226
|
model?: string | undefined;
|
|
3596
4227
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3597
4228
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3598
|
-
|
|
4229
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
3599
4230
|
archived?: boolean | undefined;
|
|
3600
4231
|
lastMessagePreview?: string | undefined;
|
|
3601
4232
|
}>, "many">>;
|
|
@@ -3726,15 +4357,15 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3726
4357
|
}, "strip", z.ZodTypeAny, {
|
|
3727
4358
|
threadId: string;
|
|
3728
4359
|
role?: string | undefined;
|
|
3729
|
-
model?: string | undefined;
|
|
3730
4360
|
prompt?: string | undefined;
|
|
4361
|
+
model?: string | undefined;
|
|
3731
4362
|
agentId?: string | undefined;
|
|
3732
4363
|
nickname?: string | undefined;
|
|
3733
4364
|
}, {
|
|
3734
4365
|
threadId: string;
|
|
3735
4366
|
role?: string | undefined;
|
|
3736
|
-
model?: string | undefined;
|
|
3737
4367
|
prompt?: string | undefined;
|
|
4368
|
+
model?: string | undefined;
|
|
3738
4369
|
agentId?: string | undefined;
|
|
3739
4370
|
nickname?: string | undefined;
|
|
3740
4371
|
}>, "many">>;
|
|
@@ -3758,8 +4389,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3758
4389
|
receiverAgents: {
|
|
3759
4390
|
threadId: string;
|
|
3760
4391
|
role?: string | undefined;
|
|
3761
|
-
model?: string | undefined;
|
|
3762
4392
|
prompt?: string | undefined;
|
|
4393
|
+
model?: string | undefined;
|
|
3763
4394
|
agentId?: string | undefined;
|
|
3764
4395
|
nickname?: string | undefined;
|
|
3765
4396
|
}[];
|
|
@@ -3768,19 +4399,19 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3768
4399
|
threadId: string;
|
|
3769
4400
|
message?: string | undefined;
|
|
3770
4401
|
}>;
|
|
3771
|
-
model?: string | undefined;
|
|
3772
4402
|
prompt?: string | undefined;
|
|
4403
|
+
model?: string | undefined;
|
|
3773
4404
|
}, {
|
|
3774
4405
|
status: string;
|
|
3775
4406
|
tool: string;
|
|
3776
|
-
model?: string | undefined;
|
|
3777
4407
|
prompt?: string | undefined;
|
|
4408
|
+
model?: string | undefined;
|
|
3778
4409
|
receiverThreadIds?: string[] | undefined;
|
|
3779
4410
|
receiverAgents?: {
|
|
3780
4411
|
threadId: string;
|
|
3781
4412
|
role?: string | undefined;
|
|
3782
|
-
model?: string | undefined;
|
|
3783
4413
|
prompt?: string | undefined;
|
|
4414
|
+
model?: string | undefined;
|
|
3784
4415
|
agentId?: string | undefined;
|
|
3785
4416
|
nickname?: string | undefined;
|
|
3786
4417
|
}[] | undefined;
|
|
@@ -3995,8 +4626,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3995
4626
|
receiverAgents: {
|
|
3996
4627
|
threadId: string;
|
|
3997
4628
|
role?: string | undefined;
|
|
3998
|
-
model?: string | undefined;
|
|
3999
4629
|
prompt?: string | undefined;
|
|
4630
|
+
model?: string | undefined;
|
|
4000
4631
|
agentId?: string | undefined;
|
|
4001
4632
|
nickname?: string | undefined;
|
|
4002
4633
|
}[];
|
|
@@ -4005,8 +4636,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4005
4636
|
threadId: string;
|
|
4006
4637
|
message?: string | undefined;
|
|
4007
4638
|
}>;
|
|
4008
|
-
model?: string | undefined;
|
|
4009
4639
|
prompt?: string | undefined;
|
|
4640
|
+
model?: string | undefined;
|
|
4010
4641
|
} | undefined;
|
|
4011
4642
|
structuredInput?: {
|
|
4012
4643
|
requestId: string;
|
|
@@ -4091,14 +4722,14 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4091
4722
|
subagent?: {
|
|
4092
4723
|
status: string;
|
|
4093
4724
|
tool: string;
|
|
4094
|
-
model?: string | undefined;
|
|
4095
4725
|
prompt?: string | undefined;
|
|
4726
|
+
model?: string | undefined;
|
|
4096
4727
|
receiverThreadIds?: string[] | undefined;
|
|
4097
4728
|
receiverAgents?: {
|
|
4098
4729
|
threadId: string;
|
|
4099
4730
|
role?: string | undefined;
|
|
4100
|
-
model?: string | undefined;
|
|
4101
4731
|
prompt?: string | undefined;
|
|
4732
|
+
model?: string | undefined;
|
|
4102
4733
|
agentId?: string | undefined;
|
|
4103
4734
|
nickname?: string | undefined;
|
|
4104
4735
|
}[] | undefined;
|
|
@@ -4137,11 +4768,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4137
4768
|
createdAt: number;
|
|
4138
4769
|
archived: boolean;
|
|
4139
4770
|
lastActivityAt: number;
|
|
4771
|
+
title?: string | undefined;
|
|
4140
4772
|
agentSessionId?: string | undefined;
|
|
4141
4773
|
model?: string | undefined;
|
|
4142
4774
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4143
4775
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4144
|
-
|
|
4776
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
4145
4777
|
lastMessagePreview?: string | undefined;
|
|
4146
4778
|
}[];
|
|
4147
4779
|
items: {
|
|
@@ -4213,8 +4845,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4213
4845
|
receiverAgents: {
|
|
4214
4846
|
threadId: string;
|
|
4215
4847
|
role?: string | undefined;
|
|
4216
|
-
model?: string | undefined;
|
|
4217
4848
|
prompt?: string | undefined;
|
|
4849
|
+
model?: string | undefined;
|
|
4218
4850
|
agentId?: string | undefined;
|
|
4219
4851
|
nickname?: string | undefined;
|
|
4220
4852
|
}[];
|
|
@@ -4223,8 +4855,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4223
4855
|
threadId: string;
|
|
4224
4856
|
message?: string | undefined;
|
|
4225
4857
|
}>;
|
|
4226
|
-
model?: string | undefined;
|
|
4227
4858
|
prompt?: string | undefined;
|
|
4859
|
+
model?: string | undefined;
|
|
4228
4860
|
} | undefined;
|
|
4229
4861
|
structuredInput?: {
|
|
4230
4862
|
requestId: string;
|
|
@@ -4256,11 +4888,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4256
4888
|
lastActivityAt: number;
|
|
4257
4889
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
4258
4890
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4891
|
+
title?: string | undefined;
|
|
4259
4892
|
agentSessionId?: string | undefined;
|
|
4260
4893
|
model?: string | undefined;
|
|
4261
4894
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4262
4895
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4263
|
-
|
|
4896
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
4264
4897
|
archived?: boolean | undefined;
|
|
4265
4898
|
lastMessagePreview?: string | undefined;
|
|
4266
4899
|
}[] | undefined;
|
|
@@ -4330,14 +4963,14 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4330
4963
|
subagent?: {
|
|
4331
4964
|
status: string;
|
|
4332
4965
|
tool: string;
|
|
4333
|
-
model?: string | undefined;
|
|
4334
4966
|
prompt?: string | undefined;
|
|
4967
|
+
model?: string | undefined;
|
|
4335
4968
|
receiverThreadIds?: string[] | undefined;
|
|
4336
4969
|
receiverAgents?: {
|
|
4337
4970
|
threadId: string;
|
|
4338
4971
|
role?: string | undefined;
|
|
4339
|
-
model?: string | undefined;
|
|
4340
4972
|
prompt?: string | undefined;
|
|
4973
|
+
model?: string | undefined;
|
|
4341
4974
|
agentId?: string | undefined;
|
|
4342
4975
|
nickname?: string | undefined;
|
|
4343
4976
|
}[] | undefined;
|
|
@@ -4378,6 +5011,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4378
5011
|
model: z.ZodOptional<z.ZodString>;
|
|
4379
5012
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
4380
5013
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
5014
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
4381
5015
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
4382
5016
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
4383
5017
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -4391,11 +5025,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4391
5025
|
createdAt: number;
|
|
4392
5026
|
archived: boolean;
|
|
4393
5027
|
lastActivityAt: number;
|
|
5028
|
+
title?: string | undefined;
|
|
4394
5029
|
agentSessionId?: string | undefined;
|
|
4395
5030
|
model?: string | undefined;
|
|
4396
5031
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4397
5032
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4398
|
-
|
|
5033
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
4399
5034
|
lastMessagePreview?: string | undefined;
|
|
4400
5035
|
}, {
|
|
4401
5036
|
id: string;
|
|
@@ -4404,11 +5039,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4404
5039
|
lastActivityAt: number;
|
|
4405
5040
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
4406
5041
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
5042
|
+
title?: string | undefined;
|
|
4407
5043
|
agentSessionId?: string | undefined;
|
|
4408
5044
|
model?: string | undefined;
|
|
4409
5045
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4410
5046
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4411
|
-
|
|
5047
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
4412
5048
|
archived?: boolean | undefined;
|
|
4413
5049
|
lastMessagePreview?: string | undefined;
|
|
4414
5050
|
}>>;
|
|
@@ -4538,15 +5174,15 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4538
5174
|
}, "strip", z.ZodTypeAny, {
|
|
4539
5175
|
threadId: string;
|
|
4540
5176
|
role?: string | undefined;
|
|
4541
|
-
model?: string | undefined;
|
|
4542
5177
|
prompt?: string | undefined;
|
|
5178
|
+
model?: string | undefined;
|
|
4543
5179
|
agentId?: string | undefined;
|
|
4544
5180
|
nickname?: string | undefined;
|
|
4545
5181
|
}, {
|
|
4546
5182
|
threadId: string;
|
|
4547
5183
|
role?: string | undefined;
|
|
4548
|
-
model?: string | undefined;
|
|
4549
5184
|
prompt?: string | undefined;
|
|
5185
|
+
model?: string | undefined;
|
|
4550
5186
|
agentId?: string | undefined;
|
|
4551
5187
|
nickname?: string | undefined;
|
|
4552
5188
|
}>, "many">>;
|
|
@@ -4570,8 +5206,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4570
5206
|
receiverAgents: {
|
|
4571
5207
|
threadId: string;
|
|
4572
5208
|
role?: string | undefined;
|
|
4573
|
-
model?: string | undefined;
|
|
4574
5209
|
prompt?: string | undefined;
|
|
5210
|
+
model?: string | undefined;
|
|
4575
5211
|
agentId?: string | undefined;
|
|
4576
5212
|
nickname?: string | undefined;
|
|
4577
5213
|
}[];
|
|
@@ -4580,19 +5216,19 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4580
5216
|
threadId: string;
|
|
4581
5217
|
message?: string | undefined;
|
|
4582
5218
|
}>;
|
|
4583
|
-
model?: string | undefined;
|
|
4584
5219
|
prompt?: string | undefined;
|
|
5220
|
+
model?: string | undefined;
|
|
4585
5221
|
}, {
|
|
4586
5222
|
status: string;
|
|
4587
5223
|
tool: string;
|
|
4588
|
-
model?: string | undefined;
|
|
4589
5224
|
prompt?: string | undefined;
|
|
5225
|
+
model?: string | undefined;
|
|
4590
5226
|
receiverThreadIds?: string[] | undefined;
|
|
4591
5227
|
receiverAgents?: {
|
|
4592
5228
|
threadId: string;
|
|
4593
5229
|
role?: string | undefined;
|
|
4594
|
-
model?: string | undefined;
|
|
4595
5230
|
prompt?: string | undefined;
|
|
5231
|
+
model?: string | undefined;
|
|
4596
5232
|
agentId?: string | undefined;
|
|
4597
5233
|
nickname?: string | undefined;
|
|
4598
5234
|
}[] | undefined;
|
|
@@ -4807,8 +5443,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4807
5443
|
receiverAgents: {
|
|
4808
5444
|
threadId: string;
|
|
4809
5445
|
role?: string | undefined;
|
|
4810
|
-
model?: string | undefined;
|
|
4811
5446
|
prompt?: string | undefined;
|
|
5447
|
+
model?: string | undefined;
|
|
4812
5448
|
agentId?: string | undefined;
|
|
4813
5449
|
nickname?: string | undefined;
|
|
4814
5450
|
}[];
|
|
@@ -4817,8 +5453,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4817
5453
|
threadId: string;
|
|
4818
5454
|
message?: string | undefined;
|
|
4819
5455
|
}>;
|
|
4820
|
-
model?: string | undefined;
|
|
4821
5456
|
prompt?: string | undefined;
|
|
5457
|
+
model?: string | undefined;
|
|
4822
5458
|
} | undefined;
|
|
4823
5459
|
structuredInput?: {
|
|
4824
5460
|
requestId: string;
|
|
@@ -4903,14 +5539,14 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4903
5539
|
subagent?: {
|
|
4904
5540
|
status: string;
|
|
4905
5541
|
tool: string;
|
|
4906
|
-
model?: string | undefined;
|
|
4907
5542
|
prompt?: string | undefined;
|
|
5543
|
+
model?: string | undefined;
|
|
4908
5544
|
receiverThreadIds?: string[] | undefined;
|
|
4909
5545
|
receiverAgents?: {
|
|
4910
5546
|
threadId: string;
|
|
4911
5547
|
role?: string | undefined;
|
|
4912
|
-
model?: string | undefined;
|
|
4913
5548
|
prompt?: string | undefined;
|
|
5549
|
+
model?: string | undefined;
|
|
4914
5550
|
agentId?: string | undefined;
|
|
4915
5551
|
nickname?: string | undefined;
|
|
4916
5552
|
}[] | undefined;
|
|
@@ -5063,15 +5699,15 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5063
5699
|
}, "strip", z.ZodTypeAny, {
|
|
5064
5700
|
threadId: string;
|
|
5065
5701
|
role?: string | undefined;
|
|
5066
|
-
model?: string | undefined;
|
|
5067
5702
|
prompt?: string | undefined;
|
|
5703
|
+
model?: string | undefined;
|
|
5068
5704
|
agentId?: string | undefined;
|
|
5069
5705
|
nickname?: string | undefined;
|
|
5070
5706
|
}, {
|
|
5071
5707
|
threadId: string;
|
|
5072
5708
|
role?: string | undefined;
|
|
5073
|
-
model?: string | undefined;
|
|
5074
5709
|
prompt?: string | undefined;
|
|
5710
|
+
model?: string | undefined;
|
|
5075
5711
|
agentId?: string | undefined;
|
|
5076
5712
|
nickname?: string | undefined;
|
|
5077
5713
|
}>, "many">>;
|
|
@@ -5095,8 +5731,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5095
5731
|
receiverAgents: {
|
|
5096
5732
|
threadId: string;
|
|
5097
5733
|
role?: string | undefined;
|
|
5098
|
-
model?: string | undefined;
|
|
5099
5734
|
prompt?: string | undefined;
|
|
5735
|
+
model?: string | undefined;
|
|
5100
5736
|
agentId?: string | undefined;
|
|
5101
5737
|
nickname?: string | undefined;
|
|
5102
5738
|
}[];
|
|
@@ -5105,19 +5741,19 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5105
5741
|
threadId: string;
|
|
5106
5742
|
message?: string | undefined;
|
|
5107
5743
|
}>;
|
|
5108
|
-
model?: string | undefined;
|
|
5109
5744
|
prompt?: string | undefined;
|
|
5745
|
+
model?: string | undefined;
|
|
5110
5746
|
}, {
|
|
5111
5747
|
status: string;
|
|
5112
5748
|
tool: string;
|
|
5113
|
-
model?: string | undefined;
|
|
5114
5749
|
prompt?: string | undefined;
|
|
5750
|
+
model?: string | undefined;
|
|
5115
5751
|
receiverThreadIds?: string[] | undefined;
|
|
5116
5752
|
receiverAgents?: {
|
|
5117
5753
|
threadId: string;
|
|
5118
5754
|
role?: string | undefined;
|
|
5119
|
-
model?: string | undefined;
|
|
5120
5755
|
prompt?: string | undefined;
|
|
5756
|
+
model?: string | undefined;
|
|
5121
5757
|
agentId?: string | undefined;
|
|
5122
5758
|
nickname?: string | undefined;
|
|
5123
5759
|
}[] | undefined;
|
|
@@ -5325,8 +5961,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5325
5961
|
receiverAgents: {
|
|
5326
5962
|
threadId: string;
|
|
5327
5963
|
role?: string | undefined;
|
|
5328
|
-
model?: string | undefined;
|
|
5329
5964
|
prompt?: string | undefined;
|
|
5965
|
+
model?: string | undefined;
|
|
5330
5966
|
agentId?: string | undefined;
|
|
5331
5967
|
nickname?: string | undefined;
|
|
5332
5968
|
}[];
|
|
@@ -5335,8 +5971,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5335
5971
|
threadId: string;
|
|
5336
5972
|
message?: string | undefined;
|
|
5337
5973
|
}>;
|
|
5338
|
-
model?: string | undefined;
|
|
5339
5974
|
prompt?: string | undefined;
|
|
5975
|
+
model?: string | undefined;
|
|
5340
5976
|
} | undefined;
|
|
5341
5977
|
structuredInput?: {
|
|
5342
5978
|
requestId: string;
|
|
@@ -5417,14 +6053,14 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5417
6053
|
subagent?: {
|
|
5418
6054
|
status: string;
|
|
5419
6055
|
tool: string;
|
|
5420
|
-
model?: string | undefined;
|
|
5421
6056
|
prompt?: string | undefined;
|
|
6057
|
+
model?: string | undefined;
|
|
5422
6058
|
receiverThreadIds?: string[] | undefined;
|
|
5423
6059
|
receiverAgents?: {
|
|
5424
6060
|
threadId: string;
|
|
5425
6061
|
role?: string | undefined;
|
|
5426
|
-
model?: string | undefined;
|
|
5427
6062
|
prompt?: string | undefined;
|
|
6063
|
+
model?: string | undefined;
|
|
5428
6064
|
agentId?: string | undefined;
|
|
5429
6065
|
nickname?: string | undefined;
|
|
5430
6066
|
}[] | undefined;
|
|
@@ -5464,11 +6100,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5464
6100
|
createdAt: number;
|
|
5465
6101
|
archived: boolean;
|
|
5466
6102
|
lastActivityAt: number;
|
|
6103
|
+
title?: string | undefined;
|
|
5467
6104
|
agentSessionId?: string | undefined;
|
|
5468
6105
|
model?: string | undefined;
|
|
5469
6106
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5470
6107
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
5471
|
-
|
|
6108
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
5472
6109
|
lastMessagePreview?: string | undefined;
|
|
5473
6110
|
} | undefined;
|
|
5474
6111
|
item?: {
|
|
@@ -5540,8 +6177,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5540
6177
|
receiverAgents: {
|
|
5541
6178
|
threadId: string;
|
|
5542
6179
|
role?: string | undefined;
|
|
5543
|
-
model?: string | undefined;
|
|
5544
6180
|
prompt?: string | undefined;
|
|
6181
|
+
model?: string | undefined;
|
|
5545
6182
|
agentId?: string | undefined;
|
|
5546
6183
|
nickname?: string | undefined;
|
|
5547
6184
|
}[];
|
|
@@ -5550,8 +6187,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5550
6187
|
threadId: string;
|
|
5551
6188
|
message?: string | undefined;
|
|
5552
6189
|
}>;
|
|
5553
|
-
model?: string | undefined;
|
|
5554
6190
|
prompt?: string | undefined;
|
|
6191
|
+
model?: string | undefined;
|
|
5555
6192
|
} | undefined;
|
|
5556
6193
|
structuredInput?: {
|
|
5557
6194
|
requestId: string;
|
|
@@ -5636,8 +6273,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5636
6273
|
receiverAgents: {
|
|
5637
6274
|
threadId: string;
|
|
5638
6275
|
role?: string | undefined;
|
|
5639
|
-
model?: string | undefined;
|
|
5640
6276
|
prompt?: string | undefined;
|
|
6277
|
+
model?: string | undefined;
|
|
5641
6278
|
agentId?: string | undefined;
|
|
5642
6279
|
nickname?: string | undefined;
|
|
5643
6280
|
}[];
|
|
@@ -5646,8 +6283,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5646
6283
|
threadId: string;
|
|
5647
6284
|
message?: string | undefined;
|
|
5648
6285
|
}>;
|
|
5649
|
-
model?: string | undefined;
|
|
5650
6286
|
prompt?: string | undefined;
|
|
6287
|
+
model?: string | undefined;
|
|
5651
6288
|
} | undefined;
|
|
5652
6289
|
structuredInput?: {
|
|
5653
6290
|
requestId: string;
|
|
@@ -5678,11 +6315,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5678
6315
|
lastActivityAt: number;
|
|
5679
6316
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
5680
6317
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
6318
|
+
title?: string | undefined;
|
|
5681
6319
|
agentSessionId?: string | undefined;
|
|
5682
6320
|
model?: string | undefined;
|
|
5683
6321
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5684
6322
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
5685
|
-
|
|
6323
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
5686
6324
|
archived?: boolean | undefined;
|
|
5687
6325
|
lastMessagePreview?: string | undefined;
|
|
5688
6326
|
} | undefined;
|
|
@@ -5751,14 +6389,14 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5751
6389
|
subagent?: {
|
|
5752
6390
|
status: string;
|
|
5753
6391
|
tool: string;
|
|
5754
|
-
model?: string | undefined;
|
|
5755
6392
|
prompt?: string | undefined;
|
|
6393
|
+
model?: string | undefined;
|
|
5756
6394
|
receiverThreadIds?: string[] | undefined;
|
|
5757
6395
|
receiverAgents?: {
|
|
5758
6396
|
threadId: string;
|
|
5759
6397
|
role?: string | undefined;
|
|
5760
|
-
model?: string | undefined;
|
|
5761
6398
|
prompt?: string | undefined;
|
|
6399
|
+
model?: string | undefined;
|
|
5762
6400
|
agentId?: string | undefined;
|
|
5763
6401
|
nickname?: string | undefined;
|
|
5764
6402
|
}[] | undefined;
|
|
@@ -5847,14 +6485,14 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5847
6485
|
subagent?: {
|
|
5848
6486
|
status: string;
|
|
5849
6487
|
tool: string;
|
|
5850
|
-
model?: string | undefined;
|
|
5851
6488
|
prompt?: string | undefined;
|
|
6489
|
+
model?: string | undefined;
|
|
5852
6490
|
receiverThreadIds?: string[] | undefined;
|
|
5853
6491
|
receiverAgents?: {
|
|
5854
6492
|
threadId: string;
|
|
5855
6493
|
role?: string | undefined;
|
|
5856
|
-
model?: string | undefined;
|
|
5857
6494
|
prompt?: string | undefined;
|
|
6495
|
+
model?: string | undefined;
|
|
5858
6496
|
agentId?: string | undefined;
|
|
5859
6497
|
nickname?: string | undefined;
|
|
5860
6498
|
}[] | undefined;
|
|
@@ -6031,15 +6669,15 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6031
6669
|
}, "strip", z.ZodTypeAny, {
|
|
6032
6670
|
threadId: string;
|
|
6033
6671
|
role?: string | undefined;
|
|
6034
|
-
model?: string | undefined;
|
|
6035
6672
|
prompt?: string | undefined;
|
|
6673
|
+
model?: string | undefined;
|
|
6036
6674
|
agentId?: string | undefined;
|
|
6037
6675
|
nickname?: string | undefined;
|
|
6038
6676
|
}, {
|
|
6039
6677
|
threadId: string;
|
|
6040
6678
|
role?: string | undefined;
|
|
6041
|
-
model?: string | undefined;
|
|
6042
6679
|
prompt?: string | undefined;
|
|
6680
|
+
model?: string | undefined;
|
|
6043
6681
|
agentId?: string | undefined;
|
|
6044
6682
|
nickname?: string | undefined;
|
|
6045
6683
|
}>, "many">>;
|
|
@@ -6063,8 +6701,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6063
6701
|
receiverAgents: {
|
|
6064
6702
|
threadId: string;
|
|
6065
6703
|
role?: string | undefined;
|
|
6066
|
-
model?: string | undefined;
|
|
6067
6704
|
prompt?: string | undefined;
|
|
6705
|
+
model?: string | undefined;
|
|
6068
6706
|
agentId?: string | undefined;
|
|
6069
6707
|
nickname?: string | undefined;
|
|
6070
6708
|
}[];
|
|
@@ -6073,19 +6711,19 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6073
6711
|
threadId: string;
|
|
6074
6712
|
message?: string | undefined;
|
|
6075
6713
|
}>;
|
|
6076
|
-
model?: string | undefined;
|
|
6077
6714
|
prompt?: string | undefined;
|
|
6715
|
+
model?: string | undefined;
|
|
6078
6716
|
}, {
|
|
6079
6717
|
status: string;
|
|
6080
6718
|
tool: string;
|
|
6081
|
-
model?: string | undefined;
|
|
6082
6719
|
prompt?: string | undefined;
|
|
6720
|
+
model?: string | undefined;
|
|
6083
6721
|
receiverThreadIds?: string[] | undefined;
|
|
6084
6722
|
receiverAgents?: {
|
|
6085
6723
|
threadId: string;
|
|
6086
6724
|
role?: string | undefined;
|
|
6087
|
-
model?: string | undefined;
|
|
6088
6725
|
prompt?: string | undefined;
|
|
6726
|
+
model?: string | undefined;
|
|
6089
6727
|
agentId?: string | undefined;
|
|
6090
6728
|
nickname?: string | undefined;
|
|
6091
6729
|
}[] | undefined;
|
|
@@ -6300,8 +6938,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6300
6938
|
receiverAgents: {
|
|
6301
6939
|
threadId: string;
|
|
6302
6940
|
role?: string | undefined;
|
|
6303
|
-
model?: string | undefined;
|
|
6304
6941
|
prompt?: string | undefined;
|
|
6942
|
+
model?: string | undefined;
|
|
6305
6943
|
agentId?: string | undefined;
|
|
6306
6944
|
nickname?: string | undefined;
|
|
6307
6945
|
}[];
|
|
@@ -6310,8 +6948,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6310
6948
|
threadId: string;
|
|
6311
6949
|
message?: string | undefined;
|
|
6312
6950
|
}>;
|
|
6313
|
-
model?: string | undefined;
|
|
6314
6951
|
prompt?: string | undefined;
|
|
6952
|
+
model?: string | undefined;
|
|
6315
6953
|
} | undefined;
|
|
6316
6954
|
structuredInput?: {
|
|
6317
6955
|
requestId: string;
|
|
@@ -6396,14 +7034,14 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6396
7034
|
subagent?: {
|
|
6397
7035
|
status: string;
|
|
6398
7036
|
tool: string;
|
|
6399
|
-
model?: string | undefined;
|
|
6400
7037
|
prompt?: string | undefined;
|
|
7038
|
+
model?: string | undefined;
|
|
6401
7039
|
receiverThreadIds?: string[] | undefined;
|
|
6402
7040
|
receiverAgents?: {
|
|
6403
7041
|
threadId: string;
|
|
6404
7042
|
role?: string | undefined;
|
|
6405
|
-
model?: string | undefined;
|
|
6406
7043
|
prompt?: string | undefined;
|
|
7044
|
+
model?: string | undefined;
|
|
6407
7045
|
agentId?: string | undefined;
|
|
6408
7046
|
nickname?: string | undefined;
|
|
6409
7047
|
}[] | undefined;
|
|
@@ -6512,8 +7150,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6512
7150
|
receiverAgents: {
|
|
6513
7151
|
threadId: string;
|
|
6514
7152
|
role?: string | undefined;
|
|
6515
|
-
model?: string | undefined;
|
|
6516
7153
|
prompt?: string | undefined;
|
|
7154
|
+
model?: string | undefined;
|
|
6517
7155
|
agentId?: string | undefined;
|
|
6518
7156
|
nickname?: string | undefined;
|
|
6519
7157
|
}[];
|
|
@@ -6522,8 +7160,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6522
7160
|
threadId: string;
|
|
6523
7161
|
message?: string | undefined;
|
|
6524
7162
|
}>;
|
|
6525
|
-
model?: string | undefined;
|
|
6526
7163
|
prompt?: string | undefined;
|
|
7164
|
+
model?: string | undefined;
|
|
6527
7165
|
} | undefined;
|
|
6528
7166
|
structuredInput?: {
|
|
6529
7167
|
requestId: string;
|
|
@@ -6620,14 +7258,14 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6620
7258
|
subagent?: {
|
|
6621
7259
|
status: string;
|
|
6622
7260
|
tool: string;
|
|
6623
|
-
model?: string | undefined;
|
|
6624
7261
|
prompt?: string | undefined;
|
|
7262
|
+
model?: string | undefined;
|
|
6625
7263
|
receiverThreadIds?: string[] | undefined;
|
|
6626
7264
|
receiverAgents?: {
|
|
6627
7265
|
threadId: string;
|
|
6628
7266
|
role?: string | undefined;
|
|
6629
|
-
model?: string | undefined;
|
|
6630
7267
|
prompt?: string | undefined;
|
|
7268
|
+
model?: string | undefined;
|
|
6631
7269
|
agentId?: string | undefined;
|
|
6632
7270
|
nickname?: string | undefined;
|
|
6633
7271
|
}[] | undefined;
|
|
@@ -7223,6 +7861,60 @@ export declare const protocolMessageSchemas: {
|
|
|
7223
7861
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
7224
7862
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
7225
7863
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
7864
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7865
|
+
id: z.ZodString;
|
|
7866
|
+
name: z.ZodString;
|
|
7867
|
+
title: z.ZodString;
|
|
7868
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7869
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
7870
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
7871
|
+
category: z.ZodOptional<z.ZodString>;
|
|
7872
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
7873
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
7874
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
7875
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
7876
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
7877
|
+
}, "strip", z.ZodTypeAny, {
|
|
7878
|
+
id: string;
|
|
7879
|
+
name: string;
|
|
7880
|
+
title: string;
|
|
7881
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
7882
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
7883
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
7884
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7885
|
+
description?: string | undefined;
|
|
7886
|
+
category?: string | undefined;
|
|
7887
|
+
requiresIdle?: boolean | undefined;
|
|
7888
|
+
destructive?: boolean | undefined;
|
|
7889
|
+
disabledReason?: string | undefined;
|
|
7890
|
+
}, {
|
|
7891
|
+
id: string;
|
|
7892
|
+
name: string;
|
|
7893
|
+
title: string;
|
|
7894
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7895
|
+
description?: string | undefined;
|
|
7896
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
7897
|
+
category?: string | undefined;
|
|
7898
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
7899
|
+
requiresIdle?: boolean | undefined;
|
|
7900
|
+
destructive?: boolean | undefined;
|
|
7901
|
+
disabledReason?: string | undefined;
|
|
7902
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
7903
|
+
}>, "many">>;
|
|
7904
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7905
|
+
id: z.ZodString;
|
|
7906
|
+
title: z.ZodString;
|
|
7907
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7908
|
+
}, "strip", z.ZodTypeAny, {
|
|
7909
|
+
id: string;
|
|
7910
|
+
title: string;
|
|
7911
|
+
description?: string | undefined;
|
|
7912
|
+
}, {
|
|
7913
|
+
id: string;
|
|
7914
|
+
title: string;
|
|
7915
|
+
description?: string | undefined;
|
|
7916
|
+
}>, "many">>;
|
|
7917
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
7226
7918
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
7227
7919
|
}, "strip", z.ZodTypeAny, {
|
|
7228
7920
|
id: "claude" | "codex" | "custom";
|
|
@@ -7240,6 +7932,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7240
7932
|
defaultModel?: string | undefined;
|
|
7241
7933
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7242
7934
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
7935
|
+
commands?: {
|
|
7936
|
+
id: string;
|
|
7937
|
+
name: string;
|
|
7938
|
+
title: string;
|
|
7939
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
7940
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
7941
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
7942
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7943
|
+
description?: string | undefined;
|
|
7944
|
+
category?: string | undefined;
|
|
7945
|
+
requiresIdle?: boolean | undefined;
|
|
7946
|
+
destructive?: boolean | undefined;
|
|
7947
|
+
disabledReason?: string | undefined;
|
|
7948
|
+
}[] | undefined;
|
|
7949
|
+
modes?: {
|
|
7950
|
+
id: string;
|
|
7951
|
+
title: string;
|
|
7952
|
+
description?: string | undefined;
|
|
7953
|
+
}[] | undefined;
|
|
7954
|
+
currentMode?: string | undefined;
|
|
7243
7955
|
features?: Record<string, boolean> | undefined;
|
|
7244
7956
|
}, {
|
|
7245
7957
|
id: "claude" | "codex" | "custom";
|
|
@@ -7257,6 +7969,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7257
7969
|
defaultModel?: string | undefined;
|
|
7258
7970
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7259
7971
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
7972
|
+
commands?: {
|
|
7973
|
+
id: string;
|
|
7974
|
+
name: string;
|
|
7975
|
+
title: string;
|
|
7976
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7977
|
+
description?: string | undefined;
|
|
7978
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
7979
|
+
category?: string | undefined;
|
|
7980
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
7981
|
+
requiresIdle?: boolean | undefined;
|
|
7982
|
+
destructive?: boolean | undefined;
|
|
7983
|
+
disabledReason?: string | undefined;
|
|
7984
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
7985
|
+
}[] | undefined;
|
|
7986
|
+
modes?: {
|
|
7987
|
+
id: string;
|
|
7988
|
+
title: string;
|
|
7989
|
+
description?: string | undefined;
|
|
7990
|
+
}[] | undefined;
|
|
7991
|
+
currentMode?: string | undefined;
|
|
7260
7992
|
features?: Record<string, boolean> | undefined;
|
|
7261
7993
|
}>, "many">>;
|
|
7262
7994
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7297,6 +8029,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7297
8029
|
defaultModel?: string | undefined;
|
|
7298
8030
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7299
8031
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8032
|
+
commands?: {
|
|
8033
|
+
id: string;
|
|
8034
|
+
name: string;
|
|
8035
|
+
title: string;
|
|
8036
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8037
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8038
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8039
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8040
|
+
description?: string | undefined;
|
|
8041
|
+
category?: string | undefined;
|
|
8042
|
+
requiresIdle?: boolean | undefined;
|
|
8043
|
+
destructive?: boolean | undefined;
|
|
8044
|
+
disabledReason?: string | undefined;
|
|
8045
|
+
}[] | undefined;
|
|
8046
|
+
modes?: {
|
|
8047
|
+
id: string;
|
|
8048
|
+
title: string;
|
|
8049
|
+
description?: string | undefined;
|
|
8050
|
+
}[] | undefined;
|
|
8051
|
+
currentMode?: string | undefined;
|
|
7300
8052
|
features?: Record<string, boolean> | undefined;
|
|
7301
8053
|
}[] | undefined;
|
|
7302
8054
|
}, {
|
|
@@ -7325,6 +8077,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7325
8077
|
defaultModel?: string | undefined;
|
|
7326
8078
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7327
8079
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8080
|
+
commands?: {
|
|
8081
|
+
id: string;
|
|
8082
|
+
name: string;
|
|
8083
|
+
title: string;
|
|
8084
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8085
|
+
description?: string | undefined;
|
|
8086
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8087
|
+
category?: string | undefined;
|
|
8088
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8089
|
+
requiresIdle?: boolean | undefined;
|
|
8090
|
+
destructive?: boolean | undefined;
|
|
8091
|
+
disabledReason?: string | undefined;
|
|
8092
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8093
|
+
}[] | undefined;
|
|
8094
|
+
modes?: {
|
|
8095
|
+
id: string;
|
|
8096
|
+
title: string;
|
|
8097
|
+
description?: string | undefined;
|
|
8098
|
+
}[] | undefined;
|
|
8099
|
+
currentMode?: string | undefined;
|
|
7328
8100
|
features?: Record<string, boolean> | undefined;
|
|
7329
8101
|
}[] | undefined;
|
|
7330
8102
|
supportsSessionList?: boolean | undefined;
|
|
@@ -7609,6 +8381,60 @@ export declare const protocolMessageSchemas: {
|
|
|
7609
8381
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
7610
8382
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
7611
8383
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
8384
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8385
|
+
id: z.ZodString;
|
|
8386
|
+
name: z.ZodString;
|
|
8387
|
+
title: z.ZodString;
|
|
8388
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8389
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
8390
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
8391
|
+
category: z.ZodOptional<z.ZodString>;
|
|
8392
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
8393
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
8394
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
8395
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
8396
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
8397
|
+
}, "strip", z.ZodTypeAny, {
|
|
8398
|
+
id: string;
|
|
8399
|
+
name: string;
|
|
8400
|
+
title: string;
|
|
8401
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8402
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8403
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8404
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8405
|
+
description?: string | undefined;
|
|
8406
|
+
category?: string | undefined;
|
|
8407
|
+
requiresIdle?: boolean | undefined;
|
|
8408
|
+
destructive?: boolean | undefined;
|
|
8409
|
+
disabledReason?: string | undefined;
|
|
8410
|
+
}, {
|
|
8411
|
+
id: string;
|
|
8412
|
+
name: string;
|
|
8413
|
+
title: string;
|
|
8414
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8415
|
+
description?: string | undefined;
|
|
8416
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8417
|
+
category?: string | undefined;
|
|
8418
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8419
|
+
requiresIdle?: boolean | undefined;
|
|
8420
|
+
destructive?: boolean | undefined;
|
|
8421
|
+
disabledReason?: string | undefined;
|
|
8422
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8423
|
+
}>, "many">>;
|
|
8424
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8425
|
+
id: z.ZodString;
|
|
8426
|
+
title: z.ZodString;
|
|
8427
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8428
|
+
}, "strip", z.ZodTypeAny, {
|
|
8429
|
+
id: string;
|
|
8430
|
+
title: string;
|
|
8431
|
+
description?: string | undefined;
|
|
8432
|
+
}, {
|
|
8433
|
+
id: string;
|
|
8434
|
+
title: string;
|
|
8435
|
+
description?: string | undefined;
|
|
8436
|
+
}>, "many">>;
|
|
8437
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
7612
8438
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
7613
8439
|
}, "strip", z.ZodTypeAny, {
|
|
7614
8440
|
id: "claude" | "codex" | "custom";
|
|
@@ -7626,6 +8452,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7626
8452
|
defaultModel?: string | undefined;
|
|
7627
8453
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7628
8454
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8455
|
+
commands?: {
|
|
8456
|
+
id: string;
|
|
8457
|
+
name: string;
|
|
8458
|
+
title: string;
|
|
8459
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8460
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8461
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8462
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8463
|
+
description?: string | undefined;
|
|
8464
|
+
category?: string | undefined;
|
|
8465
|
+
requiresIdle?: boolean | undefined;
|
|
8466
|
+
destructive?: boolean | undefined;
|
|
8467
|
+
disabledReason?: string | undefined;
|
|
8468
|
+
}[] | undefined;
|
|
8469
|
+
modes?: {
|
|
8470
|
+
id: string;
|
|
8471
|
+
title: string;
|
|
8472
|
+
description?: string | undefined;
|
|
8473
|
+
}[] | undefined;
|
|
8474
|
+
currentMode?: string | undefined;
|
|
7629
8475
|
features?: Record<string, boolean> | undefined;
|
|
7630
8476
|
}, {
|
|
7631
8477
|
id: "claude" | "codex" | "custom";
|
|
@@ -7643,6 +8489,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7643
8489
|
defaultModel?: string | undefined;
|
|
7644
8490
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7645
8491
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8492
|
+
commands?: {
|
|
8493
|
+
id: string;
|
|
8494
|
+
name: string;
|
|
8495
|
+
title: string;
|
|
8496
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8497
|
+
description?: string | undefined;
|
|
8498
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8499
|
+
category?: string | undefined;
|
|
8500
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8501
|
+
requiresIdle?: boolean | undefined;
|
|
8502
|
+
destructive?: boolean | undefined;
|
|
8503
|
+
disabledReason?: string | undefined;
|
|
8504
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8505
|
+
}[] | undefined;
|
|
8506
|
+
modes?: {
|
|
8507
|
+
id: string;
|
|
8508
|
+
title: string;
|
|
8509
|
+
description?: string | undefined;
|
|
8510
|
+
}[] | undefined;
|
|
8511
|
+
currentMode?: string | undefined;
|
|
7646
8512
|
features?: Record<string, boolean> | undefined;
|
|
7647
8513
|
}>, "many">>;
|
|
7648
8514
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7683,6 +8549,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7683
8549
|
defaultModel?: string | undefined;
|
|
7684
8550
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7685
8551
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8552
|
+
commands?: {
|
|
8553
|
+
id: string;
|
|
8554
|
+
name: string;
|
|
8555
|
+
title: string;
|
|
8556
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8557
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8558
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8559
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8560
|
+
description?: string | undefined;
|
|
8561
|
+
category?: string | undefined;
|
|
8562
|
+
requiresIdle?: boolean | undefined;
|
|
8563
|
+
destructive?: boolean | undefined;
|
|
8564
|
+
disabledReason?: string | undefined;
|
|
8565
|
+
}[] | undefined;
|
|
8566
|
+
modes?: {
|
|
8567
|
+
id: string;
|
|
8568
|
+
title: string;
|
|
8569
|
+
description?: string | undefined;
|
|
8570
|
+
}[] | undefined;
|
|
8571
|
+
currentMode?: string | undefined;
|
|
7686
8572
|
features?: Record<string, boolean> | undefined;
|
|
7687
8573
|
}[] | undefined;
|
|
7688
8574
|
}, {
|
|
@@ -7711,6 +8597,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7711
8597
|
defaultModel?: string | undefined;
|
|
7712
8598
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7713
8599
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8600
|
+
commands?: {
|
|
8601
|
+
id: string;
|
|
8602
|
+
name: string;
|
|
8603
|
+
title: string;
|
|
8604
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8605
|
+
description?: string | undefined;
|
|
8606
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8607
|
+
category?: string | undefined;
|
|
8608
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8609
|
+
requiresIdle?: boolean | undefined;
|
|
8610
|
+
destructive?: boolean | undefined;
|
|
8611
|
+
disabledReason?: string | undefined;
|
|
8612
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8613
|
+
}[] | undefined;
|
|
8614
|
+
modes?: {
|
|
8615
|
+
id: string;
|
|
8616
|
+
title: string;
|
|
8617
|
+
description?: string | undefined;
|
|
8618
|
+
}[] | undefined;
|
|
8619
|
+
currentMode?: string | undefined;
|
|
7714
8620
|
features?: Record<string, boolean> | undefined;
|
|
7715
8621
|
}[] | undefined;
|
|
7716
8622
|
supportsSessionList?: boolean | undefined;
|
|
@@ -7858,6 +8764,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7858
8764
|
defaultModel?: string | undefined;
|
|
7859
8765
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7860
8766
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8767
|
+
commands?: {
|
|
8768
|
+
id: string;
|
|
8769
|
+
name: string;
|
|
8770
|
+
title: string;
|
|
8771
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8772
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8773
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8774
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8775
|
+
description?: string | undefined;
|
|
8776
|
+
category?: string | undefined;
|
|
8777
|
+
requiresIdle?: boolean | undefined;
|
|
8778
|
+
destructive?: boolean | undefined;
|
|
8779
|
+
disabledReason?: string | undefined;
|
|
8780
|
+
}[] | undefined;
|
|
8781
|
+
modes?: {
|
|
8782
|
+
id: string;
|
|
8783
|
+
title: string;
|
|
8784
|
+
description?: string | undefined;
|
|
8785
|
+
}[] | undefined;
|
|
8786
|
+
currentMode?: string | undefined;
|
|
7861
8787
|
features?: Record<string, boolean> | undefined;
|
|
7862
8788
|
}[] | undefined;
|
|
7863
8789
|
} | undefined;
|
|
@@ -7891,6 +8817,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7891
8817
|
defaultModel?: string | undefined;
|
|
7892
8818
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7893
8819
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8820
|
+
commands?: {
|
|
8821
|
+
id: string;
|
|
8822
|
+
name: string;
|
|
8823
|
+
title: string;
|
|
8824
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8825
|
+
description?: string | undefined;
|
|
8826
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8827
|
+
category?: string | undefined;
|
|
8828
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8829
|
+
requiresIdle?: boolean | undefined;
|
|
8830
|
+
destructive?: boolean | undefined;
|
|
8831
|
+
disabledReason?: string | undefined;
|
|
8832
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8833
|
+
}[] | undefined;
|
|
8834
|
+
modes?: {
|
|
8835
|
+
id: string;
|
|
8836
|
+
title: string;
|
|
8837
|
+
description?: string | undefined;
|
|
8838
|
+
}[] | undefined;
|
|
8839
|
+
currentMode?: string | undefined;
|
|
7894
8840
|
features?: Record<string, boolean> | undefined;
|
|
7895
8841
|
}[] | undefined;
|
|
7896
8842
|
supportsSessionList?: boolean | undefined;
|
|
@@ -7951,6 +8897,60 @@ export declare const protocolMessageSchemas: {
|
|
|
7951
8897
|
defaultModel: z.ZodOptional<z.ZodString>;
|
|
7952
8898
|
reasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>, "many">>;
|
|
7953
8899
|
permissionModes: z.ZodOptional<z.ZodArray<z.ZodEnum<["read_only", "workspace_write", "full_access"]>, "many">>;
|
|
8900
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8901
|
+
id: z.ZodString;
|
|
8902
|
+
name: z.ZodString;
|
|
8903
|
+
title: z.ZodString;
|
|
8904
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8905
|
+
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
8906
|
+
source: z.ZodDefault<z.ZodEnum<["built_in", "custom", "project", "user", "linkshell"]>>;
|
|
8907
|
+
category: z.ZodOptional<z.ZodString>;
|
|
8908
|
+
argsMode: z.ZodDefault<z.ZodEnum<["none", "optional", "required", "raw"]>>;
|
|
8909
|
+
requiresIdle: z.ZodOptional<z.ZodBoolean>;
|
|
8910
|
+
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
8911
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
8912
|
+
executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
|
|
8913
|
+
}, "strip", z.ZodTypeAny, {
|
|
8914
|
+
id: string;
|
|
8915
|
+
name: string;
|
|
8916
|
+
title: string;
|
|
8917
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8918
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8919
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8920
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8921
|
+
description?: string | undefined;
|
|
8922
|
+
category?: string | undefined;
|
|
8923
|
+
requiresIdle?: boolean | undefined;
|
|
8924
|
+
destructive?: boolean | undefined;
|
|
8925
|
+
disabledReason?: string | undefined;
|
|
8926
|
+
}, {
|
|
8927
|
+
id: string;
|
|
8928
|
+
name: string;
|
|
8929
|
+
title: string;
|
|
8930
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8931
|
+
description?: string | undefined;
|
|
8932
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
8933
|
+
category?: string | undefined;
|
|
8934
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
8935
|
+
requiresIdle?: boolean | undefined;
|
|
8936
|
+
destructive?: boolean | undefined;
|
|
8937
|
+
disabledReason?: string | undefined;
|
|
8938
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
8939
|
+
}>, "many">>;
|
|
8940
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8941
|
+
id: z.ZodString;
|
|
8942
|
+
title: z.ZodString;
|
|
8943
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8944
|
+
}, "strip", z.ZodTypeAny, {
|
|
8945
|
+
id: string;
|
|
8946
|
+
title: string;
|
|
8947
|
+
description?: string | undefined;
|
|
8948
|
+
}, {
|
|
8949
|
+
id: string;
|
|
8950
|
+
title: string;
|
|
8951
|
+
description?: string | undefined;
|
|
8952
|
+
}>, "many">>;
|
|
8953
|
+
currentMode: z.ZodOptional<z.ZodString>;
|
|
7954
8954
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
7955
8955
|
}, "strip", z.ZodTypeAny, {
|
|
7956
8956
|
id: "claude" | "codex" | "custom";
|
|
@@ -7968,6 +8968,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7968
8968
|
defaultModel?: string | undefined;
|
|
7969
8969
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7970
8970
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
8971
|
+
commands?: {
|
|
8972
|
+
id: string;
|
|
8973
|
+
name: string;
|
|
8974
|
+
title: string;
|
|
8975
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
8976
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
8977
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
8978
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8979
|
+
description?: string | undefined;
|
|
8980
|
+
category?: string | undefined;
|
|
8981
|
+
requiresIdle?: boolean | undefined;
|
|
8982
|
+
destructive?: boolean | undefined;
|
|
8983
|
+
disabledReason?: string | undefined;
|
|
8984
|
+
}[] | undefined;
|
|
8985
|
+
modes?: {
|
|
8986
|
+
id: string;
|
|
8987
|
+
title: string;
|
|
8988
|
+
description?: string | undefined;
|
|
8989
|
+
}[] | undefined;
|
|
8990
|
+
currentMode?: string | undefined;
|
|
7971
8991
|
features?: Record<string, boolean> | undefined;
|
|
7972
8992
|
}, {
|
|
7973
8993
|
id: "claude" | "codex" | "custom";
|
|
@@ -7985,6 +9005,26 @@ export declare const protocolMessageSchemas: {
|
|
|
7985
9005
|
defaultModel?: string | undefined;
|
|
7986
9006
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
7987
9007
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9008
|
+
commands?: {
|
|
9009
|
+
id: string;
|
|
9010
|
+
name: string;
|
|
9011
|
+
title: string;
|
|
9012
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
9013
|
+
description?: string | undefined;
|
|
9014
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
9015
|
+
category?: string | undefined;
|
|
9016
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
9017
|
+
requiresIdle?: boolean | undefined;
|
|
9018
|
+
destructive?: boolean | undefined;
|
|
9019
|
+
disabledReason?: string | undefined;
|
|
9020
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
9021
|
+
}[] | undefined;
|
|
9022
|
+
modes?: {
|
|
9023
|
+
id: string;
|
|
9024
|
+
title: string;
|
|
9025
|
+
description?: string | undefined;
|
|
9026
|
+
}[] | undefined;
|
|
9027
|
+
currentMode?: string | undefined;
|
|
7988
9028
|
features?: Record<string, boolean> | undefined;
|
|
7989
9029
|
}>, "many">>;
|
|
7990
9030
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8028,6 +9068,26 @@ export declare const protocolMessageSchemas: {
|
|
|
8028
9068
|
defaultModel?: string | undefined;
|
|
8029
9069
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
8030
9070
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9071
|
+
commands?: {
|
|
9072
|
+
id: string;
|
|
9073
|
+
name: string;
|
|
9074
|
+
title: string;
|
|
9075
|
+
source: "custom" | "built_in" | "project" | "user" | "linkshell";
|
|
9076
|
+
argsMode: "none" | "optional" | "required" | "raw";
|
|
9077
|
+
executionKind: "prompt" | "native" | "local_ui";
|
|
9078
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
9079
|
+
description?: string | undefined;
|
|
9080
|
+
category?: string | undefined;
|
|
9081
|
+
requiresIdle?: boolean | undefined;
|
|
9082
|
+
destructive?: boolean | undefined;
|
|
9083
|
+
disabledReason?: string | undefined;
|
|
9084
|
+
}[] | undefined;
|
|
9085
|
+
modes?: {
|
|
9086
|
+
id: string;
|
|
9087
|
+
title: string;
|
|
9088
|
+
description?: string | undefined;
|
|
9089
|
+
}[] | undefined;
|
|
9090
|
+
currentMode?: string | undefined;
|
|
8031
9091
|
features?: Record<string, boolean> | undefined;
|
|
8032
9092
|
}[] | undefined;
|
|
8033
9093
|
}, {
|
|
@@ -8056,6 +9116,26 @@ export declare const protocolMessageSchemas: {
|
|
|
8056
9116
|
defaultModel?: string | undefined;
|
|
8057
9117
|
reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
|
|
8058
9118
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9119
|
+
commands?: {
|
|
9120
|
+
id: string;
|
|
9121
|
+
name: string;
|
|
9122
|
+
title: string;
|
|
9123
|
+
provider?: "claude" | "codex" | "custom" | undefined;
|
|
9124
|
+
description?: string | undefined;
|
|
9125
|
+
source?: "custom" | "built_in" | "project" | "user" | "linkshell" | undefined;
|
|
9126
|
+
category?: string | undefined;
|
|
9127
|
+
argsMode?: "none" | "optional" | "required" | "raw" | undefined;
|
|
9128
|
+
requiresIdle?: boolean | undefined;
|
|
9129
|
+
destructive?: boolean | undefined;
|
|
9130
|
+
disabledReason?: string | undefined;
|
|
9131
|
+
executionKind?: "prompt" | "native" | "local_ui" | undefined;
|
|
9132
|
+
}[] | undefined;
|
|
9133
|
+
modes?: {
|
|
9134
|
+
id: string;
|
|
9135
|
+
title: string;
|
|
9136
|
+
description?: string | undefined;
|
|
9137
|
+
}[] | undefined;
|
|
9138
|
+
currentMode?: string | undefined;
|
|
8059
9139
|
features?: Record<string, boolean> | undefined;
|
|
8060
9140
|
}[] | undefined;
|
|
8061
9141
|
supportsSessionList?: boolean | undefined;
|
|
@@ -8071,25 +9151,28 @@ export declare const protocolMessageSchemas: {
|
|
|
8071
9151
|
model: z.ZodOptional<z.ZodString>;
|
|
8072
9152
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
8073
9153
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
9154
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
8074
9155
|
title: z.ZodOptional<z.ZodString>;
|
|
8075
9156
|
}, "strip", z.ZodTypeAny, {
|
|
8076
9157
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8077
9158
|
cwd?: string | undefined;
|
|
9159
|
+
title?: string | undefined;
|
|
8078
9160
|
agentSessionId?: string | undefined;
|
|
8079
9161
|
model?: string | undefined;
|
|
8080
9162
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8081
9163
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8082
9164
|
conversationId?: string | undefined;
|
|
8083
|
-
|
|
9165
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8084
9166
|
}, {
|
|
8085
9167
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
8086
9168
|
cwd?: string | undefined;
|
|
9169
|
+
title?: string | undefined;
|
|
8087
9170
|
agentSessionId?: string | undefined;
|
|
8088
9171
|
model?: string | undefined;
|
|
8089
9172
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8090
9173
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8091
9174
|
conversationId?: string | undefined;
|
|
8092
|
-
|
|
9175
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8093
9176
|
}>;
|
|
8094
9177
|
readonly "agent.v2.conversation.opened": z.ZodObject<{
|
|
8095
9178
|
conversation: z.ZodObject<{
|
|
@@ -8101,6 +9184,7 @@ export declare const protocolMessageSchemas: {
|
|
|
8101
9184
|
model: z.ZodOptional<z.ZodString>;
|
|
8102
9185
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
8103
9186
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
9187
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
8104
9188
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
8105
9189
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
8106
9190
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -8114,11 +9198,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8114
9198
|
createdAt: number;
|
|
8115
9199
|
archived: boolean;
|
|
8116
9200
|
lastActivityAt: number;
|
|
9201
|
+
title?: string | undefined;
|
|
8117
9202
|
agentSessionId?: string | undefined;
|
|
8118
9203
|
model?: string | undefined;
|
|
8119
9204
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8120
9205
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8121
|
-
|
|
9206
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8122
9207
|
lastMessagePreview?: string | undefined;
|
|
8123
9208
|
}, {
|
|
8124
9209
|
id: string;
|
|
@@ -8127,11 +9212,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8127
9212
|
lastActivityAt: number;
|
|
8128
9213
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
8129
9214
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
9215
|
+
title?: string | undefined;
|
|
8130
9216
|
agentSessionId?: string | undefined;
|
|
8131
9217
|
model?: string | undefined;
|
|
8132
9218
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8133
9219
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8134
|
-
|
|
9220
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8135
9221
|
archived?: boolean | undefined;
|
|
8136
9222
|
lastMessagePreview?: string | undefined;
|
|
8137
9223
|
}>;
|
|
@@ -8261,15 +9347,15 @@ export declare const protocolMessageSchemas: {
|
|
|
8261
9347
|
}, "strip", z.ZodTypeAny, {
|
|
8262
9348
|
threadId: string;
|
|
8263
9349
|
role?: string | undefined;
|
|
8264
|
-
model?: string | undefined;
|
|
8265
9350
|
prompt?: string | undefined;
|
|
9351
|
+
model?: string | undefined;
|
|
8266
9352
|
agentId?: string | undefined;
|
|
8267
9353
|
nickname?: string | undefined;
|
|
8268
9354
|
}, {
|
|
8269
9355
|
threadId: string;
|
|
8270
9356
|
role?: string | undefined;
|
|
8271
|
-
model?: string | undefined;
|
|
8272
9357
|
prompt?: string | undefined;
|
|
9358
|
+
model?: string | undefined;
|
|
8273
9359
|
agentId?: string | undefined;
|
|
8274
9360
|
nickname?: string | undefined;
|
|
8275
9361
|
}>, "many">>;
|
|
@@ -8293,8 +9379,8 @@ export declare const protocolMessageSchemas: {
|
|
|
8293
9379
|
receiverAgents: {
|
|
8294
9380
|
threadId: string;
|
|
8295
9381
|
role?: string | undefined;
|
|
8296
|
-
model?: string | undefined;
|
|
8297
9382
|
prompt?: string | undefined;
|
|
9383
|
+
model?: string | undefined;
|
|
8298
9384
|
agentId?: string | undefined;
|
|
8299
9385
|
nickname?: string | undefined;
|
|
8300
9386
|
}[];
|
|
@@ -8303,19 +9389,19 @@ export declare const protocolMessageSchemas: {
|
|
|
8303
9389
|
threadId: string;
|
|
8304
9390
|
message?: string | undefined;
|
|
8305
9391
|
}>;
|
|
8306
|
-
model?: string | undefined;
|
|
8307
9392
|
prompt?: string | undefined;
|
|
9393
|
+
model?: string | undefined;
|
|
8308
9394
|
}, {
|
|
8309
9395
|
status: string;
|
|
8310
9396
|
tool: string;
|
|
8311
|
-
model?: string | undefined;
|
|
8312
9397
|
prompt?: string | undefined;
|
|
9398
|
+
model?: string | undefined;
|
|
8313
9399
|
receiverThreadIds?: string[] | undefined;
|
|
8314
9400
|
receiverAgents?: {
|
|
8315
9401
|
threadId: string;
|
|
8316
9402
|
role?: string | undefined;
|
|
8317
|
-
model?: string | undefined;
|
|
8318
9403
|
prompt?: string | undefined;
|
|
9404
|
+
model?: string | undefined;
|
|
8319
9405
|
agentId?: string | undefined;
|
|
8320
9406
|
nickname?: string | undefined;
|
|
8321
9407
|
}[] | undefined;
|
|
@@ -8530,8 +9616,8 @@ export declare const protocolMessageSchemas: {
|
|
|
8530
9616
|
receiverAgents: {
|
|
8531
9617
|
threadId: string;
|
|
8532
9618
|
role?: string | undefined;
|
|
8533
|
-
model?: string | undefined;
|
|
8534
9619
|
prompt?: string | undefined;
|
|
9620
|
+
model?: string | undefined;
|
|
8535
9621
|
agentId?: string | undefined;
|
|
8536
9622
|
nickname?: string | undefined;
|
|
8537
9623
|
}[];
|
|
@@ -8540,8 +9626,8 @@ export declare const protocolMessageSchemas: {
|
|
|
8540
9626
|
threadId: string;
|
|
8541
9627
|
message?: string | undefined;
|
|
8542
9628
|
}>;
|
|
8543
|
-
model?: string | undefined;
|
|
8544
9629
|
prompt?: string | undefined;
|
|
9630
|
+
model?: string | undefined;
|
|
8545
9631
|
} | undefined;
|
|
8546
9632
|
structuredInput?: {
|
|
8547
9633
|
requestId: string;
|
|
@@ -8626,14 +9712,14 @@ export declare const protocolMessageSchemas: {
|
|
|
8626
9712
|
subagent?: {
|
|
8627
9713
|
status: string;
|
|
8628
9714
|
tool: string;
|
|
8629
|
-
model?: string | undefined;
|
|
8630
9715
|
prompt?: string | undefined;
|
|
9716
|
+
model?: string | undefined;
|
|
8631
9717
|
receiverThreadIds?: string[] | undefined;
|
|
8632
9718
|
receiverAgents?: {
|
|
8633
9719
|
threadId: string;
|
|
8634
9720
|
role?: string | undefined;
|
|
8635
|
-
model?: string | undefined;
|
|
8636
9721
|
prompt?: string | undefined;
|
|
9722
|
+
model?: string | undefined;
|
|
8637
9723
|
agentId?: string | undefined;
|
|
8638
9724
|
nickname?: string | undefined;
|
|
8639
9725
|
}[] | undefined;
|
|
@@ -8671,11 +9757,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8671
9757
|
createdAt: number;
|
|
8672
9758
|
archived: boolean;
|
|
8673
9759
|
lastActivityAt: number;
|
|
9760
|
+
title?: string | undefined;
|
|
8674
9761
|
agentSessionId?: string | undefined;
|
|
8675
9762
|
model?: string | undefined;
|
|
8676
9763
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8677
9764
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8678
|
-
|
|
9765
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8679
9766
|
lastMessagePreview?: string | undefined;
|
|
8680
9767
|
};
|
|
8681
9768
|
snapshot: {
|
|
@@ -8747,8 +9834,8 @@ export declare const protocolMessageSchemas: {
|
|
|
8747
9834
|
receiverAgents: {
|
|
8748
9835
|
threadId: string;
|
|
8749
9836
|
role?: string | undefined;
|
|
8750
|
-
model?: string | undefined;
|
|
8751
9837
|
prompt?: string | undefined;
|
|
9838
|
+
model?: string | undefined;
|
|
8752
9839
|
agentId?: string | undefined;
|
|
8753
9840
|
nickname?: string | undefined;
|
|
8754
9841
|
}[];
|
|
@@ -8757,8 +9844,8 @@ export declare const protocolMessageSchemas: {
|
|
|
8757
9844
|
threadId: string;
|
|
8758
9845
|
message?: string | undefined;
|
|
8759
9846
|
}>;
|
|
8760
|
-
model?: string | undefined;
|
|
8761
9847
|
prompt?: string | undefined;
|
|
9848
|
+
model?: string | undefined;
|
|
8762
9849
|
} | undefined;
|
|
8763
9850
|
structuredInput?: {
|
|
8764
9851
|
requestId: string;
|
|
@@ -8787,11 +9874,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8787
9874
|
lastActivityAt: number;
|
|
8788
9875
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
8789
9876
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
9877
|
+
title?: string | undefined;
|
|
8790
9878
|
agentSessionId?: string | undefined;
|
|
8791
9879
|
model?: string | undefined;
|
|
8792
9880
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8793
9881
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8794
|
-
|
|
9882
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8795
9883
|
archived?: boolean | undefined;
|
|
8796
9884
|
lastMessagePreview?: string | undefined;
|
|
8797
9885
|
};
|
|
@@ -8860,14 +9948,14 @@ export declare const protocolMessageSchemas: {
|
|
|
8860
9948
|
subagent?: {
|
|
8861
9949
|
status: string;
|
|
8862
9950
|
tool: string;
|
|
8863
|
-
model?: string | undefined;
|
|
8864
9951
|
prompt?: string | undefined;
|
|
9952
|
+
model?: string | undefined;
|
|
8865
9953
|
receiverThreadIds?: string[] | undefined;
|
|
8866
9954
|
receiverAgents?: {
|
|
8867
9955
|
threadId: string;
|
|
8868
9956
|
role?: string | undefined;
|
|
8869
|
-
model?: string | undefined;
|
|
8870
9957
|
prompt?: string | undefined;
|
|
9958
|
+
model?: string | undefined;
|
|
8871
9959
|
agentId?: string | undefined;
|
|
8872
9960
|
nickname?: string | undefined;
|
|
8873
9961
|
}[] | undefined;
|
|
@@ -8914,6 +10002,7 @@ export declare const protocolMessageSchemas: {
|
|
|
8914
10002
|
model: z.ZodOptional<z.ZodString>;
|
|
8915
10003
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
8916
10004
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
10005
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
8917
10006
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
8918
10007
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
8919
10008
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -8927,11 +10016,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8927
10016
|
createdAt: number;
|
|
8928
10017
|
archived: boolean;
|
|
8929
10018
|
lastActivityAt: number;
|
|
10019
|
+
title?: string | undefined;
|
|
8930
10020
|
agentSessionId?: string | undefined;
|
|
8931
10021
|
model?: string | undefined;
|
|
8932
10022
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8933
10023
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8934
|
-
|
|
10024
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8935
10025
|
lastMessagePreview?: string | undefined;
|
|
8936
10026
|
}, {
|
|
8937
10027
|
id: string;
|
|
@@ -8940,11 +10030,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8940
10030
|
lastActivityAt: number;
|
|
8941
10031
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
8942
10032
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
10033
|
+
title?: string | undefined;
|
|
8943
10034
|
agentSessionId?: string | undefined;
|
|
8944
10035
|
model?: string | undefined;
|
|
8945
10036
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8946
10037
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8947
|
-
|
|
10038
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8948
10039
|
archived?: boolean | undefined;
|
|
8949
10040
|
lastMessagePreview?: string | undefined;
|
|
8950
10041
|
}>, "many">;
|
|
@@ -8957,11 +10048,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8957
10048
|
createdAt: number;
|
|
8958
10049
|
archived: boolean;
|
|
8959
10050
|
lastActivityAt: number;
|
|
10051
|
+
title?: string | undefined;
|
|
8960
10052
|
agentSessionId?: string | undefined;
|
|
8961
10053
|
model?: string | undefined;
|
|
8962
10054
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8963
10055
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8964
|
-
|
|
10056
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8965
10057
|
lastMessagePreview?: string | undefined;
|
|
8966
10058
|
}[];
|
|
8967
10059
|
}, {
|
|
@@ -8972,11 +10064,12 @@ export declare const protocolMessageSchemas: {
|
|
|
8972
10064
|
lastActivityAt: number;
|
|
8973
10065
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
8974
10066
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
10067
|
+
title?: string | undefined;
|
|
8975
10068
|
agentSessionId?: string | undefined;
|
|
8976
10069
|
model?: string | undefined;
|
|
8977
10070
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8978
10071
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8979
|
-
|
|
10072
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
8980
10073
|
archived?: boolean | undefined;
|
|
8981
10074
|
lastMessagePreview?: string | undefined;
|
|
8982
10075
|
}[];
|
|
@@ -9003,6 +10096,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9003
10096
|
model: z.ZodOptional<z.ZodString>;
|
|
9004
10097
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
9005
10098
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
10099
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
9006
10100
|
}, "strip", z.ZodTypeAny, {
|
|
9007
10101
|
clientMessageId: string;
|
|
9008
10102
|
contentBlocks: {
|
|
@@ -9015,6 +10109,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9015
10109
|
model?: string | undefined;
|
|
9016
10110
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
9017
10111
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10112
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
9018
10113
|
}, {
|
|
9019
10114
|
clientMessageId: string;
|
|
9020
10115
|
contentBlocks: {
|
|
@@ -9027,6 +10122,26 @@ export declare const protocolMessageSchemas: {
|
|
|
9027
10122
|
model?: string | undefined;
|
|
9028
10123
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
9029
10124
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10125
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
10126
|
+
}>;
|
|
10127
|
+
readonly "agent.v2.command.execute": z.ZodObject<{
|
|
10128
|
+
conversationId: z.ZodString;
|
|
10129
|
+
commandId: z.ZodString;
|
|
10130
|
+
rawText: z.ZodOptional<z.ZodString>;
|
|
10131
|
+
args: z.ZodOptional<z.ZodString>;
|
|
10132
|
+
clientMessageId: z.ZodString;
|
|
10133
|
+
}, "strip", z.ZodTypeAny, {
|
|
10134
|
+
clientMessageId: string;
|
|
10135
|
+
conversationId: string;
|
|
10136
|
+
commandId: string;
|
|
10137
|
+
rawText?: string | undefined;
|
|
10138
|
+
args?: string | undefined;
|
|
10139
|
+
}, {
|
|
10140
|
+
clientMessageId: string;
|
|
10141
|
+
conversationId: string;
|
|
10142
|
+
commandId: string;
|
|
10143
|
+
rawText?: string | undefined;
|
|
10144
|
+
args?: string | undefined;
|
|
9030
10145
|
}>;
|
|
9031
10146
|
readonly "agent.v2.cancel": z.ZodObject<{
|
|
9032
10147
|
conversationId: z.ZodString;
|
|
@@ -9197,15 +10312,15 @@ export declare const protocolMessageSchemas: {
|
|
|
9197
10312
|
}, "strip", z.ZodTypeAny, {
|
|
9198
10313
|
threadId: string;
|
|
9199
10314
|
role?: string | undefined;
|
|
9200
|
-
model?: string | undefined;
|
|
9201
10315
|
prompt?: string | undefined;
|
|
10316
|
+
model?: string | undefined;
|
|
9202
10317
|
agentId?: string | undefined;
|
|
9203
10318
|
nickname?: string | undefined;
|
|
9204
10319
|
}, {
|
|
9205
10320
|
threadId: string;
|
|
9206
10321
|
role?: string | undefined;
|
|
9207
|
-
model?: string | undefined;
|
|
9208
10322
|
prompt?: string | undefined;
|
|
10323
|
+
model?: string | undefined;
|
|
9209
10324
|
agentId?: string | undefined;
|
|
9210
10325
|
nickname?: string | undefined;
|
|
9211
10326
|
}>, "many">>;
|
|
@@ -9229,8 +10344,8 @@ export declare const protocolMessageSchemas: {
|
|
|
9229
10344
|
receiverAgents: {
|
|
9230
10345
|
threadId: string;
|
|
9231
10346
|
role?: string | undefined;
|
|
9232
|
-
model?: string | undefined;
|
|
9233
10347
|
prompt?: string | undefined;
|
|
10348
|
+
model?: string | undefined;
|
|
9234
10349
|
agentId?: string | undefined;
|
|
9235
10350
|
nickname?: string | undefined;
|
|
9236
10351
|
}[];
|
|
@@ -9239,19 +10354,19 @@ export declare const protocolMessageSchemas: {
|
|
|
9239
10354
|
threadId: string;
|
|
9240
10355
|
message?: string | undefined;
|
|
9241
10356
|
}>;
|
|
9242
|
-
model?: string | undefined;
|
|
9243
10357
|
prompt?: string | undefined;
|
|
10358
|
+
model?: string | undefined;
|
|
9244
10359
|
}, {
|
|
9245
10360
|
status: string;
|
|
9246
10361
|
tool: string;
|
|
9247
|
-
model?: string | undefined;
|
|
9248
10362
|
prompt?: string | undefined;
|
|
10363
|
+
model?: string | undefined;
|
|
9249
10364
|
receiverThreadIds?: string[] | undefined;
|
|
9250
10365
|
receiverAgents?: {
|
|
9251
10366
|
threadId: string;
|
|
9252
10367
|
role?: string | undefined;
|
|
9253
|
-
model?: string | undefined;
|
|
9254
10368
|
prompt?: string | undefined;
|
|
10369
|
+
model?: string | undefined;
|
|
9255
10370
|
agentId?: string | undefined;
|
|
9256
10371
|
nickname?: string | undefined;
|
|
9257
10372
|
}[] | undefined;
|
|
@@ -9466,8 +10581,8 @@ export declare const protocolMessageSchemas: {
|
|
|
9466
10581
|
receiverAgents: {
|
|
9467
10582
|
threadId: string;
|
|
9468
10583
|
role?: string | undefined;
|
|
9469
|
-
model?: string | undefined;
|
|
9470
10584
|
prompt?: string | undefined;
|
|
10585
|
+
model?: string | undefined;
|
|
9471
10586
|
agentId?: string | undefined;
|
|
9472
10587
|
nickname?: string | undefined;
|
|
9473
10588
|
}[];
|
|
@@ -9476,8 +10591,8 @@ export declare const protocolMessageSchemas: {
|
|
|
9476
10591
|
threadId: string;
|
|
9477
10592
|
message?: string | undefined;
|
|
9478
10593
|
}>;
|
|
9479
|
-
model?: string | undefined;
|
|
9480
10594
|
prompt?: string | undefined;
|
|
10595
|
+
model?: string | undefined;
|
|
9481
10596
|
} | undefined;
|
|
9482
10597
|
structuredInput?: {
|
|
9483
10598
|
requestId: string;
|
|
@@ -9562,14 +10677,14 @@ export declare const protocolMessageSchemas: {
|
|
|
9562
10677
|
subagent?: {
|
|
9563
10678
|
status: string;
|
|
9564
10679
|
tool: string;
|
|
9565
|
-
model?: string | undefined;
|
|
9566
10680
|
prompt?: string | undefined;
|
|
10681
|
+
model?: string | undefined;
|
|
9567
10682
|
receiverThreadIds?: string[] | undefined;
|
|
9568
10683
|
receiverAgents?: {
|
|
9569
10684
|
threadId: string;
|
|
9570
10685
|
role?: string | undefined;
|
|
9571
|
-
model?: string | undefined;
|
|
9572
10686
|
prompt?: string | undefined;
|
|
10687
|
+
model?: string | undefined;
|
|
9573
10688
|
agentId?: string | undefined;
|
|
9574
10689
|
nickname?: string | undefined;
|
|
9575
10690
|
}[] | undefined;
|
|
@@ -9678,8 +10793,8 @@ export declare const protocolMessageSchemas: {
|
|
|
9678
10793
|
receiverAgents: {
|
|
9679
10794
|
threadId: string;
|
|
9680
10795
|
role?: string | undefined;
|
|
9681
|
-
model?: string | undefined;
|
|
9682
10796
|
prompt?: string | undefined;
|
|
10797
|
+
model?: string | undefined;
|
|
9683
10798
|
agentId?: string | undefined;
|
|
9684
10799
|
nickname?: string | undefined;
|
|
9685
10800
|
}[];
|
|
@@ -9688,8 +10803,8 @@ export declare const protocolMessageSchemas: {
|
|
|
9688
10803
|
threadId: string;
|
|
9689
10804
|
message?: string | undefined;
|
|
9690
10805
|
}>;
|
|
9691
|
-
model?: string | undefined;
|
|
9692
10806
|
prompt?: string | undefined;
|
|
10807
|
+
model?: string | undefined;
|
|
9693
10808
|
} | undefined;
|
|
9694
10809
|
structuredInput?: {
|
|
9695
10810
|
requestId: string;
|
|
@@ -9786,14 +10901,14 @@ export declare const protocolMessageSchemas: {
|
|
|
9786
10901
|
subagent?: {
|
|
9787
10902
|
status: string;
|
|
9788
10903
|
tool: string;
|
|
9789
|
-
model?: string | undefined;
|
|
9790
10904
|
prompt?: string | undefined;
|
|
10905
|
+
model?: string | undefined;
|
|
9791
10906
|
receiverThreadIds?: string[] | undefined;
|
|
9792
10907
|
receiverAgents?: {
|
|
9793
10908
|
threadId: string;
|
|
9794
10909
|
role?: string | undefined;
|
|
9795
|
-
model?: string | undefined;
|
|
9796
10910
|
prompt?: string | undefined;
|
|
10911
|
+
model?: string | undefined;
|
|
9797
10912
|
agentId?: string | undefined;
|
|
9798
10913
|
nickname?: string | undefined;
|
|
9799
10914
|
}[] | undefined;
|
|
@@ -9853,6 +10968,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9853
10968
|
model: z.ZodOptional<z.ZodString>;
|
|
9854
10969
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
9855
10970
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
10971
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
9856
10972
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
9857
10973
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
9858
10974
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -9866,11 +10982,12 @@ export declare const protocolMessageSchemas: {
|
|
|
9866
10982
|
createdAt: number;
|
|
9867
10983
|
archived: boolean;
|
|
9868
10984
|
lastActivityAt: number;
|
|
10985
|
+
title?: string | undefined;
|
|
9869
10986
|
agentSessionId?: string | undefined;
|
|
9870
10987
|
model?: string | undefined;
|
|
9871
10988
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
9872
10989
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
9873
|
-
|
|
10990
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
9874
10991
|
lastMessagePreview?: string | undefined;
|
|
9875
10992
|
}, {
|
|
9876
10993
|
id: string;
|
|
@@ -9879,11 +10996,12 @@ export declare const protocolMessageSchemas: {
|
|
|
9879
10996
|
lastActivityAt: number;
|
|
9880
10997
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
9881
10998
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
10999
|
+
title?: string | undefined;
|
|
9882
11000
|
agentSessionId?: string | undefined;
|
|
9883
11001
|
model?: string | undefined;
|
|
9884
11002
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
9885
11003
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
9886
|
-
|
|
11004
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
9887
11005
|
archived?: boolean | undefined;
|
|
9888
11006
|
lastMessagePreview?: string | undefined;
|
|
9889
11007
|
}>, "many">>;
|
|
@@ -10014,15 +11132,15 @@ export declare const protocolMessageSchemas: {
|
|
|
10014
11132
|
}, "strip", z.ZodTypeAny, {
|
|
10015
11133
|
threadId: string;
|
|
10016
11134
|
role?: string | undefined;
|
|
10017
|
-
model?: string | undefined;
|
|
10018
11135
|
prompt?: string | undefined;
|
|
11136
|
+
model?: string | undefined;
|
|
10019
11137
|
agentId?: string | undefined;
|
|
10020
11138
|
nickname?: string | undefined;
|
|
10021
11139
|
}, {
|
|
10022
11140
|
threadId: string;
|
|
10023
11141
|
role?: string | undefined;
|
|
10024
|
-
model?: string | undefined;
|
|
10025
11142
|
prompt?: string | undefined;
|
|
11143
|
+
model?: string | undefined;
|
|
10026
11144
|
agentId?: string | undefined;
|
|
10027
11145
|
nickname?: string | undefined;
|
|
10028
11146
|
}>, "many">>;
|
|
@@ -10046,8 +11164,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10046
11164
|
receiverAgents: {
|
|
10047
11165
|
threadId: string;
|
|
10048
11166
|
role?: string | undefined;
|
|
10049
|
-
model?: string | undefined;
|
|
10050
11167
|
prompt?: string | undefined;
|
|
11168
|
+
model?: string | undefined;
|
|
10051
11169
|
agentId?: string | undefined;
|
|
10052
11170
|
nickname?: string | undefined;
|
|
10053
11171
|
}[];
|
|
@@ -10056,19 +11174,19 @@ export declare const protocolMessageSchemas: {
|
|
|
10056
11174
|
threadId: string;
|
|
10057
11175
|
message?: string | undefined;
|
|
10058
11176
|
}>;
|
|
10059
|
-
model?: string | undefined;
|
|
10060
11177
|
prompt?: string | undefined;
|
|
11178
|
+
model?: string | undefined;
|
|
10061
11179
|
}, {
|
|
10062
11180
|
status: string;
|
|
10063
11181
|
tool: string;
|
|
10064
|
-
model?: string | undefined;
|
|
10065
11182
|
prompt?: string | undefined;
|
|
11183
|
+
model?: string | undefined;
|
|
10066
11184
|
receiverThreadIds?: string[] | undefined;
|
|
10067
11185
|
receiverAgents?: {
|
|
10068
11186
|
threadId: string;
|
|
10069
11187
|
role?: string | undefined;
|
|
10070
|
-
model?: string | undefined;
|
|
10071
11188
|
prompt?: string | undefined;
|
|
11189
|
+
model?: string | undefined;
|
|
10072
11190
|
agentId?: string | undefined;
|
|
10073
11191
|
nickname?: string | undefined;
|
|
10074
11192
|
}[] | undefined;
|
|
@@ -10283,8 +11401,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10283
11401
|
receiverAgents: {
|
|
10284
11402
|
threadId: string;
|
|
10285
11403
|
role?: string | undefined;
|
|
10286
|
-
model?: string | undefined;
|
|
10287
11404
|
prompt?: string | undefined;
|
|
11405
|
+
model?: string | undefined;
|
|
10288
11406
|
agentId?: string | undefined;
|
|
10289
11407
|
nickname?: string | undefined;
|
|
10290
11408
|
}[];
|
|
@@ -10293,8 +11411,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10293
11411
|
threadId: string;
|
|
10294
11412
|
message?: string | undefined;
|
|
10295
11413
|
}>;
|
|
10296
|
-
model?: string | undefined;
|
|
10297
11414
|
prompt?: string | undefined;
|
|
11415
|
+
model?: string | undefined;
|
|
10298
11416
|
} | undefined;
|
|
10299
11417
|
structuredInput?: {
|
|
10300
11418
|
requestId: string;
|
|
@@ -10379,14 +11497,14 @@ export declare const protocolMessageSchemas: {
|
|
|
10379
11497
|
subagent?: {
|
|
10380
11498
|
status: string;
|
|
10381
11499
|
tool: string;
|
|
10382
|
-
model?: string | undefined;
|
|
10383
11500
|
prompt?: string | undefined;
|
|
11501
|
+
model?: string | undefined;
|
|
10384
11502
|
receiverThreadIds?: string[] | undefined;
|
|
10385
11503
|
receiverAgents?: {
|
|
10386
11504
|
threadId: string;
|
|
10387
11505
|
role?: string | undefined;
|
|
10388
|
-
model?: string | undefined;
|
|
10389
11506
|
prompt?: string | undefined;
|
|
11507
|
+
model?: string | undefined;
|
|
10390
11508
|
agentId?: string | undefined;
|
|
10391
11509
|
nickname?: string | undefined;
|
|
10392
11510
|
}[] | undefined;
|
|
@@ -10425,11 +11543,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10425
11543
|
createdAt: number;
|
|
10426
11544
|
archived: boolean;
|
|
10427
11545
|
lastActivityAt: number;
|
|
11546
|
+
title?: string | undefined;
|
|
10428
11547
|
agentSessionId?: string | undefined;
|
|
10429
11548
|
model?: string | undefined;
|
|
10430
11549
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
10431
11550
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10432
|
-
|
|
11551
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
10433
11552
|
lastMessagePreview?: string | undefined;
|
|
10434
11553
|
}[];
|
|
10435
11554
|
items: {
|
|
@@ -10501,8 +11620,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10501
11620
|
receiverAgents: {
|
|
10502
11621
|
threadId: string;
|
|
10503
11622
|
role?: string | undefined;
|
|
10504
|
-
model?: string | undefined;
|
|
10505
11623
|
prompt?: string | undefined;
|
|
11624
|
+
model?: string | undefined;
|
|
10506
11625
|
agentId?: string | undefined;
|
|
10507
11626
|
nickname?: string | undefined;
|
|
10508
11627
|
}[];
|
|
@@ -10511,8 +11630,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10511
11630
|
threadId: string;
|
|
10512
11631
|
message?: string | undefined;
|
|
10513
11632
|
}>;
|
|
10514
|
-
model?: string | undefined;
|
|
10515
11633
|
prompt?: string | undefined;
|
|
11634
|
+
model?: string | undefined;
|
|
10516
11635
|
} | undefined;
|
|
10517
11636
|
structuredInput?: {
|
|
10518
11637
|
requestId: string;
|
|
@@ -10544,11 +11663,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10544
11663
|
lastActivityAt: number;
|
|
10545
11664
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
10546
11665
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
11666
|
+
title?: string | undefined;
|
|
10547
11667
|
agentSessionId?: string | undefined;
|
|
10548
11668
|
model?: string | undefined;
|
|
10549
11669
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
10550
11670
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10551
|
-
|
|
11671
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
10552
11672
|
archived?: boolean | undefined;
|
|
10553
11673
|
lastMessagePreview?: string | undefined;
|
|
10554
11674
|
}[] | undefined;
|
|
@@ -10618,14 +11738,14 @@ export declare const protocolMessageSchemas: {
|
|
|
10618
11738
|
subagent?: {
|
|
10619
11739
|
status: string;
|
|
10620
11740
|
tool: string;
|
|
10621
|
-
model?: string | undefined;
|
|
10622
11741
|
prompt?: string | undefined;
|
|
11742
|
+
model?: string | undefined;
|
|
10623
11743
|
receiverThreadIds?: string[] | undefined;
|
|
10624
11744
|
receiverAgents?: {
|
|
10625
11745
|
threadId: string;
|
|
10626
11746
|
role?: string | undefined;
|
|
10627
|
-
model?: string | undefined;
|
|
10628
11747
|
prompt?: string | undefined;
|
|
11748
|
+
model?: string | undefined;
|
|
10629
11749
|
agentId?: string | undefined;
|
|
10630
11750
|
nickname?: string | undefined;
|
|
10631
11751
|
}[] | undefined;
|
|
@@ -10666,6 +11786,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10666
11786
|
model: z.ZodOptional<z.ZodString>;
|
|
10667
11787
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
10668
11788
|
permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
|
|
11789
|
+
collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
|
|
10669
11790
|
status: z.ZodDefault<z.ZodEnum<["unavailable", "idle", "running", "waiting_permission", "error"]>>;
|
|
10670
11791
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
10671
11792
|
lastMessagePreview: z.ZodOptional<z.ZodString>;
|
|
@@ -10679,11 +11800,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10679
11800
|
createdAt: number;
|
|
10680
11801
|
archived: boolean;
|
|
10681
11802
|
lastActivityAt: number;
|
|
11803
|
+
title?: string | undefined;
|
|
10682
11804
|
agentSessionId?: string | undefined;
|
|
10683
11805
|
model?: string | undefined;
|
|
10684
11806
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
10685
11807
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10686
|
-
|
|
11808
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
10687
11809
|
lastMessagePreview?: string | undefined;
|
|
10688
11810
|
}, {
|
|
10689
11811
|
id: string;
|
|
@@ -10692,11 +11814,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10692
11814
|
lastActivityAt: number;
|
|
10693
11815
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
10694
11816
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
11817
|
+
title?: string | undefined;
|
|
10695
11818
|
agentSessionId?: string | undefined;
|
|
10696
11819
|
model?: string | undefined;
|
|
10697
11820
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
10698
11821
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10699
|
-
|
|
11822
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
10700
11823
|
archived?: boolean | undefined;
|
|
10701
11824
|
lastMessagePreview?: string | undefined;
|
|
10702
11825
|
}>>;
|
|
@@ -10826,15 +11949,15 @@ export declare const protocolMessageSchemas: {
|
|
|
10826
11949
|
}, "strip", z.ZodTypeAny, {
|
|
10827
11950
|
threadId: string;
|
|
10828
11951
|
role?: string | undefined;
|
|
10829
|
-
model?: string | undefined;
|
|
10830
11952
|
prompt?: string | undefined;
|
|
11953
|
+
model?: string | undefined;
|
|
10831
11954
|
agentId?: string | undefined;
|
|
10832
11955
|
nickname?: string | undefined;
|
|
10833
11956
|
}, {
|
|
10834
11957
|
threadId: string;
|
|
10835
11958
|
role?: string | undefined;
|
|
10836
|
-
model?: string | undefined;
|
|
10837
11959
|
prompt?: string | undefined;
|
|
11960
|
+
model?: string | undefined;
|
|
10838
11961
|
agentId?: string | undefined;
|
|
10839
11962
|
nickname?: string | undefined;
|
|
10840
11963
|
}>, "many">>;
|
|
@@ -10858,8 +11981,8 @@ export declare const protocolMessageSchemas: {
|
|
|
10858
11981
|
receiverAgents: {
|
|
10859
11982
|
threadId: string;
|
|
10860
11983
|
role?: string | undefined;
|
|
10861
|
-
model?: string | undefined;
|
|
10862
11984
|
prompt?: string | undefined;
|
|
11985
|
+
model?: string | undefined;
|
|
10863
11986
|
agentId?: string | undefined;
|
|
10864
11987
|
nickname?: string | undefined;
|
|
10865
11988
|
}[];
|
|
@@ -10868,19 +11991,19 @@ export declare const protocolMessageSchemas: {
|
|
|
10868
11991
|
threadId: string;
|
|
10869
11992
|
message?: string | undefined;
|
|
10870
11993
|
}>;
|
|
10871
|
-
model?: string | undefined;
|
|
10872
11994
|
prompt?: string | undefined;
|
|
11995
|
+
model?: string | undefined;
|
|
10873
11996
|
}, {
|
|
10874
11997
|
status: string;
|
|
10875
11998
|
tool: string;
|
|
10876
|
-
model?: string | undefined;
|
|
10877
11999
|
prompt?: string | undefined;
|
|
12000
|
+
model?: string | undefined;
|
|
10878
12001
|
receiverThreadIds?: string[] | undefined;
|
|
10879
12002
|
receiverAgents?: {
|
|
10880
12003
|
threadId: string;
|
|
10881
12004
|
role?: string | undefined;
|
|
10882
|
-
model?: string | undefined;
|
|
10883
12005
|
prompt?: string | undefined;
|
|
12006
|
+
model?: string | undefined;
|
|
10884
12007
|
agentId?: string | undefined;
|
|
10885
12008
|
nickname?: string | undefined;
|
|
10886
12009
|
}[] | undefined;
|
|
@@ -11095,8 +12218,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11095
12218
|
receiverAgents: {
|
|
11096
12219
|
threadId: string;
|
|
11097
12220
|
role?: string | undefined;
|
|
11098
|
-
model?: string | undefined;
|
|
11099
12221
|
prompt?: string | undefined;
|
|
12222
|
+
model?: string | undefined;
|
|
11100
12223
|
agentId?: string | undefined;
|
|
11101
12224
|
nickname?: string | undefined;
|
|
11102
12225
|
}[];
|
|
@@ -11105,8 +12228,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11105
12228
|
threadId: string;
|
|
11106
12229
|
message?: string | undefined;
|
|
11107
12230
|
}>;
|
|
11108
|
-
model?: string | undefined;
|
|
11109
12231
|
prompt?: string | undefined;
|
|
12232
|
+
model?: string | undefined;
|
|
11110
12233
|
} | undefined;
|
|
11111
12234
|
structuredInput?: {
|
|
11112
12235
|
requestId: string;
|
|
@@ -11191,14 +12314,14 @@ export declare const protocolMessageSchemas: {
|
|
|
11191
12314
|
subagent?: {
|
|
11192
12315
|
status: string;
|
|
11193
12316
|
tool: string;
|
|
11194
|
-
model?: string | undefined;
|
|
11195
12317
|
prompt?: string | undefined;
|
|
12318
|
+
model?: string | undefined;
|
|
11196
12319
|
receiverThreadIds?: string[] | undefined;
|
|
11197
12320
|
receiverAgents?: {
|
|
11198
12321
|
threadId: string;
|
|
11199
12322
|
role?: string | undefined;
|
|
11200
|
-
model?: string | undefined;
|
|
11201
12323
|
prompt?: string | undefined;
|
|
12324
|
+
model?: string | undefined;
|
|
11202
12325
|
agentId?: string | undefined;
|
|
11203
12326
|
nickname?: string | undefined;
|
|
11204
12327
|
}[] | undefined;
|
|
@@ -11351,15 +12474,15 @@ export declare const protocolMessageSchemas: {
|
|
|
11351
12474
|
}, "strip", z.ZodTypeAny, {
|
|
11352
12475
|
threadId: string;
|
|
11353
12476
|
role?: string | undefined;
|
|
11354
|
-
model?: string | undefined;
|
|
11355
12477
|
prompt?: string | undefined;
|
|
12478
|
+
model?: string | undefined;
|
|
11356
12479
|
agentId?: string | undefined;
|
|
11357
12480
|
nickname?: string | undefined;
|
|
11358
12481
|
}, {
|
|
11359
12482
|
threadId: string;
|
|
11360
12483
|
role?: string | undefined;
|
|
11361
|
-
model?: string | undefined;
|
|
11362
12484
|
prompt?: string | undefined;
|
|
12485
|
+
model?: string | undefined;
|
|
11363
12486
|
agentId?: string | undefined;
|
|
11364
12487
|
nickname?: string | undefined;
|
|
11365
12488
|
}>, "many">>;
|
|
@@ -11383,8 +12506,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11383
12506
|
receiverAgents: {
|
|
11384
12507
|
threadId: string;
|
|
11385
12508
|
role?: string | undefined;
|
|
11386
|
-
model?: string | undefined;
|
|
11387
12509
|
prompt?: string | undefined;
|
|
12510
|
+
model?: string | undefined;
|
|
11388
12511
|
agentId?: string | undefined;
|
|
11389
12512
|
nickname?: string | undefined;
|
|
11390
12513
|
}[];
|
|
@@ -11393,19 +12516,19 @@ export declare const protocolMessageSchemas: {
|
|
|
11393
12516
|
threadId: string;
|
|
11394
12517
|
message?: string | undefined;
|
|
11395
12518
|
}>;
|
|
11396
|
-
model?: string | undefined;
|
|
11397
12519
|
prompt?: string | undefined;
|
|
12520
|
+
model?: string | undefined;
|
|
11398
12521
|
}, {
|
|
11399
12522
|
status: string;
|
|
11400
12523
|
tool: string;
|
|
11401
|
-
model?: string | undefined;
|
|
11402
12524
|
prompt?: string | undefined;
|
|
12525
|
+
model?: string | undefined;
|
|
11403
12526
|
receiverThreadIds?: string[] | undefined;
|
|
11404
12527
|
receiverAgents?: {
|
|
11405
12528
|
threadId: string;
|
|
11406
12529
|
role?: string | undefined;
|
|
11407
|
-
model?: string | undefined;
|
|
11408
12530
|
prompt?: string | undefined;
|
|
12531
|
+
model?: string | undefined;
|
|
11409
12532
|
agentId?: string | undefined;
|
|
11410
12533
|
nickname?: string | undefined;
|
|
11411
12534
|
}[] | undefined;
|
|
@@ -11613,8 +12736,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11613
12736
|
receiverAgents: {
|
|
11614
12737
|
threadId: string;
|
|
11615
12738
|
role?: string | undefined;
|
|
11616
|
-
model?: string | undefined;
|
|
11617
12739
|
prompt?: string | undefined;
|
|
12740
|
+
model?: string | undefined;
|
|
11618
12741
|
agentId?: string | undefined;
|
|
11619
12742
|
nickname?: string | undefined;
|
|
11620
12743
|
}[];
|
|
@@ -11623,8 +12746,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11623
12746
|
threadId: string;
|
|
11624
12747
|
message?: string | undefined;
|
|
11625
12748
|
}>;
|
|
11626
|
-
model?: string | undefined;
|
|
11627
12749
|
prompt?: string | undefined;
|
|
12750
|
+
model?: string | undefined;
|
|
11628
12751
|
} | undefined;
|
|
11629
12752
|
structuredInput?: {
|
|
11630
12753
|
requestId: string;
|
|
@@ -11705,14 +12828,14 @@ export declare const protocolMessageSchemas: {
|
|
|
11705
12828
|
subagent?: {
|
|
11706
12829
|
status: string;
|
|
11707
12830
|
tool: string;
|
|
11708
|
-
model?: string | undefined;
|
|
11709
12831
|
prompt?: string | undefined;
|
|
12832
|
+
model?: string | undefined;
|
|
11710
12833
|
receiverThreadIds?: string[] | undefined;
|
|
11711
12834
|
receiverAgents?: {
|
|
11712
12835
|
threadId: string;
|
|
11713
12836
|
role?: string | undefined;
|
|
11714
|
-
model?: string | undefined;
|
|
11715
12837
|
prompt?: string | undefined;
|
|
12838
|
+
model?: string | undefined;
|
|
11716
12839
|
agentId?: string | undefined;
|
|
11717
12840
|
nickname?: string | undefined;
|
|
11718
12841
|
}[] | undefined;
|
|
@@ -11752,11 +12875,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11752
12875
|
createdAt: number;
|
|
11753
12876
|
archived: boolean;
|
|
11754
12877
|
lastActivityAt: number;
|
|
12878
|
+
title?: string | undefined;
|
|
11755
12879
|
agentSessionId?: string | undefined;
|
|
11756
12880
|
model?: string | undefined;
|
|
11757
12881
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
11758
12882
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
11759
|
-
|
|
12883
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
11760
12884
|
lastMessagePreview?: string | undefined;
|
|
11761
12885
|
} | undefined;
|
|
11762
12886
|
item?: {
|
|
@@ -11828,8 +12952,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11828
12952
|
receiverAgents: {
|
|
11829
12953
|
threadId: string;
|
|
11830
12954
|
role?: string | undefined;
|
|
11831
|
-
model?: string | undefined;
|
|
11832
12955
|
prompt?: string | undefined;
|
|
12956
|
+
model?: string | undefined;
|
|
11833
12957
|
agentId?: string | undefined;
|
|
11834
12958
|
nickname?: string | undefined;
|
|
11835
12959
|
}[];
|
|
@@ -11838,8 +12962,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11838
12962
|
threadId: string;
|
|
11839
12963
|
message?: string | undefined;
|
|
11840
12964
|
}>;
|
|
11841
|
-
model?: string | undefined;
|
|
11842
12965
|
prompt?: string | undefined;
|
|
12966
|
+
model?: string | undefined;
|
|
11843
12967
|
} | undefined;
|
|
11844
12968
|
structuredInput?: {
|
|
11845
12969
|
requestId: string;
|
|
@@ -11924,8 +13048,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11924
13048
|
receiverAgents: {
|
|
11925
13049
|
threadId: string;
|
|
11926
13050
|
role?: string | undefined;
|
|
11927
|
-
model?: string | undefined;
|
|
11928
13051
|
prompt?: string | undefined;
|
|
13052
|
+
model?: string | undefined;
|
|
11929
13053
|
agentId?: string | undefined;
|
|
11930
13054
|
nickname?: string | undefined;
|
|
11931
13055
|
}[];
|
|
@@ -11934,8 +13058,8 @@ export declare const protocolMessageSchemas: {
|
|
|
11934
13058
|
threadId: string;
|
|
11935
13059
|
message?: string | undefined;
|
|
11936
13060
|
}>;
|
|
11937
|
-
model?: string | undefined;
|
|
11938
13061
|
prompt?: string | undefined;
|
|
13062
|
+
model?: string | undefined;
|
|
11939
13063
|
} | undefined;
|
|
11940
13064
|
structuredInput?: {
|
|
11941
13065
|
requestId: string;
|
|
@@ -11966,11 +13090,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11966
13090
|
lastActivityAt: number;
|
|
11967
13091
|
status?: "error" | "running" | "idle" | "waiting_permission" | "unavailable" | undefined;
|
|
11968
13092
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
13093
|
+
title?: string | undefined;
|
|
11969
13094
|
agentSessionId?: string | undefined;
|
|
11970
13095
|
model?: string | undefined;
|
|
11971
13096
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
11972
13097
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
11973
|
-
|
|
13098
|
+
collaborationMode?: "default" | "plan" | undefined;
|
|
11974
13099
|
archived?: boolean | undefined;
|
|
11975
13100
|
lastMessagePreview?: string | undefined;
|
|
11976
13101
|
} | undefined;
|
|
@@ -12039,14 +13164,14 @@ export declare const protocolMessageSchemas: {
|
|
|
12039
13164
|
subagent?: {
|
|
12040
13165
|
status: string;
|
|
12041
13166
|
tool: string;
|
|
12042
|
-
model?: string | undefined;
|
|
12043
13167
|
prompt?: string | undefined;
|
|
13168
|
+
model?: string | undefined;
|
|
12044
13169
|
receiverThreadIds?: string[] | undefined;
|
|
12045
13170
|
receiverAgents?: {
|
|
12046
13171
|
threadId: string;
|
|
12047
13172
|
role?: string | undefined;
|
|
12048
|
-
model?: string | undefined;
|
|
12049
13173
|
prompt?: string | undefined;
|
|
13174
|
+
model?: string | undefined;
|
|
12050
13175
|
agentId?: string | undefined;
|
|
12051
13176
|
nickname?: string | undefined;
|
|
12052
13177
|
}[] | undefined;
|
|
@@ -12135,14 +13260,14 @@ export declare const protocolMessageSchemas: {
|
|
|
12135
13260
|
subagent?: {
|
|
12136
13261
|
status: string;
|
|
12137
13262
|
tool: string;
|
|
12138
|
-
model?: string | undefined;
|
|
12139
13263
|
prompt?: string | undefined;
|
|
13264
|
+
model?: string | undefined;
|
|
12140
13265
|
receiverThreadIds?: string[] | undefined;
|
|
12141
13266
|
receiverAgents?: {
|
|
12142
13267
|
threadId: string;
|
|
12143
13268
|
role?: string | undefined;
|
|
12144
|
-
model?: string | undefined;
|
|
12145
13269
|
prompt?: string | undefined;
|
|
13270
|
+
model?: string | undefined;
|
|
12146
13271
|
agentId?: string | undefined;
|
|
12147
13272
|
nickname?: string | undefined;
|
|
12148
13273
|
}[] | undefined;
|