@agentrix/shared 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +117 -6
- package/dist/index.d.cts +1542 -30
- 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;
|
|
@@ -914,6 +998,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
914
998
|
chatId: z.ZodString;
|
|
915
999
|
userId: z.ZodString;
|
|
916
1000
|
state: z.ZodString;
|
|
1001
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
917
1002
|
agentId: z.ZodString;
|
|
918
1003
|
machineId: z.ZodNullable<z.ZodString>;
|
|
919
1004
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
@@ -980,6 +1065,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
980
1065
|
agentId: string;
|
|
981
1066
|
title: string | null;
|
|
982
1067
|
updatedAt: string;
|
|
1068
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
983
1069
|
agentSessionId: string | null;
|
|
984
1070
|
pullRequestNumber: number | null;
|
|
985
1071
|
pullRequestUrl: string | null;
|
|
@@ -1011,6 +1097,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1011
1097
|
agentId: string;
|
|
1012
1098
|
title: string | null;
|
|
1013
1099
|
updatedAt: string;
|
|
1100
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1014
1101
|
agentSessionId: string | null;
|
|
1015
1102
|
pullRequestNumber: number | null;
|
|
1016
1103
|
pullRequestUrl: string | null;
|
|
@@ -1057,6 +1144,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1057
1144
|
chatId: z.ZodString;
|
|
1058
1145
|
userId: z.ZodString;
|
|
1059
1146
|
state: z.ZodString;
|
|
1147
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
1060
1148
|
agentId: z.ZodString;
|
|
1061
1149
|
machineId: z.ZodNullable<z.ZodString>;
|
|
1062
1150
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
@@ -1123,6 +1211,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1123
1211
|
agentId: string;
|
|
1124
1212
|
title: string | null;
|
|
1125
1213
|
updatedAt: string;
|
|
1214
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1126
1215
|
agentSessionId: string | null;
|
|
1127
1216
|
pullRequestNumber: number | null;
|
|
1128
1217
|
pullRequestUrl: string | null;
|
|
@@ -1154,6 +1243,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1154
1243
|
agentId: string;
|
|
1155
1244
|
title: string | null;
|
|
1156
1245
|
updatedAt: string;
|
|
1246
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1157
1247
|
agentSessionId: string | null;
|
|
1158
1248
|
pullRequestNumber: number | null;
|
|
1159
1249
|
pullRequestUrl: string | null;
|
|
@@ -1189,6 +1279,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1189
1279
|
agentId: string;
|
|
1190
1280
|
title: string | null;
|
|
1191
1281
|
updatedAt: string;
|
|
1282
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1192
1283
|
agentSessionId: string | null;
|
|
1193
1284
|
pullRequestNumber: number | null;
|
|
1194
1285
|
pullRequestUrl: string | null;
|
|
@@ -1224,6 +1315,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1224
1315
|
agentId: string;
|
|
1225
1316
|
title: string | null;
|
|
1226
1317
|
updatedAt: string;
|
|
1318
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1227
1319
|
agentSessionId: string | null;
|
|
1228
1320
|
pullRequestNumber: number | null;
|
|
1229
1321
|
pullRequestUrl: string | null;
|
|
@@ -1600,6 +1692,80 @@ declare const CreateMergeRequestResponseSchema: z.ZodObject<{
|
|
|
1600
1692
|
reason?: string | undefined;
|
|
1601
1693
|
}>;
|
|
1602
1694
|
type CreateMergeRequestResponse = z.infer<typeof CreateMergeRequestResponseSchema>;
|
|
1695
|
+
/**
|
|
1696
|
+
* POST /v1/tasks/:taskId/approve-pr - Request schema
|
|
1697
|
+
*/
|
|
1698
|
+
declare const ApprovePrRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1699
|
+
type ApprovePrRequest = z.infer<typeof ApprovePrRequestSchema>;
|
|
1700
|
+
/**
|
|
1701
|
+
* POST /v1/tasks/:taskId/approve-pr - Response schema
|
|
1702
|
+
*/
|
|
1703
|
+
declare const ApprovePrResponseSchema: z.ZodObject<{
|
|
1704
|
+
success: z.ZodBoolean;
|
|
1705
|
+
taskId: z.ZodString;
|
|
1706
|
+
pullRequestNumber: z.ZodNumber;
|
|
1707
|
+
}, "strip", z.ZodTypeAny, {
|
|
1708
|
+
success: boolean;
|
|
1709
|
+
taskId: string;
|
|
1710
|
+
pullRequestNumber: number;
|
|
1711
|
+
}, {
|
|
1712
|
+
success: boolean;
|
|
1713
|
+
taskId: string;
|
|
1714
|
+
pullRequestNumber: number;
|
|
1715
|
+
}>;
|
|
1716
|
+
type ApprovePrResponse = z.infer<typeof ApprovePrResponseSchema>;
|
|
1717
|
+
/**
|
|
1718
|
+
* POST /v1/tasks/:taskId/share - Request schema
|
|
1719
|
+
*/
|
|
1720
|
+
declare const CreateTaskShareSchema: z.ZodObject<{
|
|
1721
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1722
|
+
canSendMessage: z.ZodBoolean;
|
|
1723
|
+
canCreatePr: z.ZodBoolean;
|
|
1724
|
+
canApprovePr: z.ZodBoolean;
|
|
1725
|
+
canViewPr: z.ZodBoolean;
|
|
1726
|
+
canMergePr: z.ZodBoolean;
|
|
1727
|
+
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
canSendMessage: boolean;
|
|
1729
|
+
canCreatePr: boolean;
|
|
1730
|
+
canApprovePr: boolean;
|
|
1731
|
+
canViewPr: boolean;
|
|
1732
|
+
canMergePr: boolean;
|
|
1733
|
+
}, {
|
|
1734
|
+
canSendMessage: boolean;
|
|
1735
|
+
canCreatePr: boolean;
|
|
1736
|
+
canApprovePr: boolean;
|
|
1737
|
+
canViewPr: boolean;
|
|
1738
|
+
canMergePr: boolean;
|
|
1739
|
+
}>>>;
|
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
permissions: {
|
|
1742
|
+
canSendMessage: boolean;
|
|
1743
|
+
canCreatePr: boolean;
|
|
1744
|
+
canApprovePr: boolean;
|
|
1745
|
+
canViewPr: boolean;
|
|
1746
|
+
canMergePr: boolean;
|
|
1747
|
+
};
|
|
1748
|
+
}, {
|
|
1749
|
+
permissions?: {
|
|
1750
|
+
canSendMessage: boolean;
|
|
1751
|
+
canCreatePr: boolean;
|
|
1752
|
+
canApprovePr: boolean;
|
|
1753
|
+
canViewPr: boolean;
|
|
1754
|
+
canMergePr: boolean;
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
}>;
|
|
1757
|
+
type CreateTaskShareRequest = z.infer<typeof CreateTaskShareSchema>;
|
|
1758
|
+
/**
|
|
1759
|
+
* POST /v1/tasks/:taskId/share - Response schema
|
|
1760
|
+
*/
|
|
1761
|
+
declare const CreateTaskShareResponseSchema: z.ZodObject<{
|
|
1762
|
+
shareCode: z.ZodString;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
shareCode: string;
|
|
1765
|
+
}, {
|
|
1766
|
+
shareCode: string;
|
|
1767
|
+
}>;
|
|
1768
|
+
type CreateTaskShareResponse = z.infer<typeof CreateTaskShareResponseSchema>;
|
|
1603
1769
|
/**
|
|
1604
1770
|
* POST /v1/tasks/:taskId/archive - Request schema (empty body)
|
|
1605
1771
|
*/
|
|
@@ -1615,6 +1781,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1615
1781
|
chatId: z.ZodString;
|
|
1616
1782
|
userId: z.ZodString;
|
|
1617
1783
|
state: z.ZodString;
|
|
1784
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
1618
1785
|
agentId: z.ZodString;
|
|
1619
1786
|
machineId: z.ZodNullable<z.ZodString>;
|
|
1620
1787
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
@@ -1681,6 +1848,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1681
1848
|
agentId: string;
|
|
1682
1849
|
title: string | null;
|
|
1683
1850
|
updatedAt: string;
|
|
1851
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1684
1852
|
agentSessionId: string | null;
|
|
1685
1853
|
pullRequestNumber: number | null;
|
|
1686
1854
|
pullRequestUrl: string | null;
|
|
@@ -1712,6 +1880,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1712
1880
|
agentId: string;
|
|
1713
1881
|
title: string | null;
|
|
1714
1882
|
updatedAt: string;
|
|
1883
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1715
1884
|
agentSessionId: string | null;
|
|
1716
1885
|
pullRequestNumber: number | null;
|
|
1717
1886
|
pullRequestUrl: string | null;
|
|
@@ -1746,6 +1915,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1746
1915
|
agentId: string;
|
|
1747
1916
|
title: string | null;
|
|
1748
1917
|
updatedAt: string;
|
|
1918
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1749
1919
|
agentSessionId: string | null;
|
|
1750
1920
|
pullRequestNumber: number | null;
|
|
1751
1921
|
pullRequestUrl: string | null;
|
|
@@ -1780,6 +1950,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1780
1950
|
agentId: string;
|
|
1781
1951
|
title: string | null;
|
|
1782
1952
|
updatedAt: string;
|
|
1953
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1783
1954
|
agentSessionId: string | null;
|
|
1784
1955
|
pullRequestNumber: number | null;
|
|
1785
1956
|
pullRequestUrl: string | null;
|
|
@@ -1813,6 +1984,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1813
1984
|
chatId: z.ZodString;
|
|
1814
1985
|
userId: z.ZodString;
|
|
1815
1986
|
state: z.ZodString;
|
|
1987
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
1816
1988
|
agentId: z.ZodString;
|
|
1817
1989
|
machineId: z.ZodNullable<z.ZodString>;
|
|
1818
1990
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
@@ -1879,6 +2051,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1879
2051
|
agentId: string;
|
|
1880
2052
|
title: string | null;
|
|
1881
2053
|
updatedAt: string;
|
|
2054
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1882
2055
|
agentSessionId: string | null;
|
|
1883
2056
|
pullRequestNumber: number | null;
|
|
1884
2057
|
pullRequestUrl: string | null;
|
|
@@ -1910,6 +2083,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1910
2083
|
agentId: string;
|
|
1911
2084
|
title: string | null;
|
|
1912
2085
|
updatedAt: string;
|
|
2086
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1913
2087
|
agentSessionId: string | null;
|
|
1914
2088
|
pullRequestNumber: number | null;
|
|
1915
2089
|
pullRequestUrl: string | null;
|
|
@@ -1944,6 +2118,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1944
2118
|
agentId: string;
|
|
1945
2119
|
title: string | null;
|
|
1946
2120
|
updatedAt: string;
|
|
2121
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1947
2122
|
agentSessionId: string | null;
|
|
1948
2123
|
pullRequestNumber: number | null;
|
|
1949
2124
|
pullRequestUrl: string | null;
|
|
@@ -1978,6 +2153,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1978
2153
|
agentId: string;
|
|
1979
2154
|
title: string | null;
|
|
1980
2155
|
updatedAt: string;
|
|
2156
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1981
2157
|
agentSessionId: string | null;
|
|
1982
2158
|
pullRequestNumber: number | null;
|
|
1983
2159
|
pullRequestUrl: string | null;
|
|
@@ -2574,6 +2750,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2574
2750
|
chatId: z.ZodString;
|
|
2575
2751
|
userId: z.ZodString;
|
|
2576
2752
|
state: z.ZodString;
|
|
2753
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
2577
2754
|
agentId: z.ZodString;
|
|
2578
2755
|
machineId: z.ZodNullable<z.ZodString>;
|
|
2579
2756
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
@@ -2640,6 +2817,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2640
2817
|
agentId: string;
|
|
2641
2818
|
title: string | null;
|
|
2642
2819
|
updatedAt: string;
|
|
2820
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2643
2821
|
agentSessionId: string | null;
|
|
2644
2822
|
pullRequestNumber: number | null;
|
|
2645
2823
|
pullRequestUrl: string | null;
|
|
@@ -2671,6 +2849,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2671
2849
|
agentId: string;
|
|
2672
2850
|
title: string | null;
|
|
2673
2851
|
updatedAt: string;
|
|
2852
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2674
2853
|
agentSessionId: string | null;
|
|
2675
2854
|
pullRequestNumber: number | null;
|
|
2676
2855
|
pullRequestUrl: string | null;
|
|
@@ -2704,6 +2883,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2704
2883
|
agentId: string;
|
|
2705
2884
|
title: string | null;
|
|
2706
2885
|
updatedAt: string;
|
|
2886
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2707
2887
|
agentSessionId: string | null;
|
|
2708
2888
|
pullRequestNumber: number | null;
|
|
2709
2889
|
pullRequestUrl: string | null;
|
|
@@ -2737,6 +2917,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2737
2917
|
agentId: string;
|
|
2738
2918
|
title: string | null;
|
|
2739
2919
|
updatedAt: string;
|
|
2920
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2740
2921
|
agentSessionId: string | null;
|
|
2741
2922
|
pullRequestNumber: number | null;
|
|
2742
2923
|
pullRequestUrl: string | null;
|
|
@@ -2769,6 +2950,225 @@ type AgentType = z.infer<typeof AgentTypeSchema>;
|
|
|
2769
2950
|
/**
|
|
2770
2951
|
* Agent base schema
|
|
2771
2952
|
*/
|
|
2953
|
+
/**
|
|
2954
|
+
* Display configuration keys for agent-specific UI text
|
|
2955
|
+
*/
|
|
2956
|
+
declare const DisplayConfigKeysSchema: z.ZodObject<{
|
|
2957
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
2958
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
2964
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
2968
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
2969
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
2970
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
2971
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
2972
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
2973
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
2974
|
+
}, "strip", z.ZodTypeAny, {
|
|
2975
|
+
closed?: string | undefined;
|
|
2976
|
+
merged?: string | undefined;
|
|
2977
|
+
createPR?: string | undefined;
|
|
2978
|
+
viewPR?: string | undefined;
|
|
2979
|
+
mergePR?: string | undefined;
|
|
2980
|
+
approvePR?: string | undefined;
|
|
2981
|
+
recreatePR?: string | undefined;
|
|
2982
|
+
permissionCanSendMessage?: string | undefined;
|
|
2983
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
2984
|
+
permissionCanCreatePr?: string | undefined;
|
|
2985
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
2986
|
+
permissionCanApprovePr?: string | undefined;
|
|
2987
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
2988
|
+
permissionCanViewPr?: string | undefined;
|
|
2989
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
2990
|
+
permissionCanMergePr?: string | undefined;
|
|
2991
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
2992
|
+
}, {
|
|
2993
|
+
closed?: string | undefined;
|
|
2994
|
+
merged?: string | undefined;
|
|
2995
|
+
createPR?: string | undefined;
|
|
2996
|
+
viewPR?: string | undefined;
|
|
2997
|
+
mergePR?: string | undefined;
|
|
2998
|
+
approvePR?: string | undefined;
|
|
2999
|
+
recreatePR?: string | undefined;
|
|
3000
|
+
permissionCanSendMessage?: string | undefined;
|
|
3001
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3002
|
+
permissionCanCreatePr?: string | undefined;
|
|
3003
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3004
|
+
permissionCanApprovePr?: string | undefined;
|
|
3005
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3006
|
+
permissionCanViewPr?: string | undefined;
|
|
3007
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3008
|
+
permissionCanMergePr?: string | undefined;
|
|
3009
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3010
|
+
}>;
|
|
3011
|
+
type DisplayConfigKeys = z.infer<typeof DisplayConfigKeysSchema>;
|
|
3012
|
+
/**
|
|
3013
|
+
* Language-specific display configuration (e.g., "en", "zh-Hans")
|
|
3014
|
+
*/
|
|
3015
|
+
declare const DisplayConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3016
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3017
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3018
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3020
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3021
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3023
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3025
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3028
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3029
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3030
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3031
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3032
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3033
|
+
}, "strip", z.ZodTypeAny, {
|
|
3034
|
+
closed?: string | undefined;
|
|
3035
|
+
merged?: string | undefined;
|
|
3036
|
+
createPR?: string | undefined;
|
|
3037
|
+
viewPR?: string | undefined;
|
|
3038
|
+
mergePR?: string | undefined;
|
|
3039
|
+
approvePR?: string | undefined;
|
|
3040
|
+
recreatePR?: string | undefined;
|
|
3041
|
+
permissionCanSendMessage?: string | undefined;
|
|
3042
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3043
|
+
permissionCanCreatePr?: string | undefined;
|
|
3044
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3045
|
+
permissionCanApprovePr?: string | undefined;
|
|
3046
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3047
|
+
permissionCanViewPr?: string | undefined;
|
|
3048
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3049
|
+
permissionCanMergePr?: string | undefined;
|
|
3050
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3051
|
+
}, {
|
|
3052
|
+
closed?: string | undefined;
|
|
3053
|
+
merged?: string | undefined;
|
|
3054
|
+
createPR?: string | undefined;
|
|
3055
|
+
viewPR?: string | undefined;
|
|
3056
|
+
mergePR?: string | undefined;
|
|
3057
|
+
approvePR?: string | undefined;
|
|
3058
|
+
recreatePR?: string | undefined;
|
|
3059
|
+
permissionCanSendMessage?: string | undefined;
|
|
3060
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3061
|
+
permissionCanCreatePr?: string | undefined;
|
|
3062
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3063
|
+
permissionCanApprovePr?: string | undefined;
|
|
3064
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3065
|
+
permissionCanViewPr?: string | undefined;
|
|
3066
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3067
|
+
permissionCanMergePr?: string | undefined;
|
|
3068
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3069
|
+
}>>;
|
|
3070
|
+
type DisplayConfig = z.infer<typeof DisplayConfigSchema>;
|
|
3071
|
+
/**
|
|
3072
|
+
* Agent custom configuration (for UI text customization)
|
|
3073
|
+
*/
|
|
3074
|
+
declare const AgentCustomConfigSchema: z.ZodObject<{
|
|
3075
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3076
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3079
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3081
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3083
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3084
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3085
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3087
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3089
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3090
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3091
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
}, "strip", z.ZodTypeAny, {
|
|
3094
|
+
closed?: string | undefined;
|
|
3095
|
+
merged?: string | undefined;
|
|
3096
|
+
createPR?: string | undefined;
|
|
3097
|
+
viewPR?: string | undefined;
|
|
3098
|
+
mergePR?: string | undefined;
|
|
3099
|
+
approvePR?: string | undefined;
|
|
3100
|
+
recreatePR?: string | undefined;
|
|
3101
|
+
permissionCanSendMessage?: string | undefined;
|
|
3102
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3103
|
+
permissionCanCreatePr?: string | undefined;
|
|
3104
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3105
|
+
permissionCanApprovePr?: string | undefined;
|
|
3106
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3107
|
+
permissionCanViewPr?: string | undefined;
|
|
3108
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3109
|
+
permissionCanMergePr?: string | undefined;
|
|
3110
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3111
|
+
}, {
|
|
3112
|
+
closed?: string | undefined;
|
|
3113
|
+
merged?: string | undefined;
|
|
3114
|
+
createPR?: string | undefined;
|
|
3115
|
+
viewPR?: string | undefined;
|
|
3116
|
+
mergePR?: string | undefined;
|
|
3117
|
+
approvePR?: string | undefined;
|
|
3118
|
+
recreatePR?: string | undefined;
|
|
3119
|
+
permissionCanSendMessage?: string | undefined;
|
|
3120
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3121
|
+
permissionCanCreatePr?: string | undefined;
|
|
3122
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3123
|
+
permissionCanApprovePr?: string | undefined;
|
|
3124
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3125
|
+
permissionCanViewPr?: string | undefined;
|
|
3126
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3127
|
+
permissionCanMergePr?: string | undefined;
|
|
3128
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3129
|
+
}>>>;
|
|
3130
|
+
}, "strip", z.ZodTypeAny, {
|
|
3131
|
+
displayConfig?: Record<string, {
|
|
3132
|
+
closed?: string | undefined;
|
|
3133
|
+
merged?: string | undefined;
|
|
3134
|
+
createPR?: string | undefined;
|
|
3135
|
+
viewPR?: string | undefined;
|
|
3136
|
+
mergePR?: string | undefined;
|
|
3137
|
+
approvePR?: string | undefined;
|
|
3138
|
+
recreatePR?: string | undefined;
|
|
3139
|
+
permissionCanSendMessage?: string | undefined;
|
|
3140
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3141
|
+
permissionCanCreatePr?: string | undefined;
|
|
3142
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3143
|
+
permissionCanApprovePr?: string | undefined;
|
|
3144
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3145
|
+
permissionCanViewPr?: string | undefined;
|
|
3146
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3147
|
+
permissionCanMergePr?: string | undefined;
|
|
3148
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3149
|
+
}> | undefined;
|
|
3150
|
+
}, {
|
|
3151
|
+
displayConfig?: Record<string, {
|
|
3152
|
+
closed?: string | undefined;
|
|
3153
|
+
merged?: string | undefined;
|
|
3154
|
+
createPR?: string | undefined;
|
|
3155
|
+
viewPR?: string | undefined;
|
|
3156
|
+
mergePR?: string | undefined;
|
|
3157
|
+
approvePR?: string | undefined;
|
|
3158
|
+
recreatePR?: string | undefined;
|
|
3159
|
+
permissionCanSendMessage?: string | undefined;
|
|
3160
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3161
|
+
permissionCanCreatePr?: string | undefined;
|
|
3162
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3163
|
+
permissionCanApprovePr?: string | undefined;
|
|
3164
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3165
|
+
permissionCanViewPr?: string | undefined;
|
|
3166
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3167
|
+
permissionCanMergePr?: string | undefined;
|
|
3168
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3169
|
+
}> | undefined;
|
|
3170
|
+
}>;
|
|
3171
|
+
type AgentCustomConfig = z.infer<typeof AgentCustomConfigSchema>;
|
|
2772
3172
|
declare const AgentSchema: z.ZodObject<{
|
|
2773
3173
|
id: z.ZodString;
|
|
2774
3174
|
name: z.ZodString;
|
|
@@ -2784,6 +3184,103 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2784
3184
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2785
3185
|
supportLocal: z.ZodBoolean;
|
|
2786
3186
|
enable: z.ZodBoolean;
|
|
3187
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3188
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3189
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3190
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3194
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3195
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3197
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3199
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3200
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3202
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3203
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3204
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3205
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3207
|
+
closed?: string | undefined;
|
|
3208
|
+
merged?: string | undefined;
|
|
3209
|
+
createPR?: string | undefined;
|
|
3210
|
+
viewPR?: string | undefined;
|
|
3211
|
+
mergePR?: string | undefined;
|
|
3212
|
+
approvePR?: string | undefined;
|
|
3213
|
+
recreatePR?: string | undefined;
|
|
3214
|
+
permissionCanSendMessage?: string | undefined;
|
|
3215
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3216
|
+
permissionCanCreatePr?: string | undefined;
|
|
3217
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3218
|
+
permissionCanApprovePr?: string | undefined;
|
|
3219
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3220
|
+
permissionCanViewPr?: string | undefined;
|
|
3221
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3222
|
+
permissionCanMergePr?: string | undefined;
|
|
3223
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3224
|
+
}, {
|
|
3225
|
+
closed?: string | undefined;
|
|
3226
|
+
merged?: string | undefined;
|
|
3227
|
+
createPR?: string | undefined;
|
|
3228
|
+
viewPR?: string | undefined;
|
|
3229
|
+
mergePR?: string | undefined;
|
|
3230
|
+
approvePR?: string | undefined;
|
|
3231
|
+
recreatePR?: string | undefined;
|
|
3232
|
+
permissionCanSendMessage?: string | undefined;
|
|
3233
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3234
|
+
permissionCanCreatePr?: string | undefined;
|
|
3235
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3236
|
+
permissionCanApprovePr?: string | undefined;
|
|
3237
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3238
|
+
permissionCanViewPr?: string | undefined;
|
|
3239
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3240
|
+
permissionCanMergePr?: string | undefined;
|
|
3241
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3242
|
+
}>>>;
|
|
3243
|
+
}, "strip", z.ZodTypeAny, {
|
|
3244
|
+
displayConfig?: Record<string, {
|
|
3245
|
+
closed?: string | undefined;
|
|
3246
|
+
merged?: string | undefined;
|
|
3247
|
+
createPR?: string | undefined;
|
|
3248
|
+
viewPR?: string | undefined;
|
|
3249
|
+
mergePR?: string | undefined;
|
|
3250
|
+
approvePR?: string | undefined;
|
|
3251
|
+
recreatePR?: string | undefined;
|
|
3252
|
+
permissionCanSendMessage?: string | undefined;
|
|
3253
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3254
|
+
permissionCanCreatePr?: string | undefined;
|
|
3255
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3256
|
+
permissionCanApprovePr?: string | undefined;
|
|
3257
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3258
|
+
permissionCanViewPr?: string | undefined;
|
|
3259
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3260
|
+
permissionCanMergePr?: string | undefined;
|
|
3261
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3262
|
+
}> | undefined;
|
|
3263
|
+
}, {
|
|
3264
|
+
displayConfig?: Record<string, {
|
|
3265
|
+
closed?: string | undefined;
|
|
3266
|
+
merged?: string | undefined;
|
|
3267
|
+
createPR?: string | undefined;
|
|
3268
|
+
viewPR?: string | undefined;
|
|
3269
|
+
mergePR?: string | undefined;
|
|
3270
|
+
approvePR?: string | undefined;
|
|
3271
|
+
recreatePR?: string | undefined;
|
|
3272
|
+
permissionCanSendMessage?: string | undefined;
|
|
3273
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3274
|
+
permissionCanCreatePr?: string | undefined;
|
|
3275
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3276
|
+
permissionCanApprovePr?: string | undefined;
|
|
3277
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3278
|
+
permissionCanViewPr?: string | undefined;
|
|
3279
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3280
|
+
permissionCanMergePr?: string | undefined;
|
|
3281
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3282
|
+
}> | undefined;
|
|
3283
|
+
}>>;
|
|
2787
3284
|
}, "strip", z.ZodTypeAny, {
|
|
2788
3285
|
type: "claude" | "codex";
|
|
2789
3286
|
id: string;
|
|
@@ -2799,6 +3296,27 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2799
3296
|
gitRepoId: string | null;
|
|
2800
3297
|
supportLocal: boolean;
|
|
2801
3298
|
enable: boolean;
|
|
3299
|
+
config: {
|
|
3300
|
+
displayConfig?: Record<string, {
|
|
3301
|
+
closed?: string | undefined;
|
|
3302
|
+
merged?: string | undefined;
|
|
3303
|
+
createPR?: string | undefined;
|
|
3304
|
+
viewPR?: string | undefined;
|
|
3305
|
+
mergePR?: string | undefined;
|
|
3306
|
+
approvePR?: string | undefined;
|
|
3307
|
+
recreatePR?: string | undefined;
|
|
3308
|
+
permissionCanSendMessage?: string | undefined;
|
|
3309
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3310
|
+
permissionCanCreatePr?: string | undefined;
|
|
3311
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3312
|
+
permissionCanApprovePr?: string | undefined;
|
|
3313
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3314
|
+
permissionCanViewPr?: string | undefined;
|
|
3315
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3316
|
+
permissionCanMergePr?: string | undefined;
|
|
3317
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3318
|
+
}> | undefined;
|
|
3319
|
+
} | null;
|
|
2802
3320
|
}, {
|
|
2803
3321
|
type: "claude" | "codex";
|
|
2804
3322
|
id: string;
|
|
@@ -2814,6 +3332,27 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
2814
3332
|
gitRepoId: string | null;
|
|
2815
3333
|
supportLocal: boolean;
|
|
2816
3334
|
enable: boolean;
|
|
3335
|
+
config: {
|
|
3336
|
+
displayConfig?: Record<string, {
|
|
3337
|
+
closed?: string | undefined;
|
|
3338
|
+
merged?: string | undefined;
|
|
3339
|
+
createPR?: string | undefined;
|
|
3340
|
+
viewPR?: string | undefined;
|
|
3341
|
+
mergePR?: string | undefined;
|
|
3342
|
+
approvePR?: string | undefined;
|
|
3343
|
+
recreatePR?: string | undefined;
|
|
3344
|
+
permissionCanSendMessage?: string | undefined;
|
|
3345
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3346
|
+
permissionCanCreatePr?: string | undefined;
|
|
3347
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3348
|
+
permissionCanApprovePr?: string | undefined;
|
|
3349
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3350
|
+
permissionCanViewPr?: string | undefined;
|
|
3351
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3352
|
+
permissionCanMergePr?: string | undefined;
|
|
3353
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3354
|
+
}> | undefined;
|
|
3355
|
+
} | null;
|
|
2817
3356
|
}>;
|
|
2818
3357
|
type Agent = z.infer<typeof AgentSchema>;
|
|
2819
3358
|
/**
|
|
@@ -2835,6 +3374,103 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2835
3374
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2836
3375
|
supportLocal: z.ZodBoolean;
|
|
2837
3376
|
enable: z.ZodBoolean;
|
|
3377
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3378
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3379
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3380
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3381
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3382
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3383
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3385
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3386
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3388
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3389
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3390
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3391
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3392
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3393
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3394
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3395
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
}, "strip", z.ZodTypeAny, {
|
|
3397
|
+
closed?: string | undefined;
|
|
3398
|
+
merged?: string | undefined;
|
|
3399
|
+
createPR?: string | undefined;
|
|
3400
|
+
viewPR?: string | undefined;
|
|
3401
|
+
mergePR?: string | undefined;
|
|
3402
|
+
approvePR?: string | undefined;
|
|
3403
|
+
recreatePR?: string | undefined;
|
|
3404
|
+
permissionCanSendMessage?: string | undefined;
|
|
3405
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3406
|
+
permissionCanCreatePr?: string | undefined;
|
|
3407
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3408
|
+
permissionCanApprovePr?: string | undefined;
|
|
3409
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3410
|
+
permissionCanViewPr?: string | undefined;
|
|
3411
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3412
|
+
permissionCanMergePr?: string | undefined;
|
|
3413
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3414
|
+
}, {
|
|
3415
|
+
closed?: string | undefined;
|
|
3416
|
+
merged?: string | undefined;
|
|
3417
|
+
createPR?: string | undefined;
|
|
3418
|
+
viewPR?: string | undefined;
|
|
3419
|
+
mergePR?: string | undefined;
|
|
3420
|
+
approvePR?: string | undefined;
|
|
3421
|
+
recreatePR?: string | undefined;
|
|
3422
|
+
permissionCanSendMessage?: string | undefined;
|
|
3423
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3424
|
+
permissionCanCreatePr?: string | undefined;
|
|
3425
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3426
|
+
permissionCanApprovePr?: string | undefined;
|
|
3427
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3428
|
+
permissionCanViewPr?: string | undefined;
|
|
3429
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3430
|
+
permissionCanMergePr?: string | undefined;
|
|
3431
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3432
|
+
}>>>;
|
|
3433
|
+
}, "strip", z.ZodTypeAny, {
|
|
3434
|
+
displayConfig?: Record<string, {
|
|
3435
|
+
closed?: string | undefined;
|
|
3436
|
+
merged?: string | undefined;
|
|
3437
|
+
createPR?: string | undefined;
|
|
3438
|
+
viewPR?: string | undefined;
|
|
3439
|
+
mergePR?: string | undefined;
|
|
3440
|
+
approvePR?: string | undefined;
|
|
3441
|
+
recreatePR?: string | undefined;
|
|
3442
|
+
permissionCanSendMessage?: string | undefined;
|
|
3443
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3444
|
+
permissionCanCreatePr?: string | undefined;
|
|
3445
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3446
|
+
permissionCanApprovePr?: string | undefined;
|
|
3447
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3448
|
+
permissionCanViewPr?: string | undefined;
|
|
3449
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3450
|
+
permissionCanMergePr?: string | undefined;
|
|
3451
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3452
|
+
}> | undefined;
|
|
3453
|
+
}, {
|
|
3454
|
+
displayConfig?: Record<string, {
|
|
3455
|
+
closed?: string | undefined;
|
|
3456
|
+
merged?: string | undefined;
|
|
3457
|
+
createPR?: string | undefined;
|
|
3458
|
+
viewPR?: string | undefined;
|
|
3459
|
+
mergePR?: string | undefined;
|
|
3460
|
+
approvePR?: string | undefined;
|
|
3461
|
+
recreatePR?: string | undefined;
|
|
3462
|
+
permissionCanSendMessage?: string | undefined;
|
|
3463
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3464
|
+
permissionCanCreatePr?: string | undefined;
|
|
3465
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3466
|
+
permissionCanApprovePr?: string | undefined;
|
|
3467
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3468
|
+
permissionCanViewPr?: string | undefined;
|
|
3469
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3470
|
+
permissionCanMergePr?: string | undefined;
|
|
3471
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3472
|
+
}> | undefined;
|
|
3473
|
+
}>>;
|
|
2838
3474
|
}, "strip", z.ZodTypeAny, {
|
|
2839
3475
|
type: "claude" | "codex";
|
|
2840
3476
|
id: string;
|
|
@@ -2850,6 +3486,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2850
3486
|
gitRepoId: string | null;
|
|
2851
3487
|
supportLocal: boolean;
|
|
2852
3488
|
enable: boolean;
|
|
3489
|
+
config: {
|
|
3490
|
+
displayConfig?: Record<string, {
|
|
3491
|
+
closed?: string | undefined;
|
|
3492
|
+
merged?: string | undefined;
|
|
3493
|
+
createPR?: string | undefined;
|
|
3494
|
+
viewPR?: string | undefined;
|
|
3495
|
+
mergePR?: string | undefined;
|
|
3496
|
+
approvePR?: string | undefined;
|
|
3497
|
+
recreatePR?: string | undefined;
|
|
3498
|
+
permissionCanSendMessage?: string | undefined;
|
|
3499
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3500
|
+
permissionCanCreatePr?: string | undefined;
|
|
3501
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3502
|
+
permissionCanApprovePr?: string | undefined;
|
|
3503
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3504
|
+
permissionCanViewPr?: string | undefined;
|
|
3505
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3506
|
+
permissionCanMergePr?: string | undefined;
|
|
3507
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3508
|
+
}> | undefined;
|
|
3509
|
+
} | null;
|
|
2853
3510
|
}, {
|
|
2854
3511
|
type: "claude" | "codex";
|
|
2855
3512
|
id: string;
|
|
@@ -2865,6 +3522,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2865
3522
|
gitRepoId: string | null;
|
|
2866
3523
|
supportLocal: boolean;
|
|
2867
3524
|
enable: boolean;
|
|
3525
|
+
config: {
|
|
3526
|
+
displayConfig?: Record<string, {
|
|
3527
|
+
closed?: string | undefined;
|
|
3528
|
+
merged?: string | undefined;
|
|
3529
|
+
createPR?: string | undefined;
|
|
3530
|
+
viewPR?: string | undefined;
|
|
3531
|
+
mergePR?: string | undefined;
|
|
3532
|
+
approvePR?: string | undefined;
|
|
3533
|
+
recreatePR?: string | undefined;
|
|
3534
|
+
permissionCanSendMessage?: string | undefined;
|
|
3535
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3536
|
+
permissionCanCreatePr?: string | undefined;
|
|
3537
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3538
|
+
permissionCanApprovePr?: string | undefined;
|
|
3539
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3540
|
+
permissionCanViewPr?: string | undefined;
|
|
3541
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3542
|
+
permissionCanMergePr?: string | undefined;
|
|
3543
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3544
|
+
}> | undefined;
|
|
3545
|
+
} | null;
|
|
2868
3546
|
}>, "many">;
|
|
2869
3547
|
}, "strip", z.ZodTypeAny, {
|
|
2870
3548
|
agents: {
|
|
@@ -2882,6 +3560,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2882
3560
|
gitRepoId: string | null;
|
|
2883
3561
|
supportLocal: boolean;
|
|
2884
3562
|
enable: boolean;
|
|
3563
|
+
config: {
|
|
3564
|
+
displayConfig?: Record<string, {
|
|
3565
|
+
closed?: string | undefined;
|
|
3566
|
+
merged?: string | undefined;
|
|
3567
|
+
createPR?: string | undefined;
|
|
3568
|
+
viewPR?: string | undefined;
|
|
3569
|
+
mergePR?: string | undefined;
|
|
3570
|
+
approvePR?: string | undefined;
|
|
3571
|
+
recreatePR?: string | undefined;
|
|
3572
|
+
permissionCanSendMessage?: string | undefined;
|
|
3573
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3574
|
+
permissionCanCreatePr?: string | undefined;
|
|
3575
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3576
|
+
permissionCanApprovePr?: string | undefined;
|
|
3577
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3578
|
+
permissionCanViewPr?: string | undefined;
|
|
3579
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3580
|
+
permissionCanMergePr?: string | undefined;
|
|
3581
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3582
|
+
}> | undefined;
|
|
3583
|
+
} | null;
|
|
2885
3584
|
}[];
|
|
2886
3585
|
}, {
|
|
2887
3586
|
agents: {
|
|
@@ -2899,6 +3598,27 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
2899
3598
|
gitRepoId: string | null;
|
|
2900
3599
|
supportLocal: boolean;
|
|
2901
3600
|
enable: boolean;
|
|
3601
|
+
config: {
|
|
3602
|
+
displayConfig?: Record<string, {
|
|
3603
|
+
closed?: string | undefined;
|
|
3604
|
+
merged?: string | undefined;
|
|
3605
|
+
createPR?: string | undefined;
|
|
3606
|
+
viewPR?: string | undefined;
|
|
3607
|
+
mergePR?: string | undefined;
|
|
3608
|
+
approvePR?: string | undefined;
|
|
3609
|
+
recreatePR?: string | undefined;
|
|
3610
|
+
permissionCanSendMessage?: string | undefined;
|
|
3611
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3612
|
+
permissionCanCreatePr?: string | undefined;
|
|
3613
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3614
|
+
permissionCanApprovePr?: string | undefined;
|
|
3615
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3616
|
+
permissionCanViewPr?: string | undefined;
|
|
3617
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3618
|
+
permissionCanMergePr?: string | undefined;
|
|
3619
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3620
|
+
}> | undefined;
|
|
3621
|
+
} | null;
|
|
2902
3622
|
}[];
|
|
2903
3623
|
}>;
|
|
2904
3624
|
type ListAgentsResponse = z.infer<typeof ListAgentsResponseSchema>;
|
|
@@ -2920,6 +3640,103 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2920
3640
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
2921
3641
|
supportLocal: z.ZodBoolean;
|
|
2922
3642
|
enable: z.ZodBoolean;
|
|
3643
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
3644
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3645
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3646
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3647
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3648
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3649
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3650
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3651
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3652
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3653
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3654
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3655
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3657
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3659
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3660
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3661
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3662
|
+
}, "strip", z.ZodTypeAny, {
|
|
3663
|
+
closed?: string | undefined;
|
|
3664
|
+
merged?: string | undefined;
|
|
3665
|
+
createPR?: string | undefined;
|
|
3666
|
+
viewPR?: string | undefined;
|
|
3667
|
+
mergePR?: string | undefined;
|
|
3668
|
+
approvePR?: string | undefined;
|
|
3669
|
+
recreatePR?: string | undefined;
|
|
3670
|
+
permissionCanSendMessage?: string | undefined;
|
|
3671
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3672
|
+
permissionCanCreatePr?: string | undefined;
|
|
3673
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3674
|
+
permissionCanApprovePr?: string | undefined;
|
|
3675
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3676
|
+
permissionCanViewPr?: string | undefined;
|
|
3677
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3678
|
+
permissionCanMergePr?: string | undefined;
|
|
3679
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3680
|
+
}, {
|
|
3681
|
+
closed?: string | undefined;
|
|
3682
|
+
merged?: string | undefined;
|
|
3683
|
+
createPR?: string | undefined;
|
|
3684
|
+
viewPR?: string | undefined;
|
|
3685
|
+
mergePR?: string | undefined;
|
|
3686
|
+
approvePR?: string | undefined;
|
|
3687
|
+
recreatePR?: string | undefined;
|
|
3688
|
+
permissionCanSendMessage?: string | undefined;
|
|
3689
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3690
|
+
permissionCanCreatePr?: string | undefined;
|
|
3691
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3692
|
+
permissionCanApprovePr?: string | undefined;
|
|
3693
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3694
|
+
permissionCanViewPr?: string | undefined;
|
|
3695
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3696
|
+
permissionCanMergePr?: string | undefined;
|
|
3697
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3698
|
+
}>>>;
|
|
3699
|
+
}, "strip", z.ZodTypeAny, {
|
|
3700
|
+
displayConfig?: Record<string, {
|
|
3701
|
+
closed?: string | undefined;
|
|
3702
|
+
merged?: string | undefined;
|
|
3703
|
+
createPR?: string | undefined;
|
|
3704
|
+
viewPR?: string | undefined;
|
|
3705
|
+
mergePR?: string | undefined;
|
|
3706
|
+
approvePR?: string | undefined;
|
|
3707
|
+
recreatePR?: string | undefined;
|
|
3708
|
+
permissionCanSendMessage?: string | undefined;
|
|
3709
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3710
|
+
permissionCanCreatePr?: string | undefined;
|
|
3711
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3712
|
+
permissionCanApprovePr?: string | undefined;
|
|
3713
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3714
|
+
permissionCanViewPr?: string | undefined;
|
|
3715
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3716
|
+
permissionCanMergePr?: string | undefined;
|
|
3717
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3718
|
+
}> | undefined;
|
|
3719
|
+
}, {
|
|
3720
|
+
displayConfig?: Record<string, {
|
|
3721
|
+
closed?: string | undefined;
|
|
3722
|
+
merged?: string | undefined;
|
|
3723
|
+
createPR?: string | undefined;
|
|
3724
|
+
viewPR?: string | undefined;
|
|
3725
|
+
mergePR?: string | undefined;
|
|
3726
|
+
approvePR?: string | undefined;
|
|
3727
|
+
recreatePR?: string | undefined;
|
|
3728
|
+
permissionCanSendMessage?: string | undefined;
|
|
3729
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3730
|
+
permissionCanCreatePr?: string | undefined;
|
|
3731
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3732
|
+
permissionCanApprovePr?: string | undefined;
|
|
3733
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3734
|
+
permissionCanViewPr?: string | undefined;
|
|
3735
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3736
|
+
permissionCanMergePr?: string | undefined;
|
|
3737
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3738
|
+
}> | undefined;
|
|
3739
|
+
}>>;
|
|
2923
3740
|
}, "strip", z.ZodTypeAny, {
|
|
2924
3741
|
type: "claude" | "codex";
|
|
2925
3742
|
id: string;
|
|
@@ -2935,6 +3752,27 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2935
3752
|
gitRepoId: string | null;
|
|
2936
3753
|
supportLocal: boolean;
|
|
2937
3754
|
enable: boolean;
|
|
3755
|
+
config: {
|
|
3756
|
+
displayConfig?: Record<string, {
|
|
3757
|
+
closed?: string | undefined;
|
|
3758
|
+
merged?: string | undefined;
|
|
3759
|
+
createPR?: string | undefined;
|
|
3760
|
+
viewPR?: string | undefined;
|
|
3761
|
+
mergePR?: string | undefined;
|
|
3762
|
+
approvePR?: string | undefined;
|
|
3763
|
+
recreatePR?: string | undefined;
|
|
3764
|
+
permissionCanSendMessage?: string | undefined;
|
|
3765
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3766
|
+
permissionCanCreatePr?: string | undefined;
|
|
3767
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3768
|
+
permissionCanApprovePr?: string | undefined;
|
|
3769
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3770
|
+
permissionCanViewPr?: string | undefined;
|
|
3771
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3772
|
+
permissionCanMergePr?: string | undefined;
|
|
3773
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3774
|
+
}> | undefined;
|
|
3775
|
+
} | null;
|
|
2938
3776
|
}, {
|
|
2939
3777
|
type: "claude" | "codex";
|
|
2940
3778
|
id: string;
|
|
@@ -2950,6 +3788,27 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
2950
3788
|
gitRepoId: string | null;
|
|
2951
3789
|
supportLocal: boolean;
|
|
2952
3790
|
enable: boolean;
|
|
3791
|
+
config: {
|
|
3792
|
+
displayConfig?: Record<string, {
|
|
3793
|
+
closed?: string | undefined;
|
|
3794
|
+
merged?: string | undefined;
|
|
3795
|
+
createPR?: string | undefined;
|
|
3796
|
+
viewPR?: string | undefined;
|
|
3797
|
+
mergePR?: string | undefined;
|
|
3798
|
+
approvePR?: string | undefined;
|
|
3799
|
+
recreatePR?: string | undefined;
|
|
3800
|
+
permissionCanSendMessage?: string | undefined;
|
|
3801
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3802
|
+
permissionCanCreatePr?: string | undefined;
|
|
3803
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3804
|
+
permissionCanApprovePr?: string | undefined;
|
|
3805
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3806
|
+
permissionCanViewPr?: string | undefined;
|
|
3807
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3808
|
+
permissionCanMergePr?: string | undefined;
|
|
3809
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3810
|
+
}> | undefined;
|
|
3811
|
+
} | null;
|
|
2953
3812
|
}>;
|
|
2954
3813
|
type GetAgentResponse = z.infer<typeof GetAgentResponseSchema>;
|
|
2955
3814
|
/**
|
|
@@ -2965,6 +3824,103 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2965
3824
|
placeholderMsg: z.ZodDefault<z.ZodString>;
|
|
2966
3825
|
gitRepoId: z.ZodOptional<z.ZodString>;
|
|
2967
3826
|
supportLocal: z.ZodDefault<z.ZodBoolean>;
|
|
3827
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3828
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3829
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
3830
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
3838
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
3839
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
3840
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
3841
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
3842
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
3843
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
3846
|
+
}, "strip", z.ZodTypeAny, {
|
|
3847
|
+
closed?: string | undefined;
|
|
3848
|
+
merged?: string | undefined;
|
|
3849
|
+
createPR?: string | undefined;
|
|
3850
|
+
viewPR?: string | undefined;
|
|
3851
|
+
mergePR?: string | undefined;
|
|
3852
|
+
approvePR?: string | undefined;
|
|
3853
|
+
recreatePR?: string | undefined;
|
|
3854
|
+
permissionCanSendMessage?: string | undefined;
|
|
3855
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3856
|
+
permissionCanCreatePr?: string | undefined;
|
|
3857
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3858
|
+
permissionCanApprovePr?: string | undefined;
|
|
3859
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3860
|
+
permissionCanViewPr?: string | undefined;
|
|
3861
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3862
|
+
permissionCanMergePr?: string | undefined;
|
|
3863
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3864
|
+
}, {
|
|
3865
|
+
closed?: string | undefined;
|
|
3866
|
+
merged?: string | undefined;
|
|
3867
|
+
createPR?: string | undefined;
|
|
3868
|
+
viewPR?: string | undefined;
|
|
3869
|
+
mergePR?: string | undefined;
|
|
3870
|
+
approvePR?: string | undefined;
|
|
3871
|
+
recreatePR?: string | undefined;
|
|
3872
|
+
permissionCanSendMessage?: string | undefined;
|
|
3873
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3874
|
+
permissionCanCreatePr?: string | undefined;
|
|
3875
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3876
|
+
permissionCanApprovePr?: string | undefined;
|
|
3877
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3878
|
+
permissionCanViewPr?: string | undefined;
|
|
3879
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3880
|
+
permissionCanMergePr?: string | undefined;
|
|
3881
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3882
|
+
}>>>;
|
|
3883
|
+
}, "strip", z.ZodTypeAny, {
|
|
3884
|
+
displayConfig?: Record<string, {
|
|
3885
|
+
closed?: string | undefined;
|
|
3886
|
+
merged?: string | undefined;
|
|
3887
|
+
createPR?: string | undefined;
|
|
3888
|
+
viewPR?: string | undefined;
|
|
3889
|
+
mergePR?: string | undefined;
|
|
3890
|
+
approvePR?: string | undefined;
|
|
3891
|
+
recreatePR?: string | undefined;
|
|
3892
|
+
permissionCanSendMessage?: string | undefined;
|
|
3893
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3894
|
+
permissionCanCreatePr?: string | undefined;
|
|
3895
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3896
|
+
permissionCanApprovePr?: string | undefined;
|
|
3897
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3898
|
+
permissionCanViewPr?: string | undefined;
|
|
3899
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3900
|
+
permissionCanMergePr?: string | undefined;
|
|
3901
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3902
|
+
}> | undefined;
|
|
3903
|
+
}, {
|
|
3904
|
+
displayConfig?: Record<string, {
|
|
3905
|
+
closed?: string | undefined;
|
|
3906
|
+
merged?: string | undefined;
|
|
3907
|
+
createPR?: string | undefined;
|
|
3908
|
+
viewPR?: string | undefined;
|
|
3909
|
+
mergePR?: string | undefined;
|
|
3910
|
+
approvePR?: string | undefined;
|
|
3911
|
+
recreatePR?: string | undefined;
|
|
3912
|
+
permissionCanSendMessage?: string | undefined;
|
|
3913
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3914
|
+
permissionCanCreatePr?: string | undefined;
|
|
3915
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3916
|
+
permissionCanApprovePr?: string | undefined;
|
|
3917
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3918
|
+
permissionCanViewPr?: string | undefined;
|
|
3919
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3920
|
+
permissionCanMergePr?: string | undefined;
|
|
3921
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3922
|
+
}> | undefined;
|
|
3923
|
+
}>>;
|
|
2968
3924
|
}, "strip", z.ZodTypeAny, {
|
|
2969
3925
|
type: "claude" | "codex";
|
|
2970
3926
|
name: string;
|
|
@@ -2975,6 +3931,27 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2975
3931
|
signature?: string | undefined;
|
|
2976
3932
|
description?: string | undefined;
|
|
2977
3933
|
gitRepoId?: string | undefined;
|
|
3934
|
+
config?: {
|
|
3935
|
+
displayConfig?: Record<string, {
|
|
3936
|
+
closed?: string | undefined;
|
|
3937
|
+
merged?: string | undefined;
|
|
3938
|
+
createPR?: string | undefined;
|
|
3939
|
+
viewPR?: string | undefined;
|
|
3940
|
+
mergePR?: string | undefined;
|
|
3941
|
+
approvePR?: string | undefined;
|
|
3942
|
+
recreatePR?: string | undefined;
|
|
3943
|
+
permissionCanSendMessage?: string | undefined;
|
|
3944
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3945
|
+
permissionCanCreatePr?: string | undefined;
|
|
3946
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3947
|
+
permissionCanApprovePr?: string | undefined;
|
|
3948
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3949
|
+
permissionCanViewPr?: string | undefined;
|
|
3950
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3951
|
+
permissionCanMergePr?: string | undefined;
|
|
3952
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3953
|
+
}> | undefined;
|
|
3954
|
+
} | undefined;
|
|
2978
3955
|
}, {
|
|
2979
3956
|
type: "claude" | "codex";
|
|
2980
3957
|
name: string;
|
|
@@ -2985,6 +3962,27 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
2985
3962
|
placeholderMsg?: string | undefined;
|
|
2986
3963
|
gitRepoId?: string | undefined;
|
|
2987
3964
|
supportLocal?: boolean | undefined;
|
|
3965
|
+
config?: {
|
|
3966
|
+
displayConfig?: Record<string, {
|
|
3967
|
+
closed?: string | undefined;
|
|
3968
|
+
merged?: string | undefined;
|
|
3969
|
+
createPR?: string | undefined;
|
|
3970
|
+
viewPR?: string | undefined;
|
|
3971
|
+
mergePR?: string | undefined;
|
|
3972
|
+
approvePR?: string | undefined;
|
|
3973
|
+
recreatePR?: string | undefined;
|
|
3974
|
+
permissionCanSendMessage?: string | undefined;
|
|
3975
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
3976
|
+
permissionCanCreatePr?: string | undefined;
|
|
3977
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
3978
|
+
permissionCanApprovePr?: string | undefined;
|
|
3979
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
3980
|
+
permissionCanViewPr?: string | undefined;
|
|
3981
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
3982
|
+
permissionCanMergePr?: string | undefined;
|
|
3983
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
3984
|
+
}> | undefined;
|
|
3985
|
+
} | undefined;
|
|
2988
3986
|
}>;
|
|
2989
3987
|
type CreateAgentRequest = z.infer<typeof CreateAgentRequestSchema>;
|
|
2990
3988
|
/**
|
|
@@ -3005,6 +4003,103 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3005
4003
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
3006
4004
|
supportLocal: z.ZodBoolean;
|
|
3007
4005
|
enable: z.ZodBoolean;
|
|
4006
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
4007
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4008
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
4009
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
4010
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
4011
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
4012
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
4013
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
4019
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
4020
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
4021
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
4022
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4023
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4024
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4025
|
+
}, "strip", z.ZodTypeAny, {
|
|
4026
|
+
closed?: string | undefined;
|
|
4027
|
+
merged?: string | undefined;
|
|
4028
|
+
createPR?: string | undefined;
|
|
4029
|
+
viewPR?: string | undefined;
|
|
4030
|
+
mergePR?: string | undefined;
|
|
4031
|
+
approvePR?: string | undefined;
|
|
4032
|
+
recreatePR?: string | undefined;
|
|
4033
|
+
permissionCanSendMessage?: string | undefined;
|
|
4034
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4035
|
+
permissionCanCreatePr?: string | undefined;
|
|
4036
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4037
|
+
permissionCanApprovePr?: string | undefined;
|
|
4038
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4039
|
+
permissionCanViewPr?: string | undefined;
|
|
4040
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4041
|
+
permissionCanMergePr?: string | undefined;
|
|
4042
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4043
|
+
}, {
|
|
4044
|
+
closed?: string | undefined;
|
|
4045
|
+
merged?: string | undefined;
|
|
4046
|
+
createPR?: string | undefined;
|
|
4047
|
+
viewPR?: string | undefined;
|
|
4048
|
+
mergePR?: string | undefined;
|
|
4049
|
+
approvePR?: string | undefined;
|
|
4050
|
+
recreatePR?: string | undefined;
|
|
4051
|
+
permissionCanSendMessage?: string | undefined;
|
|
4052
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4053
|
+
permissionCanCreatePr?: string | undefined;
|
|
4054
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4055
|
+
permissionCanApprovePr?: string | undefined;
|
|
4056
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4057
|
+
permissionCanViewPr?: string | undefined;
|
|
4058
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4059
|
+
permissionCanMergePr?: string | undefined;
|
|
4060
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4061
|
+
}>>>;
|
|
4062
|
+
}, "strip", z.ZodTypeAny, {
|
|
4063
|
+
displayConfig?: Record<string, {
|
|
4064
|
+
closed?: string | undefined;
|
|
4065
|
+
merged?: string | undefined;
|
|
4066
|
+
createPR?: string | undefined;
|
|
4067
|
+
viewPR?: string | undefined;
|
|
4068
|
+
mergePR?: string | undefined;
|
|
4069
|
+
approvePR?: string | undefined;
|
|
4070
|
+
recreatePR?: string | undefined;
|
|
4071
|
+
permissionCanSendMessage?: string | undefined;
|
|
4072
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4073
|
+
permissionCanCreatePr?: string | undefined;
|
|
4074
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4075
|
+
permissionCanApprovePr?: string | undefined;
|
|
4076
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4077
|
+
permissionCanViewPr?: string | undefined;
|
|
4078
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4079
|
+
permissionCanMergePr?: string | undefined;
|
|
4080
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4081
|
+
}> | undefined;
|
|
4082
|
+
}, {
|
|
4083
|
+
displayConfig?: Record<string, {
|
|
4084
|
+
closed?: string | undefined;
|
|
4085
|
+
merged?: string | undefined;
|
|
4086
|
+
createPR?: string | undefined;
|
|
4087
|
+
viewPR?: string | undefined;
|
|
4088
|
+
mergePR?: string | undefined;
|
|
4089
|
+
approvePR?: string | undefined;
|
|
4090
|
+
recreatePR?: string | undefined;
|
|
4091
|
+
permissionCanSendMessage?: string | undefined;
|
|
4092
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4093
|
+
permissionCanCreatePr?: string | undefined;
|
|
4094
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4095
|
+
permissionCanApprovePr?: string | undefined;
|
|
4096
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4097
|
+
permissionCanViewPr?: string | undefined;
|
|
4098
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4099
|
+
permissionCanMergePr?: string | undefined;
|
|
4100
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4101
|
+
}> | undefined;
|
|
4102
|
+
}>>;
|
|
3008
4103
|
}, "strip", z.ZodTypeAny, {
|
|
3009
4104
|
type: "claude" | "codex";
|
|
3010
4105
|
id: string;
|
|
@@ -3020,6 +4115,27 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3020
4115
|
gitRepoId: string | null;
|
|
3021
4116
|
supportLocal: boolean;
|
|
3022
4117
|
enable: boolean;
|
|
4118
|
+
config: {
|
|
4119
|
+
displayConfig?: Record<string, {
|
|
4120
|
+
closed?: string | undefined;
|
|
4121
|
+
merged?: string | undefined;
|
|
4122
|
+
createPR?: string | undefined;
|
|
4123
|
+
viewPR?: string | undefined;
|
|
4124
|
+
mergePR?: string | undefined;
|
|
4125
|
+
approvePR?: string | undefined;
|
|
4126
|
+
recreatePR?: string | undefined;
|
|
4127
|
+
permissionCanSendMessage?: string | undefined;
|
|
4128
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4129
|
+
permissionCanCreatePr?: string | undefined;
|
|
4130
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4131
|
+
permissionCanApprovePr?: string | undefined;
|
|
4132
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4133
|
+
permissionCanViewPr?: string | undefined;
|
|
4134
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4135
|
+
permissionCanMergePr?: string | undefined;
|
|
4136
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4137
|
+
}> | undefined;
|
|
4138
|
+
} | null;
|
|
3023
4139
|
}, {
|
|
3024
4140
|
type: "claude" | "codex";
|
|
3025
4141
|
id: string;
|
|
@@ -3035,6 +4151,27 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
3035
4151
|
gitRepoId: string | null;
|
|
3036
4152
|
supportLocal: boolean;
|
|
3037
4153
|
enable: boolean;
|
|
4154
|
+
config: {
|
|
4155
|
+
displayConfig?: Record<string, {
|
|
4156
|
+
closed?: string | undefined;
|
|
4157
|
+
merged?: string | undefined;
|
|
4158
|
+
createPR?: string | undefined;
|
|
4159
|
+
viewPR?: string | undefined;
|
|
4160
|
+
mergePR?: string | undefined;
|
|
4161
|
+
approvePR?: string | undefined;
|
|
4162
|
+
recreatePR?: string | undefined;
|
|
4163
|
+
permissionCanSendMessage?: string | undefined;
|
|
4164
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4165
|
+
permissionCanCreatePr?: string | undefined;
|
|
4166
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4167
|
+
permissionCanApprovePr?: string | undefined;
|
|
4168
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4169
|
+
permissionCanViewPr?: string | undefined;
|
|
4170
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4171
|
+
permissionCanMergePr?: string | undefined;
|
|
4172
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4173
|
+
}> | undefined;
|
|
4174
|
+
} | null;
|
|
3038
4175
|
}>;
|
|
3039
4176
|
type CreateAgentResponse = z.infer<typeof CreateAgentResponseSchema>;
|
|
3040
4177
|
/**
|
|
@@ -3050,6 +4187,103 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3050
4187
|
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
3051
4188
|
gitRepoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3052
4189
|
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
4190
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4191
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4192
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
4194
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
4196
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
4197
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
4198
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
4199
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
4200
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
4201
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
4203
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
4205
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
4206
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4207
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4208
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4209
|
+
}, "strip", z.ZodTypeAny, {
|
|
4210
|
+
closed?: string | undefined;
|
|
4211
|
+
merged?: string | undefined;
|
|
4212
|
+
createPR?: string | undefined;
|
|
4213
|
+
viewPR?: string | undefined;
|
|
4214
|
+
mergePR?: string | undefined;
|
|
4215
|
+
approvePR?: string | undefined;
|
|
4216
|
+
recreatePR?: string | undefined;
|
|
4217
|
+
permissionCanSendMessage?: string | undefined;
|
|
4218
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4219
|
+
permissionCanCreatePr?: string | undefined;
|
|
4220
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4221
|
+
permissionCanApprovePr?: string | undefined;
|
|
4222
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4223
|
+
permissionCanViewPr?: string | undefined;
|
|
4224
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4225
|
+
permissionCanMergePr?: string | undefined;
|
|
4226
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4227
|
+
}, {
|
|
4228
|
+
closed?: string | undefined;
|
|
4229
|
+
merged?: string | undefined;
|
|
4230
|
+
createPR?: string | undefined;
|
|
4231
|
+
viewPR?: string | undefined;
|
|
4232
|
+
mergePR?: string | undefined;
|
|
4233
|
+
approvePR?: string | undefined;
|
|
4234
|
+
recreatePR?: string | undefined;
|
|
4235
|
+
permissionCanSendMessage?: string | undefined;
|
|
4236
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4237
|
+
permissionCanCreatePr?: string | undefined;
|
|
4238
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4239
|
+
permissionCanApprovePr?: string | undefined;
|
|
4240
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4241
|
+
permissionCanViewPr?: string | undefined;
|
|
4242
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4243
|
+
permissionCanMergePr?: string | undefined;
|
|
4244
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4245
|
+
}>>>;
|
|
4246
|
+
}, "strip", z.ZodTypeAny, {
|
|
4247
|
+
displayConfig?: Record<string, {
|
|
4248
|
+
closed?: string | undefined;
|
|
4249
|
+
merged?: string | undefined;
|
|
4250
|
+
createPR?: string | undefined;
|
|
4251
|
+
viewPR?: string | undefined;
|
|
4252
|
+
mergePR?: string | undefined;
|
|
4253
|
+
approvePR?: string | undefined;
|
|
4254
|
+
recreatePR?: string | undefined;
|
|
4255
|
+
permissionCanSendMessage?: string | undefined;
|
|
4256
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4257
|
+
permissionCanCreatePr?: string | undefined;
|
|
4258
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4259
|
+
permissionCanApprovePr?: string | undefined;
|
|
4260
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4261
|
+
permissionCanViewPr?: string | undefined;
|
|
4262
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4263
|
+
permissionCanMergePr?: string | undefined;
|
|
4264
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4265
|
+
}> | undefined;
|
|
4266
|
+
}, {
|
|
4267
|
+
displayConfig?: Record<string, {
|
|
4268
|
+
closed?: string | undefined;
|
|
4269
|
+
merged?: string | undefined;
|
|
4270
|
+
createPR?: string | undefined;
|
|
4271
|
+
viewPR?: string | undefined;
|
|
4272
|
+
mergePR?: string | undefined;
|
|
4273
|
+
approvePR?: string | undefined;
|
|
4274
|
+
recreatePR?: string | undefined;
|
|
4275
|
+
permissionCanSendMessage?: string | undefined;
|
|
4276
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4277
|
+
permissionCanCreatePr?: string | undefined;
|
|
4278
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4279
|
+
permissionCanApprovePr?: string | undefined;
|
|
4280
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4281
|
+
permissionCanViewPr?: string | undefined;
|
|
4282
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4283
|
+
permissionCanMergePr?: string | undefined;
|
|
4284
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4285
|
+
}> | undefined;
|
|
4286
|
+
}>>>;
|
|
3053
4287
|
}, "strip", z.ZodTypeAny, {
|
|
3054
4288
|
type?: "claude" | "codex" | undefined;
|
|
3055
4289
|
avatar?: string | null | undefined;
|
|
@@ -3060,6 +4294,27 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3060
4294
|
placeholderMsg?: string | undefined;
|
|
3061
4295
|
gitRepoId?: string | null | undefined;
|
|
3062
4296
|
supportLocal?: boolean | undefined;
|
|
4297
|
+
config?: {
|
|
4298
|
+
displayConfig?: Record<string, {
|
|
4299
|
+
closed?: string | undefined;
|
|
4300
|
+
merged?: string | undefined;
|
|
4301
|
+
createPR?: string | undefined;
|
|
4302
|
+
viewPR?: string | undefined;
|
|
4303
|
+
mergePR?: string | undefined;
|
|
4304
|
+
approvePR?: string | undefined;
|
|
4305
|
+
recreatePR?: string | undefined;
|
|
4306
|
+
permissionCanSendMessage?: string | undefined;
|
|
4307
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4308
|
+
permissionCanCreatePr?: string | undefined;
|
|
4309
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4310
|
+
permissionCanApprovePr?: string | undefined;
|
|
4311
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4312
|
+
permissionCanViewPr?: string | undefined;
|
|
4313
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4314
|
+
permissionCanMergePr?: string | undefined;
|
|
4315
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4316
|
+
}> | undefined;
|
|
4317
|
+
} | null | undefined;
|
|
3063
4318
|
}, {
|
|
3064
4319
|
type?: "claude" | "codex" | undefined;
|
|
3065
4320
|
avatar?: string | null | undefined;
|
|
@@ -3070,6 +4325,27 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
3070
4325
|
placeholderMsg?: string | undefined;
|
|
3071
4326
|
gitRepoId?: string | null | undefined;
|
|
3072
4327
|
supportLocal?: boolean | undefined;
|
|
4328
|
+
config?: {
|
|
4329
|
+
displayConfig?: Record<string, {
|
|
4330
|
+
closed?: string | undefined;
|
|
4331
|
+
merged?: string | undefined;
|
|
4332
|
+
createPR?: string | undefined;
|
|
4333
|
+
viewPR?: string | undefined;
|
|
4334
|
+
mergePR?: string | undefined;
|
|
4335
|
+
approvePR?: string | undefined;
|
|
4336
|
+
recreatePR?: string | undefined;
|
|
4337
|
+
permissionCanSendMessage?: string | undefined;
|
|
4338
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4339
|
+
permissionCanCreatePr?: string | undefined;
|
|
4340
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4341
|
+
permissionCanApprovePr?: string | undefined;
|
|
4342
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4343
|
+
permissionCanViewPr?: string | undefined;
|
|
4344
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4345
|
+
permissionCanMergePr?: string | undefined;
|
|
4346
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4347
|
+
}> | undefined;
|
|
4348
|
+
} | null | undefined;
|
|
3073
4349
|
}>;
|
|
3074
4350
|
type UpdateAgentRequest = z.infer<typeof UpdateAgentRequestSchema>;
|
|
3075
4351
|
/**
|
|
@@ -3090,6 +4366,103 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3090
4366
|
gitRepoId: z.ZodNullable<z.ZodString>;
|
|
3091
4367
|
supportLocal: z.ZodBoolean;
|
|
3092
4368
|
enable: z.ZodBoolean;
|
|
4369
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
4370
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4371
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
4372
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
4375
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
4377
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
4378
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
4379
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
4380
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
4381
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
4382
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
4383
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
4384
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
4385
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
4386
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
4387
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
4388
|
+
}, "strip", z.ZodTypeAny, {
|
|
4389
|
+
closed?: string | undefined;
|
|
4390
|
+
merged?: string | undefined;
|
|
4391
|
+
createPR?: string | undefined;
|
|
4392
|
+
viewPR?: string | undefined;
|
|
4393
|
+
mergePR?: string | undefined;
|
|
4394
|
+
approvePR?: string | undefined;
|
|
4395
|
+
recreatePR?: string | undefined;
|
|
4396
|
+
permissionCanSendMessage?: string | undefined;
|
|
4397
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4398
|
+
permissionCanCreatePr?: string | undefined;
|
|
4399
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4400
|
+
permissionCanApprovePr?: string | undefined;
|
|
4401
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4402
|
+
permissionCanViewPr?: string | undefined;
|
|
4403
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4404
|
+
permissionCanMergePr?: string | undefined;
|
|
4405
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4406
|
+
}, {
|
|
4407
|
+
closed?: string | undefined;
|
|
4408
|
+
merged?: string | undefined;
|
|
4409
|
+
createPR?: string | undefined;
|
|
4410
|
+
viewPR?: string | undefined;
|
|
4411
|
+
mergePR?: string | undefined;
|
|
4412
|
+
approvePR?: string | undefined;
|
|
4413
|
+
recreatePR?: string | undefined;
|
|
4414
|
+
permissionCanSendMessage?: string | undefined;
|
|
4415
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4416
|
+
permissionCanCreatePr?: string | undefined;
|
|
4417
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4418
|
+
permissionCanApprovePr?: string | undefined;
|
|
4419
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4420
|
+
permissionCanViewPr?: string | undefined;
|
|
4421
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4422
|
+
permissionCanMergePr?: string | undefined;
|
|
4423
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4424
|
+
}>>>;
|
|
4425
|
+
}, "strip", z.ZodTypeAny, {
|
|
4426
|
+
displayConfig?: Record<string, {
|
|
4427
|
+
closed?: string | undefined;
|
|
4428
|
+
merged?: string | undefined;
|
|
4429
|
+
createPR?: string | undefined;
|
|
4430
|
+
viewPR?: string | undefined;
|
|
4431
|
+
mergePR?: string | undefined;
|
|
4432
|
+
approvePR?: string | undefined;
|
|
4433
|
+
recreatePR?: string | undefined;
|
|
4434
|
+
permissionCanSendMessage?: string | undefined;
|
|
4435
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4436
|
+
permissionCanCreatePr?: string | undefined;
|
|
4437
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4438
|
+
permissionCanApprovePr?: string | undefined;
|
|
4439
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4440
|
+
permissionCanViewPr?: string | undefined;
|
|
4441
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4442
|
+
permissionCanMergePr?: string | undefined;
|
|
4443
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4444
|
+
}> | undefined;
|
|
4445
|
+
}, {
|
|
4446
|
+
displayConfig?: Record<string, {
|
|
4447
|
+
closed?: string | undefined;
|
|
4448
|
+
merged?: string | undefined;
|
|
4449
|
+
createPR?: string | undefined;
|
|
4450
|
+
viewPR?: string | undefined;
|
|
4451
|
+
mergePR?: string | undefined;
|
|
4452
|
+
approvePR?: string | undefined;
|
|
4453
|
+
recreatePR?: string | undefined;
|
|
4454
|
+
permissionCanSendMessage?: string | undefined;
|
|
4455
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4456
|
+
permissionCanCreatePr?: string | undefined;
|
|
4457
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4458
|
+
permissionCanApprovePr?: string | undefined;
|
|
4459
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4460
|
+
permissionCanViewPr?: string | undefined;
|
|
4461
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4462
|
+
permissionCanMergePr?: string | undefined;
|
|
4463
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4464
|
+
}> | undefined;
|
|
4465
|
+
}>>;
|
|
3093
4466
|
}, "strip", z.ZodTypeAny, {
|
|
3094
4467
|
type: "claude" | "codex";
|
|
3095
4468
|
id: string;
|
|
@@ -3105,6 +4478,27 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3105
4478
|
gitRepoId: string | null;
|
|
3106
4479
|
supportLocal: boolean;
|
|
3107
4480
|
enable: boolean;
|
|
4481
|
+
config: {
|
|
4482
|
+
displayConfig?: Record<string, {
|
|
4483
|
+
closed?: string | undefined;
|
|
4484
|
+
merged?: string | undefined;
|
|
4485
|
+
createPR?: string | undefined;
|
|
4486
|
+
viewPR?: string | undefined;
|
|
4487
|
+
mergePR?: string | undefined;
|
|
4488
|
+
approvePR?: string | undefined;
|
|
4489
|
+
recreatePR?: string | undefined;
|
|
4490
|
+
permissionCanSendMessage?: string | undefined;
|
|
4491
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4492
|
+
permissionCanCreatePr?: string | undefined;
|
|
4493
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4494
|
+
permissionCanApprovePr?: string | undefined;
|
|
4495
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4496
|
+
permissionCanViewPr?: string | undefined;
|
|
4497
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4498
|
+
permissionCanMergePr?: string | undefined;
|
|
4499
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4500
|
+
}> | undefined;
|
|
4501
|
+
} | null;
|
|
3108
4502
|
}, {
|
|
3109
4503
|
type: "claude" | "codex";
|
|
3110
4504
|
id: string;
|
|
@@ -3120,6 +4514,27 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
3120
4514
|
gitRepoId: string | null;
|
|
3121
4515
|
supportLocal: boolean;
|
|
3122
4516
|
enable: boolean;
|
|
4517
|
+
config: {
|
|
4518
|
+
displayConfig?: Record<string, {
|
|
4519
|
+
closed?: string | undefined;
|
|
4520
|
+
merged?: string | undefined;
|
|
4521
|
+
createPR?: string | undefined;
|
|
4522
|
+
viewPR?: string | undefined;
|
|
4523
|
+
mergePR?: string | undefined;
|
|
4524
|
+
approvePR?: string | undefined;
|
|
4525
|
+
recreatePR?: string | undefined;
|
|
4526
|
+
permissionCanSendMessage?: string | undefined;
|
|
4527
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
4528
|
+
permissionCanCreatePr?: string | undefined;
|
|
4529
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
4530
|
+
permissionCanApprovePr?: string | undefined;
|
|
4531
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
4532
|
+
permissionCanViewPr?: string | undefined;
|
|
4533
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
4534
|
+
permissionCanMergePr?: string | undefined;
|
|
4535
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
4536
|
+
}> | undefined;
|
|
4537
|
+
} | null;
|
|
3123
4538
|
}>;
|
|
3124
4539
|
type UpdateAgentResponse = z.infer<typeof UpdateAgentResponseSchema>;
|
|
3125
4540
|
/**
|
|
@@ -5662,16 +7077,19 @@ declare const WorkerInitializingSchema: z.ZodObject<{
|
|
|
5662
7077
|
taskId: z.ZodString;
|
|
5663
7078
|
machineId: z.ZodString;
|
|
5664
7079
|
timestamp: z.ZodString;
|
|
7080
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5665
7081
|
}, "strip", z.ZodTypeAny, {
|
|
5666
7082
|
machineId: string;
|
|
5667
7083
|
taskId: string;
|
|
5668
7084
|
eventId: string;
|
|
5669
7085
|
timestamp: string;
|
|
7086
|
+
cwd?: string | undefined;
|
|
5670
7087
|
}, {
|
|
5671
7088
|
machineId: string;
|
|
5672
7089
|
taskId: string;
|
|
5673
7090
|
eventId: string;
|
|
5674
7091
|
timestamp: string;
|
|
7092
|
+
cwd?: string | undefined;
|
|
5675
7093
|
}>;
|
|
5676
7094
|
type WorkerInitializingEventData = z.infer<typeof WorkerInitializingSchema>;
|
|
5677
7095
|
declare const WorkerReadySchema: z.ZodObject<{
|
|
@@ -5772,38 +7190,44 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
5772
7190
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
5773
7191
|
api_key: z.ZodOptional<z.ZodString>;
|
|
5774
7192
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
7193
|
+
repositoryId: z.ZodOptional<z.ZodString>;
|
|
7194
|
+
repositorySourceType: z.ZodOptional<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
5775
7195
|
}, "strip", z.ZodTypeAny, {
|
|
5776
7196
|
userId: string;
|
|
5777
|
-
chatId: string;
|
|
5778
7197
|
taskId: string;
|
|
7198
|
+
chatId: string;
|
|
5779
7199
|
agentId: string;
|
|
5780
7200
|
eventId: string;
|
|
5781
7201
|
agentType: string;
|
|
5782
7202
|
cwd?: string | undefined;
|
|
7203
|
+
repositoryId?: string | undefined;
|
|
5783
7204
|
baseBranch?: string | undefined;
|
|
7205
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5784
7206
|
dataEncryptionKey?: string | undefined;
|
|
5785
7207
|
gitUrl?: string | undefined;
|
|
5786
7208
|
model?: string | undefined;
|
|
5787
7209
|
fallbackModel?: string | undefined;
|
|
5788
|
-
maxTurns?: number | undefined;
|
|
5789
7210
|
api_base_url?: string | undefined;
|
|
5790
7211
|
api_key?: string | undefined;
|
|
7212
|
+
maxTurns?: number | undefined;
|
|
5791
7213
|
}, {
|
|
5792
7214
|
userId: string;
|
|
5793
|
-
chatId: string;
|
|
5794
7215
|
taskId: string;
|
|
7216
|
+
chatId: string;
|
|
5795
7217
|
agentId: string;
|
|
5796
7218
|
eventId: string;
|
|
5797
7219
|
cwd?: string | undefined;
|
|
7220
|
+
repositoryId?: string | undefined;
|
|
5798
7221
|
baseBranch?: string | undefined;
|
|
7222
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5799
7223
|
dataEncryptionKey?: string | undefined;
|
|
5800
7224
|
gitUrl?: string | undefined;
|
|
7225
|
+
agentType?: string | undefined;
|
|
5801
7226
|
model?: string | undefined;
|
|
5802
7227
|
fallbackModel?: string | undefined;
|
|
5803
|
-
maxTurns?: number | undefined;
|
|
5804
|
-
agentType?: string | undefined;
|
|
5805
7228
|
api_base_url?: string | undefined;
|
|
5806
7229
|
api_key?: string | undefined;
|
|
7230
|
+
maxTurns?: number | undefined;
|
|
5807
7231
|
}>;
|
|
5808
7232
|
declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
5809
7233
|
eventId: z.ZodString;
|
|
@@ -5822,81 +7246,91 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5822
7246
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
5823
7247
|
api_key: z.ZodOptional<z.ZodString>;
|
|
5824
7248
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
7249
|
+
repositoryId: z.ZodOptional<z.ZodString>;
|
|
7250
|
+
repositorySourceType: z.ZodOptional<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
5825
7251
|
} & {
|
|
5826
7252
|
message: z.ZodOptional<z.ZodType<SDKUserMessage, z.ZodTypeDef, SDKUserMessage>>;
|
|
5827
7253
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
5828
7254
|
}, "strip", z.ZodTypeAny, {
|
|
5829
7255
|
userId: string;
|
|
5830
|
-
chatId: string;
|
|
5831
7256
|
taskId: string;
|
|
7257
|
+
chatId: string;
|
|
5832
7258
|
agentId: string;
|
|
5833
7259
|
eventId: string;
|
|
5834
7260
|
agentType: string;
|
|
5835
7261
|
message?: SDKUserMessage | undefined;
|
|
5836
7262
|
encryptedMessage?: string | undefined;
|
|
5837
7263
|
cwd?: string | undefined;
|
|
7264
|
+
repositoryId?: string | undefined;
|
|
5838
7265
|
baseBranch?: string | undefined;
|
|
7266
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5839
7267
|
dataEncryptionKey?: string | undefined;
|
|
5840
7268
|
gitUrl?: string | undefined;
|
|
5841
7269
|
model?: string | undefined;
|
|
5842
7270
|
fallbackModel?: string | undefined;
|
|
5843
|
-
maxTurns?: number | undefined;
|
|
5844
7271
|
api_base_url?: string | undefined;
|
|
5845
7272
|
api_key?: string | undefined;
|
|
7273
|
+
maxTurns?: number | undefined;
|
|
5846
7274
|
}, {
|
|
5847
7275
|
userId: string;
|
|
5848
|
-
chatId: string;
|
|
5849
7276
|
taskId: string;
|
|
7277
|
+
chatId: string;
|
|
5850
7278
|
agentId: string;
|
|
5851
7279
|
eventId: string;
|
|
5852
7280
|
message?: SDKUserMessage | undefined;
|
|
5853
7281
|
encryptedMessage?: string | undefined;
|
|
5854
7282
|
cwd?: string | undefined;
|
|
7283
|
+
repositoryId?: string | undefined;
|
|
5855
7284
|
baseBranch?: string | undefined;
|
|
7285
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5856
7286
|
dataEncryptionKey?: string | undefined;
|
|
5857
7287
|
gitUrl?: string | undefined;
|
|
7288
|
+
agentType?: string | undefined;
|
|
5858
7289
|
model?: string | undefined;
|
|
5859
7290
|
fallbackModel?: string | undefined;
|
|
5860
|
-
maxTurns?: number | undefined;
|
|
5861
|
-
agentType?: string | undefined;
|
|
5862
7291
|
api_base_url?: string | undefined;
|
|
5863
7292
|
api_key?: string | undefined;
|
|
7293
|
+
maxTurns?: number | undefined;
|
|
5864
7294
|
}>, {
|
|
5865
7295
|
userId: string;
|
|
5866
|
-
chatId: string;
|
|
5867
7296
|
taskId: string;
|
|
7297
|
+
chatId: string;
|
|
5868
7298
|
agentId: string;
|
|
5869
7299
|
eventId: string;
|
|
5870
7300
|
agentType: string;
|
|
5871
7301
|
message?: SDKUserMessage | undefined;
|
|
5872
7302
|
encryptedMessage?: string | undefined;
|
|
5873
7303
|
cwd?: string | undefined;
|
|
7304
|
+
repositoryId?: string | undefined;
|
|
5874
7305
|
baseBranch?: string | undefined;
|
|
7306
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5875
7307
|
dataEncryptionKey?: string | undefined;
|
|
5876
7308
|
gitUrl?: string | undefined;
|
|
5877
7309
|
model?: string | undefined;
|
|
5878
7310
|
fallbackModel?: string | undefined;
|
|
5879
|
-
maxTurns?: number | undefined;
|
|
5880
7311
|
api_base_url?: string | undefined;
|
|
5881
7312
|
api_key?: string | undefined;
|
|
7313
|
+
maxTurns?: number | undefined;
|
|
5882
7314
|
}, {
|
|
5883
7315
|
userId: string;
|
|
5884
|
-
chatId: string;
|
|
5885
7316
|
taskId: string;
|
|
7317
|
+
chatId: string;
|
|
5886
7318
|
agentId: string;
|
|
5887
7319
|
eventId: string;
|
|
5888
7320
|
message?: SDKUserMessage | undefined;
|
|
5889
7321
|
encryptedMessage?: string | undefined;
|
|
5890
7322
|
cwd?: string | undefined;
|
|
7323
|
+
repositoryId?: string | undefined;
|
|
5891
7324
|
baseBranch?: string | undefined;
|
|
7325
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5892
7326
|
dataEncryptionKey?: string | undefined;
|
|
5893
7327
|
gitUrl?: string | undefined;
|
|
7328
|
+
agentType?: string | undefined;
|
|
5894
7329
|
model?: string | undefined;
|
|
5895
7330
|
fallbackModel?: string | undefined;
|
|
5896
|
-
maxTurns?: number | undefined;
|
|
5897
|
-
agentType?: string | undefined;
|
|
5898
7331
|
api_base_url?: string | undefined;
|
|
5899
7332
|
api_key?: string | undefined;
|
|
7333
|
+
maxTurns?: number | undefined;
|
|
5900
7334
|
}>;
|
|
5901
7335
|
type CreateTaskEventData = z.infer<typeof createTaskSchema>;
|
|
5902
7336
|
declare const resumeTaskSchema: z.ZodObject<{
|
|
@@ -5916,6 +7350,8 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5916
7350
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
5917
7351
|
api_key: z.ZodOptional<z.ZodString>;
|
|
5918
7352
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
7353
|
+
repositoryId: z.ZodOptional<z.ZodString>;
|
|
7354
|
+
repositorySourceType: z.ZodOptional<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
5919
7355
|
} & {
|
|
5920
7356
|
agentSessionId: z.ZodString;
|
|
5921
7357
|
event: z.ZodOptional<z.ZodString>;
|
|
@@ -5924,8 +7360,8 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5924
7360
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
5925
7361
|
}, "strip", z.ZodTypeAny, {
|
|
5926
7362
|
userId: string;
|
|
5927
|
-
chatId: string;
|
|
5928
7363
|
taskId: string;
|
|
7364
|
+
chatId: string;
|
|
5929
7365
|
agentId: string;
|
|
5930
7366
|
agentSessionId: string;
|
|
5931
7367
|
eventId: string;
|
|
@@ -5933,35 +7369,39 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
5933
7369
|
message?: SDKUserMessage | undefined;
|
|
5934
7370
|
encryptedMessage?: string | undefined;
|
|
5935
7371
|
cwd?: string | undefined;
|
|
7372
|
+
repositoryId?: string | undefined;
|
|
5936
7373
|
baseBranch?: string | undefined;
|
|
7374
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5937
7375
|
dataEncryptionKey?: string | undefined;
|
|
5938
7376
|
gitUrl?: string | undefined;
|
|
5939
7377
|
model?: string | undefined;
|
|
5940
7378
|
fallbackModel?: string | undefined;
|
|
5941
|
-
maxTurns?: number | undefined;
|
|
5942
7379
|
api_base_url?: string | undefined;
|
|
5943
7380
|
api_key?: string | undefined;
|
|
7381
|
+
maxTurns?: number | undefined;
|
|
5944
7382
|
event?: string | undefined;
|
|
5945
7383
|
eventData?: any;
|
|
5946
7384
|
}, {
|
|
5947
7385
|
userId: string;
|
|
5948
|
-
chatId: string;
|
|
5949
7386
|
taskId: string;
|
|
7387
|
+
chatId: string;
|
|
5950
7388
|
agentId: string;
|
|
5951
7389
|
agentSessionId: string;
|
|
5952
7390
|
eventId: string;
|
|
5953
7391
|
message?: SDKUserMessage | undefined;
|
|
5954
7392
|
encryptedMessage?: string | undefined;
|
|
5955
7393
|
cwd?: string | undefined;
|
|
7394
|
+
repositoryId?: string | undefined;
|
|
5956
7395
|
baseBranch?: string | undefined;
|
|
7396
|
+
repositorySourceType?: "temporary" | "directory" | "git-server" | undefined;
|
|
5957
7397
|
dataEncryptionKey?: string | undefined;
|
|
5958
7398
|
gitUrl?: string | undefined;
|
|
7399
|
+
agentType?: string | undefined;
|
|
5959
7400
|
model?: string | undefined;
|
|
5960
7401
|
fallbackModel?: string | undefined;
|
|
5961
|
-
maxTurns?: number | undefined;
|
|
5962
|
-
agentType?: string | undefined;
|
|
5963
7402
|
api_base_url?: string | undefined;
|
|
5964
7403
|
api_key?: string | undefined;
|
|
7404
|
+
maxTurns?: number | undefined;
|
|
5965
7405
|
event?: string | undefined;
|
|
5966
7406
|
eventData?: any;
|
|
5967
7407
|
}>;
|
|
@@ -5976,15 +7416,15 @@ declare const cancelTaskSchema: z.ZodObject<{
|
|
|
5976
7416
|
reason: z.ZodOptional<z.ZodString>;
|
|
5977
7417
|
}, "strip", z.ZodTypeAny, {
|
|
5978
7418
|
userId: string;
|
|
5979
|
-
chatId: string;
|
|
5980
7419
|
taskId: string;
|
|
7420
|
+
chatId: string;
|
|
5981
7421
|
agentId: string;
|
|
5982
7422
|
eventId: string;
|
|
5983
7423
|
reason?: string | undefined;
|
|
5984
7424
|
}, {
|
|
5985
7425
|
userId: string;
|
|
5986
|
-
chatId: string;
|
|
5987
7426
|
taskId: string;
|
|
7427
|
+
chatId: string;
|
|
5988
7428
|
agentId: string;
|
|
5989
7429
|
eventId: string;
|
|
5990
7430
|
reason?: string | undefined;
|
|
@@ -6140,14 +7580,14 @@ declare const TaskStateChangeEventSchema: z.ZodObject<{
|
|
|
6140
7580
|
updatedAt: z.ZodString;
|
|
6141
7581
|
}, "strip", z.ZodTypeAny, {
|
|
6142
7582
|
state: string;
|
|
6143
|
-
chatId: string;
|
|
6144
7583
|
taskId: string;
|
|
7584
|
+
chatId: string;
|
|
6145
7585
|
updatedAt: string;
|
|
6146
7586
|
eventId: string;
|
|
6147
7587
|
}, {
|
|
6148
7588
|
state: string;
|
|
6149
|
-
chatId: string;
|
|
6150
7589
|
taskId: string;
|
|
7590
|
+
chatId: string;
|
|
6151
7591
|
updatedAt: string;
|
|
6152
7592
|
eventId: string;
|
|
6153
7593
|
}>;
|
|
@@ -6357,6 +7797,27 @@ declare const UpdateTaskAgentSessionIdEventSchema: z.ZodObject<{
|
|
|
6357
7797
|
cwd?: string | undefined;
|
|
6358
7798
|
}>;
|
|
6359
7799
|
type UpdateTaskAgentSessionIdEventData = z.infer<typeof UpdateTaskAgentSessionIdEventSchema>;
|
|
7800
|
+
declare const TaskInfoUpdateEventDataSchema: z.ZodObject<{
|
|
7801
|
+
eventId: z.ZodString;
|
|
7802
|
+
} & {
|
|
7803
|
+
taskId: z.ZodString;
|
|
7804
|
+
chatId: z.ZodString;
|
|
7805
|
+
updates: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7806
|
+
updatedAt: z.ZodString;
|
|
7807
|
+
}, "strip", z.ZodTypeAny, {
|
|
7808
|
+
taskId: string;
|
|
7809
|
+
chatId: string;
|
|
7810
|
+
updatedAt: string;
|
|
7811
|
+
eventId: string;
|
|
7812
|
+
updates: Record<string, any>;
|
|
7813
|
+
}, {
|
|
7814
|
+
taskId: string;
|
|
7815
|
+
chatId: string;
|
|
7816
|
+
updatedAt: string;
|
|
7817
|
+
eventId: string;
|
|
7818
|
+
updates: Record<string, any>;
|
|
7819
|
+
}>;
|
|
7820
|
+
type TaskInfoUpdateEventData = z.infer<typeof TaskInfoUpdateEventDataSchema>;
|
|
6360
7821
|
declare const MergeRequestEventSchema: z.ZodObject<{
|
|
6361
7822
|
eventId: z.ZodString;
|
|
6362
7823
|
} & {
|
|
@@ -6375,6 +7836,54 @@ declare const MergeRequestEventSchema: z.ZodObject<{
|
|
|
6375
7836
|
description?: string | undefined;
|
|
6376
7837
|
}>;
|
|
6377
7838
|
type MergeRequestEventData = z.infer<typeof MergeRequestEventSchema>;
|
|
7839
|
+
declare const MergePullRequestEventSchema: z.ZodObject<{
|
|
7840
|
+
eventId: z.ZodString;
|
|
7841
|
+
} & {
|
|
7842
|
+
taskId: z.ZodString;
|
|
7843
|
+
mergeMethod: z.ZodDefault<z.ZodOptional<z.ZodEnum<["merge", "squash", "rebase"]>>>;
|
|
7844
|
+
}, "strip", z.ZodTypeAny, {
|
|
7845
|
+
taskId: string;
|
|
7846
|
+
eventId: string;
|
|
7847
|
+
mergeMethod: "merge" | "squash" | "rebase";
|
|
7848
|
+
}, {
|
|
7849
|
+
taskId: string;
|
|
7850
|
+
eventId: string;
|
|
7851
|
+
mergeMethod?: "merge" | "squash" | "rebase" | undefined;
|
|
7852
|
+
}>;
|
|
7853
|
+
type MergePullRequestEventData = z.infer<typeof MergePullRequestEventSchema>;
|
|
7854
|
+
interface MergePullRequestAck {
|
|
7855
|
+
success: boolean;
|
|
7856
|
+
data?: {
|
|
7857
|
+
merged: boolean;
|
|
7858
|
+
sha: string;
|
|
7859
|
+
};
|
|
7860
|
+
error?: string;
|
|
7861
|
+
errorType?: 'github_conflict' | 'pr_not_open' | 'permission_denied' | 'merge_failed' | 'unknown';
|
|
7862
|
+
}
|
|
7863
|
+
declare const AssociateRepoEventDataSchema: z.ZodObject<{
|
|
7864
|
+
eventId: z.ZodString;
|
|
7865
|
+
} & {
|
|
7866
|
+
taskId: z.ZodString;
|
|
7867
|
+
gitServerHost: z.ZodString;
|
|
7868
|
+
owner: z.ZodString;
|
|
7869
|
+
repo: z.ZodString;
|
|
7870
|
+
remoteUrl: z.ZodString;
|
|
7871
|
+
}, "strip", z.ZodTypeAny, {
|
|
7872
|
+
taskId: string;
|
|
7873
|
+
owner: string;
|
|
7874
|
+
eventId: string;
|
|
7875
|
+
gitServerHost: string;
|
|
7876
|
+
repo: string;
|
|
7877
|
+
remoteUrl: string;
|
|
7878
|
+
}, {
|
|
7879
|
+
taskId: string;
|
|
7880
|
+
owner: string;
|
|
7881
|
+
eventId: string;
|
|
7882
|
+
gitServerHost: string;
|
|
7883
|
+
repo: string;
|
|
7884
|
+
remoteUrl: string;
|
|
7885
|
+
}>;
|
|
7886
|
+
type AssociateRepoEventData = z.infer<typeof AssociateRepoEventDataSchema>;
|
|
6378
7887
|
/**
|
|
6379
7888
|
* System message type
|
|
6380
7889
|
*/
|
|
@@ -6614,7 +8123,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
6614
8123
|
timestamp: string;
|
|
6615
8124
|
}>;
|
|
6616
8125
|
type SystemMessageEventData = z.infer<typeof SystemMessageSchema>;
|
|
6617
|
-
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskArtifactsUpdatedEventData | MergeRequestEventData | SystemMessageEventData | CreditExhaustedEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData;
|
|
8126
|
+
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskArtifactsUpdatedEventData | MergeRequestEventData | SystemMessageEventData | CreditExhaustedEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData;
|
|
6618
8127
|
type EventMap = {
|
|
6619
8128
|
"app-alive": AppAliveEventData;
|
|
6620
8129
|
"api-server-alive": ApiServerAliveEventData;
|
|
@@ -6632,8 +8141,11 @@ type EventMap = {
|
|
|
6632
8141
|
"change-task-title": ChangeTaskTitleEventData;
|
|
6633
8142
|
"task-state-change": TaskStateChangeEventData;
|
|
6634
8143
|
"update-task-agent-session-id": UpdateTaskAgentSessionIdEventData;
|
|
8144
|
+
"task-info-update": TaskInfoUpdateEventData;
|
|
6635
8145
|
"task-artifacts-updated": TaskArtifactsUpdatedEventData;
|
|
6636
8146
|
"merge-request": MergeRequestEventData;
|
|
8147
|
+
"merge-pr": MergePullRequestEventData;
|
|
8148
|
+
"associate-repo": AssociateRepoEventData;
|
|
6637
8149
|
"system-message": SystemMessageEventData;
|
|
6638
8150
|
"credit-exhausted": CreditExhaustedEventData;
|
|
6639
8151
|
"workspace-file-request": WorkspaceFileRequestEventData;
|
|
@@ -6645,7 +8157,7 @@ declare const EventSchemaMap: Record<EventName, z.ZodType<any>>;
|
|
|
6645
8157
|
/**
|
|
6646
8158
|
* only sent by worker and which need to send to human in chat room
|
|
6647
8159
|
*/
|
|
6648
|
-
type WorkerTaskEvent = "worker-initializing" | "worker-ready" | "worker-exit" | "worker-running" | "change-task-title" | "update-task-agent-session-id" | "task-artifacts-updated" | "merge-request";
|
|
8160
|
+
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" | "associate-repo";
|
|
6649
8161
|
declare const workerTaskEvents: WorkerTaskEvent[];
|
|
6650
8162
|
|
|
6651
8163
|
type ClientType = 'user' | 'worker' | 'machine';
|
|
@@ -7019,5 +8531,5 @@ declare function encryptFileContent(fileContentBase64: string, dataKey: Uint8Arr
|
|
|
7019
8531
|
*/
|
|
7020
8532
|
declare function decryptFileContent(encryptedContent: string, dataKey: Uint8Array): string | null;
|
|
7021
8533
|
|
|
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 };
|
|
8534
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8535
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|