@qawolf/api-contracts 0.99.0 → 0.101.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.
- package/README.md +1 -1
- package/dist/v1/build/create.d.ts +55 -0
- package/dist/v1/build/create.d.ts.map +1 -0
- package/dist/v1/build/create.js +59 -0
- package/dist/v1/build/create.js.map +1 -0
- package/dist/v1/build/get.d.ts +46 -0
- package/dist/v1/build/get.d.ts.map +1 -0
- package/dist/v1/build/get.js +29 -0
- package/dist/v1/build/get.js.map +1 -0
- package/dist/v1/build/index.d.ts +170 -0
- package/dist/v1/build/index.d.ts.map +1 -0
- package/dist/v1/build/index.js +13 -0
- package/dist/v1/build/index.js.map +1 -0
- package/dist/v1/build/list.d.ts +51 -0
- package/dist/v1/build/list.d.ts.map +1 -0
- package/dist/v1/build/list.js +53 -0
- package/dist/v1/build/list.js.map +1 -0
- package/dist/v1/build/requestUpload.d.ts +33 -0
- package/dist/v1/build/requestUpload.d.ts.map +1 -0
- package/dist/v1/build/requestUpload.js +54 -0
- package/dist/v1/build/requestUpload.js.map +1 -0
- package/dist/v1/build/resource.d.ts +40 -0
- package/dist/v1/build/resource.d.ts.map +1 -0
- package/dist/v1/build/resource.js +79 -0
- package/dist/v1/build/resource.js.map +1 -0
- package/dist/v1/index.d.ts +606 -30
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +4 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/finding.d.ts +11 -2
- package/dist/v1/investigation/finding.d.ts.map +1 -1
- package/dist/v1/investigation/finding.js +17 -1
- package/dist/v1/investigation/finding.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +19 -0
- package/dist/v1/investigation/get.d.ts.map +1 -1
- package/dist/v1/investigation/get.js +22 -0
- package/dist/v1/investigation/get.js.map +1 -1
- package/dist/v1/investigation/index.d.ts +19 -0
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/issue/decideSuggestion.d.ts +77 -0
- package/dist/v1/issue/decideSuggestion.d.ts.map +1 -0
- package/dist/v1/issue/decideSuggestion.js +40 -0
- package/dist/v1/issue/decideSuggestion.js.map +1 -0
- package/dist/v1/run/find.d.ts +1 -0
- package/dist/v1/run/find.d.ts.map +1 -1
- package/dist/v1/run/find.js +4 -0
- package/dist/v1/run/find.js.map +1 -1
- package/dist/v1/run/get.d.ts +21 -1
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/get.js +4 -0
- package/dist/v1/run/get.js.map +1 -1
- package/dist/v1/run/index.d.ts +1 -0
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +7 -0
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/runner/catalog.d.ts +15 -15
- package/dist/v1/runner/identity.d.ts +4 -4
- package/dist/v1/runner/index.d.ts +4 -4
- package/dist/v1/runner/inspectMobile.d.ts +3 -3
- package/dist/v1/runner/inspectMobile.js +3 -3
- package/dist/v1/runner/inspectMobile.js.map +1 -1
- package/dist/v1/runner/list.d.ts +2 -2
- package/dist/v1/runner/recording.d.ts +2 -2
- package/dist/v1/runner/recording.js +1 -1
- package/dist/v1/runner/recording.js.map +1 -1
- package/dist/v1/runner/runFlow.d.ts +4 -4
- package/dist/v1/runner/takeScreenshot.d.ts +1 -1
- package/dist/v1/runner/takeScreenshot.js +1 -1
- package/dist/v1/trigger/configuration.d.ts +2 -0
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +4 -0
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +4 -0
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/deploymentFields.d.ts +1 -0
- package/dist/v1/trigger/deploymentFields.d.ts.map +1 -1
- package/dist/v1/trigger/find.d.ts +2 -0
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +2 -0
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +16 -0
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +4 -0
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +2 -0
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/update.d.ts +4 -0
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -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: {
|
|
@@ -1500,6 +1663,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1500
1663
|
agent: "agent";
|
|
1501
1664
|
}>>;
|
|
1502
1665
|
disputeReason: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
earlierQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1667
|
+
answer: z.ZodString;
|
|
1668
|
+
answeredAt: z.ZodISODateTime;
|
|
1669
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
text: z.ZodString;
|
|
1671
|
+
}, z.core.$strip>>>;
|
|
1503
1672
|
expected: z.ZodOptional<z.ZodString>;
|
|
1504
1673
|
findingId: z.ZodString;
|
|
1505
1674
|
fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1535,6 +1704,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1535
1704
|
title: z.ZodString;
|
|
1536
1705
|
value: z.ZodString;
|
|
1537
1706
|
}, z.core.$strip>>;
|
|
1707
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1538
1708
|
comparisonId: z.ZodOptional<z.ZodString>;
|
|
1539
1709
|
text: z.ZodString;
|
|
1540
1710
|
}, z.core.$strip>>;
|
|
@@ -1549,8 +1719,20 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1549
1719
|
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1550
1720
|
subSessionIds: z.ZodArray<ChatSessionId>;
|
|
1551
1721
|
summary: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
supersededByRunId: z.ZodOptional<RunId>;
|
|
1552
1723
|
updatedAt: z.ZodISODateTime;
|
|
1553
1724
|
}, z.core.$strip>>;
|
|
1725
|
+
questionsFromOtherRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1726
|
+
answer: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
answeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1728
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
findingId: z.ZodString;
|
|
1730
|
+
flowIds: z.ZodArray<FlowId>;
|
|
1731
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
runId: RunId;
|
|
1733
|
+
status: z.ZodString;
|
|
1734
|
+
text: z.ZodString;
|
|
1735
|
+
}, z.core.$strip>>>;
|
|
1554
1736
|
runId: RunId;
|
|
1555
1737
|
sessionId: z.ZodOptional<ChatSessionId>;
|
|
1556
1738
|
status: z.ZodEnum<{
|
|
@@ -1742,6 +1924,75 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1742
1924
|
}, z.core.$strip>;
|
|
1743
1925
|
}, z.core.$strip>;
|
|
1744
1926
|
};
|
|
1927
|
+
decideSuggestion: {
|
|
1928
|
+
readonly annotationJustifications: {
|
|
1929
|
+
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
1930
|
+
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
1931
|
+
readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
|
|
1932
|
+
};
|
|
1933
|
+
readonly annotations: {
|
|
1934
|
+
readonly destructiveHint: false;
|
|
1935
|
+
readonly openWorldHint: true;
|
|
1936
|
+
readonly readOnlyHint: false;
|
|
1937
|
+
};
|
|
1938
|
+
readonly description: string;
|
|
1939
|
+
readonly input: z.ZodObject<{
|
|
1940
|
+
decision: z.ZodEnum<{
|
|
1941
|
+
add: "add";
|
|
1942
|
+
report: "report";
|
|
1943
|
+
skip: "skip";
|
|
1944
|
+
undo: "undo";
|
|
1945
|
+
activate: "activate";
|
|
1946
|
+
}>;
|
|
1947
|
+
issueId: IssueId;
|
|
1948
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
1949
|
+
"not-worth-testing": "not-worth-testing";
|
|
1950
|
+
"already-covered": "already-covered";
|
|
1951
|
+
"feature-removed": "feature-removed";
|
|
1952
|
+
}>>;
|
|
1953
|
+
}, z.core.$strip>;
|
|
1954
|
+
readonly kind: "write";
|
|
1955
|
+
readonly name: "issue.decideSuggestion";
|
|
1956
|
+
readonly output: z.ZodObject<{
|
|
1957
|
+
issue: z.ZodObject<{
|
|
1958
|
+
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1959
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1960
|
+
description: z.ZodString;
|
|
1961
|
+
issueId: IssueId;
|
|
1962
|
+
name: z.ZodString;
|
|
1963
|
+
number: z.ZodNumber;
|
|
1964
|
+
priority: z.ZodEnum<{
|
|
1965
|
+
unprioritized: "unprioritized";
|
|
1966
|
+
low: "low";
|
|
1967
|
+
medium: "medium";
|
|
1968
|
+
high: "high";
|
|
1969
|
+
urgent: "urgent";
|
|
1970
|
+
}>;
|
|
1971
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
1972
|
+
environmentId: EnvironmentId;
|
|
1973
|
+
firstReproducedInRunId: RunId;
|
|
1974
|
+
flowId: FlowId;
|
|
1975
|
+
isActive: z.ZodBoolean;
|
|
1976
|
+
lastReproducedInRunId: RunId;
|
|
1977
|
+
}, z.core.$strip>>;
|
|
1978
|
+
status: z.ZodEnum<{
|
|
1979
|
+
pending: "pending";
|
|
1980
|
+
canceled: "canceled";
|
|
1981
|
+
backlog: "backlog";
|
|
1982
|
+
inProgress: "inProgress";
|
|
1983
|
+
paused: "paused";
|
|
1984
|
+
resolved: "resolved";
|
|
1985
|
+
archived: "archived";
|
|
1986
|
+
}>;
|
|
1987
|
+
type: z.ZodEnum<{
|
|
1988
|
+
bug: "bug";
|
|
1989
|
+
maintenance: "maintenance";
|
|
1990
|
+
coverageRequest: "coverageRequest";
|
|
1991
|
+
}>;
|
|
1992
|
+
url: z.ZodURL;
|
|
1993
|
+
}, z.core.$strip>;
|
|
1994
|
+
}, z.core.$strip>;
|
|
1995
|
+
};
|
|
1745
1996
|
find: {
|
|
1746
1997
|
readonly annotationJustifications: {
|
|
1747
1998
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
@@ -2435,6 +2686,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2435
2686
|
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
2436
2687
|
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
2437
2688
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
2689
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2438
2690
|
chatSessionId: z.ZodOptional<ChatSessionId>;
|
|
2439
2691
|
environmentId: PublicIdSchema;
|
|
2440
2692
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2542,6 +2794,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2542
2794
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
2543
2795
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2544
2796
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
2797
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2545
2798
|
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
2546
2799
|
}, z.core.$strip>;
|
|
2547
2800
|
readonly kind: "read";
|
|
@@ -2603,6 +2856,25 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2603
2856
|
readonly name: "run.get";
|
|
2604
2857
|
readonly output: z.ZodObject<{
|
|
2605
2858
|
blockingBugCount: z.ZodNumber;
|
|
2859
|
+
builds: z.ZodArray<z.ZodObject<{
|
|
2860
|
+
appId: z.ZodString;
|
|
2861
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
2863
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
2864
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
createdAt: z.ZodISODateTime;
|
|
2866
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2867
|
+
environmentId: z.ZodOptional<EnvironmentId>;
|
|
2868
|
+
fileName: z.ZodString;
|
|
2869
|
+
id: z.ZodString;
|
|
2870
|
+
platform: z.ZodEnum<{
|
|
2871
|
+
android: "android";
|
|
2872
|
+
ios: "ios";
|
|
2873
|
+
}>;
|
|
2874
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
2875
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2876
|
+
url: z.ZodURL;
|
|
2877
|
+
}, z.core.$strip>>;
|
|
2606
2878
|
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2607
2879
|
attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2608
2880
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -2947,18 +3219,18 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2947
3219
|
failureReason: z.ZodLiteral<"runner-target-mismatch">;
|
|
2948
3220
|
outcome: z.ZodLiteral<"failure">;
|
|
2949
3221
|
requiredRunnerName: z.ZodEnum<{
|
|
2950
|
-
basic: "basic";
|
|
2951
|
-
playwright: "playwright";
|
|
2952
3222
|
android: "android";
|
|
2953
3223
|
ios: "ios";
|
|
3224
|
+
basic: "basic";
|
|
3225
|
+
playwright: "playwright";
|
|
2954
3226
|
windows: "windows";
|
|
2955
3227
|
mac: "mac";
|
|
2956
3228
|
}>;
|
|
2957
3229
|
runnerName: z.ZodEnum<{
|
|
2958
|
-
basic: "basic";
|
|
2959
|
-
playwright: "playwright";
|
|
2960
3230
|
android: "android";
|
|
2961
3231
|
ios: "ios";
|
|
3232
|
+
basic: "basic";
|
|
3233
|
+
playwright: "playwright";
|
|
2962
3234
|
windows: "windows";
|
|
2963
3235
|
mac: "mac";
|
|
2964
3236
|
}>;
|
|
@@ -3010,7 +3282,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3010
3282
|
readonly openWorldHint: false;
|
|
3011
3283
|
readonly readOnlyHint: false;
|
|
3012
3284
|
};
|
|
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
|
|
3285
|
+
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
3286
|
readonly input: z.ZodObject<{
|
|
3015
3287
|
id: z.ZodString;
|
|
3016
3288
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -3065,7 +3337,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3065
3337
|
readonly openWorldHint: false;
|
|
3066
3338
|
readonly readOnlyHint: false;
|
|
3067
3339
|
};
|
|
3068
|
-
readonly description: "Control video recording on a
|
|
3340
|
+
readonly description: "Control video recording on a browser, mobile, Windows, or Mac runner. Start requires a caller-generated UUID; stop targets that UUID so retries cannot stop a later recording. Manual capture spans runs and suppresses automatic capture. Auto settings affect subsequent full runs. The URL opens recording history after the runner terminates. Videos may be unavailable after abrupt pod loss.";
|
|
3069
3341
|
readonly input: z.ZodObject<{
|
|
3070
3342
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3071
3343
|
action: z.ZodLiteral<"start">;
|
|
@@ -3357,14 +3629,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3357
3629
|
readonly annotationJustifications: {
|
|
3358
3630
|
readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
|
|
3359
3631
|
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
|
|
3632
|
+
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
|
|
3361
3633
|
};
|
|
3362
3634
|
readonly annotations: {
|
|
3363
3635
|
readonly destructiveHint: false;
|
|
3364
3636
|
readonly openWorldHint: false;
|
|
3365
|
-
readonly readOnlyHint:
|
|
3637
|
+
readonly readOnlyHint: false;
|
|
3366
3638
|
};
|
|
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
|
|
3639
|
+
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
3640
|
readonly input: z.ZodObject<{
|
|
3369
3641
|
id: z.ZodString;
|
|
3370
3642
|
request: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3594,10 +3866,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3594
3866
|
id: z.ZodString;
|
|
3595
3867
|
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
3596
3868
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
3597
|
-
basic: "basic";
|
|
3598
|
-
playwright: "playwright";
|
|
3599
3869
|
android: "android";
|
|
3600
3870
|
ios: "ios";
|
|
3871
|
+
basic: "basic";
|
|
3872
|
+
playwright: "playwright";
|
|
3601
3873
|
windows: "windows";
|
|
3602
3874
|
mac: "mac";
|
|
3603
3875
|
}>>;
|
|
@@ -3609,10 +3881,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3609
3881
|
gpuAccelerated: z.ZodBoolean;
|
|
3610
3882
|
id: z.ZodString;
|
|
3611
3883
|
runnerName: z.ZodEnum<{
|
|
3612
|
-
basic: "basic";
|
|
3613
|
-
playwright: "playwright";
|
|
3614
3884
|
android: "android";
|
|
3615
3885
|
ios: "ios";
|
|
3886
|
+
basic: "basic";
|
|
3887
|
+
playwright: "playwright";
|
|
3616
3888
|
windows: "windows";
|
|
3617
3889
|
mac: "mac";
|
|
3618
3890
|
}>;
|
|
@@ -3644,10 +3916,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3644
3916
|
gpuAccelerated: z.ZodBoolean;
|
|
3645
3917
|
id: z.ZodString;
|
|
3646
3918
|
runnerName: z.ZodEnum<{
|
|
3647
|
-
basic: "basic";
|
|
3648
|
-
playwright: "playwright";
|
|
3649
3919
|
android: "android";
|
|
3650
3920
|
ios: "ios";
|
|
3921
|
+
basic: "basic";
|
|
3922
|
+
playwright: "playwright";
|
|
3651
3923
|
windows: "windows";
|
|
3652
3924
|
mac: "mac";
|
|
3653
3925
|
}>;
|
|
@@ -4121,6 +4393,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4121
4393
|
generativeSuite: "generativeSuite";
|
|
4122
4394
|
}>>;
|
|
4123
4395
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4396
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4124
4397
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4125
4398
|
}, z.core.$strip>;
|
|
4126
4399
|
cadence: z.ZodEnum<{
|
|
@@ -4163,6 +4436,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4163
4436
|
generativeSuite: "generativeSuite";
|
|
4164
4437
|
}>>;
|
|
4165
4438
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4439
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4166
4440
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4167
4441
|
}, z.core.$strip>;
|
|
4168
4442
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4189,6 +4463,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4189
4463
|
generativeSuite: "generativeSuite";
|
|
4190
4464
|
}>>;
|
|
4191
4465
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4466
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4192
4467
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4193
4468
|
}, z.core.$strip>;
|
|
4194
4469
|
cadence: z.ZodEnum<{
|
|
@@ -4229,6 +4504,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4229
4504
|
generativeSuite: "generativeSuite";
|
|
4230
4505
|
}>>;
|
|
4231
4506
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4507
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4232
4508
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4233
4509
|
}, z.core.$strip>;
|
|
4234
4510
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4305,6 +4581,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4305
4581
|
generativeSuite: "generativeSuite";
|
|
4306
4582
|
}>>;
|
|
4307
4583
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4584
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4308
4585
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4309
4586
|
}, z.core.$strip>;
|
|
4310
4587
|
cadence: z.ZodEnum<{
|
|
@@ -4345,6 +4622,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4345
4622
|
generativeSuite: "generativeSuite";
|
|
4346
4623
|
}>>;
|
|
4347
4624
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4625
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4348
4626
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4349
4627
|
}, z.core.$strip>;
|
|
4350
4628
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4399,6 +4677,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4399
4677
|
generativeSuite: "generativeSuite";
|
|
4400
4678
|
}>>;
|
|
4401
4679
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4680
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4402
4681
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4403
4682
|
}, z.core.$strip>;
|
|
4404
4683
|
cadence: z.ZodEnum<{
|
|
@@ -4439,6 +4718,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4439
4718
|
generativeSuite: "generativeSuite";
|
|
4440
4719
|
}>>;
|
|
4441
4720
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4721
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4442
4722
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4443
4723
|
}, z.core.$strip>;
|
|
4444
4724
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4493,6 +4773,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4493
4773
|
generativeSuite: "generativeSuite";
|
|
4494
4774
|
}>>;
|
|
4495
4775
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4776
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4496
4777
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4497
4778
|
}, z.core.$strip>;
|
|
4498
4779
|
cadence: z.ZodEnum<{
|
|
@@ -4533,6 +4814,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4533
4814
|
generativeSuite: "generativeSuite";
|
|
4534
4815
|
}>>;
|
|
4535
4816
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4817
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4536
4818
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4537
4819
|
}, z.core.$strip>;
|
|
4538
4820
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4587,6 +4869,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4587
4869
|
generativeSuite: "generativeSuite";
|
|
4588
4870
|
}>>;
|
|
4589
4871
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4872
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4590
4873
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4591
4874
|
}, z.core.$strip>;
|
|
4592
4875
|
cadence: z.ZodEnum<{
|
|
@@ -4627,6 +4910,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4627
4910
|
generativeSuite: "generativeSuite";
|
|
4628
4911
|
}>>;
|
|
4629
4912
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4913
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4630
4914
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4631
4915
|
}, z.core.$strip>;
|
|
4632
4916
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4674,6 +4958,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4674
4958
|
generativeSuite: "generativeSuite";
|
|
4675
4959
|
}>>;
|
|
4676
4960
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
4961
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4677
4962
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4678
4963
|
}, z.core.$strip>;
|
|
4679
4964
|
cadence: z.ZodEnum<{
|
|
@@ -4716,6 +5001,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4716
5001
|
generativeSuite: "generativeSuite";
|
|
4717
5002
|
}>>;
|
|
4718
5003
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
5004
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4719
5005
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4720
5006
|
}, z.core.$strip>;
|
|
4721
5007
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -4742,6 +5028,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4742
5028
|
generativeSuite: "generativeSuite";
|
|
4743
5029
|
}>>;
|
|
4744
5030
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
5031
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4745
5032
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4746
5033
|
}, z.core.$strip>;
|
|
4747
5034
|
cadence: z.ZodEnum<{
|
|
@@ -4782,6 +5069,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4782
5069
|
generativeSuite: "generativeSuite";
|
|
4783
5070
|
}>>;
|
|
4784
5071
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
5072
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
4785
5073
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4786
5074
|
}, z.core.$strip>;
|
|
4787
5075
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -5091,6 +5379,169 @@ export declare const publicContractsV1: {
|
|
|
5091
5379
|
}, z.core.$strip>], "artifactStatus">;
|
|
5092
5380
|
};
|
|
5093
5381
|
};
|
|
5382
|
+
build: {
|
|
5383
|
+
create: {
|
|
5384
|
+
readonly annotationJustifications: {
|
|
5385
|
+
readonly destructiveHint: "Creates a build. With an environment, later runs there install it instead of the previous build.";
|
|
5386
|
+
readonly openWorldHint: "Reads the uploaded file from QA Wolf storage only.";
|
|
5387
|
+
readonly readOnlyHint: "Creates a build, and can create the environment it names.";
|
|
5388
|
+
};
|
|
5389
|
+
readonly annotations: {
|
|
5390
|
+
readonly destructiveHint: false;
|
|
5391
|
+
readonly openWorldHint: false;
|
|
5392
|
+
readonly readOnlyHint: false;
|
|
5393
|
+
};
|
|
5394
|
+
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.";
|
|
5395
|
+
readonly input: z.ZodObject<{
|
|
5396
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
5397
|
+
buildId: z.ZodString;
|
|
5398
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
5399
|
+
environment: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5400
|
+
id: PublicIdSchema;
|
|
5401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5402
|
+
baseEphemeralEnvironment: z.ZodOptional<z.ZodString>;
|
|
5403
|
+
ephemeral: z.ZodOptional<z.ZodBoolean>;
|
|
5404
|
+
name: z.ZodString;
|
|
5405
|
+
}, z.core.$strict>]>>;
|
|
5406
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5407
|
+
}, z.core.$strip>;
|
|
5408
|
+
readonly kind: "write";
|
|
5409
|
+
readonly name: "build.create";
|
|
5410
|
+
readonly output: z.ZodObject<{
|
|
5411
|
+
build: z.ZodObject<{
|
|
5412
|
+
appId: z.ZodString;
|
|
5413
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
5414
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
5415
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
5416
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
createdAt: z.ZodISODateTime;
|
|
5418
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5419
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5420
|
+
fileName: z.ZodString;
|
|
5421
|
+
id: z.ZodString;
|
|
5422
|
+
platform: z.ZodEnum<{
|
|
5423
|
+
android: "android";
|
|
5424
|
+
ios: "ios";
|
|
5425
|
+
}>;
|
|
5426
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
5427
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5428
|
+
url: z.ZodURL;
|
|
5429
|
+
}, z.core.$strip>;
|
|
5430
|
+
}, z.core.$strip>;
|
|
5431
|
+
};
|
|
5432
|
+
get: {
|
|
5433
|
+
readonly annotationJustifications: {
|
|
5434
|
+
readonly destructiveHint: "Does not change the build.";
|
|
5435
|
+
readonly openWorldHint: "Reads QA Wolf data only.";
|
|
5436
|
+
readonly readOnlyHint: "Reads one build.";
|
|
5437
|
+
};
|
|
5438
|
+
readonly annotations: {
|
|
5439
|
+
readonly destructiveHint: false;
|
|
5440
|
+
readonly openWorldHint: false;
|
|
5441
|
+
readonly readOnlyHint: true;
|
|
5442
|
+
};
|
|
5443
|
+
readonly description: "Get a build: its app, platform, version and environment. Deleted builds are returned too.";
|
|
5444
|
+
readonly input: z.ZodObject<{
|
|
5445
|
+
buildId: z.ZodString;
|
|
5446
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5447
|
+
}, z.core.$strip>;
|
|
5448
|
+
readonly kind: "read";
|
|
5449
|
+
readonly name: "build.get";
|
|
5450
|
+
readonly output: z.ZodObject<{
|
|
5451
|
+
build: z.ZodObject<{
|
|
5452
|
+
appId: z.ZodString;
|
|
5453
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
5454
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
5455
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
5456
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
5457
|
+
createdAt: z.ZodISODateTime;
|
|
5458
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5459
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5460
|
+
fileName: z.ZodString;
|
|
5461
|
+
id: z.ZodString;
|
|
5462
|
+
platform: z.ZodEnum<{
|
|
5463
|
+
android: "android";
|
|
5464
|
+
ios: "ios";
|
|
5465
|
+
}>;
|
|
5466
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
5467
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5468
|
+
url: z.ZodURL;
|
|
5469
|
+
}, z.core.$strip>;
|
|
5470
|
+
}, z.core.$strip>;
|
|
5471
|
+
};
|
|
5472
|
+
list: {
|
|
5473
|
+
readonly annotationJustifications: {
|
|
5474
|
+
readonly destructiveHint: "Does not change any build.";
|
|
5475
|
+
readonly openWorldHint: "Reads QA Wolf data only.";
|
|
5476
|
+
readonly readOnlyHint: "Lists builds.";
|
|
5477
|
+
};
|
|
5478
|
+
readonly annotations: {
|
|
5479
|
+
readonly destructiveHint: false;
|
|
5480
|
+
readonly openWorldHint: false;
|
|
5481
|
+
readonly readOnlyHint: true;
|
|
5482
|
+
};
|
|
5483
|
+
readonly description: "List the workspace's undeleted builds, newest first. With latestOnly, list what the environment's next run installs.";
|
|
5484
|
+
readonly input: z.ZodObject<{
|
|
5485
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5486
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5487
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
5488
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5489
|
+
latestOnly: z.ZodDefault<z.ZodBoolean>;
|
|
5490
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5491
|
+
}, z.core.$strip>;
|
|
5492
|
+
readonly kind: "read";
|
|
5493
|
+
readonly name: "build.list";
|
|
5494
|
+
readonly output: z.ZodObject<{
|
|
5495
|
+
builds: z.ZodArray<z.ZodObject<{
|
|
5496
|
+
appId: z.ZodString;
|
|
5497
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
5498
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
5499
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
5500
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
5501
|
+
createdAt: z.ZodISODateTime;
|
|
5502
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5503
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5504
|
+
fileName: z.ZodString;
|
|
5505
|
+
id: z.ZodString;
|
|
5506
|
+
platform: z.ZodEnum<{
|
|
5507
|
+
android: "android";
|
|
5508
|
+
ios: "ios";
|
|
5509
|
+
}>;
|
|
5510
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
5511
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
url: z.ZodURL;
|
|
5513
|
+
}, z.core.$strip>>;
|
|
5514
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
5515
|
+
}, z.core.$strip>;
|
|
5516
|
+
};
|
|
5517
|
+
requestUpload: {
|
|
5518
|
+
readonly annotationJustifications: {
|
|
5519
|
+
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
5520
|
+
readonly openWorldHint: "The upload target is QA Wolf's run inputs storage, not an external service.";
|
|
5521
|
+
readonly readOnlyHint: "Returns an expiring URL that permits writing one file to the workspace's storage.";
|
|
5522
|
+
};
|
|
5523
|
+
readonly annotations: {
|
|
5524
|
+
readonly destructiveHint: false;
|
|
5525
|
+
readonly openWorldHint: false;
|
|
5526
|
+
readonly readOnlyHint: false;
|
|
5527
|
+
};
|
|
5528
|
+
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.";
|
|
5529
|
+
readonly input: z.ZodObject<{
|
|
5530
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
5531
|
+
fileName: z.ZodString;
|
|
5532
|
+
fileSizeBytes: z.ZodNumber;
|
|
5533
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5534
|
+
}, z.core.$strip>;
|
|
5535
|
+
readonly kind: "write";
|
|
5536
|
+
readonly name: "build.requestUpload";
|
|
5537
|
+
readonly output: z.ZodObject<{
|
|
5538
|
+
buildId: z.ZodString;
|
|
5539
|
+
expiresAt: z.ZodISODateTime;
|
|
5540
|
+
uploadHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5541
|
+
uploadUrl: z.ZodString;
|
|
5542
|
+
}, z.core.$strip>;
|
|
5543
|
+
};
|
|
5544
|
+
};
|
|
5094
5545
|
codeHostIntegration: {
|
|
5095
5546
|
find: {
|
|
5096
5547
|
readonly annotationJustifications: {
|
|
@@ -6294,6 +6745,12 @@ export declare const publicContractsV1: {
|
|
|
6294
6745
|
agent: "agent";
|
|
6295
6746
|
}>>;
|
|
6296
6747
|
disputeReason: z.ZodOptional<z.ZodString>;
|
|
6748
|
+
earlierQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6749
|
+
answer: z.ZodString;
|
|
6750
|
+
answeredAt: z.ZodISODateTime;
|
|
6751
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6752
|
+
text: z.ZodString;
|
|
6753
|
+
}, z.core.$strip>>>;
|
|
6297
6754
|
expected: z.ZodOptional<z.ZodString>;
|
|
6298
6755
|
findingId: z.ZodString;
|
|
6299
6756
|
fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6329,6 +6786,7 @@ export declare const publicContractsV1: {
|
|
|
6329
6786
|
title: z.ZodString;
|
|
6330
6787
|
value: z.ZodString;
|
|
6331
6788
|
}, z.core.$strip>>;
|
|
6789
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6332
6790
|
comparisonId: z.ZodOptional<z.ZodString>;
|
|
6333
6791
|
text: z.ZodString;
|
|
6334
6792
|
}, z.core.$strip>>;
|
|
@@ -6343,8 +6801,20 @@ export declare const publicContractsV1: {
|
|
|
6343
6801
|
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6344
6802
|
subSessionIds: z.ZodArray<PublicIdSchema>;
|
|
6345
6803
|
summary: z.ZodOptional<z.ZodString>;
|
|
6804
|
+
supersededByRunId: z.ZodOptional<PublicIdSchema>;
|
|
6346
6805
|
updatedAt: z.ZodISODateTime;
|
|
6347
6806
|
}, z.core.$strip>>;
|
|
6807
|
+
questionsFromOtherRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6808
|
+
answer: z.ZodOptional<z.ZodString>;
|
|
6809
|
+
answeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6810
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6811
|
+
findingId: z.ZodString;
|
|
6812
|
+
flowIds: z.ZodArray<PublicIdSchema>;
|
|
6813
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
6814
|
+
runId: PublicIdSchema;
|
|
6815
|
+
status: z.ZodString;
|
|
6816
|
+
text: z.ZodString;
|
|
6817
|
+
}, z.core.$strip>>>;
|
|
6348
6818
|
runId: PublicIdSchema;
|
|
6349
6819
|
sessionId: z.ZodOptional<PublicIdSchema>;
|
|
6350
6820
|
status: z.ZodEnum<{
|
|
@@ -6536,6 +7006,75 @@ export declare const publicContractsV1: {
|
|
|
6536
7006
|
}, z.core.$strip>;
|
|
6537
7007
|
}, z.core.$strip>;
|
|
6538
7008
|
};
|
|
7009
|
+
decideSuggestion: {
|
|
7010
|
+
readonly annotationJustifications: {
|
|
7011
|
+
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
7012
|
+
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
7013
|
+
readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
|
|
7014
|
+
};
|
|
7015
|
+
readonly annotations: {
|
|
7016
|
+
readonly destructiveHint: false;
|
|
7017
|
+
readonly openWorldHint: true;
|
|
7018
|
+
readonly readOnlyHint: false;
|
|
7019
|
+
};
|
|
7020
|
+
readonly description: string;
|
|
7021
|
+
readonly input: z.ZodObject<{
|
|
7022
|
+
decision: z.ZodEnum<{
|
|
7023
|
+
add: "add";
|
|
7024
|
+
report: "report";
|
|
7025
|
+
skip: "skip";
|
|
7026
|
+
undo: "undo";
|
|
7027
|
+
activate: "activate";
|
|
7028
|
+
}>;
|
|
7029
|
+
issueId: PublicIdSchema;
|
|
7030
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
7031
|
+
"not-worth-testing": "not-worth-testing";
|
|
7032
|
+
"already-covered": "already-covered";
|
|
7033
|
+
"feature-removed": "feature-removed";
|
|
7034
|
+
}>>;
|
|
7035
|
+
}, z.core.$strip>;
|
|
7036
|
+
readonly kind: "write";
|
|
7037
|
+
readonly name: "issue.decideSuggestion";
|
|
7038
|
+
readonly output: z.ZodObject<{
|
|
7039
|
+
issue: z.ZodObject<{
|
|
7040
|
+
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7041
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
7042
|
+
description: z.ZodString;
|
|
7043
|
+
issueId: PublicIdSchema;
|
|
7044
|
+
name: z.ZodString;
|
|
7045
|
+
number: z.ZodNumber;
|
|
7046
|
+
priority: z.ZodEnum<{
|
|
7047
|
+
unprioritized: "unprioritized";
|
|
7048
|
+
low: "low";
|
|
7049
|
+
medium: "medium";
|
|
7050
|
+
high: "high";
|
|
7051
|
+
urgent: "urgent";
|
|
7052
|
+
}>;
|
|
7053
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
7054
|
+
environmentId: PublicIdSchema;
|
|
7055
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
7056
|
+
flowId: PublicIdSchema;
|
|
7057
|
+
isActive: z.ZodBoolean;
|
|
7058
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
7059
|
+
}, z.core.$strip>>;
|
|
7060
|
+
status: z.ZodEnum<{
|
|
7061
|
+
pending: "pending";
|
|
7062
|
+
canceled: "canceled";
|
|
7063
|
+
backlog: "backlog";
|
|
7064
|
+
inProgress: "inProgress";
|
|
7065
|
+
paused: "paused";
|
|
7066
|
+
resolved: "resolved";
|
|
7067
|
+
archived: "archived";
|
|
7068
|
+
}>;
|
|
7069
|
+
type: z.ZodEnum<{
|
|
7070
|
+
bug: "bug";
|
|
7071
|
+
maintenance: "maintenance";
|
|
7072
|
+
coverageRequest: "coverageRequest";
|
|
7073
|
+
}>;
|
|
7074
|
+
url: z.ZodURL;
|
|
7075
|
+
}, z.core.$strip>;
|
|
7076
|
+
}, z.core.$strip>;
|
|
7077
|
+
};
|
|
6539
7078
|
find: {
|
|
6540
7079
|
readonly annotationJustifications: {
|
|
6541
7080
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
@@ -7229,6 +7768,7 @@ export declare const publicContractsV1: {
|
|
|
7229
7768
|
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
7230
7769
|
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
7231
7770
|
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
7771
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7232
7772
|
chatSessionId: z.ZodOptional<PublicIdSchema>;
|
|
7233
7773
|
environmentId: PublicIdSchema;
|
|
7234
7774
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -7336,6 +7876,7 @@ export declare const publicContractsV1: {
|
|
|
7336
7876
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
7337
7877
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7338
7878
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
7879
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
7339
7880
|
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
7340
7881
|
}, z.core.$strip>;
|
|
7341
7882
|
readonly kind: "read";
|
|
@@ -7397,6 +7938,25 @@ export declare const publicContractsV1: {
|
|
|
7397
7938
|
readonly name: "run.get";
|
|
7398
7939
|
readonly output: z.ZodObject<{
|
|
7399
7940
|
blockingBugCount: z.ZodNumber;
|
|
7941
|
+
builds: z.ZodArray<z.ZodObject<{
|
|
7942
|
+
appId: z.ZodString;
|
|
7943
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
7944
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
7945
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
7946
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
7947
|
+
createdAt: z.ZodISODateTime;
|
|
7948
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7949
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
7950
|
+
fileName: z.ZodString;
|
|
7951
|
+
id: z.ZodString;
|
|
7952
|
+
platform: z.ZodEnum<{
|
|
7953
|
+
android: "android";
|
|
7954
|
+
ios: "ios";
|
|
7955
|
+
}>;
|
|
7956
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
7957
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7958
|
+
url: z.ZodURL;
|
|
7959
|
+
}, z.core.$strip>>;
|
|
7400
7960
|
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7401
7961
|
attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7402
7962
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -7741,18 +8301,18 @@ export declare const publicContractsV1: {
|
|
|
7741
8301
|
failureReason: z.ZodLiteral<"runner-target-mismatch">;
|
|
7742
8302
|
outcome: z.ZodLiteral<"failure">;
|
|
7743
8303
|
requiredRunnerName: z.ZodEnum<{
|
|
7744
|
-
basic: "basic";
|
|
7745
|
-
playwright: "playwright";
|
|
7746
8304
|
android: "android";
|
|
7747
8305
|
ios: "ios";
|
|
8306
|
+
basic: "basic";
|
|
8307
|
+
playwright: "playwright";
|
|
7748
8308
|
windows: "windows";
|
|
7749
8309
|
mac: "mac";
|
|
7750
8310
|
}>;
|
|
7751
8311
|
runnerName: z.ZodEnum<{
|
|
7752
|
-
basic: "basic";
|
|
7753
|
-
playwright: "playwright";
|
|
7754
8312
|
android: "android";
|
|
7755
8313
|
ios: "ios";
|
|
8314
|
+
basic: "basic";
|
|
8315
|
+
playwright: "playwright";
|
|
7756
8316
|
windows: "windows";
|
|
7757
8317
|
mac: "mac";
|
|
7758
8318
|
}>;
|
|
@@ -7804,7 +8364,7 @@ export declare const publicContractsV1: {
|
|
|
7804
8364
|
readonly openWorldHint: false;
|
|
7805
8365
|
readonly readOnlyHint: false;
|
|
7806
8366
|
};
|
|
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
|
|
8367
|
+
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
8368
|
readonly input: z.ZodObject<{
|
|
7809
8369
|
id: z.ZodString;
|
|
7810
8370
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -7859,7 +8419,7 @@ export declare const publicContractsV1: {
|
|
|
7859
8419
|
readonly openWorldHint: false;
|
|
7860
8420
|
readonly readOnlyHint: false;
|
|
7861
8421
|
};
|
|
7862
|
-
readonly description: "Control video recording on a
|
|
8422
|
+
readonly description: "Control video recording on a browser, mobile, Windows, or Mac runner. Start requires a caller-generated UUID; stop targets that UUID so retries cannot stop a later recording. Manual capture spans runs and suppresses automatic capture. Auto settings affect subsequent full runs. The URL opens recording history after the runner terminates. Videos may be unavailable after abrupt pod loss.";
|
|
7863
8423
|
readonly input: z.ZodObject<{
|
|
7864
8424
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7865
8425
|
action: z.ZodLiteral<"start">;
|
|
@@ -8151,14 +8711,14 @@ export declare const publicContractsV1: {
|
|
|
8151
8711
|
readonly annotationJustifications: {
|
|
8152
8712
|
readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
|
|
8153
8713
|
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
|
|
8714
|
+
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
|
|
8155
8715
|
};
|
|
8156
8716
|
readonly annotations: {
|
|
8157
8717
|
readonly destructiveHint: false;
|
|
8158
8718
|
readonly openWorldHint: false;
|
|
8159
|
-
readonly readOnlyHint:
|
|
8719
|
+
readonly readOnlyHint: false;
|
|
8160
8720
|
};
|
|
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
|
|
8721
|
+
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
8722
|
readonly input: z.ZodObject<{
|
|
8163
8723
|
id: z.ZodString;
|
|
8164
8724
|
request: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -8388,10 +8948,10 @@ export declare const publicContractsV1: {
|
|
|
8388
8948
|
id: z.ZodString;
|
|
8389
8949
|
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
8390
8950
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
8391
|
-
basic: "basic";
|
|
8392
|
-
playwright: "playwright";
|
|
8393
8951
|
android: "android";
|
|
8394
8952
|
ios: "ios";
|
|
8953
|
+
basic: "basic";
|
|
8954
|
+
playwright: "playwright";
|
|
8395
8955
|
windows: "windows";
|
|
8396
8956
|
mac: "mac";
|
|
8397
8957
|
}>>;
|
|
@@ -8403,10 +8963,10 @@ export declare const publicContractsV1: {
|
|
|
8403
8963
|
gpuAccelerated: z.ZodBoolean;
|
|
8404
8964
|
id: z.ZodString;
|
|
8405
8965
|
runnerName: z.ZodEnum<{
|
|
8406
|
-
basic: "basic";
|
|
8407
|
-
playwright: "playwright";
|
|
8408
8966
|
android: "android";
|
|
8409
8967
|
ios: "ios";
|
|
8968
|
+
basic: "basic";
|
|
8969
|
+
playwright: "playwright";
|
|
8410
8970
|
windows: "windows";
|
|
8411
8971
|
mac: "mac";
|
|
8412
8972
|
}>;
|
|
@@ -8438,10 +8998,10 @@ export declare const publicContractsV1: {
|
|
|
8438
8998
|
gpuAccelerated: z.ZodBoolean;
|
|
8439
8999
|
id: z.ZodString;
|
|
8440
9000
|
runnerName: z.ZodEnum<{
|
|
8441
|
-
basic: "basic";
|
|
8442
|
-
playwright: "playwright";
|
|
8443
9001
|
android: "android";
|
|
8444
9002
|
ios: "ios";
|
|
9003
|
+
basic: "basic";
|
|
9004
|
+
playwright: "playwright";
|
|
8445
9005
|
windows: "windows";
|
|
8446
9006
|
mac: "mac";
|
|
8447
9007
|
}>;
|
|
@@ -8915,6 +9475,7 @@ export declare const publicContractsV1: {
|
|
|
8915
9475
|
generativeSuite: "generativeSuite";
|
|
8916
9476
|
}>>;
|
|
8917
9477
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9478
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
8918
9479
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8919
9480
|
}, z.core.$strip>;
|
|
8920
9481
|
cadence: z.ZodEnum<{
|
|
@@ -8957,6 +9518,7 @@ export declare const publicContractsV1: {
|
|
|
8957
9518
|
generativeSuite: "generativeSuite";
|
|
8958
9519
|
}>>;
|
|
8959
9520
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9521
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
8960
9522
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8961
9523
|
}, z.core.$strip>;
|
|
8962
9524
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -8983,6 +9545,7 @@ export declare const publicContractsV1: {
|
|
|
8983
9545
|
generativeSuite: "generativeSuite";
|
|
8984
9546
|
}>>;
|
|
8985
9547
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9548
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
8986
9549
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8987
9550
|
}, z.core.$strip>;
|
|
8988
9551
|
cadence: z.ZodEnum<{
|
|
@@ -9023,6 +9586,7 @@ export declare const publicContractsV1: {
|
|
|
9023
9586
|
generativeSuite: "generativeSuite";
|
|
9024
9587
|
}>>;
|
|
9025
9588
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9589
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9026
9590
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9027
9591
|
}, z.core.$strip>;
|
|
9028
9592
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9099,6 +9663,7 @@ export declare const publicContractsV1: {
|
|
|
9099
9663
|
generativeSuite: "generativeSuite";
|
|
9100
9664
|
}>>;
|
|
9101
9665
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9666
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9102
9667
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9103
9668
|
}, z.core.$strip>;
|
|
9104
9669
|
cadence: z.ZodEnum<{
|
|
@@ -9139,6 +9704,7 @@ export declare const publicContractsV1: {
|
|
|
9139
9704
|
generativeSuite: "generativeSuite";
|
|
9140
9705
|
}>>;
|
|
9141
9706
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9707
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9142
9708
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9143
9709
|
}, z.core.$strip>;
|
|
9144
9710
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9193,6 +9759,7 @@ export declare const publicContractsV1: {
|
|
|
9193
9759
|
generativeSuite: "generativeSuite";
|
|
9194
9760
|
}>>;
|
|
9195
9761
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9762
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9196
9763
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9197
9764
|
}, z.core.$strip>;
|
|
9198
9765
|
cadence: z.ZodEnum<{
|
|
@@ -9233,6 +9800,7 @@ export declare const publicContractsV1: {
|
|
|
9233
9800
|
generativeSuite: "generativeSuite";
|
|
9234
9801
|
}>>;
|
|
9235
9802
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9803
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9236
9804
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9237
9805
|
}, z.core.$strip>;
|
|
9238
9806
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9287,6 +9855,7 @@ export declare const publicContractsV1: {
|
|
|
9287
9855
|
generativeSuite: "generativeSuite";
|
|
9288
9856
|
}>>;
|
|
9289
9857
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9858
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9290
9859
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9291
9860
|
}, z.core.$strip>;
|
|
9292
9861
|
cadence: z.ZodEnum<{
|
|
@@ -9327,6 +9896,7 @@ export declare const publicContractsV1: {
|
|
|
9327
9896
|
generativeSuite: "generativeSuite";
|
|
9328
9897
|
}>>;
|
|
9329
9898
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9899
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9330
9900
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9331
9901
|
}, z.core.$strip>;
|
|
9332
9902
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9381,6 +9951,7 @@ export declare const publicContractsV1: {
|
|
|
9381
9951
|
generativeSuite: "generativeSuite";
|
|
9382
9952
|
}>>;
|
|
9383
9953
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9954
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9384
9955
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9385
9956
|
}, z.core.$strip>;
|
|
9386
9957
|
cadence: z.ZodEnum<{
|
|
@@ -9421,6 +9992,7 @@ export declare const publicContractsV1: {
|
|
|
9421
9992
|
generativeSuite: "generativeSuite";
|
|
9422
9993
|
}>>;
|
|
9423
9994
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
9995
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9424
9996
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9425
9997
|
}, z.core.$strip>;
|
|
9426
9998
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9468,6 +10040,7 @@ export declare const publicContractsV1: {
|
|
|
9468
10040
|
generativeSuite: "generativeSuite";
|
|
9469
10041
|
}>>;
|
|
9470
10042
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
10043
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9471
10044
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9472
10045
|
}, z.core.$strip>;
|
|
9473
10046
|
cadence: z.ZodEnum<{
|
|
@@ -9510,6 +10083,7 @@ export declare const publicContractsV1: {
|
|
|
9510
10083
|
generativeSuite: "generativeSuite";
|
|
9511
10084
|
}>>;
|
|
9512
10085
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
10086
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9513
10087
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9514
10088
|
}, z.core.$strip>;
|
|
9515
10089
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -9536,6 +10110,7 @@ export declare const publicContractsV1: {
|
|
|
9536
10110
|
generativeSuite: "generativeSuite";
|
|
9537
10111
|
}>>;
|
|
9538
10112
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
10113
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9539
10114
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9540
10115
|
}, z.core.$strip>;
|
|
9541
10116
|
cadence: z.ZodEnum<{
|
|
@@ -9576,6 +10151,7 @@ export declare const publicContractsV1: {
|
|
|
9576
10151
|
generativeSuite: "generativeSuite";
|
|
9577
10152
|
}>>;
|
|
9578
10153
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
10154
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
9579
10155
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9580
10156
|
}, z.core.$strip>;
|
|
9581
10157
|
branchPattern: z.ZodOptional<z.ZodString>;
|