@seawork/server 1.0.16 → 1.0.17-rc.1

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.
Files changed (30) hide show
  1. package/dist/server/client/daemon-client.d.ts +60 -0
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +147 -0
  4. package/dist/server/client/daemon-client.js.map +1 -1
  5. package/dist/server/server/bug-report-handler.d.ts.map +1 -1
  6. package/dist/server/server/bug-report-handler.js +2 -0
  7. package/dist/server/server/bug-report-handler.js.map +1 -1
  8. package/dist/server/server/forum-handler.d.ts +11 -0
  9. package/dist/server/server/forum-handler.d.ts.map +1 -0
  10. package/dist/server/server/forum-handler.js +216 -0
  11. package/dist/server/server/forum-handler.js.map +1 -0
  12. package/dist/server/server/list-my-issues-handler.d.ts +7 -0
  13. package/dist/server/server/list-my-issues-handler.d.ts.map +1 -0
  14. package/dist/server/server/list-my-issues-handler.js +62 -0
  15. package/dist/server/server/list-my-issues-handler.js.map +1 -0
  16. package/dist/server/server/persisted-config.d.ts.map +1 -1
  17. package/dist/server/server/persisted-config.js +121 -2
  18. package/dist/server/server/persisted-config.js.map +1 -1
  19. package/dist/server/server/session.d.ts +6 -0
  20. package/dist/server/server/session.d.ts.map +1 -1
  21. package/dist/server/server/session.js +44 -0
  22. package/dist/server/server/session.js.map +1 -1
  23. package/dist/server/shared/daemon-endpoints.d.ts.map +1 -1
  24. package/dist/server/shared/daemon-endpoints.js +22 -4
  25. package/dist/server/shared/daemon-endpoints.js.map +1 -1
  26. package/dist/server/shared/messages.d.ts +2763 -227
  27. package/dist/server/shared/messages.d.ts.map +1 -1
  28. package/dist/server/shared/messages.js +139 -0
  29. package/dist/server/shared/messages.js.map +1 -1
  30. package/package.json +3 -3
@@ -657,6 +657,7 @@ export declare const SubmitBugReportRequestMessageSchema: z.ZodObject<{
657
657
  title: z.ZodOptional<z.ZodString>;
658
658
  description: z.ZodOptional<z.ZodString>;
659
659
  email: z.ZodOptional<z.ZodString>;
660
+ displayName: z.ZodOptional<z.ZodString>;
660
661
  clientId: z.ZodOptional<z.ZodString>;
661
662
  appVersion: z.ZodOptional<z.ZodString>;
662
663
  device: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -709,6 +710,7 @@ export declare const SubmitBugReportRequestMessageSchema: z.ZodObject<{
709
710
  requestId: string;
710
711
  title?: string | undefined;
711
712
  description?: string | undefined;
713
+ displayName?: string | undefined;
712
714
  clientId?: string | undefined;
713
715
  email?: string | undefined;
714
716
  appVersion?: string | undefined;
@@ -736,6 +738,7 @@ export declare const SubmitBugReportRequestMessageSchema: z.ZodObject<{
736
738
  requestId: string;
737
739
  title?: string | undefined;
738
740
  description?: string | undefined;
741
+ displayName?: string | undefined;
739
742
  clientId?: string | undefined;
740
743
  email?: string | undefined;
741
744
  appVersion?: string | undefined;
@@ -781,6 +784,613 @@ export declare const SubmitBugReportResponseMessageSchema: z.ZodObject<{
781
784
  issueNumber?: number | undefined;
782
785
  issueUrl?: string | undefined;
783
786
  }>;
787
+ export declare const ListMyIssuesRequestMessageSchema: z.ZodObject<{
788
+ type: z.ZodLiteral<"list_my_issues_request">;
789
+ requestId: z.ZodString;
790
+ email: z.ZodOptional<z.ZodString>;
791
+ clientId: z.ZodOptional<z.ZodString>;
792
+ limit: z.ZodOptional<z.ZodNumber>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ type: "list_my_issues_request";
795
+ requestId: string;
796
+ clientId?: string | undefined;
797
+ limit?: number | undefined;
798
+ email?: string | undefined;
799
+ }, {
800
+ type: "list_my_issues_request";
801
+ requestId: string;
802
+ clientId?: string | undefined;
803
+ limit?: number | undefined;
804
+ email?: string | undefined;
805
+ }>;
806
+ export declare const MyIssueSummarySchema: z.ZodObject<{
807
+ issueNumber: z.ZodNumber;
808
+ submittedAt: z.ZodOptional<z.ZodString>;
809
+ title: z.ZodOptional<z.ZodString>;
810
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
811
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
812
+ htmlUrl: z.ZodOptional<z.ZodString>;
813
+ createdAt: z.ZodOptional<z.ZodString>;
814
+ updatedAt: z.ZodOptional<z.ZodString>;
815
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
+ commentsCount: z.ZodOptional<z.ZodNumber>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ issueNumber: number;
819
+ title?: string | undefined;
820
+ createdAt?: string | undefined;
821
+ updatedAt?: string | undefined;
822
+ state?: "open" | "closed" | undefined;
823
+ submittedAt?: string | undefined;
824
+ stateReason?: string | null | undefined;
825
+ htmlUrl?: string | undefined;
826
+ closedAt?: string | null | undefined;
827
+ commentsCount?: number | undefined;
828
+ }, {
829
+ issueNumber: number;
830
+ title?: string | undefined;
831
+ createdAt?: string | undefined;
832
+ updatedAt?: string | undefined;
833
+ state?: "open" | "closed" | undefined;
834
+ submittedAt?: string | undefined;
835
+ stateReason?: string | null | undefined;
836
+ htmlUrl?: string | undefined;
837
+ closedAt?: string | null | undefined;
838
+ commentsCount?: number | undefined;
839
+ }>;
840
+ export declare const ListMyIssuesResponseMessageSchema: z.ZodObject<{
841
+ type: z.ZodLiteral<"list_my_issues_response">;
842
+ requestId: z.ZodString;
843
+ ok: z.ZodBoolean;
844
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
845
+ issueNumber: z.ZodNumber;
846
+ submittedAt: z.ZodOptional<z.ZodString>;
847
+ title: z.ZodOptional<z.ZodString>;
848
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
849
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ htmlUrl: z.ZodOptional<z.ZodString>;
851
+ createdAt: z.ZodOptional<z.ZodString>;
852
+ updatedAt: z.ZodOptional<z.ZodString>;
853
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
+ commentsCount: z.ZodOptional<z.ZodNumber>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ issueNumber: number;
857
+ title?: string | undefined;
858
+ createdAt?: string | undefined;
859
+ updatedAt?: string | undefined;
860
+ state?: "open" | "closed" | undefined;
861
+ submittedAt?: string | undefined;
862
+ stateReason?: string | null | undefined;
863
+ htmlUrl?: string | undefined;
864
+ closedAt?: string | null | undefined;
865
+ commentsCount?: number | undefined;
866
+ }, {
867
+ issueNumber: number;
868
+ title?: string | undefined;
869
+ createdAt?: string | undefined;
870
+ updatedAt?: string | undefined;
871
+ state?: "open" | "closed" | undefined;
872
+ submittedAt?: string | undefined;
873
+ stateReason?: string | null | undefined;
874
+ htmlUrl?: string | undefined;
875
+ closedAt?: string | null | undefined;
876
+ commentsCount?: number | undefined;
877
+ }>, "many">>;
878
+ error: z.ZodOptional<z.ZodString>;
879
+ }, "strip", z.ZodTypeAny, {
880
+ type: "list_my_issues_response";
881
+ requestId: string;
882
+ ok: boolean;
883
+ error?: string | undefined;
884
+ issues?: {
885
+ issueNumber: number;
886
+ title?: string | undefined;
887
+ createdAt?: string | undefined;
888
+ updatedAt?: string | undefined;
889
+ state?: "open" | "closed" | undefined;
890
+ submittedAt?: string | undefined;
891
+ stateReason?: string | null | undefined;
892
+ htmlUrl?: string | undefined;
893
+ closedAt?: string | null | undefined;
894
+ commentsCount?: number | undefined;
895
+ }[] | undefined;
896
+ }, {
897
+ type: "list_my_issues_response";
898
+ requestId: string;
899
+ ok: boolean;
900
+ error?: string | undefined;
901
+ issues?: {
902
+ issueNumber: number;
903
+ title?: string | undefined;
904
+ createdAt?: string | undefined;
905
+ updatedAt?: string | undefined;
906
+ state?: "open" | "closed" | undefined;
907
+ submittedAt?: string | undefined;
908
+ stateReason?: string | null | undefined;
909
+ htmlUrl?: string | undefined;
910
+ closedAt?: string | null | undefined;
911
+ commentsCount?: number | undefined;
912
+ }[] | undefined;
913
+ }>;
914
+ export declare const PublicIssueSummarySchema: z.ZodObject<{
915
+ issueNumber: z.ZodNumber;
916
+ displayName: z.ZodOptional<z.ZodString>;
917
+ title: z.ZodOptional<z.ZodString>;
918
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
919
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
+ createdAt: z.ZodOptional<z.ZodString>;
921
+ updatedAt: z.ZodOptional<z.ZodString>;
922
+ commentsCount: z.ZodOptional<z.ZodNumber>;
923
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
924
+ }, "strip", z.ZodTypeAny, {
925
+ issueNumber: number;
926
+ title?: string | undefined;
927
+ createdAt?: string | undefined;
928
+ updatedAt?: string | undefined;
929
+ state?: "open" | "closed" | undefined;
930
+ stateReason?: string | null | undefined;
931
+ commentsCount?: number | undefined;
932
+ displayName?: string | undefined;
933
+ reactionsCount?: number | undefined;
934
+ }, {
935
+ issueNumber: number;
936
+ title?: string | undefined;
937
+ createdAt?: string | undefined;
938
+ updatedAt?: string | undefined;
939
+ state?: "open" | "closed" | undefined;
940
+ stateReason?: string | null | undefined;
941
+ commentsCount?: number | undefined;
942
+ displayName?: string | undefined;
943
+ reactionsCount?: number | undefined;
944
+ }>;
945
+ export declare const PublicIssueDetailSchema: z.ZodObject<{
946
+ issueNumber: z.ZodNumber;
947
+ displayName: z.ZodOptional<z.ZodString>;
948
+ title: z.ZodOptional<z.ZodString>;
949
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
950
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
951
+ createdAt: z.ZodOptional<z.ZodString>;
952
+ updatedAt: z.ZodOptional<z.ZodString>;
953
+ commentsCount: z.ZodOptional<z.ZodNumber>;
954
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
955
+ } & {
956
+ publicBody: z.ZodOptional<z.ZodString>;
957
+ htmlUrl: z.ZodOptional<z.ZodString>;
958
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
960
+ }, "strip", z.ZodTypeAny, {
961
+ issueNumber: number;
962
+ title?: string | undefined;
963
+ createdAt?: string | undefined;
964
+ updatedAt?: string | undefined;
965
+ state?: "open" | "closed" | undefined;
966
+ stateReason?: string | null | undefined;
967
+ htmlUrl?: string | undefined;
968
+ closedAt?: string | null | undefined;
969
+ commentsCount?: number | undefined;
970
+ displayName?: string | undefined;
971
+ reactionsCount?: number | undefined;
972
+ publicBody?: string | undefined;
973
+ viewerHasReacted?: boolean | undefined;
974
+ }, {
975
+ issueNumber: number;
976
+ title?: string | undefined;
977
+ createdAt?: string | undefined;
978
+ updatedAt?: string | undefined;
979
+ state?: "open" | "closed" | undefined;
980
+ stateReason?: string | null | undefined;
981
+ htmlUrl?: string | undefined;
982
+ closedAt?: string | null | undefined;
983
+ commentsCount?: number | undefined;
984
+ displayName?: string | undefined;
985
+ reactionsCount?: number | undefined;
986
+ publicBody?: string | undefined;
987
+ viewerHasReacted?: boolean | undefined;
988
+ }>;
989
+ export declare const PublicCommentSchema: z.ZodObject<{
990
+ id: z.ZodString;
991
+ issueNumber: z.ZodNumber;
992
+ displayName: z.ZodOptional<z.ZodString>;
993
+ body: z.ZodOptional<z.ZodString>;
994
+ createdAt: z.ZodOptional<z.ZodString>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ id: string;
997
+ issueNumber: number;
998
+ createdAt?: string | undefined;
999
+ body?: string | undefined;
1000
+ displayName?: string | undefined;
1001
+ }, {
1002
+ id: string;
1003
+ issueNumber: number;
1004
+ createdAt?: string | undefined;
1005
+ body?: string | undefined;
1006
+ displayName?: string | undefined;
1007
+ }>;
1008
+ export declare const ListPublicIssuesRequestMessageSchema: z.ZodObject<{
1009
+ type: z.ZodLiteral<"list_public_issues_request">;
1010
+ requestId: z.ZodString;
1011
+ sort: z.ZodOptional<z.ZodEnum<["latest", "top"]>>;
1012
+ limit: z.ZodOptional<z.ZodNumber>;
1013
+ offset: z.ZodOptional<z.ZodNumber>;
1014
+ email: z.ZodOptional<z.ZodString>;
1015
+ clientId: z.ZodOptional<z.ZodString>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ type: "list_public_issues_request";
1018
+ requestId: string;
1019
+ sort?: "latest" | "top" | undefined;
1020
+ clientId?: string | undefined;
1021
+ limit?: number | undefined;
1022
+ email?: string | undefined;
1023
+ offset?: number | undefined;
1024
+ }, {
1025
+ type: "list_public_issues_request";
1026
+ requestId: string;
1027
+ sort?: "latest" | "top" | undefined;
1028
+ clientId?: string | undefined;
1029
+ limit?: number | undefined;
1030
+ email?: string | undefined;
1031
+ offset?: number | undefined;
1032
+ }>;
1033
+ export declare const ListPublicIssuesResponseMessageSchema: z.ZodObject<{
1034
+ type: z.ZodLiteral<"list_public_issues_response">;
1035
+ requestId: z.ZodString;
1036
+ ok: z.ZodBoolean;
1037
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1038
+ issueNumber: z.ZodNumber;
1039
+ displayName: z.ZodOptional<z.ZodString>;
1040
+ title: z.ZodOptional<z.ZodString>;
1041
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
1042
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ createdAt: z.ZodOptional<z.ZodString>;
1044
+ updatedAt: z.ZodOptional<z.ZodString>;
1045
+ commentsCount: z.ZodOptional<z.ZodNumber>;
1046
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ issueNumber: number;
1049
+ title?: string | undefined;
1050
+ createdAt?: string | undefined;
1051
+ updatedAt?: string | undefined;
1052
+ state?: "open" | "closed" | undefined;
1053
+ stateReason?: string | null | undefined;
1054
+ commentsCount?: number | undefined;
1055
+ displayName?: string | undefined;
1056
+ reactionsCount?: number | undefined;
1057
+ }, {
1058
+ issueNumber: number;
1059
+ title?: string | undefined;
1060
+ createdAt?: string | undefined;
1061
+ updatedAt?: string | undefined;
1062
+ state?: "open" | "closed" | undefined;
1063
+ stateReason?: string | null | undefined;
1064
+ commentsCount?: number | undefined;
1065
+ displayName?: string | undefined;
1066
+ reactionsCount?: number | undefined;
1067
+ }>, "many">>;
1068
+ total: z.ZodOptional<z.ZodNumber>;
1069
+ error: z.ZodOptional<z.ZodString>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ type: "list_public_issues_response";
1072
+ requestId: string;
1073
+ ok: boolean;
1074
+ error?: string | undefined;
1075
+ issues?: {
1076
+ issueNumber: number;
1077
+ title?: string | undefined;
1078
+ createdAt?: string | undefined;
1079
+ updatedAt?: string | undefined;
1080
+ state?: "open" | "closed" | undefined;
1081
+ stateReason?: string | null | undefined;
1082
+ commentsCount?: number | undefined;
1083
+ displayName?: string | undefined;
1084
+ reactionsCount?: number | undefined;
1085
+ }[] | undefined;
1086
+ total?: number | undefined;
1087
+ }, {
1088
+ type: "list_public_issues_response";
1089
+ requestId: string;
1090
+ ok: boolean;
1091
+ error?: string | undefined;
1092
+ issues?: {
1093
+ issueNumber: number;
1094
+ title?: string | undefined;
1095
+ createdAt?: string | undefined;
1096
+ updatedAt?: string | undefined;
1097
+ state?: "open" | "closed" | undefined;
1098
+ stateReason?: string | null | undefined;
1099
+ commentsCount?: number | undefined;
1100
+ displayName?: string | undefined;
1101
+ reactionsCount?: number | undefined;
1102
+ }[] | undefined;
1103
+ total?: number | undefined;
1104
+ }>;
1105
+ export declare const GetPublicIssueRequestMessageSchema: z.ZodObject<{
1106
+ type: z.ZodLiteral<"get_public_issue_request">;
1107
+ requestId: z.ZodString;
1108
+ issueNumber: z.ZodNumber;
1109
+ email: z.ZodOptional<z.ZodString>;
1110
+ clientId: z.ZodOptional<z.ZodString>;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ type: "get_public_issue_request";
1113
+ requestId: string;
1114
+ issueNumber: number;
1115
+ clientId?: string | undefined;
1116
+ email?: string | undefined;
1117
+ }, {
1118
+ type: "get_public_issue_request";
1119
+ requestId: string;
1120
+ issueNumber: number;
1121
+ clientId?: string | undefined;
1122
+ email?: string | undefined;
1123
+ }>;
1124
+ export declare const GetPublicIssueResponseMessageSchema: z.ZodObject<{
1125
+ type: z.ZodLiteral<"get_public_issue_response">;
1126
+ requestId: z.ZodString;
1127
+ ok: z.ZodBoolean;
1128
+ issue: z.ZodOptional<z.ZodObject<{
1129
+ issueNumber: z.ZodNumber;
1130
+ displayName: z.ZodOptional<z.ZodString>;
1131
+ title: z.ZodOptional<z.ZodString>;
1132
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
1133
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1134
+ createdAt: z.ZodOptional<z.ZodString>;
1135
+ updatedAt: z.ZodOptional<z.ZodString>;
1136
+ commentsCount: z.ZodOptional<z.ZodNumber>;
1137
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
1138
+ } & {
1139
+ publicBody: z.ZodOptional<z.ZodString>;
1140
+ htmlUrl: z.ZodOptional<z.ZodString>;
1141
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1142
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ issueNumber: number;
1145
+ title?: string | undefined;
1146
+ createdAt?: string | undefined;
1147
+ updatedAt?: string | undefined;
1148
+ state?: "open" | "closed" | undefined;
1149
+ stateReason?: string | null | undefined;
1150
+ htmlUrl?: string | undefined;
1151
+ closedAt?: string | null | undefined;
1152
+ commentsCount?: number | undefined;
1153
+ displayName?: string | undefined;
1154
+ reactionsCount?: number | undefined;
1155
+ publicBody?: string | undefined;
1156
+ viewerHasReacted?: boolean | undefined;
1157
+ }, {
1158
+ issueNumber: number;
1159
+ title?: string | undefined;
1160
+ createdAt?: string | undefined;
1161
+ updatedAt?: string | undefined;
1162
+ state?: "open" | "closed" | undefined;
1163
+ stateReason?: string | null | undefined;
1164
+ htmlUrl?: string | undefined;
1165
+ closedAt?: string | null | undefined;
1166
+ commentsCount?: number | undefined;
1167
+ displayName?: string | undefined;
1168
+ reactionsCount?: number | undefined;
1169
+ publicBody?: string | undefined;
1170
+ viewerHasReacted?: boolean | undefined;
1171
+ }>>;
1172
+ error: z.ZodOptional<z.ZodString>;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ type: "get_public_issue_response";
1175
+ requestId: string;
1176
+ ok: boolean;
1177
+ error?: string | undefined;
1178
+ issue?: {
1179
+ issueNumber: number;
1180
+ title?: string | undefined;
1181
+ createdAt?: string | undefined;
1182
+ updatedAt?: string | undefined;
1183
+ state?: "open" | "closed" | undefined;
1184
+ stateReason?: string | null | undefined;
1185
+ htmlUrl?: string | undefined;
1186
+ closedAt?: string | null | undefined;
1187
+ commentsCount?: number | undefined;
1188
+ displayName?: string | undefined;
1189
+ reactionsCount?: number | undefined;
1190
+ publicBody?: string | undefined;
1191
+ viewerHasReacted?: boolean | undefined;
1192
+ } | undefined;
1193
+ }, {
1194
+ type: "get_public_issue_response";
1195
+ requestId: string;
1196
+ ok: boolean;
1197
+ error?: string | undefined;
1198
+ issue?: {
1199
+ issueNumber: number;
1200
+ title?: string | undefined;
1201
+ createdAt?: string | undefined;
1202
+ updatedAt?: string | undefined;
1203
+ state?: "open" | "closed" | undefined;
1204
+ stateReason?: string | null | undefined;
1205
+ htmlUrl?: string | undefined;
1206
+ closedAt?: string | null | undefined;
1207
+ commentsCount?: number | undefined;
1208
+ displayName?: string | undefined;
1209
+ reactionsCount?: number | undefined;
1210
+ publicBody?: string | undefined;
1211
+ viewerHasReacted?: boolean | undefined;
1212
+ } | undefined;
1213
+ }>;
1214
+ export declare const ListIssueCommentsRequestMessageSchema: z.ZodObject<{
1215
+ type: z.ZodLiteral<"list_issue_comments_request">;
1216
+ requestId: z.ZodString;
1217
+ issueNumber: z.ZodNumber;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ type: "list_issue_comments_request";
1220
+ requestId: string;
1221
+ issueNumber: number;
1222
+ }, {
1223
+ type: "list_issue_comments_request";
1224
+ requestId: string;
1225
+ issueNumber: number;
1226
+ }>;
1227
+ export declare const ListIssueCommentsResponseMessageSchema: z.ZodObject<{
1228
+ type: z.ZodLiteral<"list_issue_comments_response">;
1229
+ requestId: z.ZodString;
1230
+ ok: z.ZodBoolean;
1231
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
+ id: z.ZodString;
1233
+ issueNumber: z.ZodNumber;
1234
+ displayName: z.ZodOptional<z.ZodString>;
1235
+ body: z.ZodOptional<z.ZodString>;
1236
+ createdAt: z.ZodOptional<z.ZodString>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ id: string;
1239
+ issueNumber: number;
1240
+ createdAt?: string | undefined;
1241
+ body?: string | undefined;
1242
+ displayName?: string | undefined;
1243
+ }, {
1244
+ id: string;
1245
+ issueNumber: number;
1246
+ createdAt?: string | undefined;
1247
+ body?: string | undefined;
1248
+ displayName?: string | undefined;
1249
+ }>, "many">>;
1250
+ error: z.ZodOptional<z.ZodString>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ type: "list_issue_comments_response";
1253
+ requestId: string;
1254
+ ok: boolean;
1255
+ error?: string | undefined;
1256
+ comments?: {
1257
+ id: string;
1258
+ issueNumber: number;
1259
+ createdAt?: string | undefined;
1260
+ body?: string | undefined;
1261
+ displayName?: string | undefined;
1262
+ }[] | undefined;
1263
+ }, {
1264
+ type: "list_issue_comments_response";
1265
+ requestId: string;
1266
+ ok: boolean;
1267
+ error?: string | undefined;
1268
+ comments?: {
1269
+ id: string;
1270
+ issueNumber: number;
1271
+ createdAt?: string | undefined;
1272
+ body?: string | undefined;
1273
+ displayName?: string | undefined;
1274
+ }[] | undefined;
1275
+ }>;
1276
+ export declare const PostIssueCommentRequestMessageSchema: z.ZodObject<{
1277
+ type: z.ZodLiteral<"post_issue_comment_request">;
1278
+ requestId: z.ZodString;
1279
+ issueNumber: z.ZodNumber;
1280
+ email: z.ZodOptional<z.ZodString>;
1281
+ clientId: z.ZodOptional<z.ZodString>;
1282
+ displayName: z.ZodOptional<z.ZodString>;
1283
+ body: z.ZodOptional<z.ZodString>;
1284
+ }, "strip", z.ZodTypeAny, {
1285
+ type: "post_issue_comment_request";
1286
+ requestId: string;
1287
+ issueNumber: number;
1288
+ body?: string | undefined;
1289
+ displayName?: string | undefined;
1290
+ clientId?: string | undefined;
1291
+ email?: string | undefined;
1292
+ }, {
1293
+ type: "post_issue_comment_request";
1294
+ requestId: string;
1295
+ issueNumber: number;
1296
+ body?: string | undefined;
1297
+ displayName?: string | undefined;
1298
+ clientId?: string | undefined;
1299
+ email?: string | undefined;
1300
+ }>;
1301
+ export declare const PostIssueCommentResponseMessageSchema: z.ZodObject<{
1302
+ type: z.ZodLiteral<"post_issue_comment_response">;
1303
+ requestId: z.ZodString;
1304
+ ok: z.ZodBoolean;
1305
+ comment: z.ZodOptional<z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ issueNumber: z.ZodNumber;
1308
+ displayName: z.ZodOptional<z.ZodString>;
1309
+ body: z.ZodOptional<z.ZodString>;
1310
+ createdAt: z.ZodOptional<z.ZodString>;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ id: string;
1313
+ issueNumber: number;
1314
+ createdAt?: string | undefined;
1315
+ body?: string | undefined;
1316
+ displayName?: string | undefined;
1317
+ }, {
1318
+ id: string;
1319
+ issueNumber: number;
1320
+ createdAt?: string | undefined;
1321
+ body?: string | undefined;
1322
+ displayName?: string | undefined;
1323
+ }>>;
1324
+ error: z.ZodOptional<z.ZodString>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ type: "post_issue_comment_response";
1327
+ requestId: string;
1328
+ ok: boolean;
1329
+ error?: string | undefined;
1330
+ comment?: {
1331
+ id: string;
1332
+ issueNumber: number;
1333
+ createdAt?: string | undefined;
1334
+ body?: string | undefined;
1335
+ displayName?: string | undefined;
1336
+ } | undefined;
1337
+ }, {
1338
+ type: "post_issue_comment_response";
1339
+ requestId: string;
1340
+ ok: boolean;
1341
+ error?: string | undefined;
1342
+ comment?: {
1343
+ id: string;
1344
+ issueNumber: number;
1345
+ createdAt?: string | undefined;
1346
+ body?: string | undefined;
1347
+ displayName?: string | undefined;
1348
+ } | undefined;
1349
+ }>;
1350
+ export declare const ToggleIssueReactionRequestMessageSchema: z.ZodObject<{
1351
+ type: z.ZodLiteral<"toggle_issue_reaction_request">;
1352
+ requestId: z.ZodString;
1353
+ issueNumber: z.ZodNumber;
1354
+ email: z.ZodOptional<z.ZodString>;
1355
+ clientId: z.ZodOptional<z.ZodString>;
1356
+ content: z.ZodOptional<z.ZodLiteral<"+1">>;
1357
+ }, "strip", z.ZodTypeAny, {
1358
+ type: "toggle_issue_reaction_request";
1359
+ requestId: string;
1360
+ issueNumber: number;
1361
+ content?: "+1" | undefined;
1362
+ clientId?: string | undefined;
1363
+ email?: string | undefined;
1364
+ }, {
1365
+ type: "toggle_issue_reaction_request";
1366
+ requestId: string;
1367
+ issueNumber: number;
1368
+ content?: "+1" | undefined;
1369
+ clientId?: string | undefined;
1370
+ email?: string | undefined;
1371
+ }>;
1372
+ export declare const ToggleIssueReactionResponseMessageSchema: z.ZodObject<{
1373
+ type: z.ZodLiteral<"toggle_issue_reaction_response">;
1374
+ requestId: z.ZodString;
1375
+ ok: z.ZodBoolean;
1376
+ total: z.ZodOptional<z.ZodNumber>;
1377
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
1378
+ error: z.ZodOptional<z.ZodString>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ type: "toggle_issue_reaction_response";
1381
+ requestId: string;
1382
+ ok: boolean;
1383
+ error?: string | undefined;
1384
+ total?: number | undefined;
1385
+ viewerHasReacted?: boolean | undefined;
1386
+ }, {
1387
+ type: "toggle_issue_reaction_response";
1388
+ requestId: string;
1389
+ ok: boolean;
1390
+ error?: string | undefined;
1391
+ total?: number | undefined;
1392
+ viewerHasReacted?: boolean | undefined;
1393
+ }>;
784
1394
  export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{
785
1395
  type: z.ZodLiteral<"archive_agent_request">;
786
1396
  agentId: z.ZodString;
@@ -5609,6 +6219,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
5609
6219
  title: z.ZodOptional<z.ZodString>;
5610
6220
  description: z.ZodOptional<z.ZodString>;
5611
6221
  email: z.ZodOptional<z.ZodString>;
6222
+ displayName: z.ZodOptional<z.ZodString>;
5612
6223
  clientId: z.ZodOptional<z.ZodString>;
5613
6224
  appVersion: z.ZodOptional<z.ZodString>;
5614
6225
  device: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5661,6 +6272,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
5661
6272
  requestId: string;
5662
6273
  title?: string | undefined;
5663
6274
  description?: string | undefined;
6275
+ displayName?: string | undefined;
5664
6276
  clientId?: string | undefined;
5665
6277
  email?: string | undefined;
5666
6278
  appVersion?: string | undefined;
@@ -5688,6 +6300,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
5688
6300
  requestId: string;
5689
6301
  title?: string | undefined;
5690
6302
  description?: string | undefined;
6303
+ displayName?: string | undefined;
5691
6304
  clientId?: string | undefined;
5692
6305
  email?: string | undefined;
5693
6306
  appVersion?: string | undefined;
@@ -5710,6 +6323,123 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
5710
6323
  stderrTail: string;
5711
6324
  spawnError?: string | undefined;
5712
6325
  }[] | undefined;
