@qawolf/api-contracts 0.99.0 → 0.100.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 (72) hide show
  1. package/README.md +1 -1
  2. package/dist/v1/build/create.d.ts +55 -0
  3. package/dist/v1/build/create.d.ts.map +1 -0
  4. package/dist/v1/build/create.js +59 -0
  5. package/dist/v1/build/create.js.map +1 -0
  6. package/dist/v1/build/get.d.ts +46 -0
  7. package/dist/v1/build/get.d.ts.map +1 -0
  8. package/dist/v1/build/get.js +29 -0
  9. package/dist/v1/build/get.js.map +1 -0
  10. package/dist/v1/build/index.d.ts +170 -0
  11. package/dist/v1/build/index.d.ts.map +1 -0
  12. package/dist/v1/build/index.js +13 -0
  13. package/dist/v1/build/index.js.map +1 -0
  14. package/dist/v1/build/list.d.ts +51 -0
  15. package/dist/v1/build/list.d.ts.map +1 -0
  16. package/dist/v1/build/list.js +53 -0
  17. package/dist/v1/build/list.js.map +1 -0
  18. package/dist/v1/build/requestUpload.d.ts +33 -0
  19. package/dist/v1/build/requestUpload.d.ts.map +1 -0
  20. package/dist/v1/build/requestUpload.js +54 -0
  21. package/dist/v1/build/requestUpload.js.map +1 -0
  22. package/dist/v1/build/resource.d.ts +40 -0
  23. package/dist/v1/build/resource.d.ts.map +1 -0
  24. package/dist/v1/build/resource.js +79 -0
  25. package/dist/v1/build/resource.js.map +1 -0
  26. package/dist/v1/index.d.ts +528 -28
  27. package/dist/v1/index.d.ts.map +1 -1
  28. package/dist/v1/index.js +4 -0
  29. package/dist/v1/index.js.map +1 -1
  30. package/dist/v1/investigation/finding.d.ts +5 -2
  31. package/dist/v1/investigation/finding.d.ts.map +1 -1
  32. package/dist/v1/investigation/finding.js +8 -1
  33. package/dist/v1/investigation/finding.js.map +1 -1
  34. package/dist/v1/investigation/get.d.ts +2 -0
  35. package/dist/v1/investigation/get.d.ts.map +1 -1
  36. package/dist/v1/investigation/index.d.ts +2 -0
  37. package/dist/v1/investigation/index.d.ts.map +1 -1
  38. package/dist/v1/issue/decideSuggestion.d.ts +77 -0
  39. package/dist/v1/issue/decideSuggestion.d.ts.map +1 -0
  40. package/dist/v1/issue/decideSuggestion.js +40 -0
  41. package/dist/v1/issue/decideSuggestion.js.map +1 -0
  42. package/dist/v1/runner/catalog.d.ts +14 -14
  43. package/dist/v1/runner/identity.d.ts +4 -4
  44. package/dist/v1/runner/index.d.ts +4 -4
  45. package/dist/v1/runner/inspectMobile.d.ts +3 -3
  46. package/dist/v1/runner/inspectMobile.js +3 -3
  47. package/dist/v1/runner/inspectMobile.js.map +1 -1
  48. package/dist/v1/runner/list.d.ts +2 -2
  49. package/dist/v1/runner/runFlow.d.ts +4 -4
  50. package/dist/v1/runner/takeScreenshot.d.ts +1 -1
  51. package/dist/v1/runner/takeScreenshot.js +1 -1
  52. package/dist/v1/trigger/configuration.d.ts +2 -0
  53. package/dist/v1/trigger/configuration.d.ts.map +1 -1
  54. package/dist/v1/trigger/configuration.js +4 -0
  55. package/dist/v1/trigger/configuration.js.map +1 -1
  56. package/dist/v1/trigger/create.d.ts +4 -0
  57. package/dist/v1/trigger/create.d.ts.map +1 -1
  58. package/dist/v1/trigger/deploymentFields.d.ts +1 -0
  59. package/dist/v1/trigger/deploymentFields.d.ts.map +1 -1
  60. package/dist/v1/trigger/find.d.ts +2 -0
  61. package/dist/v1/trigger/find.d.ts.map +1 -1
  62. package/dist/v1/trigger/get.d.ts +2 -0
  63. package/dist/v1/trigger/get.d.ts.map +1 -1
  64. package/dist/v1/trigger/index.d.ts +16 -0
  65. package/dist/v1/trigger/index.d.ts.map +1 -1
  66. package/dist/v1/trigger/lifecycle.d.ts +4 -0
  67. package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
  68. package/dist/v1/trigger/resource.d.ts +2 -0
  69. package/dist/v1/trigger/resource.d.ts.map +1 -1
  70. package/dist/v1/trigger/update.d.ts +4 -0
  71. package/dist/v1/trigger/update.d.ts.map +1 -1
  72. package/package.json +1 -1
@@ -297,6 +297,169 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
297
297
  }, z.core.$strip>], "artifactStatus">;
298
298
  };
299
299
  };
