@qawolf/api-contracts 0.129.0 → 0.132.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 (154) hide show
  1. package/dist/v1/activity/wait.d.ts +2 -2
  2. package/dist/v1/agent/get.d.ts +1 -1
  3. package/dist/v1/agent/send.d.ts +1 -1
  4. package/dist/v1/agent/status.d.ts +1 -1
  5. package/dist/v1/attempt/get.d.ts +14 -14
  6. package/dist/v1/deployment/verdict.d.ts +7 -7
  7. package/dist/v1/deployment/verdictParts.d.ts +2 -2
  8. package/dist/v1/environment/find.d.ts +2 -0
  9. package/dist/v1/environment/find.d.ts.map +1 -1
  10. package/dist/v1/environment/find.js +14 -1
  11. package/dist/v1/environment/find.js.map +1 -1
  12. package/dist/v1/environment/promote.d.ts +56 -1
  13. package/dist/v1/environment/promote.d.ts.map +1 -1
  14. package/dist/v1/environment/promote.js.map +1 -1
  15. package/dist/v1/flow/getHistory.d.ts +1 -1
  16. package/dist/v1/ids.d.ts +2 -0
  17. package/dist/v1/ids.d.ts.map +1 -1
  18. package/dist/v1/ids.js +4 -0
  19. package/dist/v1/ids.js.map +1 -1
  20. package/dist/v1/index.d.ts +1397 -224
  21. package/dist/v1/index.d.ts.map +1 -1
  22. package/dist/v1/index.js +7 -0
  23. package/dist/v1/index.js.map +1 -1
  24. package/dist/v1/investigation/get.d.ts +1 -1
  25. package/dist/v1/investigation/index.d.ts +1 -1
  26. package/dist/v1/issue/contracts.d.ts +0 -74
  27. package/dist/v1/issue/contracts.d.ts.map +1 -1
  28. package/dist/v1/issue/contracts.js +0 -2
  29. package/dist/v1/issue/contracts.js.map +1 -1
  30. package/dist/v1/narratedRecording/get.d.ts +43 -0
  31. package/dist/v1/narratedRecording/get.d.ts.map +1 -0
  32. package/dist/v1/narratedRecording/get.js +65 -0
  33. package/dist/v1/narratedRecording/get.js.map +1 -0
  34. package/dist/v1/promotion/decision.d.ts +51 -0
  35. package/dist/v1/promotion/decision.d.ts.map +1 -0
  36. package/dist/v1/promotion/decision.js +32 -0
  37. package/dist/v1/promotion/decision.js.map +1 -0
  38. package/dist/v1/promotion/find.d.ts +56 -1
  39. package/dist/v1/promotion/find.d.ts.map +1 -1
  40. package/dist/v1/promotion/find.js.map +1 -1
  41. package/dist/v1/promotion/get.d.ts +56 -1
  42. package/dist/v1/promotion/get.d.ts.map +1 -1
  43. package/dist/v1/promotion/get.js.map +1 -1
  44. package/dist/v1/promotion/index.d.ts +299 -1
  45. package/dist/v1/promotion/index.d.ts.map +1 -1
  46. package/dist/v1/promotion/index.js +3 -0
  47. package/dist/v1/promotion/index.js.map +1 -1
  48. package/dist/v1/promotion/needsPerson.d.ts +25 -0
  49. package/dist/v1/promotion/needsPerson.d.ts.map +1 -0
  50. package/dist/v1/promotion/needsPerson.js +20 -0
  51. package/dist/v1/promotion/needsPerson.js.map +1 -0
  52. package/dist/v1/promotion/reportDecision.d.ts +142 -0
  53. package/dist/v1/promotion/reportDecision.d.ts.map +1 -0
  54. package/dist/v1/promotion/reportDecision.js +72 -0
  55. package/dist/v1/promotion/reportDecision.js.map +1 -0
  56. package/dist/v1/promotion/resolve.d.ts +56 -1
  57. package/dist/v1/promotion/resolve.d.ts.map +1 -1
  58. package/dist/v1/promotion/resolve.js.map +1 -1
  59. package/dist/v1/promotion/resource.d.ts +56 -1
  60. package/dist/v1/promotion/resource.d.ts.map +1 -1
  61. package/dist/v1/promotion/resource.js +13 -0
  62. package/dist/v1/promotion/resource.js.map +1 -1
  63. package/dist/v1/promotion/validationRun.d.ts +20 -0
  64. package/dist/v1/promotion/validationRun.d.ts.map +1 -0
  65. package/dist/v1/promotion/validationRun.js +16 -0
  66. package/dist/v1/promotion/validationRun.js.map +1 -0
  67. package/dist/v1/run/find.d.ts +1 -1
  68. package/dist/v1/run/get.d.ts +3 -3
  69. package/dist/v1/run/index.d.ts +5 -1
  70. package/dist/v1/run/index.d.ts.map +1 -1
  71. package/dist/v1/run/index.js +5 -1
  72. package/dist/v1/run/index.js.map +1 -1
  73. package/dist/v1/run/reattempt.d.ts +1 -1
  74. package/dist/v1/run/summary.d.ts +1 -1
  75. package/dist/v1/run/versions.js +2 -2
  76. package/dist/v1/run/versions.js.map +1 -1
  77. package/dist/v1/runEventsWebhook/index.d.ts +10 -10
  78. package/dist/v1/runner/browserAction.d.ts +2 -2
  79. package/dist/v1/runner/browserAction.d.ts.map +1 -1
  80. package/dist/v1/runner/browserAction.js +4 -2
  81. package/dist/v1/runner/browserAction.js.map +1 -1
  82. package/dist/v1/runner/catalog.d.ts +4 -4
  83. package/dist/v1/runner/journal.d.ts +1 -1
  84. package/dist/v1/runner/journal.d.ts.map +1 -1
  85. package/dist/v1/runner/journal.js +1 -0
  86. package/dist/v1/runner/journal.js.map +1 -1
  87. package/dist/v1/runner/performAction.d.ts +2 -2
  88. package/dist/v1/runner/performActions.d.ts +2 -2
  89. package/dist/v1/runner/runnerAction.d.ts +2 -2
  90. package/dist/v1/suggestion/decide.d.ts +90 -0
  91. package/dist/v1/suggestion/decide.d.ts.map +1 -0
  92. package/dist/v1/suggestion/decide.js +35 -0
  93. package/dist/v1/suggestion/decide.js.map +1 -0
  94. package/dist/v1/suggestion/find.d.ts +87 -0
  95. package/dist/v1/suggestion/find.d.ts.map +1 -0
  96. package/dist/v1/suggestion/find.js +40 -0
  97. package/dist/v1/suggestion/find.js.map +1 -0
  98. package/dist/v1/suggestion/get.d.ts +78 -0
  99. package/dist/v1/suggestion/get.d.ts.map +1 -0
  100. package/dist/v1/suggestion/get.js +27 -0
  101. package/dist/v1/suggestion/get.js.map +1 -0
  102. package/dist/v1/suggestion/index.d.ts +240 -0
  103. package/dist/v1/suggestion/index.d.ts.map +1 -0
  104. package/dist/v1/suggestion/index.js +9 -0
  105. package/dist/v1/suggestion/index.js.map +1 -0
  106. package/dist/v1/suggestion/resource.d.ts +70 -0
  107. package/dist/v1/suggestion/resource.d.ts.map +1 -0
  108. package/dist/v1/suggestion/resource.js +63 -0
  109. package/dist/v1/suggestion/resource.js.map +1 -0
  110. package/dist/v1/trigger/configuration.d.ts +4 -0
  111. package/dist/v1/trigger/configuration.d.ts.map +1 -1
  112. package/dist/v1/trigger/configuration.js +3 -1
  113. package/dist/v1/trigger/configuration.js.map +1 -1
  114. package/dist/v1/trigger/configurationRules.d.ts +2 -11
  115. package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
  116. package/dist/v1/trigger/configurationRules.js +3 -62
  117. package/dist/v1/trigger/configurationRules.js.map +1 -1
  118. package/dist/v1/trigger/create.d.ts +8 -0
  119. package/dist/v1/trigger/create.d.ts.map +1 -1
  120. package/dist/v1/trigger/find.d.ts +4 -0
  121. package/dist/v1/trigger/find.d.ts.map +1 -1
  122. package/dist/v1/trigger/get.d.ts +4 -0
  123. package/dist/v1/trigger/get.d.ts.map +1 -1
  124. package/dist/v1/trigger/hourlyWindowField.d.ts +10 -0
  125. package/dist/v1/trigger/hourlyWindowField.d.ts.map +1 -0
  126. package/dist/v1/trigger/hourlyWindowField.js +20 -0
  127. package/dist/v1/trigger/hourlyWindowField.js.map +1 -0
  128. package/dist/v1/trigger/hourlyWindowRules.d.ts +17 -0
  129. package/dist/v1/trigger/hourlyWindowRules.d.ts.map +1 -0
  130. package/dist/v1/trigger/hourlyWindowRules.js +30 -0
  131. package/dist/v1/trigger/hourlyWindowRules.js.map +1 -0
  132. package/dist/v1/trigger/index.d.ts +32 -0
  133. package/dist/v1/trigger/index.d.ts.map +1 -1
  134. package/dist/v1/trigger/lifecycle.d.ts +8 -0
  135. package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
  136. package/dist/v1/trigger/resource.d.ts +4 -0
  137. package/dist/v1/trigger/resource.d.ts.map +1 -1
  138. package/dist/v1/trigger/scheduleFieldRules.d.ts +19 -0
  139. package/dist/v1/trigger/scheduleFieldRules.d.ts.map +1 -0
  140. package/dist/v1/trigger/scheduleFieldRules.js +65 -0
  141. package/dist/v1/trigger/scheduleFieldRules.js.map +1 -0
  142. package/dist/v1/trigger/scheduleRepeatFields.js +1 -1
  143. package/dist/v1/trigger/scheduleRepeatFields.js.map +1 -1
  144. package/dist/v1/trigger/scheduleRepeatRules.d.ts +1 -1
  145. package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -1
  146. package/dist/v1/trigger/scheduleRepeatRules.js +2 -7
  147. package/dist/v1/trigger/scheduleRepeatRules.js.map +1 -1
  148. package/dist/v1/trigger/update.d.ts +8 -0
  149. package/dist/v1/trigger/update.d.ts.map +1 -1
  150. package/package.json +1 -1
  151. package/dist/v1/issue/decideSuggestion.d.ts +0 -82
  152. package/dist/v1/issue/decideSuggestion.d.ts.map +0 -1
  153. package/dist/v1/issue/decideSuggestion.js +0 -40
  154. package/dist/v1/issue/decideSuggestion.js.map +0 -1
@@ -12,8 +12,9 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
12
12
  * the same factory with its own strict id schemas, so the contract shape can
13
13
  * never drift between the two while validation strictness stays server-owned.
14
14
  */
15
- export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt"> & {
15
+ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt" | "suggestion"> & {
16
16
  runAttempt?: RunAttemptId;
