@wardby/cli 0.5.3 → 0.7.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 (763) hide show
  1. package/.env.example +33 -0
  2. package/README.md +25 -14
  3. package/deploy/local/docker-compose.quickstart-coding.yml +13 -0
  4. package/dist/claude-coding-worker/context.d.ts +22 -0
  5. package/dist/claude-coding-worker/context.js +92 -0
  6. package/dist/claude-coding-worker/driver.d.ts +27 -3
  7. package/dist/claude-coding-worker/driver.js +161 -20
  8. package/dist/claude-coding-worker/main.js +34 -6
  9. package/dist/claude-coding-worker/sdk.js +25 -5
  10. package/dist/claude-coding-worker/tool-socket.d.ts +27 -0
  11. package/dist/claude-coding-worker/tool-socket.js +111 -0
  12. package/dist/claude-coding-worker/transcript.d.ts +18 -0
  13. package/dist/claude-coding-worker/transcript.js +77 -0
  14. package/dist/cli-help.d.ts +1 -1
  15. package/dist/cli-help.js +6 -2
  16. package/dist/cli-native-mode.d.ts +9 -0
  17. package/dist/cli-native-mode.js +20 -0
  18. package/dist/cli.d.ts +3 -1
  19. package/dist/cli.js +161 -11
  20. package/dist/coding/claude-context.d.ts +45 -0
  21. package/dist/coding/claude-context.js +434 -0
  22. package/dist/coding/continuation-wording.d.ts +35 -0
  23. package/dist/coding/continuation-wording.js +73 -0
  24. package/dist/coding/linked-issue-note.d.ts +23 -0
  25. package/dist/coding/linked-issue-note.js +47 -0
  26. package/dist/coding/merge-wording.d.ts +28 -0
  27. package/dist/coding/merge-wording.js +78 -0
  28. package/dist/coding/pr-description-note.d.ts +9 -0
  29. package/dist/coding/pr-description-note.js +32 -0
  30. package/dist/coding/profile.d.ts +50 -118
  31. package/dist/coding/profile.js +51 -4
  32. package/dist/coding/protected-path-wording.d.ts +8 -0
  33. package/dist/coding/protected-path-wording.js +1 -1
  34. package/dist/coding/protocol.d.ts +292 -270
  35. package/dist/coding/protocol.js +322 -15
  36. package/dist/coding/redact.d.ts +3 -0
  37. package/dist/coding/redact.js +12 -0
  38. package/dist/coding/registry/allowlist.d.ts +12 -0
  39. package/dist/coding/registry/allowlist.js +14 -1
  40. package/dist/coding/registry/audit-mode.d.ts +153 -0
  41. package/dist/coding/registry/audit-mode.js +304 -0
  42. package/dist/coding/registry/lockfile-shared.d.ts +36 -0
  43. package/dist/coding/registry/lockfile-shared.js +128 -0
  44. package/dist/coding/registry/lockfiles.js +1 -1
  45. package/dist/coding/registry/npm-lockfile-formats.d.ts +11 -0
  46. package/dist/coding/registry/npm-lockfile-formats.js +41 -0
  47. package/dist/coding/registry/npm-lockfile.d.ts +8 -4
  48. package/dist/coding/registry/npm-lockfile.js +4 -6
  49. package/dist/coding/registry/npm.js +78 -8
  50. package/dist/coding/registry/pnpm-lockfile.d.ts +17 -0
  51. package/dist/coding/registry/pnpm-lockfile.js +189 -0
  52. package/dist/coding/registry/pypi-plan.d.ts +50 -0
  53. package/dist/coding/registry/pypi-plan.js +406 -0
  54. package/dist/coding/registry/pypi-requirements.d.ts +58 -0
  55. package/dist/coding/registry/pypi-requirements.js +155 -0
  56. package/dist/coding/registry/pypi.d.ts +3 -27
  57. package/dist/coding/registry/pypi.js +40 -154
  58. package/dist/coding/registry/refusal-hints.d.ts +20 -0
  59. package/dist/coding/registry/refusal-hints.js +61 -0
  60. package/dist/coding/registry/refusal-wording.d.ts +11 -0
  61. package/dist/coding/registry/refusal-wording.js +56 -0
  62. package/dist/coding/registry/report.d.ts +70 -8
  63. package/dist/coding/registry/report.js +112 -5
  64. package/dist/coding/registry/types.d.ts +58 -8
  65. package/dist/coding/registry/yarn-lockfile.d.ts +30 -0
  66. package/dist/coding/registry/yarn-lockfile.js +367 -0
  67. package/dist/coding/services/catalog.d.ts +37 -351
  68. package/dist/coding/transcript/claude-code.d.ts +13 -0
  69. package/dist/coding/transcript/claude-code.js +273 -0
  70. package/dist/coding/transcript/download-protocol.d.ts +30 -0
  71. package/dist/coding/transcript/download-protocol.js +18 -0
  72. package/dist/coding/transcript/format.d.ts +20 -0
  73. package/dist/coding/transcript/format.js +32 -0
  74. package/dist/coding/transcript/recorder.d.ts +51 -0
  75. package/dist/coding/transcript/recorder.js +225 -0
  76. package/dist/coding/transcript/resume/checkout.d.ts +31 -0
  77. package/dist/coding/transcript/resume/checkout.js +203 -0
  78. package/dist/coding/transcript/resume/command.d.ts +17 -0
  79. package/dist/coding/transcript/resume/command.js +176 -0
  80. package/dist/coding/transcript/resume/download.d.ts +20 -0
  81. package/dist/coding/transcript/resume/download.js +153 -0
  82. package/dist/coding/transcript/resume/launch.d.ts +38 -0
  83. package/dist/coding/transcript/resume/launch.js +128 -0
  84. package/dist/coding/transcript/resume/session-file.d.ts +13 -0
  85. package/dist/coding/transcript/resume/session-file.js +79 -0
  86. package/dist/coding/transcript/resume/stand-in.d.ts +11 -0
  87. package/dist/coding/transcript/resume/stand-in.js +49 -0
  88. package/dist/coding-worker/artifact.d.ts +16 -3
  89. package/dist/coding-worker/artifact.js +5 -3
  90. package/dist/coding-worker/debug-trace.d.ts +6 -5
  91. package/dist/coding-worker/debug-trace.js +13 -18
  92. package/dist/coding-worker/dependency-cache.d.mts +229 -0
  93. package/dist/coding-worker/dependency-cache.mjs +2123 -0
  94. package/dist/coding-worker/driver.d.ts +4 -3
  95. package/dist/coding-worker/driver.js +118 -38
  96. package/dist/coding-worker/errors.d.ts +1 -0
  97. package/dist/coding-worker/errors.js +32 -0
  98. package/dist/coding-worker/sdk.d.ts +6 -0
  99. package/dist/coding-worker/sdk.js +1 -0
  100. package/dist/coding-worker/skills.d.ts +23 -0
  101. package/dist/coding-worker/skills.js +117 -0
  102. package/dist/coding-worker/task-note.d.ts +11 -0
  103. package/dist/coding-worker/task-note.js +13 -0
  104. package/dist/coding-worker/types.d.ts +13 -0
  105. package/dist/config/dependency-cache.d.ts +23 -0
  106. package/dist/config/dependency-cache.js +32 -0
  107. package/dist/config/github-allowed-accounts.d.ts +15 -0
  108. package/dist/config/github-allowed-accounts.js +36 -0
  109. package/dist/config/low-power.d.ts +12 -0
  110. package/dist/config/low-power.js +18 -0
  111. package/dist/config/mobile.d.ts +12 -0
  112. package/dist/config/mobile.js +18 -0
  113. package/dist/config/providers.d.ts +65 -3
  114. package/dist/config/providers.js +147 -11
  115. package/dist/config/test-simulators.d.ts +82 -0
  116. package/dist/config/test-simulators.js +305 -0
  117. package/dist/core/async-context.d.ts +2 -0
  118. package/dist/core/async-context.js +12 -0
  119. package/dist/core/budget-events.d.ts +108 -0
  120. package/dist/core/budget-events.js +346 -0
  121. package/dist/core/budget-groups.d.ts +50 -1
  122. package/dist/core/budget-groups.js +236 -27
  123. package/dist/core/budget-stopped-head.d.ts +46 -0
  124. package/dist/core/budget-stopped-head.js +81 -0
  125. package/dist/core/budget-topup.d.ts +51 -0
  126. package/dist/core/budget-topup.js +156 -0
  127. package/dist/core/budget-wording.d.ts +16 -2
  128. package/dist/core/budget-wording.js +40 -2
  129. package/dist/core/coding-queue.d.ts +2 -1
  130. package/dist/core/coding-queue.js +7 -0
  131. package/dist/core/cron.d.ts +19 -1
  132. package/dist/core/cron.js +17 -0
  133. package/dist/core/datastores.js +1 -1
  134. package/dist/core/db.d.ts +16 -6
  135. package/dist/core/db.js +12 -10
  136. package/dist/core/deferred-coding.d.ts +14 -0
  137. package/dist/core/deferred-coding.js +62 -0
  138. package/dist/core/delegation-child.d.ts +25 -0
  139. package/dist/core/delegation-child.js +37 -0
  140. package/dist/core/dispatch.d.ts +53 -0
  141. package/dist/core/dispatch.js +167 -57
  142. package/dist/core/engine-native.js +10 -6
  143. package/dist/core/error-code.d.ts +38 -0
  144. package/dist/core/error-code.js +168 -0
  145. package/dist/core/grants.d.ts +19 -6
  146. package/dist/core/grants.js +55 -6
  147. package/dist/core/host-events.d.ts +67 -5
  148. package/dist/core/host-events.js +571 -37
  149. package/dist/core/host-status.d.ts +85 -3
  150. package/dist/core/host-status.js +298 -20
  151. package/dist/core/issue-bridge.d.ts +50 -6
  152. package/dist/core/issue-bridge.js +151 -20
  153. package/dist/core/issue-events.d.ts +1 -1
  154. package/dist/core/issue-events.js +16 -11
  155. package/dist/core/issue-status.d.ts +1 -1
  156. package/dist/core/issue-status.js +68 -29
  157. package/dist/core/logger.d.ts +5 -0
  158. package/dist/core/logger.js +14 -1
  159. package/dist/core/lost-run-children.d.ts +6 -0
  160. package/dist/core/lost-run-children.js +32 -0
  161. package/dist/core/mark-ready.d.ts +34 -0
  162. package/dist/core/mark-ready.js +152 -0
  163. package/dist/core/markdown-code.d.ts +8 -0
  164. package/dist/core/markdown-code.js +107 -0
  165. package/dist/core/memory-tools.js +7 -0
  166. package/dist/core/merge-order-check.d.ts +130 -0
  167. package/dist/core/merge-order-check.js +343 -0
  168. package/dist/core/notification-dispatcher.d.ts +70 -0
  169. package/dist/core/notification-dispatcher.js +368 -0
  170. package/dist/core/notification-templates.d.ts +19 -0
  171. package/dist/core/notification-templates.js +139 -0
  172. package/dist/core/notifications.d.ts +10 -0
  173. package/dist/core/notifications.js +38 -0
  174. package/dist/core/pg-auth.d.ts +22 -0
  175. package/dist/core/pg-auth.js +152 -0
  176. package/dist/core/power-composition.d.ts +16 -0
  177. package/dist/core/power-composition.js +37 -0
  178. package/dist/core/power-idle.d.ts +14 -0
  179. package/dist/core/power-idle.js +30 -0
  180. package/dist/core/power.d.ts +71 -0
  181. package/dist/core/power.js +202 -0
  182. package/dist/core/pull-request-state-sync.js +2 -2
  183. package/dist/core/reconciler.d.ts +8 -5
  184. package/dist/core/reconciler.js +37 -6
  185. package/dist/core/related-pull-requests.d.ts +59 -7
  186. package/dist/core/related-pull-requests.js +140 -25
  187. package/dist/core/reply-parts.d.ts +21 -0
  188. package/dist/core/reply-parts.js +73 -0
  189. package/dist/core/repo-access.d.ts +15 -0
  190. package/dist/core/repo-access.js +66 -0
  191. package/dist/core/review-fix.d.ts +38 -1
  192. package/dist/core/review-fix.js +209 -7
  193. package/dist/core/review-host-checks.d.ts +1 -1
  194. package/dist/core/review-host-tools.d.ts +23 -0
  195. package/dist/core/review-host-tools.js +156 -14
  196. package/dist/core/review-reads.d.ts +55 -0
  197. package/dist/core/review-reads.js +233 -0
  198. package/dist/core/run-status.d.ts +12 -0
  199. package/dist/core/run-status.js +12 -0
  200. package/dist/core/runner.d.ts +384 -5
  201. package/dist/core/runner.js +1244 -372
  202. package/dist/core/schedule-start.d.ts +12 -0
  203. package/dist/core/schedule-start.js +14 -0
  204. package/dist/core/secret-broker-config.d.ts +39 -0
  205. package/dist/core/secret-broker-config.js +112 -0
  206. package/dist/core/secret-guard.d.ts +46 -0
  207. package/dist/core/secret-guard.js +104 -0
  208. package/dist/core/secret-guarded-stores.d.ts +12 -0
  209. package/dist/core/secret-guarded-stores.js +41 -0
  210. package/dist/core/secret-spans.d.ts +50 -0
  211. package/dist/core/secret-spans.js +94 -0
  212. package/dist/core/secrets.d.ts +39 -4
  213. package/dist/core/secrets.js +148 -40
  214. package/dist/core/stop-run.d.ts +46 -0
  215. package/dist/core/stop-run.js +61 -0
  216. package/dist/core/workflow-event-recorder.d.ts +14 -0
  217. package/dist/core/workflow-event-recorder.js +120 -0
  218. package/dist/core/workflow-events.d.ts +94 -0
  219. package/dist/core/workflow-events.js +48 -0
  220. package/dist/core/workflow-run-events.d.ts +18 -0
  221. package/dist/core/workflow-run-events.js +75 -0
  222. package/dist/core/zod-json-schema.d.ts +4 -0
  223. package/dist/core/zod-json-schema.js +39 -0
  224. package/dist/core/zod3-window.d.ts +35 -0
  225. package/dist/core/zod3-window.js +124 -0
  226. package/dist/generated/prisma/browser.d.ts +92 -3
  227. package/dist/generated/prisma/client.d.ts +92 -3
  228. package/dist/generated/prisma/commonInputTypes.d.ts +364 -54
  229. package/dist/generated/prisma/enums.d.ts +37 -0
  230. package/dist/generated/prisma/enums.js +31 -0
  231. package/dist/generated/prisma/internal/class.d.ts +132 -0
  232. package/dist/generated/prisma/internal/class.js +4 -4
  233. package/dist/generated/prisma/internal/prismaNamespace.d.ts +1332 -142
  234. package/dist/generated/prisma/internal/prismaNamespace.js +227 -5
  235. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +234 -0
  236. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +227 -5
  237. package/dist/generated/prisma/models/Agent.d.ts +464 -7
  238. package/dist/generated/prisma/models/AgentRepository.d.ts +42 -1
  239. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +301 -1
  240. package/dist/generated/prisma/models/CodingProxyRequest.d.ts +207 -3
  241. package/dist/generated/prisma/models/CodingProxySession.d.ts +114 -1
  242. package/dist/generated/prisma/models/CodingRun.d.ts +1841 -1
  243. package/dist/generated/prisma/models/DeferredReview.d.ts +78 -1
  244. package/dist/generated/prisma/models/DependencySnapshot.d.ts +1668 -0
  245. package/dist/generated/prisma/models/DependencySnapshot.js +1 -0
  246. package/dist/generated/prisma/models/IssuePullRequest.d.ts +6 -2
  247. package/dist/generated/prisma/models/LocalReview.d.ts +40 -1
  248. package/dist/generated/prisma/models/NativeGatewayCall.d.ts +1713 -0
  249. package/dist/generated/prisma/models/NativeGatewayCall.js +1 -0
  250. package/dist/generated/prisma/models/NativeGatewaySession.d.ts +1551 -0
  251. package/dist/generated/prisma/models/NativeGatewaySession.js +1 -0
  252. package/dist/generated/prisma/models/NativeWarmWorker.d.ts +1296 -0
  253. package/dist/generated/prisma/models/NativeWarmWorker.js +1 -0
  254. package/dist/generated/prisma/models/NotificationChannel.d.ts +1543 -0
  255. package/dist/generated/prisma/models/NotificationChannel.js +1 -0
  256. package/dist/generated/prisma/models/NotificationDelivery.d.ts +1502 -0
  257. package/dist/generated/prisma/models/NotificationDelivery.js +1 -0
  258. package/dist/generated/prisma/models/NotificationThread.d.ts +1090 -0
  259. package/dist/generated/prisma/models/NotificationThread.js +1 -0
  260. package/dist/generated/prisma/models/RegistryAllowance.d.ts +41 -1
  261. package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +75 -1
  262. package/dist/generated/prisma/models/RegistryAuditRecord.d.ts +1364 -0
  263. package/dist/generated/prisma/models/RegistryAuditRecord.js +1 -0
  264. package/dist/generated/prisma/models/Run.d.ts +1619 -58
  265. package/dist/generated/prisma/models/RunBudgetEvent.d.ts +1211 -0
  266. package/dist/generated/prisma/models/RunBudgetEvent.js +1 -0
  267. package/dist/generated/prisma/models/RunHostCheck.d.ts +36 -1
  268. package/dist/generated/prisma/models/RunTranscript.d.ts +1339 -0
  269. package/dist/generated/prisma/models/RunTranscript.js +1 -0
  270. package/dist/generated/prisma/models/Secret.d.ts +37 -1
  271. package/dist/generated/prisma/models/SecretBrokerChange.d.ts +1101 -0
  272. package/dist/generated/prisma/models/SecretBrokerChange.js +1 -0
  273. package/dist/generated/prisma/models/WorkflowEvent.d.ts +1422 -0
  274. package/dist/generated/prisma/models/WorkflowEvent.js +1 -0
  275. package/dist/generated/prisma/models.d.ts +12 -0
  276. package/dist/help/build.js +4 -2
  277. package/dist/help/catalog.d.ts +1 -1
  278. package/dist/help/catalog.js +31 -6
  279. package/dist/help-index.json +2584 -146
  280. package/dist/import/create.js +49 -3
  281. package/dist/import/neutral-schema.d.ts +50 -277
  282. package/dist/import/neutral-schema.js +7 -4
  283. package/dist/knowledge/check.d.ts +1 -1
  284. package/dist/knowledge/cli.d.ts +11 -1
  285. package/dist/knowledge/cli.js +37 -4
  286. package/dist/knowledge/concept.d.ts +3 -19
  287. package/dist/knowledge/location.d.ts +31 -0
  288. package/dist/knowledge/location.js +78 -0
  289. package/dist/mcp/auth/access.d.ts +11 -2
  290. package/dist/mcp/auth/access.js +15 -1
  291. package/dist/mcp/auth/ownership.d.ts +7 -7
  292. package/dist/mcp/auth/repo-authorization.js +14 -0
  293. package/dist/mcp/auth/resource-server.d.ts +2 -1
  294. package/dist/mcp/auth/resource-server.js +7 -2
  295. package/dist/mcp/auth/self-hosted/browser.d.ts +1 -1
  296. package/dist/mcp/auth/self-hosted/browser.js +19 -6
  297. package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
  298. package/dist/mcp/auth/self-hosted/session.d.ts +2 -2
  299. package/dist/mcp/context.d.ts +6 -0
  300. package/dist/mcp/host-events/github-ingress.d.ts +25 -1
  301. package/dist/mcp/host-events/github-ingress.js +70 -1
  302. package/dist/mcp/index.d.ts +19 -0
  303. package/dist/mcp/index.js +117 -20
  304. package/dist/mcp/server.d.ts +13 -0
  305. package/dist/mcp/server.js +33 -14
  306. package/dist/mcp/tools/agents.d.ts +4 -0
  307. package/dist/mcp/tools/agents.js +277 -24
  308. package/dist/mcp/tools/datastore.js +17 -8
  309. package/dist/mcp/tools/grants.js +9 -3
  310. package/dist/mcp/tools/memory.js +11 -1
  311. package/dist/mcp/tools/notification-channels.d.ts +2 -0
  312. package/dist/mcp/tools/notification-channels.js +293 -0
  313. package/dist/mcp/tools/packages.d.ts +2 -0
  314. package/dist/mcp/tools/packages.js +195 -0
  315. package/dist/mcp/tools/power.d.ts +2 -0
  316. package/dist/mcp/tools/power.js +77 -0
  317. package/dist/mcp/tools/repositories.js +18 -5
  318. package/dist/mcp/tools/run-access.d.ts +16 -0
  319. package/dist/mcp/tools/run-access.js +25 -0
  320. package/dist/mcp/tools/run-transcript-download.d.ts +30 -0
  321. package/dist/mcp/tools/run-transcript-download.js +129 -0
  322. package/dist/mcp/tools/run-transcript.d.ts +19 -0
  323. package/dist/mcp/tools/run-transcript.js +70 -0
  324. package/dist/mcp/tools/runs.d.ts +0 -6
  325. package/dist/mcp/tools/runs.js +41 -14
  326. package/dist/mcp/tools/scheduling.js +3 -1
  327. package/dist/mcp/tools/secret-broker-compat.d.ts +12 -0
  328. package/dist/mcp/tools/secret-broker-compat.js +23 -0
  329. package/dist/mcp/tools/secret-elicitation-form.d.ts +22 -2
  330. package/dist/mcp/tools/secret-elicitation-form.js +205 -10
  331. package/dist/mcp/tools/secret-elicitation-server.d.ts +6 -0
  332. package/dist/mcp/tools/secret-elicitation-server.js +10 -54
  333. package/dist/mcp/tools/secret-elicitation.d.ts +38 -3
  334. package/dist/mcp/tools/secret-elicitation.js +110 -12
  335. package/dist/mcp/tools/secrets.js +186 -9
  336. package/dist/mcp/tools/stop-run.d.ts +2 -0
  337. package/dist/mcp/tools/stop-run.js +82 -0
  338. package/dist/mcp/tools/subagents.js +2 -2
  339. package/dist/mcp/tools/tools.d.ts +2 -2
  340. package/dist/mcp/tools/tools.js +47 -11
  341. package/dist/mcp/transport/stdio-link-host.d.ts +20 -0
  342. package/dist/mcp/transport/stdio-link-host.js +67 -0
  343. package/dist/mcp/transport/streamable-http.d.ts +13 -0
  344. package/dist/mcp/transport/streamable-http.js +41 -1
  345. package/dist/native-worker/composition.d.ts +23 -0
  346. package/dist/native-worker/composition.js +77 -0
  347. package/dist/native-worker/docker-isolation.d.ts +65 -0
  348. package/dist/native-worker/docker-isolation.js +183 -0
  349. package/dist/native-worker/docker-launcher.d.ts +110 -0
  350. package/dist/native-worker/docker-launcher.js +297 -0
  351. package/dist/native-worker/gateway-server.d.ts +77 -0
  352. package/dist/native-worker/gateway-server.js +412 -0
  353. package/dist/native-worker/gateway.d.ts +70 -0
  354. package/dist/native-worker/gateway.js +263 -0
  355. package/dist/native-worker/http-server.d.ts +24 -0
  356. package/dist/native-worker/http-server.js +113 -0
  357. package/dist/native-worker/http-transport.d.ts +17 -0
  358. package/dist/native-worker/http-transport.js +88 -0
  359. package/dist/native-worker/kubernetes-isolation.d.ts +90 -0
  360. package/dist/native-worker/kubernetes-isolation.js +218 -0
  361. package/dist/native-worker/kubernetes-launcher.d.ts +106 -0
  362. package/dist/native-worker/kubernetes-launcher.js +375 -0
  363. package/dist/native-worker/launch.d.ts +62 -0
  364. package/dist/native-worker/launch.js +49 -0
  365. package/dist/native-worker/ledger.d.ts +125 -0
  366. package/dist/native-worker/ledger.js +245 -0
  367. package/dist/native-worker/loopback.d.ts +12 -0
  368. package/dist/native-worker/loopback.js +44 -0
  369. package/dist/native-worker/main.d.ts +8 -0
  370. package/dist/native-worker/main.js +85 -0
  371. package/dist/native-worker/protocol.d.ts +296 -0
  372. package/dist/native-worker/protocol.js +246 -0
  373. package/dist/native-worker/sandbox-executor.d.ts +83 -0
  374. package/dist/native-worker/sandbox-executor.js +284 -0
  375. package/dist/native-worker/stderr-redaction.d.ts +77 -0
  376. package/dist/native-worker/stderr-redaction.js +237 -0
  377. package/dist/native-worker/stdio.d.ts +29 -0
  378. package/dist/native-worker/stdio.js +189 -0
  379. package/dist/native-worker/warm-delivery.d.ts +16 -0
  380. package/dist/native-worker/warm-delivery.js +33 -0
  381. package/dist/native-worker/warm-pool-ledger.d.ts +39 -0
  382. package/dist/native-worker/warm-pool-ledger.js +73 -0
  383. package/dist/native-worker/warm-pool.d.ts +107 -0
  384. package/dist/native-worker/warm-pool.js +283 -0
  385. package/dist/native-worker/worker.d.ts +17 -0
  386. package/dist/native-worker/worker.js +141 -0
  387. package/dist/observability/metrics.js +6 -1
  388. package/dist/providers/auth/authorization-server.d.ts +3 -0
  389. package/dist/providers/auth/index.js +2 -0
  390. package/dist/providers/auth/self-hosted.d.ts +14 -2
  391. package/dist/providers/auth/self-hosted.js +54 -4
  392. package/dist/providers/chat/fake.d.ts +46 -0
  393. package/dist/providers/chat/fake.js +39 -0
  394. package/dist/providers/chat/index.d.ts +4 -0
  395. package/dist/providers/chat/index.js +8 -0
  396. package/dist/providers/chat/slack.d.ts +37 -0
  397. package/dist/providers/chat/slack.js +105 -0
  398. package/dist/providers/chat/types.d.ts +42 -0
  399. package/dist/providers/chat/types.js +19 -0
  400. package/dist/providers/coding-proxy/dependency-cache/eviction.d.ts +29 -0
  401. package/dist/providers/coding-proxy/dependency-cache/eviction.js +87 -0
  402. package/dist/providers/coding-proxy/dependency-cache/key.d.ts +33 -0
  403. package/dist/providers/coding-proxy/dependency-cache/key.js +86 -0
  404. package/dist/providers/coding-proxy/dependency-cache/model-request-seal.d.ts +18 -0
  405. package/dist/providers/coding-proxy/dependency-cache/model-request-seal.js +40 -0
  406. package/dist/providers/coding-proxy/dependency-cache/prisma-store.d.ts +25 -0
  407. package/dist/providers/coding-proxy/dependency-cache/prisma-store.js +131 -0
  408. package/dist/providers/coding-proxy/dependency-cache/service.d.ts +70 -0
  409. package/dist/providers/coding-proxy/dependency-cache/service.js +409 -0
  410. package/dist/providers/coding-proxy/dependency-cache/store.d.ts +85 -0
  411. package/dist/providers/coding-proxy/dependency-cache/store.js +95 -0
  412. package/dist/providers/coding-proxy/hold.d.ts +32 -0
  413. package/dist/providers/coding-proxy/hold.js +86 -0
  414. package/dist/providers/coding-proxy/interrupted.d.ts +70 -0
  415. package/dist/providers/coding-proxy/interrupted.js +104 -0
  416. package/dist/providers/coding-proxy/memory-ledger.d.ts +15 -2
  417. package/dist/providers/coding-proxy/memory-ledger.js +84 -8
  418. package/dist/providers/coding-proxy/metering.d.ts +16 -0
  419. package/dist/providers/coding-proxy/metering.js +27 -4
  420. package/dist/providers/coding-proxy/prisma-ledger.d.ts +15 -2
  421. package/dist/providers/coding-proxy/prisma-ledger.js +179 -67
  422. package/dist/providers/coding-proxy/proxy.d.ts +14 -1
  423. package/dist/providers/coding-proxy/proxy.js +166 -14
  424. package/dist/providers/coding-proxy/registry/audit.d.ts +53 -10
  425. package/dist/providers/coding-proxy/registry/audit.js +94 -17
  426. package/dist/providers/coding-proxy/registry/lockfile-parse-worker.d.ts +36 -0
  427. package/dist/providers/coding-proxy/registry/lockfile-parse-worker.js +67 -0
  428. package/dist/providers/coding-proxy/registry/lockfile-parse.d.ts +16 -0
  429. package/dist/providers/coding-proxy/registry/lockfile-parse.js +110 -0
  430. package/dist/providers/coding-proxy/registry/plan.d.ts +9 -0
  431. package/dist/providers/coding-proxy/registry/plan.js +201 -48
  432. package/dist/providers/coding-proxy/registry/prisma-store.d.ts +11 -5
  433. package/dist/providers/coding-proxy/registry/prisma-store.js +120 -17
  434. package/dist/providers/coding-proxy/registry/service.d.ts +97 -16
  435. package/dist/providers/coding-proxy/registry/service.js +579 -112
  436. package/dist/providers/coding-proxy/registry/store.d.ts +84 -9
  437. package/dist/providers/coding-proxy/registry/store.js +54 -1
  438. package/dist/providers/coding-proxy/runtime.d.ts +4 -0
  439. package/dist/providers/coding-proxy/runtime.js +78 -16
  440. package/dist/providers/coding-proxy/server.d.ts +6 -1
  441. package/dist/providers/coding-proxy/server.js +45 -1
  442. package/dist/providers/coding-proxy/types.d.ts +65 -1
  443. package/dist/providers/datastore/types.d.ts +5 -0
  444. package/dist/providers/engine/types.d.ts +36 -2
  445. package/dist/providers/engine/types.js +39 -0
  446. package/dist/providers/executor/composition.d.ts +31 -1
  447. package/dist/providers/executor/composition.js +81 -8
  448. package/dist/providers/executor/container.d.ts +385 -9
  449. package/dist/providers/executor/container.js +1234 -99
  450. package/dist/providers/executor/dbos-status.d.ts +31 -0
  451. package/dist/providers/executor/dbos-status.js +64 -0
  452. package/dist/providers/executor/dbos.d.ts +91 -0
  453. package/dist/providers/executor/dbos.js +319 -26
  454. package/dist/providers/executor/deferred.d.ts +44 -0
  455. package/dist/providers/executor/deferred.js +100 -0
  456. package/dist/providers/executor/in-process.d.ts +9 -1
  457. package/dist/providers/executor/in-process.js +14 -4
  458. package/dist/providers/executor/linked-issue-reader.d.ts +16 -0
  459. package/dist/providers/executor/linked-issue-reader.js +30 -0
  460. package/dist/providers/executor/routing.d.ts +39 -10
  461. package/dist/providers/executor/routing.js +77 -32
  462. package/dist/providers/executor/types.d.ts +25 -0
  463. package/dist/providers/index.d.ts +2 -1
  464. package/dist/providers/issue-tracker/types.d.ts +17 -0
  465. package/dist/providers/issue-tracker/types.js +39 -1
  466. package/dist/providers/jobs/claude-tool-setup.d.ts +4 -0
  467. package/dist/providers/jobs/claude-tool-setup.js +5 -2
  468. package/dist/providers/jobs/docker-isolation.d.ts +8 -0
  469. package/dist/providers/jobs/docker-isolation.js +17 -0
  470. package/dist/providers/jobs/docker.d.ts +1 -0
  471. package/dist/providers/jobs/docker.js +29 -4
  472. package/dist/providers/jobs/fake-kubernetes-api.d.ts +23 -2
  473. package/dist/providers/jobs/fake-kubernetes-api.js +45 -1
  474. package/dist/providers/jobs/kubernetes-api.d.ts +25 -1
  475. package/dist/providers/jobs/kubernetes-api.js +17 -0
  476. package/dist/providers/jobs/kubernetes-client.d.ts +10 -1
  477. package/dist/providers/jobs/kubernetes-client.js +61 -3
  478. package/dist/providers/jobs/kubernetes-dry-run-fixture.d.ts +6 -1
  479. package/dist/providers/jobs/kubernetes-dry-run-fixture.js +6 -3
  480. package/dist/providers/jobs/kubernetes-isolation.d.ts +5 -1
  481. package/dist/providers/jobs/kubernetes-isolation.js +23 -1
  482. package/dist/providers/jobs/kubernetes-platform.d.ts +4 -1
  483. package/dist/providers/jobs/kubernetes-platform.js +38 -1
  484. package/dist/providers/jobs/kubernetes-preflight.d.ts +2 -1
  485. package/dist/providers/jobs/kubernetes-preflight.js +4 -2
  486. package/dist/providers/jobs/kubernetes.d.ts +42 -2
  487. package/dist/providers/jobs/kubernetes.js +178 -19
  488. package/dist/providers/jobs/metadata-probes.d.ts +11 -0
  489. package/dist/providers/jobs/metadata-probes.js +13 -0
  490. package/dist/providers/jobs/types.d.ts +42 -0
  491. package/dist/providers/jobs/types.js +13 -1
  492. package/dist/providers/llm/anthropic.js +5 -1
  493. package/dist/providers/llm/bedrock.d.ts +0 -12
  494. package/dist/providers/llm/bedrock.js +4 -0
  495. package/dist/providers/llm/claude-messages.d.ts +3 -1
  496. package/dist/providers/llm/claude-messages.js +4 -1
  497. package/dist/providers/llm/claude-provider.d.ts +2 -2
  498. package/dist/providers/llm/claude-provider.js +2 -2
  499. package/dist/providers/llm/openai.d.ts +2 -2
  500. package/dist/providers/llm/openai.js +6 -2
  501. package/dist/providers/llm/routing.d.ts +2 -2
  502. package/dist/providers/llm/routing.js +2 -2
  503. package/dist/providers/llm/types.d.ts +12 -2
  504. package/dist/providers/review-host/github-events.d.ts +9 -1
  505. package/dist/providers/review-host/github-events.js +34 -12
  506. package/dist/providers/review-host/github.d.ts +39 -2
  507. package/dist/providers/review-host/github.js +274 -29
  508. package/dist/providers/review-host/local.d.ts +8 -4
  509. package/dist/providers/review-host/local.js +49 -31
  510. package/dist/providers/review-host/patch-pages.d.ts +41 -0
  511. package/dist/providers/review-host/patch-pages.js +176 -0
  512. package/dist/providers/review-host/review-format.d.ts +19 -1
  513. package/dist/providers/review-host/review-format.js +38 -7
  514. package/dist/providers/review-host/types.d.ts +157 -2
  515. package/dist/providers/review-host/types.js +8 -0
  516. package/dist/providers/storage/gcs.d.ts +63 -0
  517. package/dist/providers/storage/gcs.js +69 -0
  518. package/dist/providers/storage/index.d.ts +15 -0
  519. package/dist/providers/storage/index.js +14 -0
  520. package/dist/providers/storage/local.d.ts +24 -0
  521. package/dist/providers/storage/local.js +92 -0
  522. package/dist/providers/storage/meter.d.ts +14 -0
  523. package/dist/providers/storage/meter.js +34 -0
  524. package/dist/providers/storage/s3.d.ts +41 -0
  525. package/dist/providers/storage/s3.js +107 -0
  526. package/dist/providers/storage/types.d.ts +37 -3
  527. package/dist/providers/storage/types.js +21 -4
  528. package/dist/providers/vcs/git.d.ts +33 -2
  529. package/dist/providers/vcs/git.js +324 -22
  530. package/dist/providers/vcs/github-remote.d.ts +26 -3
  531. package/dist/providers/vcs/github-remote.js +124 -14
  532. package/dist/providers/vcs/github.d.ts +246 -12
  533. package/dist/providers/vcs/github.js +521 -61
  534. package/dist/providers/vcs/index.js +8 -1
  535. package/dist/providers/vcs/pr-description.d.ts +127 -0
  536. package/dist/providers/vcs/pr-description.js +270 -0
  537. package/dist/providers/vcs/remote.d.ts +33 -1
  538. package/dist/providers/vcs/routing.d.ts +4 -2
  539. package/dist/providers/vcs/routing.js +6 -0
  540. package/dist/providers/vcs/types.d.ts +80 -3
  541. package/dist/quickstart/coding-seed.d.ts +21 -3
  542. package/dist/quickstart/coding-seed.js +283 -3
  543. package/dist/quickstart/images.d.ts +2 -0
  544. package/dist/quickstart/images.js +7 -1
  545. package/dist/quickstart/reviewer-prompt.d.ts +1 -1
  546. package/dist/quickstart/reviewer-prompt.js +6 -6
  547. package/dist/quickstart-images.json +1 -1
  548. package/dist/sandbox/brokered-fetch.d.ts +23 -0
  549. package/dist/sandbox/brokered-fetch.js +37 -0
  550. package/dist/sandbox/generated/zod.bundle.js +62 -1
  551. package/dist/sandbox/generated/zod3.bundle.js +5 -0
  552. package/dist/sandbox/host-functions.d.ts +35 -0
  553. package/dist/sandbox/host-functions.js +150 -91
  554. package/dist/sandbox/prelude.js +7 -1
  555. package/dist/sandbox/run-in-sandbox.d.ts +19 -0
  556. package/dist/sandbox/run-in-sandbox.js +28 -10
  557. package/dist/sandbox/safe-fetch.d.ts +2 -0
  558. package/dist/sandbox/safe-fetch.js +3 -1
  559. package/dist/sandbox/secret-broker-sigv4.d.ts +2 -0
  560. package/dist/sandbox/secret-broker-sigv4.js +49 -0
  561. package/dist/sandbox/secret-broker.d.ts +34 -0
  562. package/dist/sandbox/secret-broker.js +161 -0
  563. package/dist/sandbox/tool-capabilities.d.ts +10 -30
  564. package/dist/sandbox/user-tool.d.ts +14 -0
  565. package/dist/sandbox/user-tool.js +32 -0
  566. package/dist/sandbox/zod-params.d.ts +37 -5
  567. package/dist/sandbox/zod-params.js +181 -26
  568. package/dist/serve.js +25 -0
  569. package/dist/viewer/api-schema.d.ts +372 -2454
  570. package/dist/viewer/api-schema.js +29 -0
  571. package/dist/viewer/build-schemas.js +10 -3
  572. package/dist/viewer/event-bus.d.ts +6 -0
  573. package/dist/viewer/event-bus.js +16 -7
  574. package/dist/viewer/graph.d.ts +5 -2
  575. package/dist/viewer/graph.js +7 -2
  576. package/dist/viewer/http.d.ts +0 -1
  577. package/dist/viewer/http.js +2 -2
  578. package/dist/viewer/infra.js +25 -2
  579. package/dist/viewer/limits.d.ts +4 -0
  580. package/dist/viewer/limits.js +4 -0
  581. package/dist/viewer/openapi.d.ts +15 -0
  582. package/dist/viewer/openapi.js +170 -0
  583. package/dist/wardby-bin.js +10 -0
  584. package/docs/README.md +7 -0
  585. package/docs/agent-recipes.md +114 -27
  586. package/docs/architecture-runtime.md +16 -1
  587. package/docs/code-review-agents.md +689 -45
  588. package/docs/coding-agent-setup.md +602 -12
  589. package/docs/coding-packages.md +1037 -92
  590. package/docs/coding-services.md +30 -13
  591. package/docs/coding-worker-byo-images.md +218 -6
  592. package/docs/coding-worker-isolation.md +173 -44
  593. package/docs/getting-started-gke.md +332 -129
  594. package/docs/getting-started-identity-provider.md +31 -11
  595. package/docs/getting-started.md +14 -4
  596. package/docs/jira-agents.md +22 -9
  597. package/docs/knowledge/blob-not-found-semantics.md +41 -0
  598. package/docs/knowledge/bounded-file-descriptor.md +52 -0
  599. package/docs/knowledge/delegation-admission-slots.md +52 -0
  600. package/docs/knowledge/http-dispatcher-bootstrap.md +61 -0
  601. package/docs/knowledge/import-rename-target.md +52 -0
  602. package/docs/knowledge/index.md +57 -0
  603. package/docs/knowledge/log.md +9 -0
  604. package/docs/knowledge/mcp-cancelled-task-precedence.md +41 -0
  605. package/docs/knowledge/mcp-http-prompt-discovery.md +41 -0
  606. package/docs/knowledge/mcp-schema-module-boundary.md +41 -0
  607. package/docs/knowledge/nullable-tool-uniqueness.md +52 -0
  608. package/docs/knowledge/overview-cli.md +74 -0
  609. package/docs/knowledge/overview-coding-proxy.md +72 -0
  610. package/docs/knowledge/overview-coding.md +72 -0
  611. package/docs/knowledge/overview-config.md +60 -0
  612. package/docs/knowledge/overview-core.md +72 -0
  613. package/docs/knowledge/overview-deploy.md +83 -0
  614. package/docs/knowledge/overview-mcp.md +61 -0
  615. package/docs/knowledge/overview-prisma.md +72 -0
  616. package/docs/knowledge/overview-providers.md +89 -0
  617. package/docs/knowledge/overview-sandbox.md +83 -0
  618. package/docs/knowledge/overview-surfaces.md +83 -0
  619. package/docs/knowledge/private-datastore-shared-boundary.md +54 -0
  620. package/docs/knowledge/proxy-settlement-projections.md +41 -0
  621. package/docs/knowledge/run-pricing-first-writer.md +43 -0
  622. package/docs/knowledge/schedule-claim-transaction.md +41 -0
  623. package/docs/knowledge/secret-entry-replica-contract.md +52 -0
  624. package/docs/knowledge/terminal-run-first-writer.md +41 -0
  625. package/docs/knowledge/transactional-agent-authorization.md +52 -0
  626. package/docs/knowledge/viewer-notify-write-isolation.md +30 -0
  627. package/docs/knowledge/warm-input-publication.md +30 -0
  628. package/docs/knowledge/workspace-staging-failure.md +54 -0
  629. package/docs/knowledge.md +54 -14
  630. package/docs/native-sandbox.md +731 -0
  631. package/docs/observability.md +4 -0
  632. package/docs/release-verification.md +9 -0
  633. package/docs/security-deployment.md +146 -14
  634. package/docs/slack-notifications.md +268 -0
  635. package/docs/tool-secrets.md +284 -0
  636. package/docs/viewer-api.md +46 -5
  637. package/docs/viewer-api.openapi.yml +1404 -0
  638. package/help/admin-viewer.md +29 -3
  639. package/help/agent-recipes.md +27 -0
  640. package/help/architecture-agent.md +11 -6
  641. package/help/brokered-secrets.md +79 -0
  642. package/help/build-claude-code-image.md +131 -0
  643. package/help/build-worker-image.md +6 -7
  644. package/help/builder-agent.md +19 -6
  645. package/help/code-review-agents.md +243 -10
  646. package/help/coding-packages.md +156 -6
  647. package/help/cost-attribution.md +9 -5
  648. package/help/creating-agents.md +14 -1
  649. package/help/dependency-cache.md +143 -0
  650. package/help/deploy-gke.md +23 -9
  651. package/help/deployment-targets.md +25 -14
  652. package/help/errors/budget-exhausted.md +187 -0
  653. package/help/errors/budget-group-exhausted.md +5 -1
  654. package/help/errors/coding-provider-not-configured.md +2 -2
  655. package/help/errors/coding-stream-quota-exceeded.md +33 -0
  656. package/help/errors/coding-workspace-disk-exceeds-limit.md +39 -0
  657. package/help/errors/continuation-closed.md +9 -12
  658. package/help/errors/database-auth-invalid.md +28 -0
  659. package/help/errors/delegation-conflict.md +24 -0
  660. package/help/errors/file-list-truncated.md +45 -0
  661. package/help/errors/full-read-required.md +49 -0
  662. package/help/errors/github-account-not-allowed.md +29 -0
  663. package/help/errors/graph-incomplete.md +43 -0
  664. package/help/errors/graph-limit.md +43 -0
  665. package/help/errors/low-power-disabled.md +29 -0
  666. package/help/errors/low-power-scale-forbidden.md +35 -0
  667. package/help/errors/low-power-wake-timeout.md +30 -0
  668. package/help/errors/merge-conflict.md +49 -0
  669. package/help/errors/mobile-disabled.md +31 -0
  670. package/help/errors/native-sandbox-capacity.md +22 -0
  671. package/help/errors/native-sandbox-deadline-exceeded.md +19 -0
  672. package/help/errors/native-sandbox-docker-failed.md +20 -0
  673. package/help/errors/native-sandbox-gateway-error.md +20 -0
  674. package/help/errors/native-sandbox-gateway-unavailable.md +21 -0
  675. package/help/errors/native-sandbox-image-not-pinned.md +19 -0
  676. package/help/errors/native-sandbox-isolation-mismatch.md +20 -0
  677. package/help/errors/native-sandbox-launch-abandoned.md +21 -0
  678. package/help/errors/native-sandbox-network-unenforced.md +22 -0
  679. package/help/errors/native-sandbox-requires-catalog.md +31 -0
  680. package/help/errors/native-sandbox-unavailable.md +19 -0
  681. package/help/errors/native-sandbox-warm-delivery-failed.md +21 -0
  682. package/help/errors/native-sandbox-worker-exited.md +21 -0
  683. package/help/errors/native-sandbox-worker-lost.md +20 -0
  684. package/help/errors/native-sandbox-worker-unready.md +22 -0
  685. package/help/errors/package-not-allowed-pending.md +52 -0
  686. package/help/errors/package-not-allowed.md +51 -0
  687. package/help/errors/package-refusals.md +43 -0
  688. package/help/errors/patch-cursor-malformed.md +31 -0
  689. package/help/errors/run-lost.md +39 -0
  690. package/help/errors/run-transcript-download.md +44 -0
  691. package/help/errors/secret-broker-body-invalid.md +26 -0
  692. package/help/errors/secret-broker-changed.md +20 -0
  693. package/help/errors/secret-broker-config-invalid.md +30 -0
  694. package/help/errors/secret-broker-conflict.md +27 -0
  695. package/help/errors/secret-broker-destination-denied.md +28 -0
  696. package/help/errors/secret-broker-value-invalid.md +28 -0
  697. package/help/errors/secret-brokered.md +24 -0
  698. package/help/errors/secret-in-value.md +69 -0
  699. package/help/errors/secret-not-brokered.md +25 -0
  700. package/help/errors/slack-auth-failed.md +48 -0
  701. package/help/errors/slack-channel-unreachable.md +39 -0
  702. package/help/errors/slack-not-configured.md +33 -0
  703. package/help/errors/target-merge.md +40 -0
  704. package/help/fix-merge-conflicts.md +73 -0
  705. package/help/getting-started.md +4 -5
  706. package/help/github-app-setup.md +132 -0
  707. package/help/github.md +40 -1
  708. package/help/identity-and-access.md +7 -1
  709. package/help/jira.md +23 -6
  710. package/help/knowledge.md +16 -7
  711. package/help/local-repositories.md +3 -4
  712. package/help/low-power-mode.md +131 -0
  713. package/help/merge-order-check.md +122 -0
  714. package/help/mobile-app.md +54 -0
  715. package/help/native-capabilities.md +29 -1
  716. package/help/native-sandbox.md +150 -0
  717. package/help/observability.md +8 -0
  718. package/help/operating-agents.md +5 -0
  719. package/help/package-audit-mode.md +91 -0
  720. package/help/related-pull-requests.md +80 -16
  721. package/help/repo-instructions-and-skills.md +91 -0
  722. package/help/resume-runs-locally.md +131 -0
  723. package/help/review-fix-rounds.md +43 -1
  724. package/help/sharing-agents.md +59 -0
  725. package/help/slack-notifications.md +76 -0
  726. package/help/status-comments.md +31 -0
  727. package/help/stop-run.md +58 -0
  728. package/help/troubleshooting/budgets.md +28 -0
  729. package/help/troubleshooting/coding-workers.md +99 -7
  730. package/package.json +27 -13
  731. package/prisma/migrations/20261009000003_native_execution_mode/migration.sql +12 -0
  732. package/prisma/migrations/20261009000004_native_gateway_ledger/migration.sql +65 -0
  733. package/prisma/migrations/20261009000005_native_gateway_call_child_agent/migration.sql +5 -0
  734. package/prisma/migrations/20261009000006_run_deferred_start_stop/migration.sql +14 -0
  735. package/prisma/migrations/20261009000007_native_gateway_network_ready/migration.sql +5 -0
  736. package/prisma/migrations/20261010000001_workflow_notifications/migration.sql +99 -0
  737. package/prisma/migrations/20261011000001_native_gateway_session_status_index/migration.sql +2 -0
  738. package/prisma/migrations/20261012000001_native_warm_worker/migration.sql +32 -0
  739. package/prisma/migrations/20261013000001_coding_run_merge_order/migration.sql +2 -0
  740. package/prisma/migrations/20261013000001_secret_broker/migration.sql +17 -0
  741. package/prisma/migrations/20261013000002_deferred_review_request/migration.sql +4 -0
  742. package/prisma/migrations/20261014000000_repo_skills/migration.sql +15 -0
  743. package/prisma/migrations/20261015000001_coding_run_merge_order_index/migration.sql +2 -0
  744. package/prisma/migrations/20261015000002_no_change_rereview/migration.sql +2 -0
  745. package/prisma/migrations/20261016000000_registry_approved_accepted_advisories/migration.sql +3 -0
  746. package/prisma/migrations/20261016000001_mark_ready_when_passing/migration.sql +3 -0
  747. package/prisma/migrations/20261017000000_debug_trace_max_mb/migration.sql +4 -0
  748. package/prisma/migrations/20261018000000_dependency_cache/migration.sql +53 -0
  749. package/prisma/migrations/20261019000000_claude_max_output_tokens/migration.sql +5 -0
  750. package/prisma/migrations/20261021000000_pr_description_hash/migration.sql +4 -0
  751. package/prisma/migrations/20261022000000_dependency_snapshot_validation_metadata/migration.sql +4 -0
  752. package/prisma/migrations/20261023000000_package_audit_mode/migration.sql +27 -0
  753. package/prisma/migrations/20261024000000_budget_events/migration.sql +26 -0
  754. package/prisma/migrations/20261025000000_cache_aware_holds/migration.sql +9 -0
  755. package/prisma/migrations/20261026000000_budget_overrun/migration.sql +4 -0
  756. package/prisma/migrations/20261027000000_coding_run_request/migration.sql +1 -0
  757. package/prisma/migrations/20261028000000_native_gateway_review_reads/migration.sql +6 -0
  758. package/prisma/migrations/20261029000000_lead_survives_deploy/migration.sql +6 -0
  759. package/prisma/migrations/20261030000000_local_review_covered_sha/migration.sql +2 -0
  760. package/prisma/migrations/20261031000000_coding_run_budget_limit/migration.sql +9 -0
  761. package/prisma/migrations/20261101000000_run_transcripts/migration.sql +22 -0
  762. package/prisma/schema.prisma +631 -146
  763. package/dist/sandbox/generated/zod-to-json-schema.bundle.js +0 -5