300
+ build: {
301
+ create: {
302
+ readonly annotationJustifications: {
303
+ readonly destructiveHint: "Creates a build. With an environment, later runs there install it instead of the previous build.";
304
+ readonly openWorldHint: "Reads the uploaded file from QA Wolf storage only.";
305
+ readonly readOnlyHint: "Creates a build, and can create the environment it names.";
306
+ };
307
+ readonly annotations: {
308
+ readonly destructiveHint: false;
309
+ readonly openWorldHint: false;
310
+ readonly readOnlyHint: false;
311
+ };
312
+ readonly description: "Create a build from a file uploaded with build.requestUpload. Reads the app ID, name, version and build number from the file before it answers, or refuses a file that isn't an app. Calling it again with the same buildId answers the build the first call created, unchanged: a repeated call's branch, commitSha and environment are ignored.";
313
+ readonly input: z.ZodObject<{
314
+ branch: z.ZodOptional<z.ZodString>;
315
+ buildId: z.ZodString;
316
+ commitSha: z.ZodOptional<z.ZodString>;
317
+ environment: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
318
+ id: EnvironmentId;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ baseEphemeralEnvironment: z.ZodOptional<z.ZodString>;
321
+ ephemeral: z.ZodOptional<z.ZodBoolean>;
322
+ name: z.ZodString;
323
+ }, z.core.$strict>]>>;
324
+ workspaceId: z.ZodOptional<WorkspaceId>;
325
+ }, z.core.$strip>;
326
+ readonly kind: "write";
327
+ readonly name: "build.create";
328
+ readonly output: z.ZodObject<{
329
+ build: z.ZodObject<{
330
+ appId: z.ZodString;
331
+ appName: z.ZodOptional<z.ZodString>;
332
+ branch: z.ZodOptional<z.ZodString>;
333
+ buildNumber: z.ZodOptional<z.ZodString>;
334
+ commitSha: z.ZodOptional<z.ZodString>;
335
+ createdAt: z.ZodISODateTime;
336
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
337
+ environmentId: z.ZodOptional<EnvironmentId>;
338
+ fileName: z.ZodString;
339
+ id: z.ZodString;
340
+ platform: z.ZodEnum<{
341
+ android: "android";
342
+ ios: "ios";
343
+ }>;
344
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
345
+ version: z.ZodOptional<z.ZodString>;
346
+ url: z.ZodURL;
347
+ }, z.core.$strip>;
348
+ }, z.core.$strip>;
349
+ };
350
+ get: {
351
+ readonly annotationJustifications: {
352
+ readonly destructiveHint: "Does not change the build.";
353
+ readonly openWorldHint: "Reads QA Wolf data only.";
354
+ readonly readOnlyHint: "Reads one build.";
355
+ };
356
+ readonly annotations: {
357
+ readonly destructiveHint: false;
358
+ readonly openWorldHint: false;
359
+ readonly readOnlyHint: true;
360
+ };
361
+ readonly description: "Get a build: its app, platform, version and environment. Deleted builds are returned too.";
362
+ readonly input: z.ZodObject<{
363
+ buildId: z.ZodString;
364
+ workspaceId: z.ZodOptional<WorkspaceId>;
365
+ }, z.core.$strip>;
366
+ readonly kind: "read";
367
+ readonly name: "build.get";
368
+ readonly output: z.ZodObject<{
369
+ build: z.ZodObject<{
370
+ appId: z.ZodString;
371
+ appName: z.ZodOptional<z.ZodString>;
372
+ branch: z.ZodOptional<z.ZodString>;
373
+ buildNumber: z.ZodOptional<z.ZodString>;
374
+ commitSha: z.ZodOptional<z.ZodString>;
375
+ createdAt: z.ZodISODateTime;
376
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
377
+ environmentId: z.ZodOptional<EnvironmentId>;
378
+ fileName: z.ZodString;
379
+ id: z.ZodString;
380
+ platform: z.ZodEnum<{
381
+ android: "android";
382
+ ios: "ios";
383
+ }>;
384
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
385
+ version: z.ZodOptional<z.ZodString>;
386
+ url: z.ZodURL;
387
+ }, z.core.$strip>;
388
+ }, z.core.$strip>;
389
+ };
390
+ list: {
391
+ readonly annotationJustifications: {
392
+ readonly destructiveHint: "Does not change any build.";
393
+ readonly openWorldHint: "Reads QA Wolf data only.";
394
+ readonly readOnlyHint: "Lists builds.";
395
+ };
396
+ readonly annotations: {
397
+ readonly destructiveHint: false;
398
+ readonly openWorldHint: false;
399
+ readonly readOnlyHint: true;
400
+ };
401
+ readonly description: "List the workspace's undeleted builds, newest first. With latestOnly, list what the environment's next run installs.";
402
+ readonly input: z.ZodObject<{
403
+ cursor: z.ZodOptional<z.ZodString>;
404
+ limit: z.ZodDefault<z.ZodNumber>;
405
+ appId: z.ZodOptional<z.ZodString>;
406
+ environmentId: z.ZodOptional<EnvironmentId>;
407
+ latestOnly: z.ZodDefault<z.ZodBoolean>;
408
+ workspaceId: z.ZodOptional<WorkspaceId>;
409
+ }, z.core.$strip>;
410
+ readonly kind: "read";
411
+ readonly name: "build.list";
412
+ readonly output: z.ZodObject<{
413
+ builds: z.ZodArray<z.ZodObject<{
414
+ appId: z.ZodString;
415
+ appName: z.ZodOptional<z.ZodString>;
416
+ branch: z.ZodOptional<z.ZodString>;
417
+ buildNumber: z.ZodOptional<z.ZodString>;
418
+ commitSha: z.ZodOptional<z.ZodString>;
419
+ createdAt: z.ZodISODateTime;
420
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
421
+ environmentId: z.ZodOptional<EnvironmentId>;
422
+ fileName: z.ZodString;
423
+ id: z.ZodString;
424
+ platform: z.ZodEnum<{
425
+ android: "android";
426
+ ios: "ios";
427
+ }>;
428
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
429
+ version: z.ZodOptional<z.ZodString>;
430
+ url: z.ZodURL;
431
+ }, z.core.$strip>>;
432
+ nextCursor: z.ZodOptional<z.ZodString>;
433
+ }, z.core.$strip>;
434
+ };
435
+ requestUpload: {
436
+ readonly annotationJustifications: {
437
+ readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
438
+ readonly openWorldHint: "The upload target is QA Wolf's run inputs storage, not an external service.";
439
+ readonly readOnlyHint: "Returns an expiring URL that permits writing one file to the workspace's storage.";
440
+ };
441
+ readonly annotations: {
442
+ readonly destructiveHint: false;
443
+ readonly openWorldHint: false;
444
+ readonly readOnlyHint: false;
445
+ };
446
+ readonly description: "Get a URL to upload an app build: an .apk, .aab or .ipa, up to 500 MB. PUT the file there with uploadHeaders, then call build.create with the buildId.";
447
+ readonly input: z.ZodObject<{
448
+ buildId: z.ZodOptional<z.ZodString>;
449
+ fileName: z.ZodString;
450
+ fileSizeBytes: z.ZodNumber;
451
+ workspaceId: z.ZodOptional<WorkspaceId>;
452
+ }, z.core.$strip>;
453
+ readonly kind: "write";
454
+ readonly name: "build.requestUpload";
455
+ readonly output: z.ZodObject<{
456
+ buildId: z.ZodString;
457
+ expiresAt: z.ZodISODateTime;
458
+ uploadHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
459
+ uploadUrl: z.ZodString;
460
+ }, z.core.$strip>;
461
+ };
462
+ };
300
463
  codeHostIntegration: {
301
464
  find: {
302
465
  readonly annotationJustifications: {
@@ -1535,6 +1698,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1535
1698
  title: z.ZodString;
1536
1699
  value: z.ZodString;
1537
1700
  }, z.core.$strip>>;
1701
+ body: z.ZodOptional<z.ZodString>;
1538
1702
  comparisonId: z.ZodOptional<z.ZodString>;
1539
1703
  text: z.ZodString;
1540
1704
  }, z.core.$strip>>;
@@ -1549,6 +1713,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1549
1713
  steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1550
1714
  subSessionIds: z.ZodArray<ChatSessionId>;
1551
1715
  summary: z.ZodOptional<z.ZodString>;
1716
+ supersededByRunId: z.ZodOptional<RunId>;
1552
1717
  updatedAt: z.ZodISODateTime;
1553
1718
  }, z.core.$strip>>;