6326
+ }>, z.ZodObject<{
6327
+ type: z.ZodLiteral<"list_my_issues_request">;
6328
+ requestId: z.ZodString;
6329
+ email: z.ZodOptional<z.ZodString>;
6330
+ clientId: z.ZodOptional<z.ZodString>;
6331
+ limit: z.ZodOptional<z.ZodNumber>;
6332
+ }, "strip", z.ZodTypeAny, {
6333
+ type: "list_my_issues_request";
6334
+ requestId: string;
6335
+ clientId?: string | undefined;
6336
+ limit?: number | undefined;
6337
+ email?: string | undefined;
6338
+ }, {
6339
+ type: "list_my_issues_request";
6340
+ requestId: string;
6341
+ clientId?: string | undefined;
6342
+ limit?: number | undefined;
6343
+ email?: string | undefined;
6344
+ }>, z.ZodObject<{
6345
+ type: z.ZodLiteral<"list_public_issues_request">;
6346
+ requestId: z.ZodString;
6347
+ sort: z.ZodOptional<z.ZodEnum<["latest", "top"]>>;
6348
+ limit: z.ZodOptional<z.ZodNumber>;
6349
+ offset: z.ZodOptional<z.ZodNumber>;
6350
+ email: z.ZodOptional<z.ZodString>;
6351
+ clientId: z.ZodOptional<z.ZodString>;
6352
+ }, "strip", z.ZodTypeAny, {
6353
+ type: "list_public_issues_request";
6354
+ requestId: string;
6355
+ sort?: "latest" | "top" | undefined;
6356
+ clientId?: string | undefined;
6357
+ limit?: number | undefined;
6358
+ email?: string | undefined;
6359
+ offset?: number | undefined;
6360
+ }, {
6361
+ type: "list_public_issues_request";
6362
+ requestId: string;
6363
+ sort?: "latest" | "top" | undefined;
6364
+ clientId?: string | undefined;
6365
+ limit?: number | undefined;
6366
+ email?: string | undefined;
6367
+ offset?: number | undefined;
6368
+ }>, z.ZodObject<{
6369
+ type: z.ZodLiteral<"get_public_issue_request">;
6370
+ requestId: z.ZodString;
6371
+ issueNumber: z.ZodNumber;
6372
+ email: z.ZodOptional<z.ZodString>;
6373
+ clientId: z.ZodOptional<z.ZodString>;
6374
+ }, "strip", z.ZodTypeAny, {
6375
+ type: "get_public_issue_request";
6376
+ requestId: string;
6377
+ issueNumber: number;
6378
+ clientId?: string | undefined;
6379
+ email?: string | undefined;
6380
+ }, {
6381
+ type: "get_public_issue_request";
6382
+ requestId: string;
6383
+ issueNumber: number;
6384
+ clientId?: string | undefined;
6385
+ email?: string | undefined;
6386
+ }>, z.ZodObject<{
6387
+ type: z.ZodLiteral<"list_issue_comments_request">;
6388
+ requestId: z.ZodString;
6389
+ issueNumber: z.ZodNumber;
6390
+ }, "strip", z.ZodTypeAny, {
6391
+ type: "list_issue_comments_request";
6392
+ requestId: string;
6393
+ issueNumber: number;
6394
+ }, {
6395
+ type: "list_issue_comments_request";
6396
+ requestId: string;
6397
+ issueNumber: number;
6398
+ }>, z.ZodObject<{
6399
+ type: z.ZodLiteral<"post_issue_comment_request">;
6400
+ requestId: z.ZodString;
6401
+ issueNumber: z.ZodNumber;
6402
+ email: z.ZodOptional<z.ZodString>;
6403
+ clientId: z.ZodOptional<z.ZodString>;
6404
+ displayName: z.ZodOptional<z.ZodString>;
6405
+ body: z.ZodOptional<z.ZodString>;
6406
+ }, "strip", z.ZodTypeAny, {
6407
+ type: "post_issue_comment_request";
6408
+ requestId: string;
6409
+ issueNumber: number;
6410
+ body?: string | undefined;
6411
+ displayName?: string | undefined;
6412
+ clientId?: string | undefined;
6413
+ email?: string | undefined;
6414
+ }, {
6415
+ type: "post_issue_comment_request";
6416
+ requestId: string;
6417
+ issueNumber: number;
6418
+ body?: string | undefined;
6419
+ displayName?: string | undefined;
6420
+ clientId?: string | undefined;
6421
+ email?: string | undefined;
6422
+ }>, z.ZodObject<{
6423
+ type: z.ZodLiteral<"toggle_issue_reaction_request">;
6424
+ requestId: z.ZodString;
6425
+ issueNumber: z.ZodNumber;
6426
+ email: z.ZodOptional<z.ZodString>;
6427
+ clientId: z.ZodOptional<z.ZodString>;
6428
+ content: z.ZodOptional<z.ZodLiteral<"+1">>;
6429
+ }, "strip", z.ZodTypeAny, {
6430
+ type: "toggle_issue_reaction_request";
6431
+ requestId: string;
6432
+ issueNumber: number;
6433
+ content?: "+1" | undefined;
6434
+ clientId?: string | undefined;
6435
+ email?: string | undefined;
6436
+ }, {
6437
+ type: "toggle_issue_reaction_request";
6438
+ requestId: string;
6439
+ issueNumber: number;
6440
+ content?: "+1" | undefined;
6441
+ clientId?: string | undefined;
6442
+ email?: string | undefined;
5713
6443
  }>]>;