@@ -42,7 +42,13 @@ export type RunMinAggregateOutputType = {
42
42
  pricingVersion: string | null;
43
43
  executionManaged: boolean | null;
44
44
  executionBackend: string | null;
45
+ executionWorkflowId: string | null;
46
+ nativeExecutionMode: $Enums.NativeExecutionMode | null;
47
+ startDeferredAt: Date | null;
48
+ stopRequestedAt: Date | null;
49
+ stopRequestReason: string | null;
45
50
  parentRunId: string | null;
51
+ parentCallId: string | null;
46
52
  taskOverride: string | null;
47
53
  triggeredById: string | null;
48
54
  };
@@ -63,7 +69,13 @@ export type RunMaxAggregateOutputType = {
63
69
  pricingVersion: string | null;
64
70
  executionManaged: boolean | null;
65
71
  executionBackend: string | null;
72
+ executionWorkflowId: string | null;
73
+ nativeExecutionMode: $Enums.NativeExecutionMode | null;
74
+ startDeferredAt: Date | null;
75
+ stopRequestedAt: Date | null;
76
+ stopRequestReason: string | null;
66
77
  parentRunId: string | null;
78
+ parentCallId: string | null;
67
79
  taskOverride: string | null;
68
80
  triggeredById: string | null;
69
81
  };