1554
1719
  runId: RunId;
@@ -1742,6 +1907,75 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1742
1907
  }, z.core.$strip>;
1743
1908
  }, z.core.$strip>;
1744
1909
  };
1910
+ decideSuggestion: {
1911
+ readonly annotationJustifications: {
1912
+ readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
1913
+ readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
1914
+ readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
1915
+ };
1916
+ readonly annotations: {
1917
+ readonly destructiveHint: false;
1918
+ readonly openWorldHint: true;
1919
+ readonly readOnlyHint: false;
1920
+ };
1921
+ readonly description: string;
1922
+ readonly input: z.ZodObject<{
1923
+ decision: z.ZodEnum<{
1924
+ add: "add";
1925
+ report: "report";
1926
+ skip: "skip";
1927
+ undo: "undo";
1928
+ activate: "activate";
1929
+ }>;
1930
+ issueId: IssueId;
1931
+ skipReason: z.ZodOptional<z.ZodEnum<{
1932
+ "not-worth-testing": "not-worth-testing";
1933
+ "already-covered": "already-covered";
1934
+ "feature-removed": "feature-removed";
1935
+ }>>;
1936
+ }, z.core.$strip>;
1937
+ readonly kind: "write";
1938
+ readonly name: "issue.decideSuggestion";
1939
+ readonly output: z.ZodObject<{
1940
+ issue: z.ZodObject<{
1941
+ coveredFlowIds: z.ZodArray<FlowId>;
1942
+ createdAt: z.ZodCoercedDate<unknown>;
1943
+ description: z.ZodString;
1944
+ issueId: IssueId;
1945
+ name: z.ZodString;
1946
+ number: z.ZodNumber;
1947
+ priority: z.ZodEnum<{
1948
+ unprioritized: "unprioritized";
1949
+ low: "low";
1950
+ medium: "medium";
1951
+ high: "high";
1952
+ urgent: "urgent";
1953
+ }>;
1954
+ reproductions: z.ZodArray<z.ZodObject<{
1955
+ environmentId: EnvironmentId;
1956
+ firstReproducedInRunId: RunId;
1957
+ flowId: FlowId;
1958
+ isActive: z.ZodBoolean;
1959
+ lastReproducedInRunId: RunId;
1960
+ }, z.core.$strip>>;
1961
+ status: z.ZodEnum<{
1962
+ pending: "pending";
1963
+ canceled: "canceled";
1964
+ backlog: "backlog";
1965
+ inProgress: "inProgress";
1966
+ paused: "paused";
1967
+ resolved: "resolved";
1968
+ archived: "archived";
1969
+ }>;
1970
+ type: z.ZodEnum<{
1971
+ bug: "bug";
1972
+ maintenance: "maintenance";
1973
+ coverageRequest: "coverageRequest";
1974
+ }>;
1975
+ url: z.ZodURL;
1976
+ }, z.core.$strip>;
1977
+ }, z.core.$strip>;
1978
+ };
1745
1979
  find: {
1746
1980
  readonly annotationJustifications: {
1747
1981
  readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
@@ -2947,18 +3181,18 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2947
3181
  failureReason: z.ZodLiteral<"runner-target-mismatch">;
2948
3182
  outcome: z.ZodLiteral<"failure">;
2949
3183
  requiredRunnerName: z.ZodEnum<{
2950
- basic: "basic";
2951
- playwright: "playwright";
2952
3184
  android: "android";
2953
3185
  ios: "ios";
3186
+ basic: "basic";
3187
+ playwright: "playwright";
2954
3188
  windows: "windows";
2955
3189
  mac: "mac";
2956
3190
  }>;
2957
3191
  runnerName: z.ZodEnum<{
2958
- basic: "basic";
2959
- playwright: "playwright";
2960
3192
  android: "android";
2961
3193
  ios: "ios";
3194
+ basic: "basic";
3195
+ playwright: "playwright";
2962
3196
  windows: "windows";
2963
3197
  mac: "mac";
2964
3198
  }>;
@@ -3010,7 +3244,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3010
3244
  readonly openWorldHint: false;
3011
3245
  readonly readOnlyHint: false;
3012
3246
  };
3013
- readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
3247
+ readonly description: "Take one screenshot of an interactive runner's screen. This refreshes the inactivity timer and can extend the runner's billed lifetime. On a runner with a browser the image is the whole virtual desktop, browser window and all. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
3014
3248
  readonly input: z.ZodObject<{
3015
3249
  id: z.ZodString;
3016
3250
  workspaceId: z.ZodOptional<WorkspaceId>;
@@ -3357,14 +3591,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3357
3591
  readonly annotationJustifications: {
3358
3592
  readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
3359
3593
  readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
3360
- readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements without refreshing the runner's inactivity timer.";
3594
+ readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
3361
3595
  };
3362
3596
  readonly annotations: {
3363
3597
  readonly destructiveHint: false;
3364
3598
  readonly openWorldHint: false;
3365
- readonly readOnlyHint: true;
3599
+ readonly readOnlyHint: false;
3366
3600
  };
3367
- readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
3601
+ readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This refreshes the inactivity timer and can extend the runner's billed lifetime. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
3368
3602
  readonly input: z.ZodObject<{
3369
3603
  id: z.ZodString;
3370
3604
  request: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3594,10 +3828,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3594
3828
  id: z.ZodString;
3595
3829
  initialUrl: z.ZodOptional<z.ZodURL>;
3596
3830
  runnerName: z.ZodOptional<z.ZodEnum<{
3597
- basic: "basic";
3598
- playwright: "playwright";
3599
3831
  android: "android";
3600
3832
  ios: "ios";
3833
+ basic: "basic";
3834
+ playwright: "playwright";
3601
3835
  windows: "windows";
3602
3836
  mac: "mac";
3603
3837
  }>>;
@@ -3609,10 +3843,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3609
3843
  gpuAccelerated: z.ZodBoolean;
3610
3844
  id: z.ZodString;
3611
3845
  runnerName: z.ZodEnum<{
3612
- basic: "basic";
3613
- playwright: "playwright";
3614
3846
  android: "android";
3615
3847
  ios: "ios";
3848
+ basic: "basic";
3849
+ playwright: "playwright";
3616
3850
  windows: "windows";
3617
3851
  mac: "mac";
3618
3852
  }>;
@@ -3644,10 +3878,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3644
3878
  gpuAccelerated: z.ZodBoolean;
3645
3879
  id: z.ZodString;
3646
3880
  runnerName: z.ZodEnum<{
3647
- basic: "basic";
3648
- playwright: "playwright";
3649
3881
  android: "android";
3650
3882
  ios: "ios";
3883
+ basic: "basic";
3884
+ playwright: "playwright";
3651
3885
  windows: "windows";
3652
3886
  mac: "mac";
3653
3887
  }>;
@@ -4121,6 +4355,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4121
4355
  generativeSuite: "generativeSuite";
4122
4356
  }>>;
4123
4357
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4358
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4124
4359
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4125
4360
  }, z.core.$strip>;
4126
4361
  cadence: z.ZodEnum<{
@@ -4163,6 +4398,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4163
4398
  generativeSuite: "generativeSuite";
4164
4399
  }>>;
4165
4400
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4401
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4166
4402
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4167
4403
  }, z.core.$strip>;
