@app-vitals/agent-admin 0.1.2 → 0.2.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.
- package/package.json +4 -3
- package/prisma/client/internal/class.ts +4 -4
- package/prisma/client/internal/prismaNamespace.ts +1 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +1 -0
- package/prisma/client/models/Agent.ts +76 -1
- package/prisma/migrations/20261026000000_add_agent_pod_service_account/migration.sql +3 -0
- package/prisma/schema/schema.prisma +4 -0
- package/src/admin-boot-config.ts +2 -0
- package/src/agent-account-assignment.ts +2 -0
- package/src/agent-manifest.ts +24 -1
- package/src/agent-manifest.unit.test.ts +57 -0
- package/src/agent-pod-service-account.integration.test.ts +47 -0
- package/src/agent-provisioner.ts +33 -3
- package/src/agent-provisioner.unit.test.ts +48 -0
- package/src/agents.ts +4 -0
- package/src/main.unit.test.ts +19 -0
- package/src/pod-service-account-config.ts +24 -0
- package/src/pod-service-account-config.unit.test.ts +28 -0
- package/src/startup-policy-reconcile.ts +1 -0
|
@@ -2246,6 +2246,7 @@ export const AgentScalarFieldEnum = {
|
|
|
2246
2246
|
anthropicServiceAccountId: 'anthropicServiceAccountId',
|
|
2247
2247
|
anthropicFederationRuleId: 'anthropicFederationRuleId',
|
|
2248
2248
|
k8sServiceAccountName: 'k8sServiceAccountName',
|
|
2249
|
+
podServiceAccountName: 'podServiceAccountName',
|
|
2249
2250
|
autoPostReviews: 'autoPostReviews',
|
|
2250
2251
|
allowSelfReview: 'allowSelfReview',
|
|
2251
2252
|
minConfidence: 'minConfidence',
|
|
@@ -158,6 +158,7 @@ export const AgentScalarFieldEnum = {
|
|
|
158
158
|
anthropicServiceAccountId: 'anthropicServiceAccountId',
|
|
159
159
|
anthropicFederationRuleId: 'anthropicFederationRuleId',
|
|
160
160
|
k8sServiceAccountName: 'k8sServiceAccountName',
|
|
161
|
+
podServiceAccountName: 'podServiceAccountName',
|
|
161
162
|
autoPostReviews: 'autoPostReviews',
|
|
162
163
|
allowSelfReview: 'allowSelfReview',
|
|
163
164
|
minConfidence: 'minConfidence',
|
|
@@ -55,6 +55,7 @@ export type AgentMinAggregateOutputType = {
|
|
|
55
55
|
anthropicServiceAccountId: string | null
|
|
56
56
|
anthropicFederationRuleId: string | null
|
|
57
57
|
k8sServiceAccountName: string | null
|
|
58
|
+
podServiceAccountName: string | null
|
|
58
59
|
autoPostReviews: boolean | null
|
|
59
60
|
allowSelfReview: boolean | null
|
|
60
61
|
minConfidence: number | null
|
|
@@ -82,6 +83,7 @@ export type AgentMaxAggregateOutputType = {
|
|
|
82
83
|
anthropicServiceAccountId: string | null
|
|
83
84
|
anthropicFederationRuleId: string | null
|
|
84
85
|
k8sServiceAccountName: string | null
|
|
86
|
+
podServiceAccountName: string | null
|
|
85
87
|
autoPostReviews: boolean | null
|
|
86
88
|
allowSelfReview: boolean | null
|
|
87
89
|
minConfidence: number | null
|
|
@@ -112,6 +114,7 @@ export type AgentCountAggregateOutputType = {
|
|
|
112
114
|
anthropicServiceAccountId: number
|
|
113
115
|
anthropicFederationRuleId: number
|
|
114
116
|
k8sServiceAccountName: number
|
|
117
|
+
podServiceAccountName: number
|
|
115
118
|
autoPostReviews: number
|
|
116
119
|
allowSelfReview: number
|
|
117
120
|
minConfidence: number
|
|
@@ -153,6 +156,7 @@ export type AgentMinAggregateInputType = {
|
|
|
153
156
|
anthropicServiceAccountId?: true
|
|
154
157
|
anthropicFederationRuleId?: true
|
|
155
158
|
k8sServiceAccountName?: true
|
|
159
|
+
podServiceAccountName?: true
|
|
156
160
|
autoPostReviews?: true
|
|
157
161
|
allowSelfReview?: true
|
|
158
162
|
minConfidence?: true
|
|
@@ -180,6 +184,7 @@ export type AgentMaxAggregateInputType = {
|
|
|
180
184
|
anthropicServiceAccountId?: true
|
|
181
185
|
anthropicFederationRuleId?: true
|
|
182
186
|
k8sServiceAccountName?: true
|
|
187
|
+
podServiceAccountName?: true
|
|
183
188
|
autoPostReviews?: true
|
|
184
189
|
allowSelfReview?: true
|
|
185
190
|
minConfidence?: true
|
|
@@ -210,6 +215,7 @@ export type AgentCountAggregateInputType = {
|
|
|
210
215
|
anthropicServiceAccountId?: true
|
|
211
216
|
anthropicFederationRuleId?: true
|
|
212
217
|
k8sServiceAccountName?: true
|
|
218
|
+
podServiceAccountName?: true
|
|
213
219
|
autoPostReviews?: true
|
|
214
220
|
allowSelfReview?: true
|
|
215
221
|
minConfidence?: true
|
|
@@ -327,6 +333,7 @@ export type AgentGroupByOutputType = {
|
|
|
327
333
|
anthropicServiceAccountId: string | null
|
|
328
334
|
anthropicFederationRuleId: string | null
|
|
329
335
|
k8sServiceAccountName: string | null
|
|
336
|
+
podServiceAccountName: string | null
|
|
330
337
|
autoPostReviews: boolean
|
|
331
338
|
allowSelfReview: boolean
|
|
332
339
|
minConfidence: number
|
|
@@ -380,6 +387,7 @@ export type AgentWhereInput = {
|
|
|
380
387
|
anthropicServiceAccountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
381
388
|
anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
382
389
|
k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
390
|
+
podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
383
391
|
autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
|
|
384
392
|
allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
|
|
385
393
|
minConfidence?: Prisma.IntFilter<"Agent"> | number
|
|
@@ -421,6 +429,7 @@ export type AgentOrderByWithRelationInput = {
|
|
|
421
429
|
anthropicServiceAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
422
430
|
anthropicFederationRuleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
423
431
|
k8sServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
432
|
+
podServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
424
433
|
autoPostReviews?: Prisma.SortOrder
|
|
425
434
|
allowSelfReview?: Prisma.SortOrder
|
|
426
435
|
minConfidence?: Prisma.SortOrder
|
|
@@ -465,6 +474,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
465
474
|
anthropicServiceAccountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
466
475
|
anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
467
476
|
k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
477
|
+
podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
468
478
|
autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
|
|
469
479
|
allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
|
|
470
480
|
minConfidence?: Prisma.IntFilter<"Agent"> | number
|
|
@@ -506,6 +516,7 @@ export type AgentOrderByWithAggregationInput = {
|
|
|
506
516
|
anthropicServiceAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
507
517
|
anthropicFederationRuleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
508
518
|
k8sServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
519
|
+
podServiceAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
509
520
|
autoPostReviews?: Prisma.SortOrder
|
|
510
521
|
allowSelfReview?: Prisma.SortOrder
|
|
511
522
|
minConfidence?: Prisma.SortOrder
|
|
@@ -544,6 +555,7 @@ export type AgentScalarWhereWithAggregatesInput = {
|
|
|
544
555
|
anthropicServiceAccountId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
545
556
|
anthropicFederationRuleId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
546
557
|
k8sServiceAccountName?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
558
|
+
podServiceAccountName?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
547
559
|
autoPostReviews?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
|
|
548
560
|
allowSelfReview?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
|
|
549
561
|
minConfidence?: Prisma.IntWithAggregatesFilter<"Agent"> | number
|
|
@@ -573,6 +585,7 @@ export type AgentCreateInput = {
|
|
|
573
585
|
anthropicServiceAccountId?: string | null
|
|
574
586
|
anthropicFederationRuleId?: string | null
|
|
575
587
|
k8sServiceAccountName?: string | null
|
|
588
|
+
podServiceAccountName?: string | null
|
|
576
589
|
autoPostReviews?: boolean
|
|
577
590
|
allowSelfReview?: boolean
|
|
578
591
|
minConfidence?: number
|
|
@@ -614,6 +627,7 @@ export type AgentUncheckedCreateInput = {
|
|
|
614
627
|
anthropicServiceAccountId?: string | null
|
|
615
628
|
anthropicFederationRuleId?: string | null
|
|
616
629
|
k8sServiceAccountName?: string | null
|
|
630
|
+
podServiceAccountName?: string | null
|
|
617
631
|
autoPostReviews?: boolean
|
|
618
632
|
allowSelfReview?: boolean
|
|
619
633
|
minConfidence?: number
|
|
@@ -653,6 +667,7 @@ export type AgentUpdateInput = {
|
|
|
653
667
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
654
668
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
669
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
670
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
656
671
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
657
672
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
658
673
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -694,6 +709,7 @@ export type AgentUncheckedUpdateInput = {
|
|
|
694
709
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
695
710
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
696
711
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
712
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
697
713
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
698
714
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
699
715
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -734,6 +750,7 @@ export type AgentCreateManyInput = {
|
|
|
734
750
|
anthropicServiceAccountId?: string | null
|
|
735
751
|
anthropicFederationRuleId?: string | null
|
|
736
752
|
k8sServiceAccountName?: string | null
|
|
753
|
+
podServiceAccountName?: string | null
|
|
737
754
|
autoPostReviews?: boolean
|
|
738
755
|
allowSelfReview?: boolean
|
|
739
756
|
minConfidence?: number
|
|
@@ -763,6 +780,7 @@ export type AgentUpdateManyMutationInput = {
|
|
|
763
780
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
764
781
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
765
782
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
783
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
766
784
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
767
785
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
768
786
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -793,6 +811,7 @@ export type AgentUncheckedUpdateManyInput = {
|
|
|
793
811
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
794
812
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
795
813
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
814
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
796
815
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
797
816
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
798
817
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -836,6 +855,7 @@ export type AgentCountOrderByAggregateInput = {
|
|
|
836
855
|
anthropicServiceAccountId?: Prisma.SortOrder
|
|
837
856
|
anthropicFederationRuleId?: Prisma.SortOrder
|
|
838
857
|
k8sServiceAccountName?: Prisma.SortOrder
|
|
858
|
+
podServiceAccountName?: Prisma.SortOrder
|
|
839
859
|
autoPostReviews?: Prisma.SortOrder
|
|
840
860
|
allowSelfReview?: Prisma.SortOrder
|
|
841
861
|
minConfidence?: Prisma.SortOrder
|
|
@@ -869,6 +889,7 @@ export type AgentMaxOrderByAggregateInput = {
|
|
|
869
889
|
anthropicServiceAccountId?: Prisma.SortOrder
|
|
870
890
|
anthropicFederationRuleId?: Prisma.SortOrder
|
|
871
891
|
k8sServiceAccountName?: Prisma.SortOrder
|
|
892
|
+
podServiceAccountName?: Prisma.SortOrder
|
|
872
893
|
autoPostReviews?: Prisma.SortOrder
|
|
873
894
|
allowSelfReview?: Prisma.SortOrder
|
|
874
895
|
minConfidence?: Prisma.SortOrder
|
|
@@ -896,6 +917,7 @@ export type AgentMinOrderByAggregateInput = {
|
|
|
896
917
|
anthropicServiceAccountId?: Prisma.SortOrder
|
|
897
918
|
anthropicFederationRuleId?: Prisma.SortOrder
|
|
898
919
|
k8sServiceAccountName?: Prisma.SortOrder
|
|
920
|
+
podServiceAccountName?: Prisma.SortOrder
|
|
899
921
|
autoPostReviews?: Prisma.SortOrder
|
|
900
922
|
allowSelfReview?: Prisma.SortOrder
|
|
901
923
|
minConfidence?: Prisma.SortOrder
|
|
@@ -1158,6 +1180,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1158
1180
|
anthropicServiceAccountId?: string | null
|
|
1159
1181
|
anthropicFederationRuleId?: string | null
|
|
1160
1182
|
k8sServiceAccountName?: string | null
|
|
1183
|
+
podServiceAccountName?: string | null
|
|
1161
1184
|
autoPostReviews?: boolean
|
|
1162
1185
|
allowSelfReview?: boolean
|
|
1163
1186
|
minConfidence?: number
|
|
@@ -1198,6 +1221,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1198
1221
|
anthropicServiceAccountId?: string | null
|
|
1199
1222
|
anthropicFederationRuleId?: string | null
|
|
1200
1223
|
k8sServiceAccountName?: string | null
|
|
1224
|
+
podServiceAccountName?: string | null
|
|
1201
1225
|
autoPostReviews?: boolean
|
|
1202
1226
|
allowSelfReview?: boolean
|
|
1203
1227
|
minConfidence?: number
|
|
@@ -1252,6 +1276,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1252
1276
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1253
1277
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
1278
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1279
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1255
1280
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1256
1281
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1257
1282
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1292,6 +1317,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1292
1317
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1293
1318
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1294
1319
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1320
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1295
1321
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1296
1322
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1297
1323
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1330,6 +1356,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
|
|
|
1330
1356
|
anthropicServiceAccountId?: string | null
|
|
1331
1357
|
anthropicFederationRuleId?: string | null
|
|
1332
1358
|
k8sServiceAccountName?: string | null
|
|
1359
|
+
podServiceAccountName?: string | null
|
|
1333
1360
|
autoPostReviews?: boolean
|
|
1334
1361
|
allowSelfReview?: boolean
|
|
1335
1362
|
minConfidence?: number
|
|
@@ -1370,6 +1397,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
|
|
|
1370
1397
|
anthropicServiceAccountId?: string | null
|
|
1371
1398
|
anthropicFederationRuleId?: string | null
|
|
1372
1399
|
k8sServiceAccountName?: string | null
|
|
1400
|
+
podServiceAccountName?: string | null
|
|
1373
1401
|
autoPostReviews?: boolean
|
|
1374
1402
|
allowSelfReview?: boolean
|
|
1375
1403
|
minConfidence?: number
|
|
@@ -1424,6 +1452,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1424
1452
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1425
1453
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1426
1454
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1455
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1427
1456
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1428
1457
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1429
1458
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1464,6 +1493,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1464
1493
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1465
1494
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1466
1495
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1496
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1467
1497
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1468
1498
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1469
1499
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1502,6 +1532,7 @@ export type AgentCreateWithoutEnvVarsInput = {
|
|
|
1502
1532
|
anthropicServiceAccountId?: string | null
|
|
1503
1533
|
anthropicFederationRuleId?: string | null
|
|
1504
1534
|
k8sServiceAccountName?: string | null
|
|
1535
|
+
podServiceAccountName?: string | null
|
|
1505
1536
|
autoPostReviews?: boolean
|
|
1506
1537
|
allowSelfReview?: boolean
|
|
1507
1538
|
minConfidence?: number
|
|
@@ -1542,6 +1573,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
|
|
|
1542
1573
|
anthropicServiceAccountId?: string | null
|
|
1543
1574
|
anthropicFederationRuleId?: string | null
|
|
1544
1575
|
k8sServiceAccountName?: string | null
|
|
1576
|
+
podServiceAccountName?: string | null
|
|
1545
1577
|
autoPostReviews?: boolean
|
|
1546
1578
|
allowSelfReview?: boolean
|
|
1547
1579
|
minConfidence?: number
|
|
@@ -1596,6 +1628,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
|
|
|
1596
1628
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1597
1629
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1598
1630
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1631
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1599
1632
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1600
1633
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1601
1634
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1636,6 +1669,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
|
|
|
1636
1669
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1637
1670
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1638
1671
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1672
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1639
1673
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1640
1674
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1641
1675
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1674,6 +1708,7 @@ export type AgentCreateWithoutCronJobsInput = {
|
|
|
1674
1708
|
anthropicServiceAccountId?: string | null
|
|
1675
1709
|
anthropicFederationRuleId?: string | null
|
|
1676
1710
|
k8sServiceAccountName?: string | null
|
|
1711
|
+
podServiceAccountName?: string | null
|
|
1677
1712
|
autoPostReviews?: boolean
|
|
1678
1713
|
allowSelfReview?: boolean
|
|
1679
1714
|
minConfidence?: number
|
|
@@ -1714,6 +1749,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
|
|
|
1714
1749
|
anthropicServiceAccountId?: string | null
|
|
1715
1750
|
anthropicFederationRuleId?: string | null
|
|
1716
1751
|
k8sServiceAccountName?: string | null
|
|
1752
|
+
podServiceAccountName?: string | null
|
|
1717
1753
|
autoPostReviews?: boolean
|
|
1718
1754
|
allowSelfReview?: boolean
|
|
1719
1755
|
minConfidence?: number
|
|
@@ -1768,6 +1804,7 @@ export type AgentUpdateWithoutCronJobsInput = {
|
|
|
1768
1804
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1769
1805
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1770
1806
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1807
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1771
1808
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1772
1809
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1773
1810
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1808,6 +1845,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
|
|
|
1808
1845
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1809
1846
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1810
1847
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1848
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1811
1849
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1812
1850
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1813
1851
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1846,6 +1884,7 @@ export type AgentCreateWithoutToolsInput = {
|
|
|
1846
1884
|
anthropicServiceAccountId?: string | null
|
|
1847
1885
|
anthropicFederationRuleId?: string | null
|
|
1848
1886
|
k8sServiceAccountName?: string | null
|
|
1887
|
+
podServiceAccountName?: string | null
|
|
1849
1888
|
autoPostReviews?: boolean
|
|
1850
1889
|
allowSelfReview?: boolean
|
|
1851
1890
|
minConfidence?: number
|
|
@@ -1886,6 +1925,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
|
|
|
1886
1925
|
anthropicServiceAccountId?: string | null
|
|
1887
1926
|
anthropicFederationRuleId?: string | null
|
|
1888
1927
|
k8sServiceAccountName?: string | null
|
|
1928
|
+
podServiceAccountName?: string | null
|
|
1889
1929
|
autoPostReviews?: boolean
|
|
1890
1930
|
allowSelfReview?: boolean
|
|
1891
1931
|
minConfidence?: number
|
|
@@ -1940,6 +1980,7 @@ export type AgentUpdateWithoutToolsInput = {
|
|
|
1940
1980
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1941
1981
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1942
1982
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1983
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1943
1984
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1944
1985
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1945
1986
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -1980,6 +2021,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
|
|
|
1980
2021
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1981
2022
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1982
2023
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2024
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1983
2025
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1984
2026
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1985
2027
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2018,6 +2060,7 @@ export type AgentCreateWithoutTokensInput = {
|
|
|
2018
2060
|
anthropicServiceAccountId?: string | null
|
|
2019
2061
|
anthropicFederationRuleId?: string | null
|
|
2020
2062
|
k8sServiceAccountName?: string | null
|
|
2063
|
+
podServiceAccountName?: string | null
|
|
2021
2064
|
autoPostReviews?: boolean
|
|
2022
2065
|
allowSelfReview?: boolean
|
|
2023
2066
|
minConfidence?: number
|
|
@@ -2058,6 +2101,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
|
|
|
2058
2101
|
anthropicServiceAccountId?: string | null
|
|
2059
2102
|
anthropicFederationRuleId?: string | null
|
|
2060
2103
|
k8sServiceAccountName?: string | null
|
|
2104
|
+
podServiceAccountName?: string | null
|
|
2061
2105
|
autoPostReviews?: boolean
|
|
2062
2106
|
allowSelfReview?: boolean
|
|
2063
2107
|
minConfidence?: number
|
|
@@ -2112,6 +2156,7 @@ export type AgentUpdateWithoutTokensInput = {
|
|
|
2112
2156
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2113
2157
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2114
2158
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2159
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2115
2160
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2116
2161
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2117
2162
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2152,6 +2197,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
|
|
|
2152
2197
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2153
2198
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2154
2199
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2200
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2155
2201
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2156
2202
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2157
2203
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2190,6 +2236,7 @@ export type AgentCreateWithoutPluginsInput = {
|
|
|
2190
2236
|
anthropicServiceAccountId?: string | null
|
|
2191
2237
|
anthropicFederationRuleId?: string | null
|
|
2192
2238
|
k8sServiceAccountName?: string | null
|
|
2239
|
+
podServiceAccountName?: string | null
|
|
2193
2240
|
autoPostReviews?: boolean
|
|
2194
2241
|
allowSelfReview?: boolean
|
|
2195
2242
|
minConfidence?: number
|
|
@@ -2230,6 +2277,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
|
|
|
2230
2277
|
anthropicServiceAccountId?: string | null
|
|
2231
2278
|
anthropicFederationRuleId?: string | null
|
|
2232
2279
|
k8sServiceAccountName?: string | null
|
|
2280
|
+
podServiceAccountName?: string | null
|
|
2233
2281
|
autoPostReviews?: boolean
|
|
2234
2282
|
allowSelfReview?: boolean
|
|
2235
2283
|
minConfidence?: number
|
|
@@ -2284,6 +2332,7 @@ export type AgentUpdateWithoutPluginsInput = {
|
|
|
2284
2332
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2285
2333
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2286
2334
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2335
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2287
2336
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2288
2337
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2289
2338
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2324,6 +2373,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
|
|
|
2324
2373
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2325
2374
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2326
2375
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2376
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2327
2377
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2328
2378
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2329
2379
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2362,6 +2412,7 @@ export type AgentCreateWithoutMembersInput = {
|
|
|
2362
2412
|
anthropicServiceAccountId?: string | null
|
|
2363
2413
|
anthropicFederationRuleId?: string | null
|
|
2364
2414
|
k8sServiceAccountName?: string | null
|
|
2415
|
+
podServiceAccountName?: string | null
|
|
2365
2416
|
autoPostReviews?: boolean
|
|
2366
2417
|
allowSelfReview?: boolean
|
|
2367
2418
|
minConfidence?: number
|
|
@@ -2402,6 +2453,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
|
|
|
2402
2453
|
anthropicServiceAccountId?: string | null
|
|
2403
2454
|
anthropicFederationRuleId?: string | null
|
|
2404
2455
|
k8sServiceAccountName?: string | null
|
|
2456
|
+
podServiceAccountName?: string | null
|
|
2405
2457
|
autoPostReviews?: boolean
|
|
2406
2458
|
allowSelfReview?: boolean
|
|
2407
2459
|
minConfidence?: number
|
|
@@ -2456,6 +2508,7 @@ export type AgentUpdateWithoutMembersInput = {
|
|
|
2456
2508
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2457
2509
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2458
2510
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2511
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2459
2512
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2460
2513
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2461
2514
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2496,6 +2549,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
|
|
|
2496
2549
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2497
2550
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2498
2551
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2552
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2499
2553
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2500
2554
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2501
2555
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2534,6 +2588,7 @@ export type AgentCreateWithoutAccountInput = {
|
|
|
2534
2588
|
anthropicServiceAccountId?: string | null
|
|
2535
2589
|
anthropicFederationRuleId?: string | null
|
|
2536
2590
|
k8sServiceAccountName?: string | null
|
|
2591
|
+
podServiceAccountName?: string | null
|
|
2537
2592
|
autoPostReviews?: boolean
|
|
2538
2593
|
allowSelfReview?: boolean
|
|
2539
2594
|
minConfidence?: number
|
|
@@ -2573,6 +2628,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
|
|
|
2573
2628
|
anthropicServiceAccountId?: string | null
|
|
2574
2629
|
anthropicFederationRuleId?: string | null
|
|
2575
2630
|
k8sServiceAccountName?: string | null
|
|
2631
|
+
podServiceAccountName?: string | null
|
|
2576
2632
|
autoPostReviews?: boolean
|
|
2577
2633
|
allowSelfReview?: boolean
|
|
2578
2634
|
minConfidence?: number
|
|
@@ -2642,6 +2698,7 @@ export type AgentScalarWhereInput = {
|
|
|
2642
2698
|
anthropicServiceAccountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2643
2699
|
anthropicFederationRuleId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2644
2700
|
k8sServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2701
|
+
podServiceAccountName?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2645
2702
|
autoPostReviews?: Prisma.BoolFilter<"Agent"> | boolean
|
|
2646
2703
|
allowSelfReview?: Prisma.BoolFilter<"Agent"> | boolean
|
|
2647
2704
|
minConfidence?: Prisma.IntFilter<"Agent"> | number
|
|
@@ -2671,6 +2728,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
|
|
|
2671
2728
|
anthropicServiceAccountId?: string | null
|
|
2672
2729
|
anthropicFederationRuleId?: string | null
|
|
2673
2730
|
k8sServiceAccountName?: string | null
|
|
2731
|
+
podServiceAccountName?: string | null
|
|
2674
2732
|
autoPostReviews?: boolean
|
|
2675
2733
|
allowSelfReview?: boolean
|
|
2676
2734
|
minConfidence?: number
|
|
@@ -2711,6 +2769,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
|
|
|
2711
2769
|
anthropicServiceAccountId?: string | null
|
|
2712
2770
|
anthropicFederationRuleId?: string | null
|
|
2713
2771
|
k8sServiceAccountName?: string | null
|
|
2772
|
+
podServiceAccountName?: string | null
|
|
2714
2773
|
autoPostReviews?: boolean
|
|
2715
2774
|
allowSelfReview?: boolean
|
|
2716
2775
|
minConfidence?: number
|
|
@@ -2765,6 +2824,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
|
|
|
2765
2824
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2766
2825
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2767
2826
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2827
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2768
2828
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2769
2829
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2770
2830
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2805,6 +2865,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
|
|
|
2805
2865
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2806
2866
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2807
2867
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2868
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2808
2869
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2809
2870
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2810
2871
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2843,6 +2904,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2843
2904
|
anthropicServiceAccountId?: string | null
|
|
2844
2905
|
anthropicFederationRuleId?: string | null
|
|
2845
2906
|
k8sServiceAccountName?: string | null
|
|
2907
|
+
podServiceAccountName?: string | null
|
|
2846
2908
|
autoPostReviews?: boolean
|
|
2847
2909
|
allowSelfReview?: boolean
|
|
2848
2910
|
minConfidence?: number
|
|
@@ -2883,6 +2945,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2883
2945
|
anthropicServiceAccountId?: string | null
|
|
2884
2946
|
anthropicFederationRuleId?: string | null
|
|
2885
2947
|
k8sServiceAccountName?: string | null
|
|
2948
|
+
podServiceAccountName?: string | null
|
|
2886
2949
|
autoPostReviews?: boolean
|
|
2887
2950
|
allowSelfReview?: boolean
|
|
2888
2951
|
minConfidence?: number
|
|
@@ -2937,6 +3000,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2937
3000
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2938
3001
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2939
3002
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3003
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2940
3004
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2941
3005
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2942
3006
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -2977,6 +3041,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2977
3041
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2978
3042
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2979
3043
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3044
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2980
3045
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2981
3046
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2982
3047
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -3015,6 +3080,7 @@ export type AgentCreateManyAccountInput = {
|
|
|
3015
3080
|
anthropicServiceAccountId?: string | null
|
|
3016
3081
|
anthropicFederationRuleId?: string | null
|
|
3017
3082
|
k8sServiceAccountName?: string | null
|
|
3083
|
+
podServiceAccountName?: string | null
|
|
3018
3084
|
autoPostReviews?: boolean
|
|
3019
3085
|
allowSelfReview?: boolean
|
|
3020
3086
|
minConfidence?: number
|
|
@@ -3044,6 +3110,7 @@ export type AgentUpdateWithoutAccountInput = {
|
|
|
3044
3110
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3045
3111
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3046
3112
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3113
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3047
3114
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3048
3115
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3049
3116
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -3083,6 +3150,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
|
|
|
3083
3150
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3084
3151
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3085
3152
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3153
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3086
3154
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3087
3155
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3088
3156
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -3122,6 +3190,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
|
|
|
3122
3190
|
anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3123
3191
|
anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3124
3192
|
k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3193
|
+
podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3125
3194
|
autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3126
3195
|
allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3127
3196
|
minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -3246,6 +3315,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3246
3315
|
anthropicServiceAccountId?: boolean
|
|
3247
3316
|
anthropicFederationRuleId?: boolean
|
|
3248
3317
|
k8sServiceAccountName?: boolean
|
|
3318
|
+
podServiceAccountName?: boolean
|
|
3249
3319
|
autoPostReviews?: boolean
|
|
3250
3320
|
allowSelfReview?: boolean
|
|
3251
3321
|
minConfidence?: boolean
|
|
@@ -3288,6 +3358,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3288
3358
|
anthropicServiceAccountId?: boolean
|
|
3289
3359
|
anthropicFederationRuleId?: boolean
|
|
3290
3360
|
k8sServiceAccountName?: boolean
|
|
3361
|
+
podServiceAccountName?: boolean
|
|
3291
3362
|
autoPostReviews?: boolean
|
|
3292
3363
|
allowSelfReview?: boolean
|
|
3293
3364
|
minConfidence?: boolean
|
|
@@ -3319,6 +3390,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3319
3390
|
anthropicServiceAccountId?: boolean
|
|
3320
3391
|
anthropicFederationRuleId?: boolean
|
|
3321
3392
|
k8sServiceAccountName?: boolean
|
|
3393
|
+
podServiceAccountName?: boolean
|
|
3322
3394
|
autoPostReviews?: boolean
|
|
3323
3395
|
allowSelfReview?: boolean
|
|
3324
3396
|
minConfidence?: boolean
|
|
@@ -3350,6 +3422,7 @@ export type AgentSelectScalar = {
|
|
|
3350
3422
|
anthropicServiceAccountId?: boolean
|
|
3351
3423
|
anthropicFederationRuleId?: boolean
|
|
3352
3424
|
k8sServiceAccountName?: boolean
|
|
3425
|
+
podServiceAccountName?: boolean
|
|
3353
3426
|
autoPostReviews?: boolean
|
|
3354
3427
|
allowSelfReview?: boolean
|
|
3355
3428
|
minConfidence?: boolean
|
|
@@ -3360,7 +3433,7 @@ export type AgentSelectScalar = {
|
|
|
3360
3433
|
updatedAt?: boolean
|
|
3361
3434
|
}
|
|
3362
3435
|
|
|
3363
|
-
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" | "typeName" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
3436
|
+
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" | "typeName" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
3364
3437
|
export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3365
3438
|
account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
|
|
3366
3439
|
envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
|
|
@@ -3417,6 +3490,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
3417
3490
|
anthropicServiceAccountId: string | null
|
|
3418
3491
|
anthropicFederationRuleId: string | null
|
|
3419
3492
|
k8sServiceAccountName: string | null
|
|
3493
|
+
podServiceAccountName: string | null
|
|
3420
3494
|
autoPostReviews: boolean
|
|
3421
3495
|
allowSelfReview: boolean
|
|
3422
3496
|
minConfidence: number
|
|
@@ -3878,6 +3952,7 @@ export interface AgentFieldRefs {
|
|
|
3878
3952
|
readonly anthropicServiceAccountId: Prisma.FieldRef<"Agent", 'String'>
|
|
3879
3953
|
readonly anthropicFederationRuleId: Prisma.FieldRef<"Agent", 'String'>
|
|
3880
3954
|
readonly k8sServiceAccountName: Prisma.FieldRef<"Agent", 'String'>
|
|
3955
|
+
readonly podServiceAccountName: Prisma.FieldRef<"Agent", 'String'>
|
|
3881
3956
|
readonly autoPostReviews: Prisma.FieldRef<"Agent", 'Boolean'>
|
|
3882
3957
|
readonly allowSelfReview: Prisma.FieldRef<"Agent", 'Boolean'>
|
|
3883
3958
|
readonly minConfidence: Prisma.FieldRef<"Agent", 'Int'>
|
|
@@ -60,6 +60,10 @@ model Agent {
|
|
|
60
60
|
anthropicServiceAccountId String?
|
|
61
61
|
anthropicFederationRuleId String?
|
|
62
62
|
k8sServiceAccountName String?
|
|
63
|
+
// COS-48.1: the pod's own Kubernetes ServiceAccount (cluster identity). A
|
|
64
|
+
// separate column from k8sServiceAccountName, which is the Anthropic-
|
|
65
|
+
// federation KSA. Only rendered when the pod-SA flag is on.
|
|
66
|
+
podServiceAccountName String?
|
|
63
67
|
// APM-1.1: the 6 agent policy fields (auto_post_reviews, allow_self_review,
|
|
64
68
|
// min_confidence, max_findings, cleanup_merged_worktrees,
|
|
65
69
|
// cleanup_after_days). Originally mirrored from the legacy
|
package/src/admin-boot-config.ts
CHANGED
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
HttpChatServiceProvisioningClient,
|
|
31
31
|
NoopChatServiceProvisioningClient,
|
|
32
32
|
} from "./chat-service-provisioning-client.ts";
|
|
33
|
+
import { parsePodServiceAccountConfig } from "./pod-service-account-config.ts";
|
|
33
34
|
import { HttpKubernetesClient } from "./kubernetes-client.ts";
|
|
34
35
|
import type { ServiceIntegration } from "./service-integration.ts";
|
|
35
36
|
|
|
@@ -212,6 +213,7 @@ export function buildProvisioner(
|
|
|
212
213
|
...(claudePolicy ? { claudePolicy } : {}),
|
|
213
214
|
...(anthropicFederation ? { anthropicFederation } : {}),
|
|
214
215
|
...(perAgentIdentity ? { perAgentIdentity } : {}),
|
|
216
|
+
podServiceAccount: parsePodServiceAccountConfig(env),
|
|
215
217
|
// When SHIPWRIGHT_AGENT_PVC_NAME_TEMPLATE is set (e.g. "acme-agent-{name}-home"),
|
|
216
218
|
// substitute {name} with the pre-sanitized name resolved by pvcNameFor()
|
|
217
219
|
// (slug sanitized via sanitizeAgentName, or falls back to resourceName).
|
|
@@ -22,6 +22,7 @@ export async function reconcileAgentAfterAccountChange(
|
|
|
22
22
|
name: string;
|
|
23
23
|
selfHosted: boolean;
|
|
24
24
|
accountId?: string | null;
|
|
25
|
+
podServiceAccountName?: string | null;
|
|
25
26
|
},
|
|
26
27
|
): Promise<string | undefined> {
|
|
27
28
|
if (agent.selfHosted) return undefined;
|
|
@@ -36,6 +37,7 @@ export async function reconcileAgentAfterAccountChange(
|
|
|
36
37
|
anthropicServiceAccountId: agent.anthropicServiceAccountId,
|
|
37
38
|
anthropicFederationRuleId: agent.anthropicFederationRuleId,
|
|
38
39
|
k8sServiceAccountName: agent.k8sServiceAccountName,
|
|
40
|
+
podServiceAccountName: agent.podServiceAccountName,
|
|
39
41
|
},
|
|
40
42
|
]);
|
|
41
43
|
const failure = result.failed.find((f) => f.agentId === agent.id);
|