@@ -85,7 +97,13 @@ export type RunCountAggregateOutputType = {
85
97
  pricingSnapshot: number;
86
98
  executionManaged: number;
87
99
  executionBackend: number;
100
+ executionWorkflowId: number;
101
+ nativeExecutionMode: number;
102
+ startDeferredAt: number;
103
+ stopRequestedAt: number;
104
+ stopRequestReason: number;
88
105
  parentRunId: number;
106
+ parentCallId: number;
89
107
  grantedParentMemoryKeys: number;
90
108
  taskOverride: number;
91
109
  triggeredById: number;
@@ -120,7 +138,13 @@ export type RunMinAggregateInputType = {
120
138
  pricingVersion?: true;
121
139
  executionManaged?: true;
122
140
  executionBackend?: true;
141
+ executionWorkflowId?: true;
142
+ nativeExecutionMode?: true;
143
+ startDeferredAt?: true;
144
+ stopRequestedAt?: true;
145
+ stopRequestReason?: true;
123
146
  parentRunId?: true;
147
+ parentCallId?: true;
124
148
  taskOverride?: true;
125
149
  triggeredById?: true;
126
150
  };
@@ -141,7 +165,13 @@ export type RunMaxAggregateInputType = {
141
165
  pricingVersion?: true;
142
166
  executionManaged?: true;
143
167
  executionBackend?: true;
168
+ executionWorkflowId?: true;
169
+ nativeExecutionMode?: true;
170
+ startDeferredAt?: true;
171
+ stopRequestedAt?: true;
172
+ stopRequestReason?: true;
144
173
  parentRunId?: true;
174
+ parentCallId?: true;
145
175
  taskOverride?: true;
146
176
  triggeredById?: true;
147
177
  };
@@ -163,7 +193,13 @@ export type RunCountAggregateInputType = {
163
193
  pricingSnapshot?: true;
164
194
  executionManaged?: true;
165
195
  executionBackend?: true;
196
+ executionWorkflowId?: true;
197
+ nativeExecutionMode?: true;
198
+ startDeferredAt?: true;
199
+ stopRequestedAt?: true;
200
+ stopRequestReason?: true;
166
201
  parentRunId?: true;
202
+ parentCallId?: true;
167
203
  grantedParentMemoryKeys?: true;
168
204
  taskOverride?: true;
169
205
  triggeredById?: true;
@@ -263,7 +299,13 @@ export type RunGroupByOutputType = {
263
299
  pricingSnapshot: runtime.JsonValue | null;
264
300
  executionManaged: boolean;
265
301
  executionBackend: string | null;
302
+ executionWorkflowId: string | null;
303
+ nativeExecutionMode: $Enums.NativeExecutionMode | null;
304
+ startDeferredAt: Date | null;
305
+ stopRequestedAt: Date | null;
306
+ stopRequestReason: string | null;
266
307
  parentRunId: string | null;
308
+ parentCallId: string | null;
267
309
  grantedParentMemoryKeys: string[];
268
310
  taskOverride: string | null;
269
311
  triggeredById: string | null;
@@ -297,19 +339,29 @@ export type RunWhereInput = {
297
339
  pricingSnapshot?: Prisma.JsonNullableFilter<"Run">;
298
340
  executionManaged?: Prisma.BoolFilter<"Run"> | boolean;
299
341
  executionBackend?: Prisma.StringNullableFilter<"Run"> | string | null;
342
+ executionWorkflowId?: Prisma.StringNullableFilter<"Run"> | string | null;
343
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeNullableFilter<"Run"> | $Enums.NativeExecutionMode | null;
344
+ startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
345
+ stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
346
+ stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
300
347
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
348
+ parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
301
349
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
302
350
  taskOverride?: Prisma.StringNullableFilter<"Run"> | string | null;
303
351
  triggeredById?: Prisma.StringNullableFilter<"Run"> | string | null;
304
352
  agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
305
353
  codingRun?: Prisma.XOR<Prisma.CodingRunNullableScalarRelationFilter, Prisma.CodingRunWhereInput> | null;
354
+ transcript?: Prisma.XOR<Prisma.RunTranscriptNullableScalarRelationFilter, Prisma.RunTranscriptWhereInput> | null;
306
355
  hostCheck?: Prisma.XOR<Prisma.RunHostCheckNullableScalarRelationFilter, Prisma.RunHostCheckWhereInput> | null;
307
356
  hostStatus?: Prisma.XOR<Prisma.RunHostStatusNullableScalarRelationFilter, Prisma.RunHostStatusWhereInput> | null;
308
357
  issueStatus?: Prisma.XOR<Prisma.RunIssueStatusNullableScalarRelationFilter, Prisma.RunIssueStatusWhereInput> | null;
309
358
  attribution?: Prisma.XOR<Prisma.RunAttributionNullableScalarRelationFilter, Prisma.RunAttributionWhereInput> | null;
310
359
  modelUsage?: Prisma.RunModelUsageListRelationFilter;
311
360
  serviceStatuses?: Prisma.CodingRunServiceStatusListRelationFilter;
361
+ budgetEvents?: Prisma.RunBudgetEventListRelationFilter;
312
362
  localPullRequest?: Prisma.XOR<Prisma.LocalPullRequestNullableScalarRelationFilter, Prisma.LocalPullRequestWhereInput> | null;
363
+ nativeGatewaySession?: Prisma.XOR<Prisma.NativeGatewaySessionNullableScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput> | null;
364
+ nativeWarmWorker?: Prisma.XOR<Prisma.NativeWarmWorkerNullableScalarRelationFilter, Prisma.NativeWarmWorkerWhereInput> | null;
313
365
  parentRun?: Prisma.XOR<Prisma.RunNullableScalarRelationFilter, Prisma.RunWhereInput> | null;
314
366
  childRuns?: Prisma.RunListRelationFilter;
315
367
  };
@@ -331,24 +383,35 @@ export type RunOrderByWithRelationInput = {
331
383
  pricingSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
332
384
  executionManaged?: Prisma.SortOrder;
333
385
  executionBackend?: Prisma.SortOrderInput | Prisma.SortOrder;
386
+ executionWorkflowId?: Prisma.SortOrderInput | Prisma.SortOrder;
387
+ nativeExecutionMode?: Prisma.SortOrderInput | Prisma.SortOrder;
388
+ startDeferredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
389
+ stopRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
390
+ stopRequestReason?: Prisma.SortOrderInput | Prisma.SortOrder;
334
391
  parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
392
+ parentCallId?: Prisma.SortOrderInput | Prisma.SortOrder;
335
393
  grantedParentMemoryKeys?: Prisma.SortOrder;
336
394
  taskOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
337
395
  triggeredById?: Prisma.SortOrderInput | Prisma.SortOrder;
338
396
  agent?: Prisma.AgentOrderByWithRelationInput;
339
397
  codingRun?: Prisma.CodingRunOrderByWithRelationInput;
398
+ transcript?: Prisma.RunTranscriptOrderByWithRelationInput;
340
399
  hostCheck?: Prisma.RunHostCheckOrderByWithRelationInput;
341
400
  hostStatus?: Prisma.RunHostStatusOrderByWithRelationInput;
342
401
  issueStatus?: Prisma.RunIssueStatusOrderByWithRelationInput;
343
402
  attribution?: Prisma.RunAttributionOrderByWithRelationInput;
344
403
  modelUsage?: Prisma.RunModelUsageOrderByRelationAggregateInput;
345
404
  serviceStatuses?: Prisma.CodingRunServiceStatusOrderByRelationAggregateInput;
405
+ budgetEvents?: Prisma.RunBudgetEventOrderByRelationAggregateInput;
346
406
  localPullRequest?: Prisma.LocalPullRequestOrderByWithRelationInput;
407
+ nativeGatewaySession?: Prisma.NativeGatewaySessionOrderByWithRelationInput;
408
+ nativeWarmWorker?: Prisma.NativeWarmWorkerOrderByWithRelationInput;
347
409
  parentRun?: Prisma.RunOrderByWithRelationInput;
348
410
  childRuns?: Prisma.RunOrderByRelationAggregateInput;
349
411
  };
350
412
  export type RunWhereUniqueInput = Prisma.AtLeast<{
351
413
  id?: string;
414
+ parentRunId_parentCallId?: Prisma.RunParentRunIdParentCallIdCompoundUniqueInput;
352
415
  AND?: Prisma.RunWhereInput | Prisma.RunWhereInput[];
353
416
  OR?: Prisma.RunWhereInput[];
354
417
  NOT?: Prisma.RunWhereInput | Prisma.RunWhereInput[];
@@ -368,22 +431,32 @@ export type RunWhereUniqueInput = Prisma.AtLeast<{
368
431
  pricingSnapshot?: Prisma.JsonNullableFilter<"Run">;
369
432
  executionManaged?: Prisma.BoolFilter<"Run"> | boolean;
370
433
  executionBackend?: Prisma.StringNullableFilter<"Run"> | string | null;
434
+ executionWorkflowId?: Prisma.StringNullableFilter<"Run"> | string | null;
435
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeNullableFilter<"Run"> | $Enums.NativeExecutionMode | null;
436
+ startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
437
+ stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
438
+ stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
371
439
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
440
+ parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
372
441
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
373
442
  taskOverride?: Prisma.StringNullableFilter<"Run"> | string | null;
374
443
  triggeredById?: Prisma.StringNullableFilter<"Run"> | string | null;
375
444
  agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
376
445
  codingRun?: Prisma.XOR<Prisma.CodingRunNullableScalarRelationFilter, Prisma.CodingRunWhereInput> | null;
446
+ transcript?: Prisma.XOR<Prisma.RunTranscriptNullableScalarRelationFilter, Prisma.RunTranscriptWhereInput> | null;
377
447
  hostCheck?: Prisma.XOR<Prisma.RunHostCheckNullableScalarRelationFilter, Prisma.RunHostCheckWhereInput> | null;
378
448
  hostStatus?: Prisma.XOR<Prisma.RunHostStatusNullableScalarRelationFilter, Prisma.RunHostStatusWhereInput> | null;
379
449
  issueStatus?: Prisma.XOR<Prisma.RunIssueStatusNullableScalarRelationFilter, Prisma.RunIssueStatusWhereInput> | null;
380
450
  attribution?: Prisma.XOR<Prisma.RunAttributionNullableScalarRelationFilter, Prisma.RunAttributionWhereInput> | null;
381
451
  modelUsage?: Prisma.RunModelUsageListRelationFilter;
382
452
  serviceStatuses?: Prisma.CodingRunServiceStatusListRelationFilter;
453
+ budgetEvents?: Prisma.RunBudgetEventListRelationFilter;
383
454
  localPullRequest?: Prisma.XOR<Prisma.LocalPullRequestNullableScalarRelationFilter, Prisma.LocalPullRequestWhereInput> | null;
455
+ nativeGatewaySession?: Prisma.XOR<Prisma.NativeGatewaySessionNullableScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput> | null;
456
+ nativeWarmWorker?: Prisma.XOR<Prisma.NativeWarmWorkerNullableScalarRelationFilter, Prisma.NativeWarmWorkerWhereInput> | null;
384
457
  parentRun?: Prisma.XOR<Prisma.RunNullableScalarRelationFilter, Prisma.RunWhereInput> | null;
385
458
  childRuns?: Prisma.RunListRelationFilter;
386
- }, "id">;
459
+ }, "id" | "parentRunId_parentCallId">;
387
460
  export type RunOrderByWithAggregationInput = {
388
461
  id?: Prisma.SortOrder;
389
462
  agentId?: Prisma.SortOrder;
@@ -402,7 +475,13 @@ export type RunOrderByWithAggregationInput = {
402
475
  pricingSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
403
476
  executionManaged?: Prisma.SortOrder;
404
477
  executionBackend?: Prisma.SortOrderInput | Prisma.SortOrder;
478
+ executionWorkflowId?: Prisma.SortOrderInput | Prisma.SortOrder;
479
+ nativeExecutionMode?: Prisma.SortOrderInput | Prisma.SortOrder;
480
+ startDeferredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
481
+ stopRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
482
+ stopRequestReason?: Prisma.SortOrderInput | Prisma.SortOrder;
405
483
  parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
484
+ parentCallId?: Prisma.SortOrderInput | Prisma.SortOrder;
406
485
  grantedParentMemoryKeys?: Prisma.SortOrder;
407
486
  taskOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
408
487
  triggeredById?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -433,7 +512,13 @@ export type RunScalarWhereWithAggregatesInput = {
433
512
  pricingSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"Run">;
434
513
  executionManaged?: Prisma.BoolWithAggregatesFilter<"Run"> | boolean;
435
514
  executionBackend?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
515
+ executionWorkflowId?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
516
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeNullableWithAggregatesFilter<"Run"> | $Enums.NativeExecutionMode | null;
517
+ startDeferredAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Run"> | Date | string | null;
518
+ stopRequestedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Run"> | Date | string | null;
519
+ stopRequestReason?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
436
520
  parentRunId?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
521
+ parentCallId?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
437
522
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
438
523
  taskOverride?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
439
524
  triggeredById?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
@@ -455,18 +540,28 @@ export type RunCreateInput = {
455
540
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
456
541
  executionManaged?: boolean;
457
542
  executionBackend?: string | null;
543
+ executionWorkflowId?: string | null;
544
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
545
+ startDeferredAt?: Date | string | null;
546
+ stopRequestedAt?: Date | string | null;
547
+ stopRequestReason?: string | null;
548
+ parentCallId?: string | null;
458
549
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
459
550
  taskOverride?: string | null;
460
551
  triggeredById?: string | null;
461
552
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
462
553
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
554
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
463
555
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
464
556
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
465
557
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
466
558
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
467
559
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
468
560
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
561
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
469
562
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
563
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
564
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
470
565
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
471
566
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
472
567
  };
@@ -488,18 +583,28 @@ export type RunUncheckedCreateInput = {
488
583
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
489
584
  executionManaged?: boolean;
490
585
  executionBackend?: string | null;
586
+ executionWorkflowId?: string | null;
587
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
588
+ startDeferredAt?: Date | string | null;
589
+ stopRequestedAt?: Date | string | null;
590
+ stopRequestReason?: string | null;
491
591
  parentRunId?: string | null;
592
+ parentCallId?: string | null;
492
593
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
493
594
  taskOverride?: string | null;
494
595
  triggeredById?: string | null;
495
596
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
597
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
496
598
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
497
599
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
498
600
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
499
601
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
500
602
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
501
603
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
604
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
502
605
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
606
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
607
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
503
608
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
504
609
  };
505
610
  export type RunUpdateInput = {
@@ -519,18 +624,28 @@ export type RunUpdateInput = {
519
624
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
520
625
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
521
626
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
627
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
628
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
629
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
630
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
631
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
632
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
522
633
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
523
634
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
524
635
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
525
636
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
526
637
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
638
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
527
639
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
528
640
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
529
641
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
530
642
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
531
643
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
532
644
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
645
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
533
646
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
647
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
648
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
534
649
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
535
650
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
536
651
  };
@@ -552,18 +667,28 @@ export type RunUncheckedUpdateInput = {
552
667
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
553
668
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
554
669
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
670
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
671
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
672
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
673
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
674
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
555
675
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
676
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
556
677
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
557
678
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
558
679
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
559
680
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
681
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
560
682
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
561
683
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
562
684
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
563
685
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
564
686
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
565
687
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
688
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
566
689
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
690
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
691
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
567
692
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
568
693
  };
569
694
  export type RunCreateManyInput = {
@@ -584,7 +709,13 @@ export type RunCreateManyInput = {
584
709
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
585
710
  executionManaged?: boolean;
586
711
  executionBackend?: string | null;
712
+ executionWorkflowId?: string | null;
713
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
714
+ startDeferredAt?: Date | string | null;
715
+ stopRequestedAt?: Date | string | null;
716
+ stopRequestReason?: string | null;
587
717
  parentRunId?: string | null;
718
+ parentCallId?: string | null;
588
719
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
589
720
  taskOverride?: string | null;
590
721
  triggeredById?: string | null;
@@ -606,6 +737,12 @@ export type RunUpdateManyMutationInput = {
606
737
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
607
738
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
608
739
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
740
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
741
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
742
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
743
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
744
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
745
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
609
746
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
610
747
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
611
748
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -628,7 +765,13 @@ export type RunUncheckedUpdateManyInput = {
628
765
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
629
766
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
630
767
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
768
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
769
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
770
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
771
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
772
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
631
773
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
774
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
632
775
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
633
776
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
634
777
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -652,6 +795,10 @@ export type RunNullableScalarRelationFilter = {
652
795
  is?: Prisma.RunWhereInput | null;
653
796
  isNot?: Prisma.RunWhereInput | null;
654
797
  };
798
+ export type RunParentRunIdParentCallIdCompoundUniqueInput = {
799
+ parentRunId: string;
800
+ parentCallId: string;
801
+ };
655
802
  export type RunCountOrderByAggregateInput = {
656
803
  id?: Prisma.SortOrder;
657
804
  agentId?: Prisma.SortOrder;
@@ -670,7 +817,13 @@ export type RunCountOrderByAggregateInput = {
670
817
  pricingSnapshot?: Prisma.SortOrder;
671
818
  executionManaged?: Prisma.SortOrder;
672
819
  executionBackend?: Prisma.SortOrder;
820
+ executionWorkflowId?: Prisma.SortOrder;
821
+ nativeExecutionMode?: Prisma.SortOrder;
822
+ startDeferredAt?: Prisma.SortOrder;
823
+ stopRequestedAt?: Prisma.SortOrder;
824
+ stopRequestReason?: Prisma.SortOrder;
673
825
  parentRunId?: Prisma.SortOrder;
826
+ parentCallId?: Prisma.SortOrder;
674
827
  grantedParentMemoryKeys?: Prisma.SortOrder;
675
828
  taskOverride?: Prisma.SortOrder;
676
829
  triggeredById?: Prisma.SortOrder;
@@ -698,7 +851,13 @@ export type RunMaxOrderByAggregateInput = {
698
851
  pricingVersion?: Prisma.SortOrder;
699
852
  executionManaged?: Prisma.SortOrder;
700
853
  executionBackend?: Prisma.SortOrder;
854
+ executionWorkflowId?: Prisma.SortOrder;
855
+ nativeExecutionMode?: Prisma.SortOrder;
856
+ startDeferredAt?: Prisma.SortOrder;
857
+ stopRequestedAt?: Prisma.SortOrder;
858
+ stopRequestReason?: Prisma.SortOrder;
701
859
  parentRunId?: Prisma.SortOrder;
860
+ parentCallId?: Prisma.SortOrder;
702
861
  taskOverride?: Prisma.SortOrder;
703
862
  triggeredById?: Prisma.SortOrder;
704
863
  };
@@ -719,7 +878,13 @@ export type RunMinOrderByAggregateInput = {
719
878
  pricingVersion?: Prisma.SortOrder;
720
879
  executionManaged?: Prisma.SortOrder;
721
880
  executionBackend?: Prisma.SortOrder;
881
+ executionWorkflowId?: Prisma.SortOrder;
882
+ nativeExecutionMode?: Prisma.SortOrder;
883
+ startDeferredAt?: Prisma.SortOrder;
884
+ stopRequestedAt?: Prisma.SortOrder;
885
+ stopRequestReason?: Prisma.SortOrder;
722
886
  parentRunId?: Prisma.SortOrder;
887
+ parentCallId?: Prisma.SortOrder;
723
888
  taskOverride?: Prisma.SortOrder;
724
889
  triggeredById?: Prisma.SortOrder;
725
890
  };
@@ -797,6 +962,9 @@ export type EnumRunStatusFieldUpdateOperationsInput = {
797
962
  export type EnumRunTriggerFieldUpdateOperationsInput = {
798
963
  set?: $Enums.RunTrigger;
799
964
  };
965
+ export type NullableEnumNativeExecutionModeFieldUpdateOperationsInput = {
966
+ set?: $Enums.NativeExecutionMode | null;
967
+ };
800
968
  export type RunUpdategrantedParentMemoryKeysInput = {
801
969
  set?: string[];
802
970
  push?: string | string[];
@@ -848,6 +1016,18 @@ export type RunUpdateOneRequiredWithoutCodingRunNestedInput = {
848
1016
  connect?: Prisma.RunWhereUniqueInput;
849
1017
  update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutCodingRunInput, Prisma.RunUpdateWithoutCodingRunInput>, Prisma.RunUncheckedUpdateWithoutCodingRunInput>;
850
1018
  };
1019
+ export type RunCreateNestedOneWithoutTranscriptInput = {
1020
+ create?: Prisma.XOR<Prisma.RunCreateWithoutTranscriptInput, Prisma.RunUncheckedCreateWithoutTranscriptInput>;
1021
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutTranscriptInput;
1022
+ connect?: Prisma.RunWhereUniqueInput;
1023
+ };
1024
+ export type RunUpdateOneRequiredWithoutTranscriptNestedInput = {
1025
+ create?: Prisma.XOR<Prisma.RunCreateWithoutTranscriptInput, Prisma.RunUncheckedCreateWithoutTranscriptInput>;
1026
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutTranscriptInput;
1027
+ upsert?: Prisma.RunUpsertWithoutTranscriptInput;
1028
+ connect?: Prisma.RunWhereUniqueInput;
1029
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutTranscriptInput, Prisma.RunUpdateWithoutTranscriptInput>, Prisma.RunUncheckedUpdateWithoutTranscriptInput>;
1030
+ };
851
1031
  export type RunCreateNestedOneWithoutServiceStatusesInput = {
852
1032
  create?: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
853
1033
  connectOrCreate?: Prisma.RunCreateOrConnectWithoutServiceStatusesInput;
@@ -860,6 +1040,44 @@ export type RunUpdateOneRequiredWithoutServiceStatusesNestedInput = {
860
1040
  connect?: Prisma.RunWhereUniqueInput;
861
1041
  update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutServiceStatusesInput, Prisma.RunUpdateWithoutServiceStatusesInput>, Prisma.RunUncheckedUpdateWithoutServiceStatusesInput>;
862
1042
  };
1043
+ export type RunCreateNestedOneWithoutBudgetEventsInput = {
1044
+ create?: Prisma.XOR<Prisma.RunCreateWithoutBudgetEventsInput, Prisma.RunUncheckedCreateWithoutBudgetEventsInput>;
1045
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutBudgetEventsInput;
1046
+ connect?: Prisma.RunWhereUniqueInput;
1047
+ };
1048
+ export type RunUpdateOneRequiredWithoutBudgetEventsNestedInput = {
1049
+ create?: Prisma.XOR<Prisma.RunCreateWithoutBudgetEventsInput, Prisma.RunUncheckedCreateWithoutBudgetEventsInput>;
1050
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutBudgetEventsInput;
1051
+ upsert?: Prisma.RunUpsertWithoutBudgetEventsInput;
1052
+ connect?: Prisma.RunWhereUniqueInput;
1053
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutBudgetEventsInput, Prisma.RunUpdateWithoutBudgetEventsInput>, Prisma.RunUncheckedUpdateWithoutBudgetEventsInput>;
1054
+ };
1055
+ export type RunCreateNestedOneWithoutNativeGatewaySessionInput = {
1056
+ create?: Prisma.XOR<Prisma.RunCreateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedCreateWithoutNativeGatewaySessionInput>;
1057
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutNativeGatewaySessionInput;
1058
+ connect?: Prisma.RunWhereUniqueInput;
1059
+ };
1060
+ export type RunUpdateOneRequiredWithoutNativeGatewaySessionNestedInput = {
1061
+ create?: Prisma.XOR<Prisma.RunCreateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedCreateWithoutNativeGatewaySessionInput>;
1062
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutNativeGatewaySessionInput;
1063
+ upsert?: Prisma.RunUpsertWithoutNativeGatewaySessionInput;
1064
+ connect?: Prisma.RunWhereUniqueInput;
1065
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutNativeGatewaySessionInput, Prisma.RunUpdateWithoutNativeGatewaySessionInput>, Prisma.RunUncheckedUpdateWithoutNativeGatewaySessionInput>;
1066
+ };
1067
+ export type RunCreateNestedOneWithoutNativeWarmWorkerInput = {
1068
+ create?: Prisma.XOR<Prisma.RunCreateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedCreateWithoutNativeWarmWorkerInput>;
1069
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutNativeWarmWorkerInput;
1070
+ connect?: Prisma.RunWhereUniqueInput;
1071
+ };
1072
+ export type RunUpdateOneWithoutNativeWarmWorkerNestedInput = {
1073
+ create?: Prisma.XOR<Prisma.RunCreateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedCreateWithoutNativeWarmWorkerInput>;
1074
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutNativeWarmWorkerInput;
1075
+ upsert?: Prisma.RunUpsertWithoutNativeWarmWorkerInput;
1076
+ disconnect?: Prisma.RunWhereInput | boolean;
1077
+ delete?: Prisma.RunWhereInput | boolean;
1078
+ connect?: Prisma.RunWhereUniqueInput;
1079
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutNativeWarmWorkerInput, Prisma.RunUpdateWithoutNativeWarmWorkerInput>, Prisma.RunUncheckedUpdateWithoutNativeWarmWorkerInput>;
1080
+ };
863
1081
  export type RunCreateNestedOneWithoutHostCheckInput = {
864
1082
  create?: Prisma.XOR<Prisma.RunCreateWithoutHostCheckInput, Prisma.RunUncheckedCreateWithoutHostCheckInput>;
865
1083
  connectOrCreate?: Prisma.RunCreateOrConnectWithoutHostCheckInput;
@@ -951,17 +1169,27 @@ export type RunCreateWithoutAgentInput = {
951
1169
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
952
1170
  executionManaged?: boolean;
953
1171
  executionBackend?: string | null;
1172
+ executionWorkflowId?: string | null;
1173
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1174
+ startDeferredAt?: Date | string | null;
1175
+ stopRequestedAt?: Date | string | null;
1176
+ stopRequestReason?: string | null;
1177
+ parentCallId?: string | null;
954
1178
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
955
1179
  taskOverride?: string | null;
956
1180
  triggeredById?: string | null;
957
1181
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
1182
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
958
1183
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
959
1184
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
960
1185
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
961
1186
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
962
1187
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
963
1188
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1189
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
964
1190
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1191
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1192
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
965
1193
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
966
1194
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
967
1195
  };
@@ -982,18 +1210,28 @@ export type RunUncheckedCreateWithoutAgentInput = {
982
1210
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
983
1211
  executionManaged?: boolean;
984
1212
  executionBackend?: string | null;
1213
+ executionWorkflowId?: string | null;
1214
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1215
+ startDeferredAt?: Date | string | null;
1216
+ stopRequestedAt?: Date | string | null;
1217
+ stopRequestReason?: string | null;
985
1218
  parentRunId?: string | null;
1219
+ parentCallId?: string | null;
986
1220
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
987
1221
  taskOverride?: string | null;
988
1222
  triggeredById?: string | null;
989
1223
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
1224
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
990
1225
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
991
1226
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
992
1227
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
993
1228
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
994
1229
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
995
1230
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1231
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
996
1232
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1233
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1234
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
997
1235
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
998
1236
  };
999
1237
  export type RunCreateOrConnectWithoutAgentInput = {
@@ -1038,12 +1276,652 @@ export type RunScalarWhereInput = {
1038
1276
  pricingSnapshot?: Prisma.JsonNullableFilter<"Run">;
1039
1277
  executionManaged?: Prisma.BoolFilter<"Run"> | boolean;
1040
1278
  executionBackend?: Prisma.StringNullableFilter<"Run"> | string | null;
1279
+ executionWorkflowId?: Prisma.StringNullableFilter<"Run"> | string | null;
1280
+ nativeExecutionMode?: Prisma.EnumNativeExecutionModeNullableFilter<"Run"> | $Enums.NativeExecutionMode | null;
1281
+ startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
1282
+ stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
1283
+ stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
1041
1284
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
1285
+ parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
1042
1286
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
1043
1287
  taskOverride?: Prisma.StringNullableFilter<"Run"> | string | null;
1044
1288
  triggeredById?: Prisma.StringNullableFilter<"Run"> | string | null;
1045
1289
  };
1046
- export type RunCreateWithoutChildRunsInput = {
1290
+ export type RunCreateWithoutChildRunsInput = {
1291
+ id?: string;
1292
+ status?: $Enums.RunStatus;
1293
+ trigger?: $Enums.RunTrigger;
1294
+ tokensIn?: number;
1295
+ tokensOut?: number;
1296
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1297
+ error?: string | null;
1298
+ startedAt?: Date | string;
1299
+ finishedAt?: Date | string | null;
1300
+ heartbeatAt?: Date | string | null;
1301
+ finalText?: string | null;
1302
+ turns?: number;
1303
+ pricingVersion?: string | null;
1304
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1305
+ executionManaged?: boolean;
1306
+ executionBackend?: string | null;
1307
+ executionWorkflowId?: string | null;
1308
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1309
+ startDeferredAt?: Date | string | null;
1310
+ stopRequestedAt?: Date | string | null;
1311
+ stopRequestReason?: string | null;
1312
+ parentCallId?: string | null;
1313
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1314
+ taskOverride?: string | null;
1315
+ triggeredById?: string | null;
1316
+ agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1317
+ codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
1318
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1319
+ hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1320
+ hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1321
+ issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1322
+ attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1323
+ modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1324
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1325
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1326
+ localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1327
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1328
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1329
+ parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1330
+ };
1331
+ export type RunUncheckedCreateWithoutChildRunsInput = {
1332
+ id?: string;
1333
+ agentId: string;
1334
+ status?: $Enums.RunStatus;
1335
+ trigger?: $Enums.RunTrigger;
1336
+ tokensIn?: number;
1337
+ tokensOut?: number;
1338
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1339
+ error?: string | null;
1340
+ startedAt?: Date | string;
1341
+ finishedAt?: Date | string | null;
1342
+ heartbeatAt?: Date | string | null;
1343
+ finalText?: string | null;
1344
+ turns?: number;
1345
+ pricingVersion?: string | null;
1346
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1347
+ executionManaged?: boolean;
1348
+ executionBackend?: string | null;
1349
+ executionWorkflowId?: string | null;
1350
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1351
+ startDeferredAt?: Date | string | null;
1352
+ stopRequestedAt?: Date | string | null;
1353
+ stopRequestReason?: string | null;
1354
+ parentRunId?: string | null;
1355
+ parentCallId?: string | null;
1356
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1357
+ taskOverride?: string | null;
1358
+ triggeredById?: string | null;
1359
+ codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
1360
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1361
+ hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1362
+ hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1363
+ issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1364
+ attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1365
+ modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1366
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1367
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1368
+ localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1369
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1370
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1371
+ };
1372
+ export type RunCreateOrConnectWithoutChildRunsInput = {
1373
+ where: Prisma.RunWhereUniqueInput;
1374
+ create: Prisma.XOR<Prisma.RunCreateWithoutChildRunsInput, Prisma.RunUncheckedCreateWithoutChildRunsInput>;
1375
+ };
1376
+ export type RunCreateWithoutParentRunInput = {
1377
+ id?: string;
1378
+ status?: $Enums.RunStatus;
1379
+ trigger?: $Enums.RunTrigger;
1380
+ tokensIn?: number;
1381
+ tokensOut?: number;
1382
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1383
+ error?: string | null;
1384
+ startedAt?: Date | string;
1385
+ finishedAt?: Date | string | null;
1386
+ heartbeatAt?: Date | string | null;
1387
+ finalText?: string | null;
1388
+ turns?: number;
1389
+ pricingVersion?: string | null;
1390
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1391
+ executionManaged?: boolean;
1392
+ executionBackend?: string | null;
1393
+ executionWorkflowId?: string | null;
1394
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1395
+ startDeferredAt?: Date | string | null;
1396
+ stopRequestedAt?: Date | string | null;
1397
+ stopRequestReason?: string | null;
1398
+ parentCallId?: string | null;
1399
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1400
+ taskOverride?: string | null;
1401
+ triggeredById?: string | null;
1402
+ agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1403
+ codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
1404
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1405
+ hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1406
+ hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1407
+ issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1408
+ attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1409
+ modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1410
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1411
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1412
+ localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1413
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1414
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1415
+ childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1416
+ };
1417
+ export type RunUncheckedCreateWithoutParentRunInput = {
1418
+ id?: string;
1419
+ agentId: string;
1420
+ status?: $Enums.RunStatus;
1421
+ trigger?: $Enums.RunTrigger;
1422
+ tokensIn?: number;
1423
+ tokensOut?: number;
1424
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1425
+ error?: string | null;
1426
+ startedAt?: Date | string;
1427
+ finishedAt?: Date | string | null;
1428
+ heartbeatAt?: Date | string | null;
1429
+ finalText?: string | null;
1430
+ turns?: number;
1431
+ pricingVersion?: string | null;
1432
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1433
+ executionManaged?: boolean;
1434
+ executionBackend?: string | null;
1435
+ executionWorkflowId?: string | null;
1436
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1437
+ startDeferredAt?: Date | string | null;
1438
+ stopRequestedAt?: Date | string | null;
1439
+ stopRequestReason?: string | null;
1440
+ parentCallId?: string | null;
1441
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1442
+ taskOverride?: string | null;
1443
+ triggeredById?: string | null;
1444
+ codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
1445
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1446
+ hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1447
+ hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1448
+ issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1449
+ attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1450
+ modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1451
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1452
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1453
+ localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1454
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1455
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1456
+ childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1457
+ };
1458
+ export type RunCreateOrConnectWithoutParentRunInput = {
1459
+ where: Prisma.RunWhereUniqueInput;
1460
+ create: Prisma.XOR<Prisma.RunCreateWithoutParentRunInput, Prisma.RunUncheckedCreateWithoutParentRunInput>;
1461
+ };
1462
+ export type RunCreateManyParentRunInputEnvelope = {
1463
+ data: Prisma.RunCreateManyParentRunInput | Prisma.RunCreateManyParentRunInput[];
1464
+ skipDuplicates?: boolean;
1465
+ };
1466
+ export type RunUpsertWithoutChildRunsInput = {
1467
+ update: Prisma.XOR<Prisma.RunUpdateWithoutChildRunsInput, Prisma.RunUncheckedUpdateWithoutChildRunsInput>;
1468
+ create: Prisma.XOR<Prisma.RunCreateWithoutChildRunsInput, Prisma.RunUncheckedCreateWithoutChildRunsInput>;
1469
+ where?: Prisma.RunWhereInput;
1470
+ };
1471
+ export type RunUpdateToOneWithWhereWithoutChildRunsInput = {
1472
+ where?: Prisma.RunWhereInput;
1473
+ data: Prisma.XOR<Prisma.RunUpdateWithoutChildRunsInput, Prisma.RunUncheckedUpdateWithoutChildRunsInput>;
1474
+ };
1475
+ export type RunUpdateWithoutChildRunsInput = {
1476
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1477
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1478
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1479
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1480
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1481
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1482
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1483
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1484
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1485
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1486
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1487
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1488
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1489
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1490
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1491
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1492
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1493
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1494
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1495
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1496
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1497
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1498
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1499
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1500
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1501
+ agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1502
+ codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
1503
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1504
+ hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1505
+ hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1506
+ issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1507
+ attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1508
+ modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1509
+ serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
1510
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1511
+ localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1512
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1513
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1514
+ parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1515
+ };
1516
+ export type RunUncheckedUpdateWithoutChildRunsInput = {
1517
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1518
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1519
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1520
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1521
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1522
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1523
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1524
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1525
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1526
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1527
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1528
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1529
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1530
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1531
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1532
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1533
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1534
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1535
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1536
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1537
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1538
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1539
+ parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1540
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1541
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1542
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1544
+ codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
1545
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1546
+ hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1547
+ hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1548
+ issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1549
+ attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1550
+ modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1551
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
1552
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1553
+ localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
1554
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1555
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1556
+ };
1557
+ export type RunUpsertWithWhereUniqueWithoutParentRunInput = {
1558
+ where: Prisma.RunWhereUniqueInput;
1559
+ update: Prisma.XOR<Prisma.RunUpdateWithoutParentRunInput, Prisma.RunUncheckedUpdateWithoutParentRunInput>;
1560
+ create: Prisma.XOR<Prisma.RunCreateWithoutParentRunInput, Prisma.RunUncheckedCreateWithoutParentRunInput>;
1561
+ };
1562
+ export type RunUpdateWithWhereUniqueWithoutParentRunInput = {
1563
+ where: Prisma.RunWhereUniqueInput;
1564
+ data: Prisma.XOR<Prisma.RunUpdateWithoutParentRunInput, Prisma.RunUncheckedUpdateWithoutParentRunInput>;
1565
+ };
1566
+ export type RunUpdateManyWithWhereWithoutParentRunInput = {
1567
+ where: Prisma.RunScalarWhereInput;
1568
+ data: Prisma.XOR<Prisma.RunUpdateManyMutationInput, Prisma.RunUncheckedUpdateManyWithoutParentRunInput>;
1569
+ };
1570
+ export type RunCreateWithoutCodingRunInput = {
1571
+ id?: string;
1572
+ status?: $Enums.RunStatus;
1573
+ trigger?: $Enums.RunTrigger;
1574
+ tokensIn?: number;
1575
+ tokensOut?: number;
1576
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1577
+ error?: string | null;
1578
+ startedAt?: Date | string;
1579
+ finishedAt?: Date | string | null;
1580
+ heartbeatAt?: Date | string | null;
1581
+ finalText?: string | null;
1582
+ turns?: number;
1583
+ pricingVersion?: string | null;
1584
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1585
+ executionManaged?: boolean;
1586
+ executionBackend?: string | null;
1587
+ executionWorkflowId?: string | null;
1588
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1589
+ startDeferredAt?: Date | string | null;
1590
+ stopRequestedAt?: Date | string | null;
1591
+ stopRequestReason?: string | null;
1592
+ parentCallId?: string | null;
1593
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1594
+ taskOverride?: string | null;
1595
+ triggeredById?: string | null;
1596
+ agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1597
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1598
+ hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1599
+ hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1600
+ issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1601
+ attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1602
+ modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1603
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1604
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1605
+ localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1606
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1607
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1608
+ parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1609
+ childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1610
+ };
1611
+ export type RunUncheckedCreateWithoutCodingRunInput = {
1612
+ id?: string;
1613
+ agentId: string;
1614
+ status?: $Enums.RunStatus;
1615
+ trigger?: $Enums.RunTrigger;
1616
+ tokensIn?: number;
1617
+ tokensOut?: number;
1618
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1619
+ error?: string | null;
1620
+ startedAt?: Date | string;
1621
+ finishedAt?: Date | string | null;
1622
+ heartbeatAt?: Date | string | null;
1623
+ finalText?: string | null;
1624
+ turns?: number;
1625
+ pricingVersion?: string | null;
1626
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1627
+ executionManaged?: boolean;
1628
+ executionBackend?: string | null;
1629
+ executionWorkflowId?: string | null;
1630
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1631
+ startDeferredAt?: Date | string | null;
1632
+ stopRequestedAt?: Date | string | null;
1633
+ stopRequestReason?: string | null;
1634
+ parentRunId?: string | null;
1635
+ parentCallId?: string | null;
1636
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1637
+ taskOverride?: string | null;
1638
+ triggeredById?: string | null;
1639
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1640
+ hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1641
+ hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1642
+ issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1643
+ attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1644
+ modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1645
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1646
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1647
+ localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1648
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1649
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1650
+ childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1651
+ };
1652
+ export type RunCreateOrConnectWithoutCodingRunInput = {
1653
+ where: Prisma.RunWhereUniqueInput;
1654
+ create: Prisma.XOR<Prisma.RunCreateWithoutCodingRunInput, Prisma.RunUncheckedCreateWithoutCodingRunInput>;
1655
+ };
1656
+ export type RunUpsertWithoutCodingRunInput = {
1657
+ update: Prisma.XOR<Prisma.RunUpdateWithoutCodingRunInput, Prisma.RunUncheckedUpdateWithoutCodingRunInput>;
1658
+ create: Prisma.XOR<Prisma.RunCreateWithoutCodingRunInput, Prisma.RunUncheckedCreateWithoutCodingRunInput>;
1659
+ where?: Prisma.RunWhereInput;
1660
+ };
1661
+ export type RunUpdateToOneWithWhereWithoutCodingRunInput = {
1662
+ where?: Prisma.RunWhereInput;
1663
+ data: Prisma.XOR<Prisma.RunUpdateWithoutCodingRunInput, Prisma.RunUncheckedUpdateWithoutCodingRunInput>;
1664
+ };
1665
+ export type RunUpdateWithoutCodingRunInput = {
1666
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1667
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1668
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1669
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1670
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1671
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1672
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1673
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1674
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1675
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1676
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1677
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1678
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1679
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1680
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1681
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1682
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1683
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1684
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1685
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1686
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1687
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1688
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1689
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1690
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1691
+ agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1692
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1693
+ hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1694
+ hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1695
+ issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1696
+ attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1697
+ modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1698
+ serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
1699
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1700
+ localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1701
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1702
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1703
+ parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1704
+ childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1705
+ };
1706
+ export type RunUncheckedUpdateWithoutCodingRunInput = {
1707
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1708
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1709
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1710
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1711
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1712
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1713
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1714
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1715
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1716
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1717
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1718
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1719
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1720
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1721
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1722
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1723
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1724
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1725
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1726
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1727
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1728
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1729
+ parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1730
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1731
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1732
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1733
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1734
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1735
+ hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1736
+ hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1737
+ issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1738
+ attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1739
+ modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1740
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
1741
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1742
+ localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
1743
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1744
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1745
+ childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1746
+ };
1747
+ export type RunCreateWithoutTranscriptInput = {
1748
+ id?: string;
1749
+ status?: $Enums.RunStatus;
1750
+ trigger?: $Enums.RunTrigger;
1751
+ tokensIn?: number;
1752
+ tokensOut?: number;
1753
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1754
+ error?: string | null;
1755
+ startedAt?: Date | string;
1756
+ finishedAt?: Date | string | null;
1757
+ heartbeatAt?: Date | string | null;
1758
+ finalText?: string | null;
1759
+ turns?: number;
1760
+ pricingVersion?: string | null;
1761
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1762
+ executionManaged?: boolean;
1763
+ executionBackend?: string | null;
1764
+ executionWorkflowId?: string | null;
1765
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1766
+ startDeferredAt?: Date | string | null;
1767
+ stopRequestedAt?: Date | string | null;
1768
+ stopRequestReason?: string | null;
1769
+ parentCallId?: string | null;
1770
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1771
+ taskOverride?: string | null;
1772
+ triggeredById?: string | null;
1773
+ agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1774
+ codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
1775
+ hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1776
+ hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1777
+ issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1778
+ attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1779
+ modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1780
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1781
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1782
+ localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1783
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1784
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1785
+ parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1786
+ childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1787
+ };
1788
+ export type RunUncheckedCreateWithoutTranscriptInput = {
1789
+ id?: string;
1790
+ agentId: string;
1791
+ status?: $Enums.RunStatus;
1792
+ trigger?: $Enums.RunTrigger;
1793
+ tokensIn?: number;
1794
+ tokensOut?: number;
1795
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1796
+ error?: string | null;
1797
+ startedAt?: Date | string;
1798
+ finishedAt?: Date | string | null;
1799
+ heartbeatAt?: Date | string | null;
1800
+ finalText?: string | null;
1801
+ turns?: number;
1802
+ pricingVersion?: string | null;
1803
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1804
+ executionManaged?: boolean;
1805
+ executionBackend?: string | null;
1806
+ executionWorkflowId?: string | null;
1807
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1808
+ startDeferredAt?: Date | string | null;
1809
+ stopRequestedAt?: Date | string | null;
1810
+ stopRequestReason?: string | null;
1811
+ parentRunId?: string | null;
1812
+ parentCallId?: string | null;
1813
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1814
+ taskOverride?: string | null;
1815
+ triggeredById?: string | null;
1816
+ codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
1817
+ hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1818
+ hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1819
+ issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1820
+ attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1821
+ modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1822
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1823
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1824
+ localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1825
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1826
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1827
+ childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1828
+ };
1829
+ export type RunCreateOrConnectWithoutTranscriptInput = {
1830
+ where: Prisma.RunWhereUniqueInput;
1831
+ create: Prisma.XOR<Prisma.RunCreateWithoutTranscriptInput, Prisma.RunUncheckedCreateWithoutTranscriptInput>;
1832
+ };
1833
+ export type RunUpsertWithoutTranscriptInput = {
1834
+ update: Prisma.XOR<Prisma.RunUpdateWithoutTranscriptInput, Prisma.RunUncheckedUpdateWithoutTranscriptInput>;
1835
+ create: Prisma.XOR<Prisma.RunCreateWithoutTranscriptInput, Prisma.RunUncheckedCreateWithoutTranscriptInput>;
1836
+ where?: Prisma.RunWhereInput;
1837
+ };
1838
+ export type RunUpdateToOneWithWhereWithoutTranscriptInput = {
1839
+ where?: Prisma.RunWhereInput;
1840
+ data: Prisma.XOR<Prisma.RunUpdateWithoutTranscriptInput, Prisma.RunUncheckedUpdateWithoutTranscriptInput>;
1841
+ };
1842
+ export type RunUpdateWithoutTranscriptInput = {
1843
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1844
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1845
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1846
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1847
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1848
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1849
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1850
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1851
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1852
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1853
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1854
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1855
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1856
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1857
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1858
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1859
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1860
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1861
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1862
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1863
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1864
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1865
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1866
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1867
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1868
+ agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1869
+ codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
1870
+ hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1871
+ hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1872
+ issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1873
+ attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1874
+ modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1875
+ serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
1876
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1877
+ localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1878
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1879
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1880
+ parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1881
+ childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1882
+ };
1883
+ export type RunUncheckedUpdateWithoutTranscriptInput = {
1884
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1885
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1886
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1887
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
1888
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
1889
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
1890
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1891
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1892
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1893
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1894
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1895
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1896
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
1897
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1898
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1899
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1900
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1901
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1902
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
1903
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1904
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1905
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1906
+ parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1907
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1908
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1909
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1910
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1911
+ codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
1912
+ hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1913
+ hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1914
+ issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1915
+ attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1916
+ modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1917
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
1918
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1919
+ localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
1920
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1921
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1922
+ childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1923
+ };
1924
+ export type RunCreateWithoutServiceStatusesInput = {
1047
1925
  id?: string;
1048
1926
  status?: $Enums.RunStatus;
1049
1927
  trigger?: $Enums.RunTrigger;
@@ -1060,21 +1938,31 @@ export type RunCreateWithoutChildRunsInput = {
1060
1938
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1061
1939
  executionManaged?: boolean;
1062
1940
  executionBackend?: string | null;
1941
+ executionWorkflowId?: string | null;
1942
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1943
+ startDeferredAt?: Date | string | null;
1944
+ stopRequestedAt?: Date | string | null;
1945
+ stopRequestReason?: string | null;
1946
+ parentCallId?: string | null;
1063
1947
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1064
1948
  taskOverride?: string | null;
1065
1949
  triggeredById?: string | null;
1066
1950
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1067
1951
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
1952
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1068
1953
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1069
1954
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1070
1955
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1071
1956
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1072
1957
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1073
- serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1958
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1074
1959
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1960
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1961
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1075
1962
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1963
+ childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1076
1964
  };
1077
- export type RunUncheckedCreateWithoutChildRunsInput = {
1965
+ export type RunUncheckedCreateWithoutServiceStatusesInput = {
1078
1966
  id?: string;
1079
1967
  agentId: string;
1080
1968
  status?: $Enums.RunStatus;
@@ -1092,24 +1980,125 @@ export type RunUncheckedCreateWithoutChildRunsInput = {
1092
1980
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1093
1981
  executionManaged?: boolean;
1094
1982
  executionBackend?: string | null;
1983
+ executionWorkflowId?: string | null;
1984
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
1985
+ startDeferredAt?: Date | string | null;
1986
+ stopRequestedAt?: Date | string | null;
1987
+ stopRequestReason?: string | null;
1095
1988
  parentRunId?: string | null;
1989
+ parentCallId?: string | null;
1096
1990
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1097
1991
  taskOverride?: string | null;
1098
1992
  triggeredById?: string | null;
1099
1993
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
1994
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1100
1995
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1101
1996
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1102
1997
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1103
1998
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1104
1999
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1105
- serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2000
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1106
2001
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2002
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2003
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2004
+ childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1107
2005
  };
1108
- export type RunCreateOrConnectWithoutChildRunsInput = {
2006
+ export type RunCreateOrConnectWithoutServiceStatusesInput = {
1109
2007
  where: Prisma.RunWhereUniqueInput;
1110
- create: Prisma.XOR<Prisma.RunCreateWithoutChildRunsInput, Prisma.RunUncheckedCreateWithoutChildRunsInput>;
2008
+ create: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
1111
2009
  };
1112
- export type RunCreateWithoutParentRunInput = {
2010
+ export type RunUpsertWithoutServiceStatusesInput = {
2011
+ update: Prisma.XOR<Prisma.RunUpdateWithoutServiceStatusesInput, Prisma.RunUncheckedUpdateWithoutServiceStatusesInput>;
2012
+ create: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
2013
+ where?: Prisma.RunWhereInput;
2014
+ };
2015
+ export type RunUpdateToOneWithWhereWithoutServiceStatusesInput = {
2016
+ where?: Prisma.RunWhereInput;
2017
+ data: Prisma.XOR<Prisma.RunUpdateWithoutServiceStatusesInput, Prisma.RunUncheckedUpdateWithoutServiceStatusesInput>;
2018
+ };
2019
+ export type RunUpdateWithoutServiceStatusesInput = {
2020
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2021
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
2022
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
2023
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
2024
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
2025
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2026
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2027
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2028
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2029
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2030
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2031
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
2032
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2033
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2034
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2035
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2036
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2037
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2038
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2039
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2040
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2041
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2042
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2043
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2044
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2045
+ agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2046
+ codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2047
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2048
+ hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2049
+ hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2050
+ issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2051
+ attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2052
+ modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2053
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2054
+ localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2055
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2056
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2057
+ parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2058
+ childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2059
+ };
2060
+ export type RunUncheckedUpdateWithoutServiceStatusesInput = {
2061
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2062
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
2063
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
2064
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
2065
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
2066
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
2067
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2068
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2069
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2070
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2071
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2072
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2073
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
2074
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2075
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2076
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2077
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2079
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2080
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2081
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2082
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2083
+ parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2084
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2085
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2086
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2087
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2088
+ codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2089
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2090
+ hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2091
+ hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2092
+ issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2093
+ attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2094
+ modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2095
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2096
+ localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2097
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2098
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2099
+ childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2100
+ };
2101
+ export type RunCreateWithoutBudgetEventsInput = {
1113
2102
  id?: string;
1114
2103
  status?: $Enums.RunStatus;
1115
2104
  trigger?: $Enums.RunTrigger;
@@ -1126,11 +2115,18 @@ export type RunCreateWithoutParentRunInput = {
1126
2115
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1127
2116
  executionManaged?: boolean;
1128
2117
  executionBackend?: string | null;
2118
+ executionWorkflowId?: string | null;
2119
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2120
+ startDeferredAt?: Date | string | null;
2121
+ stopRequestedAt?: Date | string | null;
2122
+ stopRequestReason?: string | null;
2123
+ parentCallId?: string | null;
1129
2124
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1130
2125
  taskOverride?: string | null;
1131
2126
  triggeredById?: string | null;
1132
2127
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1133
2128
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2129
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1134
2130
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1135
2131
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1136
2132
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
@@ -1138,9 +2134,12 @@ export type RunCreateWithoutParentRunInput = {
1138
2134
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1139
2135
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
1140
2136
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2137
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2138
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2139
+ parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1141
2140
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1142
2141
  };
1143
- export type RunUncheckedCreateWithoutParentRunInput = {
2142
+ export type RunUncheckedCreateWithoutBudgetEventsInput = {
1144
2143
  id?: string;
1145
2144
  agentId: string;
1146
2145
  status?: $Enums.RunStatus;
@@ -1158,10 +2157,18 @@ export type RunUncheckedCreateWithoutParentRunInput = {
1158
2157
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1159
2158
  executionManaged?: boolean;
1160
2159
  executionBackend?: string | null;
2160
+ executionWorkflowId?: string | null;
2161
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2162
+ startDeferredAt?: Date | string | null;
2163
+ stopRequestedAt?: Date | string | null;
2164
+ stopRequestReason?: string | null;
2165
+ parentRunId?: string | null;
2166
+ parentCallId?: string | null;
1161
2167
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1162
2168
  taskOverride?: string | null;
1163
2169
  triggeredById?: string | null;
1164
2170
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2171
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1165
2172
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1166
2173
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1167
2174
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
@@ -1169,26 +2176,24 @@ export type RunUncheckedCreateWithoutParentRunInput = {
1169
2176
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1170
2177
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
1171
2178
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2179
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2180
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1172
2181
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1173
2182
  };
1174
- export type RunCreateOrConnectWithoutParentRunInput = {
2183
+ export type RunCreateOrConnectWithoutBudgetEventsInput = {
1175
2184
  where: Prisma.RunWhereUniqueInput;
1176
- create: Prisma.XOR<Prisma.RunCreateWithoutParentRunInput, Prisma.RunUncheckedCreateWithoutParentRunInput>;
1177
- };
1178
- export type RunCreateManyParentRunInputEnvelope = {
1179
- data: Prisma.RunCreateManyParentRunInput | Prisma.RunCreateManyParentRunInput[];
1180
- skipDuplicates?: boolean;
2185
+ create: Prisma.XOR<Prisma.RunCreateWithoutBudgetEventsInput, Prisma.RunUncheckedCreateWithoutBudgetEventsInput>;
1181
2186
  };
1182
- export type RunUpsertWithoutChildRunsInput = {
1183
- update: Prisma.XOR<Prisma.RunUpdateWithoutChildRunsInput, Prisma.RunUncheckedUpdateWithoutChildRunsInput>;
1184
- create: Prisma.XOR<Prisma.RunCreateWithoutChildRunsInput, Prisma.RunUncheckedCreateWithoutChildRunsInput>;
2187
+ export type RunUpsertWithoutBudgetEventsInput = {
2188
+ update: Prisma.XOR<Prisma.RunUpdateWithoutBudgetEventsInput, Prisma.RunUncheckedUpdateWithoutBudgetEventsInput>;
2189
+ create: Prisma.XOR<Prisma.RunCreateWithoutBudgetEventsInput, Prisma.RunUncheckedCreateWithoutBudgetEventsInput>;
1185
2190
  where?: Prisma.RunWhereInput;
1186
2191
  };
1187
- export type RunUpdateToOneWithWhereWithoutChildRunsInput = {
2192
+ export type RunUpdateToOneWithWhereWithoutBudgetEventsInput = {
1188
2193
  where?: Prisma.RunWhereInput;
1189
- data: Prisma.XOR<Prisma.RunUpdateWithoutChildRunsInput, Prisma.RunUncheckedUpdateWithoutChildRunsInput>;
2194
+ data: Prisma.XOR<Prisma.RunUpdateWithoutBudgetEventsInput, Prisma.RunUncheckedUpdateWithoutBudgetEventsInput>;
1190
2195
  };
1191
- export type RunUpdateWithoutChildRunsInput = {
2196
+ export type RunUpdateWithoutBudgetEventsInput = {
1192
2197
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1193
2198
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1194
2199
  trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
@@ -1205,11 +2210,18 @@ export type RunUpdateWithoutChildRunsInput = {
1205
2210
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1206
2211
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1207
2212
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2213
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2214
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2215
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2216
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2217
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2218
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1208
2219
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1209
2220
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1210
2221
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1211
2222
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1212
2223
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2224
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1213
2225
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1214
2226
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1215
2227
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
@@ -1217,9 +2229,12 @@ export type RunUpdateWithoutChildRunsInput = {
1217
2229
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1218
2230
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
1219
2231
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2232
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2233
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1220
2234
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2235
+ childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1221
2236
  };
1222
- export type RunUncheckedUpdateWithoutChildRunsInput = {
2237
+ export type RunUncheckedUpdateWithoutBudgetEventsInput = {
1223
2238
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1224
2239
  agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1225
2240
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
@@ -1237,11 +2252,18 @@ export type RunUncheckedUpdateWithoutChildRunsInput = {
1237
2252
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1238
2253
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1239
2254
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2255
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2256
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2257
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2258
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2259
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1240
2260
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2261
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1241
2262
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1242
2263
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1243
2264
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1244
2265
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2266
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1245
2267
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1246
2268
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1247
2269
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
@@ -1249,21 +2271,11 @@ export type RunUncheckedUpdateWithoutChildRunsInput = {
1249
2271
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1250
2272
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
1251
2273
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2274
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2275
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2276
+ childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1252
2277
  };
1253
- export type RunUpsertWithWhereUniqueWithoutParentRunInput = {
1254
- where: Prisma.RunWhereUniqueInput;
1255
- update: Prisma.XOR<Prisma.RunUpdateWithoutParentRunInput, Prisma.RunUncheckedUpdateWithoutParentRunInput>;
1256
- create: Prisma.XOR<Prisma.RunCreateWithoutParentRunInput, Prisma.RunUncheckedCreateWithoutParentRunInput>;
1257
- };
1258
- export type RunUpdateWithWhereUniqueWithoutParentRunInput = {
1259
- where: Prisma.RunWhereUniqueInput;
1260
- data: Prisma.XOR<Prisma.RunUpdateWithoutParentRunInput, Prisma.RunUncheckedUpdateWithoutParentRunInput>;
1261
- };
1262
- export type RunUpdateManyWithWhereWithoutParentRunInput = {
1263
- where: Prisma.RunScalarWhereInput;
1264
- data: Prisma.XOR<Prisma.RunUpdateManyMutationInput, Prisma.RunUncheckedUpdateManyWithoutParentRunInput>;
1265
- };
1266
- export type RunCreateWithoutCodingRunInput = {
2278
+ export type RunCreateWithoutNativeGatewaySessionInput = {
1267
2279
  id?: string;
1268
2280
  status?: $Enums.RunStatus;
1269
2281
  trigger?: $Enums.RunTrigger;
@@ -1280,21 +2292,31 @@ export type RunCreateWithoutCodingRunInput = {
1280
2292
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1281
2293
  executionManaged?: boolean;
1282
2294
  executionBackend?: string | null;
2295
+ executionWorkflowId?: string | null;
2296
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2297
+ startDeferredAt?: Date | string | null;
2298
+ stopRequestedAt?: Date | string | null;
2299
+ stopRequestReason?: string | null;
2300
+ parentCallId?: string | null;
1283
2301
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1284
2302
  taskOverride?: string | null;
1285
2303
  triggeredById?: string | null;
1286
2304
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
2305
+ codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2306
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1287
2307
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1288
2308
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1289
2309
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1290
2310
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1291
2311
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1292
2312
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
2313
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1293
2314
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2315
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1294
2316
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1295
2317
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1296
2318
  };
1297
- export type RunUncheckedCreateWithoutCodingRunInput = {
2319
+ export type RunUncheckedCreateWithoutNativeGatewaySessionInput = {
1298
2320
  id?: string;
1299
2321
  agentId: string;
1300
2322
  status?: $Enums.RunStatus;
@@ -1312,33 +2334,43 @@ export type RunUncheckedCreateWithoutCodingRunInput = {
1312
2334
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1313
2335
  executionManaged?: boolean;
1314
2336
  executionBackend?: string | null;
2337
+ executionWorkflowId?: string | null;
2338
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2339
+ startDeferredAt?: Date | string | null;
2340
+ stopRequestedAt?: Date | string | null;
2341
+ stopRequestReason?: string | null;
1315
2342
  parentRunId?: string | null;
2343
+ parentCallId?: string | null;
1316
2344
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1317
2345
  taskOverride?: string | null;
1318
2346
  triggeredById?: string | null;
2347
+ codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2348
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1319
2349
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1320
2350
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1321
2351
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1322
2352
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1323
2353
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1324
2354
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2355
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1325
2356
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2357
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1326
2358
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1327
2359
  };
1328
- export type RunCreateOrConnectWithoutCodingRunInput = {
2360
+ export type RunCreateOrConnectWithoutNativeGatewaySessionInput = {
1329
2361
  where: Prisma.RunWhereUniqueInput;
1330
- create: Prisma.XOR<Prisma.RunCreateWithoutCodingRunInput, Prisma.RunUncheckedCreateWithoutCodingRunInput>;
2362
+ create: Prisma.XOR<Prisma.RunCreateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedCreateWithoutNativeGatewaySessionInput>;
1331
2363
  };
1332
- export type RunUpsertWithoutCodingRunInput = {
1333
- update: Prisma.XOR<Prisma.RunUpdateWithoutCodingRunInput, Prisma.RunUncheckedUpdateWithoutCodingRunInput>;
1334
- create: Prisma.XOR<Prisma.RunCreateWithoutCodingRunInput, Prisma.RunUncheckedCreateWithoutCodingRunInput>;
2364
+ export type RunUpsertWithoutNativeGatewaySessionInput = {
2365
+ update: Prisma.XOR<Prisma.RunUpdateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedUpdateWithoutNativeGatewaySessionInput>;
2366
+ create: Prisma.XOR<Prisma.RunCreateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedCreateWithoutNativeGatewaySessionInput>;
1335
2367
  where?: Prisma.RunWhereInput;
1336
2368
  };
1337
- export type RunUpdateToOneWithWhereWithoutCodingRunInput = {
2369
+ export type RunUpdateToOneWithWhereWithoutNativeGatewaySessionInput = {
1338
2370
  where?: Prisma.RunWhereInput;
1339
- data: Prisma.XOR<Prisma.RunUpdateWithoutCodingRunInput, Prisma.RunUncheckedUpdateWithoutCodingRunInput>;
2371
+ data: Prisma.XOR<Prisma.RunUpdateWithoutNativeGatewaySessionInput, Prisma.RunUncheckedUpdateWithoutNativeGatewaySessionInput>;
1340
2372
  };
1341
- export type RunUpdateWithoutCodingRunInput = {
2373
+ export type RunUpdateWithoutNativeGatewaySessionInput = {
1342
2374
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1343
2375
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1344
2376
  trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
@@ -1355,21 +2387,31 @@ export type RunUpdateWithoutCodingRunInput = {
1355
2387
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1356
2388
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1357
2389
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2390
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2391
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2392
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2393
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2394
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2395
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1358
2396
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1359
2397
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1360
2398
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1361
2399
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2400
+ codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2401
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1362
2402
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1363
2403
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1364
2404
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1365
2405
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1366
2406
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1367
2407
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
2408
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1368
2409
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2410
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1369
2411
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1370
2412
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1371
2413
  };
1372
- export type RunUncheckedUpdateWithoutCodingRunInput = {
2414
+ export type RunUncheckedUpdateWithoutNativeGatewaySessionInput = {
1373
2415
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1374
2416
  agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1375
2417
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
@@ -1387,20 +2429,30 @@ export type RunUncheckedUpdateWithoutCodingRunInput = {
1387
2429
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1388
2430
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1389
2431
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2432
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2433
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2434
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2435
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2436
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1390
2437
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2438
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1391
2439
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1392
2440
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1393
2441
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2442
+ codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2443
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1394
2444
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1395
2445
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1396
2446
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1397
2447
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1398
2448
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1399
2449
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
2450
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1400
2451
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2452
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1401
2453
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1402
2454
  };
1403
- export type RunCreateWithoutServiceStatusesInput = {
2455
+ export type RunCreateWithoutNativeWarmWorkerInput = {
1404
2456
  id?: string;
1405
2457
  status?: $Enums.RunStatus;
1406
2458
  trigger?: $Enums.RunTrigger;
@@ -1417,21 +2469,31 @@ export type RunCreateWithoutServiceStatusesInput = {
1417
2469
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1418
2470
  executionManaged?: boolean;
1419
2471
  executionBackend?: string | null;
2472
+ executionWorkflowId?: string | null;
2473
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2474
+ startDeferredAt?: Date | string | null;
2475
+ stopRequestedAt?: Date | string | null;
2476
+ stopRequestReason?: string | null;
2477
+ parentCallId?: string | null;
1420
2478
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1421
2479
  taskOverride?: string | null;
1422
2480
  triggeredById?: string | null;
1423
2481
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1424
2482
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2483
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1425
2484
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1426
2485
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1427
2486
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1428
2487
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1429
2488
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
2489
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
2490
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1430
2491
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2492
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1431
2493
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1432
2494
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1433
2495
  };
1434
- export type RunUncheckedCreateWithoutServiceStatusesInput = {
2496
+ export type RunUncheckedCreateWithoutNativeWarmWorkerInput = {
1435
2497
  id?: string;
1436
2498
  agentId: string;
1437
2499
  status?: $Enums.RunStatus;
@@ -1449,33 +2511,43 @@ export type RunUncheckedCreateWithoutServiceStatusesInput = {
1449
2511
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1450
2512
  executionManaged?: boolean;
1451
2513
  executionBackend?: string | null;
2514
+ executionWorkflowId?: string | null;
2515
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2516
+ startDeferredAt?: Date | string | null;
2517
+ stopRequestedAt?: Date | string | null;
2518
+ stopRequestReason?: string | null;
1452
2519
  parentRunId?: string | null;
2520
+ parentCallId?: string | null;
1453
2521
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1454
2522
  taskOverride?: string | null;
1455
2523
  triggeredById?: string | null;
1456
2524
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2525
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1457
2526
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1458
2527
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1459
2528
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1460
2529
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1461
2530
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
2531
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2532
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1462
2533
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2534
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1463
2535
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1464
2536
  };
1465
- export type RunCreateOrConnectWithoutServiceStatusesInput = {
2537
+ export type RunCreateOrConnectWithoutNativeWarmWorkerInput = {
1466
2538
  where: Prisma.RunWhereUniqueInput;
1467
- create: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
2539
+ create: Prisma.XOR<Prisma.RunCreateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedCreateWithoutNativeWarmWorkerInput>;
1468
2540
  };
1469
- export type RunUpsertWithoutServiceStatusesInput = {
1470
- update: Prisma.XOR<Prisma.RunUpdateWithoutServiceStatusesInput, Prisma.RunUncheckedUpdateWithoutServiceStatusesInput>;
1471
- create: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
2541
+ export type RunUpsertWithoutNativeWarmWorkerInput = {
2542
+ update: Prisma.XOR<Prisma.RunUpdateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedUpdateWithoutNativeWarmWorkerInput>;
2543
+ create: Prisma.XOR<Prisma.RunCreateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedCreateWithoutNativeWarmWorkerInput>;
1472
2544
  where?: Prisma.RunWhereInput;
1473
2545
  };
1474
- export type RunUpdateToOneWithWhereWithoutServiceStatusesInput = {
2546
+ export type RunUpdateToOneWithWhereWithoutNativeWarmWorkerInput = {
1475
2547
  where?: Prisma.RunWhereInput;
1476
- data: Prisma.XOR<Prisma.RunUpdateWithoutServiceStatusesInput, Prisma.RunUncheckedUpdateWithoutServiceStatusesInput>;
2548
+ data: Prisma.XOR<Prisma.RunUpdateWithoutNativeWarmWorkerInput, Prisma.RunUncheckedUpdateWithoutNativeWarmWorkerInput>;
1477
2549
  };
1478
- export type RunUpdateWithoutServiceStatusesInput = {
2550
+ export type RunUpdateWithoutNativeWarmWorkerInput = {
1479
2551
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1480
2552
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
1481
2553
  trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
@@ -1492,21 +2564,31 @@ export type RunUpdateWithoutServiceStatusesInput = {
1492
2564
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1493
2565
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1494
2566
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2567
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2568
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2569
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2570
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2571
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2572
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1495
2573
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1496
2574
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1497
2575
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1498
2576
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1499
2577
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2578
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1500
2579
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1501
2580
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1502
2581
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1503
2582
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1504
2583
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2584
+ serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
2585
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1505
2586
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2587
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1506
2588
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1507
2589
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1508
2590
  };
1509
- export type RunUncheckedUpdateWithoutServiceStatusesInput = {
2591
+ export type RunUncheckedUpdateWithoutNativeWarmWorkerInput = {
1510
2592
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1511
2593
  agentId?: Prisma.StringFieldUpdateOperationsInput | string;
1512
2594
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
@@ -1524,17 +2606,27 @@ export type RunUncheckedUpdateWithoutServiceStatusesInput = {
1524
2606
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1525
2607
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1526
2608
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2609
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2610
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2611
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2612
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2613
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1527
2614
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2615
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1528
2616
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1529
2617
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1530
2618
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1531
2619
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2620
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1532
2621
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1533
2622
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1534
2623
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1535
2624
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1536
2625
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2626
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
2627
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1537
2628
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2629
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1538
2630
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1539
2631
  };
1540
2632
  export type RunCreateWithoutHostCheckInput = {
@@ -1554,17 +2646,27 @@ export type RunCreateWithoutHostCheckInput = {
1554
2646
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1555
2647
  executionManaged?: boolean;
1556
2648
  executionBackend?: string | null;
2649
+ executionWorkflowId?: string | null;
2650
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2651
+ startDeferredAt?: Date | string | null;
2652
+ stopRequestedAt?: Date | string | null;
2653
+ stopRequestReason?: string | null;
2654
+ parentCallId?: string | null;
1557
2655
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1558
2656
  taskOverride?: string | null;
1559
2657
  triggeredById?: string | null;
1560
2658
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1561
2659
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2660
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1562
2661
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1563
2662
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1564
2663
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1565
2664
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1566
2665
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
2666
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1567
2667
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2668
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2669
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1568
2670
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1569
2671
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1570
2672
  };
@@ -1586,17 +2688,27 @@ export type RunUncheckedCreateWithoutHostCheckInput = {
1586
2688
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1587
2689
  executionManaged?: boolean;
1588
2690
  executionBackend?: string | null;
2691
+ executionWorkflowId?: string | null;
2692
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2693
+ startDeferredAt?: Date | string | null;
2694
+ stopRequestedAt?: Date | string | null;
2695
+ stopRequestReason?: string | null;
1589
2696
  parentRunId?: string | null;
2697
+ parentCallId?: string | null;
1590
2698
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1591
2699
  taskOverride?: string | null;
1592
2700
  triggeredById?: string | null;
1593
2701
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2702
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1594
2703
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1595
2704
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1596
2705
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1597
2706
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1598
2707
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2708
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1599
2709
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2710
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2711
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1600
2712
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1601
2713
  };
1602
2714
  export type RunCreateOrConnectWithoutHostCheckInput = {
@@ -1629,17 +2741,27 @@ export type RunUpdateWithoutHostCheckInput = {
1629
2741
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1630
2742
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1631
2743
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2744
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2745
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2746
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2747
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2748
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2749
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1632
2750
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1633
2751
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1634
2752
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1635
2753
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1636
2754
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2755
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1637
2756
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1638
2757
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1639
2758
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1640
2759
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1641
2760
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
2761
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1642
2762
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2763
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2764
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1643
2765
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1644
2766
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1645
2767
  };
@@ -1661,17 +2783,27 @@ export type RunUncheckedUpdateWithoutHostCheckInput = {
1661
2783
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1662
2784
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1663
2785
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2786
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2787
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2788
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2789
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2790
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1664
2791
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2792
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1665
2793
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1666
2794
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1667
2795
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1668
2796
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2797
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1669
2798
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1670
2799
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1671
2800
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1672
2801
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1673
2802
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
2803
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1674
2804
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2805
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2806
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1675
2807
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1676
2808
  };
1677
2809
  export type RunCreateWithoutHostStatusInput = {
@@ -1691,17 +2823,27 @@ export type RunCreateWithoutHostStatusInput = {
1691
2823
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1692
2824
  executionManaged?: boolean;
1693
2825
  executionBackend?: string | null;
2826
+ executionWorkflowId?: string | null;
2827
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2828
+ startDeferredAt?: Date | string | null;
2829
+ stopRequestedAt?: Date | string | null;
2830
+ stopRequestReason?: string | null;
2831
+ parentCallId?: string | null;
1694
2832
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1695
2833
  taskOverride?: string | null;
1696
2834
  triggeredById?: string | null;
1697
2835
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1698
2836
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2837
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1699
2838
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1700
2839
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1701
2840
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1702
2841
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1703
2842
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
2843
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1704
2844
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2845
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2846
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1705
2847
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1706
2848
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1707
2849
  };
@@ -1723,17 +2865,27 @@ export type RunUncheckedCreateWithoutHostStatusInput = {
1723
2865
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1724
2866
  executionManaged?: boolean;
1725
2867
  executionBackend?: string | null;
2868
+ executionWorkflowId?: string | null;
2869
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2870
+ startDeferredAt?: Date | string | null;
2871
+ stopRequestedAt?: Date | string | null;
2872
+ stopRequestReason?: string | null;
1726
2873
  parentRunId?: string | null;
2874
+ parentCallId?: string | null;
1727
2875
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1728
2876
  taskOverride?: string | null;
1729
2877
  triggeredById?: string | null;
1730
2878
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2879
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1731
2880
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1732
2881
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
1733
2882
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1734
2883
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1735
2884
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2885
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1736
2886
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2887
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2888
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1737
2889
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1738
2890
  };
1739
2891
  export type RunCreateOrConnectWithoutHostStatusInput = {
@@ -1766,17 +2918,27 @@ export type RunUpdateWithoutHostStatusInput = {
1766
2918
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1767
2919
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1768
2920
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2921
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2922
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2923
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2924
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2925
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2926
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1769
2927
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1770
2928
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1771
2929
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1772
2930
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1773
2931
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2932
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1774
2933
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1775
2934
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
1776
2935
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1777
2936
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1778
2937
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
2938
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1779
2939
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2940
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2941
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1780
2942
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1781
2943
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1782
2944
  };
@@ -1798,17 +2960,27 @@ export type RunUncheckedUpdateWithoutHostStatusInput = {
1798
2960
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1799
2961
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1800
2962
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2963
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2964
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2965
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2966
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2967
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1801
2968
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2969
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1802
2970
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1803
2971
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1804
2972
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1805
2973
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2974
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1806
2975
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1807
2976
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
1808
2977
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1809
2978
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1810
2979
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
2980
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1811
2981
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2982
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2983
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1812
2984
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1813
2985
  };
1814
2986
  export type RunCreateWithoutIssueStatusInput = {
@@ -1828,17 +3000,27 @@ export type RunCreateWithoutIssueStatusInput = {
1828
3000
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1829
3001
  executionManaged?: boolean;
1830
3002
  executionBackend?: string | null;
3003
+ executionWorkflowId?: string | null;
3004
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3005
+ startDeferredAt?: Date | string | null;
3006
+ stopRequestedAt?: Date | string | null;
3007
+ stopRequestReason?: string | null;
3008
+ parentCallId?: string | null;
1831
3009
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1832
3010
  taskOverride?: string | null;
1833
3011
  triggeredById?: string | null;
1834
3012
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1835
3013
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
3014
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1836
3015
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1837
3016
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1838
3017
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
1839
3018
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1840
3019
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
3020
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1841
3021
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3022
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3023
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1842
3024
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1843
3025
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1844
3026
  };
@@ -1860,17 +3042,27 @@ export type RunUncheckedCreateWithoutIssueStatusInput = {
1860
3042
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1861
3043
  executionManaged?: boolean;
1862
3044
  executionBackend?: string | null;
3045
+ executionWorkflowId?: string | null;
3046
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3047
+ startDeferredAt?: Date | string | null;
3048
+ stopRequestedAt?: Date | string | null;
3049
+ stopRequestReason?: string | null;
1863
3050
  parentRunId?: string | null;
3051
+ parentCallId?: string | null;
1864
3052
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1865
3053
  taskOverride?: string | null;
1866
3054
  triggeredById?: string | null;
1867
3055
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
3056
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
1868
3057
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
1869
3058
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
1870
3059
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
1871
3060
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
1872
3061
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
3062
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
1873
3063
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3064
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3065
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1874
3066
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1875
3067
  };
1876
3068
  export type RunCreateOrConnectWithoutIssueStatusInput = {
@@ -1903,17 +3095,27 @@ export type RunUpdateWithoutIssueStatusInput = {
1903
3095
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1904
3096
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1905
3097
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3098
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3099
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3100
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3101
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3102
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3103
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1906
3104
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1907
3105
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1908
3106
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1909
3107
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
1910
3108
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3109
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
1911
3110
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
1912
3111
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
1913
3112
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
1914
3113
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
1915
3114
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3115
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
1916
3116
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3117
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3118
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1917
3119
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1918
3120
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1919
3121
  };
@@ -1935,17 +3137,27 @@ export type RunUncheckedUpdateWithoutIssueStatusInput = {
1935
3137
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1936
3138
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1937
3139
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3140
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3141
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3142
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3143
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3144
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1938
3145
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3146
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1939
3147
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1940
3148
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1941
3149
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1942
3150
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3151
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1943
3152
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1944
3153
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1945
3154
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
1946
3155
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
1947
3156
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3157
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
1948
3158
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3159
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3160
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1949
3161
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1950
3162
  };
1951
3163
  export type RunCreateWithoutAttributionInput = {
@@ -1965,17 +3177,27 @@ export type RunCreateWithoutAttributionInput = {
1965
3177
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1966
3178
  executionManaged?: boolean;
1967
3179
  executionBackend?: string | null;
3180
+ executionWorkflowId?: string | null;
3181
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3182
+ startDeferredAt?: Date | string | null;
3183
+ stopRequestedAt?: Date | string | null;
3184
+ stopRequestReason?: string | null;
3185
+ parentCallId?: string | null;
1968
3186
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1969
3187
  taskOverride?: string | null;
1970
3188
  triggeredById?: string | null;
1971
3189
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
1972
3190
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
3191
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
1973
3192
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
1974
3193
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
1975
3194
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
1976
3195
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
1977
3196
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
3197
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
1978
3198
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3199
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3200
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1979
3201
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1980
3202
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1981
3203
  };
@@ -1997,17 +3219,27 @@ export type RunUncheckedCreateWithoutAttributionInput = {
1997
3219
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1998
3220
  executionManaged?: boolean;
1999
3221
  executionBackend?: string | null;
3222
+ executionWorkflowId?: string | null;
3223
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3224
+ startDeferredAt?: Date | string | null;
3225
+ stopRequestedAt?: Date | string | null;
3226
+ stopRequestReason?: string | null;
2000
3227
  parentRunId?: string | null;
3228
+ parentCallId?: string | null;
2001
3229
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2002
3230
  taskOverride?: string | null;
2003
3231
  triggeredById?: string | null;
2004
3232
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
3233
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
2005
3234
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
2006
3235
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
2007
3236
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
2008
3237
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
2009
3238
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
3239
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
2010
3240
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3241
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3242
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2011
3243
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2012
3244
  };
2013
3245
  export type RunCreateOrConnectWithoutAttributionInput = {
@@ -2040,17 +3272,27 @@ export type RunUpdateWithoutAttributionInput = {
2040
3272
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2041
3273
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2042
3274
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3275
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3276
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3277
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3278
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3279
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3280
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2043
3281
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2044
3282
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2045
3283
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2046
3284
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2047
3285
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3286
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2048
3287
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2049
3288
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2050
3289
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2051
3290
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2052
3291
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3292
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2053
3293
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3294
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3295
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2054
3296
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2055
3297
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2056
3298
  };
@@ -2072,17 +3314,27 @@ export type RunUncheckedUpdateWithoutAttributionInput = {
2072
3314
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2073
3315
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2074
3316
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3317
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3318
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3319
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3320
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3321
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2075
3322
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3323
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2076
3324
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2077
3325
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
3326
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2079
3327
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3328
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2080
3329
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2081
3330
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2082
3331
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2083
3332
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2084
3333
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3334
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2085
3335
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3336
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3337
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2086
3338
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2087
3339
  };
2088
3340
  export type RunCreateWithoutModelUsageInput = {
@@ -2102,17 +3354,27 @@ export type RunCreateWithoutModelUsageInput = {
2102
3354
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2103
3355
  executionManaged?: boolean;
2104
3356
  executionBackend?: string | null;
3357
+ executionWorkflowId?: string | null;
3358
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3359
+ startDeferredAt?: Date | string | null;
3360
+ stopRequestedAt?: Date | string | null;
3361
+ stopRequestReason?: string | null;
3362
+ parentCallId?: string | null;
2105
3363
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2106
3364
  taskOverride?: string | null;
2107
3365
  triggeredById?: string | null;
2108
3366
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
2109
3367
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
3368
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
2110
3369
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
2111
3370
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
2112
3371
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
2113
3372
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
2114
3373
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
3374
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
2115
3375
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3376
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3377
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2116
3378
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2117
3379
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2118
3380
  };
@@ -2134,17 +3396,27 @@ export type RunUncheckedCreateWithoutModelUsageInput = {
2134
3396
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2135
3397
  executionManaged?: boolean;
2136
3398
  executionBackend?: string | null;
3399
+ executionWorkflowId?: string | null;
3400
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3401
+ startDeferredAt?: Date | string | null;
3402
+ stopRequestedAt?: Date | string | null;
3403
+ stopRequestReason?: string | null;
2137
3404
  parentRunId?: string | null;
3405
+ parentCallId?: string | null;
2138
3406
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2139
3407
  taskOverride?: string | null;
2140
3408
  triggeredById?: string | null;
2141
3409
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
3410
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
2142
3411
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
2143
3412
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
2144
3413
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
2145
3414
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
2146
3415
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
3416
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
2147
3417
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3418
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3419
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2148
3420
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2149
3421
  };
2150
3422
  export type RunCreateOrConnectWithoutModelUsageInput = {
@@ -2177,17 +3449,27 @@ export type RunUpdateWithoutModelUsageInput = {
2177
3449
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2178
3450
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2179
3451
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3452
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3453
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3454
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3455
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3456
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3457
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2180
3458
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2181
3459
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2182
3460
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2183
3461
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2184
3462
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3463
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2185
3464
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2186
3465
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2187
3466
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2188
3467
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2189
3468
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3469
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2190
3470
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3471
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3472
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2191
3473
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2192
3474
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2193
3475
  };
@@ -2209,17 +3491,27 @@ export type RunUncheckedUpdateWithoutModelUsageInput = {
2209
3491
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2210
3492
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2211
3493
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3494
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3495
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3496
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3497
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3498
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2212
3499
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3500
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2213
3501
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2214
3502
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2215
3503
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2216
3504
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3505
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2217
3506
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2218
3507
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2219
3508
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2220
3509
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2221
3510
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3511
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2222
3512
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3513
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3514
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2223
3515
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2224
3516
  };
2225
3517
  export type RunCreateWithoutLocalPullRequestInput = {
@@ -2239,17 +3531,27 @@ export type RunCreateWithoutLocalPullRequestInput = {
2239
3531
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2240
3532
  executionManaged?: boolean;
2241
3533
  executionBackend?: string | null;
3534
+ executionWorkflowId?: string | null;
3535
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3536
+ startDeferredAt?: Date | string | null;
3537
+ stopRequestedAt?: Date | string | null;
3538
+ stopRequestReason?: string | null;
3539
+ parentCallId?: string | null;
2242
3540
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2243
3541
  taskOverride?: string | null;
2244
3542
  triggeredById?: string | null;
2245
3543
  agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
2246
3544
  codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
3545
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
2247
3546
  hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
2248
3547
  hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
2249
3548
  issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
2250
3549
  attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
2251
3550
  modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
2252
3551
  serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
3552
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
3553
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3554
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2253
3555
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2254
3556
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2255
3557
  };
@@ -2271,17 +3573,27 @@ export type RunUncheckedCreateWithoutLocalPullRequestInput = {
2271
3573
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2272
3574
  executionManaged?: boolean;
2273
3575
  executionBackend?: string | null;
3576
+ executionWorkflowId?: string | null;
3577
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3578
+ startDeferredAt?: Date | string | null;
3579
+ stopRequestedAt?: Date | string | null;
3580
+ stopRequestReason?: string | null;
2274
3581
  parentRunId?: string | null;
3582
+ parentCallId?: string | null;
2275
3583
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2276
3584
  taskOverride?: string | null;
2277
3585
  triggeredById?: string | null;
2278
3586
  codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
3587
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
2279
3588
  hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
2280
3589
  hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
2281
3590
  issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
2282
3591
  attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
2283
3592
  modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
2284
3593
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
3594
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
3595
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3596
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2285
3597
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2286
3598
  };
2287
3599
  export type RunCreateOrConnectWithoutLocalPullRequestInput = {
@@ -2314,17 +3626,27 @@ export type RunUpdateWithoutLocalPullRequestInput = {
2314
3626
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2315
3627
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2316
3628
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3629
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3630
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3631
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3632
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3633
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3634
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2317
3635
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2318
3636
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2319
3637
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2320
3638
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2321
3639
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3640
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2322
3641
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2323
3642
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2324
3643
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2325
3644
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2326
3645
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2327
3646
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3647
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
3648
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3649
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2328
3650
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2329
3651
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2330
3652
  };
@@ -2346,17 +3668,27 @@ export type RunUncheckedUpdateWithoutLocalPullRequestInput = {
2346
3668
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2347
3669
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2348
3670
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3671
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3672
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3673
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3674
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3675
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2349
3676
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3677
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2350
3678
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2351
3679
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2352
3680
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2353
3681
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3682
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2354
3683
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2355
3684
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2356
3685
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2357
3686
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2358
3687
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2359
3688
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3689
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
3690
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3691
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2360
3692
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2361
3693
  };
2362
3694
  export type RunCreateManyAgentInput = {
@@ -2376,7 +3708,13 @@ export type RunCreateManyAgentInput = {
2376
3708
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2377
3709
  executionManaged?: boolean;
2378
3710
  executionBackend?: string | null;
3711
+ executionWorkflowId?: string | null;
3712
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3713
+ startDeferredAt?: Date | string | null;
3714
+ stopRequestedAt?: Date | string | null;
3715
+ stopRequestReason?: string | null;
2379
3716
  parentRunId?: string | null;
3717
+ parentCallId?: string | null;
2380
3718
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2381
3719
  taskOverride?: string | null;
2382
3720
  triggeredById?: string | null;
@@ -2398,17 +3736,27 @@ export type RunUpdateWithoutAgentInput = {
2398
3736
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2399
3737
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2400
3738
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3739
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3740
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3741
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3742
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3743
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3744
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2401
3745
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2402
3746
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2403
3747
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2404
3748
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3749
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2405
3750
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2406
3751
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2407
3752
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2408
3753
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2409
3754
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2410
3755
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3756
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2411
3757
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3758
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3759
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2412
3760
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2413
3761
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2414
3762
  };
@@ -2429,18 +3777,28 @@ export type RunUncheckedUpdateWithoutAgentInput = {
2429
3777
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2430
3778
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2431
3779
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3780
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3781
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3782
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3783
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3784
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2432
3785
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3786
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2433
3787
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2434
3788
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2435
3789
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2436
3790
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3791
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2437
3792
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2438
3793
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2439
3794
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2440
3795
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2441
3796
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2442
3797
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3798
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2443
3799
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3800
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3801
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2444
3802
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2445
3803
  };
2446
3804
  export type RunUncheckedUpdateManyWithoutAgentInput = {
@@ -2460,7 +3818,13 @@ export type RunUncheckedUpdateManyWithoutAgentInput = {
2460
3818
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2461
3819
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2462
3820
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3821
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3822
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3823
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3824
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3825
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2463
3826
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3827
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2464
3828
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2465
3829
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2466
3830
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2483,6 +3847,12 @@ export type RunCreateManyParentRunInput = {
2483
3847
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2484
3848
  executionManaged?: boolean;
2485
3849
  executionBackend?: string | null;
3850
+ executionWorkflowId?: string | null;
3851
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
3852
+ startDeferredAt?: Date | string | null;
3853
+ stopRequestedAt?: Date | string | null;
3854
+ stopRequestReason?: string | null;
3855
+ parentCallId?: string | null;
2486
3856
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2487
3857
  taskOverride?: string | null;
2488
3858
  triggeredById?: string | null;
@@ -2504,18 +3874,28 @@ export type RunUpdateWithoutParentRunInput = {
2504
3874
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2505
3875
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2506
3876
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3877
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3878
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3879
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3880
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3881
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3882
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2507
3883
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2508
3884
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2509
3885
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2510
3886
  agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2511
3887
  codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
3888
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2512
3889
  hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2513
3890
  hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2514
3891
  issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2515
3892
  attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2516
3893
  modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2517
3894
  serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
3895
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2518
3896
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3897
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3898
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2519
3899
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2520
3900
  };
2521
3901
  export type RunUncheckedUpdateWithoutParentRunInput = {
@@ -2536,17 +3916,27 @@ export type RunUncheckedUpdateWithoutParentRunInput = {
2536
3916
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2537
3917
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2538
3918
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3919
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3920
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3921
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3922
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3923
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3924
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2539
3925
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2540
3926
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2541
3927
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2542
3928
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
3929
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
2543
3930
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2544
3931
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2545
3932
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2546
3933
  attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2547
3934
  modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2548
3935
  serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
3936
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2549
3937
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3938
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3939
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2550
3940
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2551
3941
  };
2552
3942
  export type RunUncheckedUpdateManyWithoutParentRunInput = {
@@ -2567,6 +3957,12 @@ export type RunUncheckedUpdateManyWithoutParentRunInput = {
2567
3957
  pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2568
3958
  executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2569
3959
  executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3960
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3961
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
3962
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3963
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3964
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3965
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2570
3966
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2571
3967
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2572
3968
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2577,11 +3973,13 @@ export type RunUncheckedUpdateManyWithoutParentRunInput = {
2577
3973
  export type RunCountOutputType = {
2578
3974
  modelUsage: number;
2579
3975
  serviceStatuses: number;
3976
+ budgetEvents: number;
2580
3977
  childRuns: number;
2581
3978
  };
2582
3979
  export type RunCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2583
3980
  modelUsage?: boolean | RunCountOutputTypeCountModelUsageArgs;
2584
3981
  serviceStatuses?: boolean | RunCountOutputTypeCountServiceStatusesArgs;
3982
+ budgetEvents?: boolean | RunCountOutputTypeCountBudgetEventsArgs;
2585
3983
  childRuns?: boolean | RunCountOutputTypeCountChildRunsArgs;
2586
3984
  };
2587
3985
  /**
@@ -2605,6 +4003,12 @@ export type RunCountOutputTypeCountModelUsageArgs<ExtArgs extends runtime.Types.
2605
4003
  export type RunCountOutputTypeCountServiceStatusesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2606
4004
  where?: Prisma.CodingRunServiceStatusWhereInput;
2607
4005
  };
4006
+ /**
4007
+ * RunCountOutputType without action
4008
+ */
4009
+ export type RunCountOutputTypeCountBudgetEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4010
+ where?: Prisma.RunBudgetEventWhereInput;
4011
+ };
2608
4012
  /**
2609
4013
  * RunCountOutputType without action
2610
4014
  */
@@ -2629,19 +4033,29 @@ export type RunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
2629
4033
  pricingSnapshot?: boolean;
2630
4034
  executionManaged?: boolean;
2631
4035
  executionBackend?: boolean;
4036
+ executionWorkflowId?: boolean;
4037
+ nativeExecutionMode?: boolean;
4038
+ startDeferredAt?: boolean;
4039
+ stopRequestedAt?: boolean;
4040
+ stopRequestReason?: boolean;
2632
4041
  parentRunId?: boolean;
4042
+ parentCallId?: boolean;
2633
4043
  grantedParentMemoryKeys?: boolean;
2634
4044
  taskOverride?: boolean;
2635
4045
  triggeredById?: boolean;
2636
4046
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
2637
4047
  codingRun?: boolean | Prisma.Run$codingRunArgs<ExtArgs>;
4048
+ transcript?: boolean | Prisma.Run$transcriptArgs<ExtArgs>;
2638
4049
  hostCheck?: boolean | Prisma.Run$hostCheckArgs<ExtArgs>;
2639
4050
  hostStatus?: boolean | Prisma.Run$hostStatusArgs<ExtArgs>;
2640
4051
  issueStatus?: boolean | Prisma.Run$issueStatusArgs<ExtArgs>;
2641
4052
  attribution?: boolean | Prisma.Run$attributionArgs<ExtArgs>;
2642
4053
  modelUsage?: boolean | Prisma.Run$modelUsageArgs<ExtArgs>;
2643
4054
  serviceStatuses?: boolean | Prisma.Run$serviceStatusesArgs<ExtArgs>;
4055
+ budgetEvents?: boolean | Prisma.Run$budgetEventsArgs<ExtArgs>;
2644
4056
  localPullRequest?: boolean | Prisma.Run$localPullRequestArgs<ExtArgs>;
4057
+ nativeGatewaySession?: boolean | Prisma.Run$nativeGatewaySessionArgs<ExtArgs>;
4058
+ nativeWarmWorker?: boolean | Prisma.Run$nativeWarmWorkerArgs<ExtArgs>;
2645
4059
  parentRun?: boolean | Prisma.Run$parentRunArgs<ExtArgs>;
2646
4060
  childRuns?: boolean | Prisma.Run$childRunsArgs<ExtArgs>;
2647
4061
  _count?: boolean | Prisma.RunCountOutputTypeDefaultArgs<ExtArgs>;
@@ -2664,7 +4078,13 @@ export type RunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
2664
4078
  pricingSnapshot?: boolean;
2665
4079
  executionManaged?: boolean;
2666
4080
  executionBackend?: boolean;
4081
+ executionWorkflowId?: boolean;
4082
+ nativeExecutionMode?: boolean;
4083
+ startDeferredAt?: boolean;
4084
+ stopRequestedAt?: boolean;
4085
+ stopRequestReason?: boolean;
2667
4086
  parentRunId?: boolean;
4087
+ parentCallId?: boolean;
2668
4088
  grantedParentMemoryKeys?: boolean;
2669
4089
  taskOverride?: boolean;
2670
4090
  triggeredById?: boolean;
@@ -2689,7 +4109,13 @@ export type RunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
2689
4109
  pricingSnapshot?: boolean;
2690
4110
  executionManaged?: boolean;
2691
4111
  executionBackend?: boolean;
4112
+ executionWorkflowId?: boolean;
4113
+ nativeExecutionMode?: boolean;
4114
+ startDeferredAt?: boolean;
4115
+ stopRequestedAt?: boolean;
4116
+ stopRequestReason?: boolean;
2692
4117
  parentRunId?: boolean;
4118
+ parentCallId?: boolean;
2693
4119
  grantedParentMemoryKeys?: boolean;
2694
4120
  taskOverride?: boolean;
2695
4121
  triggeredById?: boolean;
@@ -2714,22 +4140,32 @@ export type RunSelectScalar = {
2714
4140
  pricingSnapshot?: boolean;
2715
4141
  executionManaged?: boolean;
2716
4142
  executionBackend?: boolean;
4143
+ executionWorkflowId?: boolean;
4144
+ nativeExecutionMode?: boolean;
4145
+ startDeferredAt?: boolean;
4146
+ stopRequestedAt?: boolean;
4147
+ stopRequestReason?: boolean;
2717
4148
  parentRunId?: boolean;
4149
+ parentCallId?: boolean;
2718
4150
  grantedParentMemoryKeys?: boolean;
2719
4151
  taskOverride?: boolean;
2720
4152
  triggeredById?: boolean;
2721
4153
  };
2722
- export type RunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "status" | "trigger" | "tokensIn" | "tokensOut" | "costUsd" | "error" | "startedAt" | "finishedAt" | "heartbeatAt" | "finalText" | "turns" | "pricingVersion" | "pricingSnapshot" | "executionManaged" | "executionBackend" | "parentRunId" | "grantedParentMemoryKeys" | "taskOverride" | "triggeredById", ExtArgs["result"]["run"]>;
4154
+ export type RunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "status" | "trigger" | "tokensIn" | "tokensOut" | "costUsd" | "error" | "startedAt" | "finishedAt" | "heartbeatAt" | "finalText" | "turns" | "pricingVersion" | "pricingSnapshot" | "executionManaged" | "executionBackend" | "executionWorkflowId" | "nativeExecutionMode" | "startDeferredAt" | "stopRequestedAt" | "stopRequestReason" | "parentRunId" | "parentCallId" | "grantedParentMemoryKeys" | "taskOverride" | "triggeredById", ExtArgs["result"]["run"]>;
2723
4155
  export type RunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2724
4156
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
2725
4157
  codingRun?: boolean | Prisma.Run$codingRunArgs<ExtArgs>;
4158
+ transcript?: boolean | Prisma.Run$transcriptArgs<ExtArgs>;
2726
4159
  hostCheck?: boolean | Prisma.Run$hostCheckArgs<ExtArgs>;
2727
4160
  hostStatus?: boolean | Prisma.Run$hostStatusArgs<ExtArgs>;
2728
4161
  issueStatus?: boolean | Prisma.Run$issueStatusArgs<ExtArgs>;
2729
4162
  attribution?: boolean | Prisma.Run$attributionArgs<ExtArgs>;
2730
4163
  modelUsage?: boolean | Prisma.Run$modelUsageArgs<ExtArgs>;
2731
4164
  serviceStatuses?: boolean | Prisma.Run$serviceStatusesArgs<ExtArgs>;
4165
+ budgetEvents?: boolean | Prisma.Run$budgetEventsArgs<ExtArgs>;
2732
4166
  localPullRequest?: boolean | Prisma.Run$localPullRequestArgs<ExtArgs>;
4167
+ nativeGatewaySession?: boolean | Prisma.Run$nativeGatewaySessionArgs<ExtArgs>;
4168
+ nativeWarmWorker?: boolean | Prisma.Run$nativeWarmWorkerArgs<ExtArgs>;
2733
4169
  parentRun?: boolean | Prisma.Run$parentRunArgs<ExtArgs>;
2734
4170
  childRuns?: boolean | Prisma.Run$childRunsArgs<ExtArgs>;
2735
4171
  _count?: boolean | Prisma.RunCountOutputTypeDefaultArgs<ExtArgs>;
@@ -2747,16 +4183,26 @@ export type $RunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
2747
4183
  objects: {
2748
4184
  agent: Prisma.$AgentPayload<ExtArgs>;
2749
4185
  codingRun: Prisma.$CodingRunPayload<ExtArgs> | null;
4186
+ transcript: Prisma.$RunTranscriptPayload<ExtArgs> | null;
2750
4187
  hostCheck: Prisma.$RunHostCheckPayload<ExtArgs> | null;
2751
4188
  hostStatus: Prisma.$RunHostStatusPayload<ExtArgs> | null;
2752
4189
  issueStatus: Prisma.$RunIssueStatusPayload<ExtArgs> | null;
2753
4190
  attribution: Prisma.$RunAttributionPayload<ExtArgs> | null;
2754
4191
  modelUsage: Prisma.$RunModelUsagePayload<ExtArgs>[];
2755
4192
  serviceStatuses: Prisma.$CodingRunServiceStatusPayload<ExtArgs>[];
4193
+ budgetEvents: Prisma.$RunBudgetEventPayload<ExtArgs>[];
2756
4194
  /**
2757
4195
  * A manual review of a local branch: this run is the review run dispatched for it.
2758
4196
  */
2759
4197
  localPullRequest: Prisma.$LocalPullRequestPayload<ExtArgs> | null;
4198
+ /**
4199
+ * A sandbox-mode native run's gateway session (native sandbox phase 3).
4200
+ */
4201
+ nativeGatewaySession: Prisma.$NativeGatewaySessionPayload<ExtArgs> | null;
4202
+ /**
4203
+ * The warm pool worker this sandbox-mode run claimed (native sandbox phase 6).
4204
+ */
4205
+ nativeWarmWorker: Prisma.$NativeWarmWorkerPayload<ExtArgs> | null;
2760
4206
  parentRun: Prisma.$RunPayload<ExtArgs> | null;
2761
4207
  childRuns: Prisma.$RunPayload<ExtArgs>[];
2762
4208
  };
@@ -2808,6 +4254,29 @@ export type $RunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
2808
4254
  * stale run lost, and can adopt one orphaned by a dead instance.
2809
4255
  */
2810
4256
  executionBackend: string | null;
4257
+ /**
4258
+ * The DBOS workflow that currently holds this run, when it is not the run id: set when
4259
+ * recover() forks the run's workflow under a new application version. Null = the run id.
4260
+ */
4261
+ executionWorkflowId: string | null;
4262
+ /**
4263
+ * The agent's nativeExecutionMode when this run was created, fixed for the
4264
+ * run's life and what the executor routes on. Null for coding runs and for
4265
+ * native runs from before the field existed, which run in the control plane.
4266
+ */
4267
+ nativeExecutionMode: $Enums.NativeExecutionMode | null;
4268
+ /**
4269
+ * Set when a process that may not start runs itself (the native sandbox
4270
+ * gateway, which holds no executor) dispatched this run: the scheduler
4271
+ * leader starts it through the server's executor and clears this.
4272
+ */
4273
+ startDeferredAt: Date | null;
4274
+ /**
4275
+ * Likewise a stop that process asked for: the scheduler leader stops the
4276
+ * run through the server's executor and clears this.
4277
+ */
4278
+ stopRequestedAt: Date | null;
4279
+ stopRequestReason: string | null;
2811
4280
  /**
2812
4281
  * Un-phased: sub-agent dispatch (see AgentSubAgent). Null for a
2813
4282
  * top-level run; set when this run was created by a parent run's
@@ -2817,6 +4286,11 @@ export type $RunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
2817
4286
  * membership to this tree).
2818
4287
  */
2819
4288
  parentRunId: string | null;
4289
+ /**
4290
+ * The parent's delegation call (the model's tool-call id) that created this child, so a
4291
+ * re-executed delegate step finds the same child instead of starting another.
4292
+ */
4293
+ parentCallId: string | null;
2820
4294
  /**
2821
4295
  * Ephemeral, per-dispatch grant: exactly the parent-memory keys this
2822
4296
  * one child run was handed permission to read via parent_memory_get.
@@ -3172,13 +4646,17 @@ export interface Prisma__RunClient<T, Null = never, ExtArgs extends runtime.Type
3172
4646
  readonly [Symbol.toStringTag]: "PrismaPromise";
3173
4647
  agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
3174
4648
  codingRun<T extends Prisma.Run$codingRunArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$codingRunArgs<ExtArgs>>): Prisma.Prisma__CodingRunClient<runtime.Types.Result.GetResult<Prisma.$CodingRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
4649
+ transcript<T extends Prisma.Run$transcriptArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$transcriptArgs<ExtArgs>>): Prisma.Prisma__RunTranscriptClient<runtime.Types.Result.GetResult<Prisma.$RunTranscriptPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3175
4650
  hostCheck<T extends Prisma.Run$hostCheckArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$hostCheckArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3176
4651
  hostStatus<T extends Prisma.Run$hostStatusArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$hostStatusArgs<ExtArgs>>): Prisma.Prisma__RunHostStatusClient<runtime.Types.Result.GetResult<Prisma.$RunHostStatusPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3177
4652
  issueStatus<T extends Prisma.Run$issueStatusArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$issueStatusArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3178
4653
  attribution<T extends Prisma.Run$attributionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$attributionArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3179
4654
  modelUsage<T extends Prisma.Run$modelUsageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$modelUsageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunModelUsagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3180
4655
  serviceStatuses<T extends Prisma.Run$serviceStatusesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$serviceStatusesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CodingRunServiceStatusPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4656
+ budgetEvents<T extends Prisma.Run$budgetEventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$budgetEventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunBudgetEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3181
4657
  localPullRequest<T extends Prisma.Run$localPullRequestArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$localPullRequestArgs<ExtArgs>>): Prisma.Prisma__LocalPullRequestClient<runtime.Types.Result.GetResult<Prisma.$LocalPullRequestPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
4658
+ nativeGatewaySession<T extends Prisma.Run$nativeGatewaySessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$nativeGatewaySessionArgs<ExtArgs>>): Prisma.Prisma__NativeGatewaySessionClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewaySessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
4659
+ nativeWarmWorker<T extends Prisma.Run$nativeWarmWorkerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$nativeWarmWorkerArgs<ExtArgs>>): Prisma.Prisma__NativeWarmWorkerClient<runtime.Types.Result.GetResult<Prisma.$NativeWarmWorkerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3182
4660
  parentRun<T extends Prisma.Run$parentRunArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$parentRunArgs<ExtArgs>>): Prisma.Prisma__RunClient<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3183
4661
  childRuns<T extends Prisma.Run$childRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$childRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3184
4662
  /**
@@ -3223,7 +4701,13 @@ export interface RunFieldRefs {
3223
4701
  readonly pricingSnapshot: Prisma.FieldRef<"Run", 'Json'>;
3224
4702
  readonly executionManaged: Prisma.FieldRef<"Run", 'Boolean'>;
3225
4703
  readonly executionBackend: Prisma.FieldRef<"Run", 'String'>;
4704
+ readonly executionWorkflowId: Prisma.FieldRef<"Run", 'String'>;
4705
+ readonly nativeExecutionMode: Prisma.FieldRef<"Run", 'NativeExecutionMode'>;
4706
+ readonly startDeferredAt: Prisma.FieldRef<"Run", 'DateTime'>;
4707
+ readonly stopRequestedAt: Prisma.FieldRef<"Run", 'DateTime'>;
4708
+ readonly stopRequestReason: Prisma.FieldRef<"Run", 'String'>;
3226
4709
  readonly parentRunId: Prisma.FieldRef<"Run", 'String'>;
4710
+ readonly parentCallId: Prisma.FieldRef<"Run", 'String'>;
3227
4711
  readonly grantedParentMemoryKeys: Prisma.FieldRef<"Run", 'String[]'>;
3228
4712
  readonly taskOverride: Prisma.FieldRef<"Run", 'String'>;
3229
4713
  readonly triggeredById: Prisma.FieldRef<"Run", 'String'>;
@@ -3628,6 +5112,24 @@ export type Run$codingRunArgs<ExtArgs extends runtime.Types.Extensions.InternalA
3628
5112
  include?: Prisma.CodingRunInclude<ExtArgs> | null;
3629
5113
  where?: Prisma.CodingRunWhereInput;
3630
5114
  };
5115
+ /**
5116
+ * Run.transcript
5117
+ */
5118
+ export type Run$transcriptArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5119
+ /**
5120
+ * Select specific fields to fetch from the RunTranscript
5121
+ */
5122
+ select?: Prisma.RunTranscriptSelect<ExtArgs> | null;
5123
+ /**
5124
+ * Omit specific fields from the RunTranscript
5125
+ */
5126
+ omit?: Prisma.RunTranscriptOmit<ExtArgs> | null;
5127
+ /**
5128
+ * Choose, which related nodes to fetch as well
5129
+ */
5130
+ include?: Prisma.RunTranscriptInclude<ExtArgs> | null;
5131
+ where?: Prisma.RunTranscriptWhereInput;
5132
+ };
3631
5133
  /**
3632
5134
  * Run.hostCheck
3633
5135
  */
@@ -3746,6 +5248,29 @@ export type Run$serviceStatusesArgs<ExtArgs extends runtime.Types.Extensions.Int
3746
5248
  skip?: number;
3747
5249
  distinct?: Prisma.CodingRunServiceStatusScalarFieldEnum | Prisma.CodingRunServiceStatusScalarFieldEnum[];
3748
5250
  };
5251
+ /**
5252
+ * Run.budgetEvents
5253
+ */
5254
+ export type Run$budgetEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5255
+ /**
5256
+ * Select specific fields to fetch from the RunBudgetEvent
5257
+ */
5258
+ select?: Prisma.RunBudgetEventSelect<ExtArgs> | null;
5259
+ /**
5260
+ * Omit specific fields from the RunBudgetEvent
5261
+ */
5262
+ omit?: Prisma.RunBudgetEventOmit<ExtArgs> | null;
5263
+ /**
5264
+ * Choose, which related nodes to fetch as well
5265
+ */
5266
+ include?: Prisma.RunBudgetEventInclude<ExtArgs> | null;
5267
+ where?: Prisma.RunBudgetEventWhereInput;
5268
+ orderBy?: Prisma.RunBudgetEventOrderByWithRelationInput | Prisma.RunBudgetEventOrderByWithRelationInput[];
5269
+ cursor?: Prisma.RunBudgetEventWhereUniqueInput;
5270
+ take?: number;
5271
+ skip?: number;
5272
+ distinct?: Prisma.RunBudgetEventScalarFieldEnum | Prisma.RunBudgetEventScalarFieldEnum[];
5273
+ };
3749
5274
  /**
3750
5275
  * Run.localPullRequest
3751
5276
  */
@@ -3764,6 +5289,42 @@ export type Run$localPullRequestArgs<ExtArgs extends runtime.Types.Extensions.In
3764
5289
  include?: Prisma.LocalPullRequestInclude<ExtArgs> | null;
3765
5290
  where?: Prisma.LocalPullRequestWhereInput;
3766
5291
  };
5292
+ /**
5293
+ * Run.nativeGatewaySession
5294
+ */
5295
+ export type Run$nativeGatewaySessionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5296
+ /**
5297
+ * Select specific fields to fetch from the NativeGatewaySession
5298
+ */
5299
+ select?: Prisma.NativeGatewaySessionSelect<ExtArgs> | null;
5300
+ /**
5301
+ * Omit specific fields from the NativeGatewaySession
5302
+ */
5303
+ omit?: Prisma.NativeGatewaySessionOmit<ExtArgs> | null;
5304
+ /**
5305
+ * Choose, which related nodes to fetch as well
5306
+ */
5307
+ include?: Prisma.NativeGatewaySessionInclude<ExtArgs> | null;
5308
+ where?: Prisma.NativeGatewaySessionWhereInput;
5309
+ };
5310
+ /**
5311
+ * Run.nativeWarmWorker
5312
+ */
5313
+ export type Run$nativeWarmWorkerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5314
+ /**
5315
+ * Select specific fields to fetch from the NativeWarmWorker
5316
+ */
5317
+ select?: Prisma.NativeWarmWorkerSelect<ExtArgs> | null;
5318
+ /**
5319
+ * Omit specific fields from the NativeWarmWorker
5320
+ */
5321
+ omit?: Prisma.NativeWarmWorkerOmit<ExtArgs> | null;
5322
+ /**
5323
+ * Choose, which related nodes to fetch as well
5324
+ */
5325
+ include?: Prisma.NativeWarmWorkerInclude<ExtArgs> | null;
5326
+ where?: Prisma.NativeWarmWorkerWhereInput;
5327
+ };
3767
5328
  /**
3768
5329
  * Run.parentRun
3769
5330
  */