4168
4404
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4189,6 +4425,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4189
4425
  generativeSuite: "generativeSuite";
4190
4426
  }>>;
4191
4427
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4428
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4192
4429
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4193
4430
  }, z.core.$strip>;
4194
4431
  cadence: z.ZodEnum<{
@@ -4229,6 +4466,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4229
4466
  generativeSuite: "generativeSuite";
4230
4467
  }>>;
4231
4468
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4469
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4232
4470
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4233
4471
  }, z.core.$strip>;
4234
4472
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4305,6 +4543,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4305
4543
  generativeSuite: "generativeSuite";
4306
4544
  }>>;
4307
4545
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4546
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4308
4547
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4309
4548
  }, z.core.$strip>;
4310
4549
  cadence: z.ZodEnum<{
@@ -4345,6 +4584,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4345
4584
  generativeSuite: "generativeSuite";
4346
4585
  }>>;
4347
4586
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4587
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4348
4588
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4349
4589
  }, z.core.$strip>;
4350
4590
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4399,6 +4639,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4399
4639
  generativeSuite: "generativeSuite";
4400
4640
  }>>;
4401
4641
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4642
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4402
4643
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4403
4644
  }, z.core.$strip>;
4404
4645
  cadence: z.ZodEnum<{
@@ -4439,6 +4680,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4439
4680
  generativeSuite: "generativeSuite";
4440
4681
  }>>;
4441
4682
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4683
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4442
4684
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4443
4685
  }, z.core.$strip>;
4444
4686
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4493,6 +4735,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4493
4735
  generativeSuite: "generativeSuite";
4494
4736
  }>>;
4495
4737
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4738
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4496
4739
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4497
4740
  }, z.core.$strip>;
4498
4741
  cadence: z.ZodEnum<{
@@ -4533,6 +4776,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4533
4776
  generativeSuite: "generativeSuite";
4534
4777
  }>>;
4535
4778
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4779
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4536
4780
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4537
4781
  }, z.core.$strip>;