5714
6444
  export type SessionInboundMessage = z.infer<typeof SessionInboundMessageSchema>;
5715
6445
  export declare const ActivityLogPayloadSchema: z.ZodObject<{
@@ -34943,6 +35673,356 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
34943
35673
  error?: string | undefined;
34944
35674
  issueNumber?: number | undefined;
34945
35675
  issueUrl?: string | undefined;
35676
+ }>, z.ZodObject<{
35677
+ type: z.ZodLiteral<"list_my_issues_response">;
35678
+ requestId: z.ZodString;
35679
+ ok: z.ZodBoolean;
35680
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
35681
+ issueNumber: z.ZodNumber;
35682
+ submittedAt: z.ZodOptional<z.ZodString>;
35683
+ title: z.ZodOptional<z.ZodString>;
35684
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
35685
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35686
+ htmlUrl: z.ZodOptional<z.ZodString>;
35687
+ createdAt: z.ZodOptional<z.ZodString>;
35688
+ updatedAt: z.ZodOptional<z.ZodString>;
35689
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35690
+ commentsCount: z.ZodOptional<z.ZodNumber>;
35691
+ }, "strip", z.ZodTypeAny, {
35692
+ issueNumber: number;
35693
+ title?: string | undefined;
35694
+ createdAt?: string | undefined;
35695
+ updatedAt?: string | undefined;
35696
+ state?: "open" | "closed" | undefined;
35697
+ submittedAt?: string | undefined;
35698
+ stateReason?: string | null | undefined;
35699
+ htmlUrl?: string | undefined;
35700
+ closedAt?: string | null | undefined;
35701
+ commentsCount?: number | undefined;
35702
+ }, {
35703
+ issueNumber: number;
35704
+ title?: string | undefined;
35705
+ createdAt?: string | undefined;
35706
+ updatedAt?: string | undefined;
35707
+ state?: "open" | "closed" | undefined;
35708
+ submittedAt?: string | undefined;
35709
+ stateReason?: string | null | undefined;
35710
+ htmlUrl?: string | undefined;
35711
+ closedAt?: string | null | undefined;
35712
+ commentsCount?: number | undefined;
35713
+ }>, "many">>;
35714
+ error: z.ZodOptional<z.ZodString>;
35715
+ }, "strip", z.ZodTypeAny, {
35716
+ type: "list_my_issues_response";
35717
+ requestId: string;
35718
+ ok: boolean;
35719
+ error?: string | undefined;
35720
+ issues?: {
35721
+ issueNumber: number;
35722
+ title?: string | undefined;
35723
+ createdAt?: string | undefined;
35724
+ updatedAt?: string | undefined;
35725
+ state?: "open" | "closed" | undefined;
35726
+ submittedAt?: string | undefined;
35727
+ stateReason?: string | null | undefined;
35728
+ htmlUrl?: string | undefined;
35729
+ closedAt?: string | null | undefined;
35730
+ commentsCount?: number | undefined;
35731
+ }[] | undefined;
35732
+ }, {
35733
+ type: "list_my_issues_response";
35734
+ requestId: string;
35735
+ ok: boolean;
35736
+ error?: string | undefined;
35737
+ issues?: {
35738
+ issueNumber: number;
35739
+ title?: string | undefined;
35740
+ createdAt?: string | undefined;
35741
+ updatedAt?: string | undefined;
35742
+ state?: "open" | "closed" | undefined;
35743
+ submittedAt?: string | undefined;
35744
+ stateReason?: string | null | undefined;
35745
+ htmlUrl?: string | undefined;
35746
+ closedAt?: string | null | undefined;
35747
+ commentsCount?: number | undefined;
35748
+ }[] | undefined;
35749
+ }>, z.ZodObject<{
35750
+ type: z.ZodLiteral<"list_public_issues_response">;
35751
+ requestId: z.ZodString;
35752
+ ok: z.ZodBoolean;
35753
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
35754
+ issueNumber: z.ZodNumber;
35755
+ displayName: z.ZodOptional<z.ZodString>;
35756
+ title: z.ZodOptional<z.ZodString>;
35757
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
35758
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35759
+ createdAt: z.ZodOptional<z.ZodString>;
35760
+ updatedAt: z.ZodOptional<z.ZodString>;
35761
+ commentsCount: z.ZodOptional<z.ZodNumber>;
35762
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
35763
+ }, "strip", z.ZodTypeAny, {
35764
+ issueNumber: number;
35765
+ title?: string | undefined;
35766
+ createdAt?: string | undefined;
35767
+ updatedAt?: string | undefined;
35768
+ state?: "open" | "closed" | undefined;
35769
+ stateReason?: string | null | undefined;
35770
+ commentsCount?: number | undefined;
35771
+ displayName?: string | undefined;
35772
+ reactionsCount?: number | undefined;
35773
+ }, {
35774
+ issueNumber: number;
35775
+ title?: string | undefined;
35776
+ createdAt?: string | undefined;
35777
+ updatedAt?: string | undefined;
35778
+ state?: "open" | "closed" | undefined;
35779
+ stateReason?: string | null | undefined;
35780
+ commentsCount?: number | undefined;
35781
+ displayName?: string | undefined;
35782
+ reactionsCount?: number | undefined;
35783
+ }>, "many">>;
35784
+ total: z.ZodOptional<z.ZodNumber>;
35785
+ error: z.ZodOptional<z.ZodString>;
35786
+ }, "strip", z.ZodTypeAny, {
35787
+ type: "list_public_issues_response";
35788
+ requestId: string;
35789
+ ok: boolean;
35790
+ error?: string | undefined;
35791
+ issues?: {
35792
+ issueNumber: number;
35793
+ title?: string | undefined;
35794
+ createdAt?: string | undefined;
35795
+ updatedAt?: string | undefined;
35796
+ state?: "open" | "closed" | undefined;
35797
+ stateReason?: string | null | undefined;
35798
+ commentsCount?: number | undefined;
35799
+ displayName?: string | undefined;
35800
+ reactionsCount?: number | undefined;
35801
+ }[] | undefined;
35802
+ total?: number | undefined;
35803
+ }, {
35804
+ type: "list_public_issues_response";
35805
+ requestId: string;
35806
+ ok: boolean;
35807
+ error?: string | undefined;
35808
+ issues?: {
35809
+ issueNumber: number;
35810
+ title?: string | undefined;
35811
+ createdAt?: string | undefined;
35812
+ updatedAt?: string | undefined;
35813
+ state?: "open" | "closed" | undefined;
35814
+ stateReason?: string | null | undefined;
35815
+ commentsCount?: number | undefined;
35816
+ displayName?: string | undefined;
35817
+ reactionsCount?: number | undefined;
35818
+ }[] | undefined;
35819
+ total?: number | undefined;
35820
+ }>, z.ZodObject<{
35821
+ type: z.ZodLiteral<"get_public_issue_response">;
35822
+ requestId: z.ZodString;
35823
+ ok: z.ZodBoolean;
35824
+ issue: z.ZodOptional<z.ZodObject<{
35825
+ issueNumber: z.ZodNumber;
35826
+ displayName: z.ZodOptional<z.ZodString>;
35827
+ title: z.ZodOptional<z.ZodString>;
35828
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
35829
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35830
+ createdAt: z.ZodOptional<z.ZodString>;
35831
+ updatedAt: z.ZodOptional<z.ZodString>;
35832
+ commentsCount: z.ZodOptional<z.ZodNumber>;
35833
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
35834
+ } & {
35835
+ publicBody: z.ZodOptional<z.ZodString>;
35836
+ htmlUrl: z.ZodOptional<z.ZodString>;
35837
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35838
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
35839
+ }, "strip", z.ZodTypeAny, {
35840
+ issueNumber: number;
35841
+ title?: string | undefined;
35842
+ createdAt?: string | undefined;
35843
+ updatedAt?: string | undefined;
35844
+ state?: "open" | "closed" | undefined;
35845
+ stateReason?: string | null | undefined;
35846
+ htmlUrl?: string | undefined;
35847
+ closedAt?: string | null | undefined;
35848
+ commentsCount?: number | undefined;
35849
+ displayName?: string | undefined;
35850
+ reactionsCount?: number | undefined;
35851
+ publicBody?: string | undefined;
35852
+ viewerHasReacted?: boolean | undefined;
35853
+ }, {
35854
+ issueNumber: number;
35855
+ title?: string | undefined;
35856
+ createdAt?: string | undefined;
35857
+ updatedAt?: string | undefined;
35858
+ state?: "open" | "closed" | undefined;
35859
+ stateReason?: string | null | undefined;
35860
+ htmlUrl?: string | undefined;
35861
+ closedAt?: string | null | undefined;
35862
+ commentsCount?: number | undefined;
35863
+ displayName?: string | undefined;
35864
+ reactionsCount?: number | undefined;
35865
+ publicBody?: string | undefined;
35866
+ viewerHasReacted?: boolean | undefined;
35867
+ }>>;
35868
+ error: z.ZodOptional<z.ZodString>;
35869
+ }, "strip", z.ZodTypeAny, {
35870
+ type: "get_public_issue_response";
35871
+ requestId: string;
35872
+ ok: boolean;
35873
+ error?: string | undefined;
35874
+ issue?: {
35875
+ issueNumber: number;
35876
+ title?: string | undefined;
35877
+ createdAt?: string | undefined;
35878
+ updatedAt?: string | undefined;
35879
+ state?: "open" | "closed" | undefined;
35880
+ stateReason?: string | null | undefined;
35881
+ htmlUrl?: string | undefined;
35882
+ closedAt?: string | null | undefined;
35883
+ commentsCount?: number | undefined;
35884
+ displayName?: string | undefined;
35885
+ reactionsCount?: number | undefined;
35886
+ publicBody?: string | undefined;
35887
+ viewerHasReacted?: boolean | undefined;
35888
+ } | undefined;
35889
+ }, {
35890
+ type: "get_public_issue_response";
35891
+ requestId: string;
35892
+ ok: boolean;
35893
+ error?: string | undefined;
35894
+ issue?: {
35895
+ issueNumber: number;
35896
+ title?: string | undefined;
35897
+ createdAt?: string | undefined;
35898
+ updatedAt?: string | undefined;
35899
+ state?: "open" | "closed" | undefined;
35900
+ stateReason?: string | null | undefined;
35901
+ htmlUrl?: string | undefined;
35902
+ closedAt?: string | null | undefined;
35903
+ commentsCount?: number | undefined;
35904
+ displayName?: string | undefined;
35905
+ reactionsCount?: number | undefined;
35906
+ publicBody?: string | undefined;
35907
+ viewerHasReacted?: boolean | undefined;
35908
+ } | undefined;
35909
+ }>, z.ZodObject<{
35910
+ type: z.ZodLiteral<"list_issue_comments_response">;
35911
+ requestId: z.ZodString;
35912
+ ok: z.ZodBoolean;
35913
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
35914
+ id: z.ZodString;
35915
+ issueNumber: z.ZodNumber;
35916
+ displayName: z.ZodOptional<z.ZodString>;
35917
+ body: z.ZodOptional<z.ZodString>;
35918
+ createdAt: z.ZodOptional<z.ZodString>;
35919
+ }, "strip", z.ZodTypeAny, {
35920
+ id: string;
35921
+ issueNumber: number;
35922
+ createdAt?: string | undefined;
35923
+ body?: string | undefined;
35924
+ displayName?: string | undefined;
35925
+ }, {
35926
+ id: string;
35927
+ issueNumber: number;
35928
+ createdAt?: string | undefined;
35929
+ body?: string | undefined;
35930
+ displayName?: string | undefined;
35931
+ }>, "many">>;
35932
+ error: z.ZodOptional<z.ZodString>;
35933
+ }, "strip", z.ZodTypeAny, {
35934
+ type: "list_issue_comments_response";
35935
+ requestId: string;
35936
+ ok: boolean;
35937
+ error?: string | undefined;
35938
+ comments?: {
35939
+ id: string;
35940
+ issueNumber: number;
35941
+ createdAt?: string | undefined;
35942
+ body?: string | undefined;
35943
+ displayName?: string | undefined;
35944
+ }[] | undefined;
35945
+ }, {
35946
+ type: "list_issue_comments_response";
35947
+ requestId: string;
35948
+ ok: boolean;
35949
+ error?: string | undefined;
35950
+ comments?: {
35951
+ id: string;
35952
+ issueNumber: number;
35953
+ createdAt?: string | undefined;
35954
+ body?: string | undefined;
35955
+ displayName?: string | undefined;
35956
+ }[] | undefined;
35957
+ }>, z.ZodObject<{
35958
+ type: z.ZodLiteral<"post_issue_comment_response">;
35959
+ requestId: z.ZodString;
35960
+ ok: z.ZodBoolean;
35961
+ comment: z.ZodOptional<z.ZodObject<{
35962
+ id: z.ZodString;
35963
+ issueNumber: z.ZodNumber;
35964
+ displayName: z.ZodOptional<z.ZodString>;
35965
+ body: z.ZodOptional<z.ZodString>;
35966
+ createdAt: z.ZodOptional<z.ZodString>;
35967
+ }, "strip", z.ZodTypeAny, {
35968
+ id: string;
35969
+ issueNumber: number;
35970
+ createdAt?: string | undefined;
35971
+ body?: string | undefined;
35972
+ displayName?: string | undefined;
35973
+ }, {
35974
+ id: string;
35975
+ issueNumber: number;
35976
+ createdAt?: string | undefined;
35977
+ body?: string | undefined;
35978
+ displayName?: string | undefined;
35979
+ }>>;
35980
+ error: z.ZodOptional<z.ZodString>;
35981
+ }, "strip", z.ZodTypeAny, {
35982
+ type: "post_issue_comment_response";
35983
+ requestId: string;
35984
+ ok: boolean;
35985
+ error?: string | undefined;
35986
+ comment?: {
35987
+ id: string;
35988
+ issueNumber: number;
35989
+ createdAt?: string | undefined;
35990
+ body?: string | undefined;
35991
+ displayName?: string | undefined;
35992
+ } | undefined;
35993
+ }, {
35994
+ type: "post_issue_comment_response";
35995
+ requestId: string;
35996
+ ok: boolean;
35997
+ error?: string | undefined;
35998
+ comment?: {
35999
+ id: string;
36000
+ issueNumber: number;
36001
+ createdAt?: string | undefined;
36002
+ body?: string | undefined;
36003
+ displayName?: string | undefined;
36004
+ } | undefined;
36005
+ }>, z.ZodObject<{
36006
+ type: z.ZodLiteral<"toggle_issue_reaction_response">;
36007
+ requestId: z.ZodString;
36008
+ ok: z.ZodBoolean;
36009
+ total: z.ZodOptional<z.ZodNumber>;
36010
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
36011
+ error: z.ZodOptional<z.ZodString>;
36012
+ }, "strip", z.ZodTypeAny, {
36013
+ type: "toggle_issue_reaction_response";
36014
+ requestId: string;
36015
+ ok: boolean;
36016
+ error?: string | undefined;
36017
+ total?: number | undefined;
36018
+ viewerHasReacted?: boolean | undefined;
36019
+ }, {
36020
+ type: "toggle_issue_reaction_response";
36021
+ requestId: string;
36022
+ ok: boolean;
36023
+ error?: string | undefined;
36024
+ total?: number | undefined;
36025
+ viewerHasReacted?: boolean | undefined;
34946
36026
  }>]>;
