@qawolf/api-contracts 0.104.0 → 0.107.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 (68) hide show
  1. package/dist/v1/build/index.d.ts +24 -0
  2. package/dist/v1/build/index.d.ts.map +1 -1
  3. package/dist/v1/build/index.js +2 -0
  4. package/dist/v1/build/index.js.map +1 -1
  5. package/dist/v1/build/requestDownload.d.ts +29 -0
  6. package/dist/v1/build/requestDownload.d.ts.map +1 -0
  7. package/dist/v1/build/requestDownload.js +37 -0
  8. package/dist/v1/build/requestDownload.js.map +1 -0
  9. package/dist/v1/environment/getVariable.d.ts +2 -1
  10. package/dist/v1/environment/getVariable.d.ts.map +1 -1
  11. package/dist/v1/environment/getVariable.js +4 -1
  12. package/dist/v1/environment/getVariable.js.map +1 -1
  13. package/dist/v1/index.d.ts +326 -4
  14. package/dist/v1/index.d.ts.map +1 -1
  15. package/dist/v1/index.js +2 -17
  16. package/dist/v1/index.js.map +1 -1
  17. package/dist/v1/issue/addFlows.d.ts +5 -0
  18. package/dist/v1/issue/addFlows.d.ts.map +1 -1
  19. package/dist/v1/issue/attachFiles.d.ts +71 -0
  20. package/dist/v1/issue/attachFiles.d.ts.map +1 -0
  21. package/dist/v1/issue/attachFiles.js +31 -0
  22. package/dist/v1/issue/attachFiles.js.map +1 -0
  23. package/dist/v1/issue/contracts.d.ts +683 -0
  24. package/dist/v1/issue/contracts.d.ts.map +1 -0
  25. package/dist/v1/issue/contracts.js +20 -0
  26. package/dist/v1/issue/contracts.js.map +1 -0
  27. package/dist/v1/issue/create.d.ts +6 -0
  28. package/dist/v1/issue/create.d.ts.map +1 -1
  29. package/dist/v1/issue/create.js +4 -0
  30. package/dist/v1/issue/create.js.map +1 -1
  31. package/dist/v1/issue/decideSuggestion.d.ts +5 -0
  32. package/dist/v1/issue/decideSuggestion.d.ts.map +1 -1
  33. package/dist/v1/issue/files.d.ts +11 -0
  34. package/dist/v1/issue/files.d.ts.map +1 -0
  35. package/dist/v1/issue/files.js +21 -0
  36. package/dist/v1/issue/files.js.map +1 -0
  37. package/dist/v1/issue/index.d.ts +15 -0
  38. package/dist/v1/issue/index.d.ts.map +1 -1
  39. package/dist/v1/issue/index.js +5 -0
  40. package/dist/v1/issue/index.js.map +1 -1
  41. package/dist/v1/issue/removeFlows.d.ts +5 -0
  42. package/dist/v1/issue/removeFlows.d.ts.map +1 -1
  43. package/dist/v1/issue/update.d.ts +5 -0
  44. package/dist/v1/issue/update.d.ts.map +1 -1
  45. package/dist/v1/mcpToolDescription.js +1 -1
  46. package/dist/v1/mcpToolDescription.js.map +1 -1
  47. package/dist/v1/run/diagnose.d.ts +5 -0
  48. package/dist/v1/run/diagnose.d.ts.map +1 -1
  49. package/dist/v1/run/get.d.ts +32 -0
  50. package/dist/v1/run/get.d.ts.map +1 -1
  51. package/dist/v1/run/get.js +7 -0
  52. package/dist/v1/run/get.js.map +1 -1
  53. package/dist/v1/run/versions.d.ts +34 -0
  54. package/dist/v1/run/versions.d.ts.map +1 -0
  55. package/dist/v1/run/versions.js +67 -0
  56. package/dist/v1/run/versions.js.map +1 -0
  57. package/dist/v1/runner/catalog.d.ts +1 -1
  58. package/dist/v1/runner/index.d.ts +1 -1
  59. package/dist/v1/runner/index.js +1 -1
  60. package/dist/v1/runner/index.js.map +1 -1
  61. package/dist/v1/runner/runFlow.d.ts.map +1 -1
  62. package/dist/v1/runner/runFlow.js +2 -8
  63. package/dist/v1/runner/runFlow.js.map +1 -1
  64. package/dist/v1/sharedSchemas.d.ts +1 -0
  65. package/dist/v1/sharedSchemas.d.ts.map +1 -1
  66. package/dist/v1/sharedSchemas.js +1 -0
  67. package/dist/v1/sharedSchemas.js.map +1 -1
  68. package/package.json +1 -1
