@qawolf/api-contracts 0.74.1 → 0.78.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/dist/v1/index.d.ts +70 -4
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/issue/removeFlows.d.ts +2 -1
- package/dist/v1/issue/removeFlows.d.ts.map +1 -1
- package/dist/v1/issue/removeFlows.js +8 -5
- package/dist/v1/issue/removeFlows.js.map +1 -1
- package/dist/v1/run/diagnose.js +1 -1
- package/dist/v1/run/diagnose.js.map +1 -1
- package/dist/v1/runner/catalog.d.ts +33 -1
- package/dist/v1/runner/catalog.d.ts.map +1 -1
- package/dist/v1/runner/performActions.d.ts +33 -1
- package/dist/v1/runner/performActions.d.ts.map +1 -1
- package/dist/v1/runner/performActions.js +4 -4
- package/dist/v1/runner/performActions.js.map +1 -1
- package/dist/v1/runner/performActionsSteps.d.ts +3 -1
- package/dist/v1/runner/performActionsSteps.d.ts.map +1 -1
- package/dist/v1/runner/performActionsSteps.js +2 -0
- package/dist/v1/runner/performActionsSteps.js.map +1 -1
- package/dist/v1/runner/runFlow.js +1 -1
- package/dist/v1/runner/runFlow.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -1314,11 +1314,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1314
1314
|
removeFlows: {
|
|
1315
1315
|
readonly annotations: {
|
|
1316
1316
|
readonly destructiveHint: true;
|
|
1317
|
-
readonly openWorldHint:
|
|
1317
|
+
readonly openWorldHint: true;
|
|
1318
1318
|
readonly readOnlyHint: false;
|
|
1319
1319
|
};
|
|
1320
1320
|
readonly description: string;
|
|
1321
1321
|
readonly input: z.ZodObject<{
|
|
1322
|
+
environmentId: z.ZodOptional<EnvironmentId>;
|
|
1322
1323
|
flowIds: z.ZodArray<FlowId>;
|
|
1323
1324
|
issueId: IssueId;
|
|
1324
1325
|
}, z.core.$strip>;
|
|
@@ -2859,7 +2860,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2859
2860
|
readonly openWorldHint: true;
|
|
2860
2861
|
readonly readOnlyHint: false;
|
|
2861
2862
|
};
|
|
2862
|
-
readonly description: "Perform a sequence of raw
|
|
2863
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
2863
2864
|
readonly input: z.ZodObject<{
|
|
2864
2865
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2865
2866
|
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
@@ -2895,6 +2896,36 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2895
2896
|
}, z.core.$strict>, z.ZodObject<{
|
|
2896
2897
|
text: z.ZodString;
|
|
2897
2898
|
type: z.ZodLiteral<"type">;
|
|
2899
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2900
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
2902
|
+
"ios-predicate": "ios-predicate";
|
|
2903
|
+
shadow: "shadow";
|
|
2904
|
+
xpath: "xpath";
|
|
2905
|
+
}>>;
|
|
2906
|
+
type: z.ZodLiteral<"tap">;
|
|
2907
|
+
x: z.ZodOptional<z.ZodInt>;
|
|
2908
|
+
y: z.ZodOptional<z.ZodInt>;
|
|
2909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2910
|
+
duration_ms: z.ZodOptional<z.ZodInt>;
|
|
2911
|
+
from: z.ZodObject<{
|
|
2912
|
+
x: z.ZodInt;
|
|
2913
|
+
y: z.ZodInt;
|
|
2914
|
+
}, z.core.$strict>;
|
|
2915
|
+
to: z.ZodObject<{
|
|
2916
|
+
x: z.ZodInt;
|
|
2917
|
+
y: z.ZodInt;
|
|
2918
|
+
}, z.core.$strict>;
|
|
2919
|
+
type: z.ZodLiteral<"swipe">;
|
|
2920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2921
|
+
selector: z.ZodString;
|
|
2922
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
2923
|
+
"ios-predicate": "ios-predicate";
|
|
2924
|
+
shadow: "shadow";
|
|
2925
|
+
xpath: "xpath";
|
|
2926
|
+
}>>;
|
|
2927
|
+
text: z.ZodString;
|
|
2928
|
+
type: z.ZodLiteral<"fill">;
|
|
2898
2929
|
}, z.core.$strict>], "type">>;
|
|
2899
2930
|
id: z.ZodString;
|
|
2900
2931
|
screenshotMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2927,6 +2958,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2927
2958
|
"action-failed": "action-failed";
|
|
2928
2959
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
2929
2960
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
2961
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
2930
2962
|
"out-of-time": "out-of-time";
|
|
2931
2963
|
"action-unconfirmed": "action-unconfirmed";
|
|
2932
2964
|
}>;
|
|
@@ -2963,6 +2995,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2963
2995
|
"screen-not-ready": "screen-not-ready";
|
|
2964
2996
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
2965
2997
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
2998
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
2966
2999
|
"out-of-time": "out-of-time";
|
|
2967
3000
|
}>;
|
|
2968
3001
|
index: z.ZodInt;
|
|
@@ -5093,11 +5126,12 @@ export declare const publicContractsV1: {
|
|
|
5093
5126
|
removeFlows: {
|
|
5094
5127
|
readonly annotations: {
|
|
5095
5128
|
readonly destructiveHint: true;
|
|
5096
|
-
readonly openWorldHint:
|
|
5129
|
+
readonly openWorldHint: true;
|
|
5097
5130
|
readonly readOnlyHint: false;
|
|
5098
5131
|
};
|
|
5099
5132
|
readonly description: string;
|
|
5100
5133
|
readonly input: z.ZodObject<{
|
|
5134
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5101
5135
|
flowIds: z.ZodArray<PublicIdSchema>;
|
|
5102
5136
|
issueId: PublicIdSchema;
|
|
5103
5137
|
}, z.core.$strip>;
|
|
@@ -6638,7 +6672,7 @@ export declare const publicContractsV1: {
|
|
|
6638
6672
|
readonly openWorldHint: true;
|
|
6639
6673
|
readonly readOnlyHint: false;
|
|
6640
6674
|
};
|
|
6641
|
-
readonly description: "Perform a sequence of raw
|
|
6675
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
6642
6676
|
readonly input: z.ZodObject<{
|
|
6643
6677
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6644
6678
|
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
@@ -6674,6 +6708,36 @@ export declare const publicContractsV1: {
|
|
|
6674
6708
|
}, z.core.$strict>, z.ZodObject<{
|
|
6675
6709
|
text: z.ZodString;
|
|
6676
6710
|
type: z.ZodLiteral<"type">;
|
|
6711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6712
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
6713
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
6714
|
+
"ios-predicate": "ios-predicate";
|
|
6715
|
+
shadow: "shadow";
|
|
6716
|
+
xpath: "xpath";
|
|
6717
|
+
}>>;
|
|
6718
|
+
type: z.ZodLiteral<"tap">;
|
|
6719
|
+
x: z.ZodOptional<z.ZodInt>;
|
|
6720
|
+
y: z.ZodOptional<z.ZodInt>;
|
|
6721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6722
|
+
duration_ms: z.ZodOptional<z.ZodInt>;
|
|
6723
|
+
from: z.ZodObject<{
|
|
6724
|
+
x: z.ZodInt;
|
|
6725
|
+
y: z.ZodInt;
|
|
6726
|
+
}, z.core.$strict>;
|
|
6727
|
+
to: z.ZodObject<{
|
|
6728
|
+
x: z.ZodInt;
|
|
6729
|
+
y: z.ZodInt;
|
|
6730
|
+
}, z.core.$strict>;
|
|
6731
|
+
type: z.ZodLiteral<"swipe">;
|
|
6732
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6733
|
+
selector: z.ZodString;
|
|
6734
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
6735
|
+
"ios-predicate": "ios-predicate";
|
|
6736
|
+
shadow: "shadow";
|
|
6737
|
+
xpath: "xpath";
|
|
6738
|
+
}>>;
|
|
6739
|
+
text: z.ZodString;
|
|
6740
|
+
type: z.ZodLiteral<"fill">;
|
|
6677
6741
|
}, z.core.$strict>], "type">>;
|
|
6678
6742
|
id: z.ZodString;
|
|
6679
6743
|
screenshotMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6706,6 +6770,7 @@ export declare const publicContractsV1: {
|
|
|
6706
6770
|
"action-failed": "action-failed";
|
|
6707
6771
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
6708
6772
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
6773
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
6709
6774
|
"out-of-time": "out-of-time";
|
|
6710
6775
|
"action-unconfirmed": "action-unconfirmed";
|
|
6711
6776
|
}>;
|
|
@@ -6742,6 +6807,7 @@ export declare const publicContractsV1: {
|
|
|
6742
6807
|
"screen-not-ready": "screen-not-ready";
|
|
6743
6808
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
6744
6809
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
6810
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
6745
6811
|
"out-of-time": "out-of-time";
|
|
6746
6812
|
}>;
|
|
6747
6813
|
index: z.ZodInt;
|
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,cAAc,oBAAoB,CAAC;AAMnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAuB5D,OAAO,EACL,KAAK,cAAc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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -8,11 +8,12 @@ export declare const makeRemoveFlowsFromIssueContract: <EnvironmentId extends Pu
|
|
|
8
8
|
}) => {
|
|
9
9
|
readonly annotations: {
|
|
10
10
|
readonly destructiveHint: true;
|
|
11
|
-
readonly openWorldHint:
|
|
11
|
+
readonly openWorldHint: true;
|
|
12
12
|
readonly readOnlyHint: false;
|
|
13
13
|
};
|
|
14
14
|
readonly description: string;
|
|
15
15
|
readonly input: z.ZodObject<{
|
|
16
|
+
environmentId: z.ZodOptional<EnvironmentId>;
|
|
16
17
|
flowIds: z.ZodArray<FlowId>;
|
|
17
18
|
issueId: IssueId;
|
|
18
19
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeFlows.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,gCAAgC,GAC3C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ
|
|
1
|
+
{"version":3,"file":"removeFlows.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,gCAAgC,GAC3C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CA,CAAC"}
|
|
@@ -2,13 +2,16 @@ import { z } from "zod";
|
|
|
2
2
|
import { makeIssueResourceSchema } from "./index.js";
|
|
3
3
|
export const makeRemoveFlowsFromIssueContract = (ids) => {
|
|
4
4
|
const input = z.object({
|
|
5
|
+
environmentId: ids.environment
|
|
6
|
+
.optional()
|
|
7
|
+
.describe("The environment whose bug or maintenance reproductions to remove. Required when a selected flow is linked in more than one environment."),
|
|
5
8
|
flowIds: z
|
|
6
9
|
.array(ids.flow)
|
|
7
10
|
.min(1)
|
|
8
11
|
// Matches the issue.addFlows selection cap.
|
|
9
12
|
.max(300)
|
|
10
13
|
.refine((flowIds) => new Set(flowIds).size === flowIds.length, "flowIds must be unique")
|
|
11
|
-
.describe("The flows
|
|
14
|
+
.describe("The flows to remove from the issue."),
|
|
12
15
|
issueId: ids.issue,
|
|
13
16
|
});
|
|
14
17
|
const output = z.object({
|
|
@@ -17,12 +20,12 @@ export const makeRemoveFlowsFromIssueContract = (ids) => {
|
|
|
17
20
|
return {
|
|
18
21
|
annotations: {
|
|
19
22
|
destructiveHint: true,
|
|
20
|
-
openWorldHint:
|
|
23
|
+
openWorldHint: true,
|
|
21
24
|
readOnlyHint: false,
|
|
22
25
|
},
|
|
23
|
-
description: "Remove flows from a coverage request
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
+
description: "Remove flows from a coverage request or remove bug/maintenance reproductions in an environment. " +
|
|
27
|
+
"Unlinked flows are left alone. Reports auto-close when no active reproductions remain and auto-close is enabled. " +
|
|
28
|
+
"For reports, omit environmentId only when each selected flow is linked in at most one environment.",
|
|
26
29
|
input,
|
|
27
30
|
kind: "write",
|
|
28
31
|
name: "issue.removeFlows",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAK9C,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,4CAA4C;aAC3C,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"removeFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAK9C,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,WAAW;aAC3B,QAAQ,EAAE;aACV,QAAQ,CACP,yIAAyI,CAC1I;QACH,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,4CAA4C;aAC3C,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,qCAAqC,CAAC;QAClD,OAAO,EAAE,GAAG,CAAC,KAAK;KACnB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,kGAAkG;YAClG,mHAAmH;YACnH,oGAAoG;QACtG,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/run/diagnose.js
CHANGED
|
@@ -24,7 +24,7 @@ export const makeDiagnoseRunContract = (ids) => {
|
|
|
24
24
|
description: "Diagnose failed flows in a run as reproductions of a bug or maintenance report owned by the caller's team. " +
|
|
25
25
|
"The issue's type selects the diagnosis. " +
|
|
26
26
|
"Each flow must have failed in the run. " +
|
|
27
|
-
"A flow that is already diagnosed moves to this issue. " +
|
|
27
|
+
"A flow that is already diagnosed in the run moves to this issue, and may stay linked to other open reports. " +
|
|
28
28
|
"The diagnosis appears on the run, and the reproduction appears under the issue's reproductions. " +
|
|
29
29
|
"Coverage requests cannot be diagnosed; use issue.addFlows to cover flows instead.",
|
|
30
30
|
input,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnose.js","sourceRoot":"","sources":["../../../src/v1/run/diagnose.ts"],"names":[],"m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G,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,iCAAiC;aAChC,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,iDAAiD,CAAC;QAC9D,OAAO,EAAE,GAAG,CAAC,KAAK;QAClB,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,6GAA6G;YAC7G,0CAA0C;YAC1C,yCAAyC;YACzC,8GAA8G;YAC9G,kGAAkG;YAClG,mFAAmF;QACrF,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -779,7 +779,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
779
779
|
readonly openWorldHint: true;
|
|
780
780
|
readonly readOnlyHint: false;
|
|
781
781
|
};
|
|
782
|
-
readonly description: "Perform a sequence of raw
|
|
782
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
783
783
|
readonly input: import("zod").ZodObject<{
|
|
784
784
|
actions: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
785
785
|
button: import("zod").ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
@@ -815,6 +815,36 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
815
815
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
816
816
|
text: import("zod").ZodString;
|
|
817
817
|
type: import("zod").ZodLiteral<"type">;
|
|
818
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
819
|
+
selector: import("zod").ZodOptional<import("zod").ZodString>;
|
|
820
|
+
strategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
821
|
+
"ios-predicate": "ios-predicate";
|
|
822
|
+
shadow: "shadow";
|
|
823
|
+
xpath: "xpath";
|
|
824
|
+
}>>;
|
|
825
|
+
type: import("zod").ZodLiteral<"tap">;
|
|
826
|
+
x: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
827
|
+
y: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
828
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
829
|
+
duration_ms: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
830
|
+
from: import("zod").ZodObject<{
|
|
831
|
+
x: import("zod").ZodInt;
|
|
832
|
+
y: import("zod").ZodInt;
|
|
833
|
+
}, import("zod/v4/core").$strict>;
|
|
834
|
+
to: import("zod").ZodObject<{
|
|
835
|
+
x: import("zod").ZodInt;
|
|
836
|
+
y: import("zod").ZodInt;
|
|
837
|
+
}, import("zod/v4/core").$strict>;
|
|
838
|
+
type: import("zod").ZodLiteral<"swipe">;
|
|
839
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
840
|
+
selector: import("zod").ZodString;
|
|
841
|
+
strategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
842
|
+
"ios-predicate": "ios-predicate";
|
|
843
|
+
shadow: "shadow";
|
|
844
|
+
xpath: "xpath";
|
|
845
|
+
}>>;
|
|
846
|
+
text: import("zod").ZodString;
|
|
847
|
+
type: import("zod").ZodLiteral<"fill">;
|
|
818
848
|
}, import("zod/v4/core").$strict>], "type">>;
|
|
819
849
|
id: import("zod").ZodString;
|
|
820
850
|
screenshotMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -847,6 +877,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
847
877
|
"action-failed": "action-failed";
|
|
848
878
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
849
879
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
880
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
850
881
|
"out-of-time": "out-of-time";
|
|
851
882
|
"action-unconfirmed": "action-unconfirmed";
|
|
852
883
|
}>;
|
|
@@ -883,6 +914,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
883
914
|
"screen-not-ready": "screen-not-ready";
|
|
884
915
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
885
916
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
917
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
886
918
|
"out-of-time": "out-of-time";
|
|
887
919
|
}>;
|
|
888
920
|
index: import("zod").ZodInt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBC,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
|
|
|
9
9
|
readonly openWorldHint: true;
|
|
10
10
|
readonly readOnlyHint: false;
|
|
11
11
|
};
|
|
12
|
-
readonly description: "Perform a sequence of raw
|
|
12
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
13
13
|
readonly input: z.ZodObject<{
|
|
14
14
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
15
|
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
@@ -45,6 +45,36 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
|
|
|
45
45
|
}, z.core.$strict>, z.ZodObject<{
|
|
46
46
|
text: z.ZodString;
|
|
47
47
|
type: z.ZodLiteral<"type">;
|
|
48
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
49
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
50
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
"ios-predicate": "ios-predicate";
|
|
52
|
+
shadow: "shadow";
|
|
53
|
+
xpath: "xpath";
|
|
54
|
+
}>>;
|
|
55
|
+
type: z.ZodLiteral<"tap">;
|
|
56
|
+
x: z.ZodOptional<z.ZodInt>;
|
|
57
|
+
y: z.ZodOptional<z.ZodInt>;
|
|
58
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
59
|
+
duration_ms: z.ZodOptional<z.ZodInt>;
|
|
60
|
+
from: z.ZodObject<{
|
|
61
|
+
x: z.ZodInt;
|
|
62
|
+
y: z.ZodInt;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
to: z.ZodObject<{
|
|
65
|
+
x: z.ZodInt;
|
|
66
|
+
y: z.ZodInt;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
type: z.ZodLiteral<"swipe">;
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
selector: z.ZodString;
|
|
71
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
"ios-predicate": "ios-predicate";
|
|
73
|
+
shadow: "shadow";
|
|
74
|
+
xpath: "xpath";
|
|
75
|
+
}>>;
|
|
76
|
+
text: z.ZodString;
|
|
77
|
+
type: z.ZodLiteral<"fill">;
|
|
48
78
|
}, z.core.$strict>], "type">>;
|
|
49
79
|
id: z.ZodString;
|
|
50
80
|
screenshotMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -77,6 +107,7 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
|
|
|
77
107
|
"action-failed": "action-failed";
|
|
78
108
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
79
109
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
110
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
80
111
|
"out-of-time": "out-of-time";
|
|
81
112
|
"action-unconfirmed": "action-unconfirmed";
|
|
82
113
|
}>;
|
|
@@ -113,6 +144,7 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
|
|
|
113
144
|
"screen-not-ready": "screen-not-ready";
|
|
114
145
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
115
146
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
147
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
116
148
|
"out-of-time": "out-of-time";
|
|
117
149
|
}>;
|
|
118
150
|
index: z.ZodInt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performActions.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAchD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAalC,eAAO,MAAM,kCAAkC,GAC7C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"performActions.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAchD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAalC,eAAO,MAAM,kCAAkC,GAC7C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FA,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { maxActionsPerRequest, screenshotModes } from "./actionSequence.js";
|
|
3
|
-
import { browserActionSchema } from "./browserAction.js";
|
|
4
3
|
import { runnerIdSchema, runnerWorkspaceIdDescription } from "./identity.js";
|
|
5
4
|
import { maxActionErrorMessageLength } from "./performAction.js";
|
|
6
5
|
import { actionIndexSchema, performedStepSchema, sequenceFailureReasons, stepResultSchema, } from "./performActionsSteps.js";
|
|
6
|
+
import { runnerActionSchema } from "./runnerAction.js";
|
|
7
7
|
import { screenshotImageSchema } from "./screen.js";
|
|
8
8
|
export { outOfTimeFailureReason, unconfirmedFailureReason, } from "./performActionsSteps.js";
|
|
9
9
|
const actionsDescription = `The actions to perform, in order, each exactly what \`runner.performAction\` takes: coordinates are whole pixels on the runner's virtual desktop, in the same space as \`runner.takeScreenshot\`, and the shapes follow the computer-use vocabulary. At most ${maxActionsPerRequest} per request. For when the next several steps are already known — click a field, type into it, press Enter — and one look at the screen at the end is enough. They run back to back on the runner, with no pause between them: put in one request only steps whose targets are all on the screen you last saw and are not moved by the steps before them, and when a step changes the page — a submit, a navigation, opening a menu — make it the last one and read the frame.`;
|
|
10
10
|
const screenshotModeDescription = "`final`, the default, answers with one screenshot in `imageJpegBase64`: the screen after the last action, or, after a stop, as it stands. `each` puts a screenshot after every action on its entry in `results`, for when each step must be checked; every frame is a full image, so keep such sequences short. `none` sends no screenshot.";
|
|
11
|
-
const stopOnFailureDescription = "`true`, the default, leaves the remaining actions unperformed once one fails. `false` carries on past an action that reached the runner and did not take effect (`action-failed`, `action-not-supported-on-mobile`), so use it only for actions that do not depend on each other: a `type` after a `click` that failed goes to whatever has focus. A runner that cannot be reached, a screen that cannot serve, or running out of time ends the sequence either way.";
|
|
11
|
+
const stopOnFailureDescription = "`true`, the default, leaves the remaining actions unperformed once one fails. `false` carries on past an action that reached the runner and did not take effect (`action-failed`, `action-not-supported-on-mobile`, `action-not-supported-on-browser`), so use it only for actions that do not depend on each other: a `type` after a `click` that failed goes to whatever has focus. A runner that cannot be reached, a screen that cannot serve, or running out of time ends the sequence either way.";
|
|
12
12
|
const finalImageDescription = "Present with `screenshotMode: final` when the runner still answered: the screen after the last action performed, or, after a stop, as it stands.";
|
|
13
13
|
export const makePerformActionsOnRunnerContract = (ids) => {
|
|
14
14
|
const input = z.object({
|
|
15
15
|
actions: z
|
|
16
|
-
.array(
|
|
16
|
+
.array(runnerActionSchema)
|
|
17
17
|
.min(1)
|
|
18
18
|
.max(maxActionsPerRequest)
|
|
19
19
|
.describe(actionsDescription),
|
|
@@ -73,7 +73,7 @@ export const makePerformActionsOnRunnerContract = (ids) => {
|
|
|
73
73
|
openWorldHint: true,
|
|
74
74
|
readOnlyHint: false,
|
|
75
75
|
},
|
|
76
|
-
description: "Perform a sequence of raw
|
|
76
|
+
description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.",
|
|
77
77
|
input,
|
|
78
78
|
kind: "write",
|
|
79
79
|
name: "runner.performActions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performActions.js","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"performActions.js","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAA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|
40
40
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
41
41
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
42
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
42
43
|
"out-of-time": "out-of-time";
|
|
43
44
|
}>;
|
|
44
45
|
index: z.ZodInt;
|
|
@@ -75,11 +76,12 @@ export declare const stepResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
75
76
|
"screen-not-ready": "screen-not-ready";
|
|
76
77
|
"runner-has-no-screen": "runner-has-no-screen";
|
|
77
78
|
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
79
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
78
80
|
"out-of-time": "out-of-time";
|
|
79
81
|
}>;
|
|
80
82
|
index: z.ZodInt;
|
|
81
83
|
outcome: z.ZodLiteral<"failure">;
|
|
82
84
|
}, z.core.$strip>], "failureReason">], "outcome">;
|
|
83
85
|
export type ActionStepResult = z.infer<typeof stepResultSchema>;
|
|
84
|
-
export declare const sequenceFailureReasons: readonly ["action-failed", "runner-has-no-screen", "screen-needs-a-run", "screen-not-ready", "action-not-supported-on-mobile", "out-of-time", "action-unconfirmed", "runner-unreachable"];
|
|
86
|
+
export declare const sequenceFailureReasons: readonly ["action-failed", "runner-has-no-screen", "screen-needs-a-run", "screen-not-ready", "action-not-supported-on-mobile", "action-not-supported-on-browser", "out-of-time", "action-unconfirmed", "runner-unreachable"];
|
|
85
87
|
//# sourceMappingURL=performActionsSteps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performActionsSteps.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActionsSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,kEAAkE;AAClE,eAAO,MAAM,sBAAsB,gBAAgB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAE7D,eAAO,MAAM,iBAAiB,UAI2C,CAAC;AAI1E,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMtE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"performActionsSteps.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActionsSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,kEAAkE;AAClE,eAAO,MAAM,sBAAsB,gBAAgB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAE7D,eAAO,MAAM,iBAAiB,UAI2C,CAAC;AAI1E,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMtE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAyC3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAG3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB,8NAQzB,CAAC"}
|
|
@@ -59,6 +59,7 @@ export const failedStepSchema = z.discriminatedUnion("failureReason", [
|
|
|
59
59
|
failureReason: z.enum([
|
|
60
60
|
...screenFailureReasons,
|
|
61
61
|
"action-not-supported-on-mobile",
|
|
62
|
+
"action-not-supported-on-browser",
|
|
62
63
|
outOfTimeFailureReason,
|
|
63
64
|
]),
|
|
64
65
|
index: actionIndexSchema,
|
|
@@ -73,6 +74,7 @@ export const sequenceFailureReasons = [
|
|
|
73
74
|
"action-failed",
|
|
74
75
|
...screenFailureReasons,
|
|
75
76
|
"action-not-supported-on-mobile",
|
|
77
|
+
"action-not-supported-on-browser",
|
|
76
78
|
outOfTimeFailureReason,
|
|
77
79
|
unconfirmedFailureReason,
|
|
78
80
|
runnerUnreachableFailureReason,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performActionsSteps.js","sourceRoot":"","sources":["../../../src/v1/runner/performActionsSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAElE,kEAAkE;AAClE,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEpD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,GAAG,EAAE;KACL,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,oBAAoB,GAAG,CAAC,CAAC;KAC7B,QAAQ,CAAC,4DAA4D,CAAC,CAAC;AAE1E,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,QAAQ,EAAE,CAAC;AAE7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAC9B,eAAe,EAAE,mBAAmB;IACpC,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC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AAC;KAC9B,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;QAClC,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;YACpB,GAAG,oBAAoB;YACvB,gCAAgC;YAChC,iCAAiC;YACjC,sBAAsB;SACvB,CAAC;QACF,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KAC9B,CAAC;CACH,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;IAC9D,mBAAmB;IACnB,gBAAgB;CACjB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,eAAe;IACf,GAAG,oBAAoB;IACvB,gCAAgC;IAChC,iCAAiC;IACjC,sBAAsB;IACtB,wBAAwB;IACxB,8BAA8B;CACtB,CAAC"}
|
|
@@ -30,7 +30,7 @@ export const makeRunFlowOnRunnerContract = (ids) => {
|
|
|
30
30
|
files: runFilesSchema.describe("Every file the run needs keyed by its path — the flow file, everything it imports, package.json and tsconfig.json. A runner holds no copy of your project, so what runs is exactly what is sent here."),
|
|
31
31
|
flowId: ids.flow
|
|
32
32
|
.optional()
|
|
33
|
-
.describe("The QA Wolf flow this run is for. The run then sees it as `QAWOLF_WORKFLOW_ID`, the same value a platform run of that flow sees, so fixtures named and cleaned up by it match across both.
|
|
33
|
+
.describe("The QA Wolf flow this run is for. The run then sees it as `QAWOLF_WORKFLOW_ID`, the same value a platform run of that flow sees, so fixtures named and cleaned up by it match across both. Omitted, the flow whose file is at `entryPointPath` on the named environment's flow-code branch stands in; a file not in QA Wolf yet, or a run given no environment, leaves the run with no `QAWOLF_WORKFLOW_ID`."),
|
|
34
34
|
id: runnerIdSchema.describe("Id of the runner to run the flow on."),
|
|
35
35
|
selection: runSelectionSchema
|
|
36
36
|
.optional()
|
|
@@ -1 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