@agentrix/shared 2.0.8 → 2.0.10
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 +16 -2
- package/dist/index.d.cts +1142 -548
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,12 +16,12 @@ declare const ApiErrorSchema: z.ZodObject<{
|
|
|
16
16
|
message: z.ZodString;
|
|
17
17
|
details: z.ZodOptional<z.ZodAny>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
error: string;
|
|
20
19
|
message: string;
|
|
20
|
+
error: string;
|
|
21
21
|
details?: any;
|
|
22
22
|
}, {
|
|
23
|
-
error: string;
|
|
24
23
|
message: string;
|
|
24
|
+
error: string;
|
|
25
25
|
details?: any;
|
|
26
26
|
}>;
|
|
27
27
|
type ApiError = z.infer<typeof ApiErrorSchema>;
|
|
@@ -35,14 +35,14 @@ declare const PaginatedResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) =
|
|
|
35
35
|
limit: z.ZodNumber;
|
|
36
36
|
items: z.ZodArray<T, "many">;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
limit: number;
|
|
38
39
|
total: number;
|
|
39
40
|
page: number;
|
|
40
|
-
limit: number;
|
|
41
41
|
items: T["_output"][];
|
|
42
42
|
}, {
|
|
43
|
+
limit: number;
|
|
43
44
|
total: number;
|
|
44
45
|
page: number;
|
|
45
|
-
limit: number;
|
|
46
46
|
items: T["_input"][];
|
|
47
47
|
}>;
|
|
48
48
|
/**
|
|
@@ -230,21 +230,21 @@ declare const SignatureAuthResponseSchema: z.ZodObject<{
|
|
|
230
230
|
avatar: string | null;
|
|
231
231
|
}>;
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
|
-
token: string;
|
|
234
233
|
user: {
|
|
235
234
|
id: string;
|
|
236
235
|
username: string;
|
|
237
236
|
email: string | null;
|
|
238
237
|
avatar: string | null;
|
|
239
238
|
};
|
|
240
|
-
}, {
|
|
241
239
|
token: string;
|
|
240
|
+
}, {
|
|
242
241
|
user: {
|
|
243
242
|
id: string;
|
|
244
243
|
username: string;
|
|
245
244
|
email: string | null;
|
|
246
245
|
avatar: string | null;
|
|
247
246
|
};
|
|
247
|
+
token: string;
|
|
248
248
|
}>;
|
|
249
249
|
type SignatureAuthResponse = z.infer<typeof SignatureAuthResponseSchema>;
|
|
250
250
|
/**
|
|
@@ -281,9 +281,9 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
281
281
|
username: string;
|
|
282
282
|
email: string | null;
|
|
283
283
|
avatar: string | null;
|
|
284
|
+
createdAt: string;
|
|
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;
|
|
@@ -295,9 +295,9 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
295
295
|
username: string;
|
|
296
296
|
email: string | null;
|
|
297
297
|
avatar: string | null;
|
|
298
|
+
createdAt: string;
|
|
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;
|
|
@@ -311,9 +311,9 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
311
311
|
username: string;
|
|
312
312
|
email: string | null;
|
|
313
313
|
avatar: string | null;
|
|
314
|
+
createdAt: string;
|
|
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;
|
|
@@ -327,9 +327,9 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
327
327
|
username: string;
|
|
328
328
|
email: string | null;
|
|
329
329
|
avatar: string | null;
|
|
330
|
+
createdAt: string;
|
|
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;
|
|
@@ -480,7 +480,6 @@ declare const OAuthCallbackResponseSchema: z.ZodObject<{
|
|
|
480
480
|
}[] | undefined;
|
|
481
481
|
}>;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
-
token: string;
|
|
484
483
|
user: {
|
|
485
484
|
id: string;
|
|
486
485
|
username: string;
|
|
@@ -493,8 +492,8 @@ declare const OAuthCallbackResponseSchema: z.ZodObject<{
|
|
|
493
492
|
avatarUrl: string;
|
|
494
493
|
}[] | undefined;
|
|
495
494
|
};
|
|
496
|
-
}, {
|
|
497
495
|
token: string;
|
|
496
|
+
}, {
|
|
498
497
|
user: {
|
|
499
498
|
id: string;
|
|
500
499
|
username: string;
|
|
@@ -507,6 +506,7 @@ declare const OAuthCallbackResponseSchema: z.ZodObject<{
|
|
|
507
506
|
avatarUrl: string;
|
|
508
507
|
}[] | undefined;
|
|
509
508
|
};
|
|
509
|
+
token: string;
|
|
510
510
|
}>;
|
|
511
511
|
type OAuthCallbackResponse = z.infer<typeof OAuthCallbackResponseSchema>;
|
|
512
512
|
/**
|
|
@@ -594,13 +594,13 @@ declare const MachineAuthAuthorizedResponseSchema: z.ZodObject<{
|
|
|
594
594
|
content: z.ZodString;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
596
|
id: string;
|
|
597
|
-
token: string;
|
|
598
597
|
state: "authorized";
|
|
598
|
+
token: string;
|
|
599
599
|
content: string;
|
|
600
600
|
}, {
|
|
601
601
|
id: string;
|
|
602
|
-
token: string;
|
|
603
602
|
state: "authorized";
|
|
603
|
+
token: string;
|
|
604
604
|
content: string;
|
|
605
605
|
}>;
|
|
606
606
|
type MachineAuthAuthorizedResponse = z.infer<typeof MachineAuthAuthorizedResponseSchema>;
|
|
@@ -621,9 +621,9 @@ type MachineApprovalStatusQuery = z.infer<typeof MachineApprovalStatusQuerySchem
|
|
|
621
621
|
declare const ApprovalStatusResponseSchema: z.ZodObject<{
|
|
622
622
|
status: z.ZodEnum<["pending", "approved"]>;
|
|
623
623
|
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
status: "
|
|
624
|
+
status: "approved" | "pending";
|
|
625
625
|
}, {
|
|
626
|
-
status: "
|
|
626
|
+
status: "approved" | "pending";
|
|
627
627
|
}>;
|
|
628
628
|
type ApprovalStatusResponse = z.infer<typeof ApprovalStatusResponseSchema>;
|
|
629
629
|
/**
|
|
@@ -751,9 +751,8 @@ declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
|
751
751
|
canMergePr: boolean;
|
|
752
752
|
}>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
success: true;
|
|
755
|
-
shareToken: string;
|
|
756
754
|
taskId: string;
|
|
755
|
+
success: true;
|
|
757
756
|
permissions: {
|
|
758
757
|
canSendMessage: boolean;
|
|
759
758
|
canCreatePr: boolean;
|
|
@@ -761,10 +760,10 @@ declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
|
761
760
|
canViewPr: boolean;
|
|
762
761
|
canMergePr: boolean;
|
|
763
762
|
};
|
|
764
|
-
}, {
|
|
765
|
-
success: true;
|
|
766
763
|
shareToken: string;
|
|
764
|
+
}, {
|
|
767
765
|
taskId: string;
|
|
766
|
+
success: true;
|
|
768
767
|
permissions: {
|
|
769
768
|
canSendMessage: boolean;
|
|
770
769
|
canCreatePr: boolean;
|
|
@@ -772,6 +771,7 @@ declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
|
772
771
|
canViewPr: boolean;
|
|
773
772
|
canMergePr: boolean;
|
|
774
773
|
};
|
|
774
|
+
shareToken: string;
|
|
775
775
|
}>;
|
|
776
776
|
type ShareAuthResponse = z.infer<typeof ShareAuthResponseSchema>;
|
|
777
777
|
|
|
@@ -800,11 +800,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
801
|
chatId: string;
|
|
802
802
|
message?: SDKUserMessage | undefined;
|
|
803
|
-
machineId?: string | undefined;
|
|
804
|
-
cloudId?: string | undefined;
|
|
805
803
|
encryptedMessage?: string | undefined;
|
|
806
804
|
cwd?: string | undefined;
|
|
807
805
|
forceUserCwd?: boolean | undefined;
|
|
806
|
+
machineId?: string | undefined;
|
|
807
|
+
cloudId?: string | undefined;
|
|
808
808
|
repositoryId?: string | undefined;
|
|
809
809
|
baseBranch?: string | undefined;
|
|
810
810
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -813,11 +813,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
813
813
|
}, {
|
|
814
814
|
chatId: string;
|
|
815
815
|
message?: SDKUserMessage | undefined;
|
|
816
|
-
machineId?: string | undefined;
|
|
817
|
-
cloudId?: string | undefined;
|
|
818
816
|
encryptedMessage?: string | undefined;
|
|
819
817
|
cwd?: string | undefined;
|
|
820
818
|
forceUserCwd?: boolean | undefined;
|
|
819
|
+
machineId?: string | undefined;
|
|
820
|
+
cloudId?: string | undefined;
|
|
821
821
|
repositoryId?: string | undefined;
|
|
822
822
|
baseBranch?: string | undefined;
|
|
823
823
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -826,11 +826,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
826
826
|
}>, {
|
|
827
827
|
chatId: string;
|
|
828
828
|
message?: SDKUserMessage | undefined;
|
|
829
|
-
machineId?: string | undefined;
|
|
830
|
-
cloudId?: string | undefined;
|
|
831
829
|
encryptedMessage?: string | undefined;
|
|
832
830
|
cwd?: string | undefined;
|
|
833
831
|
forceUserCwd?: boolean | undefined;
|
|
832
|
+
machineId?: string | undefined;
|
|
833
|
+
cloudId?: string | undefined;
|
|
834
834
|
repositoryId?: string | undefined;
|
|
835
835
|
baseBranch?: string | undefined;
|
|
836
836
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -839,11 +839,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
839
839
|
}, {
|
|
840
840
|
chatId: string;
|
|
841
841
|
message?: SDKUserMessage | undefined;
|
|
842
|
-
machineId?: string | undefined;
|
|
843
|
-
cloudId?: string | undefined;
|
|
844
842
|
encryptedMessage?: string | undefined;
|
|
845
843
|
cwd?: string | undefined;
|
|
846
844
|
forceUserCwd?: boolean | undefined;
|
|
845
|
+
machineId?: string | undefined;
|
|
846
|
+
cloudId?: string | undefined;
|
|
847
847
|
repositoryId?: string | undefined;
|
|
848
848
|
baseBranch?: string | undefined;
|
|
849
849
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -852,11 +852,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
852
852
|
}>, {
|
|
853
853
|
chatId: string;
|
|
854
854
|
message?: SDKUserMessage | undefined;
|
|
855
|
-
machineId?: string | undefined;
|
|
856
|
-
cloudId?: string | undefined;
|
|
857
855
|
encryptedMessage?: string | undefined;
|
|
858
856
|
cwd?: string | undefined;
|
|
859
857
|
forceUserCwd?: boolean | undefined;
|
|
858
|
+
machineId?: string | undefined;
|
|
859
|
+
cloudId?: string | undefined;
|
|
860
860
|
repositoryId?: string | undefined;
|
|
861
861
|
baseBranch?: string | undefined;
|
|
862
862
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -865,11 +865,11 @@ declare const StartTaskRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
865
865
|
}, {
|
|
866
866
|
chatId: string;
|
|
867
867
|
message?: SDKUserMessage | undefined;
|
|
868
|
-
machineId?: string | undefined;
|
|
869
|
-
cloudId?: string | undefined;
|
|
870
868
|
encryptedMessage?: string | undefined;
|
|
871
869
|
cwd?: string | undefined;
|
|
872
870
|
forceUserCwd?: boolean | undefined;
|
|
871
|
+
machineId?: string | undefined;
|
|
872
|
+
cloudId?: string | undefined;
|
|
873
873
|
repositoryId?: string | undefined;
|
|
874
874
|
baseBranch?: string | undefined;
|
|
875
875
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -893,11 +893,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
893
893
|
}, "strip", z.ZodTypeAny, {
|
|
894
894
|
chatId: string;
|
|
895
895
|
message?: SDKUserMessage | undefined;
|
|
896
|
-
machineId?: string | undefined;
|
|
897
|
-
cloudId?: string | undefined;
|
|
898
896
|
encryptedMessage?: string | undefined;
|
|
899
897
|
cwd?: string | undefined;
|
|
900
898
|
forceUserCwd?: boolean | undefined;
|
|
899
|
+
machineId?: string | undefined;
|
|
900
|
+
cloudId?: string | undefined;
|
|
901
901
|
repositoryId?: string | undefined;
|
|
902
902
|
baseBranch?: string | undefined;
|
|
903
903
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -906,11 +906,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
906
906
|
}, {
|
|
907
907
|
chatId: string;
|
|
908
908
|
message?: SDKUserMessage | undefined;
|
|
909
|
-
machineId?: string | undefined;
|
|
910
|
-
cloudId?: string | undefined;
|
|
911
909
|
encryptedMessage?: string | undefined;
|
|
912
910
|
cwd?: string | undefined;
|
|
913
911
|
forceUserCwd?: boolean | undefined;
|
|
912
|
+
machineId?: string | undefined;
|
|
913
|
+
cloudId?: string | undefined;
|
|
914
914
|
repositoryId?: string | undefined;
|
|
915
915
|
baseBranch?: string | undefined;
|
|
916
916
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -919,11 +919,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
919
919
|
}>, {
|
|
920
920
|
chatId: string;
|
|
921
921
|
message?: SDKUserMessage | undefined;
|
|
922
|
-
machineId?: string | undefined;
|
|
923
|
-
cloudId?: string | undefined;
|
|
924
922
|
encryptedMessage?: string | undefined;
|
|
925
923
|
cwd?: string | undefined;
|
|
926
924
|
forceUserCwd?: boolean | undefined;
|
|
925
|
+
machineId?: string | undefined;
|
|
926
|
+
cloudId?: string | undefined;
|
|
927
927
|
repositoryId?: string | undefined;
|
|
928
928
|
baseBranch?: string | undefined;
|
|
929
929
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -932,11 +932,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
932
932
|
}, {
|
|
933
933
|
chatId: string;
|
|
934
934
|
message?: SDKUserMessage | undefined;
|
|
935
|
-
machineId?: string | undefined;
|
|
936
|
-
cloudId?: string | undefined;
|
|
937
935
|
encryptedMessage?: string | undefined;
|
|
938
936
|
cwd?: string | undefined;
|
|
939
937
|
forceUserCwd?: boolean | undefined;
|
|
938
|
+
machineId?: string | undefined;
|
|
939
|
+
cloudId?: string | undefined;
|
|
940
940
|
repositoryId?: string | undefined;
|
|
941
941
|
baseBranch?: string | undefined;
|
|
942
942
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -945,11 +945,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
945
945
|
}>, {
|
|
946
946
|
chatId: string;
|
|
947
947
|
message?: SDKUserMessage | undefined;
|
|
948
|
-
machineId?: string | undefined;
|
|
949
|
-
cloudId?: string | undefined;
|
|
950
948
|
encryptedMessage?: string | undefined;
|
|
951
949
|
cwd?: string | undefined;
|
|
952
950
|
forceUserCwd?: boolean | undefined;
|
|
951
|
+
machineId?: string | undefined;
|
|
952
|
+
cloudId?: string | undefined;
|
|
953
953
|
repositoryId?: string | undefined;
|
|
954
954
|
baseBranch?: string | undefined;
|
|
955
955
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -958,11 +958,11 @@ declare const startTaskSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
958
958
|
}, {
|
|
959
959
|
chatId: string;
|
|
960
960
|
message?: SDKUserMessage | undefined;
|
|
961
|
-
machineId?: string | undefined;
|
|
962
|
-
cloudId?: string | undefined;
|
|
963
961
|
encryptedMessage?: string | undefined;
|
|
964
962
|
cwd?: string | undefined;
|
|
965
963
|
forceUserCwd?: boolean | undefined;
|
|
964
|
+
machineId?: string | undefined;
|
|
965
|
+
cloudId?: string | undefined;
|
|
966
966
|
repositoryId?: string | undefined;
|
|
967
967
|
baseBranch?: string | undefined;
|
|
968
968
|
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
@@ -988,34 +988,34 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
988
988
|
createdAt: z.ZodString;
|
|
989
989
|
updatedAt: z.ZodString;
|
|
990
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
|
-
createdAt: string;
|
|
992
|
-
state: string;
|
|
993
|
-
machineId: string | null;
|
|
994
|
-
cloudId: string | null;
|
|
995
|
-
userId: string;
|
|
996
|
-
taskId: string;
|
|
997
991
|
chatId: string;
|
|
998
992
|
forceUserCwd: boolean | null;
|
|
993
|
+
machineId: string | null;
|
|
994
|
+
cloudId: string | null;
|
|
999
995
|
repositoryId: string | null;
|
|
1000
996
|
baseBranch: string | null;
|
|
997
|
+
taskId: string;
|
|
1001
998
|
agentId: string;
|
|
999
|
+
userId: string;
|
|
1000
|
+
state: string;
|
|
1002
1001
|
title: string | null;
|
|
1003
1002
|
userCwd: string | null;
|
|
1003
|
+
createdAt: string;
|
|
1004
1004
|
updatedAt: string;
|
|
1005
1005
|
}, {
|
|
1006
|
-
createdAt: string;
|
|
1007
|
-
state: string;
|
|
1008
|
-
machineId: string | null;
|
|
1009
|
-
cloudId: string | null;
|
|
1010
|
-
userId: string;
|
|
1011
|
-
taskId: string;
|
|
1012
1006
|
chatId: string;
|
|
1013
1007
|
forceUserCwd: boolean | null;
|
|
1008
|
+
machineId: string | null;
|
|
1009
|
+
cloudId: string | null;
|
|
1014
1010
|
repositoryId: string | null;
|
|
1015
1011
|
baseBranch: string | null;
|
|
1012
|
+
taskId: string;
|
|
1016
1013
|
agentId: string;
|
|
1014
|
+
userId: string;
|
|
1015
|
+
state: string;
|
|
1017
1016
|
title: string | null;
|
|
1018
1017
|
userCwd: string | null;
|
|
1018
|
+
createdAt: string;
|
|
1019
1019
|
updatedAt: string;
|
|
1020
1020
|
}>;
|
|
1021
1021
|
type StartTaskResponse = z.infer<typeof StartTaskResponseSchema>;
|
|
@@ -1085,22 +1085,22 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1085
1085
|
updatedAt: z.ZodString;
|
|
1086
1086
|
}, "strip", z.ZodTypeAny, {
|
|
1087
1087
|
id: string;
|
|
1088
|
-
createdAt: string;
|
|
1089
|
-
state: string;
|
|
1090
|
-
machineId: string | null;
|
|
1091
|
-
cloudId: string | null;
|
|
1092
|
-
userId: string;
|
|
1093
1088
|
chatId: string;
|
|
1094
1089
|
cwd: string | null;
|
|
1095
1090
|
forceUserCwd: boolean | null;
|
|
1091
|
+
machineId: string | null;
|
|
1092
|
+
cloudId: string | null;
|
|
1096
1093
|
repositoryId: string | null;
|
|
1097
1094
|
baseBranch: string | null;
|
|
1098
1095
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1099
1096
|
dataEncryptionKey: string | null;
|
|
1100
1097
|
parentTaskId: string | null;
|
|
1101
1098
|
agentId: string;
|
|
1099
|
+
userId: string;
|
|
1100
|
+
state: string;
|
|
1102
1101
|
title: string | null;
|
|
1103
1102
|
userCwd: string | null;
|
|
1103
|
+
createdAt: string;
|
|
1104
1104
|
updatedAt: string;
|
|
1105
1105
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1106
1106
|
customTitle: string | null;
|
|
@@ -1122,22 +1122,22 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1122
1122
|
rootTaskId: string | null;
|
|
1123
1123
|
}, {
|
|
1124
1124
|
id: string;
|
|
1125
|
-
createdAt: string;
|
|
1126
|
-
state: string;
|
|
1127
|
-
machineId: string | null;
|
|
1128
|
-
cloudId: string | null;
|
|
1129
|
-
userId: string;
|
|
1130
1125
|
chatId: string;
|
|
1131
1126
|
cwd: string | null;
|
|
1132
1127
|
forceUserCwd: boolean | null;
|
|
1128
|
+
machineId: string | null;
|
|
1129
|
+
cloudId: string | null;
|
|
1133
1130
|
repositoryId: string | null;
|
|
1134
1131
|
baseBranch: string | null;
|
|
1135
1132
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1136
1133
|
dataEncryptionKey: string | null;
|
|
1137
1134
|
parentTaskId: string | null;
|
|
1138
1135
|
agentId: string;
|
|
1136
|
+
userId: string;
|
|
1137
|
+
state: string;
|
|
1139
1138
|
title: string | null;
|
|
1140
1139
|
userCwd: string | null;
|
|
1140
|
+
createdAt: string;
|
|
1141
1141
|
updatedAt: string;
|
|
1142
1142
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1143
1143
|
customTitle: string | null;
|
|
@@ -1168,15 +1168,15 @@ declare const ListTasksRequestSchema: z.ZodObject<{
|
|
|
1168
1168
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1169
1169
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1170
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
limit: number;
|
|
1172
1171
|
chatId: string;
|
|
1173
1172
|
archived: boolean;
|
|
1173
|
+
limit: number;
|
|
1174
1174
|
cursor?: string | undefined;
|
|
1175
1175
|
}, {
|
|
1176
1176
|
chatId: string;
|
|
1177
|
-
limit?: number | undefined;
|
|
1178
1177
|
archived?: unknown;
|
|
1179
1178
|
cursor?: string | undefined;
|
|
1179
|
+
limit?: number | undefined;
|
|
1180
1180
|
}>;
|
|
1181
1181
|
type ListTasksRequest = z.infer<typeof ListTasksRequestSchema>;
|
|
1182
1182
|
/**
|
|
@@ -1246,22 +1246,22 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1246
1246
|
updatedAt: z.ZodString;
|
|
1247
1247
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1248
|
id: string;
|
|
1249
|
-
createdAt: string;
|
|
1250
|
-
state: string;
|
|
1251
|
-
machineId: string | null;
|
|
1252
|
-
cloudId: string | null;
|
|
1253
|
-
userId: string;
|
|
1254
1249
|
chatId: string;
|
|
1255
1250
|
cwd: string | null;
|
|
1256
1251
|
forceUserCwd: boolean | null;
|
|
1252
|
+
machineId: string | null;
|
|
1253
|
+
cloudId: string | null;
|
|
1257
1254
|
repositoryId: string | null;
|
|
1258
1255
|
baseBranch: string | null;
|
|
1259
1256
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1260
1257
|
dataEncryptionKey: string | null;
|
|
1261
1258
|
parentTaskId: string | null;
|
|
1262
1259
|
agentId: string;
|
|
1260
|
+
userId: string;
|
|
1261
|
+
state: string;
|
|
1263
1262
|
title: string | null;
|
|
1264
1263
|
userCwd: string | null;
|
|
1264
|
+
createdAt: string;
|
|
1265
1265
|
updatedAt: string;
|
|
1266
1266
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1267
1267
|
customTitle: string | null;
|
|
@@ -1283,22 +1283,22 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1283
1283
|
rootTaskId: string | null;
|
|
1284
1284
|
}, {
|
|
1285
1285
|
id: string;
|
|
1286
|
-
createdAt: string;
|
|
1287
|
-
state: string;
|
|
1288
|
-
machineId: string | null;
|
|
1289
|
-
cloudId: string | null;
|
|
1290
|
-
userId: string;
|
|
1291
1286
|
chatId: string;
|
|
1292
1287
|
cwd: string | null;
|
|
1293
1288
|
forceUserCwd: boolean | null;
|
|
1289
|
+
machineId: string | null;
|
|
1290
|
+
cloudId: string | null;
|
|
1294
1291
|
repositoryId: string | null;
|
|
1295
1292
|
baseBranch: string | null;
|
|
1296
1293
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1297
1294
|
dataEncryptionKey: string | null;
|
|
1298
1295
|
parentTaskId: string | null;
|
|
1299
1296
|
agentId: string;
|
|
1297
|
+
userId: string;
|
|
1298
|
+
state: string;
|
|
1300
1299
|
title: string | null;
|
|
1301
1300
|
userCwd: string | null;
|
|
1301
|
+
createdAt: string;
|
|
1302
1302
|
updatedAt: string;
|
|
1303
1303
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1304
1304
|
customTitle: string | null;
|
|
@@ -1324,22 +1324,22 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1324
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
1325
|
tasks: {
|
|
1326
1326
|
id: string;
|
|
1327
|
-
createdAt: string;
|
|
1328
|
-
state: string;
|
|
1329
|
-
machineId: string | null;
|
|
1330
|
-
cloudId: string | null;
|
|
1331
|
-
userId: string;
|
|
1332
1327
|
chatId: string;
|
|
1333
1328
|
cwd: string | null;
|
|
1334
1329
|
forceUserCwd: boolean | null;
|
|
1330
|
+
machineId: string | null;
|
|
1331
|
+
cloudId: string | null;
|
|
1335
1332
|
repositoryId: string | null;
|
|
1336
1333
|
baseBranch: string | null;
|
|
1337
1334
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1338
1335
|
dataEncryptionKey: string | null;
|
|
1339
1336
|
parentTaskId: string | null;
|
|
1340
1337
|
agentId: string;
|
|
1338
|
+
userId: string;
|
|
1339
|
+
state: string;
|
|
1341
1340
|
title: string | null;
|
|
1342
1341
|
userCwd: string | null;
|
|
1342
|
+
createdAt: string;
|
|
1343
1343
|
updatedAt: string;
|
|
1344
1344
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1345
1345
|
customTitle: string | null;
|
|
@@ -1365,22 +1365,22 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1365
1365
|
}, {
|
|
1366
1366
|
tasks: {
|
|
1367
1367
|
id: string;
|
|
1368
|
-
createdAt: string;
|
|
1369
|
-
state: string;
|
|
1370
|
-
machineId: string | null;
|
|
1371
|
-
cloudId: string | null;
|
|
1372
|
-
userId: string;
|
|
1373
1368
|
chatId: string;
|
|
1374
1369
|
cwd: string | null;
|
|
1375
1370
|
forceUserCwd: boolean | null;
|
|
1371
|
+
machineId: string | null;
|
|
1372
|
+
cloudId: string | null;
|
|
1376
1373
|
repositoryId: string | null;
|
|
1377
1374
|
baseBranch: string | null;
|
|
1378
1375
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1379
1376
|
dataEncryptionKey: string | null;
|
|
1380
1377
|
parentTaskId: string | null;
|
|
1381
1378
|
agentId: string;
|
|
1379
|
+
userId: string;
|
|
1380
|
+
state: string;
|
|
1382
1381
|
title: string | null;
|
|
1383
1382
|
userCwd: string | null;
|
|
1383
|
+
createdAt: string;
|
|
1384
1384
|
updatedAt: string;
|
|
1385
1385
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1386
1386
|
customTitle: string | null;
|
|
@@ -1790,13 +1790,13 @@ declare const ApprovePrResponseSchema: z.ZodObject<{
|
|
|
1790
1790
|
taskId: z.ZodString;
|
|
1791
1791
|
pullRequestNumber: z.ZodNumber;
|
|
1792
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
success: boolean;
|
|
1794
1793
|
taskId: string;
|
|
1795
1794
|
pullRequestNumber: number;
|
|
1796
|
-
}, {
|
|
1797
1795
|
success: boolean;
|
|
1796
|
+
}, {
|
|
1798
1797
|
taskId: string;
|
|
1799
1798
|
pullRequestNumber: number;
|
|
1799
|
+
success: boolean;
|
|
1800
1800
|
}>;
|
|
1801
1801
|
type ApprovePrResponse = z.infer<typeof ApprovePrResponseSchema>;
|
|
1802
1802
|
/**
|
|
@@ -1924,22 +1924,22 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1924
1924
|
updatedAt: z.ZodString;
|
|
1925
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1926
1926
|
id: string;
|
|
1927
|
-
createdAt: string;
|
|
1928
|
-
state: string;
|
|
1929
|
-
machineId: string | null;
|
|
1930
|
-
cloudId: string | null;
|
|
1931
|
-
userId: string;
|
|
1932
1927
|
chatId: string;
|
|
1933
1928
|
cwd: string | null;
|
|
1934
1929
|
forceUserCwd: boolean | null;
|
|
1930
|
+
machineId: string | null;
|
|
1931
|
+
cloudId: string | null;
|
|
1935
1932
|
repositoryId: string | null;
|
|
1936
1933
|
baseBranch: string | null;
|
|
1937
1934
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1938
1935
|
dataEncryptionKey: string | null;
|
|
1939
1936
|
parentTaskId: string | null;
|
|
1940
1937
|
agentId: string;
|
|
1938
|
+
userId: string;
|
|
1939
|
+
state: string;
|
|
1941
1940
|
title: string | null;
|
|
1942
1941
|
userCwd: string | null;
|
|
1942
|
+
createdAt: string;
|
|
1943
1943
|
updatedAt: string;
|
|
1944
1944
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1945
1945
|
customTitle: string | null;
|
|
@@ -1961,22 +1961,22 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1961
1961
|
rootTaskId: string | null;
|
|
1962
1962
|
}, {
|
|
1963
1963
|
id: string;
|
|
1964
|
-
createdAt: string;
|
|
1965
|
-
state: string;
|
|
1966
|
-
machineId: string | null;
|
|
1967
|
-
cloudId: string | null;
|
|
1968
|
-
userId: string;
|
|
1969
1964
|
chatId: string;
|
|
1970
1965
|
cwd: string | null;
|
|
1971
1966
|
forceUserCwd: boolean | null;
|
|
1967
|
+
machineId: string | null;
|
|
1968
|
+
cloudId: string | null;
|
|
1972
1969
|
repositoryId: string | null;
|
|
1973
1970
|
baseBranch: string | null;
|
|
1974
1971
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
1975
1972
|
dataEncryptionKey: string | null;
|
|
1976
1973
|
parentTaskId: string | null;
|
|
1977
1974
|
agentId: string;
|
|
1975
|
+
userId: string;
|
|
1976
|
+
state: string;
|
|
1978
1977
|
title: string | null;
|
|
1979
1978
|
userCwd: string | null;
|
|
1979
|
+
createdAt: string;
|
|
1980
1980
|
updatedAt: string;
|
|
1981
1981
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1982
1982
|
customTitle: string | null;
|
|
@@ -2001,22 +2001,22 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2001
2001
|
success: boolean;
|
|
2002
2002
|
task: {
|
|
2003
2003
|
id: string;
|
|
2004
|
-
createdAt: string;
|
|
2005
|
-
state: string;
|
|
2006
|
-
machineId: string | null;
|
|
2007
|
-
cloudId: string | null;
|
|
2008
|
-
userId: string;
|
|
2009
2004
|
chatId: string;
|
|
2010
2005
|
cwd: string | null;
|
|
2011
2006
|
forceUserCwd: boolean | null;
|
|
2007
|
+
machineId: string | null;
|
|
2008
|
+
cloudId: string | null;
|
|
2012
2009
|
repositoryId: string | null;
|
|
2013
2010
|
baseBranch: string | null;
|
|
2014
2011
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2015
2012
|
dataEncryptionKey: string | null;
|
|
2016
2013
|
parentTaskId: string | null;
|
|
2017
2014
|
agentId: string;
|
|
2015
|
+
userId: string;
|
|
2016
|
+
state: string;
|
|
2018
2017
|
title: string | null;
|
|
2019
2018
|
userCwd: string | null;
|
|
2019
|
+
createdAt: string;
|
|
2020
2020
|
updatedAt: string;
|
|
2021
2021
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2022
2022
|
customTitle: string | null;
|
|
@@ -2041,22 +2041,22 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2041
2041
|
success: boolean;
|
|
2042
2042
|
task: {
|
|
2043
2043
|
id: string;
|
|
2044
|
-
createdAt: string;
|
|
2045
|
-
state: string;
|
|
2046
|
-
machineId: string | null;
|
|
2047
|
-
cloudId: string | null;
|
|
2048
|
-
userId: string;
|
|
2049
2044
|
chatId: string;
|
|
2050
2045
|
cwd: string | null;
|
|
2051
2046
|
forceUserCwd: boolean | null;
|
|
2047
|
+
machineId: string | null;
|
|
2048
|
+
cloudId: string | null;
|
|
2052
2049
|
repositoryId: string | null;
|
|
2053
2050
|
baseBranch: string | null;
|
|
2054
2051
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2055
2052
|
dataEncryptionKey: string | null;
|
|
2056
2053
|
parentTaskId: string | null;
|
|
2057
2054
|
agentId: string;
|
|
2055
|
+
userId: string;
|
|
2056
|
+
state: string;
|
|
2058
2057
|
title: string | null;
|
|
2059
2058
|
userCwd: string | null;
|
|
2059
|
+
createdAt: string;
|
|
2060
2060
|
updatedAt: string;
|
|
2061
2061
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2062
2062
|
customTitle: string | null;
|
|
@@ -2152,22 +2152,22 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2152
2152
|
updatedAt: z.ZodString;
|
|
2153
2153
|
}, "strip", z.ZodTypeAny, {
|
|
2154
2154
|
id: string;
|
|
2155
|
-
createdAt: string;
|
|
2156
|
-
state: string;
|
|
2157
|
-
machineId: string | null;
|
|
2158
|
-
cloudId: string | null;
|
|
2159
|
-
userId: string;
|
|
2160
2155
|
chatId: string;
|
|
2161
2156
|
cwd: string | null;
|
|
2162
2157
|
forceUserCwd: boolean | null;
|
|
2158
|
+
machineId: string | null;
|
|
2159
|
+
cloudId: string | null;
|
|
2163
2160
|
repositoryId: string | null;
|
|
2164
2161
|
baseBranch: string | null;
|
|
2165
2162
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2166
2163
|
dataEncryptionKey: string | null;
|
|
2167
2164
|
parentTaskId: string | null;
|
|
2168
2165
|
agentId: string;
|
|
2166
|
+
userId: string;
|
|
2167
|
+
state: string;
|
|
2169
2168
|
title: string | null;
|
|
2170
2169
|
userCwd: string | null;
|
|
2170
|
+
createdAt: string;
|
|
2171
2171
|
updatedAt: string;
|
|
2172
2172
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2173
2173
|
customTitle: string | null;
|
|
@@ -2189,22 +2189,22 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2189
2189
|
rootTaskId: string | null;
|
|
2190
2190
|
}, {
|
|
2191
2191
|
id: string;
|
|
2192
|
-
createdAt: string;
|
|
2193
|
-
state: string;
|
|
2194
|
-
machineId: string | null;
|
|
2195
|
-
cloudId: string | null;
|
|
2196
|
-
userId: string;
|
|
2197
2192
|
chatId: string;
|
|
2198
2193
|
cwd: string | null;
|
|
2199
2194
|
forceUserCwd: boolean | null;
|
|
2195
|
+
machineId: string | null;
|
|
2196
|
+
cloudId: string | null;
|
|
2200
2197
|
repositoryId: string | null;
|
|
2201
2198
|
baseBranch: string | null;
|
|
2202
2199
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2203
2200
|
dataEncryptionKey: string | null;
|
|
2204
2201
|
parentTaskId: string | null;
|
|
2205
2202
|
agentId: string;
|
|
2203
|
+
userId: string;
|
|
2204
|
+
state: string;
|
|
2206
2205
|
title: string | null;
|
|
2207
2206
|
userCwd: string | null;
|
|
2207
|
+
createdAt: string;
|
|
2208
2208
|
updatedAt: string;
|
|
2209
2209
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2210
2210
|
customTitle: string | null;
|
|
@@ -2229,22 +2229,22 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2229
2229
|
success: boolean;
|
|
2230
2230
|
task: {
|
|
2231
2231
|
id: string;
|
|
2232
|
-
createdAt: string;
|
|
2233
|
-
state: string;
|
|
2234
|
-
machineId: string | null;
|
|
2235
|
-
cloudId: string | null;
|
|
2236
|
-
userId: string;
|
|
2237
2232
|
chatId: string;
|
|
2238
2233
|
cwd: string | null;
|
|
2239
2234
|
forceUserCwd: boolean | null;
|
|
2235
|
+
machineId: string | null;
|
|
2236
|
+
cloudId: string | null;
|
|
2240
2237
|
repositoryId: string | null;
|
|
2241
2238
|
baseBranch: string | null;
|
|
2242
2239
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2243
2240
|
dataEncryptionKey: string | null;
|
|
2244
2241
|
parentTaskId: string | null;
|
|
2245
2242
|
agentId: string;
|
|
2243
|
+
userId: string;
|
|
2244
|
+
state: string;
|
|
2246
2245
|
title: string | null;
|
|
2247
2246
|
userCwd: string | null;
|
|
2247
|
+
createdAt: string;
|
|
2248
2248
|
updatedAt: string;
|
|
2249
2249
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2250
2250
|
customTitle: string | null;
|
|
@@ -2269,22 +2269,22 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2269
2269
|
success: boolean;
|
|
2270
2270
|
task: {
|
|
2271
2271
|
id: string;
|
|
2272
|
-
createdAt: string;
|
|
2273
|
-
state: string;
|
|
2274
|
-
machineId: string | null;
|
|
2275
|
-
cloudId: string | null;
|
|
2276
|
-
userId: string;
|
|
2277
2272
|
chatId: string;
|
|
2278
2273
|
cwd: string | null;
|
|
2279
2274
|
forceUserCwd: boolean | null;
|
|
2275
|
+
machineId: string | null;
|
|
2276
|
+
cloudId: string | null;
|
|
2280
2277
|
repositoryId: string | null;
|
|
2281
2278
|
baseBranch: string | null;
|
|
2282
2279
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2283
2280
|
dataEncryptionKey: string | null;
|
|
2284
2281
|
parentTaskId: string | null;
|
|
2285
2282
|
agentId: string;
|
|
2283
|
+
userId: string;
|
|
2284
|
+
state: string;
|
|
2286
2285
|
title: string | null;
|
|
2287
2286
|
userCwd: string | null;
|
|
2287
|
+
createdAt: string;
|
|
2288
2288
|
updatedAt: string;
|
|
2289
2289
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2290
2290
|
customTitle: string | null;
|
|
@@ -2386,22 +2386,22 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
2386
2386
|
updatedAt: z.ZodString;
|
|
2387
2387
|
}, "strip", z.ZodTypeAny, {
|
|
2388
2388
|
id: string;
|
|
2389
|
-
createdAt: string;
|
|
2390
|
-
state: string;
|
|
2391
|
-
machineId: string | null;
|
|
2392
|
-
cloudId: string | null;
|
|
2393
|
-
userId: string;
|
|
2394
2389
|
chatId: string;
|
|
2395
2390
|
cwd: string | null;
|
|
2396
2391
|
forceUserCwd: boolean | null;
|
|
2392
|
+
machineId: string | null;
|
|
2393
|
+
cloudId: string | null;
|
|
2397
2394
|
repositoryId: string | null;
|
|
2398
2395
|
baseBranch: string | null;
|
|
2399
2396
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2400
2397
|
dataEncryptionKey: string | null;
|
|
2401
2398
|
parentTaskId: string | null;
|
|
2402
2399
|
agentId: string;
|
|
2400
|
+
userId: string;
|
|
2401
|
+
state: string;
|
|
2403
2402
|
title: string | null;
|
|
2404
2403
|
userCwd: string | null;
|
|
2404
|
+
createdAt: string;
|
|
2405
2405
|
updatedAt: string;
|
|
2406
2406
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2407
2407
|
customTitle: string | null;
|
|
@@ -2423,22 +2423,22 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
2423
2423
|
rootTaskId: string | null;
|
|
2424
2424
|
}, {
|
|
2425
2425
|
id: string;
|
|
2426
|
-
createdAt: string;
|
|
2427
|
-
state: string;
|
|
2428
|
-
machineId: string | null;
|
|
2429
|
-
cloudId: string | null;
|
|
2430
|
-
userId: string;
|
|
2431
2426
|
chatId: string;
|
|
2432
2427
|
cwd: string | null;
|
|
2433
2428
|
forceUserCwd: boolean | null;
|
|
2429
|
+
machineId: string | null;
|
|
2430
|
+
cloudId: string | null;
|
|
2434
2431
|
repositoryId: string | null;
|
|
2435
2432
|
baseBranch: string | null;
|
|
2436
2433
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2437
2434
|
dataEncryptionKey: string | null;
|
|
2438
2435
|
parentTaskId: string | null;
|
|
2439
2436
|
agentId: string;
|
|
2437
|
+
userId: string;
|
|
2438
|
+
state: string;
|
|
2440
2439
|
title: string | null;
|
|
2441
2440
|
userCwd: string | null;
|
|
2441
|
+
createdAt: string;
|
|
2442
2442
|
updatedAt: string;
|
|
2443
2443
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2444
2444
|
customTitle: string | null;
|
|
@@ -2463,22 +2463,22 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
2463
2463
|
success: boolean;
|
|
2464
2464
|
task: {
|
|
2465
2465
|
id: string;
|
|
2466
|
-
createdAt: string;
|
|
2467
|
-
state: string;
|
|
2468
|
-
machineId: string | null;
|
|
2469
|
-
cloudId: string | null;
|
|
2470
|
-
userId: string;
|
|
2471
2466
|
chatId: string;
|
|
2472
2467
|
cwd: string | null;
|
|
2473
2468
|
forceUserCwd: boolean | null;
|
|
2469
|
+
machineId: string | null;
|
|
2470
|
+
cloudId: string | null;
|
|
2474
2471
|
repositoryId: string | null;
|
|
2475
2472
|
baseBranch: string | null;
|
|
2476
2473
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2477
2474
|
dataEncryptionKey: string | null;
|
|
2478
2475
|
parentTaskId: string | null;
|
|
2479
2476
|
agentId: string;
|
|
2477
|
+
userId: string;
|
|
2478
|
+
state: string;
|
|
2480
2479
|
title: string | null;
|
|
2481
2480
|
userCwd: string | null;
|
|
2481
|
+
createdAt: string;
|
|
2482
2482
|
updatedAt: string;
|
|
2483
2483
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2484
2484
|
customTitle: string | null;
|
|
@@ -2503,22 +2503,22 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
2503
2503
|
success: boolean;
|
|
2504
2504
|
task: {
|
|
2505
2505
|
id: string;
|
|
2506
|
-
createdAt: string;
|
|
2507
|
-
state: string;
|
|
2508
|
-
machineId: string | null;
|
|
2509
|
-
cloudId: string | null;
|
|
2510
|
-
userId: string;
|
|
2511
2506
|
chatId: string;
|
|
2512
2507
|
cwd: string | null;
|
|
2513
2508
|
forceUserCwd: boolean | null;
|
|
2509
|
+
machineId: string | null;
|
|
2510
|
+
cloudId: string | null;
|
|
2514
2511
|
repositoryId: string | null;
|
|
2515
2512
|
baseBranch: string | null;
|
|
2516
2513
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2517
2514
|
dataEncryptionKey: string | null;
|
|
2518
2515
|
parentTaskId: string | null;
|
|
2519
2516
|
agentId: string;
|
|
2517
|
+
userId: string;
|
|
2518
|
+
state: string;
|
|
2520
2519
|
title: string | null;
|
|
2521
2520
|
userCwd: string | null;
|
|
2521
|
+
createdAt: string;
|
|
2522
2522
|
updatedAt: string;
|
|
2523
2523
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2524
2524
|
customTitle: string | null;
|
|
@@ -2561,11 +2561,11 @@ declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
|
2561
2561
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
2562
2562
|
}, "strip", z.ZodTypeAny, {
|
|
2563
2563
|
message: SDKUserMessage | SDKAssistantMessage;
|
|
2564
|
-
target: "
|
|
2564
|
+
target: "agent" | "user";
|
|
2565
2565
|
fromTaskId?: string | undefined;
|
|
2566
2566
|
}, {
|
|
2567
2567
|
message: SDKUserMessage | SDKAssistantMessage;
|
|
2568
|
-
target: "
|
|
2568
|
+
target: "agent" | "user";
|
|
2569
2569
|
fromTaskId?: string | undefined;
|
|
2570
2570
|
}>;
|
|
2571
2571
|
type SendTaskMessageRequest = z.infer<typeof SendTaskMessageRequestSchema>;
|
|
@@ -2665,18 +2665,18 @@ declare const ChatMemberSchema: z.ZodObject<{
|
|
|
2665
2665
|
createdAt: z.ZodString;
|
|
2666
2666
|
updatedAt: z.ZodString;
|
|
2667
2667
|
}, "strip", z.ZodTypeAny, {
|
|
2668
|
-
type: "agent" | "human";
|
|
2669
2668
|
id: string;
|
|
2670
|
-
|
|
2669
|
+
type: "agent" | "human";
|
|
2671
2670
|
chatId: string;
|
|
2671
|
+
createdAt: string;
|
|
2672
2672
|
updatedAt: string;
|
|
2673
2673
|
memberCode: string;
|
|
2674
2674
|
role: string;
|
|
2675
2675
|
}, {
|
|
2676
|
-
type: "agent" | "human";
|
|
2677
2676
|
id: string;
|
|
2678
|
-
|
|
2677
|
+
type: "agent" | "human";
|
|
2679
2678
|
chatId: string;
|
|
2679
|
+
createdAt: string;
|
|
2680
2680
|
updatedAt: string;
|
|
2681
2681
|
memberCode: string;
|
|
2682
2682
|
role: string;
|
|
@@ -2698,15 +2698,15 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
2698
2698
|
createdAt: z.ZodString;
|
|
2699
2699
|
updatedAt: z.ZodString;
|
|
2700
2700
|
}, "strip", z.ZodTypeAny, {
|
|
2701
|
-
type: "direct" | "group";
|
|
2702
2701
|
id: string;
|
|
2702
|
+
type: "direct" | "group";
|
|
2703
2703
|
createdAt: string;
|
|
2704
2704
|
updatedAt: string;
|
|
2705
2705
|
owner: string;
|
|
2706
2706
|
title?: string | null | undefined;
|
|
2707
2707
|
}, {
|
|
2708
|
-
type: "direct" | "group";
|
|
2709
2708
|
id: string;
|
|
2709
|
+
type: "direct" | "group";
|
|
2710
2710
|
createdAt: string;
|
|
2711
2711
|
updatedAt: string;
|
|
2712
2712
|
owner: string;
|
|
@@ -2733,49 +2733,49 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
2733
2733
|
createdAt: z.ZodString;
|
|
2734
2734
|
updatedAt: z.ZodString;
|
|
2735
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2736
|
-
type: "agent" | "human";
|
|
2737
2736
|
id: string;
|
|
2738
|
-
|
|
2737
|
+
type: "agent" | "human";
|
|
2739
2738
|
chatId: string;
|
|
2739
|
+
createdAt: string;
|
|
2740
2740
|
updatedAt: string;
|
|
2741
2741
|
memberCode: string;
|
|
2742
2742
|
role: string;
|
|
2743
2743
|
}, {
|
|
2744
|
-
type: "agent" | "human";
|
|
2745
2744
|
id: string;
|
|
2746
|
-
|
|
2745
|
+
type: "agent" | "human";
|
|
2747
2746
|
chatId: string;
|
|
2747
|
+
createdAt: string;
|
|
2748
2748
|
updatedAt: string;
|
|
2749
2749
|
memberCode: string;
|
|
2750
2750
|
role: string;
|
|
2751
2751
|
}>, "many">;
|
|
2752
2752
|
}, "strip", z.ZodTypeAny, {
|
|
2753
|
-
type: "direct" | "group";
|
|
2754
2753
|
id: string;
|
|
2754
|
+
type: "direct" | "group";
|
|
2755
2755
|
createdAt: string;
|
|
2756
2756
|
updatedAt: string;
|
|
2757
2757
|
owner: string;
|
|
2758
2758
|
members: {
|
|
2759
|
-
type: "agent" | "human";
|
|
2760
2759
|
id: string;
|
|
2761
|
-
|
|
2760
|
+
type: "agent" | "human";
|
|
2762
2761
|
chatId: string;
|
|
2762
|
+
createdAt: string;
|
|
2763
2763
|
updatedAt: string;
|
|
2764
2764
|
memberCode: string;
|
|
2765
2765
|
role: string;
|
|
2766
2766
|
}[];
|
|
2767
2767
|
title?: string | null | undefined;
|
|
2768
2768
|
}, {
|
|
2769
|
-
type: "direct" | "group";
|
|
2770
2769
|
id: string;
|
|
2770
|
+
type: "direct" | "group";
|
|
2771
2771
|
createdAt: string;
|
|
2772
2772
|
updatedAt: string;
|
|
2773
2773
|
owner: string;
|
|
2774
2774
|
members: {
|
|
2775
|
-
type: "agent" | "human";
|
|
2776
2775
|
id: string;
|
|
2777
|
-
|
|
2776
|
+
type: "agent" | "human";
|
|
2778
2777
|
chatId: string;
|
|
2778
|
+
createdAt: string;
|
|
2779
2779
|
updatedAt: string;
|
|
2780
2780
|
memberCode: string;
|
|
2781
2781
|
role: string;
|
|
@@ -2846,49 +2846,49 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
2846
2846
|
createdAt: z.ZodString;
|
|
2847
2847
|
updatedAt: z.ZodString;
|
|
2848
2848
|
}, "strip", z.ZodTypeAny, {
|
|
2849
|
-
type: "agent" | "human";
|
|
2850
2849
|
id: string;
|
|
2851
|
-
|
|
2850
|
+
type: "agent" | "human";
|
|
2852
2851
|
chatId: string;
|
|
2852
|
+
createdAt: string;
|
|
2853
2853
|
updatedAt: string;
|
|
2854
2854
|
memberCode: string;
|
|
2855
2855
|
role: string;
|
|
2856
2856
|
}, {
|
|
2857
|
-
type: "agent" | "human";
|
|
2858
2857
|
id: string;
|
|
2859
|
-
|
|
2858
|
+
type: "agent" | "human";
|
|
2860
2859
|
chatId: string;
|
|
2860
|
+
createdAt: string;
|
|
2861
2861
|
updatedAt: string;
|
|
2862
2862
|
memberCode: string;
|
|
2863
2863
|
role: string;
|
|
2864
2864
|
}>, "many">;
|
|
2865
2865
|
}, "strip", z.ZodTypeAny, {
|
|
2866
|
-
type: "direct" | "group";
|
|
2867
2866
|
id: string;
|
|
2867
|
+
type: "direct" | "group";
|
|
2868
2868
|
createdAt: string;
|
|
2869
2869
|
updatedAt: string;
|
|
2870
2870
|
owner: string;
|
|
2871
2871
|
members: {
|
|
2872
|
-
type: "agent" | "human";
|
|
2873
2872
|
id: string;
|
|
2874
|
-
|
|
2873
|
+
type: "agent" | "human";
|
|
2875
2874
|
chatId: string;
|
|
2875
|
+
createdAt: string;
|
|
2876
2876
|
updatedAt: string;
|
|
2877
2877
|
memberCode: string;
|
|
2878
2878
|
role: string;
|
|
2879
2879
|
}[];
|
|
2880
2880
|
title?: string | null | undefined;
|
|
2881
2881
|
}, {
|
|
2882
|
-
type: "direct" | "group";
|
|
2883
2882
|
id: string;
|
|
2883
|
+
type: "direct" | "group";
|
|
2884
2884
|
createdAt: string;
|
|
2885
2885
|
updatedAt: string;
|
|
2886
2886
|
owner: string;
|
|
2887
2887
|
members: {
|
|
2888
|
-
type: "agent" | "human";
|
|
2889
2888
|
id: string;
|
|
2890
|
-
|
|
2889
|
+
type: "agent" | "human";
|
|
2891
2890
|
chatId: string;
|
|
2891
|
+
createdAt: string;
|
|
2892
2892
|
updatedAt: string;
|
|
2893
2893
|
memberCode: string;
|
|
2894
2894
|
role: string;
|
|
@@ -2934,49 +2934,49 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2934
2934
|
createdAt: z.ZodString;
|
|
2935
2935
|
updatedAt: z.ZodString;
|
|
2936
2936
|
}, "strip", z.ZodTypeAny, {
|
|
2937
|
-
type: "agent" | "human";
|
|
2938
2937
|
id: string;
|
|
2939
|
-
|
|
2938
|
+
type: "agent" | "human";
|
|
2940
2939
|
chatId: string;
|
|
2940
|
+
createdAt: string;
|
|
2941
2941
|
updatedAt: string;
|
|
2942
2942
|
memberCode: string;
|
|
2943
2943
|
role: string;
|
|
2944
2944
|
}, {
|
|
2945
|
-
type: "agent" | "human";
|
|
2946
2945
|
id: string;
|
|
2947
|
-
|
|
2946
|
+
type: "agent" | "human";
|
|
2948
2947
|
chatId: string;
|
|
2948
|
+
createdAt: string;
|
|
2949
2949
|
updatedAt: string;
|
|
2950
2950
|
memberCode: string;
|
|
2951
2951
|
role: string;
|
|
2952
2952
|
}>, "many">;
|
|
2953
2953
|
}, "strip", z.ZodTypeAny, {
|
|
2954
|
-
type: "direct" | "group";
|
|
2955
2954
|
id: string;
|
|
2955
|
+
type: "direct" | "group";
|
|
2956
2956
|
createdAt: string;
|
|
2957
2957
|
updatedAt: string;
|
|
2958
2958
|
owner: string;
|
|
2959
2959
|
members: {
|
|
2960
|
-
type: "agent" | "human";
|
|
2961
2960
|
id: string;
|
|
2962
|
-
|
|
2961
|
+
type: "agent" | "human";
|
|
2963
2962
|
chatId: string;
|
|
2963
|
+
createdAt: string;
|
|
2964
2964
|
updatedAt: string;
|
|
2965
2965
|
memberCode: string;
|
|
2966
2966
|
role: string;
|
|
2967
2967
|
}[];
|
|
2968
2968
|
title?: string | null | undefined;
|
|
2969
2969
|
}, {
|
|
2970
|
-
type: "direct" | "group";
|
|
2971
2970
|
id: string;
|
|
2971
|
+
type: "direct" | "group";
|
|
2972
2972
|
createdAt: string;
|
|
2973
2973
|
updatedAt: string;
|
|
2974
2974
|
owner: string;
|
|
2975
2975
|
members: {
|
|
2976
|
-
type: "agent" | "human";
|
|
2977
2976
|
id: string;
|
|
2978
|
-
|
|
2977
|
+
type: "agent" | "human";
|
|
2979
2978
|
chatId: string;
|
|
2979
|
+
createdAt: string;
|
|
2980
2980
|
updatedAt: string;
|
|
2981
2981
|
memberCode: string;
|
|
2982
2982
|
role: string;
|
|
@@ -2987,16 +2987,16 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2987
2987
|
}, "strip", z.ZodTypeAny, {
|
|
2988
2988
|
hasMore: boolean;
|
|
2989
2989
|
chats: {
|
|
2990
|
-
type: "direct" | "group";
|
|
2991
2990
|
id: string;
|
|
2991
|
+
type: "direct" | "group";
|
|
2992
2992
|
createdAt: string;
|
|
2993
2993
|
updatedAt: string;
|
|
2994
2994
|
owner: string;
|
|
2995
2995
|
members: {
|
|
2996
|
-
type: "agent" | "human";
|
|
2997
2996
|
id: string;
|
|
2998
|
-
|
|
2997
|
+
type: "agent" | "human";
|
|
2999
2998
|
chatId: string;
|
|
2999
|
+
createdAt: string;
|
|
3000
3000
|
updatedAt: string;
|
|
3001
3001
|
memberCode: string;
|
|
3002
3002
|
role: string;
|
|
@@ -3006,16 +3006,16 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
3006
3006
|
}, {
|
|
3007
3007
|
hasMore: boolean;
|
|
3008
3008
|
chats: {
|
|
3009
|
-
type: "direct" | "group";
|
|
3010
3009
|
id: string;
|
|
3010
|
+
type: "direct" | "group";
|
|
3011
3011
|
createdAt: string;
|
|
3012
3012
|
updatedAt: string;
|
|
3013
3013
|
owner: string;
|
|
3014
3014
|
members: {
|
|
3015
|
-
type: "agent" | "human";
|
|
3016
3015
|
id: string;
|
|
3017
|
-
|
|
3016
|
+
type: "agent" | "human";
|
|
3018
3017
|
chatId: string;
|
|
3018
|
+
createdAt: string;
|
|
3019
3019
|
updatedAt: string;
|
|
3020
3020
|
memberCode: string;
|
|
3021
3021
|
role: string;
|
|
@@ -3044,49 +3044,49 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
3044
3044
|
createdAt: z.ZodString;
|
|
3045
3045
|
updatedAt: z.ZodString;
|
|
3046
3046
|
}, "strip", z.ZodTypeAny, {
|
|
3047
|
-
type: "agent" | "human";
|
|
3048
3047
|
id: string;
|
|
3049
|
-
|
|
3048
|
+
type: "agent" | "human";
|
|
3050
3049
|
chatId: string;
|
|
3050
|
+
createdAt: string;
|
|
3051
3051
|
updatedAt: string;
|
|
3052
3052
|
memberCode: string;
|
|
3053
3053
|
role: string;
|
|
3054
3054
|
}, {
|
|
3055
|
-
type: "agent" | "human";
|
|
3056
3055
|
id: string;
|
|
3057
|
-
|
|
3056
|
+
type: "agent" | "human";
|
|
3058
3057
|
chatId: string;
|
|
3058
|
+
createdAt: string;
|
|
3059
3059
|
updatedAt: string;
|
|
3060
3060
|
memberCode: string;
|
|
3061
3061
|
role: string;
|
|
3062
3062
|
}>, "many">;
|
|
3063
3063
|
}, "strip", z.ZodTypeAny, {
|
|
3064
|
-
type: "direct" | "group";
|
|
3065
3064
|
id: string;
|
|
3065
|
+
type: "direct" | "group";
|
|
3066
3066
|
createdAt: string;
|
|
3067
3067
|
updatedAt: string;
|
|
3068
3068
|
owner: string;
|
|
3069
3069
|
members: {
|
|
3070
|
-
type: "agent" | "human";
|
|
3071
3070
|
id: string;
|
|
3072
|
-
|
|
3071
|
+
type: "agent" | "human";
|
|
3073
3072
|
chatId: string;
|
|
3073
|
+
createdAt: string;
|
|
3074
3074
|
updatedAt: string;
|
|
3075
3075
|
memberCode: string;
|
|
3076
3076
|
role: string;
|
|
3077
3077
|
}[];
|
|
3078
3078
|
title?: string | null | undefined;
|
|
3079
3079
|
}, {
|
|
3080
|
-
type: "direct" | "group";
|
|
3081
3080
|
id: string;
|
|
3081
|
+
type: "direct" | "group";
|
|
3082
3082
|
createdAt: string;
|
|
3083
3083
|
updatedAt: string;
|
|
3084
3084
|
owner: string;
|
|
3085
3085
|
members: {
|
|
3086
|
-
type: "agent" | "human";
|
|
3087
3086
|
id: string;
|
|
3088
|
-
|
|
3087
|
+
type: "agent" | "human";
|
|
3089
3088
|
chatId: string;
|
|
3089
|
+
createdAt: string;
|
|
3090
3090
|
updatedAt: string;
|
|
3091
3091
|
memberCode: string;
|
|
3092
3092
|
role: string;
|
|
@@ -3107,38 +3107,38 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
3107
3107
|
createdAt: z.ZodString;
|
|
3108
3108
|
updatedAt: z.ZodString;
|
|
3109
3109
|
}, "strip", z.ZodTypeAny, {
|
|
3110
|
-
type: "agent" | "human";
|
|
3111
3110
|
id: string;
|
|
3112
|
-
|
|
3111
|
+
type: "agent" | "human";
|
|
3113
3112
|
chatId: string;
|
|
3113
|
+
createdAt: string;
|
|
3114
3114
|
updatedAt: string;
|
|
3115
3115
|
memberCode: string;
|
|
3116
3116
|
role: string;
|
|
3117
3117
|
}, {
|
|
3118
|
-
type: "agent" | "human";
|
|
3119
3118
|
id: string;
|
|
3120
|
-
|
|
3119
|
+
type: "agent" | "human";
|
|
3121
3120
|
chatId: string;
|
|
3121
|
+
createdAt: string;
|
|
3122
3122
|
updatedAt: string;
|
|
3123
3123
|
memberCode: string;
|
|
3124
3124
|
role: string;
|
|
3125
3125
|
}>, "many">;
|
|
3126
3126
|
}, "strip", z.ZodTypeAny, {
|
|
3127
3127
|
members: {
|
|
3128
|
-
type: "agent" | "human";
|
|
3129
3128
|
id: string;
|
|
3130
|
-
|
|
3129
|
+
type: "agent" | "human";
|
|
3131
3130
|
chatId: string;
|
|
3131
|
+
createdAt: string;
|
|
3132
3132
|
updatedAt: string;
|
|
3133
3133
|
memberCode: string;
|
|
3134
3134
|
role: string;
|
|
3135
3135
|
}[];
|
|
3136
3136
|
}, {
|
|
3137
3137
|
members: {
|
|
3138
|
-
type: "agent" | "human";
|
|
3139
3138
|
id: string;
|
|
3140
|
-
|
|
3139
|
+
type: "agent" | "human";
|
|
3141
3140
|
chatId: string;
|
|
3141
|
+
createdAt: string;
|
|
3142
3142
|
updatedAt: string;
|
|
3143
3143
|
memberCode: string;
|
|
3144
3144
|
role: string;
|
|
@@ -3185,38 +3185,38 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
3185
3185
|
createdAt: z.ZodString;
|
|
3186
3186
|
updatedAt: z.ZodString;
|
|
3187
3187
|
}, "strip", z.ZodTypeAny, {
|
|
3188
|
-
type: "agent" | "human";
|
|
3189
3188
|
id: string;
|
|
3190
|
-
|
|
3189
|
+
type: "agent" | "human";
|
|
3191
3190
|
chatId: string;
|
|
3191
|
+
createdAt: string;
|
|
3192
3192
|
updatedAt: string;
|
|
3193
3193
|
memberCode: string;
|
|
3194
3194
|
role: string;
|
|
3195
3195
|
}, {
|
|
3196
|
-
type: "agent" | "human";
|
|
3197
3196
|
id: string;
|
|
3198
|
-
|
|
3197
|
+
type: "agent" | "human";
|
|
3199
3198
|
chatId: string;
|
|
3199
|
+
createdAt: string;
|
|
3200
3200
|
updatedAt: string;
|
|
3201
3201
|
memberCode: string;
|
|
3202
3202
|
role: string;
|
|
3203
3203
|
}>, "many">;
|
|
3204
3204
|
}, "strip", z.ZodTypeAny, {
|
|
3205
3205
|
members: {
|
|
3206
|
-
type: "agent" | "human";
|
|
3207
3206
|
id: string;
|
|
3208
|
-
|
|
3207
|
+
type: "agent" | "human";
|
|
3209
3208
|
chatId: string;
|
|
3209
|
+
createdAt: string;
|
|
3210
3210
|
updatedAt: string;
|
|
3211
3211
|
memberCode: string;
|
|
3212
3212
|
role: string;
|
|
3213
3213
|
}[];
|
|
3214
3214
|
}, {
|
|
3215
3215
|
members: {
|
|
3216
|
-
type: "agent" | "human";
|
|
3217
3216
|
id: string;
|
|
3218
|
-
|
|
3217
|
+
type: "agent" | "human";
|
|
3219
3218
|
chatId: string;
|
|
3219
|
+
createdAt: string;
|
|
3220
3220
|
updatedAt: string;
|
|
3221
3221
|
memberCode: string;
|
|
3222
3222
|
role: string;
|
|
@@ -3320,22 +3320,22 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
3320
3320
|
updatedAt: z.ZodString;
|
|
3321
3321
|
}, "strip", z.ZodTypeAny, {
|
|
3322
3322
|
id: string;
|
|
3323
|
-
createdAt: string;
|
|
3324
|
-
state: string;
|
|
3325
|
-
machineId: string | null;
|
|
3326
|
-
cloudId: string | null;
|
|
3327
|
-
userId: string;
|
|
3328
3323
|
chatId: string;
|
|
3329
3324
|
cwd: string | null;
|
|
3330
3325
|
forceUserCwd: boolean | null;
|
|
3326
|
+
machineId: string | null;
|
|
3327
|
+
cloudId: string | null;
|
|
3331
3328
|
repositoryId: string | null;
|
|
3332
3329
|
baseBranch: string | null;
|
|
3333
3330
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3334
3331
|
dataEncryptionKey: string | null;
|
|
3335
3332
|
parentTaskId: string | null;
|
|
3336
3333
|
agentId: string;
|
|
3334
|
+
userId: string;
|
|
3335
|
+
state: string;
|
|
3337
3336
|
title: string | null;
|
|
3338
3337
|
userCwd: string | null;
|
|
3338
|
+
createdAt: string;
|
|
3339
3339
|
updatedAt: string;
|
|
3340
3340
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3341
3341
|
customTitle: string | null;
|
|
@@ -3357,22 +3357,22 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
3357
3357
|
rootTaskId: string | null;
|
|
3358
3358
|
}, {
|
|
3359
3359
|
id: string;
|
|
3360
|
-
createdAt: string;
|
|
3361
|
-
state: string;
|
|
3362
|
-
machineId: string | null;
|
|
3363
|
-
cloudId: string | null;
|
|
3364
|
-
userId: string;
|
|
3365
3360
|
chatId: string;
|
|
3366
3361
|
cwd: string | null;
|
|
3367
3362
|
forceUserCwd: boolean | null;
|
|
3363
|
+
machineId: string | null;
|
|
3364
|
+
cloudId: string | null;
|
|
3368
3365
|
repositoryId: string | null;
|
|
3369
3366
|
baseBranch: string | null;
|
|
3370
3367
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3371
3368
|
dataEncryptionKey: string | null;
|
|
3372
3369
|
parentTaskId: string | null;
|
|
3373
3370
|
agentId: string;
|
|
3371
|
+
userId: string;
|
|
3372
|
+
state: string;
|
|
3374
3373
|
title: string | null;
|
|
3375
3374
|
userCwd: string | null;
|
|
3375
|
+
createdAt: string;
|
|
3376
3376
|
updatedAt: string;
|
|
3377
3377
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3378
3378
|
customTitle: string | null;
|
|
@@ -3396,22 +3396,22 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
3396
3396
|
}, "strip", z.ZodTypeAny, {
|
|
3397
3397
|
tasks: {
|
|
3398
3398
|
id: string;
|
|
3399
|
-
createdAt: string;
|
|
3400
|
-
state: string;
|
|
3401
|
-
machineId: string | null;
|
|
3402
|
-
cloudId: string | null;
|
|
3403
|
-
userId: string;
|
|
3404
3399
|
chatId: string;
|
|
3405
3400
|
cwd: string | null;
|
|
3406
3401
|
forceUserCwd: boolean | null;
|
|
3402
|
+
machineId: string | null;
|
|
3403
|
+
cloudId: string | null;
|
|
3407
3404
|
repositoryId: string | null;
|
|
3408
3405
|
baseBranch: string | null;
|
|
3409
3406
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3410
3407
|
dataEncryptionKey: string | null;
|
|
3411
3408
|
parentTaskId: string | null;
|
|
3412
3409
|
agentId: string;
|
|
3410
|
+
userId: string;
|
|
3411
|
+
state: string;
|
|
3413
3412
|
title: string | null;
|
|
3414
3413
|
userCwd: string | null;
|
|
3414
|
+
createdAt: string;
|
|
3415
3415
|
updatedAt: string;
|
|
3416
3416
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3417
3417
|
customTitle: string | null;
|
|
@@ -3435,22 +3435,22 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
3435
3435
|
}, {
|
|
3436
3436
|
tasks: {
|
|
3437
3437
|
id: string;
|
|
3438
|
-
createdAt: string;
|
|
3439
|
-
state: string;
|
|
3440
|
-
machineId: string | null;
|
|
3441
|
-
cloudId: string | null;
|
|
3442
|
-
userId: string;
|
|
3443
3438
|
chatId: string;
|
|
3444
3439
|
cwd: string | null;
|
|
3445
3440
|
forceUserCwd: boolean | null;
|
|
3441
|
+
machineId: string | null;
|
|
3442
|
+
cloudId: string | null;
|
|
3446
3443
|
repositoryId: string | null;
|
|
3447
3444
|
baseBranch: string | null;
|
|
3448
3445
|
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
3449
3446
|
dataEncryptionKey: string | null;
|
|
3450
3447
|
parentTaskId: string | null;
|
|
3451
3448
|
agentId: string;
|
|
3449
|
+
userId: string;
|
|
3450
|
+
state: string;
|
|
3452
3451
|
title: string | null;
|
|
3453
3452
|
userCwd: string | null;
|
|
3453
|
+
createdAt: string;
|
|
3454
3454
|
updatedAt: string;
|
|
3455
3455
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3456
3456
|
customTitle: string | null;
|
|
@@ -3843,17 +3843,17 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3843
3843
|
paths?: string[] | undefined;
|
|
3844
3844
|
}>>;
|
|
3845
3845
|
}, "strip", z.ZodTypeAny, {
|
|
3846
|
-
type: "claude" | "codex";
|
|
3847
3846
|
id: string;
|
|
3848
3847
|
avatar: string | null;
|
|
3849
|
-
|
|
3848
|
+
type: "claude" | "codex";
|
|
3850
3849
|
userId: string;
|
|
3850
|
+
name: string;
|
|
3851
|
+
description: string | null;
|
|
3851
3852
|
permissions: {
|
|
3852
3853
|
role: string;
|
|
3853
3854
|
paths?: string[] | undefined;
|
|
3854
3855
|
} | null;
|
|
3855
|
-
|
|
3856
|
-
description: string | null;
|
|
3856
|
+
signature: string | null;
|
|
3857
3857
|
guildMsg: string;
|
|
3858
3858
|
placeholderMsg: string;
|
|
3859
3859
|
developerName: string;
|
|
@@ -3883,17 +3883,17 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3883
3883
|
}> | undefined;
|
|
3884
3884
|
} | null;
|
|
3885
3885
|
}, {
|
|
3886
|
-
type: "claude" | "codex";
|
|
3887
3886
|
id: string;
|
|
3888
3887
|
avatar: string | null;
|
|
3889
|
-
|
|
3888
|
+
type: "claude" | "codex";
|
|
3890
3889
|
userId: string;
|
|
3890
|
+
name: string;
|
|
3891
|
+
description: string | null;
|
|
3891
3892
|
permissions: {
|
|
3892
3893
|
role: string;
|
|
3893
3894
|
paths?: string[] | undefined;
|
|
3894
3895
|
} | null;
|
|
3895
|
-
|
|
3896
|
-
description: string | null;
|
|
3896
|
+
signature: string | null;
|
|
3897
3897
|
guildMsg: string;
|
|
3898
3898
|
placeholderMsg: string;
|
|
3899
3899
|
developerName: string;
|
|
@@ -4051,17 +4051,17 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
4051
4051
|
paths?: string[] | undefined;
|
|
4052
4052
|
}>>;
|
|
4053
4053
|
}, "strip", z.ZodTypeAny, {
|
|
4054
|
-
type: "claude" | "codex";
|
|
4055
4054
|
id: string;
|
|
4056
4055
|
avatar: string | null;
|
|
4057
|
-
|
|
4056
|
+
type: "claude" | "codex";
|
|
4058
4057
|
userId: string;
|
|
4058
|
+
name: string;
|
|
4059
|
+
description: string | null;
|
|
4059
4060
|
permissions: {
|
|
4060
4061
|
role: string;
|
|
4061
4062
|
paths?: string[] | undefined;
|
|
4062
4063
|
} | null;
|
|
4063
|
-
|
|
4064
|
-
description: string | null;
|
|
4064
|
+
signature: string | null;
|
|
4065
4065
|
guildMsg: string;
|
|
4066
4066
|
placeholderMsg: string;
|
|
4067
4067
|
developerName: string;
|
|
@@ -4091,17 +4091,17 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
4091
4091
|
}> | undefined;
|
|
4092
4092
|
} | null;
|
|
4093
4093
|
}, {
|
|
4094
|
-
type: "claude" | "codex";
|
|
4095
4094
|
id: string;
|
|
4096
4095
|
avatar: string | null;
|
|
4097
|
-
|
|
4096
|
+
type: "claude" | "codex";
|
|
4098
4097
|
userId: string;
|
|
4098
|
+
name: string;
|
|
4099
|
+
description: string | null;
|
|
4099
4100
|
permissions: {
|
|
4100
4101
|
role: string;
|
|
4101
4102
|
paths?: string[] | undefined;
|
|
4102
4103
|
} | null;
|
|
4103
|
-
|
|
4104
|
-
description: string | null;
|
|
4104
|
+
signature: string | null;
|
|
4105
4105
|
guildMsg: string;
|
|
4106
4106
|
placeholderMsg: string;
|
|
4107
4107
|
developerName: string;
|
|
@@ -4133,17 +4133,17 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
4133
4133
|
}>, "many">;
|
|
4134
4134
|
}, "strip", z.ZodTypeAny, {
|
|
4135
4135
|
agents: {
|
|
4136
|
-
type: "claude" | "codex";
|
|
4137
4136
|
id: string;
|
|
4138
4137
|
avatar: string | null;
|
|
4139
|
-
|
|
4138
|
+
type: "claude" | "codex";
|
|
4140
4139
|
userId: string;
|
|
4140
|
+
name: string;
|
|
4141
|
+
description: string | null;
|
|
4141
4142
|
permissions: {
|
|
4142
4143
|
role: string;
|
|
4143
4144
|
paths?: string[] | undefined;
|
|
4144
4145
|
} | null;
|
|
4145
|
-
|
|
4146
|
-
description: string | null;
|
|
4146
|
+
signature: string | null;
|
|
4147
4147
|
guildMsg: string;
|
|
4148
4148
|
placeholderMsg: string;
|
|
4149
4149
|
developerName: string;
|
|
@@ -4175,17 +4175,17 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
4175
4175
|
}[];
|
|
4176
4176
|
}, {
|
|
4177
4177
|
agents: {
|
|
4178
|
-
type: "claude" | "codex";
|
|
4179
4178
|
id: string;
|
|
4180
4179
|
avatar: string | null;
|
|
4181
|
-
|
|
4180
|
+
type: "claude" | "codex";
|
|
4182
4181
|
userId: string;
|
|
4182
|
+
name: string;
|
|
4183
|
+
description: string | null;
|
|
4183
4184
|
permissions: {
|
|
4184
4185
|
role: string;
|
|
4185
4186
|
paths?: string[] | undefined;
|
|
4186
4187
|
} | null;
|
|
4187
|
-
|
|
4188
|
-
description: string | null;
|
|
4188
|
+
signature: string | null;
|
|
4189
4189
|
guildMsg: string;
|
|
4190
4190
|
placeholderMsg: string;
|
|
4191
4191
|
developerName: string;
|
|
@@ -4343,17 +4343,17 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
4343
4343
|
paths?: string[] | undefined;
|
|
4344
4344
|
}>>;
|
|
4345
4345
|
}, "strip", z.ZodTypeAny, {
|
|
4346
|
-
type: "claude" | "codex";
|
|
4347
4346
|
id: string;
|
|
4348
4347
|
avatar: string | null;
|
|
4349
|
-
|
|
4348
|
+
type: "claude" | "codex";
|
|
4350
4349
|
userId: string;
|
|
4350
|
+
name: string;
|
|
4351
|
+
description: string | null;
|
|
4351
4352
|
permissions: {
|
|
4352
4353
|
role: string;
|
|
4353
4354
|
paths?: string[] | undefined;
|
|
4354
4355
|
} | null;
|
|
4355
|
-
|
|
4356
|
-
description: string | null;
|
|
4356
|
+
signature: string | null;
|
|
4357
4357
|
guildMsg: string;
|
|
4358
4358
|
placeholderMsg: string;
|
|
4359
4359
|
developerName: string;
|
|
@@ -4383,17 +4383,17 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
4383
4383
|
}> | undefined;
|
|
4384
4384
|
} | null;
|
|
4385
4385
|
}, {
|
|
4386
|
-
type: "claude" | "codex";
|
|
4387
4386
|
id: string;
|
|
4388
4387
|
avatar: string | null;
|
|
4389
|
-
|
|
4388
|
+
type: "claude" | "codex";
|
|
4390
4389
|
userId: string;
|
|
4390
|
+
name: string;
|
|
4391
|
+
description: string | null;
|
|
4391
4392
|
permissions: {
|
|
4392
4393
|
role: string;
|
|
4393
4394
|
paths?: string[] | undefined;
|
|
4394
4395
|
} | null;
|
|
4395
|
-
|
|
4396
|
-
description: string | null;
|
|
4396
|
+
signature: string | null;
|
|
4397
4397
|
guildMsg: string;
|
|
4398
4398
|
placeholderMsg: string;
|
|
4399
4399
|
developerName: string;
|
|
@@ -4541,8 +4541,8 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
4541
4541
|
placeholderMsg: string;
|
|
4542
4542
|
supportLocal: boolean;
|
|
4543
4543
|
avatar?: string | undefined;
|
|
4544
|
-
signature?: string | undefined;
|
|
4545
4544
|
description?: string | undefined;
|
|
4545
|
+
signature?: string | undefined;
|
|
4546
4546
|
gitRepoId?: string | undefined;
|
|
4547
4547
|
config?: {
|
|
4548
4548
|
displayConfig?: Record<string, {
|
|
@@ -4569,8 +4569,8 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
4569
4569
|
type: "claude" | "codex";
|
|
4570
4570
|
name: string;
|
|
4571
4571
|
avatar?: string | undefined;
|
|
4572
|
-
signature?: string | undefined;
|
|
4573
4572
|
description?: string | undefined;
|
|
4573
|
+
signature?: string | undefined;
|
|
4574
4574
|
guildMsg?: string | undefined;
|
|
4575
4575
|
placeholderMsg?: string | undefined;
|
|
4576
4576
|
gitRepoId?: string | undefined;
|
|
@@ -4724,17 +4724,17 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4724
4724
|
paths?: string[] | undefined;
|
|
4725
4725
|
}>>;
|
|
4726
4726
|
}, "strip", z.ZodTypeAny, {
|
|
4727
|
-
type: "claude" | "codex";
|
|
4728
4727
|
id: string;
|
|
4729
4728
|
avatar: string | null;
|
|
4730
|
-
|
|
4729
|
+
type: "claude" | "codex";
|
|
4731
4730
|
userId: string;
|
|
4731
|
+
name: string;
|
|
4732
|
+
description: string | null;
|
|
4732
4733
|
permissions: {
|
|
4733
4734
|
role: string;
|
|
4734
4735
|
paths?: string[] | undefined;
|
|
4735
4736
|
} | null;
|
|
4736
|
-
|
|
4737
|
-
description: string | null;
|
|
4737
|
+
signature: string | null;
|
|
4738
4738
|
guildMsg: string;
|
|
4739
4739
|
placeholderMsg: string;
|
|
4740
4740
|
developerName: string;
|
|
@@ -4764,17 +4764,17 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4764
4764
|
}> | undefined;
|
|
4765
4765
|
} | null;
|
|
4766
4766
|
}, {
|
|
4767
|
-
type: "claude" | "codex";
|
|
4768
4767
|
id: string;
|
|
4769
4768
|
avatar: string | null;
|
|
4770
|
-
|
|
4769
|
+
type: "claude" | "codex";
|
|
4771
4770
|
userId: string;
|
|
4771
|
+
name: string;
|
|
4772
|
+
description: string | null;
|
|
4772
4773
|
permissions: {
|
|
4773
4774
|
role: string;
|
|
4774
4775
|
paths?: string[] | undefined;
|
|
4775
4776
|
} | null;
|
|
4776
|
-
|
|
4777
|
-
description: string | null;
|
|
4777
|
+
signature: string | null;
|
|
4778
4778
|
guildMsg: string;
|
|
4779
4779
|
placeholderMsg: string;
|
|
4780
4780
|
developerName: string;
|
|
@@ -4916,11 +4916,11 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4916
4916
|
}> | undefined;
|
|
4917
4917
|
}>>>;
|
|
4918
4918
|
}, "strip", z.ZodTypeAny, {
|
|
4919
|
-
type?: "claude" | "codex" | undefined;
|
|
4920
4919
|
avatar?: string | null | undefined;
|
|
4921
|
-
|
|
4920
|
+
type?: "claude" | "codex" | undefined;
|
|
4922
4921
|
name?: string | undefined;
|
|
4923
4922
|
description?: string | null | undefined;
|
|
4923
|
+
signature?: string | null | undefined;
|
|
4924
4924
|
guildMsg?: string | undefined;
|
|
4925
4925
|
placeholderMsg?: string | undefined;
|
|
4926
4926
|
gitRepoId?: string | null | undefined;
|
|
@@ -4947,11 +4947,11 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4947
4947
|
}> | undefined;
|
|
4948
4948
|
} | null | undefined;
|
|
4949
4949
|
}, {
|
|
4950
|
-
type?: "claude" | "codex" | undefined;
|
|
4951
4950
|
avatar?: string | null | undefined;
|
|
4952
|
-
|
|
4951
|
+
type?: "claude" | "codex" | undefined;
|
|
4953
4952
|
name?: string | undefined;
|
|
4954
4953
|
description?: string | null | undefined;
|
|
4954
|
+
signature?: string | null | undefined;
|
|
4955
4955
|
guildMsg?: string | undefined;
|
|
4956
4956
|
placeholderMsg?: string | undefined;
|
|
4957
4957
|
gitRepoId?: string | null | undefined;
|
|
@@ -5105,17 +5105,17 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
5105
5105
|
paths?: string[] | undefined;
|
|
5106
5106
|
}>>;
|
|
5107
5107
|
}, "strip", z.ZodTypeAny, {
|
|
5108
|
-
type: "claude" | "codex";
|
|
5109
5108
|
id: string;
|
|
5110
5109
|
avatar: string | null;
|
|
5111
|
-
|
|
5110
|
+
type: "claude" | "codex";
|
|
5112
5111
|
userId: string;
|
|
5112
|
+
name: string;
|
|
5113
|
+
description: string | null;
|
|
5113
5114
|
permissions: {
|
|
5114
5115
|
role: string;
|
|
5115
5116
|
paths?: string[] | undefined;
|
|
5116
5117
|
} | null;
|
|
5117
|
-
|
|
5118
|
-
description: string | null;
|
|
5118
|
+
signature: string | null;
|
|
5119
5119
|
guildMsg: string;
|
|
5120
5120
|
placeholderMsg: string;
|
|
5121
5121
|
developerName: string;
|
|
@@ -5145,17 +5145,17 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
5145
5145
|
}> | undefined;
|
|
5146
5146
|
} | null;
|
|
5147
5147
|
}, {
|
|
5148
|
-
type: "claude" | "codex";
|
|
5149
5148
|
id: string;
|
|
5150
5149
|
avatar: string | null;
|
|
5151
|
-
|
|
5150
|
+
type: "claude" | "codex";
|
|
5152
5151
|
userId: string;
|
|
5152
|
+
name: string;
|
|
5153
|
+
description: string | null;
|
|
5153
5154
|
permissions: {
|
|
5154
5155
|
role: string;
|
|
5155
5156
|
paths?: string[] | undefined;
|
|
5156
5157
|
} | null;
|
|
5157
|
-
|
|
5158
|
-
description: string | null;
|
|
5158
|
+
signature: string | null;
|
|
5159
5159
|
guildMsg: string;
|
|
5160
5160
|
placeholderMsg: string;
|
|
5161
5161
|
developerName: string;
|
|
@@ -5302,7 +5302,11 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5302
5302
|
permissionCanMergePr?: string | undefined;
|
|
5303
5303
|
permissionCanMergePrDesc?: string | undefined;
|
|
5304
5304
|
}>>>;
|
|
5305
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5306
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5307
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5305
5308
|
}, "strip", z.ZodTypeAny, {
|
|
5309
|
+
signature?: string | undefined;
|
|
5306
5310
|
displayConfig?: Record<string, {
|
|
5307
5311
|
closed?: string | undefined;
|
|
5308
5312
|
merged?: string | undefined;
|
|
@@ -5322,6 +5326,8 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5322
5326
|
permissionCanMergePr?: string | undefined;
|
|
5323
5327
|
permissionCanMergePrDesc?: string | undefined;
|
|
5324
5328
|
}> | undefined;
|
|
5329
|
+
guildMsg?: string | undefined;
|
|
5330
|
+
placeholderMsg?: string | undefined;
|
|
5325
5331
|
environmentSchema?: {
|
|
5326
5332
|
type: "string" | "number" | "boolean" | "secret";
|
|
5327
5333
|
name: string;
|
|
@@ -5330,6 +5336,7 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5330
5336
|
defaultValue?: string | undefined;
|
|
5331
5337
|
}[] | undefined;
|
|
5332
5338
|
}, {
|
|
5339
|
+
signature?: string | undefined;
|
|
5333
5340
|
displayConfig?: Record<string, {
|
|
5334
5341
|
closed?: string | undefined;
|
|
5335
5342
|
merged?: string | undefined;
|
|
@@ -5349,6 +5356,8 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5349
5356
|
permissionCanMergePr?: string | undefined;
|
|
5350
5357
|
permissionCanMergePrDesc?: string | undefined;
|
|
5351
5358
|
}> | undefined;
|
|
5359
|
+
guildMsg?: string | undefined;
|
|
5360
|
+
placeholderMsg?: string | undefined;
|
|
5352
5361
|
environmentSchema?: {
|
|
5353
5362
|
type: "string" | "number" | "boolean" | "secret";
|
|
5354
5363
|
name: string;
|
|
@@ -5389,16 +5398,20 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5389
5398
|
required?: boolean | undefined;
|
|
5390
5399
|
defaultValue?: string | undefined;
|
|
5391
5400
|
}>, "many">>;
|
|
5392
|
-
|
|
5401
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5402
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5403
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5393
5404
|
}, "strip", z.ZodTypeAny, {
|
|
5394
5405
|
type: "claude" | "codex";
|
|
5395
|
-
userId: string;
|
|
5396
5406
|
taskId: string;
|
|
5407
|
+
userId: string;
|
|
5397
5408
|
name: string;
|
|
5398
5409
|
agentDir: string;
|
|
5399
|
-
isUpdate: boolean;
|
|
5400
5410
|
avatar?: string | undefined;
|
|
5401
5411
|
description?: string | undefined;
|
|
5412
|
+
signature?: string | undefined;
|
|
5413
|
+
guildMsg?: string | undefined;
|
|
5414
|
+
placeholderMsg?: string | undefined;
|
|
5402
5415
|
envVars?: {
|
|
5403
5416
|
type: "string" | "number" | "boolean" | "secret";
|
|
5404
5417
|
name: string;
|
|
@@ -5407,13 +5420,16 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5407
5420
|
defaultValue?: string | undefined;
|
|
5408
5421
|
}[] | undefined;
|
|
5409
5422
|
}, {
|
|
5410
|
-
userId: string;
|
|
5411
5423
|
taskId: string;
|
|
5424
|
+
userId: string;
|
|
5412
5425
|
name: string;
|
|
5413
5426
|
agentDir: string;
|
|
5414
|
-
type?: "claude" | "codex" | undefined;
|
|
5415
5427
|
avatar?: string | undefined;
|
|
5428
|
+
type?: "claude" | "codex" | undefined;
|
|
5416
5429
|
description?: string | undefined;
|
|
5430
|
+
signature?: string | undefined;
|
|
5431
|
+
guildMsg?: string | undefined;
|
|
5432
|
+
placeholderMsg?: string | undefined;
|
|
5417
5433
|
envVars?: {
|
|
5418
5434
|
type: "string" | "number" | "boolean" | "secret";
|
|
5419
5435
|
name: string;
|
|
@@ -5421,7 +5437,6 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5421
5437
|
required?: boolean | undefined;
|
|
5422
5438
|
defaultValue?: string | undefined;
|
|
5423
5439
|
}[] | undefined;
|
|
5424
|
-
isUpdate?: boolean | undefined;
|
|
5425
5440
|
}>;
|
|
5426
5441
|
type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
5427
5442
|
/**
|
|
@@ -5432,11 +5447,11 @@ declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
|
5432
5447
|
ownerId: z.ZodString;
|
|
5433
5448
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5434
5449
|
}, "strip", z.ZodTypeAny, {
|
|
5435
|
-
ownerType: "agent" | "
|
|
5450
|
+
ownerType: "agent" | "machine" | "draft-agent" | "cloud";
|
|
5436
5451
|
ownerId: string;
|
|
5437
5452
|
variables: Record<string, string>;
|
|
5438
5453
|
}, {
|
|
5439
|
-
ownerType: "agent" | "
|
|
5454
|
+
ownerType: "agent" | "machine" | "draft-agent" | "cloud";
|
|
5440
5455
|
ownerId: string;
|
|
5441
5456
|
variables: Record<string, string>;
|
|
5442
5457
|
}>;
|
|
@@ -5451,11 +5466,492 @@ declare const GetEnvironmentVariablesResponseSchema: z.ZodObject<{
|
|
|
5451
5466
|
}, {
|
|
5452
5467
|
variables: Record<string, string>;
|
|
5453
5468
|
}>;
|
|
5454
|
-
type GetEnvironmentVariablesResponse = z.infer<typeof GetEnvironmentVariablesResponseSchema>;
|
|
5469
|
+
type GetEnvironmentVariablesResponse = z.infer<typeof GetEnvironmentVariablesResponseSchema>;
|
|
5470
|
+
/**
|
|
5471
|
+
* Draft Agent API response schema
|
|
5472
|
+
*/
|
|
5473
|
+
declare const DraftAgentSchema: z.ZodObject<{
|
|
5474
|
+
id: z.ZodString;
|
|
5475
|
+
name: z.ZodString;
|
|
5476
|
+
displayName: z.ZodString;
|
|
5477
|
+
agentDir: z.ZodString;
|
|
5478
|
+
type: z.ZodEnum<["claude", "codex"]>;
|
|
5479
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
5480
|
+
userId: z.ZodString;
|
|
5481
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5482
|
+
enable: z.ZodBoolean;
|
|
5483
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
5484
|
+
environmentSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5485
|
+
name: z.ZodString;
|
|
5486
|
+
type: z.ZodEnum<["string", "number", "boolean", "secret"]>;
|
|
5487
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5488
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5489
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
5490
|
+
}, "strip", z.ZodTypeAny, {
|
|
5491
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5492
|
+
name: string;
|
|
5493
|
+
required: boolean;
|
|
5494
|
+
description?: string | undefined;
|
|
5495
|
+
defaultValue?: string | undefined;
|
|
5496
|
+
}, {
|
|
5497
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5498
|
+
name: string;
|
|
5499
|
+
description?: string | undefined;
|
|
5500
|
+
required?: boolean | undefined;
|
|
5501
|
+
defaultValue?: string | undefined;
|
|
5502
|
+
}>, "many">>;
|
|
5503
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5504
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
5505
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
5506
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
5507
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
5508
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
5509
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
5510
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
5511
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
5513
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
5514
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
5515
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
5516
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
5517
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
5518
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
5519
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
5520
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
5521
|
+
}, "strip", z.ZodTypeAny, {
|
|
5522
|
+
closed?: string | undefined;
|
|
5523
|
+
merged?: string | undefined;
|
|
5524
|
+
createPR?: string | undefined;
|
|
5525
|
+
viewPR?: string | undefined;
|
|
5526
|
+
mergePR?: string | undefined;
|
|
5527
|
+
approvePR?: string | undefined;
|
|
5528
|
+
recreatePR?: string | undefined;
|
|
5529
|
+
permissionCanSendMessage?: string | undefined;
|
|
5530
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5531
|
+
permissionCanCreatePr?: string | undefined;
|
|
5532
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5533
|
+
permissionCanApprovePr?: string | undefined;
|
|
5534
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5535
|
+
permissionCanViewPr?: string | undefined;
|
|
5536
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5537
|
+
permissionCanMergePr?: string | undefined;
|
|
5538
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5539
|
+
}, {
|
|
5540
|
+
closed?: string | undefined;
|
|
5541
|
+
merged?: string | undefined;
|
|
5542
|
+
createPR?: string | undefined;
|
|
5543
|
+
viewPR?: string | undefined;
|
|
5544
|
+
mergePR?: string | undefined;
|
|
5545
|
+
approvePR?: string | undefined;
|
|
5546
|
+
recreatePR?: string | undefined;
|
|
5547
|
+
permissionCanSendMessage?: string | undefined;
|
|
5548
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5549
|
+
permissionCanCreatePr?: string | undefined;
|
|
5550
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5551
|
+
permissionCanApprovePr?: string | undefined;
|
|
5552
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5553
|
+
permissionCanViewPr?: string | undefined;
|
|
5554
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5555
|
+
permissionCanMergePr?: string | undefined;
|
|
5556
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5557
|
+
}>>>;
|
|
5558
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5559
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5560
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5561
|
+
}, "strip", z.ZodTypeAny, {
|
|
5562
|
+
signature?: string | undefined;
|
|
5563
|
+
displayConfig?: Record<string, {
|
|
5564
|
+
closed?: string | undefined;
|
|
5565
|
+
merged?: string | undefined;
|
|
5566
|
+
createPR?: string | undefined;
|
|
5567
|
+
viewPR?: string | undefined;
|
|
5568
|
+
mergePR?: string | undefined;
|
|
5569
|
+
approvePR?: string | undefined;
|
|
5570
|
+
recreatePR?: string | undefined;
|
|
5571
|
+
permissionCanSendMessage?: string | undefined;
|
|
5572
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5573
|
+
permissionCanCreatePr?: string | undefined;
|
|
5574
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5575
|
+
permissionCanApprovePr?: string | undefined;
|
|
5576
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5577
|
+
permissionCanViewPr?: string | undefined;
|
|
5578
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5579
|
+
permissionCanMergePr?: string | undefined;
|
|
5580
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5581
|
+
}> | undefined;
|
|
5582
|
+
guildMsg?: string | undefined;
|
|
5583
|
+
placeholderMsg?: string | undefined;
|
|
5584
|
+
environmentSchema?: {
|
|
5585
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5586
|
+
name: string;
|
|
5587
|
+
required: boolean;
|
|
5588
|
+
description?: string | undefined;
|
|
5589
|
+
defaultValue?: string | undefined;
|
|
5590
|
+
}[] | undefined;
|
|
5591
|
+
}, {
|
|
5592
|
+
signature?: string | undefined;
|
|
5593
|
+
displayConfig?: Record<string, {
|
|
5594
|
+
closed?: string | undefined;
|
|
5595
|
+
merged?: string | undefined;
|
|
5596
|
+
createPR?: string | undefined;
|
|
5597
|
+
viewPR?: string | undefined;
|
|
5598
|
+
mergePR?: string | undefined;
|
|
5599
|
+
approvePR?: string | undefined;
|
|
5600
|
+
recreatePR?: string | undefined;
|
|
5601
|
+
permissionCanSendMessage?: string | undefined;
|
|
5602
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5603
|
+
permissionCanCreatePr?: string | undefined;
|
|
5604
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5605
|
+
permissionCanApprovePr?: string | undefined;
|
|
5606
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5607
|
+
permissionCanViewPr?: string | undefined;
|
|
5608
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5609
|
+
permissionCanMergePr?: string | undefined;
|
|
5610
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5611
|
+
}> | undefined;
|
|
5612
|
+
guildMsg?: string | undefined;
|
|
5613
|
+
placeholderMsg?: string | undefined;
|
|
5614
|
+
environmentSchema?: {
|
|
5615
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5616
|
+
name: string;
|
|
5617
|
+
description?: string | undefined;
|
|
5618
|
+
required?: boolean | undefined;
|
|
5619
|
+
defaultValue?: string | undefined;
|
|
5620
|
+
}[] | undefined;
|
|
5621
|
+
}>>;
|
|
5622
|
+
permissions: z.ZodNullable<z.ZodObject<{
|
|
5623
|
+
role: z.ZodString;
|
|
5624
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5625
|
+
}, "strip", z.ZodTypeAny, {
|
|
5626
|
+
role: string;
|
|
5627
|
+
paths?: string[] | undefined;
|
|
5628
|
+
}, {
|
|
5629
|
+
role: string;
|
|
5630
|
+
paths?: string[] | undefined;
|
|
5631
|
+
}>>;
|
|
5632
|
+
publishedAgentId: z.ZodNullable<z.ZodString>;
|
|
5633
|
+
sourceTaskId: z.ZodNullable<z.ZodString>;
|
|
5634
|
+
createdAt: z.ZodString;
|
|
5635
|
+
updatedAt: z.ZodString;
|
|
5636
|
+
}, "strip", z.ZodTypeAny, {
|
|
5637
|
+
id: string;
|
|
5638
|
+
avatar: string | null;
|
|
5639
|
+
type: "claude" | "codex";
|
|
5640
|
+
userId: string;
|
|
5641
|
+
createdAt: string;
|
|
5642
|
+
updatedAt: string;
|
|
5643
|
+
name: string;
|
|
5644
|
+
description: string | null;
|
|
5645
|
+
permissions: {
|
|
5646
|
+
role: string;
|
|
5647
|
+
paths?: string[] | undefined;
|
|
5648
|
+
} | null;
|
|
5649
|
+
enable: boolean;
|
|
5650
|
+
config: {
|
|
5651
|
+
signature?: string | undefined;
|
|
5652
|
+
displayConfig?: Record<string, {
|
|
5653
|
+
closed?: string | undefined;
|
|
5654
|
+
merged?: string | undefined;
|
|
5655
|
+
createPR?: string | undefined;
|
|
5656
|
+
viewPR?: string | undefined;
|
|
5657
|
+
mergePR?: string | undefined;
|
|
5658
|
+
approvePR?: string | undefined;
|
|
5659
|
+
recreatePR?: string | undefined;
|
|
5660
|
+
permissionCanSendMessage?: string | undefined;
|
|
5661
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5662
|
+
permissionCanCreatePr?: string | undefined;
|
|
5663
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5664
|
+
permissionCanApprovePr?: string | undefined;
|
|
5665
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5666
|
+
permissionCanViewPr?: string | undefined;
|
|
5667
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5668
|
+
permissionCanMergePr?: string | undefined;
|
|
5669
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5670
|
+
}> | undefined;
|
|
5671
|
+
guildMsg?: string | undefined;
|
|
5672
|
+
placeholderMsg?: string | undefined;
|
|
5673
|
+
environmentSchema?: {
|
|
5674
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5675
|
+
name: string;
|
|
5676
|
+
required: boolean;
|
|
5677
|
+
description?: string | undefined;
|
|
5678
|
+
defaultValue?: string | undefined;
|
|
5679
|
+
}[] | undefined;
|
|
5680
|
+
} | null;
|
|
5681
|
+
agentDir: string;
|
|
5682
|
+
displayName: string;
|
|
5683
|
+
publishedAgentId: string | null;
|
|
5684
|
+
sourceTaskId: string | null;
|
|
5685
|
+
}, {
|
|
5686
|
+
id: string;
|
|
5687
|
+
avatar: string | null;
|
|
5688
|
+
type: "claude" | "codex";
|
|
5689
|
+
userId: string;
|
|
5690
|
+
createdAt: string;
|
|
5691
|
+
updatedAt: string;
|
|
5692
|
+
name: string;
|
|
5693
|
+
description: string | null;
|
|
5694
|
+
permissions: {
|
|
5695
|
+
role: string;
|
|
5696
|
+
paths?: string[] | undefined;
|
|
5697
|
+
} | null;
|
|
5698
|
+
enable: boolean;
|
|
5699
|
+
config: {
|
|
5700
|
+
signature?: string | undefined;
|
|
5701
|
+
displayConfig?: Record<string, {
|
|
5702
|
+
closed?: string | undefined;
|
|
5703
|
+
merged?: string | undefined;
|
|
5704
|
+
createPR?: string | undefined;
|
|
5705
|
+
viewPR?: string | undefined;
|
|
5706
|
+
mergePR?: string | undefined;
|
|
5707
|
+
approvePR?: string | undefined;
|
|
5708
|
+
recreatePR?: string | undefined;
|
|
5709
|
+
permissionCanSendMessage?: string | undefined;
|
|
5710
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5711
|
+
permissionCanCreatePr?: string | undefined;
|
|
5712
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5713
|
+
permissionCanApprovePr?: string | undefined;
|
|
5714
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5715
|
+
permissionCanViewPr?: string | undefined;
|
|
5716
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5717
|
+
permissionCanMergePr?: string | undefined;
|
|
5718
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5719
|
+
}> | undefined;
|
|
5720
|
+
guildMsg?: string | undefined;
|
|
5721
|
+
placeholderMsg?: string | undefined;
|
|
5722
|
+
environmentSchema?: {
|
|
5723
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5724
|
+
name: string;
|
|
5725
|
+
description?: string | undefined;
|
|
5726
|
+
required?: boolean | undefined;
|
|
5727
|
+
defaultValue?: string | undefined;
|
|
5728
|
+
}[] | undefined;
|
|
5729
|
+
} | null;
|
|
5730
|
+
agentDir: string;
|
|
5731
|
+
displayName: string;
|
|
5732
|
+
publishedAgentId: string | null;
|
|
5733
|
+
sourceTaskId: string | null;
|
|
5734
|
+
}>;
|
|
5735
|
+
type DraftAgent = z.infer<typeof DraftAgentSchema>;
|
|
5736
|
+
/**
|
|
5737
|
+
* Request schema for updating draft-agent
|
|
5738
|
+
*/
|
|
5739
|
+
declare const UpdateDraftAgentRequestSchema: z.ZodObject<{
|
|
5740
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5741
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5742
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
5743
|
+
environmentSchema: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5744
|
+
name: z.ZodString;
|
|
5745
|
+
type: z.ZodEnum<["string", "number", "boolean", "secret"]>;
|
|
5746
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5747
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5748
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
5749
|
+
}, "strip", z.ZodTypeAny, {
|
|
5750
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5751
|
+
name: string;
|
|
5752
|
+
required: boolean;
|
|
5753
|
+
description?: string | undefined;
|
|
5754
|
+
defaultValue?: string | undefined;
|
|
5755
|
+
}, {
|
|
5756
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5757
|
+
name: string;
|
|
5758
|
+
description?: string | undefined;
|
|
5759
|
+
required?: boolean | undefined;
|
|
5760
|
+
defaultValue?: string | undefined;
|
|
5761
|
+
}>, "many">>>;
|
|
5762
|
+
displayConfig: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5763
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
5764
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
5765
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
5766
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
5767
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
5768
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
5769
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
5770
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
5771
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
5772
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
5773
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
5774
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
5776
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
5777
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
5778
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
5779
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
5780
|
+
}, "strip", z.ZodTypeAny, {
|
|
5781
|
+
closed?: string | undefined;
|
|
5782
|
+
merged?: string | undefined;
|
|
5783
|
+
createPR?: string | undefined;
|
|
5784
|
+
viewPR?: string | undefined;
|
|
5785
|
+
mergePR?: string | undefined;
|
|
5786
|
+
approvePR?: string | undefined;
|
|
5787
|
+
recreatePR?: string | undefined;
|
|
5788
|
+
permissionCanSendMessage?: string | undefined;
|
|
5789
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5790
|
+
permissionCanCreatePr?: string | undefined;
|
|
5791
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5792
|
+
permissionCanApprovePr?: string | undefined;
|
|
5793
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5794
|
+
permissionCanViewPr?: string | undefined;
|
|
5795
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5796
|
+
permissionCanMergePr?: string | undefined;
|
|
5797
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5798
|
+
}, {
|
|
5799
|
+
closed?: string | undefined;
|
|
5800
|
+
merged?: string | undefined;
|
|
5801
|
+
createPR?: string | undefined;
|
|
5802
|
+
viewPR?: string | undefined;
|
|
5803
|
+
mergePR?: string | undefined;
|
|
5804
|
+
approvePR?: string | undefined;
|
|
5805
|
+
recreatePR?: string | undefined;
|
|
5806
|
+
permissionCanSendMessage?: string | undefined;
|
|
5807
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5808
|
+
permissionCanCreatePr?: string | undefined;
|
|
5809
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5810
|
+
permissionCanApprovePr?: string | undefined;
|
|
5811
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5812
|
+
permissionCanViewPr?: string | undefined;
|
|
5813
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5814
|
+
permissionCanMergePr?: string | undefined;
|
|
5815
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5816
|
+
}>>>>;
|
|
5817
|
+
signature: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5818
|
+
guildMsg: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5819
|
+
placeholderMsg: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5820
|
+
}, "strip", z.ZodTypeAny, {
|
|
5821
|
+
signature?: string | undefined;
|
|
5822
|
+
displayConfig?: Record<string, {
|
|
5823
|
+
closed?: string | undefined;
|
|
5824
|
+
merged?: string | undefined;
|
|
5825
|
+
createPR?: string | undefined;
|
|
5826
|
+
viewPR?: string | undefined;
|
|
5827
|
+
mergePR?: string | undefined;
|
|
5828
|
+
approvePR?: string | undefined;
|
|
5829
|
+
recreatePR?: string | undefined;
|
|
5830
|
+
permissionCanSendMessage?: string | undefined;
|
|
5831
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5832
|
+
permissionCanCreatePr?: string | undefined;
|
|
5833
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5834
|
+
permissionCanApprovePr?: string | undefined;
|
|
5835
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5836
|
+
permissionCanViewPr?: string | undefined;
|
|
5837
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5838
|
+
permissionCanMergePr?: string | undefined;
|
|
5839
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5840
|
+
}> | undefined;
|
|
5841
|
+
guildMsg?: string | undefined;
|
|
5842
|
+
placeholderMsg?: string | undefined;
|
|
5843
|
+
environmentSchema?: {
|
|
5844
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5845
|
+
name: string;
|
|
5846
|
+
required: boolean;
|
|
5847
|
+
description?: string | undefined;
|
|
5848
|
+
defaultValue?: string | undefined;
|
|
5849
|
+
}[] | undefined;
|
|
5850
|
+
}, {
|
|
5851
|
+
signature?: string | undefined;
|
|
5852
|
+
displayConfig?: Record<string, {
|
|
5853
|
+
closed?: string | undefined;
|
|
5854
|
+
merged?: string | undefined;
|
|
5855
|
+
createPR?: string | undefined;
|
|
5856
|
+
viewPR?: string | undefined;
|
|
5857
|
+
mergePR?: string | undefined;
|
|
5858
|
+
approvePR?: string | undefined;
|
|
5859
|
+
recreatePR?: string | undefined;
|
|
5860
|
+
permissionCanSendMessage?: string | undefined;
|
|
5861
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5862
|
+
permissionCanCreatePr?: string | undefined;
|
|
5863
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5864
|
+
permissionCanApprovePr?: string | undefined;
|
|
5865
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5866
|
+
permissionCanViewPr?: string | undefined;
|
|
5867
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5868
|
+
permissionCanMergePr?: string | undefined;
|
|
5869
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5870
|
+
}> | undefined;
|
|
5871
|
+
guildMsg?: string | undefined;
|
|
5872
|
+
placeholderMsg?: string | undefined;
|
|
5873
|
+
environmentSchema?: {
|
|
5874
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5875
|
+
name: string;
|
|
5876
|
+
description?: string | undefined;
|
|
5877
|
+
required?: boolean | undefined;
|
|
5878
|
+
defaultValue?: string | undefined;
|
|
5879
|
+
}[] | undefined;
|
|
5880
|
+
}>>;
|
|
5881
|
+
}, "strip", z.ZodTypeAny, {
|
|
5882
|
+
avatar?: string | null | undefined;
|
|
5883
|
+
description?: string | null | undefined;
|
|
5884
|
+
config?: {
|
|
5885
|
+
signature?: string | undefined;
|
|
5886
|
+
displayConfig?: Record<string, {
|
|
5887
|
+
closed?: string | undefined;
|
|
5888
|
+
merged?: string | undefined;
|
|
5889
|
+
createPR?: string | undefined;
|
|
5890
|
+
viewPR?: string | undefined;
|
|
5891
|
+
mergePR?: string | undefined;
|
|
5892
|
+
approvePR?: string | undefined;
|
|
5893
|
+
recreatePR?: string | undefined;
|
|
5894
|
+
permissionCanSendMessage?: string | undefined;
|
|
5895
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5896
|
+
permissionCanCreatePr?: string | undefined;
|
|
5897
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5898
|
+
permissionCanApprovePr?: string | undefined;
|
|
5899
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5900
|
+
permissionCanViewPr?: string | undefined;
|
|
5901
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5902
|
+
permissionCanMergePr?: string | undefined;
|
|
5903
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5904
|
+
}> | undefined;
|
|
5905
|
+
guildMsg?: string | undefined;
|
|
5906
|
+
placeholderMsg?: string | undefined;
|
|
5907
|
+
environmentSchema?: {
|
|
5908
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5909
|
+
name: string;
|
|
5910
|
+
required: boolean;
|
|
5911
|
+
description?: string | undefined;
|
|
5912
|
+
defaultValue?: string | undefined;
|
|
5913
|
+
}[] | undefined;
|
|
5914
|
+
} | undefined;
|
|
5915
|
+
}, {
|
|
5916
|
+
avatar?: string | null | undefined;
|
|
5917
|
+
description?: string | null | undefined;
|
|
5918
|
+
config?: {
|
|
5919
|
+
signature?: string | undefined;
|
|
5920
|
+
displayConfig?: Record<string, {
|
|
5921
|
+
closed?: string | undefined;
|
|
5922
|
+
merged?: string | undefined;
|
|
5923
|
+
createPR?: string | undefined;
|
|
5924
|
+
viewPR?: string | undefined;
|
|
5925
|
+
mergePR?: string | undefined;
|
|
5926
|
+
approvePR?: string | undefined;
|
|
5927
|
+
recreatePR?: string | undefined;
|
|
5928
|
+
permissionCanSendMessage?: string | undefined;
|
|
5929
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5930
|
+
permissionCanCreatePr?: string | undefined;
|
|
5931
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5932
|
+
permissionCanApprovePr?: string | undefined;
|
|
5933
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5934
|
+
permissionCanViewPr?: string | undefined;
|
|
5935
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5936
|
+
permissionCanMergePr?: string | undefined;
|
|
5937
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5938
|
+
}> | undefined;
|
|
5939
|
+
guildMsg?: string | undefined;
|
|
5940
|
+
placeholderMsg?: string | undefined;
|
|
5941
|
+
environmentSchema?: {
|
|
5942
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5943
|
+
name: string;
|
|
5944
|
+
description?: string | undefined;
|
|
5945
|
+
required?: boolean | undefined;
|
|
5946
|
+
defaultValue?: string | undefined;
|
|
5947
|
+
}[] | undefined;
|
|
5948
|
+
} | undefined;
|
|
5949
|
+
}>;
|
|
5950
|
+
type UpdateDraftAgentRequest = z.infer<typeof UpdateDraftAgentRequestSchema>;
|
|
5455
5951
|
/**
|
|
5456
|
-
*
|
|
5952
|
+
* Response schema for updating draft-agent
|
|
5457
5953
|
*/
|
|
5458
|
-
declare const
|
|
5954
|
+
declare const UpdateDraftAgentResponseSchema: z.ZodObject<{
|
|
5459
5955
|
id: z.ZodString;
|
|
5460
5956
|
name: z.ZodString;
|
|
5461
5957
|
displayName: z.ZodString;
|
|
@@ -5540,7 +6036,11 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5540
6036
|
permissionCanMergePr?: string | undefined;
|
|
5541
6037
|
permissionCanMergePrDesc?: string | undefined;
|
|
5542
6038
|
}>>>;
|
|
6039
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
6040
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
6041
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5543
6042
|
}, "strip", z.ZodTypeAny, {
|
|
6043
|
+
signature?: string | undefined;
|
|
5544
6044
|
displayConfig?: Record<string, {
|
|
5545
6045
|
closed?: string | undefined;
|
|
5546
6046
|
merged?: string | undefined;
|
|
@@ -5560,6 +6060,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5560
6060
|
permissionCanMergePr?: string | undefined;
|
|
5561
6061
|
permissionCanMergePrDesc?: string | undefined;
|
|
5562
6062
|
}> | undefined;
|
|
6063
|
+
guildMsg?: string | undefined;
|
|
6064
|
+
placeholderMsg?: string | undefined;
|
|
5563
6065
|
environmentSchema?: {
|
|
5564
6066
|
type: "string" | "number" | "boolean" | "secret";
|
|
5565
6067
|
name: string;
|
|
@@ -5568,6 +6070,7 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5568
6070
|
defaultValue?: string | undefined;
|
|
5569
6071
|
}[] | undefined;
|
|
5570
6072
|
}, {
|
|
6073
|
+
signature?: string | undefined;
|
|
5571
6074
|
displayConfig?: Record<string, {
|
|
5572
6075
|
closed?: string | undefined;
|
|
5573
6076
|
merged?: string | undefined;
|
|
@@ -5587,6 +6090,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5587
6090
|
permissionCanMergePr?: string | undefined;
|
|
5588
6091
|
permissionCanMergePrDesc?: string | undefined;
|
|
5589
6092
|
}> | undefined;
|
|
6093
|
+
guildMsg?: string | undefined;
|
|
6094
|
+
placeholderMsg?: string | undefined;
|
|
5590
6095
|
environmentSchema?: {
|
|
5591
6096
|
type: "string" | "number" | "boolean" | "secret";
|
|
5592
6097
|
name: string;
|
|
@@ -5610,20 +6115,21 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5610
6115
|
createdAt: z.ZodString;
|
|
5611
6116
|
updatedAt: z.ZodString;
|
|
5612
6117
|
}, "strip", z.ZodTypeAny, {
|
|
5613
|
-
type: "claude" | "codex";
|
|
5614
6118
|
id: string;
|
|
5615
6119
|
avatar: string | null;
|
|
5616
|
-
|
|
6120
|
+
type: "claude" | "codex";
|
|
5617
6121
|
userId: string;
|
|
6122
|
+
createdAt: string;
|
|
6123
|
+
updatedAt: string;
|
|
6124
|
+
name: string;
|
|
6125
|
+
description: string | null;
|
|
5618
6126
|
permissions: {
|
|
5619
6127
|
role: string;
|
|
5620
6128
|
paths?: string[] | undefined;
|
|
5621
6129
|
} | null;
|
|
5622
|
-
updatedAt: string;
|
|
5623
|
-
name: string;
|
|
5624
|
-
description: string | null;
|
|
5625
6130
|
enable: boolean;
|
|
5626
6131
|
config: {
|
|
6132
|
+
signature?: string | undefined;
|
|
5627
6133
|
displayConfig?: Record<string, {
|
|
5628
6134
|
closed?: string | undefined;
|
|
5629
6135
|
merged?: string | undefined;
|
|
@@ -5643,6 +6149,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5643
6149
|
permissionCanMergePr?: string | undefined;
|
|
5644
6150
|
permissionCanMergePrDesc?: string | undefined;
|
|
5645
6151
|
}> | undefined;
|
|
6152
|
+
guildMsg?: string | undefined;
|
|
6153
|
+
placeholderMsg?: string | undefined;
|
|
5646
6154
|
environmentSchema?: {
|
|
5647
6155
|
type: "string" | "number" | "boolean" | "secret";
|
|
5648
6156
|
name: string;
|
|
@@ -5656,20 +6164,21 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5656
6164
|
publishedAgentId: string | null;
|
|
5657
6165
|
sourceTaskId: string | null;
|
|
5658
6166
|
}, {
|
|
5659
|
-
type: "claude" | "codex";
|
|
5660
6167
|
id: string;
|
|
5661
6168
|
avatar: string | null;
|
|
5662
|
-
|
|
6169
|
+
type: "claude" | "codex";
|
|
5663
6170
|
userId: string;
|
|
6171
|
+
createdAt: string;
|
|
6172
|
+
updatedAt: string;
|
|
6173
|
+
name: string;
|
|
6174
|
+
description: string | null;
|
|
5664
6175
|
permissions: {
|
|
5665
6176
|
role: string;
|
|
5666
6177
|
paths?: string[] | undefined;
|
|
5667
6178
|
} | null;
|
|
5668
|
-
updatedAt: string;
|
|
5669
|
-
name: string;
|
|
5670
|
-
description: string | null;
|
|
5671
6179
|
enable: boolean;
|
|
5672
6180
|
config: {
|
|
6181
|
+
signature?: string | undefined;
|
|
5673
6182
|
displayConfig?: Record<string, {
|
|
5674
6183
|
closed?: string | undefined;
|
|
5675
6184
|
merged?: string | undefined;
|
|
@@ -5689,6 +6198,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5689
6198
|
permissionCanMergePr?: string | undefined;
|
|
5690
6199
|
permissionCanMergePrDesc?: string | undefined;
|
|
5691
6200
|
}> | undefined;
|
|
6201
|
+
guildMsg?: string | undefined;
|
|
6202
|
+
placeholderMsg?: string | undefined;
|
|
5692
6203
|
environmentSchema?: {
|
|
5693
6204
|
type: "string" | "number" | "boolean" | "secret";
|
|
5694
6205
|
name: string;
|
|
@@ -5702,7 +6213,7 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5702
6213
|
publishedAgentId: string | null;
|
|
5703
6214
|
sourceTaskId: string | null;
|
|
5704
6215
|
}>;
|
|
5705
|
-
type
|
|
6216
|
+
type UpdateDraftAgentResponse = z.infer<typeof UpdateDraftAgentResponseSchema>;
|
|
5706
6217
|
/**
|
|
5707
6218
|
* Response for user agents endpoint (agents + draft agents)
|
|
5708
6219
|
*/
|
|
@@ -5830,17 +6341,17 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5830
6341
|
paths?: string[] | undefined;
|
|
5831
6342
|
}>>;
|
|
5832
6343
|
}, "strip", z.ZodTypeAny, {
|
|
5833
|
-
type: "claude" | "codex";
|
|
5834
6344
|
id: string;
|
|
5835
6345
|
avatar: string | null;
|
|
5836
|
-
|
|
6346
|
+
type: "claude" | "codex";
|
|
5837
6347
|
userId: string;
|
|
6348
|
+
name: string;
|
|
6349
|
+
description: string | null;
|
|
5838
6350
|
permissions: {
|
|
5839
6351
|
role: string;
|
|
5840
6352
|
paths?: string[] | undefined;
|
|
5841
6353
|
} | null;
|
|
5842
|
-
|
|
5843
|
-
description: string | null;
|
|
6354
|
+
signature: string | null;
|
|
5844
6355
|
guildMsg: string;
|
|
5845
6356
|
placeholderMsg: string;
|
|
5846
6357
|
developerName: string;
|
|
@@ -5870,17 +6381,17 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5870
6381
|
}> | undefined;
|
|
5871
6382
|
} | null;
|
|
5872
6383
|
}, {
|
|
5873
|
-
type: "claude" | "codex";
|
|
5874
6384
|
id: string;
|
|
5875
6385
|
avatar: string | null;
|
|
5876
|
-
|
|
6386
|
+
type: "claude" | "codex";
|
|
5877
6387
|
userId: string;
|
|
6388
|
+
name: string;
|
|
6389
|
+
description: string | null;
|
|
5878
6390
|
permissions: {
|
|
5879
6391
|
role: string;
|
|
5880
6392
|
paths?: string[] | undefined;
|
|
5881
6393
|
} | null;
|
|
5882
|
-
|
|
5883
|
-
description: string | null;
|
|
6394
|
+
signature: string | null;
|
|
5884
6395
|
guildMsg: string;
|
|
5885
6396
|
placeholderMsg: string;
|
|
5886
6397
|
developerName: string;
|
|
@@ -5995,7 +6506,11 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5995
6506
|
permissionCanMergePr?: string | undefined;
|
|
5996
6507
|
permissionCanMergePrDesc?: string | undefined;
|
|
5997
6508
|
}>>>;
|
|
6509
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
6510
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
6511
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5998
6512
|
}, "strip", z.ZodTypeAny, {
|
|
6513
|
+
signature?: string | undefined;
|
|
5999
6514
|
displayConfig?: Record<string, {
|
|
6000
6515
|
closed?: string | undefined;
|
|
6001
6516
|
merged?: string | undefined;
|
|
@@ -6015,6 +6530,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6015
6530
|
permissionCanMergePr?: string | undefined;
|
|
6016
6531
|
permissionCanMergePrDesc?: string | undefined;
|
|
6017
6532
|
}> | undefined;
|
|
6533
|
+
guildMsg?: string | undefined;
|
|
6534
|
+
placeholderMsg?: string | undefined;
|
|
6018
6535
|
environmentSchema?: {
|
|
6019
6536
|
type: "string" | "number" | "boolean" | "secret";
|
|
6020
6537
|
name: string;
|
|
@@ -6023,6 +6540,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6023
6540
|
defaultValue?: string | undefined;
|
|
6024
6541
|
}[] | undefined;
|
|
6025
6542
|
}, {
|
|
6543
|
+
signature?: string | undefined;
|
|
6026
6544
|
displayConfig?: Record<string, {
|
|
6027
6545
|
closed?: string | undefined;
|
|
6028
6546
|
merged?: string | undefined;
|
|
@@ -6042,6 +6560,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6042
6560
|
permissionCanMergePr?: string | undefined;
|
|
6043
6561
|
permissionCanMergePrDesc?: string | undefined;
|
|
6044
6562
|
}> | undefined;
|
|
6563
|
+
guildMsg?: string | undefined;
|
|
6564
|
+
placeholderMsg?: string | undefined;
|
|
6045
6565
|
environmentSchema?: {
|
|
6046
6566
|
type: "string" | "number" | "boolean" | "secret";
|
|
6047
6567
|
name: string;
|
|
@@ -6065,20 +6585,21 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6065
6585
|
createdAt: z.ZodString;
|
|
6066
6586
|
updatedAt: z.ZodString;
|
|
6067
6587
|
}, "strip", z.ZodTypeAny, {
|
|
6068
|
-
type: "claude" | "codex";
|
|
6069
6588
|
id: string;
|
|
6070
6589
|
avatar: string | null;
|
|
6071
|
-
|
|
6590
|
+
type: "claude" | "codex";
|
|
6072
6591
|
userId: string;
|
|
6592
|
+
createdAt: string;
|
|
6593
|
+
updatedAt: string;
|
|
6594
|
+
name: string;
|
|
6595
|
+
description: string | null;
|
|
6073
6596
|
permissions: {
|
|
6074
6597
|
role: string;
|
|
6075
6598
|
paths?: string[] | undefined;
|
|
6076
6599
|
} | null;
|
|
6077
|
-
updatedAt: string;
|
|
6078
|
-
name: string;
|
|
6079
|
-
description: string | null;
|
|
6080
6600
|
enable: boolean;
|
|
6081
6601
|
config: {
|
|
6602
|
+
signature?: string | undefined;
|
|
6082
6603
|
displayConfig?: Record<string, {
|
|
6083
6604
|
closed?: string | undefined;
|
|
6084
6605
|
merged?: string | undefined;
|
|
@@ -6098,6 +6619,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6098
6619
|
permissionCanMergePr?: string | undefined;
|
|
6099
6620
|
permissionCanMergePrDesc?: string | undefined;
|
|
6100
6621
|
}> | undefined;
|
|
6622
|
+
guildMsg?: string | undefined;
|
|
6623
|
+
placeholderMsg?: string | undefined;
|
|
6101
6624
|
environmentSchema?: {
|
|
6102
6625
|
type: "string" | "number" | "boolean" | "secret";
|
|
6103
6626
|
name: string;
|
|
@@ -6111,20 +6634,21 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6111
6634
|
publishedAgentId: string | null;
|
|
6112
6635
|
sourceTaskId: string | null;
|
|
6113
6636
|
}, {
|
|
6114
|
-
type: "claude" | "codex";
|
|
6115
6637
|
id: string;
|
|
6116
6638
|
avatar: string | null;
|
|
6117
|
-
|
|
6639
|
+
type: "claude" | "codex";
|
|
6118
6640
|
userId: string;
|
|
6641
|
+
createdAt: string;
|
|
6642
|
+
updatedAt: string;
|
|
6643
|
+
name: string;
|
|
6644
|
+
description: string | null;
|
|
6119
6645
|
permissions: {
|
|
6120
6646
|
role: string;
|
|
6121
6647
|
paths?: string[] | undefined;
|
|
6122
6648
|
} | null;
|
|
6123
|
-
updatedAt: string;
|
|
6124
|
-
name: string;
|
|
6125
|
-
description: string | null;
|
|
6126
6649
|
enable: boolean;
|
|
6127
6650
|
config: {
|
|
6651
|
+
signature?: string | undefined;
|
|
6128
6652
|
displayConfig?: Record<string, {
|
|
6129
6653
|
closed?: string | undefined;
|
|
6130
6654
|
merged?: string | undefined;
|
|
@@ -6144,6 +6668,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6144
6668
|
permissionCanMergePr?: string | undefined;
|
|
6145
6669
|
permissionCanMergePrDesc?: string | undefined;
|
|
6146
6670
|
}> | undefined;
|
|
6671
|
+
guildMsg?: string | undefined;
|
|
6672
|
+
placeholderMsg?: string | undefined;
|
|
6147
6673
|
environmentSchema?: {
|
|
6148
6674
|
type: "string" | "number" | "boolean" | "secret";
|
|
6149
6675
|
name: string;
|
|
@@ -6159,17 +6685,17 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6159
6685
|
}>, "many">;
|
|
6160
6686
|
}, "strip", z.ZodTypeAny, {
|
|
6161
6687
|
agents: {
|
|
6162
|
-
type: "claude" | "codex";
|
|
6163
6688
|
id: string;
|
|
6164
6689
|
avatar: string | null;
|
|
6165
|
-
|
|
6690
|
+
type: "claude" | "codex";
|
|
6166
6691
|
userId: string;
|
|
6692
|
+
name: string;
|
|
6693
|
+
description: string | null;
|
|
6167
6694
|
permissions: {
|
|
6168
6695
|
role: string;
|
|
6169
6696
|
paths?: string[] | undefined;
|
|
6170
6697
|
} | null;
|
|
6171
|
-
|
|
6172
|
-
description: string | null;
|
|
6698
|
+
signature: string | null;
|
|
6173
6699
|
guildMsg: string;
|
|
6174
6700
|
placeholderMsg: string;
|
|
6175
6701
|
developerName: string;
|
|
@@ -6200,20 +6726,21 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6200
6726
|
} | null;
|
|
6201
6727
|
}[];
|
|
6202
6728
|
draftAgents: {
|
|
6203
|
-
type: "claude" | "codex";
|
|
6204
6729
|
id: string;
|
|
6205
6730
|
avatar: string | null;
|
|
6206
|
-
|
|
6731
|
+
type: "claude" | "codex";
|
|
6207
6732
|
userId: string;
|
|
6733
|
+
createdAt: string;
|
|
6734
|
+
updatedAt: string;
|
|
6735
|
+
name: string;
|
|
6736
|
+
description: string | null;
|
|
6208
6737
|
permissions: {
|
|
6209
6738
|
role: string;
|
|
6210
6739
|
paths?: string[] | undefined;
|
|
6211
6740
|
} | null;
|
|
6212
|
-
updatedAt: string;
|
|
6213
|
-
name: string;
|
|
6214
|
-
description: string | null;
|
|
6215
6741
|
enable: boolean;
|
|
6216
6742
|
config: {
|
|
6743
|
+
signature?: string | undefined;
|
|
6217
6744
|
displayConfig?: Record<string, {
|
|
6218
6745
|
closed?: string | undefined;
|
|
6219
6746
|
merged?: string | undefined;
|
|
@@ -6233,6 +6760,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6233
6760
|
permissionCanMergePr?: string | undefined;
|
|
6234
6761
|
permissionCanMergePrDesc?: string | undefined;
|
|
6235
6762
|
}> | undefined;
|
|
6763
|
+
guildMsg?: string | undefined;
|
|
6764
|
+
placeholderMsg?: string | undefined;
|
|
6236
6765
|
environmentSchema?: {
|
|
6237
6766
|
type: "string" | "number" | "boolean" | "secret";
|
|
6238
6767
|
name: string;
|
|
@@ -6248,17 +6777,17 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6248
6777
|
}[];
|
|
6249
6778
|
}, {
|
|
6250
6779
|
agents: {
|
|
6251
|
-
type: "claude" | "codex";
|
|
6252
6780
|
id: string;
|
|
6253
6781
|
avatar: string | null;
|
|
6254
|
-
|
|
6782
|
+
type: "claude" | "codex";
|
|
6255
6783
|
userId: string;
|
|
6784
|
+
name: string;
|
|
6785
|
+
description: string | null;
|
|
6256
6786
|
permissions: {
|
|
6257
6787
|
role: string;
|
|
6258
6788
|
paths?: string[] | undefined;
|
|
6259
6789
|
} | null;
|
|
6260
|
-
|
|
6261
|
-
description: string | null;
|
|
6790
|
+
signature: string | null;
|
|
6262
6791
|
guildMsg: string;
|
|
6263
6792
|
placeholderMsg: string;
|
|
6264
6793
|
developerName: string;
|
|
@@ -6289,20 +6818,21 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6289
6818
|
} | null;
|
|
6290
6819
|
}[];
|
|
6291
6820
|
draftAgents: {
|
|
6292
|
-
type: "claude" | "codex";
|
|
6293
6821
|
id: string;
|
|
6294
6822
|
avatar: string | null;
|
|
6295
|
-
|
|
6823
|
+
type: "claude" | "codex";
|
|
6296
6824
|
userId: string;
|
|
6825
|
+
createdAt: string;
|
|
6826
|
+
updatedAt: string;
|
|
6827
|
+
name: string;
|
|
6828
|
+
description: string | null;
|
|
6297
6829
|
permissions: {
|
|
6298
6830
|
role: string;
|
|
6299
6831
|
paths?: string[] | undefined;
|
|
6300
6832
|
} | null;
|
|
6301
|
-
updatedAt: string;
|
|
6302
|
-
name: string;
|
|
6303
|
-
description: string | null;
|
|
6304
6833
|
enable: boolean;
|
|
6305
6834
|
config: {
|
|
6835
|
+
signature?: string | undefined;
|
|
6306
6836
|
displayConfig?: Record<string, {
|
|
6307
6837
|
closed?: string | undefined;
|
|
6308
6838
|
merged?: string | undefined;
|
|
@@ -6322,6 +6852,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6322
6852
|
permissionCanMergePr?: string | undefined;
|
|
6323
6853
|
permissionCanMergePrDesc?: string | undefined;
|
|
6324
6854
|
}> | undefined;
|
|
6855
|
+
guildMsg?: string | undefined;
|
|
6856
|
+
placeholderMsg?: string | undefined;
|
|
6325
6857
|
environmentSchema?: {
|
|
6326
6858
|
type: "string" | "number" | "boolean" | "secret";
|
|
6327
6859
|
name: string;
|
|
@@ -6417,20 +6949,20 @@ declare const LocalMachineSchema: z.ZodObject<{
|
|
|
6417
6949
|
createdAt: z.ZodString;
|
|
6418
6950
|
updatedAt: z.ZodString;
|
|
6419
6951
|
}, "strip", z.ZodTypeAny, {
|
|
6420
|
-
status: string;
|
|
6421
6952
|
id: string;
|
|
6422
|
-
|
|
6953
|
+
status: string;
|
|
6423
6954
|
dataEncryptionKey: string;
|
|
6955
|
+
createdAt: string;
|
|
6424
6956
|
updatedAt: string;
|
|
6425
6957
|
owner: string;
|
|
6426
6958
|
metadata: string | null;
|
|
6427
6959
|
approval: string;
|
|
6428
6960
|
controlPort: number | null;
|
|
6429
6961
|
}, {
|
|
6430
|
-
status: string;
|
|
6431
6962
|
id: string;
|
|
6432
|
-
|
|
6963
|
+
status: string;
|
|
6433
6964
|
dataEncryptionKey: string;
|
|
6965
|
+
createdAt: string;
|
|
6434
6966
|
updatedAt: string;
|
|
6435
6967
|
owner: string;
|
|
6436
6968
|
metadata: string | null;
|
|
@@ -6450,18 +6982,18 @@ declare const CloudMachineSchema: z.ZodObject<{
|
|
|
6450
6982
|
createdAt: z.ZodString;
|
|
6451
6983
|
updatedAt: z.ZodString;
|
|
6452
6984
|
}, "strip", z.ZodTypeAny, {
|
|
6453
|
-
status: string;
|
|
6454
6985
|
id: string;
|
|
6455
|
-
|
|
6986
|
+
status: string;
|
|
6456
6987
|
cloudId: string;
|
|
6988
|
+
createdAt: string;
|
|
6457
6989
|
updatedAt: string;
|
|
6458
6990
|
metadata: string | null;
|
|
6459
6991
|
deviceId: string;
|
|
6460
6992
|
}, {
|
|
6461
|
-
status: string;
|
|
6462
6993
|
id: string;
|
|
6463
|
-
|
|
6994
|
+
status: string;
|
|
6464
6995
|
cloudId: string;
|
|
6996
|
+
createdAt: string;
|
|
6465
6997
|
updatedAt: string;
|
|
6466
6998
|
metadata: string | null;
|
|
6467
6999
|
deviceId: string;
|
|
@@ -6486,50 +7018,50 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
6486
7018
|
createdAt: z.ZodString;
|
|
6487
7019
|
updatedAt: z.ZodString;
|
|
6488
7020
|
}, "strip", z.ZodTypeAny, {
|
|
6489
|
-
status: string;
|
|
6490
7021
|
id: string;
|
|
6491
|
-
|
|
7022
|
+
status: string;
|
|
6492
7023
|
cloudId: string;
|
|
7024
|
+
createdAt: string;
|
|
6493
7025
|
updatedAt: string;
|
|
6494
7026
|
metadata: string | null;
|
|
6495
7027
|
deviceId: string;
|
|
6496
7028
|
}, {
|
|
6497
|
-
status: string;
|
|
6498
7029
|
id: string;
|
|
6499
|
-
|
|
7030
|
+
status: string;
|
|
6500
7031
|
cloudId: string;
|
|
7032
|
+
createdAt: string;
|
|
6501
7033
|
updatedAt: string;
|
|
6502
7034
|
metadata: string | null;
|
|
6503
7035
|
deviceId: string;
|
|
6504
7036
|
}>, "many">>;
|
|
6505
7037
|
}, "strip", z.ZodTypeAny, {
|
|
6506
|
-
type: "public" | "private";
|
|
6507
7038
|
id: string;
|
|
7039
|
+
type: "public" | "private";
|
|
6508
7040
|
createdAt: string;
|
|
6509
7041
|
updatedAt: string;
|
|
6510
7042
|
name: string;
|
|
6511
7043
|
owner: string;
|
|
6512
7044
|
machines?: {
|
|
6513
|
-
status: string;
|
|
6514
7045
|
id: string;
|
|
6515
|
-
|
|
7046
|
+
status: string;
|
|
6516
7047
|
cloudId: string;
|
|
7048
|
+
createdAt: string;
|
|
6517
7049
|
updatedAt: string;
|
|
6518
7050
|
metadata: string | null;
|
|
6519
7051
|
deviceId: string;
|
|
6520
7052
|
}[] | undefined;
|
|
6521
7053
|
}, {
|
|
6522
|
-
type: "public" | "private";
|
|
6523
7054
|
id: string;
|
|
7055
|
+
type: "public" | "private";
|
|
6524
7056
|
createdAt: string;
|
|
6525
7057
|
updatedAt: string;
|
|
6526
7058
|
name: string;
|
|
6527
7059
|
owner: string;
|
|
6528
7060
|
machines?: {
|
|
6529
|
-
status: string;
|
|
6530
7061
|
id: string;
|
|
6531
|
-
|
|
7062
|
+
status: string;
|
|
6532
7063
|
cloudId: string;
|
|
7064
|
+
createdAt: string;
|
|
6533
7065
|
updatedAt: string;
|
|
6534
7066
|
metadata: string | null;
|
|
6535
7067
|
deviceId: string;
|
|
@@ -6556,50 +7088,50 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
6556
7088
|
createdAt: z.ZodString;
|
|
6557
7089
|
updatedAt: z.ZodString;
|
|
6558
7090
|
}, "strip", z.ZodTypeAny, {
|
|
6559
|
-
status: string;
|
|
6560
7091
|
id: string;
|
|
6561
|
-
|
|
7092
|
+
status: string;
|
|
6562
7093
|
cloudId: string;
|
|
7094
|
+
createdAt: string;
|
|
6563
7095
|
updatedAt: string;
|
|
6564
7096
|
metadata: string | null;
|
|
6565
7097
|
deviceId: string;
|
|
6566
7098
|
}, {
|
|
6567
|
-
status: string;
|
|
6568
7099
|
id: string;
|
|
6569
|
-
|
|
7100
|
+
status: string;
|
|
6570
7101
|
cloudId: string;
|
|
7102
|
+
createdAt: string;
|
|
6571
7103
|
updatedAt: string;
|
|
6572
7104
|
metadata: string | null;
|
|
6573
7105
|
deviceId: string;
|
|
6574
7106
|
}>, "many">>;
|
|
6575
7107
|
}, "strip", z.ZodTypeAny, {
|
|
6576
|
-
type: "public" | "private";
|
|
6577
7108
|
id: string;
|
|
7109
|
+
type: "public" | "private";
|
|
6578
7110
|
createdAt: string;
|
|
6579
7111
|
updatedAt: string;
|
|
6580
7112
|
name: string;
|
|
6581
7113
|
owner: string;
|
|
6582
7114
|
machines?: {
|
|
6583
|
-
status: string;
|
|
6584
7115
|
id: string;
|
|
6585
|
-
|
|
7116
|
+
status: string;
|
|
6586
7117
|
cloudId: string;
|
|
7118
|
+
createdAt: string;
|
|
6587
7119
|
updatedAt: string;
|
|
6588
7120
|
metadata: string | null;
|
|
6589
7121
|
deviceId: string;
|
|
6590
7122
|
}[] | undefined;
|
|
6591
7123
|
}, {
|
|
6592
|
-
type: "public" | "private";
|
|
6593
7124
|
id: string;
|
|
7125
|
+
type: "public" | "private";
|
|
6594
7126
|
createdAt: string;
|
|
6595
7127
|
updatedAt: string;
|
|
6596
7128
|
name: string;
|
|
6597
7129
|
owner: string;
|
|
6598
7130
|
machines?: {
|
|
6599
|
-
status: string;
|
|
6600
7131
|
id: string;
|
|
6601
|
-
|
|
7132
|
+
status: string;
|
|
6602
7133
|
cloudId: string;
|
|
7134
|
+
createdAt: string;
|
|
6603
7135
|
updatedAt: string;
|
|
6604
7136
|
metadata: string | null;
|
|
6605
7137
|
deviceId: string;
|
|
@@ -6616,20 +7148,20 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
6616
7148
|
createdAt: z.ZodString;
|
|
6617
7149
|
updatedAt: z.ZodString;
|
|
6618
7150
|
}, "strip", z.ZodTypeAny, {
|
|
6619
|
-
status: string;
|
|
6620
7151
|
id: string;
|
|
6621
|
-
|
|
7152
|
+
status: string;
|
|
6622
7153
|
dataEncryptionKey: string;
|
|
7154
|
+
createdAt: string;
|
|
6623
7155
|
updatedAt: string;
|
|
6624
7156
|
owner: string;
|
|
6625
7157
|
metadata: string | null;
|
|
6626
7158
|
approval: string;
|
|
6627
7159
|
controlPort: number | null;
|
|
6628
7160
|
}, {
|
|
6629
|
-
status: string;
|
|
6630
7161
|
id: string;
|
|
6631
|
-
|
|
7162
|
+
status: string;
|
|
6632
7163
|
dataEncryptionKey: string;
|
|
7164
|
+
createdAt: string;
|
|
6633
7165
|
updatedAt: string;
|
|
6634
7166
|
owner: string;
|
|
6635
7167
|
metadata: string | null;
|
|
@@ -6638,27 +7170,27 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
6638
7170
|
}>, "many">;
|
|
6639
7171
|
}, "strip", z.ZodTypeAny, {
|
|
6640
7172
|
clouds: {
|
|
6641
|
-
type: "public" | "private";
|
|
6642
7173
|
id: string;
|
|
7174
|
+
type: "public" | "private";
|
|
6643
7175
|
createdAt: string;
|
|
6644
7176
|
updatedAt: string;
|
|
6645
7177
|
name: string;
|
|
6646
7178
|
owner: string;
|
|
6647
7179
|
machines?: {
|
|
6648
|
-
status: string;
|
|
6649
7180
|
id: string;
|
|
6650
|
-
|
|
7181
|
+
status: string;
|
|
6651
7182
|
cloudId: string;
|
|
7183
|
+
createdAt: string;
|
|
6652
7184
|
updatedAt: string;
|
|
6653
7185
|
metadata: string | null;
|
|
6654
7186
|
deviceId: string;
|
|
6655
7187
|
}[] | undefined;
|
|
6656
7188
|
}[];
|
|
6657
7189
|
localMachines: {
|
|
6658
|
-
status: string;
|
|
6659
7190
|
id: string;
|
|
6660
|
-
|
|
7191
|
+
status: string;
|
|
6661
7192
|
dataEncryptionKey: string;
|
|
7193
|
+
createdAt: string;
|
|
6662
7194
|
updatedAt: string;
|
|
6663
7195
|
owner: string;
|
|
6664
7196
|
metadata: string | null;
|
|
@@ -6667,27 +7199,27 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
6667
7199
|
}[];
|
|
6668
7200
|
}, {
|
|
6669
7201
|
clouds: {
|
|
6670
|
-
type: "public" | "private";
|
|
6671
7202
|
id: string;
|
|
7203
|
+
type: "public" | "private";
|
|
6672
7204
|
createdAt: string;
|
|
6673
7205
|
updatedAt: string;
|
|
6674
7206
|
name: string;
|
|
6675
7207
|
owner: string;
|
|
6676
7208
|
machines?: {
|
|
6677
|
-
status: string;
|
|
6678
7209
|
id: string;
|
|
6679
|
-
|
|
7210
|
+
status: string;
|
|
6680
7211
|
cloudId: string;
|
|
7212
|
+
createdAt: string;
|
|
6681
7213
|
updatedAt: string;
|
|
6682
7214
|
metadata: string | null;
|
|
6683
7215
|
deviceId: string;
|
|
6684
7216
|
}[] | undefined;
|
|
6685
7217
|
}[];
|
|
6686
7218
|
localMachines: {
|
|
6687
|
-
status: string;
|
|
6688
7219
|
id: string;
|
|
6689
|
-
|
|
7220
|
+
status: string;
|
|
6690
7221
|
dataEncryptionKey: string;
|
|
7222
|
+
createdAt: string;
|
|
6691
7223
|
updatedAt: string;
|
|
6692
7224
|
owner: string;
|
|
6693
7225
|
metadata: string | null;
|
|
@@ -6935,12 +7467,12 @@ declare const ListFilesQuerySchema: z.ZodObject<{
|
|
|
6935
7467
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6936
7468
|
fileIds: z.ZodOptional<z.ZodString>;
|
|
6937
7469
|
}, "strip", z.ZodTypeAny, {
|
|
6938
|
-
page: number;
|
|
6939
7470
|
limit: number;
|
|
7471
|
+
page: number;
|
|
6940
7472
|
fileIds?: string | undefined;
|
|
6941
7473
|
}, {
|
|
6942
|
-
page?: number | undefined;
|
|
6943
7474
|
limit?: number | undefined;
|
|
7475
|
+
page?: number | undefined;
|
|
6944
7476
|
fileIds?: string | undefined;
|
|
6945
7477
|
}>;
|
|
6946
7478
|
type ListFilesQuery = z.infer<typeof ListFilesQuerySchema>;
|
|
@@ -6971,9 +7503,6 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
6971
7503
|
contentType: string;
|
|
6972
7504
|
}>, "many">;
|
|
6973
7505
|
}, "strip", z.ZodTypeAny, {
|
|
6974
|
-
total: number;
|
|
6975
|
-
page: number;
|
|
6976
|
-
limit: number;
|
|
6977
7506
|
files: {
|
|
6978
7507
|
createdAt: string;
|
|
6979
7508
|
name: string;
|
|
@@ -6981,10 +7510,10 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
6981
7510
|
fileId: string;
|
|
6982
7511
|
contentType: string;
|
|
6983
7512
|
}[];
|
|
6984
|
-
|
|
7513
|
+
limit: number;
|
|
6985
7514
|
total: number;
|
|
6986
7515
|
page: number;
|
|
6987
|
-
|
|
7516
|
+
}, {
|
|
6988
7517
|
files: {
|
|
6989
7518
|
createdAt: string;
|
|
6990
7519
|
name: string;
|
|
@@ -6992,6 +7521,9 @@ declare const ListFilesResponseSchema: z.ZodObject<{
|
|
|
6992
7521
|
fileId: string;
|
|
6993
7522
|
contentType: string;
|
|
6994
7523
|
}[];
|
|
7524
|
+
limit: number;
|
|
7525
|
+
total: number;
|
|
7526
|
+
page: number;
|
|
6995
7527
|
}>;
|
|
6996
7528
|
type ListFilesResponse = z.infer<typeof ListFilesResponseSchema>;
|
|
6997
7529
|
|
|
@@ -8011,8 +8543,8 @@ declare const CreditsPackageSchema: z.ZodObject<{
|
|
|
8011
8543
|
updatedAt: z.ZodString;
|
|
8012
8544
|
}, "strip", z.ZodTypeAny, {
|
|
8013
8545
|
id: string;
|
|
8014
|
-
createdAt: string;
|
|
8015
8546
|
userId: string;
|
|
8547
|
+
createdAt: string;
|
|
8016
8548
|
updatedAt: string;
|
|
8017
8549
|
name: string;
|
|
8018
8550
|
credit: number;
|
|
@@ -8021,8 +8553,8 @@ declare const CreditsPackageSchema: z.ZodObject<{
|
|
|
8021
8553
|
expiredAt: string;
|
|
8022
8554
|
}, {
|
|
8023
8555
|
id: string;
|
|
8024
|
-
createdAt: string;
|
|
8025
8556
|
userId: string;
|
|
8557
|
+
createdAt: string;
|
|
8026
8558
|
updatedAt: string;
|
|
8027
8559
|
name: string;
|
|
8028
8560
|
credit: number;
|
|
@@ -8064,8 +8596,8 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
8064
8596
|
updatedAt: z.ZodString;
|
|
8065
8597
|
}, "strip", z.ZodTypeAny, {
|
|
8066
8598
|
id: string;
|
|
8067
|
-
createdAt: string;
|
|
8068
8599
|
userId: string;
|
|
8600
|
+
createdAt: string;
|
|
8069
8601
|
updatedAt: string;
|
|
8070
8602
|
name: string;
|
|
8071
8603
|
credit: number;
|
|
@@ -8074,8 +8606,8 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
8074
8606
|
expiredAt: string;
|
|
8075
8607
|
}, {
|
|
8076
8608
|
id: string;
|
|
8077
|
-
createdAt: string;
|
|
8078
8609
|
userId: string;
|
|
8610
|
+
createdAt: string;
|
|
8079
8611
|
updatedAt: string;
|
|
8080
8612
|
name: string;
|
|
8081
8613
|
credit: number;
|
|
@@ -8088,8 +8620,8 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
8088
8620
|
total: number;
|
|
8089
8621
|
packages: {
|
|
8090
8622
|
id: string;
|
|
8091
|
-
createdAt: string;
|
|
8092
8623
|
userId: string;
|
|
8624
|
+
createdAt: string;
|
|
8093
8625
|
updatedAt: string;
|
|
8094
8626
|
name: string;
|
|
8095
8627
|
credit: number;
|
|
@@ -8101,8 +8633,8 @@ declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
|
8101
8633
|
total: number;
|
|
8102
8634
|
packages: {
|
|
8103
8635
|
id: string;
|
|
8104
|
-
createdAt: string;
|
|
8105
8636
|
userId: string;
|
|
8637
|
+
createdAt: string;
|
|
8106
8638
|
updatedAt: string;
|
|
8107
8639
|
name: string;
|
|
8108
8640
|
credit: number;
|
|
@@ -8130,10 +8662,10 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
8130
8662
|
createdAt: z.ZodString;
|
|
8131
8663
|
transactionType: z.ZodLiteral<"charge">;
|
|
8132
8664
|
}, "strip", z.ZodTypeAny, {
|
|
8133
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8134
8665
|
id: string;
|
|
8135
|
-
|
|
8666
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8136
8667
|
userId: string;
|
|
8668
|
+
createdAt: string;
|
|
8137
8669
|
creditsPackageId: string;
|
|
8138
8670
|
amount: number;
|
|
8139
8671
|
balanceBefore: number;
|
|
@@ -8144,10 +8676,10 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
8144
8676
|
metadata?: any;
|
|
8145
8677
|
packageName?: string | undefined;
|
|
8146
8678
|
}, {
|
|
8147
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8148
8679
|
id: string;
|
|
8149
|
-
|
|
8680
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8150
8681
|
userId: string;
|
|
8682
|
+
createdAt: string;
|
|
8151
8683
|
creditsPackageId: string;
|
|
8152
8684
|
amount: number;
|
|
8153
8685
|
balanceBefore: number;
|
|
@@ -8177,10 +8709,10 @@ declare const ConsumeTransactionSchema: z.ZodObject<{
|
|
|
8177
8709
|
transactionType: z.ZodLiteral<"consume">;
|
|
8178
8710
|
}, "strip", z.ZodTypeAny, {
|
|
8179
8711
|
id: string;
|
|
8180
|
-
createdAt: string;
|
|
8181
|
-
userId: string;
|
|
8182
8712
|
taskId: string;
|
|
8183
8713
|
agentId: string;
|
|
8714
|
+
userId: string;
|
|
8715
|
+
createdAt: string;
|
|
8184
8716
|
creditsPackageId: string;
|
|
8185
8717
|
amount: number;
|
|
8186
8718
|
balanceBefore: number;
|
|
@@ -8190,10 +8722,10 @@ declare const ConsumeTransactionSchema: z.ZodObject<{
|
|
|
8190
8722
|
packageName?: string | undefined;
|
|
8191
8723
|
}, {
|
|
8192
8724
|
id: string;
|
|
8193
|
-
createdAt: string;
|
|
8194
|
-
userId: string;
|
|
8195
8725
|
taskId: string;
|
|
8196
8726
|
agentId: string;
|
|
8727
|
+
userId: string;
|
|
8728
|
+
createdAt: string;
|
|
8197
8729
|
creditsPackageId: string;
|
|
8198
8730
|
amount: number;
|
|
8199
8731
|
balanceBefore: number;
|
|
@@ -8221,10 +8753,10 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8221
8753
|
createdAt: z.ZodString;
|
|
8222
8754
|
transactionType: z.ZodLiteral<"charge">;
|
|
8223
8755
|
}, "strip", z.ZodTypeAny, {
|
|
8224
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8225
8756
|
id: string;
|
|
8226
|
-
|
|
8757
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8227
8758
|
userId: string;
|
|
8759
|
+
createdAt: string;
|
|
8228
8760
|
creditsPackageId: string;
|
|
8229
8761
|
amount: number;
|
|
8230
8762
|
balanceBefore: number;
|
|
@@ -8235,10 +8767,10 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8235
8767
|
metadata?: any;
|
|
8236
8768
|
packageName?: string | undefined;
|
|
8237
8769
|
}, {
|
|
8238
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8239
8770
|
id: string;
|
|
8240
|
-
|
|
8771
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8241
8772
|
userId: string;
|
|
8773
|
+
createdAt: string;
|
|
8242
8774
|
creditsPackageId: string;
|
|
8243
8775
|
amount: number;
|
|
8244
8776
|
balanceBefore: number;
|
|
@@ -8263,10 +8795,10 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8263
8795
|
transactionType: z.ZodLiteral<"consume">;
|
|
8264
8796
|
}, "strip", z.ZodTypeAny, {
|
|
8265
8797
|
id: string;
|
|
8266
|
-
createdAt: string;
|
|
8267
|
-
userId: string;
|
|
8268
8798
|
taskId: string;
|
|
8269
8799
|
agentId: string;
|
|
8800
|
+
userId: string;
|
|
8801
|
+
createdAt: string;
|
|
8270
8802
|
creditsPackageId: string;
|
|
8271
8803
|
amount: number;
|
|
8272
8804
|
balanceBefore: number;
|
|
@@ -8276,10 +8808,10 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8276
8808
|
packageName?: string | undefined;
|
|
8277
8809
|
}, {
|
|
8278
8810
|
id: string;
|
|
8279
|
-
createdAt: string;
|
|
8280
|
-
userId: string;
|
|
8281
8811
|
taskId: string;
|
|
8282
8812
|
agentId: string;
|
|
8813
|
+
userId: string;
|
|
8814
|
+
createdAt: string;
|
|
8283
8815
|
creditsPackageId: string;
|
|
8284
8816
|
amount: number;
|
|
8285
8817
|
balanceBefore: number;
|
|
@@ -8331,10 +8863,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8331
8863
|
createdAt: z.ZodString;
|
|
8332
8864
|
transactionType: z.ZodLiteral<"charge">;
|
|
8333
8865
|
}, "strip", z.ZodTypeAny, {
|
|
8334
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8335
8866
|
id: string;
|
|
8336
|
-
|
|
8867
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8337
8868
|
userId: string;
|
|
8869
|
+
createdAt: string;
|
|
8338
8870
|
creditsPackageId: string;
|
|
8339
8871
|
amount: number;
|
|
8340
8872
|
balanceBefore: number;
|
|
@@ -8345,10 +8877,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8345
8877
|
metadata?: any;
|
|
8346
8878
|
packageName?: string | undefined;
|
|
8347
8879
|
}, {
|
|
8348
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8349
8880
|
id: string;
|
|
8350
|
-
|
|
8881
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8351
8882
|
userId: string;
|
|
8883
|
+
createdAt: string;
|
|
8352
8884
|
creditsPackageId: string;
|
|
8353
8885
|
amount: number;
|
|
8354
8886
|
balanceBefore: number;
|
|
@@ -8373,10 +8905,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8373
8905
|
transactionType: z.ZodLiteral<"consume">;
|
|
8374
8906
|
}, "strip", z.ZodTypeAny, {
|
|
8375
8907
|
id: string;
|
|
8376
|
-
createdAt: string;
|
|
8377
|
-
userId: string;
|
|
8378
8908
|
taskId: string;
|
|
8379
8909
|
agentId: string;
|
|
8910
|
+
userId: string;
|
|
8911
|
+
createdAt: string;
|
|
8380
8912
|
creditsPackageId: string;
|
|
8381
8913
|
amount: number;
|
|
8382
8914
|
balanceBefore: number;
|
|
@@ -8386,10 +8918,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8386
8918
|
packageName?: string | undefined;
|
|
8387
8919
|
}, {
|
|
8388
8920
|
id: string;
|
|
8389
|
-
createdAt: string;
|
|
8390
|
-
userId: string;
|
|
8391
8921
|
taskId: string;
|
|
8392
8922
|
agentId: string;
|
|
8923
|
+
userId: string;
|
|
8924
|
+
createdAt: string;
|
|
8393
8925
|
creditsPackageId: string;
|
|
8394
8926
|
amount: number;
|
|
8395
8927
|
balanceBefore: number;
|
|
@@ -8402,10 +8934,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8402
8934
|
}, "strip", z.ZodTypeAny, {
|
|
8403
8935
|
total: number;
|
|
8404
8936
|
transactions: ({
|
|
8405
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8406
8937
|
id: string;
|
|
8407
|
-
|
|
8938
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8408
8939
|
userId: string;
|
|
8940
|
+
createdAt: string;
|
|
8409
8941
|
creditsPackageId: string;
|
|
8410
8942
|
amount: number;
|
|
8411
8943
|
balanceBefore: number;
|
|
@@ -8417,10 +8949,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8417
8949
|
packageName?: string | undefined;
|
|
8418
8950
|
} | {
|
|
8419
8951
|
id: string;
|
|
8420
|
-
createdAt: string;
|
|
8421
|
-
userId: string;
|
|
8422
8952
|
taskId: string;
|
|
8423
8953
|
agentId: string;
|
|
8954
|
+
userId: string;
|
|
8955
|
+
createdAt: string;
|
|
8424
8956
|
creditsPackageId: string;
|
|
8425
8957
|
amount: number;
|
|
8426
8958
|
balanceBefore: number;
|
|
@@ -8432,10 +8964,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8432
8964
|
}, {
|
|
8433
8965
|
total: number;
|
|
8434
8966
|
transactions: ({
|
|
8435
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
8436
8967
|
id: string;
|
|
8437
|
-
|
|
8968
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
8438
8969
|
userId: string;
|
|
8970
|
+
createdAt: string;
|
|
8439
8971
|
creditsPackageId: string;
|
|
8440
8972
|
amount: number;
|
|
8441
8973
|
balanceBefore: number;
|
|
@@ -8447,10 +8979,10 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
8447
8979
|
packageName?: string | undefined;
|
|
8448
8980
|
} | {
|
|
8449
8981
|
id: string;
|
|
8450
|
-
createdAt: string;
|
|
8451
|
-
userId: string;
|
|
8452
8982
|
taskId: string;
|
|
8453
8983
|
agentId: string;
|
|
8984
|
+
userId: string;
|
|
8985
|
+
createdAt: string;
|
|
8454
8986
|
creditsPackageId: string;
|
|
8455
8987
|
amount: number;
|
|
8456
8988
|
balanceBefore: number;
|
|
@@ -8480,10 +9012,10 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
8480
9012
|
transactionType: z.ZodLiteral<"consume">;
|
|
8481
9013
|
}, "strip", z.ZodTypeAny, {
|
|
8482
9014
|
id: string;
|
|
8483
|
-
createdAt: string;
|
|
8484
|
-
userId: string;
|
|
8485
9015
|
taskId: string;
|
|
8486
9016
|
agentId: string;
|
|
9017
|
+
userId: string;
|
|
9018
|
+
createdAt: string;
|
|
8487
9019
|
creditsPackageId: string;
|
|
8488
9020
|
amount: number;
|
|
8489
9021
|
balanceBefore: number;
|
|
@@ -8493,10 +9025,10 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
8493
9025
|
packageName?: string | undefined;
|
|
8494
9026
|
}, {
|
|
8495
9027
|
id: string;
|
|
8496
|
-
createdAt: string;
|
|
8497
|
-
userId: string;
|
|
8498
9028
|
taskId: string;
|
|
8499
9029
|
agentId: string;
|
|
9030
|
+
userId: string;
|
|
9031
|
+
createdAt: string;
|
|
8500
9032
|
creditsPackageId: string;
|
|
8501
9033
|
amount: number;
|
|
8502
9034
|
balanceBefore: number;
|
|
@@ -8510,10 +9042,10 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
8510
9042
|
total: number;
|
|
8511
9043
|
transactions: {
|
|
8512
9044
|
id: string;
|
|
8513
|
-
createdAt: string;
|
|
8514
|
-
userId: string;
|
|
8515
9045
|
taskId: string;
|
|
8516
9046
|
agentId: string;
|
|
9047
|
+
userId: string;
|
|
9048
|
+
createdAt: string;
|
|
8517
9049
|
creditsPackageId: string;
|
|
8518
9050
|
amount: number;
|
|
8519
9051
|
balanceBefore: number;
|
|
@@ -8526,10 +9058,10 @@ declare const TaskTransactionsResponseSchema: z.ZodObject<{
|
|
|
8526
9058
|
total: number;
|
|
8527
9059
|
transactions: {
|
|
8528
9060
|
id: string;
|
|
8529
|
-
createdAt: string;
|
|
8530
|
-
userId: string;
|
|
8531
9061
|
taskId: string;
|
|
8532
9062
|
agentId: string;
|
|
9063
|
+
userId: string;
|
|
9064
|
+
createdAt: string;
|
|
8533
9065
|
creditsPackageId: string;
|
|
8534
9066
|
amount: number;
|
|
8535
9067
|
balanceBefore: number;
|
|
@@ -8597,8 +9129,8 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
8597
9129
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8598
9130
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8599
9131
|
}, "strip", z.ZodTypeAny, {
|
|
8600
|
-
type: string;
|
|
8601
9132
|
id: string;
|
|
9133
|
+
type: string;
|
|
8602
9134
|
createdAt: string;
|
|
8603
9135
|
updatedAt: string;
|
|
8604
9136
|
name: string;
|
|
@@ -8607,8 +9139,8 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
8607
9139
|
apiUrl: string;
|
|
8608
9140
|
oauthServerId: string | null;
|
|
8609
9141
|
}, {
|
|
8610
|
-
type: string;
|
|
8611
9142
|
id: string;
|
|
9143
|
+
type: string;
|
|
8612
9144
|
createdAt: string | Date;
|
|
8613
9145
|
updatedAt: string | Date;
|
|
8614
9146
|
name: string;
|
|
@@ -8632,8 +9164,8 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8632
9164
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8633
9165
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8634
9166
|
}, "strip", z.ZodTypeAny, {
|
|
8635
|
-
type: string;
|
|
8636
9167
|
id: string;
|
|
9168
|
+
type: string;
|
|
8637
9169
|
createdAt: string;
|
|
8638
9170
|
updatedAt: string;
|
|
8639
9171
|
name: string;
|
|
@@ -8642,8 +9174,8 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8642
9174
|
apiUrl: string;
|
|
8643
9175
|
oauthServerId: string | null;
|
|
8644
9176
|
}, {
|
|
8645
|
-
type: string;
|
|
8646
9177
|
id: string;
|
|
9178
|
+
type: string;
|
|
8647
9179
|
createdAt: string | Date;
|
|
8648
9180
|
updatedAt: string | Date;
|
|
8649
9181
|
name: string;
|
|
@@ -8667,8 +9199,8 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
8667
9199
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8668
9200
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
8669
9201
|
}, "strip", z.ZodTypeAny, {
|
|
8670
|
-
type: string;
|
|
8671
9202
|
id: string;
|
|
9203
|
+
type: string;
|
|
8672
9204
|
createdAt: string;
|
|
8673
9205
|
updatedAt: string;
|
|
8674
9206
|
name: string;
|
|
@@ -8677,8 +9209,8 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
8677
9209
|
apiUrl: string;
|
|
8678
9210
|
oauthServerId: string | null;
|
|
8679
9211
|
}, {
|
|
8680
|
-
type: string;
|
|
8681
9212
|
id: string;
|
|
9213
|
+
type: string;
|
|
8682
9214
|
createdAt: string | Date;
|
|
8683
9215
|
updatedAt: string | Date;
|
|
8684
9216
|
name: string;
|
|
@@ -8727,28 +9259,28 @@ declare const RpcResponseSchema: z.ZodObject<{
|
|
|
8727
9259
|
code: z.ZodString;
|
|
8728
9260
|
message: z.ZodString;
|
|
8729
9261
|
}, "strip", z.ZodTypeAny, {
|
|
8730
|
-
message: string;
|
|
8731
9262
|
code: string;
|
|
8732
|
-
}, {
|
|
8733
9263
|
message: string;
|
|
9264
|
+
}, {
|
|
8734
9265
|
code: string;
|
|
9266
|
+
message: string;
|
|
8735
9267
|
}>>;
|
|
8736
9268
|
}, "strip", z.ZodTypeAny, {
|
|
8737
9269
|
success: boolean;
|
|
9270
|
+
status?: number | undefined;
|
|
9271
|
+
data?: any;
|
|
8738
9272
|
error?: {
|
|
8739
|
-
message: string;
|
|
8740
9273
|
code: string;
|
|
9274
|
+
message: string;
|
|
8741
9275
|
} | undefined;
|
|
8742
|
-
status?: number | undefined;
|
|
8743
|
-
data?: any;
|
|
8744
9276
|
}, {
|
|
8745
9277
|
success: boolean;
|
|
9278
|
+
status?: number | undefined;
|
|
9279
|
+
data?: any;
|
|
8746
9280
|
error?: {
|
|
8747
|
-
message: string;
|
|
8748
9281
|
code: string;
|
|
9282
|
+
message: string;
|
|
8749
9283
|
} | undefined;
|
|
8750
|
-
status?: number | undefined;
|
|
8751
|
-
data?: any;
|
|
8752
9284
|
}>;
|
|
8753
9285
|
type RpcResponseData = z.infer<typeof RpcResponseSchema>;
|
|
8754
9286
|
|
|
@@ -9232,10 +9764,10 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
9232
9764
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
9233
9765
|
chatAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9234
9766
|
}, "strip", z.ZodTypeAny, {
|
|
9235
|
-
userId: string;
|
|
9236
|
-
taskId: string;
|
|
9237
9767
|
chatId: string;
|
|
9768
|
+
taskId: string;
|
|
9238
9769
|
agentId: string;
|
|
9770
|
+
userId: string;
|
|
9239
9771
|
eventId: string;
|
|
9240
9772
|
agentType: string;
|
|
9241
9773
|
cwd?: string | undefined;
|
|
@@ -9257,10 +9789,10 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
9257
9789
|
environmentVariables?: Record<string, string> | undefined;
|
|
9258
9790
|
chatAgents?: Record<string, string> | undefined;
|
|
9259
9791
|
}, {
|
|
9260
|
-
userId: string;
|
|
9261
|
-
taskId: string;
|
|
9262
9792
|
chatId: string;
|
|
9793
|
+
taskId: string;
|
|
9263
9794
|
agentId: string;
|
|
9795
|
+
userId: string;
|
|
9264
9796
|
eventId: string;
|
|
9265
9797
|
cwd?: string | undefined;
|
|
9266
9798
|
forceUserCwd?: boolean | undefined;
|
|
@@ -9312,10 +9844,10 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9312
9844
|
message: z.ZodOptional<z.ZodType<SDKUserMessage, z.ZodTypeDef, SDKUserMessage>>;
|
|
9313
9845
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
9314
9846
|
}, "strip", z.ZodTypeAny, {
|
|
9315
|
-
userId: string;
|
|
9316
|
-
taskId: string;
|
|
9317
9847
|
chatId: string;
|
|
9848
|
+
taskId: string;
|
|
9318
9849
|
agentId: string;
|
|
9850
|
+
userId: string;
|
|
9319
9851
|
eventId: string;
|
|
9320
9852
|
agentType: string;
|
|
9321
9853
|
message?: SDKUserMessage | undefined;
|
|
@@ -9339,10 +9871,10 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9339
9871
|
environmentVariables?: Record<string, string> | undefined;
|
|
9340
9872
|
chatAgents?: Record<string, string> | undefined;
|
|
9341
9873
|
}, {
|
|
9342
|
-
userId: string;
|
|
9343
|
-
taskId: string;
|
|
9344
9874
|
chatId: string;
|
|
9875
|
+
taskId: string;
|
|
9345
9876
|
agentId: string;
|
|
9877
|
+
userId: string;
|
|
9346
9878
|
eventId: string;
|
|
9347
9879
|
message?: SDKUserMessage | undefined;
|
|
9348
9880
|
encryptedMessage?: string | undefined;
|
|
@@ -9366,10 +9898,10 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9366
9898
|
environmentVariables?: Record<string, string> | undefined;
|
|
9367
9899
|
chatAgents?: Record<string, string> | undefined;
|
|
9368
9900
|
}>, {
|
|
9369
|
-
userId: string;
|
|
9370
|
-
taskId: string;
|
|
9371
9901
|
chatId: string;
|
|
9902
|
+
taskId: string;
|
|
9372
9903
|
agentId: string;
|
|
9904
|
+
userId: string;
|
|
9373
9905
|
eventId: string;
|
|
9374
9906
|
agentType: string;
|
|
9375
9907
|
message?: SDKUserMessage | undefined;
|
|
@@ -9393,10 +9925,10 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9393
9925
|
environmentVariables?: Record<string, string> | undefined;
|
|
9394
9926
|
chatAgents?: Record<string, string> | undefined;
|
|
9395
9927
|
}, {
|
|
9396
|
-
userId: string;
|
|
9397
|
-
taskId: string;
|
|
9398
9928
|
chatId: string;
|
|
9929
|
+
taskId: string;
|
|
9399
9930
|
agentId: string;
|
|
9931
|
+
userId: string;
|
|
9400
9932
|
eventId: string;
|
|
9401
9933
|
message?: SDKUserMessage | undefined;
|
|
9402
9934
|
encryptedMessage?: string | undefined;
|
|
@@ -9454,10 +9986,10 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
9454
9986
|
message: z.ZodOptional<z.ZodType<SDKUserMessage, z.ZodTypeDef, SDKUserMessage>>;
|
|
9455
9987
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
9456
9988
|
}, "strip", z.ZodTypeAny, {
|
|
9457
|
-
userId: string;
|
|
9458
|
-
taskId: string;
|
|
9459
9989
|
chatId: string;
|
|
9990
|
+
taskId: string;
|
|
9460
9991
|
agentId: string;
|
|
9992
|
+
userId: string;
|
|
9461
9993
|
agentSessionId: string;
|
|
9462
9994
|
eventId: string;
|
|
9463
9995
|
agentType: string;
|
|
@@ -9484,10 +10016,10 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
9484
10016
|
event?: string | undefined;
|
|
9485
10017
|
eventData?: any;
|
|
9486
10018
|
}, {
|
|
9487
|
-
userId: string;
|
|
9488
|
-
taskId: string;
|
|
9489
10019
|
chatId: string;
|
|
10020
|
+
taskId: string;
|
|
9490
10021
|
agentId: string;
|
|
10022
|
+
userId: string;
|
|
9491
10023
|
agentSessionId: string;
|
|
9492
10024
|
eventId: string;
|
|
9493
10025
|
message?: SDKUserMessage | undefined;
|
|
@@ -9524,17 +10056,17 @@ declare const cancelTaskSchema: z.ZodObject<{
|
|
|
9524
10056
|
agentId: z.ZodString;
|
|
9525
10057
|
reason: z.ZodOptional<z.ZodString>;
|
|
9526
10058
|
}, "strip", z.ZodTypeAny, {
|
|
9527
|
-
userId: string;
|
|
9528
|
-
taskId: string;
|
|
9529
10059
|
chatId: string;
|
|
10060
|
+
taskId: string;
|
|
9530
10061
|
agentId: string;
|
|
10062
|
+
userId: string;
|
|
9531
10063
|
eventId: string;
|
|
9532
10064
|
reason?: string | undefined;
|
|
9533
10065
|
}, {
|
|
9534
|
-
userId: string;
|
|
9535
|
-
taskId: string;
|
|
9536
10066
|
chatId: string;
|
|
10067
|
+
taskId: string;
|
|
9537
10068
|
agentId: string;
|
|
10069
|
+
userId: string;
|
|
9538
10070
|
eventId: string;
|
|
9539
10071
|
reason?: string | undefined;
|
|
9540
10072
|
}>;
|
|
@@ -9696,15 +10228,15 @@ declare const TaskStateChangeEventSchema: z.ZodObject<{
|
|
|
9696
10228
|
state: z.ZodString;
|
|
9697
10229
|
updatedAt: z.ZodString;
|
|
9698
10230
|
}, "strip", z.ZodTypeAny, {
|
|
9699
|
-
state: string;
|
|
9700
|
-
taskId: string;
|
|
9701
10231
|
chatId: string;
|
|
10232
|
+
taskId: string;
|
|
10233
|
+
state: string;
|
|
9702
10234
|
updatedAt: string;
|
|
9703
10235
|
eventId: string;
|
|
9704
10236
|
}, {
|
|
9705
|
-
state: string;
|
|
9706
|
-
taskId: string;
|
|
9707
10237
|
chatId: string;
|
|
10238
|
+
taskId: string;
|
|
10239
|
+
state: string;
|
|
9708
10240
|
updatedAt: string;
|
|
9709
10241
|
eventId: string;
|
|
9710
10242
|
}>;
|
|
@@ -9869,8 +10401,8 @@ declare const WorkspaceFileRequestSchema: z.ZodObject<{
|
|
|
9869
10401
|
ifModifiedSince: z.ZodOptional<z.ZodString>;
|
|
9870
10402
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
9871
10403
|
}, "strip", z.ZodTypeAny, {
|
|
9872
|
-
userId: string;
|
|
9873
10404
|
taskId: string;
|
|
10405
|
+
userId: string;
|
|
9874
10406
|
eventId: string;
|
|
9875
10407
|
relativePath: string;
|
|
9876
10408
|
requestId: string;
|
|
@@ -9878,8 +10410,8 @@ declare const WorkspaceFileRequestSchema: z.ZodObject<{
|
|
|
9878
10410
|
maxFileSizeMB?: number | undefined;
|
|
9879
10411
|
ifModifiedSince?: string | undefined;
|
|
9880
10412
|
}, {
|
|
9881
|
-
userId: string;
|
|
9882
10413
|
taskId: string;
|
|
10414
|
+
userId: string;
|
|
9883
10415
|
eventId: string;
|
|
9884
10416
|
relativePath: string;
|
|
9885
10417
|
requestId: string;
|
|
@@ -9973,21 +10505,17 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
9973
10505
|
code: z.ZodString;
|
|
9974
10506
|
message: z.ZodString;
|
|
9975
10507
|
}, "strip", z.ZodTypeAny, {
|
|
9976
|
-
message: string;
|
|
9977
10508
|
code: string;
|
|
9978
|
-
}, {
|
|
9979
10509
|
message: string;
|
|
10510
|
+
}, {
|
|
9980
10511
|
code: string;
|
|
10512
|
+
message: string;
|
|
9981
10513
|
}>>;
|
|
9982
10514
|
}, "strip", z.ZodTypeAny, {
|
|
9983
|
-
success: boolean;
|
|
9984
10515
|
taskId: string;
|
|
10516
|
+
success: boolean;
|
|
9985
10517
|
eventId: string;
|
|
9986
10518
|
requestId: string;
|
|
9987
|
-
error?: {
|
|
9988
|
-
message: string;
|
|
9989
|
-
code: string;
|
|
9990
|
-
} | undefined;
|
|
9991
10519
|
data?: {
|
|
9992
10520
|
type: "directory" | "file";
|
|
9993
10521
|
metadata: {
|
|
@@ -10006,16 +10534,16 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
10006
10534
|
content?: string | undefined;
|
|
10007
10535
|
encryptedContent?: string | undefined;
|
|
10008
10536
|
} | undefined;
|
|
10537
|
+
error?: {
|
|
10538
|
+
code: string;
|
|
10539
|
+
message: string;
|
|
10540
|
+
} | undefined;
|
|
10009
10541
|
notModified?: boolean | undefined;
|
|
10010
10542
|
}, {
|
|
10011
|
-
success: boolean;
|
|
10012
10543
|
taskId: string;
|
|
10544
|
+
success: boolean;
|
|
10013
10545
|
eventId: string;
|
|
10014
10546
|
requestId: string;
|
|
10015
|
-
error?: {
|
|
10016
|
-
message: string;
|
|
10017
|
-
code: string;
|
|
10018
|
-
} | undefined;
|
|
10019
10547
|
data?: {
|
|
10020
10548
|
type: "directory" | "file";
|
|
10021
10549
|
metadata: {
|
|
@@ -10034,6 +10562,10 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
10034
10562
|
content?: string | undefined;
|
|
10035
10563
|
encryptedContent?: string | undefined;
|
|
10036
10564
|
} | undefined;
|
|
10565
|
+
error?: {
|
|
10566
|
+
code: string;
|
|
10567
|
+
message: string;
|
|
10568
|
+
} | undefined;
|
|
10037
10569
|
notModified?: boolean | undefined;
|
|
10038
10570
|
}>;
|
|
10039
10571
|
type WorkspaceFileResponseEventData = z.infer<typeof WorkspaceFileResponseSchema>;
|
|
@@ -10063,14 +10595,14 @@ declare const TaskInfoUpdateEventDataSchema: z.ZodObject<{
|
|
|
10063
10595
|
updates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10064
10596
|
updatedAt: z.ZodString;
|
|
10065
10597
|
}, "strip", z.ZodTypeAny, {
|
|
10066
|
-
taskId: string;
|
|
10067
10598
|
chatId: string;
|
|
10599
|
+
taskId: string;
|
|
10068
10600
|
updatedAt: string;
|
|
10069
10601
|
eventId: string;
|
|
10070
10602
|
updates?: Record<string, any> | undefined;
|
|
10071
10603
|
}, {
|
|
10072
|
-
taskId: string;
|
|
10073
10604
|
chatId: string;
|
|
10605
|
+
taskId: string;
|
|
10074
10606
|
updatedAt: string;
|
|
10075
10607
|
eventId: string;
|
|
10076
10608
|
updates?: Record<string, any> | undefined;
|
|
@@ -10125,8 +10657,8 @@ declare const SubTaskCompletedEventSchema: z.ZodObject<{
|
|
|
10125
10657
|
sessionPath: z.ZodOptional<z.ZodString>;
|
|
10126
10658
|
cwd: z.ZodOptional<z.ZodString>;
|
|
10127
10659
|
}, "strip", z.ZodTypeAny, {
|
|
10128
|
-
taskId: string;
|
|
10129
10660
|
parentTaskId: string;
|
|
10661
|
+
taskId: string;
|
|
10130
10662
|
rootTaskId: string;
|
|
10131
10663
|
eventId: string;
|
|
10132
10664
|
agentName: string;
|
|
@@ -10134,8 +10666,8 @@ declare const SubTaskCompletedEventSchema: z.ZodObject<{
|
|
|
10134
10666
|
sessionPath?: string | undefined;
|
|
10135
10667
|
taskName?: string | undefined;
|
|
10136
10668
|
}, {
|
|
10137
|
-
taskId: string;
|
|
10138
10669
|
parentTaskId: string;
|
|
10670
|
+
taskId: string;
|
|
10139
10671
|
rootTaskId: string;
|
|
10140
10672
|
eventId: string;
|
|
10141
10673
|
agentName: string;
|
|
@@ -10187,8 +10719,8 @@ declare const DeployAgentEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10187
10719
|
isSystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
10188
10720
|
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
10189
10721
|
}, "strip", z.ZodTypeAny, {
|
|
10190
|
-
userId: string;
|
|
10191
10722
|
taskId: string;
|
|
10723
|
+
userId: string;
|
|
10192
10724
|
draftAgentId: string;
|
|
10193
10725
|
eventId: string;
|
|
10194
10726
|
sourcePath: string;
|
|
@@ -10200,8 +10732,8 @@ declare const DeployAgentEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10200
10732
|
supportLocal?: boolean | undefined;
|
|
10201
10733
|
isSystemAgent?: boolean | undefined;
|
|
10202
10734
|
}, {
|
|
10203
|
-
userId: string;
|
|
10204
10735
|
taskId: string;
|
|
10736
|
+
userId: string;
|
|
10205
10737
|
draftAgentId: string;
|
|
10206
10738
|
eventId: string;
|
|
10207
10739
|
sourcePath: string;
|
|
@@ -10213,8 +10745,8 @@ declare const DeployAgentEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10213
10745
|
supportLocal?: boolean | undefined;
|
|
10214
10746
|
isSystemAgent?: boolean | undefined;
|
|
10215
10747
|
}>, {
|
|
10216
|
-
userId: string;
|
|
10217
10748
|
taskId: string;
|
|
10749
|
+
userId: string;
|
|
10218
10750
|
draftAgentId: string;
|
|
10219
10751
|
eventId: string;
|
|
10220
10752
|
sourcePath: string;
|
|
@@ -10226,8 +10758,8 @@ declare const DeployAgentEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10226
10758
|
supportLocal?: boolean | undefined;
|
|
10227
10759
|
isSystemAgent?: boolean | undefined;
|
|
10228
10760
|
}, {
|
|
10229
|
-
userId: string;
|
|
10230
10761
|
taskId: string;
|
|
10762
|
+
userId: string;
|
|
10231
10763
|
draftAgentId: string;
|
|
10232
10764
|
eventId: string;
|
|
10233
10765
|
sourcePath: string;
|
|
@@ -10256,23 +10788,23 @@ declare const DeployAgentCompleteEventSchema: z.ZodObject<{
|
|
|
10256
10788
|
isSystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
10257
10789
|
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
10258
10790
|
}, "strip", z.ZodTypeAny, {
|
|
10259
|
-
success: boolean;
|
|
10260
10791
|
taskId: string;
|
|
10792
|
+
success: boolean;
|
|
10261
10793
|
eventId: string;
|
|
10262
10794
|
targetAgentId: string;
|
|
10263
|
-
error?: string | undefined;
|
|
10264
10795
|
avatar?: string | undefined;
|
|
10265
10796
|
name?: string | undefined;
|
|
10797
|
+
error?: string | undefined;
|
|
10266
10798
|
supportLocal?: boolean | undefined;
|
|
10267
10799
|
isSystemAgent?: boolean | undefined;
|
|
10268
10800
|
}, {
|
|
10269
|
-
success: boolean;
|
|
10270
10801
|
taskId: string;
|
|
10802
|
+
success: boolean;
|
|
10271
10803
|
eventId: string;
|
|
10272
10804
|
targetAgentId: string;
|
|
10273
|
-
error?: string | undefined;
|
|
10274
10805
|
avatar?: string | undefined;
|
|
10275
10806
|
name?: string | undefined;
|
|
10807
|
+
error?: string | undefined;
|
|
10276
10808
|
supportLocal?: boolean | undefined;
|
|
10277
10809
|
isSystemAgent?: boolean | undefined;
|
|
10278
10810
|
}>;
|
|
@@ -10355,15 +10887,15 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10355
10887
|
createdAt: z.ZodString;
|
|
10356
10888
|
updatedAt: z.ZodString;
|
|
10357
10889
|
}, "strip", z.ZodTypeAny, {
|
|
10358
|
-
type: "direct" | "group";
|
|
10359
10890
|
id: string;
|
|
10891
|
+
type: "direct" | "group";
|
|
10360
10892
|
createdAt: string;
|
|
10361
10893
|
updatedAt: string;
|
|
10362
10894
|
owner: string;
|
|
10363
10895
|
title?: string | null | undefined;
|
|
10364
10896
|
}, {
|
|
10365
|
-
type: "direct" | "group";
|
|
10366
10897
|
id: string;
|
|
10898
|
+
type: "direct" | "group";
|
|
10367
10899
|
createdAt: string;
|
|
10368
10900
|
updatedAt: string;
|
|
10369
10901
|
owner: string;
|
|
@@ -10377,18 +10909,18 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10377
10909
|
createdAt: z.ZodString;
|
|
10378
10910
|
updatedAt: z.ZodString;
|
|
10379
10911
|
}, "strip", z.ZodTypeAny, {
|
|
10380
|
-
type: "agent" | "human";
|
|
10381
10912
|
id: string;
|
|
10382
|
-
|
|
10913
|
+
type: "agent" | "human";
|
|
10383
10914
|
chatId: string;
|
|
10915
|
+
createdAt: string;
|
|
10384
10916
|
updatedAt: string;
|
|
10385
10917
|
memberCode: string;
|
|
10386
10918
|
role: string;
|
|
10387
10919
|
}, {
|
|
10388
|
-
type: "agent" | "human";
|
|
10389
10920
|
id: string;
|
|
10390
|
-
|
|
10921
|
+
type: "agent" | "human";
|
|
10391
10922
|
chatId: string;
|
|
10923
|
+
createdAt: string;
|
|
10392
10924
|
updatedAt: string;
|
|
10393
10925
|
memberCode: string;
|
|
10394
10926
|
role: string;
|
|
@@ -10540,7 +11072,11 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10540
11072
|
permissionCanMergePr?: string | undefined;
|
|
10541
11073
|
permissionCanMergePrDesc?: string | undefined;
|
|
10542
11074
|
}>>>;
|
|
11075
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
11076
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
11077
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
10543
11078
|
}, "strip", z.ZodTypeAny, {
|
|
11079
|
+
signature?: string | undefined;
|
|
10544
11080
|
displayConfig?: Record<string, {
|
|
10545
11081
|
closed?: string | undefined;
|
|
10546
11082
|
merged?: string | undefined;
|
|
@@ -10560,6 +11096,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10560
11096
|
permissionCanMergePr?: string | undefined;
|
|
10561
11097
|
permissionCanMergePrDesc?: string | undefined;
|
|
10562
11098
|
}> | undefined;
|
|
11099
|
+
guildMsg?: string | undefined;
|
|
11100
|
+
placeholderMsg?: string | undefined;
|
|
10563
11101
|
environmentSchema?: {
|
|
10564
11102
|
type: "string" | "number" | "boolean" | "secret";
|
|
10565
11103
|
name: string;
|
|
@@ -10568,6 +11106,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10568
11106
|
defaultValue?: string | undefined;
|
|
10569
11107
|
}[] | undefined;
|
|
10570
11108
|
}, {
|
|
11109
|
+
signature?: string | undefined;
|
|
10571
11110
|
displayConfig?: Record<string, {
|
|
10572
11111
|
closed?: string | undefined;
|
|
10573
11112
|
merged?: string | undefined;
|
|
@@ -10587,6 +11126,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10587
11126
|
permissionCanMergePr?: string | undefined;
|
|
10588
11127
|
permissionCanMergePrDesc?: string | undefined;
|
|
10589
11128
|
}> | undefined;
|
|
11129
|
+
guildMsg?: string | undefined;
|
|
11130
|
+
placeholderMsg?: string | undefined;
|
|
10590
11131
|
environmentSchema?: {
|
|
10591
11132
|
type: "string" | "number" | "boolean" | "secret";
|
|
10592
11133
|
name: string;
|
|
@@ -10610,20 +11151,21 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10610
11151
|
createdAt: z.ZodString;
|
|
10611
11152
|
updatedAt: z.ZodString;
|
|
10612
11153
|
}, "strip", z.ZodTypeAny, {
|
|
10613
|
-
type: "claude" | "codex";
|
|
10614
11154
|
id: string;
|
|
10615
11155
|
avatar: string | null;
|
|
10616
|
-
|
|
11156
|
+
type: "claude" | "codex";
|
|
10617
11157
|
userId: string;
|
|
11158
|
+
createdAt: string;
|
|
11159
|
+
updatedAt: string;
|
|
11160
|
+
name: string;
|
|
11161
|
+
description: string | null;
|
|
10618
11162
|
permissions: {
|
|
10619
11163
|
role: string;
|
|
10620
11164
|
paths?: string[] | undefined;
|
|
10621
11165
|
} | null;
|
|
10622
|
-
updatedAt: string;
|
|
10623
|
-
name: string;
|
|
10624
|
-
description: string | null;
|
|
10625
11166
|
enable: boolean;
|
|
10626
11167
|
config: {
|
|
11168
|
+
signature?: string | undefined;
|
|
10627
11169
|
displayConfig?: Record<string, {
|
|
10628
11170
|
closed?: string | undefined;
|
|
10629
11171
|
merged?: string | undefined;
|
|
@@ -10643,6 +11185,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10643
11185
|
permissionCanMergePr?: string | undefined;
|
|
10644
11186
|
permissionCanMergePrDesc?: string | undefined;
|
|
10645
11187
|
}> | undefined;
|
|
11188
|
+
guildMsg?: string | undefined;
|
|
11189
|
+
placeholderMsg?: string | undefined;
|
|
10646
11190
|
environmentSchema?: {
|
|
10647
11191
|
type: "string" | "number" | "boolean" | "secret";
|
|
10648
11192
|
name: string;
|
|
@@ -10656,20 +11200,21 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10656
11200
|
publishedAgentId: string | null;
|
|
10657
11201
|
sourceTaskId: string | null;
|
|
10658
11202
|
}, {
|
|
10659
|
-
type: "claude" | "codex";
|
|
10660
11203
|
id: string;
|
|
10661
11204
|
avatar: string | null;
|
|
10662
|
-
|
|
11205
|
+
type: "claude" | "codex";
|
|
10663
11206
|
userId: string;
|
|
11207
|
+
createdAt: string;
|
|
11208
|
+
updatedAt: string;
|
|
11209
|
+
name: string;
|
|
11210
|
+
description: string | null;
|
|
10664
11211
|
permissions: {
|
|
10665
11212
|
role: string;
|
|
10666
11213
|
paths?: string[] | undefined;
|
|
10667
11214
|
} | null;
|
|
10668
|
-
updatedAt: string;
|
|
10669
|
-
name: string;
|
|
10670
|
-
description: string | null;
|
|
10671
11215
|
enable: boolean;
|
|
10672
11216
|
config: {
|
|
11217
|
+
signature?: string | undefined;
|
|
10673
11218
|
displayConfig?: Record<string, {
|
|
10674
11219
|
closed?: string | undefined;
|
|
10675
11220
|
merged?: string | undefined;
|
|
@@ -10689,6 +11234,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10689
11234
|
permissionCanMergePr?: string | undefined;
|
|
10690
11235
|
permissionCanMergePrDesc?: string | undefined;
|
|
10691
11236
|
}> | undefined;
|
|
11237
|
+
guildMsg?: string | undefined;
|
|
11238
|
+
placeholderMsg?: string | undefined;
|
|
10692
11239
|
environmentSchema?: {
|
|
10693
11240
|
type: "string" | "number" | "boolean" | "secret";
|
|
10694
11241
|
name: string;
|
|
@@ -10706,35 +11253,36 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10706
11253
|
}, "strip", z.ZodTypeAny, {
|
|
10707
11254
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed" | "draft-agent-added";
|
|
10708
11255
|
data: {
|
|
10709
|
-
type: "direct" | "group";
|
|
10710
11256
|
id: string;
|
|
11257
|
+
type: "direct" | "group";
|
|
10711
11258
|
createdAt: string;
|
|
10712
11259
|
updatedAt: string;
|
|
10713
11260
|
owner: string;
|
|
10714
11261
|
title?: string | null | undefined;
|
|
10715
11262
|
} | {
|
|
10716
|
-
type: "agent" | "human";
|
|
10717
11263
|
id: string;
|
|
10718
|
-
|
|
11264
|
+
type: "agent" | "human";
|
|
10719
11265
|
chatId: string;
|
|
11266
|
+
createdAt: string;
|
|
10720
11267
|
updatedAt: string;
|
|
10721
11268
|
memberCode: string;
|
|
10722
11269
|
role: string;
|
|
10723
11270
|
}[] | {
|
|
10724
|
-
type: "claude" | "codex";
|
|
10725
11271
|
id: string;
|
|
10726
11272
|
avatar: string | null;
|
|
10727
|
-
|
|
11273
|
+
type: "claude" | "codex";
|
|
10728
11274
|
userId: string;
|
|
11275
|
+
createdAt: string;
|
|
11276
|
+
updatedAt: string;
|
|
11277
|
+
name: string;
|
|
11278
|
+
description: string | null;
|
|
10729
11279
|
permissions: {
|
|
10730
11280
|
role: string;
|
|
10731
11281
|
paths?: string[] | undefined;
|
|
10732
11282
|
} | null;
|
|
10733
|
-
updatedAt: string;
|
|
10734
|
-
name: string;
|
|
10735
|
-
description: string | null;
|
|
10736
11283
|
enable: boolean;
|
|
10737
11284
|
config: {
|
|
11285
|
+
signature?: string | undefined;
|
|
10738
11286
|
displayConfig?: Record<string, {
|
|
10739
11287
|
closed?: string | undefined;
|
|
10740
11288
|
merged?: string | undefined;
|
|
@@ -10754,6 +11302,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10754
11302
|
permissionCanMergePr?: string | undefined;
|
|
10755
11303
|
permissionCanMergePrDesc?: string | undefined;
|
|
10756
11304
|
}> | undefined;
|
|
11305
|
+
guildMsg?: string | undefined;
|
|
11306
|
+
placeholderMsg?: string | undefined;
|
|
10757
11307
|
environmentSchema?: {
|
|
10758
11308
|
type: "string" | "number" | "boolean" | "secret";
|
|
10759
11309
|
name: string;
|
|
@@ -10795,35 +11345,36 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10795
11345
|
}, {
|
|
10796
11346
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed" | "draft-agent-added";
|
|
10797
11347
|
data: {
|
|
10798
|
-
type: "direct" | "group";
|
|
10799
11348
|
id: string;
|
|
11349
|
+
type: "direct" | "group";
|
|
10800
11350
|
createdAt: string;
|
|
10801
11351
|
updatedAt: string;
|
|
10802
11352
|
owner: string;
|
|
10803
11353
|
title?: string | null | undefined;
|
|
10804
11354
|
} | {
|
|
10805
|
-
type: "agent" | "human";
|
|
10806
11355
|
id: string;
|
|
10807
|
-
|
|
11356
|
+
type: "agent" | "human";
|
|
10808
11357
|
chatId: string;
|
|
11358
|
+
createdAt: string;
|
|
10809
11359
|
updatedAt: string;
|
|
10810
11360
|
memberCode: string;
|
|
10811
11361
|
role: string;
|
|
10812
11362
|
}[] | {
|
|
10813
|
-
type: "claude" | "codex";
|
|
10814
11363
|
id: string;
|
|
10815
11364
|
avatar: string | null;
|
|
10816
|
-
|
|
11365
|
+
type: "claude" | "codex";
|
|
10817
11366
|
userId: string;
|
|
11367
|
+
createdAt: string;
|
|
11368
|
+
updatedAt: string;
|
|
11369
|
+
name: string;
|
|
11370
|
+
description: string | null;
|
|
10818
11371
|
permissions: {
|
|
10819
11372
|
role: string;
|
|
10820
11373
|
paths?: string[] | undefined;
|
|
10821
11374
|
} | null;
|
|
10822
|
-
updatedAt: string;
|
|
10823
|
-
name: string;
|
|
10824
|
-
description: string | null;
|
|
10825
11375
|
enable: boolean;
|
|
10826
11376
|
config: {
|
|
11377
|
+
signature?: string | undefined;
|
|
10827
11378
|
displayConfig?: Record<string, {
|
|
10828
11379
|
closed?: string | undefined;
|
|
10829
11380
|
merged?: string | undefined;
|
|
@@ -10843,6 +11394,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10843
11394
|
permissionCanMergePr?: string | undefined;
|
|
10844
11395
|
permissionCanMergePrDesc?: string | undefined;
|
|
10845
11396
|
}> | undefined;
|
|
11397
|
+
guildMsg?: string | undefined;
|
|
11398
|
+
placeholderMsg?: string | undefined;
|
|
10846
11399
|
environmentSchema?: {
|
|
10847
11400
|
type: "string" | "number" | "boolean" | "secret";
|
|
10848
11401
|
name: string;
|
|
@@ -10968,6 +11521,10 @@ declare function getAgentContext(): AgentContext;
|
|
|
10968
11521
|
* @see cli/src/worker/agentContext.ts - AgentContextImpl (real RPC implementation)
|
|
10969
11522
|
*/
|
|
10970
11523
|
interface AgentrixContext {
|
|
11524
|
+
/**
|
|
11525
|
+
* Print execution log in log files
|
|
11526
|
+
*/
|
|
11527
|
+
log(str: string): void;
|
|
10971
11528
|
/**
|
|
10972
11529
|
* Get the current workspace directory
|
|
10973
11530
|
*/
|
|
@@ -11000,9 +11557,9 @@ interface AgentrixContext {
|
|
|
11000
11557
|
*/
|
|
11001
11558
|
getChatAgents(): Record<string, string>;
|
|
11002
11559
|
/**
|
|
11003
|
-
*
|
|
11560
|
+
* Create a new draft agent in the database
|
|
11004
11561
|
*/
|
|
11005
|
-
|
|
11562
|
+
createDraftAgent(params: {
|
|
11006
11563
|
name: string;
|
|
11007
11564
|
agentDir: string;
|
|
11008
11565
|
type?: 'claude' | 'codex';
|
|
@@ -11015,11 +11572,33 @@ interface AgentrixContext {
|
|
|
11015
11572
|
required: boolean;
|
|
11016
11573
|
defaultValue?: string;
|
|
11017
11574
|
}>;
|
|
11018
|
-
|
|
11575
|
+
signature?: string;
|
|
11576
|
+
guildMsg?: string;
|
|
11577
|
+
placeholderMsg?: string;
|
|
11019
11578
|
}): Promise<{
|
|
11020
11579
|
agentId: string;
|
|
11021
11580
|
displayName: string;
|
|
11022
11581
|
}>;
|
|
11582
|
+
/**
|
|
11583
|
+
* Update an existing draft agent in the database
|
|
11584
|
+
*/
|
|
11585
|
+
updateDraftAgent(id: string, updates: {
|
|
11586
|
+
avatar?: string | null;
|
|
11587
|
+
description?: string | null;
|
|
11588
|
+
config?: {
|
|
11589
|
+
environmentSchema?: Array<{
|
|
11590
|
+
name: string;
|
|
11591
|
+
type: 'string' | 'number' | 'boolean' | 'secret';
|
|
11592
|
+
description?: string;
|
|
11593
|
+
required: boolean;
|
|
11594
|
+
defaultValue?: string;
|
|
11595
|
+
}>;
|
|
11596
|
+
displayConfig?: Record<string, any>;
|
|
11597
|
+
signature?: string;
|
|
11598
|
+
guildMsg?: string;
|
|
11599
|
+
placeholderMsg?: string;
|
|
11600
|
+
};
|
|
11601
|
+
}): Promise<any>;
|
|
11023
11602
|
/**
|
|
11024
11603
|
* Create a sub task for multi-agent collaboration
|
|
11025
11604
|
* Automatically inherits chatId, rootTaskId, machineId/cloudId from current task
|
|
@@ -11067,6 +11646,21 @@ interface AgentrixContext {
|
|
|
11067
11646
|
findSubTaskByAgent(agentId: string): Promise<{
|
|
11068
11647
|
taskId: string;
|
|
11069
11648
|
} | null>;
|
|
11649
|
+
/**
|
|
11650
|
+
* Upload a file to the agent's storage
|
|
11651
|
+
*/
|
|
11652
|
+
uploadFile(params: {
|
|
11653
|
+
name: string;
|
|
11654
|
+
path: string;
|
|
11655
|
+
contentType?: string;
|
|
11656
|
+
visibility?: 'public' | 'private';
|
|
11657
|
+
}): Promise<{
|
|
11658
|
+
fileId: string;
|
|
11659
|
+
name: string;
|
|
11660
|
+
size: number;
|
|
11661
|
+
contentType: string;
|
|
11662
|
+
url: string;
|
|
11663
|
+
}>;
|
|
11070
11664
|
}
|
|
11071
11665
|
|
|
11072
11666
|
/**
|
|
@@ -11481,5 +12075,5 @@ declare function decodeRtcChunkHeader(data: Uint8Array): RtcChunkHeader;
|
|
|
11481
12075
|
declare function buildRtcChunkFrame(header: RtcChunkHeader, payload: Uint8Array): Uint8Array;
|
|
11482
12076
|
declare function splitRtcChunkFrame(data: Uint8Array): RtcChunkFrame;
|
|
11483
12077
|
|
|
11484
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, 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, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, 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, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
11485
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, 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, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, 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, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
12078
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, 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, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, 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, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
12079
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, 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, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, 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, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|