17
+ suggestion?: PublicIdSchema;
17
18
  }) => {
18
19
  activity: {
19
20
  wait: {
@@ -47,10 +48,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
47
48
  needsReview: z.ZodOptional<z.ZodBoolean>;
48
49
  runId: RunId;
49
50
  status: z.ZodEnum<{
51
+ passed: "passed";
50
52
  failed: "failed";
51
53
  queued: "queued";
52
54
  running: "running";
53
- passed: "passed";
54
55
  canceled: "canceled";
55
56
  superseded: "superseded";
56
57
  "not-found": "not-found";
@@ -67,10 +68,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
67
68
  }, z.core.$strip>>;
68
69
  sessionId: ChatSessionId;
69
70
  status: z.ZodEnum<{
71
+ failed: "failed";
70
72
  working: "working";
71
73
  "waiting-for-you": "waiting-for-you";
72
74
  completed: "completed";
73
- failed: "failed";
74
75
  cancelled: "cancelled";
75
76
  "not-found": "not-found";
76
77
  }>;
@@ -113,10 +114,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
113
114
  }, z.core.$strip>>;
114
115
  sessionId: ChatSessionId;
115
116
  status: z.ZodEnum<{
117
+ failed: "failed";
116
118
  working: "working";
117
119
  "waiting-for-you": "waiting-for-you";
118
120
  completed: "completed";
119
- failed: "failed";
120
121
  cancelled: "cancelled";
121
122
  }>;
122
123
  waitSeconds: z.ZodOptional<z.ZodNumber>;
@@ -155,10 +156,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
155
156
  readonly output: z.ZodObject<{
156
157
  sessionId: ChatSessionId;
157
158
  status: z.ZodEnum<{
159
+ failed: "failed";
158
160
  working: "working";
159
161
  "waiting-for-you": "waiting-for-you";
160
162
  completed: "completed";
161
- failed: "failed";
162
163
  cancelled: "cancelled";
163
164
  }>;
164
165
  url: z.ZodURL;
@@ -186,10 +187,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
186
187
  readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
187
188
  flowId: FlowId;
188
189
  flowStatus: z.ZodEnum<{
190
+ passed: "passed";
189
191
  failed: "failed";
190
192
  queued: "queued";
191
193
  running: "running";
192
- passed: "passed";
193
194
  canceled: "canceled";
194
195
  }>;
195
196
  retryContext: z.ZodObject<{
@@ -197,8 +198,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
197
198
  next: z.ZodOptional<z.ZodObject<{
198
199
  attemptId: PublicIdSchema;
199
200
  status: z.ZodEnum<{
200
- failed: "failed";
201
201
  passed: "passed";
202
+ failed: "failed";
202
203
  canceled: "canceled";
203
204
  skipped: "skipped";
204
205
  aborted: "aborted";
@@ -207,8 +208,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
207
208
  previous: z.ZodOptional<z.ZodObject<{
208
209
  attemptId: PublicIdSchema;
209
210
  status: z.ZodEnum<{
210
- failed: "failed";
211
211
  passed: "passed";
212
+ failed: "failed";
212
213
  canceled: "canceled";
213
214
  skipped: "skipped";
214
215
  aborted: "aborted";
@@ -218,10 +219,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
218
219
  }, z.core.$strip>;
219
220
  runId: RunId;
220
221
  runStatus: z.ZodEnum<{
222
+ passed: "passed";
221
223
  failed: "failed";
222
224
  queued: "queued";
223
225
  running: "running";
224
- passed: "passed";
225
226
  canceled: "canceled";
226
227
  superseded: "superseded";
227
228
  }>;
@@ -239,8 +240,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
239
240
  startedAt: z.ZodOptional<z.ZodISODateTime>;
240
241
  kind: z.ZodLiteral<"automated">;
241
242
  status: z.ZodEnum<{
242
- failed: "failed";
243
243
  passed: "passed";
244
+ failed: "failed";
244
245
  canceled: "canceled";
245
246
  skipped: "skipped";
246
247
  aborted: "aborted";
@@ -270,10 +271,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
270
271
  }, z.core.$strip>, z.ZodObject<{
271
272
  flowId: FlowId;
272
273
  flowStatus: z.ZodEnum<{
274
+ passed: "passed";
273
275
  failed: "failed";
274
276
  queued: "queued";
275
277
  running: "running";
276
- passed: "passed";
277
278
  canceled: "canceled";
278
279
  }>;
279
280
  retryContext: z.ZodObject<{
@@ -281,8 +282,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
281
282
  next: z.ZodOptional<z.ZodObject<{
282
283
  attemptId: PublicIdSchema;
283
284
  status: z.ZodEnum<{
284
- failed: "failed";
285
285
  passed: "passed";
286
+ failed: "failed";
286
287
  canceled: "canceled";
287
288
  skipped: "skipped";
288
289
  aborted: "aborted";
@@ -291,8 +292,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
291
292
  previous: z.ZodOptional<z.ZodObject<{
292
293
  attemptId: PublicIdSchema;
293
294
  status: z.ZodEnum<{
294
- failed: "failed";
295
295
  passed: "passed";
296
+ failed: "failed";
296
297
  canceled: "canceled";
297
298
  skipped: "skipped";
298
299
  aborted: "aborted";
@@ -302,10 +303,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
302
303
  }, z.core.$strip>;
303
304
  runId: RunId;
304
305
  runStatus: z.ZodEnum<{
306
+ passed: "passed";
305
307
  failed: "failed";
306
308
  queued: "queued";
307
309
  running: "running";
308
- passed: "passed";
309
310
  canceled: "canceled";
310
311
  superseded: "superseded";
311
312
  }>;
@@ -319,8 +320,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
319
320
  startedAt: z.ZodOptional<z.ZodISODateTime>;
320
321
  kind: z.ZodLiteral<"automated">;
321
322
  status: z.ZodEnum<{
322
- failed: "failed";
323
323
  passed: "passed";
324
+ failed: "failed";
324
325
  canceled: "canceled";
325
326
  skipped: "skipped";
326
327
  aborted: "aborted";
@@ -350,10 +351,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
350
351
  }, z.core.$strip>, z.ZodObject<{
351
352
  flowId: FlowId;
352
353
  flowStatus: z.ZodEnum<{
354
+ passed: "passed";
353
355
  failed: "failed";
354
356
  queued: "queued";
355
357
  running: "running";
356
- passed: "passed";
357
358
  canceled: "canceled";
358
359
  }>;
359
360
  retryContext: z.ZodObject<{
@@ -361,8 +362,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
361
362
  next: z.ZodOptional<z.ZodObject<{
362
363
  attemptId: PublicIdSchema;
363
364
  status: z.ZodEnum<{
364
- failed: "failed";
365
365
  passed: "passed";
366
+ failed: "failed";
366
367
  canceled: "canceled";
367
368
  skipped: "skipped";
368
369
  aborted: "aborted";
@@ -371,8 +372,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
371
372
  previous: z.ZodOptional<z.ZodObject<{
372
373
  attemptId: PublicIdSchema;
373
374
  status: z.ZodEnum<{
374
- failed: "failed";
375
375
  passed: "passed";
376
+ failed: "failed";
376
377
  canceled: "canceled";
377
378
  skipped: "skipped";
378
379
  aborted: "aborted";
@@ -382,10 +383,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
382
383
  }, z.core.$strip>;
383
384
  runId: RunId;
384
385
  runStatus: z.ZodEnum<{
386
+ passed: "passed";
385
387
  failed: "failed";
386
388
  queued: "queued";
387
389
  running: "running";
388
- passed: "passed";
389
390
  canceled: "canceled";
390
391
  superseded: "superseded";
391
392
  }>;
@@ -1308,6 +1309,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1308
1309
  terminatedAt: z.ZodOptional<z.ZodISODateTime>;
1309
1310
  variablesUrl: z.ZodOptional<z.ZodURL>;
1310
1311
  url: z.ZodURL;
1312
+ flowCount: z.ZodOptional<z.ZodNumber>;
1313
+ testCount: z.ZodOptional<z.ZodNumber>;
1311
1314
  }, z.core.$strip>>;
1312
1315
  nextCursor: z.ZodOptional<z.ZodString>;
1313
1316
  }, z.core.$strip>;
@@ -1438,8 +1441,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1438
1441
  targetCommitHash: z.ZodString;
1439
1442
  }, z.core.$strip>>;
1440
1443
  createdAt: z.ZodISODateTime;
1444
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1445
+ candidateRuns: z.ZodArray<z.ZodObject<{
1446
+ candidate: z.ZodEnum<{
1447
+ combined: "combined";
1448
+ head: "head";
1449
+ base: "base";
1450
+ }>;
1451
+ outcome: z.ZodEnum<{
1452
+ passed: "passed";
1453
+ failed: "failed";
1454
+ inconclusive: "inconclusive";
1455
+ }>;
1456
+ runId: RunId;
1457
+ }, z.core.$strip>>;
1458
+ kept: z.ZodOptional<z.ZodEnum<{
1459
+ combined: "combined";
1460
+ head: "head";
1461
+ base: "base";
1462
+ }>>;
1463
+ path: z.ZodString;
1464
+ reason: z.ZodString;
1465
+ sourceCommitHash: z.ZodString;
1466
+ targetCommitHash: z.ZodString;
1467
+ type: z.ZodEnum<{
1468
+ "picked-by-run": "picked-by-run";
1469
+ combined: "combined";
1470
+ "kept-more-checks": "kept-more-checks";
1471
+ "needs-person": "needs-person";
1472
+ }>;
1473
+ }, z.core.$strip>>>;
1441
1474
  headEnvironmentId: EnvironmentId;
1442
1475
  id: PromotionId;
1476
+ needsPerson: z.ZodOptional<z.ZodObject<{
1477
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
1478
+ path: z.ZodString;
1479
+ }, z.core.$strip>>>;
1480
+ reason: z.ZodEnum<{
1481
+ "undecided-paths": "undecided-paths";
1482
+ "run-limit-reached": "run-limit-reached";
1483
+ "flows-undetermined": "flows-undetermined";
1484
+ "agent-stopped": "agent-stopped";
1485
+ "agent-failed": "agent-failed";
1486
+ "agent-not-started": "agent-not-started";
1487
+ "agent-resolution-off": "agent-resolution-off";
1488
+ }>;
1489
+ }, z.core.$strip>>;
1443
1490
  promotedCommitHash: z.ZodOptional<z.ZodString>;
1444
1491
  settledAt: z.ZodOptional<z.ZodISODateTime>;
1445
1492
  status: z.ZodEnum<{
@@ -1450,6 +1497,16 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1450
1497
  "no-changes": "no-changes";
1451
1498
  abandoned: "abandoned";
1452
1499
  }>;
1500
+ validationRuns: z.ZodArray<z.ZodObject<{
1501
+ aiTaskId: AiTaskId;
1502
+ runId: RunId;
1503
+ runMode: z.ZodEnum<{
1504
+ "confirm-after": "confirm-after";
1505
+ "choose-version": "choose-version";
1506
+ }>;
1507
+ sourceCommitHash: z.ZodString;
1508
+ targetCommitHash: z.ZodString;
1509
+ }, z.core.$strip>>;
1453
1510
  url: z.ZodURL;
1454
1511
  }, z.core.$strip>;
1455
1512
  };
@@ -1703,10 +1760,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1703
1760
  passedAfterRetry: z.ZodBoolean;
1704
1761
  runId: RunId;
1705
1762
  status: z.ZodEnum<{
1763
+ passed: "passed";
1706
1764
  failed: "failed";
1707
1765
  queued: "queued";
1708
1766
  running: "running";
1709
- passed: "passed";
1710
1767
  canceled: "canceled";
1711
1768
  }>;
1712
1769
  url: z.ZodURL;
@@ -1944,10 +2001,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1944
2001
  subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1945
2002
  sessionId: ChatSessionId;
1946
2003
  status: z.ZodEnum<{
2004
+ failed: "failed";
1947
2005
  working: "working";
1948
2006
  "waiting-for-you": "waiting-for-you";
1949
2007
  completed: "completed";
1950
- failed: "failed";
1951
2008
  cancelled: "cancelled";
1952
2009
  }>;
1953
2010
  }, z.core.$strip>>>;
@@ -2321,80 +2378,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2321
2378
  }, z.core.$strip>;
2322
2379
  }, z.core.$strip>;
2323
2380
  };
2324
- decideSuggestion: {
2325
- readonly annotationJustifications: {
2326
- readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
2327
- readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
2328
- readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
2329
- };
2330
- readonly annotations: {
2331
- readonly destructiveHint: false;
2332
- readonly openWorldHint: true;
2333
- readonly readOnlyHint: false;
2334
- };
2335
- readonly description: string;
2336
- readonly input: z.ZodObject<{
2337
- decision: z.ZodEnum<{
2338
- add: "add";
2339
- report: "report";
2340
- skip: "skip";
2341
- undo: "undo";
2342
- activate: "activate";
2343
- }>;
2344
- issueId: IssueId;
2345
- skipReason: z.ZodOptional<z.ZodEnum<{
2346
- "not-worth-testing": "not-worth-testing";
2347
- "already-covered": "already-covered";
2348
- "feature-removed": "feature-removed";
2349
- }>>;
2350
- }, z.core.$strip>;
2351
- readonly kind: "write";
2352
- readonly name: "issue.decideSuggestion";
2353
- readonly output: z.ZodObject<{
2354
- issue: z.ZodObject<{
2355
- coveredFlowIds: z.ZodArray<FlowId>;
2356
- createdAt: z.ZodCoercedDate<unknown>;
2357
- description: z.ZodString;
2358
- files: z.ZodDefault<z.ZodArray<z.ZodObject<{
2359
- fileId: z.ZodString;
2360
- name: z.ZodString;
2361
- sizeBytes: z.ZodNumber;
2362
- }, z.core.$strip>>>;
2363
- issueId: IssueId;
2364
- name: z.ZodString;
2365
- number: z.ZodNumber;
2366
- priority: z.ZodEnum<{
2367
- unprioritized: "unprioritized";
2368
- low: "low";
2369
- medium: "medium";
2370
- high: "high";
2371
- urgent: "urgent";
2372
- }>;
2373
- reproductions: z.ZodArray<z.ZodObject<{
2374
- environmentId: EnvironmentId;
2375
- firstReproducedInRunId: RunId;
2376
- flowId: FlowId;
2377
- isActive: z.ZodBoolean;
2378
- lastReproducedInRunId: RunId;
2379
- }, z.core.$strip>>;
2380
- status: z.ZodEnum<{
2381
- pending: "pending";
2382
- canceled: "canceled";
2383
- backlog: "backlog";
2384
- inProgress: "inProgress";
2385
- paused: "paused";
2386
- resolved: "resolved";
2387
- archived: "archived";
2388
- }>;
2389
- type: z.ZodEnum<{
2390
- bug: "bug";
2391
- maintenance: "maintenance";
2392
- coverageRequest: "coverageRequest";
2393
- }>;
2394
- url: z.ZodURL;
2395
- }, z.core.$strip>;
2396
- }, z.core.$strip>;
2397
- };
2398
2381
  find: {
2399
2382
  readonly annotationJustifications: {
2400
2383
  readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
@@ -2966,6 +2949,46 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2966
2949
  }, z.core.$strip>;
2967
2950
  };
2968
2951
  };
2952
+ narratedRecording: {
2953
+ get: {
2954
+ readonly annotationJustifications: {
2955
+ readonly destructiveHint: "Does not change, re-export or delete the recording.";
2956
+ readonly openWorldHint: "Reads QA Wolf workspace storage without changing the application under test.";
2957
+ readonly readOnlyHint: "Reads a narrated recording's export status and signed video links.";
2958
+ };
2959
+ readonly annotations: {
2960
+ readonly destructiveHint: false;
2961
+ readonly openWorldHint: false;
2962
+ readonly readOnlyHint: true;
2963
+ };
2964
+ readonly description: "Get a narrated recording's voiced video: its video page URL, its export status, and, once the export is ready, its duration and signed links to the mp4 with the voiceover baked in and its subtitles. Signed links stop working at video.expiresAt; the video page URL stays stable. While exportStatus is pending, check again later.";
2965
+ readonly input: z.ZodObject<{
2966
+ narratedRecordingId: z.ZodString;
2967
+ workspaceId: z.ZodOptional<WorkspaceId>;
2968
+ }, z.core.$strip>;
2969
+ readonly kind: "read";
2970
+ readonly name: "narratedRecording.get";
2971
+ readonly output: z.ZodObject<{
2972
+ exportFailureMessage: z.ZodOptional<z.ZodString>;
2973
+ exportStatus: z.ZodEnum<{
2974
+ failed: "failed";
2975
+ pending: "pending";
2976
+ ready: "ready";
2977
+ "not-requested": "not-requested";
2978
+ }>;
2979
+ narratedRecordingId: z.ZodString;
2980
+ url: z.ZodURL;
2981
+ video: z.ZodOptional<z.ZodObject<{
2982
+ downloadUrl: z.ZodURL;
2983
+ durationMs: z.ZodNumber;
2984
+ expiresAt: z.ZodISODateTime;
2985
+ posterUrl: z.ZodOptional<z.ZodURL>;
2986
+ subtitlesUrl: z.ZodURL;
2987
+ videoUrl: z.ZodURL;
2988
+ }, z.core.$strip>>;
2989
+ }, z.core.$strip>;
2990
+ };
2991
+ };
2969
2992
  promotion: {
2970
2993
  find: {
2971
2994
  readonly annotationJustifications: {
@@ -3006,8 +3029,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3006
3029
  targetCommitHash: z.ZodString;
3007
3030
  }, z.core.$strip>>;
3008
3031
  createdAt: z.ZodISODateTime;
3032
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3033
+ candidateRuns: z.ZodArray<z.ZodObject<{
3034
+ candidate: z.ZodEnum<{
3035
+ combined: "combined";
3036
+ head: "head";
3037
+ base: "base";
3038
+ }>;
3039
+ outcome: z.ZodEnum<{
3040
+ passed: "passed";
3041
+ failed: "failed";
3042
+ inconclusive: "inconclusive";
3043
+ }>;
3044
+ runId: RunId;
3045
+ }, z.core.$strip>>;
3046
+ kept: z.ZodOptional<z.ZodEnum<{
3047
+ combined: "combined";
3048
+ head: "head";
3049
+ base: "base";
3050
+ }>>;
3051
+ path: z.ZodString;
3052
+ reason: z.ZodString;
3053
+ sourceCommitHash: z.ZodString;
3054
+ targetCommitHash: z.ZodString;
3055
+ type: z.ZodEnum<{
3056
+ "picked-by-run": "picked-by-run";
3057
+ combined: "combined";
3058
+ "kept-more-checks": "kept-more-checks";
3059
+ "needs-person": "needs-person";
3060
+ }>;
3061
+ }, z.core.$strip>>>;
3009
3062
  headEnvironmentId: EnvironmentId;
3010
3063
  id: PromotionId;
3064
+ needsPerson: z.ZodOptional<z.ZodObject<{
3065
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
3066
+ path: z.ZodString;
3067
+ }, z.core.$strip>>>;
3068
+ reason: z.ZodEnum<{
3069
+ "undecided-paths": "undecided-paths";
3070
+ "run-limit-reached": "run-limit-reached";
3071
+ "flows-undetermined": "flows-undetermined";
3072
+ "agent-stopped": "agent-stopped";
3073
+ "agent-failed": "agent-failed";
3074
+ "agent-not-started": "agent-not-started";
3075
+ "agent-resolution-off": "agent-resolution-off";
3076
+ }>;
3077
+ }, z.core.$strip>>;
3011
3078
  promotedCommitHash: z.ZodOptional<z.ZodString>;
3012
3079
  settledAt: z.ZodOptional<z.ZodISODateTime>;
3013
3080
  status: z.ZodEnum<{
@@ -3018,6 +3085,16 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3018
3085
  "no-changes": "no-changes";
3019
3086
  abandoned: "abandoned";
3020
3087
  }>;
3088
+ validationRuns: z.ZodArray<z.ZodObject<{
3089
+ aiTaskId: AiTaskId;
3090
+ runId: RunId;
3091
+ runMode: z.ZodEnum<{
3092
+ "confirm-after": "confirm-after";
3093
+ "choose-version": "choose-version";
3094
+ }>;
3095
+ sourceCommitHash: z.ZodString;
3096
+ targetCommitHash: z.ZodString;
3097
+ }, z.core.$strip>>;
3021
3098
  url: z.ZodURL;
3022
3099
  }, z.core.$strip>>;
3023
3100
  }, z.core.$strip>;
@@ -3048,8 +3125,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3048
3125
  targetCommitHash: z.ZodString;
3049
3126
  }, z.core.$strip>>;
3050
3127
  createdAt: z.ZodISODateTime;
3128
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3129
+ candidateRuns: z.ZodArray<z.ZodObject<{
3130
+ candidate: z.ZodEnum<{
3131
+ combined: "combined";
3132
+ head: "head";
3133
+ base: "base";
3134
+ }>;
3135
+ outcome: z.ZodEnum<{
3136
+ passed: "passed";
3137
+ failed: "failed";
3138
+ inconclusive: "inconclusive";
3139
+ }>;
3140
+ runId: RunId;
3141
+ }, z.core.$strip>>;
3142
+ kept: z.ZodOptional<z.ZodEnum<{
3143
+ combined: "combined";
3144
+ head: "head";
3145
+ base: "base";
3146
+ }>>;
3147
+ path: z.ZodString;
3148
+ reason: z.ZodString;
3149
+ sourceCommitHash: z.ZodString;
3150
+ targetCommitHash: z.ZodString;
3151
+ type: z.ZodEnum<{
3152
+ "picked-by-run": "picked-by-run";
3153
+ combined: "combined";
3154
+ "kept-more-checks": "kept-more-checks";
3155
+ "needs-person": "needs-person";
3156
+ }>;
3157
+ }, z.core.$strip>>>;
3051
3158
  headEnvironmentId: EnvironmentId;
3052
3159
  id: PromotionId;
3160
+ needsPerson: z.ZodOptional<z.ZodObject<{
3161
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
3162
+ path: z.ZodString;
3163
+ }, z.core.$strip>>>;
3164
+ reason: z.ZodEnum<{
3165
+ "undecided-paths": "undecided-paths";
3166
+ "run-limit-reached": "run-limit-reached";
3167
+ "flows-undetermined": "flows-undetermined";
3168
+ "agent-stopped": "agent-stopped";
3169
+ "agent-failed": "agent-failed";
3170
+ "agent-not-started": "agent-not-started";
3171
+ "agent-resolution-off": "agent-resolution-off";
3172
+ }>;
3173
+ }, z.core.$strip>>;
3053
3174
  promotedCommitHash: z.ZodOptional<z.ZodString>;
