@wardby/cli 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/deploy/local/docker-compose.quickstart-coding.yml +5 -0
  2. package/dist/claude-plugin/command.d.ts +4 -1
  3. package/dist/claude-plugin/command.js +7 -4
  4. package/dist/cli.js +24 -0
  5. package/dist/coding/transcript/recorder.js +2 -8
  6. package/dist/core/dispatch.js +3 -0
  7. package/dist/core/engine-native.d.ts +2 -0
  8. package/dist/core/engine-native.js +13 -0
  9. package/dist/core/error-code.js +1 -0
  10. package/dist/core/listen-address.d.ts +10 -0
  11. package/dist/core/listen-address.js +14 -0
  12. package/dist/core/power-idle.d.ts +8 -2
  13. package/dist/core/power-idle.js +17 -3
  14. package/dist/core/power.d.ts +5 -0
  15. package/dist/core/power.js +5 -0
  16. package/dist/core/retention-days.d.ts +5 -0
  17. package/dist/core/retention-days.js +14 -0
  18. package/dist/core/run-steps/config.d.ts +25 -0
  19. package/dist/core/run-steps/config.js +40 -0
  20. package/dist/core/run-steps/control-chars.d.ts +16 -0
  21. package/dist/core/run-steps/control-chars.js +26 -0
  22. package/dist/core/run-steps/detail.d.ts +32 -0
  23. package/dist/core/run-steps/detail.js +240 -0
  24. package/dist/core/run-steps/extract.d.ts +52 -0
  25. package/dist/core/run-steps/extract.js +467 -0
  26. package/dist/core/run-steps/ingress.d.ts +51 -0
  27. package/dist/core/run-steps/ingress.js +160 -0
  28. package/dist/core/run-steps/last-step.d.ts +15 -0
  29. package/dist/core/run-steps/last-step.js +35 -0
  30. package/dist/core/run-steps/native.d.ts +48 -0
  31. package/dist/core/run-steps/native.js +164 -0
  32. package/dist/core/run-steps/seen.d.ts +16 -0
  33. package/dist/core/run-steps/seen.js +35 -0
  34. package/dist/core/run-steps/summarize.d.ts +57 -0
  35. package/dist/core/run-steps/summarize.js +304 -0
  36. package/dist/core/run-steps/sweep.d.ts +21 -0
  37. package/dist/core/run-steps/sweep.js +41 -0
  38. package/dist/core/run-steps/types.d.ts +89 -0
  39. package/dist/core/run-steps/types.js +39 -0
  40. package/dist/core/run-steps/wire.d.ts +35 -0
  41. package/dist/core/run-steps/wire.js +47 -0
  42. package/dist/core/run-steps/writer.d.ts +49 -0
  43. package/dist/core/run-steps/writer.js +279 -0
  44. package/dist/core/runner.d.ts +4 -0
  45. package/dist/core/runner.js +15 -1
  46. package/dist/generated/prisma/browser.d.ts +8 -0
  47. package/dist/generated/prisma/client.d.ts +8 -0
  48. package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
  49. package/dist/generated/prisma/enums.d.ts +6 -0
  50. package/dist/generated/prisma/enums.js +5 -0
  51. package/dist/generated/prisma/internal/class.d.ts +11 -0
  52. package/dist/generated/prisma/internal/class.js +4 -4
  53. package/dist/generated/prisma/internal/prismaNamespace.d.ts +103 -1
  54. package/dist/generated/prisma/internal/prismaNamespace.js +19 -1
  55. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +19 -0
  56. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +19 -1
  57. package/dist/generated/prisma/models/Agent.d.ts +101 -1
  58. package/dist/generated/prisma/models/CodingProxySession.d.ts +41 -1
  59. package/dist/generated/prisma/models/Run.d.ts +503 -1
  60. package/dist/generated/prisma/models/RunStep.d.ts +1453 -0
  61. package/dist/generated/prisma/models/RunStep.js +1 -0
  62. package/dist/generated/prisma/models.d.ts +1 -0
  63. package/dist/help-index.json +102 -14
  64. package/dist/mcp/auth/access.d.ts +1 -0
  65. package/dist/mcp/context.d.ts +3 -0
  66. package/dist/mcp/index.js +10 -0
  67. package/dist/mcp/tools/agents.js +37 -7
  68. package/dist/mcp/tools/power.js +2 -2
  69. package/dist/mcp/tools/run-access.d.ts +7 -0
  70. package/dist/mcp/tools/run-access.js +14 -0
  71. package/dist/mcp/tools/run-steps.d.ts +16 -0
  72. package/dist/mcp/tools/run-steps.js +85 -0
  73. package/dist/mcp/tools/runs.js +10 -2
  74. package/dist/native-worker/gateway-server.d.ts +4 -1
  75. package/dist/native-worker/gateway-server.js +10 -2
  76. package/dist/native-worker/gateway.d.ts +3 -0
  77. package/dist/native-worker/gateway.js +8 -0
  78. package/dist/native-worker/http-server.d.ts +2 -4
  79. package/dist/native-worker/http-server.js +2 -8
  80. package/dist/providers/coding-proxy/memory-ledger.js +1 -0
  81. package/dist/providers/coding-proxy/prisma-ledger.js +9 -3
  82. package/dist/providers/coding-proxy/proxy.d.ts +26 -0
  83. package/dist/providers/coding-proxy/proxy.js +133 -42
  84. package/dist/providers/coding-proxy/run-step-forwarder.d.ts +42 -0
  85. package/dist/providers/coding-proxy/run-step-forwarder.js +206 -0
  86. package/dist/providers/coding-proxy/runtime.d.ts +7 -0
  87. package/dist/providers/coding-proxy/runtime.js +55 -3
  88. package/dist/providers/coding-proxy/types.d.ts +5 -0
  89. package/dist/providers/engine/types.d.ts +26 -0
  90. package/dist/providers/executor/container.d.ts +14 -0
  91. package/dist/providers/executor/container.js +8 -1
  92. package/dist/providers/jobs/kubernetes.d.ts +8 -0
  93. package/dist/providers/jobs/kubernetes.js +22 -4
  94. package/dist/quickstart-images.json +1 -1
  95. package/dist/serve.js +26 -18
  96. package/dist/viewer/api-schema.d.ts +66 -0
  97. package/dist/viewer/api-schema.js +31 -0
  98. package/dist/viewer/openapi.js +2 -1
  99. package/dist/viewer/run-detail.d.ts +2 -0
  100. package/dist/viewer/run-detail.js +26 -1
  101. package/docs/claude-code-plugin.md +57 -13
  102. package/docs/coding-agent-setup.md +17 -0
  103. package/docs/coding-worker-isolation.md +16 -0
  104. package/docs/debugging-agent-runs.md +112 -0
  105. package/docs/getting-started-gke.md +28 -7
  106. package/docs/mcp-servers.md +9 -0
  107. package/docs/native-sandbox.md +6 -0
  108. package/docs/security-deployment.md +51 -0
  109. package/docs/viewer-api.md +21 -12
  110. package/docs/viewer-api.openapi.yml +78 -2
  111. package/help/admin-viewer.md +1 -0
  112. package/help/claude-code-run-pane.md +27 -4
  113. package/help/deploy-gke.md +5 -0
  114. package/help/errors/coding-mcp-gateway-unavailable.md +46 -0
  115. package/help/low-power-mode.md +19 -8
  116. package/help/mcp.md +2 -0
  117. package/help/resume-runs-locally.md +4 -0
  118. package/help/run-steps.md +140 -0
  119. package/package.json +1 -1
  120. package/prisma/migrations/20261110000000_run_steps/migration.sql +26 -0
  121. package/prisma/migrations/20261111000000_run_steps_viewer_notify/migration.sql +59 -0
  122. package/prisma/migrations/20261112000000_run_steps_detail/migration.sql +9 -0
  123. package/prisma/schema.prisma +52 -0
@@ -18,12 +18,14 @@ export type RunAvgAggregateOutputType = {
18
18
  tokensOut: number | null;
19
19
  costUsd: runtime.Decimal | null;
20
20
  turns: number | null;
21
+ stepsDropped: number | null;
21
22
  };
22
23
  export type RunSumAggregateOutputType = {
23
24
  tokensIn: number | null;
24
25
  tokensOut: number | null;
25
26
  costUsd: runtime.Decimal | null;
26
27
  turns: number | null;
28
+ stepsDropped: number | null;
27
29
  };