34947
36027
  export type SessionOutboundMessage = z.infer<typeof SessionOutboundMessageSchema>;
34948
36028
  export type ActivityLogMessage = z.infer<typeof ActivityLogMessageSchema>;
@@ -35058,6 +36138,22 @@ export type PersistedAgentDescriptorPayload = z.infer<typeof PersistedAgentDescr
35058
36138
  export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
35059
36139
  export type SubmitBugReportRequestMessage = z.infer<typeof SubmitBugReportRequestMessageSchema>;
35060
36140
  export type SubmitBugReportResponseMessage = z.infer<typeof SubmitBugReportResponseMessageSchema>;
36141
+ export type ListMyIssuesRequestMessage = z.infer<typeof ListMyIssuesRequestMessageSchema>;
36142
+ export type ListMyIssuesResponseMessage = z.infer<typeof ListMyIssuesResponseMessageSchema>;
36143
+ export type MyIssueSummary = z.infer<typeof MyIssueSummarySchema>;
36144
+ export type PublicIssueSummary = z.infer<typeof PublicIssueSummarySchema>;
36145
+ export type PublicIssueDetail = z.infer<typeof PublicIssueDetailSchema>;
36146
+ export type PublicComment = z.infer<typeof PublicCommentSchema>;
36147
+ export type ListPublicIssuesRequestMessage = z.infer<typeof ListPublicIssuesRequestMessageSchema>;
36148
+ export type ListPublicIssuesResponseMessage = z.infer<typeof ListPublicIssuesResponseMessageSchema>;
36149
+ export type GetPublicIssueRequestMessage = z.infer<typeof GetPublicIssueRequestMessageSchema>;
36150
+ export type GetPublicIssueResponseMessage = z.infer<typeof GetPublicIssueResponseMessageSchema>;
36151
+ export type ListIssueCommentsRequestMessage = z.infer<typeof ListIssueCommentsRequestMessageSchema>;
36152
+ export type ListIssueCommentsResponseMessage = z.infer<typeof ListIssueCommentsResponseMessageSchema>;
36153
+ export type PostIssueCommentRequestMessage = z.infer<typeof PostIssueCommentRequestMessageSchema>;
36154
+ export type PostIssueCommentResponseMessage = z.infer<typeof PostIssueCommentResponseMessageSchema>;
36155
+ export type ToggleIssueReactionRequestMessage = z.infer<typeof ToggleIssueReactionRequestMessageSchema>;
36156
+ export type ToggleIssueReactionResponseMessage = z.infer<typeof ToggleIssueReactionResponseMessageSchema>;
35061
36157
  export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
35062
36158
  export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
35063
36159
  export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
@@ -37703,6 +38799,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
37703
38799
  title: z.ZodOptional<z.ZodString>;
37704
38800
  description: z.ZodOptional<z.ZodString>;
37705
38801
  email: z.ZodOptional<z.ZodString>;
38802
+ displayName: z.ZodOptional<z.ZodString>;
37706
38803
  clientId: z.ZodOptional<z.ZodString>;
37707
38804
  appVersion: z.ZodOptional<z.ZodString>;
37708
38805
  device: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -37755,6 +38852,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
37755
38852
  requestId: string;
37756
38853
  title?: string | undefined;
37757
38854
  description?: string | undefined;
38855
+ displayName?: string | undefined;
37758
38856
  clientId?: string | undefined;
37759
38857
  email?: string | undefined;
37760
38858
  appVersion?: string | undefined;
@@ -37782,6 +38880,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
37782
38880
  requestId: string;
37783
38881
  title?: string | undefined;
37784
38882
  description?: string | undefined;
38883
+ displayName?: string | undefined;
37785
38884
  clientId?: string | undefined;
37786
38885
  email?: string | undefined;
37787
38886
  appVersion?: string | undefined;
@@ -37804,6 +38903,123 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
37804
38903
  stderrTail: string;
37805
38904
  spawnError?: string | undefined;
37806
38905
  }[] | undefined;
38906
+ }>, z.ZodObject<{
38907
+ type: z.ZodLiteral<"list_my_issues_request">;
38908
+ requestId: z.ZodString;
38909
+ email: z.ZodOptional<z.ZodString>;
38910
+ clientId: z.ZodOptional<z.ZodString>;
38911
+ limit: z.ZodOptional<z.ZodNumber>;
38912
+ }, "strip", z.ZodTypeAny, {
38913
+ type: "list_my_issues_request";
38914
+ requestId: string;
38915
+ clientId?: string | undefined;
38916
+ limit?: number | undefined;
38917
+ email?: string | undefined;
38918
+ }, {
38919
+ type: "list_my_issues_request";
38920
+ requestId: string;
38921
+ clientId?: string | undefined;
38922
+ limit?: number | undefined;
38923
+ email?: string | undefined;
38924
+ }>, z.ZodObject<{
38925
+ type: z.ZodLiteral<"list_public_issues_request">;
38926
+ requestId: z.ZodString;
38927
+ sort: z.ZodOptional<z.ZodEnum<["latest", "top"]>>;
38928
+ limit: z.ZodOptional<z.ZodNumber>;
38929
+ offset: z.ZodOptional<z.ZodNumber>;
38930
+ email: z.ZodOptional<z.ZodString>;
38931
+ clientId: z.ZodOptional<z.ZodString>;
38932
+ }, "strip", z.ZodTypeAny, {
38933
+ type: "list_public_issues_request";
38934
+ requestId: string;
38935
+ sort?: "latest" | "top" | undefined;
38936
+ clientId?: string | undefined;
38937
+ limit?: number | undefined;
38938
+ email?: string | undefined;
38939
+ offset?: number | undefined;
38940
+ }, {
38941
+ type: "list_public_issues_request";
38942
+ requestId: string;
38943
+ sort?: "latest" | "top" | undefined;
38944
+ clientId?: string | undefined;
38945
+ limit?: number | undefined;
38946
+ email?: string | undefined;
38947
+ offset?: number | undefined;
38948
+ }>, z.ZodObject<{
38949
+ type: z.ZodLiteral<"get_public_issue_request">;
38950
+ requestId: z.ZodString;
38951
+ issueNumber: z.ZodNumber;
38952
+ email: z.ZodOptional<z.ZodString>;
38953
+ clientId: z.ZodOptional<z.ZodString>;
38954
+ }, "strip", z.ZodTypeAny, {
38955
+ type: "get_public_issue_request";
38956
+ requestId: string;
38957
+ issueNumber: number;
38958
+ clientId?: string | undefined;
38959
+ email?: string | undefined;
38960
+ }, {
38961
+ type: "get_public_issue_request";
38962
+ requestId: string;
38963
+ issueNumber: number;
38964
+ clientId?: string | undefined;
38965
+ email?: string | undefined;
38966
+ }>, z.ZodObject<{
38967
+ type: z.ZodLiteral<"list_issue_comments_request">;
38968
+ requestId: z.ZodString;
38969
+ issueNumber: z.ZodNumber;
38970
+ }, "strip", z.ZodTypeAny, {
38971
+ type: "list_issue_comments_request";
38972
+ requestId: string;
38973
+ issueNumber: number;
38974
+ }, {
38975
+ type: "list_issue_comments_request";
38976
+ requestId: string;
38977
+ issueNumber: number;
38978
+ }>, z.ZodObject<{
38979
+ type: z.ZodLiteral<"post_issue_comment_request">;
38980
+ requestId: z.ZodString;
38981
+ issueNumber: z.ZodNumber;
38982
+ email: z.ZodOptional<z.ZodString>;
38983
+ clientId: z.ZodOptional<z.ZodString>;
38984
+ displayName: z.ZodOptional<z.ZodString>;
38985
+ body: z.ZodOptional<z.ZodString>;
38986
+ }, "strip", z.ZodTypeAny, {
38987
+ type: "post_issue_comment_request";
38988
+ requestId: string;
38989
+ issueNumber: number;
38990
+ body?: string | undefined;
38991
+ displayName?: string | undefined;
38992
+ clientId?: string | undefined;
38993
+ email?: string | undefined;
38994
+ }, {
38995
+ type: "post_issue_comment_request";
38996
+ requestId: string;
38997
+ issueNumber: number;
38998
+ body?: string | undefined;
38999
+ displayName?: string | undefined;
39000
+ clientId?: string | undefined;
39001
+ email?: string | undefined;
39002
+ }>, z.ZodObject<{
39003
+ type: z.ZodLiteral<"toggle_issue_reaction_request">;
39004
+ requestId: z.ZodString;
39005
+ issueNumber: z.ZodNumber;
39006
+ email: z.ZodOptional<z.ZodString>;
39007
+ clientId: z.ZodOptional<z.ZodString>;
39008
+ content: z.ZodOptional<z.ZodLiteral<"+1">>;
39009
+ }, "strip", z.ZodTypeAny, {
39010
+ type: "toggle_issue_reaction_request";
39011
+ requestId: string;
39012
+ issueNumber: number;
39013
+ content?: "+1" | undefined;
39014
+ clientId?: string | undefined;
39015
+ email?: string | undefined;
39016
+ }, {
39017
+ type: "toggle_issue_reaction_request";
39018
+ requestId: string;
39019
+ issueNumber: number;
39020
+ content?: "+1" | undefined;
39021
+ clientId?: string | undefined;
39022
+ email?: string | undefined;
37807
39023
  }>]>;
37808
39024
  }, "strip", z.ZodTypeAny, {
37809
39025
  message: {
@@ -38480,6 +39696,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
38480
39696
  requestId: string;
38481
39697
  title?: string | undefined;
38482
39698
  description?: string | undefined;
39699
+ displayName?: string | undefined;
38483
39700
  clientId?: string | undefined;
38484
39701
  email?: string | undefined;
38485
39702
  appVersion?: string | undefined;
@@ -38502,6 +39719,45 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
38502
39719
  stderrTail: string;
38503
39720
  spawnError?: string | undefined;
38504
39721
  }[] | undefined;
39722
+ } | {
39723
+ type: "list_my_issues_request";
39724
+ requestId: string;
39725
+ clientId?: string | undefined;
39726
+ limit?: number | undefined;
39727
+ email?: string | undefined;
39728
+ } | {
39729
+ type: "list_public_issues_request";
39730
+ requestId: string;
39731
+ sort?: "latest" | "top" | undefined;
39732
+ clientId?: string | undefined;
39733
+ limit?: number | undefined;
39734
+ email?: string | undefined;
39735
+ offset?: number | undefined;
39736
+ } | {
39737
+ type: "get_public_issue_request";
39738
+ requestId: string;
39739
+ issueNumber: number;
39740
+ clientId?: string | undefined;
39741
+ email?: string | undefined;
39742
+ } | {
39743
+ type: "list_issue_comments_request";
39744
+ requestId: string;
39745
+ issueNumber: number;
39746
+ } | {
39747
+ type: "post_issue_comment_request";
39748
+ requestId: string;
39749
+ issueNumber: number;
39750
+ body?: string | undefined;
39751
+ displayName?: string | undefined;
39752
+ clientId?: string | undefined;
39753
+ email?: string | undefined;
39754
+ } | {
39755
+ type: "toggle_issue_reaction_request";
39756
+ requestId: string;
39757
+ issueNumber: number;
39758
+ content?: "+1" | undefined;
39759
+ clientId?: string | undefined;
39760
+ email?: string | undefined;
38505
39761
  };
38506
39762
  type: "session";
38507
39763
  }, {
@@ -39179,6 +40435,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
39179
40435
  requestId: string;
39180
40436
  title?: string | undefined;
39181
40437
  description?: string | undefined;
40438
+ displayName?: string | undefined;
39182
40439
  clientId?: string | undefined;
39183
40440
  email?: string | undefined;
39184
40441
  appVersion?: string | undefined;
@@ -39201,6 +40458,45 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
39201
40458
  stderrTail: string;
39202
40459
  spawnError?: string | undefined;
39203
40460
  }[] | undefined;
40461
+ } | {
40462
+ type: "list_my_issues_request";
40463
+ requestId: string;
40464
+ clientId?: string | undefined;
40465
+ limit?: number | undefined;
40466
+ email?: string | undefined;
40467
+ } | {
40468
+ type: "list_public_issues_request";
40469
+ requestId: string;
40470
+ sort?: "latest" | "top" | undefined;
40471
+ clientId?: string | undefined;
40472
+ limit?: number | undefined;
40473
+ email?: string | undefined;
40474
+ offset?: number | undefined;
40475
+ } | {
40476
+ type: "get_public_issue_request";
40477
+ requestId: string;
40478
+ issueNumber: number;
40479
+ clientId?: string | undefined;
40480
+ email?: string | undefined;
40481
+ } | {
40482
+ type: "list_issue_comments_request";
40483
+ requestId: string;
40484
+ issueNumber: number;
40485
+ } | {
40486
+ type: "post_issue_comment_request";
40487
+ requestId: string;
40488
+ issueNumber: number;
40489
+ body?: string | undefined;
40490
+ displayName?: string | undefined;
40491
+ clientId?: string | undefined;
40492
+ email?: string | undefined;
40493
+ } | {
40494
+ type: "toggle_issue_reaction_request";
40495
+ requestId: string;
40496
+ issueNumber: number;
40497
+ content?: "+1" | undefined;
40498
+ clientId?: string | undefined;
40499
+ email?: string | undefined;
39204
40500
  };
39205
40501
  type: "session";
39206
40502
  }>;
@@ -54890,6 +56186,356 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54890
56186
  error?: string | undefined;
54891
56187
  issueNumber?: number | undefined;
54892
56188
  issueUrl?: string | undefined;
