@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/run/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const makeCreateRunContract: <AiTaskId extends PublicIdSchema, Ch
|
|
|
23
23
|
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
24
24
|
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
25
25
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
26
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
27
|
chatSessionId: z.ZodOptional<ChatSessionId>;
|
|
27
28
|
environmentId: PublicIdSchema;
|
|
28
29
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAG5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,eAAO,MAAM,qBAAqB,GAChC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHA,CAAC"}
|
package/dist/v1/run/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { buildIdSchema } from "../build/resource.js";
|
|
2
3
|
import { workspaceForEnvironmentRef } from "../ids.js";
|
|
3
4
|
import { resource } from "../resource.js";
|
|
4
5
|
import { makeFlowSelectionSchema } from "./flowSelection.js";
|
|
@@ -11,6 +12,12 @@ export const makeCreateRunContract = (ids) => {
|
|
|
11
12
|
aiTaskId: ids.aiTask
|
|
12
13
|
.optional()
|
|
13
14
|
.describe("The AI task whose conversation should receive run status updates."),
|
|
15
|
+
builds: z
|
|
16
|
+
.array(buildIdSchema)
|
|
17
|
+
.min(1)
|
|
18
|
+
.max(20)
|
|
19
|
+
.optional()
|
|
20
|
+
.describe("Builds to install in this run only. Each replaces the environment's latest build of its app and platform."),
|
|
14
21
|
// The refine below rejects a request that carries both aiTaskId and
|
|
15
22
|
// chatSessionId: a task already implies its own chat session.
|
|
16
23
|
chatSessionId: ids.chatSession
|
package/dist/v1/run/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,K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AAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oEAAoE;QACtE,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -41,18 +41,18 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
41
41
|
failureReason: import("zod").ZodLiteral<"runner-target-mismatch">;
|
|
42
42
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
43
43
|
requiredRunnerName: import("zod").ZodEnum<{
|
|
44
|
-
basic: "basic";
|
|
45
|
-
playwright: "playwright";
|
|
46
44
|
android: "android";
|
|
47
45
|
ios: "ios";
|
|
46
|
+
basic: "basic";
|
|
47
|
+
playwright: "playwright";
|
|
48
48
|
windows: "windows";
|
|
49
49
|
mac: "mac";
|
|
50
50
|
}>;
|
|
51
51
|
runnerName: import("zod").ZodEnum<{
|
|
52
|
-
basic: "basic";
|
|
53
|
-
playwright: "playwright";
|
|
54
52
|
android: "android";
|
|
55
53
|
ios: "ios";
|
|
54
|
+
basic: "basic";
|
|
55
|
+
playwright: "playwright";
|
|
56
56
|
windows: "windows";
|
|
57
57
|
mac: "mac";
|
|
58
58
|
}>;
|
|
@@ -104,7 +104,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
104
104
|
readonly openWorldHint: false;
|
|
105
105
|
readonly readOnlyHint: false;
|
|
106
106
|
};
|
|
107
|
-
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
|
|
107
|
+
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.";
|
|
108
108
|
readonly input: import("zod").ZodObject<{
|
|
109
109
|
id: import("zod").ZodString;
|
|
110
110
|
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
@@ -159,7 +159,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
159
159
|
readonly openWorldHint: false;
|
|
160
160
|
readonly readOnlyHint: false;
|
|
161
161
|
};
|
|
162
|
-
readonly description: "Control video recording on a
|
|
162
|
+
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.";
|
|
163
163
|
readonly input: import("zod").ZodObject<{
|
|
164
164
|
command: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
165
165
|
action: import("zod").ZodLiteral<"start">;
|
|
@@ -451,14 +451,14 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
451
451
|
readonly annotationJustifications: {
|
|
452
452
|
readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
|
|
453
453
|
readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
|
|
454
|
-
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements
|
|
454
|
+
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
|
|
455
455
|
};
|
|
456
456
|
readonly annotations: {
|
|
457
457
|
readonly destructiveHint: false;
|
|
458
458
|
readonly openWorldHint: false;
|
|
459
|
-
readonly readOnlyHint:
|
|
459
|
+
readonly readOnlyHint: false;
|
|
460
460
|
};
|
|
461
|
-
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
|
|
461
|
+
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.";
|
|
462
462
|
readonly input: import("zod").ZodObject<{
|
|
463
463
|
id: import("zod").ZodString;
|
|
464
464
|
request: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -688,10 +688,10 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
688
688
|
id: import("zod").ZodString;
|
|
689
689
|
initialUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
690
690
|
runnerName: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
691
|
-
basic: "basic";
|
|
692
|
-
playwright: "playwright";
|
|
693
691
|
android: "android";
|
|
694
692
|
ios: "ios";
|
|
693
|
+
basic: "basic";
|
|
694
|
+
playwright: "playwright";
|
|
695
695
|
windows: "windows";
|
|
696
696
|
mac: "mac";
|
|
697
697
|
}>>;
|
|
@@ -703,10 +703,10 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
703
703
|
gpuAccelerated: import("zod").ZodBoolean;
|
|
704
704
|
id: import("zod").ZodString;
|
|
705
705
|
runnerName: import("zod").ZodEnum<{
|
|
706
|
-
basic: "basic";
|
|
707
|
-
playwright: "playwright";
|
|
708
706
|
android: "android";
|
|
709
707
|
ios: "ios";
|
|
708
|
+
basic: "basic";
|
|
709
|
+
playwright: "playwright";
|
|
710
710
|
windows: "windows";
|
|
711
711
|
mac: "mac";
|
|
712
712
|
}>;
|
|
@@ -738,10 +738,10 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
738
738
|
gpuAccelerated: import("zod").ZodBoolean;
|
|
739
739
|
id: import("zod").ZodString;
|
|
740
740
|
runnerName: import("zod").ZodEnum<{
|
|
741
|
-
basic: "basic";
|
|
742
|
-
playwright: "playwright";
|
|
743
741
|
android: "android";
|
|
744
742
|
ios: "ios";
|
|
743
|
+
basic: "basic";
|
|
744
|
+
playwright: "playwright";
|
|
745
745
|
windows: "windows";
|
|
746
746
|
mac: "mac";
|
|
747
747
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const runnerNameSchema: z.ZodEnum<{
|
|
3
|
-
basic: "basic";
|
|
4
|
-
playwright: "playwright";
|
|
5
3
|
android: "android";
|
|
6
4
|
ios: "ios";
|
|
5
|
+
basic: "basic";
|
|
6
|
+
playwright: "playwright";
|
|
7
7
|
windows: "windows";
|
|
8
8
|
mac: "mac";
|
|
9
9
|
}>;
|
|
@@ -17,10 +17,10 @@ export declare const makeRunnerSchema: () => z.ZodObject<{
|
|
|
17
17
|
gpuAccelerated: z.ZodBoolean;
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
runnerName: z.ZodEnum<{
|
|
20
|
-
basic: "basic";
|
|
21
|
-
playwright: "playwright";
|
|
22
20
|
android: "android";
|
|
23
21
|
ios: "ios";
|
|
22
|
+
basic: "basic";
|
|
23
|
+
playwright: "playwright";
|
|
24
24
|
windows: "windows";
|
|
25
25
|
mac: "mac";
|
|
26
26
|
}>;
|
|
@@ -18,10 +18,10 @@ export declare const makeLaunchRunnerContract: <WorkspaceId extends PublicIdSche
|
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
20
20
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
basic: "basic";
|
|
22
|
-
playwright: "playwright";
|
|
23
21
|
android: "android";
|
|
24
22
|
ios: "ios";
|
|
23
|
+
basic: "basic";
|
|
24
|
+
playwright: "playwright";
|
|
25
25
|
windows: "windows";
|
|
26
26
|
mac: "mac";
|
|
27
27
|
}>>;
|
|
@@ -33,10 +33,10 @@ export declare const makeLaunchRunnerContract: <WorkspaceId extends PublicIdSche
|
|
|
33
33
|
gpuAccelerated: z.ZodBoolean;
|
|
34
34
|
id: z.ZodString;
|
|
35
35
|
runnerName: z.ZodEnum<{
|
|
36
|
-
basic: "basic";
|
|
37
|
-
playwright: "playwright";
|
|
38
36
|
android: "android";
|
|
39
37
|
ios: "ios";
|
|
38
|
+
basic: "basic";
|
|
39
|
+
playwright: "playwright";
|
|
40
40
|
windows: "windows";
|
|
41
41
|
mac: "mac";
|
|
42
42
|
}>;
|
|
@@ -43,14 +43,14 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
|
|
|
43
43
|
readonly annotationJustifications: {
|
|
44
44
|
readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
|
|
45
45
|
readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
|
|
46
|
-
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements
|
|
46
|
+
readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.";
|
|
47
47
|
};
|
|
48
48
|
readonly annotations: {
|
|
49
49
|
readonly destructiveHint: false;
|
|
50
50
|
readonly openWorldHint: false;
|
|
51
|
-
readonly readOnlyHint:
|
|
51
|
+
readonly readOnlyHint: false;
|
|
52
52
|
};
|
|
53
|
-
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
|
|
53
|
+
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.";
|
|
54
54
|
readonly input: z.ZodObject<{
|
|
55
55
|
id: z.ZodString;
|
|
56
56
|
request: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -141,14 +141,14 @@ export const makeInspectMobileOnRunnerContract = (ids) => {
|
|
|
141
141
|
annotationJustifications: {
|
|
142
142
|
destructiveHint: "Does not change application data, edit tests, or stop the runner.",
|
|
143
143
|
openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.",
|
|
144
|
-
readOnlyHint: "Reads mobile session status, contexts, page source, or elements
|
|
144
|
+
readOnlyHint: "Reads mobile session status, contexts, page source, or elements and refreshes activity, which can cancel an inactivity shutdown.",
|
|
145
145
|
},
|
|
146
146
|
annotations: {
|
|
147
147
|
destructiveHint: false,
|
|
148
148
|
openWorldHint: false,
|
|
149
|
-
readOnlyHint:
|
|
149
|
+
readOnlyHint: false,
|
|
150
150
|
},
|
|
151
|
-
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
|
|
151
|
+
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. ${retryableRunnerUnreachableDescription}`,
|
|
152
152
|
input,
|
|
153
153
|
kind: "read",
|
|
154
154
|
name: "runner.inspectMobile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspectMobile.js","sourceRoot":"","sources":["../../../src/v1/runner/inspectMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EACL,qCAAqC,EACrC,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAE1B;;;;GAIG;AAEH,MAAM,oBAAoB,GAAG,GAAG,CAAC;AAEjC,wGAAwG;AACxG,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,eAAe;IACf,QAAQ;IACR,OAAO;CACR,CAAC,CAAC;AAEH,qIAAqI;AACrI,MAAM,qBAAqB,GAAG,CAAC;KAC5B,kBAAkB,CAAC,IAAI,EAAE;IACxB,CAAC,CAAC,MAAM,CAAC;QACP,EAAE,EAAE,CAAC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AM,CAAC;QACrB,EAAE,EAAE,cAAc,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC3D,OAAO,EAAE,0BAA0B;QACnC,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,4BAA4B,CAAC;KAC1C,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;QAC7C,yBAAyB;QACzB,uBAAuB,CAAC;YACtB,kBAAkB;YAClB,sBAAsB;YACtB,oBAAoB;YACpB,kBAAkB;YAClB,8BAA8B;SAC/B,CAAC;KACH,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,mEAAmE;YACrE,aAAa,EACX,sHAAsH;YACxH,YAAY,EACV,kIAAkI;SACrI;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EAAE,ukDAAukD,qCAAqC,EAAE;QAC3nD,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,sBAAsB;QAC5B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/runner/list.d.ts
CHANGED
|
@@ -25,10 +25,10 @@ export declare const makeListRunnersContract: <WorkspaceId extends PublicIdSchem
|
|
|
25
25
|
gpuAccelerated: z.ZodBoolean;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
runnerName: z.ZodEnum<{
|
|
28
|
-
basic: "basic";
|
|
29
|
-
playwright: "playwright";
|
|
30
28
|
android: "android";
|
|
31
29
|
ios: "ios";
|
|
30
|
+
basic: "basic";
|
|
31
|
+
playwright: "playwright";
|
|
32
32
|
windows: "windows";
|
|
33
33
|
mac: "mac";
|
|
34
34
|
}>;
|
|
@@ -108,7 +108,7 @@ export declare const makeRecordOnRunnerContract: <WorkspaceId extends PublicIdSc
|
|
|
108
108
|
readonly openWorldHint: false;
|
|
109
109
|
readonly readOnlyHint: false;
|
|
110
110
|
};
|
|
111
|
-
readonly description: "Control video recording on a
|
|
111
|
+
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.";
|
|
112
112
|
readonly input: z.ZodObject<{
|
|
113
113
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
114
114
|
action: z.ZodLiteral<"start">;
|
|
@@ -236,7 +236,7 @@ export declare function makeRecordingContracts<WorkspaceId extends PublicIdSchem
|
|
|
236
236
|
readonly openWorldHint: false;
|
|
237
237
|
readonly readOnlyHint: false;
|
|
238
238
|
};
|
|
239
|
-
readonly description: "Control video recording on a
|
|
239
|
+
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.";
|
|
240
240
|
readonly input: z.ZodObject<{
|
|
241
241
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
242
242
|
action: z.ZodLiteral<"start">;
|
|
@@ -73,7 +73,7 @@ export const makeRecordOnRunnerContract = (ids) => {
|
|
|
73
73
|
openWorldHint: false,
|
|
74
74
|
readOnlyHint: false,
|
|
75
75
|
},
|
|
76
|
-
description: "Control video recording on a
|
|
76
|
+
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.",
|
|
77
77
|
input,
|
|
78
78
|
kind: "write",
|
|
79
79
|
name: "runner.record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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AM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;QAC1C,WAAW,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QACzC,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,4BAA4B,CAAC;KAC1C,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACpC,UAAU,EAAE,CAAC,CAAC,KAAK,CACjB,qBAAqB,CAAC,MAAM,CAAC;YAC3B,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE;YACZ,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC,CACH;KACF,CAAC,CAAC;IACH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,0CAA0C;YAC3D,aAAa,EACX,8EAA8E;YAChF,YAAY,EAAE,qDAAqD;SACpE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,kUAAkU;QACpU,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,sBAAsB,CAEpC,GAA+B;IAC/B,OAAO;QACL,MAAM,EAAE,0BAA0B,CAAC,GAAG,CAAC;QACvC,UAAU,EAAE,4BAA4B,CAAC,GAAG,CAAC;KAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -41,18 +41,18 @@ export declare const makeRunFlowOnRunnerContract: <FlowId extends PublicIdSchema
|
|
|
41
41
|
failureReason: z.ZodLiteral<"runner-target-mismatch">;
|
|
42
42
|
outcome: z.ZodLiteral<"failure">;
|
|
43
43
|
requiredRunnerName: z.ZodEnum<{
|
|
44
|
-
basic: "basic";
|
|
45
|
-
playwright: "playwright";
|
|
46
44
|
android: "android";
|
|
47
45
|
ios: "ios";
|
|
46
|
+
basic: "basic";
|
|
47
|
+
playwright: "playwright";
|
|
48
48
|
windows: "windows";
|
|
49
49
|
mac: "mac";
|
|
50
50
|
}>;
|
|
51
51
|
runnerName: z.ZodEnum<{
|
|
52
|
-
basic: "basic";
|
|
53
|
-
playwright: "playwright";
|
|
54
52
|
android: "android";
|
|
55
53
|
ios: "ios";
|
|
54
|
+
basic: "basic";
|
|
55
|
+
playwright: "playwright";
|
|
56
56
|
windows: "windows";
|
|
57
57
|
mac: "mac";
|
|
58
58
|
}>;
|
|
@@ -13,7 +13,7 @@ export declare const makeTakeScreenshotOnRunnerContract: <WorkspaceId extends Pu
|
|
|
13
13
|
readonly openWorldHint: false;
|
|
14
14
|
readonly readOnlyHint: false;
|
|
15
15
|
};
|
|
16
|
-
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
|
|
16
|
+
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.";
|
|
17
17
|
readonly input: z.ZodObject<{
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -31,7 +31,7 @@ export const makeTakeScreenshotOnRunnerContract = (ids) => {
|
|
|
31
31
|
openWorldHint: false,
|
|
32
32
|
readOnlyHint: false,
|
|
33
33
|
},
|
|
34
|
-
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
|
|
34
|
+
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. ${screenNeedsARunDescription} ${screenNotReadyDescription} 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. ${runnerHasNoScreenDescription} ${retryableRunnerUnreachableDescription}`,
|
|
35
35
|
input,
|
|
36
36
|
kind: "read",
|
|
37
37
|
name: "runner.takeScreenshot",
|
|
@@ -50,6 +50,7 @@ export declare const makeTriggerActionSchema: <FlowId extends PublicIdSchema>(id
|
|
|
50
50
|
generativeSuite: "generativeSuite";
|
|
51
51
|
}>>;
|
|
52
52
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
53
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
54
55
|
}, z.core.$strip>;
|
|
55
56
|
/**
|
|
@@ -73,6 +74,7 @@ export declare const makeTriggerScheduleFields: <EnvironmentIdSchema extends Pub
|
|
|
73
74
|
generativeSuite: "generativeSuite";
|
|
74
75
|
}>>;
|
|
75
76
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
77
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
76
78
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
77
79
|
}, z.core.$strip>;
|
|
78
80
|
cadence: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAkBhD;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,oBAAoB;;;;EAEW,CAAC;AAE7C,eAAO,MAAM,sBAAsB;;;;;;;;EAU0B,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;EAIjC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,MAAM,SAAS,cAAc,EAAE,KAAK;IAC1E,IAAI,EAAE,MAAM,CAAC;CACd
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAkBhD;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,oBAAoB;;;;EAEW,CAAC;AAE7C,eAAO,MAAM,sBAAsB;;;;;;;;EAU0B,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;EAIjC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,MAAM,SAAS,cAAc,EAAE,KAAK;IAC1E,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;;;;;iBAuCoD,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,GACpC,mBAAmB,SAAS,cAAc,EAC1C,MAAM,SAAS,cAAc,EAC7B,KAAK;IACL,aAAa,EAAE,mBAAmB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CC,CAAC"}
|
|
@@ -76,6 +76,10 @@ export const makeTriggerActionSchema = (ids) => z
|
|
|
76
76
|
.max(255)
|
|
77
77
|
.optional()
|
|
78
78
|
.describe("How many runs of the resulting suite may execute at once: a whole number from 1 to 1000, \"unlimited\", or a concurrency expression, which the server validates. It replaces the environment's limit rather than capping below it. Omit it to leave the environment's limit in charge."),
|
|
79
|
+
suggestCoverage: z
|
|
80
|
+
.boolean()
|
|
81
|
+
.optional()
|
|
82
|
+
.describe("Whether QA Wolf explores the environment after the resulting runs and suggests coverage that nothing tests yet. Defaults to true."),
|
|
79
83
|
tagNames: z
|
|
80
84
|
.array(z.string().min(1))
|
|
81
85
|
.default([])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/v1/trigger/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,8EAA8E;AAC9E,8EAA8E;AAC9E,oEAAoE;AACpE,EAAE;AACF,yEAAyE;AACzE,4EAA4E;AAC5E,6EAA6E;AAC7E,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE;IACnC,IAAI,CAAC;QACH,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;;;;;;;GAYG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,IAAI,CAAC,CAAC,QAAQ,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CAAC,aAAa,CAAC,QAAQ,CACvC,+CAA+C,CAChD;IACD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,KAAK,CAAC,2BAA2B,CAAC;SAClC,QAAQ,EAAE;SACV,QAAQ,CACP,6GAA6G,CAC9G;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,UAAU,EAAE,sDAAsD,CAAC;SAC1E,QAAQ,EAAE;SACV,QAAQ,CACP,uMAAuM,CACxM;CACJ,CAAC,CAAC"}
|
|
@@ -30,6 +30,7 @@ export declare const makeCreateTriggerContract: <EnvironmentId extends PublicIdS
|
|
|
30
30
|
generativeSuite: "generativeSuite";
|
|
31
31
|
}>>;
|
|
32
32
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
33
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
33
34
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
34
35
|
}, z.core.$strip>;
|
|
35
36
|
cadence: z.ZodEnum<{
|
|
@@ -72,6 +73,7 @@ export declare const makeCreateTriggerContract: <EnvironmentId extends PublicIdS
|
|
|
72
73
|
generativeSuite: "generativeSuite";
|
|
73
74
|
}>>;
|
|
74
75
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
76
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
75
77
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
76
78
|
}, z.core.$strip>;
|
|
77
79
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -98,6 +100,7 @@ export declare const makeCreateTriggerContract: <EnvironmentId extends PublicIdS
|
|
|
98
100
|
generativeSuite: "generativeSuite";
|
|
99
101
|
}>>;
|
|
100
102
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
103
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
101
104
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
102
105
|
}, z.core.$strip>;
|
|
103
106
|
cadence: z.ZodEnum<{
|
|
@@ -138,6 +141,7 @@ export declare const makeCreateTriggerContract: <EnvironmentId extends PublicIdS
|
|
|
138
141
|
generativeSuite: "generativeSuite";
|
|
139
142
|
}>>;
|
|
140
143
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
144
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
141
145
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
142
146
|
}, z.core.$strip>;
|
|
143
147
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAOhD,eAAO,MAAM,yBAAyB,GACpC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,6EAA6E;IAC7E,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAOhD,eAAO,MAAM,yBAAyB,GACpC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,6EAA6E;IAC7E,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDA,CAAC"}
|
|
@@ -18,6 +18,7 @@ export declare const makeTriggerDeploymentFields: <EnvironmentId extends PublicI
|
|
|
18
18
|
generativeSuite: "generativeSuite";
|
|
19
19
|
}>>;
|
|
20
20
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
21
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
21
22
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
22
23
|
}, z.core.$strip>;
|
|
23
24
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentFields.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/deploymentFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GACtC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd
|
|
1
|
+
{"version":3,"file":"deploymentFields.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/deploymentFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GACtC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;;;;;;;;;;;;;CAyCC,CAAC"}
|
|
@@ -36,6 +36,7 @@ export declare const makeFindTriggersContract: <EnvironmentId extends PublicIdSc
|
|
|
36
36
|
generativeSuite: "generativeSuite";
|
|
37
37
|
}>>;
|
|
38
38
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
39
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
39
40
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
40
41
|
}, z.core.$strip>;
|
|
41
42
|
cadence: z.ZodEnum<{
|
|
@@ -76,6 +77,7 @@ export declare const makeFindTriggersContract: <EnvironmentId extends PublicIdSc
|
|
|
76
77
|
generativeSuite: "generativeSuite";
|
|
77
78
|
}>>;
|
|
78
79
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
80
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
79
81
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
80
82
|
}, z.core.$strip>;
|
|
81
83
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,wBAAwB,GACnC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,wBAAwB,GACnC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CA,CAAC"}
|
package/dist/v1/trigger/get.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare const makeGetTriggerContract: <EnvironmentId extends PublicIdSche
|
|
|
34
34
|
generativeSuite: "generativeSuite";
|
|
35
35
|
}>>;
|
|
36
36
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
37
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
37
38
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
38
39
|
}, z.core.$strip>;
|
|
39
40
|
cadence: z.ZodEnum<{
|
|
@@ -74,6 +75,7 @@ export declare const makeGetTriggerContract: <EnvironmentId extends PublicIdSche
|
|
|
74
75
|
generativeSuite: "generativeSuite";
|
|
75
76
|
}>>;
|
|
76
77
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
78
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
77
79
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
78
80
|
}, z.core.$strip>;
|
|
79
81
|
branchPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,sBAAsB,GACjC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;CACpB
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,sBAAsB,GACjC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,SAAS,SAAS,cAAc,EAChC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BA,CAAC"}
|