4538
4782
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4587,6 +4831,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4587
4831
  generativeSuite: "generativeSuite";
4588
4832
  }>>;
4589
4833
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4834
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4590
4835
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4591
4836
  }, z.core.$strip>;
4592
4837
  cadence: z.ZodEnum<{
@@ -4627,6 +4872,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4627
4872
  generativeSuite: "generativeSuite";
4628
4873
  }>>;
4629
4874
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4875
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4630
4876
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4631
4877
  }, z.core.$strip>;
4632
4878
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4674,6 +4920,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4674
4920
  generativeSuite: "generativeSuite";
4675
4921
  }>>;
4676
4922
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4923
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4677
4924
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4678
4925
  }, z.core.$strip>;
4679
4926
  cadence: z.ZodEnum<{
@@ -4716,6 +4963,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4716
4963
  generativeSuite: "generativeSuite";
4717
4964
  }>>;
4718
4965
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4966
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4719
4967
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4720
4968
  }, z.core.$strip>;
4721
4969
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -4742,6 +4990,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4742
4990
  generativeSuite: "generativeSuite";
4743
4991
  }>>;
4744
4992
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
4993
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4745
4994
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4746
4995
  }, z.core.$strip>;
4747
4996
  cadence: z.ZodEnum<{
@@ -4782,6 +5031,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4782
5031
  generativeSuite: "generativeSuite";
4783
5032
  }>>;
4784
5033
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
5034
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
4785
5035
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
4786
5036
  }, z.core.$strip>;
4787
5037
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -5091,6 +5341,169 @@ export declare const publicContractsV1: {
5091
5341
  }, z.core.$strip>], "artifactStatus">;
5092
5342
  };
5093
5343
  };