56189
+ }>, z.ZodObject<{
56190
+ type: z.ZodLiteral<"list_my_issues_response">;
56191
+ requestId: z.ZodString;
56192
+ ok: z.ZodBoolean;
56193
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
56194
+ issueNumber: z.ZodNumber;
56195
+ submittedAt: z.ZodOptional<z.ZodString>;
56196
+ title: z.ZodOptional<z.ZodString>;
56197
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
56198
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56199
+ htmlUrl: z.ZodOptional<z.ZodString>;
56200
+ createdAt: z.ZodOptional<z.ZodString>;
56201
+ updatedAt: z.ZodOptional<z.ZodString>;
56202
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56203
+ commentsCount: z.ZodOptional<z.ZodNumber>;
56204
+ }, "strip", z.ZodTypeAny, {
56205
+ issueNumber: number;
56206
+ title?: string | undefined;
56207
+ createdAt?: string | undefined;
56208
+ updatedAt?: string | undefined;
56209
+ state?: "open" | "closed" | undefined;
56210
+ submittedAt?: string | undefined;
56211
+ stateReason?: string | null | undefined;
56212
+ htmlUrl?: string | undefined;
56213
+ closedAt?: string | null | undefined;
56214
+ commentsCount?: number | undefined;
56215
+ }, {
56216
+ issueNumber: number;
56217
+ title?: string | undefined;
56218
+ createdAt?: string | undefined;
56219
+ updatedAt?: string | undefined;
56220
+ state?: "open" | "closed" | undefined;
56221
+ submittedAt?: string | undefined;
56222
+ stateReason?: string | null | undefined;
56223
+ htmlUrl?: string | undefined;
56224
+ closedAt?: string | null | undefined;
56225
+ commentsCount?: number | undefined;
56226
+ }>, "many">>;
56227
+ error: z.ZodOptional<z.ZodString>;
56228
+ }, "strip", z.ZodTypeAny, {
56229
+ type: "list_my_issues_response";
56230
+ requestId: string;
56231
+ ok: boolean;
56232
+ error?: string | undefined;
56233
+ issues?: {
56234
+ issueNumber: number;
56235
+ title?: string | undefined;
56236
+ createdAt?: string | undefined;
56237
+ updatedAt?: string | undefined;
56238
+ state?: "open" | "closed" | undefined;
56239
+ submittedAt?: string | undefined;
56240
+ stateReason?: string | null | undefined;
56241
+ htmlUrl?: string | undefined;
56242
+ closedAt?: string | null | undefined;
56243
+ commentsCount?: number | undefined;
56244
+ }[] | undefined;
56245
+ }, {
56246
+ type: "list_my_issues_response";
56247
+ requestId: string;
56248
+ ok: boolean;
56249
+ error?: string | undefined;
56250
+ issues?: {
56251
+ issueNumber: number;
56252
+ title?: string | undefined;
56253
+ createdAt?: string | undefined;
56254
+ updatedAt?: string | undefined;
56255
+ state?: "open" | "closed" | undefined;
56256
+ submittedAt?: string | undefined;
56257
+ stateReason?: string | null | undefined;
56258
+ htmlUrl?: string | undefined;
56259
+ closedAt?: string | null | undefined;
56260
+ commentsCount?: number | undefined;
56261
+ }[] | undefined;
56262
+ }>, z.ZodObject<{
56263
+ type: z.ZodLiteral<"list_public_issues_response">;
56264
+ requestId: z.ZodString;
56265
+ ok: z.ZodBoolean;
56266
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
56267
+ issueNumber: z.ZodNumber;
56268
+ displayName: z.ZodOptional<z.ZodString>;
56269
+ title: z.ZodOptional<z.ZodString>;
56270
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
56271
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56272
+ createdAt: z.ZodOptional<z.ZodString>;
56273
+ updatedAt: z.ZodOptional<z.ZodString>;
56274
+ commentsCount: z.ZodOptional<z.ZodNumber>;
56275
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
56276
+ }, "strip", z.ZodTypeAny, {
56277
+ issueNumber: number;
56278
+ title?: string | undefined;
56279
+ createdAt?: string | undefined;
56280
+ updatedAt?: string | undefined;
56281
+ state?: "open" | "closed" | undefined;
56282
+ stateReason?: string | null | undefined;
56283
+ commentsCount?: number | undefined;
56284
+ displayName?: string | undefined;
56285
+ reactionsCount?: number | undefined;
56286
+ }, {
56287
+ issueNumber: number;
56288
+ title?: string | undefined;
56289
+ createdAt?: string | undefined;
56290
+ updatedAt?: string | undefined;
56291
+ state?: "open" | "closed" | undefined;
56292
+ stateReason?: string | null | undefined;
56293
+ commentsCount?: number | undefined;
56294
+ displayName?: string | undefined;
56295
+ reactionsCount?: number | undefined;
56296
+ }>, "many">>;
56297
+ total: z.ZodOptional<z.ZodNumber>;
56298
+ error: z.ZodOptional<z.ZodString>;
56299
+ }, "strip", z.ZodTypeAny, {
56300
+ type: "list_public_issues_response";
56301
+ requestId: string;
56302
+ ok: boolean;
56303
+ error?: string | undefined;
56304
+ issues?: {
56305
+ issueNumber: number;
56306
+ title?: string | undefined;
56307
+ createdAt?: string | undefined;
56308
+ updatedAt?: string | undefined;
56309
+ state?: "open" | "closed" | undefined;
56310
+ stateReason?: string | null | undefined;
56311
+ commentsCount?: number | undefined;
56312
+ displayName?: string | undefined;
56313
+ reactionsCount?: number | undefined;
56314
+ }[] | undefined;
56315
+ total?: number | undefined;
56316
+ }, {
56317
+ type: "list_public_issues_response";
56318
+ requestId: string;
56319
+ ok: boolean;
56320
+ error?: string | undefined;
56321
+ issues?: {
56322
+ issueNumber: number;
56323
+ title?: string | undefined;
56324
+ createdAt?: string | undefined;
56325
+ updatedAt?: string | undefined;
56326
+ state?: "open" | "closed" | undefined;
56327
+ stateReason?: string | null | undefined;
56328
+ commentsCount?: number | undefined;
56329
+ displayName?: string | undefined;
56330
+ reactionsCount?: number | undefined;
56331
+ }[] | undefined;
56332
+ total?: number | undefined;
56333
+ }>, z.ZodObject<{
56334
+ type: z.ZodLiteral<"get_public_issue_response">;
56335
+ requestId: z.ZodString;
56336
+ ok: z.ZodBoolean;
56337
+ issue: z.ZodOptional<z.ZodObject<{
56338
+ issueNumber: z.ZodNumber;
56339
+ displayName: z.ZodOptional<z.ZodString>;
56340
+ title: z.ZodOptional<z.ZodString>;
56341
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
56342
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56343
+ createdAt: z.ZodOptional<z.ZodString>;
56344
+ updatedAt: z.ZodOptional<z.ZodString>;
56345
+ commentsCount: z.ZodOptional<z.ZodNumber>;
56346
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
56347
+ } & {
56348
+ publicBody: z.ZodOptional<z.ZodString>;
56349
+ htmlUrl: z.ZodOptional<z.ZodString>;
56350
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56351
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
56352
+ }, "strip", z.ZodTypeAny, {
56353
+ issueNumber: number;
56354
+ title?: string | undefined;
56355
+ createdAt?: string | undefined;
56356
+ updatedAt?: string | undefined;
56357
+ state?: "open" | "closed" | undefined;
56358
+ stateReason?: string | null | undefined;
56359
+ htmlUrl?: string | undefined;
56360
+ closedAt?: string | null | undefined;
56361
+ commentsCount?: number | undefined;
56362
+ displayName?: string | undefined;
56363
+ reactionsCount?: number | undefined;
56364
+ publicBody?: string | undefined;
56365
+ viewerHasReacted?: boolean | undefined;
56366
+ }, {
56367
+ issueNumber: number;
56368
+ title?: string | undefined;
56369
+ createdAt?: string | undefined;
56370
+ updatedAt?: string | undefined;
56371
+ state?: "open" | "closed" | undefined;
56372
+ stateReason?: string | null | undefined;
56373
+ htmlUrl?: string | undefined;
56374
+ closedAt?: string | null | undefined;
56375
+ commentsCount?: number | undefined;
56376
+ displayName?: string | undefined;
56377
+ reactionsCount?: number | undefined;
56378
+ publicBody?: string | undefined;
56379
+ viewerHasReacted?: boolean | undefined;
56380
+ }>>;
56381
+ error: z.ZodOptional<z.ZodString>;
56382
+ }, "strip", z.ZodTypeAny, {
56383
+ type: "get_public_issue_response";
56384
+ requestId: string;
56385
+ ok: boolean;
56386
+ error?: string | undefined;
56387
+ issue?: {
56388
+ issueNumber: number;
56389
+ title?: string | undefined;
56390
+ createdAt?: string | undefined;
56391
+ updatedAt?: string | undefined;
56392
+ state?: "open" | "closed" | undefined;
56393
+ stateReason?: string | null | undefined;
56394
+ htmlUrl?: string | undefined;
56395
+ closedAt?: string | null | undefined;
56396
+ commentsCount?: number | undefined;
56397
+ displayName?: string | undefined;
56398
+ reactionsCount?: number | undefined;
56399
+ publicBody?: string | undefined;
56400
+ viewerHasReacted?: boolean | undefined;
56401
+ } | undefined;
56402
+ }, {
56403
+ type: "get_public_issue_response";
56404
+ requestId: string;
56405
+ ok: boolean;
56406
+ error?: string | undefined;
56407
+ issue?: {
56408
+ issueNumber: number;
56409
+ title?: string | undefined;
56410
+ createdAt?: string | undefined;
56411
+ updatedAt?: string | undefined;
56412
+ state?: "open" | "closed" | undefined;
56413
+ stateReason?: string | null | undefined;
56414
+ htmlUrl?: string | undefined;
56415
+ closedAt?: string | null | undefined;
56416
+ commentsCount?: number | undefined;
56417
+ displayName?: string | undefined;
56418
+ reactionsCount?: number | undefined;
56419
+ publicBody?: string | undefined;
56420
+ viewerHasReacted?: boolean | undefined;
56421
+ } | undefined;
56422
+ }>, z.ZodObject<{
56423
+ type: z.ZodLiteral<"list_issue_comments_response">;
56424
+ requestId: z.ZodString;
56425
+ ok: z.ZodBoolean;
56426
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
56427
+ id: z.ZodString;
56428
+ issueNumber: z.ZodNumber;
56429
+ displayName: z.ZodOptional<z.ZodString>;
56430
+ body: z.ZodOptional<z.ZodString>;
56431
+ createdAt: z.ZodOptional<z.ZodString>;
56432
+ }, "strip", z.ZodTypeAny, {
56433
+ id: string;
56434
+ issueNumber: number;
56435
+ createdAt?: string | undefined;
56436
+ body?: string | undefined;
56437
+ displayName?: string | undefined;
56438
+ }, {
56439
+ id: string;
56440
+ issueNumber: number;
56441
+ createdAt?: string | undefined;
56442
+ body?: string | undefined;
56443
+ displayName?: string | undefined;
56444
+ }>, "many">>;
56445
+ error: z.ZodOptional<z.ZodString>;
56446
+ }, "strip", z.ZodTypeAny, {
56447
+ type: "list_issue_comments_response";
56448
+ requestId: string;
56449
+ ok: boolean;
56450
+ error?: string | undefined;
56451
+ comments?: {
56452
+ id: string;
56453
+ issueNumber: number;
56454
+ createdAt?: string | undefined;
56455
+ body?: string | undefined;
56456
+ displayName?: string | undefined;
56457
+ }[] | undefined;
56458
+ }, {
56459
+ type: "list_issue_comments_response";
56460
+ requestId: string;
56461
+ ok: boolean;
56462
+ error?: string | undefined;
56463
+ comments?: {
56464
+ id: string;
56465
+ issueNumber: number;
56466
+ createdAt?: string | undefined;
56467
+ body?: string | undefined;
56468
+ displayName?: string | undefined;
56469
+ }[] | undefined;
56470
+ }>, z.ZodObject<{
56471
+ type: z.ZodLiteral<"post_issue_comment_response">;
56472
+ requestId: z.ZodString;
56473
+ ok: z.ZodBoolean;
56474
+ comment: z.ZodOptional<z.ZodObject<{
56475
+ id: z.ZodString;
56476
+ issueNumber: z.ZodNumber;
56477
+ displayName: z.ZodOptional<z.ZodString>;
56478
+ body: z.ZodOptional<z.ZodString>;
56479
+ createdAt: z.ZodOptional<z.ZodString>;
56480
+ }, "strip", z.ZodTypeAny, {
56481
+ id: string;
56482
+ issueNumber: number;
56483
+ createdAt?: string | undefined;
56484
+ body?: string | undefined;
56485
+ displayName?: string | undefined;
56486
+ }, {
56487
+ id: string;
56488
+ issueNumber: number;
56489
+ createdAt?: string | undefined;
56490
+ body?: string | undefined;
56491
+ displayName?: string | undefined;
56492
+ }>>;
56493
+ error: z.ZodOptional<z.ZodString>;
56494
+ }, "strip", z.ZodTypeAny, {
56495
+ type: "post_issue_comment_response";
56496
+ requestId: string;
56497
+ ok: boolean;
56498
+ error?: string | undefined;
56499
+ comment?: {
56500
+ id: string;
56501
+ issueNumber: number;
56502
+ createdAt?: string | undefined;
56503
+ body?: string | undefined;
56504
+ displayName?: string | undefined;
56505
+ } | undefined;
56506
+ }, {
56507
+ type: "post_issue_comment_response";
56508
+ requestId: string;
56509
+ ok: boolean;
56510
+ error?: string | undefined;
56511
+ comment?: {
56512
+ id: string;
56513
+ issueNumber: number;
56514
+ createdAt?: string | undefined;
56515
+ body?: string | undefined;
56516
+ displayName?: string | undefined;
56517
+ } | undefined;
56518
+ }>, z.ZodObject<{
56519
+ type: z.ZodLiteral<"toggle_issue_reaction_response">;
56520
+ requestId: z.ZodString;
56521
+ ok: z.ZodBoolean;
56522
+ total: z.ZodOptional<z.ZodNumber>;
56523
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
56524
+ error: z.ZodOptional<z.ZodString>;
56525
+ }, "strip", z.ZodTypeAny, {
56526
+ type: "toggle_issue_reaction_response";
56527
+ requestId: string;
56528
+ ok: boolean;
56529
+ error?: string | undefined;
56530
+ total?: number | undefined;
56531
+ viewerHasReacted?: boolean | undefined;
56532
+ }, {
56533
+ type: "toggle_issue_reaction_response";
56534
+ requestId: string;
56535
+ ok: boolean;
56536
+ error?: string | undefined;
56537
+ total?: number | undefined;
56538
+ viewerHasReacted?: boolean | undefined;
54893
56539
  }>]>;
54894
56540
  }, "strip", z.ZodTypeAny, {
54895
56541
  message: {
@@ -57130,6 +58776,91 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
57130
58776
  error?: string | undefined;
57131
58777
  issueNumber?: number | undefined;
57132
58778
  issueUrl?: string | undefined;
58779
+ } | {
58780
+ type: "list_my_issues_response";
58781
+ requestId: string;
58782
+ ok: boolean;
58783
+ error?: string | undefined;
58784
+ issues?: {
58785
+ issueNumber: number;
58786
+ title?: string | undefined;
58787
+ createdAt?: string | undefined;
58788
+ updatedAt?: string | undefined;
58789
+ state?: "open" | "closed" | undefined;
58790
+ submittedAt?: string | undefined;
58791
+ stateReason?: string | null | undefined;
58792
+ htmlUrl?: string | undefined;
58793
+ closedAt?: string | null | undefined;
58794
+ commentsCount?: number | undefined;
58795
+ }[] | undefined;
58796
+ } | {
58797
+ type: "list_public_issues_response";
58798
+ requestId: string;
58799
+ ok: boolean;
58800
+ error?: string | undefined;
58801
+ issues?: {
58802
+ issueNumber: number;
58803
+ title?: string | undefined;
58804
+ createdAt?: string | undefined;
58805
+ updatedAt?: string | undefined;
58806
+ state?: "open" | "closed" | undefined;
58807
+ stateReason?: string | null | undefined;
58808
+ commentsCount?: number | undefined;
58809
+ displayName?: string | undefined;
58810
+ reactionsCount?: number | undefined;
58811
+ }[] | undefined;
58812
+ total?: number | undefined;
58813
+ } | {
58814
+ type: "get_public_issue_response";
58815
+ requestId: string;
58816
+ ok: boolean;
58817
+ error?: string | undefined;
58818
+ issue?: {
58819
+ issueNumber: number;
58820
+ title?: string | undefined;
58821
+ createdAt?: string | undefined;
58822
+ updatedAt?: string | undefined;
58823
+ state?: "open" | "closed" | undefined;
58824
+ stateReason?: string | null | undefined;
58825
+ htmlUrl?: string | undefined;
58826
+ closedAt?: string | null | undefined;
58827
+ commentsCount?: number | undefined;
58828
+ displayName?: string | undefined;
58829
+ reactionsCount?: number | undefined;
58830
+ publicBody?: string | undefined;
58831
+ viewerHasReacted?: boolean | undefined;
58832
+ } | undefined;
58833
+ } | {
58834
+ type: "list_issue_comments_response";
58835
+ requestId: string;
58836
+ ok: boolean;
58837
+ error?: string | undefined;
58838
+ comments?: {
58839
+ id: string;
58840
+ issueNumber: number;
58841
+ createdAt?: string | undefined;
58842
+ body?: string | undefined;
58843
+ displayName?: string | undefined;
58844
+ }[] | undefined;
58845
+ } | {
58846
+ type: "post_issue_comment_response";
58847
+ requestId: string;
58848
+ ok: boolean;
58849
+ error?: string | undefined;
58850
+ comment?: {
58851
+ id: string;
58852
+ issueNumber: number;
58853
+ createdAt?: string | undefined;
58854
+ body?: string | undefined;
58855
+ displayName?: string | undefined;
58856
+ } | undefined;
58857
+ } | {
58858
+ type: "toggle_issue_reaction_response";
58859
+ requestId: string;
58860
+ ok: boolean;
58861
+ error?: string | undefined;
58862
+ total?: number | undefined;
58863
+ viewerHasReacted?: boolean | undefined;
57133
58864
  };
57134
58865
  type: "session";
57135
58866
  }, {
@@ -59371,6 +61102,91 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
59371
61102
  error?: string | undefined;
59372
61103
  issueNumber?: number | undefined;
59373
61104
  issueUrl?: string | undefined;
61105
+ } | {
61106
+ type: "list_my_issues_response";
61107
+ requestId: string;
61108
+ ok: boolean;
61109
+ error?: string | undefined;
61110
+ issues?: {
61111
+ issueNumber: number;
61112
+ title?: string | undefined;
61113
+ createdAt?: string | undefined;
61114
+ updatedAt?: string | undefined;
61115
+ state?: "open" | "closed" | undefined;
61116
+ submittedAt?: string | undefined;
61117
+ stateReason?: string | null | undefined;
61118
+ htmlUrl?: string | undefined;
61119
+ closedAt?: string | null | undefined;
61120
+ commentsCount?: number | undefined;
61121
+ }[] | undefined;
61122
+ } | {
61123
+ type: "list_public_issues_response";
61124
+ requestId: string;
61125
+ ok: boolean;
61126
+ error?: string | undefined;
61127
+ issues?: {
61128
+ issueNumber: number;
61129
+ title?: string | undefined;
61130
+ createdAt?: string | undefined;
61131
+ updatedAt?: string | undefined;
61132
+ state?: "open" | "closed" | undefined;
61133
+ stateReason?: string | null | undefined;
61134
+ commentsCount?: number | undefined;
61135
+ displayName?: string | undefined;
61136
+ reactionsCount?: number | undefined;
61137
+ }[] | undefined;
61138
+ total?: number | undefined;
61139
+ } | {
61140
+ type: "get_public_issue_response";
61141
+ requestId: string;
61142
+ ok: boolean;
61143
+ error?: string | undefined;
61144
+ issue?: {
61145
+ issueNumber: number;
61146
+ title?: string | undefined;
61147
+ createdAt?: string | undefined;
61148
+ updatedAt?: string | undefined;
61149
+ state?: "open" | "closed" | undefined;
61150
+ stateReason?: string | null | undefined;
61151
+ htmlUrl?: string | undefined;
61152
+ closedAt?: string | null | undefined;
61153
+ commentsCount?: number | undefined;
61154
+ displayName?: string | undefined;
61155
+ reactionsCount?: number | undefined;
61156
+ publicBody?: string | undefined;
61157
+ viewerHasReacted?: boolean | undefined;
61158
+ } | undefined;
61159
+ } | {
61160
+ type: "list_issue_comments_response";
61161
+ requestId: string;
61162
+ ok: boolean;
61163
+ error?: string | undefined;
61164
+ comments?: {
61165
+ id: string;
61166
+ issueNumber: number;
61167
+ createdAt?: string | undefined;
61168
+ body?: string | undefined;
61169
+ displayName?: string | undefined;
61170
+ }[] | undefined;
61171
+ } | {
61172
+ type: "post_issue_comment_response";
61173
+ requestId: string;
61174
+ ok: boolean;
61175
+ error?: string | undefined;
61176
+ comment?: {
61177
+ id: string;
61178
+ issueNumber: number;
61179
+ createdAt?: string | undefined;
61180
+ body?: string | undefined;
61181
+ displayName?: string | undefined;
61182
+ } | undefined;
61183
+ } | {
61184
+ type: "toggle_issue_reaction_response";
61185
+ requestId: string;
61186
+ ok: boolean;
61187
+ error?: string | undefined;
61188
+ total?: number | undefined;
61189
+ viewerHasReacted?: boolean | undefined;
59374
61190
  };
