@agentrix/shared 1.0.8 → 1.0.9
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 +83 -4
- package/dist/index.d.cts +1446 -29
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -696,6 +696,90 @@ declare const CloudJoinApprovalRequestSchema: z.ZodObject<{
|
|
|
696
696
|
userId: string;
|
|
697
697
|
}>;
|
|
698
698
|
type CloudJoinApprovalRequest = z.infer<typeof CloudJoinApprovalRequestSchema>;
|
|
699
|
+
/**
|
|
700
|
+
* Permission flags for task sharing
|
|
701
|
+
*/
|
|
702
|
+
declare const TaskSharePermissionsSchema: z.ZodObject<{
|
|
703
|
+
canSendMessage: z.ZodBoolean;
|
|
704
|
+
canCreatePr: z.ZodBoolean;
|
|
705
|
+
canApprovePr: z.ZodBoolean;
|
|
706
|
+
canViewPr: z.ZodBoolean;
|
|
707
|
+
canMergePr: z.ZodBoolean;
|
|
708
|
+
}, "strip", z.ZodTypeAny, {
|
|
709
|
+
canSendMessage: boolean;
|
|
710
|
+
canCreatePr: boolean;
|
|
711
|
+
canApprovePr: boolean;
|
|
712
|
+
canViewPr: boolean;
|
|
713
|
+
canMergePr: boolean;
|
|
714
|
+
}, {
|
|
715
|
+
canSendMessage: boolean;
|
|
716
|
+
canCreatePr: boolean;
|
|
717
|
+
canApprovePr: boolean;
|
|
718
|
+
canViewPr: boolean;
|
|
719
|
+
canMergePr: boolean;
|
|
720
|
+
}>;
|
|
721
|
+
type TaskSharePermissions = z.infer<typeof TaskSharePermissionsSchema>;
|
|
722
|
+
/**
|
|
723
|
+
* GET /v1/auth/share - Query parameters
|
|
724
|
+
*/
|
|
725
|
+
declare const ShareAuthQuerySchema: z.ZodObject<{
|
|
726
|
+
code: z.ZodString;
|
|
727
|
+
}, "strip", z.ZodTypeAny, {
|
|
728
|
+
code: string;
|
|
729
|
+
}, {
|
|
730
|
+
code: string;
|
|
731
|
+
}>;
|
|
732
|
+
type ShareAuthQuery = z.infer<typeof ShareAuthQuerySchema>;
|
|
733
|
+
/**
|
|
734
|
+
* GET /v1/auth/share - Response schema
|
|
735
|
+
*/
|
|
736
|
+
declare const ShareAuthResponseSchema: z.ZodObject<{
|
|
737
|
+
success: z.ZodLiteral<true>;
|
|
738
|
+
shareToken: z.ZodString;
|
|
739
|
+
taskId: z.ZodString;
|
|
740
|
+
permissions: z.ZodObject<{
|
|
741
|
+
canSendMessage: z.ZodBoolean;
|
|
742
|
+
canCreatePr: z.ZodBoolean;
|
|
743
|
+
canApprovePr: z.ZodBoolean;
|
|
744
|
+
canViewPr: z.ZodBoolean;
|
|
745
|
+
canMergePr: z.ZodBoolean;
|
|
746
|
+
}, "strip", z.ZodTypeAny, {
|
|
747
|
+
canSendMessage: boolean;
|
|
748
|
+
canCreatePr: boolean;
|
|
749
|
+
canApprovePr: boolean;
|
|
750
|
+
canViewPr: boolean;
|
|
751
|
+
canMergePr: boolean;
|
|
752
|
+
}, {
|
|
753
|
+
canSendMessage: boolean;
|
|
754
|
+
canCreatePr: boolean;
|
|
755
|
+
canApprovePr: boolean;
|
|
756
|
+
canViewPr: boolean;
|
|
757
|
+
canMergePr: boolean;
|
|
758
|
+
}>;
|
|
759
|
+
}, "strip", z.ZodTypeAny, {
|
|
760
|
+
success: true;
|
|
761
|
+
shareToken: string;
|
|
762
|
+
taskId: string;
|
|
763
|
+
permissions: {
|
|
764
|
+
canSendMessage: boolean;
|
|
765
|
+
canCreatePr: boolean;
|
|
766
|
+
canApprovePr: boolean;
|
|
767
|
+
canViewPr: boolean;
|
|
768
|
+
canMergePr: boolean;
|
|
769
|
+
};
|
|
770
|
+
}, {
|
|
771
|
+
success: true;
|
|
772
|
+
shareToken: string;
|
|
773
|
+
taskId: string;
|
|
774
|
+
permissions: {
|
|
775
|
+
canSendMessage: boolean;
|
|
776
|
+
canCreatePr: boolean;
|
|
777
|
+
canApprovePr: boolean;
|
|
778
|
+
canViewPr: boolean;
|
|
779
|
+
canMergePr: boolean;
|
|
780
|
+
};
|
|
781
|
+
}>;
|
|
782
|
+
type ShareAuthResponse = z.infer<typeof ShareAuthResponseSchema>;
|
|
699
783
|
|
|
700
784
|
/**
|
|
701
785
|
* Task HTTP request/response schemas
|
|
@@ -884,10 +968,10 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
884
968
|
machineId: string | null;
|
|
885
969
|
cloudId: string | null;
|
|
886
970
|
userId: string;
|
|
971
|
+
taskId: string;
|
|
887
972
|
chatId: string;
|
|
888
973
|
repositoryId: string | null;
|
|
889
974
|
baseBranch: string | null;
|
|
890
|
-
taskId: string;
|
|
891
975
|
agentId: string;
|
|
892
976
|
title: string | null;
|
|
893
977
|
updatedAt: string;
|
|
@@ -897,10 +981,10 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
897
981
|
machineId: string | null;
|
|
898
982
|
cloudId: string | null;
|
|
899
983
|
userId: string;
|
|
984
|
+
taskId: string;
|
|
900
985
|
chatId: string;
|
|
901
986
|
repositoryId: string | null;
|
|
902
987
|
baseBranch: string | null;
|
|
903
|
-
taskId: string;
|
|
904
988
|
agentId: string;
|
|
905
989
|
title: string | null;
|
|
906
990
|
updatedAt: string;
|
|
@@ -1600,6 +1684,80 @@ declare const CreateMergeRequestResponseSchema: z.ZodObject<{
|
|
|
1600
1684
|
reason?: string | undefined;
|
|
1601
1685
|
}>;
|
|
1602
1686
|
type CreateMergeRequestResponse = z.infer<typeof CreateMergeRequestResponseSchema>;
|
|
1687
|
+
/**
|
|
1688
|
+
* POST /v1/tasks/:taskId/approve-pr - Request schema
|
|
1689
|
+
*/
|
|
1690
|
+
declare const ApprovePrRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1691
|
+
type ApprovePrRequest = z.infer<typeof ApprovePrRequestSchema>;
|
|
1692
|
+
/**
|
|
1693
|
+
* POST /v1/tasks/:taskId/approve-pr - Response schema
|
|
1694
|
+
*/
|
|
1695
|
+
declare const ApprovePrResponseSchema: z.ZodObject<{
|
|
1696
|
+
success: z.ZodBoolean;
|
|
1697
|
+
taskId: z.ZodString;
|
|
1698
|
+
pullRequestNumber: z.ZodNumber;
|
|
1699
|
+
}, "strip", z.ZodTypeAny, {
|
|
1700
|
+
success: boolean;
|
|
1701
|
+
taskId: string;
|
|
1702
|
+
pullRequestNumber: number;
|
|
1703
|
+
}, {
|
|
1704
|
+
success: boolean;
|
|
1705
|
+
taskId: string;
|
|
1706
|
+
pullRequestNumber: number;
|
|
1707
|
+
}>;
|
|
1708
|
+
type ApprovePrResponse = z.infer<typeof ApprovePrResponseSchema>;
|
|
1709
|
+
/**
|
|
1710
|
+
* POST /v1/tasks/:taskId/share - Request schema
|
|
1711
|
+
*/
|
|
1712
|
+
declare const CreateTaskShareSchema: z.ZodObject<{
|
|
1713
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1714
|
+
canSendMessage: z.ZodBoolean;
|
|
1715
|
+
canCreatePr: z.ZodBoolean;
|
|
1716
|
+
canApprovePr: z.ZodBoolean;
|
|
1717
|
+
canViewPr: z.ZodBoolean;
|
|
1718
|
+
canMergePr: z.ZodBoolean;
|
|
1719
|
+
}, "strip", z.ZodTypeAny, {
|
|
1720
|
+
canSendMessage: boolean;
|
|
1721
|
+
canCreatePr: boolean;
|
|
1722
|
+
canApprovePr: boolean;
|
|
1723
|
+
canViewPr: boolean;
|
|
1724
|
+
canMergePr: boolean;
|
|
1725
|
+
}, {
|
|
1726
|
+
canSendMessage: boolean;
|
|
1727
|
+
canCreatePr: boolean;
|
|
1728
|
+
canApprovePr: boolean;
|
|
1729
|
+
canViewPr: boolean;
|
|
1730
|
+
canMergePr: boolean;
|
|
1731
|
+
}>>>;
|
|
1732
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
|
+
permissions: {
|
|
1734
|
+
canSendMessage: boolean;
|
|
1735
|
+
canCreatePr: boolean;
|
|
1736
|
+
canApprovePr: boolean;
|
|
1737
|
+
canViewPr: boolean;
|
|
1738
|
+
canMergePr: boolean;
|
|
1739
|
+
};
|
|
1740
|
+
}, {
|
|
1741
|
+
permissions?: {
|
|
1742
|
+
canSendMessage: boolean;
|
|
1743
|
+
canCreatePr: boolean;
|
|
1744
|
+
canApprovePr: boolean;
|
|
1745
|
+
canViewPr: boolean;
|
|
1746
|
+
canMergePr: boolean;
|
|
1747
|
+
} | undefined;
|
|
1748
|
+
}>;
|
|
1749
|
+
type CreateTaskShareRequest = z.infer<typeof CreateTaskShareSchema>;
|
|
1750
|
+
/**
|
|
1751
|
+
* POST /v1/tasks/:taskId/share - Response schema
|
|
1752
|
+
*/
|
|
1753
|
+
declare const CreateTaskShareResponseSchema: z.ZodObject<{
|
|
1754
|
+
shareCode: z.ZodString;
|
|
1755
|
+
}, "strip", z.ZodTypeAny, {
|
|
1756
|
+
shareCode: string;
|
|
1757
|
+
}, {
|
|
1758
|
+
shareCode: string;
|
|
1759
|
+
}>;
|
|
1760
|
+
type CreateTaskShareResponse = z.infer<typeof CreateTaskShareResponseSchema>;
|
|
1603
1761
|
/**
|
|
1604
1762
|
* POST /v1/tasks/:taskId/archive - Request schema (empty body)
|
|
1605
1763
|
*/
|
|
@@ -2769,6 +2927,225 @@ type AgentType = z.infer<typeof AgentTypeSchema>;
|
|
|
2769
2927
|
/**
|
|
2770
2928
|
* Agent base schema
|
|
2771
2929
|
*/
|
|
2930
|
+
/**
|
|
2931
|
+
* Display configuration keys for agent-specific UI text
|
|
2932
|
+
*/
|
|
2933
|
+
declare const DisplayConfigKeysSchema: z.ZodObject<{
|
|
2934
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
2936
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
2938
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
2939
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
2940
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
2942
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
2944
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
2946
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
2947
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
2948
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
2949
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
2950
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
}, "strip", z.ZodTypeAny, {
|
|
2952
|
+
closed?: string | undefined;
|
|
2953
|
+
merged?: string | undefined;
|
|
2954
|
+
createPR?: string | undefined;
|
|
2955
|
+
viewPR?: string | undefined;
|
|
2956
|
+
mergePR?: string | undefined;
|
|
2957
|
+
approvePR?: string | undefined;
|
|
2958
|
+
recreatePR?: string | undefined;
|
|
2959
|
+
permissionCanSendMessage?: string | undefined;
|
|
2960
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
2961
|
+
permissionCanCreatePr?: string | undefined;
|
|
2962
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
2963
|
+
permissionCanApprovePr?: string | undefined;
|
|
2964
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
2965
|
+
permissionCanViewPr?: string | undefined;
|
|
2966
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
2967
|
+
permissionCanMergePr?: string | undefined;
|
|
2968
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
2969
|
+
}, {
|
|
2970
|
+
closed?: string | undefined;
|
|
2971
|
+
merged?: string | undefined;
|
|
2972
|
+
createPR?: string | undefined;
|
|
2973
|
+
viewPR?: string | undefined;
|
|
2974
|
+
mergePR?: string | undefined;
|
|
2975
|
+
approvePR?: string | undefined;
|
|
2976
|
+
recreatePR?: string | undefined;
|
|
2977
|
+
permissionCanSendMessage?: string | undefined;
|
|
2978
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
2979
|
+
permissionCanCreatePr?: string | undefined;
|
|
2980
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
2981
|
+
permissionCanApprovePr?: string | undefined;
|
|
2982
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
2983
|
+
permissionCanViewPr?: string | undefined;
|
|
2984
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
2985
|
+
permissionCanMergePr?: string | undefined;
|
|
2986
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
2987
|
+
}>;
|
|
2988
|
+
type DisplayConfigKeys = z.infer<typeof DisplayConfigKeysSchema>;
|
|
2989
|
+
/**
|
|
2990
|
+
* Language-specific display configuration (e.g., "en", "zh-Hans")
|
|
2991
|
+
*/
|
|
2992
|
+
declare const DisplayConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2993
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
2994
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
2995
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
2996
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
2997
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
2998
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
2999
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3000
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3001
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3002
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3003
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3006
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
}, "strip", z.ZodTypeAny, {
|
|
3011
|
+
closed?: string | undefined;
|
|
3012
|
+
merged?: string | undefined;
|
|
3013
|
+
createPR?: string | undefined;
|
|
3014
|
+
viewPR?: string | undefined;
|
|
3015
|
+
mergePR?: string | undefined;
|
|
3016
|
+
approvePR?: string | undefined;
|
|
3017
|
+
recreatePR?: string | undefined;
|
|
3018
|
+
permissionCanSendMessage?: string | undefined;
|
|
3019
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3020
|
+
permissionCanCreatePr?: string | undefined;
|
|
3021
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3022
|
+
permissionCanApprovePr?: string | undefined;
|
|
3023
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3024
|
+
permissionCanViewPr?: string | undefined;
|
|
3025
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3026
|
+
permissionCanMergePr?: string | undefined;
|
|
3027
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3028
|
+
}, {
|
|
3029
|
+
closed?: string | undefined;
|
|
3030
|
+
merged?: string | undefined;
|
|
3031
|
+
createPR?: string | undefined;
|
|
3032
|
+
viewPR?: string | undefined;
|
|
3033
|
+
mergePR?: string | undefined;
|
|
3034
|
+
approvePR?: string | undefined;
|
|
3035
|
+
recreatePR?: string | undefined;
|
|
3036
|
+
permissionCanSendMessage?: string | undefined;
|
|
3037
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3038
|
+
permissionCanCreatePr?: string | undefined;
|
|
3039
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3040
|
+
permissionCanApprovePr?: string | undefined;
|
|
3041
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3042
|
+
permissionCanViewPr?: string | undefined;
|
|
3043
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3044
|
+
permissionCanMergePr?: string | undefined;
|
|
3045
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3046
|
+
}>>;
|
|
3047
|
+
type DisplayConfig = z.infer<typeof DisplayConfigSchema>;
|
|
3048
|
+
/**
|
|
3049
|
+
* Agent custom configuration (for UI text customization)
|
|
3050
|
+
*/
|
|
3051
|
+
declare const AgentCustomConfigSchema: z.ZodObject<{
|
|
3052
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3053
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3054
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3055
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3057
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3058
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3059
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3060
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3063
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3064
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3065
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3069
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
}, "strip", z.ZodTypeAny, {
|
|
3071
|
+
closed?: string | undefined;
|
|
3072
|
+
merged?: string | undefined;
|
|
3073
|
+
createPR?: string | undefined;
|
|
3074
|
+
viewPR?: string | undefined;
|
|
3075
|
+
mergePR?: string | undefined;
|
|
3076
|
+
approvePR?: string | undefined;
|
|
3077
|
+
recreatePR?: string | undefined;
|
|
3078
|
+
permissionCanSendMessage?: string | undefined;
|
|
3079
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3080
|
+
permissionCanCreatePr?: string | undefined;
|
|
3081
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3082
|
+
permissionCanApprovePr?: string | undefined;
|
|
3083
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3084
|
+
permissionCanViewPr?: string | undefined;
|
|
3085
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3086
|
+
permissionCanMergePr?: string | undefined;
|
|
3087
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3088
|
+
}, {
|
|
3089
|
+
closed?: string | undefined;
|
|
3090
|
+
merged?: string | undefined;
|
|
3091
|
+
createPR?: string | undefined;
|
|
3092
|
+
viewPR?: string | undefined;
|
|
3093
|
+
mergePR?: string | undefined;
|
|
3094
|
+
approvePR?: string | undefined;
|
|
3095
|
+
recreatePR?: string | undefined;
|
|
3096
|
+
permissionCanSendMessage?: string | undefined;
|
|
3097
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3098
|
+
permissionCanCreatePr?: string | undefined;
|
|
3099
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3100
|
+
permissionCanApprovePr?: string | undefined;
|
|
3101
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3102
|
+
permissionCanViewPr?: string | undefined;
|
|
3103
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3104
|
+
permissionCanMergePr?: string | undefined;
|
|
3105
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3106
|
+
}>>>;
|
|
3107
|
+
}, "strip", z.ZodTypeAny, {
|
|
3108
|
+
displayConfig?: Record<string, {
|
|
3109
|
+
closed?: string | undefined;
|
|
3110
|
+
merged?: string | undefined;
|
|
3111
|
+
createPR?: string | undefined;
|
|
3112
|
+
viewPR?: string | undefined;
|
|
3113
|
+
mergePR?: string | undefined;
|
|
3114
|
+
approvePR?: string | undefined;
|
|
3115
|
+
recreatePR?: string | undefined;
|
|
3116
|
+
permissionCanSendMessage?: string | undefined;
|
|
3117
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3118
|
+
permissionCanCreatePr?: string | undefined;
|
|
3119
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3120
|
+
permissionCanApprovePr?: string | undefined;
|
|
3121
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3122
|
+
permissionCanViewPr?: string | undefined;
|
|
3123
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3124
|
+
permissionCanMergePr?: string | undefined;
|
|
3125
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3126
|
+
}> | undefined;
|
|
3127
|
+
}, {
|
|
3128
|
+
displayConfig?: Record<string, {
|
|
3129
|
+
closed?: string | undefined;
|
|
3130
|
+
merged?: string | undefined;
|
|
3131
|
+
createPR?: string | undefined;
|
|
3132
|
+
viewPR?: string | undefined;
|
|
3133
|
+
mergePR?: string | undefined;
|
|
3134
|
+
approvePR?: string | undefined;
|
|
3135
|
+
recreatePR?: string | undefined;
|
|
3136
|
+
permissionCanSendMessage?: string | undefined;
|
|
3137
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3138
|
+
permissionCanCreatePr?: string | undefined;
|
|
3139
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3140
|
+
permissionCanApprovePr?: string | undefined;
|
|
3141
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3142
|
+
permissionCanViewPr?: string | undefined;
|
|
3143
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3144
|
+
permissionCanMergePr?: string | undefined;
|
|
3145
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3146
|
+
}> | undefined;
|
|
3147
|
+
}>;
|
|
3148
|
+
type AgentCustomConfig = z.infer<typeof AgentCustomConfigSchema>;
|
|
2772
3149
|
declare const AgentSchema: z.ZodObject<{
|
|
2773
3150
|
id: z.ZodString;
|
|
2774
3151
|
name: z.ZodString;
|
|
@@ -2784,6 +3161,103 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2784
3161
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2785
3162
|
supportLocal: z.ZodBoolean;
|
|
2786
3163
|
enable: z.ZodBoolean;
|
|
3164
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3165
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3166
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3170
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3171
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3172
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3173
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3174
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3175
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3177
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3179
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3180
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3181
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3182
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3183
|
+
}, "strip", z.ZodTypeAny, {
|
|
3184
|
+
closed?: string | undefined;
|
|
3185
|
+
merged?: string | undefined;
|
|
3186
|
+
createPR?: string | undefined;
|
|
3187
|
+
viewPR?: string | undefined;
|
|
3188
|
+
mergePR?: string | undefined;
|
|
3189
|
+
approvePR?: string | undefined;
|
|
3190
|
+
recreatePR?: string | undefined;
|
|
3191
|
+
permissionCanSendMessage?: string | undefined;
|
|
3192
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3193
|
+
permissionCanCreatePr?: string | undefined;
|
|
3194
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3195
|
+
permissionCanApprovePr?: string | undefined;
|
|
3196
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3197
|
+
permissionCanViewPr?: string | undefined;
|
|
3198
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3199
|
+
permissionCanMergePr?: string | undefined;
|
|
3200
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3201
|
+
}, {
|
|
3202
|
+
closed?: string | undefined;
|
|
3203
|
+
merged?: string | undefined;
|
|
3204
|
+
createPR?: string | undefined;
|
|
3205
|
+
viewPR?: string | undefined;
|
|
3206
|
+
mergePR?: string | undefined;
|
|
3207
|
+
approvePR?: string | undefined;
|
|
3208
|
+
recreatePR?: string | undefined;
|
|
3209
|
+
permissionCanSendMessage?: string | undefined;
|
|
3210
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3211
|
+
permissionCanCreatePr?: string | undefined;
|
|
3212
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3213
|
+
permissionCanApprovePr?: string | undefined;
|
|
3214
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3215
|
+
permissionCanViewPr?: string | undefined;
|
|
3216
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3217
|
+
permissionCanMergePr?: string | undefined;
|
|
3218
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3219
|
+
}>>>;
|
|
3220
|
+
}, "strip", z.ZodTypeAny, {
|
|
3221
|
+
displayConfig?: Record<string, {
|
|
3222
|
+
closed?: string | undefined;
|
|
3223
|
+
merged?: string | undefined;
|
|
3224
|
+
createPR?: string | undefined;
|
|
3225
|
+
viewPR?: string | undefined;
|
|
3226
|
+
mergePR?: string | undefined;
|
|
3227
|
+
approvePR?: string | undefined;
|
|
3228
|
+
recreatePR?: string | undefined;
|
|
3229
|
+
permissionCanSendMessage?: string | undefined;
|
|
3230
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3231
|
+
permissionCanCreatePr?: string | undefined;
|
|
3232
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3233
|
+
permissionCanApprovePr?: string | undefined;
|
|
3234
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3235
|
+
permissionCanViewPr?: string | undefined;
|
|
3236
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3237
|
+
permissionCanMergePr?: string | undefined;
|
|
3238
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3239
|
+
}> | undefined;
|
|
3240
|
+
}, {
|
|
3241
|
+
displayConfig?: Record<string, {
|
|
3242
|
+
closed?: string | undefined;
|
|
3243
|
+
merged?: string | undefined;
|
|
3244
|
+
createPR?: string | undefined;
|
|
3245
|
+
viewPR?: string | undefined;
|
|
3246
|
+
mergePR?: string | undefined;
|
|
3247
|
+
approvePR?: string | undefined;
|
|
3248
|
+
recreatePR?: string | undefined;
|
|
3249
|
+
permissionCanSendMessage?: string | undefined;
|
|
3250
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3251
|
+
permissionCanCreatePr?: string | undefined;
|
|
3252
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3253
|
+
permissionCanApprovePr?: string | undefined;
|
|
3254
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3255
|
+
permissionCanViewPr?: string | undefined;
|
|
3256
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3257
|
+
permissionCanMergePr?: string | undefined;
|
|
3258
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3259
|
+
}> | undefined;
|
|
3260
|
+
}>>;
|
|
2787
3261
|
}, "strip", z.ZodTypeAny, {
|
|
2788
3262
|
type: "claude" | "codex";
|
|
2789
3263
|
id: string;
|
|
@@ -2799,6 +3273,27 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2799
3273
|
gitRepoId: string | null;
|
|
2800
3274
|
supportLocal: boolean;
|
|
2801
3275
|
enable: boolean;
|
|
3276
|
+
config: {
|
|
3277
|
+
displayConfig?: Record<string, {
|
|
3278
|
+
closed?: string | undefined;
|
|
3279
|
+
merged?: string | undefined;
|
|
3280
|
+
createPR?: string | undefined;
|
|
3281
|
+
viewPR?: string | undefined;
|
|
3282
|
+
mergePR?: string | undefined;
|
|
3283
|
+
approvePR?: string | undefined;
|
|
3284
|
+
recreatePR?: string | undefined;
|
|
3285
|
+
permissionCanSendMessage?: string | undefined;
|
|
3286
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3287
|
+
permissionCanCreatePr?: string | undefined;
|
|
3288
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3289
|
+
permissionCanApprovePr?: string | undefined;
|
|
3290
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3291
|
+
permissionCanViewPr?: string | undefined;
|
|
3292
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3293
|
+
permissionCanMergePr?: string | undefined;
|
|
3294
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3295
|
+
}> | undefined;
|
|
3296
|
+
} | null;
|
|
2802
3297
|
}, {
|
|
2803
3298
|
type: "claude" | "codex";
|
|
2804
3299
|
id: string;
|
|
@@ -2814,6 +3309,27 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2814
3309
|
gitRepoId: string | null;
|
|
2815
3310
|
supportLocal: boolean;
|
|
2816
3311
|
enable: boolean;
|
|
3312
|
+
config: {
|
|
3313
|
+
displayConfig?: Record<string, {
|
|
3314
|
+
closed?: string | undefined;
|
|
3315
|
+
merged?: string | undefined;
|
|
3316
|
+
createPR?: string | undefined;
|
|
3317
|
+
viewPR?: string | undefined;
|
|
3318
|
+
mergePR?: string | undefined;
|
|
3319
|
+
approvePR?: string | undefined;
|
|
3320
|
+
recreatePR?: string | undefined;
|
|
3321
|
+
permissionCanSendMessage?: string | undefined;
|
|
3322
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3323
|
+
permissionCanCreatePr?: string | undefined;
|
|
3324
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3325
|
+
permissionCanApprovePr?: string | undefined;
|
|
3326
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3327
|
+
permissionCanViewPr?: string | undefined;
|
|
3328
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3329
|
+
permissionCanMergePr?: string | undefined;
|
|
3330
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3331
|
+
}> | undefined;
|
|
3332
|
+
} | null;
|
|
2817
3333
|
}>;
|
|
2818
3334
|
type Agent = z.infer<typeof AgentSchema>;
|
|
2819
3335
|
/**
|
|
@@ -2835,6 +3351,103 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2835
3351
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2836
3352
|
supportLocal: z.ZodBoolean;
|
|
2837
3353
|
enable: z.ZodBoolean;
|
|
3354
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3355
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3356
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3357
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3358
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3359
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3360
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3361
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3363
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3364
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3365
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3366
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3367
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3368
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3369
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3370
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3372
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3373
|
+
}, "strip", z.ZodTypeAny, {
|
|
3374
|
+
closed?: string | undefined;
|
|
3375
|
+
merged?: string | undefined;
|
|
3376
|
+
createPR?: string | undefined;
|
|
3377
|
+
viewPR?: string | undefined;
|
|
3378
|
+
mergePR?: string | undefined;
|
|
3379
|
+
approvePR?: string | undefined;
|
|
3380
|
+
recreatePR?: string | undefined;
|
|
3381
|
+
permissionCanSendMessage?: string | undefined;
|
|
3382
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3383
|
+
permissionCanCreatePr?: string | undefined;
|
|
3384
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3385
|
+
permissionCanApprovePr?: string | undefined;
|
|
3386
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3387
|
+
permissionCanViewPr?: string | undefined;
|
|
3388
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3389
|
+
permissionCanMergePr?: string | undefined;
|
|
3390
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3391
|
+
}, {
|
|
3392
|
+
closed?: string | undefined;
|
|
3393
|
+
merged?: string | undefined;
|
|
3394
|
+
createPR?: string | undefined;
|
|
3395
|
+
viewPR?: string | undefined;
|
|
3396
|
+
mergePR?: string | undefined;
|
|
3397
|
+
approvePR?: string | undefined;
|
|
3398
|
+
recreatePR?: string | undefined;
|
|
3399
|
+
permissionCanSendMessage?: string | undefined;
|
|
3400
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3401
|
+
permissionCanCreatePr?: string | undefined;
|
|
3402
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3403
|
+
permissionCanApprovePr?: string | undefined;
|
|
3404
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3405
|
+
permissionCanViewPr?: string | undefined;
|
|
3406
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3407
|
+
permissionCanMergePr?: string | undefined;
|
|
3408
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3409
|
+
}>>>;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
displayConfig?: Record<string, {
|
|
3412
|
+
closed?: string | undefined;
|
|
3413
|
+
merged?: string | undefined;
|
|
3414
|
+
createPR?: string | undefined;
|
|
3415
|
+
viewPR?: string | undefined;
|
|
3416
|
+
mergePR?: string | undefined;
|
|
3417
|
+
approvePR?: string | undefined;
|
|
3418
|
+
recreatePR?: string | undefined;
|
|
3419
|
+
permissionCanSendMessage?: string | undefined;
|
|
3420
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3421
|
+
permissionCanCreatePr?: string | undefined;
|
|
3422
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3423
|
+
permissionCanApprovePr?: string | undefined;
|
|
3424
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3425
|
+
permissionCanViewPr?: string | undefined;
|
|
3426
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3427
|
+
permissionCanMergePr?: string | undefined;
|
|
3428
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3429
|
+
}> | undefined;
|
|
3430
|
+
}, {
|
|
3431
|
+
displayConfig?: Record<string, {
|
|
3432
|
+
closed?: string | undefined;
|
|
3433
|
+
merged?: string | undefined;
|
|
3434
|
+
createPR?: string | undefined;
|
|
3435
|
+
viewPR?: string | undefined;
|
|
3436
|
+
mergePR?: string | undefined;
|
|
3437
|
+
approvePR?: string | undefined;
|
|
3438
|
+
recreatePR?: string | undefined;
|
|
3439
|
+
permissionCanSendMessage?: string | undefined;
|
|
3440
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3441
|
+
permissionCanCreatePr?: string | undefined;
|
|
3442
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3443
|
+
permissionCanApprovePr?: string | undefined;
|
|
3444
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3445
|
+
permissionCanViewPr?: string | undefined;
|
|
3446
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3447
|
+
permissionCanMergePr?: string | undefined;
|
|
3448
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3449
|
+
}> | undefined;
|
|
3450
|
+
}>>;
|
|
2838
3451
|
}, "strip", z.ZodTypeAny, {
|
|
2839
3452
|
type: "claude" | "codex";
|
|
2840
3453
|
id: string;
|
|
@@ -2850,6 +3463,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2850
3463
|
gitRepoId: string | null;
|
|
2851
3464
|
supportLocal: boolean;
|
|
2852
3465
|
enable: boolean;
|
|
3466
|
+
config: {
|
|
3467
|
+
displayConfig?: Record<string, {
|
|
3468
|
+
closed?: string | undefined;
|
|
3469
|
+
merged?: string | undefined;
|
|
3470
|
+
createPR?: string | undefined;
|
|
3471
|
+
viewPR?: string | undefined;
|
|
3472
|
+
mergePR?: string | undefined;
|
|
3473
|
+
approvePR?: string | undefined;
|
|
3474
|
+
recreatePR?: string | undefined;
|
|
3475
|
+
permissionCanSendMessage?: string | undefined;
|
|
3476
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3477
|
+
permissionCanCreatePr?: string | undefined;
|
|
3478
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3479
|
+
permissionCanApprovePr?: string | undefined;
|
|
3480
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3481
|
+
permissionCanViewPr?: string | undefined;
|
|
3482
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3483
|
+
permissionCanMergePr?: string | undefined;
|
|
3484
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3485
|
+
}> | undefined;
|
|
3486
|
+
} | null;
|
|
2853
3487
|
}, {
|
|
2854
3488
|
type: "claude" | "codex";
|
|
2855
3489
|
id: string;
|
|
@@ -2865,6 +3499,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2865
3499
|
gitRepoId: string | null;
|
|
2866
3500
|
supportLocal: boolean;
|
|
2867
3501
|
enable: boolean;
|
|
3502
|
+
config: {
|
|
3503
|
+
displayConfig?: Record<string, {
|
|
3504
|
+
closed?: string | undefined;
|
|
3505
|
+
merged?: string | undefined;
|
|
3506
|
+
createPR?: string | undefined;
|
|
3507
|
+
viewPR?: string | undefined;
|
|
3508
|
+
mergePR?: string | undefined;
|
|
3509
|
+
approvePR?: string | undefined;
|
|
3510
|
+
recreatePR?: string | undefined;
|
|
3511
|
+
permissionCanSendMessage?: string | undefined;
|
|
3512
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3513
|
+
permissionCanCreatePr?: string | undefined;
|
|
3514
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3515
|
+
permissionCanApprovePr?: string | undefined;
|
|
3516
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3517
|
+
permissionCanViewPr?: string | undefined;
|
|
3518
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3519
|
+
permissionCanMergePr?: string | undefined;
|
|
3520
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3521
|
+
}> | undefined;
|
|
3522
|
+
} | null;
|
|
2868
3523
|
}>, "many">;
|
|
2869
3524
|
}, "strip", z.ZodTypeAny, {
|
|
2870
3525
|
agents: {
|
|
@@ -2882,6 +3537,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2882
3537
|
gitRepoId: string | null;
|
|
2883
3538
|
supportLocal: boolean;
|
|
2884
3539
|
enable: boolean;
|
|
3540
|
+
config: {
|
|
3541
|
+
displayConfig?: Record<string, {
|
|
3542
|
+
closed?: string | undefined;
|
|
3543
|
+
merged?: string | undefined;
|
|
3544
|
+
createPR?: string | undefined;
|
|
3545
|
+
viewPR?: string | undefined;
|
|
3546
|
+
mergePR?: string | undefined;
|
|
3547
|
+
approvePR?: string | undefined;
|
|
3548
|
+
recreatePR?: string | undefined;
|
|
3549
|
+
permissionCanSendMessage?: string | undefined;
|
|
3550
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3551
|
+
permissionCanCreatePr?: string | undefined;
|
|
3552
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3553
|
+
permissionCanApprovePr?: string | undefined;
|
|
3554
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3555
|
+
permissionCanViewPr?: string | undefined;
|
|
3556
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3557
|
+
permissionCanMergePr?: string | undefined;
|
|
3558
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3559
|
+
}> | undefined;
|
|
3560
|
+
} | null;
|
|
2885
3561
|
}[];
|
|
2886
3562
|
}, {
|
|
2887
3563
|
agents: {
|
|
@@ -2899,6 +3575,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2899
3575
|
gitRepoId: string | null;
|
|
2900
3576
|
supportLocal: boolean;
|
|
2901
3577
|
enable: boolean;
|
|
3578
|
+
config: {
|
|
3579
|
+
displayConfig?: Record<string, {
|
|
3580
|
+
closed?: string | undefined;
|
|
3581
|
+
merged?: string | undefined;
|
|
3582
|
+
createPR?: string | undefined;
|
|
3583
|
+
viewPR?: string | undefined;
|
|
3584
|
+
mergePR?: string | undefined;
|
|
3585
|
+
approvePR?: string | undefined;
|
|
3586
|
+
recreatePR?: string | undefined;
|
|
3587
|
+
permissionCanSendMessage?: string | undefined;
|
|
3588
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3589
|
+
permissionCanCreatePr?: string | undefined;
|
|
3590
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3591
|
+
permissionCanApprovePr?: string | undefined;
|
|
3592
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3593
|
+
permissionCanViewPr?: string | undefined;
|
|
3594
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3595
|
+
permissionCanMergePr?: string | undefined;
|
|
3596
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3597
|
+
}> | undefined;
|
|
3598
|
+
} | null;
|
|
2902
3599
|
}[];
|
|
2903
3600
|
}>;
|
|
2904
3601
|
type ListAgentsResponse = z.infer<typeof ListAgentsResponseSchema>;
|
|
@@ -2920,6 +3617,103 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2920
3617
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2921
3618
|
supportLocal: z.ZodBoolean;
|
|
2922
3619
|
enable: z.ZodBoolean;
|
|
3620
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3621
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3622
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3624
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3625
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3626
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3627
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3628
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3629
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3630
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3631
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3632
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3633
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3634
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3635
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3636
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3637
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3638
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3639
|
+
}, "strip", z.ZodTypeAny, {
|
|
3640
|
+
closed?: string | undefined;
|
|
3641
|
+
merged?: string | undefined;
|
|
3642
|
+
createPR?: string | undefined;
|
|
3643
|
+
viewPR?: string | undefined;
|
|
3644
|
+
mergePR?: string | undefined;
|
|
3645
|
+
approvePR?: string | undefined;
|
|
3646
|
+
recreatePR?: string | undefined;
|
|
3647
|
+
permissionCanSendMessage?: string | undefined;
|
|
3648
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3649
|
+
permissionCanCreatePr?: string | undefined;
|
|
3650
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3651
|
+
permissionCanApprovePr?: string | undefined;
|
|
3652
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3653
|
+
permissionCanViewPr?: string | undefined;
|
|
3654
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3655
|
+
permissionCanMergePr?: string | undefined;
|
|
3656
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3657
|
+
}, {
|
|
3658
|
+
closed?: string | undefined;
|
|
3659
|
+
merged?: string | undefined;
|
|
3660
|
+
createPR?: string | undefined;
|
|
3661
|
+
viewPR?: string | undefined;
|
|
3662
|
+
mergePR?: string | undefined;
|
|
3663
|
+
approvePR?: string | undefined;
|
|
3664
|
+
recreatePR?: string | undefined;
|
|
3665
|
+
permissionCanSendMessage?: string | undefined;
|
|
3666
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3667
|
+
permissionCanCreatePr?: string | undefined;
|
|
3668
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3669
|
+
permissionCanApprovePr?: string | undefined;
|
|
3670
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3671
|
+
permissionCanViewPr?: string | undefined;
|
|
3672
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3673
|
+
permissionCanMergePr?: string | undefined;
|
|
3674
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3675
|
+
}>>>;
|
|
3676
|
+
}, "strip", z.ZodTypeAny, {
|
|
3677
|
+
displayConfig?: Record<string, {
|
|
3678
|
+
closed?: string | undefined;
|
|
3679
|
+
merged?: string | undefined;
|
|
3680
|
+
createPR?: string | undefined;
|
|
3681
|
+
viewPR?: string | undefined;
|
|
3682
|
+
mergePR?: string | undefined;
|
|
3683
|
+
approvePR?: string | undefined;
|
|
3684
|
+
recreatePR?: string | undefined;
|
|
3685
|
+
permissionCanSendMessage?: string | undefined;
|
|
3686
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3687
|
+
permissionCanCreatePr?: string | undefined;
|
|
3688
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3689
|
+
permissionCanApprovePr?: string | undefined;
|
|
3690
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3691
|
+
permissionCanViewPr?: string | undefined;
|
|
3692
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3693
|
+
permissionCanMergePr?: string | undefined;
|
|
3694
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3695
|
+
}> | undefined;
|
|
3696
|
+
}, {
|
|
3697
|
+
displayConfig?: Record<string, {
|
|
3698
|
+
closed?: string | undefined;
|
|
3699
|
+
merged?: string | undefined;
|
|
3700
|
+
createPR?: string | undefined;
|
|
3701
|
+
viewPR?: string | undefined;
|
|
3702
|
+
mergePR?: string | undefined;
|
|
3703
|
+
approvePR?: string | undefined;
|
|
3704
|
+
recreatePR?: string | undefined;
|
|
3705
|
+
permissionCanSendMessage?: string | undefined;
|
|
3706
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3707
|
+
permissionCanCreatePr?: string | undefined;
|
|
3708
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3709
|
+
permissionCanApprovePr?: string | undefined;
|
|
3710
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3711
|
+
permissionCanViewPr?: string | undefined;
|
|
3712
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3713
|
+
permissionCanMergePr?: string | undefined;
|
|
3714
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3715
|
+
}> | undefined;
|
|
3716
|
+
}>>;
|
|
2923
3717
|
}, "strip", z.ZodTypeAny, {
|
|
2924
3718
|
type: "claude" | "codex";
|
|
2925
3719
|
id: string;
|
|
@@ -2935,6 +3729,27 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2935
3729
|
gitRepoId: string | null;
|
|
2936
3730
|
supportLocal: boolean;
|
|
2937
3731
|
enable: boolean;
|
|
3732
|
+
config: {
|
|
3733
|
+
displayConfig?: Record<string, {
|
|
3734
|
+
closed?: string | undefined;
|
|
3735
|
+
merged?: string | undefined;
|
|
3736
|
+
createPR?: string | undefined;
|
|
3737
|
+
viewPR?: string | undefined;
|
|
3738
|
+
mergePR?: string | undefined;
|
|
3739
|
+
approvePR?: string | undefined;
|
|
3740
|
+
recreatePR?: string | undefined;
|
|
3741
|
+
permissionCanSendMessage?: string | undefined;
|
|
3742
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3743
|
+
permissionCanCreatePr?: string | undefined;
|
|
3744
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3745
|
+
permissionCanApprovePr?: string | undefined;
|
|
3746
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3747
|
+
permissionCanViewPr?: string | undefined;
|
|
3748
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3749
|
+
permissionCanMergePr?: string | undefined;
|
|
3750
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3751
|
+
}> | undefined;
|
|
3752
|
+
} | null;
|
|
2938
3753
|
}, {
|
|
2939
3754
|
type: "claude" | "codex";
|
|
2940
3755
|
id: string;
|
|
@@ -2950,6 +3765,27 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2950
3765
|
gitRepoId: string | null;
|
|
2951
3766
|
supportLocal: boolean;
|
|
2952
3767
|
enable: boolean;
|
|
3768
|
+
config: {
|
|
3769
|
+
displayConfig?: Record<string, {
|
|
3770
|
+
closed?: string | undefined;
|
|
3771
|
+
merged?: string | undefined;
|
|
3772
|
+
createPR?: string | undefined;
|
|
3773
|
+
viewPR?: string | undefined;
|
|
3774
|
+
mergePR?: string | undefined;
|
|
3775
|
+
approvePR?: string | undefined;
|
|
3776
|
+
recreatePR?: string | undefined;
|
|
3777
|
+
permissionCanSendMessage?: string | undefined;
|
|
3778
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3779
|
+
permissionCanCreatePr?: string | undefined;
|
|
3780
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3781
|
+
permissionCanApprovePr?: string | undefined;
|
|
3782
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3783
|
+
permissionCanViewPr?: string | undefined;
|
|
3784
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3785
|
+
permissionCanMergePr?: string | undefined;
|
|
3786
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3787
|
+
}> | undefined;
|
|
3788
|
+
} | null;
|
|
2953
3789
|
}>;
|
|
2954
3790
|
type GetAgentResponse = z.infer<typeof GetAgentResponseSchema>;
|
|
2955
3791
|
/**
|
|
@@ -2965,6 +3801,103 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2965
3801
|
placeholderMsg: z.ZodDefault<z.ZodString>;
|
|
2966
3802
|
gitRepoId: z.ZodOptional<z.ZodString>;
|
|
2967
3803
|
supportLocal: z.ZodDefault<z.ZodBoolean>;
|
|
3804
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3805
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3806
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3807
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3808
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3809
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3812
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3813
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3815
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3816
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3817
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3819
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3820
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3821
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3822
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
}, "strip", z.ZodTypeAny, {
|
|
3824
|
+
closed?: string | undefined;
|
|
3825
|
+
merged?: string | undefined;
|
|
3826
|
+
createPR?: string | undefined;
|
|
3827
|
+
viewPR?: string | undefined;
|
|
3828
|
+
mergePR?: string | undefined;
|
|
3829
|
+
approvePR?: string | undefined;
|
|
3830
|
+
recreatePR?: string | undefined;
|
|
3831
|
+
permissionCanSendMessage?: string | undefined;
|
|
3832
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3833
|
+
permissionCanCreatePr?: string | undefined;
|
|
3834
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3835
|
+
permissionCanApprovePr?: string | undefined;
|
|
3836
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3837
|
+
permissionCanViewPr?: string | undefined;
|
|
3838
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3839
|
+
permissionCanMergePr?: string | undefined;
|
|
3840
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3841
|
+
}, {
|
|
3842
|
+
closed?: string | undefined;
|
|
3843
|
+
merged?: string | undefined;
|
|
3844
|
+
createPR?: string | undefined;
|
|
3845
|
+
viewPR?: string | undefined;
|
|
3846
|
+
mergePR?: string | undefined;
|
|
3847
|
+
approvePR?: string | undefined;
|
|
3848
|
+
recreatePR?: string | undefined;
|
|
3849
|
+
permissionCanSendMessage?: string | undefined;
|
|
3850
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3851
|
+
permissionCanCreatePr?: string | undefined;
|
|
3852
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3853
|
+
permissionCanApprovePr?: string | undefined;
|
|
3854
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3855
|
+
permissionCanViewPr?: string | undefined;
|
|
3856
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3857
|
+
permissionCanMergePr?: string | undefined;
|
|
3858
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3859
|
+
}>>>;
|
|
3860
|
+
}, "strip", z.ZodTypeAny, {
|
|
3861
|
+
displayConfig?: Record<string, {
|
|
3862
|
+
closed?: string | undefined;
|
|
3863
|
+
merged?: string | undefined;
|
|
3864
|
+
createPR?: string | undefined;
|
|
3865
|
+
viewPR?: string | undefined;
|
|
3866
|
+
mergePR?: string | undefined;
|
|
3867
|
+
approvePR?: string | undefined;
|
|
3868
|
+
recreatePR?: string | undefined;
|
|
3869
|
+
permissionCanSendMessage?: string | undefined;
|
|
3870
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3871
|
+
permissionCanCreatePr?: string | undefined;
|
|
3872
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3873
|
+
permissionCanApprovePr?: string | undefined;
|
|
3874
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3875
|
+
permissionCanViewPr?: string | undefined;
|
|
3876
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3877
|
+
permissionCanMergePr?: string | undefined;
|
|
3878
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3879
|
+
}> | undefined;
|
|
3880
|
+
}, {
|
|
3881
|
+
displayConfig?: Record<string, {
|
|
3882
|
+
closed?: string | undefined;
|
|
3883
|
+
merged?: string | undefined;
|
|
3884
|
+
createPR?: string | undefined;
|
|
3885
|
+
viewPR?: string | undefined;
|
|
3886
|
+
mergePR?: string | undefined;
|
|
3887
|
+
approvePR?: string | undefined;
|
|
3888
|
+
recreatePR?: string | undefined;
|
|
3889
|
+
permissionCanSendMessage?: string | undefined;
|
|
3890
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3891
|
+
permissionCanCreatePr?: string | undefined;
|
|
3892
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3893
|
+
permissionCanApprovePr?: string | undefined;
|
|
3894
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3895
|
+
permissionCanViewPr?: string | undefined;
|
|
3896
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3897
|
+
permissionCanMergePr?: string | undefined;
|
|
3898
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3899
|
+
}> | undefined;
|
|
3900
|
+
}>>;
|
|
2968
3901
|
}, "strip", z.ZodTypeAny, {
|
|
2969
3902
|
type: "claude" | "codex";
|
|
2970
3903
|
name: string;
|
|
@@ -2975,6 +3908,27 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2975
3908
|
signature?: string | undefined;
|
|
2976
3909
|
description?: string | undefined;
|
|
2977
3910
|
gitRepoId?: string | undefined;
|
|
3911
|
+
config?: {
|
|
3912
|
+
displayConfig?: Record<string, {
|
|
3913
|
+
closed?: string | undefined;
|
|
3914
|
+
merged?: string | undefined;
|
|
3915
|
+
createPR?: string | undefined;
|
|
3916
|
+
viewPR?: string | undefined;
|
|
3917
|
+
mergePR?: string | undefined;
|
|
3918
|
+
approvePR?: string | undefined;
|
|
3919
|
+
recreatePR?: string | undefined;
|
|
3920
|
+
permissionCanSendMessage?: string | undefined;
|
|
3921
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3922
|
+
permissionCanCreatePr?: string | undefined;
|
|
3923
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3924
|
+
permissionCanApprovePr?: string | undefined;
|
|
3925
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3926
|
+
permissionCanViewPr?: string | undefined;
|
|
3927
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3928
|
+
permissionCanMergePr?: string | undefined;
|
|
3929
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3930
|
+
}> | undefined;
|
|
3931
|
+
} | undefined;
|
|
2978
3932
|
}, {
|
|
2979
3933
|
type: "claude" | "codex";
|
|
2980
3934
|
name: string;
|
|
@@ -2985,6 +3939,27 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2985
3939
|
placeholderMsg?: string | undefined;
|
|
2986
3940
|
gitRepoId?: string | undefined;
|
|
2987
3941
|
supportLocal?: boolean | undefined;
|
|
3942
|
+
config?: {
|
|
3943
|
+
displayConfig?: Record<string, {
|
|
3944
|
+
closed?: string | undefined;
|
|
3945
|
+
merged?: string | undefined;
|
|
3946
|
+
createPR?: string | undefined;
|
|
3947
|
+
viewPR?: string | undefined;
|
|
3948
|
+
mergePR?: string | undefined;
|
|
3949
|
+
approvePR?: string | undefined;
|
|
3950
|
+
recreatePR?: string | undefined;
|
|
3951
|
+
permissionCanSendMessage?: string | undefined;
|
|
3952
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3953
|
+
permissionCanCreatePr?: string | undefined;
|
|
3954
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3955
|
+
permissionCanApprovePr?: string | undefined;
|
|
3956
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3957
|
+
permissionCanViewPr?: string | undefined;
|
|
3958
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3959
|
+
permissionCanMergePr?: string | undefined;
|
|
3960
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3961
|
+
}> | undefined;
|
|
3962
|
+
} | undefined;
|
|
2988
3963
|
}>;
|
|
2989
3964
|
type CreateAgentRequest = z.infer<typeof CreateAgentRequestSchema>;
|
|
2990
3965
|
/**
|
|
@@ -3005,6 +3980,103 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3005
3980
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
3006
3981
|
supportLocal: z.ZodBoolean;
|
|
3007
3982
|
enable: z.ZodBoolean;
|
|
3983
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3984
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3985
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3986
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3989
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3991
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3992
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3994
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3997
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3998
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3999
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4001
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4002
|
+
}, "strip", z.ZodTypeAny, {
|
|
4003
|
+
closed?: string | undefined;
|
|
4004
|
+
merged?: string | undefined;
|
|
4005
|
+
createPR?: string | undefined;
|
|
4006
|
+
viewPR?: string | undefined;
|
|
4007
|
+
mergePR?: string | undefined;
|
|
4008
|
+
approvePR?: string | undefined;
|
|
4009
|
+
recreatePR?: string | undefined;
|
|
4010
|
+
permissionCanSendMessage?: string | undefined;
|
|
4011
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4012
|
+
permissionCanCreatePr?: string | undefined;
|
|
4013
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4014
|
+
permissionCanApprovePr?: string | undefined;
|
|
4015
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4016
|
+
permissionCanViewPr?: string | undefined;
|
|
4017
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4018
|
+
permissionCanMergePr?: string | undefined;
|
|
4019
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4020
|
+
}, {
|
|
4021
|
+
closed?: string | undefined;
|
|
4022
|
+
merged?: string | undefined;
|
|
4023
|
+
createPR?: string | undefined;
|
|
4024
|
+
viewPR?: string | undefined;
|
|
4025
|
+
mergePR?: string | undefined;
|
|
4026
|
+
approvePR?: string | undefined;
|
|
4027
|
+
recreatePR?: string | undefined;
|
|
4028
|
+
permissionCanSendMessage?: string | undefined;
|
|
4029
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4030
|
+
permissionCanCreatePr?: string | undefined;
|
|
4031
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4032
|
+
permissionCanApprovePr?: string | undefined;
|
|
4033
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4034
|
+
permissionCanViewPr?: string | undefined;
|
|
4035
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4036
|
+
permissionCanMergePr?: string | undefined;
|
|
4037
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4038
|
+
}>>>;
|
|
4039
|
+
}, "strip", z.ZodTypeAny, {
|
|
4040
|
+
displayConfig?: Record<string, {
|
|
4041
|
+
closed?: string | undefined;
|
|
4042
|
+
merged?: string | undefined;
|
|
4043
|
+
createPR?: string | undefined;
|
|
4044
|
+
viewPR?: string | undefined;
|
|
4045
|
+
mergePR?: string | undefined;
|
|
4046
|
+
approvePR?: string | undefined;
|
|
4047
|
+
recreatePR?: string | undefined;
|
|
4048
|
+
permissionCanSendMessage?: string | undefined;
|
|
4049
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4050
|
+
permissionCanCreatePr?: string | undefined;
|
|
4051
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4052
|
+
permissionCanApprovePr?: string | undefined;
|
|
4053
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4054
|
+
permissionCanViewPr?: string | undefined;
|
|
4055
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4056
|
+
permissionCanMergePr?: string | undefined;
|
|
4057
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4058
|
+
}> | undefined;
|
|
4059
|
+
}, {
|
|
4060
|
+
displayConfig?: Record<string, {
|
|
4061
|
+
closed?: string | undefined;
|
|
4062
|
+
merged?: string | undefined;
|
|
4063
|
+
createPR?: string | undefined;
|
|
4064
|
+
viewPR?: string | undefined;
|
|
4065
|
+
mergePR?: string | undefined;
|
|
4066
|
+
approvePR?: string | undefined;
|
|
4067
|
+
recreatePR?: string | undefined;
|
|
4068
|
+
permissionCanSendMessage?: string | undefined;
|
|
4069
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4070
|
+
permissionCanCreatePr?: string | undefined;
|
|
4071
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4072
|
+
permissionCanApprovePr?: string | undefined;
|
|
4073
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4074
|
+
permissionCanViewPr?: string | undefined;
|
|
4075
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4076
|
+
permissionCanMergePr?: string | undefined;
|
|
4077
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4078
|
+
}> | undefined;
|
|
4079
|
+
}>>;
|
|
3008
4080
|
}, "strip", z.ZodTypeAny, {
|
|
3009
4081
|
type: "claude" | "codex";
|
|
3010
4082
|
id: string;
|
|
@@ -3020,6 +4092,27 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3020
4092
|
gitRepoId: string | null;
|
|
3021
4093
|
supportLocal: boolean;
|
|
3022
4094
|
enable: boolean;
|
|
4095
|
+
config: {
|
|
4096
|
+
displayConfig?: Record<string, {
|
|
4097
|
+
closed?: string | undefined;
|
|
4098
|
+
merged?: string | undefined;
|
|
4099
|
+
createPR?: string | undefined;
|
|
4100
|
+
viewPR?: string | undefined;
|
|
4101
|
+
mergePR?: string | undefined;
|
|
4102
|
+
approvePR?: string | undefined;
|
|
4103
|
+
recreatePR?: string | undefined;
|
|
4104
|
+
permissionCanSendMessage?: string | undefined;
|
|
4105
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4106
|
+
permissionCanCreatePr?: string | undefined;
|
|
4107
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4108
|
+
permissionCanApprovePr?: string | undefined;
|
|
4109
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4110
|
+
permissionCanViewPr?: string | undefined;
|
|
4111
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4112
|
+
permissionCanMergePr?: string | undefined;
|
|
4113
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4114
|
+
}> | undefined;
|
|
4115
|
+
} | null;
|
|
3023
4116
|
}, {
|
|
3024
4117
|
type: "claude" | "codex";
|
|
3025
4118
|
id: string;
|
|
@@ -3035,6 +4128,27 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3035
4128
|
gitRepoId: string | null;
|
|
3036
4129
|
supportLocal: boolean;
|
|
3037
4130
|
enable: boolean;
|
|
4131
|
+
config: {
|
|
4132
|
+
displayConfig?: Record<string, {
|
|
4133
|
+
closed?: string | undefined;
|
|
4134
|
+
merged?: string | undefined;
|
|
4135
|
+
createPR?: string | undefined;
|
|
4136
|
+
viewPR?: string | undefined;
|
|
4137
|
+
mergePR?: string | undefined;
|
|
4138
|
+
approvePR?: string | undefined;
|
|
4139
|
+
recreatePR?: string | undefined;
|
|
4140
|
+
permissionCanSendMessage?: string | undefined;
|
|
4141
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4142
|
+
permissionCanCreatePr?: string | undefined;
|
|
4143
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4144
|
+
permissionCanApprovePr?: string | undefined;
|
|
4145
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4146
|
+
permissionCanViewPr?: string | undefined;
|
|
4147
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4148
|
+
permissionCanMergePr?: string | undefined;
|
|
4149
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4150
|
+
}> | undefined;
|
|
4151
|
+
} | null;
|
|
3038
4152
|
}>;
|
|
3039
4153
|
type CreateAgentResponse = z.infer<typeof CreateAgentResponseSchema>;
|
|
3040
4154
|
/**
|
|
@@ -3050,6 +4164,103 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3050
4164
|
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
3051
4165
|
gitRepoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3052
4166
|
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
4167
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4168
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4169
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
4170
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
4171
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
4172
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
4173
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
4175
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
4177
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
4178
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
4179
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
4180
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
4181
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
4182
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
4183
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4184
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4185
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4186
|
+
}, "strip", z.ZodTypeAny, {
|
|
4187
|
+
closed?: string | undefined;
|
|
4188
|
+
merged?: string | undefined;
|
|
4189
|
+
createPR?: string | undefined;
|
|
4190
|
+
viewPR?: string | undefined;
|
|
4191
|
+
mergePR?: string | undefined;
|
|
4192
|
+
approvePR?: string | undefined;
|
|
4193
|
+
recreatePR?: string | undefined;
|
|
4194
|
+
permissionCanSendMessage?: string | undefined;
|
|
4195
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4196
|
+
permissionCanCreatePr?: string | undefined;
|
|
4197
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4198
|
+
permissionCanApprovePr?: string | undefined;
|
|
4199
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4200
|
+
permissionCanViewPr?: string | undefined;
|
|
4201
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4202
|
+
permissionCanMergePr?: string | undefined;
|
|
4203
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4204
|
+
}, {
|
|
4205
|
+
closed?: string | undefined;
|
|
4206
|
+
merged?: string | undefined;
|
|
4207
|
+
createPR?: string | undefined;
|
|
4208
|
+
viewPR?: string | undefined;
|
|
4209
|
+
mergePR?: string | undefined;
|
|
4210
|
+
approvePR?: string | undefined;
|
|
4211
|
+
recreatePR?: string | undefined;
|
|
4212
|
+
permissionCanSendMessage?: string | undefined;
|
|
4213
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4214
|
+
permissionCanCreatePr?: string | undefined;
|
|
4215
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4216
|
+
permissionCanApprovePr?: string | undefined;
|
|
4217
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4218
|
+
permissionCanViewPr?: string | undefined;
|
|
4219
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4220
|
+
permissionCanMergePr?: string | undefined;
|
|
4221
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4222
|
+
}>>>;
|
|
4223
|
+
}, "strip", z.ZodTypeAny, {
|
|
4224
|
+
displayConfig?: Record<string, {
|
|
4225
|
+
closed?: string | undefined;
|
|
4226
|
+
merged?: string | undefined;
|
|
4227
|
+
createPR?: string | undefined;
|
|
4228
|
+
viewPR?: string | undefined;
|
|
4229
|
+
mergePR?: string | undefined;
|
|
4230
|
+
approvePR?: string | undefined;
|
|
4231
|
+
recreatePR?: string | undefined;
|
|
4232
|
+
permissionCanSendMessage?: string | undefined;
|
|
4233
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4234
|
+
permissionCanCreatePr?: string | undefined;
|
|
4235
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4236
|
+
permissionCanApprovePr?: string | undefined;
|
|
4237
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4238
|
+
permissionCanViewPr?: string | undefined;
|
|
4239
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4240
|
+
permissionCanMergePr?: string | undefined;
|
|
4241
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4242
|
+
}> | undefined;
|
|
4243
|
+
}, {
|
|
4244
|
+
displayConfig?: Record<string, {
|
|
4245
|
+
closed?: string | undefined;
|
|
4246
|
+
merged?: string | undefined;
|
|
4247
|
+
createPR?: string | undefined;
|
|
4248
|
+
viewPR?: string | undefined;
|
|
4249
|
+
mergePR?: string | undefined;
|
|
4250
|
+
approvePR?: string | undefined;
|
|
4251
|
+
recreatePR?: string | undefined;
|
|
4252
|
+
permissionCanSendMessage?: string | undefined;
|
|
4253
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4254
|
+
permissionCanCreatePr?: string | undefined;
|
|
4255
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4256
|
+
permissionCanApprovePr?: string | undefined;
|
|
4257
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4258
|
+
permissionCanViewPr?: string | undefined;
|
|
4259
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4260
|
+
permissionCanMergePr?: string | undefined;
|
|
4261
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4262
|
+
}> | undefined;
|
|
4263
|
+
}>>>;
|
|
3053
4264
|
}, "strip", z.ZodTypeAny, {
|
|
3054
4265
|
type?: "claude" | "codex" | undefined;
|
|
3055
4266
|
avatar?: string | null | undefined;
|
|
@@ -3060,6 +4271,27 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3060
4271
|
placeholderMsg?: string | undefined;
|
|
3061
4272
|
gitRepoId?: string | null | undefined;
|
|
3062
4273
|
supportLocal?: boolean | undefined;
|
|
4274
|
+
config?: {
|
|
4275
|
+
displayConfig?: Record<string, {
|
|
4276
|
+
closed?: string | undefined;
|
|
4277
|
+
merged?: string | undefined;
|
|
4278
|
+
createPR?: string | undefined;
|
|
4279
|
+
viewPR?: string | undefined;
|
|
4280
|
+
mergePR?: string | undefined;
|
|
4281
|
+
approvePR?: string | undefined;
|
|
4282
|
+
recreatePR?: string | undefined;
|
|
4283
|
+
permissionCanSendMessage?: string | undefined;
|
|
4284
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4285
|
+
permissionCanCreatePr?: string | undefined;
|
|
4286
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4287
|
+
permissionCanApprovePr?: string | undefined;
|
|
4288
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4289
|
+
permissionCanViewPr?: string | undefined;
|
|
4290
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4291
|
+
permissionCanMergePr?: string | undefined;
|
|
4292
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4293
|
+
}> | undefined;
|
|
4294
|
+
} | null | undefined;
|
|
3063
4295
|
}, {
|
|
3064
4296
|
type?: "claude" | "codex" | undefined;
|
|
3065
4297
|
avatar?: string | null | undefined;
|
|
@@ -3070,6 +4302,27 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3070
4302
|
placeholderMsg?: string | undefined;
|
|
3071
4303
|
gitRepoId?: string | null | undefined;
|
|
3072
4304
|
supportLocal?: boolean | undefined;
|
|
4305
|
+
config?: {
|
|
4306
|
+
displayConfig?: Record<string, {
|
|
4307
|
+
closed?: string | undefined;
|
|
4308
|
+
merged?: string | undefined;
|
|
4309
|
+
createPR?: string | undefined;
|
|
4310
|
+
viewPR?: string | undefined;
|
|
4311
|
+
mergePR?: string | undefined;
|
|
4312
|
+
approvePR?: string | undefined;
|
|
4313
|
+
recreatePR?: string | undefined;
|
|
4314
|
+
permissionCanSendMessage?: string | undefined;
|
|
4315
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4316
|
+
permissionCanCreatePr?: string | undefined;
|
|
4317
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4318
|
+
permissionCanApprovePr?: string | undefined;
|
|
4319
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4320
|
+
permissionCanViewPr?: string | undefined;
|
|
4321
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4322
|
+
permissionCanMergePr?: string | undefined;
|
|
4323
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4324
|
+
}> | undefined;
|
|
4325
|
+
} | null | undefined;
|
|
3073
4326
|
}>;
|
|
3074
4327
|
type UpdateAgentRequest = z.infer<typeof UpdateAgentRequestSchema>;
|
|
3075
4328
|
/**
|
|
@@ -3090,6 +4343,103 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3090
4343
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
3091
4344
|
supportLocal: z.ZodBoolean;
|
|
3092
4345
|
enable: z.ZodBoolean;
|
|
4346
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
4347
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4348
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
4349
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
4351
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
4352
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
4353
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
4355
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
4357
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
4358
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
4360
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
4361
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
4362
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4363
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4364
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4365
|
+
}, "strip", z.ZodTypeAny, {
|
|
4366
|
+
closed?: string | undefined;
|
|
4367
|
+
merged?: string | undefined;
|
|
4368
|
+
createPR?: string | undefined;
|
|
4369
|
+
viewPR?: string | undefined;
|
|
4370
|
+
mergePR?: string | undefined;
|
|
4371
|
+
approvePR?: string | undefined;
|
|
4372
|
+
recreatePR?: string | undefined;
|
|
4373
|
+
permissionCanSendMessage?: string | undefined;
|
|
4374
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4375
|
+
permissionCanCreatePr?: string | undefined;
|
|
4376
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4377
|
+
permissionCanApprovePr?: string | undefined;
|
|
4378
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4379
|
+
permissionCanViewPr?: string | undefined;
|
|
4380
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4381
|
+
permissionCanMergePr?: string | undefined;
|
|
4382
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4383
|
+
}, {
|
|
4384
|
+
closed?: string | undefined;
|
|
4385
|
+
merged?: string | undefined;
|
|
4386
|
+
createPR?: string | undefined;
|
|
4387
|
+
viewPR?: string | undefined;
|
|
4388
|
+
mergePR?: string | undefined;
|
|
4389
|
+
approvePR?: string | undefined;
|
|
4390
|
+
recreatePR?: string | undefined;
|
|
4391
|
+
permissionCanSendMessage?: string | undefined;
|
|
4392
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4393
|
+
permissionCanCreatePr?: string | undefined;
|
|
4394
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4395
|
+
permissionCanApprovePr?: string | undefined;
|
|
4396
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4397
|
+
permissionCanViewPr?: string | undefined;
|
|
4398
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4399
|
+
permissionCanMergePr?: string | undefined;
|
|
4400
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4401
|
+
}>>>;
|
|
4402
|
+
}, "strip", z.ZodTypeAny, {
|
|
4403
|
+
displayConfig?: Record<string, {
|
|
4404
|
+
closed?: string | undefined;
|
|
4405
|
+
merged?: string | undefined;
|
|
4406
|
+
createPR?: string | undefined;
|
|
4407
|
+
viewPR?: string | undefined;
|
|
4408
|
+
mergePR?: string | undefined;
|
|
4409
|
+
approvePR?: string | undefined;
|
|
4410
|
+
recreatePR?: string | undefined;
|
|
4411
|
+
permissionCanSendMessage?: string | undefined;
|
|
4412
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4413
|
+
permissionCanCreatePr?: string | undefined;
|
|
4414
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4415
|
+
permissionCanApprovePr?: string | undefined;
|
|
4416
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4417
|
+
permissionCanViewPr?: string | undefined;
|
|
4418
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4419
|
+
permissionCanMergePr?: string | undefined;
|
|
4420
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4421
|
+
}> | undefined;
|
|
4422
|
+
}, {
|
|
4423
|
+
displayConfig?: Record<string, {
|
|
4424
|
+
closed?: string | undefined;
|
|
4425
|
+
merged?: string | undefined;
|
|
4426
|
+
createPR?: string | undefined;
|
|
4427
|
+
viewPR?: string | undefined;
|
|
4428
|
+
mergePR?: string | undefined;
|
|
4429
|
+
approvePR?: string | undefined;
|
|
4430
|
+
recreatePR?: string | undefined;
|
|
4431
|
+
permissionCanSendMessage?: string | undefined;
|
|
4432
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4433
|
+
permissionCanCreatePr?: string | undefined;
|
|
4434
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4435
|
+
permissionCanApprovePr?: string | undefined;
|
|
4436
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4437
|
+
permissionCanViewPr?: string | undefined;
|
|
4438
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4439
|
+
permissionCanMergePr?: string | undefined;
|
|
4440
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4441
|
+
}> | undefined;
|
|
4442
|
+
}>>;
|
|
3093
4443
|
}, "strip", z.ZodTypeAny, {
|
|
3094
4444
|
type: "claude" | "codex";
|
|
3095
4445
|
id: string;
|
|
@@ -3105,6 +4455,27 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3105
4455
|
gitRepoId: string | null;
|
|
3106
4456
|
supportLocal: boolean;
|
|
3107
4457
|
enable: boolean;
|
|
4458
|
+
config: {
|
|
4459
|
+
displayConfig?: Record<string, {
|
|
4460
|
+
closed?: string | undefined;
|
|
4461
|
+
merged?: string | undefined;
|
|
4462
|
+
createPR?: string | undefined;
|
|
4463
|
+
viewPR?: string | undefined;
|
|
4464
|
+
mergePR?: string | undefined;
|
|
4465
|
+
approvePR?: string | undefined;
|
|
4466
|
+
recreatePR?: string | undefined;
|
|
4467
|
+
permissionCanSendMessage?: string | undefined;
|
|
4468
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4469
|
+
permissionCanCreatePr?: string | undefined;
|
|
4470
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4471
|
+
permissionCanApprovePr?: string | undefined;
|
|
4472
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4473
|
+
permissionCanViewPr?: string | undefined;
|
|
4474
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4475
|
+
permissionCanMergePr?: string | undefined;
|
|
4476
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4477
|
+
}> | undefined;
|
|
4478
|
+
} | null;
|
|
3108
4479
|
}, {
|
|
3109
4480
|
type: "claude" | "codex";
|
|
3110
4481
|
id: string;
|
|
@@ -3120,6 +4491,27 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3120
4491
|
gitRepoId: string | null;
|
|
3121
4492
|
supportLocal: boolean;
|
|
3122
4493
|
enable: boolean;
|
|
4494
|
+
config: {
|
|
4495
|
+
displayConfig?: Record<string, {
|
|
4496
|
+
closed?: string | undefined;
|
|
4497
|
+
merged?: string | undefined;
|
|
4498
|
+
createPR?: string | undefined;
|
|
4499
|
+
viewPR?: string | undefined;
|
|
4500
|
+
mergePR?: string | undefined;
|
|
4501
|
+
approvePR?: string | undefined;
|
|
4502
|
+
recreatePR?: string | undefined;
|
|
4503
|
+
permissionCanSendMessage?: string | undefined;
|
|
4504
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4505
|
+
permissionCanCreatePr?: string | undefined;
|
|
4506
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4507
|
+
permissionCanApprovePr?: string | undefined;
|
|
4508
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4509
|
+
permissionCanViewPr?: string | undefined;
|
|
4510
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4511
|
+
permissionCanMergePr?: string | undefined;
|
|
4512
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4513
|
+
}> | undefined;
|
|
4514
|
+
} | null;
|
|
3123
4515
|
}>;
|
|
3124
4516
|
type UpdateAgentResponse = z.infer<typeof UpdateAgentResponseSchema>;
|
|
3125
4517
|
/**
|
|
@@ -5774,8 +7166,8 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
5774
7166
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
5775
7167
|
}, "strip", z.ZodTypeAny, {
|
|
5776
7168
|
userId: string;
|
|
5777
|
-
chatId: string;
|
|
5778
7169
|
taskId: string;
|
|
7170
|
+
chatId: string;
|
|
5779
7171
|
agentId: string;
|
|
5780
7172
|
eventId: string;
|
|
5781
7173
|
agentType: string;
|
|
@@ -5785,25 +7177,25 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
5785
7177
|
gitUrl?: string | undefined;
|
|
5786
7178
|
model?: string | undefined;
|
|
5787
7179
|
fallbackModel?: string | undefined;
|
|
5788
|
-
maxTurns?: number | undefined;
|
|
5789
7180
|
api_base_url?: string | undefined;
|
|
5790
7181
|
api_key?: string | undefined;
|
|
7182
|
+
maxTurns?: number | undefined;
|
|
5791
7183
|
}, {
|
|
5792
7184
|
userId: string;
|
|
5793
|
-
chatId: string;
|
|
5794
7185
|
taskId: string;
|
|
7186
|
+
chatId: string;
|
|
5795
7187
|
agentId: string;
|
|
5796
7188
|
eventId: string;
|
|
5797
7189
|
cwd?: string | undefined;
|
|
5798
7190
|
baseBranch?: string | undefined;
|
|
5799
7191
|
dataEncryptionKey?: string | undefined;
|
|
5800
7192
|
gitUrl?: string | undefined;
|
|
7193
|
+
agentType?: string | undefined;
|
|
5801
7194
|
model?: string | undefined;
|
|
5802
7195
|
fallbackModel?: string | undefined;
|
|
5803
|
-
maxTurns?: number | undefined;
|
|
5804
|
-
agentType?: string | undefined;
|
|
5805
7196
|
api_base_url?: string | undefined;
|
|
5806
7197
|
api_key?: string | undefined;
|
|
7198
|
+
maxTurns?: number | undefined;
|
|
5807
7199
|
}>;
|
|
5808
7200
|
declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
5809
7201
|
eventId: z.ZodString;
|
|
@@ -5827,8 +7219,8 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5827
7219
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
5828
7220
|
}, "strip", z.ZodTypeAny, {
|
|
5829
7221
|
userId: string;
|
|
5830
|
-
chatId: string;
|
|
5831
7222
|
taskId: string;
|
|
7223
|
+
chatId: string;
|
|
5832
7224
|
agentId: string;
|
|
5833
7225
|
eventId: string;
|
|
5834
7226
|
agentType: string;
|
|
@@ -5840,13 +7232,13 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5840
7232
|
gitUrl?: string | undefined;
|
|
5841
7233
|
model?: string | undefined;
|
|
5842
7234
|
fallbackModel?: string | undefined;
|
|
5843
|
-
maxTurns?: number | undefined;
|
|
5844
7235
|
api_base_url?: string | undefined;
|
|
5845
7236
|
api_key?: string | undefined;
|
|
7237
|
+
maxTurns?: number | undefined;
|
|
5846
7238
|
}, {
|
|
5847
7239
|
userId: string;
|
|
5848
|
-
chatId: string;
|
|
5849
7240
|
taskId: string;
|
|
7241
|
+
chatId: string;
|
|
5850
7242
|
agentId: string;
|
|
5851
7243
|
eventId: string;
|
|
5852
7244
|
message?: SDKUserMessage | undefined;
|
|
@@ -5855,16 +7247,16 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5855
7247
|
baseBranch?: string | undefined;
|
|
5856
7248
|
dataEncryptionKey?: string | undefined;
|
|
5857
7249
|
gitUrl?: string | undefined;
|
|
7250
|
+
agentType?: string | undefined;
|
|
5858
7251
|
model?: string | undefined;
|
|
5859
7252
|
fallbackModel?: string | undefined;
|
|
5860
|
-
maxTurns?: number | undefined;
|
|
5861
|
-
agentType?: string | undefined;
|
|
5862
7253
|
api_base_url?: string | undefined;
|
|
5863
7254
|
api_key?: string | undefined;
|
|
7255
|
+
maxTurns?: number | undefined;
|
|
5864
7256
|
}>, {
|
|
5865
7257
|
userId: string;
|
|
5866
|
-
chatId: string;
|
|
5867
7258
|
taskId: string;
|
|
7259
|
+
chatId: string;
|
|
5868
7260
|
agentId: string;
|
|
5869
7261
|
eventId: string;
|
|
5870
7262
|
agentType: string;
|
|
@@ -5876,13 +7268,13 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5876
7268
|
gitUrl?: string | undefined;
|
|
5877
7269
|
model?: string | undefined;
|
|
5878
7270
|
fallbackModel?: string | undefined;
|
|
5879
|
-
maxTurns?: number | undefined;
|
|
5880
7271
|
api_base_url?: string | undefined;
|
|
5881
7272
|
api_key?: string | undefined;
|
|
7273
|
+
maxTurns?: number | undefined;
|
|
5882
7274
|
}, {
|
|
5883
7275
|
userId: string;
|
|
5884
|
-
chatId: string;
|
|
5885
7276
|
taskId: string;
|
|
7277
|
+
chatId: string;
|
|
5886
7278
|
agentId: string;
|
|
5887
7279
|
eventId: string;
|
|
5888
7280
|
message?: SDKUserMessage | undefined;
|
|
@@ -5891,12 +7283,12 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5891
7283
|
baseBranch?: string | undefined;
|
|
5892
7284
|
dataEncryptionKey?: string | undefined;
|
|
5893
7285
|
gitUrl?: string | undefined;
|
|
7286
|
+
agentType?: string | undefined;
|
|
5894
7287
|
model?: string | undefined;
|
|
5895
7288
|
fallbackModel?: string | undefined;
|
|
5896
|
-
maxTurns?: number | undefined;
|
|
5897
|
-
agentType?: string | undefined;
|
|
5898
7289
|
api_base_url?: string | undefined;
|
|
5899
7290
|
api_key?: string | undefined;
|
|
7291
|
+
maxTurns?: number | undefined;
|
|
5900
7292
|
}>;
|
|
5901
7293
|
type CreateTaskEventData = z.infer<typeof createTaskSchema>;
|
|
5902
7294
|
declare const resumeTaskSchema: z.ZodObject<{
|
|
@@ -5924,8 +7316,8 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5924
7316
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
5925
7317
|
}, "strip", z.ZodTypeAny, {
|
|
5926
7318
|
userId: string;
|
|
5927
|
-
chatId: string;
|
|
5928
7319
|
taskId: string;
|
|
7320
|
+
chatId: string;
|
|
5929
7321
|
agentId: string;
|
|
5930
7322
|
agentSessionId: string;
|
|
5931
7323
|
eventId: string;
|
|
@@ -5938,15 +7330,15 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5938
7330
|
gitUrl?: string | undefined;
|
|
5939
7331
|
model?: string | undefined;
|
|
5940
7332
|
fallbackModel?: string | undefined;
|
|
5941
|
-
maxTurns?: number | undefined;
|
|
5942
7333
|
api_base_url?: string | undefined;
|
|
5943
7334
|
api_key?: string | undefined;
|
|
7335
|
+
maxTurns?: number | undefined;
|
|
5944
7336
|
event?: string | undefined;
|
|
5945
7337
|
eventData?: any;
|
|
5946
7338
|
}, {
|
|
5947
7339
|
userId: string;
|
|
5948
|
-
chatId: string;
|
|
5949
7340
|
taskId: string;
|
|
7341
|
+
chatId: string;
|
|
5950
7342
|
agentId: string;
|
|
5951
7343
|
agentSessionId: string;
|
|
5952
7344
|
eventId: string;
|
|
@@ -5956,12 +7348,12 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5956
7348
|
baseBranch?: string | undefined;
|
|
5957
7349
|
dataEncryptionKey?: string | undefined;
|
|
5958
7350
|
gitUrl?: string | undefined;
|
|
7351
|
+
agentType?: string | undefined;
|
|
5959
7352
|
model?: string | undefined;
|
|
5960
7353
|
fallbackModel?: string | undefined;
|
|
5961
|
-
maxTurns?: number | undefined;
|
|
5962
|
-
agentType?: string | undefined;
|
|
5963
7354
|
api_base_url?: string | undefined;
|
|
5964
7355
|
api_key?: string | undefined;
|
|
7356
|
+
maxTurns?: number | undefined;
|
|
5965
7357
|
event?: string | undefined;
|
|
5966
7358
|
eventData?: any;
|
|
5967
7359
|
}>;
|
|
@@ -5976,15 +7368,15 @@ declare const cancelTaskSchema: z.ZodObject<{
|
|
|
5976
7368
|
reason: z.ZodOptional<z.ZodString>;
|
|
5977
7369
|
}, "strip", z.ZodTypeAny, {
|
|
5978
7370
|
userId: string;
|
|
5979
|
-
chatId: string;
|
|
5980
7371
|
taskId: string;
|
|
7372
|
+
chatId: string;
|
|
5981
7373
|
agentId: string;
|
|
5982
7374
|
eventId: string;
|
|
5983
7375
|
reason?: string | undefined;
|
|
5984
7376
|
}, {
|
|
5985
7377
|
userId: string;
|
|
5986
|
-
chatId: string;
|
|
5987
7378
|
taskId: string;
|
|
7379
|
+
chatId: string;
|
|
5988
7380
|
agentId: string;
|
|
5989
7381
|
eventId: string;
|
|
5990
7382
|
reason?: string | undefined;
|
|
@@ -6140,14 +7532,14 @@ declare const TaskStateChangeEventSchema: z.ZodObject<{
|
|
|
6140
7532
|
updatedAt: z.ZodString;
|
|
6141
7533
|
}, "strip", z.ZodTypeAny, {
|
|
6142
7534
|
state: string;
|
|
6143
|
-
chatId: string;
|
|
6144
7535
|
taskId: string;
|
|
7536
|
+
chatId: string;
|
|
6145
7537
|
updatedAt: string;
|
|
6146
7538
|
eventId: string;
|
|
6147
7539
|
}, {
|
|
6148
7540
|
state: string;
|
|
6149
|
-
chatId: string;
|
|
6150
7541
|
taskId: string;
|
|
7542
|
+
chatId: string;
|
|
6151
7543
|
updatedAt: string;
|
|
6152
7544
|
eventId: string;
|
|
6153
7545
|
}>;
|
|
@@ -6375,6 +7767,30 @@ declare const MergeRequestEventSchema: z.ZodObject<{
|
|
|
6375
7767
|
description?: string | undefined;
|
|
6376
7768
|
}>;
|
|
6377
7769
|
type MergeRequestEventData = z.infer<typeof MergeRequestEventSchema>;
|
|
7770
|
+
declare const MergePullRequestEventSchema: z.ZodObject<{
|
|
7771
|
+
eventId: z.ZodString;
|
|
7772
|
+
} & {
|
|
7773
|
+
taskId: z.ZodString;
|
|
7774
|
+
mergeMethod: z.ZodDefault<z.ZodOptional<z.ZodEnum<["merge", "squash", "rebase"]>>>;
|
|
7775
|
+
}, "strip", z.ZodTypeAny, {
|
|
7776
|
+
taskId: string;
|
|
7777
|
+
eventId: string;
|
|
7778
|
+
mergeMethod: "merge" | "squash" | "rebase";
|
|
7779
|
+
}, {
|
|
7780
|
+
taskId: string;
|
|
7781
|
+
eventId: string;
|
|
7782
|
+
mergeMethod?: "merge" | "squash" | "rebase" | undefined;
|
|
7783
|
+
}>;
|
|
7784
|
+
type MergePullRequestEventData = z.infer<typeof MergePullRequestEventSchema>;
|
|
7785
|
+
interface MergePullRequestAck {
|
|
7786
|
+
success: boolean;
|
|
7787
|
+
data?: {
|
|
7788
|
+
merged: boolean;
|
|
7789
|
+
sha: string;
|
|
7790
|
+
};
|
|
7791
|
+
error?: string;
|
|
7792
|
+
errorType?: 'github_conflict' | 'pr_not_open' | 'permission_denied' | 'merge_failed' | 'unknown';
|
|
7793
|
+
}
|
|
6378
7794
|
/**
|
|
6379
7795
|
* System message type
|
|
6380
7796
|
*/
|
|
@@ -6634,6 +8050,7 @@ type EventMap = {
|
|
|
6634
8050
|
"update-task-agent-session-id": UpdateTaskAgentSessionIdEventData;
|
|
6635
8051
|
"task-artifacts-updated": TaskArtifactsUpdatedEventData;
|
|
6636
8052
|
"merge-request": MergeRequestEventData;
|
|
8053
|
+
"merge-pr": MergePullRequestEventData;
|
|
6637
8054
|
"system-message": SystemMessageEventData;
|
|
6638
8055
|
"credit-exhausted": CreditExhaustedEventData;
|
|
6639
8056
|
"workspace-file-request": WorkspaceFileRequestEventData;
|
|
@@ -6645,7 +8062,7 @@ declare const EventSchemaMap: Record<EventName, z.ZodType<any>>;
|
|
|
6645
8062
|
/**
|
|
6646
8063
|
* only sent by worker and which need to send to human in chat room
|
|
6647
8064
|
*/
|
|
6648
|
-
type WorkerTaskEvent = "worker-initializing" | "worker-ready" | "worker-exit" | "worker-running" | "change-task-title" | "update-task-agent-session-id" | "task-artifacts-updated" | "merge-request";
|
|
8065
|
+
type WorkerTaskEvent = "worker-initializing" | "worker-ready" | "worker-exit" | "worker-running" | "change-task-title" | "update-task-agent-session-id" | "task-artifacts-updated" | "merge-request" | "merge-pr";
|
|
6649
8066
|
declare const workerTaskEvents: WorkerTaskEvent[];
|
|
6650
8067
|
|
|
6651
8068
|
type ClientType = 'user' | 'worker' | 'machine';
|
|
@@ -7019,5 +8436,5 @@ declare function encryptFileContent(fileContentBase64: string, dataKey: Uint8Arr
|
|
|
7019
8436
|
*/
|
|
7020
8437
|
declare function decryptFileContent(encryptedContent: string, dataKey: Uint8Array): string | null;
|
|
7021
8438
|
|
|
7022
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskItemSchema, TaskMessageSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
7023
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
8439
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8440
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|