3054
3175
  settledAt: z.ZodOptional<z.ZodISODateTime>;
3055
3176
  status: z.ZodEnum<{
@@ -3060,31 +3181,76 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3060
3181
  "no-changes": "no-changes";
3061
3182
  abandoned: "abandoned";
3062
3183
  }>;
3184
+ validationRuns: z.ZodArray<z.ZodObject<{
3185
+ aiTaskId: AiTaskId;
3186
+ runId: RunId;
3187
+ runMode: z.ZodEnum<{
3188
+ "confirm-after": "confirm-after";
3189
+ "choose-version": "choose-version";
3190
+ }>;
3191
+ sourceCommitHash: z.ZodString;
3192
+ targetCommitHash: z.ZodString;
3193
+ }, z.core.$strip>>;
3063
3194
  url: z.ZodURL;
3064
3195
  aiTaskSessionId: z.ZodOptional<ChatSessionId>;
3065
3196
  }, z.core.$strip>;
3066
3197
  };
3067
- resolve: {
3198
+ reportDecision: {
3068
3199
  readonly annotationJustifications: {
3069
- readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
3070
- readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
3071
- readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
3200
+ readonly destructiveHint: "Records a decision on the promotion and changes no flow code.";
3201
+ readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
3202
+ readonly readOnlyHint: "Records how a conflicting path was settled.";
3072
3203
  };
3073
3204
  readonly annotations: {
3074
- readonly destructiveHint: true;
3205
+ readonly destructiveHint: false;
3075
3206
  readonly openWorldHint: false;
3076
3207
  readonly readOnlyHint: false;
3077
3208
  };
3078
- readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
3209
+ readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
3079
3210
  readonly input: z.ZodObject<{
3080
- deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3211
+ base: z.ZodOptional<z.ZodObject<{
3212
+ outcome: z.ZodEnum<{
3213
+ passed: "passed";
3214
+ failed: "failed";
3215
+ inconclusive: "inconclusive";
3216
+ }>;
3217
+ runId: RunId;
3218
+ }, z.core.$strip>>;
3219
+ combined: z.ZodOptional<z.ZodObject<{
3220
+ outcome: z.ZodEnum<{
3221
+ passed: "passed";
3222
+ failed: "failed";
3223
+ inconclusive: "inconclusive";
3224
+ }>;
3225
+ runId: RunId;
3226
+ }, z.core.$strip>>;
3227
+ decision: z.ZodEnum<{
3228
+ "picked-by-run": "picked-by-run";
3229
+ combined: "combined";
3230
+ "kept-more-checks": "kept-more-checks";
3231
+ "needs-person": "needs-person";
3232
+ }>;
3081
3233
  expectedSourceCommitHash: z.ZodString;
3082
3234
  expectedTargetCommitHash: z.ZodString;
3235
+ head: z.ZodOptional<z.ZodObject<{
3236
+ outcome: z.ZodEnum<{
3237
+ passed: "passed";
3238
+ failed: "failed";
3239
+ inconclusive: "inconclusive";
3240
+ }>;
3241
+ runId: RunId;
3242
+ }, z.core.$strip>>;
3243
+ kept: z.ZodOptional<z.ZodEnum<{
3244
+ combined: "combined";
3245
+ head: "head";
3246
+ base: "base";
3247
+ }>>;
3248
+ path: z.ZodString;
3083
3249
  promotionId: PromotionId;
3084
- writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3250
+ reason: z.ZodString;
3085
3251
  }, z.core.$strip>;
3086
3252
  readonly kind: "write";
3087
- readonly name: "promotion.resolve";
3253
+ readonly name: "promotion.reportDecision";
3088
3254
  readonly output: z.ZodObject<{
3089
3255
  aiTaskId: z.ZodOptional<AiTaskId>;
3090
3256
  baseEnvironmentId: EnvironmentId;
@@ -3094,8 +3260,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3094
3260
  targetCommitHash: z.ZodString;
3095
3261
  }, z.core.$strip>>;
3096
3262
  createdAt: z.ZodISODateTime;
3263
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3264
+ candidateRuns: z.ZodArray<z.ZodObject<{
3265
+ candidate: z.ZodEnum<{
3266
+ combined: "combined";
3267
+ head: "head";
3268
+ base: "base";
3269
+ }>;
3270
+ outcome: z.ZodEnum<{
3271
+ passed: "passed";
3272
+ failed: "failed";
3273
+ inconclusive: "inconclusive";
3274
+ }>;
3275
+ runId: RunId;
3276
+ }, z.core.$strip>>;
3277
+ kept: z.ZodOptional<z.ZodEnum<{
3278
+ combined: "combined";
3279
+ head: "head";
3280
+ base: "base";
3281
+ }>>;
3282
+ path: z.ZodString;
3283
+ reason: z.ZodString;
3284
+ sourceCommitHash: z.ZodString;
3285
+ targetCommitHash: z.ZodString;
3286
+ type: z.ZodEnum<{
3287
+ "picked-by-run": "picked-by-run";
3288
+ combined: "combined";
3289
+ "kept-more-checks": "kept-more-checks";
3290
+ "needs-person": "needs-person";
3291
+ }>;
3292
+ }, z.core.$strip>>>;
3097
3293
  headEnvironmentId: EnvironmentId;
3098
3294
  id: PromotionId;
3295
+ needsPerson: z.ZodOptional<z.ZodObject<{
3296
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
3297
+ path: z.ZodString;
3298
+ }, z.core.$strip>>>;
3299
+ reason: z.ZodEnum<{
3300
+ "undecided-paths": "undecided-paths";
3301
+ "run-limit-reached": "run-limit-reached";
3302
+ "flows-undetermined": "flows-undetermined";
3303
+ "agent-stopped": "agent-stopped";
3304
+ "agent-failed": "agent-failed";
3305
+ "agent-not-started": "agent-not-started";
3306
+ "agent-resolution-off": "agent-resolution-off";
3307
+ }>;
3308
+ }, z.core.$strip>>;
3099
3309
  promotedCommitHash: z.ZodOptional<z.ZodString>;
3100
3310
  settledAt: z.ZodOptional<z.ZodISODateTime>;
3101
3311
  status: z.ZodEnum<{
@@ -3106,15 +3316,124 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3106
3316
  "no-changes": "no-changes";
3107
3317
  abandoned: "abandoned";
3108
3318
  }>;
3319
+ validationRuns: z.ZodArray<z.ZodObject<{
3320
+ aiTaskId: AiTaskId;
3321
+ runId: RunId;
3322
+ runMode: z.ZodEnum<{
3323
+ "confirm-after": "confirm-after";
3324
+ "choose-version": "choose-version";
3325
+ }>;
3326
+ sourceCommitHash: z.ZodString;
3327
+ targetCommitHash: z.ZodString;
3328
+ }, z.core.$strip>>;
3109
3329
  url: z.ZodURL;
3110
3330
  }, z.core.$strip>;
3111
3331
  };
3112
- };
3113
- run: {
3114
- acceptScreenshotBaseline: {
3332
+ resolve: {
3115
3333
  readonly annotationJustifications: {
3116
- readonly destructiveHint: "Replaces the workspace's screenshot baseline, which changes what every later run compares with.";
3117
- readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
3334
+ readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
3335
+ readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
3336
+ readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
3337
+ };
3338
+ readonly annotations: {
3339
+ readonly destructiveHint: true;
3340
+ readonly openWorldHint: false;
3341
+ readonly readOnlyHint: false;
3342
+ };
3343
+ readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
3344
+ readonly input: z.ZodObject<{
3345
+ deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3346
+ expectedSourceCommitHash: z.ZodString;
3347
+ expectedTargetCommitHash: z.ZodString;
3348
+ promotionId: PromotionId;
3349
+ writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3350
+ }, z.core.$strip>;
3351
+ readonly kind: "write";
3352
+ readonly name: "promotion.resolve";
3353
+ readonly output: z.ZodObject<{
3354
+ aiTaskId: z.ZodOptional<AiTaskId>;
3355
+ baseEnvironmentId: EnvironmentId;
3356
+ conflict: z.ZodOptional<z.ZodObject<{
3357
+ paths: z.ZodArray<z.ZodString>;
3358
+ sourceCommitHash: z.ZodString;
3359
+ targetCommitHash: z.ZodString;
3360
+ }, z.core.$strip>>;
3361
+ createdAt: z.ZodISODateTime;
3362
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3363
+ candidateRuns: z.ZodArray<z.ZodObject<{
3364
+ candidate: z.ZodEnum<{
3365
+ combined: "combined";
3366
+ head: "head";
3367
+ base: "base";
3368
+ }>;
3369
+ outcome: z.ZodEnum<{
3370
+ passed: "passed";
3371
+ failed: "failed";
3372
+ inconclusive: "inconclusive";
3373
+ }>;
3374
+ runId: RunId;
3375
+ }, z.core.$strip>>;
3376
+ kept: z.ZodOptional<z.ZodEnum<{
3377
+ combined: "combined";
3378
+ head: "head";
3379
+ base: "base";
3380
+ }>>;
3381
+ path: z.ZodString;
3382
+ reason: z.ZodString;
3383
+ sourceCommitHash: z.ZodString;
3384
+ targetCommitHash: z.ZodString;
3385
+ type: z.ZodEnum<{
3386
+ "picked-by-run": "picked-by-run";
3387
+ combined: "combined";
3388
+ "kept-more-checks": "kept-more-checks";
3389
+ "needs-person": "needs-person";
3390
+ }>;
3391
+ }, z.core.$strip>>>;
3392
+ headEnvironmentId: EnvironmentId;
3393
+ id: PromotionId;
3394
+ needsPerson: z.ZodOptional<z.ZodObject<{
3395
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
3396
+ path: z.ZodString;
3397
+ }, z.core.$strip>>>;
3398
+ reason: z.ZodEnum<{
3399
+ "undecided-paths": "undecided-paths";
3400
+ "run-limit-reached": "run-limit-reached";
3401
+ "flows-undetermined": "flows-undetermined";
3402
+ "agent-stopped": "agent-stopped";
3403
+ "agent-failed": "agent-failed";
3404
+ "agent-not-started": "agent-not-started";
3405
+ "agent-resolution-off": "agent-resolution-off";
3406
+ }>;
3407
+ }, z.core.$strip>>;
3408
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
3409
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
3410
+ status: z.ZodEnum<{
3411
+ pending: "pending";
3412
+ conflicted: "conflicted";
3413
+ resolving: "resolving";
3414
+ promoted: "promoted";
3415
+ "no-changes": "no-changes";
3416
+ abandoned: "abandoned";
3417
+ }>;
3418
+ validationRuns: z.ZodArray<z.ZodObject<{
3419
+ aiTaskId: AiTaskId;
3420
+ runId: RunId;
3421
+ runMode: z.ZodEnum<{
3422
+ "confirm-after": "confirm-after";
3423
+ "choose-version": "choose-version";
3424
+ }>;
3425
+ sourceCommitHash: z.ZodString;
3426
+ targetCommitHash: z.ZodString;
3427
+ }, z.core.$strip>>;
3428
+ url: z.ZodURL;
3429
+ }, z.core.$strip>;
3430
+ };
3431
+ };
3432
+ run: {
3433
+ acceptScreenshotBaseline: {
3434
+ readonly annotationJustifications: {
3435
+ readonly destructiveHint: "Replaces the workspace's screenshot baseline, which changes what every later run compares with.";
3436
+ readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
3118
3437
  readonly readOnlyHint: "Makes the new screenshot of a failed comparison the baseline.";
3119
3438
  };
3120
3439
  readonly annotations: {
@@ -3168,6 +3487,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3168
3487
  investigateFailures: z.ZodOptional<z.ZodBoolean>;
3169
3488
  pullRequestNumber: z.ZodOptional<z.ZodNumber>;
3170
3489
  repository: z.ZodOptional<z.ZodString>;
3490
+ resolutionRunMode: z.ZodOptional<z.ZodEnum<{
3491
+ "confirm-after": "confirm-after";
3492
+ "choose-version": "choose-version";
3493
+ }>>;
3171
3494
  workspaceId: z.ZodOptional<WorkspaceId>;
3172
3495
  }, z.core.$strip>, z.ZodObject<{
3173
3496
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
@@ -3187,8 +3510,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3187
3510
  runId: RunId;
3188
3511
  tracking: z.ZodEnum<{
3189
3512
  failed: "failed";
3190
- registered: "registered";
3191
3513
  "not-requested": "not-requested";
3514
+ registered: "registered";
3192
3515
  }>;
3193
3516
  url: z.ZodURL;
3194
3517
  }, z.core.$strip>;
@@ -3296,10 +3619,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3296
3619
  needsReview: z.ZodOptional<z.ZodBoolean>;
3297
3620
  runId: RunId;
3298
3621
  status: z.ZodEnum<{
3622
+ passed: "passed";
3299
3623
  failed: "failed";
3300
3624
  queued: "queued";
3301
3625
  running: "running";
3302
- passed: "passed";
3303
3626
  canceled: "canceled";
3304
3627
  superseded: "superseded";
3305
3628
  }>;
@@ -3325,10 +3648,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3325
3648
  readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
3326
3649
  readonly input: z.ZodObject<{
3327
3650
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3651
+ passed: "passed";
3328
3652
  failed: "failed";
3329
3653
  queued: "queued";
3330
3654
  running: "running";
3331
- passed: "passed";
3332
3655
  canceled: "canceled";
3333
3656
  }>>>;
3334
3657
  runId: RunId;
@@ -3478,9 +3801,9 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3478
3801
  flowId: FlowId;
3479
3802
  name: z.ZodString;
3480
3803
  status: z.ZodEnum<{
3804
+ passed: "passed";
3481
3805
  queued: "queued";
3482
3806
  running: "running";
3483
- passed: "passed";
3484
3807
  canceled: "canceled";
3485
3808
  }>;
3486
3809
  }, z.core.$strip>], "status">>;
