@wardby/cli 0.7.0 → 0.9.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 (367) hide show
  1. package/.env.example +5 -5
  2. package/README.md +6 -1
  3. package/deploy/local/docker-compose.quickstart-coding.yml +11 -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 +64 -0
  9. package/dist/claude-plugin/command.js +379 -0
  10. package/dist/cli-help.d.ts +1 -1
  11. package/dist/cli-help.js +2 -1
  12. package/dist/cli.js +71 -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 +3 -9
  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 +39 -11
  46. package/dist/core/engine-native.d.ts +2 -0
  47. package/dist/core/engine-native.js +13 -0
  48. package/dist/core/error-code.js +2 -0
  49. package/dist/core/grants.d.ts +28 -3
  50. package/dist/core/grants.js +46 -4
  51. package/dist/core/host-events.js +7 -3
  52. package/dist/core/host-status.js +2 -2
  53. package/dist/core/issue-status.js +4 -3
  54. package/dist/core/listen-address.d.ts +10 -0
  55. package/dist/core/listen-address.js +14 -0
  56. package/dist/core/mark-ready.d.ts +1 -1
  57. package/dist/core/mark-ready.js +1 -1
  58. package/dist/core/mcp-client/client.d.ts +47 -0
  59. package/dist/core/mcp-client/client.js +141 -0
  60. package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
  61. package/dist/core/mcp-client/jsonrpc.js +54 -0
  62. package/dist/core/mcp-client/results.d.ts +13 -0
  63. package/dist/core/mcp-client/results.js +42 -0
  64. package/dist/core/mcp-servers.d.ts +90 -0
  65. package/dist/core/mcp-servers.js +230 -0
  66. package/dist/core/mcp-tools.d.ts +108 -0
  67. package/dist/core/mcp-tools.js +287 -0
  68. package/dist/core/merge-order-check.js +38 -19
  69. package/dist/core/notification-dispatcher.js +2 -1
  70. package/dist/core/power-idle.d.ts +8 -2
  71. package/dist/core/power-idle.js +17 -3
  72. package/dist/core/power.d.ts +5 -0
  73. package/dist/core/power.js +5 -0
  74. package/dist/core/related-pull-requests.js +26 -10
  75. package/dist/core/retention-days.d.ts +5 -0
  76. package/dist/core/retention-days.js +14 -0
  77. package/dist/core/review-fix.js +2 -2
  78. package/dist/core/review-host-tools.js +3 -1
  79. package/dist/core/run-steps/config.d.ts +25 -0
  80. package/dist/core/run-steps/config.js +40 -0
  81. package/dist/core/run-steps/control-chars.d.ts +16 -0
  82. package/dist/core/run-steps/control-chars.js +26 -0
  83. package/dist/core/run-steps/detail.d.ts +32 -0
  84. package/dist/core/run-steps/detail.js +240 -0
  85. package/dist/core/run-steps/extract.d.ts +52 -0
  86. package/dist/core/run-steps/extract.js +467 -0
  87. package/dist/core/run-steps/ingress.d.ts +51 -0
  88. package/dist/core/run-steps/ingress.js +160 -0
  89. package/dist/core/run-steps/last-step.d.ts +15 -0
  90. package/dist/core/run-steps/last-step.js +35 -0
  91. package/dist/core/run-steps/native.d.ts +48 -0
  92. package/dist/core/run-steps/native.js +164 -0
  93. package/dist/core/run-steps/seen.d.ts +16 -0
  94. package/dist/core/run-steps/seen.js +35 -0
  95. package/dist/core/run-steps/summarize.d.ts +57 -0
  96. package/dist/core/run-steps/summarize.js +304 -0
  97. package/dist/core/run-steps/sweep.d.ts +21 -0
  98. package/dist/core/run-steps/sweep.js +41 -0
  99. package/dist/core/run-steps/types.d.ts +89 -0
  100. package/dist/core/run-steps/types.js +39 -0
  101. package/dist/core/run-steps/wire.d.ts +35 -0
  102. package/dist/core/run-steps/wire.js +47 -0
  103. package/dist/core/run-steps/writer.d.ts +49 -0
  104. package/dist/core/run-steps/writer.js +279 -0
  105. package/dist/core/runner.d.ts +70 -16
  106. package/dist/core/runner.js +296 -74
  107. package/dist/core/secret-broker-config.d.ts +2 -0
  108. package/dist/core/secret-broker-config.js +1 -1
  109. package/dist/core/secret-guard.d.ts +5 -2
  110. package/dist/core/secret-guard.js +22 -7
  111. package/dist/core/secrets.d.ts +11 -1
  112. package/dist/core/secrets.js +27 -1
  113. package/dist/core/serializable-retry.d.ts +18 -0
  114. package/dist/core/serializable-retry.js +43 -0
  115. package/dist/core/tool-admin.d.ts +5 -1
  116. package/dist/core/tool-admin.js +7 -2
  117. package/dist/core/tool-names.d.ts +13 -0
  118. package/dist/core/tool-names.js +20 -0
  119. package/dist/core/webhooks.d.ts +4 -0
  120. package/dist/core/webhooks.js +68 -49
  121. package/dist/core/workflow-run-events.js +2 -1
  122. package/dist/generated/prisma/browser.d.ts +39 -0
  123. package/dist/generated/prisma/client.d.ts +39 -0
  124. package/dist/generated/prisma/commonInputTypes.d.ts +80 -50
  125. package/dist/generated/prisma/enums.d.ts +6 -0
  126. package/dist/generated/prisma/enums.js +5 -0
  127. package/dist/generated/prisma/internal/class.d.ts +77 -0
  128. package/dist/generated/prisma/internal/class.js +4 -4
  129. package/dist/generated/prisma/internal/prismaNamespace.d.ts +632 -1
  130. package/dist/generated/prisma/internal/prismaNamespace.js +94 -3
  131. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +98 -0
  132. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +94 -3
  133. package/dist/generated/prisma/models/Agent.d.ts +372 -1
  134. package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
  135. package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
  136. package/dist/generated/prisma/models/AgentRepository.d.ts +40 -1
  137. package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
  138. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +0 -7
  139. package/dist/generated/prisma/models/CodingProxySession.d.ts +159 -2
  140. package/dist/generated/prisma/models/CodingRun.d.ts +76 -1
  141. package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
  142. package/dist/generated/prisma/models/HostProvider.js +1 -0
  143. package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
  144. package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
  145. package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
  146. package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
  147. package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
  148. package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
  149. package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
  150. package/dist/generated/prisma/models/McpServer.js +1 -0
  151. package/dist/generated/prisma/models/NativeGatewayCall.d.ts +39 -1
  152. package/dist/generated/prisma/models/Principal.d.ts +167 -0
  153. package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
  154. package/dist/generated/prisma/models/Run.d.ts +503 -1
  155. package/dist/generated/prisma/models/RunStep.d.ts +1453 -0
  156. package/dist/generated/prisma/models/RunStep.js +1 -0
  157. package/dist/generated/prisma/models/Secret.d.ts +387 -0
  158. package/dist/generated/prisma/models/Tool.d.ts +223 -1
  159. package/dist/generated/prisma/models.d.ts +7 -0
  160. package/dist/help/search.js +12 -3
  161. package/dist/help-index.json +812 -52
  162. package/dist/import/create.js +16 -1
  163. package/dist/import/neutral-schema.d.ts +1 -0
  164. package/dist/import/neutral-schema.js +2 -0
  165. package/dist/mcp/auth/access.d.ts +1 -0
  166. package/dist/mcp/auth/grants-cli.d.ts +6 -4
  167. package/dist/mcp/auth/grants-cli.js +42 -3
  168. package/dist/mcp/auth/resource-server.d.ts +3 -1
  169. package/dist/mcp/auth/resource-server.js +17 -2
  170. package/dist/mcp/context.d.ts +6 -0
  171. package/dist/mcp/index.js +21 -0
  172. package/dist/mcp/tools/agents.js +135 -20
  173. package/dist/mcp/tools/grants.js +66 -28
  174. package/dist/mcp/tools/host-providers.d.ts +2 -0
  175. package/dist/mcp/tools/host-providers.js +215 -0
  176. package/dist/mcp/tools/mcp-servers.d.ts +26 -0
  177. package/dist/mcp/tools/mcp-servers.js +481 -0
  178. package/dist/mcp/tools/power.js +2 -2
  179. package/dist/mcp/tools/repositories.js +50 -10
  180. package/dist/mcp/tools/run-access.d.ts +7 -0
  181. package/dist/mcp/tools/run-access.js +14 -0
  182. package/dist/mcp/tools/run-steps.d.ts +16 -0
  183. package/dist/mcp/tools/run-steps.js +85 -0
  184. package/dist/mcp/tools/runs.js +186 -18
  185. package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
  186. package/dist/mcp/tools/secret-elicitation.js +25 -2
  187. package/dist/mcp/tools/secrets.js +38 -4
  188. package/dist/mcp/tools/tools.d.ts +6 -4
  189. package/dist/mcp/tools/tools.js +40 -8
  190. package/dist/mcp/tools/trigger.js +28 -6
  191. package/dist/mcp/transport/http-limits.d.ts +2 -0
  192. package/dist/mcp/transport/http-limits.js +6 -2
  193. package/dist/mcp/webhooks/ingress.js +10 -0
  194. package/dist/native-worker/gateway-server.d.ts +18 -1
  195. package/dist/native-worker/gateway-server.js +38 -9
  196. package/dist/native-worker/gateway.d.ts +5 -0
  197. package/dist/native-worker/gateway.js +13 -1
  198. package/dist/native-worker/http-server.d.ts +6 -4
  199. package/dist/native-worker/http-server.js +53 -8
  200. package/dist/native-worker/ledger.d.ts +6 -2
  201. package/dist/native-worker/ledger.js +5 -4
  202. package/dist/native-worker/protocol.d.ts +1 -0
  203. package/dist/native-worker/protocol.js +4 -1
  204. package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
  205. package/dist/providers/coding-proxy/capability-hash.js +5 -0
  206. package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
  207. package/dist/providers/coding-proxy/mcp-route.js +166 -0
  208. package/dist/providers/coding-proxy/memory-ledger.d.ts +2 -0
  209. package/dist/providers/coding-proxy/memory-ledger.js +16 -0
  210. package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -0
  211. package/dist/providers/coding-proxy/prisma-ledger.js +36 -2
  212. package/dist/providers/coding-proxy/proxy.d.ts +33 -1
  213. package/dist/providers/coding-proxy/proxy.js +266 -75
  214. package/dist/providers/coding-proxy/run-step-forwarder.d.ts +42 -0
  215. package/dist/providers/coding-proxy/run-step-forwarder.js +206 -0
  216. package/dist/providers/coding-proxy/runtime.d.ts +13 -0
  217. package/dist/providers/coding-proxy/runtime.js +87 -4
  218. package/dist/providers/coding-proxy/server.d.ts +3 -0
  219. package/dist/providers/coding-proxy/server.js +10 -0
  220. package/dist/providers/coding-proxy/types.d.ts +18 -0
  221. package/dist/providers/engine/types.d.ts +26 -0
  222. package/dist/providers/executor/composition.js +5 -0
  223. package/dist/providers/executor/container.d.ts +47 -1
  224. package/dist/providers/executor/container.js +84 -8
  225. package/dist/providers/host-tools/invoke.d.ts +37 -0
  226. package/dist/providers/host-tools/invoke.js +117 -0
  227. package/dist/providers/host-tools/operations.d.ts +65 -0
  228. package/dist/providers/host-tools/operations.js +149 -0
  229. package/dist/providers/host-tools/registry.d.ts +79 -0
  230. package/dist/providers/host-tools/registry.js +362 -0
  231. package/dist/providers/host-tools/request-guard.d.ts +17 -0
  232. package/dist/providers/host-tools/request-guard.js +99 -0
  233. package/dist/providers/host-tools/self-test.d.ts +64 -0
  234. package/dist/providers/host-tools/self-test.js +142 -0
  235. package/dist/providers/jobs/docker-isolation.d.ts +2 -2
  236. package/dist/providers/jobs/docker-isolation.js +30 -8
  237. package/dist/providers/jobs/docker.d.ts +8 -0
  238. package/dist/providers/jobs/docker.js +33 -9
  239. package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
  240. package/dist/providers/jobs/kubernetes-isolation.js +15 -2
  241. package/dist/providers/jobs/kubernetes.d.ts +13 -0
  242. package/dist/providers/jobs/kubernetes.js +28 -5
  243. package/dist/providers/jobs/types.d.ts +6 -0
  244. package/dist/providers/review-host/types.d.ts +6 -4
  245. package/dist/providers/review-host/types.js +1 -1
  246. package/dist/providers/vcs/git.d.ts +6 -2
  247. package/dist/providers/vcs/git.js +15 -4
  248. package/dist/providers/vcs/github.d.ts +2 -71
  249. package/dist/providers/vcs/github.js +8 -11
  250. package/dist/providers/vcs/index.d.ts +1 -1
  251. package/dist/providers/vcs/index.js +1 -1
  252. package/dist/providers/vcs/remote.d.ts +4 -0
  253. package/dist/providers/vcs/remote.js +7 -1
  254. package/dist/providers/vcs/routing.d.ts +12 -6
  255. package/dist/providers/vcs/routing.js +21 -6
  256. package/dist/providers/vcs/types.d.ts +71 -3
  257. package/dist/quickstart/index.d.ts +5 -0
  258. package/dist/quickstart/index.js +21 -0
  259. package/dist/quickstart-images.json +1 -1
  260. package/dist/sandbox/eval-core.d.ts +12 -2
  261. package/dist/sandbox/eval-core.js +20 -4
  262. package/dist/sandbox/host-functions.d.ts +4 -0
  263. package/dist/sandbox/host-functions.js +7 -2
  264. package/dist/sandbox/limits.d.ts +4 -1
  265. package/dist/sandbox/limits.js +4 -1
  266. package/dist/sandbox/run-in-sandbox.d.ts +6 -0
  267. package/dist/sandbox/run-in-sandbox.js +14 -2
  268. package/dist/sandbox/safe-fetch.d.ts +2 -0
  269. package/dist/sandbox/safe-fetch.js +1 -1
  270. package/dist/sandbox/secret-broker.d.ts +1 -0
  271. package/dist/sandbox/secret-broker.js +1 -1
  272. package/dist/sandbox/tool-timeout.d.ts +32 -0
  273. package/dist/sandbox/tool-timeout.js +52 -0
  274. package/dist/sandbox/user-tool.d.ts +8 -1
  275. package/dist/sandbox/user-tool.js +9 -3
  276. package/dist/serve.js +26 -18
  277. package/dist/viewer/api-schema.d.ts +66 -0
  278. package/dist/viewer/api-schema.js +31 -0
  279. package/dist/viewer/graph.js +2 -1
  280. package/dist/viewer/openapi.js +2 -1
  281. package/dist/viewer/run-detail.d.ts +2 -0
  282. package/dist/viewer/run-detail.js +26 -1
  283. package/dist/wardby-bin.js +5 -0
  284. package/docs/README.md +11 -1
  285. package/docs/agent-recipes.md +37 -4
  286. package/docs/architecture-runtime.md +1 -1
  287. package/docs/claude-code-plugin.md +208 -0
  288. package/docs/code-review-agents.md +6 -0
  289. package/docs/coding-agent-setup.md +94 -1
  290. package/docs/coding-worker-byo-images.md +4 -2
  291. package/docs/coding-worker-isolation.md +94 -7
  292. package/docs/debugging-agent-runs.md +354 -0
  293. package/docs/getting-started-gke.md +33 -11
  294. package/docs/getting-started-identity-provider.md +43 -37
  295. package/docs/getting-started.md +8 -0
  296. package/docs/host-providers.md +294 -0
  297. package/docs/mcp-servers.md +263 -0
  298. package/docs/native-sandbox.md +31 -9
  299. package/docs/security-deployment.md +161 -31
  300. package/docs/tool-secrets.md +3 -0
  301. package/docs/viewer-api.md +27 -12
  302. package/docs/viewer-api.openapi.yml +78 -2
  303. package/help/admin-viewer.md +5 -0
  304. package/help/agent-recipes.md +33 -2
  305. package/help/brokered-secrets.md +3 -0
  306. package/help/build-claude-code-image.md +1 -1
  307. package/help/claude-code-run-pane.md +63 -0
  308. package/help/deploy-gke.md +5 -0
  309. package/help/errors/coding-mcp-gateway-unavailable.md +46 -0
  310. package/help/errors/coding-mcp-pins-unavailable.md +35 -0
  311. package/help/errors/database-auth-invalid.md +1 -1
  312. package/help/errors/host-provider-error.md +40 -0
  313. package/help/errors/host-tool-failed.md +36 -0
  314. package/help/errors/mcp-call-limit.md +22 -0
  315. package/help/errors/mcp-call-timeout.md +22 -0
  316. package/help/errors/mcp-server-auth-failed.md +22 -0
  317. package/help/errors/mcp-server-credentials-unavailable.md +45 -0
  318. package/help/errors/mcp-server-error.md +28 -0
  319. package/help/errors/mcp-server-unreachable.md +22 -0
  320. package/help/errors/mcp-servers-off.md +21 -0
  321. package/help/errors/mcp-tool-not-allowed.md +26 -0
  322. package/help/errors/mcp-tool-removed.md +22 -0
  323. package/help/errors/mcp-unavailable.md +25 -0
  324. package/help/errors/native-sandbox-capacity.md +1 -1
  325. package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
  326. package/help/errors/native-sandbox-docker-failed.md +1 -1
  327. package/help/errors/native-sandbox-gateway-error.md +1 -1
  328. package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
  329. package/help/errors/native-sandbox-image-not-pinned.md +1 -1
  330. package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
  331. package/help/errors/native-sandbox-network-unenforced.md +1 -1
  332. package/help/errors/native-sandbox-requires-catalog.md +1 -1
  333. package/help/errors/native-sandbox-unavailable.md +1 -1
  334. package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
  335. package/help/errors/native-sandbox-worker-exited.md +1 -1
  336. package/help/errors/native-sandbox-worker-lost.md +1 -1
  337. package/help/errors/native-sandbox-worker-unready.md +1 -1
  338. package/help/errors/repository-not-listed.md +36 -0
  339. package/help/errors/repository-required.md +36 -0
  340. package/help/errors/tool-timeout.md +38 -0
  341. package/help/host-providers.md +40 -0
  342. package/help/identity-and-access.md +4 -1
  343. package/help/low-power-mode.md +19 -8
  344. package/help/mcp-servers.md +73 -0
  345. package/help/mcp.md +9 -2
  346. package/help/native-capabilities.md +27 -1
  347. package/help/native-sandbox.md +1 -1
  348. package/help/operating-agents.md +16 -0
  349. package/help/related-pull-requests.md +7 -3
  350. package/help/repo-instructions-and-skills.md +3 -1
  351. package/help/resume-runs-locally.md +7 -0
  352. package/help/run-steps.md +140 -0
  353. package/help/stop-run.md +1 -1
  354. package/help/troubleshooting/coding-workers.md +9 -1
  355. package/help/troubleshooting/debugging-agent-runs.md +29 -0
  356. package/package.json +2 -1
  357. package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
  358. package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
  359. package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
  360. package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
  361. package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
  362. package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
  363. package/prisma/migrations/20261110000000_run_steps/migration.sql +26 -0
  364. package/prisma/migrations/20261111000000_run_steps_viewer_notify/migration.sql +59 -0
  365. package/prisma/migrations/20261112000000_run_steps_detail/migration.sql +9 -0
  366. package/prisma/schema.prisma +211 -14
  367. package/scripts/git-askpass.sh +1 -1
