@wardby/cli 0.7.0 → 0.8.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.
Files changed (304) hide show
  1. package/.env.example +5 -5
  2. package/README.md +6 -1
  3. package/deploy/local/docker-compose.quickstart-coding.yml +6 -0
  4. package/dist/claude-coding-worker/driver.d.ts +12 -0
  5. package/dist/claude-coding-worker/driver.js +29 -7
  6. package/dist/claude-coding-worker/main.js +5 -1
  7. package/dist/claude-coding-worker/sdk.js +17 -1
  8. package/dist/claude-plugin/command.d.ts +61 -0
  9. package/dist/claude-plugin/command.js +376 -0
  10. package/dist/cli-help.d.ts +1 -1
  11. package/dist/cli-help.js +2 -1
  12. package/dist/cli.js +47 -3
  13. package/dist/coding/code-host.d.ts +16 -0
  14. package/dist/coding/code-host.js +60 -0
  15. package/dist/coding/mcp-token.d.ts +12 -0
  16. package/dist/coding/mcp-token.js +26 -0
  17. package/dist/coding/protocol.js +2 -0
  18. package/dist/coding/redact.js +6 -1
  19. package/dist/coding/transcript/recorder.d.ts +5 -4
  20. package/dist/coding/transcript/recorder.js +1 -1
  21. package/dist/coding-worker/debug-trace.d.ts +3 -1
  22. package/dist/coding-worker/debug-trace.js +4 -2
  23. package/dist/coding-worker/driver.js +8 -1
  24. package/dist/coding-worker/main.js +5 -1
  25. package/dist/coding-worker/mcp-config.d.ts +27 -0
  26. package/dist/coding-worker/mcp-config.js +32 -0
  27. package/dist/coding-worker/sdk.d.ts +36 -0
  28. package/dist/coding-worker/sdk.js +28 -1
  29. package/dist/coding-worker/types.d.ts +4 -0
  30. package/dist/config/mcp-call-limit.d.ts +8 -0
  31. package/dist/config/mcp-call-limit.js +18 -0
  32. package/dist/config/mcp-servers.d.ts +8 -0
  33. package/dist/config/mcp-servers.js +12 -0
  34. package/dist/config/test-simulators.d.ts +10 -0
  35. package/dist/config/test-simulators.js +28 -0
  36. package/dist/config/tool-timeout.d.ts +1 -0
  37. package/dist/config/tool-timeout.js +18 -0
  38. package/dist/core/coding-mcp.d.ts +36 -0
  39. package/dist/core/coding-mcp.js +253 -0
  40. package/dist/core/coding-repository.d.ts +46 -0
  41. package/dist/core/coding-repository.js +92 -0
  42. package/dist/core/delegation-slots.d.ts +27 -0
  43. package/dist/core/delegation-slots.js +44 -0
  44. package/dist/core/dispatch.d.ts +6 -2
  45. package/dist/core/dispatch.js +36 -11
  46. package/dist/core/error-code.js +1 -0
  47. package/dist/core/grants.d.ts +28 -3
  48. package/dist/core/grants.js +46 -4
  49. package/dist/core/host-events.js +7 -3
  50. package/dist/core/host-status.js +2 -2
  51. package/dist/core/issue-status.js +4 -3
  52. package/dist/core/mark-ready.d.ts +1 -1
  53. package/dist/core/mark-ready.js +1 -1
  54. package/dist/core/mcp-client/client.d.ts +47 -0
  55. package/dist/core/mcp-client/client.js +141 -0
  56. package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
  57. package/dist/core/mcp-client/jsonrpc.js +54 -0
  58. package/dist/core/mcp-client/results.d.ts +13 -0
  59. package/dist/core/mcp-client/results.js +42 -0
  60. package/dist/core/mcp-servers.d.ts +90 -0
  61. package/dist/core/mcp-servers.js +230 -0
  62. package/dist/core/mcp-tools.d.ts +108 -0
  63. package/dist/core/mcp-tools.js +287 -0
  64. package/dist/core/merge-order-check.js +38 -19
  65. package/dist/core/notification-dispatcher.js +2 -1
  66. package/dist/core/related-pull-requests.js +26 -10
  67. package/dist/core/review-fix.js +2 -2
  68. package/dist/core/review-host-tools.js +3 -1
  69. package/dist/core/runner.d.ts +66 -16
  70. package/dist/core/runner.js +281 -73
  71. package/dist/core/secret-broker-config.d.ts +2 -0
  72. package/dist/core/secret-broker-config.js +1 -1
  73. package/dist/core/secret-guard.d.ts +5 -2
  74. package/dist/core/secret-guard.js +22 -7
  75. package/dist/core/secrets.d.ts +11 -1
  76. package/dist/core/secrets.js +27 -1
  77. package/dist/core/serializable-retry.d.ts +18 -0
  78. package/dist/core/serializable-retry.js +43 -0
  79. package/dist/core/tool-admin.d.ts +5 -1
  80. package/dist/core/tool-admin.js +7 -2
  81. package/dist/core/tool-names.d.ts +13 -0
  82. package/dist/core/tool-names.js +20 -0
  83. package/dist/core/webhooks.d.ts +4 -0
  84. package/dist/core/webhooks.js +68 -49
  85. package/dist/core/workflow-run-events.js +2 -1
  86. package/dist/generated/prisma/browser.d.ts +31 -0
  87. package/dist/generated/prisma/client.d.ts +31 -0
  88. package/dist/generated/prisma/commonInputTypes.d.ts +50 -50
  89. package/dist/generated/prisma/internal/class.d.ts +66 -0
  90. package/dist/generated/prisma/internal/class.js +4 -4
  91. package/dist/generated/prisma/internal/prismaNamespace.d.ts +530 -1
  92. package/dist/generated/prisma/internal/prismaNamespace.js +75 -2
  93. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +79 -0
  94. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +75 -2
  95. package/dist/generated/prisma/models/Agent.d.ts +271 -0
  96. package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
  97. package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
  98. package/dist/generated/prisma/models/AgentRepository.d.ts +40 -1
  99. package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
  100. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +0 -7
  101. package/dist/generated/prisma/models/CodingProxySession.d.ts +119 -2
  102. package/dist/generated/prisma/models/CodingRun.d.ts +76 -1
  103. package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
  104. package/dist/generated/prisma/models/HostProvider.js +1 -0
  105. package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
  106. package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
  107. package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
  108. package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
  109. package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
  110. package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
  111. package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
  112. package/dist/generated/prisma/models/McpServer.js +1 -0
  113. package/dist/generated/prisma/models/NativeGatewayCall.d.ts +39 -1
  114. package/dist/generated/prisma/models/Principal.d.ts +167 -0
  115. package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
  116. package/dist/generated/prisma/models/Secret.d.ts +387 -0
  117. package/dist/generated/prisma/models/Tool.d.ts +223 -1
  118. package/dist/generated/prisma/models.d.ts +6 -0
  119. package/dist/help/search.js +12 -3
  120. package/dist/help-index.json +719 -47
  121. package/dist/import/create.js +16 -1
  122. package/dist/import/neutral-schema.d.ts +1 -0
  123. package/dist/import/neutral-schema.js +2 -0
  124. package/dist/mcp/auth/grants-cli.d.ts +6 -4
  125. package/dist/mcp/auth/grants-cli.js +42 -3
  126. package/dist/mcp/auth/resource-server.d.ts +3 -1
  127. package/dist/mcp/auth/resource-server.js +17 -2
  128. package/dist/mcp/context.d.ts +3 -0
  129. package/dist/mcp/index.js +11 -0
  130. package/dist/mcp/tools/agents.js +100 -15
  131. package/dist/mcp/tools/grants.js +66 -28
  132. package/dist/mcp/tools/host-providers.d.ts +2 -0
  133. package/dist/mcp/tools/host-providers.js +215 -0
  134. package/dist/mcp/tools/mcp-servers.d.ts +26 -0
  135. package/dist/mcp/tools/mcp-servers.js +481 -0
  136. package/dist/mcp/tools/repositories.js +50 -10
  137. package/dist/mcp/tools/runs.js +178 -18
  138. package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
  139. package/dist/mcp/tools/secret-elicitation.js +25 -2
  140. package/dist/mcp/tools/secrets.js +38 -4
  141. package/dist/mcp/tools/tools.d.ts +6 -4
  142. package/dist/mcp/tools/tools.js +40 -8
  143. package/dist/mcp/tools/trigger.js +28 -6
  144. package/dist/mcp/transport/http-limits.d.ts +2 -0
  145. package/dist/mcp/transport/http-limits.js +6 -2
  146. package/dist/mcp/webhooks/ingress.js +10 -0
  147. package/dist/native-worker/gateway-server.d.ts +14 -0
  148. package/dist/native-worker/gateway-server.js +28 -7
  149. package/dist/native-worker/gateway.d.ts +2 -0
  150. package/dist/native-worker/gateway.js +5 -1
  151. package/dist/native-worker/http-server.d.ts +4 -0
  152. package/dist/native-worker/http-server.js +51 -0
  153. package/dist/native-worker/ledger.d.ts +6 -2
  154. package/dist/native-worker/ledger.js +5 -4
  155. package/dist/native-worker/protocol.d.ts +1 -0
  156. package/dist/native-worker/protocol.js +4 -1
  157. package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
  158. package/dist/providers/coding-proxy/capability-hash.js +5 -0
  159. package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
  160. package/dist/providers/coding-proxy/mcp-route.js +166 -0
  161. package/dist/providers/coding-proxy/memory-ledger.d.ts +2 -0
  162. package/dist/providers/coding-proxy/memory-ledger.js +15 -0
  163. package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -0
  164. package/dist/providers/coding-proxy/prisma-ledger.js +30 -2
  165. package/dist/providers/coding-proxy/proxy.d.ts +7 -1
  166. package/dist/providers/coding-proxy/proxy.js +134 -34
  167. package/dist/providers/coding-proxy/runtime.d.ts +6 -0
  168. package/dist/providers/coding-proxy/runtime.js +32 -1
  169. package/dist/providers/coding-proxy/server.d.ts +3 -0
  170. package/dist/providers/coding-proxy/server.js +10 -0
  171. package/dist/providers/coding-proxy/types.d.ts +13 -0
  172. package/dist/providers/executor/composition.js +5 -0
  173. package/dist/providers/executor/container.d.ts +33 -1
  174. package/dist/providers/executor/container.js +76 -7
  175. package/dist/providers/host-tools/invoke.d.ts +37 -0
  176. package/dist/providers/host-tools/invoke.js +117 -0
  177. package/dist/providers/host-tools/operations.d.ts +65 -0
  178. package/dist/providers/host-tools/operations.js +149 -0
  179. package/dist/providers/host-tools/registry.d.ts +79 -0
  180. package/dist/providers/host-tools/registry.js +362 -0
  181. package/dist/providers/host-tools/request-guard.d.ts +17 -0
  182. package/dist/providers/host-tools/request-guard.js +99 -0
  183. package/dist/providers/host-tools/self-test.d.ts +64 -0
  184. package/dist/providers/host-tools/self-test.js +142 -0
  185. package/dist/providers/jobs/docker-isolation.d.ts +2 -2
  186. package/dist/providers/jobs/docker-isolation.js +30 -8
  187. package/dist/providers/jobs/docker.d.ts +8 -0
  188. package/dist/providers/jobs/docker.js +33 -9
  189. package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
  190. package/dist/providers/jobs/kubernetes-isolation.js +15 -2
  191. package/dist/providers/jobs/kubernetes.d.ts +5 -0
  192. package/dist/providers/jobs/kubernetes.js +6 -1
  193. package/dist/providers/jobs/types.d.ts +6 -0
  194. package/dist/providers/review-host/types.d.ts +6 -4
  195. package/dist/providers/review-host/types.js +1 -1
  196. package/dist/providers/vcs/git.d.ts +6 -2
  197. package/dist/providers/vcs/git.js +15 -4
  198. package/dist/providers/vcs/github.d.ts +2 -71
  199. package/dist/providers/vcs/github.js +8 -11
  200. package/dist/providers/vcs/index.d.ts +1 -1
  201. package/dist/providers/vcs/index.js +1 -1
  202. package/dist/providers/vcs/remote.d.ts +4 -0
  203. package/dist/providers/vcs/remote.js +7 -1
  204. package/dist/providers/vcs/routing.d.ts +12 -6
  205. package/dist/providers/vcs/routing.js +21 -6
  206. package/dist/providers/vcs/types.d.ts +71 -3
  207. package/dist/quickstart/index.d.ts +5 -0
  208. package/dist/quickstart/index.js +21 -0
  209. package/dist/quickstart-images.json +1 -1
  210. package/dist/sandbox/eval-core.d.ts +12 -2
  211. package/dist/sandbox/eval-core.js +20 -4
  212. package/dist/sandbox/host-functions.d.ts +4 -0
  213. package/dist/sandbox/host-functions.js +7 -2
  214. package/dist/sandbox/limits.d.ts +4 -1
  215. package/dist/sandbox/limits.js +4 -1
  216. package/dist/sandbox/run-in-sandbox.d.ts +6 -0
  217. package/dist/sandbox/run-in-sandbox.js +14 -2
  218. package/dist/sandbox/safe-fetch.d.ts +2 -0
  219. package/dist/sandbox/safe-fetch.js +1 -1
  220. package/dist/sandbox/secret-broker.d.ts +1 -0
  221. package/dist/sandbox/secret-broker.js +1 -1
  222. package/dist/sandbox/tool-timeout.d.ts +32 -0
  223. package/dist/sandbox/tool-timeout.js +52 -0
  224. package/dist/sandbox/user-tool.d.ts +8 -1
  225. package/dist/sandbox/user-tool.js +9 -3
  226. package/dist/viewer/graph.js +2 -1
  227. package/dist/wardby-bin.js +5 -0
  228. package/docs/README.md +11 -1
  229. package/docs/agent-recipes.md +37 -4
  230. package/docs/architecture-runtime.md +1 -1
  231. package/docs/claude-code-plugin.md +164 -0
  232. package/docs/code-review-agents.md +6 -0
  233. package/docs/coding-agent-setup.md +77 -1
  234. package/docs/coding-worker-byo-images.md +4 -2
  235. package/docs/coding-worker-isolation.md +78 -7
  236. package/docs/debugging-agent-runs.md +242 -0
  237. package/docs/getting-started-gke.md +5 -4
  238. package/docs/getting-started-identity-provider.md +43 -37
  239. package/docs/getting-started.md +8 -0
  240. package/docs/host-providers.md +294 -0
  241. package/docs/mcp-servers.md +254 -0
  242. package/docs/native-sandbox.md +25 -9
  243. package/docs/security-deployment.md +110 -31
  244. package/docs/tool-secrets.md +3 -0
  245. package/docs/viewer-api.md +6 -0
  246. package/docs/viewer-api.openapi.yml +1 -1
  247. package/help/admin-viewer.md +4 -0
  248. package/help/agent-recipes.md +33 -2
  249. package/help/brokered-secrets.md +3 -0
  250. package/help/build-claude-code-image.md +1 -1
  251. package/help/claude-code-run-pane.md +40 -0
  252. package/help/errors/coding-mcp-pins-unavailable.md +35 -0
  253. package/help/errors/database-auth-invalid.md +1 -1
  254. package/help/errors/host-provider-error.md +40 -0
  255. package/help/errors/host-tool-failed.md +36 -0
  256. package/help/errors/mcp-call-limit.md +22 -0
  257. package/help/errors/mcp-call-timeout.md +22 -0
  258. package/help/errors/mcp-server-auth-failed.md +22 -0
  259. package/help/errors/mcp-server-credentials-unavailable.md +45 -0
  260. package/help/errors/mcp-server-error.md +28 -0
  261. package/help/errors/mcp-server-unreachable.md +22 -0
  262. package/help/errors/mcp-servers-off.md +21 -0
  263. package/help/errors/mcp-tool-not-allowed.md +26 -0
  264. package/help/errors/mcp-tool-removed.md +22 -0
  265. package/help/errors/mcp-unavailable.md +25 -0
  266. package/help/errors/native-sandbox-capacity.md +1 -1
  267. package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
  268. package/help/errors/native-sandbox-docker-failed.md +1 -1
  269. package/help/errors/native-sandbox-gateway-error.md +1 -1
  270. package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
  271. package/help/errors/native-sandbox-image-not-pinned.md +1 -1
  272. package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
  273. package/help/errors/native-sandbox-network-unenforced.md +1 -1
  274. package/help/errors/native-sandbox-requires-catalog.md +1 -1
  275. package/help/errors/native-sandbox-unavailable.md +1 -1
  276. package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
  277. package/help/errors/native-sandbox-worker-exited.md +1 -1
  278. package/help/errors/native-sandbox-worker-lost.md +1 -1
  279. package/help/errors/native-sandbox-worker-unready.md +1 -1
  280. package/help/errors/repository-not-listed.md +36 -0
  281. package/help/errors/repository-required.md +36 -0
  282. package/help/errors/tool-timeout.md +38 -0
  283. package/help/host-providers.md +40 -0
  284. package/help/identity-and-access.md +4 -1
  285. package/help/mcp-servers.md +73 -0
  286. package/help/mcp.md +7 -2
  287. package/help/native-capabilities.md +27 -1
  288. package/help/native-sandbox.md +1 -1
  289. package/help/operating-agents.md +16 -0
  290. package/help/related-pull-requests.md +7 -3
  291. package/help/repo-instructions-and-skills.md +3 -1
  292. package/help/resume-runs-locally.md +3 -0
  293. package/help/stop-run.md +1 -1
  294. package/help/troubleshooting/coding-workers.md +9 -1
  295. package/help/troubleshooting/debugging-agent-runs.md +29 -0
  296. package/package.json +2 -1
  297. package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
  298. package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
  299. package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
  300. package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
  301. package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
  302. package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
  303. package/prisma/schema.prisma +159 -14
  304. package/scripts/git-askpass.sh +1 -1