@@ -3513,10 +3836,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3513
3836
  }, z.core.$strip>;
3514
3837
  needsReview: z.ZodOptional<z.ZodBoolean>;
3515
3838
  status: z.ZodEnum<{
3839
+ passed: "passed";
3516
3840
  failed: "failed";
3517
3841
  queued: "queued";
3518
3842
  running: "running";
3519
- passed: "passed";
3520
3843
  canceled: "canceled";
3521
3844
  superseded: "superseded";
3522
3845
  }>;
@@ -3634,8 +3957,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3634
3957
  runId: RunId;
3635
3958
  tracking: z.ZodEnum<{
3636
3959
  failed: "failed";
3637
- registered: "registered";
3638
3960
  "not-requested": "not-requested";
3961
+ registered: "registered";
3639
3962
  }>;
3640
3963
  url: z.ZodURL;
3641
3964
  }, z.core.$strip>;
@@ -4470,8 +4793,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4470
4793
  x: z.ZodInt;
4471
4794
  y: z.ZodInt;
4472
4795
  }, z.core.$strict>, z.ZodObject<{
4473
- scroll_x: z.ZodInt;
4474
- scroll_y: z.ZodInt;
4796
+ scroll_x: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
4797
+ scroll_y: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
4475
4798
  type: z.ZodLiteral<"scroll">;
4476
4799
  x: z.ZodInt;
4477
4800
  y: z.ZodInt;
@@ -4574,8 +4897,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4574
4897
  x: z.ZodInt;
4575
4898
  y: z.ZodInt;
4576
4899
  }, z.core.$strict>, z.ZodObject<{
4577
- scroll_x: z.ZodInt;
4578
- scroll_y: z.ZodInt;
4900
+ scroll_x: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
4901
+ scroll_y: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
4579
4902
  type: z.ZodLiteral<"scroll">;
4580
4903
  x: z.ZodInt;
4581
4904
  y: z.ZodInt;
@@ -4832,6 +5155,238 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4832
5155
  }, z.core.$strip>;
4833
5156
  };
4834
5157
  };