59375
61191
  type: "session";
59376
61192
  }>;
@@ -61924,6 +63740,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
61924
63740
  title: z.ZodOptional<z.ZodString>;
61925
63741
  description: z.ZodOptional<z.ZodString>;
61926
63742
  email: z.ZodOptional<z.ZodString>;
63743
+ displayName: z.ZodOptional<z.ZodString>;
61927
63744
  clientId: z.ZodOptional<z.ZodString>;
61928
63745
  appVersion: z.ZodOptional<z.ZodString>;
61929
63746
  device: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -61976,6 +63793,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
61976
63793
  requestId: string;
61977
63794
  title?: string | undefined;
61978
63795
  description?: string | undefined;
63796
+ displayName?: string | undefined;
61979
63797
  clientId?: string | undefined;
61980
63798
  email?: string | undefined;
61981
63799
  appVersion?: string | undefined;
@@ -62003,6 +63821,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
62003
63821
  requestId: string;
62004
63822
  title?: string | undefined;
62005
63823
  description?: string | undefined;
63824
+ displayName?: string | undefined;
62006
63825
  clientId?: string | undefined;
62007
63826
  email?: string | undefined;
62008
63827
  appVersion?: string | undefined;
@@ -62025,6 +63844,123 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
62025
63844
  stderrTail: string;
62026
63845
  spawnError?: string | undefined;
62027
63846
  }[] | undefined;
63847
+ }>, z.ZodObject<{
63848
+ type: z.ZodLiteral<"list_my_issues_request">;
63849
+ requestId: z.ZodString;
63850
+ email: z.ZodOptional<z.ZodString>;
63851
+ clientId: z.ZodOptional<z.ZodString>;
63852
+ limit: z.ZodOptional<z.ZodNumber>;
63853
+ }, "strip", z.ZodTypeAny, {
63854
+ type: "list_my_issues_request";
63855
+ requestId: string;
63856
+ clientId?: string | undefined;
63857
+ limit?: number | undefined;
63858
+ email?: string | undefined;
63859
+ }, {
63860
+ type: "list_my_issues_request";
63861
+ requestId: string;
63862
+ clientId?: string | undefined;
63863
+ limit?: number | undefined;
63864
+ email?: string | undefined;
63865
+ }>, z.ZodObject<{
63866
+ type: z.ZodLiteral<"list_public_issues_request">;
63867
+ requestId: z.ZodString;
63868
+ sort: z.ZodOptional<z.ZodEnum<["latest", "top"]>>;
63869
+ limit: z.ZodOptional<z.ZodNumber>;
63870
+ offset: z.ZodOptional<z.ZodNumber>;
63871
+ email: z.ZodOptional<z.ZodString>;
63872
+ clientId: z.ZodOptional<z.ZodString>;
63873
+ }, "strip", z.ZodTypeAny, {
63874
+ type: "list_public_issues_request";
63875
+ requestId: string;
63876
+ sort?: "latest" | "top" | undefined;
63877
+ clientId?: string | undefined;
63878
+ limit?: number | undefined;
63879
+ email?: string | undefined;
63880
+ offset?: number | undefined;
63881
+ }, {
63882
+ type: "list_public_issues_request";
63883
+ requestId: string;
63884
+ sort?: "latest" | "top" | undefined;
63885
+ clientId?: string | undefined;
63886
+ limit?: number | undefined;
63887
+ email?: string | undefined;
63888
+ offset?: number | undefined;
63889
+ }>, z.ZodObject<{
63890
+ type: z.ZodLiteral<"get_public_issue_request">;
63891
+ requestId: z.ZodString;
63892
+ issueNumber: z.ZodNumber;
63893
+ email: z.ZodOptional<z.ZodString>;
63894
+ clientId: z.ZodOptional<z.ZodString>;
63895
+ }, "strip", z.ZodTypeAny, {
63896
+ type: "get_public_issue_request";
63897
+ requestId: string;
63898
+ issueNumber: number;
63899
+ clientId?: string | undefined;
63900
+ email?: string | undefined;
63901
+ }, {
63902
+ type: "get_public_issue_request";
63903
+ requestId: string;
63904
+ issueNumber: number;
63905
+ clientId?: string | undefined;
63906
+ email?: string | undefined;
63907
+ }>, z.ZodObject<{
63908
+ type: z.ZodLiteral<"list_issue_comments_request">;
63909
+ requestId: z.ZodString;
63910
+ issueNumber: z.ZodNumber;
63911
+ }, "strip", z.ZodTypeAny, {
63912
+ type: "list_issue_comments_request";
63913
+ requestId: string;
63914
+ issueNumber: number;
63915
+ }, {
63916
+ type: "list_issue_comments_request";
63917
+ requestId: string;
63918
+ issueNumber: number;
63919
+ }>, z.ZodObject<{
63920
+ type: z.ZodLiteral<"post_issue_comment_request">;
63921
+ requestId: z.ZodString;
63922
+ issueNumber: z.ZodNumber;
63923
+ email: z.ZodOptional<z.ZodString>;
63924
+ clientId: z.ZodOptional<z.ZodString>;
63925
+ displayName: z.ZodOptional<z.ZodString>;
63926
+ body: z.ZodOptional<z.ZodString>;
63927
+ }, "strip", z.ZodTypeAny, {
63928
+ type: "post_issue_comment_request";
63929
+ requestId: string;
63930
+ issueNumber: number;
63931
+ body?: string | undefined;
63932
+ displayName?: string | undefined;
63933
+ clientId?: string | undefined;
63934
+ email?: string | undefined;
63935
+ }, {
63936
+ type: "post_issue_comment_request";
63937
+ requestId: string;
63938
+ issueNumber: number;
63939
+ body?: string | undefined;
63940
+ displayName?: string | undefined;
63941
+ clientId?: string | undefined;
63942
+ email?: string | undefined;
63943
+ }>, z.ZodObject<{
63944
+ type: z.ZodLiteral<"toggle_issue_reaction_request">;
63945
+ requestId: z.ZodString;
63946
+ issueNumber: z.ZodNumber;
63947
+ email: z.ZodOptional<z.ZodString>;
63948
+ clientId: z.ZodOptional<z.ZodString>;
63949
+ content: z.ZodOptional<z.ZodLiteral<"+1">>;
63950
+ }, "strip", z.ZodTypeAny, {
63951
+ type: "toggle_issue_reaction_request";
63952
+ requestId: string;
63953
+ issueNumber: number;
63954
+ content?: "+1" | undefined;
63955
+ clientId?: string | undefined;
63956
+ email?: string | undefined;
63957
+ }, {
63958
+ type: "toggle_issue_reaction_request";
63959
+ requestId: string;
63960
+ issueNumber: number;
63961
+ content?: "+1" | undefined;
63962
+ clientId?: string | undefined;
63963
+ email?: string | undefined;
62028
63964
  }>]>;
62029
63965
  }, "strip", z.ZodTypeAny, {
62030
63966
  message: {
@@ -62701,6 +64637,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
62701
64637
  requestId: string;
62702
64638
  title?: string | undefined;
62703
64639
  description?: string | undefined;
64640
+ displayName?: string | undefined;
62704
64641
  clientId?: string | undefined;
62705
64642
  email?: string | undefined;
62706
64643
  appVersion?: string | undefined;
@@ -62723,6 +64660,45 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
62723
64660
  stderrTail: string;
62724
64661
  spawnError?: string | undefined;
62725
64662
  }[] | undefined;
64663
+ } | {
64664
+ type: "list_my_issues_request";
64665
+ requestId: string;
64666
+ clientId?: string | undefined;
64667
+ limit?: number | undefined;
64668
+ email?: string | undefined;
64669
+ } | {
64670
+ type: "list_public_issues_request";
64671
+ requestId: string;
64672
+ sort?: "latest" | "top" | undefined;
64673
+ clientId?: string | undefined;
64674
+ limit?: number | undefined;
64675
+ email?: string | undefined;
64676
+ offset?: number | undefined;
64677
+ } | {
64678
+ type: "get_public_issue_request";
64679
+ requestId: string;
64680
+ issueNumber: number;
64681
+ clientId?: string | undefined;
64682
+ email?: string | undefined;
64683
+ } | {
64684
+ type: "list_issue_comments_request";
64685
+ requestId: string;
64686
+ issueNumber: number;
64687
+ } | {
64688
+ type: "post_issue_comment_request";
64689
+ requestId: string;
64690
+ issueNumber: number;
64691
+ body?: string | undefined;
64692
+ displayName?: string | undefined;
64693
+ clientId?: string | undefined;
64694
+ email?: string | undefined;
64695
+ } | {
64696
+ type: "toggle_issue_reaction_request";
64697
+ requestId: string;
64698
+ issueNumber: number;
64699
+ content?: "+1" | undefined;
64700
+ clientId?: string | undefined;
64701
+ email?: string | undefined;
62726
64702
  };
62727
64703
  type: "session";
62728
64704
  }, {
@@ -63400,6 +65376,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
63400
65376
  requestId: string;
63401
65377
  title?: string | undefined;
63402
65378
  description?: string | undefined;
65379
+ displayName?: string | undefined;
63403
65380
  clientId?: string | undefined;
63404
65381
  email?: string | undefined;
63405
65382
  appVersion?: string | undefined;
@@ -63422,6 +65399,45 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
63422
65399
  stderrTail: string;
63423
65400
  spawnError?: string | undefined;
63424
65401
  }[] | undefined;
65402
+ } | {
65403
+ type: "list_my_issues_request";
65404
+ requestId: string;
65405
+ clientId?: string | undefined;
65406
+ limit?: number | undefined;
65407
+ email?: string | undefined;
65408
+ } | {
65409
+ type: "list_public_issues_request";
65410
+ requestId: string;
65411
+ sort?: "latest" | "top" | undefined;
65412
+ clientId?: string | undefined;
65413
+ limit?: number | undefined;
65414
+ email?: string | undefined;
65415
+ offset?: number | undefined;
65416
+ } | {
65417
+ type: "get_public_issue_request";
65418
+ requestId: string;
65419
+ issueNumber: number;
65420
+ clientId?: string | undefined;
65421
+ email?: string | undefined;
65422
+ } | {
65423
+ type: "list_issue_comments_request";
65424
+ requestId: string;
65425
+ issueNumber: number;
65426
+ } | {
65427
+ type: "post_issue_comment_request";
65428
+ requestId: string;
65429
+ issueNumber: number;
65430
+ body?: string | undefined;
65431
+ displayName?: string | undefined;
65432
+ clientId?: string | undefined;
65433
+ email?: string | undefined;
65434
+ } | {
65435
+ type: "toggle_issue_reaction_request";
65436
+ requestId: string;
65437
+ issueNumber: number;
65438
+ content?: "+1" | undefined;
65439
+ clientId?: string | undefined;
65440
+ email?: string | undefined;
63425
65441
  };
63426
65442
  type: "session";
63427
65443
  }>]>;
@@ -79117,6 +81133,356 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
79117
81133
  error?: string | undefined;
79118
81134
  issueNumber?: number | undefined;
79119
81135
  issueUrl?: string | undefined;