@@ -335,6 +335,7 @@ export type AgentWhereInput = {
335
335
  repositories?: Prisma.AgentRepositoryListRelationFilter;
336
336
  deferredReviews?: Prisma.DeferredReviewListRelationFilter;
337
337
  issueProjects?: Prisma.AgentIssueProjectListRelationFilter;
338
+ mcpServers?: Prisma.AgentMcpServerListRelationFilter;
338
339
  notificationChannels?: Prisma.NotificationChannelListRelationFilter;
339
340
  budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
340
341
  subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
@@ -374,6 +375,7 @@ export type AgentOrderByWithRelationInput = {
374
375
  repositories?: Prisma.AgentRepositoryOrderByRelationAggregateInput;
375
376
  deferredReviews?: Prisma.DeferredReviewOrderByRelationAggregateInput;
376
377
  issueProjects?: Prisma.AgentIssueProjectOrderByRelationAggregateInput;
378
+ mcpServers?: Prisma.AgentMcpServerOrderByRelationAggregateInput;
377
379
  notificationChannels?: Prisma.NotificationChannelOrderByRelationAggregateInput;
378
380
  budgetGroup?: Prisma.BudgetGroupOrderByWithRelationInput;
379
381
  subAgentEdgesAsParent?: Prisma.AgentSubAgentOrderByRelationAggregateInput;
@@ -416,6 +418,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
416
418
  repositories?: Prisma.AgentRepositoryListRelationFilter;
417
419
  deferredReviews?: Prisma.DeferredReviewListRelationFilter;
418
420
  issueProjects?: Prisma.AgentIssueProjectListRelationFilter;
421
+ mcpServers?: Prisma.AgentMcpServerListRelationFilter;
419
422
  notificationChannels?: Prisma.NotificationChannelListRelationFilter;
420
423
  budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
421
424
  subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
@@ -511,6 +514,7 @@ export type AgentCreateInput = {
511
514
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
512
515
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
513
516
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
517
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
514
518
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
515
519
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
516
520
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -549,6 +553,7 @@ export type AgentUncheckedCreateInput = {
549
553
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
550
554
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
551
555
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
556
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
552
557
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
553
558
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
554
559
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -585,6 +590,7 @@ export type AgentUpdateInput = {
585
590
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
586
591
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
587
592
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
593
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
588
594
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
589
595
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
590
596
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -623,6 +629,7 @@ export type AgentUncheckedUpdateInput = {
623
629
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
624
630
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
625
631
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
632
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
626
633
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
627
634
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
628
635
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1046,6 +1053,18 @@ export type AgentUpdateOneRequiredWithoutIssueProjectsNestedInput = {
1046
1053
  connect?: Prisma.AgentWhereUniqueInput;
1047
1054
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutIssueProjectsInput, Prisma.AgentUpdateWithoutIssueProjectsInput>, Prisma.AgentUncheckedUpdateWithoutIssueProjectsInput>;
1048
1055
  };
1056
+ export type AgentCreateNestedOneWithoutMcpServersInput = {
1057
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
1058
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMcpServersInput;
1059
+ connect?: Prisma.AgentWhereUniqueInput;
1060
+ };
1061
+ export type AgentUpdateOneRequiredWithoutMcpServersNestedInput = {
1062
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
1063
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMcpServersInput;
1064
+ upsert?: Prisma.AgentUpsertWithoutMcpServersInput;
1065
+ connect?: Prisma.AgentWhereUniqueInput;
1066
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutMcpServersInput, Prisma.AgentUpdateWithoutMcpServersInput>, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
1067
+ };
1049
1068
  export type AgentCreateNestedOneWithoutNotificationChannelsInput = {
1050
1069
  create?: Prisma.XOR<Prisma.AgentCreateWithoutNotificationChannelsInput, Prisma.AgentUncheckedCreateWithoutNotificationChannelsInput>;
1051
1070
  connectOrCreate?: Prisma.AgentCreateOrConnectWithoutNotificationChannelsInput;
@@ -1092,6 +1111,7 @@ export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
1092
1111
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1093
1112
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1094
1113
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1114
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1095
1115
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1096
1116
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1097
1117
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -1129,6 +1149,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsParentInput = {
1129
1149
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1130
1150
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1131
1151
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1152
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1132
1153
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1133
1154
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
1134
1155
  };
@@ -1168,6 +1189,7 @@ export type AgentCreateWithoutSubAgentEdgesAsChildInput = {
1168
1189
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1169
1190
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1170
1191
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1192
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1171
1193
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1172
1194
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1173
1195
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1205,6 +1227,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsChildInput = {
1205
1227
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1206
1228
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1207
1229
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1230
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1208
1231
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1209
1232
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1210
1233
  };
@@ -1253,6 +1276,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsParentInput = {
1253
1276
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1254
1277
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1255
1278
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1279
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1256
1280
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1257
1281
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1258
1282
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -1290,6 +1314,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsParentInput = {
1290
1314
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1291
1315
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1292
1316
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1317
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1293
1318
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1294
1319
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
1295
1320
  };
@@ -1334,6 +1359,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsChildInput = {
1334
1359
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1335
1360
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1336
1361
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1362
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1337
1363
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1338
1364
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1339
1365
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1371,6 +1397,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsChildInput = {
1371
1397
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1372
1398
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1373
1399
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1400
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1374
1401
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1375
1402
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1376
1403
  };
@@ -1406,6 +1433,7 @@ export type AgentCreateWithoutBudgetGroupInput = {
1406
1433
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1407
1434
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1408
1435
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1436
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1409
1437
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1410
1438
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
1411
1439
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -1442,6 +1470,7 @@ export type AgentUncheckedCreateWithoutBudgetGroupInput = {
1442
1470
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1443
1471
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1444
1472
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1473
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1445
1474
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1446
1475
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1447
1476
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1526,6 +1555,7 @@ export type AgentCreateWithoutToolsInput = {
1526
1555
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1527
1556
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1528
1557
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1558
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1529
1559
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1530
1560
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1531
1561
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1563,6 +1593,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
1563
1593
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1564
1594
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1565
1595
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1596
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1566
1597
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1567
1598
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1568
1599
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1611,6 +1642,7 @@ export type AgentUpdateWithoutToolsInput = {
1611
1642
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1612
1643
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1613
1644
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1645
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1614
1646
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1615
1647
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1616
1648
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1648,6 +1680,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
1648
1680
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1649
1681
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1650
1682
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1683
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1651
1684
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1652
1685
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1653
1686
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1683,6 +1716,7 @@ export type AgentCreateWithoutDatastoresInput = {
1683
1716
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1684
1717
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1685
1718
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1719
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1686
1720
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1687
1721
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1688
1722
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1720,6 +1754,7 @@ export type AgentUncheckedCreateWithoutDatastoresInput = {
1720
1754
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1721
1755
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1722
1756
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1757
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1723
1758
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1724
1759
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1725
1760
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1768,6 +1803,7 @@ export type AgentUpdateWithoutDatastoresInput = {
1768
1803
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1769
1804
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1770
1805
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1806
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1771
1807
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1772
1808
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1773
1809
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1805,6 +1841,7 @@ export type AgentUncheckedUpdateWithoutDatastoresInput = {
1805
1841
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1806
1842
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1807
1843
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1844
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1808
1845
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1809
1846
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1810
1847
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1840,6 +1877,7 @@ export type AgentCreateWithoutRunsInput = {
1840
1877
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1841
1878
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1842
1879
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1880
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1843
1881
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1844
1882
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1845
1883
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1877,6 +1915,7 @@ export type AgentUncheckedCreateWithoutRunsInput = {
1877
1915
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1878
1916
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1879
1917
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1918
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1880
1919
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1881
1920
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1882
1921
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1925,6 +1964,7 @@ export type AgentUpdateWithoutRunsInput = {
1925
1964
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1926
1965
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1927
1966
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1967
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1928
1968
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1929
1969
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1930
1970
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1962,6 +2002,7 @@ export type AgentUncheckedUpdateWithoutRunsInput = {
1962
2002
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1963
2003
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1964
2004
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2005
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1965
2006
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1966
2007
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1967
2008
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1997,6 +2038,7 @@ export type AgentCreateWithoutCodingProfileInput = {
1997
2038
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1998
2039
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1999
2040
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2041
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2000
2042
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2001
2043
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2002
2044
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2034,6 +2076,7 @@ export type AgentUncheckedCreateWithoutCodingProfileInput = {
2034
2076
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2035
2077
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2036
2078
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2079
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2037
2080
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2038
2081
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2039
2082
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2082,6 +2125,7 @@ export type AgentUpdateWithoutCodingProfileInput = {
2082
2125
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2083
2126
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2084
2127
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2128
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2085
2129
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2086
2130
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2087
2131
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2119,6 +2163,7 @@ export type AgentUncheckedUpdateWithoutCodingProfileInput = {
2119
2163
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2120
2164
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2121
2165
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2166
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2122
2167
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2123
2168
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2124
2169
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2154,6 +2199,7 @@ export type AgentCreateWithoutOwnerInput = {
2154
2199
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2155
2200
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2156
2201
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2202
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2157
2203
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2158
2204
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2159
2205
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2191,6 +2237,7 @@ export type AgentUncheckedCreateWithoutOwnerInput = {
2191
2237
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2192
2238
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2193
2239
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2240
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2194
2241
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2195
2242
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2196
2243
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2247,6 +2294,7 @@ export type AgentCreateWithoutSecretsInput = {
2247
2294
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2248
2295
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2249
2296
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2297
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2250
2298
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2251
2299
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2252
2300
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2284,6 +2332,7 @@ export type AgentUncheckedCreateWithoutSecretsInput = {
2284
2332
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2285
2333
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2286
2334
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2335
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2287
2336
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2288
2337
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2289
2338
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2332,6 +2381,7 @@ export type AgentUpdateWithoutSecretsInput = {
2332
2381
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2333
2382
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2334
2383
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2384
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2335
2385
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2336
2386
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2337
2387
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2369,6 +2419,7 @@ export type AgentUncheckedUpdateWithoutSecretsInput = {
2369
2419
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2370
2420
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2371
2421
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2422
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2372
2423
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2373
2424
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2374
2425
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2404,6 +2455,7 @@ export type AgentCreateWithoutWebhooksInput = {
2404
2455
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2405
2456
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2406
2457
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2458
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2407
2459
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2408
2460
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2409
2461
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2441,6 +2493,7 @@ export type AgentUncheckedCreateWithoutWebhooksInput = {
2441
2493
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2442
2494
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2443
2495
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2496
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2444
2497
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2445
2498
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2446
2499
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2489,6 +2542,7 @@ export type AgentUpdateWithoutWebhooksInput = {
2489
2542
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2490
2543
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2491
2544
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2545
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2492
2546
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2493
2547
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2494
2548
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2526,6 +2580,7 @@ export type AgentUncheckedUpdateWithoutWebhooksInput = {
2526
2580
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2527
2581
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2528
2582
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2583
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2529
2584
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2530
2585
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2531
2586
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2561,6 +2616,7 @@ export type AgentCreateWithoutRepositoriesInput = {
2561
2616
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2562
2617
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2563
2618
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2619
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2564
2620
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2565
2621
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2566
2622
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2598,6 +2654,7 @@ export type AgentUncheckedCreateWithoutRepositoriesInput = {
2598
2654
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2599
2655
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2600
2656
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2657
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2601
2658
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2602
2659
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2603
2660
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2646,6 +2703,7 @@ export type AgentUpdateWithoutRepositoriesInput = {
2646
2703
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2647
2704
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2648
2705
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2706
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2649
2707
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2650
2708
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2651
2709
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2683,6 +2741,7 @@ export type AgentUncheckedUpdateWithoutRepositoriesInput = {
2683
2741
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2684
2742
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2685
2743
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2744
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2686
2745
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2687
2746
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2688
2747
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2718,6 +2777,7 @@ export type AgentCreateWithoutDeferredReviewsInput = {
2718
2777
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2719
2778
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2720
2779
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2780
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2721
2781
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2722
2782
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2723
2783
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2755,6 +2815,7 @@ export type AgentUncheckedCreateWithoutDeferredReviewsInput = {
2755
2815
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2756
2816
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2757
2817
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2818
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2758
2819
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2759
2820
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2760
2821
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2803,6 +2864,7 @@ export type AgentUpdateWithoutDeferredReviewsInput = {
2803
2864
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2804
2865
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2805
2866
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2867
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2806
2868
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2807
2869
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2808
2870
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2840,6 +2902,7 @@ export type AgentUncheckedUpdateWithoutDeferredReviewsInput = {
2840
2902
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2841
2903
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2842
2904
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2905
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2843
2906
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2844
2907
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2845
2908
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2875,6 +2938,7 @@ export type AgentCreateWithoutIssueProjectsInput = {
2875
2938
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2876
2939
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2877
2940
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2941
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2878
2942
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2879
2943
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2880
2944
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2912,6 +2976,7 @@ export type AgentUncheckedCreateWithoutIssueProjectsInput = {
2912
2976
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2913
2977
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2914
2978
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2979
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2915
2980
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2916
2981
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2917
2982
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2960,6 +3025,7 @@ export type AgentUpdateWithoutIssueProjectsInput = {
2960
3025
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2961
3026
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2962
3027
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3028
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2963
3029
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2964
3030
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2965
3031
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2997,6 +3063,168 @@ export type AgentUncheckedUpdateWithoutIssueProjectsInput = {
2997
3063
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2998
3064
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2999
3065
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3066
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3067
+ notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3068
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3069
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
3070
+ };
3071
+ export type AgentCreateWithoutMcpServersInput = {
3072
+ id?: string;
3073
+ name: string;
3074
+ systemPrompt: string;
3075
+ model: string;
3076
+ budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
3077
+ allowedOverrunPercent?: number;
3078
+ createdAt?: Date | string;
3079
+ updatedAt?: Date | string;
3080
+ kind?: $Enums.AgentKind;
3081
+ schedule?: string | null;
3082
+ timezone?: string;
3083
+ scheduleEnabled?: boolean;
3084
+ lastScheduledAt?: Date | string | null;
3085
+ maxTurns?: number;
3086
+ maxDelegationsPerRun?: number;
3087
+ parallelDelegations?: boolean;
3088
+ defectProjectKey?: string | null;
3089
+ defectIssueType?: string | null;
3090
+ memoryEnabled?: boolean;
3091
+ effort?: string | null;
3092
+ nativeExecutionMode?: $Enums.NativeExecutionMode;
3093
+ runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
3094
+ codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
3095
+ tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
3096
+ owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
3097
+ secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
3098
+ datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
3099
+ webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
3100
+ repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
3101
+ deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
3102
+ issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
3103
+ notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
3104
+ budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
3105
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
3106
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
3107
+ };
3108
+ export type AgentUncheckedCreateWithoutMcpServersInput = {
3109
+ id?: string;
3110
+ name: string;
3111
+ systemPrompt: string;
3112
+ model: string;
3113
+ budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
3114
+ allowedOverrunPercent?: number;
3115
+ createdAt?: Date | string;
3116
+ updatedAt?: Date | string;
3117
+ kind?: $Enums.AgentKind;
3118
+ schedule?: string | null;
3119
+ timezone?: string;
3120
+ scheduleEnabled?: boolean;
3121
+ lastScheduledAt?: Date | string | null;
3122
+ maxTurns?: number;
3123
+ maxDelegationsPerRun?: number;
3124
+ parallelDelegations?: boolean;
3125
+ ownerId?: string | null;
3126
+ defectProjectKey?: string | null;
3127
+ defectIssueType?: string | null;
3128
+ budgetGroupId?: string | null;
3129
+ memoryEnabled?: boolean;
3130
+ effort?: string | null;
3131
+ nativeExecutionMode?: $Enums.NativeExecutionMode;
3132
+ runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
3133
+ codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
3134
+ tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
3135
+ secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
3136
+ datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
3137
+ webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
3138
+ repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
3139
+ deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
3140
+ issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
3141
+ notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
3142
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
3143
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
3144
+ };
3145
+ export type AgentCreateOrConnectWithoutMcpServersInput = {
3146
+ where: Prisma.AgentWhereUniqueInput;
3147
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
3148
+ };
3149
+ export type AgentUpsertWithoutMcpServersInput = {
3150
+ update: Prisma.XOR<Prisma.AgentUpdateWithoutMcpServersInput, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
3151
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
3152
+ where?: Prisma.AgentWhereInput;
3153
+ };
3154
+ export type AgentUpdateToOneWithWhereWithoutMcpServersInput = {
3155
+ where?: Prisma.AgentWhereInput;
3156
+ data: Prisma.XOR<Prisma.AgentUpdateWithoutMcpServersInput, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
3157
+ };
3158
+ export type AgentUpdateWithoutMcpServersInput = {
3159
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3160
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
3161
+ systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
3162
+ model?: Prisma.StringFieldUpdateOperationsInput | string;
3163
+ budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
3164
+ allowedOverrunPercent?: Prisma.IntFieldUpdateOperationsInput | number;
3165
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3166
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3167
+ kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
3168
+ schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3169
+ timezone?: Prisma.StringFieldUpdateOperationsInput | string;
3170
+ scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3171
+ lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3172
+ maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
3173
+ maxDelegationsPerRun?: Prisma.IntFieldUpdateOperationsInput | number;
3174
+ parallelDelegations?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3175
+ defectProjectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3176
+ defectIssueType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3177
+ memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3178
+ effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3179
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3180
+ runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
3181
+ codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
3182
+ tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
3183
+ owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
3184
+ secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
3185
+ datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
3186
+ webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
3187
+ repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3188
+ deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3189
+ issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3190
+ notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3191
+ budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3192
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3193
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
3194
+ };
3195
+ export type AgentUncheckedUpdateWithoutMcpServersInput = {
3196
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3197
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
3198
+ systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
3199
+ model?: Prisma.StringFieldUpdateOperationsInput | string;
3200
+ budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
3201
+ allowedOverrunPercent?: Prisma.IntFieldUpdateOperationsInput | number;
3202
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3203
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3204
+ kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
3205
+ schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3206
+ timezone?: Prisma.StringFieldUpdateOperationsInput | string;
3207
+ scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3208
+ lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3209
+ maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
3210
+ maxDelegationsPerRun?: Prisma.IntFieldUpdateOperationsInput | number;
3211
+ parallelDelegations?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3212
+ ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3213
+ defectProjectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3214
+ defectIssueType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3215
+ budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3216
+ memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3217
+ effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3218
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3219
+ runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
3220
+ codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
3221
+ tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
3222
+ secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
3223
+ datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
3224
+ webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
3225
+ repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3226
+ deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3227
+ issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3000
3228
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3001
3229
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3002
3230
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3033,6 +3261,7 @@ export type AgentCreateWithoutNotificationChannelsInput = {
3033
3261
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
3034
3262
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
3035
3263
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
3264
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
3036
3265
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
3037
3266
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
3038
3267
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -3070,6 +3299,7 @@ export type AgentUncheckedCreateWithoutNotificationChannelsInput = {
3070
3299
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
3071
3300
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
3072
3301
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
3302
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
3073
3303
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
3074
3304
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
3075
3305
  };
@@ -3118,6 +3348,7 @@ export type AgentUpdateWithoutNotificationChannelsInput = {
3118
3348
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3119
3349
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3120
3350
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3351
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3121
3352
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3122
3353
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3123
3354
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -3155,6 +3386,7 @@ export type AgentUncheckedUpdateWithoutNotificationChannelsInput = {
3155
3386
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3156
3387
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3157
3388
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3389
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3158
3390
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3159
3391
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
3160
3392
  };
@@ -3214,6 +3446,7 @@ export type AgentUpdateWithoutBudgetGroupInput = {
3214
3446
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3215
3447
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3216
3448
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3449
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3217
3450
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3218
3451
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3219
3452
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -3250,6 +3483,7 @@ export type AgentUncheckedUpdateWithoutBudgetGroupInput = {
3250
3483
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3251
3484
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3252
3485
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3486
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3253
3487
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3254
3488
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3255
3489
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3333,6 +3567,7 @@ export type AgentUpdateWithoutOwnerInput = {
3333
3567
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3334
3568
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3335
3569
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3570
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3336
3571
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3337
3572
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3338
3573
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -3370,6 +3605,7 @@ export type AgentUncheckedUpdateWithoutOwnerInput = {
3370
3605
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3371
3606
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3372
3607
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3608
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3373
3609
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3374
3610
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3375
3611
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3410,6 +3646,7 @@ export type AgentCountOutputType = {
3410
3646
  repositories: number;
3411
3647
  deferredReviews: number;
3412
3648
  issueProjects: number;
3649
+ mcpServers: number;
3413
3650
  notificationChannels: number;
3414
3651
  subAgentEdgesAsParent: number;
3415
3652
  subAgentEdgesAsChild: number;
@@ -3423,6 +3660,7 @@ export type AgentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
3423
3660
  repositories?: boolean | AgentCountOutputTypeCountRepositoriesArgs;
3424
3661
  deferredReviews?: boolean | AgentCountOutputTypeCountDeferredReviewsArgs;
3425
3662
  issueProjects?: boolean | AgentCountOutputTypeCountIssueProjectsArgs;
3663
+ mcpServers?: boolean | AgentCountOutputTypeCountMcpServersArgs;
3426
3664
  notificationChannels?: boolean | AgentCountOutputTypeCountNotificationChannelsArgs;
3427
3665
  subAgentEdgesAsParent?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsParentArgs;
3428
3666
  subAgentEdgesAsChild?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsChildArgs;
@@ -3484,6 +3722,12 @@ export type AgentCountOutputTypeCountDeferredReviewsArgs<ExtArgs extends runtime
3484
3722
  export type AgentCountOutputTypeCountIssueProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3485
3723
  where?: Prisma.AgentIssueProjectWhereInput;
3486
3724
  };
3725
+ /**
3726
+ * AgentCountOutputType without action
3727
+ */
3728
+ export type AgentCountOutputTypeCountMcpServersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3729
+ where?: Prisma.AgentMcpServerWhereInput;
3730
+ };
3487
3731
  /**
3488
3732
  * AgentCountOutputType without action
3489
3733
  */
@@ -3536,6 +3780,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3536
3780
  repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
3537
3781
  deferredReviews?: boolean | Prisma.Agent$deferredReviewsArgs<ExtArgs>;
3538
3782
  issueProjects?: boolean | Prisma.Agent$issueProjectsArgs<ExtArgs>;
3783
+ mcpServers?: boolean | Prisma.Agent$mcpServersArgs<ExtArgs>;
3539
3784
  notificationChannels?: boolean | Prisma.Agent$notificationChannelsArgs<ExtArgs>;
3540
3785
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3541
3786
  subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
@@ -3633,6 +3878,7 @@ export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3633
3878
  repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
3634
3879
  deferredReviews?: boolean | Prisma.Agent$deferredReviewsArgs<ExtArgs>;
3635
3880
  issueProjects?: boolean | Prisma.Agent$issueProjectsArgs<ExtArgs>;
3881
+ mcpServers?: boolean | Prisma.Agent$mcpServersArgs<ExtArgs>;
3636
3882
  notificationChannels?: boolean | Prisma.Agent$notificationChannelsArgs<ExtArgs>;
3637
3883
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3638
3884
  subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
@@ -3660,6 +3906,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3660
3906
  repositories: Prisma.$AgentRepositoryPayload<ExtArgs>[];
3661
3907
  deferredReviews: Prisma.$DeferredReviewPayload<ExtArgs>[];
3662
3908
  issueProjects: Prisma.$AgentIssueProjectPayload<ExtArgs>[];
3909
+ mcpServers: Prisma.$AgentMcpServerPayload<ExtArgs>[];
3663
3910
  notificationChannels: Prisma.$NotificationChannelPayload<ExtArgs>[];
3664
3911
  budgetGroup: Prisma.$BudgetGroupPayload<ExtArgs> | null;
3665
3912
  /**
@@ -4065,6 +4312,7 @@ export interface Prisma__AgentClient<T, Null = never, ExtArgs extends runtime.Ty
4065
4312
  repositories<T extends Prisma.Agent$repositoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$repositoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentRepositoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4066
4313
  deferredReviews<T extends Prisma.Agent$deferredReviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$deferredReviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeferredReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4067
4314
  issueProjects<T extends Prisma.Agent$issueProjectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$issueProjectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4315
+ mcpServers<T extends Prisma.Agent$mcpServersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$mcpServersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentMcpServerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4068
4316
  notificationChannels<T extends Prisma.Agent$notificationChannelsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$notificationChannelsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4069
4317
  budgetGroup<T extends Prisma.Agent$budgetGroupArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$budgetGroupArgs<ExtArgs>>): Prisma.Prisma__BudgetGroupClient<runtime.Types.Result.GetResult<Prisma.$BudgetGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
4070
4318
  subAgentEdgesAsParent<T extends Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSubAgentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -4720,6 +4968,29 @@ export type Agent$issueProjectsArgs<ExtArgs extends runtime.Types.Extensions.Int
4720
4968
  skip?: number;
4721
4969
  distinct?: Prisma.AgentIssueProjectScalarFieldEnum | Prisma.AgentIssueProjectScalarFieldEnum[];
4722
4970
  };
4971
+ /**
4972
+ * Agent.mcpServers
4973
+ */
4974
+ export type Agent$mcpServersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4975
+ /**
4976
+ * Select specific fields to fetch from the AgentMcpServer
4977
+ */
4978
+ select?: Prisma.AgentMcpServerSelect<ExtArgs> | null;
4979
+ /**
4980
+ * Omit specific fields from the AgentMcpServer
4981
+ */
4982
+ omit?: Prisma.AgentMcpServerOmit<ExtArgs> | null;
4983
+ /**
4984
+ * Choose, which related nodes to fetch as well
4985
+ */
4986
+ include?: Prisma.AgentMcpServerInclude<ExtArgs> | null;
4987
+ where?: Prisma.AgentMcpServerWhereInput;
4988
+ orderBy?: Prisma.AgentMcpServerOrderByWithRelationInput | Prisma.AgentMcpServerOrderByWithRelationInput[];
4989
+ cursor?: Prisma.AgentMcpServerWhereUniqueInput;
4990
+ take?: number;
4991
+ skip?: number;
4992
+ distinct?: Prisma.AgentMcpServerScalarFieldEnum | Prisma.AgentMcpServerScalarFieldEnum[];
4993
+ };
4723
4994
  /**
4724
4995
  * Agent.notificationChannels
4725
4996
  */