@@ -0,0 +1,683 @@
1
+ import type { PublicIdSchema } from "../ids.js";
2
+ export declare const makeIssueContracts: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
3
+ [key: string]: unknown;
4
+ environment: EnvironmentId;
5
+ flow: FlowId;
6
+ issue: IssueId;
7
+ run: RunId;
8
+ workspace: WorkspaceId;
9
+ }) => {
10
+ addFlows: {
11
+ readonly annotationJustifications: {
12
+ readonly destructiveHint: "Adds coverage associations without removing existing ones.";
13
+ readonly openWorldHint: "Changes private coverage associations without publishing an external issue update.";
14
+ readonly readOnlyHint: "Adds existing flows to a coverage request's covered-flow set.";
15
+ };
16
+ readonly annotations: {
17
+ readonly destructiveHint: false;
18
+ readonly openWorldHint: false;
19
+ readonly readOnlyHint: false;
20
+ };
21
+ readonly description: string;
22
+ readonly input: import("zod").ZodObject<{
23
+ flowIds: import("zod").ZodArray<FlowId>;
24
+ issueId: IssueId;
25
+ }, import("zod/v4/core").$strip>;
26
+ readonly kind: "write";
27
+ readonly name: "issue.addFlows";
28
+ readonly output: import("zod").ZodObject<{
29
+ issue: import("zod").ZodObject<{
30
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
31
+ createdAt: import("zod").ZodCoercedDate<unknown>;
32
+ description: import("zod").ZodString;
33
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
34
+ fileId: import("zod").ZodString;
35
+ name: import("zod").ZodString;
36
+ sizeBytes: import("zod").ZodNumber;
37
+ }, import("zod/v4/core").$strip>>>;
38
+ issueId: IssueId;
39
+ name: import("zod").ZodString;
40
+ number: import("zod").ZodNumber;
41
+ priority: import("zod").ZodEnum<{
42
+ unprioritized: "unprioritized";
43
+ low: "low";
44
+ medium: "medium";
45
+ high: "high";
46
+ urgent: "urgent";
47
+ }>;
48
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
49
+ environmentId: EnvironmentId;
50
+ firstReproducedInRunId: RunId;
51
+ flowId: FlowId;
52
+ isActive: import("zod").ZodBoolean;
53
+ lastReproducedInRunId: RunId;
54
+ }, import("zod/v4/core").$strip>>;
55
+ status: import("zod").ZodEnum<{
56
+ pending: "pending";
57
+ canceled: "canceled";
58
+ backlog: "backlog";
59
+ inProgress: "inProgress";
60
+ paused: "paused";
61
+ resolved: "resolved";
62
+ archived: "archived";
63
+ }>;
64
+ type: import("zod").ZodEnum<{
65
+ bug: "bug";
66
+ maintenance: "maintenance";
67
+ coverageRequest: "coverageRequest";
68
+ }>;
69
+ url: import("zod").ZodURL;
70
+ }, import("zod/v4/core").$strip>;
71
+ }, import("zod/v4/core").$strip>;
72
+ };
73
+ attachFiles: {
74
+ readonly annotationJustifications: {
75
+ readonly destructiveHint: "Adds files to the bug report without removing or replacing the ones already attached.";
76
+ readonly openWorldHint: "Copies files within QA Wolf storage without publishing anything outside QA Wolf.";
77
+ readonly readOnlyHint: "Copies files from the team's storage and attaches the copies to a bug report.";
78
+ };
79
+ readonly annotations: {
80
+ readonly destructiveHint: false;
81
+ readonly openWorldHint: false;
82
+ readonly readOnlyHint: false;
83
+ };
84
+ readonly description: string;
85
+ readonly input: import("zod").ZodObject<{
86
+ filePaths: import("zod").ZodArray<import("zod").ZodString>;
87
+ issueId: IssueId;
88
+ }, import("zod/v4/core").$strip>;
89
+ readonly kind: "write";
90
+ readonly name: "issue.attachFiles";
91
+ readonly output: import("zod").ZodObject<{
92
+ issue: import("zod").ZodObject<{
93
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
94
+ createdAt: import("zod").ZodCoercedDate<unknown>;
95
+ description: import("zod").ZodString;
96
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
97
+ fileId: import("zod").ZodString;
98
+ name: import("zod").ZodString;
99
+ sizeBytes: import("zod").ZodNumber;
100
+ }, import("zod/v4/core").$strip>>>;
101
+ issueId: IssueId;
102
+ name: import("zod").ZodString;
103
+ number: import("zod").ZodNumber;
104
+ priority: import("zod").ZodEnum<{
105
+ unprioritized: "unprioritized";
106
+ low: "low";
107
+ medium: "medium";
108
+ high: "high";
109
+ urgent: "urgent";
110
+ }>;
111
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
112
+ environmentId: EnvironmentId;
113
+ firstReproducedInRunId: RunId;
114
+ flowId: FlowId;
115
+ isActive: import("zod").ZodBoolean;
116
+ lastReproducedInRunId: RunId;
117
+ }, import("zod/v4/core").$strip>>;
118
+ status: import("zod").ZodEnum<{
119
+ pending: "pending";
120
+ canceled: "canceled";
121
+ backlog: "backlog";
122
+ inProgress: "inProgress";
123
+ paused: "paused";
124
+ resolved: "resolved";
125
+ archived: "archived";
126
+ }>;
127
+ type: import("zod").ZodEnum<{
128
+ bug: "bug";
129
+ maintenance: "maintenance";
130
+ coverageRequest: "coverageRequest";
131
+ }>;
132
+ url: import("zod").ZodURL;
133
+ }, import("zod/v4/core").$strip>;
134
+ }, import("zod/v4/core").$strip>;
135
+ };
136
+ create: {
137
+ readonly annotationJustifications: {
138
+ readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
139
+ readonly openWorldHint: "Issue creation can send messages or synchronize records through connected communication and issue-tracking services.";
140
+ readonly readOnlyHint: "Creates a bug or coverage request and can start configured issue notifications.";
141
+ };
142
+ readonly annotations: {
143
+ readonly destructiveHint: true;
144
+ readonly openWorldHint: true;
145
+ readonly readOnlyHint: false;
146
+ };
147
+ readonly description: string;
148
+ readonly input: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
149
+ filePaths: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
150
+ type: import("zod").ZodLiteral<"bug">;
151
+ description: import("zod").ZodOptional<import("zod").ZodString>;
152
+ name: import("zod").ZodString;
153
+ priority: import("zod").ZodOptional<import("zod").ZodEnum<{
154
+ unprioritized: "unprioritized";
155
+ low: "low";
156
+ medium: "medium";
157
+ high: "high";
158
+ urgent: "urgent";
159
+ }>>;
160
+ workspaceId: import("zod").ZodOptional<WorkspaceId>;
161
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
162
+ estimatedDueDate: import("zod").ZodOptional<import("zod").ZodISODate>;
163
+ type: import("zod").ZodLiteral<"coverageRequest">;
164
+ description: import("zod").ZodOptional<import("zod").ZodString>;
165
+ name: import("zod").ZodString;
166
+ priority: import("zod").ZodOptional<import("zod").ZodEnum<{
167
+ unprioritized: "unprioritized";
168
+ low: "low";
169
+ medium: "medium";
170
+ high: "high";
171
+ urgent: "urgent";
172
+ }>>;
173
+ workspaceId: import("zod").ZodOptional<WorkspaceId>;
174
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
175
+ effort: import("zod").ZodEnum<{
176
+ small: "small";
177
+ medium: "medium";
178
+ extraSmall: "extraSmall";
179
+ large: "large";
180
+ extraLarge: "extraLarge";
181
+ }>;
182
+ priority: import("zod").ZodEnum<{
183
+ low: "low";
184
+ medium: "medium";
185
+ high: "high";
186
+ urgent: "urgent";
187
+ }>;
188
+ reason: import("zod").ZodEnum<{
189
+ featureNotAvailable: "featureNotAvailable";
190
+ needsTestData: "needsTestData";
191
+ needsAccess: "needsAccess";
192
+ needsConfirmation: "needsConfirmation";
193
+ environmentUnavailable: "environmentUnavailable";
194
+ qaWolfQueue: "qaWolfQueue";
195
+ dataChanged: "dataChanged";
196
+ flowNeedsWork: "flowNeedsWork";
197
+ other: "other";
198
+ uiChanged: "uiChanged";
199
+ }>;
200
+ type: import("zod").ZodLiteral<"maintenance">;
201
+ description: import("zod").ZodOptional<import("zod").ZodString>;
202
+ name: import("zod").ZodString;
203
+ workspaceId: import("zod").ZodOptional<WorkspaceId>;
204
+ }, import("zod/v4/core").$strip>], "type">;
205
+ readonly kind: "write";
206
+ readonly name: "issue.create";
207
+ readonly output: import("zod").ZodObject<{
208
+ issue: import("zod").ZodObject<{
209
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
210
+ createdAt: import("zod").ZodCoercedDate<unknown>;
211
+ description: import("zod").ZodString;
212
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
213
+ fileId: import("zod").ZodString;
214
+ name: import("zod").ZodString;
215
+ sizeBytes: import("zod").ZodNumber;
216
+ }, import("zod/v4/core").$strip>>>;
217
+ issueId: IssueId;
218
+ name: import("zod").ZodString;
219
+ number: import("zod").ZodNumber;
220
+ priority: import("zod").ZodEnum<{
221
+ unprioritized: "unprioritized";
222
+ low: "low";
223
+ medium: "medium";
224
+ high: "high";
225
+ urgent: "urgent";
226
+ }>;
227
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
228
+ environmentId: EnvironmentId;
229
+ firstReproducedInRunId: RunId;
230
+ flowId: FlowId;
231
+ isActive: import("zod").ZodBoolean;
232
+ lastReproducedInRunId: RunId;
233
+ }, import("zod/v4/core").$strip>>;
234
+ status: import("zod").ZodEnum<{
235
+ pending: "pending";
236
+ canceled: "canceled";
237
+ backlog: "backlog";
238
+ inProgress: "inProgress";
239
+ paused: "paused";
240
+ resolved: "resolved";
241
+ archived: "archived";
242
+ }>;
243
+ type: import("zod").ZodEnum<{
244
+ bug: "bug";
245
+ maintenance: "maintenance";
246
+ coverageRequest: "coverageRequest";
247
+ }>;
248
+ url: import("zod").ZodURL;
249
+ }, import("zod/v4/core").$strip>;
250
+ }, import("zod/v4/core").$strip>;
251
+ };
252
+ decideSuggestion: {
253
+ readonly annotationJustifications: {
254
+ readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
255
+ readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
256
+ readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
257
+ };
258
+ readonly annotations: {
259
+ readonly destructiveHint: false;
260
+ readonly openWorldHint: true;
261
+ readonly readOnlyHint: false;
262
+ };
263
+ readonly description: string;
264
+ readonly input: import("zod").ZodObject<{
265
+ decision: import("zod").ZodEnum<{
266
+ add: "add";
267
+ report: "report";
268
+ skip: "skip";
269
+ undo: "undo";
270
+ activate: "activate";
271
+ }>;
272
+ issueId: IssueId;
273
+ skipReason: import("zod").ZodOptional<import("zod").ZodEnum<{
274
+ "not-worth-testing": "not-worth-testing";
275
+ "already-covered": "already-covered";
276
+ "feature-removed": "feature-removed";
277
+ }>>;
278
+ }, import("zod/v4/core").$strip>;
279
+ readonly kind: "write";
280
+ readonly name: "issue.decideSuggestion";
281
+ readonly output: import("zod").ZodObject<{
282
+ issue: import("zod").ZodObject<{
283
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
284
+ createdAt: import("zod").ZodCoercedDate<unknown>;
285
+ description: import("zod").ZodString;
286
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
287
+ fileId: import("zod").ZodString;
288
+ name: import("zod").ZodString;
289
+ sizeBytes: import("zod").ZodNumber;
290
+ }, import("zod/v4/core").$strip>>>;
291
+ issueId: IssueId;
292
+ name: import("zod").ZodString;
293
+ number: import("zod").ZodNumber;
294
+ priority: import("zod").ZodEnum<{
295
+ unprioritized: "unprioritized";
296
+ low: "low";
297
+ medium: "medium";
298
+ high: "high";
299
+ urgent: "urgent";
300
+ }>;
301
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
302
+ environmentId: EnvironmentId;
303
+ firstReproducedInRunId: RunId;
304
+ flowId: FlowId;
305
+ isActive: import("zod").ZodBoolean;
306
+ lastReproducedInRunId: RunId;
307
+ }, import("zod/v4/core").$strip>>;
308
+ status: import("zod").ZodEnum<{
309
+ pending: "pending";
310
+ canceled: "canceled";
311
+ backlog: "backlog";
312
+ inProgress: "inProgress";
313
+ paused: "paused";
314
+ resolved: "resolved";
315
+ archived: "archived";
316
+ }>;
317
+ type: import("zod").ZodEnum<{
318
+ bug: "bug";
319
+ maintenance: "maintenance";
320
+ coverageRequest: "coverageRequest";
321
+ }>;
322
+ url: import("zod").ZodURL;
323
+ }, import("zod/v4/core").$strip>;
324
+ }, import("zod/v4/core").$strip>;
325
+ };
326
+ find: {
327
+ readonly annotationJustifications: {
328
+ readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
329
+ readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
330
+ readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
331
+ };
332
+ readonly annotations: {
333
+ readonly destructiveHint: false;
334
+ readonly openWorldHint: false;
335
+ readonly readOnlyHint: true;
336
+ };
337
+ readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
338
+ readonly input: import("zod").ZodObject<{
339
+ statuses: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
340
+ pending: "pending";
341
+ canceled: "canceled";
342
+ backlog: "backlog";
343
+ inProgress: "inProgress";
344
+ paused: "paused";
345
+ resolved: "resolved";
346
+ archived: "archived";
347
+ }>>>;
348
+ type: import("zod").ZodEnum<{
349
+ bug: "bug";
350
+ maintenance: "maintenance";
351
+ coverageRequest: "coverageRequest";
352
+ }>;
353
+ workspaceId: import("zod").ZodOptional<WorkspaceId>;
354
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
355
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
356
+ }, import("zod/v4/core").$strip>;
357
+ readonly kind: "read";
358
+ readonly name: "issue.find";
359
+ readonly output: import("zod").ZodObject<{
360
+ issues: import("zod").ZodArray<import("zod").ZodObject<{
361
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
362
+ createdAt: import("zod").ZodCoercedDate<unknown>;
363
+ description: import("zod").ZodString;
364
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
365
+ fileId: import("zod").ZodString;
366
+ name: import("zod").ZodString;
367
+ sizeBytes: import("zod").ZodNumber;
368
+ }, import("zod/v4/core").$strip>>>;
369
+ issueId: IssueId;
370
+ name: import("zod").ZodString;
371
+ number: import("zod").ZodNumber;
372
+ priority: import("zod").ZodEnum<{
373
+ unprioritized: "unprioritized";
374
+ low: "low";
375
+ medium: "medium";
376
+ high: "high";
377
+ urgent: "urgent";
378
+ }>;
379
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
380
+ environmentId: EnvironmentId;
381
+ firstReproducedInRunId: RunId;
382
+ flowId: FlowId;
383
+ isActive: import("zod").ZodBoolean;
384
+ lastReproducedInRunId: RunId;
385
+ }, import("zod/v4/core").$strip>>;
386
+ status: import("zod").ZodEnum<{
387
+ pending: "pending";
388
+ canceled: "canceled";
389
+ backlog: "backlog";
390
+ inProgress: "inProgress";
391
+ paused: "paused";
392
+ resolved: "resolved";
393
+ archived: "archived";
394
+ }>;
395
+ type: import("zod").ZodEnum<{
396
+ bug: "bug";
397
+ maintenance: "maintenance";
398
+ coverageRequest: "coverageRequest";
399
+ }>;
400
+ url: import("zod").ZodURL;
401
+ }, import("zod/v4/core").$strip>>;
402
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
403
+ }, import("zod/v4/core").$strip>;
404
+ };
405
+ get: {
406
+ readonly annotationJustifications: {
407
+ readonly destructiveHint: "Does not modify or remove the issue.";
408
+ readonly openWorldHint: "Reads the QA Wolf issue without changing linked external systems.";
409
+ readonly readOnlyHint: "Retrieves one issue and its associated details.";
410
+ };
411
+ readonly annotations: {
412
+ readonly destructiveHint: false;
413
+ readonly openWorldHint: false;
414
+ readonly readOnlyHint: true;
415
+ };
416
+ readonly description: "Get an issue by id.";
417
+ readonly input: import("zod").ZodObject<{
418
+ issueId: IssueId;
419
+ }, import("zod/v4/core").$strip>;
420
+ readonly kind: "read";
421
+ readonly name: "issue.get";
422
+ readonly output: import("zod").ZodObject<{
423
+ issue: import("zod").ZodObject<{
424
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
425
+ createdAt: import("zod").ZodCoercedDate<unknown>;
426
+ description: import("zod").ZodString;
427
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
428
+ fileId: import("zod").ZodString;
429
+ name: import("zod").ZodString;
430
+ sizeBytes: import("zod").ZodNumber;
431
+ }, import("zod/v4/core").$strip>>>;
432
+ issueId: IssueId;
433
+ name: import("zod").ZodString;
434
+ number: import("zod").ZodNumber;
435
+ priority: import("zod").ZodEnum<{
436
+ unprioritized: "unprioritized";
437
+ low: "low";
438
+ medium: "medium";
439
+ high: "high";
440
+ urgent: "urgent";
441
+ }>;
442
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
443
+ environmentId: EnvironmentId;
444
+ firstReproducedInRunId: RunId;
445
+ flowId: FlowId;
446
+ isActive: import("zod").ZodBoolean;
447
+ lastReproducedInRunId: RunId;
448
+ }, import("zod/v4/core").$strip>>;
449
+ status: import("zod").ZodEnum<{
450
+ pending: "pending";
451
+ canceled: "canceled";
452
+ backlog: "backlog";
453
+ inProgress: "inProgress";
454
+ paused: "paused";
455
+ resolved: "resolved";
456
+ archived: "archived";
457
+ }>;
458
+ type: import("zod").ZodEnum<{
459
+ bug: "bug";
460
+ maintenance: "maintenance";
461
+ coverageRequest: "coverageRequest";
462
+ }>;
463
+ url: import("zod").ZodURL;
464
+ }, import("zod/v4/core").$strip>;
465
+ }, import("zod/v4/core").$strip>;
466
+ };
467
+ listActivity: {
468
+ readonly annotationJustifications: {
469
+ readonly destructiveHint: "Does not edit the issue or its activity.";
470
+ readonly openWorldHint: "Reads QA Wolf issue history without publishing updates to linked trackers.";
471
+ readonly readOnlyHint: "Lists the recorded activity of one issue.";
472
+ };
473
+ readonly annotations: {
474
+ readonly destructiveHint: false;
475
+ readonly openWorldHint: false;
476
+ readonly readOnlyHint: true;
477
+ };
478
+ readonly description: "List an issue's activity, oldest first: creation, status and priority changes, and the flows that started or stopped reproducing it. Use it to measure time to fix or to find issues that came back.";
479
+ readonly input: import("zod").ZodObject<{
480
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
481
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
482
+ issueId: IssueId;
483
+ }, import("zod/v4/core").$strip>;
484
+ readonly kind: "read";
485
+ readonly name: "issue.listActivity";
486
+ readonly output: import("zod").ZodObject<{
487
+ events: import("zod").ZodArray<import("zod").ZodObject<{
488
+ actorKind: import("zod").ZodOptional<import("zod").ZodEnum<{
489
+ user: "user";
490
+ "qa-wolf": "qa-wolf";
491
+ "api-key": "api-key";
492
+ }>>;
493
+ environmentId: import("zod").ZodOptional<EnvironmentId>;
494
+ flowId: import("zod").ZodOptional<FlowId>;
495
+ fromPriority: import("zod").ZodOptional<import("zod").ZodEnum<{
496
+ unprioritized: "unprioritized";
497
+ low: "low";
498
+ medium: "medium";
499
+ high: "high";
500
+ urgent: "urgent";
501
+ }>>;
502
+ occurredAt: import("zod").ZodISODateTime;
503
+ runId: import("zod").ZodOptional<RunId>;
504
+ toPriority: import("zod").ZodOptional<import("zod").ZodEnum<{
505
+ unprioritized: "unprioritized";
506
+ low: "low";
507
+ medium: "medium";
508
+ high: "high";
509
+ urgent: "urgent";
510
+ }>>;
511
+ toStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
512
+ pending: "pending";
513
+ canceled: "canceled";
514
+ backlog: "backlog";
515
+ inProgress: "inProgress";
516
+ paused: "paused";
517
+ resolved: "resolved";
518
+ archived: "archived";
519
+ }>>;
520
+ type: import("zod").ZodEnum<{
521
+ resolved: "resolved";
522
+ other: "other";
523
+ created: "created";
524
+ "status-changed": "status-changed";
525
+ "priority-changed": "priority-changed";
526
+ "auto-resolved": "auto-resolved";
527
+ reopened: "reopened";
528
+ "flow-started-reproducing": "flow-started-reproducing";
529
+ "flow-stopped-reproducing": "flow-stopped-reproducing";
530
+ "flow-removed": "flow-removed";
531
+ "maintenance-reason-changed": "maintenance-reason-changed";
532
+ "due-date-changed": "due-date-changed";
533
+ }>;
534
+ }, import("zod/v4/core").$strip>>;
535
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
536
+ }, import("zod/v4/core").$strip>;
537
+ };
538
+ removeFlows: {
539
+ readonly annotationJustifications: {
540
+ readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
541
+ readonly openWorldHint: "Changes private coverage associations without publishing to an external tracker.";
542
+ readonly readOnlyHint: "Removes selected flows from a coverage request's covered-flow set.";
543
+ };
544
+ readonly annotations: {
545
+ readonly destructiveHint: true;
546
+ readonly openWorldHint: true;
547
+ readonly readOnlyHint: false;
548
+ };
549
+ readonly description: string;
550
+ readonly input: import("zod").ZodObject<{
551
+ environmentId: import("zod").ZodOptional<EnvironmentId>;
552
+ flowIds: import("zod").ZodArray<FlowId>;
553
+ issueId: IssueId;
554
+ }, import("zod/v4/core").$strip>;
555
+ readonly kind: "write";
556
+ readonly name: "issue.removeFlows";
557
+ readonly output: import("zod").ZodObject<{
558
+ issue: import("zod").ZodObject<{
559
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
560
+ createdAt: import("zod").ZodCoercedDate<unknown>;
561
+ description: import("zod").ZodString;
562
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
563
+ fileId: import("zod").ZodString;
564
+ name: import("zod").ZodString;
565
+ sizeBytes: import("zod").ZodNumber;
566
+ }, import("zod/v4/core").$strip>>>;
567
+ issueId: IssueId;
568
+ name: import("zod").ZodString;
569
+ number: import("zod").ZodNumber;
570
+ priority: import("zod").ZodEnum<{
571
+ unprioritized: "unprioritized";
572
+ low: "low";
573
+ medium: "medium";
574
+ high: "high";
575
+ urgent: "urgent";
576
+ }>;
577
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
578
+ environmentId: EnvironmentId;
579
+ firstReproducedInRunId: RunId;
580
+ flowId: FlowId;
581
+ isActive: import("zod").ZodBoolean;
582
+ lastReproducedInRunId: RunId;
583
+ }, import("zod/v4/core").$strip>>;
584
+ status: import("zod").ZodEnum<{
585
+ pending: "pending";
586
+ canceled: "canceled";
587
+ backlog: "backlog";
588
+ inProgress: "inProgress";
589
+ paused: "paused";
590
+ resolved: "resolved";
591
+ archived: "archived";
592
+ }>;
593
+ type: import("zod").ZodEnum<{
594
+ bug: "bug";
595
+ maintenance: "maintenance";
596
+ coverageRequest: "coverageRequest";
597
+ }>;
598
+ url: import("zod").ZodURL;
599
+ }, import("zod/v4/core").$strip>;
600
+ }, import("zod/v4/core").$strip>;
601
+ };
602
+ update: {
603
+ readonly annotationJustifications: {
604
+ readonly destructiveHint: "Can overwrite existing issue fields or send irreversible integration messages.";
605
+ readonly openWorldHint: "Issue changes can update connected issue trackers and communication services.";
606
+ readonly readOnlyHint: "Updates issue details, priority or status and can trigger integration updates.";
607
+ };
608
+ readonly annotations: {
609
+ readonly destructiveHint: true;
610
+ readonly openWorldHint: true;
611
+ readonly readOnlyHint: false;
612
+ };
613
+ readonly description: "Update an issue owned by the caller's team. Omitted fields remain unchanged.";
614
+ readonly input: import("zod").ZodObject<{
615
+ description: import("zod").ZodOptional<import("zod").ZodString>;
616
+ issueId: IssueId;
617
+ name: import("zod").ZodOptional<import("zod").ZodString>;
618
+ priority: import("zod").ZodOptional<import("zod").ZodEnum<{
619
+ unprioritized: "unprioritized";
620
+ low: "low";
621
+ medium: "medium";
622
+ high: "high";
623
+ urgent: "urgent";
624
+ }>>;
625
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
626
+ pending: "pending";
627
+ canceled: "canceled";
628
+ backlog: "backlog";
629
+ inProgress: "inProgress";
630
+ paused: "paused";
631
+ resolved: "resolved";
632
+ archived: "archived";
633
+ }>>;
634
+ }, import("zod/v4/core").$strip>;
635
+ readonly kind: "write";
636
+ readonly name: "issue.update";
637
+ readonly output: import("zod").ZodObject<{
638
+ issue: import("zod").ZodObject<{
639
+ coveredFlowIds: import("zod").ZodArray<FlowId>;
640
+ createdAt: import("zod").ZodCoercedDate<unknown>;
641
+ description: import("zod").ZodString;
642
+ files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
643
+ fileId: import("zod").ZodString;
644
+ name: import("zod").ZodString;
645
+ sizeBytes: import("zod").ZodNumber;
646
+ }, import("zod/v4/core").$strip>>>;
647
+ issueId: IssueId;
648
+ name: import("zod").ZodString;
649
+ number: import("zod").ZodNumber;
650
+ priority: import("zod").ZodEnum<{
651
+ unprioritized: "unprioritized";
652
+ low: "low";
653
+ medium: "medium";
654
+ high: "high";
655
+ urgent: "urgent";
656
+ }>;
657
+ reproductions: import("zod").ZodArray<import("zod").ZodObject<{
658
+ environmentId: EnvironmentId;
659
+ firstReproducedInRunId: RunId;
660
+ flowId: FlowId;
661
+ isActive: import("zod").ZodBoolean;
662
+ lastReproducedInRunId: RunId;
663
+ }, import("zod/v4/core").$strip>>;
664
+ status: import("zod").ZodEnum<{
665
+ pending: "pending";
666
+ canceled: "canceled";
667
+ backlog: "backlog";
668
+ inProgress: "inProgress";
669
+ paused: "paused";
670
+ resolved: "resolved";
671
+ archived: "archived";
672
+ }>;
673
+ type: import("zod").ZodEnum<{
674
+ bug: "bug";
675
+ maintenance: "maintenance";
676
+ coverageRequest: "coverageRequest";
677
+ }>;
678
+ url: import("zod").ZodURL;
679
+ }, import("zod/v4/core").$strip>;
680
+ }, import("zod/v4/core").$strip>;
681
+ };
682
+ };
683
+ //# sourceMappingURL=contracts.d.ts.map