81136
+ }>, z.ZodObject<{
81137
+ type: z.ZodLiteral<"list_my_issues_response">;
81138
+ requestId: z.ZodString;
81139
+ ok: z.ZodBoolean;
81140
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
81141
+ issueNumber: z.ZodNumber;
81142
+ submittedAt: z.ZodOptional<z.ZodString>;
81143
+ title: z.ZodOptional<z.ZodString>;
81144
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
81145
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81146
+ htmlUrl: z.ZodOptional<z.ZodString>;
81147
+ createdAt: z.ZodOptional<z.ZodString>;
81148
+ updatedAt: z.ZodOptional<z.ZodString>;
81149
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81150
+ commentsCount: z.ZodOptional<z.ZodNumber>;
81151
+ }, "strip", z.ZodTypeAny, {
81152
+ issueNumber: number;
81153
+ title?: string | undefined;
81154
+ createdAt?: string | undefined;
81155
+ updatedAt?: string | undefined;
81156
+ state?: "open" | "closed" | undefined;
81157
+ submittedAt?: string | undefined;
81158
+ stateReason?: string | null | undefined;
81159
+ htmlUrl?: string | undefined;
81160
+ closedAt?: string | null | undefined;
81161
+ commentsCount?: number | undefined;
81162
+ }, {
81163
+ issueNumber: number;
81164
+ title?: string | undefined;
81165
+ createdAt?: string | undefined;
81166
+ updatedAt?: string | undefined;
81167
+ state?: "open" | "closed" | undefined;
81168
+ submittedAt?: string | undefined;
81169
+ stateReason?: string | null | undefined;
81170
+ htmlUrl?: string | undefined;
81171
+ closedAt?: string | null | undefined;
81172
+ commentsCount?: number | undefined;
81173
+ }>, "many">>;
81174
+ error: z.ZodOptional<z.ZodString>;
81175
+ }, "strip", z.ZodTypeAny, {
81176
+ type: "list_my_issues_response";
81177
+ requestId: string;
81178
+ ok: boolean;
81179
+ error?: string | undefined;
81180
+ issues?: {
81181
+ issueNumber: number;
81182
+ title?: string | undefined;
81183
+ createdAt?: string | undefined;
81184
+ updatedAt?: string | undefined;
81185
+ state?: "open" | "closed" | undefined;
81186
+ submittedAt?: string | undefined;
81187
+ stateReason?: string | null | undefined;
81188
+ htmlUrl?: string | undefined;
81189
+ closedAt?: string | null | undefined;
81190
+ commentsCount?: number | undefined;
81191
+ }[] | undefined;
81192
+ }, {
81193
+ type: "list_my_issues_response";
81194
+ requestId: string;
81195
+ ok: boolean;
81196
+ error?: string | undefined;
81197
+ issues?: {
81198
+ issueNumber: number;
81199
+ title?: string | undefined;
81200
+ createdAt?: string | undefined;
81201
+ updatedAt?: string | undefined;
81202
+ state?: "open" | "closed" | undefined;
81203
+ submittedAt?: string | undefined;
81204
+ stateReason?: string | null | undefined;
81205
+ htmlUrl?: string | undefined;
81206
+ closedAt?: string | null | undefined;
81207
+ commentsCount?: number | undefined;
81208
+ }[] | undefined;
81209
+ }>, z.ZodObject<{
81210
+ type: z.ZodLiteral<"list_public_issues_response">;
81211
+ requestId: z.ZodString;
81212
+ ok: z.ZodBoolean;
81213
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
81214
+ issueNumber: z.ZodNumber;
81215
+ displayName: z.ZodOptional<z.ZodString>;
81216
+ title: z.ZodOptional<z.ZodString>;
81217
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
81218
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81219
+ createdAt: z.ZodOptional<z.ZodString>;
81220
+ updatedAt: z.ZodOptional<z.ZodString>;
81221
+ commentsCount: z.ZodOptional<z.ZodNumber>;
81222
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
81223
+ }, "strip", z.ZodTypeAny, {
81224
+ issueNumber: number;
81225
+ title?: string | undefined;
81226
+ createdAt?: string | undefined;
81227
+ updatedAt?: string | undefined;
81228
+ state?: "open" | "closed" | undefined;
81229
+ stateReason?: string | null | undefined;
81230
+ commentsCount?: number | undefined;
81231
+ displayName?: string | undefined;
81232
+ reactionsCount?: number | undefined;
81233
+ }, {
81234
+ issueNumber: number;
81235
+ title?: string | undefined;
81236
+ createdAt?: string | undefined;
81237
+ updatedAt?: string | undefined;
81238
+ state?: "open" | "closed" | undefined;
81239
+ stateReason?: string | null | undefined;
81240
+ commentsCount?: number | undefined;
81241
+ displayName?: string | undefined;
81242
+ reactionsCount?: number | undefined;
81243
+ }>, "many">>;
81244
+ total: z.ZodOptional<z.ZodNumber>;
81245
+ error: z.ZodOptional<z.ZodString>;
81246
+ }, "strip", z.ZodTypeAny, {
81247
+ type: "list_public_issues_response";
81248
+ requestId: string;
81249
+ ok: boolean;
81250
+ error?: string | undefined;
81251
+ issues?: {
81252
+ issueNumber: number;
81253
+ title?: string | undefined;
81254
+ createdAt?: string | undefined;
81255
+ updatedAt?: string | undefined;
81256
+ state?: "open" | "closed" | undefined;
81257
+ stateReason?: string | null | undefined;
81258
+ commentsCount?: number | undefined;
81259
+ displayName?: string | undefined;
81260
+ reactionsCount?: number | undefined;
81261
+ }[] | undefined;
81262
+ total?: number | undefined;
81263
+ }, {
81264
+ type: "list_public_issues_response";
81265
+ requestId: string;
81266
+ ok: boolean;
81267
+ error?: string | undefined;
81268
+ issues?: {
81269
+ issueNumber: number;
81270
+ title?: string | undefined;
81271
+ createdAt?: string | undefined;
81272
+ updatedAt?: string | undefined;
81273
+ state?: "open" | "closed" | undefined;
81274
+ stateReason?: string | null | undefined;
81275
+ commentsCount?: number | undefined;
81276
+ displayName?: string | undefined;
81277
+ reactionsCount?: number | undefined;
81278
+ }[] | undefined;
81279
+ total?: number | undefined;
81280
+ }>, z.ZodObject<{
81281
+ type: z.ZodLiteral<"get_public_issue_response">;
81282
+ requestId: z.ZodString;
81283
+ ok: z.ZodBoolean;
81284
+ issue: z.ZodOptional<z.ZodObject<{
81285
+ issueNumber: z.ZodNumber;
81286
+ displayName: z.ZodOptional<z.ZodString>;
81287
+ title: z.ZodOptional<z.ZodString>;
81288
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
81289
+ stateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81290
+ createdAt: z.ZodOptional<z.ZodString>;
81291
+ updatedAt: z.ZodOptional<z.ZodString>;
81292
+ commentsCount: z.ZodOptional<z.ZodNumber>;
81293
+ reactionsCount: z.ZodOptional<z.ZodNumber>;
81294
+ } & {
81295
+ publicBody: z.ZodOptional<z.ZodString>;
81296
+ htmlUrl: z.ZodOptional<z.ZodString>;
81297
+ closedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81298
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
81299
+ }, "strip", z.ZodTypeAny, {
81300
+ issueNumber: number;
81301
+ title?: string | undefined;
81302
+ createdAt?: string | undefined;
81303
+ updatedAt?: string | undefined;
81304
+ state?: "open" | "closed" | undefined;
81305
+ stateReason?: string | null | undefined;
81306
+ htmlUrl?: string | undefined;
81307
+ closedAt?: string | null | undefined;
81308
+ commentsCount?: number | undefined;
81309
+ displayName?: string | undefined;
81310
+ reactionsCount?: number | undefined;
81311
+ publicBody?: string | undefined;
81312
+ viewerHasReacted?: boolean | undefined;
81313
+ }, {
81314
+ issueNumber: number;
81315
+ title?: string | undefined;
81316
+ createdAt?: string | undefined;
81317
+ updatedAt?: string | undefined;
81318
+ state?: "open" | "closed" | undefined;
81319
+ stateReason?: string | null | undefined;
81320
+ htmlUrl?: string | undefined;
81321
+ closedAt?: string | null | undefined;
81322
+ commentsCount?: number | undefined;
81323
+ displayName?: string | undefined;
81324
+ reactionsCount?: number | undefined;
81325
+ publicBody?: string | undefined;
81326
+ viewerHasReacted?: boolean | undefined;
81327
+ }>>;
81328
+ error: z.ZodOptional<z.ZodString>;
81329
+ }, "strip", z.ZodTypeAny, {
81330
+ type: "get_public_issue_response";
81331
+ requestId: string;
81332
+ ok: boolean;
81333
+ error?: string | undefined;
81334
+ issue?: {
81335
+ issueNumber: number;
81336
+ title?: string | undefined;
81337
+ createdAt?: string | undefined;
81338
+ updatedAt?: string | undefined;
81339
+ state?: "open" | "closed" | undefined;
81340
+ stateReason?: string | null | undefined;
81341
+ htmlUrl?: string | undefined;
81342
+ closedAt?: string | null | undefined;
81343
+ commentsCount?: number | undefined;
81344
+ displayName?: string | undefined;
81345
+ reactionsCount?: number | undefined;
81346
+ publicBody?: string | undefined;
81347
+ viewerHasReacted?: boolean | undefined;
81348
+ } | undefined;
81349
+ }, {
81350
+ type: "get_public_issue_response";
81351
+ requestId: string;
81352
+ ok: boolean;
81353
+ error?: string | undefined;
81354
+ issue?: {
81355
+ issueNumber: number;
81356
+ title?: string | undefined;
81357
+ createdAt?: string | undefined;
81358
+ updatedAt?: string | undefined;
81359
+ state?: "open" | "closed" | undefined;
81360
+ stateReason?: string | null | undefined;
81361
+ htmlUrl?: string | undefined;
81362
+ closedAt?: string | null | undefined;
81363
+ commentsCount?: number | undefined;
81364
+ displayName?: string | undefined;
81365
+ reactionsCount?: number | undefined;
81366
+ publicBody?: string | undefined;
81367
+ viewerHasReacted?: boolean | undefined;
81368
+ } | undefined;
81369
+ }>, z.ZodObject<{
81370
+ type: z.ZodLiteral<"list_issue_comments_response">;
81371
+ requestId: z.ZodString;
81372
+ ok: z.ZodBoolean;
81373
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
81374
+ id: z.ZodString;
81375
+ issueNumber: z.ZodNumber;
81376
+ displayName: z.ZodOptional<z.ZodString>;
81377
+ body: z.ZodOptional<z.ZodString>;
81378
+ createdAt: z.ZodOptional<z.ZodString>;
81379
+ }, "strip", z.ZodTypeAny, {
81380
+ id: string;
81381
+ issueNumber: number;
81382
+ createdAt?: string | undefined;
81383
+ body?: string | undefined;
81384
+ displayName?: string | undefined;
81385
+ }, {
81386
+ id: string;
81387
+ issueNumber: number;
81388
+ createdAt?: string | undefined;
81389
+ body?: string | undefined;
81390
+ displayName?: string | undefined;
81391
+ }>, "many">>;
81392
+ error: z.ZodOptional<z.ZodString>;
81393
+ }, "strip", z.ZodTypeAny, {
81394
+ type: "list_issue_comments_response";
81395
+ requestId: string;
81396
+ ok: boolean;
81397
+ error?: string | undefined;
81398
+ comments?: {
81399
+ id: string;
81400
+ issueNumber: number;
81401
+ createdAt?: string | undefined;
81402
+ body?: string | undefined;
81403
+ displayName?: string | undefined;
81404
+ }[] | undefined;
81405
+ }, {
81406
+ type: "list_issue_comments_response";
81407
+ requestId: string;
81408
+ ok: boolean;
81409
+ error?: string | undefined;
81410
+ comments?: {
81411
+ id: string;
81412
+ issueNumber: number;
81413
+ createdAt?: string | undefined;
81414
+ body?: string | undefined;
81415
+ displayName?: string | undefined;
81416
+ }[] | undefined;
81417
+ }>, z.ZodObject<{
81418
+ type: z.ZodLiteral<"post_issue_comment_response">;
81419
+ requestId: z.ZodString;
81420
+ ok: z.ZodBoolean;
81421
+ comment: z.ZodOptional<z.ZodObject<{
81422
+ id: z.ZodString;
81423
+ issueNumber: z.ZodNumber;
81424
+ displayName: z.ZodOptional<z.ZodString>;
81425
+ body: z.ZodOptional<z.ZodString>;
81426
+ createdAt: z.ZodOptional<z.ZodString>;
81427
+ }, "strip", z.ZodTypeAny, {
81428
+ id: string;
81429
+ issueNumber: number;
81430
+ createdAt?: string | undefined;
81431
+ body?: string | undefined;
81432
+ displayName?: string | undefined;
81433
+ }, {
81434
+ id: string;
81435
+ issueNumber: number;
81436
+ createdAt?: string | undefined;
81437
+ body?: string | undefined;
81438
+ displayName?: string | undefined;
81439
+ }>>;
81440
+ error: z.ZodOptional<z.ZodString>;
81441
+ }, "strip", z.ZodTypeAny, {
81442
+ type: "post_issue_comment_response";
81443
+ requestId: string;
81444
+ ok: boolean;
81445
+ error?: string | undefined;
81446
+ comment?: {
81447
+ id: string;
81448
+ issueNumber: number;
81449
+ createdAt?: string | undefined;
81450
+ body?: string | undefined;
81451
+ displayName?: string | undefined;
81452
+ } | undefined;
81453
+ }, {
81454
+ type: "post_issue_comment_response";
81455
+ requestId: string;
81456
+ ok: boolean;
81457
+ error?: string | undefined;
81458
+ comment?: {
81459
+ id: string;
81460
+ issueNumber: number;
81461
+ createdAt?: string | undefined;
81462
+ body?: string | undefined;
81463
+ displayName?: string | undefined;
81464
+ } | undefined;
81465
+ }>, z.ZodObject<{
81466
+ type: z.ZodLiteral<"toggle_issue_reaction_response">;
81467
+ requestId: z.ZodString;
81468
+ ok: z.ZodBoolean;
81469
+ total: z.ZodOptional<z.ZodNumber>;
81470
+ viewerHasReacted: z.ZodOptional<z.ZodBoolean>;
81471
+ error: z.ZodOptional<z.ZodString>;
81472
+ }, "strip", z.ZodTypeAny, {
81473
+ type: "toggle_issue_reaction_response";
81474
+ requestId: string;
81475
+ ok: boolean;
81476
+ error?: string | undefined;
81477
+ total?: number | undefined;
81478
+ viewerHasReacted?: boolean | undefined;
81479
+ }, {
81480
+ type: "toggle_issue_reaction_response";
81481
+ requestId: string;
81482
+ ok: boolean;
81483
+ error?: string | undefined;
81484
+ total?: number | undefined;
81485
+ viewerHasReacted?: boolean | undefined;
79120
81486
  }>]>;
79121
81487
  }, "strip", z.ZodTypeAny, {
79122
81488
  message: {
@@ -81123,240 +83489,325 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
81123
83489
  } | null;
81124
83490
  };
