@wardby/cli 0.2.0 → 0.3.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 (491) hide show
  1. package/.env.example +34 -4
  2. package/README.md +183 -71
  3. package/dist/claude-coding-worker/driver.d.ts +7 -1
  4. package/dist/claude-coding-worker/driver.js +31 -2
  5. package/dist/claude-coding-worker/main.js +5 -2
  6. package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
  7. package/dist/claude-coding-worker/tool-socket.js +26 -0
  8. package/dist/cli-help.d.ts +1 -1
  9. package/dist/cli-help.js +13 -4
  10. package/dist/cli.d.ts +1 -1
  11. package/dist/cli.js +219 -29
  12. package/dist/coding/collect-exclude.d.ts +25 -0
  13. package/dist/coding/collect-exclude.js +76 -0
  14. package/dist/coding/profile.d.ts +67 -22
  15. package/dist/coding/profile.js +58 -25
  16. package/dist/coding/protected-path-wording.d.ts +24 -0
  17. package/dist/coding/protected-path-wording.js +55 -0
  18. package/dist/coding/protected-paths.d.ts +31 -0
  19. package/dist/coding/protected-paths.js +48 -0
  20. package/dist/coding/protocol.d.ts +99 -3
  21. package/dist/coding/protocol.js +155 -4
  22. package/dist/coding/registry/adapters.d.ts +2 -0
  23. package/dist/coding/registry/adapters.js +9 -0
  24. package/dist/coding/registry/allowlist.d.ts +9 -0
  25. package/dist/coding/registry/allowlist.js +28 -0
  26. package/dist/coding/registry/json-scan.d.ts +55 -0
  27. package/dist/coding/registry/json-scan.js +191 -0
  28. package/dist/coding/registry/lockfiles.d.ts +6 -0
  29. package/dist/coding/registry/lockfiles.js +89 -0
  30. package/dist/coding/registry/npm-lockfile.d.ts +9 -0
  31. package/dist/coding/registry/npm-lockfile.js +73 -0
  32. package/dist/coding/registry/npm-plan.d.ts +29 -0
  33. package/dist/coding/registry/npm-plan.js +289 -0
  34. package/dist/coding/registry/npm.d.ts +7 -0
  35. package/dist/coding/registry/npm.js +252 -0
  36. package/dist/coding/registry/pypi.d.ts +4 -0
  37. package/dist/coding/registry/pypi.js +210 -0
  38. package/dist/coding/registry/report.d.ts +37 -0
  39. package/dist/coding/registry/report.js +31 -0
  40. package/dist/coding/registry/token.d.ts +4 -0
  41. package/dist/coding/registry/token.js +7 -0
  42. package/dist/coding/registry/types.d.ts +286 -0
  43. package/dist/coding/registry/types.js +19 -0
  44. package/dist/coding/registry/worker-config.d.ts +14 -0
  45. package/dist/coding/registry/worker-config.js +31 -0
  46. package/dist/coding/services/builtins.d.ts +22 -0
  47. package/dist/coding/services/builtins.js +85 -0
  48. package/dist/coding/services/catalog.d.ts +443 -0
  49. package/dist/coding/services/catalog.js +159 -0
  50. package/dist/coding/services/declaration.d.ts +11 -0
  51. package/dist/coding/services/declaration.js +114 -0
  52. package/dist/coding/services/note.d.ts +8 -0
  53. package/dist/coding/services/note.js +15 -0
  54. package/dist/coding/services/resolve.d.ts +25 -0
  55. package/dist/coding/services/resolve.js +50 -0
  56. package/dist/coding/services/wording.d.ts +25 -0
  57. package/dist/coding/services/wording.js +70 -0
  58. package/dist/coding-proxy/main.js +24 -4
  59. package/dist/coding-worker/artifact.d.ts +18 -0
  60. package/dist/coding-worker/artifact.js +48 -6
  61. package/dist/coding-worker/debug-trace.d.ts +37 -0
  62. package/dist/coding-worker/debug-trace.js +117 -0
  63. package/dist/coding-worker/driver.d.ts +14 -1
  64. package/dist/coding-worker/driver.js +106 -14
  65. package/dist/coding-worker/errors.d.ts +7 -0
  66. package/dist/coding-worker/errors.js +26 -0
  67. package/dist/coding-worker/main.js +13 -4
  68. package/dist/coding-worker/sdk.d.ts +2 -2
  69. package/dist/coding-worker/sdk.js +7 -2
  70. package/dist/coding-worker/types.d.ts +3 -0
  71. package/dist/config/providers.d.ts +41 -0
  72. package/dist/config/providers.js +66 -0
  73. package/dist/core/budget-groups.d.ts +109 -6
  74. package/dist/core/budget-groups.js +125 -19
  75. package/dist/core/budget-wording.d.ts +22 -0
  76. package/dist/core/budget-wording.js +55 -0
  77. package/dist/core/coding-queue.d.ts +1 -1
  78. package/dist/core/datastores.d.ts +1 -1
  79. package/dist/core/datastores.js +18 -2
  80. package/dist/core/db.d.ts +40 -2
  81. package/dist/core/db.js +75 -2
  82. package/dist/core/dispatch.d.ts +49 -7
  83. package/dist/core/dispatch.js +290 -45
  84. package/dist/core/engine-native.js +27 -10
  85. package/dist/core/grants.d.ts +86 -0
  86. package/dist/core/grants.js +126 -0
  87. package/dist/core/host-events.d.ts +49 -0
  88. package/dist/core/host-events.js +257 -0
  89. package/dist/core/host-identity-links.d.ts +54 -0
  90. package/dist/core/host-identity-links.js +189 -0
  91. package/dist/core/host-status.d.ts +61 -0
  92. package/dist/core/host-status.js +211 -0
  93. package/dist/core/http-runtime.js +3 -4
  94. package/dist/core/in-flight-runs.d.ts +8 -0
  95. package/dist/core/in-flight-runs.js +56 -0
  96. package/dist/core/lease.d.ts +1 -1
  97. package/dist/core/private-directory.d.ts +20 -0
  98. package/dist/core/private-directory.js +36 -0
  99. package/dist/core/provider-wording.d.ts +12 -0
  100. package/dist/core/provider-wording.js +44 -0
  101. package/dist/core/reconciler.d.ts +39 -3
  102. package/dist/core/reconciler.js +86 -2
  103. package/dist/core/repo-access.d.ts +99 -0
  104. package/dist/core/repo-access.js +136 -0
  105. package/dist/core/review-host-checks.d.ts +11 -0
  106. package/dist/core/review-host-checks.js +41 -0
  107. package/dist/core/review-host-tools.d.ts +47 -0
  108. package/dist/core/review-host-tools.js +347 -0
  109. package/dist/core/run-heartbeat.d.ts +27 -0
  110. package/dist/core/run-heartbeat.js +54 -0
  111. package/dist/core/runner.d.ts +31 -9
  112. package/dist/core/runner.js +237 -40
  113. package/dist/core/scheduler.d.ts +1 -1
  114. package/dist/core/secrets.d.ts +12 -3
  115. package/dist/core/secrets.js +25 -6
  116. package/dist/core/subagent-memory-tools.d.ts +2 -2
  117. package/dist/core/subagent-memory-tools.js +16 -3
  118. package/dist/core/tool-admin.d.ts +81 -0
  119. package/dist/core/tool-admin.js +129 -0
  120. package/dist/core/tool-names.d.ts +42 -0
  121. package/dist/core/tool-names.js +64 -0
  122. package/dist/core/untrusted-content.d.ts +32 -0
  123. package/dist/core/untrusted-content.js +72 -0
  124. package/dist/core/webhooks.d.ts +9 -2
  125. package/dist/core/webhooks.js +23 -2
  126. package/dist/generated/prisma/browser.d.ts +328 -0
  127. package/dist/generated/prisma/browser.js +17 -0
  128. package/dist/generated/prisma/client.d.ts +347 -0
  129. package/dist/generated/prisma/client.js +34 -0
  130. package/dist/generated/prisma/commonInputTypes.d.ts +839 -0
  131. package/dist/generated/prisma/commonInputTypes.js +10 -0
  132. package/dist/generated/prisma/enums.d.ts +59 -0
  133. package/dist/generated/prisma/enums.js +59 -0
  134. package/dist/generated/prisma/internal/class.d.ts +605 -0
  135. package/dist/generated/prisma/internal/class.js +49 -0
  136. package/dist/generated/prisma/internal/prismaNamespace.d.ts +4494 -0
  137. package/dist/generated/prisma/internal/prismaNamespace.js +628 -0
  138. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +635 -0
  139. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +599 -0
  140. package/dist/generated/prisma/models/Agent.d.ts +3560 -0
  141. package/dist/generated/prisma/models/Agent.js +1 -0
  142. package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
  143. package/dist/generated/prisma/models/AgentDatastore.js +1 -0
  144. package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
  145. package/dist/generated/prisma/models/AgentMemory.js +1 -0
  146. package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
  147. package/dist/generated/prisma/models/AgentRepository.js +1 -0
  148. package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
  149. package/dist/generated/prisma/models/AgentSecret.js +1 -0
  150. package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
  151. package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
  152. package/dist/generated/prisma/models/AgentTool.d.ts +1403 -0
  153. package/dist/generated/prisma/models/AgentTool.js +1 -0
  154. package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
  155. package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
  156. package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
  157. package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
  158. package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
  159. package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
  160. package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
  161. package/dist/generated/prisma/models/AuthSession.js +1 -0
  162. package/dist/generated/prisma/models/AuthUser.d.ts +1700 -0
  163. package/dist/generated/prisma/models/AuthUser.js +1 -0
  164. package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
  165. package/dist/generated/prisma/models/BudgetGroup.js +1 -0
  166. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1681 -0
  167. package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
  168. package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
  169. package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
  170. package/dist/generated/prisma/models/CodingProxySession.d.ts +1626 -0
  171. package/dist/generated/prisma/models/CodingProxySession.js +1 -0
  172. package/dist/generated/prisma/models/CodingRun.d.ts +3583 -0
  173. package/dist/generated/prisma/models/CodingRun.js +1 -0
  174. package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
  175. package/dist/generated/prisma/models/CodingService.js +1 -0
  176. package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
  177. package/dist/generated/prisma/models/Datastore.js +1 -0
  178. package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
  179. package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
  180. package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
  181. package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
  182. package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
  183. package/dist/generated/prisma/models/HostIdentity.js +1 -0
  184. package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
  185. package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
  186. package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
  187. package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
  188. package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
  189. package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
  190. package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
  191. package/dist/generated/prisma/models/OAuthClient.js +1 -0
  192. package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
  193. package/dist/generated/prisma/models/OAuthFamily.js +1 -0
  194. package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
  195. package/dist/generated/prisma/models/OAuthGrant.js +1 -0
  196. package/dist/generated/prisma/models/Principal.d.ts +2245 -0
  197. package/dist/generated/prisma/models/Principal.js +1 -0
  198. package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
  199. package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
  200. package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
  201. package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
  202. package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
  203. package/dist/generated/prisma/models/RegistryFetch.js +1 -0
  204. package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
  205. package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
  206. package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
  207. package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
  208. package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
  209. package/dist/generated/prisma/models/ResourceGrant.js +1 -0
  210. package/dist/generated/prisma/models/Run.d.ts +2669 -0
  211. package/dist/generated/prisma/models/Run.js +1 -0
  212. package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
  213. package/dist/generated/prisma/models/RunHostCheck.js +1 -0
  214. package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
  215. package/dist/generated/prisma/models/RunHostStatus.js +1 -0
  216. package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
  217. package/dist/generated/prisma/models/SchedulerLease.js +1 -0
  218. package/dist/generated/prisma/models/Secret.d.ts +1399 -0
  219. package/dist/generated/prisma/models/Secret.js +1 -0
  220. package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
  221. package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
  222. package/dist/generated/prisma/models/Task.d.ts +1176 -0
  223. package/dist/generated/prisma/models/Task.js +1 -0
  224. package/dist/generated/prisma/models/Tool.d.ts +1490 -0
  225. package/dist/generated/prisma/models/Tool.js +1 -0
  226. package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
  227. package/dist/generated/prisma/models/Webhook.js +1 -0
  228. package/dist/generated/prisma/models.d.ts +45 -0
  229. package/dist/generated/prisma/models.js +1 -0
  230. package/dist/help/build.d.ts +1 -0
  231. package/dist/help/build.js +9 -0
  232. package/dist/help/catalog.d.ts +24 -0
  233. package/dist/help/catalog.js +160 -0
  234. package/dist/help/cli.d.ts +2 -0
  235. package/dist/help/cli.js +65 -0
  236. package/dist/help/runtime.d.ts +3 -0
  237. package/dist/help/runtime.js +44 -0
  238. package/dist/help/search.d.ts +9 -0
  239. package/dist/help/search.js +104 -0
  240. package/dist/help-index.json +660 -0
  241. package/dist/import/cli-args.js +3 -2
  242. package/dist/import/create.d.ts +6 -1
  243. package/dist/import/create.js +68 -14
  244. package/dist/import/index.d.ts +1 -1
  245. package/dist/import/index.js +19 -9
  246. package/dist/import/neutral-schema.d.ts +11 -11
  247. package/dist/mcp/auth/access.d.ts +70 -0
  248. package/dist/mcp/auth/access.js +58 -0
  249. package/dist/mcp/auth/grants-cli.d.ts +149 -0
  250. package/dist/mcp/auth/grants-cli.js +518 -0
  251. package/dist/mcp/auth/host-account-cli.d.ts +2 -0
  252. package/dist/mcp/auth/host-account-cli.js +47 -0
  253. package/dist/mcp/auth/ownership.d.ts +37 -63
  254. package/dist/mcp/auth/ownership.js +19 -14
  255. package/dist/mcp/auth/principal.d.ts +1 -1
  256. package/dist/mcp/auth/repo-authorization.d.ts +22 -0
  257. package/dist/mcp/auth/repo-authorization.js +51 -0
  258. package/dist/mcp/auth/resource-server.d.ts +32 -3
  259. package/dist/mcp/auth/resource-server.js +84 -3
  260. package/dist/mcp/auth/self-hosted/browser.js +22 -8
  261. package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
  262. package/dist/mcp/auth/self-hosted/cli.js +47 -13
  263. package/dist/mcp/auth/self-hosted/credentials.d.ts +21 -3
  264. package/dist/mcp/auth/self-hosted/credentials.js +62 -4
  265. package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
  266. package/dist/mcp/auth/self-hosted/session.d.ts +3 -2
  267. package/dist/mcp/context.d.ts +28 -2
  268. package/dist/mcp/errors.d.ts +25 -6
  269. package/dist/mcp/errors.js +98 -0
  270. package/dist/mcp/host-events/github-ingress.d.ts +36 -0
  271. package/dist/mcp/host-events/github-ingress.js +92 -0
  272. package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
  273. package/dist/mcp/host-events/github-user-callback.js +50 -0
  274. package/dist/mcp/index.d.ts +8 -1
  275. package/dist/mcp/index.js +106 -16
  276. package/dist/mcp/server.d.ts +1 -1
  277. package/dist/mcp/server.js +27 -9
  278. package/dist/mcp/shared/page-style.d.ts +16 -0
  279. package/dist/mcp/shared/page-style.js +129 -0
  280. package/dist/mcp/tasks/manager.d.ts +1 -1
  281. package/dist/mcp/tools/agents.js +447 -49
  282. package/dist/mcp/tools/budget-groups.js +3 -3
  283. package/dist/mcp/tools/datastore.js +23 -16
  284. package/dist/mcp/tools/grants.d.ts +2 -0
  285. package/dist/mcp/tools/grants.js +239 -0
  286. package/dist/mcp/tools/help.d.ts +5 -0
  287. package/dist/mcp/tools/help.js +67 -0
  288. package/dist/mcp/tools/host-accounts.d.ts +2 -0
  289. package/dist/mcp/tools/host-accounts.js +114 -0
  290. package/dist/mcp/tools/memory.d.ts +7 -1
  291. package/dist/mcp/tools/memory.js +5 -5
  292. package/dist/mcp/tools/repositories.d.ts +2 -0
  293. package/dist/mcp/tools/repositories.js +181 -0
  294. package/dist/mcp/tools/runs.d.ts +6 -0
  295. package/dist/mcp/tools/runs.js +60 -6
  296. package/dist/mcp/tools/scheduling.js +4 -7
  297. package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
  298. package/dist/mcp/tools/secret-elicitation-form.js +10 -28
  299. package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
  300. package/dist/mcp/tools/secrets.js +18 -6
  301. package/dist/mcp/tools/services.d.ts +2 -0
  302. package/dist/mcp/tools/services.js +222 -0
  303. package/dist/mcp/tools/subagents.js +53 -17
  304. package/dist/mcp/tools/tools.d.ts +41 -0
  305. package/dist/mcp/tools/tools.js +202 -41
  306. package/dist/mcp/tools/trigger.js +36 -6
  307. package/dist/mcp/tools/webhooks.js +15 -4
  308. package/dist/mcp/transport/streamable-http.d.ts +11 -1
  309. package/dist/mcp/transport/streamable-http.js +32 -2
  310. package/dist/mcp/unattended-schedules.d.ts +1 -1
  311. package/dist/mcp/webhooks/ingress.d.ts +1 -1
  312. package/dist/providers/auth/delegating.d.ts +19 -0
  313. package/dist/providers/auth/delegating.js +71 -0
  314. package/dist/providers/auth/index.d.ts +3 -1
  315. package/dist/providers/auth/index.js +11 -0
  316. package/dist/providers/auth/self-hosted.d.ts +4 -3
  317. package/dist/providers/auth/self-hosted.js +16 -4
  318. package/dist/providers/auth/types.d.ts +6 -0
  319. package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
  320. package/dist/providers/coding-proxy/memory-ledger.js +21 -2
  321. package/dist/providers/coding-proxy/metering.d.ts +4 -0
  322. package/dist/providers/coding-proxy/metering.js +28 -2
  323. package/dist/providers/coding-proxy/prisma-ledger.d.ts +18 -1
  324. package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
  325. package/dist/providers/coding-proxy/proxy.d.ts +13 -0
  326. package/dist/providers/coding-proxy/proxy.js +479 -18
  327. package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
  328. package/dist/providers/coding-proxy/registry/audit.js +380 -0
  329. package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
  330. package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
  331. package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
  332. package/dist/providers/coding-proxy/registry/plan.js +304 -0
  333. package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
  334. package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
  335. package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
  336. package/dist/providers/coding-proxy/registry/service.js +1137 -0
  337. package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
  338. package/dist/providers/coding-proxy/registry/store.js +70 -0
  339. package/dist/providers/coding-proxy/runtime.d.ts +18 -1
  340. package/dist/providers/coding-proxy/runtime.js +63 -0
  341. package/dist/providers/coding-proxy/secure-fetch.js +0 -1
  342. package/dist/providers/coding-proxy/server.d.ts +11 -0
  343. package/dist/providers/coding-proxy/server.js +163 -0
  344. package/dist/providers/coding-proxy/types.d.ts +15 -0
  345. package/dist/providers/datastore/postgres.d.ts +1 -1
  346. package/dist/providers/engine/types.d.ts +10 -0
  347. package/dist/providers/executor/build.d.ts +3 -3
  348. package/dist/providers/executor/composition.d.ts +4 -1
  349. package/dist/providers/executor/composition.js +19 -0
  350. package/dist/providers/executor/container.d.ts +106 -4
  351. package/dist/providers/executor/container.js +305 -22
  352. package/dist/providers/executor/dbos.d.ts +3 -4
  353. package/dist/providers/executor/in-process.d.ts +2 -3
  354. package/dist/providers/executor/routing.d.ts +7 -0
  355. package/dist/providers/executor/routing.js +13 -0
  356. package/dist/providers/executor/types.d.ts +22 -0
  357. package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
  358. package/dist/providers/jobs/claude-tool-setup.js +50 -0
  359. package/dist/providers/jobs/collect-prune.d.ts +7 -0
  360. package/dist/providers/jobs/collect-prune.js +27 -0
  361. package/dist/providers/jobs/docker-isolation.d.ts +48 -3
  362. package/dist/providers/jobs/docker-isolation.js +213 -22
  363. package/dist/providers/jobs/docker-services.d.ts +35 -0
  364. package/dist/providers/jobs/docker-services.js +191 -0
  365. package/dist/providers/jobs/docker.d.ts +60 -2
  366. package/dist/providers/jobs/docker.js +313 -50
  367. package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
  368. package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
  369. package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
  370. package/dist/providers/jobs/kubernetes-isolation.js +238 -57
  371. package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
  372. package/dist/providers/jobs/kubernetes-platform.js +11 -5
  373. package/dist/providers/jobs/kubernetes-preflight.js +3 -0
  374. package/dist/providers/jobs/kubernetes.d.ts +21 -2
  375. package/dist/providers/jobs/kubernetes.js +117 -31
  376. package/dist/providers/jobs/types.d.ts +20 -0
  377. package/dist/providers/llm/anthropic.js +6 -2
  378. package/dist/providers/llm/bedrock.js +2 -1
  379. package/dist/providers/llm/claude-messages.d.ts +5 -1
  380. package/dist/providers/llm/claude-messages.js +1 -0
  381. package/dist/providers/llm/claude-provider.d.ts +3 -1
  382. package/dist/providers/llm/claude-provider.js +5 -1
  383. package/dist/providers/llm/index.d.ts +1 -1
  384. package/dist/providers/llm/index.js +1 -1
  385. package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
  386. package/dist/providers/llm/pricing-anthropic.js +32 -14
  387. package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
  388. package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
  389. package/dist/providers/llm/routing.d.ts +10 -1
  390. package/dist/providers/llm/routing.js +18 -0
  391. package/dist/providers/llm/types.d.ts +12 -0
  392. package/dist/providers/llm/types.js +8 -1
  393. package/dist/providers/memory/postgres.d.ts +1 -1
  394. package/dist/providers/review-host/diff-lines.d.ts +16 -0
  395. package/dist/providers/review-host/diff-lines.js +59 -0
  396. package/dist/providers/review-host/github-events.d.ts +6 -0
  397. package/dist/providers/review-host/github-events.js +180 -0
  398. package/dist/providers/review-host/github-user-auth.d.ts +38 -0
  399. package/dist/providers/review-host/github-user-auth.js +128 -0
  400. package/dist/providers/review-host/github.d.ts +57 -0
  401. package/dist/providers/review-host/github.js +567 -0
  402. package/dist/providers/review-host/index.d.ts +12 -0
  403. package/dist/providers/review-host/index.js +30 -0
  404. package/dist/providers/review-host/review-format.d.ts +19 -0
  405. package/dist/providers/review-host/review-format.js +59 -0
  406. package/dist/providers/review-host/types.d.ts +284 -0
  407. package/dist/providers/review-host/types.js +24 -0
  408. package/dist/providers/vcs/git.d.ts +16 -6
  409. package/dist/providers/vcs/git.js +79 -14
  410. package/dist/providers/vcs/github.d.ts +74 -3
  411. package/dist/providers/vcs/github.js +195 -15
  412. package/dist/providers/vcs/types.d.ts +42 -4
  413. package/dist/quickstart/index.js +34 -32
  414. package/dist/quickstart/migrate.d.ts +23 -0
  415. package/dist/quickstart/migrate.js +125 -0
  416. package/dist/sandbox/fetch-policy.d.ts +20 -2
  417. package/dist/sandbox/fetch-policy.js +64 -3
  418. package/dist/sandbox/host-functions.d.ts +9 -1
  419. package/dist/sandbox/host-functions.js +12 -5
  420. package/dist/serve.js +1 -1
  421. package/dist/wardby-bin.js +6 -0
  422. package/docs/README.md +30 -0
  423. package/docs/architecture-runtime.md +90 -0
  424. package/docs/assets/brand/wardby-icon-512.png +0 -0
  425. package/docs/assets/brand/wardby-icon.svg +16 -0
  426. package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
  427. package/docs/assets/brand/wardby-mascot.png +0 -0
  428. package/docs/assets/brand/wardby-mascot.svg +5 -0
  429. package/docs/assets/wardby-workflow.svg +106 -0
  430. package/docs/code-review-agents.md +481 -0
  431. package/docs/coding-agent-setup.md +172 -0
  432. package/docs/coding-packages.md +455 -0
  433. package/docs/coding-services.md +300 -0
  434. package/docs/coding-worker-byo-images.md +98 -0
  435. package/docs/coding-worker-isolation.md +1061 -0
  436. package/docs/getting-started-gke.md +615 -0
  437. package/docs/getting-started-identity-provider.md +308 -0
  438. package/docs/getting-started.md +133 -0
  439. package/docs/observability.md +53 -0
  440. package/docs/release-verification.md +66 -0
  441. package/docs/security-deployment.md +657 -0
  442. package/help/code-review-agents.md +31 -0
  443. package/help/coding-packages.md +31 -0
  444. package/help/coding-services.md +71 -0
  445. package/help/creating-agents.md +68 -0
  446. package/help/deploy-gke.md +39 -0
  447. package/help/deployment-targets.md +39 -0
  448. package/help/errors/budget-group-exhausted.md +25 -0
  449. package/help/errors/docker-isolation-unsupported.md +26 -0
  450. package/help/errors/protected-path.md +45 -0
  451. package/help/errors/repo-access.md +27 -0
  452. package/help/errors/service-declaration-invalid.md +27 -0
  453. package/help/errors/service-declaration-unavailable.md +25 -0
  454. package/help/errors/service-launcher-unsupported.md +30 -0
  455. package/help/errors/service-not-allowed.md +27 -0
  456. package/help/errors/service-unknown.md +23 -0
  457. package/help/errors/service-unready.md +49 -0
  458. package/help/getting-started.md +31 -0
  459. package/help/github.md +30 -0
  460. package/help/identity-and-access.md +39 -0
  461. package/help/mcp.md +30 -0
  462. package/help/native-capabilities.md +30 -0
  463. package/help/observability.md +41 -0
  464. package/help/operating-agents.md +30 -0
  465. package/help/security.md +27 -0
  466. package/help/troubleshooting/budgets.md +26 -0
  467. package/help/troubleshooting/coding-workers.md +47 -0
  468. package/help/troubleshooting/repository-access.md +27 -0
  469. package/package.json +30 -11
  470. package/prisma/migrate.config.mjs +20 -0
  471. package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
  472. package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
  473. package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
  474. package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
  475. package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
  476. package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
  477. package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
  478. package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
  479. package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
  480. package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
  481. package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
  482. package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
  483. package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
  484. package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
  485. package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
  486. package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
  487. package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
  488. package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
  489. package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
  490. package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
  491. package/prisma/schema.prisma +417 -23
