@app-vitals/agent-admin 1.3.0 → 1.5.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.
@@ -402,6 +402,7 @@ export type AgentWhereInput = {
402
402
  tools?: Prisma.AgentToolListRelationFilter
403
403
  tokens?: Prisma.AgentTokenListRelationFilter
404
404
  plugins?: Prisma.AgentPluginListRelationFilter
405
+ marketplaces?: Prisma.AgentMarketplaceListRelationFilter
405
406
  members?: Prisma.AgentMemberListRelationFilter
406
407
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelListRelationFilter
407
408
  workQueueSnapshot?: Prisma.XOR<Prisma.AgentWorkQueueSnapshotNullableScalarRelationFilter, Prisma.AgentWorkQueueSnapshotWhereInput> | null
@@ -444,6 +445,7 @@ export type AgentOrderByWithRelationInput = {
444
445
  tools?: Prisma.AgentToolOrderByRelationAggregateInput
445
446
  tokens?: Prisma.AgentTokenOrderByRelationAggregateInput
446
447
  plugins?: Prisma.AgentPluginOrderByRelationAggregateInput
448
+ marketplaces?: Prisma.AgentMarketplaceOrderByRelationAggregateInput
447
449
  members?: Prisma.AgentMemberOrderByRelationAggregateInput
448
450
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelOrderByRelationAggregateInput
449
451
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotOrderByWithRelationInput
@@ -489,6 +491,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
489
491
  tools?: Prisma.AgentToolListRelationFilter
490
492
  tokens?: Prisma.AgentTokenListRelationFilter
491
493
  plugins?: Prisma.AgentPluginListRelationFilter
494
+ marketplaces?: Prisma.AgentMarketplaceListRelationFilter
492
495
  members?: Prisma.AgentMemberListRelationFilter
493
496
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelListRelationFilter
494
497
  workQueueSnapshot?: Prisma.XOR<Prisma.AgentWorkQueueSnapshotNullableScalarRelationFilter, Prisma.AgentWorkQueueSnapshotWhereInput> | null
@@ -600,6 +603,7 @@ export type AgentCreateInput = {
600
603
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
601
604
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
602
605
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
606
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
603
607
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
604
608
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
605
609
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -641,6 +645,7 @@ export type AgentUncheckedCreateInput = {
641
645
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
642
646
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
643
647
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
648
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
644
649
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
645
650
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
646
651
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -682,6 +687,7 @@ export type AgentUpdateInput = {
682
687
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
683
688
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
684
689
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
690
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
685
691
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
686
692
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
687
693
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -723,6 +729,7 @@ export type AgentUncheckedUpdateInput = {
723
729
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
724
730
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
725
731
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
732
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
726
733
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
727
734
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
728
735
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -1161,6 +1168,20 @@ export type AgentUpdateOneRequiredWithoutGithubInstallationsSnapshotNestedInput
1161
1168
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutGithubInstallationsSnapshotInput, Prisma.AgentUpdateWithoutGithubInstallationsSnapshotInput>, Prisma.AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput>
1162
1169
  }
1163
1170
 
1171
+ export type AgentCreateNestedOneWithoutMarketplacesInput = {
1172
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMarketplacesInput, Prisma.AgentUncheckedCreateWithoutMarketplacesInput>
1173
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMarketplacesInput
1174
+ connect?: Prisma.AgentWhereUniqueInput
1175
+ }
1176
+
1177
+ export type AgentUpdateOneRequiredWithoutMarketplacesNestedInput = {
1178
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMarketplacesInput, Prisma.AgentUncheckedCreateWithoutMarketplacesInput>
1179
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMarketplacesInput
1180
+ upsert?: Prisma.AgentUpsertWithoutMarketplacesInput
1181
+ connect?: Prisma.AgentWhereUniqueInput
1182
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutMarketplacesInput, Prisma.AgentUpdateWithoutMarketplacesInput>, Prisma.AgentUncheckedUpdateWithoutMarketplacesInput>
1183
+ }
1184
+
1164
1185
  export type AgentCreateWithoutWorkQueueSnapshotInput = {
1165
1186
  id?: string
1166
1187
  name: string
@@ -1195,6 +1216,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
1195
1216
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1196
1217
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1197
1218
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1219
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1198
1220
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1199
1221
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1200
1222
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotCreateNestedOneWithoutAgentInput
@@ -1235,6 +1257,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
1235
1257
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1236
1258
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1237
1259
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1260
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1238
1261
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1239
1262
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1240
1263
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -1291,6 +1314,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
1291
1314
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1292
1315
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
1293
1316
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
1317
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
1294
1318
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
1295
1319
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
1296
1320
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUpdateOneWithoutAgentNestedInput
@@ -1331,6 +1355,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
1331
1355
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1332
1356
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
1333
1357
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
1358
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
1334
1359
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
1335
1360
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
1336
1361
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -1371,6 +1396,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
1371
1396
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1372
1397
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1373
1398
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1399
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1374
1400
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1375
1401
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1376
1402
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -1411,6 +1437,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
1411
1437
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1412
1438
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1413
1439
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1440
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1414
1441
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1415
1442
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1416
1443
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -1467,6 +1494,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
1467
1494
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1468
1495
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
1469
1496
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
1497
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
1470
1498
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
1471
1499
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
1472
1500
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -1507,6 +1535,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
1507
1535
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1508
1536
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
1509
1537
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
1538
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
1510
1539
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
1511
1540
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
1512
1541
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -1546,6 +1575,7 @@ export type AgentCreateWithoutEnvVarsInput = {
1546
1575
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1547
1576
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1548
1577
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1578
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1549
1579
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1550
1580
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1551
1581
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -1586,6 +1616,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
1586
1616
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1587
1617
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1588
1618
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1619
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1589
1620
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1590
1621
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1591
1622
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -1642,6 +1673,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
1642
1673
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1643
1674
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
1644
1675
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
1676
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
1645
1677
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
1646
1678
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
1647
1679
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -1682,6 +1714,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
1682
1714
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1683
1715
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
1684
1716
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
1717
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
1685
1718
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
1686
1719
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
1687
1720
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -1722,6 +1755,7 @@ export type AgentCreateWithoutCronJobsInput = {
1722
1755
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1723
1756
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1724
1757
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1758
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1725
1759
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1726
1760
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1727
1761
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -1762,6 +1796,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
1762
1796
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1763
1797
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1764
1798
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1799
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1765
1800
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1766
1801
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1767
1802
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -1818,6 +1853,7 @@ export type AgentUpdateWithoutCronJobsInput = {
1818
1853
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1819
1854
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
1820
1855
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
1856
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
1821
1857
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
1822
1858
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
1823
1859
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -1858,6 +1894,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
1858
1894
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1859
1895
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
1860
1896
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
1897
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
1861
1898
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
1862
1899
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
1863
1900
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -1898,6 +1935,7 @@ export type AgentCreateWithoutToolsInput = {
1898
1935
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
1899
1936
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1900
1937
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1938
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1901
1939
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1902
1940
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1903
1941
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -1938,6 +1976,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
1938
1976
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
1939
1977
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1940
1978
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1979
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1941
1980
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1942
1981
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1943
1982
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -1994,6 +2033,7 @@ export type AgentUpdateWithoutToolsInput = {
1994
2033
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
1995
2034
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
1996
2035
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
2036
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
1997
2037
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
1998
2038
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
1999
2039
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -2034,6 +2074,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
2034
2074
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2035
2075
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2036
2076
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
2077
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
2037
2078
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
2038
2079
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
2039
2080
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -2074,6 +2115,7 @@ export type AgentCreateWithoutTokensInput = {
2074
2115
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2075
2116
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2076
2117
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
2118
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2077
2119
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
2078
2120
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
2079
2121
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -2114,6 +2156,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
2114
2156
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2115
2157
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2116
2158
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
2159
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2117
2160
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
2118
2161
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
2119
2162
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -2170,6 +2213,7 @@ export type AgentUpdateWithoutTokensInput = {
2170
2213
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2171
2214
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2172
2215
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
2216
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
2173
2217
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
2174
2218
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
2175
2219
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -2210,6 +2254,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
2210
2254
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2211
2255
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2212
2256
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
2257
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
2213
2258
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
2214
2259
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
2215
2260
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -2250,6 +2295,7 @@ export type AgentCreateWithoutPluginsInput = {
2250
2295
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2251
2296
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2252
2297
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2298
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2253
2299
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
2254
2300
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
2255
2301
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -2290,6 +2336,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
2290
2336
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2291
2337
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2292
2338
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2339
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2293
2340
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
2294
2341
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
2295
2342
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -2346,6 +2393,7 @@ export type AgentUpdateWithoutPluginsInput = {
2346
2393
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2347
2394
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2348
2395
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2396
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
2349
2397
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
2350
2398
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
2351
2399
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -2386,6 +2434,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
2386
2434
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2387
2435
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2388
2436
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2437
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
2389
2438
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
2390
2439
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
2391
2440
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -2427,6 +2476,7 @@ export type AgentCreateWithoutMembersInput = {
2427
2476
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2428
2477
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2429
2478
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
2479
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2430
2480
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
2431
2481
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
2432
2482
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotCreateNestedOneWithoutAgentInput
@@ -2467,6 +2517,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
2467
2517
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2468
2518
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2469
2519
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
2520
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2470
2521
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
2471
2522
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
2472
2523
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -2523,6 +2574,7 @@ export type AgentUpdateWithoutMembersInput = {
2523
2574
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2524
2575
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2525
2576
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
2577
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
2526
2578
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
2527
2579
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
2528
2580
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUpdateOneWithoutAgentNestedInput
@@ -2563,6 +2615,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
2563
2615
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2564
2616
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2565
2617
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
2618
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
2566
2619
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
2567
2620
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
2568
2621
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -2602,6 +2655,7 @@ export type AgentCreateWithoutAccountInput = {
2602
2655
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2603
2656
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2604
2657
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
2658
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2605
2659
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
2606
2660
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
2607
2661
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -2642,6 +2696,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
2642
2696
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2643
2697
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2644
2698
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
2699
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2645
2700
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
2646
2701
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
2647
2702
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -2743,6 +2798,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
2743
2798
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2744
2799
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2745
2800
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
2801
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2746
2802
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
2747
2803
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
2748
2804
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotCreateNestedOneWithoutAgentInput
@@ -2783,6 +2839,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
2783
2839
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2784
2840
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2785
2841
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
2842
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2786
2843
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
2787
2844
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
2788
2845
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -2839,6 +2896,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
2839
2896
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2840
2897
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2841
2898
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
2899
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
2842
2900
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
2843
2901
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
2844
2902
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUpdateOneWithoutAgentNestedInput
@@ -2879,6 +2937,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
2879
2937
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2880
2938
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2881
2939
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
2940
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
2882
2941
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
2883
2942
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
2884
2943
  githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -2919,6 +2978,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
2919
2978
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2920
2979
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2921
2980
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
2981
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
2922
2982
  members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
2923
2983
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
2924
2984
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
@@ -2959,6 +3019,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
2959
3019
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2960
3020
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2961
3021
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
3022
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
2962
3023
  members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
2963
3024
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
2964
3025
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
@@ -3015,6 +3076,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
3015
3076
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3016
3077
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
3017
3078
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
3079
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
3018
3080
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
3019
3081
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
3020
3082
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -3055,12 +3117,193 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
3055
3117
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3056
3118
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
3057
3119
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
3120
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
3058
3121
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
3059
3122
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
3060
3123
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
3061
3124
  phaseMethodologies?: Prisma.AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentNestedInput
3062
3125
  }
3063
3126
 
3127
+ export type AgentCreateWithoutMarketplacesInput = {
3128
+ id?: string
3129
+ name: string
3130
+ slackId?: string | null
3131
+ slackBotToken?: string | null
3132
+ anthropicApiKey?: string | null
3133
+ selfHosted?: boolean
3134
+ repos?: Prisma.AgentCreatereposInput | string[]
3135
+ reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
3136
+ patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
3137
+ restrictSlackToMembers?: boolean
3138
+ specialty?: string
3139
+ trialExpiresAt?: Date | string | null
3140
+ trialExpiryWarnedAt?: Date | string | null
3141
+ ownerEmail?: string | null
3142
+ anthropicIdentityName?: string | null
3143
+ anthropicServiceAccountId?: string | null
3144
+ anthropicFederationRuleId?: string | null
3145
+ k8sServiceAccountName?: string | null
3146
+ podServiceAccountName?: string | null
3147
+ autoPostReviews?: boolean
3148
+ allowSelfReview?: boolean
3149
+ minConfidence?: number
3150
+ maxFindings?: number
3151
+ cleanupMergedWorktrees?: boolean
3152
+ cleanupAfterDays?: number
3153
+ createdAt?: Date | string
3154
+ updatedAt?: Date | string
3155
+ account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
3156
+ envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
3157
+ cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
3158
+ tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
3159
+ tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
3160
+ plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
3161
+ members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
3162
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
3163
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
3164
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotCreateNestedOneWithoutAgentInput
3165
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyCreateNestedManyWithoutAgentInput
3166
+ }
3167
+
3168
+ export type AgentUncheckedCreateWithoutMarketplacesInput = {
3169
+ id?: string
3170
+ name: string
3171
+ slackId?: string | null
3172
+ slackBotToken?: string | null
3173
+ anthropicApiKey?: string | null
3174
+ selfHosted?: boolean
3175
+ repos?: Prisma.AgentCreatereposInput | string[]
3176
+ reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
3177
+ patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
3178
+ restrictSlackToMembers?: boolean
3179
+ specialty?: string
3180
+ accountId?: string | null
3181
+ trialExpiresAt?: Date | string | null
3182
+ trialExpiryWarnedAt?: Date | string | null
3183
+ ownerEmail?: string | null
3184
+ anthropicIdentityName?: string | null
3185
+ anthropicServiceAccountId?: string | null
3186
+ anthropicFederationRuleId?: string | null
3187
+ k8sServiceAccountName?: string | null
3188
+ podServiceAccountName?: string | null
3189
+ autoPostReviews?: boolean
3190
+ allowSelfReview?: boolean
3191
+ minConfidence?: number
3192
+ maxFindings?: number
3193
+ cleanupMergedWorktrees?: boolean
3194
+ cleanupAfterDays?: number
3195
+ createdAt?: Date | string
3196
+ updatedAt?: Date | string
3197
+ envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
3198
+ cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
3199
+ tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
3200
+ tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
3201
+ plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
3202
+ members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
3203
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
3204
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
3205
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedCreateNestedOneWithoutAgentInput
3206
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUncheckedCreateNestedManyWithoutAgentInput
3207
+ }
3208
+
3209
+ export type AgentCreateOrConnectWithoutMarketplacesInput = {
3210
+ where: Prisma.AgentWhereUniqueInput
3211
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMarketplacesInput, Prisma.AgentUncheckedCreateWithoutMarketplacesInput>
3212
+ }
3213
+
3214
+ export type AgentUpsertWithoutMarketplacesInput = {
3215
+ update: Prisma.XOR<Prisma.AgentUpdateWithoutMarketplacesInput, Prisma.AgentUncheckedUpdateWithoutMarketplacesInput>
3216
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMarketplacesInput, Prisma.AgentUncheckedCreateWithoutMarketplacesInput>
3217
+ where?: Prisma.AgentWhereInput
3218
+ }
3219
+
3220
+ export type AgentUpdateToOneWithWhereWithoutMarketplacesInput = {
3221
+ where?: Prisma.AgentWhereInput
3222
+ data: Prisma.XOR<Prisma.AgentUpdateWithoutMarketplacesInput, Prisma.AgentUncheckedUpdateWithoutMarketplacesInput>
3223
+ }
3224
+
3225
+ export type AgentUpdateWithoutMarketplacesInput = {
3226
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3227
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3228
+ slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3229
+ slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3230
+ anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3231
+ selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3232
+ repos?: Prisma.AgentUpdatereposInput | string[]
3233
+ reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3234
+ patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3235
+ restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3236
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3237
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3238
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3239
+ ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3240
+ anthropicIdentityName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3241
+ anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3242
+ anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3243
+ k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3244
+ podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3245
+ autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3246
+ allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3247
+ minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
3248
+ maxFindings?: Prisma.IntFieldUpdateOperationsInput | number
3249
+ cleanupMergedWorktrees?: Prisma.BoolFieldUpdateOperationsInput | boolean
3250
+ cleanupAfterDays?: Prisma.IntFieldUpdateOperationsInput | number
3251
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3252
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3253
+ account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
3254
+ envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3255
+ cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
3256
+ tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3257
+ tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
3258
+ plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
3259
+ members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
3260
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
3261
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
3262
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUpdateOneWithoutAgentNestedInput
3263
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUpdateManyWithoutAgentNestedInput
3264
+ }
3265
+
3266
+ export type AgentUncheckedUpdateWithoutMarketplacesInput = {
3267
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3268
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3269
+ slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3270
+ slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3271
+ anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3272
+ selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3273
+ repos?: Prisma.AgentUpdatereposInput | string[]
3274
+ reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3275
+ patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3276
+ restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3277
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3278
+ accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3279
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3280
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3281
+ ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3282
+ anthropicIdentityName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3283
+ anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3284
+ anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3285
+ k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3286
+ podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3287
+ autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
3288
+ allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
3289
+ minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
3290
+ maxFindings?: Prisma.IntFieldUpdateOperationsInput | number
3291
+ cleanupMergedWorktrees?: Prisma.BoolFieldUpdateOperationsInput | boolean
3292
+ cleanupAfterDays?: Prisma.IntFieldUpdateOperationsInput | number
3293
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3294
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3295
+ envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3296
+ cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
3297
+ tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3298
+ tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
3299
+ plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
3300
+ members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
3301
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
3302
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
3303
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedUpdateOneWithoutAgentNestedInput
3304
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentNestedInput
3305
+ }
3306
+
3064
3307
  export type AgentCreateManyAccountInput = {
3065
3308
  id?: string
3066
3309
  name: string
@@ -3124,6 +3367,7 @@ export type AgentUpdateWithoutAccountInput = {
3124
3367
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3125
3368
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
3126
3369
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
3370
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
3127
3371
  members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
3128
3372
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
3129
3373
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
@@ -3164,6 +3408,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
3164
3408
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3165
3409
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
3166
3410
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
3411
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
3167
3412
  members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
3168
3413
  chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
3169
3414
  workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
@@ -3212,6 +3457,7 @@ export type AgentCountOutputType = {
3212
3457
  tools: number
3213
3458
  tokens: number
3214
3459
  plugins: number
3460
+ marketplaces: number
3215
3461
  members: number
3216
3462
  chatTokenUsage: number
3217
3463
  phaseMethodologies: number
@@ -3223,6 +3469,7 @@ export type AgentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
3223
3469
  tools?: boolean | AgentCountOutputTypeCountToolsArgs
3224
3470
  tokens?: boolean | AgentCountOutputTypeCountTokensArgs
3225
3471
  plugins?: boolean | AgentCountOutputTypeCountPluginsArgs
3472
+ marketplaces?: boolean | AgentCountOutputTypeCountMarketplacesArgs
3226
3473
  members?: boolean | AgentCountOutputTypeCountMembersArgs
3227
3474
  chatTokenUsage?: boolean | AgentCountOutputTypeCountChatTokenUsageArgs
3228
3475
  phaseMethodologies?: boolean | AgentCountOutputTypeCountPhaseMethodologiesArgs
@@ -3273,6 +3520,13 @@ export type AgentCountOutputTypeCountPluginsArgs<ExtArgs extends runtime.Types.E
3273
3520
  where?: Prisma.AgentPluginWhereInput
3274
3521
  }
3275
3522
 
3523
+ /**
3524
+ * AgentCountOutputType without action
3525
+ */
3526
+ export type AgentCountOutputTypeCountMarketplacesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3527
+ where?: Prisma.AgentMarketplaceWhereInput
3528
+ }
3529
+
3276
3530
  /**
3277
3531
  * AgentCountOutputType without action
3278
3532
  */
@@ -3330,6 +3584,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3330
3584
  tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>
3331
3585
  tokens?: boolean | Prisma.Agent$tokensArgs<ExtArgs>
3332
3586
  plugins?: boolean | Prisma.Agent$pluginsArgs<ExtArgs>
3587
+ marketplaces?: boolean | Prisma.Agent$marketplacesArgs<ExtArgs>
3333
3588
  members?: boolean | Prisma.Agent$membersArgs<ExtArgs>
3334
3589
  chatTokenUsage?: boolean | Prisma.Agent$chatTokenUsageArgs<ExtArgs>
3335
3590
  workQueueSnapshot?: boolean | Prisma.Agent$workQueueSnapshotArgs<ExtArgs>
@@ -3441,6 +3696,7 @@ export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3441
3696
  tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>
3442
3697
  tokens?: boolean | Prisma.Agent$tokensArgs<ExtArgs>
3443
3698
  plugins?: boolean | Prisma.Agent$pluginsArgs<ExtArgs>
3699
+ marketplaces?: boolean | Prisma.Agent$marketplacesArgs<ExtArgs>
3444
3700
  members?: boolean | Prisma.Agent$membersArgs<ExtArgs>
3445
3701
  chatTokenUsage?: boolean | Prisma.Agent$chatTokenUsageArgs<ExtArgs>
3446
3702
  workQueueSnapshot?: boolean | Prisma.Agent$workQueueSnapshotArgs<ExtArgs>
@@ -3464,6 +3720,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3464
3720
  tools: Prisma.$AgentToolPayload<ExtArgs>[]
3465
3721
  tokens: Prisma.$AgentTokenPayload<ExtArgs>[]
3466
3722
  plugins: Prisma.$AgentPluginPayload<ExtArgs>[]
3723
+ marketplaces: Prisma.$AgentMarketplacePayload<ExtArgs>[]
3467
3724
  members: Prisma.$AgentMemberPayload<ExtArgs>[]
3468
3725
  chatTokenUsage: Prisma.$AgentChatTokenUsageDailyByModelPayload<ExtArgs>[]
3469
3726
  workQueueSnapshot: Prisma.$AgentWorkQueueSnapshotPayload<ExtArgs> | null
@@ -3899,6 +4156,7 @@ export interface Prisma__AgentClient<T, Null = never, ExtArgs extends runtime.Ty
3899
4156
  tools<T extends Prisma.Agent$toolsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$toolsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentToolPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3900
4157
  tokens<T extends Prisma.Agent$tokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$tokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3901
4158
  plugins<T extends Prisma.Agent$pluginsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$pluginsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentPluginPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4159
+ marketplaces<T extends Prisma.Agent$marketplacesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$marketplacesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentMarketplacePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3902
4160
  members<T extends Prisma.Agent$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3903
4161
  chatTokenUsage<T extends Prisma.Agent$chatTokenUsageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$chatTokenUsageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentChatTokenUsageDailyByModelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3904
4162
  workQueueSnapshot<T extends Prisma.Agent$workQueueSnapshotArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$workQueueSnapshotArgs<ExtArgs>>): Prisma.Prisma__AgentWorkQueueSnapshotClient<runtime.Types.Result.GetResult<Prisma.$AgentWorkQueueSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
@@ -4500,6 +4758,30 @@ export type Agent$pluginsArgs<ExtArgs extends runtime.Types.Extensions.InternalA
4500
4758
  distinct?: Prisma.AgentPluginScalarFieldEnum | Prisma.AgentPluginScalarFieldEnum[]
4501
4759
  }
4502
4760
 
4761
+ /**
4762
+ * Agent.marketplaces
4763
+ */
4764
+ export type Agent$marketplacesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4765
+ /**
4766
+ * Select specific fields to fetch from the AgentMarketplace
4767
+ */
4768
+ select?: Prisma.AgentMarketplaceSelect<ExtArgs> | null
4769
+ /**
4770
+ * Omit specific fields from the AgentMarketplace
4771
+ */
4772
+ omit?: Prisma.AgentMarketplaceOmit<ExtArgs> | null
4773
+ /**
4774
+ * Choose, which related nodes to fetch as well
4775
+ */
4776
+ include?: Prisma.AgentMarketplaceInclude<ExtArgs> | null
4777
+ where?: Prisma.AgentMarketplaceWhereInput
4778
+ orderBy?: Prisma.AgentMarketplaceOrderByWithRelationInput | Prisma.AgentMarketplaceOrderByWithRelationInput[]
4779
+ cursor?: Prisma.AgentMarketplaceWhereUniqueInput
4780
+ take?: number
4781
+ skip?: number
4782
+ distinct?: Prisma.AgentMarketplaceScalarFieldEnum | Prisma.AgentMarketplaceScalarFieldEnum[]
4783
+ }
4784
+
4503
4785
  /**
4504
4786
  * Agent.members
4505
4787
  */