@@ -49,6 +49,7 @@ export type AgentMinAggregateOutputType = {
49
49
  memoryEnabled: boolean | null;
50
50
  effort: string | null;
51
51
  nativeExecutionMode: $Enums.NativeExecutionMode | null;
52
+ runSteps: $Enums.RunStepsLevel | null;
52
53
  };
53
54
  export type AgentMaxAggregateOutputType = {
54
55
  id: string | null;
@@ -74,6 +75,7 @@ export type AgentMaxAggregateOutputType = {
74
75
  memoryEnabled: boolean | null;
75
76
  effort: string | null;
76
77
  nativeExecutionMode: $Enums.NativeExecutionMode | null;
78
+ runSteps: $Enums.RunStepsLevel | null;
77
79
  };
78
80
  export type AgentCountAggregateOutputType = {
79
81
  id: number;
@@ -99,6 +101,7 @@ export type AgentCountAggregateOutputType = {
99
101
  memoryEnabled: number;
100
102
  effort: number;
101
103
  nativeExecutionMode: number;
104
+ runSteps: number;
102
105
  _all: number;
103
106
  };
104
107
  export type AgentAvgAggregateInputType = {
@@ -137,6 +140,7 @@ export type AgentMinAggregateInputType = {
137
140
  memoryEnabled?: true;
138
141
  effort?: true;
139
142
  nativeExecutionMode?: true;
143
+ runSteps?: true;
140
144
  };
141
145
  export type AgentMaxAggregateInputType = {
142
146
  id?: true;
@@ -162,6 +166,7 @@ export type AgentMaxAggregateInputType = {
162
166
  memoryEnabled?: true;
163
167
  effort?: true;
164
168
  nativeExecutionMode?: true;
169
+ runSteps?: true;
165
170
  };
166
171
  export type AgentCountAggregateInputType = {
167
172
  id?: true;
@@ -187,6 +192,7 @@ export type AgentCountAggregateInputType = {
187
192
  memoryEnabled?: true;
188
193
  effort?: true;
189
194
  nativeExecutionMode?: true;
195
+ runSteps?: true;
190
196
  _all?: true;
191
197
  };
192
198
  export type AgentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -289,6 +295,7 @@ export type AgentGroupByOutputType = {
289
295
  memoryEnabled: boolean;
290
296
  effort: string | null;
291
297
  nativeExecutionMode: $Enums.NativeExecutionMode;
298
+ runSteps: $Enums.RunStepsLevel | null;
292
299
  _count: AgentCountAggregateOutputType | null;
293
300
  _avg: AgentAvgAggregateOutputType | null;
294
301
  _sum: AgentSumAggregateOutputType | null;
@@ -325,6 +332,7 @@ export type AgentWhereInput = {
325
332
  memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
326
333
  effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
327
334
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFilter<"Agent"> | $Enums.NativeExecutionMode;
335
+ runSteps?: Prisma.EnumRunStepsLevelNullableFilter<"Agent"> | $Enums.RunStepsLevel | null;
328
336
  runs?: Prisma.RunListRelationFilter;
329
337
  codingProfile?: Prisma.XOR<Prisma.CodingAgentProfileNullableScalarRelationFilter, Prisma.CodingAgentProfileWhereInput> | null;
330
338
  tools?: Prisma.AgentToolListRelationFilter;
@@ -335,6 +343,7 @@ export type AgentWhereInput = {
335
343
  repositories?: Prisma.AgentRepositoryListRelationFilter;
336
344
  deferredReviews?: Prisma.DeferredReviewListRelationFilter;
337
345
  issueProjects?: Prisma.AgentIssueProjectListRelationFilter;
346
+ mcpServers?: Prisma.AgentMcpServerListRelationFilter;
338
347
  notificationChannels?: Prisma.NotificationChannelListRelationFilter;
339
348
  budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
340
349
  subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
@@ -364,6 +373,7 @@ export type AgentOrderByWithRelationInput = {
364
373
  memoryEnabled?: Prisma.SortOrder;
365
374
  effort?: Prisma.SortOrderInput | Prisma.SortOrder;
366
375
  nativeExecutionMode?: Prisma.SortOrder;
376
+ runSteps?: Prisma.SortOrderInput | Prisma.SortOrder;
367
377
  runs?: Prisma.RunOrderByRelationAggregateInput;
368
378
  codingProfile?: Prisma.CodingAgentProfileOrderByWithRelationInput;
369
379
  tools?: Prisma.AgentToolOrderByRelationAggregateInput;
@@ -374,6 +384,7 @@ export type AgentOrderByWithRelationInput = {
374
384
  repositories?: Prisma.AgentRepositoryOrderByRelationAggregateInput;
375
385
  deferredReviews?: Prisma.DeferredReviewOrderByRelationAggregateInput;
376
386
  issueProjects?: Prisma.AgentIssueProjectOrderByRelationAggregateInput;
387
+ mcpServers?: Prisma.AgentMcpServerOrderByRelationAggregateInput;
377
388
  notificationChannels?: Prisma.NotificationChannelOrderByRelationAggregateInput;
378
389
  budgetGroup?: Prisma.BudgetGroupOrderByWithRelationInput;
379
390
  subAgentEdgesAsParent?: Prisma.AgentSubAgentOrderByRelationAggregateInput;
@@ -406,6 +417,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
406
417
  memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
407
418
  effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
408
419
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFilter<"Agent"> | $Enums.NativeExecutionMode;
420
+ runSteps?: Prisma.EnumRunStepsLevelNullableFilter<"Agent"> | $Enums.RunStepsLevel | null;
409
421
  runs?: Prisma.RunListRelationFilter;
410
422
  codingProfile?: Prisma.XOR<Prisma.CodingAgentProfileNullableScalarRelationFilter, Prisma.CodingAgentProfileWhereInput> | null;
411
423
  tools?: Prisma.AgentToolListRelationFilter;
@@ -416,6 +428,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
416
428
  repositories?: Prisma.AgentRepositoryListRelationFilter;
417
429
  deferredReviews?: Prisma.DeferredReviewListRelationFilter;
418
430
  issueProjects?: Prisma.AgentIssueProjectListRelationFilter;
431
+ mcpServers?: Prisma.AgentMcpServerListRelationFilter;
419
432
  notificationChannels?: Prisma.NotificationChannelListRelationFilter;
420
433
  budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
421
434
  subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
@@ -445,6 +458,7 @@ export type AgentOrderByWithAggregationInput = {
445
458
  memoryEnabled?: Prisma.SortOrder;
446
459
  effort?: Prisma.SortOrderInput | Prisma.SortOrder;
447
460
  nativeExecutionMode?: Prisma.SortOrder;
461
+ runSteps?: Prisma.SortOrderInput | Prisma.SortOrder;
448
462
  _count?: Prisma.AgentCountOrderByAggregateInput;
449
463
  _avg?: Prisma.AgentAvgOrderByAggregateInput;
450
464
  _max?: Prisma.AgentMaxOrderByAggregateInput;
@@ -478,6 +492,7 @@ export type AgentScalarWhereWithAggregatesInput = {
478
492
  memoryEnabled?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean;
479
493
  effort?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null;
480
494
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeWithAggregatesFilter<"Agent"> | $Enums.NativeExecutionMode;
495
+ runSteps?: Prisma.EnumRunStepsLevelNullableWithAggregatesFilter<"Agent"> | $Enums.RunStepsLevel | null;
481
496
  };
482
497
  export type AgentCreateInput = {
483
498
  id?: string;
@@ -501,6 +516,7 @@ export type AgentCreateInput = {
501
516
  memoryEnabled?: boolean;
502
517
  effort?: string | null;
503
518
  nativeExecutionMode?: $Enums.NativeExecutionMode;
519
+ runSteps?: $Enums.RunStepsLevel | null;
504
520
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
505
521
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
506
522
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -511,6 +527,7 @@ export type AgentCreateInput = {
511
527
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
512
528
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
513
529
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
530
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
514
531
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
515
532
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
516
533
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -540,6 +557,7 @@ export type AgentUncheckedCreateInput = {
540
557
  memoryEnabled?: boolean;
541
558
  effort?: string | null;
542
559
  nativeExecutionMode?: $Enums.NativeExecutionMode;
560
+ runSteps?: $Enums.RunStepsLevel | null;
543
561
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
544
562
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
545
563
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -549,6 +567,7 @@ export type AgentUncheckedCreateInput = {
549
567
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
550
568
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
551
569
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
570
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
552
571
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
553
572
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
554
573
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -575,6 +594,7 @@ export type AgentUpdateInput = {
575
594
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
576
595
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
577
596
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
597
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
578
598
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
579
599
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
580
600
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -585,6 +605,7 @@ export type AgentUpdateInput = {
585
605
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
586
606
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
587
607
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
608
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
588
609
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
589
610
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
590
611
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -614,6 +635,7 @@ export type AgentUncheckedUpdateInput = {
614
635
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
615
636
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
616
637
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
638
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
617
639
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
618
640
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
619
641
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -623,6 +645,7 @@ export type AgentUncheckedUpdateInput = {
623
645
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
624
646
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
625
647
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
648
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
626
649
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
627
650
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
628
651
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -651,6 +674,7 @@ export type AgentCreateManyInput = {
651
674
  memoryEnabled?: boolean;
652
675
  effort?: string | null;
653
676
  nativeExecutionMode?: $Enums.NativeExecutionMode;
677
+ runSteps?: $Enums.RunStepsLevel | null;
654
678
  };
655
679
  export type AgentUpdateManyMutationInput = {
656
680
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -674,6 +698,7 @@ export type AgentUpdateManyMutationInput = {
674
698
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
675
699
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
676
700
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
701
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
677
702
  };
678
703
  export type AgentUncheckedUpdateManyInput = {
679
704
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -699,6 +724,7 @@ export type AgentUncheckedUpdateManyInput = {
699
724
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
700
725
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
701
726
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
727
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
702
728
  };
703
729
  export type AgentCountOrderByAggregateInput = {
704
730
  id?: Prisma.SortOrder;
@@ -724,6 +750,7 @@ export type AgentCountOrderByAggregateInput = {
724
750
  memoryEnabled?: Prisma.SortOrder;
725
751
  effort?: Prisma.SortOrder;
726
752
  nativeExecutionMode?: Prisma.SortOrder;
753
+ runSteps?: Prisma.SortOrder;
727
754
  };
728
755
  export type AgentAvgOrderByAggregateInput = {
729
756
  budgetUsd?: Prisma.SortOrder;
@@ -755,6 +782,7 @@ export type AgentMaxOrderByAggregateInput = {
755
782
  memoryEnabled?: Prisma.SortOrder;
756
783
  effort?: Prisma.SortOrder;
757
784
  nativeExecutionMode?: Prisma.SortOrder;
785
+ runSteps?: Prisma.SortOrder;
758
786
  };
759
787
  export type AgentMinOrderByAggregateInput = {
760
788
  id?: Prisma.SortOrder;
@@ -780,6 +808,7 @@ export type AgentMinOrderByAggregateInput = {
780
808
  memoryEnabled?: Prisma.SortOrder;
781
809
  effort?: Prisma.SortOrder;
782
810
  nativeExecutionMode?: Prisma.SortOrder;
811
+ runSteps?: Prisma.SortOrder;
783
812
  };
784
813
  export type AgentSumOrderByAggregateInput = {
785
814
  budgetUsd?: Prisma.SortOrder;
@@ -838,6 +867,9 @@ export type NullableDateTimeFieldUpdateOperationsInput = {
838
867
  export type EnumNativeExecutionModeFieldUpdateOperationsInput = {
839
868
  set?: $Enums.NativeExecutionMode;
840
869
  };
870
+ export type NullableEnumRunStepsLevelFieldUpdateOperationsInput = {
871
+ set?: $Enums.RunStepsLevel | null;
872
+ };
841
873
  export type AgentCreateNestedOneWithoutSubAgentEdgesAsParentInput = {
842
874
  create?: Prisma.XOR<Prisma.AgentCreateWithoutSubAgentEdgesAsParentInput, Prisma.AgentUncheckedCreateWithoutSubAgentEdgesAsParentInput>;
843
875
  connectOrCreate?: Prisma.AgentCreateOrConnectWithoutSubAgentEdgesAsParentInput;
@@ -1046,6 +1078,18 @@ export type AgentUpdateOneRequiredWithoutIssueProjectsNestedInput = {
1046
1078
  connect?: Prisma.AgentWhereUniqueInput;
1047
1079
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutIssueProjectsInput, Prisma.AgentUpdateWithoutIssueProjectsInput>, Prisma.AgentUncheckedUpdateWithoutIssueProjectsInput>;
1048
1080
  };
1081
+ export type AgentCreateNestedOneWithoutMcpServersInput = {
1082
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
1083
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMcpServersInput;
1084
+ connect?: Prisma.AgentWhereUniqueInput;
1085
+ };
1086
+ export type AgentUpdateOneRequiredWithoutMcpServersNestedInput = {
1087
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
1088
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutMcpServersInput;
1089
+ upsert?: Prisma.AgentUpsertWithoutMcpServersInput;
1090
+ connect?: Prisma.AgentWhereUniqueInput;
1091
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutMcpServersInput, Prisma.AgentUpdateWithoutMcpServersInput>, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
1092
+ };
1049
1093
  export type AgentCreateNestedOneWithoutNotificationChannelsInput = {
1050
1094
  create?: Prisma.XOR<Prisma.AgentCreateWithoutNotificationChannelsInput, Prisma.AgentUncheckedCreateWithoutNotificationChannelsInput>;
1051
1095
  connectOrCreate?: Prisma.AgentCreateOrConnectWithoutNotificationChannelsInput;
@@ -1082,6 +1126,7 @@ export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
1082
1126
  memoryEnabled?: boolean;
1083
1127
  effort?: string | null;
1084
1128
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1129
+ runSteps?: $Enums.RunStepsLevel | null;
1085
1130
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1086
1131
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1087
1132
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -1092,6 +1137,7 @@ export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
1092
1137
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1093
1138
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1094
1139
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1140
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1095
1141
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1096
1142
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1097
1143
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -1120,6 +1166,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsParentInput = {
1120
1166
  memoryEnabled?: boolean;
1121
1167
  effort?: string | null;
1122
1168
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1169
+ runSteps?: $Enums.RunStepsLevel | null;
1123
1170
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
1124
1171
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1125
1172
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -1129,6 +1176,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsParentInput = {
1129
1176
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1130
1177
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1131
1178
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1179
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1132
1180
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1133
1181
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
1134
1182
  };
@@ -1158,6 +1206,7 @@ export type AgentCreateWithoutSubAgentEdgesAsChildInput = {
1158
1206
  memoryEnabled?: boolean;
1159
1207
  effort?: string | null;
1160
1208
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1209
+ runSteps?: $Enums.RunStepsLevel | null;
1161
1210
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1162
1211
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1163
1212
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -1168,6 +1217,7 @@ export type AgentCreateWithoutSubAgentEdgesAsChildInput = {
1168
1217
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1169
1218
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1170
1219
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1220
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1171
1221
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1172
1222
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1173
1223
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1196,6 +1246,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsChildInput = {
1196
1246
  memoryEnabled?: boolean;
1197
1247
  effort?: string | null;
1198
1248
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1249
+ runSteps?: $Enums.RunStepsLevel | null;
1199
1250
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
1200
1251
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1201
1252
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -1205,6 +1256,7 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsChildInput = {
1205
1256
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1206
1257
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1207
1258
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1259
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1208
1260
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1209
1261
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1210
1262
  };
@@ -1243,6 +1295,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsParentInput = {
1243
1295
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1244
1296
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1245
1297
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1298
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1246
1299
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
1247
1300
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
1248
1301
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -1253,6 +1306,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsParentInput = {
1253
1306
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1254
1307
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1255
1308
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1309
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1256
1310
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1257
1311
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1258
1312
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -1281,6 +1335,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsParentInput = {
1281
1335
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1282
1336
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1283
1337
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1338
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1284
1339
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
1285
1340
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
1286
1341
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -1290,6 +1345,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsParentInput = {
1290
1345
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1291
1346
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1292
1347
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1348
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1293
1349
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1294
1350
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
1295
1351
  };
@@ -1324,6 +1380,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsChildInput = {
1324
1380
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1325
1381
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1326
1382
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1383
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1327
1384
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
1328
1385
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
1329
1386
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -1334,6 +1391,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsChildInput = {
1334
1391
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1335
1392
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1336
1393
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1394
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1337
1395
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1338
1396
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1339
1397
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1362,6 +1420,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsChildInput = {
1362
1420
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1363
1421
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1364
1422
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1423
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1365
1424
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
1366
1425
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
1367
1426
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -1371,6 +1430,7 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsChildInput = {
1371
1430
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1372
1431
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1373
1432
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1433
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1374
1434
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1375
1435
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1376
1436
  };
@@ -1396,6 +1456,7 @@ export type AgentCreateWithoutBudgetGroupInput = {
1396
1456
  memoryEnabled?: boolean;
1397
1457
  effort?: string | null;
1398
1458
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1459
+ runSteps?: $Enums.RunStepsLevel | null;
1399
1460
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1400
1461
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1401
1462
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -1406,6 +1467,7 @@ export type AgentCreateWithoutBudgetGroupInput = {
1406
1467
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1407
1468
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1408
1469
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1470
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1409
1471
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1410
1472
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
1411
1473
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -1433,6 +1495,7 @@ export type AgentUncheckedCreateWithoutBudgetGroupInput = {
1433
1495
  memoryEnabled?: boolean;
1434
1496
  effort?: string | null;
1435
1497
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1498
+ runSteps?: $Enums.RunStepsLevel | null;
1436
1499
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
1437
1500
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1438
1501
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -1442,6 +1505,7 @@ export type AgentUncheckedCreateWithoutBudgetGroupInput = {
1442
1505
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1443
1506
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1444
1507
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1508
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1445
1509
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1446
1510
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1447
1511
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1494,6 +1558,7 @@ export type AgentScalarWhereInput = {
1494
1558
  memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
1495
1559
  effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
1496
1560
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFilter<"Agent"> | $Enums.NativeExecutionMode;
1561
+ runSteps?: Prisma.EnumRunStepsLevelNullableFilter<"Agent"> | $Enums.RunStepsLevel | null;
1497
1562
  };
1498
1563
  export type AgentCreateWithoutToolsInput = {
1499
1564
  id?: string;
@@ -1517,6 +1582,7 @@ export type AgentCreateWithoutToolsInput = {
1517
1582
  memoryEnabled?: boolean;
1518
1583
  effort?: string | null;
1519
1584
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1585
+ runSteps?: $Enums.RunStepsLevel | null;
1520
1586
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1521
1587
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1522
1588
  owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
@@ -1526,6 +1592,7 @@ export type AgentCreateWithoutToolsInput = {
1526
1592
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1527
1593
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1528
1594
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1595
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1529
1596
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1530
1597
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1531
1598
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1555,6 +1622,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
1555
1622
  memoryEnabled?: boolean;
1556
1623
  effort?: string | null;
1557
1624
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1625
+ runSteps?: $Enums.RunStepsLevel | null;
1558
1626
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
1559
1627
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1560
1628
  secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
@@ -1563,6 +1631,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
1563
1631
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1564
1632
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1565
1633
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1634
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1566
1635
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1567
1636
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1568
1637
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1602,6 +1671,7 @@ export type AgentUpdateWithoutToolsInput = {
1602
1671
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1603
1672
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1604
1673
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1674
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1605
1675
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
1606
1676
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
1607
1677
  owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
@@ -1611,6 +1681,7 @@ export type AgentUpdateWithoutToolsInput = {
1611
1681
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1612
1682
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1613
1683
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1684
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1614
1685
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1615
1686
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1616
1687
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1640,6 +1711,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
1640
1711
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1641
1712
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1642
1713
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1714
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1643
1715
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
1644
1716
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
1645
1717
  secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
@@ -1648,6 +1720,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
1648
1720
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1649
1721
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1650
1722
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1723
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1651
1724
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1652
1725
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1653
1726
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1674,6 +1747,7 @@ export type AgentCreateWithoutDatastoresInput = {
1674
1747
  memoryEnabled?: boolean;
1675
1748
  effort?: string | null;
1676
1749
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1750
+ runSteps?: $Enums.RunStepsLevel | null;
1677
1751
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1678
1752
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1679
1753
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -1683,6 +1757,7 @@ export type AgentCreateWithoutDatastoresInput = {
1683
1757
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1684
1758
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1685
1759
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1760
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1686
1761
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1687
1762
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1688
1763
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1712,6 +1787,7 @@ export type AgentUncheckedCreateWithoutDatastoresInput = {
1712
1787
  memoryEnabled?: boolean;
1713
1788
  effort?: string | null;
1714
1789
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1790
+ runSteps?: $Enums.RunStepsLevel | null;
1715
1791
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
1716
1792
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1717
1793
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -1720,6 +1796,7 @@ export type AgentUncheckedCreateWithoutDatastoresInput = {
1720
1796
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1721
1797
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1722
1798
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1799
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1723
1800
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1724
1801
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1725
1802
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1759,6 +1836,7 @@ export type AgentUpdateWithoutDatastoresInput = {
1759
1836
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1760
1837
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1761
1838
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1839
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1762
1840
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
1763
1841
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
1764
1842
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -1768,6 +1846,7 @@ export type AgentUpdateWithoutDatastoresInput = {
1768
1846
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1769
1847
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1770
1848
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
1849
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1771
1850
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1772
1851
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1773
1852
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1797,6 +1876,7 @@ export type AgentUncheckedUpdateWithoutDatastoresInput = {
1797
1876
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1798
1877
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1799
1878
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
1879
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1800
1880
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
1801
1881
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
1802
1882
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -1805,6 +1885,7 @@ export type AgentUncheckedUpdateWithoutDatastoresInput = {
1805
1885
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1806
1886
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1807
1887
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
1888
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1808
1889
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1809
1890
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1810
1891
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1831,6 +1912,7 @@ export type AgentCreateWithoutRunsInput = {
1831
1912
  memoryEnabled?: boolean;
1832
1913
  effort?: string | null;
1833
1914
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1915
+ runSteps?: $Enums.RunStepsLevel | null;
1834
1916
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
1835
1917
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
1836
1918
  owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
@@ -1840,6 +1922,7 @@ export type AgentCreateWithoutRunsInput = {
1840
1922
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1841
1923
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1842
1924
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
1925
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
1843
1926
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
1844
1927
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
1845
1928
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -1869,6 +1952,7 @@ export type AgentUncheckedCreateWithoutRunsInput = {
1869
1952
  memoryEnabled?: boolean;
1870
1953
  effort?: string | null;
1871
1954
  nativeExecutionMode?: $Enums.NativeExecutionMode;
1955
+ runSteps?: $Enums.RunStepsLevel | null;
1872
1956
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
1873
1957
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
1874
1958
  secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
@@ -1877,6 +1961,7 @@ export type AgentUncheckedCreateWithoutRunsInput = {
1877
1961
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
1878
1962
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
1879
1963
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
1964
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
1880
1965
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
1881
1966
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
1882
1967
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -1916,6 +2001,7 @@ export type AgentUpdateWithoutRunsInput = {
1916
2001
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1917
2002
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1918
2003
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2004
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1919
2005
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
1920
2006
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
1921
2007
  owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
@@ -1925,6 +2011,7 @@ export type AgentUpdateWithoutRunsInput = {
1925
2011
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
1926
2012
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
1927
2013
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2014
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
1928
2015
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
1929
2016
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
1930
2017
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -1954,6 +2041,7 @@ export type AgentUncheckedUpdateWithoutRunsInput = {
1954
2041
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1955
2042
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1956
2043
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2044
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1957
2045
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
1958
2046
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
1959
2047
  secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
@@ -1962,6 +2050,7 @@ export type AgentUncheckedUpdateWithoutRunsInput = {
1962
2050
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
1963
2051
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
1964
2052
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2053
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
1965
2054
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
1966
2055
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
1967
2056
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -1988,6 +2077,7 @@ export type AgentCreateWithoutCodingProfileInput = {
1988
2077
  memoryEnabled?: boolean;
1989
2078
  effort?: string | null;
1990
2079
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2080
+ runSteps?: $Enums.RunStepsLevel | null;
1991
2081
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
1992
2082
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
1993
2083
  owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
@@ -1997,6 +2087,7 @@ export type AgentCreateWithoutCodingProfileInput = {
1997
2087
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
1998
2088
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
1999
2089
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2090
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2000
2091
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2001
2092
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2002
2093
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2026,6 +2117,7 @@ export type AgentUncheckedCreateWithoutCodingProfileInput = {
2026
2117
  memoryEnabled?: boolean;
2027
2118
  effort?: string | null;
2028
2119
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2120
+ runSteps?: $Enums.RunStepsLevel | null;
2029
2121
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2030
2122
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
2031
2123
  secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
@@ -2034,6 +2126,7 @@ export type AgentUncheckedCreateWithoutCodingProfileInput = {
2034
2126
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2035
2127
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2036
2128
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2129
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2037
2130
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2038
2131
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2039
2132
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2073,6 +2166,7 @@ export type AgentUpdateWithoutCodingProfileInput = {
2073
2166
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2074
2167
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2075
2168
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2169
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2076
2170
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2077
2171
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
2078
2172
  owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
@@ -2082,6 +2176,7 @@ export type AgentUpdateWithoutCodingProfileInput = {
2082
2176
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2083
2177
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2084
2178
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2179
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2085
2180
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2086
2181
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2087
2182
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2111,6 +2206,7 @@ export type AgentUncheckedUpdateWithoutCodingProfileInput = {
2111
2206
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2112
2207
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2113
2208
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2209
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2114
2210
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2115
2211
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
2116
2212
  secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2119,6 +2215,7 @@ export type AgentUncheckedUpdateWithoutCodingProfileInput = {
2119
2215
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2120
2216
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2121
2217
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2218
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2122
2219
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2123
2220
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2124
2221
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2145,6 +2242,7 @@ export type AgentCreateWithoutOwnerInput = {
2145
2242
  memoryEnabled?: boolean;
2146
2243
  effort?: string | null;
2147
2244
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2245
+ runSteps?: $Enums.RunStepsLevel | null;
2148
2246
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2149
2247
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2150
2248
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2154,6 +2252,7 @@ export type AgentCreateWithoutOwnerInput = {
2154
2252
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2155
2253
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2156
2254
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2255
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2157
2256
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2158
2257
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2159
2258
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2182,6 +2281,7 @@ export type AgentUncheckedCreateWithoutOwnerInput = {
2182
2281
  memoryEnabled?: boolean;
2183
2282
  effort?: string | null;
2184
2283
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2284
+ runSteps?: $Enums.RunStepsLevel | null;
2185
2285
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2186
2286
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2187
2287
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2191,6 +2291,7 @@ export type AgentUncheckedCreateWithoutOwnerInput = {
2191
2291
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2192
2292
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2193
2293
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2294
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2194
2295
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2195
2296
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2196
2297
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2238,6 +2339,7 @@ export type AgentCreateWithoutSecretsInput = {
2238
2339
  memoryEnabled?: boolean;
2239
2340
  effort?: string | null;
2240
2341
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2342
+ runSteps?: $Enums.RunStepsLevel | null;
2241
2343
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2242
2344
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2243
2345
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2247,6 +2349,7 @@ export type AgentCreateWithoutSecretsInput = {
2247
2349
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2248
2350
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2249
2351
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2352
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2250
2353
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2251
2354
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2252
2355
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2276,6 +2379,7 @@ export type AgentUncheckedCreateWithoutSecretsInput = {
2276
2379
  memoryEnabled?: boolean;
2277
2380
  effort?: string | null;
2278
2381
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2382
+ runSteps?: $Enums.RunStepsLevel | null;
2279
2383
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2280
2384
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2281
2385
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2284,6 +2388,7 @@ export type AgentUncheckedCreateWithoutSecretsInput = {
2284
2388
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2285
2389
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2286
2390
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2391
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2287
2392
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2288
2393
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2289
2394
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2323,6 +2428,7 @@ export type AgentUpdateWithoutSecretsInput = {
2323
2428
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2324
2429
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2325
2430
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2431
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2326
2432
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2327
2433
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
2328
2434
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -2332,6 +2438,7 @@ export type AgentUpdateWithoutSecretsInput = {
2332
2438
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2333
2439
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2334
2440
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2441
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2335
2442
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2336
2443
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2337
2444
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2361,6 +2468,7 @@ export type AgentUncheckedUpdateWithoutSecretsInput = {
2361
2468
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2362
2469
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2363
2470
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2471
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2364
2472
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2365
2473
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
2366
2474
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2369,6 +2477,7 @@ export type AgentUncheckedUpdateWithoutSecretsInput = {
2369
2477
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2370
2478
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2371
2479
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2480
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2372
2481
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2373
2482
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2374
2483
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2395,6 +2504,7 @@ export type AgentCreateWithoutWebhooksInput = {
2395
2504
  memoryEnabled?: boolean;
2396
2505
  effort?: string | null;
2397
2506
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2507
+ runSteps?: $Enums.RunStepsLevel | null;
2398
2508
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2399
2509
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2400
2510
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2404,6 +2514,7 @@ export type AgentCreateWithoutWebhooksInput = {
2404
2514
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2405
2515
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2406
2516
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2517
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2407
2518
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2408
2519
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2409
2520
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2433,6 +2544,7 @@ export type AgentUncheckedCreateWithoutWebhooksInput = {
2433
2544
  memoryEnabled?: boolean;
2434
2545
  effort?: string | null;
2435
2546
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2547
+ runSteps?: $Enums.RunStepsLevel | null;
2436
2548
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2437
2549
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2438
2550
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2441,6 +2553,7 @@ export type AgentUncheckedCreateWithoutWebhooksInput = {
2441
2553
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2442
2554
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2443
2555
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2556
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2444
2557
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2445
2558
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2446
2559
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2480,6 +2593,7 @@ export type AgentUpdateWithoutWebhooksInput = {
2480
2593
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2481
2594
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2482
2595
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2596
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2483
2597
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2484
2598
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
2485
2599
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -2489,6 +2603,7 @@ export type AgentUpdateWithoutWebhooksInput = {
2489
2603
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2490
2604
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2491
2605
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2606
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2492
2607
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2493
2608
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2494
2609
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2518,6 +2633,7 @@ export type AgentUncheckedUpdateWithoutWebhooksInput = {
2518
2633
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2519
2634
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2520
2635
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2636
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2521
2637
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2522
2638
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
2523
2639
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2526,6 +2642,7 @@ export type AgentUncheckedUpdateWithoutWebhooksInput = {
2526
2642
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2527
2643
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2528
2644
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2645
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2529
2646
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2530
2647
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2531
2648
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2552,6 +2669,7 @@ export type AgentCreateWithoutRepositoriesInput = {
2552
2669
  memoryEnabled?: boolean;
2553
2670
  effort?: string | null;
2554
2671
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2672
+ runSteps?: $Enums.RunStepsLevel | null;
2555
2673
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2556
2674
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2557
2675
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2561,6 +2679,7 @@ export type AgentCreateWithoutRepositoriesInput = {
2561
2679
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2562
2680
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
2563
2681
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2682
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2564
2683
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2565
2684
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2566
2685
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2590,6 +2709,7 @@ export type AgentUncheckedCreateWithoutRepositoriesInput = {
2590
2709
  memoryEnabled?: boolean;
2591
2710
  effort?: string | null;
2592
2711
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2712
+ runSteps?: $Enums.RunStepsLevel | null;
2593
2713
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2594
2714
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2595
2715
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2598,6 +2718,7 @@ export type AgentUncheckedCreateWithoutRepositoriesInput = {
2598
2718
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2599
2719
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
2600
2720
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2721
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2601
2722
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2602
2723
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2603
2724
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2637,6 +2758,7 @@ export type AgentUpdateWithoutRepositoriesInput = {
2637
2758
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2638
2759
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2639
2760
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2761
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2640
2762
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2641
2763
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
2642
2764
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -2646,6 +2768,7 @@ export type AgentUpdateWithoutRepositoriesInput = {
2646
2768
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2647
2769
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
2648
2770
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2771
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2649
2772
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2650
2773
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2651
2774
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2675,6 +2798,7 @@ export type AgentUncheckedUpdateWithoutRepositoriesInput = {
2675
2798
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2676
2799
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2677
2800
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2801
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2678
2802
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2679
2803
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
2680
2804
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2683,6 +2807,7 @@ export type AgentUncheckedUpdateWithoutRepositoriesInput = {
2683
2807
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2684
2808
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
2685
2809
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2810
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2686
2811
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2687
2812
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2688
2813
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2709,6 +2834,7 @@ export type AgentCreateWithoutDeferredReviewsInput = {
2709
2834
  memoryEnabled?: boolean;
2710
2835
  effort?: string | null;
2711
2836
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2837
+ runSteps?: $Enums.RunStepsLevel | null;
2712
2838
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2713
2839
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2714
2840
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2718,6 +2844,7 @@ export type AgentCreateWithoutDeferredReviewsInput = {
2718
2844
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2719
2845
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2720
2846
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
2847
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2721
2848
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2722
2849
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2723
2850
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2747,6 +2874,7 @@ export type AgentUncheckedCreateWithoutDeferredReviewsInput = {
2747
2874
  memoryEnabled?: boolean;
2748
2875
  effort?: string | null;
2749
2876
  nativeExecutionMode?: $Enums.NativeExecutionMode;
2877
+ runSteps?: $Enums.RunStepsLevel | null;
2750
2878
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2751
2879
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2752
2880
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2755,6 +2883,7 @@ export type AgentUncheckedCreateWithoutDeferredReviewsInput = {
2755
2883
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2756
2884
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2757
2885
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
2886
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2758
2887
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2759
2888
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2760
2889
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2794,6 +2923,7 @@ export type AgentUpdateWithoutDeferredReviewsInput = {
2794
2923
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2795
2924
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2796
2925
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2926
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2797
2927
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2798
2928
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
2799
2929
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -2803,6 +2933,7 @@ export type AgentUpdateWithoutDeferredReviewsInput = {
2803
2933
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2804
2934
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2805
2935
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
2936
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2806
2937
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2807
2938
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2808
2939
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2832,6 +2963,7 @@ export type AgentUncheckedUpdateWithoutDeferredReviewsInput = {
2832
2963
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2833
2964
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2834
2965
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
2966
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2835
2967
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2836
2968
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
2837
2969
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2840,6 +2972,7 @@ export type AgentUncheckedUpdateWithoutDeferredReviewsInput = {
2840
2972
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2841
2973
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2842
2974
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
2975
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
2843
2976
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
2844
2977
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
2845
2978
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -2866,6 +2999,7 @@ export type AgentCreateWithoutIssueProjectsInput = {
2866
2999
  memoryEnabled?: boolean;
2867
3000
  effort?: string | null;
2868
3001
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3002
+ runSteps?: $Enums.RunStepsLevel | null;
2869
3003
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
2870
3004
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
2871
3005
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -2875,6 +3009,7 @@ export type AgentCreateWithoutIssueProjectsInput = {
2875
3009
  webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
2876
3010
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
2877
3011
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
3012
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
2878
3013
  notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
2879
3014
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
2880
3015
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
@@ -2904,6 +3039,7 @@ export type AgentUncheckedCreateWithoutIssueProjectsInput = {
2904
3039
  memoryEnabled?: boolean;
2905
3040
  effort?: string | null;
2906
3041
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3042
+ runSteps?: $Enums.RunStepsLevel | null;
2907
3043
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
2908
3044
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
2909
3045
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -2912,6 +3048,7 @@ export type AgentUncheckedCreateWithoutIssueProjectsInput = {
2912
3048
  webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
2913
3049
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
2914
3050
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
3051
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
2915
3052
  notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
2916
3053
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
2917
3054
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
@@ -2951,6 +3088,7 @@ export type AgentUpdateWithoutIssueProjectsInput = {
2951
3088
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2952
3089
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2953
3090
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3091
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2954
3092
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
2955
3093
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
2956
3094
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -2960,6 +3098,7 @@ export type AgentUpdateWithoutIssueProjectsInput = {
2960
3098
  webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
2961
3099
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
2962
3100
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3101
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
2963
3102
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
2964
3103
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
2965
3104
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -2989,6 +3128,7 @@ export type AgentUncheckedUpdateWithoutIssueProjectsInput = {
2989
3128
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2990
3129
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2991
3130
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3131
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2992
3132
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
2993
3133
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
2994
3134
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -2997,6 +3137,172 @@ export type AgentUncheckedUpdateWithoutIssueProjectsInput = {
2997
3137
  webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
2998
3138
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
2999
3139
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3140
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3141
+ notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3142
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3143
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
3144
+ };
3145
+ export type AgentCreateWithoutMcpServersInput = {
3146
+ id?: string;
3147
+ name: string;
3148
+ systemPrompt: string;
3149
+ model: string;
3150
+ budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
3151
+ allowedOverrunPercent?: number;
3152
+ createdAt?: Date | string;
3153
+ updatedAt?: Date | string;
3154
+ kind?: $Enums.AgentKind;
3155
+ schedule?: string | null;
3156
+ timezone?: string;
3157
+ scheduleEnabled?: boolean;
3158
+ lastScheduledAt?: Date | string | null;
3159
+ maxTurns?: number;
3160
+ maxDelegationsPerRun?: number;
3161
+ parallelDelegations?: boolean;
3162
+ defectProjectKey?: string | null;
3163
+ defectIssueType?: string | null;
3164
+ memoryEnabled?: boolean;
3165
+ effort?: string | null;
3166
+ nativeExecutionMode?: $Enums.NativeExecutionMode;
3167
+ runSteps?: $Enums.RunStepsLevel | null;
3168
+ runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
3169
+ codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
3170
+ tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
3171
+ owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
3172
+ secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
3173
+ datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
3174
+ webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
3175
+ repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
3176
+ deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
3177
+ issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
3178
+ notificationChannels?: Prisma.NotificationChannelCreateNestedManyWithoutAgentInput;
3179
+ budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
3180
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
3181
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
3182
+ };
3183
+ export type AgentUncheckedCreateWithoutMcpServersInput = {
3184
+ id?: string;
3185
+ name: string;
3186
+ systemPrompt: string;
3187
+ model: string;
3188
+ budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
3189
+ allowedOverrunPercent?: number;
3190
+ createdAt?: Date | string;
3191
+ updatedAt?: Date | string;
3192
+ kind?: $Enums.AgentKind;
3193
+ schedule?: string | null;
3194
+ timezone?: string;
3195
+ scheduleEnabled?: boolean;
3196
+ lastScheduledAt?: Date | string | null;
3197
+ maxTurns?: number;
3198
+ maxDelegationsPerRun?: number;
3199
+ parallelDelegations?: boolean;
3200
+ ownerId?: string | null;
3201
+ defectProjectKey?: string | null;
3202
+ defectIssueType?: string | null;
3203
+ budgetGroupId?: string | null;
3204
+ memoryEnabled?: boolean;
3205
+ effort?: string | null;
3206
+ nativeExecutionMode?: $Enums.NativeExecutionMode;
3207
+ runSteps?: $Enums.RunStepsLevel | null;
3208
+ runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
3209
+ codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
3210
+ tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
3211
+ secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
3212
+ datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
3213
+ webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
3214
+ repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
3215
+ deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
3216
+ issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
3217
+ notificationChannels?: Prisma.NotificationChannelUncheckedCreateNestedManyWithoutAgentInput;
3218
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
3219
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
3220
+ };
3221
+ export type AgentCreateOrConnectWithoutMcpServersInput = {
3222
+ where: Prisma.AgentWhereUniqueInput;
3223
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
3224
+ };
3225
+ export type AgentUpsertWithoutMcpServersInput = {
3226
+ update: Prisma.XOR<Prisma.AgentUpdateWithoutMcpServersInput, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
3227
+ create: Prisma.XOR<Prisma.AgentCreateWithoutMcpServersInput, Prisma.AgentUncheckedCreateWithoutMcpServersInput>;
3228
+ where?: Prisma.AgentWhereInput;
3229
+ };
3230
+ export type AgentUpdateToOneWithWhereWithoutMcpServersInput = {
3231
+ where?: Prisma.AgentWhereInput;
3232
+ data: Prisma.XOR<Prisma.AgentUpdateWithoutMcpServersInput, Prisma.AgentUncheckedUpdateWithoutMcpServersInput>;
3233
+ };
3234
+ export type AgentUpdateWithoutMcpServersInput = {
3235
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3236
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
3237
+ systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
3238
+ model?: Prisma.StringFieldUpdateOperationsInput | string;
3239
+ budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
3240
+ allowedOverrunPercent?: Prisma.IntFieldUpdateOperationsInput | number;
3241
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3242
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3243
+ kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
3244
+ schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3245
+ timezone?: Prisma.StringFieldUpdateOperationsInput | string;
3246
+ scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3247
+ lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3248
+ maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
3249
+ maxDelegationsPerRun?: Prisma.IntFieldUpdateOperationsInput | number;
3250
+ parallelDelegations?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3251
+ defectProjectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3252
+ defectIssueType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3253
+ memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3254
+ effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3255
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3256
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3257
+ runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
3258
+ codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
3259
+ tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
3260
+ owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
3261
+ secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
3262
+ datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
3263
+ webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
3264
+ repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3265
+ deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3266
+ issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3267
+ notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3268
+ budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3269
+ subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3270
+ subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
3271
+ };
3272
+ export type AgentUncheckedUpdateWithoutMcpServersInput = {
3273
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
3274
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
3275
+ systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
3276
+ model?: Prisma.StringFieldUpdateOperationsInput | string;
3277
+ budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
3278
+ allowedOverrunPercent?: Prisma.IntFieldUpdateOperationsInput | number;
3279
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3280
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
3281
+ kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
3282
+ schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3283
+ timezone?: Prisma.StringFieldUpdateOperationsInput | string;
3284
+ scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3285
+ lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3286
+ maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
3287
+ maxDelegationsPerRun?: Prisma.IntFieldUpdateOperationsInput | number;
3288
+ parallelDelegations?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3289
+ ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3290
+ defectProjectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3291
+ defectIssueType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3292
+ budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3293
+ memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3294
+ effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3295
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3296
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3297
+ runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
3298
+ codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
3299
+ tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
3300
+ secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
3301
+ datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
3302
+ webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
3303
+ repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3304
+ deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3305
+ issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3000
3306
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3001
3307
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3002
3308
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3023,6 +3329,7 @@ export type AgentCreateWithoutNotificationChannelsInput = {
3023
3329
  memoryEnabled?: boolean;
3024
3330
  effort?: string | null;
3025
3331
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3332
+ runSteps?: $Enums.RunStepsLevel | null;
3026
3333
  runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
3027
3334
  codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
3028
3335
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
@@ -3033,6 +3340,7 @@ export type AgentCreateWithoutNotificationChannelsInput = {
3033
3340
  repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
3034
3341
  deferredReviews?: Prisma.DeferredReviewCreateNestedManyWithoutAgentInput;
3035
3342
  issueProjects?: Prisma.AgentIssueProjectCreateNestedManyWithoutAgentInput;
3343
+ mcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutAgentInput;
3036
3344
  budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
3037
3345
  subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
3038
3346
  subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
@@ -3061,6 +3369,7 @@ export type AgentUncheckedCreateWithoutNotificationChannelsInput = {
3061
3369
  memoryEnabled?: boolean;
3062
3370
  effort?: string | null;
3063
3371
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3372
+ runSteps?: $Enums.RunStepsLevel | null;
3064
3373
  runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
3065
3374
  codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
3066
3375
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
@@ -3070,6 +3379,7 @@ export type AgentUncheckedCreateWithoutNotificationChannelsInput = {
3070
3379
  repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
3071
3380
  deferredReviews?: Prisma.DeferredReviewUncheckedCreateNestedManyWithoutAgentInput;
3072
3381
  issueProjects?: Prisma.AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput;
3382
+ mcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutAgentInput;
3073
3383
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
3074
3384
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
3075
3385
  };
@@ -3108,6 +3418,7 @@ export type AgentUpdateWithoutNotificationChannelsInput = {
3108
3418
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3109
3419
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3110
3420
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3421
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3111
3422
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
3112
3423
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
3113
3424
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -3118,6 +3429,7 @@ export type AgentUpdateWithoutNotificationChannelsInput = {
3118
3429
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3119
3430
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3120
3431
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3432
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3121
3433
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3122
3434
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3123
3435
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -3146,6 +3458,7 @@ export type AgentUncheckedUpdateWithoutNotificationChannelsInput = {
3146
3458
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3147
3459
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3148
3460
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3461
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3149
3462
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
3150
3463
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
3151
3464
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -3155,6 +3468,7 @@ export type AgentUncheckedUpdateWithoutNotificationChannelsInput = {
3155
3468
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3156
3469
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3157
3470
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3471
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3158
3472
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3159
3473
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
3160
3474
  };
@@ -3181,6 +3495,7 @@ export type AgentCreateManyBudgetGroupInput = {
3181
3495
  memoryEnabled?: boolean;
3182
3496
  effort?: string | null;
3183
3497
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3498
+ runSteps?: $Enums.RunStepsLevel | null;
3184
3499
  };
3185
3500
  export type AgentUpdateWithoutBudgetGroupInput = {
3186
3501
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3204,6 +3519,7 @@ export type AgentUpdateWithoutBudgetGroupInput = {
3204
3519
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3205
3520
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3206
3521
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3522
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3207
3523
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
3208
3524
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
3209
3525
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -3214,6 +3530,7 @@ export type AgentUpdateWithoutBudgetGroupInput = {
3214
3530
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3215
3531
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3216
3532
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3533
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3217
3534
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3218
3535
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
3219
3536
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
@@ -3241,6 +3558,7 @@ export type AgentUncheckedUpdateWithoutBudgetGroupInput = {
3241
3558
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3242
3559
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3243
3560
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3561
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3244
3562
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
3245
3563
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
3246
3564
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -3250,6 +3568,7 @@ export type AgentUncheckedUpdateWithoutBudgetGroupInput = {
3250
3568
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3251
3569
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3252
3570
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3571
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3253
3572
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3254
3573
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3255
3574
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3277,6 +3596,7 @@ export type AgentUncheckedUpdateManyWithoutBudgetGroupInput = {
3277
3596
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3278
3597
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3279
3598
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3599
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3280
3600
  };
3281
3601
  export type AgentCreateManyOwnerInput = {
3282
3602
  id?: string;
@@ -3301,6 +3621,7 @@ export type AgentCreateManyOwnerInput = {
3301
3621
  memoryEnabled?: boolean;
3302
3622
  effort?: string | null;
3303
3623
  nativeExecutionMode?: $Enums.NativeExecutionMode;
3624
+ runSteps?: $Enums.RunStepsLevel | null;
3304
3625
  };
3305
3626
  export type AgentUpdateWithoutOwnerInput = {
3306
3627
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3324,6 +3645,7 @@ export type AgentUpdateWithoutOwnerInput = {
3324
3645
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3325
3646
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3326
3647
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3648
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3327
3649
  runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
3328
3650
  codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
3329
3651
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
@@ -3333,6 +3655,7 @@ export type AgentUpdateWithoutOwnerInput = {
3333
3655
  repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
3334
3656
  deferredReviews?: Prisma.DeferredReviewUpdateManyWithoutAgentNestedInput;
3335
3657
  issueProjects?: Prisma.AgentIssueProjectUpdateManyWithoutAgentNestedInput;
3658
+ mcpServers?: Prisma.AgentMcpServerUpdateManyWithoutAgentNestedInput;
3336
3659
  notificationChannels?: Prisma.NotificationChannelUpdateManyWithoutAgentNestedInput;
3337
3660
  budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
3338
3661
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
@@ -3361,6 +3684,7 @@ export type AgentUncheckedUpdateWithoutOwnerInput = {
3361
3684
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3362
3685
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3363
3686
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3687
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3364
3688
  runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
3365
3689
  codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
3366
3690
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
@@ -3370,6 +3694,7 @@ export type AgentUncheckedUpdateWithoutOwnerInput = {
3370
3694
  repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
3371
3695
  deferredReviews?: Prisma.DeferredReviewUncheckedUpdateManyWithoutAgentNestedInput;
3372
3696
  issueProjects?: Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput;
3697
+ mcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutAgentNestedInput;
3373
3698
  notificationChannels?: Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput;
3374
3699
  subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
3375
3700
  subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
@@ -3397,6 +3722,7 @@ export type AgentUncheckedUpdateManyWithoutOwnerInput = {
3397
3722
  memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
3398
3723
  effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3399
3724
  nativeExecutionMode?: Prisma.EnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode;
3725
+ runSteps?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3400
3726
  };
3401
3727
  /**
3402
3728
  * Count Type AgentCountOutputType
@@ -3410,6 +3736,7 @@ export type AgentCountOutputType = {
3410
3736
  repositories: number;
3411
3737
  deferredReviews: number;
3412
3738
  issueProjects: number;
3739
+ mcpServers: number;
3413
3740
  notificationChannels: number;
3414
3741
  subAgentEdgesAsParent: number;
3415
3742
  subAgentEdgesAsChild: number;
@@ -3423,6 +3750,7 @@ export type AgentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
3423
3750
  repositories?: boolean | AgentCountOutputTypeCountRepositoriesArgs;
3424
3751
  deferredReviews?: boolean | AgentCountOutputTypeCountDeferredReviewsArgs;
3425
3752
  issueProjects?: boolean | AgentCountOutputTypeCountIssueProjectsArgs;
3753
+ mcpServers?: boolean | AgentCountOutputTypeCountMcpServersArgs;
3426
3754
  notificationChannels?: boolean | AgentCountOutputTypeCountNotificationChannelsArgs;
3427
3755
  subAgentEdgesAsParent?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsParentArgs;
3428
3756
  subAgentEdgesAsChild?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsChildArgs;
@@ -3484,6 +3812,12 @@ export type AgentCountOutputTypeCountDeferredReviewsArgs<ExtArgs extends runtime
3484
3812
  export type AgentCountOutputTypeCountIssueProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3485
3813
  where?: Prisma.AgentIssueProjectWhereInput;
3486
3814
  };
3815
+ /**
3816
+ * AgentCountOutputType without action
3817
+ */
3818
+ export type AgentCountOutputTypeCountMcpServersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3819
+ where?: Prisma.AgentMcpServerWhereInput;
3820
+ };
3487
3821
  /**
3488
3822
  * AgentCountOutputType without action
3489
3823
  */
@@ -3526,6 +3860,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3526
3860
  memoryEnabled?: boolean;
3527
3861
  effort?: boolean;
3528
3862
  nativeExecutionMode?: boolean;
3863
+ runSteps?: boolean;
3529
3864
  runs?: boolean | Prisma.Agent$runsArgs<ExtArgs>;
3530
3865
  codingProfile?: boolean | Prisma.Agent$codingProfileArgs<ExtArgs>;
3531
3866
  tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>;
@@ -3536,6 +3871,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3536
3871
  repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
3537
3872
  deferredReviews?: boolean | Prisma.Agent$deferredReviewsArgs<ExtArgs>;
3538
3873
  issueProjects?: boolean | Prisma.Agent$issueProjectsArgs<ExtArgs>;
3874
+ mcpServers?: boolean | Prisma.Agent$mcpServersArgs<ExtArgs>;
3539
3875
  notificationChannels?: boolean | Prisma.Agent$notificationChannelsArgs<ExtArgs>;
3540
3876
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3541
3877
  subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
@@ -3566,6 +3902,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3566
3902
  memoryEnabled?: boolean;
3567
3903
  effort?: boolean;
3568
3904
  nativeExecutionMode?: boolean;
3905
+ runSteps?: boolean;
3569
3906
  owner?: boolean | Prisma.Agent$ownerArgs<ExtArgs>;
3570
3907
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3571
3908
  }, ExtArgs["result"]["agent"]>;
@@ -3593,6 +3930,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3593
3930
  memoryEnabled?: boolean;
3594
3931
  effort?: boolean;
3595
3932
  nativeExecutionMode?: boolean;
3933
+ runSteps?: boolean;
3596
3934
  owner?: boolean | Prisma.Agent$ownerArgs<ExtArgs>;
3597
3935
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3598
3936
  }, ExtArgs["result"]["agent"]>;
@@ -3620,8 +3958,9 @@ export type AgentSelectScalar = {
3620
3958
  memoryEnabled?: boolean;
3621
3959
  effort?: boolean;
3622
3960
  nativeExecutionMode?: boolean;
3961
+ runSteps?: boolean;
3623
3962
  };
3624
- export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "systemPrompt" | "model" | "budgetUsd" | "allowedOverrunPercent" | "createdAt" | "updatedAt" | "kind" | "schedule" | "timezone" | "scheduleEnabled" | "lastScheduledAt" | "maxTurns" | "maxDelegationsPerRun" | "parallelDelegations" | "ownerId" | "defectProjectKey" | "defectIssueType" | "budgetGroupId" | "memoryEnabled" | "effort" | "nativeExecutionMode", ExtArgs["result"]["agent"]>;
3963
+ export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "systemPrompt" | "model" | "budgetUsd" | "allowedOverrunPercent" | "createdAt" | "updatedAt" | "kind" | "schedule" | "timezone" | "scheduleEnabled" | "lastScheduledAt" | "maxTurns" | "maxDelegationsPerRun" | "parallelDelegations" | "ownerId" | "defectProjectKey" | "defectIssueType" | "budgetGroupId" | "memoryEnabled" | "effort" | "nativeExecutionMode" | "runSteps", ExtArgs["result"]["agent"]>;
3625
3964
  export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3626
3965
  runs?: boolean | Prisma.Agent$runsArgs<ExtArgs>;
3627
3966
  codingProfile?: boolean | Prisma.Agent$codingProfileArgs<ExtArgs>;
@@ -3633,6 +3972,7 @@ export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3633
3972
  repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
3634
3973
  deferredReviews?: boolean | Prisma.Agent$deferredReviewsArgs<ExtArgs>;
3635
3974
  issueProjects?: boolean | Prisma.Agent$issueProjectsArgs<ExtArgs>;
3975
+ mcpServers?: boolean | Prisma.Agent$mcpServersArgs<ExtArgs>;
3636
3976
  notificationChannels?: boolean | Prisma.Agent$notificationChannelsArgs<ExtArgs>;
3637
3977
  budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
3638
3978
  subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
@@ -3660,6 +4000,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3660
4000
  repositories: Prisma.$AgentRepositoryPayload<ExtArgs>[];
3661
4001
  deferredReviews: Prisma.$DeferredReviewPayload<ExtArgs>[];
3662
4002
  issueProjects: Prisma.$AgentIssueProjectPayload<ExtArgs>[];
4003
+ mcpServers: Prisma.$AgentMcpServerPayload<ExtArgs>[];
3663
4004
  notificationChannels: Prisma.$NotificationChannelPayload<ExtArgs>[];
3664
4005
  budgetGroup: Prisma.$BudgetGroupPayload<ExtArgs> | null;
3665
4006
  /**
@@ -3726,6 +4067,11 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3726
4067
  * (Run.nativeExecutionMode), so a change reaches only later runs.
3727
4068
  */
3728
4069
  nativeExecutionMode: $Enums.NativeExecutionMode;
4070
+ /**
4071
+ * The owner's run steps level for this agent's runs; null = unset (summary). A run records
4072
+ * min(WARDBY_RUN_STEPS, this), fixed at dispatch (Run.runStepsLevel). Owner-only.
4073
+ */
4074
+ runSteps: $Enums.RunStepsLevel | null;
3729
4075
  }, ExtArgs["result"]["agent"]>;
3730
4076
  composites: {};
3731
4077
  };
@@ -4065,6 +4411,7 @@ export interface Prisma__AgentClient<T, Null = never, ExtArgs extends runtime.Ty
4065
4411
  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
4412
  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
4413
  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>;
4414
+ 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
4415
  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
4416
  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
4417
  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>;
@@ -4117,6 +4464,7 @@ export interface AgentFieldRefs {
4117
4464
  readonly memoryEnabled: Prisma.FieldRef<"Agent", 'Boolean'>;
4118
4465
  readonly effort: Prisma.FieldRef<"Agent", 'String'>;
4119
4466
  readonly nativeExecutionMode: Prisma.FieldRef<"Agent", 'NativeExecutionMode'>;
4467
+ readonly runSteps: Prisma.FieldRef<"Agent", 'RunStepsLevel'>;
4120
4468
  }
4121
4469
  /**
4122
4470
  * Agent findUnique
@@ -4720,6 +5068,29 @@ export type Agent$issueProjectsArgs<ExtArgs extends runtime.Types.Extensions.Int
4720
5068
  skip?: number;
4721
5069
  distinct?: Prisma.AgentIssueProjectScalarFieldEnum | Prisma.AgentIssueProjectScalarFieldEnum[];
4722
5070
  };
5071
+ /**
5072
+ * Agent.mcpServers
5073
+ */
5074
+ export type Agent$mcpServersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5075
+ /**
5076
+ * Select specific fields to fetch from the AgentMcpServer
5077
+ */
5078
+ select?: Prisma.AgentMcpServerSelect<ExtArgs> | null;
5079
+ /**
5080
+ * Omit specific fields from the AgentMcpServer
5081
+ */
5082
+ omit?: Prisma.AgentMcpServerOmit<ExtArgs> | null;
5083
+ /**
5084
+ * Choose, which related nodes to fetch as well
5085
+ */
5086
+ include?: Prisma.AgentMcpServerInclude<ExtArgs> | null;
5087
+ where?: Prisma.AgentMcpServerWhereInput;
5088
+ orderBy?: Prisma.AgentMcpServerOrderByWithRelationInput | Prisma.AgentMcpServerOrderByWithRelationInput[];
5089
+ cursor?: Prisma.AgentMcpServerWhereUniqueInput;
5090
+ take?: number;
5091
+ skip?: number;
5092
+ distinct?: Prisma.AgentMcpServerScalarFieldEnum | Prisma.AgentMcpServerScalarFieldEnum[];
5093
+ };
4723
5094
  /**
4724
5095
  * Agent.notificationChannels
4725
5096
  */