5158
+ suggestion: {
5159
+ decide: {
5160
+ readonly annotationJustifications: {
5161
+ readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
5162
+ readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
5163
+ readonly readOnlyHint: "Records a decision on a suggestion and changes its linked issue's status.";
5164
+ };
5165
+ readonly annotations: {
5166
+ readonly destructiveHint: false;
5167
+ readonly openWorldHint: true;
5168
+ readonly readOnlyHint: false;
5169
+ };
5170
+ readonly description: string;
5171
+ readonly input: z.ZodObject<{
5172
+ decision: z.ZodEnum<{
5173
+ add: "add";
5174
+ report: "report";
5175
+ skip: "skip";
5176
+ undo: "undo";
5177
+ activate: "activate";
5178
+ }>;
5179
+ skipReason: z.ZodOptional<z.ZodEnum<{
5180
+ "not-worth-testing": "not-worth-testing";
5181
+ "already-covered": "already-covered";
5182
+ "feature-removed": "feature-removed";
5183
+ }>>;
5184
+ suggestionId: PublicIdSchema;
5185
+ }, z.core.$strip>;
5186
+ readonly kind: "write";
5187
+ readonly name: "suggestion.decide";
5188
+ readonly output: z.ZodObject<{
5189
+ suggestion: z.ZodObject<{
5190
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
5191
+ decisions: z.ZodArray<z.ZodEnum<{
5192
+ add: "add";
5193
+ report: "report";
5194
+ skip: "skip";
5195
+ undo: "undo";
5196
+ activate: "activate";
5197
+ }>>;
5198
+ environmentId: EnvironmentId;
5199
+ environmentName: z.ZodString;
5200
+ flow: z.ZodObject<{
5201
+ flowId: z.ZodOptional<FlowId>;
5202
+ path: z.ZodString;
5203
+ }, z.core.$strip>;
5204
+ holdReason: z.ZodOptional<z.ZodEnum<{
5205
+ "path-taken": "path-taken";
5206
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
5207
+ "merge-conflicted": "merge-conflicted";
5208
+ "undo-cleanup-failed": "undo-cleanup-failed";
5209
+ }>>;
5210
+ issue: z.ZodOptional<z.ZodObject<{
5211
+ issueId: IssueId;
5212
+ type: z.ZodEnum<{
5213
+ bug: "bug";
5214
+ coverageRequest: "coverageRequest";
5215
+ }>;
5216
+ }, z.core.$strip>>;
5217
+ kind: z.ZodEnum<{
5218
+ "new-flow": "new-flow";
5219
+ "potential-bug": "potential-bug";
5220
+ }>;
5221
+ location: z.ZodString;
5222
+ reason: z.ZodString;
5223
+ skipReason: z.ZodOptional<z.ZodEnum<{
5224
+ "not-worth-testing": "not-worth-testing";
5225
+ "already-covered": "already-covered";
5226
+ "feature-removed": "feature-removed";
5227
+ }>>;
5228
+ state: z.ZodEnum<{
5229
+ skipped: "skipped";
5230
+ accepted: "accepted";
5231
+ waiting: "waiting";
5232
+ expired: "expired";
5233
+ }>;
5234
+ suggestedAt: z.ZodISODateTime;
5235
+ suggestionId: PublicIdSchema;
5236
+ title: z.ZodString;
5237
+ url: z.ZodURL;
5238
+ }, z.core.$strip>;
5239
+ }, z.core.$strip>;
5240
+ };
5241
+ find: {
5242
+ readonly annotationJustifications: {
5243
+ readonly destructiveHint: "Does not decide or change any suggestion.";
5244
+ readonly openWorldHint: "Reads QA Wolf suggestion records without changing external systems.";
5245
+ readonly readOnlyHint: "Lists the workspace's coverage suggestions.";
5246
+ };
5247
+ readonly annotations: {
5248
+ readonly destructiveHint: false;
5249
+ readonly openWorldHint: false;
5250
+ readonly readOnlyHint: true;
5251
+ };
5252
+ readonly description: string;
5253
+ readonly input: z.ZodObject<{
5254
+ cursor: z.ZodOptional<z.ZodString>;
5255
+ limit: z.ZodDefault<z.ZodNumber>;
5256
+ state: z.ZodOptional<z.ZodEnum<{
5257
+ skipped: "skipped";
5258
+ accepted: "accepted";
5259
+ waiting: "waiting";
5260
+ }>>;
5261
+ workspaceId: z.ZodOptional<WorkspaceId>;
5262
+ }, z.core.$strip>;
5263
+ readonly kind: "read";
5264
+ readonly name: "suggestion.find";
5265
+ readonly output: z.ZodObject<{
5266
+ nextCursor: z.ZodOptional<z.ZodString>;
5267
+ suggestions: z.ZodArray<z.ZodObject<{
5268
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
5269
+ decisions: z.ZodArray<z.ZodEnum<{
5270
+ add: "add";
5271
+ report: "report";
5272
+ skip: "skip";
5273
+ undo: "undo";
5274
+ activate: "activate";
5275
+ }>>;
5276
+ environmentId: EnvironmentId;
5277
+ environmentName: z.ZodString;
5278
+ flow: z.ZodObject<{
5279
+ flowId: z.ZodOptional<FlowId>;
5280
+ path: z.ZodString;
5281
+ }, z.core.$strip>;
5282
+ holdReason: z.ZodOptional<z.ZodEnum<{
5283
+ "path-taken": "path-taken";
5284
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
5285
+ "merge-conflicted": "merge-conflicted";
5286
+ "undo-cleanup-failed": "undo-cleanup-failed";
5287
+ }>>;
5288
+ issue: z.ZodOptional<z.ZodObject<{
5289
+ issueId: IssueId;
5290
+ type: z.ZodEnum<{
5291
+ bug: "bug";
5292
+ coverageRequest: "coverageRequest";
5293
+ }>;
5294
+ }, z.core.$strip>>;
5295
+ kind: z.ZodEnum<{
5296
+ "new-flow": "new-flow";
5297
+ "potential-bug": "potential-bug";
5298
+ }>;
5299
+ location: z.ZodString;
5300
+ reason: z.ZodString;
5301
+ skipReason: z.ZodOptional<z.ZodEnum<{
5302
+ "not-worth-testing": "not-worth-testing";
5303
+ "already-covered": "already-covered";
5304
+ "feature-removed": "feature-removed";
5305
+ }>>;
5306
+ state: z.ZodEnum<{
5307
+ skipped: "skipped";
5308
+ accepted: "accepted";
5309
+ waiting: "waiting";
5310
+ expired: "expired";
5311
+ }>;
5312
+ suggestedAt: z.ZodISODateTime;
5313
+ suggestionId: PublicIdSchema;
5314
+ title: z.ZodString;
5315
+ url: z.ZodURL;
5316
+ }, z.core.$strip>>;
5317
+ }, z.core.$strip>;
5318
+ };
5319
+ get: {
5320
+ readonly annotationJustifications: {
5321
+ readonly destructiveHint: "Does not decide or change the suggestion.";
5322
+ readonly openWorldHint: "Reads a QA Wolf suggestion record without changing external systems.";
5323
+ readonly readOnlyHint: "Retrieves one coverage suggestion.";
5324
+ };
5325
+ readonly annotations: {
5326
+ readonly destructiveHint: false;
5327
+ readonly openWorldHint: false;
5328
+ readonly readOnlyHint: true;
5329
+ };
5330
+ readonly description: string;
5331
+ readonly input: z.ZodObject<{
5332
+ suggestionId: PublicIdSchema;
5333
+ }, z.core.$strip>;
5334
+ readonly kind: "read";
5335
+ readonly name: "suggestion.get";
5336
+ readonly output: z.ZodObject<{
5337
+ suggestion: z.ZodObject<{
5338
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
5339
+ decisions: z.ZodArray<z.ZodEnum<{
5340
+ add: "add";
5341
+ report: "report";
5342
+ skip: "skip";
5343
+ undo: "undo";
5344
+ activate: "activate";
5345
+ }>>;
5346
+ environmentId: EnvironmentId;
5347
+ environmentName: z.ZodString;
5348
+ flow: z.ZodObject<{
5349
+ flowId: z.ZodOptional<FlowId>;
5350
+ path: z.ZodString;
5351
+ }, z.core.$strip>;
5352
+ holdReason: z.ZodOptional<z.ZodEnum<{
5353
+ "path-taken": "path-taken";
5354
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
5355
+ "merge-conflicted": "merge-conflicted";
5356
+ "undo-cleanup-failed": "undo-cleanup-failed";
5357
+ }>>;
5358
+ issue: z.ZodOptional<z.ZodObject<{
5359
+ issueId: IssueId;
5360
+ type: z.ZodEnum<{
5361
+ bug: "bug";
5362
+ coverageRequest: "coverageRequest";
5363
+ }>;
5364
+ }, z.core.$strip>>;
5365
+ kind: z.ZodEnum<{
5366
+ "new-flow": "new-flow";
5367
+ "potential-bug": "potential-bug";
5368
+ }>;
5369
+ location: z.ZodString;
5370
+ reason: z.ZodString;
5371
+ skipReason: z.ZodOptional<z.ZodEnum<{
5372
+ "not-worth-testing": "not-worth-testing";
5373
+ "already-covered": "already-covered";
5374
+ "feature-removed": "feature-removed";
5375
+ }>>;
5376
+ state: z.ZodEnum<{
5377
+ skipped: "skipped";
5378
+ accepted: "accepted";
5379
+ waiting: "waiting";
5380
+ expired: "expired";
5381
+ }>;
5382
+ suggestedAt: z.ZodISODateTime;
5383
+ suggestionId: PublicIdSchema;
5384
+ title: z.ZodString;
5385
+ url: z.ZodURL;
5386
+ }, z.core.$strip>;
5387
+ }, z.core.$strip>;
5388
+ };
5389
+ };
4835
5390
  tag: {
4836
5391
  create: {
4837
5392
  readonly annotationJustifications: {
@@ -4907,6 +5462,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4907
5462
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
4908
5463
  timeOfDay: z.ZodOptional<z.ZodString>;
4909
5464
  timezoneId: z.ZodOptional<z.ZodString>;
5465
+ window: z.ZodOptional<z.ZodObject<{
5466
+ endTime: z.ZodOptional<z.ZodString>;
5467
+ startTime: z.ZodString;
5468
+ }, z.core.$strip>>;
4910
5469
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4911
5470
  every: z.ZodOptional<z.ZodNumber>;
4912
5471
  startDate: z.ZodOptional<z.ZodString>;
@@ -4981,6 +5540,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4981
5540
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
4982
5541
  timeOfDay: z.ZodOptional<z.ZodString>;
4983
5542
  timezoneId: z.ZodOptional<z.ZodString>;
5543
+ window: z.ZodOptional<z.ZodObject<{
5544
+ endTime: z.ZodOptional<z.ZodString>;
5545
+ startTime: z.ZodString;
5546
+ }, z.core.$strip>>;
4984
5547
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4985
5548
  every: z.ZodOptional<z.ZodNumber>;
4986
5549
  startDate: z.ZodOptional<z.ZodString>;
@@ -5103,6 +5666,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5103
5666
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5104
5667
  timeOfDay: z.ZodOptional<z.ZodString>;
5105
5668
  timezoneId: z.ZodOptional<z.ZodString>;
5669
+ window: z.ZodOptional<z.ZodObject<{
5670
+ endTime: z.ZodOptional<z.ZodString>;
5671
+ startTime: z.ZodString;
5672
+ }, z.core.$strip>>;
5106
5673
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5107
5674
  every: z.ZodOptional<z.ZodNumber>;
5108
5675
  startDate: z.ZodOptional<z.ZodString>;
@@ -5203,6 +5770,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5203
5770
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5204
5771
  timeOfDay: z.ZodOptional<z.ZodString>;
5205
5772
  timezoneId: z.ZodOptional<z.ZodString>;
5773
+ window: z.ZodOptional<z.ZodObject<{
5774
+ endTime: z.ZodOptional<z.ZodString>;
5775
+ startTime: z.ZodString;
5776
+ }, z.core.$strip>>;
5206
5777
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5207
5778
  every: z.ZodOptional<z.ZodNumber>;
5208
5779
  startDate: z.ZodOptional<z.ZodString>;
@@ -5303,6 +5874,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5303
5874
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5304
5875
  timeOfDay: z.ZodOptional<z.ZodString>;
5305
5876
  timezoneId: z.ZodOptional<z.ZodString>;
5877
+ window: z.ZodOptional<z.ZodObject<{
5878
+ endTime: z.ZodOptional<z.ZodString>;
5879
+ startTime: z.ZodString;
5880
+ }, z.core.$strip>>;
5306
5881
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5307
5882
  every: z.ZodOptional<z.ZodNumber>;
5308
5883
  startDate: z.ZodOptional<z.ZodString>;
@@ -5403,6 +5978,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5403
5978
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5404
5979
  timeOfDay: z.ZodOptional<z.ZodString>;
5405
5980
  timezoneId: z.ZodOptional<z.ZodString>;
5981
+ window: z.ZodOptional<z.ZodObject<{
5982
+ endTime: z.ZodOptional<z.ZodString>;
5983
+ startTime: z.ZodString;
5984
+ }, z.core.$strip>>;
5406
5985
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5407
5986
  every: z.ZodOptional<z.ZodNumber>;
5408
5987
  startDate: z.ZodOptional<z.ZodString>;
@@ -5496,6 +6075,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5496
6075
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5497
6076
  timeOfDay: z.ZodOptional<z.ZodString>;
5498
6077
  timezoneId: z.ZodOptional<z.ZodString>;
6078
+ window: z.ZodOptional<z.ZodObject<{
6079
+ endTime: z.ZodOptional<z.ZodString>;
6080
+ startTime: z.ZodString;
6081
+ }, z.core.$strip>>;
5499
6082
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5500
6083
  every: z.ZodOptional<z.ZodNumber>;
5501
6084
  startDate: z.ZodOptional<z.ZodString>;
@@ -5570,6 +6153,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5570
6153
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
5571
6154
  timeOfDay: z.ZodOptional<z.ZodString>;
5572
6155
  timezoneId: z.ZodOptional<z.ZodString>;
6156
+ window: z.ZodOptional<z.ZodObject<{
6157
+ endTime: z.ZodOptional<z.ZodString>;
6158
+ startTime: z.ZodString;
6159
+ }, z.core.$strip>>;
5573
6160
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
5574
6161
  every: z.ZodOptional<z.ZodNumber>;
5575
6162
  startDate: z.ZodOptional<z.ZodString>;
@@ -5681,10 +6268,10 @@ export declare const publicContractsV1: {
5681
6268
  needsReview: z.ZodOptional<z.ZodBoolean>;
5682
6269
  runId: PublicIdSchema;
5683
6270
  status: z.ZodEnum<{
6271
+ passed: "passed";
5684
6272
  failed: "failed";
5685
6273
  queued: "queued";
5686
6274
  running: "running";
5687
- passed: "passed";
5688
6275
  canceled: "canceled";
5689
6276
  superseded: "superseded";
5690
6277
  "not-found": "not-found";
@@ -5701,10 +6288,10 @@ export declare const publicContractsV1: {
5701
6288
  }, z.core.$strip>>;
5702
6289
  sessionId: PublicIdSchema;
5703
6290
  status: z.ZodEnum<{
6291
+ failed: "failed";
5704
6292
  working: "working";
5705
6293
  "waiting-for-you": "waiting-for-you";
5706
6294
  completed: "completed";
5707
- failed: "failed";
5708
6295
  cancelled: "cancelled";
5709
6296
  "not-found": "not-found";
5710
6297
  }>;
@@ -5747,10 +6334,10 @@ export declare const publicContractsV1: {
5747
6334
  }, z.core.$strip>>;
5748
6335
  sessionId: PublicIdSchema;
5749
6336
  status: z.ZodEnum<{
6337
+ failed: "failed";
5750
6338
  working: "working";
5751
6339
  "waiting-for-you": "waiting-for-you";
5752
6340
  completed: "completed";
5753
- failed: "failed";
5754
6341
  cancelled: "cancelled";
5755
6342
  }>;
5756
6343
  waitSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5789,10 +6376,10 @@ export declare const publicContractsV1: {
5789
6376
  readonly output: z.ZodObject<{
5790
6377
  sessionId: PublicIdSchema;
5791
6378
  status: z.ZodEnum<{
6379
+ failed: "failed";
5792
6380
  working: "working";
5793
6381
  "waiting-for-you": "waiting-for-you";
5794
6382
  completed: "completed";
5795
- failed: "failed";
5796
6383
  cancelled: "cancelled";
5797
6384
  }>;
5798
6385
  url: z.ZodURL;
@@ -5820,10 +6407,10 @@ export declare const publicContractsV1: {
5820
6407
  readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
5821
6408
  flowId: PublicIdSchema;
5822
6409
  flowStatus: z.ZodEnum<{
6410
+ passed: "passed";
5823
6411
  failed: "failed";
5824
6412
  queued: "queued";
5825
6413
  running: "running";
5826
- passed: "passed";
5827
6414
  canceled: "canceled";
5828
6415
  }>;
5829
6416
  retryContext: z.ZodObject<{
@@ -5831,8 +6418,8 @@ export declare const publicContractsV1: {
5831
6418
  next: z.ZodOptional<z.ZodObject<{
5832
6419
  attemptId: PublicIdSchema;
5833
6420
  status: z.ZodEnum<{
5834
- failed: "failed";
5835
6421
  passed: "passed";
6422
+ failed: "failed";
5836
6423
  canceled: "canceled";
5837
6424
  skipped: "skipped";
5838
6425
  aborted: "aborted";
@@ -5841,8 +6428,8 @@ export declare const publicContractsV1: {
5841
6428
  previous: z.ZodOptional<z.ZodObject<{
5842
6429
  attemptId: PublicIdSchema;
5843
6430
  status: z.ZodEnum<{
5844
- failed: "failed";
5845
6431
  passed: "passed";
6432
+ failed: "failed";
5846
6433
  canceled: "canceled";
5847
6434
  skipped: "skipped";
5848
6435
  aborted: "aborted";
@@ -5852,10 +6439,10 @@ export declare const publicContractsV1: {
5852
6439
  }, z.core.$strip>;
5853
6440
  runId: PublicIdSchema;
5854
6441
  runStatus: z.ZodEnum<{
6442
+ passed: "passed";
5855
6443
  failed: "failed";
5856
6444
  queued: "queued";
5857
6445
  running: "running";
5858
- passed: "passed";
5859
6446
  canceled: "canceled";
5860
6447
  superseded: "superseded";
5861
6448
  }>;
@@ -5873,8 +6460,8 @@ export declare const publicContractsV1: {
5873
6460
  startedAt: z.ZodOptional<z.ZodISODateTime>;
5874
6461
  kind: z.ZodLiteral<"automated">;
5875
6462
  status: z.ZodEnum<{
5876
- failed: "failed";
5877
6463
  passed: "passed";
6464
+ failed: "failed";
5878
6465
  canceled: "canceled";
5879
6466
  skipped: "skipped";
5880
6467
  aborted: "aborted";
@@ -5904,10 +6491,10 @@ export declare const publicContractsV1: {
5904
6491
  }, z.core.$strip>, z.ZodObject<{
5905
6492
  flowId: PublicIdSchema;
5906
6493
  flowStatus: z.ZodEnum<{
6494
+ passed: "passed";
5907
6495
  failed: "failed";
5908
6496
  queued: "queued";
5909
6497
  running: "running";
5910
- passed: "passed";
5911
6498
  canceled: "canceled";
5912
6499
  }>;
5913
6500
  retryContext: z.ZodObject<{
@@ -5915,8 +6502,8 @@ export declare const publicContractsV1: {
5915
6502
  next: z.ZodOptional<z.ZodObject<{
5916
6503
  attemptId: PublicIdSchema;
5917
6504
  status: z.ZodEnum<{
5918
- failed: "failed";
5919
6505
  passed: "passed";
6506
+ failed: "failed";
5920
6507
  canceled: "canceled";
5921
6508
  skipped: "skipped";
5922
6509
  aborted: "aborted";
@@ -5925,8 +6512,8 @@ export declare const publicContractsV1: {
5925
6512
  previous: z.ZodOptional<z.ZodObject<{
5926
6513
  attemptId: PublicIdSchema;
5927
6514
  status: z.ZodEnum<{
5928
- failed: "failed";
5929
6515
  passed: "passed";
6516
+ failed: "failed";
5930
6517
  canceled: "canceled";
5931
6518
  skipped: "skipped";
5932
6519
  aborted: "aborted";
@@ -5936,10 +6523,10 @@ export declare const publicContractsV1: {
5936
6523
  }, z.core.$strip>;
5937
6524
  runId: PublicIdSchema;
5938
6525
  runStatus: z.ZodEnum<{
6526
+ passed: "passed";
5939
6527
  failed: "failed";
5940
6528
  queued: "queued";
5941
6529
  running: "running";
5942
- passed: "passed";
5943
6530
  canceled: "canceled";
5944
6531
  superseded: "superseded";
5945
6532
  }>;
@@ -5953,8 +6540,8 @@ export declare const publicContractsV1: {
5953
6540
  startedAt: z.ZodOptional<z.ZodISODateTime>;
5954
6541
  kind: z.ZodLiteral<"automated">;
5955
6542
  status: z.ZodEnum<{
5956
- failed: "failed";
5957
6543
  passed: "passed";
6544
+ failed: "failed";
5958
6545
  canceled: "canceled";
5959
6546
  skipped: "skipped";
5960
6547
  aborted: "aborted";
@@ -5984,10 +6571,10 @@ export declare const publicContractsV1: {
5984
6571
  }, z.core.$strip>, z.ZodObject<{
5985
6572
  flowId: PublicIdSchema;
5986
6573
  flowStatus: z.ZodEnum<{
6574
+ passed: "passed";
5987
6575
  failed: "failed";
5988
6576
  queued: "queued";
5989
6577
  running: "running";
5990
- passed: "passed";
5991
6578
  canceled: "canceled";
5992
6579
  }>;
5993
6580
  retryContext: z.ZodObject<{
@@ -5995,8 +6582,8 @@ export declare const publicContractsV1: {
5995
6582
  next: z.ZodOptional<z.ZodObject<{
5996
6583
  attemptId: PublicIdSchema;
5997
6584
  status: z.ZodEnum<{
5998
- failed: "failed";
5999
6585
  passed: "passed";
6586
+ failed: "failed";
6000
6587
  canceled: "canceled";
6001
6588
  skipped: "skipped";
6002
6589
  aborted: "aborted";
@@ -6005,8 +6592,8 @@ export declare const publicContractsV1: {
6005
6592
  previous: z.ZodOptional<z.ZodObject<{
6006
6593
  attemptId: PublicIdSchema;
6007
6594
  status: z.ZodEnum<{
6008
- failed: "failed";
6009
6595
  passed: "passed";
6596
+ failed: "failed";
6010
6597
  canceled: "canceled";
6011
6598
  skipped: "skipped";
6012
6599
  aborted: "aborted";
@@ -6016,10 +6603,10 @@ export declare const publicContractsV1: {
6016
6603
  }, z.core.$strip>;
6017
6604
  runId: PublicIdSchema;
6018
6605
  runStatus: z.ZodEnum<{
6606
+ passed: "passed";
6019
6607
  failed: "failed";
6020
6608
  queued: "queued";
6021
6609
  running: "running";
6022
- passed: "passed";
6023
6610
  canceled: "canceled";
6024
6611
  superseded: "superseded";
6025
6612
  }>;
@@ -6942,6 +7529,8 @@ export declare const publicContractsV1: {
6942
7529
  terminatedAt: z.ZodOptional<z.ZodISODateTime>;
6943
7530
  variablesUrl: z.ZodOptional<z.ZodURL>;
6944
7531
  url: z.ZodURL;
7532
+ flowCount: z.ZodOptional<z.ZodNumber>;
7533
+ testCount: z.ZodOptional<z.ZodNumber>;
6945
7534
  }, z.core.$strip>>;
6946
7535
  nextCursor: z.ZodOptional<z.ZodString>;
6947
7536
  }, z.core.$strip>;
@@ -7072,9 +7661,53 @@ export declare const publicContractsV1: {
7072
7661
  targetCommitHash: z.ZodString;
7073
7662
  }, z.core.$strip>>;
7074
7663
  createdAt: z.ZodISODateTime;
7664
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
7665
+ candidateRuns: z.ZodArray<z.ZodObject<{
7666
+ candidate: z.ZodEnum<{
7667
+ combined: "combined";
7668
+ head: "head";
7669
+ base: "base";
7670
+ }>;
7671
+ outcome: z.ZodEnum<{
7672
+ passed: "passed";
7673
+ failed: "failed";
7674
+ inconclusive: "inconclusive";
7675
+ }>;
7676
+ runId: PublicIdSchema;
7677
+ }, z.core.$strip>>;
7678
+ kept: z.ZodOptional<z.ZodEnum<{
7679
+ combined: "combined";
7680
+ head: "head";
7681
+ base: "base";
7682
+ }>>;
7683
+ path: z.ZodString;
7684
+ reason: z.ZodString;
7685
+ sourceCommitHash: z.ZodString;
7686
+ targetCommitHash: z.ZodString;
7687
+ type: z.ZodEnum<{
7688
+ "picked-by-run": "picked-by-run";
7689
+ combined: "combined";
7690
+ "kept-more-checks": "kept-more-checks";
7691
+ "needs-person": "needs-person";
7692
+ }>;
7693
+ }, z.core.$strip>>>;
7075
7694
  headEnvironmentId: PublicIdSchema;
7076
7695
  id: PublicIdSchema;
7077
- promotedCommitHash: z.ZodOptional<z.ZodString>;
7696
+ needsPerson: z.ZodOptional<z.ZodObject<{
7697
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
7698
+ path: z.ZodString;
7699
+ }, z.core.$strip>>>;
7700
+ reason: z.ZodEnum<{
7701
+ "undecided-paths": "undecided-paths";
7702
+ "run-limit-reached": "run-limit-reached";
7703
+ "flows-undetermined": "flows-undetermined";
7704
+ "agent-stopped": "agent-stopped";
7705
+ "agent-failed": "agent-failed";
7706
+ "agent-not-started": "agent-not-started";
7707
+ "agent-resolution-off": "agent-resolution-off";
7708
+ }>;
7709
+ }, z.core.$strip>>;
7710
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
7078
7711
  settledAt: z.ZodOptional<z.ZodISODateTime>;
7079
7712
  status: z.ZodEnum<{
7080
7713
  pending: "pending";
@@ -7084,6 +7717,16 @@ export declare const publicContractsV1: {
7084
7717
  "no-changes": "no-changes";
7085
7718
  abandoned: "abandoned";
7086
7719
  }>;
7720
+ validationRuns: z.ZodArray<z.ZodObject<{
7721
+ aiTaskId: PublicIdSchema;
7722
+ runId: PublicIdSchema;
7723
+ runMode: z.ZodEnum<{
7724
+ "confirm-after": "confirm-after";
7725
+ "choose-version": "choose-version";
7726
+ }>;
7727
+ sourceCommitHash: z.ZodString;
7728
+ targetCommitHash: z.ZodString;
7729
+ }, z.core.$strip>>;
7087
7730
  url: z.ZodURL;
7088
7731
  }, z.core.$strip>;
7089
7732
  };
@@ -7337,10 +7980,10 @@ export declare const publicContractsV1: {
7337
7980
  passedAfterRetry: z.ZodBoolean;
7338
7981
  runId: PublicIdSchema;
7339
7982
  status: z.ZodEnum<{
7983
+ passed: "passed";
7340
7984
  failed: "failed";
7341
7985
  queued: "queued";
7342
7986
  running: "running";
7343
- passed: "passed";
7344
7987
  canceled: "canceled";
7345
7988
  }>;
7346
7989
  url: z.ZodURL;
@@ -7578,10 +8221,10 @@ export declare const publicContractsV1: {
7578
8221
  subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
7579
8222
  sessionId: PublicIdSchema;
7580
8223
  status: z.ZodEnum<{
8224
+ failed: "failed";
7581
8225
  working: "working";
7582
8226
  "waiting-for-you": "waiting-for-you";
7583
8227
  completed: "completed";
7584
- failed: "failed";
7585
8228
  cancelled: "cancelled";
7586
8229
  }>;
7587
8230
  }, z.core.$strip>>>;
@@ -7955,80 +8598,6 @@ export declare const publicContractsV1: {
7955
8598
  }, z.core.$strip>;
7956
8599
  }, z.core.$strip>;
7957
8600
  };
7958
- decideSuggestion: {
7959
- readonly annotationJustifications: {
7960
- readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
7961
- readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
7962
- readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
7963
- };
7964
- readonly annotations: {
7965
- readonly destructiveHint: false;
7966
- readonly openWorldHint: true;
7967
- readonly readOnlyHint: false;
7968
- };
7969
- readonly description: string;
7970
- readonly input: z.ZodObject<{
7971
- decision: z.ZodEnum<{
7972
- add: "add";
7973
- report: "report";
7974
- skip: "skip";
7975
- undo: "undo";
7976
- activate: "activate";
7977
- }>;
7978
- issueId: PublicIdSchema;
7979
- skipReason: z.ZodOptional<z.ZodEnum<{
7980
- "not-worth-testing": "not-worth-testing";
7981
- "already-covered": "already-covered";
7982
- "feature-removed": "feature-removed";
7983
- }>>;
7984
- }, z.core.$strip>;
7985
- readonly kind: "write";
7986
- readonly name: "issue.decideSuggestion";
7987
- readonly output: z.ZodObject<{
7988
- issue: z.ZodObject<{
7989
- coveredFlowIds: z.ZodArray<PublicIdSchema>;
7990
- createdAt: z.ZodCoercedDate<unknown>;
7991
- description: z.ZodString;
7992
- files: z.ZodDefault<z.ZodArray<z.ZodObject<{
7993
- fileId: z.ZodString;
7994
- name: z.ZodString;
7995
- sizeBytes: z.ZodNumber;
7996
- }, z.core.$strip>>>;
7997
- issueId: PublicIdSchema;
7998
- name: z.ZodString;
7999
- number: z.ZodNumber;
8000
- priority: z.ZodEnum<{
8001
- unprioritized: "unprioritized";
8002
- low: "low";
8003
- medium: "medium";
8004
- high: "high";
8005
- urgent: "urgent";
8006
- }>;
8007
- reproductions: z.ZodArray<z.ZodObject<{
8008
- environmentId: PublicIdSchema;
8009
- firstReproducedInRunId: PublicIdSchema;
8010
- flowId: PublicIdSchema;
8011
- isActive: z.ZodBoolean;
8012
- lastReproducedInRunId: PublicIdSchema;
8013
- }, z.core.$strip>>;
8014
- status: z.ZodEnum<{
8015
- pending: "pending";
8016
- canceled: "canceled";
8017
- backlog: "backlog";
8018
- inProgress: "inProgress";
8019
- paused: "paused";
8020
- resolved: "resolved";
8021
- archived: "archived";
8022
- }>;
8023
- type: z.ZodEnum<{
8024
- bug: "bug";
8025
- maintenance: "maintenance";
8026
- coverageRequest: "coverageRequest";
8027
- }>;
8028
- url: z.ZodURL;
8029
- }, z.core.$strip>;
8030
- }, z.core.$strip>;
8031
- };
8032
8601
  find: {
8033
8602
  readonly annotationJustifications: {
8034
8603
  readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
@@ -8600,6 +9169,46 @@ export declare const publicContractsV1: {
8600
9169
  }, z.core.$strip>;
8601
9170
  };
8602
9171
  };
9172
+ narratedRecording: {
9173
+ get: {
9174
+ readonly annotationJustifications: {
9175
+ readonly destructiveHint: "Does not change, re-export or delete the recording.";
9176
+ readonly openWorldHint: "Reads QA Wolf workspace storage without changing the application under test.";
9177
+ readonly readOnlyHint: "Reads a narrated recording's export status and signed video links.";
9178
+ };
9179
+ readonly annotations: {
9180
+ readonly destructiveHint: false;
9181
+ readonly openWorldHint: false;
9182
+ readonly readOnlyHint: true;
9183
+ };
9184
+ readonly description: "Get a narrated recording's voiced video: its video page URL, its export status, and, once the export is ready, its duration and signed links to the mp4 with the voiceover baked in and its subtitles. Signed links stop working at video.expiresAt; the video page URL stays stable. While exportStatus is pending, check again later.";
9185
+ readonly input: z.ZodObject<{
9186
+ narratedRecordingId: z.ZodString;
9187
+ workspaceId: z.ZodOptional<PublicIdSchema>;
9188
+ }, z.core.$strip>;
9189
+ readonly kind: "read";
9190
+ readonly name: "narratedRecording.get";
9191
+ readonly output: z.ZodObject<{
9192
+ exportFailureMessage: z.ZodOptional<z.ZodString>;
9193
+ exportStatus: z.ZodEnum<{
9194
+ failed: "failed";
9195
+ pending: "pending";
9196
+ ready: "ready";
9197
+ "not-requested": "not-requested";
9198
+ }>;
9199
+ narratedRecordingId: z.ZodString;
9200
+ url: z.ZodURL;
9201
+ video: z.ZodOptional<z.ZodObject<{
9202
+ downloadUrl: z.ZodURL;
9203
+ durationMs: z.ZodNumber;
9204
+ expiresAt: z.ZodISODateTime;
9205
+ posterUrl: z.ZodOptional<z.ZodURL>;
9206
+ subtitlesUrl: z.ZodURL;
9207
+ videoUrl: z.ZodURL;
9208
+ }, z.core.$strip>>;
9209
+ }, z.core.$strip>;
9210
+ };
9211
+ };
8603
9212
  promotion: {
8604
9213
  find: {
8605
9214
  readonly annotationJustifications: {
@@ -8640,8 +9249,52 @@ export declare const publicContractsV1: {
8640
9249
  targetCommitHash: z.ZodString;
8641
9250
  }, z.core.$strip>>;
8642
9251
  createdAt: z.ZodISODateTime;
9252
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9253
+ candidateRuns: z.ZodArray<z.ZodObject<{
9254
+ candidate: z.ZodEnum<{
9255
+ combined: "combined";
9256
+ head: "head";
9257
+ base: "base";
9258
+ }>;
9259
+ outcome: z.ZodEnum<{
9260
+ passed: "passed";
9261
+ failed: "failed";
9262
+ inconclusive: "inconclusive";
9263
+ }>;
9264
+ runId: PublicIdSchema;
9265
+ }, z.core.$strip>>;
9266
+ kept: z.ZodOptional<z.ZodEnum<{
9267
+ combined: "combined";
9268
+ head: "head";
9269
+ base: "base";
9270
+ }>>;
9271
+ path: z.ZodString;
9272
+ reason: z.ZodString;
9273
+ sourceCommitHash: z.ZodString;
9274
+ targetCommitHash: z.ZodString;
9275
+ type: z.ZodEnum<{
9276
+ "picked-by-run": "picked-by-run";
9277
+ combined: "combined";
9278
+ "kept-more-checks": "kept-more-checks";
9279
+ "needs-person": "needs-person";
9280
+ }>;
9281
+ }, z.core.$strip>>>;
8643
9282
  headEnvironmentId: PublicIdSchema;
8644
9283
  id: PublicIdSchema;
9284
+ needsPerson: z.ZodOptional<z.ZodObject<{
9285
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
9286
+ path: z.ZodString;
9287
+ }, z.core.$strip>>>;
9288
+ reason: z.ZodEnum<{
9289
+ "undecided-paths": "undecided-paths";
9290
+ "run-limit-reached": "run-limit-reached";
9291
+ "flows-undetermined": "flows-undetermined";
9292
+ "agent-stopped": "agent-stopped";
9293
+ "agent-failed": "agent-failed";
9294
+ "agent-not-started": "agent-not-started";
9295
+ "agent-resolution-off": "agent-resolution-off";
9296
+ }>;
9297
+ }, z.core.$strip>>;
8645
9298
  promotedCommitHash: z.ZodOptional<z.ZodString>;
8646
9299
  settledAt: z.ZodOptional<z.ZodISODateTime>;
8647
9300
  status: z.ZodEnum<{
@@ -8652,6 +9305,16 @@ export declare const publicContractsV1: {
8652
9305
  "no-changes": "no-changes";
8653
9306
  abandoned: "abandoned";
8654
9307
  }>;
9308
+ validationRuns: z.ZodArray<z.ZodObject<{
9309
+ aiTaskId: PublicIdSchema;
9310
+ runId: PublicIdSchema;
9311
+ runMode: z.ZodEnum<{
9312
+ "confirm-after": "confirm-after";
9313
+ "choose-version": "choose-version";
9314
+ }>;
9315
+ sourceCommitHash: z.ZodString;
9316
+ targetCommitHash: z.ZodString;
9317
+ }, z.core.$strip>>;
8655
9318
  url: z.ZodURL;
8656
9319
  }, z.core.$strip>>;
8657
9320
  }, z.core.$strip>;
@@ -8682,8 +9345,52 @@ export declare const publicContractsV1: {
8682
9345
  targetCommitHash: z.ZodString;
8683
9346
  }, z.core.$strip>>;
8684
9347
  createdAt: z.ZodISODateTime;
9348
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9349
+ candidateRuns: z.ZodArray<z.ZodObject<{
9350
+ candidate: z.ZodEnum<{
9351
+ combined: "combined";
9352
+ head: "head";
9353
+ base: "base";
9354
+ }>;
9355
+ outcome: z.ZodEnum<{
9356
+ passed: "passed";
9357
+ failed: "failed";
9358
+ inconclusive: "inconclusive";
9359
+ }>;
9360
+ runId: PublicIdSchema;
9361
+ }, z.core.$strip>>;
9362
+ kept: z.ZodOptional<z.ZodEnum<{
9363
+ combined: "combined";
9364
+ head: "head";
9365
+ base: "base";
9366
+ }>>;
9367
+ path: z.ZodString;
9368
+ reason: z.ZodString;
9369
+ sourceCommitHash: z.ZodString;
9370
+ targetCommitHash: z.ZodString;
9371
+ type: z.ZodEnum<{
9372
+ "picked-by-run": "picked-by-run";
9373
+ combined: "combined";
9374
+ "kept-more-checks": "kept-more-checks";
9375
+ "needs-person": "needs-person";
9376
+ }>;
9377
+ }, z.core.$strip>>>;
8685
9378
  headEnvironmentId: PublicIdSchema;
8686
9379
  id: PublicIdSchema;
9380
+ needsPerson: z.ZodOptional<z.ZodObject<{
9381
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
9382
+ path: z.ZodString;
9383
+ }, z.core.$strip>>>;
9384
+ reason: z.ZodEnum<{
9385
+ "undecided-paths": "undecided-paths";
9386
+ "run-limit-reached": "run-limit-reached";
9387
+ "flows-undetermined": "flows-undetermined";
9388
+ "agent-stopped": "agent-stopped";
9389
+ "agent-failed": "agent-failed";
9390
+ "agent-not-started": "agent-not-started";
9391
+ "agent-resolution-off": "agent-resolution-off";
9392
+ }>;
9393
+ }, z.core.$strip>>;
8687
9394
  promotedCommitHash: z.ZodOptional<z.ZodString>;
8688
9395
  settledAt: z.ZodOptional<z.ZodISODateTime>;
8689
9396
  status: z.ZodEnum<{
@@ -8694,10 +9401,154 @@ export declare const publicContractsV1: {
8694
9401
  "no-changes": "no-changes";
8695
9402
  abandoned: "abandoned";
8696
9403
  }>;
9404
+ validationRuns: z.ZodArray<z.ZodObject<{
9405
+ aiTaskId: PublicIdSchema;
9406
+ runId: PublicIdSchema;
9407
+ runMode: z.ZodEnum<{
9408
+ "confirm-after": "confirm-after";
9409
+ "choose-version": "choose-version";
9410
+ }>;
9411
+ sourceCommitHash: z.ZodString;
9412
+ targetCommitHash: z.ZodString;
9413
+ }, z.core.$strip>>;
8697
9414
  url: z.ZodURL;
8698
9415
  aiTaskSessionId: z.ZodOptional<PublicIdSchema>;
8699
9416
  }, z.core.$strip>;
8700
9417
  };
9418
+ reportDecision: {
9419
+ readonly annotationJustifications: {
9420
+ readonly destructiveHint: "Records a decision on the promotion and changes no flow code.";
9421
+ readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
9422
+ readonly readOnlyHint: "Records how a conflicting path was settled.";
9423
+ };
9424
+ readonly annotations: {
9425
+ readonly destructiveHint: false;
9426
+ readonly openWorldHint: false;
9427
+ readonly readOnlyHint: false;
9428
+ };
9429
+ readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
9430
+ readonly input: z.ZodObject<{
9431
+ base: z.ZodOptional<z.ZodObject<{
9432
+ outcome: z.ZodEnum<{
9433
+ passed: "passed";
9434
+ failed: "failed";
9435
+ inconclusive: "inconclusive";
9436
+ }>;
9437
+ runId: PublicIdSchema;
9438
+ }, z.core.$strip>>;
9439
+ combined: z.ZodOptional<z.ZodObject<{
9440
+ outcome: z.ZodEnum<{
9441
+ passed: "passed";
9442
+ failed: "failed";
9443
+ inconclusive: "inconclusive";
9444
+ }>;
9445
+ runId: PublicIdSchema;
9446
+ }, z.core.$strip>>;
9447
+ decision: z.ZodEnum<{
9448
+ "picked-by-run": "picked-by-run";
9449
+ combined: "combined";
9450
+ "kept-more-checks": "kept-more-checks";
9451
+ "needs-person": "needs-person";
9452
+ }>;
9453
+ expectedSourceCommitHash: z.ZodString;
9454
+ expectedTargetCommitHash: z.ZodString;
9455
+ head: z.ZodOptional<z.ZodObject<{
9456
+ outcome: z.ZodEnum<{
9457
+ passed: "passed";
9458
+ failed: "failed";
9459
+ inconclusive: "inconclusive";
9460
+ }>;
9461
+ runId: PublicIdSchema;
9462
+ }, z.core.$strip>>;
9463
+ kept: z.ZodOptional<z.ZodEnum<{
9464
+ combined: "combined";
9465
+ head: "head";
9466
+ base: "base";
9467
+ }>>;
9468
+ path: z.ZodString;
9469
+ promotionId: PublicIdSchema;
9470
+ reason: z.ZodString;
9471
+ }, z.core.$strip>;
9472
+ readonly kind: "write";
9473
+ readonly name: "promotion.reportDecision";
9474
+ readonly output: z.ZodObject<{
9475
+ aiTaskId: z.ZodOptional<PublicIdSchema>;
9476
+ baseEnvironmentId: PublicIdSchema;
9477
+ conflict: z.ZodOptional<z.ZodObject<{
9478
+ paths: z.ZodArray<z.ZodString>;
9479
+ sourceCommitHash: z.ZodString;
9480
+ targetCommitHash: z.ZodString;
9481
+ }, z.core.$strip>>;
9482
+ createdAt: z.ZodISODateTime;
9483
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9484
+ candidateRuns: z.ZodArray<z.ZodObject<{
9485
+ candidate: z.ZodEnum<{
9486
+ combined: "combined";
9487
+ head: "head";
9488
+ base: "base";
9489
+ }>;
9490
+ outcome: z.ZodEnum<{
9491
+ passed: "passed";
9492
+ failed: "failed";
9493
+ inconclusive: "inconclusive";
9494
+ }>;
9495
+ runId: PublicIdSchema;
9496
+ }, z.core.$strip>>;
9497
+ kept: z.ZodOptional<z.ZodEnum<{
9498
+ combined: "combined";
9499
+ head: "head";
9500
+ base: "base";
9501
+ }>>;
9502
+ path: z.ZodString;
9503
+ reason: z.ZodString;
9504
+ sourceCommitHash: z.ZodString;
9505
+ targetCommitHash: z.ZodString;
9506
+ type: z.ZodEnum<{
9507
+ "picked-by-run": "picked-by-run";
9508
+ combined: "combined";
9509
+ "kept-more-checks": "kept-more-checks";
9510
+ "needs-person": "needs-person";
9511
+ }>;
9512
+ }, z.core.$strip>>>;
9513
+ headEnvironmentId: PublicIdSchema;
9514
+ id: PublicIdSchema;
9515
+ needsPerson: z.ZodOptional<z.ZodObject<{
9516
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
9517
+ path: z.ZodString;
9518
+ }, z.core.$strip>>>;
9519
+ reason: z.ZodEnum<{
9520
+ "undecided-paths": "undecided-paths";
9521
+ "run-limit-reached": "run-limit-reached";
9522
+ "flows-undetermined": "flows-undetermined";
9523
+ "agent-stopped": "agent-stopped";
9524
+ "agent-failed": "agent-failed";
9525
+ "agent-not-started": "agent-not-started";
9526
+ "agent-resolution-off": "agent-resolution-off";
9527
+ }>;
9528
+ }, z.core.$strip>>;
9529
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
9530
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
9531
+ status: z.ZodEnum<{
9532
+ pending: "pending";
9533
+ conflicted: "conflicted";
9534
+ resolving: "resolving";
9535
+ promoted: "promoted";
9536
+ "no-changes": "no-changes";
9537
+ abandoned: "abandoned";
9538
+ }>;
9539
+ validationRuns: z.ZodArray<z.ZodObject<{
9540
+ aiTaskId: PublicIdSchema;
9541
+ runId: PublicIdSchema;
9542
+ runMode: z.ZodEnum<{
9543
+ "confirm-after": "confirm-after";
9544
+ "choose-version": "choose-version";
9545
+ }>;
9546
+ sourceCommitHash: z.ZodString;
9547
+ targetCommitHash: z.ZodString;
9548
+ }, z.core.$strip>>;
9549
+ url: z.ZodURL;
9550
+ }, z.core.$strip>;
9551
+ };
8701
9552
  resolve: {
8702
9553
  readonly annotationJustifications: {
8703
9554
  readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
@@ -8728,8 +9579,52 @@ export declare const publicContractsV1: {
8728
9579
  targetCommitHash: z.ZodString;
8729
9580
  }, z.core.$strip>>;
8730
9581
  createdAt: z.ZodISODateTime;
9582
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9583
+ candidateRuns: z.ZodArray<z.ZodObject<{
9584
+ candidate: z.ZodEnum<{
9585
+ combined: "combined";
9586
+ head: "head";
9587
+ base: "base";
9588
+ }>;
9589
+ outcome: z.ZodEnum<{
9590
+ passed: "passed";
9591
+ failed: "failed";
9592
+ inconclusive: "inconclusive";
9593
+ }>;
9594
+ runId: PublicIdSchema;
9595
+ }, z.core.$strip>>;
9596
+ kept: z.ZodOptional<z.ZodEnum<{
9597
+ combined: "combined";
9598
+ head: "head";
9599
+ base: "base";
9600
+ }>>;
9601
+ path: z.ZodString;
9602
+ reason: z.ZodString;
9603
+ sourceCommitHash: z.ZodString;
9604
+ targetCommitHash: z.ZodString;
9605
+ type: z.ZodEnum<{
9606
+ "picked-by-run": "picked-by-run";
9607
+ combined: "combined";
9608
+ "kept-more-checks": "kept-more-checks";
9609
+ "needs-person": "needs-person";
9610
+ }>;
9611
+ }, z.core.$strip>>>;
8731
9612
  headEnvironmentId: PublicIdSchema;
8732
9613
  id: PublicIdSchema;
9614
+ needsPerson: z.ZodOptional<z.ZodObject<{
9615
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
9616
+ path: z.ZodString;
9617
+ }, z.core.$strip>>>;
9618
+ reason: z.ZodEnum<{
9619
+ "undecided-paths": "undecided-paths";
9620
+ "run-limit-reached": "run-limit-reached";
9621
+ "flows-undetermined": "flows-undetermined";
9622
+ "agent-stopped": "agent-stopped";
9623
+ "agent-failed": "agent-failed";
9624
+ "agent-not-started": "agent-not-started";
9625
+ "agent-resolution-off": "agent-resolution-off";
9626
+ }>;
9627
+ }, z.core.$strip>>;
8733
9628
  promotedCommitHash: z.ZodOptional<z.ZodString>;
8734
9629
  settledAt: z.ZodOptional<z.ZodISODateTime>;
8735
9630
  status: z.ZodEnum<{
@@ -8740,6 +9635,16 @@ export declare const publicContractsV1: {
8740
9635
  "no-changes": "no-changes";
8741
9636
  abandoned: "abandoned";
8742
9637
  }>;
9638
+ validationRuns: z.ZodArray<z.ZodObject<{
9639
+ aiTaskId: PublicIdSchema;
9640
+ runId: PublicIdSchema;
9641
+ runMode: z.ZodEnum<{
9642
+ "confirm-after": "confirm-after";
9643
+ "choose-version": "choose-version";
9644
+ }>;
9645
+ sourceCommitHash: z.ZodString;
9646
+ targetCommitHash: z.ZodString;
9647
+ }, z.core.$strip>>;
8743
9648
  url: z.ZodURL;
8744
9649
  }, z.core.$strip>;
8745
9650
  };
@@ -8802,6 +9707,10 @@ export declare const publicContractsV1: {
8802
9707
  investigateFailures: z.ZodOptional<z.ZodBoolean>;
8803
9708
  pullRequestNumber: z.ZodOptional<z.ZodNumber>;
8804
9709
  repository: z.ZodOptional<z.ZodString>;
9710
+ resolutionRunMode: z.ZodOptional<z.ZodEnum<{
9711
+ "confirm-after": "confirm-after";
9712
+ "choose-version": "choose-version";
9713
+ }>>;
8805
9714
  workspaceId: z.ZodOptional<PublicIdSchema>;
8806
9715
  }, z.core.$strip>, z.ZodObject<{
8807
9716
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
@@ -8821,8 +9730,8 @@ export declare const publicContractsV1: {
8821
9730
  runId: PublicIdSchema;
8822
9731
  tracking: z.ZodEnum<{
8823
9732
  failed: "failed";
8824
- registered: "registered";
8825
9733
  "not-requested": "not-requested";
9734
+ registered: "registered";
8826
9735
  }>;
8827
9736
  url: z.ZodURL;
8828
9737
  }, z.core.$strip>;
@@ -8930,10 +9839,10 @@ export declare const publicContractsV1: {
8930
9839
  needsReview: z.ZodOptional<z.ZodBoolean>;
8931
9840
  runId: PublicIdSchema;
8932
9841
  status: z.ZodEnum<{
9842
+ passed: "passed";
8933
9843
  failed: "failed";
8934
9844
  queued: "queued";
8935
9845
  running: "running";
8936
- passed: "passed";
8937
9846
  canceled: "canceled";
8938
9847
  superseded: "superseded";
8939
9848
  }>;
@@ -8959,10 +9868,10 @@ export declare const publicContractsV1: {
8959
9868
  readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
8960
9869
  readonly input: z.ZodObject<{
8961
9870
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9871
+ passed: "passed";
8962
9872
  failed: "failed";
8963
9873
  queued: "queued";
8964
9874
  running: "running";
8965
- passed: "passed";
8966
9875
  canceled: "canceled";
8967
9876
  }>>>;
8968
9877
  runId: PublicIdSchema;
@@ -9112,9 +10021,9 @@ export declare const publicContractsV1: {
9112
10021
  flowId: PublicIdSchema;
9113
10022
  name: z.ZodString;
9114
10023
  status: z.ZodEnum<{
10024
+ passed: "passed";
9115
10025
  queued: "queued";
9116
10026
  running: "running";
9117
- passed: "passed";
9118
10027
  canceled: "canceled";
9119
10028
  }>;
9120
10029
  }, z.core.$strip>], "status">>;
@@ -9147,10 +10056,10 @@ export declare const publicContractsV1: {
9147
10056
  }, z.core.$strip>;
9148
10057
  needsReview: z.ZodOptional<z.ZodBoolean>;
9149
10058
  status: z.ZodEnum<{
10059
+ passed: "passed";
9150
10060
  failed: "failed";
9151
10061
  queued: "queued";
9152
10062
  running: "running";
9153
- passed: "passed";
9154
10063
  canceled: "canceled";
9155
10064
  superseded: "superseded";
9156
10065
  }>;
@@ -9268,8 +10177,8 @@ export declare const publicContractsV1: {
9268
10177
  runId: PublicIdSchema;
9269
10178
  tracking: z.ZodEnum<{
9270
10179
  failed: "failed";
9271
- registered: "registered";
9272
10180
  "not-requested": "not-requested";
10181
+ registered: "registered";
9273
10182
  }>;
9274
10183
  url: z.ZodURL;
9275
10184
  }, z.core.$strip>;
@@ -10104,8 +11013,8 @@ export declare const publicContractsV1: {
10104
11013
  x: z.ZodInt;
10105
11014
  y: z.ZodInt;
10106
11015
  }, z.core.$strict>, z.ZodObject<{
10107
- scroll_x: z.ZodInt;
10108
- scroll_y: z.ZodInt;
11016
+ scroll_x: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11017
+ scroll_y: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
10109
11018
  type: z.ZodLiteral<"scroll">;
10110
11019
  x: z.ZodInt;
10111
11020
  y: z.ZodInt;
@@ -10208,8 +11117,8 @@ export declare const publicContractsV1: {
10208
11117
  x: z.ZodInt;
10209
11118
  y: z.ZodInt;
10210
11119
  }, z.core.$strict>, z.ZodObject<{
10211
- scroll_x: z.ZodInt;
10212
- scroll_y: z.ZodInt;
11120
+ scroll_x: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11121
+ scroll_y: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
10213
11122
  type: z.ZodLiteral<"scroll">;
10214
11123
  x: z.ZodInt;
10215
11124
  y: z.ZodInt;
@@ -10466,6 +11375,238 @@ export declare const publicContractsV1: {
10466
11375
  }, z.core.$strip>;
10467
11376
  };
10468
11377
  };
11378
+ suggestion: {
11379
+ decide: {
11380
+ readonly annotationJustifications: {
11381
+ readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
11382
+ readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
11383
+ readonly readOnlyHint: "Records a decision on a suggestion and changes its linked issue's status.";
11384
+ };
11385
+ readonly annotations: {
11386
+ readonly destructiveHint: false;
11387
+ readonly openWorldHint: true;
11388
+ readonly readOnlyHint: false;
11389
+ };
11390
+ readonly description: string;
11391
+ readonly input: z.ZodObject<{
11392
+ decision: z.ZodEnum<{
11393
+ add: "add";
11394
+ report: "report";
11395
+ skip: "skip";
11396
+ undo: "undo";
11397
+ activate: "activate";
11398
+ }>;
11399
+ skipReason: z.ZodOptional<z.ZodEnum<{
11400
+ "not-worth-testing": "not-worth-testing";
11401
+ "already-covered": "already-covered";
11402
+ "feature-removed": "feature-removed";
11403
+ }>>;
11404
+ suggestionId: PublicIdSchema;
11405
+ }, z.core.$strip>;
11406
+ readonly kind: "write";
11407
+ readonly name: "suggestion.decide";
11408
+ readonly output: z.ZodObject<{
11409
+ suggestion: z.ZodObject<{
11410
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
11411
+ decisions: z.ZodArray<z.ZodEnum<{
11412
+ add: "add";
11413
+ report: "report";
11414
+ skip: "skip";
11415
+ undo: "undo";
11416
+ activate: "activate";
11417
+ }>>;
11418
+ environmentId: PublicIdSchema;
11419
+ environmentName: z.ZodString;
11420
+ flow: z.ZodObject<{
11421
+ flowId: z.ZodOptional<PublicIdSchema>;
11422
+ path: z.ZodString;
11423
+ }, z.core.$strip>;
11424
+ holdReason: z.ZodOptional<z.ZodEnum<{
11425
+ "path-taken": "path-taken";
11426
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
11427
+ "merge-conflicted": "merge-conflicted";
11428
+ "undo-cleanup-failed": "undo-cleanup-failed";
11429
+ }>>;
11430
+ issue: z.ZodOptional<z.ZodObject<{
11431
+ issueId: PublicIdSchema;
11432
+ type: z.ZodEnum<{
11433
+ bug: "bug";
11434
+ coverageRequest: "coverageRequest";
11435
+ }>;
11436
+ }, z.core.$strip>>;
11437
+ kind: z.ZodEnum<{
11438
+ "new-flow": "new-flow";
11439
+ "potential-bug": "potential-bug";
11440
+ }>;
11441
+ location: z.ZodString;
11442
+ reason: z.ZodString;
11443
+ skipReason: z.ZodOptional<z.ZodEnum<{
11444
+ "not-worth-testing": "not-worth-testing";
11445
+ "already-covered": "already-covered";
11446
+ "feature-removed": "feature-removed";
11447
+ }>>;
11448
+ state: z.ZodEnum<{
11449
+ skipped: "skipped";
11450
+ accepted: "accepted";
11451
+ waiting: "waiting";
11452
+ expired: "expired";
11453
+ }>;
11454
+ suggestedAt: z.ZodISODateTime;
11455
+ suggestionId: PublicIdSchema;
11456
+ title: z.ZodString;
11457
+ url: z.ZodURL;
11458
+ }, z.core.$strip>;
11459
+ }, z.core.$strip>;
11460
+ };
11461
+ find: {
11462
+ readonly annotationJustifications: {
11463
+ readonly destructiveHint: "Does not decide or change any suggestion.";
11464
+ readonly openWorldHint: "Reads QA Wolf suggestion records without changing external systems.";
11465
+ readonly readOnlyHint: "Lists the workspace's coverage suggestions.";
11466
+ };
11467
+ readonly annotations: {
11468
+ readonly destructiveHint: false;
11469
+ readonly openWorldHint: false;
11470
+ readonly readOnlyHint: true;
11471
+ };
11472
+ readonly description: string;
11473
+ readonly input: z.ZodObject<{
11474
+ cursor: z.ZodOptional<z.ZodString>;
11475
+ limit: z.ZodDefault<z.ZodNumber>;
11476
+ state: z.ZodOptional<z.ZodEnum<{
11477
+ skipped: "skipped";
11478
+ accepted: "accepted";
11479
+ waiting: "waiting";
11480
+ }>>;
11481
+ workspaceId: z.ZodOptional<PublicIdSchema>;
11482
+ }, z.core.$strip>;
11483
+ readonly kind: "read";
11484
+ readonly name: "suggestion.find";
11485
+ readonly output: z.ZodObject<{
11486
+ nextCursor: z.ZodOptional<z.ZodString>;
11487
+ suggestions: z.ZodArray<z.ZodObject<{
11488
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
11489
+ decisions: z.ZodArray<z.ZodEnum<{
11490
+ add: "add";
11491
+ report: "report";
11492
+ skip: "skip";
11493
+ undo: "undo";
11494
+ activate: "activate";
11495
+ }>>;
11496
+ environmentId: PublicIdSchema;
11497
+ environmentName: z.ZodString;
11498
+ flow: z.ZodObject<{
11499
+ flowId: z.ZodOptional<PublicIdSchema>;
11500
+ path: z.ZodString;
11501
+ }, z.core.$strip>;
11502
+ holdReason: z.ZodOptional<z.ZodEnum<{
11503
+ "path-taken": "path-taken";
11504
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
11505
+ "merge-conflicted": "merge-conflicted";
11506
+ "undo-cleanup-failed": "undo-cleanup-failed";
11507
+ }>>;
11508
+ issue: z.ZodOptional<z.ZodObject<{
11509
+ issueId: PublicIdSchema;
11510
+ type: z.ZodEnum<{
11511
+ bug: "bug";
11512
+ coverageRequest: "coverageRequest";
11513
+ }>;
11514
+ }, z.core.$strip>>;
11515
+ kind: z.ZodEnum<{
11516
+ "new-flow": "new-flow";
11517
+ "potential-bug": "potential-bug";
11518
+ }>;
11519
+ location: z.ZodString;
11520
+ reason: z.ZodString;
11521
+ skipReason: z.ZodOptional<z.ZodEnum<{
11522
+ "not-worth-testing": "not-worth-testing";
11523
+ "already-covered": "already-covered";
11524
+ "feature-removed": "feature-removed";
11525
+ }>>;
11526
+ state: z.ZodEnum<{
11527
+ skipped: "skipped";
11528
+ accepted: "accepted";
11529
+ waiting: "waiting";
11530
+ expired: "expired";
11531
+ }>;
11532
+ suggestedAt: z.ZodISODateTime;
11533
+ suggestionId: PublicIdSchema;
11534
+ title: z.ZodString;
11535
+ url: z.ZodURL;
11536
+ }, z.core.$strip>>;
11537
+ }, z.core.$strip>;
11538
+ };
11539
+ get: {
11540
+ readonly annotationJustifications: {
11541
+ readonly destructiveHint: "Does not decide or change the suggestion.";
11542
+ readonly openWorldHint: "Reads a QA Wolf suggestion record without changing external systems.";
11543
+ readonly readOnlyHint: "Retrieves one coverage suggestion.";
11544
+ };
11545
+ readonly annotations: {
11546
+ readonly destructiveHint: false;
11547
+ readonly openWorldHint: false;
11548
+ readonly readOnlyHint: true;
11549
+ };
11550
+ readonly description: string;
11551
+ readonly input: z.ZodObject<{
11552
+ suggestionId: PublicIdSchema;
11553
+ }, z.core.$strip>;
11554
+ readonly kind: "read";
11555
+ readonly name: "suggestion.get";
11556
+ readonly output: z.ZodObject<{
11557
+ suggestion: z.ZodObject<{
11558
+ decidedAt: z.ZodOptional<z.ZodISODateTime>;
11559
+ decisions: z.ZodArray<z.ZodEnum<{
11560
+ add: "add";
11561
+ report: "report";
11562
+ skip: "skip";
11563
+ undo: "undo";
11564
+ activate: "activate";
11565
+ }>>;
11566
+ environmentId: PublicIdSchema;
11567
+ environmentName: z.ZodString;
11568
+ flow: z.ZodObject<{
11569
+ flowId: z.ZodOptional<PublicIdSchema>;
11570
+ path: z.ZodString;
11571
+ }, z.core.$strip>;
11572
+ holdReason: z.ZodOptional<z.ZodEnum<{
11573
+ "path-taken": "path-taken";
11574
+ "not-proven-on-merged-commit": "not-proven-on-merged-commit";
11575
+ "merge-conflicted": "merge-conflicted";
11576
+ "undo-cleanup-failed": "undo-cleanup-failed";
11577
+ }>>;
11578
+ issue: z.ZodOptional<z.ZodObject<{
11579
+ issueId: PublicIdSchema;
11580
+ type: z.ZodEnum<{
11581
+ bug: "bug";
11582
+ coverageRequest: "coverageRequest";
11583
+ }>;
11584
+ }, z.core.$strip>>;
11585
+ kind: z.ZodEnum<{
11586
+ "new-flow": "new-flow";
11587
+ "potential-bug": "potential-bug";
11588
+ }>;
11589
+ location: z.ZodString;
11590
+ reason: z.ZodString;
11591
+ skipReason: z.ZodOptional<z.ZodEnum<{
11592
+ "not-worth-testing": "not-worth-testing";
11593
+ "already-covered": "already-covered";
11594
+ "feature-removed": "feature-removed";
11595
+ }>>;
11596
+ state: z.ZodEnum<{
11597
+ skipped: "skipped";
11598
+ accepted: "accepted";
11599
+ waiting: "waiting";
11600
+ expired: "expired";
11601
+ }>;
11602
+ suggestedAt: z.ZodISODateTime;
11603
+ suggestionId: PublicIdSchema;
11604
+ title: z.ZodString;
11605
+ url: z.ZodURL;
11606
+ }, z.core.$strip>;
11607
+ }, z.core.$strip>;
11608
+ };
11609
+ };
10469
11610
  tag: {
10470
11611
  create: {
10471
11612
  readonly annotationJustifications: {
@@ -10541,6 +11682,10 @@ export declare const publicContractsV1: {
10541
11682
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
10542
11683
  timeOfDay: z.ZodOptional<z.ZodString>;
10543
11684
  timezoneId: z.ZodOptional<z.ZodString>;
11685
+ window: z.ZodOptional<z.ZodObject<{
11686
+ endTime: z.ZodOptional<z.ZodString>;
11687
+ startTime: z.ZodString;
11688
+ }, z.core.$strip>>;
10544
11689
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
10545
11690
  every: z.ZodOptional<z.ZodNumber>;
10546
11691
  startDate: z.ZodOptional<z.ZodString>;
@@ -10615,6 +11760,10 @@ export declare const publicContractsV1: {
10615
11760
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
10616
11761
  timeOfDay: z.ZodOptional<z.ZodString>;
10617
11762
  timezoneId: z.ZodOptional<z.ZodString>;
11763
+ window: z.ZodOptional<z.ZodObject<{
11764
+ endTime: z.ZodOptional<z.ZodString>;
11765
+ startTime: z.ZodString;
11766
+ }, z.core.$strip>>;
10618
11767
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
10619
11768
  every: z.ZodOptional<z.ZodNumber>;
10620
11769
  startDate: z.ZodOptional<z.ZodString>;
@@ -10737,6 +11886,10 @@ export declare const publicContractsV1: {
10737
11886
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
10738
11887
  timeOfDay: z.ZodOptional<z.ZodString>;
10739
11888
  timezoneId: z.ZodOptional<z.ZodString>;
11889
+ window: z.ZodOptional<z.ZodObject<{
11890
+ endTime: z.ZodOptional<z.ZodString>;
11891
+ startTime: z.ZodString;
11892
+ }, z.core.$strip>>;
10740
11893
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
10741
11894
  every: z.ZodOptional<z.ZodNumber>;
10742
11895
  startDate: z.ZodOptional<z.ZodString>;
@@ -10837,6 +11990,10 @@ export declare const publicContractsV1: {
10837
11990
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
10838
11991
  timeOfDay: z.ZodOptional<z.ZodString>;
10839
11992
  timezoneId: z.ZodOptional<z.ZodString>;
11993
+ window: z.ZodOptional<z.ZodObject<{
11994
+ endTime: z.ZodOptional<z.ZodString>;
11995
+ startTime: z.ZodString;
11996
+ }, z.core.$strip>>;
10840
11997
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
10841
11998
  every: z.ZodOptional<z.ZodNumber>;
10842
11999
  startDate: z.ZodOptional<z.ZodString>;
@@ -10937,6 +12094,10 @@ export declare const publicContractsV1: {
10937
12094
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
10938
12095
  timeOfDay: z.ZodOptional<z.ZodString>;
10939
12096
  timezoneId: z.ZodOptional<z.ZodString>;
12097
+ window: z.ZodOptional<z.ZodObject<{
12098
+ endTime: z.ZodOptional<z.ZodString>;
12099
+ startTime: z.ZodString;
12100
+ }, z.core.$strip>>;
10940
12101
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
10941
12102
  every: z.ZodOptional<z.ZodNumber>;
10942
12103
  startDate: z.ZodOptional<z.ZodString>;
@@ -11037,6 +12198,10 @@ export declare const publicContractsV1: {
11037
12198
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
11038
12199
  timeOfDay: z.ZodOptional<z.ZodString>;
11039
12200
  timezoneId: z.ZodOptional<z.ZodString>;
12201
+ window: z.ZodOptional<z.ZodObject<{
12202
+ endTime: z.ZodOptional<z.ZodString>;
12203
+ startTime: z.ZodString;
12204
+ }, z.core.$strip>>;
11040
12205
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
11041
12206
  every: z.ZodOptional<z.ZodNumber>;
11042
12207
  startDate: z.ZodOptional<z.ZodString>;
@@ -11130,6 +12295,10 @@ export declare const publicContractsV1: {
11130
12295
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
11131
12296
  timeOfDay: z.ZodOptional<z.ZodString>;
11132
12297
  timezoneId: z.ZodOptional<z.ZodString>;
12298
+ window: z.ZodOptional<z.ZodObject<{
12299
+ endTime: z.ZodOptional<z.ZodString>;
12300
+ startTime: z.ZodString;
12301
+ }, z.core.$strip>>;
11133
12302
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
11134
12303
  every: z.ZodOptional<z.ZodNumber>;
11135
12304
  startDate: z.ZodOptional<z.ZodString>;
@@ -11204,6 +12373,10 @@ export declare const publicContractsV1: {
11204
12373
  minuteOfHour: z.ZodOptional<z.ZodNumber>;
11205
12374
  timeOfDay: z.ZodOptional<z.ZodString>;
11206
12375
  timezoneId: z.ZodOptional<z.ZodString>;
12376
+ window: z.ZodOptional<z.ZodObject<{
12377
+ endTime: z.ZodOptional<z.ZodString>;
12378
+ startTime: z.ZodString;
12379
+ }, z.core.$strip>>;
11207
12380
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
11208
12381
  every: z.ZodOptional<z.ZodNumber>;
11209
12382
  startDate: z.ZodOptional<z.ZodString>;