28
30
  export type RunMinAggregateOutputType = {
29
31
  id: string | null;
@@ -47,6 +49,8 @@ export type RunMinAggregateOutputType = {
47
49
  startDeferredAt: Date | null;
48
50
  stopRequestedAt: Date | null;
49
51
  stopRequestReason: string | null;
52
+ stepsDropped: number | null;
53
+ runStepsLevel: $Enums.RunStepsLevel | null;
50
54
  parentRunId: string | null;
51
55
  parentCallId: string | null;
52
56
  taskOverride: string | null;
@@ -74,6 +78,8 @@ export type RunMaxAggregateOutputType = {
74
78
  startDeferredAt: Date | null;
75
79
  stopRequestedAt: Date | null;
76
80
  stopRequestReason: string | null;
81
+ stepsDropped: number | null;
82
+ runStepsLevel: $Enums.RunStepsLevel | null;
77
83
  parentRunId: string | null;
78
84
  parentCallId: string | null;
79
85
  taskOverride: string | null;
@@ -102,6 +108,8 @@ export type RunCountAggregateOutputType = {
102
108
  startDeferredAt: number;
103
109
  stopRequestedAt: number;
104
110
  stopRequestReason: number;
111
+ stepsDropped: number;
112
+ runStepsLevel: number;
105
113
  parentRunId: number;
106
114
  parentCallId: number;
107
115
  grantedParentMemoryKeys: number;
@@ -114,12 +122,14 @@ export type RunAvgAggregateInputType = {
114
122
  tokensOut?: true;
115
123
  costUsd?: true;
116
124
  turns?: true;
125
+ stepsDropped?: true;
117
126
  };
118
127
  export type RunSumAggregateInputType = {
119
128
  tokensIn?: true;
120
129
  tokensOut?: true;
121
130
  costUsd?: true;
122
131
  turns?: true;
132
+ stepsDropped?: true;
123
133
  };
124
134
  export type RunMinAggregateInputType = {
125
135
  id?: true;
@@ -143,6 +153,8 @@ export type RunMinAggregateInputType = {
143
153
  startDeferredAt?: true;
144
154
  stopRequestedAt?: true;
145
155
  stopRequestReason?: true;
156
+ stepsDropped?: true;
157
+ runStepsLevel?: true;
146
158
  parentRunId?: true;
147
159
  parentCallId?: true;
148
160
  taskOverride?: true;
@@ -170,6 +182,8 @@ export type RunMaxAggregateInputType = {
170
182
  startDeferredAt?: true;
171
183
  stopRequestedAt?: true;
172
184
  stopRequestReason?: true;
185
+ stepsDropped?: true;
186
+ runStepsLevel?: true;
173
187
  parentRunId?: true;
174
188
  parentCallId?: true;
175
189
  taskOverride?: true;
@@ -198,6 +212,8 @@ export type RunCountAggregateInputType = {
198
212
  startDeferredAt?: true;
199
213
  stopRequestedAt?: true;
200
214
  stopRequestReason?: true;
215
+ stepsDropped?: true;
216
+ runStepsLevel?: true;
201
217
  parentRunId?: true;
202
218
  parentCallId?: true;
203
219
  grantedParentMemoryKeys?: true;
@@ -304,6 +320,8 @@ export type RunGroupByOutputType = {
304
320
  startDeferredAt: Date | null;
305
321
  stopRequestedAt: Date | null;
306
322
  stopRequestReason: string | null;
323
+ stepsDropped: number;
324
+ runStepsLevel: $Enums.RunStepsLevel | null;
307
325
  parentRunId: string | null;
308
326
  parentCallId: string | null;
309
327
  grantedParentMemoryKeys: string[];
@@ -344,6 +362,8 @@ export type RunWhereInput = {
344
362
  startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
345
363
  stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
346
364
  stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
365
+ stepsDropped?: Prisma.IntFilter<"Run"> | number;
366
+ runStepsLevel?: Prisma.EnumRunStepsLevelNullableFilter<"Run"> | $Enums.RunStepsLevel | null;
347
367
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
348
368
  parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
349
369
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
@@ -362,6 +382,7 @@ export type RunWhereInput = {
362
382
  localPullRequest?: Prisma.XOR<Prisma.LocalPullRequestNullableScalarRelationFilter, Prisma.LocalPullRequestWhereInput> | null;
363
383
  nativeGatewaySession?: Prisma.XOR<Prisma.NativeGatewaySessionNullableScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput> | null;
364
384
  nativeWarmWorker?: Prisma.XOR<Prisma.NativeWarmWorkerNullableScalarRelationFilter, Prisma.NativeWarmWorkerWhereInput> | null;
385
+ steps?: Prisma.RunStepListRelationFilter;
365
386
  parentRun?: Prisma.XOR<Prisma.RunNullableScalarRelationFilter, Prisma.RunWhereInput> | null;
366
387
  childRuns?: Prisma.RunListRelationFilter;
367
388
  };
@@ -388,6 +409,8 @@ export type RunOrderByWithRelationInput = {
388
409
  startDeferredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
389
410
  stopRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
390
411
  stopRequestReason?: Prisma.SortOrderInput | Prisma.SortOrder;
412
+ stepsDropped?: Prisma.SortOrder;
413
+ runStepsLevel?: Prisma.SortOrderInput | Prisma.SortOrder;
391
414
  parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
392
415
  parentCallId?: Prisma.SortOrderInput | Prisma.SortOrder;
393
416
  grantedParentMemoryKeys?: Prisma.SortOrder;
@@ -406,6 +429,7 @@ export type RunOrderByWithRelationInput = {
406
429
  localPullRequest?: Prisma.LocalPullRequestOrderByWithRelationInput;
407
430
  nativeGatewaySession?: Prisma.NativeGatewaySessionOrderByWithRelationInput;
408
431
  nativeWarmWorker?: Prisma.NativeWarmWorkerOrderByWithRelationInput;
432
+ steps?: Prisma.RunStepOrderByRelationAggregateInput;
409
433
  parentRun?: Prisma.RunOrderByWithRelationInput;
410
434
  childRuns?: Prisma.RunOrderByRelationAggregateInput;
411
435
  };
@@ -436,6 +460,8 @@ export type RunWhereUniqueInput = Prisma.AtLeast<{
436
460
  startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
437
461
  stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
438
462
  stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
463
+ stepsDropped?: Prisma.IntFilter<"Run"> | number;
464
+ runStepsLevel?: Prisma.EnumRunStepsLevelNullableFilter<"Run"> | $Enums.RunStepsLevel | null;
439
465
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
440
466
  parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
441
467
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
@@ -454,6 +480,7 @@ export type RunWhereUniqueInput = Prisma.AtLeast<{
454
480
  localPullRequest?: Prisma.XOR<Prisma.LocalPullRequestNullableScalarRelationFilter, Prisma.LocalPullRequestWhereInput> | null;
455
481
  nativeGatewaySession?: Prisma.XOR<Prisma.NativeGatewaySessionNullableScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput> | null;
456
482
  nativeWarmWorker?: Prisma.XOR<Prisma.NativeWarmWorkerNullableScalarRelationFilter, Prisma.NativeWarmWorkerWhereInput> | null;
483
+ steps?: Prisma.RunStepListRelationFilter;
457
484
  parentRun?: Prisma.XOR<Prisma.RunNullableScalarRelationFilter, Prisma.RunWhereInput> | null;
458
485
  childRuns?: Prisma.RunListRelationFilter;
459
486
  }, "id" | "parentRunId_parentCallId">;
@@ -480,6 +507,8 @@ export type RunOrderByWithAggregationInput = {
480
507
  startDeferredAt?: Prisma.SortOrderInput | Prisma.SortOrder;
481
508
  stopRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
482
509
  stopRequestReason?: Prisma.SortOrderInput | Prisma.SortOrder;
510
+ stepsDropped?: Prisma.SortOrder;
511
+ runStepsLevel?: Prisma.SortOrderInput | Prisma.SortOrder;
483
512
  parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
484
513
  parentCallId?: Prisma.SortOrderInput | Prisma.SortOrder;
485
514
  grantedParentMemoryKeys?: Prisma.SortOrder;
@@ -517,6 +546,8 @@ export type RunScalarWhereWithAggregatesInput = {
517
546
  startDeferredAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Run"> | Date | string | null;
518
547
  stopRequestedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Run"> | Date | string | null;
519
548
  stopRequestReason?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
549
+ stepsDropped?: Prisma.IntWithAggregatesFilter<"Run"> | number;
550
+ runStepsLevel?: Prisma.EnumRunStepsLevelNullableWithAggregatesFilter<"Run"> | $Enums.RunStepsLevel | null;
520
551
  parentRunId?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
521
552
  parentCallId?: Prisma.StringNullableWithAggregatesFilter<"Run"> | string | null;
522
553
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
@@ -545,6 +576,8 @@ export type RunCreateInput = {
545
576
  startDeferredAt?: Date | string | null;
546
577
  stopRequestedAt?: Date | string | null;
547
578
  stopRequestReason?: string | null;
579
+ stepsDropped?: number;
580
+ runStepsLevel?: $Enums.RunStepsLevel | null;
548
581
  parentCallId?: string | null;
549
582
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
550
583
  taskOverride?: string | null;
@@ -562,6 +595,7 @@ export type RunCreateInput = {
562
595
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
563
596
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
564
597
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
598
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
565
599
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
566
600
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
567
601
  };
@@ -588,6 +622,8 @@ export type RunUncheckedCreateInput = {
588
622
  startDeferredAt?: Date | string | null;
589
623
  stopRequestedAt?: Date | string | null;
590
624
  stopRequestReason?: string | null;
625
+ stepsDropped?: number;
626
+ runStepsLevel?: $Enums.RunStepsLevel | null;
591
627
  parentRunId?: string | null;
592
628
  parentCallId?: string | null;
593
629
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -605,6 +641,7 @@ export type RunUncheckedCreateInput = {
605
641
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
606
642
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
607
643
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
644
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
608
645
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
609
646
  };
610
647
  export type RunUpdateInput = {
@@ -629,6 +666,8 @@ export type RunUpdateInput = {
629
666
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
630
667
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
631
668
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
669
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
670
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
632
671
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
633
672
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
634
673
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -646,6 +685,7 @@ export type RunUpdateInput = {
646
685
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
647
686
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
648
687
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
688
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
649
689
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
650
690
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
651
691
  };
@@ -672,6 +712,8 @@ export type RunUncheckedUpdateInput = {
672
712
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
673
713
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
674
714
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
715
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
716
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
675
717
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
676
718
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
677
719
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -689,6 +731,7 @@ export type RunUncheckedUpdateInput = {
689
731
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
690
732
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
691
733
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
734
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
692
735
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
693
736
  };
694
737
  export type RunCreateManyInput = {
@@ -714,6 +757,8 @@ export type RunCreateManyInput = {
714
757
  startDeferredAt?: Date | string | null;
715
758
  stopRequestedAt?: Date | string | null;
716
759
  stopRequestReason?: string | null;
760
+ stepsDropped?: number;
761
+ runStepsLevel?: $Enums.RunStepsLevel | null;
717
762
  parentRunId?: string | null;
718
763
  parentCallId?: string | null;
719
764
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -742,6 +787,8 @@ export type RunUpdateManyMutationInput = {
742
787
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
743
788
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
744
789
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
790
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
791
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
745
792
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
746
793
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
747
794
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -770,6 +817,8 @@ export type RunUncheckedUpdateManyInput = {
770
817
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
771
818
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
772
819
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
820
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
821
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
773
822
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
774
823
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
775
824
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -822,6 +871,8 @@ export type RunCountOrderByAggregateInput = {
822
871
  startDeferredAt?: Prisma.SortOrder;
823
872
  stopRequestedAt?: Prisma.SortOrder;
824
873
  stopRequestReason?: Prisma.SortOrder;
874
+ stepsDropped?: Prisma.SortOrder;
875
+ runStepsLevel?: Prisma.SortOrder;
825
876
  parentRunId?: Prisma.SortOrder;
826
877
  parentCallId?: Prisma.SortOrder;
827
878
  grantedParentMemoryKeys?: Prisma.SortOrder;
@@ -833,6 +884,7 @@ export type RunAvgOrderByAggregateInput = {
833
884
  tokensOut?: Prisma.SortOrder;
834
885
  costUsd?: Prisma.SortOrder;
835
886
  turns?: Prisma.SortOrder;
887
+ stepsDropped?: Prisma.SortOrder;
836
888
  };
837
889
  export type RunMaxOrderByAggregateInput = {
838
890
  id?: Prisma.SortOrder;
@@ -856,6 +908,8 @@ export type RunMaxOrderByAggregateInput = {
856
908
  startDeferredAt?: Prisma.SortOrder;
857
909
  stopRequestedAt?: Prisma.SortOrder;
858
910
  stopRequestReason?: Prisma.SortOrder;
911
+ stepsDropped?: Prisma.SortOrder;
912
+ runStepsLevel?: Prisma.SortOrder;
859
913
  parentRunId?: Prisma.SortOrder;
860
914
  parentCallId?: Prisma.SortOrder;
861
915
  taskOverride?: Prisma.SortOrder;
@@ -883,6 +937,8 @@ export type RunMinOrderByAggregateInput = {
883
937
  startDeferredAt?: Prisma.SortOrder;
884
938
  stopRequestedAt?: Prisma.SortOrder;
885
939
  stopRequestReason?: Prisma.SortOrder;
940
+ stepsDropped?: Prisma.SortOrder;
941
+ runStepsLevel?: Prisma.SortOrder;
886
942
  parentRunId?: Prisma.SortOrder;
887
943
  parentCallId?: Prisma.SortOrder;
888
944
  taskOverride?: Prisma.SortOrder;
@@ -893,6 +949,7 @@ export type RunSumOrderByAggregateInput = {
893
949
  tokensOut?: Prisma.SortOrder;
894
950
  costUsd?: Prisma.SortOrder;
895
951
  turns?: Prisma.SortOrder;
952
+ stepsDropped?: Prisma.SortOrder;
896
953
  };
897
954
  export type RunScalarRelationFilter = {
898
955
  is?: Prisma.RunWhereInput;
@@ -1028,6 +1085,18 @@ export type RunUpdateOneRequiredWithoutTranscriptNestedInput = {
1028
1085
  connect?: Prisma.RunWhereUniqueInput;
1029
1086
  update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutTranscriptInput, Prisma.RunUpdateWithoutTranscriptInput>, Prisma.RunUncheckedUpdateWithoutTranscriptInput>;
1030
1087
  };
1088
+ export type RunCreateNestedOneWithoutStepsInput = {
1089
+ create?: Prisma.XOR<Prisma.RunCreateWithoutStepsInput, Prisma.RunUncheckedCreateWithoutStepsInput>;
1090
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutStepsInput;
1091
+ connect?: Prisma.RunWhereUniqueInput;
1092
+ };
1093
+ export type RunUpdateOneRequiredWithoutStepsNestedInput = {
1094
+ create?: Prisma.XOR<Prisma.RunCreateWithoutStepsInput, Prisma.RunUncheckedCreateWithoutStepsInput>;
1095
+ connectOrCreate?: Prisma.RunCreateOrConnectWithoutStepsInput;
1096
+ upsert?: Prisma.RunUpsertWithoutStepsInput;
1097
+ connect?: Prisma.RunWhereUniqueInput;
1098
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunUpdateToOneWithWhereWithoutStepsInput, Prisma.RunUpdateWithoutStepsInput>, Prisma.RunUncheckedUpdateWithoutStepsInput>;
1099
+ };
1031
1100
  export type RunCreateNestedOneWithoutServiceStatusesInput = {
1032
1101
  create?: Prisma.XOR<Prisma.RunCreateWithoutServiceStatusesInput, Prisma.RunUncheckedCreateWithoutServiceStatusesInput>;
1033
1102
  connectOrCreate?: Prisma.RunCreateOrConnectWithoutServiceStatusesInput;
@@ -1174,6 +1243,8 @@ export type RunCreateWithoutAgentInput = {
1174
1243
  startDeferredAt?: Date | string | null;
1175
1244
  stopRequestedAt?: Date | string | null;
1176
1245
  stopRequestReason?: string | null;
1246
+ stepsDropped?: number;
1247
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1177
1248
  parentCallId?: string | null;
1178
1249
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1179
1250
  taskOverride?: string | null;
@@ -1190,6 +1261,7 @@ export type RunCreateWithoutAgentInput = {
1190
1261
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1191
1262
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1192
1263
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1264
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1193
1265
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1194
1266
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1195
1267
  };
@@ -1215,6 +1287,8 @@ export type RunUncheckedCreateWithoutAgentInput = {
1215
1287
  startDeferredAt?: Date | string | null;
1216
1288
  stopRequestedAt?: Date | string | null;
1217
1289
  stopRequestReason?: string | null;
1290
+ stepsDropped?: number;
1291
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1218
1292
  parentRunId?: string | null;
1219
1293
  parentCallId?: string | null;
1220
1294
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -1232,6 +1306,7 @@ export type RunUncheckedCreateWithoutAgentInput = {
1232
1306
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1233
1307
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1234
1308
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1309
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
1235
1310
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1236
1311
  };
1237
1312
  export type RunCreateOrConnectWithoutAgentInput = {
@@ -1281,6 +1356,8 @@ export type RunScalarWhereInput = {
1281
1356
  startDeferredAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
1282
1357
  stopRequestedAt?: Prisma.DateTimeNullableFilter<"Run"> | Date | string | null;
1283
1358
  stopRequestReason?: Prisma.StringNullableFilter<"Run"> | string | null;
1359
+ stepsDropped?: Prisma.IntFilter<"Run"> | number;
1360
+ runStepsLevel?: Prisma.EnumRunStepsLevelNullableFilter<"Run"> | $Enums.RunStepsLevel | null;
1284
1361
  parentRunId?: Prisma.StringNullableFilter<"Run"> | string | null;
1285
1362
  parentCallId?: Prisma.StringNullableFilter<"Run"> | string | null;
1286
1363
  grantedParentMemoryKeys?: Prisma.StringNullableListFilter<"Run">;
@@ -1309,6 +1386,8 @@ export type RunCreateWithoutChildRunsInput = {
1309
1386
  startDeferredAt?: Date | string | null;
1310
1387
  stopRequestedAt?: Date | string | null;
1311
1388
  stopRequestReason?: string | null;
1389
+ stepsDropped?: number;
1390
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1312
1391
  parentCallId?: string | null;
1313
1392
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1314
1393
  taskOverride?: string | null;
@@ -1326,6 +1405,7 @@ export type RunCreateWithoutChildRunsInput = {
1326
1405
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1327
1406
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1328
1407
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1408
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1329
1409
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1330
1410
  };
1331
1411
  export type RunUncheckedCreateWithoutChildRunsInput = {
@@ -1351,6 +1431,8 @@ export type RunUncheckedCreateWithoutChildRunsInput = {
1351
1431
  startDeferredAt?: Date | string | null;
1352
1432
  stopRequestedAt?: Date | string | null;
1353
1433
  stopRequestReason?: string | null;
1434
+ stepsDropped?: number;
1435
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1354
1436
  parentRunId?: string | null;
1355
1437
  parentCallId?: string | null;
1356
1438
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -1368,6 +1450,7 @@ export type RunUncheckedCreateWithoutChildRunsInput = {
1368
1450
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1369
1451
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1370
1452
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1453
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
1371
1454
  };
1372
1455
  export type RunCreateOrConnectWithoutChildRunsInput = {
1373
1456
  where: Prisma.RunWhereUniqueInput;
@@ -1395,6 +1478,8 @@ export type RunCreateWithoutParentRunInput = {
1395
1478
  startDeferredAt?: Date | string | null;
1396
1479
  stopRequestedAt?: Date | string | null;
1397
1480
  stopRequestReason?: string | null;
1481
+ stepsDropped?: number;
1482
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1398
1483
  parentCallId?: string | null;
1399
1484
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1400
1485
  taskOverride?: string | null;
@@ -1412,6 +1497,7 @@ export type RunCreateWithoutParentRunInput = {
1412
1497
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1413
1498
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1414
1499
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1500
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1415
1501
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1416
1502
  };
1417
1503
  export type RunUncheckedCreateWithoutParentRunInput = {
@@ -1437,6 +1523,8 @@ export type RunUncheckedCreateWithoutParentRunInput = {
1437
1523
  startDeferredAt?: Date | string | null;
1438
1524
  stopRequestedAt?: Date | string | null;
1439
1525
  stopRequestReason?: string | null;
1526
+ stepsDropped?: number;
1527
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1440
1528
  parentCallId?: string | null;
1441
1529
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1442
1530
  taskOverride?: string | null;
@@ -1453,6 +1541,7 @@ export type RunUncheckedCreateWithoutParentRunInput = {
1453
1541
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1454
1542
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1455
1543
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1544
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
1456
1545
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1457
1546
  };
1458
1547
  export type RunCreateOrConnectWithoutParentRunInput = {
@@ -1494,6 +1583,8 @@ export type RunUpdateWithoutChildRunsInput = {
1494
1583
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1495
1584
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1496
1585
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1586
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
1587
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1497
1588
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1498
1589
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1499
1590
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1511,6 +1602,7 @@ export type RunUpdateWithoutChildRunsInput = {
1511
1602
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1512
1603
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1513
1604
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1605
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
1514
1606
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1515
1607
  };
1516
1608
  export type RunUncheckedUpdateWithoutChildRunsInput = {
@@ -1536,6 +1628,8 @@ export type RunUncheckedUpdateWithoutChildRunsInput = {
1536
1628
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1537
1629
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1538
1630
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1631
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
1632
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1539
1633
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1540
1634
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1541
1635
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -1553,6 +1647,7 @@ export type RunUncheckedUpdateWithoutChildRunsInput = {
1553
1647
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
1554
1648
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1555
1649
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1650
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
1556
1651
  };
1557
1652
  export type RunUpsertWithWhereUniqueWithoutParentRunInput = {
1558
1653
  where: Prisma.RunWhereUniqueInput;
@@ -1589,6 +1684,8 @@ export type RunCreateWithoutCodingRunInput = {
1589
1684
  startDeferredAt?: Date | string | null;
1590
1685
  stopRequestedAt?: Date | string | null;
1591
1686
  stopRequestReason?: string | null;
1687
+ stepsDropped?: number;
1688
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1592
1689
  parentCallId?: string | null;
1593
1690
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1594
1691
  taskOverride?: string | null;
@@ -1605,6 +1702,7 @@ export type RunCreateWithoutCodingRunInput = {
1605
1702
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1606
1703
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1607
1704
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1705
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1608
1706
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1609
1707
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1610
1708
  };
@@ -1631,6 +1729,8 @@ export type RunUncheckedCreateWithoutCodingRunInput = {
1631
1729
  startDeferredAt?: Date | string | null;
1632
1730
  stopRequestedAt?: Date | string | null;
1633
1731
  stopRequestReason?: string | null;
1732
+ stepsDropped?: number;
1733
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1634
1734
  parentRunId?: string | null;
1635
1735
  parentCallId?: string | null;
1636
1736
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -1647,6 +1747,7 @@ export type RunUncheckedCreateWithoutCodingRunInput = {
1647
1747
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1648
1748
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1649
1749
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1750
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
1650
1751
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1651
1752
  };
1652
1753
  export type RunCreateOrConnectWithoutCodingRunInput = {
@@ -1684,6 +1785,8 @@ export type RunUpdateWithoutCodingRunInput = {
1684
1785
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1685
1786
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1686
1787
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1788
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
1789
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1687
1790
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1688
1791
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1689
1792
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1700,6 +1803,7 @@ export type RunUpdateWithoutCodingRunInput = {
1700
1803
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1701
1804
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1702
1805
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1806
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
1703
1807
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1704
1808
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1705
1809
  };
@@ -1726,6 +1830,8 @@ export type RunUncheckedUpdateWithoutCodingRunInput = {
1726
1830
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1727
1831
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1728
1832
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1833
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
1834
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1729
1835
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1730
1836
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1731
1837
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -1742,6 +1848,7 @@ export type RunUncheckedUpdateWithoutCodingRunInput = {
1742
1848
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
1743
1849
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
1744
1850
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
1851
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
1745
1852
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
1746
1853
  };
1747
1854
  export type RunCreateWithoutTranscriptInput = {
@@ -1766,6 +1873,8 @@ export type RunCreateWithoutTranscriptInput = {
1766
1873
  startDeferredAt?: Date | string | null;
1767
1874
  stopRequestedAt?: Date | string | null;
1768
1875
  stopRequestReason?: string | null;
1876
+ stepsDropped?: number;
1877
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1769
1878
  parentCallId?: string | null;
1770
1879
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1771
1880
  taskOverride?: string | null;
@@ -1782,6 +1891,7 @@ export type RunCreateWithoutTranscriptInput = {
1782
1891
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1783
1892
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1784
1893
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
1894
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1785
1895
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1786
1896
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1787
1897
  };
@@ -1808,6 +1918,8 @@ export type RunUncheckedCreateWithoutTranscriptInput = {
1808
1918
  startDeferredAt?: Date | string | null;
1809
1919
  stopRequestedAt?: Date | string | null;
1810
1920
  stopRequestReason?: string | null;
1921
+ stepsDropped?: number;
1922
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1811
1923
  parentRunId?: string | null;
1812
1924
  parentCallId?: string | null;
1813
1925
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -1824,6 +1936,7 @@ export type RunUncheckedCreateWithoutTranscriptInput = {
1824
1936
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
1825
1937
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
1826
1938
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
1939
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
1827
1940
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
1828
1941
  };
1829
1942
  export type RunCreateOrConnectWithoutTranscriptInput = {
@@ -1861,6 +1974,8 @@ export type RunUpdateWithoutTranscriptInput = {
1861
1974
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1862
1975
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1863
1976
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1977
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
1978
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1864
1979
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1865
1980
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1866
1981
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1877,6 +1992,7 @@ export type RunUpdateWithoutTranscriptInput = {
1877
1992
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
1878
1993
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
1879
1994
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
1995
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
1880
1996
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
1881
1997
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
1882
1998
  };
@@ -1903,12 +2019,204 @@ export type RunUncheckedUpdateWithoutTranscriptInput = {
1903
2019
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1904
2020
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1905
2021
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2022
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2023
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2024
+ parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2025
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2026
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2027
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2028
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2029
+ codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2030
+ hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
2031
+ hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
2032
+ issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
2033
+ attribution?: Prisma.RunAttributionUncheckedUpdateOneWithoutRunNestedInput;
2034
+ modelUsage?: Prisma.RunModelUsageUncheckedUpdateManyWithoutRunNestedInput;
2035
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedUpdateManyWithoutRunNestedInput;
2036
+ budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2037
+ localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2038
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2039
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2040
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2041
+ childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2042
+ };
2043
+ export type RunCreateWithoutStepsInput = {
2044
+ id?: string;
2045
+ status?: $Enums.RunStatus;
2046
+ trigger?: $Enums.RunTrigger;
2047
+ tokensIn?: number;
2048
+ tokensOut?: number;
2049
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2050
+ error?: string | null;
2051
+ startedAt?: Date | string;
2052
+ finishedAt?: Date | string | null;
2053
+ heartbeatAt?: Date | string | null;
2054
+ finalText?: string | null;
2055
+ turns?: number;
2056
+ pricingVersion?: string | null;
2057
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2058
+ executionManaged?: boolean;
2059
+ executionBackend?: string | null;
2060
+ executionWorkflowId?: string | null;
2061
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2062
+ startDeferredAt?: Date | string | null;
2063
+ stopRequestedAt?: Date | string | null;
2064
+ stopRequestReason?: string | null;
2065
+ stepsDropped?: number;
2066
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2067
+ parentCallId?: string | null;
2068
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2069
+ taskOverride?: string | null;
2070
+ triggeredById?: string | null;
2071
+ agent: Prisma.AgentCreateNestedOneWithoutRunsInput;
2072
+ codingRun?: Prisma.CodingRunCreateNestedOneWithoutRunInput;
2073
+ transcript?: Prisma.RunTranscriptCreateNestedOneWithoutRunInput;
2074
+ hostCheck?: Prisma.RunHostCheckCreateNestedOneWithoutRunInput;
2075
+ hostStatus?: Prisma.RunHostStatusCreateNestedOneWithoutRunInput;
2076
+ issueStatus?: Prisma.RunIssueStatusCreateNestedOneWithoutRunInput;
2077
+ attribution?: Prisma.RunAttributionCreateNestedOneWithoutRunInput;
2078
+ modelUsage?: Prisma.RunModelUsageCreateNestedManyWithoutRunInput;
2079
+ serviceStatuses?: Prisma.CodingRunServiceStatusCreateNestedManyWithoutRunInput;
2080
+ budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
2081
+ localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2082
+ nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2083
+ nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2084
+ parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2085
+ childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2086
+ };
2087
+ export type RunUncheckedCreateWithoutStepsInput = {
2088
+ id?: string;
2089
+ agentId: string;
2090
+ status?: $Enums.RunStatus;
2091
+ trigger?: $Enums.RunTrigger;
2092
+ tokensIn?: number;
2093
+ tokensOut?: number;
2094
+ costUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2095
+ error?: string | null;
2096
+ startedAt?: Date | string;
2097
+ finishedAt?: Date | string | null;
2098
+ heartbeatAt?: Date | string | null;
2099
+ finalText?: string | null;
2100
+ turns?: number;
2101
+ pricingVersion?: string | null;
2102
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2103
+ executionManaged?: boolean;
2104
+ executionBackend?: string | null;
2105
+ executionWorkflowId?: string | null;
2106
+ nativeExecutionMode?: $Enums.NativeExecutionMode | null;
2107
+ startDeferredAt?: Date | string | null;
2108
+ stopRequestedAt?: Date | string | null;
2109
+ stopRequestReason?: string | null;
2110
+ stepsDropped?: number;
2111
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2112
+ parentRunId?: string | null;
2113
+ parentCallId?: string | null;
2114
+ grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2115
+ taskOverride?: string | null;
2116
+ triggeredById?: string | null;
2117
+ codingRun?: Prisma.CodingRunUncheckedCreateNestedOneWithoutRunInput;
2118
+ transcript?: Prisma.RunTranscriptUncheckedCreateNestedOneWithoutRunInput;
2119
+ hostCheck?: Prisma.RunHostCheckUncheckedCreateNestedOneWithoutRunInput;
2120
+ hostStatus?: Prisma.RunHostStatusUncheckedCreateNestedOneWithoutRunInput;
2121
+ issueStatus?: Prisma.RunIssueStatusUncheckedCreateNestedOneWithoutRunInput;
2122
+ attribution?: Prisma.RunAttributionUncheckedCreateNestedOneWithoutRunInput;
2123
+ modelUsage?: Prisma.RunModelUsageUncheckedCreateNestedManyWithoutRunInput;
2124
+ serviceStatuses?: Prisma.CodingRunServiceStatusUncheckedCreateNestedManyWithoutRunInput;
2125
+ budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
2126
+ localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2127
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2128
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2129
+ childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2130
+ };
2131
+ export type RunCreateOrConnectWithoutStepsInput = {
2132
+ where: Prisma.RunWhereUniqueInput;
2133
+ create: Prisma.XOR<Prisma.RunCreateWithoutStepsInput, Prisma.RunUncheckedCreateWithoutStepsInput>;
2134
+ };
2135
+ export type RunUpsertWithoutStepsInput = {
2136
+ update: Prisma.XOR<Prisma.RunUpdateWithoutStepsInput, Prisma.RunUncheckedUpdateWithoutStepsInput>;
2137
+ create: Prisma.XOR<Prisma.RunCreateWithoutStepsInput, Prisma.RunUncheckedCreateWithoutStepsInput>;
2138
+ where?: Prisma.RunWhereInput;
2139
+ };
2140
+ export type RunUpdateToOneWithWhereWithoutStepsInput = {
2141
+ where?: Prisma.RunWhereInput;
2142
+ data: Prisma.XOR<Prisma.RunUpdateWithoutStepsInput, Prisma.RunUncheckedUpdateWithoutStepsInput>;
2143
+ };
2144
+ export type RunUpdateWithoutStepsInput = {
2145
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2146
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
2147
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
2148
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
2149
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
2150
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2151
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2152
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2153
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2154
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2155
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2156
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
2157
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2158
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2159
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2160
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2161
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2162
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2163
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2164
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2165
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2166
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2167
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2168
+ parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2169
+ grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2170
+ taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2171
+ triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2172
+ agent?: Prisma.AgentUpdateOneRequiredWithoutRunsNestedInput;
2173
+ codingRun?: Prisma.CodingRunUpdateOneWithoutRunNestedInput;
2174
+ transcript?: Prisma.RunTranscriptUpdateOneWithoutRunNestedInput;
2175
+ hostCheck?: Prisma.RunHostCheckUpdateOneWithoutRunNestedInput;
2176
+ hostStatus?: Prisma.RunHostStatusUpdateOneWithoutRunNestedInput;
2177
+ issueStatus?: Prisma.RunIssueStatusUpdateOneWithoutRunNestedInput;
2178
+ attribution?: Prisma.RunAttributionUpdateOneWithoutRunNestedInput;
2179
+ modelUsage?: Prisma.RunModelUsageUpdateManyWithoutRunNestedInput;
2180
+ serviceStatuses?: Prisma.CodingRunServiceStatusUpdateManyWithoutRunNestedInput;
2181
+ budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2182
+ localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2183
+ nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2184
+ nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2185
+ parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2186
+ childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2187
+ };
2188
+ export type RunUncheckedUpdateWithoutStepsInput = {
2189
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2190
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
2191
+ status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus;
2192
+ trigger?: Prisma.EnumRunTriggerFieldUpdateOperationsInput | $Enums.RunTrigger;
2193
+ tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
2194
+ tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
2195
+ costUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2196
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2197
+ startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2198
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2199
+ heartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2200
+ finalText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2201
+ turns?: Prisma.IntFieldUpdateOperationsInput | number;
2202
+ pricingVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2203
+ pricingSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2204
+ executionManaged?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2205
+ executionBackend?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2206
+ executionWorkflowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2207
+ nativeExecutionMode?: Prisma.NullableEnumNativeExecutionModeFieldUpdateOperationsInput | $Enums.NativeExecutionMode | null;
2208
+ startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2209
+ stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2210
+ stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2211
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2212
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
1906
2213
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1907
2214
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1908
2215
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
1909
2216
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1910
2217
  triggeredById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1911
2218
  codingRun?: Prisma.CodingRunUncheckedUpdateOneWithoutRunNestedInput;
2219
+ transcript?: Prisma.RunTranscriptUncheckedUpdateOneWithoutRunNestedInput;
1912
2220
  hostCheck?: Prisma.RunHostCheckUncheckedUpdateOneWithoutRunNestedInput;
1913
2221
  hostStatus?: Prisma.RunHostStatusUncheckedUpdateOneWithoutRunNestedInput;
1914
2222
  issueStatus?: Prisma.RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput;
@@ -1943,6 +2251,8 @@ export type RunCreateWithoutServiceStatusesInput = {
1943
2251
  startDeferredAt?: Date | string | null;
1944
2252
  stopRequestedAt?: Date | string | null;
1945
2253
  stopRequestReason?: string | null;
2254
+ stepsDropped?: number;
2255
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1946
2256
  parentCallId?: string | null;
1947
2257
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
1948
2258
  taskOverride?: string | null;
@@ -1959,6 +2269,7 @@ export type RunCreateWithoutServiceStatusesInput = {
1959
2269
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
1960
2270
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
1961
2271
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2272
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
1962
2273
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
1963
2274
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
1964
2275
  };
@@ -1985,6 +2296,8 @@ export type RunUncheckedCreateWithoutServiceStatusesInput = {
1985
2296
  startDeferredAt?: Date | string | null;
1986
2297
  stopRequestedAt?: Date | string | null;
1987
2298
  stopRequestReason?: string | null;
2299
+ stepsDropped?: number;
2300
+ runStepsLevel?: $Enums.RunStepsLevel | null;
1988
2301
  parentRunId?: string | null;
1989
2302
  parentCallId?: string | null;
1990
2303
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2001,6 +2314,7 @@ export type RunUncheckedCreateWithoutServiceStatusesInput = {
2001
2314
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2002
2315
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2003
2316
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2317
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2004
2318
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2005
2319
  };
2006
2320
  export type RunCreateOrConnectWithoutServiceStatusesInput = {
@@ -2038,6 +2352,8 @@ export type RunUpdateWithoutServiceStatusesInput = {
2038
2352
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2039
2353
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2040
2354
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2355
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2356
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2041
2357
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2042
2358
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2043
2359
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2054,6 +2370,7 @@ export type RunUpdateWithoutServiceStatusesInput = {
2054
2370
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2055
2371
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2056
2372
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2373
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2057
2374
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2058
2375
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2059
2376
  };
@@ -2080,6 +2397,8 @@ export type RunUncheckedUpdateWithoutServiceStatusesInput = {
2080
2397
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2081
2398
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2082
2399
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2400
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2401
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2083
2402
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2084
2403
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2085
2404
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2096,6 +2415,7 @@ export type RunUncheckedUpdateWithoutServiceStatusesInput = {
2096
2415
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2097
2416
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2098
2417
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2418
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2099
2419
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2100
2420
  };
2101
2421
  export type RunCreateWithoutBudgetEventsInput = {
@@ -2120,6 +2440,8 @@ export type RunCreateWithoutBudgetEventsInput = {
2120
2440
  startDeferredAt?: Date | string | null;
2121
2441
  stopRequestedAt?: Date | string | null;
2122
2442
  stopRequestReason?: string | null;
2443
+ stepsDropped?: number;
2444
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2123
2445
  parentCallId?: string | null;
2124
2446
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2125
2447
  taskOverride?: string | null;
@@ -2136,6 +2458,7 @@ export type RunCreateWithoutBudgetEventsInput = {
2136
2458
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2137
2459
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2138
2460
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2461
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
2139
2462
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2140
2463
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2141
2464
  };
@@ -2162,6 +2485,8 @@ export type RunUncheckedCreateWithoutBudgetEventsInput = {
2162
2485
  startDeferredAt?: Date | string | null;
2163
2486
  stopRequestedAt?: Date | string | null;
2164
2487
  stopRequestReason?: string | null;
2488
+ stepsDropped?: number;
2489
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2165
2490
  parentRunId?: string | null;
2166
2491
  parentCallId?: string | null;
2167
2492
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2178,6 +2503,7 @@ export type RunUncheckedCreateWithoutBudgetEventsInput = {
2178
2503
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2179
2504
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2180
2505
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2506
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2181
2507
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2182
2508
  };
2183
2509
  export type RunCreateOrConnectWithoutBudgetEventsInput = {
@@ -2215,6 +2541,8 @@ export type RunUpdateWithoutBudgetEventsInput = {
2215
2541
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2216
2542
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2217
2543
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2544
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2545
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2218
2546
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2219
2547
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2220
2548
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2231,6 +2559,7 @@ export type RunUpdateWithoutBudgetEventsInput = {
2231
2559
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2232
2560
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2233
2561
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2562
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2234
2563
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2235
2564
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2236
2565
  };
@@ -2257,6 +2586,8 @@ export type RunUncheckedUpdateWithoutBudgetEventsInput = {
2257
2586
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2258
2587
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2259
2588
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2589
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2590
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2260
2591
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2261
2592
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2262
2593
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2273,6 +2604,7 @@ export type RunUncheckedUpdateWithoutBudgetEventsInput = {
2273
2604
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2274
2605
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2275
2606
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2607
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2276
2608
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2277
2609
  };
2278
2610
  export type RunCreateWithoutNativeGatewaySessionInput = {
@@ -2297,6 +2629,8 @@ export type RunCreateWithoutNativeGatewaySessionInput = {
2297
2629
  startDeferredAt?: Date | string | null;
2298
2630
  stopRequestedAt?: Date | string | null;
2299
2631
  stopRequestReason?: string | null;
2632
+ stepsDropped?: number;
2633
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2300
2634
  parentCallId?: string | null;
2301
2635
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2302
2636
  taskOverride?: string | null;
@@ -2313,6 +2647,7 @@ export type RunCreateWithoutNativeGatewaySessionInput = {
2313
2647
  budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
2314
2648
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2315
2649
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
2650
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
2316
2651
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2317
2652
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2318
2653
  };
@@ -2339,6 +2674,8 @@ export type RunUncheckedCreateWithoutNativeGatewaySessionInput = {
2339
2674
  startDeferredAt?: Date | string | null;
2340
2675
  stopRequestedAt?: Date | string | null;
2341
2676
  stopRequestReason?: string | null;
2677
+ stepsDropped?: number;
2678
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2342
2679
  parentRunId?: string | null;
2343
2680
  parentCallId?: string | null;
2344
2681
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2355,6 +2692,7 @@ export type RunUncheckedCreateWithoutNativeGatewaySessionInput = {
2355
2692
  budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
2356
2693
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2357
2694
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
2695
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2358
2696
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2359
2697
  };
2360
2698
  export type RunCreateOrConnectWithoutNativeGatewaySessionInput = {
@@ -2392,6 +2730,8 @@ export type RunUpdateWithoutNativeGatewaySessionInput = {
2392
2730
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2393
2731
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2394
2732
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2733
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2734
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2395
2735
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2396
2736
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2397
2737
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2408,6 +2748,7 @@ export type RunUpdateWithoutNativeGatewaySessionInput = {
2408
2748
  budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2409
2749
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2410
2750
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
2751
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2411
2752
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2412
2753
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2413
2754
  };
@@ -2434,6 +2775,8 @@ export type RunUncheckedUpdateWithoutNativeGatewaySessionInput = {
2434
2775
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2435
2776
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2436
2777
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2778
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2779
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2437
2780
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2438
2781
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2439
2782
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2450,6 +2793,7 @@ export type RunUncheckedUpdateWithoutNativeGatewaySessionInput = {
2450
2793
  budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2451
2794
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2452
2795
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
2796
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2453
2797
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2454
2798
  };
2455
2799
  export type RunCreateWithoutNativeWarmWorkerInput = {
@@ -2474,6 +2818,8 @@ export type RunCreateWithoutNativeWarmWorkerInput = {
2474
2818
  startDeferredAt?: Date | string | null;
2475
2819
  stopRequestedAt?: Date | string | null;
2476
2820
  stopRequestReason?: string | null;
2821
+ stepsDropped?: number;
2822
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2477
2823
  parentCallId?: string | null;
2478
2824
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2479
2825
  taskOverride?: string | null;
@@ -2490,6 +2836,7 @@ export type RunCreateWithoutNativeWarmWorkerInput = {
2490
2836
  budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
2491
2837
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2492
2838
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2839
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
2493
2840
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2494
2841
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2495
2842
  };
@@ -2516,6 +2863,8 @@ export type RunUncheckedCreateWithoutNativeWarmWorkerInput = {
2516
2863
  startDeferredAt?: Date | string | null;
2517
2864
  stopRequestedAt?: Date | string | null;
2518
2865
  stopRequestReason?: string | null;
2866
+ stepsDropped?: number;
2867
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2519
2868
  parentRunId?: string | null;
2520
2869
  parentCallId?: string | null;
2521
2870
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2532,6 +2881,7 @@ export type RunUncheckedCreateWithoutNativeWarmWorkerInput = {
2532
2881
  budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
2533
2882
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2534
2883
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2884
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2535
2885
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2536
2886
  };
2537
2887
  export type RunCreateOrConnectWithoutNativeWarmWorkerInput = {
@@ -2569,6 +2919,8 @@ export type RunUpdateWithoutNativeWarmWorkerInput = {
2569
2919
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2570
2920
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2571
2921
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2922
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2923
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2572
2924
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2573
2925
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2574
2926
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2585,6 +2937,7 @@ export type RunUpdateWithoutNativeWarmWorkerInput = {
2585
2937
  budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
2586
2938
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2587
2939
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2940
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2588
2941
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2589
2942
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2590
2943
  };
@@ -2611,6 +2964,8 @@ export type RunUncheckedUpdateWithoutNativeWarmWorkerInput = {
2611
2964
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2612
2965
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2613
2966
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2967
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
2968
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2614
2969
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2615
2970
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2616
2971
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2627,6 +2982,7 @@ export type RunUncheckedUpdateWithoutNativeWarmWorkerInput = {
2627
2982
  budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
2628
2983
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2629
2984
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2985
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2630
2986
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2631
2987
  };
2632
2988
  export type RunCreateWithoutHostCheckInput = {
@@ -2651,6 +3007,8 @@ export type RunCreateWithoutHostCheckInput = {
2651
3007
  startDeferredAt?: Date | string | null;
2652
3008
  stopRequestedAt?: Date | string | null;
2653
3009
  stopRequestReason?: string | null;
3010
+ stepsDropped?: number;
3011
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2654
3012
  parentCallId?: string | null;
2655
3013
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2656
3014
  taskOverride?: string | null;
@@ -2667,6 +3025,7 @@ export type RunCreateWithoutHostCheckInput = {
2667
3025
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2668
3026
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2669
3027
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3028
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
2670
3029
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2671
3030
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2672
3031
  };
@@ -2693,6 +3052,8 @@ export type RunUncheckedCreateWithoutHostCheckInput = {
2693
3052
  startDeferredAt?: Date | string | null;
2694
3053
  stopRequestedAt?: Date | string | null;
2695
3054
  stopRequestReason?: string | null;
3055
+ stepsDropped?: number;
3056
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2696
3057
  parentRunId?: string | null;
2697
3058
  parentCallId?: string | null;
2698
3059
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2709,6 +3070,7 @@ export type RunUncheckedCreateWithoutHostCheckInput = {
2709
3070
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2710
3071
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2711
3072
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
3073
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2712
3074
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2713
3075
  };
2714
3076
  export type RunCreateOrConnectWithoutHostCheckInput = {
@@ -2746,6 +3108,8 @@ export type RunUpdateWithoutHostCheckInput = {
2746
3108
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2747
3109
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2748
3110
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3111
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3112
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2749
3113
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2750
3114
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2751
3115
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2762,6 +3126,7 @@ export type RunUpdateWithoutHostCheckInput = {
2762
3126
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2763
3127
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2764
3128
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
3129
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2765
3130
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2766
3131
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2767
3132
  };
@@ -2788,6 +3153,8 @@ export type RunUncheckedUpdateWithoutHostCheckInput = {
2788
3153
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2789
3154
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2790
3155
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3156
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3157
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2791
3158
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2792
3159
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2793
3160
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2804,6 +3171,7 @@ export type RunUncheckedUpdateWithoutHostCheckInput = {
2804
3171
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2805
3172
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2806
3173
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
3174
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2807
3175
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2808
3176
  };
2809
3177
  export type RunCreateWithoutHostStatusInput = {
@@ -2828,6 +3196,8 @@ export type RunCreateWithoutHostStatusInput = {
2828
3196
  startDeferredAt?: Date | string | null;
2829
3197
  stopRequestedAt?: Date | string | null;
2830
3198
  stopRequestReason?: string | null;
3199
+ stepsDropped?: number;
3200
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2831
3201
  parentCallId?: string | null;
2832
3202
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
2833
3203
  taskOverride?: string | null;
@@ -2844,6 +3214,7 @@ export type RunCreateWithoutHostStatusInput = {
2844
3214
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
2845
3215
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
2846
3216
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3217
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
2847
3218
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
2848
3219
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
2849
3220
  };
@@ -2870,6 +3241,8 @@ export type RunUncheckedCreateWithoutHostStatusInput = {
2870
3241
  startDeferredAt?: Date | string | null;
2871
3242
  stopRequestedAt?: Date | string | null;
2872
3243
  stopRequestReason?: string | null;
3244
+ stepsDropped?: number;
3245
+ runStepsLevel?: $Enums.RunStepsLevel | null;
2873
3246
  parentRunId?: string | null;
2874
3247
  parentCallId?: string | null;
2875
3248
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -2886,6 +3259,7 @@ export type RunUncheckedCreateWithoutHostStatusInput = {
2886
3259
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
2887
3260
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
2888
3261
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
3262
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
2889
3263
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
2890
3264
  };
2891
3265
  export type RunCreateOrConnectWithoutHostStatusInput = {
@@ -2923,6 +3297,8 @@ export type RunUpdateWithoutHostStatusInput = {
2923
3297
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2924
3298
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2925
3299
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3300
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3301
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2926
3302
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2927
3303
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
2928
3304
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2939,6 +3315,7 @@ export type RunUpdateWithoutHostStatusInput = {
2939
3315
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
2940
3316
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
2941
3317
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
3318
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
2942
3319
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
2943
3320
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
2944
3321
  };
@@ -2965,6 +3342,8 @@ export type RunUncheckedUpdateWithoutHostStatusInput = {
2965
3342
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2966
3343
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2967
3344
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3345
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3346
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
2968
3347
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2969
3348
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2970
3349
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -2981,6 +3360,7 @@ export type RunUncheckedUpdateWithoutHostStatusInput = {
2981
3360
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
2982
3361
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
2983
3362
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
3363
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
2984
3364
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
2985
3365
  };
2986
3366
  export type RunCreateWithoutIssueStatusInput = {
@@ -3005,6 +3385,8 @@ export type RunCreateWithoutIssueStatusInput = {
3005
3385
  startDeferredAt?: Date | string | null;
3006
3386
  stopRequestedAt?: Date | string | null;
3007
3387
  stopRequestReason?: string | null;
3388
+ stepsDropped?: number;
3389
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3008
3390
  parentCallId?: string | null;
3009
3391
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
3010
3392
  taskOverride?: string | null;
@@ -3021,6 +3403,7 @@ export type RunCreateWithoutIssueStatusInput = {
3021
3403
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3022
3404
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3023
3405
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3406
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
3024
3407
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
3025
3408
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
3026
3409
  };
@@ -3047,6 +3430,8 @@ export type RunUncheckedCreateWithoutIssueStatusInput = {
3047
3430
  startDeferredAt?: Date | string | null;
3048
3431
  stopRequestedAt?: Date | string | null;
3049
3432
  stopRequestReason?: string | null;
3433
+ stepsDropped?: number;
3434
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3050
3435
  parentRunId?: string | null;
3051
3436
  parentCallId?: string | null;
3052
3437
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -3063,6 +3448,7 @@ export type RunUncheckedCreateWithoutIssueStatusInput = {
3063
3448
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3064
3449
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3065
3450
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
3451
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
3066
3452
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
3067
3453
  };
3068
3454
  export type RunCreateOrConnectWithoutIssueStatusInput = {
@@ -3100,6 +3486,8 @@ export type RunUpdateWithoutIssueStatusInput = {
3100
3486
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3101
3487
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3102
3488
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3489
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3490
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3103
3491
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3104
3492
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3105
3493
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3116,6 +3504,7 @@ export type RunUpdateWithoutIssueStatusInput = {
3116
3504
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3117
3505
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3118
3506
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
3507
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3119
3508
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
3120
3509
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3121
3510
  };
@@ -3142,6 +3531,8 @@ export type RunUncheckedUpdateWithoutIssueStatusInput = {
3142
3531
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3143
3532
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3144
3533
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3534
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3535
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3145
3536
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3146
3537
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3147
3538
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3158,6 +3549,7 @@ export type RunUncheckedUpdateWithoutIssueStatusInput = {
3158
3549
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3159
3550
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3160
3551
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
3552
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3161
3553
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3162
3554
  };
3163
3555
  export type RunCreateWithoutAttributionInput = {
@@ -3182,6 +3574,8 @@ export type RunCreateWithoutAttributionInput = {
3182
3574
  startDeferredAt?: Date | string | null;
3183
3575
  stopRequestedAt?: Date | string | null;
3184
3576
  stopRequestReason?: string | null;
3577
+ stepsDropped?: number;
3578
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3185
3579
  parentCallId?: string | null;
3186
3580
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
3187
3581
  taskOverride?: string | null;
@@ -3198,6 +3592,7 @@ export type RunCreateWithoutAttributionInput = {
3198
3592
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3199
3593
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3200
3594
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3595
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
3201
3596
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
3202
3597
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
3203
3598
  };
@@ -3224,6 +3619,8 @@ export type RunUncheckedCreateWithoutAttributionInput = {
3224
3619
  startDeferredAt?: Date | string | null;
3225
3620
  stopRequestedAt?: Date | string | null;
3226
3621
  stopRequestReason?: string | null;
3622
+ stepsDropped?: number;
3623
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3227
3624
  parentRunId?: string | null;
3228
3625
  parentCallId?: string | null;
3229
3626
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -3240,6 +3637,7 @@ export type RunUncheckedCreateWithoutAttributionInput = {
3240
3637
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3241
3638
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3242
3639
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
3640
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
3243
3641
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
3244
3642
  };
3245
3643
  export type RunCreateOrConnectWithoutAttributionInput = {
@@ -3277,6 +3675,8 @@ export type RunUpdateWithoutAttributionInput = {
3277
3675
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3278
3676
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3279
3677
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3678
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3679
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3280
3680
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3281
3681
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3282
3682
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3293,6 +3693,7 @@ export type RunUpdateWithoutAttributionInput = {
3293
3693
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3294
3694
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3295
3695
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
3696
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3296
3697
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
3297
3698
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3298
3699
  };
@@ -3319,6 +3720,8 @@ export type RunUncheckedUpdateWithoutAttributionInput = {
3319
3720
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3320
3721
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3321
3722
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3723
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3724
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3322
3725
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3323
3726
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3324
3727
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3335,6 +3738,7 @@ export type RunUncheckedUpdateWithoutAttributionInput = {
3335
3738
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3336
3739
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3337
3740
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
3741
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3338
3742
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3339
3743
  };
3340
3744
  export type RunCreateWithoutModelUsageInput = {
@@ -3359,6 +3763,8 @@ export type RunCreateWithoutModelUsageInput = {
3359
3763
  startDeferredAt?: Date | string | null;
3360
3764
  stopRequestedAt?: Date | string | null;
3361
3765
  stopRequestReason?: string | null;
3766
+ stepsDropped?: number;
3767
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3362
3768
  parentCallId?: string | null;
3363
3769
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
3364
3770
  taskOverride?: string | null;
@@ -3375,6 +3781,7 @@ export type RunCreateWithoutModelUsageInput = {
3375
3781
  localPullRequest?: Prisma.LocalPullRequestCreateNestedOneWithoutRunInput;
3376
3782
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3377
3783
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3784
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
3378
3785
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
3379
3786
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
3380
3787
  };
@@ -3401,6 +3808,8 @@ export type RunUncheckedCreateWithoutModelUsageInput = {
3401
3808
  startDeferredAt?: Date | string | null;
3402
3809
  stopRequestedAt?: Date | string | null;
3403
3810
  stopRequestReason?: string | null;
3811
+ stepsDropped?: number;
3812
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3404
3813
  parentRunId?: string | null;
3405
3814
  parentCallId?: string | null;
3406
3815
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -3417,6 +3826,7 @@ export type RunUncheckedCreateWithoutModelUsageInput = {
3417
3826
  localPullRequest?: Prisma.LocalPullRequestUncheckedCreateNestedOneWithoutRunInput;
3418
3827
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3419
3828
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
3829
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
3420
3830
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
3421
3831
  };
3422
3832
  export type RunCreateOrConnectWithoutModelUsageInput = {
@@ -3454,6 +3864,8 @@ export type RunUpdateWithoutModelUsageInput = {
3454
3864
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3455
3865
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3456
3866
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3867
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3868
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3457
3869
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3458
3870
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3459
3871
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3470,6 +3882,7 @@ export type RunUpdateWithoutModelUsageInput = {
3470
3882
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3471
3883
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3472
3884
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
3885
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3473
3886
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
3474
3887
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3475
3888
  };
@@ -3496,6 +3909,8 @@ export type RunUncheckedUpdateWithoutModelUsageInput = {
3496
3909
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3497
3910
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3498
3911
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3912
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
3913
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3499
3914
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3500
3915
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3501
3916
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3512,6 +3927,7 @@ export type RunUncheckedUpdateWithoutModelUsageInput = {
3512
3927
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3513
3928
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3514
3929
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
3930
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3515
3931
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3516
3932
  };
3517
3933
  export type RunCreateWithoutLocalPullRequestInput = {
@@ -3536,6 +3952,8 @@ export type RunCreateWithoutLocalPullRequestInput = {
3536
3952
  startDeferredAt?: Date | string | null;
3537
3953
  stopRequestedAt?: Date | string | null;
3538
3954
  stopRequestReason?: string | null;
3955
+ stepsDropped?: number;
3956
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3539
3957
  parentCallId?: string | null;
3540
3958
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
3541
3959
  taskOverride?: string | null;
@@ -3552,6 +3970,7 @@ export type RunCreateWithoutLocalPullRequestInput = {
3552
3970
  budgetEvents?: Prisma.RunBudgetEventCreateNestedManyWithoutRunInput;
3553
3971
  nativeGatewaySession?: Prisma.NativeGatewaySessionCreateNestedOneWithoutRunInput;
3554
3972
  nativeWarmWorker?: Prisma.NativeWarmWorkerCreateNestedOneWithoutRunInput;
3973
+ steps?: Prisma.RunStepCreateNestedManyWithoutRunInput;
3555
3974
  parentRun?: Prisma.RunCreateNestedOneWithoutChildRunsInput;
3556
3975
  childRuns?: Prisma.RunCreateNestedManyWithoutParentRunInput;
3557
3976
  };
@@ -3578,6 +3997,8 @@ export type RunUncheckedCreateWithoutLocalPullRequestInput = {
3578
3997
  startDeferredAt?: Date | string | null;
3579
3998
  stopRequestedAt?: Date | string | null;
3580
3999
  stopRequestReason?: string | null;
4000
+ stepsDropped?: number;
4001
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3581
4002
  parentRunId?: string | null;
3582
4003
  parentCallId?: string | null;
3583
4004
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -3594,6 +4015,7 @@ export type RunUncheckedCreateWithoutLocalPullRequestInput = {
3594
4015
  budgetEvents?: Prisma.RunBudgetEventUncheckedCreateNestedManyWithoutRunInput;
3595
4016
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedCreateNestedOneWithoutRunInput;
3596
4017
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedCreateNestedOneWithoutRunInput;
4018
+ steps?: Prisma.RunStepUncheckedCreateNestedManyWithoutRunInput;
3597
4019
  childRuns?: Prisma.RunUncheckedCreateNestedManyWithoutParentRunInput;
3598
4020
  };
3599
4021
  export type RunCreateOrConnectWithoutLocalPullRequestInput = {
@@ -3631,6 +4053,8 @@ export type RunUpdateWithoutLocalPullRequestInput = {
3631
4053
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3632
4054
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3633
4055
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4056
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4057
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3634
4058
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3635
4059
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3636
4060
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3647,6 +4071,7 @@ export type RunUpdateWithoutLocalPullRequestInput = {
3647
4071
  budgetEvents?: Prisma.RunBudgetEventUpdateManyWithoutRunNestedInput;
3648
4072
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3649
4073
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
4074
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3650
4075
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
3651
4076
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3652
4077
  };
@@ -3673,6 +4098,8 @@ export type RunUncheckedUpdateWithoutLocalPullRequestInput = {
3673
4098
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3674
4099
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3675
4100
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4101
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4102
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3676
4103
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3677
4104
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3678
4105
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3689,6 +4116,7 @@ export type RunUncheckedUpdateWithoutLocalPullRequestInput = {
3689
4116
  budgetEvents?: Prisma.RunBudgetEventUncheckedUpdateManyWithoutRunNestedInput;
3690
4117
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3691
4118
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
4119
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3692
4120
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3693
4121
  };
3694
4122
  export type RunCreateManyAgentInput = {
@@ -3713,6 +4141,8 @@ export type RunCreateManyAgentInput = {
3713
4141
  startDeferredAt?: Date | string | null;
3714
4142
  stopRequestedAt?: Date | string | null;
3715
4143
  stopRequestReason?: string | null;
4144
+ stepsDropped?: number;
4145
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3716
4146
  parentRunId?: string | null;
3717
4147
  parentCallId?: string | null;
3718
4148
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
@@ -3741,6 +4171,8 @@ export type RunUpdateWithoutAgentInput = {
3741
4171
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3742
4172
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3743
4173
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4174
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4175
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3744
4176
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3745
4177
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3746
4178
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3757,6 +4189,7 @@ export type RunUpdateWithoutAgentInput = {
3757
4189
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3758
4190
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3759
4191
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
4192
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3760
4193
  parentRun?: Prisma.RunUpdateOneWithoutChildRunsNestedInput;
3761
4194
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3762
4195
  };
@@ -3782,6 +4215,8 @@ export type RunUncheckedUpdateWithoutAgentInput = {
3782
4215
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3783
4216
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3784
4217
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4218
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4219
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3785
4220
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3786
4221
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3787
4222
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3799,6 +4234,7 @@ export type RunUncheckedUpdateWithoutAgentInput = {
3799
4234
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3800
4235
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3801
4236
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
4237
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3802
4238
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3803
4239
  };
3804
4240
  export type RunUncheckedUpdateManyWithoutAgentInput = {
@@ -3823,6 +4259,8 @@ export type RunUncheckedUpdateManyWithoutAgentInput = {
3823
4259
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3824
4260
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3825
4261
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4262
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4263
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3826
4264
  parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3827
4265
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3828
4266
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
@@ -3852,6 +4290,8 @@ export type RunCreateManyParentRunInput = {
3852
4290
  startDeferredAt?: Date | string | null;
3853
4291
  stopRequestedAt?: Date | string | null;
3854
4292
  stopRequestReason?: string | null;
4293
+ stepsDropped?: number;
4294
+ runStepsLevel?: $Enums.RunStepsLevel | null;
3855
4295
  parentCallId?: string | null;
3856
4296
  grantedParentMemoryKeys?: Prisma.RunCreategrantedParentMemoryKeysInput | string[];
3857
4297
  taskOverride?: string | null;
@@ -3879,6 +4319,8 @@ export type RunUpdateWithoutParentRunInput = {
3879
4319
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3880
4320
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3881
4321
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4322
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4323
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3882
4324
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3883
4325
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3884
4326
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3896,6 +4338,7 @@ export type RunUpdateWithoutParentRunInput = {
3896
4338
  localPullRequest?: Prisma.LocalPullRequestUpdateOneWithoutRunNestedInput;
3897
4339
  nativeGatewaySession?: Prisma.NativeGatewaySessionUpdateOneWithoutRunNestedInput;
3898
4340
  nativeWarmWorker?: Prisma.NativeWarmWorkerUpdateOneWithoutRunNestedInput;
4341
+ steps?: Prisma.RunStepUpdateManyWithoutRunNestedInput;
3899
4342
  childRuns?: Prisma.RunUpdateManyWithoutParentRunNestedInput;
3900
4343
  };
3901
4344
  export type RunUncheckedUpdateWithoutParentRunInput = {
@@ -3921,6 +4364,8 @@ export type RunUncheckedUpdateWithoutParentRunInput = {
3921
4364
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3922
4365
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3923
4366
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4367
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4368
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3924
4369
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3925
4370
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3926
4371
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3937,6 +4382,7 @@ export type RunUncheckedUpdateWithoutParentRunInput = {
3937
4382
  localPullRequest?: Prisma.LocalPullRequestUncheckedUpdateOneWithoutRunNestedInput;
3938
4383
  nativeGatewaySession?: Prisma.NativeGatewaySessionUncheckedUpdateOneWithoutRunNestedInput;
3939
4384
  nativeWarmWorker?: Prisma.NativeWarmWorkerUncheckedUpdateOneWithoutRunNestedInput;
4385
+ steps?: Prisma.RunStepUncheckedUpdateManyWithoutRunNestedInput;
3940
4386
  childRuns?: Prisma.RunUncheckedUpdateManyWithoutParentRunNestedInput;
3941
4387
  };
3942
4388
  export type RunUncheckedUpdateManyWithoutParentRunInput = {
@@ -3962,6 +4408,8 @@ export type RunUncheckedUpdateManyWithoutParentRunInput = {
3962
4408
  startDeferredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3963
4409
  stopRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3964
4410
  stopRequestReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4411
+ stepsDropped?: Prisma.IntFieldUpdateOperationsInput | number;
4412
+ runStepsLevel?: Prisma.NullableEnumRunStepsLevelFieldUpdateOperationsInput | $Enums.RunStepsLevel | null;
3965
4413
  parentCallId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3966
4414
  grantedParentMemoryKeys?: Prisma.RunUpdategrantedParentMemoryKeysInput | string[];
3967
4415
  taskOverride?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3974,12 +4422,14 @@ export type RunCountOutputType = {
3974
4422
  modelUsage: number;
3975
4423
  serviceStatuses: number;
3976
4424
  budgetEvents: number;
4425
+ steps: number;
3977
4426
  childRuns: number;
3978
4427
  };
3979
4428
  export type RunCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3980
4429
  modelUsage?: boolean | RunCountOutputTypeCountModelUsageArgs;
3981
4430
  serviceStatuses?: boolean | RunCountOutputTypeCountServiceStatusesArgs;
3982
4431
  budgetEvents?: boolean | RunCountOutputTypeCountBudgetEventsArgs;
4432
+ steps?: boolean | RunCountOutputTypeCountStepsArgs;
3983
4433
  childRuns?: boolean | RunCountOutputTypeCountChildRunsArgs;
3984
4434
  };
3985
4435
  /**
@@ -4009,6 +4459,12 @@ export type RunCountOutputTypeCountServiceStatusesArgs<ExtArgs extends runtime.T
4009
4459
  export type RunCountOutputTypeCountBudgetEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4010
4460
  where?: Prisma.RunBudgetEventWhereInput;
4011
4461
  };
4462
+ /**
4463
+ * RunCountOutputType without action
4464
+ */
4465
+ export type RunCountOutputTypeCountStepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4466
+ where?: Prisma.RunStepWhereInput;
4467
+ };
4012
4468
  /**
4013
4469
  * RunCountOutputType without action
4014
4470
  */
@@ -4038,6 +4494,8 @@ export type RunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
4038
4494
  startDeferredAt?: boolean;
4039
4495
  stopRequestedAt?: boolean;
4040
4496
  stopRequestReason?: boolean;
4497
+ stepsDropped?: boolean;
4498
+ runStepsLevel?: boolean;
4041
4499
  parentRunId?: boolean;
4042
4500
  parentCallId?: boolean;
4043
4501
  grantedParentMemoryKeys?: boolean;
@@ -4056,6 +4514,7 @@ export type RunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
4056
4514
  localPullRequest?: boolean | Prisma.Run$localPullRequestArgs<ExtArgs>;
4057
4515
  nativeGatewaySession?: boolean | Prisma.Run$nativeGatewaySessionArgs<ExtArgs>;
4058
4516
  nativeWarmWorker?: boolean | Prisma.Run$nativeWarmWorkerArgs<ExtArgs>;
4517
+ steps?: boolean | Prisma.Run$stepsArgs<ExtArgs>;
4059
4518
  parentRun?: boolean | Prisma.Run$parentRunArgs<ExtArgs>;
4060
4519
  childRuns?: boolean | Prisma.Run$childRunsArgs<ExtArgs>;
4061
4520
  _count?: boolean | Prisma.RunCountOutputTypeDefaultArgs<ExtArgs>;
@@ -4083,6 +4542,8 @@ export type RunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
4083
4542
  startDeferredAt?: boolean;
4084
4543
  stopRequestedAt?: boolean;
4085
4544
  stopRequestReason?: boolean;
4545
+ stepsDropped?: boolean;
4546
+ runStepsLevel?: boolean;
4086
4547
  parentRunId?: boolean;
4087
4548
  parentCallId?: boolean;
4088
4549
  grantedParentMemoryKeys?: boolean;
@@ -4114,6 +4575,8 @@ export type RunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
4114
4575
  startDeferredAt?: boolean;
4115
4576
  stopRequestedAt?: boolean;
4116
4577
  stopRequestReason?: boolean;
4578
+ stepsDropped?: boolean;
4579
+ runStepsLevel?: boolean;
4117
4580
  parentRunId?: boolean;
4118
4581
  parentCallId?: boolean;
4119
4582
  grantedParentMemoryKeys?: boolean;
@@ -4145,13 +4608,15 @@ export type RunSelectScalar = {
4145
4608
  startDeferredAt?: boolean;
4146
4609
  stopRequestedAt?: boolean;
4147
4610
  stopRequestReason?: boolean;
4611
+ stepsDropped?: boolean;
4612
+ runStepsLevel?: boolean;
4148
4613
  parentRunId?: boolean;
4149
4614
  parentCallId?: boolean;
4150
4615
  grantedParentMemoryKeys?: boolean;
4151
4616
  taskOverride?: boolean;
4152
4617
  triggeredById?: boolean;
4153
4618
  };
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"]>;
4619
+ 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" | "stepsDropped" | "runStepsLevel" | "parentRunId" | "parentCallId" | "grantedParentMemoryKeys" | "taskOverride" | "triggeredById", ExtArgs["result"]["run"]>;
4155
4620
  export type RunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4156
4621
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
4157
4622
  codingRun?: boolean | Prisma.Run$codingRunArgs<ExtArgs>;
@@ -4166,6 +4631,7 @@ export type RunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
4166
4631
  localPullRequest?: boolean | Prisma.Run$localPullRequestArgs<ExtArgs>;
4167
4632
  nativeGatewaySession?: boolean | Prisma.Run$nativeGatewaySessionArgs<ExtArgs>;
4168
4633
  nativeWarmWorker?: boolean | Prisma.Run$nativeWarmWorkerArgs<ExtArgs>;
4634
+ steps?: boolean | Prisma.Run$stepsArgs<ExtArgs>;
4169
4635
  parentRun?: boolean | Prisma.Run$parentRunArgs<ExtArgs>;
4170
4636
  childRuns?: boolean | Prisma.Run$childRunsArgs<ExtArgs>;
4171
4637
  _count?: boolean | Prisma.RunCountOutputTypeDefaultArgs<ExtArgs>;
@@ -4203,6 +4669,7 @@ export type $RunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4203
4669
  * The warm pool worker this sandbox-mode run claimed (native sandbox phase 6).
4204
4670
  */
4205
4671
  nativeWarmWorker: Prisma.$NativeWarmWorkerPayload<ExtArgs> | null;
4672
+ steps: Prisma.$RunStepPayload<ExtArgs>[];
4206
4673
  parentRun: Prisma.$RunPayload<ExtArgs> | null;
4207
4674
  childRuns: Prisma.$RunPayload<ExtArgs>[];
4208
4675
  };
@@ -4277,6 +4744,15 @@ export type $RunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
4277
4744
  */
4278
4745
  stopRequestedAt: Date | null;
4279
4746
  stopRequestReason: string | null;
4747
+ /**
4748
+ * Run steps (RunStep) not recorded because the run already had MAX_RUN_STEPS (2,000).
4749
+ */
4750
+ stepsDropped: number;
4751
+ /**
4752
+ * The run steps level this run records, fixed at dispatch: min(WARDBY_RUN_STEPS, Agent.runSteps
4753
+ * or summary). Null on runs from before the field (they record at most summary).
4754
+ */
4755
+ runStepsLevel: $Enums.RunStepsLevel | null;
4280
4756
  /**
4281
4757
  * Un-phased: sub-agent dispatch (see AgentSubAgent). Null for a
4282
4758
  * top-level run; set when this run was created by a parent run's
@@ -4657,6 +5133,7 @@ export interface Prisma__RunClient<T, Null = never, ExtArgs extends runtime.Type
4657
5133
  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
5134
  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
5135
  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>;
5136
+ steps<T extends Prisma.Run$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Run$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4660
5137
  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>;
4661
5138
  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>;
4662
5139
  /**
@@ -4706,6 +5183,8 @@ export interface RunFieldRefs {
4706
5183
  readonly startDeferredAt: Prisma.FieldRef<"Run", 'DateTime'>;
4707
5184
  readonly stopRequestedAt: Prisma.FieldRef<"Run", 'DateTime'>;
4708
5185
  readonly stopRequestReason: Prisma.FieldRef<"Run", 'String'>;
5186
+ readonly stepsDropped: Prisma.FieldRef<"Run", 'Int'>;
5187
+ readonly runStepsLevel: Prisma.FieldRef<"Run", 'RunStepsLevel'>;
4709
5188
  readonly parentRunId: Prisma.FieldRef<"Run", 'String'>;
4710
5189
  readonly parentCallId: Prisma.FieldRef<"Run", 'String'>;
4711
5190
  readonly grantedParentMemoryKeys: Prisma.FieldRef<"Run", 'String[]'>;
@@ -5325,6 +5804,29 @@ export type Run$nativeWarmWorkerArgs<ExtArgs extends runtime.Types.Extensions.In
5325
5804
  include?: Prisma.NativeWarmWorkerInclude<ExtArgs> | null;
5326
5805
  where?: Prisma.NativeWarmWorkerWhereInput;
5327
5806
  };
5807
+ /**
5808
+ * Run.steps
5809
+ */
5810
+ export type Run$stepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5811
+ /**
5812
+ * Select specific fields to fetch from the RunStep
5813
+ */
5814
+ select?: Prisma.RunStepSelect<ExtArgs> | null;
5815
+ /**
5816
+ * Omit specific fields from the RunStep
5817
+ */
5818
+ omit?: Prisma.RunStepOmit<ExtArgs> | null;
5819
+ /**
5820
+ * Choose, which related nodes to fetch as well
5821
+ */
5822
+ include?: Prisma.RunStepInclude<ExtArgs> | null;
5823
+ where?: Prisma.RunStepWhereInput;
5824
+ orderBy?: Prisma.RunStepOrderByWithRelationInput | Prisma.RunStepOrderByWithRelationInput[];
5825
+ cursor?: Prisma.RunStepWhereUniqueInput;
5826
+ take?: number;
5827
+ skip?: number;
5828
+ distinct?: Prisma.RunStepScalarFieldEnum | Prisma.RunStepScalarFieldEnum[];
5829
+ };
5328
5830
  /**
5329
5831
  * Run.parentRun
5330
5832
  */