@qawolf/api-contracts 0.77.0 → 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 +72 -246
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +0 -6
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/finding.d.ts +0 -9
- package/dist/v1/investigation/finding.d.ts.map +1 -1
- package/dist/v1/investigation/finding.js +2 -30
- package/dist/v1/investigation/finding.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +0 -13
- package/dist/v1/investigation/get.d.ts.map +1 -1
- package/dist/v1/investigation/get.js +0 -4
- package/dist/v1/investigation/get.js.map +1 -1
- package/dist/v1/investigation/index.d.ts +0 -13
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/runner/catalog.d.ts +36 -4
- 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/recording.d.ts +10 -10
- package/dist/v1/sharedSchemas.d.ts +0 -1
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +0 -1
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/package.json +1 -1
- package/dist/v1/run/acceptScreenshotBaseline.d.ts +0 -34
- package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +0 -1
- package/dist/v1/run/acceptScreenshotBaseline.js +0 -61
- package/dist/v1/run/acceptScreenshotBaseline.js.map +0 -1
- package/dist/v1/run/investigationSessionId.d.ts +0 -3
- package/dist/v1/run/investigationSessionId.d.ts.map +0 -1
- package/dist/v1/run/investigationSessionId.js +0 -12
- package/dist/v1/run/investigationSessionId.js.map +0 -1
- package/dist/v1/run/listScreenshotComparisons.d.ts +0 -60
- package/dist/v1/run/listScreenshotComparisons.d.ts.map +0 -1
- package/dist/v1/run/listScreenshotComparisons.js +0 -124
- package/dist/v1/run/listScreenshotComparisons.js.map +0 -1
- package/dist/v1/run/restoreScreenshotBaseline.d.ts +0 -33
- package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +0 -1
- package/dist/v1/run/restoreScreenshotBaseline.js +0 -57
- package/dist/v1/run/restoreScreenshotBaseline.js.map +0 -1
|
@@ -3,10 +3,7 @@ import { issuePrioritySchema } from "../issue/index.js";
|
|
|
3
3
|
export const investigationFindingStateDescription = 'What the investigation concluded about the cause. Known values: "investigating", "fixed", "fix-proposed", "reported", "report-proposed", "flake", "question" and "dismissed". New values can appear.';
|
|
4
4
|
export const makeInvestigationFindingSchema = (ids) => z.object({
|
|
5
5
|
actual: z.string().optional(),
|
|
6
|
-
commitHash: z
|
|
7
|
-
.string()
|
|
8
|
-
.optional()
|
|
9
|
-
.describe("The commit of a commit fix. Same as `fix.commitHash`."),
|
|
6
|
+
commitHash: z.string().optional(),
|
|
10
7
|
decidedBy: z
|
|
11
8
|
.enum(["agent", "user"])
|
|
12
9
|
.optional()
|
|
@@ -17,27 +14,6 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
|
|
|
17
14
|
.describe("Why a person disputed what the AI did. Present on a proposal the AI made again after that dispute."),
|
|
18
15
|
expected: z.string().optional(),
|
|
19
16
|
findingId: z.string(),
|
|
20
|
-
fix: z
|
|
21
|
-
.discriminatedUnion("type", [
|
|
22
|
-
z.object({
|
|
23
|
-
commitHash: z
|
|
24
|
-
.string()
|
|
25
|
-
.describe("The commit that changes the flow code."),
|
|
26
|
-
type: z.literal("commit"),
|
|
27
|
-
}),
|
|
28
|
-
z.object({
|
|
29
|
-
baselineChangeId: z
|
|
30
|
-
.string()
|
|
31
|
-
.optional()
|
|
32
|
-
.describe('The baseline change that made the new screenshot the baseline, on a "fixed" finding. `run restoreScreenshotBaseline` undoes it.'),
|
|
33
|
-
comparisonId: z
|
|
34
|
-
.string()
|
|
35
|
-
.describe("The failed screenshot comparison whose new screenshot becomes the baseline, as `run listScreenshotComparisons` names it."),
|
|
36
|
-
type: z.literal("baseline"),
|
|
37
|
-
}),
|
|
38
|
-
])
|
|
39
|
-
.optional()
|
|
40
|
-
.describe('The fix of a "fixed" or "fix-proposed" finding: a commit to the flow code, or a new screenshot baseline.'),
|
|
41
17
|
flowIds: z.array(ids.flow),
|
|
42
18
|
headline: z.string().optional(),
|
|
43
19
|
issueId: ids.issue.optional(),
|
|
@@ -53,12 +29,8 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
|
|
|
53
29
|
title: z.string(),
|
|
54
30
|
value: z
|
|
55
31
|
.string()
|
|
56
|
-
.describe('What choosing this answer means. Known values: "apply", "dismiss", "report", "maintenance"
|
|
32
|
+
.describe('What choosing this answer means. Known values: "apply", "dismiss", "report", "maintenance" and "bug". New values can appear.'),
|
|
57
33
|
})),
|
|
58
|
-
comparisonId: z
|
|
59
|
-
.string()
|
|
60
|
-
.optional()
|
|
61
|
-
.describe('The failed screenshot comparison a screenshot question is about, as `run listScreenshotComparisons` names it. Its answers are "bug" (the old screenshot is right), "maintenance" (both are right) and "baseline" (the new screenshot is right).'),
|
|
62
34
|
text: z.string(),
|
|
63
35
|
})
|
|
64
36
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"finding.js","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,sMAAsM,CAAC;AAEzM,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAI5C,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ionId extends Public
|
|
|
19
19
|
readonly kind: "read";
|
|
20
20
|
readonly name: "investigation.get";
|
|
21
21
|
readonly output: z.ZodObject<{
|
|
22
|
-
baselineChanges: z.ZodEnum<{
|
|
23
|
-
automatic: "automatic";
|
|
24
|
-
"needs-approval": "needs-approval";
|
|
25
|
-
}>;
|
|
26
22
|
findings: z.ZodArray<z.ZodObject<{
|
|
27
23
|
actual: z.ZodOptional<z.ZodString>;
|
|
28
24
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -33,14 +29,6 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
33
29
|
disputeReason: z.ZodOptional<z.ZodString>;
|
|
34
30
|
expected: z.ZodOptional<z.ZodString>;
|
|
35
31
|
findingId: z.ZodString;
|
|
36
|
-
fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
|
-
commitHash: z.ZodString;
|
|
38
|
-
type: z.ZodLiteral<"commit">;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
baselineChangeId: z.ZodOptional<z.ZodString>;
|
|
41
|
-
comparisonId: z.ZodString;
|
|
42
|
-
type: z.ZodLiteral<"baseline">;
|
|
43
|
-
}, z.core.$strip>], "type">>;
|
|
44
32
|
flowIds: z.ZodArray<FlowId>;
|
|
45
33
|
headline: z.ZodOptional<z.ZodString>;
|
|
46
34
|
issueId: z.ZodOptional<IssueId>;
|
|
@@ -59,7 +47,6 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
59
47
|
title: z.ZodString;
|
|
60
48
|
value: z.ZodString;
|
|
61
49
|
}, z.core.$strip>>;
|
|
62
|
-
comparisonId: z.ZodOptional<z.ZodString>;
|
|
63
50
|
text: z.ZodString;
|
|
64
51
|
}, z.core.$strip>>;
|
|
65
52
|
response: z.ZodOptional<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,4BAA4B,GACvC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,4BAA4B,GACvC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCA,CAAC"}
|
|
@@ -4,10 +4,6 @@ import { makeInvestigationFindingSchema } from "./finding.js";
|
|
|
4
4
|
export const makeGetInvestigationContract = (ids) => {
|
|
5
5
|
const input = z.object({ runId: ids.run });
|
|
6
6
|
const output = resource({
|
|
7
|
-
baselineChanges: z
|
|
8
|
-
.enum(["automatic", "needs-approval"])
|
|
9
|
-
.describe('How the investigation can make a new screenshot the baseline. "automatic": it can accept a baseline on its own. ' +
|
|
10
|
-
'"needs-approval": it proposes the baseline on a fix-proposed finding, and accepts it only after a person applies the proposal.'),
|
|
11
7
|
findings: z.array(makeInvestigationFindingSchema(ids)),
|
|
12
8
|
runId: ids.run,
|
|
13
9
|
sessionId: ids.chatSession
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAK1C,GAMD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;IAE3C,MAAM,MAAM,GAAG,QAAQ,CACrB;QACE,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAK1C,GAMD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;IAE3C,MAAM,MAAM,GAAG,QAAQ,CACrB;QACE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;QACtD,KAAK,EAAE,GAAG,CAAC,GAAG;QACd,SAAS,EAAE,GAAG,CAAC,WAAW;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,MAAM,EAAE,CAAC;aACN,IAAI,CAAC,CAAC,eAAe,EAAE,UAAU,EAAE,kBAAkB,CAAC,CAAC;aACvD,QAAQ,CACP,2GAA2G,CAC5G;KACJ,EACD,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CACvD,CAAC;IAEF,OAAO;QACL,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,qGAAqG;YACrG,yGAAyG;QAC3G,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -19,10 +19,6 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
19
19
|
readonly kind: "read";
|
|
20
20
|
readonly name: "investigation.get";
|
|
21
21
|
readonly output: import("zod").ZodObject<{
|
|
22
|
-
baselineChanges: import("zod").ZodEnum<{
|
|
23
|
-
automatic: "automatic";
|
|
24
|
-
"needs-approval": "needs-approval";
|
|
25
|
-
}>;
|
|
26
22
|
findings: import("zod").ZodArray<import("zod").ZodObject<{
|
|
27
23
|
actual: import("zod").ZodOptional<import("zod").ZodString>;
|
|
28
24
|
commitHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -33,14 +29,6 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
33
29
|
disputeReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
30
|
expected: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
31
|
findingId: import("zod").ZodString;
|
|
36
|
-
fix: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
37
|
-
commitHash: import("zod").ZodString;
|
|
38
|
-
type: import("zod").ZodLiteral<"commit">;
|
|
39
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
40
|
-
baselineChangeId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
-
comparisonId: import("zod").ZodString;
|
|
42
|
-
type: import("zod").ZodLiteral<"baseline">;
|
|
43
|
-
}, import("zod/v4/core").$strip>], "type">>;
|
|
44
32
|
flowIds: import("zod").ZodArray<FlowId>;
|
|
45
33
|
headline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
34
|
issueId: import("zod").ZodOptional<IssueId>;
|
|
@@ -59,7 +47,6 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
59
47
|
title: import("zod").ZodString;
|
|
60
48
|
value: import("zod").ZodString;
|
|
61
49
|
}, import("zod/v4/core").$strip>>;
|
|
62
|
-
comparisonId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
50
|
text: import("zod").ZodString;
|
|
64
51
|
}, import("zod/v4/core").$strip>>;
|
|
65
52
|
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEC,CAAC"}
|
|
@@ -158,8 +158,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
158
158
|
endedAt: import("zod").ZodISODateTime;
|
|
159
159
|
id: import("zod").ZodUUID;
|
|
160
160
|
mode: import("zod").ZodEnum<{
|
|
161
|
-
automatic: "automatic";
|
|
162
161
|
manual: "manual";
|
|
162
|
+
automatic: "automatic";
|
|
163
163
|
}>;
|
|
164
164
|
runIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
165
165
|
runnerId: import("zod").ZodString;
|
|
@@ -175,8 +175,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
175
175
|
active: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
176
176
|
id: import("zod").ZodUUID;
|
|
177
177
|
mode: import("zod").ZodEnum<{
|
|
178
|
-
automatic: "automatic";
|
|
179
178
|
manual: "manual";
|
|
179
|
+
automatic: "automatic";
|
|
180
180
|
}>;
|
|
181
181
|
startedAt: import("zod").ZodISODateTime;
|
|
182
182
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -222,8 +222,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
222
222
|
endedAt: import("zod").ZodISODateTime;
|
|
223
223
|
id: import("zod").ZodUUID;
|
|
224
224
|
mode: import("zod").ZodEnum<{
|
|
225
|
-
automatic: "automatic";
|
|
226
225
|
manual: "manual";
|
|
226
|
+
automatic: "automatic";
|
|
227
227
|
}>;
|
|
228
228
|
runIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
229
229
|
runnerId: import("zod").ZodString;
|
|
@@ -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/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsBhD,eAAO,MAAM,mBAAmB,GAC9B,MAAM,SAAS,cAAc,EAC7B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsBhD,eAAO,MAAM,mBAAmB,GAC9B,MAAM,SAAS,cAAc,EAC7B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,W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,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":"A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H,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;YAC7B,OAAO,EAAE,CAAC;iBACP,KAAK,CAAC,gBAAgB,CAAC;iBACvB,GAAG,CAAC,CAAC,CAAC;iBACN,GAAG,CAAC,oBAAoB,CAAC;iBACzB,QAAQ,CACP,6EAA6E,CAC9E;YACH,YAAY,EAAE,CAAC;iBACZ,OAAO,EAAE;iBACT,QAAQ,CACP,iGAAiG,CAClG;SACJ,CAAC;KACH,CAAC,CAAC;IAEH,OAAO;QACL,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,01CAA01C;QAC51C,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,uBAAuB;QAC7B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -39,6 +39,7 @@ export declare const failedStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
39
39
|
"screen-not-ready": "screen-not-ready";
|
|
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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AC,OAAO,CAAC,SAAS,CAAC;QAC5B,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC;QACxD,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KAC9B,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;QAC5B,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,GAAG,CAAC,2BAA2B,CAAC;aAChC,QAAQ,CACP,+DAA+D,CAChE;QACH,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;QAClD,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;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,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,sBAAsB;IACtB,wBAAwB;IACxB,8BAA8B;CACtB,CAAC"}
|
|
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,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AAwB;IACxB,8BAA8B;CACtB,CAAC"}
|
|
@@ -17,8 +17,8 @@ export declare const runnerRecordingSchema: z.ZodObject<{
|
|
|
17
17
|
endedAt: z.ZodISODateTime;
|
|
18
18
|
id: z.ZodUUID;
|
|
19
19
|
mode: z.ZodEnum<{
|
|
20
|
-
automatic: "automatic";
|
|
21
20
|
manual: "manual";
|
|
21
|
+
automatic: "automatic";
|
|
22
22
|
}>;
|
|
23
23
|
runIds: z.ZodArray<z.ZodString>;
|
|
24
24
|
runnerId: z.ZodString;
|
|
@@ -34,8 +34,8 @@ export declare const runnerRecordingStateSchema: z.ZodObject<{
|
|
|
34
34
|
active: z.ZodOptional<z.ZodObject<{
|
|
35
35
|
id: z.ZodUUID;
|
|
36
36
|
mode: z.ZodEnum<{
|
|
37
|
-
automatic: "automatic";
|
|
38
37
|
manual: "manual";
|
|
38
|
+
automatic: "automatic";
|
|
39
39
|
}>;
|
|
40
40
|
startedAt: z.ZodISODateTime;
|
|
41
41
|
}, z.core.$strip>>;
|
|
@@ -51,8 +51,8 @@ export declare const runnerRecordingResultSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
51
51
|
endedAt: z.ZodISODateTime;
|
|
52
52
|
id: z.ZodUUID;
|
|
53
53
|
mode: z.ZodEnum<{
|
|
54
|
-
automatic: "automatic";
|
|
55
54
|
manual: "manual";
|
|
55
|
+
automatic: "automatic";
|
|
56
56
|
}>;
|
|
57
57
|
runIds: z.ZodArray<z.ZodString>;
|
|
58
58
|
runnerId: z.ZodString;
|
|
@@ -68,8 +68,8 @@ export declare const runnerRecordingResultSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
68
68
|
active: z.ZodOptional<z.ZodObject<{
|
|
69
69
|
id: z.ZodUUID;
|
|
70
70
|
mode: z.ZodEnum<{
|
|
71
|
-
automatic: "automatic";
|
|
72
71
|
manual: "manual";
|
|
72
|
+
automatic: "automatic";
|
|
73
73
|
}>;
|
|
74
74
|
startedAt: z.ZodISODateTime;
|
|
75
75
|
}, z.core.$strip>>;
|
|
@@ -129,8 +129,8 @@ export declare const makeRecordOnRunnerContract: <WorkspaceId extends PublicIdSc
|
|
|
129
129
|
endedAt: z.ZodISODateTime;
|
|
130
130
|
id: z.ZodUUID;
|
|
131
131
|
mode: z.ZodEnum<{
|
|
132
|
-
automatic: "automatic";
|
|
133
132
|
manual: "manual";
|
|
133
|
+
automatic: "automatic";
|
|
134
134
|
}>;
|
|
135
135
|
runIds: z.ZodArray<z.ZodString>;
|
|
136
136
|
runnerId: z.ZodString;
|
|
@@ -146,8 +146,8 @@ export declare const makeRecordOnRunnerContract: <WorkspaceId extends PublicIdSc
|
|
|
146
146
|
active: z.ZodOptional<z.ZodObject<{
|
|
147
147
|
id: z.ZodUUID;
|
|
148
148
|
mode: z.ZodEnum<{
|
|
149
|
-
automatic: "automatic";
|
|
150
149
|
manual: "manual";
|
|
150
|
+
automatic: "automatic";
|
|
151
151
|
}>;
|
|
152
152
|
startedAt: z.ZodISODateTime;
|
|
153
153
|
}, z.core.$strip>>;
|
|
@@ -195,8 +195,8 @@ export declare const makeRunnerRecordingsContract: <WorkspaceId extends PublicId
|
|
|
195
195
|
endedAt: z.ZodISODateTime;
|
|
196
196
|
id: z.ZodUUID;
|
|
197
197
|
mode: z.ZodEnum<{
|
|
198
|
-
automatic: "automatic";
|
|
199
198
|
manual: "manual";
|
|
199
|
+
automatic: "automatic";
|
|
200
200
|
}>;
|
|
201
201
|
runIds: z.ZodArray<z.ZodString>;
|
|
202
202
|
runnerId: z.ZodString;
|
|
@@ -247,8 +247,8 @@ export declare function makeRecordingContracts<WorkspaceId extends PublicIdSchem
|
|
|
247
247
|
endedAt: z.ZodISODateTime;
|
|
248
248
|
id: z.ZodUUID;
|
|
249
249
|
mode: z.ZodEnum<{
|
|
250
|
-
automatic: "automatic";
|
|
251
250
|
manual: "manual";
|
|
251
|
+
automatic: "automatic";
|
|
252
252
|
}>;
|
|
253
253
|
runIds: z.ZodArray<z.ZodString>;
|
|
254
254
|
runnerId: z.ZodString;
|
|
@@ -264,8 +264,8 @@ export declare function makeRecordingContracts<WorkspaceId extends PublicIdSchem
|
|
|
264
264
|
active: z.ZodOptional<z.ZodObject<{
|
|
265
265
|
id: z.ZodUUID;
|
|
266
266
|
mode: z.ZodEnum<{
|
|
267
|
-
automatic: "automatic";
|
|
268
267
|
manual: "manual";
|
|
268
|
+
automatic: "automatic";
|
|
269
269
|
}>;
|
|
270
270
|
startedAt: z.ZodISODateTime;
|
|
271
271
|
}, z.core.$strip>>;
|
|
@@ -311,8 +311,8 @@ export declare function makeRecordingContracts<WorkspaceId extends PublicIdSchem
|
|
|
311
311
|
endedAt: z.ZodISODateTime;
|
|
312
312
|
id: z.ZodUUID;
|
|
313
313
|
mode: z.ZodEnum<{
|
|
314
|
-
automatic: "automatic";
|
|
315
314
|
manual: "manual";
|
|
315
|
+
automatic: "automatic";
|
|
316
316
|
}>;
|
|
317
317
|
runIds: z.ZodArray<z.ZodString>;
|
|
318
318
|
runnerId: z.ZodString;
|
|
@@ -17,7 +17,6 @@ export { type PublicIdSchema, type PublicIdSchemas, defaultIdSchemas, } from "./
|
|
|
17
17
|
export { type McpInputSchema, toMcpInputSchema } from "./mcpInputSchema.js";
|
|
18
18
|
export { type PublicContractName, buildMcpToolDescription, } from "./mcpToolDescription.js";
|
|
19
19
|
export { makeFlowSelectionSchema } from "./run/index.js";
|
|
20
|
-
export { maxListedScreenshotAttempts } from "./run/listScreenshotComparisons.js";
|
|
21
20
|
export * from "./runnerReexports.js";
|
|
22
21
|
export { makeTriggerResourceSchema, triggerActionKindSchema, triggerCadenceSchema, } from "./trigger/index.js";
|
|
23
22
|
//# sourceMappingURL=sharedSchemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSchemas.d.ts","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,KAAK,kBAAkB,EACvB,wBAAwB,GAC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6 @@ export { defaultIdSchemas, } from "./ids.js";
|
|
|
16
16
|
export { toMcpInputSchema } from "./mcpInputSchema.js";
|
|
17
17
|
export { buildMcpToolDescription, } from "./mcpToolDescription.js";
|
|
18
18
|
export { makeFlowSelectionSchema } from "./run/index.js";
|
|
19
|
-
export { maxListedScreenshotAttempts } from "./run/listScreenshotComparisons.js";
|
|
20
19
|
export * from "./runnerReexports.js";
|
|
21
20
|
export { makeTriggerResourceSchema, triggerActionKindSchema, triggerCadenceSchema, } from "./trigger/index.js";
|
|
22
21
|
//# sourceMappingURL=sharedSchemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSchemas.js","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAEL,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAA2B,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAO/E,OAAO,EAEL,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAKL,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAyB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAuB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAEL,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBA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