@agentrix/shared 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +21 -2
- package/dist/index.d.cts +1051 -790
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -278,12 +278,12 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
280
|
id: string;
|
|
281
|
+
createdAt: string;
|
|
281
282
|
username: string;
|
|
282
283
|
email: string | null;
|
|
283
284
|
avatar: string | null;
|
|
284
285
|
encryptedSecret: string | null;
|
|
285
286
|
secretSalt: string | null;
|
|
286
|
-
createdAt: string;
|
|
287
287
|
oauthAccounts?: {
|
|
288
288
|
username: string;
|
|
289
289
|
email: string | null;
|
|
@@ -292,12 +292,12 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
292
292
|
}[] | undefined;
|
|
293
293
|
}, {
|
|
294
294
|
id: string;
|
|
295
|
+
createdAt: string;
|
|
295
296
|
username: string;
|
|
296
297
|
email: string | null;
|
|
297
298
|
avatar: string | null;
|
|
298
299
|
encryptedSecret: string | null;
|
|
299
300
|
secretSalt: string | null;
|
|
300
|
-
createdAt: string;
|
|
301
301
|
oauthAccounts?: {
|
|
302
302
|
username: string;
|
|
303
303
|
email: string | null;
|
|
@@ -308,12 +308,12 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
user: {
|
|
310
310
|
id: string;
|
|
311
|
+
createdAt: string;
|
|
311
312
|
username: string;
|
|
312
313
|
email: string | null;
|
|
313
314
|
avatar: string | null;
|
|
314
315
|
encryptedSecret: string | null;
|
|
315
316
|
secretSalt: string | null;
|
|
316
|
-
createdAt: string;
|
|
317
317
|
oauthAccounts?: {
|
|
318
318
|
username: string;
|
|
319
319
|
email: string | null;
|
|
@@ -324,12 +324,12 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
324
324
|
}, {
|
|
325
325
|
user: {
|
|
326
326
|
id: string;
|
|
327
|
+
createdAt: string;
|
|
327
328
|
username: string;
|
|
328
329
|
email: string | null;
|
|
329
330
|
avatar: string | null;
|
|
330
331
|
encryptedSecret: string | null;
|
|
331
332
|
secretSalt: string | null;
|
|
332
|
-
createdAt: string;
|
|
333
333
|
oauthAccounts?: {
|
|
334
334
|
username: string;
|
|
335
335
|
email: string | null;
|
|
@@ -599,15 +599,15 @@ declare const MachineAuthAuthorizedResponseSchema: z.ZodObject<{
|
|
|
599
599
|
token: z.ZodString;
|
|
600
600
|
content: z.ZodString;
|
|
601
601
|
}, "strip", z.ZodTypeAny, {
|
|
602
|
-
id: string;
|
|
603
|
-
token: string;
|
|
604
602
|
state: "authorized";
|
|
605
603
|
content: string;
|
|
606
|
-
}, {
|
|
607
604
|
id: string;
|
|
608
605
|
token: string;
|
|
606
|
+
}, {
|
|
609
607
|
state: "authorized";
|
|
610
608
|
content: string;
|
|
609
|
+
id: string;
|
|
610
|
+
token: string;
|
|
611
611
|
}>;
|
|
612
612
|
type MachineAuthAuthorizedResponse = z.infer<typeof MachineAuthAuthorizedResponseSchema>;
|
|
613
613
|
/**
|
|
@@ -675,11 +675,11 @@ declare const CloudJoinStatusQuerySchema: z.ZodObject<{
|
|
|
675
675
|
userId: z.ZodString;
|
|
676
676
|
cloudId: z.ZodString;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
cloudId: string;
|
|
679
678
|
userId: string;
|
|
680
|
-
}, {
|
|
681
679
|
cloudId: string;
|
|
680
|
+
}, {
|
|
682
681
|
userId: string;
|
|
682
|
+
cloudId: string;
|
|
683
683
|
}>;
|
|
684
684
|
type CloudJoinStatusQuery = z.infer<typeof CloudJoinStatusQuerySchema>;
|
|
685
685
|
/**
|
|
@@ -689,11 +689,11 @@ declare const CloudJoinApprovalRequestSchema: z.ZodObject<{
|
|
|
689
689
|
userId: z.ZodString;
|
|
690
690
|
cloudId: z.ZodString;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
cloudId: string;
|
|
693
692
|
userId: string;
|
|
694
|
-
}, {
|
|
695
693
|
cloudId: string;
|
|
694
|
+
}, {
|
|
696
695
|
userId: string;
|
|
696
|
+
cloudId: string;
|
|
697
697
|
}>;
|
|
698
698
|
type CloudJoinApprovalRequest = z.infer<typeof CloudJoinApprovalRequestSchema>;
|
|
699
699
|
/**
|
|
@@ -758,8 +758,8 @@ declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
|
758
758
|
}>;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
success: true;
|
|
761
|
-
shareToken: string;
|
|
762
761
|
taskId: string;
|
|
762
|
+
shareToken: string;
|
|
763
763
|
permissions: {
|
|
764
764
|
canSendMessage: boolean;
|
|
765
765
|
canCreatePr: boolean;
|
|
@@ -769,8 +769,8 @@ declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
|
769
769
|
};
|
|
770
770
|
}, {
|
|
771
771
|
success: true;
|
|
772
|
-
shareToken: string;
|
|
773
772
|
taskId: string;
|
|
773
|
+
shareToken: string;
|
|
774
774
|
permissions: {
|
|
775
775
|
canSendMessage: boolean;
|
|
776
776
|
canCreatePr: boolean;
|
|
@@ -804,68 +804,68 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
804
804
|
chatId: string;
|
|
805
805
|
message?: SDKUserMessage | undefined;
|
|
806
806
|
machineId?: string | undefined;
|
|
807
|
-
cloudId?: string | undefined;
|
|
808
|
-
encryptedMessage?: string | undefined;
|
|
809
807
|
cwd?: string | undefined;
|
|
810
|
-
repositoryId?: string | undefined;
|
|
811
808
|
baseBranch?: string | undefined;
|
|
812
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
813
809
|
dataEncryptionKey?: string | undefined;
|
|
810
|
+
repositoryId?: string | undefined;
|
|
811
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
812
|
+
encryptedMessage?: string | undefined;
|
|
813
|
+
cloudId?: string | undefined;
|
|
814
814
|
}, {
|
|
815
815
|
chatId: string;
|
|
816
816
|
message?: SDKUserMessage | undefined;
|
|
817
817
|
machineId?: string | undefined;
|
|
818
|
-
cloudId?: string | undefined;
|
|
819
|
-
encryptedMessage?: string | undefined;
|
|
820
818
|
cwd?: string | undefined;
|
|
821
|
-
repositoryId?: string | undefined;
|
|
822
819
|
baseBranch?: string | undefined;
|
|
823
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
824
820
|
dataEncryptionKey?: string | undefined;
|
|
821
|
+
repositoryId?: string | undefined;
|
|
822
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
823
|
+
encryptedMessage?: string | undefined;
|
|
824
|
+
cloudId?: string | undefined;
|
|
825
825
|
}>, {
|
|
826
826
|
chatId: string;
|
|
827
827
|
message?: SDKUserMessage | undefined;
|
|
828
828
|
machineId?: string | undefined;
|
|
829
|
-
cloudId?: string | undefined;
|
|
830
|
-
encryptedMessage?: string | undefined;
|
|
831
829
|
cwd?: string | undefined;
|
|
832
|
-
repositoryId?: string | undefined;
|
|
833
830
|
baseBranch?: string | undefined;
|
|
834
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
835
831
|
dataEncryptionKey?: string | undefined;
|
|
832
|
+
repositoryId?: string | undefined;
|
|
833
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
834
|
+
encryptedMessage?: string | undefined;
|
|
835
|
+
cloudId?: string | undefined;
|
|
836
836
|
}, {
|
|
837
837
|
chatId: string;
|
|
838
838
|
message?: SDKUserMessage | undefined;
|
|
839
839
|
machineId?: string | undefined;
|
|
840
|
-
cloudId?: string | undefined;
|
|
841
|
-
encryptedMessage?: string | undefined;
|
|
842
840
|
cwd?: string | undefined;
|
|
843
|
-
repositoryId?: string | undefined;
|
|
844
841
|
baseBranch?: string | undefined;
|
|
845
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
846
842
|
dataEncryptionKey?: string | undefined;
|
|
843
|
+
repositoryId?: string | undefined;
|
|
844
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
845
|
+
encryptedMessage?: string | undefined;
|
|
846
|
+
cloudId?: string | undefined;
|
|
847
847
|
}>, {
|
|
848
848
|
chatId: string;
|
|
849
849
|
message?: SDKUserMessage | undefined;
|
|
850
850
|
machineId?: string | undefined;
|
|
851
|
-
cloudId?: string | undefined;
|
|
852
|
-
encryptedMessage?: string | undefined;
|
|
853
851
|
cwd?: string | undefined;
|
|
854
|
-
repositoryId?: string | undefined;
|
|
855
852
|
baseBranch?: string | undefined;
|
|
856
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
857
853
|
dataEncryptionKey?: string | undefined;
|
|
854
|
+
repositoryId?: string | undefined;
|
|
855
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
856
|
+
encryptedMessage?: string | undefined;
|
|
857
|
+
cloudId?: string | undefined;
|
|
858
858
|
}, {
|
|
859
859
|
chatId: string;
|
|
860
860
|
message?: SDKUserMessage | undefined;
|
|
861
861
|
machineId?: string | undefined;
|
|
862
|
-
cloudId?: string | undefined;
|
|
863
|
-
encryptedMessage?: string | undefined;
|
|
864
862
|
cwd?: string | undefined;
|
|
865
|
-
repositoryId?: string | undefined;
|
|
866
863
|
baseBranch?: string | undefined;
|
|
867
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
868
864
|
dataEncryptionKey?: string | undefined;
|
|
865
|
+
repositoryId?: string | undefined;
|
|
866
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
867
|
+
encryptedMessage?: string | undefined;
|
|
868
|
+
cloudId?: string | undefined;
|
|
869
869
|
}>;
|
|
870
870
|
type StartTaskRequest = z.infer<typeof StartTaskRequestSchema>;
|
|
871
871
|
declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -883,68 +883,68 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
883
883
|
chatId: string;
|
|
884
884
|
message?: SDKUserMessage | undefined;
|
|
885
885
|
machineId?: string | undefined;
|
|
886
|
-
cloudId?: string | undefined;
|
|
887
|
-
encryptedMessage?: string | undefined;
|
|
888
886
|
cwd?: string | undefined;
|
|
889
|
-
repositoryId?: string | undefined;
|
|
890
887
|
baseBranch?: string | undefined;
|
|
891
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
892
888
|
dataEncryptionKey?: string | undefined;
|
|
889
|
+
repositoryId?: string | undefined;
|
|
890
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
891
|
+
encryptedMessage?: string | undefined;
|
|
892
|
+
cloudId?: string | undefined;
|
|
893
893
|
}, {
|
|
894
894
|
chatId: string;
|
|
895
895
|
message?: SDKUserMessage | undefined;
|
|
896
896
|
machineId?: string | undefined;
|
|
897
|
-
cloudId?: string | undefined;
|
|
898
|
-
encryptedMessage?: string | undefined;
|
|
899
897
|
cwd?: string | undefined;
|
|
900
|
-
repositoryId?: string | undefined;
|
|
901
898
|
baseBranch?: string | undefined;
|
|
902
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
903
899
|
dataEncryptionKey?: string | undefined;
|
|
900
|
+
repositoryId?: string | undefined;
|
|
901
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
902
|
+
encryptedMessage?: string | undefined;
|
|
903
|
+
cloudId?: string | undefined;
|
|
904
904
|
}>, {
|
|
905
905
|
chatId: string;
|
|
906
906
|
message?: SDKUserMessage | undefined;
|
|
907
907
|
machineId?: string | undefined;
|
|
908
|
-
cloudId?: string | undefined;
|
|
909
|
-
encryptedMessage?: string | undefined;
|
|
910
908
|
cwd?: string | undefined;
|
|
911
|
-
repositoryId?: string | undefined;
|
|
912
909
|
baseBranch?: string | undefined;
|
|
913
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
914
910
|
dataEncryptionKey?: string | undefined;
|
|
911
|
+
repositoryId?: string | undefined;
|
|
912
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
913
|
+
encryptedMessage?: string | undefined;
|
|
914
|
+
cloudId?: string | undefined;
|
|
915
915
|
}, {
|
|
916
916
|
chatId: string;
|
|
917
917
|
message?: SDKUserMessage | undefined;
|
|
918
918
|
machineId?: string | undefined;
|
|
919
|
-
cloudId?: string | undefined;
|
|
920
|
-
encryptedMessage?: string | undefined;
|
|
921
919
|
cwd?: string | undefined;
|
|
922
|
-
repositoryId?: string | undefined;
|
|
923
920
|
baseBranch?: string | undefined;
|
|
924
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
925
921
|
dataEncryptionKey?: string | undefined;
|
|
922
|
+
repositoryId?: string | undefined;
|
|
923
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
924
|
+
encryptedMessage?: string | undefined;
|
|
925
|
+
cloudId?: string | undefined;
|
|
926
926
|
}>, {
|
|
927
927
|
chatId: string;
|
|
928
928
|
message?: SDKUserMessage | undefined;
|
|
929
929
|
machineId?: string | undefined;
|
|
930
|
-
cloudId?: string | undefined;
|
|
931
|
-
encryptedMessage?: string | undefined;
|
|
932
930
|
cwd?: string | undefined;
|
|
933
|
-
repositoryId?: string | undefined;
|
|
934
931
|
baseBranch?: string | undefined;
|
|
935
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
936
932
|
dataEncryptionKey?: string | undefined;
|
|
933
|
+
repositoryId?: string | undefined;
|
|
934
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
935
|
+
encryptedMessage?: string | undefined;
|
|
936
|
+
cloudId?: string | undefined;
|
|
937
937
|
}, {
|
|
938
938
|
chatId: string;
|
|
939
939
|
message?: SDKUserMessage | undefined;
|
|
940
940
|
machineId?: string | undefined;
|
|
941
|
-
cloudId?: string | undefined;
|
|
942
|
-
encryptedMessage?: string | undefined;
|
|
943
941
|
cwd?: string | undefined;
|
|
944
|
-
repositoryId?: string | undefined;
|
|
945
942
|
baseBranch?: string | undefined;
|
|
946
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
947
943
|
dataEncryptionKey?: string | undefined;
|
|
944
|
+
repositoryId?: string | undefined;
|
|
945
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
946
|
+
encryptedMessage?: string | undefined;
|
|
947
|
+
cloudId?: string | undefined;
|
|
948
948
|
}>;
|
|
949
949
|
/**
|
|
950
950
|
* POST /v1/tasks/start - Response schema (201 Created)
|
|
@@ -963,31 +963,31 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
963
963
|
createdAt: z.ZodString;
|
|
964
964
|
updatedAt: z.ZodString;
|
|
965
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
|
-
createdAt: string;
|
|
967
|
-
state: string;
|
|
968
966
|
machineId: string | null;
|
|
969
|
-
cloudId: string | null;
|
|
970
|
-
userId: string;
|
|
971
967
|
taskId: string;
|
|
968
|
+
userId: string;
|
|
972
969
|
chatId: string;
|
|
973
|
-
repositoryId: string | null;
|
|
974
|
-
baseBranch: string | null;
|
|
975
970
|
agentId: string;
|
|
971
|
+
baseBranch: string | null;
|
|
972
|
+
repositoryId: string | null;
|
|
976
973
|
title: string | null;
|
|
974
|
+
state: string;
|
|
977
975
|
updatedAt: string;
|
|
978
|
-
}, {
|
|
979
976
|
createdAt: string;
|
|
980
|
-
state: string;
|
|
981
|
-
machineId: string | null;
|
|
982
977
|
cloudId: string | null;
|
|
983
|
-
|
|
978
|
+
}, {
|
|
979
|
+
machineId: string | null;
|
|
984
980
|
taskId: string;
|
|
981
|
+
userId: string;
|
|
985
982
|
chatId: string;
|
|
986
|
-
repositoryId: string | null;
|
|
987
|
-
baseBranch: string | null;
|
|
988
983
|
agentId: string;
|
|
984
|
+
baseBranch: string | null;
|
|
985
|
+
repositoryId: string | null;
|
|
989
986
|
title: string | null;
|
|
987
|
+
state: string;
|
|
990
988
|
updatedAt: string;
|
|
989
|
+
createdAt: string;
|
|
990
|
+
cloudId: string | null;
|
|
991
991
|
}>;
|
|
992
992
|
type StartTaskResponse = z.infer<typeof StartTaskResponseSchema>;
|
|
993
993
|
/**
|
|
@@ -1005,6 +1005,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1005
1005
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1006
1006
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1007
1007
|
title: z.ZodNullable<z.ZodString>;
|
|
1008
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1008
1009
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1009
1010
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1010
1011
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1050,25 +1051,26 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1050
1051
|
createdAt: z.ZodString;
|
|
1051
1052
|
updatedAt: z.ZodString;
|
|
1052
1053
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
id: string;
|
|
1054
|
-
createdAt: string;
|
|
1055
|
-
state: string;
|
|
1056
1054
|
machineId: string | null;
|
|
1057
|
-
|
|
1055
|
+
cwd: string | null;
|
|
1058
1056
|
userId: string;
|
|
1059
1057
|
chatId: string;
|
|
1060
|
-
|
|
1061
|
-
repositoryId: string | null;
|
|
1058
|
+
agentId: string;
|
|
1062
1059
|
baseBranch: string | null;
|
|
1063
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1064
1060
|
dataEncryptionKey: string | null;
|
|
1065
|
-
|
|
1061
|
+
repositoryId: string | null;
|
|
1062
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1063
|
+
agentSessionId: string | null;
|
|
1066
1064
|
title: string | null;
|
|
1065
|
+
state: string;
|
|
1067
1066
|
updatedAt: string;
|
|
1068
|
-
|
|
1069
|
-
|
|
1067
|
+
id: string;
|
|
1068
|
+
createdAt: string;
|
|
1070
1069
|
pullRequestNumber: number | null;
|
|
1071
1070
|
pullRequestUrl: string | null;
|
|
1071
|
+
cloudId: string | null;
|
|
1072
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1073
|
+
customTitle: string | null;
|
|
1072
1074
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1073
1075
|
pullRequestStateChangedAt: string | null;
|
|
1074
1076
|
gitStats: {
|
|
@@ -1082,25 +1084,26 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1082
1084
|
} | null;
|
|
1083
1085
|
totalDuration: number | null;
|
|
1084
1086
|
}, {
|
|
1085
|
-
id: string;
|
|
1086
|
-
createdAt: string;
|
|
1087
|
-
state: string;
|
|
1088
1087
|
machineId: string | null;
|
|
1089
|
-
|
|
1088
|
+
cwd: string | null;
|
|
1090
1089
|
userId: string;
|
|
1091
1090
|
chatId: string;
|
|
1092
|
-
|
|
1093
|
-
repositoryId: string | null;
|
|
1091
|
+
agentId: string;
|
|
1094
1092
|
baseBranch: string | null;
|
|
1095
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1096
1093
|
dataEncryptionKey: string | null;
|
|
1097
|
-
|
|
1094
|
+
repositoryId: string | null;
|
|
1095
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1096
|
+
agentSessionId: string | null;
|
|
1098
1097
|
title: string | null;
|
|
1098
|
+
state: string;
|
|
1099
1099
|
updatedAt: string;
|
|
1100
|
-
|
|
1101
|
-
|
|
1100
|
+
id: string;
|
|
1101
|
+
createdAt: string;
|
|
1102
1102
|
pullRequestNumber: number | null;
|
|
1103
1103
|
pullRequestUrl: string | null;
|
|
1104
|
+
cloudId: string | null;
|
|
1105
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1106
|
+
customTitle: string | null;
|
|
1104
1107
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1105
1108
|
pullRequestStateChangedAt: string | null;
|
|
1106
1109
|
gitStats: {
|
|
@@ -1151,6 +1154,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1151
1154
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1152
1155
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1153
1156
|
title: z.ZodNullable<z.ZodString>;
|
|
1157
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1154
1158
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1155
1159
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1156
1160
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1196,25 +1200,26 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1196
1200
|
createdAt: z.ZodString;
|
|
1197
1201
|
updatedAt: z.ZodString;
|
|
1198
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1199
|
-
id: string;
|
|
1200
|
-
createdAt: string;
|
|
1201
|
-
state: string;
|
|
1202
1203
|
machineId: string | null;
|
|
1203
|
-
|
|
1204
|
+
cwd: string | null;
|
|
1204
1205
|
userId: string;
|
|
1205
1206
|
chatId: string;
|
|
1206
|
-
|
|
1207
|
-
repositoryId: string | null;
|
|
1207
|
+
agentId: string;
|
|
1208
1208
|
baseBranch: string | null;
|
|
1209
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1210
1209
|
dataEncryptionKey: string | null;
|
|
1211
|
-
|
|
1210
|
+
repositoryId: string | null;
|
|
1211
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1212
|
+
agentSessionId: string | null;
|
|
1212
1213
|
title: string | null;
|
|
1214
|
+
state: string;
|
|
1213
1215
|
updatedAt: string;
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
+
id: string;
|
|
1217
|
+
createdAt: string;
|
|
1216
1218
|
pullRequestNumber: number | null;
|
|
1217
1219
|
pullRequestUrl: string | null;
|
|
1220
|
+
cloudId: string | null;
|
|
1221
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1222
|
+
customTitle: string | null;
|
|
1218
1223
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1219
1224
|
pullRequestStateChangedAt: string | null;
|
|
1220
1225
|
gitStats: {
|
|
@@ -1228,25 +1233,26 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1228
1233
|
} | null;
|
|
1229
1234
|
totalDuration: number | null;
|
|
1230
1235
|
}, {
|
|
1231
|
-
id: string;
|
|
1232
|
-
createdAt: string;
|
|
1233
|
-
state: string;
|
|
1234
1236
|
machineId: string | null;
|
|
1235
|
-
|
|
1237
|
+
cwd: string | null;
|
|
1236
1238
|
userId: string;
|
|
1237
1239
|
chatId: string;
|
|
1238
|
-
|
|
1239
|
-
repositoryId: string | null;
|
|
1240
|
+
agentId: string;
|
|
1240
1241
|
baseBranch: string | null;
|
|
1241
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1242
1242
|
dataEncryptionKey: string | null;
|
|
1243
|
-
|
|
1243
|
+
repositoryId: string | null;
|
|
1244
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1245
|
+
agentSessionId: string | null;
|
|
1244
1246
|
title: string | null;
|
|
1247
|
+
state: string;
|
|
1245
1248
|
updatedAt: string;
|
|
1246
|
-
|
|
1247
|
-
|
|
1249
|
+
id: string;
|
|
1250
|
+
createdAt: string;
|
|
1248
1251
|
pullRequestNumber: number | null;
|
|
1249
1252
|
pullRequestUrl: string | null;
|
|
1253
|
+
cloudId: string | null;
|
|
1254
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1255
|
+
customTitle: string | null;
|
|
1250
1256
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1251
1257
|
pullRequestStateChangedAt: string | null;
|
|
1252
1258
|
gitStats: {
|
|
@@ -1264,25 +1270,26 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1264
1270
|
hasMore: z.ZodBoolean;
|
|
1265
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1266
1272
|
tasks: {
|
|
1267
|
-
id: string;
|
|
1268
|
-
createdAt: string;
|
|
1269
|
-
state: string;
|
|
1270
1273
|
machineId: string | null;
|
|
1271
|
-
|
|
1274
|
+
cwd: string | null;
|
|
1272
1275
|
userId: string;
|
|
1273
1276
|
chatId: string;
|
|
1274
|
-
|
|
1275
|
-
repositoryId: string | null;
|
|
1277
|
+
agentId: string;
|
|
1276
1278
|
baseBranch: string | null;
|
|
1277
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1278
1279
|
dataEncryptionKey: string | null;
|
|
1279
|
-
|
|
1280
|
+
repositoryId: string | null;
|
|
1281
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1282
|
+
agentSessionId: string | null;
|
|
1280
1283
|
title: string | null;
|
|
1284
|
+
state: string;
|
|
1281
1285
|
updatedAt: string;
|
|
1282
|
-
|
|
1283
|
-
|
|
1286
|
+
id: string;
|
|
1287
|
+
createdAt: string;
|
|
1284
1288
|
pullRequestNumber: number | null;
|
|
1285
1289
|
pullRequestUrl: string | null;
|
|
1290
|
+
cloudId: string | null;
|
|
1291
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1292
|
+
customTitle: string | null;
|
|
1286
1293
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1287
1294
|
pullRequestStateChangedAt: string | null;
|
|
1288
1295
|
gitStats: {
|
|
@@ -1300,25 +1307,26 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1300
1307
|
hasMore: boolean;
|
|
1301
1308
|
}, {
|
|
1302
1309
|
tasks: {
|
|
1303
|
-
id: string;
|
|
1304
|
-
createdAt: string;
|
|
1305
|
-
state: string;
|
|
1306
1310
|
machineId: string | null;
|
|
1307
|
-
|
|
1311
|
+
cwd: string | null;
|
|
1308
1312
|
userId: string;
|
|
1309
1313
|
chatId: string;
|
|
1310
|
-
|
|
1311
|
-
repositoryId: string | null;
|
|
1314
|
+
agentId: string;
|
|
1312
1315
|
baseBranch: string | null;
|
|
1313
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1314
1316
|
dataEncryptionKey: string | null;
|
|
1315
|
-
|
|
1317
|
+
repositoryId: string | null;
|
|
1318
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1319
|
+
agentSessionId: string | null;
|
|
1316
1320
|
title: string | null;
|
|
1321
|
+
state: string;
|
|
1317
1322
|
updatedAt: string;
|
|
1318
|
-
|
|
1319
|
-
|
|
1323
|
+
id: string;
|
|
1324
|
+
createdAt: string;
|
|
1320
1325
|
pullRequestNumber: number | null;
|
|
1321
1326
|
pullRequestUrl: string | null;
|
|
1327
|
+
cloudId: string | null;
|
|
1328
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1329
|
+
customTitle: string | null;
|
|
1322
1330
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1323
1331
|
pullRequestStateChangedAt: string | null;
|
|
1324
1332
|
gitStats: {
|
|
@@ -1347,23 +1355,23 @@ declare const ResumeTaskRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1347
1355
|
}, "strip", z.ZodTypeAny, {
|
|
1348
1356
|
taskId: string;
|
|
1349
1357
|
message?: SDKUserMessage | undefined;
|
|
1350
|
-
encryptedMessage?: string | undefined;
|
|
1351
1358
|
dataEncryptionKey?: string | undefined;
|
|
1359
|
+
encryptedMessage?: string | undefined;
|
|
1352
1360
|
}, {
|
|
1353
1361
|
taskId: string;
|
|
1354
1362
|
message?: SDKUserMessage | undefined;
|
|
1355
|
-
encryptedMessage?: string | undefined;
|
|
1356
1363
|
dataEncryptionKey?: string | undefined;
|
|
1364
|
+
encryptedMessage?: string | undefined;
|
|
1357
1365
|
}>, {
|
|
1358
1366
|
taskId: string;
|
|
1359
1367
|
message?: SDKUserMessage | undefined;
|
|
1360
|
-
encryptedMessage?: string | undefined;
|
|
1361
1368
|
dataEncryptionKey?: string | undefined;
|
|
1369
|
+
encryptedMessage?: string | undefined;
|
|
1362
1370
|
}, {
|
|
1363
1371
|
taskId: string;
|
|
1364
1372
|
message?: SDKUserMessage | undefined;
|
|
1365
|
-
encryptedMessage?: string | undefined;
|
|
1366
1373
|
dataEncryptionKey?: string | undefined;
|
|
1374
|
+
encryptedMessage?: string | undefined;
|
|
1367
1375
|
}>;
|
|
1368
1376
|
type ResumeTaskRequest = z.infer<typeof ResumeTaskRequestSchema>;
|
|
1369
1377
|
declare const resumeTaskRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -1374,23 +1382,23 @@ declare const resumeTaskRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1374
1382
|
}, "strip", z.ZodTypeAny, {
|
|
1375
1383
|
taskId: string;
|
|
1376
1384
|
message?: SDKUserMessage | undefined;
|
|
1377
|
-
encryptedMessage?: string | undefined;
|
|
1378
1385
|
dataEncryptionKey?: string | undefined;
|
|
1386
|
+
encryptedMessage?: string | undefined;
|
|
1379
1387
|
}, {
|
|
1380
1388
|
taskId: string;
|
|
1381
1389
|
message?: SDKUserMessage | undefined;
|
|
1382
|
-
encryptedMessage?: string | undefined;
|
|
1383
1390
|
dataEncryptionKey?: string | undefined;
|
|
1391
|
+
encryptedMessage?: string | undefined;
|
|
1384
1392
|
}>, {
|
|
1385
1393
|
taskId: string;
|
|
1386
1394
|
message?: SDKUserMessage | undefined;
|
|
1387
|
-
encryptedMessage?: string | undefined;
|
|
1388
1395
|
dataEncryptionKey?: string | undefined;
|
|
1396
|
+
encryptedMessage?: string | undefined;
|
|
1389
1397
|
}, {
|
|
1390
1398
|
taskId: string;
|
|
1391
1399
|
message?: SDKUserMessage | undefined;
|
|
1392
|
-
encryptedMessage?: string | undefined;
|
|
1393
1400
|
dataEncryptionKey?: string | undefined;
|
|
1401
|
+
encryptedMessage?: string | undefined;
|
|
1394
1402
|
}>;
|
|
1395
1403
|
/**
|
|
1396
1404
|
* POST /v1/tasks/:taskId/resume - Response schema (202 Accepted)
|
|
@@ -1483,22 +1491,22 @@ declare const PermissionResponseRequestSchema: z.ZodObject<{
|
|
|
1483
1491
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1484
1492
|
data: z.ZodOptional<z.ZodAny>;
|
|
1485
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
approved?: boolean | undefined;
|
|
1487
1494
|
data?: any;
|
|
1488
|
-
}, {
|
|
1489
1495
|
approved?: boolean | undefined;
|
|
1496
|
+
}, {
|
|
1490
1497
|
data?: any;
|
|
1498
|
+
approved?: boolean | undefined;
|
|
1491
1499
|
}>;
|
|
1492
1500
|
type PermissionResponseRequest = z.infer<typeof PermissionResponseRequestSchema>;
|
|
1493
1501
|
declare const permissionResponseRequestSchema: z.ZodObject<{
|
|
1494
1502
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1495
1503
|
data: z.ZodOptional<z.ZodAny>;
|
|
1496
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1497
|
-
approved?: boolean | undefined;
|
|
1498
1505
|
data?: any;
|
|
1499
|
-
}, {
|
|
1500
1506
|
approved?: boolean | undefined;
|
|
1507
|
+
}, {
|
|
1501
1508
|
data?: any;
|
|
1509
|
+
approved?: boolean | undefined;
|
|
1502
1510
|
}>;
|
|
1503
1511
|
/**
|
|
1504
1512
|
* POST /v1/tasks/:taskId/permission-response - Response schema
|
|
@@ -1638,14 +1646,14 @@ declare const CreateMergeRequestSchema: z.ZodObject<{
|
|
|
1638
1646
|
autoMerge: z.ZodOptional<z.ZodBoolean>;
|
|
1639
1647
|
}, "strip", z.ZodTypeAny, {
|
|
1640
1648
|
taskId: string;
|
|
1641
|
-
title?: string | undefined;
|
|
1642
1649
|
description?: string | undefined;
|
|
1650
|
+
title?: string | undefined;
|
|
1643
1651
|
draft?: boolean | undefined;
|
|
1644
1652
|
autoMerge?: boolean | undefined;
|
|
1645
1653
|
}, {
|
|
1646
1654
|
taskId: string;
|
|
1647
|
-
title?: string | undefined;
|
|
1648
1655
|
description?: string | undefined;
|
|
1656
|
+
title?: string | undefined;
|
|
1649
1657
|
draft?: boolean | undefined;
|
|
1650
1658
|
autoMerge?: boolean | undefined;
|
|
1651
1659
|
}>;
|
|
@@ -1658,14 +1666,14 @@ declare const createMergeRequestSchema: z.ZodObject<{
|
|
|
1658
1666
|
autoMerge: z.ZodOptional<z.ZodBoolean>;
|
|
1659
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1660
1668
|
taskId: string;
|
|
1661
|
-
title?: string | undefined;
|
|
1662
1669
|
description?: string | undefined;
|
|
1670
|
+
title?: string | undefined;
|
|
1663
1671
|
draft?: boolean | undefined;
|
|
1664
1672
|
autoMerge?: boolean | undefined;
|
|
1665
1673
|
}, {
|
|
1666
1674
|
taskId: string;
|
|
1667
|
-
title?: string | undefined;
|
|
1668
1675
|
description?: string | undefined;
|
|
1676
|
+
title?: string | undefined;
|
|
1669
1677
|
draft?: boolean | undefined;
|
|
1670
1678
|
autoMerge?: boolean | undefined;
|
|
1671
1679
|
}>;
|
|
@@ -1681,15 +1689,15 @@ declare const CreateMergeRequestResponseSchema: z.ZodObject<{
|
|
|
1681
1689
|
}, "strip", z.ZodTypeAny, {
|
|
1682
1690
|
status: "success" | "failed";
|
|
1683
1691
|
taskId: string;
|
|
1692
|
+
reason?: string | undefined;
|
|
1684
1693
|
pullRequestNumber?: number | undefined;
|
|
1685
1694
|
pullRequestUrl?: string | undefined;
|
|
1686
|
-
reason?: string | undefined;
|
|
1687
1695
|
}, {
|
|
1688
1696
|
status: "success" | "failed";
|
|
1689
1697
|
taskId: string;
|
|
1698
|
+
reason?: string | undefined;
|
|
1690
1699
|
pullRequestNumber?: number | undefined;
|
|
1691
1700
|
pullRequestUrl?: string | undefined;
|
|
1692
|
-
reason?: string | undefined;
|
|
1693
1701
|
}>;
|
|
1694
1702
|
type CreateMergeRequestResponse = z.infer<typeof CreateMergeRequestResponseSchema>;
|
|
1695
1703
|
/**
|
|
@@ -1788,6 +1796,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1788
1796
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1789
1797
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1790
1798
|
title: z.ZodNullable<z.ZodString>;
|
|
1799
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1791
1800
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1792
1801
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1793
1802
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1833,25 +1842,26 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1833
1842
|
createdAt: z.ZodString;
|
|
1834
1843
|
updatedAt: z.ZodString;
|
|
1835
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1836
|
-
id: string;
|
|
1837
|
-
createdAt: string;
|
|
1838
|
-
state: string;
|
|
1839
1845
|
machineId: string | null;
|
|
1840
|
-
|
|
1846
|
+
cwd: string | null;
|
|
1841
1847
|
userId: string;
|
|
1842
1848
|
chatId: string;
|
|
1843
|
-
|
|
1844
|
-
repositoryId: string | null;
|
|
1849
|
+
agentId: string;
|
|
1845
1850
|
baseBranch: string | null;
|
|
1846
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1847
1851
|
dataEncryptionKey: string | null;
|
|
1848
|
-
|
|
1852
|
+
repositoryId: string | null;
|
|
1853
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1854
|
+
agentSessionId: string | null;
|
|
1849
1855
|
title: string | null;
|
|
1856
|
+
state: string;
|
|
1850
1857
|
updatedAt: string;
|
|
1851
|
-
|
|
1852
|
-
|
|
1858
|
+
id: string;
|
|
1859
|
+
createdAt: string;
|
|
1853
1860
|
pullRequestNumber: number | null;
|
|
1854
1861
|
pullRequestUrl: string | null;
|
|
1862
|
+
cloudId: string | null;
|
|
1863
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1864
|
+
customTitle: string | null;
|
|
1855
1865
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1856
1866
|
pullRequestStateChangedAt: string | null;
|
|
1857
1867
|
gitStats: {
|
|
@@ -1865,25 +1875,26 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1865
1875
|
} | null;
|
|
1866
1876
|
totalDuration: number | null;
|
|
1867
1877
|
}, {
|
|
1868
|
-
id: string;
|
|
1869
|
-
createdAt: string;
|
|
1870
|
-
state: string;
|
|
1871
1878
|
machineId: string | null;
|
|
1872
|
-
|
|
1879
|
+
cwd: string | null;
|
|
1873
1880
|
userId: string;
|
|
1874
1881
|
chatId: string;
|
|
1875
|
-
|
|
1876
|
-
repositoryId: string | null;
|
|
1882
|
+
agentId: string;
|
|
1877
1883
|
baseBranch: string | null;
|
|
1878
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1879
1884
|
dataEncryptionKey: string | null;
|
|
1880
|
-
|
|
1885
|
+
repositoryId: string | null;
|
|
1886
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1887
|
+
agentSessionId: string | null;
|
|
1881
1888
|
title: string | null;
|
|
1889
|
+
state: string;
|
|
1882
1890
|
updatedAt: string;
|
|
1883
|
-
|
|
1884
|
-
|
|
1891
|
+
id: string;
|
|
1892
|
+
createdAt: string;
|
|
1885
1893
|
pullRequestNumber: number | null;
|
|
1886
1894
|
pullRequestUrl: string | null;
|
|
1895
|
+
cloudId: string | null;
|
|
1896
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1897
|
+
customTitle: string | null;
|
|
1887
1898
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1888
1899
|
pullRequestStateChangedAt: string | null;
|
|
1889
1900
|
gitStats: {
|
|
@@ -1900,25 +1911,26 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1900
1911
|
}, "strip", z.ZodTypeAny, {
|
|
1901
1912
|
success: boolean;
|
|
1902
1913
|
task: {
|
|
1903
|
-
id: string;
|
|
1904
|
-
createdAt: string;
|
|
1905
|
-
state: string;
|
|
1906
1914
|
machineId: string | null;
|
|
1907
|
-
|
|
1915
|
+
cwd: string | null;
|
|
1908
1916
|
userId: string;
|
|
1909
1917
|
chatId: string;
|
|
1910
|
-
|
|
1911
|
-
repositoryId: string | null;
|
|
1918
|
+
agentId: string;
|
|
1912
1919
|
baseBranch: string | null;
|
|
1913
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1914
1920
|
dataEncryptionKey: string | null;
|
|
1915
|
-
|
|
1921
|
+
repositoryId: string | null;
|
|
1922
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1923
|
+
agentSessionId: string | null;
|
|
1916
1924
|
title: string | null;
|
|
1925
|
+
state: string;
|
|
1917
1926
|
updatedAt: string;
|
|
1918
|
-
|
|
1919
|
-
|
|
1927
|
+
id: string;
|
|
1928
|
+
createdAt: string;
|
|
1920
1929
|
pullRequestNumber: number | null;
|
|
1921
1930
|
pullRequestUrl: string | null;
|
|
1931
|
+
cloudId: string | null;
|
|
1932
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1933
|
+
customTitle: string | null;
|
|
1922
1934
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1923
1935
|
pullRequestStateChangedAt: string | null;
|
|
1924
1936
|
gitStats: {
|
|
@@ -1935,25 +1947,26 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1935
1947
|
}, {
|
|
1936
1948
|
success: boolean;
|
|
1937
1949
|
task: {
|
|
1938
|
-
id: string;
|
|
1939
|
-
createdAt: string;
|
|
1940
|
-
state: string;
|
|
1941
1950
|
machineId: string | null;
|
|
1942
|
-
|
|
1951
|
+
cwd: string | null;
|
|
1943
1952
|
userId: string;
|
|
1944
1953
|
chatId: string;
|
|
1945
|
-
|
|
1946
|
-
repositoryId: string | null;
|
|
1954
|
+
agentId: string;
|
|
1947
1955
|
baseBranch: string | null;
|
|
1948
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1949
1956
|
dataEncryptionKey: string | null;
|
|
1950
|
-
|
|
1957
|
+
repositoryId: string | null;
|
|
1958
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1959
|
+
agentSessionId: string | null;
|
|
1951
1960
|
title: string | null;
|
|
1961
|
+
state: string;
|
|
1952
1962
|
updatedAt: string;
|
|
1953
|
-
|
|
1954
|
-
|
|
1963
|
+
id: string;
|
|
1964
|
+
createdAt: string;
|
|
1955
1965
|
pullRequestNumber: number | null;
|
|
1956
1966
|
pullRequestUrl: string | null;
|
|
1967
|
+
cloudId: string | null;
|
|
1968
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1969
|
+
customTitle: string | null;
|
|
1957
1970
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
1958
1971
|
pullRequestStateChangedAt: string | null;
|
|
1959
1972
|
gitStats: {
|
|
@@ -1991,6 +2004,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1991
2004
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1992
2005
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1993
2006
|
title: z.ZodNullable<z.ZodString>;
|
|
2007
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1994
2008
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1995
2009
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1996
2010
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -2036,25 +2050,95 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2036
2050
|
createdAt: z.ZodString;
|
|
2037
2051
|
updatedAt: z.ZodString;
|
|
2038
2052
|
}, "strip", z.ZodTypeAny, {
|
|
2053
|
+
machineId: string | null;
|
|
2054
|
+
cwd: string | null;
|
|
2055
|
+
userId: string;
|
|
2056
|
+
chatId: string;
|
|
2057
|
+
agentId: string;
|
|
2058
|
+
baseBranch: string | null;
|
|
2059
|
+
dataEncryptionKey: string | null;
|
|
2060
|
+
repositoryId: string | null;
|
|
2061
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2062
|
+
agentSessionId: string | null;
|
|
2063
|
+
title: string | null;
|
|
2064
|
+
state: string;
|
|
2065
|
+
updatedAt: string;
|
|
2039
2066
|
id: string;
|
|
2040
2067
|
createdAt: string;
|
|
2041
|
-
|
|
2042
|
-
|
|
2068
|
+
pullRequestNumber: number | null;
|
|
2069
|
+
pullRequestUrl: string | null;
|
|
2043
2070
|
cloudId: string | null;
|
|
2071
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2072
|
+
customTitle: string | null;
|
|
2073
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2074
|
+
pullRequestStateChangedAt: string | null;
|
|
2075
|
+
gitStats: {
|
|
2076
|
+
totalInsertions: number;
|
|
2077
|
+
totalDeletions: number;
|
|
2078
|
+
files: {
|
|
2079
|
+
path: string;
|
|
2080
|
+
insertions: number;
|
|
2081
|
+
deletions: number;
|
|
2082
|
+
}[];
|
|
2083
|
+
} | null;
|
|
2084
|
+
totalDuration: number | null;
|
|
2085
|
+
}, {
|
|
2086
|
+
machineId: string | null;
|
|
2087
|
+
cwd: string | null;
|
|
2044
2088
|
userId: string;
|
|
2045
2089
|
chatId: string;
|
|
2046
|
-
|
|
2047
|
-
repositoryId: string | null;
|
|
2090
|
+
agentId: string;
|
|
2048
2091
|
baseBranch: string | null;
|
|
2049
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2050
2092
|
dataEncryptionKey: string | null;
|
|
2051
|
-
|
|
2093
|
+
repositoryId: string | null;
|
|
2094
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2095
|
+
agentSessionId: string | null;
|
|
2052
2096
|
title: string | null;
|
|
2097
|
+
state: string;
|
|
2053
2098
|
updatedAt: string;
|
|
2099
|
+
id: string;
|
|
2100
|
+
createdAt: string;
|
|
2101
|
+
pullRequestNumber: number | null;
|
|
2102
|
+
pullRequestUrl: string | null;
|
|
2103
|
+
cloudId: string | null;
|
|
2054
2104
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2105
|
+
customTitle: string | null;
|
|
2106
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2107
|
+
pullRequestStateChangedAt: string | null;
|
|
2108
|
+
gitStats: {
|
|
2109
|
+
totalInsertions: number;
|
|
2110
|
+
totalDeletions: number;
|
|
2111
|
+
files: {
|
|
2112
|
+
path: string;
|
|
2113
|
+
insertions: number;
|
|
2114
|
+
deletions: number;
|
|
2115
|
+
}[];
|
|
2116
|
+
} | null;
|
|
2117
|
+
totalDuration: number | null;
|
|
2118
|
+
}>;
|
|
2119
|
+
}, "strip", z.ZodTypeAny, {
|
|
2120
|
+
success: boolean;
|
|
2121
|
+
task: {
|
|
2122
|
+
machineId: string | null;
|
|
2123
|
+
cwd: string | null;
|
|
2124
|
+
userId: string;
|
|
2125
|
+
chatId: string;
|
|
2126
|
+
agentId: string;
|
|
2127
|
+
baseBranch: string | null;
|
|
2128
|
+
dataEncryptionKey: string | null;
|
|
2129
|
+
repositoryId: string | null;
|
|
2130
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2055
2131
|
agentSessionId: string | null;
|
|
2132
|
+
title: string | null;
|
|
2133
|
+
state: string;
|
|
2134
|
+
updatedAt: string;
|
|
2135
|
+
id: string;
|
|
2136
|
+
createdAt: string;
|
|
2056
2137
|
pullRequestNumber: number | null;
|
|
2057
2138
|
pullRequestUrl: string | null;
|
|
2139
|
+
cloudId: string | null;
|
|
2140
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2141
|
+
customTitle: string | null;
|
|
2058
2142
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2059
2143
|
pullRequestStateChangedAt: string | null;
|
|
2060
2144
|
gitStats: {
|
|
@@ -2067,26 +2151,172 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2067
2151
|
}[];
|
|
2068
2152
|
} | null;
|
|
2069
2153
|
totalDuration: number | null;
|
|
2070
|
-
}
|
|
2154
|
+
};
|
|
2155
|
+
}, {
|
|
2156
|
+
success: boolean;
|
|
2157
|
+
task: {
|
|
2158
|
+
machineId: string | null;
|
|
2159
|
+
cwd: string | null;
|
|
2160
|
+
userId: string;
|
|
2161
|
+
chatId: string;
|
|
2162
|
+
agentId: string;
|
|
2163
|
+
baseBranch: string | null;
|
|
2164
|
+
dataEncryptionKey: string | null;
|
|
2165
|
+
repositoryId: string | null;
|
|
2166
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2167
|
+
agentSessionId: string | null;
|
|
2168
|
+
title: string | null;
|
|
2169
|
+
state: string;
|
|
2170
|
+
updatedAt: string;
|
|
2071
2171
|
id: string;
|
|
2072
2172
|
createdAt: string;
|
|
2073
|
-
|
|
2074
|
-
|
|
2173
|
+
pullRequestNumber: number | null;
|
|
2174
|
+
pullRequestUrl: string | null;
|
|
2075
2175
|
cloudId: string | null;
|
|
2176
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2177
|
+
customTitle: string | null;
|
|
2178
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2179
|
+
pullRequestStateChangedAt: string | null;
|
|
2180
|
+
gitStats: {
|
|
2181
|
+
totalInsertions: number;
|
|
2182
|
+
totalDeletions: number;
|
|
2183
|
+
files: {
|
|
2184
|
+
path: string;
|
|
2185
|
+
insertions: number;
|
|
2186
|
+
deletions: number;
|
|
2187
|
+
}[];
|
|
2188
|
+
} | null;
|
|
2189
|
+
totalDuration: number | null;
|
|
2190
|
+
};
|
|
2191
|
+
}>;
|
|
2192
|
+
type UnarchiveTaskResponse = z.infer<typeof UnarchiveTaskResponseSchema>;
|
|
2193
|
+
/**
|
|
2194
|
+
* PUT /v1/tasks/:taskId/title - Request schema
|
|
2195
|
+
*/
|
|
2196
|
+
declare const UpdateTaskTitleRequestSchema: z.ZodObject<{
|
|
2197
|
+
customTitle: z.ZodString;
|
|
2198
|
+
}, "strip", z.ZodTypeAny, {
|
|
2199
|
+
customTitle: string;
|
|
2200
|
+
}, {
|
|
2201
|
+
customTitle: string;
|
|
2202
|
+
}>;
|
|
2203
|
+
type UpdateTaskTitleRequest = z.infer<typeof UpdateTaskTitleRequestSchema>;
|
|
2204
|
+
/**
|
|
2205
|
+
* PUT /v1/tasks/:taskId/title - Response schema
|
|
2206
|
+
*/
|
|
2207
|
+
declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
2208
|
+
success: z.ZodBoolean;
|
|
2209
|
+
task: z.ZodObject<{
|
|
2210
|
+
id: z.ZodString;
|
|
2211
|
+
chatId: z.ZodString;
|
|
2212
|
+
userId: z.ZodString;
|
|
2213
|
+
state: z.ZodString;
|
|
2214
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
2215
|
+
agentId: z.ZodString;
|
|
2216
|
+
machineId: z.ZodNullable<z.ZodString>;
|
|
2217
|
+
cloudId: z.ZodNullable<z.ZodString>;
|
|
2218
|
+
repositoryId: z.ZodNullable<z.ZodString>;
|
|
2219
|
+
baseBranch: z.ZodNullable<z.ZodString>;
|
|
2220
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2221
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
2222
|
+
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
2223
|
+
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
2224
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
2225
|
+
repositorySourceType: z.ZodNullable<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
2226
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
2227
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
2228
|
+
pullRequestState: z.ZodNullable<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2229
|
+
pullRequestStateChangedAt: z.ZodNullable<z.ZodString>;
|
|
2230
|
+
gitStats: z.ZodNullable<z.ZodObject<{
|
|
2231
|
+
totalInsertions: z.ZodNumber;
|
|
2232
|
+
totalDeletions: z.ZodNumber;
|
|
2233
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2234
|
+
path: z.ZodString;
|
|
2235
|
+
insertions: z.ZodNumber;
|
|
2236
|
+
deletions: z.ZodNumber;
|
|
2237
|
+
}, "strip", z.ZodTypeAny, {
|
|
2238
|
+
path: string;
|
|
2239
|
+
insertions: number;
|
|
2240
|
+
deletions: number;
|
|
2241
|
+
}, {
|
|
2242
|
+
path: string;
|
|
2243
|
+
insertions: number;
|
|
2244
|
+
deletions: number;
|
|
2245
|
+
}>, "many">;
|
|
2246
|
+
}, "strip", z.ZodTypeAny, {
|
|
2247
|
+
totalInsertions: number;
|
|
2248
|
+
totalDeletions: number;
|
|
2249
|
+
files: {
|
|
2250
|
+
path: string;
|
|
2251
|
+
insertions: number;
|
|
2252
|
+
deletions: number;
|
|
2253
|
+
}[];
|
|
2254
|
+
}, {
|
|
2255
|
+
totalInsertions: number;
|
|
2256
|
+
totalDeletions: number;
|
|
2257
|
+
files: {
|
|
2258
|
+
path: string;
|
|
2259
|
+
insertions: number;
|
|
2260
|
+
deletions: number;
|
|
2261
|
+
}[];
|
|
2262
|
+
}>>;
|
|
2263
|
+
totalDuration: z.ZodNullable<z.ZodNumber>;
|
|
2264
|
+
createdAt: z.ZodString;
|
|
2265
|
+
updatedAt: z.ZodString;
|
|
2266
|
+
}, "strip", z.ZodTypeAny, {
|
|
2267
|
+
machineId: string | null;
|
|
2268
|
+
cwd: string | null;
|
|
2076
2269
|
userId: string;
|
|
2077
2270
|
chatId: string;
|
|
2078
|
-
|
|
2079
|
-
repositoryId: string | null;
|
|
2271
|
+
agentId: string;
|
|
2080
2272
|
baseBranch: string | null;
|
|
2081
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2082
2273
|
dataEncryptionKey: string | null;
|
|
2083
|
-
|
|
2274
|
+
repositoryId: string | null;
|
|
2275
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2276
|
+
agentSessionId: string | null;
|
|
2084
2277
|
title: string | null;
|
|
2278
|
+
state: string;
|
|
2085
2279
|
updatedAt: string;
|
|
2280
|
+
id: string;
|
|
2281
|
+
createdAt: string;
|
|
2282
|
+
pullRequestNumber: number | null;
|
|
2283
|
+
pullRequestUrl: string | null;
|
|
2284
|
+
cloudId: string | null;
|
|
2086
2285
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2286
|
+
customTitle: string | null;
|
|
2287
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2288
|
+
pullRequestStateChangedAt: string | null;
|
|
2289
|
+
gitStats: {
|
|
2290
|
+
totalInsertions: number;
|
|
2291
|
+
totalDeletions: number;
|
|
2292
|
+
files: {
|
|
2293
|
+
path: string;
|
|
2294
|
+
insertions: number;
|
|
2295
|
+
deletions: number;
|
|
2296
|
+
}[];
|
|
2297
|
+
} | null;
|
|
2298
|
+
totalDuration: number | null;
|
|
2299
|
+
}, {
|
|
2300
|
+
machineId: string | null;
|
|
2301
|
+
cwd: string | null;
|
|
2302
|
+
userId: string;
|
|
2303
|
+
chatId: string;
|
|
2304
|
+
agentId: string;
|
|
2305
|
+
baseBranch: string | null;
|
|
2306
|
+
dataEncryptionKey: string | null;
|
|
2307
|
+
repositoryId: string | null;
|
|
2308
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2087
2309
|
agentSessionId: string | null;
|
|
2310
|
+
title: string | null;
|
|
2311
|
+
state: string;
|
|
2312
|
+
updatedAt: string;
|
|
2313
|
+
id: string;
|
|
2314
|
+
createdAt: string;
|
|
2088
2315
|
pullRequestNumber: number | null;
|
|
2089
2316
|
pullRequestUrl: string | null;
|
|
2317
|
+
cloudId: string | null;
|
|
2318
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2319
|
+
customTitle: string | null;
|
|
2090
2320
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2091
2321
|
pullRequestStateChangedAt: string | null;
|
|
2092
2322
|
gitStats: {
|
|
@@ -2103,25 +2333,26 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2103
2333
|
}, "strip", z.ZodTypeAny, {
|
|
2104
2334
|
success: boolean;
|
|
2105
2335
|
task: {
|
|
2106
|
-
id: string;
|
|
2107
|
-
createdAt: string;
|
|
2108
|
-
state: string;
|
|
2109
2336
|
machineId: string | null;
|
|
2110
|
-
|
|
2337
|
+
cwd: string | null;
|
|
2111
2338
|
userId: string;
|
|
2112
2339
|
chatId: string;
|
|
2113
|
-
|
|
2114
|
-
repositoryId: string | null;
|
|
2340
|
+
agentId: string;
|
|
2115
2341
|
baseBranch: string | null;
|
|
2116
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2117
2342
|
dataEncryptionKey: string | null;
|
|
2118
|
-
|
|
2343
|
+
repositoryId: string | null;
|
|
2344
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2345
|
+
agentSessionId: string | null;
|
|
2119
2346
|
title: string | null;
|
|
2347
|
+
state: string;
|
|
2120
2348
|
updatedAt: string;
|
|
2121
|
-
|
|
2122
|
-
|
|
2349
|
+
id: string;
|
|
2350
|
+
createdAt: string;
|
|
2123
2351
|
pullRequestNumber: number | null;
|
|
2124
2352
|
pullRequestUrl: string | null;
|
|
2353
|
+
cloudId: string | null;
|
|
2354
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2355
|
+
customTitle: string | null;
|
|
2125
2356
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2126
2357
|
pullRequestStateChangedAt: string | null;
|
|
2127
2358
|
gitStats: {
|
|
@@ -2138,25 +2369,26 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2138
2369
|
}, {
|
|
2139
2370
|
success: boolean;
|
|
2140
2371
|
task: {
|
|
2141
|
-
id: string;
|
|
2142
|
-
createdAt: string;
|
|
2143
|
-
state: string;
|
|
2144
2372
|
machineId: string | null;
|
|
2145
|
-
|
|
2373
|
+
cwd: string | null;
|
|
2146
2374
|
userId: string;
|
|
2147
2375
|
chatId: string;
|
|
2148
|
-
|
|
2149
|
-
repositoryId: string | null;
|
|
2376
|
+
agentId: string;
|
|
2150
2377
|
baseBranch: string | null;
|
|
2151
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2152
2378
|
dataEncryptionKey: string | null;
|
|
2153
|
-
|
|
2379
|
+
repositoryId: string | null;
|
|
2380
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2381
|
+
agentSessionId: string | null;
|
|
2154
2382
|
title: string | null;
|
|
2383
|
+
state: string;
|
|
2155
2384
|
updatedAt: string;
|
|
2156
|
-
|
|
2157
|
-
|
|
2385
|
+
id: string;
|
|
2386
|
+
createdAt: string;
|
|
2158
2387
|
pullRequestNumber: number | null;
|
|
2159
2388
|
pullRequestUrl: string | null;
|
|
2389
|
+
cloudId: string | null;
|
|
2390
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2391
|
+
customTitle: string | null;
|
|
2160
2392
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2161
2393
|
pullRequestStateChangedAt: string | null;
|
|
2162
2394
|
gitStats: {
|
|
@@ -2171,7 +2403,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2171
2403
|
totalDuration: number | null;
|
|
2172
2404
|
};
|
|
2173
2405
|
}>;
|
|
2174
|
-
type
|
|
2406
|
+
type UpdateTaskTitleResponse = z.infer<typeof UpdateTaskTitleResponseSchema>;
|
|
2175
2407
|
|
|
2176
2408
|
/**
|
|
2177
2409
|
* Chat HTTP request/response schemas
|
|
@@ -2191,18 +2423,18 @@ declare const ChatMemberSchema: z.ZodObject<{
|
|
|
2191
2423
|
updatedAt: z.ZodString;
|
|
2192
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2193
2425
|
type: "human" | "agent";
|
|
2194
|
-
id: string;
|
|
2195
|
-
createdAt: string;
|
|
2196
2426
|
chatId: string;
|
|
2197
2427
|
updatedAt: string;
|
|
2428
|
+
id: string;
|
|
2429
|
+
createdAt: string;
|
|
2198
2430
|
memberCode: string;
|
|
2199
2431
|
role: string;
|
|
2200
2432
|
}, {
|
|
2201
2433
|
type: "human" | "agent";
|
|
2202
|
-
id: string;
|
|
2203
|
-
createdAt: string;
|
|
2204
2434
|
chatId: string;
|
|
2205
2435
|
updatedAt: string;
|
|
2436
|
+
id: string;
|
|
2437
|
+
createdAt: string;
|
|
2206
2438
|
memberCode: string;
|
|
2207
2439
|
role: string;
|
|
2208
2440
|
}>;
|
|
@@ -2223,16 +2455,16 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
2223
2455
|
updatedAt: z.ZodString;
|
|
2224
2456
|
}, "strip", z.ZodTypeAny, {
|
|
2225
2457
|
type: "direct" | "group";
|
|
2226
|
-
id: string;
|
|
2227
|
-
createdAt: string;
|
|
2228
2458
|
updatedAt: string;
|
|
2229
2459
|
owner: string;
|
|
2230
|
-
}, {
|
|
2231
|
-
type: "direct" | "group";
|
|
2232
2460
|
id: string;
|
|
2233
2461
|
createdAt: string;
|
|
2462
|
+
}, {
|
|
2463
|
+
type: "direct" | "group";
|
|
2234
2464
|
updatedAt: string;
|
|
2235
2465
|
owner: string;
|
|
2466
|
+
id: string;
|
|
2467
|
+
createdAt: string;
|
|
2236
2468
|
}>;
|
|
2237
2469
|
type Chat = z.infer<typeof ChatSchema>;
|
|
2238
2470
|
/**
|
|
@@ -2255,48 +2487,48 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
2255
2487
|
updatedAt: z.ZodString;
|
|
2256
2488
|
}, "strip", z.ZodTypeAny, {
|
|
2257
2489
|
type: "human" | "agent";
|
|
2258
|
-
id: string;
|
|
2259
|
-
createdAt: string;
|
|
2260
2490
|
chatId: string;
|
|
2261
2491
|
updatedAt: string;
|
|
2492
|
+
id: string;
|
|
2493
|
+
createdAt: string;
|
|
2262
2494
|
memberCode: string;
|
|
2263
2495
|
role: string;
|
|
2264
2496
|
}, {
|
|
2265
2497
|
type: "human" | "agent";
|
|
2266
|
-
id: string;
|
|
2267
|
-
createdAt: string;
|
|
2268
2498
|
chatId: string;
|
|
2269
2499
|
updatedAt: string;
|
|
2500
|
+
id: string;
|
|
2501
|
+
createdAt: string;
|
|
2270
2502
|
memberCode: string;
|
|
2271
2503
|
role: string;
|
|
2272
2504
|
}>, "many">;
|
|
2273
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2274
2506
|
type: "direct" | "group";
|
|
2275
|
-
id: string;
|
|
2276
|
-
createdAt: string;
|
|
2277
2507
|
updatedAt: string;
|
|
2278
2508
|
owner: string;
|
|
2509
|
+
id: string;
|
|
2510
|
+
createdAt: string;
|
|
2279
2511
|
members: {
|
|
2280
2512
|
type: "human" | "agent";
|
|
2281
|
-
id: string;
|
|
2282
|
-
createdAt: string;
|
|
2283
2513
|
chatId: string;
|
|
2284
2514
|
updatedAt: string;
|
|
2515
|
+
id: string;
|
|
2516
|
+
createdAt: string;
|
|
2285
2517
|
memberCode: string;
|
|
2286
2518
|
role: string;
|
|
2287
2519
|
}[];
|
|
2288
2520
|
}, {
|
|
2289
2521
|
type: "direct" | "group";
|
|
2290
|
-
id: string;
|
|
2291
|
-
createdAt: string;
|
|
2292
2522
|
updatedAt: string;
|
|
2293
2523
|
owner: string;
|
|
2524
|
+
id: string;
|
|
2525
|
+
createdAt: string;
|
|
2294
2526
|
members: {
|
|
2295
2527
|
type: "human" | "agent";
|
|
2296
|
-
id: string;
|
|
2297
|
-
createdAt: string;
|
|
2298
2528
|
chatId: string;
|
|
2299
2529
|
updatedAt: string;
|
|
2530
|
+
id: string;
|
|
2531
|
+
createdAt: string;
|
|
2300
2532
|
memberCode: string;
|
|
2301
2533
|
role: string;
|
|
2302
2534
|
}[];
|
|
@@ -2365,48 +2597,48 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
2365
2597
|
updatedAt: z.ZodString;
|
|
2366
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2367
2599
|
type: "human" | "agent";
|
|
2368
|
-
id: string;
|
|
2369
|
-
createdAt: string;
|
|
2370
2600
|
chatId: string;
|
|
2371
2601
|
updatedAt: string;
|
|
2602
|
+
id: string;
|
|
2603
|
+
createdAt: string;
|
|
2372
2604
|
memberCode: string;
|
|
2373
2605
|
role: string;
|
|
2374
2606
|
}, {
|
|
2375
2607
|
type: "human" | "agent";
|
|
2376
|
-
id: string;
|
|
2377
|
-
createdAt: string;
|
|
2378
2608
|
chatId: string;
|
|
2379
2609
|
updatedAt: string;
|
|
2610
|
+
id: string;
|
|
2611
|
+
createdAt: string;
|
|
2380
2612
|
memberCode: string;
|
|
2381
2613
|
role: string;
|
|
2382
2614
|
}>, "many">;
|
|
2383
2615
|
}, "strip", z.ZodTypeAny, {
|
|
2384
2616
|
type: "direct" | "group";
|
|
2385
|
-
id: string;
|
|
2386
|
-
createdAt: string;
|
|
2387
2617
|
updatedAt: string;
|
|
2388
2618
|
owner: string;
|
|
2619
|
+
id: string;
|
|
2620
|
+
createdAt: string;
|
|
2389
2621
|
members: {
|
|
2390
2622
|
type: "human" | "agent";
|
|
2391
|
-
id: string;
|
|
2392
|
-
createdAt: string;
|
|
2393
2623
|
chatId: string;
|
|
2394
2624
|
updatedAt: string;
|
|
2625
|
+
id: string;
|
|
2626
|
+
createdAt: string;
|
|
2395
2627
|
memberCode: string;
|
|
2396
2628
|
role: string;
|
|
2397
2629
|
}[];
|
|
2398
2630
|
}, {
|
|
2399
2631
|
type: "direct" | "group";
|
|
2400
|
-
id: string;
|
|
2401
|
-
createdAt: string;
|
|
2402
2632
|
updatedAt: string;
|
|
2403
2633
|
owner: string;
|
|
2634
|
+
id: string;
|
|
2635
|
+
createdAt: string;
|
|
2404
2636
|
members: {
|
|
2405
2637
|
type: "human" | "agent";
|
|
2406
|
-
id: string;
|
|
2407
|
-
createdAt: string;
|
|
2408
2638
|
chatId: string;
|
|
2409
2639
|
updatedAt: string;
|
|
2640
|
+
id: string;
|
|
2641
|
+
createdAt: string;
|
|
2410
2642
|
memberCode: string;
|
|
2411
2643
|
role: string;
|
|
2412
2644
|
}[];
|
|
@@ -2433,48 +2665,48 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2433
2665
|
updatedAt: z.ZodString;
|
|
2434
2666
|
}, "strip", z.ZodTypeAny, {
|
|
2435
2667
|
type: "human" | "agent";
|
|
2436
|
-
id: string;
|
|
2437
|
-
createdAt: string;
|
|
2438
2668
|
chatId: string;
|
|
2439
2669
|
updatedAt: string;
|
|
2670
|
+
id: string;
|
|
2671
|
+
createdAt: string;
|
|
2440
2672
|
memberCode: string;
|
|
2441
2673
|
role: string;
|
|
2442
2674
|
}, {
|
|
2443
2675
|
type: "human" | "agent";
|
|
2444
|
-
id: string;
|
|
2445
|
-
createdAt: string;
|
|
2446
2676
|
chatId: string;
|
|
2447
2677
|
updatedAt: string;
|
|
2678
|
+
id: string;
|
|
2679
|
+
createdAt: string;
|
|
2448
2680
|
memberCode: string;
|
|
2449
2681
|
role: string;
|
|
2450
2682
|
}>, "many">;
|
|
2451
2683
|
}, "strip", z.ZodTypeAny, {
|
|
2452
2684
|
type: "direct" | "group";
|
|
2453
|
-
id: string;
|
|
2454
|
-
createdAt: string;
|
|
2455
2685
|
updatedAt: string;
|
|
2456
2686
|
owner: string;
|
|
2687
|
+
id: string;
|
|
2688
|
+
createdAt: string;
|
|
2457
2689
|
members: {
|
|
2458
2690
|
type: "human" | "agent";
|
|
2459
|
-
id: string;
|
|
2460
|
-
createdAt: string;
|
|
2461
2691
|
chatId: string;
|
|
2462
2692
|
updatedAt: string;
|
|
2693
|
+
id: string;
|
|
2694
|
+
createdAt: string;
|
|
2463
2695
|
memberCode: string;
|
|
2464
2696
|
role: string;
|
|
2465
2697
|
}[];
|
|
2466
2698
|
}, {
|
|
2467
2699
|
type: "direct" | "group";
|
|
2468
|
-
id: string;
|
|
2469
|
-
createdAt: string;
|
|
2470
2700
|
updatedAt: string;
|
|
2471
2701
|
owner: string;
|
|
2702
|
+
id: string;
|
|
2703
|
+
createdAt: string;
|
|
2472
2704
|
members: {
|
|
2473
2705
|
type: "human" | "agent";
|
|
2474
|
-
id: string;
|
|
2475
|
-
createdAt: string;
|
|
2476
2706
|
chatId: string;
|
|
2477
2707
|
updatedAt: string;
|
|
2708
|
+
id: string;
|
|
2709
|
+
createdAt: string;
|
|
2478
2710
|
memberCode: string;
|
|
2479
2711
|
role: string;
|
|
2480
2712
|
}[];
|
|
@@ -2482,16 +2714,16 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2482
2714
|
}, "strip", z.ZodTypeAny, {
|
|
2483
2715
|
chats: {
|
|
2484
2716
|
type: "direct" | "group";
|
|
2485
|
-
id: string;
|
|
2486
|
-
createdAt: string;
|
|
2487
2717
|
updatedAt: string;
|
|
2488
2718
|
owner: string;
|
|
2719
|
+
id: string;
|
|
2720
|
+
createdAt: string;
|
|
2489
2721
|
members: {
|
|
2490
2722
|
type: "human" | "agent";
|
|
2491
|
-
id: string;
|
|
2492
|
-
createdAt: string;
|
|
2493
2723
|
chatId: string;
|
|
2494
2724
|
updatedAt: string;
|
|
2725
|
+
id: string;
|
|
2726
|
+
createdAt: string;
|
|
2495
2727
|
memberCode: string;
|
|
2496
2728
|
role: string;
|
|
2497
2729
|
}[];
|
|
@@ -2499,16 +2731,16 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2499
2731
|
}, {
|
|
2500
2732
|
chats: {
|
|
2501
2733
|
type: "direct" | "group";
|
|
2502
|
-
id: string;
|
|
2503
|
-
createdAt: string;
|
|
2504
2734
|
updatedAt: string;
|
|
2505
2735
|
owner: string;
|
|
2736
|
+
id: string;
|
|
2737
|
+
createdAt: string;
|
|
2506
2738
|
members: {
|
|
2507
2739
|
type: "human" | "agent";
|
|
2508
|
-
id: string;
|
|
2509
|
-
createdAt: string;
|
|
2510
2740
|
chatId: string;
|
|
2511
2741
|
updatedAt: string;
|
|
2742
|
+
id: string;
|
|
2743
|
+
createdAt: string;
|
|
2512
2744
|
memberCode: string;
|
|
2513
2745
|
role: string;
|
|
2514
2746
|
}[];
|
|
@@ -2535,48 +2767,48 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
2535
2767
|
updatedAt: z.ZodString;
|
|
2536
2768
|
}, "strip", z.ZodTypeAny, {
|
|
2537
2769
|
type: "human" | "agent";
|
|
2538
|
-
id: string;
|
|
2539
|
-
createdAt: string;
|
|
2540
2770
|
chatId: string;
|
|
2541
2771
|
updatedAt: string;
|
|
2772
|
+
id: string;
|
|
2773
|
+
createdAt: string;
|
|
2542
2774
|
memberCode: string;
|
|
2543
2775
|
role: string;
|
|
2544
2776
|
}, {
|
|
2545
2777
|
type: "human" | "agent";
|
|
2546
|
-
id: string;
|
|
2547
|
-
createdAt: string;
|
|
2548
2778
|
chatId: string;
|
|
2549
2779
|
updatedAt: string;
|
|
2780
|
+
id: string;
|
|
2781
|
+
createdAt: string;
|
|
2550
2782
|
memberCode: string;
|
|
2551
2783
|
role: string;
|
|
2552
2784
|
}>, "many">;
|
|
2553
2785
|
}, "strip", z.ZodTypeAny, {
|
|
2554
2786
|
type: "direct" | "group";
|
|
2555
|
-
id: string;
|
|
2556
|
-
createdAt: string;
|
|
2557
2787
|
updatedAt: string;
|
|
2558
2788
|
owner: string;
|
|
2789
|
+
id: string;
|
|
2790
|
+
createdAt: string;
|
|
2559
2791
|
members: {
|
|
2560
2792
|
type: "human" | "agent";
|
|
2561
|
-
id: string;
|
|
2562
|
-
createdAt: string;
|
|
2563
2793
|
chatId: string;
|
|
2564
2794
|
updatedAt: string;
|
|
2795
|
+
id: string;
|
|
2796
|
+
createdAt: string;
|
|
2565
2797
|
memberCode: string;
|
|
2566
2798
|
role: string;
|
|
2567
2799
|
}[];
|
|
2568
2800
|
}, {
|
|
2569
2801
|
type: "direct" | "group";
|
|
2570
|
-
id: string;
|
|
2571
|
-
createdAt: string;
|
|
2572
2802
|
updatedAt: string;
|
|
2573
2803
|
owner: string;
|
|
2804
|
+
id: string;
|
|
2805
|
+
createdAt: string;
|
|
2574
2806
|
members: {
|
|
2575
2807
|
type: "human" | "agent";
|
|
2576
|
-
id: string;
|
|
2577
|
-
createdAt: string;
|
|
2578
2808
|
chatId: string;
|
|
2579
2809
|
updatedAt: string;
|
|
2810
|
+
id: string;
|
|
2811
|
+
createdAt: string;
|
|
2580
2812
|
memberCode: string;
|
|
2581
2813
|
role: string;
|
|
2582
2814
|
}[];
|
|
@@ -2596,38 +2828,38 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
2596
2828
|
updatedAt: z.ZodString;
|
|
2597
2829
|
}, "strip", z.ZodTypeAny, {
|
|
2598
2830
|
type: "human" | "agent";
|
|
2599
|
-
id: string;
|
|
2600
|
-
createdAt: string;
|
|
2601
2831
|
chatId: string;
|
|
2602
2832
|
updatedAt: string;
|
|
2833
|
+
id: string;
|
|
2834
|
+
createdAt: string;
|
|
2603
2835
|
memberCode: string;
|
|
2604
2836
|
role: string;
|
|
2605
2837
|
}, {
|
|
2606
2838
|
type: "human" | "agent";
|
|
2607
|
-
id: string;
|
|
2608
|
-
createdAt: string;
|
|
2609
2839
|
chatId: string;
|
|
2610
2840
|
updatedAt: string;
|
|
2841
|
+
id: string;
|
|
2842
|
+
createdAt: string;
|
|
2611
2843
|
memberCode: string;
|
|
2612
2844
|
role: string;
|
|
2613
2845
|
}>, "many">;
|
|
2614
2846
|
}, "strip", z.ZodTypeAny, {
|
|
2615
2847
|
members: {
|
|
2616
2848
|
type: "human" | "agent";
|
|
2617
|
-
id: string;
|
|
2618
|
-
createdAt: string;
|
|
2619
2849
|
chatId: string;
|
|
2620
2850
|
updatedAt: string;
|
|
2851
|
+
id: string;
|
|
2852
|
+
createdAt: string;
|
|
2621
2853
|
memberCode: string;
|
|
2622
2854
|
role: string;
|
|
2623
2855
|
}[];
|
|
2624
2856
|
}, {
|
|
2625
2857
|
members: {
|
|
2626
2858
|
type: "human" | "agent";
|
|
2627
|
-
id: string;
|
|
2628
|
-
createdAt: string;
|
|
2629
2859
|
chatId: string;
|
|
2630
2860
|
updatedAt: string;
|
|
2861
|
+
id: string;
|
|
2862
|
+
createdAt: string;
|
|
2631
2863
|
memberCode: string;
|
|
2632
2864
|
role: string;
|
|
2633
2865
|
}[];
|
|
@@ -2674,38 +2906,38 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
2674
2906
|
updatedAt: z.ZodString;
|
|
2675
2907
|
}, "strip", z.ZodTypeAny, {
|
|
2676
2908
|
type: "human" | "agent";
|
|
2677
|
-
id: string;
|
|
2678
|
-
createdAt: string;
|
|
2679
2909
|
chatId: string;
|
|
2680
2910
|
updatedAt: string;
|
|
2911
|
+
id: string;
|
|
2912
|
+
createdAt: string;
|
|
2681
2913
|
memberCode: string;
|
|
2682
2914
|
role: string;
|
|
2683
2915
|
}, {
|
|
2684
2916
|
type: "human" | "agent";
|
|
2685
|
-
id: string;
|
|
2686
|
-
createdAt: string;
|
|
2687
2917
|
chatId: string;
|
|
2688
2918
|
updatedAt: string;
|
|
2919
|
+
id: string;
|
|
2920
|
+
createdAt: string;
|
|
2689
2921
|
memberCode: string;
|
|
2690
2922
|
role: string;
|
|
2691
2923
|
}>, "many">;
|
|
2692
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2693
2925
|
members: {
|
|
2694
2926
|
type: "human" | "agent";
|
|
2695
|
-
id: string;
|
|
2696
|
-
createdAt: string;
|
|
2697
2927
|
chatId: string;
|
|
2698
2928
|
updatedAt: string;
|
|
2929
|
+
id: string;
|
|
2930
|
+
createdAt: string;
|
|
2699
2931
|
memberCode: string;
|
|
2700
2932
|
role: string;
|
|
2701
2933
|
}[];
|
|
2702
2934
|
}, {
|
|
2703
2935
|
members: {
|
|
2704
2936
|
type: "human" | "agent";
|
|
2705
|
-
id: string;
|
|
2706
|
-
createdAt: string;
|
|
2707
2937
|
chatId: string;
|
|
2708
2938
|
updatedAt: string;
|
|
2939
|
+
id: string;
|
|
2940
|
+
createdAt: string;
|
|
2709
2941
|
memberCode: string;
|
|
2710
2942
|
role: string;
|
|
2711
2943
|
}[];
|
|
@@ -2757,6 +2989,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2757
2989
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
2758
2990
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
2759
2991
|
title: z.ZodNullable<z.ZodString>;
|
|
2992
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
2760
2993
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
2761
2994
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
2762
2995
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -2802,25 +3035,26 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2802
3035
|
createdAt: z.ZodString;
|
|
2803
3036
|
updatedAt: z.ZodString;
|
|
2804
3037
|
}, "strip", z.ZodTypeAny, {
|
|
2805
|
-
id: string;
|
|
2806
|
-
createdAt: string;
|
|
2807
|
-
state: string;
|
|
2808
3038
|
machineId: string | null;
|
|
2809
|
-
|
|
3039
|
+
cwd: string | null;
|
|
2810
3040
|
userId: string;
|
|
2811
3041
|
chatId: string;
|
|
2812
|
-
|
|
2813
|
-
repositoryId: string | null;
|
|
3042
|
+
agentId: string;
|
|
2814
3043
|
baseBranch: string | null;
|
|
2815
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2816
3044
|
dataEncryptionKey: string | null;
|
|
2817
|
-
|
|
3045
|
+
repositoryId: string | null;
|
|
3046
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3047
|
+
agentSessionId: string | null;
|
|
2818
3048
|
title: string | null;
|
|
3049
|
+
state: string;
|
|
2819
3050
|
updatedAt: string;
|
|
2820
|
-
|
|
2821
|
-
|
|
3051
|
+
id: string;
|
|
3052
|
+
createdAt: string;
|
|
2822
3053
|
pullRequestNumber: number | null;
|
|
2823
3054
|
pullRequestUrl: string | null;
|
|
3055
|
+
cloudId: string | null;
|
|
3056
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3057
|
+
customTitle: string | null;
|
|
2824
3058
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2825
3059
|
pullRequestStateChangedAt: string | null;
|
|
2826
3060
|
gitStats: {
|
|
@@ -2834,25 +3068,26 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2834
3068
|
} | null;
|
|
2835
3069
|
totalDuration: number | null;
|
|
2836
3070
|
}, {
|
|
2837
|
-
id: string;
|
|
2838
|
-
createdAt: string;
|
|
2839
|
-
state: string;
|
|
2840
3071
|
machineId: string | null;
|
|
2841
|
-
|
|
3072
|
+
cwd: string | null;
|
|
2842
3073
|
userId: string;
|
|
2843
3074
|
chatId: string;
|
|
2844
|
-
|
|
2845
|
-
repositoryId: string | null;
|
|
3075
|
+
agentId: string;
|
|
2846
3076
|
baseBranch: string | null;
|
|
2847
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2848
3077
|
dataEncryptionKey: string | null;
|
|
2849
|
-
|
|
3078
|
+
repositoryId: string | null;
|
|
3079
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3080
|
+
agentSessionId: string | null;
|
|
2850
3081
|
title: string | null;
|
|
3082
|
+
state: string;
|
|
2851
3083
|
updatedAt: string;
|
|
2852
|
-
|
|
2853
|
-
|
|
3084
|
+
id: string;
|
|
3085
|
+
createdAt: string;
|
|
2854
3086
|
pullRequestNumber: number | null;
|
|
2855
3087
|
pullRequestUrl: string | null;
|
|
3088
|
+
cloudId: string | null;
|
|
3089
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3090
|
+
customTitle: string | null;
|
|
2856
3091
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2857
3092
|
pullRequestStateChangedAt: string | null;
|
|
2858
3093
|
gitStats: {
|
|
@@ -2868,25 +3103,26 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2868
3103
|
}>, "many">;
|
|
2869
3104
|
}, "strip", z.ZodTypeAny, {
|
|
2870
3105
|
tasks: {
|
|
2871
|
-
id: string;
|
|
2872
|
-
createdAt: string;
|
|
2873
|
-
state: string;
|
|
2874
3106
|
machineId: string | null;
|
|
2875
|
-
|
|
3107
|
+
cwd: string | null;
|
|
2876
3108
|
userId: string;
|
|
2877
3109
|
chatId: string;
|
|
2878
|
-
|
|
2879
|
-
repositoryId: string | null;
|
|
3110
|
+
agentId: string;
|
|
2880
3111
|
baseBranch: string | null;
|
|
2881
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2882
3112
|
dataEncryptionKey: string | null;
|
|
2883
|
-
|
|
3113
|
+
repositoryId: string | null;
|
|
3114
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3115
|
+
agentSessionId: string | null;
|
|
2884
3116
|
title: string | null;
|
|
3117
|
+
state: string;
|
|
2885
3118
|
updatedAt: string;
|
|
2886
|
-
|
|
2887
|
-
|
|
3119
|
+
id: string;
|
|
3120
|
+
createdAt: string;
|
|
2888
3121
|
pullRequestNumber: number | null;
|
|
2889
3122
|
pullRequestUrl: string | null;
|
|
3123
|
+
cloudId: string | null;
|
|
3124
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3125
|
+
customTitle: string | null;
|
|
2890
3126
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2891
3127
|
pullRequestStateChangedAt: string | null;
|
|
2892
3128
|
gitStats: {
|
|
@@ -2902,25 +3138,26 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2902
3138
|
}[];
|
|
2903
3139
|
}, {
|
|
2904
3140
|
tasks: {
|
|
2905
|
-
id: string;
|
|
2906
|
-
createdAt: string;
|
|
2907
|
-
state: string;
|
|
2908
3141
|
machineId: string | null;
|
|
2909
|
-
|
|
3142
|
+
cwd: string | null;
|
|
2910
3143
|
userId: string;
|
|
2911
3144
|
chatId: string;
|
|
2912
|
-
|
|
2913
|
-
repositoryId: string | null;
|
|
3145
|
+
agentId: string;
|
|
2914
3146
|
baseBranch: string | null;
|
|
2915
|
-
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2916
3147
|
dataEncryptionKey: string | null;
|
|
2917
|
-
|
|
3148
|
+
repositoryId: string | null;
|
|
3149
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3150
|
+
agentSessionId: string | null;
|
|
2918
3151
|
title: string | null;
|
|
3152
|
+
state: string;
|
|
2919
3153
|
updatedAt: string;
|
|
2920
|
-
|
|
2921
|
-
|
|
3154
|
+
id: string;
|
|
3155
|
+
createdAt: string;
|
|
2922
3156
|
pullRequestNumber: number | null;
|
|
2923
3157
|
pullRequestUrl: string | null;
|
|
3158
|
+
cloudId: string | null;
|
|
3159
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3160
|
+
customTitle: string | null;
|
|
2924
3161
|
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2925
3162
|
pullRequestStateChangedAt: string | null;
|
|
2926
3163
|
gitStats: {
|
|
@@ -3283,12 +3520,12 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3283
3520
|
}>>;
|
|
3284
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3285
3522
|
type: "claude" | "codex";
|
|
3523
|
+
description: string | null;
|
|
3524
|
+
userId: string;
|
|
3525
|
+
name: string;
|
|
3286
3526
|
id: string;
|
|
3287
3527
|
avatar: string | null;
|
|
3288
3528
|
signature: string | null;
|
|
3289
|
-
userId: string;
|
|
3290
|
-
name: string;
|
|
3291
|
-
description: string | null;
|
|
3292
3529
|
guildMsg: string;
|
|
3293
3530
|
placeholderMsg: string;
|
|
3294
3531
|
developerName: string;
|
|
@@ -3319,12 +3556,12 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3319
3556
|
} | null;
|
|
3320
3557
|
}, {
|
|
3321
3558
|
type: "claude" | "codex";
|
|
3559
|
+
description: string | null;
|
|
3560
|
+
userId: string;
|
|
3561
|
+
name: string;
|
|
3322
3562
|
id: string;
|
|
3323
3563
|
avatar: string | null;
|
|
3324
3564
|
signature: string | null;
|
|
3325
|
-
userId: string;
|
|
3326
|
-
name: string;
|
|
3327
|
-
description: string | null;
|
|
3328
3565
|
guildMsg: string;
|
|
3329
3566
|
placeholderMsg: string;
|
|
3330
3567
|
developerName: string;
|
|
@@ -3473,12 +3710,12 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3473
3710
|
}>>;
|
|
3474
3711
|
}, "strip", z.ZodTypeAny, {
|
|
3475
3712
|
type: "claude" | "codex";
|
|
3713
|
+
description: string | null;
|
|
3714
|
+
userId: string;
|
|
3715
|
+
name: string;
|
|
3476
3716
|
id: string;
|
|
3477
3717
|
avatar: string | null;
|
|
3478
3718
|
signature: string | null;
|
|
3479
|
-
userId: string;
|
|
3480
|
-
name: string;
|
|
3481
|
-
description: string | null;
|
|
3482
3719
|
guildMsg: string;
|
|
3483
3720
|
placeholderMsg: string;
|
|
3484
3721
|
developerName: string;
|
|
@@ -3509,12 +3746,12 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3509
3746
|
} | null;
|
|
3510
3747
|
}, {
|
|
3511
3748
|
type: "claude" | "codex";
|
|
3749
|
+
description: string | null;
|
|
3750
|
+
userId: string;
|
|
3751
|
+
name: string;
|
|
3512
3752
|
id: string;
|
|
3513
3753
|
avatar: string | null;
|
|
3514
3754
|
signature: string | null;
|
|
3515
|
-
userId: string;
|
|
3516
|
-
name: string;
|
|
3517
|
-
description: string | null;
|
|
3518
3755
|
guildMsg: string;
|
|
3519
3756
|
placeholderMsg: string;
|
|
3520
3757
|
developerName: string;
|
|
@@ -3547,12 +3784,12 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3547
3784
|
}, "strip", z.ZodTypeAny, {
|
|
3548
3785
|
agents: {
|
|
3549
3786
|
type: "claude" | "codex";
|
|
3787
|
+
description: string | null;
|
|
3788
|
+
userId: string;
|
|
3789
|
+
name: string;
|
|
3550
3790
|
id: string;
|
|
3551
3791
|
avatar: string | null;
|
|
3552
3792
|
signature: string | null;
|
|
3553
|
-
userId: string;
|
|
3554
|
-
name: string;
|
|
3555
|
-
description: string | null;
|
|
3556
3793
|
guildMsg: string;
|
|
3557
3794
|
placeholderMsg: string;
|
|
3558
3795
|
developerName: string;
|
|
@@ -3585,12 +3822,12 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3585
3822
|
}, {
|
|
3586
3823
|
agents: {
|
|
3587
3824
|
type: "claude" | "codex";
|
|
3825
|
+
description: string | null;
|
|
3826
|
+
userId: string;
|
|
3827
|
+
name: string;
|
|
3588
3828
|
id: string;
|
|
3589
3829
|
avatar: string | null;
|
|
3590
3830
|
signature: string | null;
|
|
3591
|
-
userId: string;
|
|
3592
|
-
name: string;
|
|
3593
|
-
description: string | null;
|
|
3594
3831
|
guildMsg: string;
|
|
3595
3832
|
placeholderMsg: string;
|
|
3596
3833
|
developerName: string;
|
|
@@ -3739,12 +3976,12 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
3739
3976
|
}>>;
|
|
3740
3977
|
}, "strip", z.ZodTypeAny, {
|
|
3741
3978
|
type: "claude" | "codex";
|
|
3979
|
+
description: string | null;
|
|
3980
|
+
userId: string;
|
|
3981
|
+
name: string;
|
|
3742
3982
|
id: string;
|
|
3743
3983
|
avatar: string | null;
|
|
3744
3984
|
signature: string | null;
|
|
3745
|
-
userId: string;
|
|
3746
|
-
name: string;
|
|
3747
|
-
description: string | null;
|
|
3748
3985
|
guildMsg: string;
|
|
3749
3986
|
placeholderMsg: string;
|
|
3750
3987
|
developerName: string;
|
|
@@ -3775,12 +4012,12 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
3775
4012
|
} | null;
|
|
3776
4013
|
}, {
|
|
3777
4014
|
type: "claude" | "codex";
|
|
4015
|
+
description: string | null;
|
|
4016
|
+
userId: string;
|
|
4017
|
+
name: string;
|
|
3778
4018
|
id: string;
|
|
3779
4019
|
avatar: string | null;
|
|
3780
4020
|
signature: string | null;
|
|
3781
|
-
userId: string;
|
|
3782
|
-
name: string;
|
|
3783
|
-
description: string | null;
|
|
3784
4021
|
guildMsg: string;
|
|
3785
4022
|
placeholderMsg: string;
|
|
3786
4023
|
developerName: string;
|
|
@@ -3927,9 +4164,9 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
3927
4164
|
guildMsg: string;
|
|
3928
4165
|
placeholderMsg: string;
|
|
3929
4166
|
supportLocal: boolean;
|
|
4167
|
+
description?: string | undefined;
|
|
3930
4168
|
avatar?: string | undefined;
|
|
3931
4169
|
signature?: string | undefined;
|
|
3932
|
-
description?: string | undefined;
|
|
3933
4170
|
gitRepoId?: string | undefined;
|
|
3934
4171
|
config?: {
|
|
3935
4172
|
displayConfig?: Record<string, {
|
|
@@ -3955,9 +4192,9 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
3955
4192
|
}, {
|
|
3956
4193
|
type: "claude" | "codex";
|
|
3957
4194
|
name: string;
|
|
4195
|
+
description?: string | undefined;
|
|
3958
4196
|
avatar?: string | undefined;
|
|
3959
4197
|
signature?: string | undefined;
|
|
3960
|
-
description?: string | undefined;
|
|
3961
4198
|
guildMsg?: string | undefined;
|
|
3962
4199
|
placeholderMsg?: string | undefined;
|
|
3963
4200
|
gitRepoId?: string | undefined;
|
|
@@ -4102,12 +4339,12 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4102
4339
|
}>>;
|
|
4103
4340
|
}, "strip", z.ZodTypeAny, {
|
|
4104
4341
|
type: "claude" | "codex";
|
|
4342
|
+
description: string | null;
|
|
4343
|
+
userId: string;
|
|
4344
|
+
name: string;
|
|
4105
4345
|
id: string;
|
|
4106
4346
|
avatar: string | null;
|
|
4107
4347
|
signature: string | null;
|
|
4108
|
-
userId: string;
|
|
4109
|
-
name: string;
|
|
4110
|
-
description: string | null;
|
|
4111
4348
|
guildMsg: string;
|
|
4112
4349
|
placeholderMsg: string;
|
|
4113
4350
|
developerName: string;
|
|
@@ -4138,12 +4375,12 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4138
4375
|
} | null;
|
|
4139
4376
|
}, {
|
|
4140
4377
|
type: "claude" | "codex";
|
|
4378
|
+
description: string | null;
|
|
4379
|
+
userId: string;
|
|
4380
|
+
name: string;
|
|
4141
4381
|
id: string;
|
|
4142
4382
|
avatar: string | null;
|
|
4143
4383
|
signature: string | null;
|
|
4144
|
-
userId: string;
|
|
4145
|
-
name: string;
|
|
4146
|
-
description: string | null;
|
|
4147
4384
|
guildMsg: string;
|
|
4148
4385
|
placeholderMsg: string;
|
|
4149
4386
|
developerName: string;
|
|
@@ -4286,10 +4523,10 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4286
4523
|
}>>>;
|
|
4287
4524
|
}, "strip", z.ZodTypeAny, {
|
|
4288
4525
|
type?: "claude" | "codex" | undefined;
|
|
4526
|
+
description?: string | null | undefined;
|
|
4527
|
+
name?: string | undefined;
|
|
4289
4528
|
avatar?: string | null | undefined;
|
|
4290
4529
|
signature?: string | null | undefined;
|
|
4291
|
-
name?: string | undefined;
|
|
4292
|
-
description?: string | null | undefined;
|
|
4293
4530
|
guildMsg?: string | undefined;
|
|
4294
4531
|
placeholderMsg?: string | undefined;
|
|
4295
4532
|
gitRepoId?: string | null | undefined;
|
|
@@ -4317,10 +4554,10 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4317
4554
|
} | null | undefined;
|
|
4318
4555
|
}, {
|
|
4319
4556
|
type?: "claude" | "codex" | undefined;
|
|
4557
|
+
description?: string | null | undefined;
|
|
4558
|
+
name?: string | undefined;
|
|
4320
4559
|
avatar?: string | null | undefined;
|
|
4321
4560
|
signature?: string | null | undefined;
|
|
4322
|
-
name?: string | undefined;
|
|
4323
|
-
description?: string | null | undefined;
|
|
4324
4561
|
guildMsg?: string | undefined;
|
|
4325
4562
|
placeholderMsg?: string | undefined;
|
|
4326
4563
|
gitRepoId?: string | null | undefined;
|
|
@@ -4465,12 +4702,12 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4465
4702
|
}>>;
|
|
4466
4703
|
}, "strip", z.ZodTypeAny, {
|
|
4467
4704
|
type: "claude" | "codex";
|
|
4705
|
+
description: string | null;
|
|
4706
|
+
userId: string;
|
|
4707
|
+
name: string;
|
|
4468
4708
|
id: string;
|
|
4469
4709
|
avatar: string | null;
|
|
4470
4710
|
signature: string | null;
|
|
4471
|
-
userId: string;
|
|
4472
|
-
name: string;
|
|
4473
|
-
description: string | null;
|
|
4474
4711
|
guildMsg: string;
|
|
4475
4712
|
placeholderMsg: string;
|
|
4476
4713
|
developerName: string;
|
|
@@ -4501,12 +4738,12 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4501
4738
|
} | null;
|
|
4502
4739
|
}, {
|
|
4503
4740
|
type: "claude" | "codex";
|
|
4741
|
+
description: string | null;
|
|
4742
|
+
userId: string;
|
|
4743
|
+
name: string;
|
|
4504
4744
|
id: string;
|
|
4505
4745
|
avatar: string | null;
|
|
4506
4746
|
signature: string | null;
|
|
4507
|
-
userId: string;
|
|
4508
|
-
name: string;
|
|
4509
|
-
description: string | null;
|
|
4510
4747
|
guildMsg: string;
|
|
4511
4748
|
placeholderMsg: string;
|
|
4512
4749
|
developerName: string;
|
|
@@ -4572,24 +4809,24 @@ declare const LocalMachineSchema: z.ZodObject<{
|
|
|
4572
4809
|
updatedAt: z.ZodString;
|
|
4573
4810
|
}, "strip", z.ZodTypeAny, {
|
|
4574
4811
|
status: string;
|
|
4575
|
-
|
|
4576
|
-
createdAt: string;
|
|
4812
|
+
controlPort: number | null;
|
|
4577
4813
|
dataEncryptionKey: string;
|
|
4578
4814
|
updatedAt: string;
|
|
4579
|
-
owner: string;
|
|
4580
4815
|
metadata: string | null;
|
|
4816
|
+
owner: string;
|
|
4817
|
+
id: string;
|
|
4818
|
+
createdAt: string;
|
|
4581
4819
|
approval: string;
|
|
4582
|
-
controlPort: number | null;
|
|
4583
4820
|
}, {
|
|
4584
4821
|
status: string;
|
|
4585
|
-
|
|
4586
|
-
createdAt: string;
|
|
4822
|
+
controlPort: number | null;
|
|
4587
4823
|
dataEncryptionKey: string;
|
|
4588
4824
|
updatedAt: string;
|
|
4589
|
-
owner: string;
|
|
4590
4825
|
metadata: string | null;
|
|
4826
|
+
owner: string;
|
|
4827
|
+
id: string;
|
|
4828
|
+
createdAt: string;
|
|
4591
4829
|
approval: string;
|
|
4592
|
-
controlPort: number | null;
|
|
4593
4830
|
}>;
|
|
4594
4831
|
type LocalMachine = z.infer<typeof LocalMachineSchema>;
|
|
4595
4832
|
/**
|
|
@@ -4605,19 +4842,19 @@ declare const CloudMachineSchema: z.ZodObject<{
|
|
|
4605
4842
|
updatedAt: z.ZodString;
|
|
4606
4843
|
}, "strip", z.ZodTypeAny, {
|
|
4607
4844
|
status: string;
|
|
4845
|
+
updatedAt: string;
|
|
4846
|
+
metadata: string | null;
|
|
4608
4847
|
id: string;
|
|
4609
4848
|
createdAt: string;
|
|
4610
4849
|
cloudId: string;
|
|
4611
|
-
updatedAt: string;
|
|
4612
|
-
metadata: string | null;
|
|
4613
4850
|
deviceId: string;
|
|
4614
4851
|
}, {
|
|
4615
4852
|
status: string;
|
|
4853
|
+
updatedAt: string;
|
|
4854
|
+
metadata: string | null;
|
|
4616
4855
|
id: string;
|
|
4617
4856
|
createdAt: string;
|
|
4618
4857
|
cloudId: string;
|
|
4619
|
-
updatedAt: string;
|
|
4620
|
-
metadata: string | null;
|
|
4621
4858
|
deviceId: string;
|
|
4622
4859
|
}>;
|
|
4623
4860
|
type CloudMachine = z.infer<typeof CloudMachineSchema>;
|
|
@@ -4641,51 +4878,51 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
4641
4878
|
updatedAt: z.ZodString;
|
|
4642
4879
|
}, "strip", z.ZodTypeAny, {
|
|
4643
4880
|
status: string;
|
|
4881
|
+
updatedAt: string;
|
|
4882
|
+
metadata: string | null;
|
|
4644
4883
|
id: string;
|
|
4645
4884
|
createdAt: string;
|
|
4646
4885
|
cloudId: string;
|
|
4647
|
-
updatedAt: string;
|
|
4648
|
-
metadata: string | null;
|
|
4649
4886
|
deviceId: string;
|
|
4650
4887
|
}, {
|
|
4651
4888
|
status: string;
|
|
4889
|
+
updatedAt: string;
|
|
4890
|
+
metadata: string | null;
|
|
4652
4891
|
id: string;
|
|
4653
4892
|
createdAt: string;
|
|
4654
4893
|
cloudId: string;
|
|
4655
|
-
updatedAt: string;
|
|
4656
|
-
metadata: string | null;
|
|
4657
4894
|
deviceId: string;
|
|
4658
4895
|
}>, "many">>;
|
|
4659
4896
|
}, "strip", z.ZodTypeAny, {
|
|
4660
4897
|
type: "public" | "private";
|
|
4661
|
-
id: string;
|
|
4662
|
-
createdAt: string;
|
|
4663
4898
|
updatedAt: string;
|
|
4664
4899
|
name: string;
|
|
4665
4900
|
owner: string;
|
|
4901
|
+
id: string;
|
|
4902
|
+
createdAt: string;
|
|
4666
4903
|
machines?: {
|
|
4667
4904
|
status: string;
|
|
4905
|
+
updatedAt: string;
|
|
4906
|
+
metadata: string | null;
|
|
4668
4907
|
id: string;
|
|
4669
4908
|
createdAt: string;
|
|
4670
4909
|
cloudId: string;
|
|
4671
|
-
updatedAt: string;
|
|
4672
|
-
metadata: string | null;
|
|
4673
4910
|
deviceId: string;
|
|
4674
4911
|
}[] | undefined;
|
|
4675
4912
|
}, {
|
|
4676
4913
|
type: "public" | "private";
|
|
4677
|
-
id: string;
|
|
4678
|
-
createdAt: string;
|
|
4679
4914
|
updatedAt: string;
|
|
4680
4915
|
name: string;
|
|
4681
4916
|
owner: string;
|
|
4917
|
+
id: string;
|
|
4918
|
+
createdAt: string;
|
|
4682
4919
|
machines?: {
|
|
4683
4920
|
status: string;
|
|
4921
|
+
updatedAt: string;
|
|
4922
|
+
metadata: string | null;
|
|
4684
4923
|
id: string;
|
|
4685
4924
|
createdAt: string;
|
|
4686
4925
|
cloudId: string;
|
|
4687
|
-
updatedAt: string;
|
|
4688
|
-
metadata: string | null;
|
|
4689
4926
|
deviceId: string;
|
|
4690
4927
|
}[] | undefined;
|
|
4691
4928
|
}>;
|
|
@@ -4711,51 +4948,51 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4711
4948
|
updatedAt: z.ZodString;
|
|
4712
4949
|
}, "strip", z.ZodTypeAny, {
|
|
4713
4950
|
status: string;
|
|
4951
|
+
updatedAt: string;
|
|
4952
|
+
metadata: string | null;
|
|
4714
4953
|
id: string;
|
|
4715
4954
|
createdAt: string;
|
|
4716
4955
|
cloudId: string;
|
|
4717
|
-
updatedAt: string;
|
|
4718
|
-
metadata: string | null;
|
|
4719
4956
|
deviceId: string;
|
|
4720
4957
|
}, {
|
|
4721
4958
|
status: string;
|
|
4959
|
+
updatedAt: string;
|
|
4960
|
+
metadata: string | null;
|
|
4722
4961
|
id: string;
|
|
4723
4962
|
createdAt: string;
|
|
4724
4963
|
cloudId: string;
|
|
4725
|
-
updatedAt: string;
|
|
4726
|
-
metadata: string | null;
|
|
4727
4964
|
deviceId: string;
|
|
4728
4965
|
}>, "many">>;
|
|
4729
4966
|
}, "strip", z.ZodTypeAny, {
|
|
4730
4967
|
type: "public" | "private";
|
|
4731
|
-
id: string;
|
|
4732
|
-
createdAt: string;
|
|
4733
4968
|
updatedAt: string;
|
|
4734
4969
|
name: string;
|
|
4735
4970
|
owner: string;
|
|
4971
|
+
id: string;
|
|
4972
|
+
createdAt: string;
|
|
4736
4973
|
machines?: {
|
|
4737
4974
|
status: string;
|
|
4975
|
+
updatedAt: string;
|
|
4976
|
+
metadata: string | null;
|
|
4738
4977
|
id: string;
|
|
4739
4978
|
createdAt: string;
|
|
4740
4979
|
cloudId: string;
|
|
4741
|
-
updatedAt: string;
|
|
4742
|
-
metadata: string | null;
|
|
4743
4980
|
deviceId: string;
|
|
4744
4981
|
}[] | undefined;
|
|
4745
4982
|
}, {
|
|
4746
4983
|
type: "public" | "private";
|
|
4747
|
-
id: string;
|
|
4748
|
-
createdAt: string;
|
|
4749
4984
|
updatedAt: string;
|
|
4750
4985
|
name: string;
|
|
4751
4986
|
owner: string;
|
|
4987
|
+
id: string;
|
|
4988
|
+
createdAt: string;
|
|
4752
4989
|
machines?: {
|
|
4753
4990
|
status: string;
|
|
4991
|
+
updatedAt: string;
|
|
4992
|
+
metadata: string | null;
|
|
4754
4993
|
id: string;
|
|
4755
4994
|
createdAt: string;
|
|
4756
4995
|
cloudId: string;
|
|
4757
|
-
updatedAt: string;
|
|
4758
|
-
metadata: string | null;
|
|
4759
4996
|
deviceId: string;
|
|
4760
4997
|
}[] | undefined;
|
|
4761
4998
|
}>, "many">;
|
|
@@ -4771,82 +5008,82 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4771
5008
|
updatedAt: z.ZodString;
|
|
4772
5009
|
}, "strip", z.ZodTypeAny, {
|
|
4773
5010
|
status: string;
|
|
4774
|
-
|
|
4775
|
-
createdAt: string;
|
|
5011
|
+
controlPort: number | null;
|
|
4776
5012
|
dataEncryptionKey: string;
|
|
4777
5013
|
updatedAt: string;
|
|
4778
|
-
owner: string;
|
|
4779
5014
|
metadata: string | null;
|
|
5015
|
+
owner: string;
|
|
5016
|
+
id: string;
|
|
5017
|
+
createdAt: string;
|
|
4780
5018
|
approval: string;
|
|
4781
|
-
controlPort: number | null;
|
|
4782
5019
|
}, {
|
|
4783
5020
|
status: string;
|
|
4784
|
-
|
|
4785
|
-
createdAt: string;
|
|
5021
|
+
controlPort: number | null;
|
|
4786
5022
|
dataEncryptionKey: string;
|
|
4787
5023
|
updatedAt: string;
|
|
4788
|
-
owner: string;
|
|
4789
5024
|
metadata: string | null;
|
|
5025
|
+
owner: string;
|
|
5026
|
+
id: string;
|
|
5027
|
+
createdAt: string;
|
|
4790
5028
|
approval: string;
|
|
4791
|
-
controlPort: number | null;
|
|
4792
5029
|
}>, "many">;
|
|
4793
5030
|
}, "strip", z.ZodTypeAny, {
|
|
4794
5031
|
clouds: {
|
|
4795
5032
|
type: "public" | "private";
|
|
4796
|
-
id: string;
|
|
4797
|
-
createdAt: string;
|
|
4798
5033
|
updatedAt: string;
|
|
4799
5034
|
name: string;
|
|
4800
5035
|
owner: string;
|
|
5036
|
+
id: string;
|
|
5037
|
+
createdAt: string;
|
|
4801
5038
|
machines?: {
|
|
4802
5039
|
status: string;
|
|
5040
|
+
updatedAt: string;
|
|
5041
|
+
metadata: string | null;
|
|
4803
5042
|
id: string;
|
|
4804
5043
|
createdAt: string;
|
|
4805
5044
|
cloudId: string;
|
|
4806
|
-
updatedAt: string;
|
|
4807
|
-
metadata: string | null;
|
|
4808
5045
|
deviceId: string;
|
|
4809
5046
|
}[] | undefined;
|
|
4810
5047
|
}[];
|
|
4811
5048
|
localMachines: {
|
|
4812
5049
|
status: string;
|
|
4813
|
-
|
|
4814
|
-
createdAt: string;
|
|
5050
|
+
controlPort: number | null;
|
|
4815
5051
|
dataEncryptionKey: string;
|
|
4816
5052
|
updatedAt: string;
|
|
4817
|
-
owner: string;
|
|
4818
5053
|
metadata: string | null;
|
|
5054
|
+
owner: string;
|
|
5055
|
+
id: string;
|
|
5056
|
+
createdAt: string;
|
|
4819
5057
|
approval: string;
|
|
4820
|
-
controlPort: number | null;
|
|
4821
5058
|
}[];
|
|
4822
5059
|
}, {
|
|
4823
5060
|
clouds: {
|
|
4824
5061
|
type: "public" | "private";
|
|
4825
|
-
id: string;
|
|
4826
|
-
createdAt: string;
|
|
4827
5062
|
updatedAt: string;
|
|
4828
5063
|
name: string;
|
|
4829
5064
|
owner: string;
|
|
5065
|
+
id: string;
|
|
5066
|
+
createdAt: string;
|
|
4830
5067
|
machines?: {
|
|
4831
5068
|
status: string;
|
|
5069
|
+
updatedAt: string;
|
|
5070
|
+
metadata: string | null;
|
|
4832
5071
|
id: string;
|
|
4833
5072
|
createdAt: string;
|
|
4834
5073
|
cloudId: string;
|
|
4835
|
-
updatedAt: string;
|
|
4836
|
-
metadata: string | null;
|
|
4837
5074
|
deviceId: string;
|
|
4838
5075
|
}[] | undefined;
|
|
4839
5076
|
}[];
|
|
4840
5077
|
localMachines: {
|
|
4841
5078
|
status: string;
|
|
4842
|
-
|
|
4843
|
-
createdAt: string;
|
|
5079
|
+
controlPort: number | null;
|
|
4844
5080
|
dataEncryptionKey: string;
|
|
4845
5081
|
updatedAt: string;
|
|
4846
|
-
owner: string;
|
|
4847
5082
|
metadata: string | null;
|
|
5083
|
+
owner: string;
|
|
5084
|
+
id: string;
|
|
5085
|
+
createdAt: string;
|
|
4848
5086
|
approval: string;
|
|
4849
|
-
controlPort: number | null;
|
|
4850
5087
|
}[];
|
|
4851
5088
|
}>;
|
|
4852
5089
|
type ListMachinesResponse = z.infer<typeof ListMachinesResponseSchema>;
|
|
@@ -4858,12 +5095,12 @@ declare const SyncMachineRequestSchema: z.ZodObject<{
|
|
|
4858
5095
|
metadata: z.ZodString;
|
|
4859
5096
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
4860
5097
|
}, "strip", z.ZodTypeAny, {
|
|
4861
|
-
id: string;
|
|
4862
5098
|
metadata: string;
|
|
5099
|
+
id: string;
|
|
4863
5100
|
dataEncryptionKey?: string | undefined;
|
|
4864
5101
|
}, {
|
|
4865
|
-
id: string;
|
|
4866
5102
|
metadata: string;
|
|
5103
|
+
id: string;
|
|
4867
5104
|
dataEncryptionKey?: string | undefined;
|
|
4868
5105
|
}>;
|
|
4869
5106
|
type SyncMachineRequest = z.infer<typeof SyncMachineRequestSchema>;
|
|
@@ -4875,21 +5112,21 @@ declare const SyncLocalMachineResponseSchema: z.ZodObject<{
|
|
|
4875
5112
|
id: z.ZodString;
|
|
4876
5113
|
metadata: z.ZodNullable<z.ZodString>;
|
|
4877
5114
|
}, "strip", z.ZodTypeAny, {
|
|
4878
|
-
id: string;
|
|
4879
5115
|
metadata: string | null;
|
|
4880
|
-
}, {
|
|
4881
5116
|
id: string;
|
|
5117
|
+
}, {
|
|
4882
5118
|
metadata: string | null;
|
|
5119
|
+
id: string;
|
|
4883
5120
|
}>;
|
|
4884
5121
|
}, "strip", z.ZodTypeAny, {
|
|
4885
5122
|
machine: {
|
|
4886
|
-
id: string;
|
|
4887
5123
|
metadata: string | null;
|
|
5124
|
+
id: string;
|
|
4888
5125
|
};
|
|
4889
5126
|
}, {
|
|
4890
5127
|
machine: {
|
|
4891
|
-
id: string;
|
|
4892
5128
|
metadata: string | null;
|
|
5129
|
+
id: string;
|
|
4893
5130
|
};
|
|
4894
5131
|
}>;
|
|
4895
5132
|
type SyncLocalMachineResponse = z.infer<typeof SyncLocalMachineResponseSchema>;
|
|
@@ -4902,24 +5139,24 @@ declare const SyncCloudMachineResponseSchema: z.ZodObject<{
|
|
|
4902
5139
|
deviceId: z.ZodString;
|
|
4903
5140
|
metadata: z.ZodNullable<z.ZodString>;
|
|
4904
5141
|
}, "strip", z.ZodTypeAny, {
|
|
4905
|
-
id: string;
|
|
4906
5142
|
metadata: string | null;
|
|
5143
|
+
id: string;
|
|
4907
5144
|
deviceId: string;
|
|
4908
5145
|
}, {
|
|
4909
|
-
id: string;
|
|
4910
5146
|
metadata: string | null;
|
|
5147
|
+
id: string;
|
|
4911
5148
|
deviceId: string;
|
|
4912
5149
|
}>;
|
|
4913
5150
|
}, "strip", z.ZodTypeAny, {
|
|
4914
5151
|
machine: {
|
|
4915
|
-
id: string;
|
|
4916
5152
|
metadata: string | null;
|
|
5153
|
+
id: string;
|
|
4917
5154
|
deviceId: string;
|
|
4918
5155
|
};
|
|
4919
5156
|
}, {
|
|
4920
5157
|
machine: {
|
|
4921
|
-
id: string;
|
|
4922
5158
|
metadata: string | null;
|
|
5159
|
+
id: string;
|
|
4923
5160
|
deviceId: string;
|
|
4924
5161
|
};
|
|
4925
5162
|
}>;
|
|
@@ -5004,15 +5241,15 @@ declare const FileItemSchema: z.ZodObject<{
|
|
|
5004
5241
|
contentType: z.ZodString;
|
|
5005
5242
|
createdAt: z.ZodString;
|
|
5006
5243
|
}, "strip", z.ZodTypeAny, {
|
|
5007
|
-
createdAt: string;
|
|
5008
5244
|
name: string;
|
|
5009
5245
|
size: number;
|
|
5246
|
+
createdAt: string;
|
|
5010
5247
|
fileId: string;
|
|
5011
5248
|
contentType: string;
|
|
5012
5249
|
}, {
|
|
5013
|
-
createdAt: string;
|
|
5014
5250
|
name: string;
|
|
5015
5251
|
size: number;
|
|
5252
|
+
createdAt: string;
|
|
5016
5253
|
fileId: string;
|
|
5017
5254
|
contentType: string;
|
|
5018
5255
|
}>;
|
|
@@ -5051,31 +5288,31 @@ declare const ConfirmUploadResponseSchema: z.ZodObject<{
|
|
|
5051
5288
|
contentType: z.ZodString;
|
|
5052
5289
|
createdAt: z.ZodString;
|
|
5053
5290
|
}, "strip", z.ZodTypeAny, {
|
|
5054
|
-
createdAt: string;
|
|
5055
5291
|
name: string;
|
|
5056
5292
|
size: number;
|
|
5293
|
+
createdAt: string;
|
|
5057
5294
|
fileId: string;
|
|
5058
5295
|
contentType: string;
|
|
5059
5296
|
}, {
|
|
5060
|
-
createdAt: string;
|
|
5061
5297
|
name: string;
|
|
5062
5298
|
size: number;
|
|
5299
|
+
createdAt: string;
|
|
5063
5300
|
fileId: string;
|
|
5064
5301
|
contentType: string;
|
|
5065
5302
|
}>;
|
|
5066
5303
|
}, "strip", z.ZodTypeAny, {
|
|
5067
5304
|
file: {
|
|
5068
|
-
createdAt: string;
|
|
5069
5305
|
name: string;
|
|
5070
5306
|
size: number;
|
|
5307
|
+
createdAt: string;
|
|
5071
5308
|
fileId: string;
|
|
5072
5309
|
contentType: string;
|
|
5073
5310
|
};
|
|
5074
5311
|
}, {
|
|
5075
5312
|
file: {
|
|
5076
|
-
createdAt: string;
|
|
5077
5313
|
name: string;
|
|
5078
5314
|
size: number;
|
|
5315
|
+
createdAt: string;
|
|
5079
5316
|
fileId: string;
|
|
5080
5317
|
contentType: string;
|
|
5081
5318
|
};
|
|
@@ -5112,15 +5349,15 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
5112
5349
|
contentType: z.ZodString;
|
|
5113
5350
|
createdAt: z.ZodString;
|
|
5114
5351
|
}, "strip", z.ZodTypeAny, {
|
|
5115
|
-
createdAt: string;
|
|
5116
5352
|
name: string;
|
|
5117
5353
|
size: number;
|
|
5354
|
+
createdAt: string;
|
|
5118
5355
|
fileId: string;
|
|
5119
5356
|
contentType: string;
|
|
5120
5357
|
}, {
|
|
5121
|
-
createdAt: string;
|
|
5122
5358
|
name: string;
|
|
5123
5359
|
size: number;
|
|
5360
|
+
createdAt: string;
|
|
5124
5361
|
fileId: string;
|
|
5125
5362
|
contentType: string;
|
|
5126
5363
|
}>, "many">;
|
|
@@ -5129,9 +5366,9 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
5129
5366
|
page: number;
|
|
5130
5367
|
limit: number;
|
|
5131
5368
|
files: {
|
|
5132
|
-
createdAt: string;
|
|
5133
5369
|
name: string;
|
|
5134
5370
|
size: number;
|
|
5371
|
+
createdAt: string;
|
|
5135
5372
|
fileId: string;
|
|
5136
5373
|
contentType: string;
|
|
5137
5374
|
}[];
|
|
@@ -5140,9 +5377,9 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
5140
5377
|
page: number;
|
|
5141
5378
|
limit: number;
|
|
5142
5379
|
files: {
|
|
5143
|
-
createdAt: string;
|
|
5144
5380
|
name: string;
|
|
5145
5381
|
size: number;
|
|
5382
|
+
createdAt: string;
|
|
5146
5383
|
fileId: string;
|
|
5147
5384
|
contentType: string;
|
|
5148
5385
|
}[];
|
|
@@ -5170,28 +5407,28 @@ declare const RepositorySchema: z.ZodObject<{
|
|
|
5170
5407
|
updatedAt: z.ZodString;
|
|
5171
5408
|
gitServerId: z.ZodString;
|
|
5172
5409
|
}, "strip", z.ZodTypeAny, {
|
|
5173
|
-
|
|
5174
|
-
createdAt: string;
|
|
5410
|
+
description: string | null;
|
|
5175
5411
|
updatedAt: string;
|
|
5176
5412
|
name: string;
|
|
5177
|
-
description: string | null;
|
|
5178
5413
|
owner: string;
|
|
5179
|
-
|
|
5414
|
+
id: string;
|
|
5415
|
+
createdAt: string;
|
|
5180
5416
|
fullName: string;
|
|
5181
5417
|
defaultBranch: string;
|
|
5182
5418
|
isPrivate: boolean;
|
|
5419
|
+
url: string;
|
|
5183
5420
|
gitServerId: string;
|
|
5184
5421
|
}, {
|
|
5185
|
-
|
|
5186
|
-
createdAt: string;
|
|
5422
|
+
description: string | null;
|
|
5187
5423
|
updatedAt: string;
|
|
5188
5424
|
name: string;
|
|
5189
|
-
description: string | null;
|
|
5190
5425
|
owner: string;
|
|
5191
|
-
|
|
5426
|
+
id: string;
|
|
5427
|
+
createdAt: string;
|
|
5192
5428
|
fullName: string;
|
|
5193
5429
|
defaultBranch: string;
|
|
5194
5430
|
isPrivate: boolean;
|
|
5431
|
+
url: string;
|
|
5195
5432
|
gitServerId: string;
|
|
5196
5433
|
}>;
|
|
5197
5434
|
type Repository = z.infer<typeof RepositorySchema>;
|
|
@@ -5212,56 +5449,56 @@ declare const ListRepositoriesResponseSchema: z.ZodObject<{
|
|
|
5212
5449
|
updatedAt: z.ZodString;
|
|
5213
5450
|
gitServerId: z.ZodString;
|
|
5214
5451
|
}, "strip", z.ZodTypeAny, {
|
|
5215
|
-
|
|
5216
|
-
createdAt: string;
|
|
5452
|
+
description: string | null;
|
|
5217
5453
|
updatedAt: string;
|
|
5218
5454
|
name: string;
|
|
5219
|
-
description: string | null;
|
|
5220
5455
|
owner: string;
|
|
5221
|
-
|
|
5456
|
+
id: string;
|
|
5457
|
+
createdAt: string;
|
|
5222
5458
|
fullName: string;
|
|
5223
5459
|
defaultBranch: string;
|
|
5224
5460
|
isPrivate: boolean;
|
|
5461
|
+
url: string;
|
|
5225
5462
|
gitServerId: string;
|
|
5226
5463
|
}, {
|
|
5227
|
-
|
|
5228
|
-
createdAt: string;
|
|
5464
|
+
description: string | null;
|
|
5229
5465
|
updatedAt: string;
|
|
5230
5466
|
name: string;
|
|
5231
|
-
description: string | null;
|
|
5232
5467
|
owner: string;
|
|
5233
|
-
|
|
5468
|
+
id: string;
|
|
5469
|
+
createdAt: string;
|
|
5234
5470
|
fullName: string;
|
|
5235
5471
|
defaultBranch: string;
|
|
5236
5472
|
isPrivate: boolean;
|
|
5473
|
+
url: string;
|
|
5237
5474
|
gitServerId: string;
|
|
5238
5475
|
}>, "many">;
|
|
5239
5476
|
}, "strip", z.ZodTypeAny, {
|
|
5240
5477
|
repositories: {
|
|
5241
|
-
|
|
5242
|
-
createdAt: string;
|
|
5478
|
+
description: string | null;
|
|
5243
5479
|
updatedAt: string;
|
|
5244
5480
|
name: string;
|
|
5245
|
-
description: string | null;
|
|
5246
5481
|
owner: string;
|
|
5247
|
-
|
|
5482
|
+
id: string;
|
|
5483
|
+
createdAt: string;
|
|
5248
5484
|
fullName: string;
|
|
5249
5485
|
defaultBranch: string;
|
|
5250
5486
|
isPrivate: boolean;
|
|
5487
|
+
url: string;
|
|
5251
5488
|
gitServerId: string;
|
|
5252
5489
|
}[];
|
|
5253
5490
|
}, {
|
|
5254
5491
|
repositories: {
|
|
5255
|
-
|
|
5256
|
-
createdAt: string;
|
|
5492
|
+
description: string | null;
|
|
5257
5493
|
updatedAt: string;
|
|
5258
5494
|
name: string;
|
|
5259
|
-
description: string | null;
|
|
5260
5495
|
owner: string;
|
|
5261
|
-
|
|
5496
|
+
id: string;
|
|
5497
|
+
createdAt: string;
|
|
5262
5498
|
fullName: string;
|
|
5263
5499
|
defaultBranch: string;
|
|
5264
5500
|
isPrivate: boolean;
|
|
5501
|
+
url: string;
|
|
5265
5502
|
gitServerId: string;
|
|
5266
5503
|
}[];
|
|
5267
5504
|
}>;
|
|
@@ -5283,56 +5520,56 @@ declare const GetRepositoryResponseSchema: z.ZodObject<{
|
|
|
5283
5520
|
updatedAt: z.ZodString;
|
|
5284
5521
|
gitServerId: z.ZodString;
|
|
5285
5522
|
}, "strip", z.ZodTypeAny, {
|
|
5286
|
-
|
|
5287
|
-
createdAt: string;
|
|
5523
|
+
description: string | null;
|
|
5288
5524
|
updatedAt: string;
|
|
5289
5525
|
name: string;
|
|
5290
|
-
description: string | null;
|
|
5291
5526
|
owner: string;
|
|
5292
|
-
|
|
5527
|
+
id: string;
|
|
5528
|
+
createdAt: string;
|
|
5293
5529
|
fullName: string;
|
|
5294
5530
|
defaultBranch: string;
|
|
5295
5531
|
isPrivate: boolean;
|
|
5532
|
+
url: string;
|
|
5296
5533
|
gitServerId: string;
|
|
5297
5534
|
}, {
|
|
5298
|
-
|
|
5299
|
-
createdAt: string;
|
|
5535
|
+
description: string | null;
|
|
5300
5536
|
updatedAt: string;
|
|
5301
5537
|
name: string;
|
|
5302
|
-
description: string | null;
|
|
5303
5538
|
owner: string;
|
|
5304
|
-
|
|
5539
|
+
id: string;
|
|
5540
|
+
createdAt: string;
|
|
5305
5541
|
fullName: string;
|
|
5306
5542
|
defaultBranch: string;
|
|
5307
5543
|
isPrivate: boolean;
|
|
5544
|
+
url: string;
|
|
5308
5545
|
gitServerId: string;
|
|
5309
5546
|
}>;
|
|
5310
5547
|
}, "strip", z.ZodTypeAny, {
|
|
5311
5548
|
repository: {
|
|
5312
|
-
|
|
5313
|
-
createdAt: string;
|
|
5549
|
+
description: string | null;
|
|
5314
5550
|
updatedAt: string;
|
|
5315
5551
|
name: string;
|
|
5316
|
-
description: string | null;
|
|
5317
5552
|
owner: string;
|
|
5318
|
-
|
|
5553
|
+
id: string;
|
|
5554
|
+
createdAt: string;
|
|
5319
5555
|
fullName: string;
|
|
5320
5556
|
defaultBranch: string;
|
|
5321
5557
|
isPrivate: boolean;
|
|
5558
|
+
url: string;
|
|
5322
5559
|
gitServerId: string;
|
|
5323
5560
|
};
|
|
5324
5561
|
}, {
|
|
5325
5562
|
repository: {
|
|
5326
|
-
|
|
5327
|
-
createdAt: string;
|
|
5563
|
+
description: string | null;
|
|
5328
5564
|
updatedAt: string;
|
|
5329
5565
|
name: string;
|
|
5330
|
-
description: string | null;
|
|
5331
5566
|
owner: string;
|
|
5332
|
-
|
|
5567
|
+
id: string;
|
|
5568
|
+
createdAt: string;
|
|
5333
5569
|
fullName: string;
|
|
5334
5570
|
defaultBranch: string;
|
|
5335
5571
|
isPrivate: boolean;
|
|
5572
|
+
url: string;
|
|
5336
5573
|
gitServerId: string;
|
|
5337
5574
|
};
|
|
5338
5575
|
}>;
|
|
@@ -5368,21 +5605,21 @@ declare const GetGitUrlResponseSchema: z.ZodObject<{
|
|
|
5368
5605
|
fullName: string;
|
|
5369
5606
|
}>;
|
|
5370
5607
|
}, "strip", z.ZodTypeAny, {
|
|
5608
|
+
gitUrl: string;
|
|
5371
5609
|
repository: {
|
|
5372
5610
|
name: string;
|
|
5373
5611
|
owner: string;
|
|
5374
5612
|
fullName: string;
|
|
5375
5613
|
};
|
|
5376
5614
|
branch: string;
|
|
5377
|
-
gitUrl: string;
|
|
5378
5615
|
}, {
|
|
5616
|
+
gitUrl: string;
|
|
5379
5617
|
repository: {
|
|
5380
5618
|
name: string;
|
|
5381
5619
|
owner: string;
|
|
5382
5620
|
fullName: string;
|
|
5383
5621
|
};
|
|
5384
5622
|
branch: string;
|
|
5385
|
-
gitUrl: string;
|
|
5386
5623
|
}>;
|
|
5387
5624
|
type GetGitUrlResponse = z.infer<typeof GetGitUrlResponseSchema>;
|
|
5388
5625
|
/**
|
|
@@ -5605,16 +5842,16 @@ declare const CreateCloudResponseSchema: z.ZodObject<{
|
|
|
5605
5842
|
secret: z.ZodString;
|
|
5606
5843
|
createdAt: z.ZodString;
|
|
5607
5844
|
}, "strip", z.ZodTypeAny, {
|
|
5608
|
-
id: string;
|
|
5609
|
-
createdAt: string;
|
|
5610
5845
|
name: string;
|
|
5611
5846
|
owner: string;
|
|
5612
|
-
secret: string;
|
|
5613
|
-
}, {
|
|
5614
5847
|
id: string;
|
|
5615
5848
|
createdAt: string;
|
|
5849
|
+
secret: string;
|
|
5850
|
+
}, {
|
|
5616
5851
|
name: string;
|
|
5617
5852
|
owner: string;
|
|
5853
|
+
id: string;
|
|
5854
|
+
createdAt: string;
|
|
5618
5855
|
secret: string;
|
|
5619
5856
|
}>;
|
|
5620
5857
|
type CreateCloudResponse = z.infer<typeof CreateCloudResponseSchema>;
|
|
@@ -5644,10 +5881,10 @@ declare const OAuthServerSchema: z.ZodObject<{
|
|
|
5644
5881
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5645
5882
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5646
5883
|
}, "strip", z.ZodTypeAny, {
|
|
5884
|
+
updatedAt: string;
|
|
5647
5885
|
id: string;
|
|
5648
|
-
provider: string;
|
|
5649
5886
|
createdAt: string;
|
|
5650
|
-
|
|
5887
|
+
provider: string;
|
|
5651
5888
|
displayName: string;
|
|
5652
5889
|
authorizeUrl: string;
|
|
5653
5890
|
tokenUrl: string;
|
|
@@ -5660,10 +5897,10 @@ declare const OAuthServerSchema: z.ZodObject<{
|
|
|
5660
5897
|
enabled: boolean;
|
|
5661
5898
|
avatar?: string | undefined;
|
|
5662
5899
|
}, {
|
|
5900
|
+
updatedAt: string | Date;
|
|
5663
5901
|
id: string;
|
|
5664
|
-
provider: string;
|
|
5665
5902
|
createdAt: string | Date;
|
|
5666
|
-
|
|
5903
|
+
provider: string;
|
|
5667
5904
|
displayName: string;
|
|
5668
5905
|
authorizeUrl: string;
|
|
5669
5906
|
tokenUrl: string;
|
|
@@ -5690,18 +5927,18 @@ declare const OAuthServerPublicSchema: z.ZodObject<{
|
|
|
5690
5927
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5691
5928
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5692
5929
|
}, "strip", z.ZodTypeAny, {
|
|
5930
|
+
updatedAt: string;
|
|
5693
5931
|
id: string;
|
|
5694
|
-
provider: string;
|
|
5695
5932
|
createdAt: string;
|
|
5696
|
-
|
|
5933
|
+
provider: string;
|
|
5697
5934
|
displayName: string;
|
|
5698
5935
|
enabled: boolean;
|
|
5699
5936
|
avatar?: string | undefined;
|
|
5700
5937
|
}, {
|
|
5938
|
+
updatedAt: string | Date;
|
|
5701
5939
|
id: string;
|
|
5702
|
-
provider: string;
|
|
5703
5940
|
createdAt: string | Date;
|
|
5704
|
-
|
|
5941
|
+
provider: string;
|
|
5705
5942
|
displayName: string;
|
|
5706
5943
|
enabled: boolean;
|
|
5707
5944
|
avatar?: string | undefined;
|
|
@@ -5765,10 +6002,10 @@ declare const CreateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5765
6002
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5766
6003
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5767
6004
|
}, "strip", z.ZodTypeAny, {
|
|
6005
|
+
updatedAt: string;
|
|
5768
6006
|
id: string;
|
|
5769
|
-
provider: string;
|
|
5770
6007
|
createdAt: string;
|
|
5771
|
-
|
|
6008
|
+
provider: string;
|
|
5772
6009
|
displayName: string;
|
|
5773
6010
|
authorizeUrl: string;
|
|
5774
6011
|
tokenUrl: string;
|
|
@@ -5781,10 +6018,10 @@ declare const CreateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5781
6018
|
enabled: boolean;
|
|
5782
6019
|
avatar?: string | undefined;
|
|
5783
6020
|
}, {
|
|
6021
|
+
updatedAt: string | Date;
|
|
5784
6022
|
id: string;
|
|
5785
|
-
provider: string;
|
|
5786
6023
|
createdAt: string | Date;
|
|
5787
|
-
|
|
6024
|
+
provider: string;
|
|
5788
6025
|
displayName: string;
|
|
5789
6026
|
authorizeUrl: string;
|
|
5790
6027
|
tokenUrl: string;
|
|
@@ -5826,10 +6063,10 @@ declare const ListOAuthServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
5826
6063
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5827
6064
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5828
6065
|
}, "strip", z.ZodTypeAny, {
|
|
6066
|
+
updatedAt: string;
|
|
5829
6067
|
id: string;
|
|
5830
|
-
provider: string;
|
|
5831
6068
|
createdAt: string;
|
|
5832
|
-
|
|
6069
|
+
provider: string;
|
|
5833
6070
|
displayName: string;
|
|
5834
6071
|
authorizeUrl: string;
|
|
5835
6072
|
tokenUrl: string;
|
|
@@ -5842,10 +6079,10 @@ declare const ListOAuthServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
5842
6079
|
enabled: boolean;
|
|
5843
6080
|
avatar?: string | undefined;
|
|
5844
6081
|
}, {
|
|
6082
|
+
updatedAt: string | Date;
|
|
5845
6083
|
id: string;
|
|
5846
|
-
provider: string;
|
|
5847
6084
|
createdAt: string | Date;
|
|
5848
|
-
|
|
6085
|
+
provider: string;
|
|
5849
6086
|
displayName: string;
|
|
5850
6087
|
authorizeUrl: string;
|
|
5851
6088
|
tokenUrl: string;
|
|
@@ -5879,10 +6116,10 @@ declare const GetOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5879
6116
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5880
6117
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5881
6118
|
}, "strip", z.ZodTypeAny, {
|
|
6119
|
+
updatedAt: string;
|
|
5882
6120
|
id: string;
|
|
5883
|
-
provider: string;
|
|
5884
6121
|
createdAt: string;
|
|
5885
|
-
|
|
6122
|
+
provider: string;
|
|
5886
6123
|
displayName: string;
|
|
5887
6124
|
authorizeUrl: string;
|
|
5888
6125
|
tokenUrl: string;
|
|
@@ -5895,10 +6132,10 @@ declare const GetOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5895
6132
|
enabled: boolean;
|
|
5896
6133
|
avatar?: string | undefined;
|
|
5897
6134
|
}, {
|
|
6135
|
+
updatedAt: string | Date;
|
|
5898
6136
|
id: string;
|
|
5899
|
-
provider: string;
|
|
5900
6137
|
createdAt: string | Date;
|
|
5901
|
-
|
|
6138
|
+
provider: string;
|
|
5902
6139
|
displayName: string;
|
|
5903
6140
|
authorizeUrl: string;
|
|
5904
6141
|
tokenUrl: string;
|
|
@@ -5970,10 +6207,10 @@ declare const UpdateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5970
6207
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5971
6208
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
5972
6209
|
}, "strip", z.ZodTypeAny, {
|
|
6210
|
+
updatedAt: string;
|
|
5973
6211
|
id: string;
|
|
5974
|
-
provider: string;
|
|
5975
6212
|
createdAt: string;
|
|
5976
|
-
|
|
6213
|
+
provider: string;
|
|
5977
6214
|
displayName: string;
|
|
5978
6215
|
authorizeUrl: string;
|
|
5979
6216
|
tokenUrl: string;
|
|
@@ -5986,10 +6223,10 @@ declare const UpdateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
5986
6223
|
enabled: boolean;
|
|
5987
6224
|
avatar?: string | undefined;
|
|
5988
6225
|
}, {
|
|
6226
|
+
updatedAt: string | Date;
|
|
5989
6227
|
id: string;
|
|
5990
|
-
provider: string;
|
|
5991
6228
|
createdAt: string | Date;
|
|
5992
|
-
|
|
6229
|
+
provider: string;
|
|
5993
6230
|
displayName: string;
|
|
5994
6231
|
authorizeUrl: string;
|
|
5995
6232
|
tokenUrl: string;
|
|
@@ -6042,10 +6279,10 @@ declare const ToggleOAuthServerResponseSchema: z.ZodObject<{
|
|
|
6042
6279
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6043
6280
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6044
6281
|
}, "strip", z.ZodTypeAny, {
|
|
6282
|
+
updatedAt: string;
|
|
6045
6283
|
id: string;
|
|
6046
|
-
provider: string;
|
|
6047
6284
|
createdAt: string;
|
|
6048
|
-
|
|
6285
|
+
provider: string;
|
|
6049
6286
|
displayName: string;
|
|
6050
6287
|
authorizeUrl: string;
|
|
6051
6288
|
tokenUrl: string;
|
|
@@ -6058,10 +6295,10 @@ declare const ToggleOAuthServerResponseSchema: z.ZodObject<{
|
|
|
6058
6295
|
enabled: boolean;
|
|
6059
6296
|
avatar?: string | undefined;
|
|
6060
6297
|
}, {
|
|
6298
|
+
updatedAt: string | Date;
|
|
6061
6299
|
id: string;
|
|
6062
|
-
provider: string;
|
|
6063
6300
|
createdAt: string | Date;
|
|
6064
|
-
|
|
6301
|
+
provider: string;
|
|
6065
6302
|
displayName: string;
|
|
6066
6303
|
authorizeUrl: string;
|
|
6067
6304
|
tokenUrl: string;
|
|
@@ -6087,18 +6324,18 @@ declare const ListOAuthServersPublicResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
6087
6324
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6088
6325
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6089
6326
|
}, "strip", z.ZodTypeAny, {
|
|
6327
|
+
updatedAt: string;
|
|
6090
6328
|
id: string;
|
|
6091
|
-
provider: string;
|
|
6092
6329
|
createdAt: string;
|
|
6093
|
-
|
|
6330
|
+
provider: string;
|
|
6094
6331
|
displayName: string;
|
|
6095
6332
|
enabled: boolean;
|
|
6096
6333
|
avatar?: string | undefined;
|
|
6097
6334
|
}, {
|
|
6335
|
+
updatedAt: string | Date;
|
|
6098
6336
|
id: string;
|
|
6099
|
-
provider: string;
|
|
6100
6337
|
createdAt: string | Date;
|
|
6101
|
-
|
|
6338
|
+
provider: string;
|
|
6102
6339
|
displayName: string;
|
|
6103
6340
|
enabled: boolean;
|
|
6104
6341
|
avatar?: string | undefined;
|
|
@@ -6164,21 +6401,21 @@ declare const CreditsPackageSchema: z.ZodObject<{
|
|
|
6164
6401
|
createdAt: z.ZodString;
|
|
6165
6402
|
updatedAt: z.ZodString;
|
|
6166
6403
|
}, "strip", z.ZodTypeAny, {
|
|
6167
|
-
id: string;
|
|
6168
|
-
createdAt: string;
|
|
6169
6404
|
userId: string;
|
|
6170
6405
|
updatedAt: string;
|
|
6171
6406
|
name: string;
|
|
6407
|
+
id: string;
|
|
6408
|
+
createdAt: string;
|
|
6172
6409
|
credit: number;
|
|
6173
6410
|
usage: number;
|
|
6174
6411
|
remaining: number;
|
|
6175
6412
|
expiredAt: string;
|
|
6176
6413
|
}, {
|
|
6177
|
-
id: string;
|
|
6178
|
-
createdAt: string;
|
|
6179
6414
|
userId: string;
|
|
6180
6415
|
updatedAt: string;
|
|
6181
6416
|
name: string;
|
|
6417
|
+
id: string;
|
|
6418
|
+
createdAt: string;
|
|
6182
6419
|
credit: number;
|
|
6183
6420
|
usage: number;
|
|
6184
6421
|
remaining: number;
|
|
@@ -6217,21 +6454,21 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
6217
6454
|
createdAt: z.ZodString;
|
|
6218
6455
|
updatedAt: z.ZodString;
|
|
6219
6456
|
}, "strip", z.ZodTypeAny, {
|
|
6220
|
-
id: string;
|
|
6221
|
-
createdAt: string;
|
|
6222
6457
|
userId: string;
|
|
6223
6458
|
updatedAt: string;
|
|
6224
6459
|
name: string;
|
|
6460
|
+
id: string;
|
|
6461
|
+
createdAt: string;
|
|
6225
6462
|
credit: number;
|
|
6226
6463
|
usage: number;
|
|
6227
6464
|
remaining: number;
|
|
6228
6465
|
expiredAt: string;
|
|
6229
6466
|
}, {
|
|
6230
|
-
id: string;
|
|
6231
|
-
createdAt: string;
|
|
6232
6467
|
userId: string;
|
|
6233
6468
|
updatedAt: string;
|
|
6234
6469
|
name: string;
|
|
6470
|
+
id: string;
|
|
6471
|
+
createdAt: string;
|
|
6235
6472
|
credit: number;
|
|
6236
6473
|
usage: number;
|
|
6237
6474
|
remaining: number;
|
|
@@ -6241,11 +6478,11 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
6241
6478
|
}, "strip", z.ZodTypeAny, {
|
|
6242
6479
|
total: number;
|
|
6243
6480
|
packages: {
|
|
6244
|
-
id: string;
|
|
6245
|
-
createdAt: string;
|
|
6246
6481
|
userId: string;
|
|
6247
6482
|
updatedAt: string;
|
|
6248
6483
|
name: string;
|
|
6484
|
+
id: string;
|
|
6485
|
+
createdAt: string;
|
|
6249
6486
|
credit: number;
|
|
6250
6487
|
usage: number;
|
|
6251
6488
|
remaining: number;
|
|
@@ -6254,11 +6491,11 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
6254
6491
|
}, {
|
|
6255
6492
|
total: number;
|
|
6256
6493
|
packages: {
|
|
6257
|
-
id: string;
|
|
6258
|
-
createdAt: string;
|
|
6259
6494
|
userId: string;
|
|
6260
6495
|
updatedAt: string;
|
|
6261
6496
|
name: string;
|
|
6497
|
+
id: string;
|
|
6498
|
+
createdAt: string;
|
|
6262
6499
|
credit: number;
|
|
6263
6500
|
usage: number;
|
|
6264
6501
|
remaining: number;
|
|
@@ -6285,9 +6522,9 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
6285
6522
|
transactionType: z.ZodLiteral<"charge">;
|
|
6286
6523
|
}, "strip", z.ZodTypeAny, {
|
|
6287
6524
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6525
|
+
userId: string;
|
|
6288
6526
|
id: string;
|
|
6289
6527
|
createdAt: string;
|
|
6290
|
-
userId: string;
|
|
6291
6528
|
creditsPackageId: string;
|
|
6292
6529
|
amount: number;
|
|
6293
6530
|
balanceBefore: number;
|
|
@@ -6299,9 +6536,9 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
6299
6536
|
packageName?: string | undefined;
|
|
6300
6537
|
}, {
|
|
6301
6538
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6539
|
+
userId: string;
|
|
6302
6540
|
id: string;
|
|
6303
6541
|
createdAt: string;
|
|
6304
|
-
userId: string;
|
|
6305
6542
|
creditsPackageId: string;
|
|
6306
6543
|
amount: number;
|
|
6307
6544
|
balanceBefore: number;
|
|
@@ -6330,11 +6567,11 @@ declare const ConsumeTransactionSchema: z.ZodObject<{
|
|
|
6330
6567
|
createdAt: z.ZodString;
|
|
6331
6568
|
transactionType: z.ZodLiteral<"consume">;
|
|
6332
6569
|
}, "strip", z.ZodTypeAny, {
|
|
6333
|
-
id: string;
|
|
6334
|
-
createdAt: string;
|
|
6335
|
-
userId: string;
|
|
6336
6570
|
taskId: string;
|
|
6571
|
+
userId: string;
|
|
6337
6572
|
agentId: string;
|
|
6573
|
+
id: string;
|
|
6574
|
+
createdAt: string;
|
|
6338
6575
|
creditsPackageId: string;
|
|
6339
6576
|
amount: number;
|
|
6340
6577
|
balanceBefore: number;
|
|
@@ -6343,11 +6580,11 @@ declare const ConsumeTransactionSchema: z.ZodObject<{
|
|
|
6343
6580
|
metadata?: any;
|
|
6344
6581
|
packageName?: string | undefined;
|
|
6345
6582
|
}, {
|
|
6346
|
-
id: string;
|
|
6347
|
-
createdAt: string;
|
|
6348
|
-
userId: string;
|
|
6349
6583
|
taskId: string;
|
|
6584
|
+
userId: string;
|
|
6350
6585
|
agentId: string;
|
|
6586
|
+
id: string;
|
|
6587
|
+
createdAt: string;
|
|
6351
6588
|
creditsPackageId: string;
|
|
6352
6589
|
amount: number;
|
|
6353
6590
|
balanceBefore: number;
|
|
@@ -6376,9 +6613,9 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6376
6613
|
transactionType: z.ZodLiteral<"charge">;
|
|
6377
6614
|
}, "strip", z.ZodTypeAny, {
|
|
6378
6615
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6616
|
+
userId: string;
|
|
6379
6617
|
id: string;
|
|
6380
6618
|
createdAt: string;
|
|
6381
|
-
userId: string;
|
|
6382
6619
|
creditsPackageId: string;
|
|
6383
6620
|
amount: number;
|
|
6384
6621
|
balanceBefore: number;
|
|
@@ -6390,9 +6627,9 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6390
6627
|
packageName?: string | undefined;
|
|
6391
6628
|
}, {
|
|
6392
6629
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6630
|
+
userId: string;
|
|
6393
6631
|
id: string;
|
|
6394
6632
|
createdAt: string;
|
|
6395
|
-
userId: string;
|
|
6396
6633
|
creditsPackageId: string;
|
|
6397
6634
|
amount: number;
|
|
6398
6635
|
balanceBefore: number;
|
|
@@ -6416,11 +6653,11 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6416
6653
|
createdAt: z.ZodString;
|
|
6417
6654
|
transactionType: z.ZodLiteral<"consume">;
|
|
6418
6655
|
}, "strip", z.ZodTypeAny, {
|
|
6419
|
-
id: string;
|
|
6420
|
-
createdAt: string;
|
|
6421
|
-
userId: string;
|
|
6422
6656
|
taskId: string;
|
|
6657
|
+
userId: string;
|
|
6423
6658
|
agentId: string;
|
|
6659
|
+
id: string;
|
|
6660
|
+
createdAt: string;
|
|
6424
6661
|
creditsPackageId: string;
|
|
6425
6662
|
amount: number;
|
|
6426
6663
|
balanceBefore: number;
|
|
@@ -6429,11 +6666,11 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6429
6666
|
metadata?: any;
|
|
6430
6667
|
packageName?: string | undefined;
|
|
6431
6668
|
}, {
|
|
6432
|
-
id: string;
|
|
6433
|
-
createdAt: string;
|
|
6434
|
-
userId: string;
|
|
6435
6669
|
taskId: string;
|
|
6670
|
+
userId: string;
|
|
6436
6671
|
agentId: string;
|
|
6672
|
+
id: string;
|
|
6673
|
+
createdAt: string;
|
|
6437
6674
|
creditsPackageId: string;
|
|
6438
6675
|
amount: number;
|
|
6439
6676
|
balanceBefore: number;
|
|
@@ -6486,9 +6723,9 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6486
6723
|
transactionType: z.ZodLiteral<"charge">;
|
|
6487
6724
|
}, "strip", z.ZodTypeAny, {
|
|
6488
6725
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6726
|
+
userId: string;
|
|
6489
6727
|
id: string;
|
|
6490
6728
|
createdAt: string;
|
|
6491
|
-
userId: string;
|
|
6492
6729
|
creditsPackageId: string;
|
|
6493
6730
|
amount: number;
|
|
6494
6731
|
balanceBefore: number;
|
|
@@ -6500,9 +6737,9 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6500
6737
|
packageName?: string | undefined;
|
|
6501
6738
|
}, {
|
|
6502
6739
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6740
|
+
userId: string;
|
|
6503
6741
|
id: string;
|
|
6504
6742
|
createdAt: string;
|
|
6505
|
-
userId: string;
|
|
6506
6743
|
creditsPackageId: string;
|
|
6507
6744
|
amount: number;
|
|
6508
6745
|
balanceBefore: number;
|
|
@@ -6526,11 +6763,11 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6526
6763
|
createdAt: z.ZodString;
|
|
6527
6764
|
transactionType: z.ZodLiteral<"consume">;
|
|
6528
6765
|
}, "strip", z.ZodTypeAny, {
|
|
6529
|
-
id: string;
|
|
6530
|
-
createdAt: string;
|
|
6531
|
-
userId: string;
|
|
6532
6766
|
taskId: string;
|
|
6767
|
+
userId: string;
|
|
6533
6768
|
agentId: string;
|
|
6769
|
+
id: string;
|
|
6770
|
+
createdAt: string;
|
|
6534
6771
|
creditsPackageId: string;
|
|
6535
6772
|
amount: number;
|
|
6536
6773
|
balanceBefore: number;
|
|
@@ -6539,11 +6776,11 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6539
6776
|
metadata?: any;
|
|
6540
6777
|
packageName?: string | undefined;
|
|
6541
6778
|
}, {
|
|
6542
|
-
id: string;
|
|
6543
|
-
createdAt: string;
|
|
6544
|
-
userId: string;
|
|
6545
6779
|
taskId: string;
|
|
6780
|
+
userId: string;
|
|
6546
6781
|
agentId: string;
|
|
6782
|
+
id: string;
|
|
6783
|
+
createdAt: string;
|
|
6547
6784
|
creditsPackageId: string;
|
|
6548
6785
|
amount: number;
|
|
6549
6786
|
balanceBefore: number;
|
|
@@ -6557,9 +6794,9 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6557
6794
|
total: number;
|
|
6558
6795
|
transactions: ({
|
|
6559
6796
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6797
|
+
userId: string;
|
|
6560
6798
|
id: string;
|
|
6561
6799
|
createdAt: string;
|
|
6562
|
-
userId: string;
|
|
6563
6800
|
creditsPackageId: string;
|
|
6564
6801
|
amount: number;
|
|
6565
6802
|
balanceBefore: number;
|
|
@@ -6570,11 +6807,11 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6570
6807
|
metadata?: any;
|
|
6571
6808
|
packageName?: string | undefined;
|
|
6572
6809
|
} | {
|
|
6573
|
-
id: string;
|
|
6574
|
-
createdAt: string;
|
|
6575
|
-
userId: string;
|
|
6576
6810
|
taskId: string;
|
|
6811
|
+
userId: string;
|
|
6577
6812
|
agentId: string;
|
|
6813
|
+
id: string;
|
|
6814
|
+
createdAt: string;
|
|
6578
6815
|
creditsPackageId: string;
|
|
6579
6816
|
amount: number;
|
|
6580
6817
|
balanceBefore: number;
|
|
@@ -6587,9 +6824,9 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6587
6824
|
total: number;
|
|
6588
6825
|
transactions: ({
|
|
6589
6826
|
type: "user_recharge" | "system_bonus" | "refund";
|
|
6827
|
+
userId: string;
|
|
6590
6828
|
id: string;
|
|
6591
6829
|
createdAt: string;
|
|
6592
|
-
userId: string;
|
|
6593
6830
|
creditsPackageId: string;
|
|
6594
6831
|
amount: number;
|
|
6595
6832
|
balanceBefore: number;
|
|
@@ -6600,11 +6837,11 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6600
6837
|
metadata?: any;
|
|
6601
6838
|
packageName?: string | undefined;
|
|
6602
6839
|
} | {
|
|
6603
|
-
id: string;
|
|
6604
|
-
createdAt: string;
|
|
6605
|
-
userId: string;
|
|
6606
6840
|
taskId: string;
|
|
6841
|
+
userId: string;
|
|
6607
6842
|
agentId: string;
|
|
6843
|
+
id: string;
|
|
6844
|
+
createdAt: string;
|
|
6608
6845
|
creditsPackageId: string;
|
|
6609
6846
|
amount: number;
|
|
6610
6847
|
balanceBefore: number;
|
|
@@ -6633,11 +6870,11 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
6633
6870
|
createdAt: z.ZodString;
|
|
6634
6871
|
transactionType: z.ZodLiteral<"consume">;
|
|
6635
6872
|
}, "strip", z.ZodTypeAny, {
|
|
6636
|
-
id: string;
|
|
6637
|
-
createdAt: string;
|
|
6638
|
-
userId: string;
|
|
6639
6873
|
taskId: string;
|
|
6874
|
+
userId: string;
|
|
6640
6875
|
agentId: string;
|
|
6876
|
+
id: string;
|
|
6877
|
+
createdAt: string;
|
|
6641
6878
|
creditsPackageId: string;
|
|
6642
6879
|
amount: number;
|
|
6643
6880
|
balanceBefore: number;
|
|
@@ -6646,11 +6883,11 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
6646
6883
|
metadata?: any;
|
|
6647
6884
|
packageName?: string | undefined;
|
|
6648
6885
|
}, {
|
|
6649
|
-
id: string;
|
|
6650
|
-
createdAt: string;
|
|
6651
|
-
userId: string;
|
|
6652
6886
|
taskId: string;
|
|
6887
|
+
userId: string;
|
|
6653
6888
|
agentId: string;
|
|
6889
|
+
id: string;
|
|
6890
|
+
createdAt: string;
|
|
6654
6891
|
creditsPackageId: string;
|
|
6655
6892
|
amount: number;
|
|
6656
6893
|
balanceBefore: number;
|
|
@@ -6663,11 +6900,11 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
6663
6900
|
}, "strip", z.ZodTypeAny, {
|
|
6664
6901
|
total: number;
|
|
6665
6902
|
transactions: {
|
|
6666
|
-
id: string;
|
|
6667
|
-
createdAt: string;
|
|
6668
|
-
userId: string;
|
|
6669
6903
|
taskId: string;
|
|
6904
|
+
userId: string;
|
|
6670
6905
|
agentId: string;
|
|
6906
|
+
id: string;
|
|
6907
|
+
createdAt: string;
|
|
6671
6908
|
creditsPackageId: string;
|
|
6672
6909
|
amount: number;
|
|
6673
6910
|
balanceBefore: number;
|
|
@@ -6679,11 +6916,11 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
6679
6916
|
}, {
|
|
6680
6917
|
total: number;
|
|
6681
6918
|
transactions: {
|
|
6682
|
-
id: string;
|
|
6683
|
-
createdAt: string;
|
|
6684
|
-
userId: string;
|
|
6685
6919
|
taskId: string;
|
|
6920
|
+
userId: string;
|
|
6686
6921
|
agentId: string;
|
|
6922
|
+
id: string;
|
|
6923
|
+
createdAt: string;
|
|
6687
6924
|
creditsPackageId: string;
|
|
6688
6925
|
amount: number;
|
|
6689
6926
|
balanceBefore: number;
|
|
@@ -6752,20 +6989,20 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
6752
6989
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6753
6990
|
}, "strip", z.ZodTypeAny, {
|
|
6754
6991
|
type: string;
|
|
6755
|
-
id: string;
|
|
6756
|
-
createdAt: string;
|
|
6757
6992
|
updatedAt: string;
|
|
6758
6993
|
name: string;
|
|
6994
|
+
id: string;
|
|
6995
|
+
createdAt: string;
|
|
6759
6996
|
enabled: boolean;
|
|
6760
6997
|
baseUrl: string;
|
|
6761
6998
|
apiUrl: string;
|
|
6762
6999
|
oauthServerId: string | null;
|
|
6763
7000
|
}, {
|
|
6764
7001
|
type: string;
|
|
6765
|
-
id: string;
|
|
6766
|
-
createdAt: string | Date;
|
|
6767
7002
|
updatedAt: string | Date;
|
|
6768
7003
|
name: string;
|
|
7004
|
+
id: string;
|
|
7005
|
+
createdAt: string | Date;
|
|
6769
7006
|
enabled: boolean;
|
|
6770
7007
|
baseUrl: string;
|
|
6771
7008
|
apiUrl: string;
|
|
@@ -6787,20 +7024,20 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
6787
7024
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6788
7025
|
}, "strip", z.ZodTypeAny, {
|
|
6789
7026
|
type: string;
|
|
6790
|
-
id: string;
|
|
6791
|
-
createdAt: string;
|
|
6792
7027
|
updatedAt: string;
|
|
6793
7028
|
name: string;
|
|
7029
|
+
id: string;
|
|
7030
|
+
createdAt: string;
|
|
6794
7031
|
enabled: boolean;
|
|
6795
7032
|
baseUrl: string;
|
|
6796
7033
|
apiUrl: string;
|
|
6797
7034
|
oauthServerId: string | null;
|
|
6798
7035
|
}, {
|
|
6799
7036
|
type: string;
|
|
6800
|
-
id: string;
|
|
6801
|
-
createdAt: string | Date;
|
|
6802
7037
|
updatedAt: string | Date;
|
|
6803
7038
|
name: string;
|
|
7039
|
+
id: string;
|
|
7040
|
+
createdAt: string | Date;
|
|
6804
7041
|
enabled: boolean;
|
|
6805
7042
|
baseUrl: string;
|
|
6806
7043
|
apiUrl: string;
|
|
@@ -6822,20 +7059,20 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
6822
7059
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6823
7060
|
}, "strip", z.ZodTypeAny, {
|
|
6824
7061
|
type: string;
|
|
6825
|
-
id: string;
|
|
6826
|
-
createdAt: string;
|
|
6827
7062
|
updatedAt: string;
|
|
6828
7063
|
name: string;
|
|
7064
|
+
id: string;
|
|
7065
|
+
createdAt: string;
|
|
6829
7066
|
enabled: boolean;
|
|
6830
7067
|
baseUrl: string;
|
|
6831
7068
|
apiUrl: string;
|
|
6832
7069
|
oauthServerId: string | null;
|
|
6833
7070
|
}, {
|
|
6834
7071
|
type: string;
|
|
6835
|
-
id: string;
|
|
6836
|
-
createdAt: string | Date;
|
|
6837
7072
|
updatedAt: string | Date;
|
|
6838
7073
|
name: string;
|
|
7074
|
+
id: string;
|
|
7075
|
+
createdAt: string | Date;
|
|
6839
7076
|
enabled: boolean;
|
|
6840
7077
|
baseUrl: string;
|
|
6841
7078
|
apiUrl: string;
|
|
@@ -6843,6 +7080,10 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
6843
7080
|
}>;
|
|
6844
7081
|
type GetGitServerResponse = z.infer<typeof GetGitServerResponseSchema>;
|
|
6845
7082
|
|
|
7083
|
+
/**
|
|
7084
|
+
* WebSocket event schemas and mappings.
|
|
7085
|
+
*/
|
|
7086
|
+
|
|
6846
7087
|
/**
|
|
6847
7088
|
* Option schema for ask-user questions
|
|
6848
7089
|
*/
|
|
@@ -6850,11 +7091,11 @@ declare const AskUserOptionSchema: z.ZodObject<{
|
|
|
6850
7091
|
label: z.ZodString;
|
|
6851
7092
|
description: z.ZodString;
|
|
6852
7093
|
}, "strip", z.ZodTypeAny, {
|
|
6853
|
-
description: string;
|
|
6854
7094
|
label: string;
|
|
6855
|
-
}, {
|
|
6856
7095
|
description: string;
|
|
7096
|
+
}, {
|
|
6857
7097
|
label: string;
|
|
7098
|
+
description: string;
|
|
6858
7099
|
}>;
|
|
6859
7100
|
type AskUserOption = z.infer<typeof AskUserOptionSchema>;
|
|
6860
7101
|
/**
|
|
@@ -6868,24 +7109,24 @@ declare const AskUserQuestionSchema: z.ZodObject<{
|
|
|
6868
7109
|
label: z.ZodString;
|
|
6869
7110
|
description: z.ZodString;
|
|
6870
7111
|
}, "strip", z.ZodTypeAny, {
|
|
6871
|
-
description: string;
|
|
6872
7112
|
label: string;
|
|
6873
|
-
}, {
|
|
6874
7113
|
description: string;
|
|
7114
|
+
}, {
|
|
6875
7115
|
label: string;
|
|
7116
|
+
description: string;
|
|
6876
7117
|
}>, "many">;
|
|
6877
7118
|
}, "strip", z.ZodTypeAny, {
|
|
6878
7119
|
options: {
|
|
6879
|
-
description: string;
|
|
6880
7120
|
label: string;
|
|
7121
|
+
description: string;
|
|
6881
7122
|
}[];
|
|
6882
7123
|
question: string;
|
|
6883
7124
|
header: string;
|
|
6884
7125
|
multiSelect: boolean;
|
|
6885
7126
|
}, {
|
|
6886
7127
|
options: {
|
|
6887
|
-
description: string;
|
|
6888
7128
|
label: string;
|
|
7129
|
+
description: string;
|
|
6889
7130
|
}[];
|
|
6890
7131
|
question: string;
|
|
6891
7132
|
header: string;
|
|
@@ -6905,24 +7146,24 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
6905
7146
|
label: z.ZodString;
|
|
6906
7147
|
description: z.ZodString;
|
|
6907
7148
|
}, "strip", z.ZodTypeAny, {
|
|
6908
|
-
description: string;
|
|
6909
7149
|
label: string;
|
|
6910
|
-
}, {
|
|
6911
7150
|
description: string;
|
|
7151
|
+
}, {
|
|
6912
7152
|
label: string;
|
|
7153
|
+
description: string;
|
|
6913
7154
|
}>, "many">;
|
|
6914
7155
|
}, "strip", z.ZodTypeAny, {
|
|
6915
7156
|
options: {
|
|
6916
|
-
description: string;
|
|
6917
7157
|
label: string;
|
|
7158
|
+
description: string;
|
|
6918
7159
|
}[];
|
|
6919
7160
|
question: string;
|
|
6920
7161
|
header: string;
|
|
6921
7162
|
multiSelect: boolean;
|
|
6922
7163
|
}, {
|
|
6923
7164
|
options: {
|
|
6924
|
-
description: string;
|
|
6925
7165
|
label: string;
|
|
7166
|
+
description: string;
|
|
6926
7167
|
}[];
|
|
6927
7168
|
question: string;
|
|
6928
7169
|
header: string;
|
|
@@ -6932,8 +7173,8 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
6932
7173
|
type: "ask_user";
|
|
6933
7174
|
questions: {
|
|
6934
7175
|
options: {
|
|
6935
|
-
description: string;
|
|
6936
7176
|
label: string;
|
|
7177
|
+
description: string;
|
|
6937
7178
|
}[];
|
|
6938
7179
|
question: string;
|
|
6939
7180
|
header: string;
|
|
@@ -6943,8 +7184,8 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
6943
7184
|
type: "ask_user";
|
|
6944
7185
|
questions: {
|
|
6945
7186
|
options: {
|
|
6946
|
-
description: string;
|
|
6947
7187
|
label: string;
|
|
7188
|
+
description: string;
|
|
6948
7189
|
}[];
|
|
6949
7190
|
question: string;
|
|
6950
7191
|
header: string;
|
|
@@ -7004,14 +7245,14 @@ declare const EventAckSchema: z.ZodObject<{
|
|
|
7004
7245
|
status: "success" | "failed";
|
|
7005
7246
|
eventId: string;
|
|
7006
7247
|
message?: string | undefined;
|
|
7007
|
-
data?: any;
|
|
7008
7248
|
opCode?: string | undefined;
|
|
7249
|
+
data?: any;
|
|
7009
7250
|
}, {
|
|
7010
7251
|
status: "success" | "failed";
|
|
7011
7252
|
eventId: string;
|
|
7012
7253
|
message?: string | undefined;
|
|
7013
|
-
data?: any;
|
|
7014
7254
|
opCode?: string | undefined;
|
|
7255
|
+
data?: any;
|
|
7015
7256
|
}>;
|
|
7016
7257
|
type EventAckData = z.infer<typeof EventAckSchema>;
|
|
7017
7258
|
declare const AppAliveEventSchema: z.ZodObject<{
|
|
@@ -7045,14 +7286,14 @@ declare const MachineAliveEventSchema: z.ZodObject<{
|
|
|
7045
7286
|
timestamp: z.ZodString;
|
|
7046
7287
|
controlPort: z.ZodOptional<z.ZodNumber>;
|
|
7047
7288
|
}, "strip", z.ZodTypeAny, {
|
|
7048
|
-
machineId: string;
|
|
7049
7289
|
eventId: string;
|
|
7050
7290
|
timestamp: string;
|
|
7291
|
+
machineId: string;
|
|
7051
7292
|
controlPort?: number | undefined;
|
|
7052
7293
|
}, {
|
|
7053
|
-
machineId: string;
|
|
7054
7294
|
eventId: string;
|
|
7055
7295
|
timestamp: string;
|
|
7296
|
+
machineId: string;
|
|
7056
7297
|
controlPort?: number | undefined;
|
|
7057
7298
|
}>;
|
|
7058
7299
|
type MachineAliveEventData = z.infer<typeof MachineAliveEventSchema>;
|
|
@@ -7062,12 +7303,12 @@ declare const ShutdownMachineSchema: z.ZodObject<{
|
|
|
7062
7303
|
machineId: z.ZodString;
|
|
7063
7304
|
reason: z.ZodOptional<z.ZodString>;
|
|
7064
7305
|
}, "strip", z.ZodTypeAny, {
|
|
7065
|
-
machineId: string;
|
|
7066
7306
|
eventId: string;
|
|
7307
|
+
machineId: string;
|
|
7067
7308
|
reason?: string | undefined;
|
|
7068
7309
|
}, {
|
|
7069
|
-
machineId: string;
|
|
7070
7310
|
eventId: string;
|
|
7311
|
+
machineId: string;
|
|
7071
7312
|
reason?: string | undefined;
|
|
7072
7313
|
}>;
|
|
7073
7314
|
type ShutdownMachineData = z.infer<typeof ShutdownMachineSchema>;
|
|
@@ -7079,16 +7320,16 @@ declare const WorkerInitializingSchema: z.ZodObject<{
|
|
|
7079
7320
|
timestamp: z.ZodString;
|
|
7080
7321
|
cwd: z.ZodOptional<z.ZodString>;
|
|
7081
7322
|
}, "strip", z.ZodTypeAny, {
|
|
7082
|
-
machineId: string;
|
|
7083
|
-
taskId: string;
|
|
7084
7323
|
eventId: string;
|
|
7085
7324
|
timestamp: string;
|
|
7086
|
-
cwd?: string | undefined;
|
|
7087
|
-
}, {
|
|
7088
7325
|
machineId: string;
|
|
7089
7326
|
taskId: string;
|
|
7327
|
+
cwd?: string | undefined;
|
|
7328
|
+
}, {
|
|
7090
7329
|
eventId: string;
|
|
7091
7330
|
timestamp: string;
|
|
7331
|
+
machineId: string;
|
|
7332
|
+
taskId: string;
|
|
7092
7333
|
cwd?: string | undefined;
|
|
7093
7334
|
}>;
|
|
7094
7335
|
type WorkerInitializingEventData = z.infer<typeof WorkerInitializingSchema>;
|
|
@@ -7100,16 +7341,16 @@ declare const WorkerReadySchema: z.ZodObject<{
|
|
|
7100
7341
|
timestamp: z.ZodString;
|
|
7101
7342
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
7102
7343
|
}, "strip", z.ZodTypeAny, {
|
|
7103
|
-
machineId: string;
|
|
7104
|
-
taskId: string;
|
|
7105
7344
|
eventId: string;
|
|
7106
7345
|
timestamp: string;
|
|
7107
|
-
duration?: number | undefined;
|
|
7108
|
-
}, {
|
|
7109
7346
|
machineId: string;
|
|
7110
7347
|
taskId: string;
|
|
7348
|
+
duration?: number | undefined;
|
|
7349
|
+
}, {
|
|
7111
7350
|
eventId: string;
|
|
7112
7351
|
timestamp: string;
|
|
7352
|
+
machineId: string;
|
|
7353
|
+
taskId: string;
|
|
7113
7354
|
duration?: number | undefined;
|
|
7114
7355
|
}>;
|
|
7115
7356
|
type WorkerReadyEventData = z.infer<typeof WorkerReadySchema>;
|
|
@@ -7122,16 +7363,16 @@ declare const WorkerAliveEventSchema: z.ZodObject<{
|
|
|
7122
7363
|
timestamp: z.ZodString;
|
|
7123
7364
|
}, "strip", z.ZodTypeAny, {
|
|
7124
7365
|
status: string;
|
|
7125
|
-
machineId: string;
|
|
7126
|
-
taskId: string;
|
|
7127
7366
|
eventId: string;
|
|
7128
7367
|
timestamp: string;
|
|
7129
|
-
}, {
|
|
7130
|
-
status: string;
|
|
7131
7368
|
machineId: string;
|
|
7132
7369
|
taskId: string;
|
|
7370
|
+
}, {
|
|
7371
|
+
status: string;
|
|
7133
7372
|
eventId: string;
|
|
7134
7373
|
timestamp: string;
|
|
7374
|
+
machineId: string;
|
|
7375
|
+
taskId: string;
|
|
7135
7376
|
}>;
|
|
7136
7377
|
type WorkerAliveEventData = z.infer<typeof WorkerAliveEventSchema>;
|
|
7137
7378
|
declare const WorkerExitSchema: z.ZodObject<{
|
|
@@ -7142,16 +7383,16 @@ declare const WorkerExitSchema: z.ZodObject<{
|
|
|
7142
7383
|
timestamp: z.ZodString;
|
|
7143
7384
|
reason: z.ZodOptional<z.ZodString>;
|
|
7144
7385
|
}, "strip", z.ZodTypeAny, {
|
|
7145
|
-
machineId: string;
|
|
7146
|
-
taskId: string;
|
|
7147
7386
|
eventId: string;
|
|
7148
7387
|
timestamp: string;
|
|
7149
|
-
reason?: string | undefined;
|
|
7150
|
-
}, {
|
|
7151
7388
|
machineId: string;
|
|
7152
7389
|
taskId: string;
|
|
7390
|
+
reason?: string | undefined;
|
|
7391
|
+
}, {
|
|
7153
7392
|
eventId: string;
|
|
7154
7393
|
timestamp: string;
|
|
7394
|
+
machineId: string;
|
|
7395
|
+
taskId: string;
|
|
7155
7396
|
reason?: string | undefined;
|
|
7156
7397
|
}>;
|
|
7157
7398
|
type WorkerExitEventData = z.infer<typeof WorkerExitSchema>;
|
|
@@ -7162,17 +7403,32 @@ declare const WorkerRunningSchema: z.ZodObject<{
|
|
|
7162
7403
|
machineId: z.ZodString;
|
|
7163
7404
|
timestamp: z.ZodString;
|
|
7164
7405
|
}, "strip", z.ZodTypeAny, {
|
|
7406
|
+
eventId: string;
|
|
7407
|
+
timestamp: string;
|
|
7165
7408
|
machineId: string;
|
|
7166
7409
|
taskId: string;
|
|
7410
|
+
}, {
|
|
7167
7411
|
eventId: string;
|
|
7168
7412
|
timestamp: string;
|
|
7169
|
-
}, {
|
|
7170
7413
|
machineId: string;
|
|
7171
7414
|
taskId: string;
|
|
7415
|
+
}>;
|
|
7416
|
+
type WorkerRunningEventData = z.infer<typeof WorkerRunningSchema>;
|
|
7417
|
+
declare const WorkerStatusRequestSchema: z.ZodObject<{
|
|
7418
|
+
eventId: z.ZodString;
|
|
7419
|
+
} & {
|
|
7420
|
+
taskId: z.ZodString;
|
|
7421
|
+
timestamp: z.ZodString;
|
|
7422
|
+
}, "strip", z.ZodTypeAny, {
|
|
7423
|
+
eventId: string;
|
|
7424
|
+
timestamp: string;
|
|
7425
|
+
taskId: string;
|
|
7426
|
+
}, {
|
|
7172
7427
|
eventId: string;
|
|
7173
7428
|
timestamp: string;
|
|
7429
|
+
taskId: string;
|
|
7174
7430
|
}>;
|
|
7175
|
-
type
|
|
7431
|
+
type WorkerStatusRequestEventData = z.infer<typeof WorkerStatusRequestSchema>;
|
|
7176
7432
|
declare const baseTaskSchema: z.ZodObject<{
|
|
7177
7433
|
eventId: z.ZodString;
|
|
7178
7434
|
} & {
|
|
@@ -7193,41 +7449,41 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
7193
7449
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
7194
7450
|
repositorySourceType: z.ZodOptional<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
7195
7451
|
}, "strip", z.ZodTypeAny, {
|
|
7196
|
-
|
|
7452
|
+
eventId: string;
|
|
7197
7453
|
taskId: string;
|
|
7454
|
+
userId: string;
|
|
7198
7455
|
chatId: string;
|
|
7199
7456
|
agentId: string;
|
|
7200
|
-
eventId: string;
|
|
7201
7457
|
agentType: string;
|
|
7202
7458
|
cwd?: string | undefined;
|
|
7203
|
-
|
|
7459
|
+
gitUrl?: string | undefined;
|
|
7204
7460
|
baseBranch?: string | undefined;
|
|
7205
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7206
7461
|
dataEncryptionKey?: string | undefined;
|
|
7207
|
-
gitUrl?: string | undefined;
|
|
7208
7462
|
model?: string | undefined;
|
|
7209
7463
|
fallbackModel?: string | undefined;
|
|
7210
7464
|
api_base_url?: string | undefined;
|
|
7211
7465
|
api_key?: string | undefined;
|
|
7212
7466
|
maxTurns?: number | undefined;
|
|
7467
|
+
repositoryId?: string | undefined;
|
|
7468
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7213
7469
|
}, {
|
|
7214
|
-
|
|
7470
|
+
eventId: string;
|
|
7215
7471
|
taskId: string;
|
|
7472
|
+
userId: string;
|
|
7216
7473
|
chatId: string;
|
|
7217
7474
|
agentId: string;
|
|
7218
|
-
eventId: string;
|
|
7219
7475
|
cwd?: string | undefined;
|
|
7220
|
-
|
|
7476
|
+
agentType?: string | undefined;
|
|
7477
|
+
gitUrl?: string | undefined;
|
|
7221
7478
|
baseBranch?: string | undefined;
|
|
7222
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7223
7479
|
dataEncryptionKey?: string | undefined;
|
|
7224
|
-
gitUrl?: string | undefined;
|
|
7225
|
-
agentType?: string | undefined;
|
|
7226
7480
|
model?: string | undefined;
|
|
7227
7481
|
fallbackModel?: string | undefined;
|
|
7228
7482
|
api_base_url?: string | undefined;
|
|
7229
7483
|
api_key?: string | undefined;
|
|
7230
7484
|
maxTurns?: number | undefined;
|
|
7485
|
+
repositoryId?: string | undefined;
|
|
7486
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7231
7487
|
}>;
|
|
7232
7488
|
declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
7233
7489
|
eventId: z.ZodString;
|
|
@@ -7252,85 +7508,85 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7252
7508
|
message: z.ZodOptional<z.ZodType<SDKUserMessage, z.ZodTypeDef, SDKUserMessage>>;
|
|
7253
7509
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
7254
7510
|
}, "strip", z.ZodTypeAny, {
|
|
7255
|
-
|
|
7511
|
+
eventId: string;
|
|
7256
7512
|
taskId: string;
|
|
7513
|
+
userId: string;
|
|
7257
7514
|
chatId: string;
|
|
7258
7515
|
agentId: string;
|
|
7259
|
-
eventId: string;
|
|
7260
7516
|
agentType: string;
|
|
7261
7517
|
message?: SDKUserMessage | undefined;
|
|
7262
|
-
encryptedMessage?: string | undefined;
|
|
7263
7518
|
cwd?: string | undefined;
|
|
7264
|
-
|
|
7519
|
+
gitUrl?: string | undefined;
|
|
7265
7520
|
baseBranch?: string | undefined;
|
|
7266
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7267
7521
|
dataEncryptionKey?: string | undefined;
|
|
7268
|
-
gitUrl?: string | undefined;
|
|
7269
7522
|
model?: string | undefined;
|
|
7270
7523
|
fallbackModel?: string | undefined;
|
|
7271
7524
|
api_base_url?: string | undefined;
|
|
7272
7525
|
api_key?: string | undefined;
|
|
7273
7526
|
maxTurns?: number | undefined;
|
|
7527
|
+
repositoryId?: string | undefined;
|
|
7528
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7529
|
+
encryptedMessage?: string | undefined;
|
|
7274
7530
|
}, {
|
|
7275
|
-
|
|
7531
|
+
eventId: string;
|
|
7276
7532
|
taskId: string;
|
|
7533
|
+
userId: string;
|
|
7277
7534
|
chatId: string;
|
|
7278
7535
|
agentId: string;
|
|
7279
|
-
eventId: string;
|
|
7280
7536
|
message?: SDKUserMessage | undefined;
|
|
7281
|
-
encryptedMessage?: string | undefined;
|
|
7282
7537
|
cwd?: string | undefined;
|
|
7283
|
-
|
|
7538
|
+
agentType?: string | undefined;
|
|
7539
|
+
gitUrl?: string | undefined;
|
|
7284
7540
|
baseBranch?: string | undefined;
|
|
7285
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7286
7541
|
dataEncryptionKey?: string | undefined;
|
|
7287
|
-
gitUrl?: string | undefined;
|
|
7288
|
-
agentType?: string | undefined;
|
|
7289
7542
|
model?: string | undefined;
|
|
7290
7543
|
fallbackModel?: string | undefined;
|
|
7291
7544
|
api_base_url?: string | undefined;
|
|
7292
7545
|
api_key?: string | undefined;
|
|
7293
7546
|
maxTurns?: number | undefined;
|
|
7547
|
+
repositoryId?: string | undefined;
|
|
7548
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7549
|
+
encryptedMessage?: string | undefined;
|
|
7294
7550
|
}>, {
|
|
7295
|
-
|
|
7551
|
+
eventId: string;
|
|
7296
7552
|
taskId: string;
|
|
7553
|
+
userId: string;
|
|
7297
7554
|
chatId: string;
|
|
7298
7555
|
agentId: string;
|
|
7299
|
-
eventId: string;
|
|
7300
7556
|
agentType: string;
|
|
7301
7557
|
message?: SDKUserMessage | undefined;
|
|
7302
|
-
encryptedMessage?: string | undefined;
|
|
7303
7558
|
cwd?: string | undefined;
|
|
7304
|
-
|
|
7559
|
+
gitUrl?: string | undefined;
|
|
7305
7560
|
baseBranch?: string | undefined;
|
|
7306
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7307
7561
|
dataEncryptionKey?: string | undefined;
|
|
7308
|
-
gitUrl?: string | undefined;
|
|
7309
7562
|
model?: string | undefined;
|
|
7310
7563
|
fallbackModel?: string | undefined;
|
|
7311
7564
|
api_base_url?: string | undefined;
|
|
7312
7565
|
api_key?: string | undefined;
|
|
7313
7566
|
maxTurns?: number | undefined;
|
|
7567
|
+
repositoryId?: string | undefined;
|
|
7568
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7569
|
+
encryptedMessage?: string | undefined;
|
|
7314
7570
|
}, {
|
|
7315
|
-
|
|
7571
|
+
eventId: string;
|
|
7316
7572
|
taskId: string;
|
|
7573
|
+
userId: string;
|
|
7317
7574
|
chatId: string;
|
|
7318
7575
|
agentId: string;
|
|
7319
|
-
eventId: string;
|
|
7320
7576
|
message?: SDKUserMessage | undefined;
|
|
7321
|
-
encryptedMessage?: string | undefined;
|
|
7322
7577
|
cwd?: string | undefined;
|
|
7323
|
-
|
|
7578
|
+
agentType?: string | undefined;
|
|
7579
|
+
gitUrl?: string | undefined;
|
|
7324
7580
|
baseBranch?: string | undefined;
|
|
7325
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7326
7581
|
dataEncryptionKey?: string | undefined;
|
|
7327
|
-
gitUrl?: string | undefined;
|
|
7328
|
-
agentType?: string | undefined;
|
|
7329
7582
|
model?: string | undefined;
|
|
7330
7583
|
fallbackModel?: string | undefined;
|
|
7331
7584
|
api_base_url?: string | undefined;
|
|
7332
7585
|
api_key?: string | undefined;
|
|
7333
7586
|
maxTurns?: number | undefined;
|
|
7587
|
+
repositoryId?: string | undefined;
|
|
7588
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7589
|
+
encryptedMessage?: string | undefined;
|
|
7334
7590
|
}>;
|
|
7335
7591
|
type CreateTaskEventData = z.infer<typeof createTaskSchema>;
|
|
7336
7592
|
declare const resumeTaskSchema: z.ZodObject<{
|
|
@@ -7359,49 +7615,49 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
7359
7615
|
message: z.ZodOptional<z.ZodType<SDKUserMessage, z.ZodTypeDef, SDKUserMessage>>;
|
|
7360
7616
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
7361
7617
|
}, "strip", z.ZodTypeAny, {
|
|
7362
|
-
|
|
7618
|
+
eventId: string;
|
|
7363
7619
|
taskId: string;
|
|
7620
|
+
userId: string;
|
|
7364
7621
|
chatId: string;
|
|
7365
7622
|
agentId: string;
|
|
7366
|
-
agentSessionId: string;
|
|
7367
|
-
eventId: string;
|
|
7368
7623
|
agentType: string;
|
|
7624
|
+
agentSessionId: string;
|
|
7369
7625
|
message?: SDKUserMessage | undefined;
|
|
7370
|
-
encryptedMessage?: string | undefined;
|
|
7371
7626
|
cwd?: string | undefined;
|
|
7372
|
-
|
|
7627
|
+
gitUrl?: string | undefined;
|
|
7373
7628
|
baseBranch?: string | undefined;
|
|
7374
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7375
7629
|
dataEncryptionKey?: string | undefined;
|
|
7376
|
-
gitUrl?: string | undefined;
|
|
7377
7630
|
model?: string | undefined;
|
|
7378
7631
|
fallbackModel?: string | undefined;
|
|
7379
7632
|
api_base_url?: string | undefined;
|
|
7380
7633
|
api_key?: string | undefined;
|
|
7381
7634
|
maxTurns?: number | undefined;
|
|
7635
|
+
repositoryId?: string | undefined;
|
|
7636
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7637
|
+
encryptedMessage?: string | undefined;
|
|
7382
7638
|
event?: string | undefined;
|
|
7383
7639
|
eventData?: any;
|
|
7384
7640
|
}, {
|
|
7385
|
-
|
|
7641
|
+
eventId: string;
|
|
7386
7642
|
taskId: string;
|
|
7643
|
+
userId: string;
|
|
7387
7644
|
chatId: string;
|
|
7388
7645
|
agentId: string;
|
|
7389
7646
|
agentSessionId: string;
|
|
7390
|
-
eventId: string;
|
|
7391
7647
|
message?: SDKUserMessage | undefined;
|
|
7392
|
-
encryptedMessage?: string | undefined;
|
|
7393
7648
|
cwd?: string | undefined;
|
|
7394
|
-
|
|
7649
|
+
agentType?: string | undefined;
|
|
7650
|
+
gitUrl?: string | undefined;
|
|
7395
7651
|
baseBranch?: string | undefined;
|
|
7396
|
-
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7397
7652
|
dataEncryptionKey?: string | undefined;
|
|
7398
|
-
gitUrl?: string | undefined;
|
|
7399
|
-
agentType?: string | undefined;
|
|
7400
7653
|
model?: string | undefined;
|
|
7401
7654
|
fallbackModel?: string | undefined;
|
|
7402
7655
|
api_base_url?: string | undefined;
|
|
7403
7656
|
api_key?: string | undefined;
|
|
7404
7657
|
maxTurns?: number | undefined;
|
|
7658
|
+
repositoryId?: string | undefined;
|
|
7659
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
7660
|
+
encryptedMessage?: string | undefined;
|
|
7405
7661
|
event?: string | undefined;
|
|
7406
7662
|
eventData?: any;
|
|
7407
7663
|
}>;
|
|
@@ -7415,18 +7671,18 @@ declare const cancelTaskSchema: z.ZodObject<{
|
|
|
7415
7671
|
agentId: z.ZodString;
|
|
7416
7672
|
reason: z.ZodOptional<z.ZodString>;
|
|
7417
7673
|
}, "strip", z.ZodTypeAny, {
|
|
7418
|
-
|
|
7674
|
+
eventId: string;
|
|
7419
7675
|
taskId: string;
|
|
7676
|
+
userId: string;
|
|
7420
7677
|
chatId: string;
|
|
7421
7678
|
agentId: string;
|
|
7422
|
-
eventId: string;
|
|
7423
7679
|
reason?: string | undefined;
|
|
7424
7680
|
}, {
|
|
7425
|
-
|
|
7681
|
+
eventId: string;
|
|
7426
7682
|
taskId: string;
|
|
7683
|
+
userId: string;
|
|
7427
7684
|
chatId: string;
|
|
7428
7685
|
agentId: string;
|
|
7429
|
-
eventId: string;
|
|
7430
7686
|
reason?: string | undefined;
|
|
7431
7687
|
}>;
|
|
7432
7688
|
type CancelTaskEventData = z.infer<typeof cancelTaskSchema>;
|
|
@@ -7436,12 +7692,12 @@ declare const StopTaskSchema: z.ZodObject<{
|
|
|
7436
7692
|
taskId: z.ZodString;
|
|
7437
7693
|
reason: z.ZodOptional<z.ZodString>;
|
|
7438
7694
|
}, "strip", z.ZodTypeAny, {
|
|
7439
|
-
taskId: string;
|
|
7440
7695
|
eventId: string;
|
|
7696
|
+
taskId: string;
|
|
7441
7697
|
reason?: string | undefined;
|
|
7442
7698
|
}, {
|
|
7443
|
-
taskId: string;
|
|
7444
7699
|
eventId: string;
|
|
7700
|
+
taskId: string;
|
|
7445
7701
|
reason?: string | undefined;
|
|
7446
7702
|
}>;
|
|
7447
7703
|
type StopTaskEventData = z.infer<typeof StopTaskSchema>;
|
|
@@ -7454,33 +7710,33 @@ declare const TaskMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7454
7710
|
message: z.ZodOptional<z.ZodType<TaskMessagePayload, z.ZodTypeDef, TaskMessagePayload>>;
|
|
7455
7711
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
7456
7712
|
}, "strip", z.ZodTypeAny, {
|
|
7457
|
-
taskId: string;
|
|
7458
7713
|
eventId: string;
|
|
7459
|
-
|
|
7714
|
+
taskId: string;
|
|
7715
|
+
from: "app" | "api-server" | "machine" | "worker";
|
|
7460
7716
|
message?: TaskMessagePayload | undefined;
|
|
7461
|
-
encryptedMessage?: string | undefined;
|
|
7462
7717
|
opCode?: string | undefined;
|
|
7718
|
+
encryptedMessage?: string | undefined;
|
|
7463
7719
|
}, {
|
|
7464
|
-
taskId: string;
|
|
7465
7720
|
eventId: string;
|
|
7466
|
-
|
|
7721
|
+
taskId: string;
|
|
7722
|
+
from: "app" | "api-server" | "machine" | "worker";
|
|
7467
7723
|
message?: TaskMessagePayload | undefined;
|
|
7468
|
-
encryptedMessage?: string | undefined;
|
|
7469
7724
|
opCode?: string | undefined;
|
|
7725
|
+
encryptedMessage?: string | undefined;
|
|
7470
7726
|
}>, {
|
|
7471
|
-
taskId: string;
|
|
7472
7727
|
eventId: string;
|
|
7473
|
-
|
|
7728
|
+
taskId: string;
|
|
7729
|
+
from: "app" | "api-server" | "machine" | "worker";
|
|
7474
7730
|
message?: TaskMessagePayload | undefined;
|
|
7475
|
-
encryptedMessage?: string | undefined;
|
|
7476
7731
|
opCode?: string | undefined;
|
|
7732
|
+
encryptedMessage?: string | undefined;
|
|
7477
7733
|
}, {
|
|
7478
|
-
taskId: string;
|
|
7479
7734
|
eventId: string;
|
|
7480
|
-
|
|
7735
|
+
taskId: string;
|
|
7736
|
+
from: "app" | "api-server" | "machine" | "worker";
|
|
7481
7737
|
message?: TaskMessagePayload | undefined;
|
|
7482
|
-
encryptedMessage?: string | undefined;
|
|
7483
7738
|
opCode?: string | undefined;
|
|
7739
|
+
encryptedMessage?: string | undefined;
|
|
7484
7740
|
}>;
|
|
7485
7741
|
type TaskMessageEventData = z.infer<typeof TaskMessageSchema>;
|
|
7486
7742
|
/**
|
|
@@ -7527,9 +7783,9 @@ declare const TaskArtifactsUpdatedEventSchema: z.ZodObject<{
|
|
|
7527
7783
|
}[];
|
|
7528
7784
|
}>;
|
|
7529
7785
|
}, "strip", z.ZodTypeAny, {
|
|
7530
|
-
taskId: string;
|
|
7531
7786
|
eventId: string;
|
|
7532
7787
|
timestamp: string;
|
|
7788
|
+
taskId: string;
|
|
7533
7789
|
commitHash: string;
|
|
7534
7790
|
stats: {
|
|
7535
7791
|
totalInsertions: number;
|
|
@@ -7541,9 +7797,9 @@ declare const TaskArtifactsUpdatedEventSchema: z.ZodObject<{
|
|
|
7541
7797
|
}[];
|
|
7542
7798
|
};
|
|
7543
7799
|
}, {
|
|
7544
|
-
taskId: string;
|
|
7545
7800
|
eventId: string;
|
|
7546
7801
|
timestamp: string;
|
|
7802
|
+
taskId: string;
|
|
7547
7803
|
commitHash: string;
|
|
7548
7804
|
stats: {
|
|
7549
7805
|
totalInsertions: number;
|
|
@@ -7562,13 +7818,13 @@ declare const ChangeTaskTitleEventSchema: z.ZodObject<{
|
|
|
7562
7818
|
taskId: z.ZodString;
|
|
7563
7819
|
title: z.ZodString;
|
|
7564
7820
|
}, "strip", z.ZodTypeAny, {
|
|
7821
|
+
eventId: string;
|
|
7565
7822
|
taskId: string;
|
|
7566
7823
|
title: string;
|
|
7567
|
-
eventId: string;
|
|
7568
7824
|
}, {
|
|
7825
|
+
eventId: string;
|
|
7569
7826
|
taskId: string;
|
|
7570
7827
|
title: string;
|
|
7571
|
-
eventId: string;
|
|
7572
7828
|
}>;
|
|
7573
7829
|
type ChangeTaskTitleEventData = z.infer<typeof ChangeTaskTitleEventSchema>;
|
|
7574
7830
|
declare const TaskStateChangeEventSchema: z.ZodObject<{
|
|
@@ -7579,17 +7835,17 @@ declare const TaskStateChangeEventSchema: z.ZodObject<{
|
|
|
7579
7835
|
state: z.ZodString;
|
|
7580
7836
|
updatedAt: z.ZodString;
|
|
7581
7837
|
}, "strip", z.ZodTypeAny, {
|
|
7582
|
-
|
|
7838
|
+
eventId: string;
|
|
7583
7839
|
taskId: string;
|
|
7584
7840
|
chatId: string;
|
|
7841
|
+
state: string;
|
|
7585
7842
|
updatedAt: string;
|
|
7586
|
-
eventId: string;
|
|
7587
7843
|
}, {
|
|
7588
|
-
|
|
7844
|
+
eventId: string;
|
|
7589
7845
|
taskId: string;
|
|
7590
7846
|
chatId: string;
|
|
7847
|
+
state: string;
|
|
7591
7848
|
updatedAt: string;
|
|
7592
|
-
eventId: string;
|
|
7593
7849
|
}>;
|
|
7594
7850
|
type TaskStateChangeEventData = z.infer<typeof TaskStateChangeEventSchema>;
|
|
7595
7851
|
declare const CreditExhaustedEventSchema: z.ZodObject<{
|
|
@@ -7611,18 +7867,18 @@ declare const WorkspaceFileRequestSchema: z.ZodObject<{
|
|
|
7611
7867
|
ifModifiedSince: z.ZodOptional<z.ZodString>;
|
|
7612
7868
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
7613
7869
|
}, "strip", z.ZodTypeAny, {
|
|
7614
|
-
userId: string;
|
|
7615
|
-
taskId: string;
|
|
7616
7870
|
eventId: string;
|
|
7871
|
+
taskId: string;
|
|
7872
|
+
userId: string;
|
|
7617
7873
|
relativePath: string;
|
|
7618
7874
|
requestId: string;
|
|
7619
7875
|
dataEncryptionKey?: string | undefined;
|
|
7620
7876
|
maxFileSizeMB?: number | undefined;
|
|
7621
7877
|
ifModifiedSince?: string | undefined;
|
|
7622
7878
|
}, {
|
|
7623
|
-
userId: string;
|
|
7624
|
-
taskId: string;
|
|
7625
7879
|
eventId: string;
|
|
7880
|
+
taskId: string;
|
|
7881
|
+
userId: string;
|
|
7626
7882
|
relativePath: string;
|
|
7627
7883
|
requestId: string;
|
|
7628
7884
|
dataEncryptionKey?: string | undefined;
|
|
@@ -7723,8 +7979,8 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
7723
7979
|
}>>;
|
|
7724
7980
|
}, "strip", z.ZodTypeAny, {
|
|
7725
7981
|
success: boolean;
|
|
7726
|
-
taskId: string;
|
|
7727
7982
|
eventId: string;
|
|
7983
|
+
taskId: string;
|
|
7728
7984
|
requestId: string;
|
|
7729
7985
|
error?: {
|
|
7730
7986
|
message: string;
|
|
@@ -7751,8 +8007,8 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
7751
8007
|
notModified?: boolean | undefined;
|
|
7752
8008
|
}, {
|
|
7753
8009
|
success: boolean;
|
|
7754
|
-
taskId: string;
|
|
7755
8010
|
eventId: string;
|
|
8011
|
+
taskId: string;
|
|
7756
8012
|
requestId: string;
|
|
7757
8013
|
error?: {
|
|
7758
8014
|
message: string;
|
|
@@ -7786,14 +8042,14 @@ declare const UpdateTaskAgentSessionIdEventSchema: z.ZodObject<{
|
|
|
7786
8042
|
agentSessionId: z.ZodString;
|
|
7787
8043
|
cwd: z.ZodOptional<z.ZodString>;
|
|
7788
8044
|
}, "strip", z.ZodTypeAny, {
|
|
8045
|
+
eventId: string;
|
|
7789
8046
|
taskId: string;
|
|
7790
8047
|
agentSessionId: string;
|
|
7791
|
-
eventId: string;
|
|
7792
8048
|
cwd?: string | undefined;
|
|
7793
8049
|
}, {
|
|
8050
|
+
eventId: string;
|
|
7794
8051
|
taskId: string;
|
|
7795
8052
|
agentSessionId: string;
|
|
7796
|
-
eventId: string;
|
|
7797
8053
|
cwd?: string | undefined;
|
|
7798
8054
|
}>;
|
|
7799
8055
|
type UpdateTaskAgentSessionIdEventData = z.infer<typeof UpdateTaskAgentSessionIdEventSchema>;
|
|
@@ -7802,20 +8058,20 @@ declare const TaskInfoUpdateEventDataSchema: z.ZodObject<{
|
|
|
7802
8058
|
} & {
|
|
7803
8059
|
taskId: z.ZodString;
|
|
7804
8060
|
chatId: z.ZodString;
|
|
7805
|
-
updates: z.ZodRecord<z.ZodString, z.ZodAny
|
|
8061
|
+
updates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7806
8062
|
updatedAt: z.ZodString;
|
|
7807
8063
|
}, "strip", z.ZodTypeAny, {
|
|
8064
|
+
eventId: string;
|
|
7808
8065
|
taskId: string;
|
|
7809
8066
|
chatId: string;
|
|
7810
8067
|
updatedAt: string;
|
|
7811
|
-
|
|
7812
|
-
updates: Record<string, any>;
|
|
8068
|
+
updates?: Record<string, any> | undefined;
|
|
7813
8069
|
}, {
|
|
8070
|
+
eventId: string;
|
|
7814
8071
|
taskId: string;
|
|
7815
8072
|
chatId: string;
|
|
7816
8073
|
updatedAt: string;
|
|
7817
|
-
|
|
7818
|
-
updates: Record<string, any>;
|
|
8074
|
+
updates?: Record<string, any> | undefined;
|
|
7819
8075
|
}>;
|
|
7820
8076
|
type TaskInfoUpdateEventData = z.infer<typeof TaskInfoUpdateEventDataSchema>;
|
|
7821
8077
|
declare const MergeRequestEventSchema: z.ZodObject<{
|
|
@@ -7825,13 +8081,13 @@ declare const MergeRequestEventSchema: z.ZodObject<{
|
|
|
7825
8081
|
summary: z.ZodString;
|
|
7826
8082
|
description: z.ZodOptional<z.ZodString>;
|
|
7827
8083
|
}, "strip", z.ZodTypeAny, {
|
|
7828
|
-
taskId: string;
|
|
7829
8084
|
eventId: string;
|
|
8085
|
+
taskId: string;
|
|
7830
8086
|
summary: string;
|
|
7831
8087
|
description?: string | undefined;
|
|
7832
8088
|
}, {
|
|
7833
|
-
taskId: string;
|
|
7834
8089
|
eventId: string;
|
|
8090
|
+
taskId: string;
|
|
7835
8091
|
summary: string;
|
|
7836
8092
|
description?: string | undefined;
|
|
7837
8093
|
}>;
|
|
@@ -7842,12 +8098,12 @@ declare const MergePullRequestEventSchema: z.ZodObject<{
|
|
|
7842
8098
|
taskId: z.ZodString;
|
|
7843
8099
|
mergeMethod: z.ZodDefault<z.ZodOptional<z.ZodEnum<["merge", "squash", "rebase"]>>>;
|
|
7844
8100
|
}, "strip", z.ZodTypeAny, {
|
|
7845
|
-
taskId: string;
|
|
7846
8101
|
eventId: string;
|
|
8102
|
+
taskId: string;
|
|
7847
8103
|
mergeMethod: "merge" | "squash" | "rebase";
|
|
7848
8104
|
}, {
|
|
7849
|
-
taskId: string;
|
|
7850
8105
|
eventId: string;
|
|
8106
|
+
taskId: string;
|
|
7851
8107
|
mergeMethod?: "merge" | "squash" | "rebase" | undefined;
|
|
7852
8108
|
}>;
|
|
7853
8109
|
type MergePullRequestEventData = z.infer<typeof MergePullRequestEventSchema>;
|
|
@@ -7869,17 +8125,17 @@ declare const AssociateRepoEventDataSchema: z.ZodObject<{
|
|
|
7869
8125
|
repo: z.ZodString;
|
|
7870
8126
|
remoteUrl: z.ZodString;
|
|
7871
8127
|
}, "strip", z.ZodTypeAny, {
|
|
7872
|
-
taskId: string;
|
|
7873
|
-
owner: string;
|
|
7874
8128
|
eventId: string;
|
|
8129
|
+
taskId: string;
|
|
7875
8130
|
gitServerHost: string;
|
|
8131
|
+
owner: string;
|
|
7876
8132
|
repo: string;
|
|
7877
8133
|
remoteUrl: string;
|
|
7878
8134
|
}, {
|
|
7879
|
-
taskId: string;
|
|
7880
|
-
owner: string;
|
|
7881
8135
|
eventId: string;
|
|
8136
|
+
taskId: string;
|
|
7882
8137
|
gitServerHost: string;
|
|
8138
|
+
owner: string;
|
|
7883
8139
|
repo: string;
|
|
7884
8140
|
remoteUrl: string;
|
|
7885
8141
|
}>;
|
|
@@ -7938,16 +8194,16 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
7938
8194
|
updatedAt: z.ZodString;
|
|
7939
8195
|
}, "strip", z.ZodTypeAny, {
|
|
7940
8196
|
type: "direct" | "group";
|
|
7941
|
-
id: string;
|
|
7942
|
-
createdAt: string;
|
|
7943
8197
|
updatedAt: string;
|
|
7944
8198
|
owner: string;
|
|
7945
|
-
}, {
|
|
7946
|
-
type: "direct" | "group";
|
|
7947
8199
|
id: string;
|
|
7948
8200
|
createdAt: string;
|
|
8201
|
+
}, {
|
|
8202
|
+
type: "direct" | "group";
|
|
7949
8203
|
updatedAt: string;
|
|
7950
8204
|
owner: string;
|
|
8205
|
+
id: string;
|
|
8206
|
+
createdAt: string;
|
|
7951
8207
|
}>, z.ZodArray<z.ZodObject<{
|
|
7952
8208
|
id: z.ZodString;
|
|
7953
8209
|
chatId: z.ZodString;
|
|
@@ -7958,18 +8214,18 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
7958
8214
|
updatedAt: z.ZodString;
|
|
7959
8215
|
}, "strip", z.ZodTypeAny, {
|
|
7960
8216
|
type: "human" | "agent";
|
|
7961
|
-
id: string;
|
|
7962
|
-
createdAt: string;
|
|
7963
8217
|
chatId: string;
|
|
7964
8218
|
updatedAt: string;
|
|
8219
|
+
id: string;
|
|
8220
|
+
createdAt: string;
|
|
7965
8221
|
memberCode: string;
|
|
7966
8222
|
role: string;
|
|
7967
8223
|
}, {
|
|
7968
8224
|
type: "human" | "agent";
|
|
7969
|
-
id: string;
|
|
7970
|
-
createdAt: string;
|
|
7971
8225
|
chatId: string;
|
|
7972
8226
|
updatedAt: string;
|
|
8227
|
+
id: string;
|
|
8228
|
+
createdAt: string;
|
|
7973
8229
|
memberCode: string;
|
|
7974
8230
|
role: string;
|
|
7975
8231
|
}>, "many">, z.ZodArray<z.ZodObject<{
|
|
@@ -7991,28 +8247,28 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
7991
8247
|
updatedAt: z.ZodString;
|
|
7992
8248
|
gitServerId: z.ZodString;
|
|
7993
8249
|
}, "strip", z.ZodTypeAny, {
|
|
7994
|
-
|
|
7995
|
-
createdAt: string;
|
|
8250
|
+
description: string | null;
|
|
7996
8251
|
updatedAt: string;
|
|
7997
8252
|
name: string;
|
|
7998
|
-
description: string | null;
|
|
7999
8253
|
owner: string;
|
|
8000
|
-
|
|
8254
|
+
id: string;
|
|
8255
|
+
createdAt: string;
|
|
8001
8256
|
fullName: string;
|
|
8002
8257
|
defaultBranch: string;
|
|
8003
8258
|
isPrivate: boolean;
|
|
8259
|
+
url: string;
|
|
8004
8260
|
gitServerId: string;
|
|
8005
8261
|
}, {
|
|
8006
|
-
|
|
8007
|
-
createdAt: string;
|
|
8262
|
+
description: string | null;
|
|
8008
8263
|
updatedAt: string;
|
|
8009
8264
|
name: string;
|
|
8010
|
-
description: string | null;
|
|
8011
8265
|
owner: string;
|
|
8012
|
-
|
|
8266
|
+
id: string;
|
|
8267
|
+
createdAt: string;
|
|
8013
8268
|
fullName: string;
|
|
8014
8269
|
defaultBranch: string;
|
|
8015
8270
|
isPrivate: boolean;
|
|
8271
|
+
url: string;
|
|
8016
8272
|
gitServerId: string;
|
|
8017
8273
|
}>, z.ZodObject<{
|
|
8018
8274
|
taskId: z.ZodString;
|
|
@@ -8039,37 +8295,38 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
8039
8295
|
timestamp: z.ZodString;
|
|
8040
8296
|
}, "strip", z.ZodTypeAny, {
|
|
8041
8297
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed";
|
|
8298
|
+
eventId: string;
|
|
8042
8299
|
data: {
|
|
8043
|
-
type: "direct" | "group";
|
|
8044
8300
|
id: string;
|
|
8045
|
-
|
|
8301
|
+
} | {
|
|
8302
|
+
type: "direct" | "group";
|
|
8046
8303
|
updatedAt: string;
|
|
8047
8304
|
owner: string;
|
|
8048
|
-
} | {
|
|
8049
|
-
type: "human" | "agent";
|
|
8050
8305
|
id: string;
|
|
8051
8306
|
createdAt: string;
|
|
8307
|
+
} | {
|
|
8308
|
+
type: "human" | "agent";
|
|
8052
8309
|
chatId: string;
|
|
8053
8310
|
updatedAt: string;
|
|
8311
|
+
id: string;
|
|
8312
|
+
createdAt: string;
|
|
8054
8313
|
memberCode: string;
|
|
8055
8314
|
role: string;
|
|
8056
8315
|
}[] | {
|
|
8057
8316
|
id: string;
|
|
8058
|
-
|
|
8317
|
+
}[] | {
|
|
8318
|
+
description: string | null;
|
|
8059
8319
|
updatedAt: string;
|
|
8060
8320
|
name: string;
|
|
8061
|
-
description: string | null;
|
|
8062
8321
|
owner: string;
|
|
8063
|
-
|
|
8322
|
+
id: string;
|
|
8323
|
+
createdAt: string;
|
|
8064
8324
|
fullName: string;
|
|
8065
8325
|
defaultBranch: string;
|
|
8066
8326
|
isPrivate: boolean;
|
|
8327
|
+
url: string;
|
|
8067
8328
|
gitServerId: string;
|
|
8068
8329
|
} | {
|
|
8069
|
-
id: string;
|
|
8070
|
-
} | {
|
|
8071
|
-
id: string;
|
|
8072
|
-
}[] | {
|
|
8073
8330
|
taskId: string;
|
|
8074
8331
|
pullRequestNumber: number;
|
|
8075
8332
|
pullRequestUrl: string;
|
|
@@ -8077,41 +8334,41 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
8077
8334
|
newState: "open" | "closed" | "merged";
|
|
8078
8335
|
changedAt: string;
|
|
8079
8336
|
};
|
|
8080
|
-
eventId: string;
|
|
8081
8337
|
timestamp: string;
|
|
8082
8338
|
}, {
|
|
8083
8339
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed";
|
|
8340
|
+
eventId: string;
|
|
8084
8341
|
data: {
|
|
8085
|
-
type: "direct" | "group";
|
|
8086
8342
|
id: string;
|
|
8087
|
-
|
|
8343
|
+
} | {
|
|
8344
|
+
type: "direct" | "group";
|
|
8088
8345
|
updatedAt: string;
|
|
8089
8346
|
owner: string;
|
|
8090
|
-
} | {
|
|
8091
|
-
type: "human" | "agent";
|
|
8092
8347
|
id: string;
|
|
8093
8348
|
createdAt: string;
|
|
8349
|
+
} | {
|
|
8350
|
+
type: "human" | "agent";
|
|
8094
8351
|
chatId: string;
|
|
8095
8352
|
updatedAt: string;
|
|
8353
|
+
id: string;
|
|
8354
|
+
createdAt: string;
|
|
8096
8355
|
memberCode: string;
|
|
8097
8356
|
role: string;
|
|
8098
8357
|
}[] | {
|
|
8099
8358
|
id: string;
|
|
8100
|
-
|
|
8359
|
+
}[] | {
|
|
8360
|
+
description: string | null;
|
|
8101
8361
|
updatedAt: string;
|
|
8102
8362
|
name: string;
|
|
8103
|
-
description: string | null;
|
|
8104
8363
|
owner: string;
|
|
8105
|
-
|
|
8364
|
+
id: string;
|
|
8365
|
+
createdAt: string;
|
|
8106
8366
|
fullName: string;
|
|
8107
8367
|
defaultBranch: string;
|
|
8108
8368
|
isPrivate: boolean;
|
|
8369
|
+
url: string;
|
|
8109
8370
|
gitServerId: string;
|
|
8110
8371
|
} | {
|
|
8111
|
-
id: string;
|
|
8112
|
-
} | {
|
|
8113
|
-
id: string;
|
|
8114
|
-
}[] | {
|
|
8115
8372
|
taskId: string;
|
|
8116
8373
|
pullRequestNumber: number;
|
|
8117
8374
|
pullRequestUrl: string;
|
|
@@ -8119,11 +8376,10 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
8119
8376
|
newState: "open" | "closed" | "merged";
|
|
8120
8377
|
changedAt: string;
|
|
8121
8378
|
};
|
|
8122
|
-
eventId: string;
|
|
8123
8379
|
timestamp: string;
|
|
8124
8380
|
}>;
|
|
8125
8381
|
type SystemMessageEventData = z.infer<typeof SystemMessageSchema>;
|
|
8126
|
-
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskArtifactsUpdatedEventData | MergeRequestEventData | SystemMessageEventData | CreditExhaustedEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData;
|
|
8382
|
+
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerStatusRequestEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskArtifactsUpdatedEventData | MergeRequestEventData | SystemMessageEventData | CreditExhaustedEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData;
|
|
8127
8383
|
type EventMap = {
|
|
8128
8384
|
"app-alive": AppAliveEventData;
|
|
8129
8385
|
"api-server-alive": ApiServerAliveEventData;
|
|
@@ -8133,6 +8389,7 @@ type EventMap = {
|
|
|
8133
8389
|
"worker-alive": WorkerAliveEventData;
|
|
8134
8390
|
"worker-exit": WorkerExitEventData;
|
|
8135
8391
|
"worker-running": WorkerRunningEventData;
|
|
8392
|
+
"worker-status-request": WorkerStatusRequestEventData;
|
|
8136
8393
|
"create-task": CreateTaskEventData;
|
|
8137
8394
|
"resume-task": ResumeTaskEventData;
|
|
8138
8395
|
"cancel-task": CancelTaskEventData;
|
|
@@ -8227,6 +8484,7 @@ interface ClaudeAgentConfig {
|
|
|
8227
8484
|
path: string;
|
|
8228
8485
|
mode?: 'append' | 'replace';
|
|
8229
8486
|
};
|
|
8487
|
+
sdkMcpTools?: string[];
|
|
8230
8488
|
}
|
|
8231
8489
|
/**
|
|
8232
8490
|
* Complete agent configuration after loading
|
|
@@ -8356,6 +8614,7 @@ declare const ClaudeConfigSchema: z.ZodObject<{
|
|
|
8356
8614
|
path: string;
|
|
8357
8615
|
mode?: "append" | "replace" | undefined;
|
|
8358
8616
|
}>>;
|
|
8617
|
+
sdkMcpTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8359
8618
|
}, "strip", z.ZodTypeAny, {
|
|
8360
8619
|
model?: string | undefined;
|
|
8361
8620
|
fallbackModel?: string | undefined;
|
|
@@ -8373,6 +8632,7 @@ declare const ClaudeConfigSchema: z.ZodObject<{
|
|
|
8373
8632
|
path: string;
|
|
8374
8633
|
mode: "append" | "replace";
|
|
8375
8634
|
} | undefined;
|
|
8635
|
+
sdkMcpTools?: string[] | undefined;
|
|
8376
8636
|
}, {
|
|
8377
8637
|
model?: string | undefined;
|
|
8378
8638
|
fallbackModel?: string | undefined;
|
|
@@ -8390,6 +8650,7 @@ declare const ClaudeConfigSchema: z.ZodObject<{
|
|
|
8390
8650
|
path: string;
|
|
8391
8651
|
mode?: "append" | "replace" | undefined;
|
|
8392
8652
|
} | undefined;
|
|
8653
|
+
sdkMcpTools?: string[] | undefined;
|
|
8393
8654
|
}>;
|
|
8394
8655
|
|
|
8395
8656
|
/**
|
|
@@ -8531,5 +8792,5 @@ declare function encryptFileContent(fileContentBase64: string, dataKey: Uint8Arr
|
|
|
8531
8792
|
*/
|
|
8532
8793
|
declare function decryptFileContent(encryptedContent: string, dataKey: Uint8Array): string | null;
|
|
8533
8794
|
|
|
8534
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8535
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
8795
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8796
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|