@@ -0,0 +1,1315 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model RunHostStatus
5
+ * De-duplicates host webhook redeliveries; pruned after 7 days.
6
+ * The status comment wardby posts on the issue or pull request whose
7
+ * @-mention started this run ("working on it"), edited with the outcome
8
+ * when the run ends. One per mention run.
9
+ */
10
+ export type RunHostStatusModel = runtime.Types.Result.DefaultSelection<Prisma.$RunHostStatusPayload>;
11
+ export type AggregateRunHostStatus = {
12
+ _count: RunHostStatusCountAggregateOutputType | null;
13
+ _avg: RunHostStatusAvgAggregateOutputType | null;
14
+ _sum: RunHostStatusSumAggregateOutputType | null;
15
+ _min: RunHostStatusMinAggregateOutputType | null;
16
+ _max: RunHostStatusMaxAggregateOutputType | null;
17
+ };
18
+ export type RunHostStatusAvgAggregateOutputType = {
19
+ number: number | null;
20
+ };
21
+ export type RunHostStatusSumAggregateOutputType = {
22
+ number: number | null;
23
+ };
24
+ export type RunHostStatusMinAggregateOutputType = {
25
+ runId: string | null;
26
+ provider: string | null;
27
+ repository: string | null;
28
+ number: number | null;
29
+ commentKind: string | null;
30
+ commentId: string | null;
31
+ replyToReviewCommentId: string | null;
32
+ createdAt: Date | null;
33
+ completedAt: Date | null;
34
+ };
35
+ export type RunHostStatusMaxAggregateOutputType = {
36
+ runId: string | null;
37
+ provider: string | null;
38
+ repository: string | null;
39
+ number: number | null;
40
+ commentKind: string | null;
41
+ commentId: string | null;
42
+ replyToReviewCommentId: string | null;
43
+ createdAt: Date | null;
44
+ completedAt: Date | null;
45
+ };
46
+ export type RunHostStatusCountAggregateOutputType = {
47
+ runId: number;
48
+ provider: number;
49
+ repository: number;
50
+ number: number;
51
+ commentKind: number;
52
+ commentId: number;
53
+ replyToReviewCommentId: number;
54
+ createdAt: number;
55
+ completedAt: number;
56
+ _all: number;
57
+ };
58
+ export type RunHostStatusAvgAggregateInputType = {
59
+ number?: true;
60
+ };
61
+ export type RunHostStatusSumAggregateInputType = {
62
+ number?: true;
63
+ };
64
+ export type RunHostStatusMinAggregateInputType = {
65
+ runId?: true;
66
+ provider?: true;
67
+ repository?: true;
68
+ number?: true;
69
+ commentKind?: true;
70
+ commentId?: true;
71
+ replyToReviewCommentId?: true;
72
+ createdAt?: true;
73
+ completedAt?: true;
74
+ };
75
+ export type RunHostStatusMaxAggregateInputType = {
76
+ runId?: true;
77
+ provider?: true;
78
+ repository?: true;
79
+ number?: true;
80
+ commentKind?: true;
81
+ commentId?: true;
82
+ replyToReviewCommentId?: true;
83
+ createdAt?: true;
84
+ completedAt?: true;
85
+ };
86
+ export type RunHostStatusCountAggregateInputType = {
87
+ runId?: true;
88
+ provider?: true;
89
+ repository?: true;
90
+ number?: true;
91
+ commentKind?: true;
92
+ commentId?: true;
93
+ replyToReviewCommentId?: true;
94
+ createdAt?: true;
95
+ completedAt?: true;
96
+ _all?: true;
97
+ };
98
+ export type RunHostStatusAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
99
+ /**
100
+ * Filter which RunHostStatus to aggregate.
101
+ */
102
+ where?: Prisma.RunHostStatusWhereInput;
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105
+ *
106
+ * Determine the order of RunHostStatuses to fetch.
107
+ */
108
+ orderBy?: Prisma.RunHostStatusOrderByWithRelationInput | Prisma.RunHostStatusOrderByWithRelationInput[];
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
111
+ *
112
+ * Sets the start position
113
+ */
114
+ cursor?: Prisma.RunHostStatusWhereUniqueInput;
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
117
+ *
118
+ * Take `±n` RunHostStatuses from the position of the cursor.
119
+ */
120
+ take?: number;
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
123
+ *
124
+ * Skip the first `n` RunHostStatuses.
125
+ */
126
+ skip?: number;
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Count returned RunHostStatuses
131
+ **/
132
+ _count?: true | RunHostStatusCountAggregateInputType;
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
+ *
136
+ * Select which fields to average
137
+ **/
138
+ _avg?: RunHostStatusAvgAggregateInputType;
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Select which fields to sum
143
+ **/
144
+ _sum?: RunHostStatusSumAggregateInputType;
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
+ *
148
+ * Select which fields to find the minimum value
149
+ **/
150
+ _min?: RunHostStatusMinAggregateInputType;
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
+ *
154
+ * Select which fields to find the maximum value
155
+ **/
156
+ _max?: RunHostStatusMaxAggregateInputType;
157
+ };
158
+ export type GetRunHostStatusAggregateType<T extends RunHostStatusAggregateArgs> = {
159
+ [P in keyof T & keyof AggregateRunHostStatus]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRunHostStatus[P]> : Prisma.GetScalarType<T[P], AggregateRunHostStatus[P]>;
160
+ };
161
+ export type RunHostStatusGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
162
+ where?: Prisma.RunHostStatusWhereInput;
163
+ orderBy?: Prisma.RunHostStatusOrderByWithAggregationInput | Prisma.RunHostStatusOrderByWithAggregationInput[];
164
+ by: Prisma.RunHostStatusScalarFieldEnum[] | Prisma.RunHostStatusScalarFieldEnum;
165
+ having?: Prisma.RunHostStatusScalarWhereWithAggregatesInput;
166
+ take?: number;
167
+ skip?: number;
168
+ _count?: RunHostStatusCountAggregateInputType | true;
169
+ _avg?: RunHostStatusAvgAggregateInputType;
170
+ _sum?: RunHostStatusSumAggregateInputType;
171
+ _min?: RunHostStatusMinAggregateInputType;
172
+ _max?: RunHostStatusMaxAggregateInputType;
173
+ };
174
+ export type RunHostStatusGroupByOutputType = {
175
+ runId: string;
176
+ provider: string;
177
+ repository: string;
178
+ number: number;
179
+ commentKind: string;
180
+ commentId: string | null;
181
+ replyToReviewCommentId: string | null;
182
+ createdAt: Date;
183
+ completedAt: Date | null;
184
+ _count: RunHostStatusCountAggregateOutputType | null;
185
+ _avg: RunHostStatusAvgAggregateOutputType | null;
186
+ _sum: RunHostStatusSumAggregateOutputType | null;
187
+ _min: RunHostStatusMinAggregateOutputType | null;
188
+ _max: RunHostStatusMaxAggregateOutputType | null;
189
+ };
190
+ export type GetRunHostStatusGroupByPayload<T extends RunHostStatusGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RunHostStatusGroupByOutputType, T['by']> & {
191
+ [P in ((keyof T) & (keyof RunHostStatusGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RunHostStatusGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RunHostStatusGroupByOutputType[P]>;
192
+ }>>;
193
+ export type RunHostStatusWhereInput = {
194
+ AND?: Prisma.RunHostStatusWhereInput | Prisma.RunHostStatusWhereInput[];
195
+ OR?: Prisma.RunHostStatusWhereInput[];
196
+ NOT?: Prisma.RunHostStatusWhereInput | Prisma.RunHostStatusWhereInput[];
197
+ runId?: Prisma.StringFilter<"RunHostStatus"> | string;
198
+ provider?: Prisma.StringFilter<"RunHostStatus"> | string;
199
+ repository?: Prisma.StringFilter<"RunHostStatus"> | string;
200
+ number?: Prisma.IntFilter<"RunHostStatus"> | number;
201
+ commentKind?: Prisma.StringFilter<"RunHostStatus"> | string;
202
+ commentId?: Prisma.StringNullableFilter<"RunHostStatus"> | string | null;
203
+ replyToReviewCommentId?: Prisma.StringNullableFilter<"RunHostStatus"> | string | null;
204
+ createdAt?: Prisma.DateTimeFilter<"RunHostStatus"> | Date | string;
205
+ completedAt?: Prisma.DateTimeNullableFilter<"RunHostStatus"> | Date | string | null;
206
+ run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
207
+ };
208
+ export type RunHostStatusOrderByWithRelationInput = {
209
+ runId?: Prisma.SortOrder;
210
+ provider?: Prisma.SortOrder;
211
+ repository?: Prisma.SortOrder;
212
+ number?: Prisma.SortOrder;
213
+ commentKind?: Prisma.SortOrder;
214
+ commentId?: Prisma.SortOrderInput | Prisma.SortOrder;
215
+ replyToReviewCommentId?: Prisma.SortOrderInput | Prisma.SortOrder;
216
+ createdAt?: Prisma.SortOrder;
217
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
218
+ run?: Prisma.RunOrderByWithRelationInput;
219
+ };
220
+ export type RunHostStatusWhereUniqueInput = Prisma.AtLeast<{
221
+ runId?: string;
222
+ AND?: Prisma.RunHostStatusWhereInput | Prisma.RunHostStatusWhereInput[];
223
+ OR?: Prisma.RunHostStatusWhereInput[];
224
+ NOT?: Prisma.RunHostStatusWhereInput | Prisma.RunHostStatusWhereInput[];
225
+ provider?: Prisma.StringFilter<"RunHostStatus"> | string;
226
+ repository?: Prisma.StringFilter<"RunHostStatus"> | string;
227
+ number?: Prisma.IntFilter<"RunHostStatus"> | number;
228
+ commentKind?: Prisma.StringFilter<"RunHostStatus"> | string;
229
+ commentId?: Prisma.StringNullableFilter<"RunHostStatus"> | string | null;
230
+ replyToReviewCommentId?: Prisma.StringNullableFilter<"RunHostStatus"> | string | null;
231
+ createdAt?: Prisma.DateTimeFilter<"RunHostStatus"> | Date | string;
232
+ completedAt?: Prisma.DateTimeNullableFilter<"RunHostStatus"> | Date | string | null;
233
+ run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
234
+ }, "runId">;
235
+ export type RunHostStatusOrderByWithAggregationInput = {
236
+ runId?: Prisma.SortOrder;
237
+ provider?: Prisma.SortOrder;
238
+ repository?: Prisma.SortOrder;
239
+ number?: Prisma.SortOrder;
240
+ commentKind?: Prisma.SortOrder;
241
+ commentId?: Prisma.SortOrderInput | Prisma.SortOrder;
242
+ replyToReviewCommentId?: Prisma.SortOrderInput | Prisma.SortOrder;
243
+ createdAt?: Prisma.SortOrder;
244
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
245
+ _count?: Prisma.RunHostStatusCountOrderByAggregateInput;
246
+ _avg?: Prisma.RunHostStatusAvgOrderByAggregateInput;
247
+ _max?: Prisma.RunHostStatusMaxOrderByAggregateInput;
248
+ _min?: Prisma.RunHostStatusMinOrderByAggregateInput;
249
+ _sum?: Prisma.RunHostStatusSumOrderByAggregateInput;
250
+ };
251
+ export type RunHostStatusScalarWhereWithAggregatesInput = {
252
+ AND?: Prisma.RunHostStatusScalarWhereWithAggregatesInput | Prisma.RunHostStatusScalarWhereWithAggregatesInput[];
253
+ OR?: Prisma.RunHostStatusScalarWhereWithAggregatesInput[];
254
+ NOT?: Prisma.RunHostStatusScalarWhereWithAggregatesInput | Prisma.RunHostStatusScalarWhereWithAggregatesInput[];
255
+ runId?: Prisma.StringWithAggregatesFilter<"RunHostStatus"> | string;
256
+ provider?: Prisma.StringWithAggregatesFilter<"RunHostStatus"> | string;
257
+ repository?: Prisma.StringWithAggregatesFilter<"RunHostStatus"> | string;
258
+ number?: Prisma.IntWithAggregatesFilter<"RunHostStatus"> | number;
259
+ commentKind?: Prisma.StringWithAggregatesFilter<"RunHostStatus"> | string;
260
+ commentId?: Prisma.StringNullableWithAggregatesFilter<"RunHostStatus"> | string | null;
261
+ replyToReviewCommentId?: Prisma.StringNullableWithAggregatesFilter<"RunHostStatus"> | string | null;
262
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"RunHostStatus"> | Date | string;
263
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostStatus"> | Date | string | null;
264
+ };
265
+ export type RunHostStatusCreateInput = {
266
+ provider: string;
267
+ repository: string;
268
+ number: number;
269
+ commentKind: string;
270
+ commentId?: string | null;
271
+ replyToReviewCommentId?: string | null;
272
+ createdAt?: Date | string;
273
+ completedAt?: Date | string | null;
274
+ run: Prisma.RunCreateNestedOneWithoutHostStatusInput;
275
+ };
276
+ export type RunHostStatusUncheckedCreateInput = {
277
+ runId: string;
278
+ provider: string;
279
+ repository: string;
280
+ number: number;
281
+ commentKind: string;
282
+ commentId?: string | null;
283
+ replyToReviewCommentId?: string | null;
284
+ createdAt?: Date | string;
285
+ completedAt?: Date | string | null;
286
+ };
287
+ export type RunHostStatusUpdateInput = {
288
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
290
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
291
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
292
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
293
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
294
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
295
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
296
+ run?: Prisma.RunUpdateOneRequiredWithoutHostStatusNestedInput;
297
+ };
298
+ export type RunHostStatusUncheckedUpdateInput = {
299
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
300
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
301
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
302
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
303
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
304
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
305
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
306
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
307
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
308
+ };
309
+ export type RunHostStatusCreateManyInput = {
310
+ runId: string;
311
+ provider: string;
312
+ repository: string;
313
+ number: number;
314
+ commentKind: string;
315
+ commentId?: string | null;
316
+ replyToReviewCommentId?: string | null;
317
+ createdAt?: Date | string;
318
+ completedAt?: Date | string | null;
319
+ };
320
+ export type RunHostStatusUpdateManyMutationInput = {
321
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
322
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
323
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
324
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
325
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
326
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
327
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
328
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
329
+ };
330
+ export type RunHostStatusUncheckedUpdateManyInput = {
331
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
332
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
333
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
334
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
335
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
336
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
337
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
338
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
339
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
340
+ };
341
+ export type RunHostStatusNullableScalarRelationFilter = {
342
+ is?: Prisma.RunHostStatusWhereInput | null;
343
+ isNot?: Prisma.RunHostStatusWhereInput | null;
344
+ };
345
+ export type RunHostStatusCountOrderByAggregateInput = {
346
+ runId?: Prisma.SortOrder;
347
+ provider?: Prisma.SortOrder;
348
+ repository?: Prisma.SortOrder;
349
+ number?: Prisma.SortOrder;
350
+ commentKind?: Prisma.SortOrder;
351
+ commentId?: Prisma.SortOrder;
352
+ replyToReviewCommentId?: Prisma.SortOrder;
353
+ createdAt?: Prisma.SortOrder;
354
+ completedAt?: Prisma.SortOrder;
355
+ };
356
+ export type RunHostStatusAvgOrderByAggregateInput = {
357
+ number?: Prisma.SortOrder;
358
+ };
359
+ export type RunHostStatusMaxOrderByAggregateInput = {
360
+ runId?: Prisma.SortOrder;
361
+ provider?: Prisma.SortOrder;
362
+ repository?: Prisma.SortOrder;
363
+ number?: Prisma.SortOrder;
364
+ commentKind?: Prisma.SortOrder;
365
+ commentId?: Prisma.SortOrder;
366
+ replyToReviewCommentId?: Prisma.SortOrder;
367
+ createdAt?: Prisma.SortOrder;
368
+ completedAt?: Prisma.SortOrder;
369
+ };
370
+ export type RunHostStatusMinOrderByAggregateInput = {
371
+ runId?: Prisma.SortOrder;
372
+ provider?: Prisma.SortOrder;
373
+ repository?: Prisma.SortOrder;
374
+ number?: Prisma.SortOrder;
375
+ commentKind?: Prisma.SortOrder;
376
+ commentId?: Prisma.SortOrder;
377
+ replyToReviewCommentId?: Prisma.SortOrder;
378
+ createdAt?: Prisma.SortOrder;
379
+ completedAt?: Prisma.SortOrder;
380
+ };
381
+ export type RunHostStatusSumOrderByAggregateInput = {
382
+ number?: Prisma.SortOrder;
383
+ };
384
+ export type RunHostStatusCreateNestedOneWithoutRunInput = {
385
+ create?: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
386
+ connectOrCreate?: Prisma.RunHostStatusCreateOrConnectWithoutRunInput;
387
+ connect?: Prisma.RunHostStatusWhereUniqueInput;
388
+ };
389
+ export type RunHostStatusUncheckedCreateNestedOneWithoutRunInput = {
390
+ create?: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
391
+ connectOrCreate?: Prisma.RunHostStatusCreateOrConnectWithoutRunInput;
392
+ connect?: Prisma.RunHostStatusWhereUniqueInput;
393
+ };
394
+ export type RunHostStatusUpdateOneWithoutRunNestedInput = {
395
+ create?: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
396
+ connectOrCreate?: Prisma.RunHostStatusCreateOrConnectWithoutRunInput;
397
+ upsert?: Prisma.RunHostStatusUpsertWithoutRunInput;
398
+ disconnect?: Prisma.RunHostStatusWhereInput | boolean;
399
+ delete?: Prisma.RunHostStatusWhereInput | boolean;
400
+ connect?: Prisma.RunHostStatusWhereUniqueInput;
401
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunHostStatusUpdateToOneWithWhereWithoutRunInput, Prisma.RunHostStatusUpdateWithoutRunInput>, Prisma.RunHostStatusUncheckedUpdateWithoutRunInput>;
402
+ };
403
+ export type RunHostStatusUncheckedUpdateOneWithoutRunNestedInput = {
404
+ create?: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
405
+ connectOrCreate?: Prisma.RunHostStatusCreateOrConnectWithoutRunInput;
406
+ upsert?: Prisma.RunHostStatusUpsertWithoutRunInput;
407
+ disconnect?: Prisma.RunHostStatusWhereInput | boolean;
408
+ delete?: Prisma.RunHostStatusWhereInput | boolean;
409
+ connect?: Prisma.RunHostStatusWhereUniqueInput;
410
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunHostStatusUpdateToOneWithWhereWithoutRunInput, Prisma.RunHostStatusUpdateWithoutRunInput>, Prisma.RunHostStatusUncheckedUpdateWithoutRunInput>;
411
+ };
412
+ export type RunHostStatusCreateWithoutRunInput = {
413
+ provider: string;
414
+ repository: string;
415
+ number: number;
416
+ commentKind: string;
417
+ commentId?: string | null;
418
+ replyToReviewCommentId?: string | null;
419
+ createdAt?: Date | string;
420
+ completedAt?: Date | string | null;
421
+ };
422
+ export type RunHostStatusUncheckedCreateWithoutRunInput = {
423
+ provider: string;
424
+ repository: string;
425
+ number: number;
426
+ commentKind: string;
427
+ commentId?: string | null;
428
+ replyToReviewCommentId?: string | null;
429
+ createdAt?: Date | string;
430
+ completedAt?: Date | string | null;
431
+ };
432
+ export type RunHostStatusCreateOrConnectWithoutRunInput = {
433
+ where: Prisma.RunHostStatusWhereUniqueInput;
434
+ create: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
435
+ };
436
+ export type RunHostStatusUpsertWithoutRunInput = {
437
+ update: Prisma.XOR<Prisma.RunHostStatusUpdateWithoutRunInput, Prisma.RunHostStatusUncheckedUpdateWithoutRunInput>;
438
+ create: Prisma.XOR<Prisma.RunHostStatusCreateWithoutRunInput, Prisma.RunHostStatusUncheckedCreateWithoutRunInput>;
439
+ where?: Prisma.RunHostStatusWhereInput;
440
+ };
441
+ export type RunHostStatusUpdateToOneWithWhereWithoutRunInput = {
442
+ where?: Prisma.RunHostStatusWhereInput;
443
+ data: Prisma.XOR<Prisma.RunHostStatusUpdateWithoutRunInput, Prisma.RunHostStatusUncheckedUpdateWithoutRunInput>;
444
+ };
445
+ export type RunHostStatusUpdateWithoutRunInput = {
446
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
447
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
448
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
449
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
450
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
451
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
452
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
453
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
454
+ };
455
+ export type RunHostStatusUncheckedUpdateWithoutRunInput = {
456
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
457
+ repository?: Prisma.StringFieldUpdateOperationsInput | string;
458
+ number?: Prisma.IntFieldUpdateOperationsInput | number;
459
+ commentKind?: Prisma.StringFieldUpdateOperationsInput | string;
460
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
461
+ replyToReviewCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
462
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
463
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
464
+ };
465
+ export type RunHostStatusSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
466
+ runId?: boolean;
467
+ provider?: boolean;
468
+ repository?: boolean;
469
+ number?: boolean;
470
+ commentKind?: boolean;
471
+ commentId?: boolean;
472
+ replyToReviewCommentId?: boolean;
473
+ createdAt?: boolean;
474
+ completedAt?: boolean;
475
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
476
+ }, ExtArgs["result"]["runHostStatus"]>;
477
+ export type RunHostStatusSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
478
+ runId?: boolean;
479
+ provider?: boolean;
480
+ repository?: boolean;
481
+ number?: boolean;
482
+ commentKind?: boolean;
483
+ commentId?: boolean;
484
+ replyToReviewCommentId?: boolean;
485
+ createdAt?: boolean;
486
+ completedAt?: boolean;
487
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
488
+ }, ExtArgs["result"]["runHostStatus"]>;
489
+ export type RunHostStatusSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
490
+ runId?: boolean;
491
+ provider?: boolean;
492
+ repository?: boolean;
493
+ number?: boolean;
494
+ commentKind?: boolean;
495
+ commentId?: boolean;
496
+ replyToReviewCommentId?: boolean;
497
+ createdAt?: boolean;
498
+ completedAt?: boolean;
499
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
500
+ }, ExtArgs["result"]["runHostStatus"]>;
501
+ export type RunHostStatusSelectScalar = {
502
+ runId?: boolean;
503
+ provider?: boolean;
504
+ repository?: boolean;
505
+ number?: boolean;
506
+ commentKind?: boolean;
507
+ commentId?: boolean;
508
+ replyToReviewCommentId?: boolean;
509
+ createdAt?: boolean;
510
+ completedAt?: boolean;
511
+ };
512
+ export type RunHostStatusOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "number" | "commentKind" | "commentId" | "replyToReviewCommentId" | "createdAt" | "completedAt", ExtArgs["result"]["runHostStatus"]>;
513
+ export type RunHostStatusInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
514
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
515
+ };
516
+ export type RunHostStatusIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
517
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
518
+ };
519
+ export type RunHostStatusIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
520
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
521
+ };
522
+ export type $RunHostStatusPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
523
+ name: "RunHostStatus";
524
+ objects: {
525
+ run: Prisma.$RunPayload<ExtArgs>;
526
+ };
527
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
528
+ runId: string;
529
+ provider: string;
530
+ repository: string;
531
+ /**
532
+ * The issue or pull request number the comment is on.
533
+ */
534
+ number: number;
535
+ /**
536
+ * "conversation" (issue/PR comment) or "inline" (a reply in a review thread).
537
+ */
538
+ commentKind: string;
539
+ /**
540
+ * Null until the "working on it" comment is posted. The row is written
541
+ * with the run, so a run that dies before the comment exists still gets
542
+ * an outcome comment (from the reconciler).
543
+ */
544
+ commentId: string | null;
545
+ /**
546
+ * For an inline mention: the review comment to reply to when the outcome
547
+ * has to be posted as a new comment.
548
+ */
549
+ replyToReviewCommentId: string | null;
550
+ createdAt: Date;
551
+ completedAt: Date | null;
552
+ }, ExtArgs["result"]["runHostStatus"]>;
553
+ composites: {};
554
+ };
555
+ export type RunHostStatusGetPayload<S extends boolean | null | undefined | RunHostStatusDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload, S>;
556
+ export type RunHostStatusCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RunHostStatusFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
557
+ select?: RunHostStatusCountAggregateInputType | true;
558
+ };
559
+ export interface RunHostStatusDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
560
+ [K: symbol]: {
561
+ types: Prisma.TypeMap<ExtArgs>['model']['RunHostStatus'];
562
+ meta: {
563
+ name: 'RunHostStatus';
564
+ };
565
+ };
566
+ /**
567
+ * Find zero or one RunHostStatus that matches the filter.
568
+ * @param {RunHostStatusFindUniqueArgs} args - Arguments to find a RunHostStatus
569
+ * @example
570
+ * // Get one RunHostStatus
571
+ * const runHostStatus = await prisma.runHostStatus.findUnique({
572
+ * where: {
573
+ * // ... provide filter here
574
+ * }
575
+ * })
576
+ */
577
+ findUnique<T extends RunHostStatusFindUniqueArgs>(args: Prisma.SelectSubset<T, RunHostStatusFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
578
+ /**
579
+ * Find one RunHostStatus that matches the filter or throw an error with `error.code='P2025'`
580
+ * if no matches were found.
581
+ * @param {RunHostStatusFindUniqueOrThrowArgs} args - Arguments to find a RunHostStatus
582
+ * @example
583
+ * // Get one RunHostStatus
584
+ * const runHostStatus = await prisma.runHostStatus.findUniqueOrThrow({
585
+ * where: {
586
+ * // ... provide filter here
587
+ * }
588
+ * })
589
+ */
590
+ findUniqueOrThrow<T extends RunHostStatusFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RunHostStatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
591
+ /**
592
+ * Find the first RunHostStatus that matches the filter.
593
+ * Note, that providing `undefined` is treated as the value not being there.
594
+ * Read more here: https://pris.ly/d/null-undefined
595
+ * @param {RunHostStatusFindFirstArgs} args - Arguments to find a RunHostStatus
596
+ * @example
597
+ * // Get one RunHostStatus
598
+ * const runHostStatus = await prisma.runHostStatus.findFirst({
599
+ * where: {
600
+ * // ... provide filter here
601
+ * }
602
+ * })
603
+ */
604
+ findFirst<T extends RunHostStatusFindFirstArgs>(args?: Prisma.SelectSubset<T, RunHostStatusFindFirstArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
605
+ /**
606
+ * Find the first RunHostStatus that matches the filter or
607
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
608
+ * Note, that providing `undefined` is treated as the value not being there.
609
+ * Read more here: https://pris.ly/d/null-undefined
610
+ * @param {RunHostStatusFindFirstOrThrowArgs} args - Arguments to find a RunHostStatus
611
+ * @example
612
+ * // Get one RunHostStatus
613
+ * const runHostStatus = await prisma.runHostStatus.findFirstOrThrow({
614
+ * where: {
615
+ * // ... provide filter here
616
+ * }
617
+ * })
618
+ */
619
+ findFirstOrThrow<T extends RunHostStatusFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RunHostStatusFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
620
+ /**
621
+ * Find zero or more RunHostStatuses that matches the filter.
622
+ * Note, that providing `undefined` is treated as the value not being there.
623
+ * Read more here: https://pris.ly/d/null-undefined
624
+ * @param {RunHostStatusFindManyArgs} args - Arguments to filter and select certain fields only.
625
+ * @example
626
+ * // Get all RunHostStatuses
627
+ * const runHostStatuses = await prisma.runHostStatus.findMany()
628
+ *
629
+ * // Get first 10 RunHostStatuses
630
+ * const runHostStatuses = await prisma.runHostStatus.findMany({ take: 10 })
631
+ *
632
+ * // Only select the `runId`
633
+ * const runHostStatusWithRunIdOnly = await prisma.runHostStatus.findMany({ select: { runId: true } })
634
+ *
635
+ */
636
+ findMany<T extends RunHostStatusFindManyArgs>(args?: Prisma.SelectSubset<T, RunHostStatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
637
+ /**
638
+ * Create a RunHostStatus.
639
+ * @param {RunHostStatusCreateArgs} args - Arguments to create a RunHostStatus.
640
+ * @example
641
+ * // Create one RunHostStatus
642
+ * const RunHostStatus = await prisma.runHostStatus.create({
643
+ * data: {
644
+ * // ... data to create a RunHostStatus
645
+ * }
646
+ * })
647
+ *
648
+ */
649
+ create<T extends RunHostStatusCreateArgs>(args: Prisma.SelectSubset<T, RunHostStatusCreateArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
650
+ /**
651
+ * Create many RunHostStatuses.
652
+ * @param {RunHostStatusCreateManyArgs} args - Arguments to create many RunHostStatuses.
653
+ * @example
654
+ * // Create many RunHostStatuses
655
+ * const runHostStatus = await prisma.runHostStatus.createMany({
656
+ * data: [
657
+ * // ... provide data here
658
+ * ]
659
+ * })
660
+ *
661
+ */
662
+ createMany<T extends RunHostStatusCreateManyArgs>(args?: Prisma.SelectSubset<T, RunHostStatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
663
+ /**
664
+ * Create many RunHostStatuses and returns the data saved in the database.
665
+ * @param {RunHostStatusCreateManyAndReturnArgs} args - Arguments to create many RunHostStatuses.
666
+ * @example
667
+ * // Create many RunHostStatuses
668
+ * const runHostStatus = await prisma.runHostStatus.createManyAndReturn({
669
+ * data: [
670
+ * // ... provide data here
671
+ * ]
672
+ * })
673
+ *
674
+ * // Create many RunHostStatuses and only return the `runId`
675
+ * const runHostStatusWithRunIdOnly = await prisma.runHostStatus.createManyAndReturn({
676
+ * select: { runId: true },
677
+ * data: [
678
+ * // ... provide data here
679
+ * ]
680
+ * })
681
+ * Note, that providing `undefined` is treated as the value not being there.
682
+ * Read more here: https://pris.ly/d/null-undefined
683
+ *
684
+ */
685
+ createManyAndReturn<T extends RunHostStatusCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RunHostStatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
686
+ /**
687
+ * Delete a RunHostStatus.
688
+ * @param {RunHostStatusDeleteArgs} args - Arguments to delete one RunHostStatus.
689
+ * @example
690
+ * // Delete one RunHostStatus
691
+ * const RunHostStatus = await prisma.runHostStatus.delete({
692
+ * where: {
693
+ * // ... filter to delete one RunHostStatus
694
+ * }
695
+ * })
696
+ *
697
+ */
698
+ delete<T extends RunHostStatusDeleteArgs>(args: Prisma.SelectSubset<T, RunHostStatusDeleteArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
699
+ /**
700
+ * Update one RunHostStatus.
701
+ * @param {RunHostStatusUpdateArgs} args - Arguments to update one RunHostStatus.
702
+ * @example
703
+ * // Update one RunHostStatus
704
+ * const runHostStatus = await prisma.runHostStatus.update({
705
+ * where: {
706
+ * // ... provide filter here
707
+ * },
708
+ * data: {
709
+ * // ... provide data here
710
+ * }
711
+ * })
712
+ *
713
+ */
714
+ update<T extends RunHostStatusUpdateArgs>(args: Prisma.SelectSubset<T, RunHostStatusUpdateArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
715
+ /**
716
+ * Delete zero or more RunHostStatuses.
717
+ * @param {RunHostStatusDeleteManyArgs} args - Arguments to filter RunHostStatuses to delete.
718
+ * @example
719
+ * // Delete a few RunHostStatuses
720
+ * const { count } = await prisma.runHostStatus.deleteMany({
721
+ * where: {
722
+ * // ... provide filter here
723
+ * }
724
+ * })
725
+ *
726
+ */
727
+ deleteMany<T extends RunHostStatusDeleteManyArgs>(args?: Prisma.SelectSubset<T, RunHostStatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
728
+ /**
729
+ * Update zero or more RunHostStatuses.
730
+ * Note, that providing `undefined` is treated as the value not being there.
731
+ * Read more here: https://pris.ly/d/null-undefined
732
+ * @param {RunHostStatusUpdateManyArgs} args - Arguments to update one or more rows.
733
+ * @example
734
+ * // Update many RunHostStatuses
735
+ * const runHostStatus = await prisma.runHostStatus.updateMany({
736
+ * where: {
737
+ * // ... provide filter here
738
+ * },
739
+ * data: {
740
+ * // ... provide data here
741
+ * }
742
+ * })
743
+ *
744
+ */
745
+ updateMany<T extends RunHostStatusUpdateManyArgs>(args: Prisma.SelectSubset<T, RunHostStatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
746
+ /**
747
+ * Update zero or more RunHostStatuses and returns the data updated in the database.
748
+ * @param {RunHostStatusUpdateManyAndReturnArgs} args - Arguments to update many RunHostStatuses.
749
+ * @example
750
+ * // Update many RunHostStatuses
751
+ * const runHostStatus = await prisma.runHostStatus.updateManyAndReturn({
752
+ * where: {
753
+ * // ... provide filter here
754
+ * },
755
+ * data: [
756
+ * // ... provide data here
757
+ * ]
758
+ * })
759
+ *
760
+ * // Update zero or more RunHostStatuses and only return the `runId`
761
+ * const runHostStatusWithRunIdOnly = await prisma.runHostStatus.updateManyAndReturn({
762
+ * select: { runId: true },
763
+ * where: {
764
+ * // ... provide filter here
765
+ * },
766
+ * data: [
767
+ * // ... provide data here
768
+ * ]
769
+ * })
770
+ * Note, that providing `undefined` is treated as the value not being there.
771
+ * Read more here: https://pris.ly/d/null-undefined
772
+ *
773
+ */
774
+ updateManyAndReturn<T extends RunHostStatusUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RunHostStatusUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
775
+ /**
776
+ * Create or update one RunHostStatus.
777
+ * @param {RunHostStatusUpsertArgs} args - Arguments to update or create a RunHostStatus.
778
+ * @example
779
+ * // Update or create a RunHostStatus
780
+ * const runHostStatus = await prisma.runHostStatus.upsert({
781
+ * create: {
782
+ * // ... data to create a RunHostStatus
783
+ * },
784
+ * update: {
785
+ * // ... in case it already exists, update
786
+ * },
787
+ * where: {
788
+ * // ... the filter for the RunHostStatus we want to update
789
+ * }
790
+ * })
791
+ */
792
+ upsert<T extends RunHostStatusUpsertArgs>(args: Prisma.SelectSubset<T, RunHostStatusUpsertArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
793
+ /**
794
+ * Count the number of RunHostStatuses.
795
+ * Note, that providing `undefined` is treated as the value not being there.
796
+ * Read more here: https://pris.ly/d/null-undefined
797
+ * @param {RunHostStatusCountArgs} args - Arguments to filter RunHostStatuses to count.
798
+ * @example
799
+ * // Count the number of RunHostStatuses
800
+ * const count = await prisma.runHostStatus.count({
801
+ * where: {
802
+ * // ... the filter for the RunHostStatuses we want to count
803
+ * }
804
+ * })
805
+ **/
806
+ count<T extends RunHostStatusCountArgs>(args?: Prisma.Subset<T, RunHostStatusCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RunHostStatusCountAggregateOutputType> : number>;
807
+ /**
808
+ * Allows you to perform aggregations operations on a RunHostStatus.
809
+ * Note, that providing `undefined` is treated as the value not being there.
810
+ * Read more here: https://pris.ly/d/null-undefined
811
+ * @param {RunHostStatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
812
+ * @example
813
+ * // Ordered by age ascending
814
+ * // Where email contains prisma.io
815
+ * // Limited to the 10 users
816
+ * const aggregations = await prisma.user.aggregate({
817
+ * _avg: {
818
+ * age: true,
819
+ * },
820
+ * where: {
821
+ * email: {
822
+ * contains: "prisma.io",
823
+ * },
824
+ * },
825
+ * orderBy: {
826
+ * age: "asc",
827
+ * },
828
+ * take: 10,
829
+ * })
830
+ **/
831
+ aggregate<T extends RunHostStatusAggregateArgs>(args: Prisma.Subset<T, RunHostStatusAggregateArgs>): Prisma.PrismaPromise<GetRunHostStatusAggregateType<T>>;
832
+ /**
833
+ * Group by RunHostStatus.
834
+ * Note, that providing `undefined` is treated as the value not being there.
835
+ * Read more here: https://pris.ly/d/null-undefined
836
+ * @param {RunHostStatusGroupByArgs} args - Group by arguments.
837
+ * @example
838
+ * // Group by city, order by createdAt, get count
839
+ * const result = await prisma.user.groupBy({
840
+ * by: ['city', 'createdAt'],
841
+ * orderBy: {
842
+ * createdAt: true
843
+ * },
844
+ * _count: {
845
+ * _all: true
846
+ * },
847
+ * })
848
+ *
849
+ **/
850
+ groupBy<T extends RunHostStatusGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
851
+ orderBy: RunHostStatusGroupByArgs['orderBy'];
852
+ } : {
853
+ orderBy?: RunHostStatusGroupByArgs['orderBy'];
854
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
855
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
856
+ Error,
857
+ 'Field ',
858
+ P,
859
+ ` in "having" needs to be provided in "by"`
860
+ ];
861
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
862
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
863
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
864
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
865
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
866
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
867
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, RunHostStatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRunHostStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
868
+ /**
869
+ * Fields of the RunHostStatus model
870
+ */
871
+ readonly fields: RunHostStatusFieldRefs;
872
+ }
873
+ /**
874
+ * The delegate class that acts as a "Promise-like" for RunHostStatus.
875
+ * Why is this prefixed with `Prisma__`?
876
+ * Because we want to prevent naming conflicts as mentioned in
877
+ * https://github.com/prisma/prisma-client-js/issues/707
878
+ */
879
+ export interface Prisma__RunHostStatusClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
880
+ readonly [Symbol.toStringTag]: "PrismaPromise";
881
+ run<T extends Prisma.RunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RunDefaultArgs<ExtArgs>>): Prisma.Prisma__RunClient<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
882
+ /**
883
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
884
+ * @param onfulfilled The callback to execute when the Promise is resolved.
885
+ * @param onrejected The callback to execute when the Promise is rejected.
886
+ * @returns A Promise for the completion of which ever callback is executed.
887
+ */
888
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
889
+ /**
890
+ * Attaches a callback for only the rejection of the Promise.
891
+ * @param onrejected The callback to execute when the Promise is rejected.
892
+ * @returns A Promise for the completion of the callback.
893
+ */
894
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
895
+ /**
896
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
897
+ * resolved value cannot be modified from the callback.
898
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
899
+ * @returns A Promise for the completion of the callback.
900
+ */
901
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
902
+ }
903
+ /**
904
+ * Fields of the RunHostStatus model
905
+ */
906
+ export interface RunHostStatusFieldRefs {
907
+ readonly runId: Prisma.FieldRef<"RunHostStatus", 'String'>;
908
+ readonly provider: Prisma.FieldRef<"RunHostStatus", 'String'>;
909
+ readonly repository: Prisma.FieldRef<"RunHostStatus", 'String'>;
910
+ readonly number: Prisma.FieldRef<"RunHostStatus", 'Int'>;
911
+ readonly commentKind: Prisma.FieldRef<"RunHostStatus", 'String'>;
912
+ readonly commentId: Prisma.FieldRef<"RunHostStatus", 'String'>;
913
+ readonly replyToReviewCommentId: Prisma.FieldRef<"RunHostStatus", 'String'>;
914
+ readonly createdAt: Prisma.FieldRef<"RunHostStatus", 'DateTime'>;
915
+ readonly completedAt: Prisma.FieldRef<"RunHostStatus", 'DateTime'>;
916
+ }
917
+ /**
918
+ * RunHostStatus findUnique
919
+ */
920
+ export type RunHostStatusFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
921
+ /**
922
+ * Select specific fields to fetch from the RunHostStatus
923
+ */
924
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
925
+ /**
926
+ * Omit specific fields from the RunHostStatus
927
+ */
928
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
929
+ /**
930
+ * Choose, which related nodes to fetch as well
931
+ */
932
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
933
+ /**
934
+ * Filter, which RunHostStatus to fetch.
935
+ */
936
+ where: Prisma.RunHostStatusWhereUniqueInput;
937
+ };
938
+ /**
939
+ * RunHostStatus findUniqueOrThrow
940
+ */
941
+ export type RunHostStatusFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
942
+ /**
943
+ * Select specific fields to fetch from the RunHostStatus
944
+ */
945
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
946
+ /**
947
+ * Omit specific fields from the RunHostStatus
948
+ */
949
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
950
+ /**
951
+ * Choose, which related nodes to fetch as well
952
+ */
953
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
954
+ /**
955
+ * Filter, which RunHostStatus to fetch.
956
+ */
957
+ where: Prisma.RunHostStatusWhereUniqueInput;
958
+ };
959
+ /**
960
+ * RunHostStatus findFirst
961
+ */
962
+ export type RunHostStatusFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
963
+ /**
964
+ * Select specific fields to fetch from the RunHostStatus
965
+ */
966
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
967
+ /**
968
+ * Omit specific fields from the RunHostStatus
969
+ */
970
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
971
+ /**
972
+ * Choose, which related nodes to fetch as well
973
+ */
974
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
975
+ /**
976
+ * Filter, which RunHostStatus to fetch.
977
+ */
978
+ where?: Prisma.RunHostStatusWhereInput;
979
+ /**
980
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
981
+ *
982
+ * Determine the order of RunHostStatuses to fetch.
983
+ */
984
+ orderBy?: Prisma.RunHostStatusOrderByWithRelationInput | Prisma.RunHostStatusOrderByWithRelationInput[];
985
+ /**
986
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
987
+ *
988
+ * Sets the position for searching for RunHostStatuses.
989
+ */
990
+ cursor?: Prisma.RunHostStatusWhereUniqueInput;
991
+ /**
992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
993
+ *
994
+ * Take `±n` RunHostStatuses from the position of the cursor.
995
+ */
996
+ take?: number;
997
+ /**
998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
999
+ *
1000
+ * Skip the first `n` RunHostStatuses.
1001
+ */
1002
+ skip?: number;
1003
+ /**
1004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1005
+ *
1006
+ * Filter by unique combinations of RunHostStatuses.
1007
+ */
1008
+ distinct?: Prisma.RunHostStatusScalarFieldEnum | Prisma.RunHostStatusScalarFieldEnum[];
1009
+ };
1010
+ /**
1011
+ * RunHostStatus findFirstOrThrow
1012
+ */
1013
+ export type RunHostStatusFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1014
+ /**
1015
+ * Select specific fields to fetch from the RunHostStatus
1016
+ */
1017
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1018
+ /**
1019
+ * Omit specific fields from the RunHostStatus
1020
+ */
1021
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1022
+ /**
1023
+ * Choose, which related nodes to fetch as well
1024
+ */
1025
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1026
+ /**
1027
+ * Filter, which RunHostStatus to fetch.
1028
+ */
1029
+ where?: Prisma.RunHostStatusWhereInput;
1030
+ /**
1031
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1032
+ *
1033
+ * Determine the order of RunHostStatuses to fetch.
1034
+ */
1035
+ orderBy?: Prisma.RunHostStatusOrderByWithRelationInput | Prisma.RunHostStatusOrderByWithRelationInput[];
1036
+ /**
1037
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1038
+ *
1039
+ * Sets the position for searching for RunHostStatuses.
1040
+ */
1041
+ cursor?: Prisma.RunHostStatusWhereUniqueInput;
1042
+ /**
1043
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1044
+ *
1045
+ * Take `±n` RunHostStatuses from the position of the cursor.
1046
+ */
1047
+ take?: number;
1048
+ /**
1049
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1050
+ *
1051
+ * Skip the first `n` RunHostStatuses.
1052
+ */
1053
+ skip?: number;
1054
+ /**
1055
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1056
+ *
1057
+ * Filter by unique combinations of RunHostStatuses.
1058
+ */
1059
+ distinct?: Prisma.RunHostStatusScalarFieldEnum | Prisma.RunHostStatusScalarFieldEnum[];
1060
+ };
1061
+ /**
1062
+ * RunHostStatus findMany
1063
+ */
1064
+ export type RunHostStatusFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1065
+ /**
1066
+ * Select specific fields to fetch from the RunHostStatus
1067
+ */
1068
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1069
+ /**
1070
+ * Omit specific fields from the RunHostStatus
1071
+ */
1072
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1073
+ /**
1074
+ * Choose, which related nodes to fetch as well
1075
+ */
1076
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1077
+ /**
1078
+ * Filter, which RunHostStatuses to fetch.
1079
+ */
1080
+ where?: Prisma.RunHostStatusWhereInput;
1081
+ /**
1082
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1083
+ *
1084
+ * Determine the order of RunHostStatuses to fetch.
1085
+ */
1086
+ orderBy?: Prisma.RunHostStatusOrderByWithRelationInput | Prisma.RunHostStatusOrderByWithRelationInput[];
1087
+ /**
1088
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1089
+ *
1090
+ * Sets the position for listing RunHostStatuses.
1091
+ */
1092
+ cursor?: Prisma.RunHostStatusWhereUniqueInput;
1093
+ /**
1094
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1095
+ *
1096
+ * Take `±n` RunHostStatuses from the position of the cursor.
1097
+ */
1098
+ take?: number;
1099
+ /**
1100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1101
+ *
1102
+ * Skip the first `n` RunHostStatuses.
1103
+ */
1104
+ skip?: number;
1105
+ /**
1106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1107
+ *
1108
+ * Filter by unique combinations of RunHostStatuses.
1109
+ */
1110
+ distinct?: Prisma.RunHostStatusScalarFieldEnum | Prisma.RunHostStatusScalarFieldEnum[];
1111
+ };
1112
+ /**
1113
+ * RunHostStatus create
1114
+ */
1115
+ export type RunHostStatusCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1116
+ /**
1117
+ * Select specific fields to fetch from the RunHostStatus
1118
+ */
1119
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1120
+ /**
1121
+ * Omit specific fields from the RunHostStatus
1122
+ */
1123
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1124
+ /**
1125
+ * Choose, which related nodes to fetch as well
1126
+ */
1127
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1128
+ /**
1129
+ * The data needed to create a RunHostStatus.
1130
+ */
1131
+ data: Prisma.XOR<Prisma.RunHostStatusCreateInput, Prisma.RunHostStatusUncheckedCreateInput>;
1132
+ };
1133
+ /**
1134
+ * RunHostStatus createMany
1135
+ */
1136
+ export type RunHostStatusCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1137
+ /**
1138
+ * The data used to create many RunHostStatuses.
1139
+ */
1140
+ data: Prisma.RunHostStatusCreateManyInput | Prisma.RunHostStatusCreateManyInput[];
1141
+ skipDuplicates?: boolean;
1142
+ };
1143
+ /**
1144
+ * RunHostStatus createManyAndReturn
1145
+ */
1146
+ export type RunHostStatusCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1147
+ /**
1148
+ * Select specific fields to fetch from the RunHostStatus
1149
+ */
1150
+ select?: Prisma.RunHostStatusSelectCreateManyAndReturn<ExtArgs> | null;
1151
+ /**
1152
+ * Omit specific fields from the RunHostStatus
1153
+ */
1154
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1155
+ /**
1156
+ * The data used to create many RunHostStatuses.
1157
+ */
1158
+ data: Prisma.RunHostStatusCreateManyInput | Prisma.RunHostStatusCreateManyInput[];
1159
+ skipDuplicates?: boolean;
1160
+ /**
1161
+ * Choose, which related nodes to fetch as well
1162
+ */
1163
+ include?: Prisma.RunHostStatusIncludeCreateManyAndReturn<ExtArgs> | null;
1164
+ };
1165
+ /**
1166
+ * RunHostStatus update
1167
+ */
1168
+ export type RunHostStatusUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1169
+ /**
1170
+ * Select specific fields to fetch from the RunHostStatus
1171
+ */
1172
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1173
+ /**
1174
+ * Omit specific fields from the RunHostStatus
1175
+ */
1176
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1177
+ /**
1178
+ * Choose, which related nodes to fetch as well
1179
+ */
1180
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1181
+ /**
1182
+ * The data needed to update a RunHostStatus.
1183
+ */
1184
+ data: Prisma.XOR<Prisma.RunHostStatusUpdateInput, Prisma.RunHostStatusUncheckedUpdateInput>;
1185
+ /**
1186
+ * Choose, which RunHostStatus to update.
1187
+ */
1188
+ where: Prisma.RunHostStatusWhereUniqueInput;
1189
+ };
1190
+ /**
1191
+ * RunHostStatus updateMany
1192
+ */
1193
+ export type RunHostStatusUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1194
+ /**
1195
+ * The data used to update RunHostStatuses.
1196
+ */
1197
+ data: Prisma.XOR<Prisma.RunHostStatusUpdateManyMutationInput, Prisma.RunHostStatusUncheckedUpdateManyInput>;
1198
+ /**
1199
+ * Filter which RunHostStatuses to update
1200
+ */
1201
+ where?: Prisma.RunHostStatusWhereInput;
1202
+ /**
1203
+ * Limit how many RunHostStatuses to update.
1204
+ */
1205
+ limit?: number;
1206
+ };
1207
+ /**
1208
+ * RunHostStatus updateManyAndReturn
1209
+ */
1210
+ export type RunHostStatusUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1211
+ /**
1212
+ * Select specific fields to fetch from the RunHostStatus
1213
+ */
1214
+ select?: Prisma.RunHostStatusSelectUpdateManyAndReturn<ExtArgs> | null;
1215
+ /**
1216
+ * Omit specific fields from the RunHostStatus
1217
+ */
1218
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1219
+ /**
1220
+ * The data used to update RunHostStatuses.
1221
+ */
1222
+ data: Prisma.XOR<Prisma.RunHostStatusUpdateManyMutationInput, Prisma.RunHostStatusUncheckedUpdateManyInput>;
1223
+ /**
1224
+ * Filter which RunHostStatuses to update
1225
+ */
1226
+ where?: Prisma.RunHostStatusWhereInput;
1227
+ /**
1228
+ * Limit how many RunHostStatuses to update.
1229
+ */
1230
+ limit?: number;
1231
+ /**
1232
+ * Choose, which related nodes to fetch as well
1233
+ */
1234
+ include?: Prisma.RunHostStatusIncludeUpdateManyAndReturn<ExtArgs> | null;
1235
+ };
1236
+ /**
1237
+ * RunHostStatus upsert
1238
+ */
1239
+ export type RunHostStatusUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
+ /**
1241
+ * Select specific fields to fetch from the RunHostStatus
1242
+ */
1243
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1244
+ /**
1245
+ * Omit specific fields from the RunHostStatus
1246
+ */
1247
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1248
+ /**
1249
+ * Choose, which related nodes to fetch as well
1250
+ */
1251
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1252
+ /**
1253
+ * The filter to search for the RunHostStatus to update in case it exists.
1254
+ */
1255
+ where: Prisma.RunHostStatusWhereUniqueInput;
1256
+ /**
1257
+ * In case the RunHostStatus found by the `where` argument doesn't exist, create a new RunHostStatus with this data.
1258
+ */
1259
+ create: Prisma.XOR<Prisma.RunHostStatusCreateInput, Prisma.RunHostStatusUncheckedCreateInput>;
1260
+ /**
1261
+ * In case the RunHostStatus was found with the provided `where` argument, update it with this data.
1262
+ */
1263
+ update: Prisma.XOR<Prisma.RunHostStatusUpdateInput, Prisma.RunHostStatusUncheckedUpdateInput>;
1264
+ };
1265
+ /**
1266
+ * RunHostStatus delete
1267
+ */
1268
+ export type RunHostStatusDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the RunHostStatus
1271
+ */
1272
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1273
+ /**
1274
+ * Omit specific fields from the RunHostStatus
1275
+ */
1276
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1277
+ /**
1278
+ * Choose, which related nodes to fetch as well
1279
+ */
1280
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1281
+ /**
1282
+ * Filter which RunHostStatus to delete.
1283
+ */
1284
+ where: Prisma.RunHostStatusWhereUniqueInput;
1285
+ };
1286
+ /**
1287
+ * RunHostStatus deleteMany
1288
+ */
1289
+ export type RunHostStatusDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1290
+ /**
1291
+ * Filter which RunHostStatuses to delete
1292
+ */
1293
+ where?: Prisma.RunHostStatusWhereInput;
1294
+ /**
1295
+ * Limit how many RunHostStatuses to delete.
1296
+ */
1297
+ limit?: number;
1298
+ };
1299
+ /**
1300
+ * RunHostStatus without action
1301
+ */
1302
+ export type RunHostStatusDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1303
+ /**
1304
+ * Select specific fields to fetch from the RunHostStatus
1305
+ */
1306
+ select?: Prisma.RunHostStatusSelect<ExtArgs> | null;
1307
+ /**
1308
+ * Omit specific fields from the RunHostStatus
1309
+ */
1310
+ omit?: Prisma.RunHostStatusOmit<ExtArgs> | null;
1311
+ /**
1312
+ * Choose, which related nodes to fetch as well
1313
+ */
1314
+ include?: Prisma.RunHostStatusInclude<ExtArgs> | null;
1315
+ };