@app-vitals/agent-admin 1.14.0 → 1.16.0

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.
@@ -2622,6 +2622,7 @@ export const AgentScalarFieldEnum = {
2622
2622
  anthropicFederationRuleId: 'anthropicFederationRuleId',
2623
2623
  k8sServiceAccountName: 'k8sServiceAccountName',
2624
2624
  podServiceAccountName: 'podServiceAccountName',
2625
+ githubUsername: 'githubUsername',
2625
2626
  autoPostReviews: 'autoPostReviews',
2626
2627
  allowSelfReview: 'allowSelfReview',
2627
2628
  minConfidence: 'minConfidence',
@@ -164,6 +164,7 @@ export const AgentScalarFieldEnum = {
164
164
  anthropicFederationRuleId: 'anthropicFederationRuleId',
165
165
  k8sServiceAccountName: 'k8sServiceAccountName',
166
166
  podServiceAccountName: 'podServiceAccountName',
167
+ githubUsername: 'githubUsername',
167
168
  autoPostReviews: 'autoPostReviews',
168
169
  allowSelfReview: 'allowSelfReview',
169
170
  minConfidence: 'minConfidence',
@@ -56,6 +56,7 @@ export type AgentMinAggregateOutputType = {
56
56
  anthropicFederationRuleId: string | null
57
57
  k8sServiceAccountName: string | null
58
58
  podServiceAccountName: string | null
59
+ githubUsername: string | null
59
60
  autoPostReviews: boolean | null
60
61
  allowSelfReview: boolean | null
61
62
  minConfidence: number | null
@@ -84,6 +85,7 @@ export type AgentMaxAggregateOutputType = {
84
85
  anthropicFederationRuleId: string | null
85
86
  k8sServiceAccountName: string | null
86
87
  podServiceAccountName: string | null
88
+ githubUsername: string | null
87
89
  autoPostReviews: boolean | null
88
90
  allowSelfReview: boolean | null
89
91
  minConfidence: number | null
@@ -115,6 +117,7 @@ export type AgentCountAggregateOutputType = {
115
117
  anthropicFederationRuleId: number
116
118
  k8sServiceAccountName: number
117
119
  podServiceAccountName: number
120
+ githubUsername: number
118
121
  autoPostReviews: number
119
122
  allowSelfReview: number
120
123
  minConfidence: number
@@ -158,6 +161,7 @@ export type AgentMinAggregateInputType = {
158
161
  anthropicFederationRuleId?: true
159
162
  k8sServiceAccountName?: true
160
163
  podServiceAccountName?: true
164
+ githubUsername?: true
161
165
  autoPostReviews?: true
162
166
  allowSelfReview?: true
163
167
  minConfidence?: true
@@ -186,6 +190,7 @@ export type AgentMaxAggregateInputType = {
186
190
  anthropicFederationRuleId?: true
187
191
  k8sServiceAccountName?: true
188
192
  podServiceAccountName?: true
193
+ githubUsername?: true
189
194
  autoPostReviews?: true
190
195
  allowSelfReview?: true
191
196
  minConfidence?: true
@@ -217,6 +222,7 @@ export type AgentCountAggregateInputType = {
217
222
  anthropicFederationRuleId?: true
218
223
  k8sServiceAccountName?: true
219
224
  podServiceAccountName?: true
225
+ githubUsername?: true
220
226
  autoPostReviews?: true
221
227
  allowSelfReview?: true
222
228
  minConfidence?: true
@@ -336,6 +342,7 @@ export type AgentGroupByOutputType = {
336
342
  anthropicFederationRuleId: string | null
337
343
  k8sServiceAccountName: string | null
338
344
  podServiceAccountName: string | null
345
+ githubUsername: string | null
339
346
  autoPostReviews: boolean
340
347
  allowSelfReview: boolean
341
348
  minConfidence: number
@@ -391,6 +398,7 @@ export type AgentWhereInput = {
391
398
  anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
392
399
  k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
393
400
  podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
401
+ githubUsername?: Prisma.StringNullableFilter<"Agent"> | string | null
394
402
  autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
395
403
  allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
396
404
  minConfidence?: Prisma.IntFilter<"Agent"> | number
@@ -435,6 +443,7 @@ export type AgentOrderByWithRelationInput = {
435
443
  anthropicFederationRuleId?: Prisma.SortOrderInput | Prisma.SortOrder
436
444
  k8sServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
437
445
  podServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
446
+ githubUsername?: Prisma.SortOrderInput | Prisma.SortOrder
438
447
  autoPostReviews?: Prisma.SortOrder
439
448
  allowSelfReview?: Prisma.SortOrder
440
449
  minConfidence?: Prisma.SortOrder
@@ -482,6 +491,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
482
491
  anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
483
492
  k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
484
493
  podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
494
+ githubUsername?: Prisma.StringNullableFilter<"Agent"> | string | null
485
495
  autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
486
496
  allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
487
497
  minConfidence?: Prisma.IntFilter<"Agent"> | number
@@ -526,6 +536,7 @@ export type AgentOrderByWithAggregationInput = {
526
536
  anthropicFederationRuleId?: Prisma.SortOrderInput | Prisma.SortOrder
527
537
  k8sServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
528
538
  podServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
539
+ githubUsername?: Prisma.SortOrderInput | Prisma.SortOrder
529
540
  autoPostReviews?: Prisma.SortOrder
530
541
  allowSelfReview?: Prisma.SortOrder
531
542
  minConfidence?: Prisma.SortOrder
@@ -566,6 +577,7 @@ export type AgentScalarWhereWithAggregatesInput = {
566
577
  anthropicFederationRuleId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
567
578
  k8sServiceAccountName?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
568
579
  podServiceAccountName?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
580
+ githubUsername?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
569
581
  autoPostReviews?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
570
582
  allowSelfReview?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
571
583
  minConfidence?: Prisma.IntWithAggregatesFilter<"Agent"> | number
@@ -597,6 +609,7 @@ export type AgentCreateInput = {
597
609
  anthropicFederationRuleId?: string | null
598
610
  k8sServiceAccountName?: string | null
599
611
  podServiceAccountName?: string | null
612
+ githubUsername?: string | null
600
613
  autoPostReviews?: boolean
601
614
  allowSelfReview?: boolean
602
615
  minConfidence?: number
@@ -641,6 +654,7 @@ export type AgentUncheckedCreateInput = {
641
654
  anthropicFederationRuleId?: string | null
642
655
  k8sServiceAccountName?: string | null
643
656
  podServiceAccountName?: string | null
657
+ githubUsername?: string | null
644
658
  autoPostReviews?: boolean
645
659
  allowSelfReview?: boolean
646
660
  minConfidence?: number
@@ -683,6 +697,7 @@ export type AgentUpdateInput = {
683
697
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
684
698
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
699
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
700
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
686
701
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
687
702
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
688
703
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -727,6 +742,7 @@ export type AgentUncheckedUpdateInput = {
727
742
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
728
743
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
729
744
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
745
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
730
746
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
731
747
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
732
748
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -770,6 +786,7 @@ export type AgentCreateManyInput = {
770
786
  anthropicFederationRuleId?: string | null
771
787
  k8sServiceAccountName?: string | null
772
788
  podServiceAccountName?: string | null
789
+ githubUsername?: string | null
773
790
  autoPostReviews?: boolean
774
791
  allowSelfReview?: boolean
775
792
  minConfidence?: number
@@ -801,6 +818,7 @@ export type AgentUpdateManyMutationInput = {
801
818
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
802
819
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
803
820
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
821
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
804
822
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
805
823
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
806
824
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -833,6 +851,7 @@ export type AgentUncheckedUpdateManyInput = {
833
851
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
834
852
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
835
853
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
854
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
836
855
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
837
856
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
838
857
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -878,6 +897,7 @@ export type AgentCountOrderByAggregateInput = {
878
897
  anthropicFederationRuleId?: Prisma.SortOrder
879
898
  k8sServiceAccountName?: Prisma.SortOrder
880
899
  podServiceAccountName?: Prisma.SortOrder
900
+ githubUsername?: Prisma.SortOrder
881
901
  autoPostReviews?: Prisma.SortOrder
882
902
  allowSelfReview?: Prisma.SortOrder
883
903
  minConfidence?: Prisma.SortOrder
@@ -913,6 +933,7 @@ export type AgentMaxOrderByAggregateInput = {
913
933
  anthropicFederationRuleId?: Prisma.SortOrder
914
934
  k8sServiceAccountName?: Prisma.SortOrder
915
935
  podServiceAccountName?: Prisma.SortOrder
936
+ githubUsername?: Prisma.SortOrder
916
937
  autoPostReviews?: Prisma.SortOrder
917
938
  allowSelfReview?: Prisma.SortOrder
918
939
  minConfidence?: Prisma.SortOrder
@@ -941,6 +962,7 @@ export type AgentMinOrderByAggregateInput = {
941
962
  anthropicFederationRuleId?: Prisma.SortOrder
942
963
  k8sServiceAccountName?: Prisma.SortOrder
943
964
  podServiceAccountName?: Prisma.SortOrder
965
+ githubUsername?: Prisma.SortOrder
944
966
  autoPostReviews?: Prisma.SortOrder
945
967
  allowSelfReview?: Prisma.SortOrder
946
968
  minConfidence?: Prisma.SortOrder
@@ -1227,6 +1249,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
1227
1249
  anthropicFederationRuleId?: string | null
1228
1250
  k8sServiceAccountName?: string | null
1229
1251
  podServiceAccountName?: string | null
1252
+ githubUsername?: string | null
1230
1253
  autoPostReviews?: boolean
1231
1254
  allowSelfReview?: boolean
1232
1255
  minConfidence?: number
@@ -1270,6 +1293,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
1270
1293
  anthropicFederationRuleId?: string | null
1271
1294
  k8sServiceAccountName?: string | null
1272
1295
  podServiceAccountName?: string | null
1296
+ githubUsername?: string | null
1273
1297
  autoPostReviews?: boolean
1274
1298
  allowSelfReview?: boolean
1275
1299
  minConfidence?: number
@@ -1327,6 +1351,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
1327
1351
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1328
1352
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1329
1353
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1354
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1330
1355
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1331
1356
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1332
1357
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1370,6 +1395,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
1370
1395
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1371
1396
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1372
1397
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1398
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1373
1399
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1374
1400
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1375
1401
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1411,6 +1437,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
1411
1437
  anthropicFederationRuleId?: string | null
1412
1438
  k8sServiceAccountName?: string | null
1413
1439
  podServiceAccountName?: string | null
1440
+ githubUsername?: string | null
1414
1441
  autoPostReviews?: boolean
1415
1442
  allowSelfReview?: boolean
1416
1443
  minConfidence?: number
@@ -1454,6 +1481,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
1454
1481
  anthropicFederationRuleId?: string | null
1455
1482
  k8sServiceAccountName?: string | null
1456
1483
  podServiceAccountName?: string | null
1484
+ githubUsername?: string | null
1457
1485
  autoPostReviews?: boolean
1458
1486
  allowSelfReview?: boolean
1459
1487
  minConfidence?: number
@@ -1511,6 +1539,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
1511
1539
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
1540
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1513
1541
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1542
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1514
1543
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1515
1544
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1516
1545
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1554,6 +1583,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
1554
1583
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1555
1584
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1556
1585
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1586
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1557
1587
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1558
1588
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1559
1589
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1595,6 +1625,7 @@ export type AgentCreateWithoutEnvVarsInput = {
1595
1625
  anthropicFederationRuleId?: string | null
1596
1626
  k8sServiceAccountName?: string | null
1597
1627
  podServiceAccountName?: string | null
1628
+ githubUsername?: string | null
1598
1629
  autoPostReviews?: boolean
1599
1630
  allowSelfReview?: boolean
1600
1631
  minConfidence?: number
@@ -1638,6 +1669,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
1638
1669
  anthropicFederationRuleId?: string | null
1639
1670
  k8sServiceAccountName?: string | null
1640
1671
  podServiceAccountName?: string | null
1672
+ githubUsername?: string | null
1641
1673
  autoPostReviews?: boolean
1642
1674
  allowSelfReview?: boolean
1643
1675
  minConfidence?: number
@@ -1695,6 +1727,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
1695
1727
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1696
1728
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1697
1729
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1730
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1698
1731
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1699
1732
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1700
1733
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1738,6 +1771,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
1738
1771
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1739
1772
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1740
1773
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1774
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1741
1775
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1742
1776
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1743
1777
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1779,6 +1813,7 @@ export type AgentCreateWithoutCronJobsInput = {
1779
1813
  anthropicFederationRuleId?: string | null
1780
1814
  k8sServiceAccountName?: string | null
1781
1815
  podServiceAccountName?: string | null
1816
+ githubUsername?: string | null
1782
1817
  autoPostReviews?: boolean
1783
1818
  allowSelfReview?: boolean
1784
1819
  minConfidence?: number
@@ -1822,6 +1857,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
1822
1857
  anthropicFederationRuleId?: string | null
1823
1858
  k8sServiceAccountName?: string | null
1824
1859
  podServiceAccountName?: string | null
1860
+ githubUsername?: string | null
1825
1861
  autoPostReviews?: boolean
1826
1862
  allowSelfReview?: boolean
1827
1863
  minConfidence?: number
@@ -1879,6 +1915,7 @@ export type AgentUpdateWithoutCronJobsInput = {
1879
1915
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1880
1916
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1881
1917
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1918
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1882
1919
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1883
1920
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1884
1921
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1922,6 +1959,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
1922
1959
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1923
1960
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1924
1961
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1962
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1925
1963
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
1926
1964
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
1927
1965
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1963,6 +2001,7 @@ export type AgentCreateWithoutToolsInput = {
1963
2001
  anthropicFederationRuleId?: string | null
1964
2002
  k8sServiceAccountName?: string | null
1965
2003
  podServiceAccountName?: string | null
2004
+ githubUsername?: string | null
1966
2005
  autoPostReviews?: boolean
1967
2006
  allowSelfReview?: boolean
1968
2007
  minConfidence?: number
@@ -2006,6 +2045,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
2006
2045
  anthropicFederationRuleId?: string | null
2007
2046
  k8sServiceAccountName?: string | null
2008
2047
  podServiceAccountName?: string | null
2048
+ githubUsername?: string | null
2009
2049
  autoPostReviews?: boolean
2010
2050
  allowSelfReview?: boolean
2011
2051
  minConfidence?: number
@@ -2063,6 +2103,7 @@ export type AgentUpdateWithoutToolsInput = {
2063
2103
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2064
2104
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2065
2105
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2106
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2066
2107
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2067
2108
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2068
2109
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2106,6 +2147,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
2106
2147
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2107
2148
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2108
2149
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2150
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2109
2151
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2110
2152
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2111
2153
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2147,6 +2189,7 @@ export type AgentCreateWithoutTokensInput = {
2147
2189
  anthropicFederationRuleId?: string | null
2148
2190
  k8sServiceAccountName?: string | null
2149
2191
  podServiceAccountName?: string | null
2192
+ githubUsername?: string | null
2150
2193
  autoPostReviews?: boolean
2151
2194
  allowSelfReview?: boolean
2152
2195
  minConfidence?: number
@@ -2190,6 +2233,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
2190
2233
  anthropicFederationRuleId?: string | null
2191
2234
  k8sServiceAccountName?: string | null
2192
2235
  podServiceAccountName?: string | null
2236
+ githubUsername?: string | null
2193
2237
  autoPostReviews?: boolean
2194
2238
  allowSelfReview?: boolean
2195
2239
  minConfidence?: number
@@ -2247,6 +2291,7 @@ export type AgentUpdateWithoutTokensInput = {
2247
2291
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2248
2292
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2249
2293
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2294
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2250
2295
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2251
2296
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2252
2297
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2290,6 +2335,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
2290
2335
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2291
2336
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2292
2337
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2338
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2293
2339
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2294
2340
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2295
2341
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2331,6 +2377,7 @@ export type AgentCreateWithoutPluginsInput = {
2331
2377
  anthropicFederationRuleId?: string | null
2332
2378
  k8sServiceAccountName?: string | null
2333
2379
  podServiceAccountName?: string | null
2380
+ githubUsername?: string | null
2334
2381
  autoPostReviews?: boolean
2335
2382
  allowSelfReview?: boolean
2336
2383
  minConfidence?: number
@@ -2374,6 +2421,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
2374
2421
  anthropicFederationRuleId?: string | null
2375
2422
  k8sServiceAccountName?: string | null
2376
2423
  podServiceAccountName?: string | null
2424
+ githubUsername?: string | null
2377
2425
  autoPostReviews?: boolean
2378
2426
  allowSelfReview?: boolean
2379
2427
  minConfidence?: number
@@ -2431,6 +2479,7 @@ export type AgentUpdateWithoutPluginsInput = {
2431
2479
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2432
2480
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2433
2481
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2482
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2434
2483
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2435
2484
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2436
2485
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2474,6 +2523,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
2474
2523
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2475
2524
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2476
2525
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2526
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2477
2527
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2478
2528
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2479
2529
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2515,6 +2565,7 @@ export type AgentCreateWithoutMembersInput = {
2515
2565
  anthropicFederationRuleId?: string | null
2516
2566
  k8sServiceAccountName?: string | null
2517
2567
  podServiceAccountName?: string | null
2568
+ githubUsername?: string | null
2518
2569
  autoPostReviews?: boolean
2519
2570
  allowSelfReview?: boolean
2520
2571
  minConfidence?: number
@@ -2558,6 +2609,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
2558
2609
  anthropicFederationRuleId?: string | null
2559
2610
  k8sServiceAccountName?: string | null
2560
2611
  podServiceAccountName?: string | null
2612
+ githubUsername?: string | null
2561
2613
  autoPostReviews?: boolean
2562
2614
  allowSelfReview?: boolean
2563
2615
  minConfidence?: number
@@ -2615,6 +2667,7 @@ export type AgentUpdateWithoutMembersInput = {
2615
2667
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2616
2668
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2617
2669
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2670
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2618
2671
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2619
2672
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2620
2673
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2658,6 +2711,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
2658
2711
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2659
2712
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2660
2713
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2714
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2661
2715
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2662
2716
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2663
2717
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2699,6 +2753,7 @@ export type AgentCreateWithoutAccountInput = {
2699
2753
  anthropicFederationRuleId?: string | null
2700
2754
  k8sServiceAccountName?: string | null
2701
2755
  podServiceAccountName?: string | null
2756
+ githubUsername?: string | null
2702
2757
  autoPostReviews?: boolean
2703
2758
  allowSelfReview?: boolean
2704
2759
  minConfidence?: number
@@ -2741,6 +2796,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
2741
2796
  anthropicFederationRuleId?: string | null
2742
2797
  k8sServiceAccountName?: string | null
2743
2798
  podServiceAccountName?: string | null
2799
+ githubUsername?: string | null
2744
2800
  autoPostReviews?: boolean
2745
2801
  allowSelfReview?: boolean
2746
2802
  minConfidence?: number
@@ -2813,6 +2869,7 @@ export type AgentScalarWhereInput = {
2813
2869
  anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
2814
2870
  k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
2815
2871
  podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
2872
+ githubUsername?: Prisma.StringNullableFilter<"Agent"> | string | null
2816
2873
  autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
2817
2874
  allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
2818
2875
  minConfidence?: Prisma.IntFilter<"Agent"> | number
@@ -2844,6 +2901,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
2844
2901
  anthropicFederationRuleId?: string | null
2845
2902
  k8sServiceAccountName?: string | null
2846
2903
  podServiceAccountName?: string | null
2904
+ githubUsername?: string | null
2847
2905
  autoPostReviews?: boolean
2848
2906
  allowSelfReview?: boolean
2849
2907
  minConfidence?: number
@@ -2887,6 +2945,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
2887
2945
  anthropicFederationRuleId?: string | null
2888
2946
  k8sServiceAccountName?: string | null
2889
2947
  podServiceAccountName?: string | null
2948
+ githubUsername?: string | null
2890
2949
  autoPostReviews?: boolean
2891
2950
  allowSelfReview?: boolean
2892
2951
  minConfidence?: number
@@ -2944,6 +3003,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
2944
3003
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2945
3004
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2946
3005
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3006
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2947
3007
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2948
3008
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2949
3009
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -2987,6 +3047,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
2987
3047
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2988
3048
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2989
3049
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3050
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2990
3051
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2991
3052
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2992
3053
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3028,6 +3089,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
3028
3089
  anthropicFederationRuleId?: string | null
3029
3090
  k8sServiceAccountName?: string | null
3030
3091
  podServiceAccountName?: string | null
3092
+ githubUsername?: string | null
3031
3093
  autoPostReviews?: boolean
3032
3094
  allowSelfReview?: boolean
3033
3095
  minConfidence?: number
@@ -3071,6 +3133,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
3071
3133
  anthropicFederationRuleId?: string | null
3072
3134
  k8sServiceAccountName?: string | null
3073
3135
  podServiceAccountName?: string | null
3136
+ githubUsername?: string | null
3074
3137
  autoPostReviews?: boolean
3075
3138
  allowSelfReview?: boolean
3076
3139
  minConfidence?: number
@@ -3128,6 +3191,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
3128
3191
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3129
3192
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3130
3193
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3194
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3131
3195
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3132
3196
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3133
3197
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3171,6 +3235,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
3171
3235
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3172
3236
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3173
3237
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3238
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3174
3239
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3175
3240
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3176
3241
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3212,6 +3277,7 @@ export type AgentCreateWithoutMarketplacesInput = {
3212
3277
  anthropicFederationRuleId?: string | null
3213
3278
  k8sServiceAccountName?: string | null
3214
3279
  podServiceAccountName?: string | null
3280
+ githubUsername?: string | null
3215
3281
  autoPostReviews?: boolean
3216
3282
  allowSelfReview?: boolean
3217
3283
  minConfidence?: number
@@ -3255,6 +3321,7 @@ export type AgentUncheckedCreateWithoutMarketplacesInput = {
3255
3321
  anthropicFederationRuleId?: string | null
3256
3322
  k8sServiceAccountName?: string | null
3257
3323
  podServiceAccountName?: string | null
3324
+ githubUsername?: string | null
3258
3325
  autoPostReviews?: boolean
3259
3326
  allowSelfReview?: boolean
3260
3327
  minConfidence?: number
@@ -3312,6 +3379,7 @@ export type AgentUpdateWithoutMarketplacesInput = {
3312
3379
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3313
3380
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3314
3381
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3382
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3315
3383
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3316
3384
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3317
3385
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3355,6 +3423,7 @@ export type AgentUncheckedUpdateWithoutMarketplacesInput = {
3355
3423
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3356
3424
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3357
3425
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3426
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3358
3427
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3359
3428
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3360
3429
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3396,6 +3465,7 @@ export type AgentCreateManyAccountInput = {
3396
3465
  anthropicFederationRuleId?: string | null
3397
3466
  k8sServiceAccountName?: string | null
3398
3467
  podServiceAccountName?: string | null
3468
+ githubUsername?: string | null
3399
3469
  autoPostReviews?: boolean
3400
3470
  allowSelfReview?: boolean
3401
3471
  minConfidence?: number
@@ -3427,6 +3497,7 @@ export type AgentUpdateWithoutAccountInput = {
3427
3497
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3428
3498
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3429
3499
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3500
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3430
3501
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3431
3502
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3432
3503
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3469,6 +3540,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
3469
3540
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3470
3541
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3471
3542
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3543
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3472
3544
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3473
3545
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3474
3546
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3511,6 +3583,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
3511
3583
  anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3512
3584
  k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3513
3585
  podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3586
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3514
3587
  autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3515
3588
  allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3516
3589
  minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
@@ -3646,6 +3719,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3646
3719
  anthropicFederationRuleId?: boolean
3647
3720
  k8sServiceAccountName?: boolean
3648
3721
  podServiceAccountName?: boolean
3722
+ githubUsername?: boolean
3649
3723
  autoPostReviews?: boolean
3650
3724
  allowSelfReview?: boolean
3651
3725
  minConfidence?: boolean
@@ -3691,6 +3765,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3691
3765
  anthropicFederationRuleId?: boolean
3692
3766
  k8sServiceAccountName?: boolean
3693
3767
  podServiceAccountName?: boolean
3768
+ githubUsername?: boolean
3694
3769
  autoPostReviews?: boolean
3695
3770
  allowSelfReview?: boolean
3696
3771
  minConfidence?: boolean
@@ -3724,6 +3799,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3724
3799
  anthropicFederationRuleId?: boolean
3725
3800
  k8sServiceAccountName?: boolean
3726
3801
  podServiceAccountName?: boolean
3802
+ githubUsername?: boolean
3727
3803
  autoPostReviews?: boolean
3728
3804
  allowSelfReview?: boolean
3729
3805
  minConfidence?: boolean
@@ -3757,6 +3833,7 @@ export type AgentSelectScalar = {
3757
3833
  anthropicFederationRuleId?: boolean
3758
3834
  k8sServiceAccountName?: boolean
3759
3835
  podServiceAccountName?: boolean
3836
+ githubUsername?: boolean
3760
3837
  autoPostReviews?: boolean
3761
3838
  allowSelfReview?: boolean
3762
3839
  minConfidence?: boolean
@@ -3768,7 +3845,7 @@ export type AgentSelectScalar = {
3768
3845
  updatedAt?: boolean
3769
3846
  }
3770
3847
 
3771
- export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "bakedMarketplaces" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
3848
+ export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "githubUsername" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "bakedMarketplaces" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
3772
3849
  export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3773
3850
  account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
3774
3851
  envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
@@ -3828,6 +3905,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3828
3905
  anthropicFederationRuleId: string | null
3829
3906
  k8sServiceAccountName: string | null
3830
3907
  podServiceAccountName: string | null
3908
+ githubUsername: string | null
3831
3909
  autoPostReviews: boolean
3832
3910
  allowSelfReview: boolean
3833
3911
  minConfidence: number
@@ -4292,6 +4370,7 @@ export interface AgentFieldRefs {
4292
4370
  readonly anthropicFederationRuleId: Prisma.FieldRef<"Agent", 'String'>
4293
4371
  readonly k8sServiceAccountName: Prisma.FieldRef<"Agent", 'String'>
4294
4372
  readonly podServiceAccountName: Prisma.FieldRef<"Agent", 'String'>
4373
+ readonly githubUsername: Prisma.FieldRef<"Agent", 'String'>
4295
4374
  readonly autoPostReviews: Prisma.FieldRef<"Agent", 'Boolean'>
4296
4375
  readonly allowSelfReview: Prisma.FieldRef<"Agent", 'Boolean'>
4297
4376
  readonly minConfidence: Prisma.FieldRef<"Agent", 'Int'>
@@ -0,0 +1,3 @@
1
+ -- GHE-2.1: GitHub account whose repo access caps the agent. Additive only: one nullable column, existing agents keep NULL.
2
+ -- AlterTable
3
+ ALTER TABLE "Agent" ADD COLUMN "githubUsername" TEXT;
@@ -67,6 +67,10 @@ model Agent {
67
67
  // separate column from k8sServiceAccountName, which is the Anthropic-
68
68
  // federation KSA. Only rendered when the pod-SA flag is on.
69
69
  podServiceAccountName String?
70
+ // GHE-2.1: GitHub account whose repo access caps what the agent may reach
71
+ // (cap applied in a later phase). Nullable/additive, stored lower-cased,
72
+ // no uniqueness. Platform-admin only to set.
73
+ githubUsername String?
70
74
  // APM-1.1: the 6 agent policy fields (auto_post_reviews, allow_self_review,
71
75
  // min_confidence, max_findings, cleanup_merged_worktrees,
72
76
  // cleanup_after_days). Originally mirrored from the legacy