5344
+ build: {
5345
+ create: {
5346
+ readonly annotationJustifications: {
5347
+ readonly destructiveHint: "Creates a build. With an environment, later runs there install it instead of the previous build.";
5348
+ readonly openWorldHint: "Reads the uploaded file from QA Wolf storage only.";
5349
+ readonly readOnlyHint: "Creates a build, and can create the environment it names.";
5350
+ };
5351
+ readonly annotations: {
5352
+ readonly destructiveHint: false;
5353
+ readonly openWorldHint: false;
5354
+ readonly readOnlyHint: false;
5355
+ };
5356
+ readonly description: "Create a build from a file uploaded with build.requestUpload. Reads the app ID, name, version and build number from the file before it answers, or refuses a file that isn't an app. Calling it again with the same buildId answers the build the first call created, unchanged: a repeated call's branch, commitSha and environment are ignored.";
5357
+ readonly input: z.ZodObject<{
5358
+ branch: z.ZodOptional<z.ZodString>;
5359
+ buildId: z.ZodString;
5360
+ commitSha: z.ZodOptional<z.ZodString>;
5361
+ environment: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5362
+ id: PublicIdSchema;
5363
+ }, z.core.$strict>, z.ZodObject<{
5364
+ baseEphemeralEnvironment: z.ZodOptional<z.ZodString>;
5365
+ ephemeral: z.ZodOptional<z.ZodBoolean>;
5366
+ name: z.ZodString;
5367
+ }, z.core.$strict>]>>;
5368
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5369
+ }, z.core.$strip>;
5370
+ readonly kind: "write";
5371
+ readonly name: "build.create";
5372
+ readonly output: z.ZodObject<{
5373
+ build: z.ZodObject<{
5374
+ appId: z.ZodString;
5375
+ appName: z.ZodOptional<z.ZodString>;
5376
+ branch: z.ZodOptional<z.ZodString>;
5377
+ buildNumber: z.ZodOptional<z.ZodString>;
5378
+ commitSha: z.ZodOptional<z.ZodString>;
5379
+ createdAt: z.ZodISODateTime;
5380
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
5381
+ environmentId: z.ZodOptional<PublicIdSchema>;
5382
+ fileName: z.ZodString;
5383
+ id: z.ZodString;
5384
+ platform: z.ZodEnum<{
5385
+ android: "android";
5386
+ ios: "ios";
5387
+ }>;
5388
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
5389
+ version: z.ZodOptional<z.ZodString>;
5390
+ url: z.ZodURL;
5391
+ }, z.core.$strip>;
5392
+ }, z.core.$strip>;
5393
+ };
5394
+ get: {
5395
+ readonly annotationJustifications: {
5396
+ readonly destructiveHint: "Does not change the build.";
5397
+ readonly openWorldHint: "Reads QA Wolf data only.";
5398
+ readonly readOnlyHint: "Reads one build.";
5399
+ };
5400
+ readonly annotations: {
5401
+ readonly destructiveHint: false;
5402
+ readonly openWorldHint: false;
5403
+ readonly readOnlyHint: true;
5404
+ };
5405
+ readonly description: "Get a build: its app, platform, version and environment. Deleted builds are returned too.";
5406
+ readonly input: z.ZodObject<{
5407
+ buildId: z.ZodString;
5408
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5409
+ }, z.core.$strip>;
5410
+ readonly kind: "read";
5411
+ readonly name: "build.get";
5412
+ readonly output: z.ZodObject<{
5413
+ build: z.ZodObject<{
5414
+ appId: z.ZodString;
5415
+ appName: z.ZodOptional<z.ZodString>;
5416
+ branch: z.ZodOptional<z.ZodString>;
5417
+ buildNumber: z.ZodOptional<z.ZodString>;
5418
+ commitSha: z.ZodOptional<z.ZodString>;
5419
+ createdAt: z.ZodISODateTime;
5420
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
5421
+ environmentId: z.ZodOptional<PublicIdSchema>;
5422
+ fileName: z.ZodString;
5423
+ id: z.ZodString;
5424
+ platform: z.ZodEnum<{
5425
+ android: "android";
5426
+ ios: "ios";
5427
+ }>;
5428
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
5429
+ version: z.ZodOptional<z.ZodString>;
5430
+ url: z.ZodURL;
5431
+ }, z.core.$strip>;
5432
+ }, z.core.$strip>;
5433
+ };
5434
+ list: {
5435
+ readonly annotationJustifications: {
5436
+ readonly destructiveHint: "Does not change any build.";
5437
+ readonly openWorldHint: "Reads QA Wolf data only.";
5438
+ readonly readOnlyHint: "Lists builds.";
5439
+ };
5440
+ readonly annotations: {
5441
+ readonly destructiveHint: false;
5442
+ readonly openWorldHint: false;
5443
+ readonly readOnlyHint: true;
5444
+ };
5445
+ readonly description: "List the workspace's undeleted builds, newest first. With latestOnly, list what the environment's next run installs.";
5446
+ readonly input: z.ZodObject<{
5447
+ cursor: z.ZodOptional<z.ZodString>;
5448
+ limit: z.ZodDefault<z.ZodNumber>;
5449
+ appId: z.ZodOptional<z.ZodString>;
5450
+ environmentId: z.ZodOptional<PublicIdSchema>;
5451
+ latestOnly: z.ZodDefault<z.ZodBoolean>;
5452
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5453
+ }, z.core.$strip>;
5454
+ readonly kind: "read";
5455
+ readonly name: "build.list";
5456
+ readonly output: z.ZodObject<{
5457
+ builds: z.ZodArray<z.ZodObject<{
5458
+ appId: z.ZodString;
5459
+ appName: z.ZodOptional<z.ZodString>;
5460
+ branch: z.ZodOptional<z.ZodString>;
5461
+ buildNumber: z.ZodOptional<z.ZodString>;
5462
+ commitSha: z.ZodOptional<z.ZodString>;
5463
+ createdAt: z.ZodISODateTime;
5464
+ deletedAt: z.ZodOptional<z.ZodISODateTime>;
5465
+ environmentId: z.ZodOptional<PublicIdSchema>;
5466
+ fileName: z.ZodString;
5467
+ id: z.ZodString;
5468
+ platform: z.ZodEnum<{
5469
+ android: "android";
5470
+ ios: "ios";
5471
+ }>;
5472
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
5473
+ version: z.ZodOptional<z.ZodString>;
5474
+ url: z.ZodURL;
5475
+ }, z.core.$strip>>;
5476
+ nextCursor: z.ZodOptional<z.ZodString>;
5477
+ }, z.core.$strip>;
5478
+ };
5479
+ requestUpload: {
5480
+ readonly annotationJustifications: {
5481
+ readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
5482
+ readonly openWorldHint: "The upload target is QA Wolf's run inputs storage, not an external service.";
5483
+ readonly readOnlyHint: "Returns an expiring URL that permits writing one file to the workspace's storage.";
5484
+ };
5485
+ readonly annotations: {
5486
+ readonly destructiveHint: false;
5487
+ readonly openWorldHint: false;
5488
+ readonly readOnlyHint: false;
5489
+ };
5490
+ readonly description: "Get a URL to upload an app build: an .apk, .aab or .ipa, up to 500 MB. PUT the file there with uploadHeaders, then call build.create with the buildId.";
5491
+ readonly input: z.ZodObject<{
5492
+ buildId: z.ZodOptional<z.ZodString>;
5493
+ fileName: z.ZodString;
5494
+ fileSizeBytes: z.ZodNumber;
5495
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5496
+ }, z.core.$strip>;
5497
+ readonly kind: "write";
5498
+ readonly name: "build.requestUpload";
5499
+ readonly output: z.ZodObject<{
5500
+ buildId: z.ZodString;
5501
+ expiresAt: z.ZodISODateTime;
5502
+ uploadHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
5503
+ uploadUrl: z.ZodString;
5504
+ }, z.core.$strip>;
5505
+ };
5506
+ };
5094
5507
  codeHostIntegration: {
5095
5508
  find: {
5096
5509
  readonly annotationJustifications: {
@@ -6329,6 +6742,7 @@ export declare const publicContractsV1: {
6329
6742
  title: z.ZodString;
6330
6743
  value: z.ZodString;
6331
6744
  }, z.core.$strip>>;
6745
+ body: z.ZodOptional<z.ZodString>;
6332
6746
  comparisonId: z.ZodOptional<z.ZodString>;
6333
6747
  text: z.ZodString;
6334
6748
  }, z.core.$strip>>;
@@ -6343,6 +6757,7 @@ export declare const publicContractsV1: {
6343
6757
  steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
6344
6758
  subSessionIds: z.ZodArray<PublicIdSchema>;
6345
6759
  summary: z.ZodOptional<z.ZodString>;
6760
+ supersededByRunId: z.ZodOptional<PublicIdSchema>;
6346
6761
  updatedAt: z.ZodISODateTime;
6347
6762
  }, z.core.$strip>>;
6348
6763
  runId: PublicIdSchema;
@@ -6536,6 +6951,75 @@ export declare const publicContractsV1: {
6536
6951
  }, z.core.$strip>;
6537
6952
  }, z.core.$strip>;
6538
6953
  };