81125
83491
  } | {
81126
- type: "loop/list/response";
81127
- payload: {
81128
- error: string | null;
81129
- requestId: string;
81130
- loops: {
81131
- name: string | null;
81132
- status: "running" | "failed" | "succeeded" | "stopped";
81133
- id: string;
81134
- cwd: string;
81135
- createdAt: string;
81136
- updatedAt: string;
81137
- activeIteration: number | null;
81138
- }[];
81139
- };
83492
+ type: "loop/list/response";
83493
+ payload: {
83494
+ error: string | null;
83495
+ requestId: string;
83496
+ loops: {
83497
+ name: string | null;
83498
+ status: "running" | "failed" | "succeeded" | "stopped";
83499
+ id: string;
83500
+ cwd: string;
83501
+ createdAt: string;
83502
+ updatedAt: string;
83503
+ activeIteration: number | null;
83504
+ }[];
83505
+ };
83506
+ } | {
83507
+ type: "loop/inspect/response";
83508
+ payload: {
83509
+ error: string | null;
83510
+ requestId: string;
83511
+ loop: {
83512
+ name: string | null;
83513
+ status: "running" | "failed" | "succeeded" | "stopped";
83514
+ id: string;
83515
+ provider: string;
83516
+ cwd: string;
83517
+ model: string | null;
83518
+ createdAt: string;
83519
+ updatedAt: string;
83520
+ prompt: string;
83521
+ startedAt: string;
83522
+ workerProvider: string | null;
83523
+ workerModel: string | null;
83524
+ verifierProvider: string | null;
83525
+ verifierModel: string | null;
83526
+ verifyPrompt: string | null;
83527
+ verifyChecks: string[];
83528
+ archive: boolean;
83529
+ sleepMs: number;
83530
+ maxIterations: number | null;
83531
+ maxTimeMs: number | null;
83532
+ completedAt: string | null;
83533
+ stopRequestedAt: string | null;
83534
+ iterations: {
83535
+ status: "running" | "failed" | "succeeded" | "stopped";
83536
+ index: number;
83537
+ verifyPrompt: {
83538
+ reason: string;
83539
+ startedAt: string;
83540
+ completedAt: string;
83541
+ verifierAgentId: string | null;
83542
+ passed: boolean;
83543
+ } | null;
83544
+ verifyChecks: {
83545
+ startedAt: string;
83546
+ completedAt: string;
83547
+ command: string;
83548
+ exitCode: number;
83549
+ passed: boolean;
83550
+ stdout: string;
83551
+ stderr: string;
83552
+ }[];
83553
+ workerAgentId: string | null;
83554
+ workerStartedAt: string;
83555
+ workerCompletedAt: string | null;
83556
+ verifierAgentId: string | null;
83557
+ workerOutcome: "failed" | "completed" | "canceled" | null;
83558
+ failureReason: string | null;
83559
+ }[];
83560
+ logs: {
83561
+ timestamp: string;
83562
+ text: string;
83563
+ seq: number;
83564
+ iteration: number | null;
83565
+ source: "loop" | "worker" | "verifier" | "verify-check";
83566
+ level: "error" | "info";
83567
+ }[];
83568
+ nextLogSeq: number;
83569
+ activeIteration: number | null;
83570
+ activeWorkerAgentId: string | null;
83571
+ activeVerifierAgentId: string | null;
83572
+ } | null;
83573
+ };
83574
+ } | {
83575
+ type: "loop/logs/response";
83576
+ payload: {
83577
+ error: string | null;
83578
+ entries: {
83579
+ timestamp: string;
83580
+ text: string;
83581
+ seq: number;
83582
+ iteration: number | null;
83583
+ source: "loop" | "worker" | "verifier" | "verify-check";
83584
+ level: "error" | "info";
83585
+ }[];
83586
+ requestId: string;
83587
+ nextCursor: number;
83588
+ loop: {
83589
+ name: string | null;
83590
+ status: "running" | "failed" | "succeeded" | "stopped";
83591
+ id: string;
83592
+ provider: string;
83593
+ cwd: string;
83594
+ model: string | null;
83595
+ createdAt: string;
83596
+ updatedAt: string;
83597
+ prompt: string;
83598
+ startedAt: string;
83599
+ workerProvider: string | null;
83600
+ workerModel: string | null;
83601
+ verifierProvider: string | null;
83602
+ verifierModel: string | null;
83603
+ verifyPrompt: string | null;
83604
+ verifyChecks: string[];
83605
+ archive: boolean;
83606
+ sleepMs: number;
83607
+ maxIterations: number | null;
83608
+ maxTimeMs: number | null;
83609
+ completedAt: string | null;
83610
+ stopRequestedAt: string | null;
83611
+ iterations: {
83612
+ status: "running" | "failed" | "succeeded" | "stopped";
83613
+ index: number;
83614
+ verifyPrompt: {
83615
+ reason: string;
83616
+ startedAt: string;
83617
+ completedAt: string;
83618
+ verifierAgentId: string | null;
83619
+ passed: boolean;
83620
+ } | null;
83621
+ verifyChecks: {
83622
+ startedAt: string;
83623
+ completedAt: string;
83624
+ command: string;
83625
+ exitCode: number;
83626
+ passed: boolean;
83627
+ stdout: string;
83628
+ stderr: string;
83629
+ }[];
83630
+ workerAgentId: string | null;
83631
+ workerStartedAt: string;
83632
+ workerCompletedAt: string | null;
83633
+ verifierAgentId: string | null;
83634
+ workerOutcome: "failed" | "completed" | "canceled" | null;
83635
+ failureReason: string | null;
83636
+ }[];
83637
+ logs: {
83638
+ timestamp: string;
83639
+ text: string;
83640
+ seq: number;
83641
+ iteration: number | null;
83642
+ source: "loop" | "worker" | "verifier" | "verify-check";
83643
+ level: "error" | "info";
83644
+ }[];
83645
+ nextLogSeq: number;
83646
+ activeIteration: number | null;
83647
+ activeWorkerAgentId: string | null;
83648
+ activeVerifierAgentId: string | null;
83649
+ } | null;
83650
+ };
83651
+ } | {
83652
+ type: "loop/stop/response";
83653
+ payload: {
83654
+ error: string | null;
83655
+ requestId: string;
83656
+ loop: {
83657
+ name: string | null;
83658
+ status: "running" | "failed" | "succeeded" | "stopped";
83659
+ id: string;
83660
+ provider: string;
83661
+ cwd: string;
83662
+ model: string | null;
83663
+ createdAt: string;
83664
+ updatedAt: string;
83665
+ prompt: string;
83666
+ startedAt: string;
83667
+ workerProvider: string | null;
83668
+ workerModel: string | null;
83669
+ verifierProvider: string | null;
83670
+ verifierModel: string | null;
83671
+ verifyPrompt: string | null;
83672
+ verifyChecks: string[];
83673
+ archive: boolean;
83674
+ sleepMs: number;
83675
+ maxIterations: number | null;
83676
+ maxTimeMs: number | null;
83677
+ completedAt: string | null;
83678
+ stopRequestedAt: string | null;
83679
+ iterations: {
83680
+ status: "running" | "failed" | "succeeded" | "stopped";
83681
+ index: number;
83682
+ verifyPrompt: {
83683
+ reason: string;
83684
+ startedAt: string;
83685
+ completedAt: string;
83686
+ verifierAgentId: string | null;
83687
+ passed: boolean;
83688
+ } | null;
83689
+ verifyChecks: {
83690
+ startedAt: string;
83691
+ completedAt: string;
83692
+ command: string;
83693
+ exitCode: number;
83694
+ passed: boolean;
83695
+ stdout: string;
83696
+ stderr: string;
83697
+ }[];
83698
+ workerAgentId: string | null;
83699
+ workerStartedAt: string;
83700
+ workerCompletedAt: string | null;
83701
+ verifierAgentId: string | null;
83702
+ workerOutcome: "failed" | "completed" | "canceled" | null;
83703
+ failureReason: string | null;
83704
+ }[];
83705
+ logs: {
83706
+ timestamp: string;
83707
+ text: string;
83708
+ seq: number;
83709
+ iteration: number | null;
83710
+ source: "loop" | "worker" | "verifier" | "verify-check";
83711
+ level: "error" | "info";
83712
+ }[];
83713
+ nextLogSeq: number;
83714
+ activeIteration: number | null;
83715
+ activeWorkerAgentId: string | null;
83716
+ activeVerifierAgentId: string | null;
83717
+ } | null;
83718
+ };
83719
+ } | {
83720
+ type: "submit_bug_report_response";
83721
+ requestId: string;
83722
+ ok: boolean;
83723
+ error?: string | undefined;
83724
+ issueNumber?: number | undefined;
83725
+ issueUrl?: string | undefined;
81140
83726
  } | {
81141
- type: "loop/inspect/response";
81142
- payload: {
81143
- error: string | null;
81144
- requestId: string;
81145
- loop: {
81146
- name: string | null;
81147
- status: "running" | "failed" | "succeeded" | "stopped";
81148
- id: string;
81149
- provider: string;
81150
- cwd: string;
81151
- model: string | null;
81152
- createdAt: string;
81153
- updatedAt: string;
81154
- prompt: string;
81155
- startedAt: string;
81156
- workerProvider: string | null;
81157
- workerModel: string | null;
81158
- verifierProvider: string | null;
81159
- verifierModel: string | null;
81160
- verifyPrompt: string | null;
81161
- verifyChecks: string[];
81162
- archive: boolean;
81163
- sleepMs: number;
81164
- maxIterations: number | null;
81165
- maxTimeMs: number | null;
81166
- completedAt: string | null;
81167
- stopRequestedAt: string | null;
81168
- iterations: {
81169
- status: "running" | "failed" | "succeeded" | "stopped";
81170
- index: number;
81171
- verifyPrompt: {
81172
- reason: string;
81173
- startedAt: string;
81174
- completedAt: string;
81175
- verifierAgentId: string | null;
81176
- passed: boolean;
81177
- } | null;
81178
- verifyChecks: {
81179
- startedAt: string;
81180
- completedAt: string;
81181
- command: string;
81182
- exitCode: number;
81183
- passed: boolean;
81184
- stdout: string;
81185
- stderr: string;
81186
- }[];
81187
- workerAgentId: string | null;
81188
- workerStartedAt: string;
81189
- workerCompletedAt: string | null;
81190
- verifierAgentId: string | null;
81191
- workerOutcome: "failed" | "completed" | "canceled" | null;
81192
- failureReason: string | null;
81193
- }[];
81194
- logs: {
81195
- timestamp: string;
81196
- text: string;
81197
- seq: number;
81198
- iteration: number | null;
81199
- source: "loop" | "worker" | "verifier" | "verify-check";
81200
- level: "error" | "info";
81201
- }[];
81202
- nextLogSeq: number;
81203
- activeIteration: number | null;
81204
- activeWorkerAgentId: string | null;
81205
- activeVerifierAgentId: string | null;
81206
- } | null;
81207
- };
83727
+ type: "list_my_issues_response";
83728
+ requestId: string;
83729
+ ok: boolean;
83730
+ error?: string | undefined;
83731
+ issues?: {
83732
+ issueNumber: number;
83733
+ title?: string | undefined;
83734
+ createdAt?: string | undefined;
83735
+ updatedAt?: string | undefined;
83736
+ state?: "open" | "closed" | undefined;
83737
+ submittedAt?: string | undefined;
83738
+ stateReason?: string | null | undefined;
83739
+ htmlUrl?: string | undefined;
83740
+ closedAt?: string | null | undefined;
83741
+ commentsCount?: number | undefined;
83742
+ }[] | undefined;
81208
83743
  } | {
81209
- type: "loop/logs/response";
81210
- payload: {
81211
- error: string | null;
81212
- entries: {
81213
- timestamp: string;
81214
- text: string;
81215
- seq: number;
81216
- iteration: number | null;
81217
- source: "loop" | "worker" | "verifier" | "verify-check";
81218
- level: "error" | "info";
81219
- }[];
81220
- requestId: string;
81221
- nextCursor: number;
81222
- loop: {
81223
- name: string | null;
81224
- status: "running" | "failed" | "succeeded" | "stopped";
81225
- id: string;
81226
- provider: string;
81227
- cwd: string;
81228
- model: string | null;
81229
- createdAt: string;
81230
- updatedAt: string;
81231
- prompt: string;
81232
- startedAt: string;
81233
- workerProvider: string | null;
81234
- workerModel: string | null;
81235
- verifierProvider: string | null;
81236
- verifierModel: string | null;
81237
- verifyPrompt: string | null;
81238
- verifyChecks: string[];
81239
- archive: boolean;
81240
- sleepMs: number;
81241
- maxIterations: number | null;
81242
- maxTimeMs: number | null;
81243
- completedAt: string | null;
81244
- stopRequestedAt: string | null;
81245
- iterations: {
81246
- status: "running" | "failed" | "succeeded" | "stopped";
81247
- index: number;
81248
- verifyPrompt: {
81249
- reason: string;
81250
- startedAt: string;
81251
- completedAt: string;
81252
- verifierAgentId: string | null;
81253
- passed: boolean;
81254
- } | null;
81255
- verifyChecks: {
81256
- startedAt: string;
81257
- completedAt: string;
81258
- command: string;
81259
- exitCode: number;
81260
- passed: boolean;
81261
- stdout: string;
81262
- stderr: string;
81263
- }[];
81264
- workerAgentId: string | null;
81265
- workerStartedAt: string;
81266
- workerCompletedAt: string | null;
81267
- verifierAgentId: string | null;
81268
- workerOutcome: "failed" | "completed" | "canceled" | null;
81269
- failureReason: string | null;
81270
- }[];
81271
- logs: {
81272
- timestamp: string;
81273
- text: string;
81274
- seq: number;
81275
- iteration: number | null;
81276
- source: "loop" | "worker" | "verifier" | "verify-check";
81277
- level: "error" | "info";
81278
- }[];
81279
- nextLogSeq: number;
81280
- activeIteration: number | null;
81281
- activeWorkerAgentId: string | null;
81282
- activeVerifierAgentId: string | null;
81283
- } | null;
81284
- };
83744
+ type: "list_public_issues_response";
83745
+ requestId: string;
83746
+ ok: boolean;
83747
+ error?: string | undefined;
83748
+ issues?: {
83749
+ issueNumber: number;
83750
+ title?: string | undefined;
83751
+ createdAt?: string | undefined;
83752
+ updatedAt?: string | undefined;
83753
+ state?: "open" | "closed" | undefined;
83754
+ stateReason?: string | null | undefined;
83755
+ commentsCount?: number | undefined;
83756
+ displayName?: string | undefined;
83757
+ reactionsCount?: number | undefined;
83758
+ }[] | undefined;
83759
+ total?: number | undefined;
81285
83760
  } | {
81286
- type: "loop/stop/response";
81287
- payload: {
81288
- error: string | null;
81289
- requestId: string;
81290
- loop: {
81291
- name: string | null;
81292
- status: "running" | "failed" | "succeeded" | "stopped";
81293
- id: string;
81294
- provider: string;
81295
- cwd: string;
81296
- model: string | null;
81297
- createdAt: string;
81298
- updatedAt: string;
81299
- prompt: string;
81300
- startedAt: string;
81301
- workerProvider: string | null;
81302
- workerModel: string | null;
81303
- verifierProvider: string | null;
81304
- verifierModel: string | null;
81305
- verifyPrompt: string | null;
81306
- verifyChecks: string[];
81307
- archive: boolean;
81308
- sleepMs: number;
81309
- maxIterations: number | null;
81310
- maxTimeMs: number | null;
81311
- completedAt: string | null;
81312
- stopRequestedAt: string | null;
81313
- iterations: {
81314
- status: "running" | "failed" | "succeeded" | "stopped";
81315
- index: number;
81316
- verifyPrompt: {
81317
- reason: string;
81318
- startedAt: string;
81319
- completedAt: string;
81320
- verifierAgentId: string | null;
81321
- passed: boolean;
81322
- } | null;
81323
- verifyChecks: {
81324
- startedAt: string;
81325
- completedAt: string;
81326
- command: string;
81327
- exitCode: number;
81328
- passed: boolean;
81329
- stdout: string;
81330
- stderr: string;
81331
- }[];
81332
- workerAgentId: string | null;
81333
- workerStartedAt: string;
81334
- workerCompletedAt: string | null;
81335
- verifierAgentId: string | null;
81336
- workerOutcome: "failed" | "completed" | "canceled" | null;
81337
- failureReason: string | null;
81338
- }[];
81339
- logs: {
81340
- timestamp: string;
81341
- text: string;
81342
- seq: number;
81343
- iteration: number | null;
81344
- source: "loop" | "worker" | "verifier" | "verify-check";
81345
- level: "error" | "info";
81346
- }[];
81347
- nextLogSeq: number;
81348
- activeIteration: number | null;
81349
- activeWorkerAgentId: string | null;
81350
- activeVerifierAgentId: string | null;
81351
- } | null;
81352
- };
83761
+ type: "get_public_issue_response";
83762
+ requestId: string;
83763
+ ok: boolean;
83764
+ error?: string | undefined;
83765
+ issue?: {
83766
+ issueNumber: number;
83767
+ title?: string | undefined;
83768
+ createdAt?: string | undefined;
83769
+ updatedAt?: string | undefined;
83770
+ state?: "open" | "closed" | undefined;
83771
+ stateReason?: string | null | undefined;
83772
+ htmlUrl?: string | undefined;
83773
+ closedAt?: string | null | undefined;
83774
+ commentsCount?: number | undefined;
83775
+ displayName?: string | undefined;
83776
+ reactionsCount?: number | undefined;
83777
+ publicBody?: string | undefined;
83778
+ viewerHasReacted?: boolean | undefined;
83779
+ } | undefined;
81353
83780
  } | {
81354
- type: "submit_bug_report_response";
83781
+ type: "list_issue_comments_response";
81355
83782
  requestId: string;
81356
83783
  ok: boolean;
81357
83784
  error?: string | undefined;
81358
- issueNumber?: number | undefined;
81359
- issueUrl?: string | undefined;
83785
+ comments?: {
83786
+ id: string;
83787
+ issueNumber: number;
83788
+ createdAt?: string | undefined;
83789
+ body?: string | undefined;
83790
+ displayName?: string | undefined;
83791
+ }[] | undefined;
83792
+ } | {
83793
+ type: "post_issue_comment_response";
83794
+ requestId: string;
83795
+ ok: boolean;
83796
+ error?: string | undefined;
83797
+ comment?: {
83798
+ id: string;
83799
+ issueNumber: number;
83800
+ createdAt?: string | undefined;
83801
+ body?: string | undefined;
83802
+ displayName?: string | undefined;
83803
+ } | undefined;
83804
+ } | {
83805
+ type: "toggle_issue_reaction_response";
83806
+ requestId: string;
83807
+ ok: boolean;
83808
+ error?: string | undefined;
83809
+ total?: number | undefined;
83810
+ viewerHasReacted?: boolean | undefined;
81360
83811
  };
81361
83812
  type: "session";
81362
83813
  }, {
@@ -83598,6 +86049,91 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
83598
86049
  error?: string | undefined;
83599
86050
  issueNumber?: number | undefined;
83600
86051
  issueUrl?: string | undefined;
86052
+ } | {
86053
+ type: "list_my_issues_response";
86054
+ requestId: string;
86055
+ ok: boolean;
86056
+ error?: string | undefined;
86057
+ issues?: {
86058
+ issueNumber: number;
86059
+ title?: string | undefined;
86060
+ createdAt?: string | undefined;
86061
+ updatedAt?: string | undefined;
86062
+ state?: "open" | "closed" | undefined;
86063
+ submittedAt?: string | undefined;
86064
+ stateReason?: string | null | undefined;
86065
+ htmlUrl?: string | undefined;
86066
+ closedAt?: string | null | undefined;
86067
+ commentsCount?: number | undefined;
86068
+ }[] | undefined;
86069
+ } | {
86070
+ type: "list_public_issues_response";
86071
+ requestId: string;
86072
+ ok: boolean;
86073
+ error?: string | undefined;
86074
+ issues?: {
86075
+ issueNumber: number;
86076
+ title?: string | undefined;
86077
+ createdAt?: string | undefined;
86078
+ updatedAt?: string | undefined;
86079
+ state?: "open" | "closed" | undefined;
86080
+ stateReason?: string | null | undefined;
86081
+ commentsCount?: number | undefined;
86082
+ displayName?: string | undefined;
86083
+ reactionsCount?: number | undefined;
86084
+ }[] | undefined;
86085
+ total?: number | undefined;
86086
+ } | {
86087
+ type: "get_public_issue_response";
86088
+ requestId: string;
86089
+ ok: boolean;
86090
+ error?: string | undefined;
86091
+ issue?: {
86092
+ issueNumber: number;
86093
+ title?: string | undefined;
86094
+ createdAt?: string | undefined;
86095
+ updatedAt?: string | undefined;
86096
+ state?: "open" | "closed" | undefined;
86097
+ stateReason?: string | null | undefined;
86098
+ htmlUrl?: string | undefined;
86099
+ closedAt?: string | null | undefined;
86100
+ commentsCount?: number | undefined;
86101
+ displayName?: string | undefined;
86102
+ reactionsCount?: number | undefined;
86103
+ publicBody?: string | undefined;
86104
+ viewerHasReacted?: boolean | undefined;
86105
+ } | undefined;
86106
+ } | {
86107
+ type: "list_issue_comments_response";
86108
+ requestId: string;
86109
+ ok: boolean;
86110
+ error?: string | undefined;
86111
+ comments?: {
86112
+ id: string;
86113
+ issueNumber: number;
86114
+ createdAt?: string | undefined;
86115
+ body?: string | undefined;
86116
+ displayName?: string | undefined;
86117
+ }[] | undefined;
86118
+ } | {
86119
+ type: "post_issue_comment_response";
86120
+ requestId: string;
86121
+ ok: boolean;
86122
+ error?: string | undefined;
86123
+ comment?: {
86124
+ id: string;
86125
+ issueNumber: number;
86126
+ createdAt?: string | undefined;
86127
+ body?: string | undefined;
86128
+ displayName?: string | undefined;
86129
+ } | undefined;
86130
+ } | {
86131
+ type: "toggle_issue_reaction_response";
86132
+ requestId: string;
86133
+ ok: boolean;
86134
+ error?: string | undefined;
86135
+ total?: number | undefined;
86136
+ viewerHasReacted?: boolean | undefined;
83601
86137
  };
83602
86138
  type: "session";
83603
86139
  }>]>;