6954
+ decideSuggestion: {
6955
+ readonly annotationJustifications: {
6956
+ readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
6957
+ readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
6958
+ readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
6959
+ };
6960
+ readonly annotations: {
6961
+ readonly destructiveHint: false;
6962
+ readonly openWorldHint: true;
6963
+ readonly readOnlyHint: false;
6964
+ };
6965
+ readonly description: string;
6966
+ readonly input: z.ZodObject<{
6967
+ decision: z.ZodEnum<{
6968
+ add: "add";
6969
+ report: "report";
6970
+ skip: "skip";
6971
+ undo: "undo";
6972
+ activate: "activate";
6973
+ }>;
6974
+ issueId: PublicIdSchema;
6975
+ skipReason: z.ZodOptional<z.ZodEnum<{
6976
+ "not-worth-testing": "not-worth-testing";
6977
+ "already-covered": "already-covered";
6978
+ "feature-removed": "feature-removed";
6979
+ }>>;
6980
+ }, z.core.$strip>;
6981
+ readonly kind: "write";
6982
+ readonly name: "issue.decideSuggestion";
6983
+ readonly output: z.ZodObject<{
6984
+ issue: z.ZodObject<{
6985
+ coveredFlowIds: z.ZodArray<PublicIdSchema>;
6986
+ createdAt: z.ZodCoercedDate<unknown>;
6987
+ description: z.ZodString;
6988
+ issueId: PublicIdSchema;
6989
+ name: z.ZodString;
6990
+ number: z.ZodNumber;
6991
+ priority: z.ZodEnum<{
6992
+ unprioritized: "unprioritized";
6993
+ low: "low";
6994
+ medium: "medium";
6995
+ high: "high";
6996
+ urgent: "urgent";
6997
+ }>;
6998
+ reproductions: z.ZodArray<z.ZodObject<{
6999
+ environmentId: PublicIdSchema;
7000
+ firstReproducedInRunId: PublicIdSchema;
7001
+ flowId: PublicIdSchema;
7002
+ isActive: z.ZodBoolean;
7003
+ lastReproducedInRunId: PublicIdSchema;
7004
+ }, z.core.$strip>>;
7005
+ status: z.ZodEnum<{
7006
+ pending: "pending";
7007
+ canceled: "canceled";
7008
+ backlog: "backlog";
7009
+ inProgress: "inProgress";
7010
+ paused: "paused";
7011
+ resolved: "resolved";
7012
+ archived: "archived";
7013
+ }>;
7014
+ type: z.ZodEnum<{
7015
+ bug: "bug";
7016
+ maintenance: "maintenance";
7017
+ coverageRequest: "coverageRequest";
7018
+ }>;
7019
+ url: z.ZodURL;
7020
+ }, z.core.$strip>;
7021
+ }, z.core.$strip>;
7022
+ };
6539
7023
  find: {
6540
7024
  readonly annotationJustifications: {
6541
7025
  readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
@@ -7741,18 +8225,18 @@ export declare const publicContractsV1: {
7741
8225
  failureReason: z.ZodLiteral<"runner-target-mismatch">;
7742
8226
  outcome: z.ZodLiteral<"failure">;
7743
8227
  requiredRunnerName: z.ZodEnum<{
7744
- basic: "basic";
7745
- playwright: "playwright";
7746
8228
  android: "android";
7747
8229
  ios: "ios";
8230
+ basic: "basic";
8231
+ playwright: "playwright";
7748
8232
  windows: "windows";
7749
8233
  mac: "mac";
7750
8234
  }>;
7751
8235
  runnerName: z.ZodEnum<{
7752
- basic: "basic";
7753
- playwright: "playwright";
7754
8236
  android: "android";
7755
8237
  ios: "ios";
8238
+ basic: "basic";
8239
+ playwright: "playwright";
7756
8240
  windows: "windows";
7757
8241
  mac: "mac";
7758
8242
  }>;
@@ -7804,7 +8288,7 @@ export declare const publicContractsV1: {
7804
8288
  readonly openWorldHint: false;
7805
8289
  readonly readOnlyHint: false;
7806
8290
  };
7807
- readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
8291
+ readonly description: "Take one screenshot of an interactive runner's screen. This refreshes the inactivity timer and can extend the runner's billed lifetime. On a runner with a browser the image is the whole virtual desktop, browser window and all. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
7808
8292
  readonly input: z.ZodObject<{
7809
8293
  id: z.ZodString;
7810
8294
  workspaceId: z.ZodOptional<PublicIdSchema>;
@@ -8151,14 +8635,14 @@ export declare const publicContractsV1: {
8151
8635
  readonly annotationJustifications: {
8152
8636
  readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
8153
8637
  readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
8154
- readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements without refreshing the runner's inactivity timer.";
8638
+ readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
8155
8639
  };
8156
8640
  readonly annotations: {
8157
8641
  readonly destructiveHint: false;
8158
8642
  readonly openWorldHint: false;
8159
- readonly readOnlyHint: true;
8643
+ readonly readOnlyHint: false;
8160
8644
  };
8161
- readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
8645
+ readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This refreshes the inactivity timer and can extend the runner's billed lifetime. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
8162
8646
  readonly input: z.ZodObject<{
8163
8647
  id: z.ZodString;
8164
8648
  request: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -8388,10 +8872,10 @@ export declare const publicContractsV1: {
8388
8872
  id: z.ZodString;
8389
8873
  initialUrl: z.ZodOptional<z.ZodURL>;
8390
8874
  runnerName: z.ZodOptional<z.ZodEnum<{
8391
- basic: "basic";
8392
- playwright: "playwright";
8393
8875
  android: "android";
8394
8876
  ios: "ios";
8877
+ basic: "basic";
8878
+ playwright: "playwright";
8395
8879
  windows: "windows";
8396
8880
  mac: "mac";
8397
8881
  }>>;
@@ -8403,10 +8887,10 @@ export declare const publicContractsV1: {
8403
8887
  gpuAccelerated: z.ZodBoolean;
8404
8888
  id: z.ZodString;
8405
8889
  runnerName: z.ZodEnum<{
8406
- basic: "basic";
8407
- playwright: "playwright";
8408
8890
  android: "android";
8409
8891
  ios: "ios";
8892
+ basic: "basic";
8893
+ playwright: "playwright";
8410
8894
  windows: "windows";
8411
8895
  mac: "mac";
8412
8896
  }>;
@@ -8438,10 +8922,10 @@ export declare const publicContractsV1: {
8438
8922
  gpuAccelerated: z.ZodBoolean;
8439
8923
  id: z.ZodString;
8440
8924
  runnerName: z.ZodEnum<{
8441
- basic: "basic";
8442
- playwright: "playwright";
8443
8925
  android: "android";
8444
8926
  ios: "ios";
8927
+ basic: "basic";
8928
+ playwright: "playwright";
8445
8929
  windows: "windows";
8446
8930
  mac: "mac";
8447
8931
  }>;
@@ -8915,6 +9399,7 @@ export declare const publicContractsV1: {
8915
9399
  generativeSuite: "generativeSuite";
8916
9400
  }>>;
8917
9401
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9402
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
8918
9403
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
8919
9404
  }, z.core.$strip>;
8920
9405
  cadence: z.ZodEnum<{
@@ -8957,6 +9442,7 @@ export declare const publicContractsV1: {
8957
9442
  generativeSuite: "generativeSuite";
8958
9443
  }>>;
8959
9444
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9445
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
8960
9446
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
8961
9447
  }, z.core.$strip>;
8962
9448
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -8983,6 +9469,7 @@ export declare const publicContractsV1: {
8983
9469
  generativeSuite: "generativeSuite";
8984
9470
  }>>;
8985
9471
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9472
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
8986
9473
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
8987
9474
  }, z.core.$strip>;
8988
9475
  cadence: z.ZodEnum<{
@@ -9023,6 +9510,7 @@ export declare const publicContractsV1: {
9023
9510
  generativeSuite: "generativeSuite";
9024
9511
  }>>;
9025
9512
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9513
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9026
9514
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9027
9515
  }, z.core.$strip>;
9028
9516
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9099,6 +9587,7 @@ export declare const publicContractsV1: {
9099
9587
  generativeSuite: "generativeSuite";
9100
9588
  }>>;
9101
9589
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9590
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9102
9591
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9103
9592
  }, z.core.$strip>;
9104
9593
  cadence: z.ZodEnum<{
@@ -9139,6 +9628,7 @@ export declare const publicContractsV1: {
9139
9628
  generativeSuite: "generativeSuite";
9140
9629
  }>>;
9141
9630
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9631
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9142
9632
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9143
9633
  }, z.core.$strip>;
9144
9634
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9193,6 +9683,7 @@ export declare const publicContractsV1: {
9193
9683
  generativeSuite: "generativeSuite";
9194
9684
  }>>;
9195
9685
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9686
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9196
9687
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9197
9688
  }, z.core.$strip>;
9198
9689
  cadence: z.ZodEnum<{
@@ -9233,6 +9724,7 @@ export declare const publicContractsV1: {
9233
9724
  generativeSuite: "generativeSuite";
9234
9725
  }>>;
9235
9726
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9727
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9236
9728
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9237
9729
  }, z.core.$strip>;
9238
9730
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9287,6 +9779,7 @@ export declare const publicContractsV1: {
9287
9779
  generativeSuite: "generativeSuite";
9288
9780
  }>>;
9289
9781
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9782
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9290
9783
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9291
9784
  }, z.core.$strip>;
9292
9785
  cadence: z.ZodEnum<{
@@ -9327,6 +9820,7 @@ export declare const publicContractsV1: {
9327
9820
  generativeSuite: "generativeSuite";
9328
9821
  }>>;
9329
9822
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9823
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9330
9824
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9331
9825
  }, z.core.$strip>;
9332
9826
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9381,6 +9875,7 @@ export declare const publicContractsV1: {
9381
9875
  generativeSuite: "generativeSuite";
9382
9876
  }>>;
9383
9877
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9878
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9384
9879
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9385
9880
  }, z.core.$strip>;
9386
9881
  cadence: z.ZodEnum<{
@@ -9421,6 +9916,7 @@ export declare const publicContractsV1: {
9421
9916
  generativeSuite: "generativeSuite";
9422
9917
  }>>;
9423
9918
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9919
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9424
9920
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9425
9921
  }, z.core.$strip>;
9426
9922
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9468,6 +9964,7 @@ export declare const publicContractsV1: {
9468
9964
  generativeSuite: "generativeSuite";
9469
9965
  }>>;
9470
9966
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
9967
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9471
9968
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9472
9969
  }, z.core.$strip>;
9473
9970
  cadence: z.ZodEnum<{
@@ -9510,6 +10007,7 @@ export declare const publicContractsV1: {
9510
10007
  generativeSuite: "generativeSuite";
9511
10008
  }>>;
9512
10009
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
10010
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9513
10011
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9514
10012
  }, z.core.$strip>;
9515
10013
  branchPattern: z.ZodOptional<z.ZodString>;
@@ -9536,6 +10034,7 @@ export declare const publicContractsV1: {
9536
10034
  generativeSuite: "generativeSuite";
9537
10035
  }>>;
9538
10036
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
10037
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9539
10038
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9540
10039
  }, z.core.$strip>;
9541
10040
  cadence: z.ZodEnum<{
@@ -9576,6 +10075,7 @@ export declare const publicContractsV1: {
9576
10075
  generativeSuite: "generativeSuite";
9577
10076
  }>>;
9578
10077
  runConcurrencyLimit: z.ZodOptional<z.ZodString>;
10078
+ suggestCoverage: z.ZodOptional<z.ZodBoolean>;
9579
10079
  tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
9580
10080
  }, z.core.$strip>;
9581
10081
  branchPattern: z.ZodOptional<z.ZodString>;