@qawolf/api-contracts 0.58.0 → 0.63.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/agent/get.d.ts +8 -1
- package/dist/v1/agent/get.d.ts.map +1 -1
- package/dist/v1/agent/get.js +16 -1
- package/dist/v1/agent/get.js.map +1 -1
- package/dist/v1/agent/send.d.ts +1 -0
- package/dist/v1/agent/send.d.ts.map +1 -1
- package/dist/v1/agent/send.js +4 -0
- package/dist/v1/agent/send.js.map +1 -1
- package/dist/v1/agent/wait.d.ts +9 -0
- package/dist/v1/agent/wait.d.ts.map +1 -0
- package/dist/v1/agent/wait.js +6 -0
- package/dist/v1/agent/wait.js.map +1 -0
- package/dist/v1/deployment/find.d.ts +48 -0
- package/dist/v1/deployment/find.d.ts.map +1 -0
- package/dist/v1/deployment/find.js +30 -0
- package/dist/v1/deployment/find.js.map +1 -0
- package/dist/v1/deployment/index.d.ts +189 -0
- package/dist/v1/deployment/index.d.ts.map +1 -0
- package/dist/v1/deployment/index.js +9 -0
- package/dist/v1/deployment/index.js.map +1 -0
- package/dist/v1/deployment/listTriggerEvaluations.d.ts +96 -0
- package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -0
- package/dist/v1/deployment/listTriggerEvaluations.js +101 -0
- package/dist/v1/deployment/listTriggerEvaluations.js.map +1 -0
- package/dist/v1/deployment/resource.d.ts +29 -0
- package/dist/v1/deployment/resource.d.ts.map +1 -0
- package/dist/v1/deployment/resource.js +44 -0
- package/dist/v1/deployment/resource.js.map +1 -0
- package/dist/v1/environment/create.d.ts +1 -1
- package/dist/v1/environment/create.d.ts.map +1 -1
- package/dist/v1/environment/create.js.map +1 -1
- package/dist/v1/environment/deleteVariable.d.ts +1 -1
- package/dist/v1/environment/deleteVariable.d.ts.map +1 -1
- package/dist/v1/environment/deleteVariable.js.map +1 -1
- package/dist/v1/environment/getVariable.d.ts +1 -1
- package/dist/v1/environment/getVariable.d.ts.map +1 -1
- package/dist/v1/environment/getVariable.js.map +1 -1
- package/dist/v1/environment/index.d.ts +3 -3
- package/dist/v1/environment/index.d.ts.map +1 -1
- package/dist/v1/environment/index.js.map +1 -1
- package/dist/v1/environment/update.d.ts +1 -1
- package/dist/v1/environment/update.d.ts.map +1 -1
- package/dist/v1/environment/update.js.map +1 -1
- package/dist/v1/flow/addTag.d.ts.map +1 -1
- package/dist/v1/flow/addTag.js +0 -1
- package/dist/v1/flow/addTag.js.map +1 -1
- package/dist/v1/ids.d.ts +5 -8
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js +4 -1
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +994 -46
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +11 -53
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/legacyTrigger/find.d.ts +89 -0
- package/dist/v1/legacyTrigger/find.d.ts.map +1 -0
- package/dist/v1/legacyTrigger/find.js +35 -0
- package/dist/v1/legacyTrigger/find.js.map +1 -0
- package/dist/v1/legacyTrigger/index.d.ts +129 -0
- package/dist/v1/legacyTrigger/index.d.ts.map +1 -0
- package/dist/v1/legacyTrigger/index.js +13 -0
- package/dist/v1/legacyTrigger/index.js.map +1 -0
- package/dist/v1/legacyTrigger/lifecycle.d.ts +41 -0
- package/dist/v1/legacyTrigger/lifecycle.d.ts.map +1 -0
- package/dist/v1/legacyTrigger/lifecycle.js +46 -0
- package/dist/v1/legacyTrigger/lifecycle.js.map +1 -0
- package/dist/v1/legacyTrigger/resource.d.ts +68 -0
- package/dist/v1/legacyTrigger/resource.d.ts.map +1 -0
- package/dist/v1/legacyTrigger/resource.js +66 -0
- package/dist/v1/legacyTrigger/resource.js.map +1 -0
- package/dist/v1/mcpToolDescription.d.ts.map +1 -1
- package/dist/v1/mcpToolDescription.js +2 -1
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/dist/v1/runner/actionSequence.d.ts +12 -0
- package/dist/v1/runner/actionSequence.d.ts.map +1 -0
- package/dist/v1/runner/actionSequence.js +11 -0
- package/dist/v1/runner/actionSequence.js.map +1 -0
- package/dist/v1/runner/catalog.d.ts +807 -0
- package/dist/v1/runner/catalog.d.ts.map +1 -0
- package/dist/v1/runner/catalog.js +34 -0
- package/dist/v1/runner/catalog.js.map +1 -0
- package/dist/v1/runner/performActions.d.ts +124 -0
- package/dist/v1/runner/performActions.d.ts.map +1 -0
- package/dist/v1/runner/performActions.js +83 -0
- package/dist/v1/runner/performActions.js.map +1 -0
- package/dist/v1/runner/performActionsSteps.d.ts +85 -0
- package/dist/v1/runner/performActionsSteps.d.ts.map +1 -0
- package/dist/v1/runner/performActionsSteps.js +80 -0
- package/dist/v1/runner/performActionsSteps.js.map +1 -0
- package/dist/v1/runnerReexports.d.ts +2 -0
- package/dist/v1/runnerReexports.d.ts.map +1 -1
- package/dist/v1/runnerReexports.js +2 -0
- package/dist/v1/runnerReexports.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +1 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +1 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/dist/v1/skill/index.d.ts +82 -0
- package/dist/v1/skill/index.d.ts.map +1 -0
- package/dist/v1/skill/index.js +63 -0
- package/dist/v1/skill/index.js.map +1 -0
- package/dist/v1/trigger/configuration.d.ts +20 -0
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +17 -3
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/configurationRules.d.ts +2 -1
- package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
- package/dist/v1/trigger/configurationRules.js +37 -21
- package/dist/v1/trigger/configurationRules.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +20 -0
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/find.d.ts +10 -0
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +10 -0
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +578 -0
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/index.js +14 -0
- package/dist/v1/trigger/index.js.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +20 -0
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +10 -0
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/update.d.ts +20 -0
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/v1/automate/index.d.ts +0 -24
- package/dist/v1/automate/index.d.ts.map +0 -1
- package/dist/v1/automate/index.js +0 -39
- package/dist/v1/automate/index.js.map +0 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
11
11
|
* the same factory with its own strict id schemas, so the contract shape can
|
|
12
12
|
* never drift between the two while validation strictness stays server-owned.
|
|
13
13
|
*/
|
|
14
|
-
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema,
|
|
14
|
+
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema>(ids: PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId>) => {
|
|
15
15
|
agent: {
|
|
16
16
|
get: {
|
|
17
17
|
readonly annotations: {
|
|
@@ -19,10 +19,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
19
19
|
readonly openWorldHint: false;
|
|
20
20
|
readonly readOnlyHint: true;
|
|
21
21
|
};
|
|
22
|
-
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring.
|
|
22
|
+
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
|
|
23
23
|
readonly input: z.ZodObject<{
|
|
24
24
|
cursor: z.ZodOptional<z.ZodString>;
|
|
25
25
|
sessionId: ChatSessionId;
|
|
26
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
26
27
|
}, z.core.$strip>;
|
|
27
28
|
readonly kind: "read";
|
|
28
29
|
readonly name: "agent.get";
|
|
@@ -41,6 +42,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
41
42
|
failed: "failed";
|
|
42
43
|
cancelled: "cancelled";
|
|
43
44
|
}>;
|
|
45
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
reply: "reply";
|
|
48
|
+
status: "status";
|
|
49
|
+
timeout: "timeout";
|
|
50
|
+
}>>;
|
|
44
51
|
url: z.ZodURL;
|
|
45
52
|
}, z.core.$strip>;
|
|
46
53
|
};
|
|
@@ -55,6 +62,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
55
62
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
56
63
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
64
|
message: z.ZodString;
|
|
65
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
58
66
|
sessionId: z.ZodOptional<ChatSessionId>;
|
|
59
67
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
60
68
|
}, z.core.$strip>;
|
|
@@ -73,27 +81,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
73
81
|
}, z.core.$strip>;
|
|
74
82
|
};
|
|
75
83
|
};
|
|
76
|
-
automate: {
|
|
77
|
-
readonly annotations: {
|
|
78
|
-
readonly destructiveHint: true;
|
|
79
|
-
readonly openWorldHint: true;
|
|
80
|
-
readonly readOnlyHint: false;
|
|
81
|
-
};
|
|
82
|
-
readonly description: "Request automation for draft flows. First create a named local .flow.ts draft for every requested journey that does not already have a matching draft; never reuse a generic starter or placeholder. Each new draft must start with a JSDoc Goal: description, import flow from @qawolf/flows/web, and use export default flow(...); a comment-only file or direct test(...) call is not a valid draft. Commit and push all changes with Git to publish them, then list remote drafts to resolve every selected ID. Do not use patch to create or rename a selected flow. Finally make one automation request containing all requested flow IDs.";
|
|
83
|
-
readonly input: z.ZodObject<{
|
|
84
|
-
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
85
|
-
environmentId: PublicIdSchema;
|
|
86
|
-
flowIds: z.ZodArray<FlowId>;
|
|
87
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
88
|
-
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
readonly kind: "write";
|
|
91
|
-
readonly name: "automate";
|
|
92
|
-
readonly output: z.ZodObject<{
|
|
93
|
-
automationId: AutomationId;
|
|
94
|
-
url: z.ZodURL;
|
|
95
|
-
}, z.core.$strip>;
|
|
96
|
-
};
|
|
97
84
|
codeHostIntegration: {
|
|
98
85
|
find: {
|
|
99
86
|
readonly annotations: {
|
|
@@ -152,6 +139,136 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
152
139
|
};
|
|
153
140
|
};
|
|
154
141
|
deployment: {
|
|
142
|
+
find: {
|
|
143
|
+
readonly annotations: {
|
|
144
|
+
readonly destructiveHint: false;
|
|
145
|
+
readonly openWorldHint: false;
|
|
146
|
+
readonly readOnlyHint: true;
|
|
147
|
+
};
|
|
148
|
+
readonly description: "List the deployments QA Wolf has received for the workspace, newest first. A deployment arrives through a code host integration's webhook or through deployment.reportStatus, and is what a deployment trigger evaluates against. deployment.listTriggerEvaluations reports each trigger's verdict for one deployment.";
|
|
149
|
+
readonly input: z.ZodObject<{
|
|
150
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
151
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
152
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
readonly kind: "read";
|
|
155
|
+
readonly name: "deployment.find";
|
|
156
|
+
readonly output: z.ZodObject<{
|
|
157
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
158
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
159
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
160
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
161
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
162
|
+
deployedAt: z.ZodISODateTime;
|
|
163
|
+
deployTarget: z.ZodOptional<z.ZodString>;
|
|
164
|
+
environmentId: EnvironmentId;
|
|
165
|
+
environmentName: z.ZodOptional<z.ZodString>;
|
|
166
|
+
id: DeploymentId;
|
|
167
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
168
|
+
github: "github";
|
|
169
|
+
gitlab: "gitlab";
|
|
170
|
+
api: "api";
|
|
171
|
+
}>>;
|
|
172
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
success: "success";
|
|
174
|
+
pending: "pending";
|
|
175
|
+
failure: "failure";
|
|
176
|
+
inactive: "inactive";
|
|
177
|
+
}>>;
|
|
178
|
+
url: z.ZodURL;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
};
|
|
183
|
+
listTriggerEvaluations: {
|
|
184
|
+
readonly annotations: {
|
|
185
|
+
readonly destructiveHint: false;
|
|
186
|
+
readonly openWorldHint: false;
|
|
187
|
+
readonly readOnlyHint: true;
|
|
188
|
+
};
|
|
189
|
+
readonly description: "List the per-trigger verdicts recorded when a deployment was evaluated against the workspace's triggers. Each verdict says whether the trigger matched, did not match with the reason per condition, or was never considered and why. Verdicts are a snapshot from evaluation time: editing or deleting a trigger later does not change them.";
|
|
190
|
+
readonly input: z.ZodObject<{
|
|
191
|
+
deploymentId: DeploymentId;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
readonly kind: "read";
|
|
194
|
+
readonly name: "deployment.listTriggerEvaluations";
|
|
195
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
196
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
197
|
+
triggerId: z.ZodOptional<TriggerId>;
|
|
198
|
+
triggerName: z.ZodString;
|
|
199
|
+
verdict: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
200
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
201
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
202
|
+
kind: z.ZodEnum<{
|
|
203
|
+
branch: "branch";
|
|
204
|
+
deployTarget: "deployTarget";
|
|
205
|
+
environment: "environment";
|
|
206
|
+
}>;
|
|
207
|
+
outcome: z.ZodLiteral<"matched">;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
kind: z.ZodEnum<{
|
|
210
|
+
branch: "branch";
|
|
211
|
+
deployTarget: "deployTarget";
|
|
212
|
+
environment: "environment";
|
|
213
|
+
}>;
|
|
214
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
215
|
+
reason: z.ZodString;
|
|
216
|
+
}, z.core.$strip>], "outcome">>;
|
|
217
|
+
outcome: z.ZodEnum<{
|
|
218
|
+
matched: "matched";
|
|
219
|
+
"did-not-match": "did-not-match";
|
|
220
|
+
}>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
outcome: z.ZodLiteral<"matched">;
|
|
223
|
+
run: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
224
|
+
runId: RunId;
|
|
225
|
+
status: z.ZodLiteral<"ran">;
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
+
status: z.ZodLiteral<"starting">;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
reason: z.ZodString;
|
|
230
|
+
status: z.ZodLiteral<"did-not-run">;
|
|
231
|
+
supersededByRunId: z.ZodOptional<RunId>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
status: z.ZodLiteral<"unknown">;
|
|
234
|
+
}, z.core.$strip>], "status">;
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
237
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
238
|
+
kind: z.ZodEnum<{
|
|
239
|
+
branch: "branch";
|
|
240
|
+
deployTarget: "deployTarget";
|
|
241
|
+
environment: "environment";
|
|
242
|
+
}>;
|
|
243
|
+
outcome: z.ZodLiteral<"matched">;
|
|
244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
245
|
+
kind: z.ZodEnum<{
|
|
246
|
+
branch: "branch";
|
|
247
|
+
deployTarget: "deployTarget";
|
|
248
|
+
environment: "environment";
|
|
249
|
+
}>;
|
|
250
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
251
|
+
reason: z.ZodString;
|
|
252
|
+
}, z.core.$strip>], "outcome">>;
|
|
253
|
+
outcome: z.ZodEnum<{
|
|
254
|
+
matched: "matched";
|
|
255
|
+
"did-not-match": "did-not-match";
|
|
256
|
+
}>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
+
outcome: z.ZodLiteral<"not-considered">;
|
|
261
|
+
reason: z.ZodEnum<{
|
|
262
|
+
"trigger-paused": "trigger-paused";
|
|
263
|
+
"not-a-deployment-trigger": "not-a-deployment-trigger";
|
|
264
|
+
}>;
|
|
265
|
+
}, z.core.$strip>], "outcome">;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
state: z.ZodLiteral<"evaluated">;
|
|
268
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
269
|
+
state: z.ZodLiteral<"not-evaluated">;
|
|
270
|
+
}, z.core.$strip>], "state">;
|
|
271
|
+
};
|
|
155
272
|
reportStatus: {
|
|
156
273
|
readonly annotations: {
|
|
157
274
|
readonly destructiveHint: true;
|
|
@@ -190,7 +307,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
190
307
|
readonly name: "deployment.reportStatus";
|
|
191
308
|
readonly output: z.ZodObject<{
|
|
192
309
|
deployment: z.ZodObject<{
|
|
193
|
-
id:
|
|
310
|
+
id: DeploymentId;
|
|
194
311
|
status: z.ZodEnum<{
|
|
195
312
|
success: "success";
|
|
196
313
|
pending: "pending";
|
|
@@ -1191,6 +1308,124 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1191
1308
|
}, z.core.$strip>;
|
|
1192
1309
|
};
|
|
1193
1310
|
};
|
|
1311
|
+
legacyTrigger: {
|
|
1312
|
+
find: {
|
|
1313
|
+
readonly annotations: {
|
|
1314
|
+
readonly destructiveHint: false;
|
|
1315
|
+
readonly openWorldHint: false;
|
|
1316
|
+
readonly readOnlyHint: true;
|
|
1317
|
+
};
|
|
1318
|
+
readonly description: string;
|
|
1319
|
+
readonly input: z.ZodObject<{
|
|
1320
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
1321
|
+
static: "static";
|
|
1322
|
+
active: "active";
|
|
1323
|
+
all: "all";
|
|
1324
|
+
}>>;
|
|
1325
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
1326
|
+
}, z.core.$strip>;
|
|
1327
|
+
readonly kind: "read";
|
|
1328
|
+
readonly name: "legacyTrigger.find";
|
|
1329
|
+
readonly output: z.ZodObject<{
|
|
1330
|
+
legacyTriggers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1331
|
+
nextAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1332
|
+
repeatMinutes: z.ZodNumber;
|
|
1333
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1334
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
type: z.ZodLiteral<"scheduled">;
|
|
1336
|
+
environment: z.ZodObject<{
|
|
1337
|
+
id: EnvironmentId;
|
|
1338
|
+
kind: z.ZodEnum<{
|
|
1339
|
+
static: "static";
|
|
1340
|
+
preview: "preview";
|
|
1341
|
+
}>;
|
|
1342
|
+
name: z.ZodString;
|
|
1343
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1344
|
+
}, z.core.$strip>;
|
|
1345
|
+
id: LegacyTriggerId;
|
|
1346
|
+
isPaused: z.ZodBoolean;
|
|
1347
|
+
name: z.ZodString;
|
|
1348
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1349
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1350
|
+
id: z.ZodString;
|
|
1351
|
+
name: z.ZodString;
|
|
1352
|
+
}, z.core.$strip>>;
|
|
1353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1354
|
+
adaptiveFlowSelection: z.ZodBoolean;
|
|
1355
|
+
branchScope: z.ZodUnion<readonly [z.ZodObject<{
|
|
1356
|
+
kind: z.ZodLiteral<"all-branches">;
|
|
1357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1358
|
+
caseSensitiveGlobs: z.ZodArray<z.ZodString>;
|
|
1359
|
+
kind: z.ZodLiteral<"listed-branches">;
|
|
1360
|
+
negated: z.ZodBoolean;
|
|
1361
|
+
raw: z.ZodString;
|
|
1362
|
+
}, z.core.$strip>]>;
|
|
1363
|
+
codeHostingServiceRepository: z.ZodUnion<readonly [z.ZodObject<{
|
|
1364
|
+
kind: z.ZodLiteral<"any">;
|
|
1365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1366
|
+
kind: z.ZodLiteral<"none">;
|
|
1367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1368
|
+
id: z.ZodString;
|
|
1369
|
+
kind: z.ZodLiteral<"by-id">;
|
|
1370
|
+
}, z.core.$strip>]>;
|
|
1371
|
+
deploymentPrLabel: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
deploymentType: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
type: z.ZodUnion<readonly [z.ZodLiteral<"generic">, z.ZodLiteral<"pr-testing-button">]>;
|
|
1374
|
+
environment: z.ZodObject<{
|
|
1375
|
+
id: EnvironmentId;
|
|
1376
|
+
kind: z.ZodEnum<{
|
|
1377
|
+
static: "static";
|
|
1378
|
+
preview: "preview";
|
|
1379
|
+
}>;
|
|
1380
|
+
name: z.ZodString;
|
|
1381
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1382
|
+
}, z.core.$strip>;
|
|
1383
|
+
id: LegacyTriggerId;
|
|
1384
|
+
isPaused: z.ZodBoolean;
|
|
1385
|
+
name: z.ZodString;
|
|
1386
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1387
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1388
|
+
id: z.ZodString;
|
|
1389
|
+
name: z.ZodString;
|
|
1390
|
+
}, z.core.$strip>>;
|
|
1391
|
+
}, z.core.$strip>]>>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
};
|
|
1394
|
+
pause: {
|
|
1395
|
+
readonly annotations: {
|
|
1396
|
+
readonly destructiveHint: true;
|
|
1397
|
+
readonly openWorldHint: false;
|
|
1398
|
+
readonly readOnlyHint: false;
|
|
1399
|
+
};
|
|
1400
|
+
readonly description: string;
|
|
1401
|
+
readonly input: z.ZodObject<{
|
|
1402
|
+
legacyTriggerId: LegacyTriggerId;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
readonly kind: "write";
|
|
1405
|
+
readonly name: "legacyTrigger.pause";
|
|
1406
|
+
readonly output: z.ZodObject<{
|
|
1407
|
+
isPaused: z.ZodBoolean;
|
|
1408
|
+
legacyTriggerId: LegacyTriggerId;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
};
|
|
1411
|
+
resume: {
|
|
1412
|
+
readonly annotations: {
|
|
1413
|
+
readonly destructiveHint: true;
|
|
1414
|
+
readonly openWorldHint: true;
|
|
1415
|
+
readonly readOnlyHint: false;
|
|
1416
|
+
};
|
|
1417
|
+
readonly description: string;
|
|
1418
|
+
readonly input: z.ZodObject<{
|
|
1419
|
+
legacyTriggerId: LegacyTriggerId;
|
|
1420
|
+
}, z.core.$strip>;
|
|
1421
|
+
readonly kind: "write";
|
|
1422
|
+
readonly name: "legacyTrigger.resume";
|
|
1423
|
+
readonly output: z.ZodObject<{
|
|
1424
|
+
isPaused: z.ZodBoolean;
|
|
1425
|
+
legacyTriggerId: LegacyTriggerId;
|
|
1426
|
+
}, z.core.$strip>;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1194
1429
|
run: {
|
|
1195
1430
|
create: {
|
|
1196
1431
|
readonly annotations: {
|
|
@@ -1976,6 +2211,124 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1976
2211
|
outcome: z.ZodLiteral<"failure">;
|
|
1977
2212
|
}, z.core.$strip>], "failureReason">], "outcome">;
|
|
1978
2213
|
};
|
|
2214
|
+
performActions: {
|
|
2215
|
+
readonly annotations: {
|
|
2216
|
+
readonly destructiveHint: true;
|
|
2217
|
+
readonly openWorldHint: true;
|
|
2218
|
+
readonly readOnlyHint: false;
|
|
2219
|
+
};
|
|
2220
|
+
readonly description: "Perform a sequence of raw browser 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` and `action-not-supported-on-mobile` reasons holds for each action here.";
|
|
2221
|
+
readonly input: z.ZodObject<{
|
|
2222
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2223
|
+
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
2224
|
+
type: z.ZodLiteral<"click">;
|
|
2225
|
+
x: z.ZodInt;
|
|
2226
|
+
y: z.ZodInt;
|
|
2227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2228
|
+
type: z.ZodLiteral<"double_click">;
|
|
2229
|
+
x: z.ZodInt;
|
|
2230
|
+
y: z.ZodInt;
|
|
2231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2232
|
+
scroll_x: z.ZodInt;
|
|
2233
|
+
scroll_y: z.ZodInt;
|
|
2234
|
+
type: z.ZodLiteral<"scroll">;
|
|
2235
|
+
x: z.ZodInt;
|
|
2236
|
+
y: z.ZodInt;
|
|
2237
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2238
|
+
type: z.ZodLiteral<"move">;
|
|
2239
|
+
x: z.ZodInt;
|
|
2240
|
+
y: z.ZodInt;
|
|
2241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2242
|
+
path: z.ZodArray<z.ZodObject<{
|
|
2243
|
+
x: z.ZodInt;
|
|
2244
|
+
y: z.ZodInt;
|
|
2245
|
+
}, z.core.$strict>>;
|
|
2246
|
+
type: z.ZodLiteral<"drag">;
|
|
2247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2248
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2249
|
+
type: z.ZodLiteral<"keypress">;
|
|
2250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2251
|
+
type: z.ZodLiteral<"navigate">;
|
|
2252
|
+
url: z.ZodURL;
|
|
2253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2254
|
+
text: z.ZodString;
|
|
2255
|
+
type: z.ZodLiteral<"type">;
|
|
2256
|
+
}, z.core.$strict>], "type">>;
|
|
2257
|
+
id: z.ZodString;
|
|
2258
|
+
screenshotMode: z.ZodOptional<z.ZodEnum<{
|
|
2259
|
+
none: "none";
|
|
2260
|
+
final: "final";
|
|
2261
|
+
each: "each";
|
|
2262
|
+
}>>;
|
|
2263
|
+
stopOnFailure: z.ZodOptional<z.ZodBoolean>;
|
|
2264
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
2265
|
+
}, z.core.$strip>;
|
|
2266
|
+
readonly kind: "write";
|
|
2267
|
+
readonly name: "runner.performActions";
|
|
2268
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2269
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
2270
|
+
lastCompletedIndex: z.ZodInt;
|
|
2271
|
+
outcome: z.ZodLiteral<"success">;
|
|
2272
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2273
|
+
effect: z.ZodLiteral<"performed">;
|
|
2274
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
2275
|
+
index: z.ZodInt;
|
|
2276
|
+
outcome: z.ZodLiteral<"success">;
|
|
2277
|
+
}, z.core.$strip>>;
|
|
2278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2279
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2280
|
+
failedIndex: z.ZodInt;
|
|
2281
|
+
failureReason: z.ZodEnum<{
|
|
2282
|
+
"runner-unreachable": "runner-unreachable";
|
|
2283
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
2284
|
+
"screen-not-ready": "screen-not-ready";
|
|
2285
|
+
"action-failed": "action-failed";
|
|
2286
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
2287
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
2288
|
+
"out-of-time": "out-of-time";
|
|
2289
|
+
"action-unconfirmed": "action-unconfirmed";
|
|
2290
|
+
}>;
|
|
2291
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
2292
|
+
lastCompletedIndex: z.ZodOptional<z.ZodInt>;
|
|
2293
|
+
outcome: z.ZodLiteral<"failure">;
|
|
2294
|
+
results: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2295
|
+
effect: z.ZodLiteral<"performed">;
|
|
2296
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
index: z.ZodInt;
|
|
2298
|
+
outcome: z.ZodLiteral<"success">;
|
|
2299
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2300
|
+
effect: z.ZodLiteral<"not-performed">;
|
|
2301
|
+
errorMessage: z.ZodString;
|
|
2302
|
+
failureReason: z.ZodLiteral<"action-failed">;
|
|
2303
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
2304
|
+
index: z.ZodInt;
|
|
2305
|
+
outcome: z.ZodLiteral<"failure">;
|
|
2306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2307
|
+
effect: z.ZodLiteral<"unknown">;
|
|
2308
|
+
failureReason: z.ZodLiteral<"runner-unreachable">;
|
|
2309
|
+
index: z.ZodInt;
|
|
2310
|
+
outcome: z.ZodLiteral<"failure">;
|
|
2311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2312
|
+
effect: z.ZodLiteral<"unknown">;
|
|
2313
|
+
errorMessage: z.ZodString;
|
|
2314
|
+
failureReason: z.ZodLiteral<"action-unconfirmed">;
|
|
2315
|
+
index: z.ZodInt;
|
|
2316
|
+
outcome: z.ZodLiteral<"failure">;
|
|
2317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2318
|
+
effect: z.ZodLiteral<"not-performed">;
|
|
2319
|
+
failureReason: z.ZodEnum<{
|
|
2320
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
2321
|
+
"screen-not-ready": "screen-not-ready";
|
|
2322
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
2323
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
2324
|
+
"out-of-time": "out-of-time";
|
|
2325
|
+
}>;
|
|
2326
|
+
index: z.ZodInt;
|
|
2327
|
+
outcome: z.ZodLiteral<"failure">;
|
|
2328
|
+
}, z.core.$strip>], "failureReason">], "outcome">>;
|
|
2329
|
+
stoppedEarly: z.ZodBoolean;
|
|
2330
|
+
}, z.core.$strip>], "outcome">;
|
|
2331
|
+
};
|
|
1979
2332
|
promoteSnapshot: {
|
|
1980
2333
|
readonly annotations: {
|
|
1981
2334
|
readonly destructiveHint: true;
|
|
@@ -2160,6 +2513,47 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2160
2513
|
}, z.core.$strip>;
|
|
2161
2514
|
};
|
|
2162
2515
|
};
|
|
2516
|
+
skill: {
|
|
2517
|
+
get: {
|
|
2518
|
+
readonly annotations: {
|
|
2519
|
+
readonly destructiveHint: false;
|
|
2520
|
+
readonly openWorldHint: false;
|
|
2521
|
+
readonly readOnlyHint: true;
|
|
2522
|
+
};
|
|
2523
|
+
readonly description: "Read a QA Wolf skill: the instructions a coding agent follows for one kind of QA Wolf work. The reply carries the skill's SKILL.md and every file under its references directory, so nothing else has to be fetched for it. Read the skill before starting the work it covers and follow it. A link in the reply of the form ../<skill>/SKILL.md names another skill, which this call reads by that name.";
|
|
2524
|
+
readonly input: z.ZodObject<{
|
|
2525
|
+
name: z.ZodString;
|
|
2526
|
+
}, z.core.$strip>;
|
|
2527
|
+
readonly kind: "read";
|
|
2528
|
+
readonly name: "skill.get";
|
|
2529
|
+
readonly output: z.ZodObject<{
|
|
2530
|
+
description: z.ZodString;
|
|
2531
|
+
name: z.ZodString;
|
|
2532
|
+
instructions: z.ZodString;
|
|
2533
|
+
references: z.ZodArray<z.ZodObject<{
|
|
2534
|
+
path: z.ZodString;
|
|
2535
|
+
text: z.ZodString;
|
|
2536
|
+
}, z.core.$strip>>;
|
|
2537
|
+
}, z.core.$strip>;
|
|
2538
|
+
};
|
|
2539
|
+
list: {
|
|
2540
|
+
readonly annotations: {
|
|
2541
|
+
readonly destructiveHint: false;
|
|
2542
|
+
readonly openWorldHint: false;
|
|
2543
|
+
readonly readOnlyHint: true;
|
|
2544
|
+
};
|
|
2545
|
+
readonly description: "List the QA Wolf skills, each with its name and the description that says when to use it. A skill is the instructions a coding agent follows for one kind of QA Wolf work, such as onboarding an application, creating a flow, repairing a failing flow, or setting up triggers. Call this before any QA Wolf work, pick the skill whose description matches the request, and read it with skill.get.";
|
|
2546
|
+
readonly input: z.ZodObject<{}, z.core.$strip>;
|
|
2547
|
+
readonly kind: "read";
|
|
2548
|
+
readonly name: "skill.list";
|
|
2549
|
+
readonly output: z.ZodObject<{
|
|
2550
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
2551
|
+
description: z.ZodString;
|
|
2552
|
+
name: z.ZodString;
|
|
2553
|
+
}, z.core.$strip>>;
|
|
2554
|
+
}, z.core.$strip>;
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2163
2557
|
tag: {
|
|
2164
2558
|
create: {
|
|
2165
2559
|
readonly annotations: {
|
|
@@ -2230,7 +2624,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2230
2624
|
cadence: z.ZodEnum<{
|
|
2231
2625
|
hourly: "hourly";
|
|
2232
2626
|
daily: "daily";
|
|
2627
|
+
weekly: "weekly";
|
|
2233
2628
|
}>;
|
|
2629
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
2630
|
+
monday: "monday";
|
|
2631
|
+
tuesday: "tuesday";
|
|
2632
|
+
wednesday: "wednesday";
|
|
2633
|
+
thursday: "thursday";
|
|
2634
|
+
friday: "friday";
|
|
2635
|
+
saturday: "saturday";
|
|
2636
|
+
sunday: "sunday";
|
|
2637
|
+
}>>;
|
|
2234
2638
|
environmentId: PublicIdSchema;
|
|
2235
2639
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2236
2640
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2275,7 +2679,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2275
2679
|
cadence: z.ZodEnum<{
|
|
2276
2680
|
hourly: "hourly";
|
|
2277
2681
|
daily: "daily";
|
|
2682
|
+
weekly: "weekly";
|
|
2278
2683
|
}>;
|
|
2684
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
2685
|
+
monday: "monday";
|
|
2686
|
+
tuesday: "tuesday";
|
|
2687
|
+
wednesday: "wednesday";
|
|
2688
|
+
thursday: "thursday";
|
|
2689
|
+
friday: "friday";
|
|
2690
|
+
saturday: "saturday";
|
|
2691
|
+
sunday: "sunday";
|
|
2692
|
+
}>>;
|
|
2279
2693
|
environmentId: EnvironmentId;
|
|
2280
2694
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2281
2695
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2358,7 +2772,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2358
2772
|
cadence: z.ZodEnum<{
|
|
2359
2773
|
hourly: "hourly";
|
|
2360
2774
|
daily: "daily";
|
|
2775
|
+
weekly: "weekly";
|
|
2361
2776
|
}>;
|
|
2777
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
2778
|
+
monday: "monday";
|
|
2779
|
+
tuesday: "tuesday";
|
|
2780
|
+
wednesday: "wednesday";
|
|
2781
|
+
thursday: "thursday";
|
|
2782
|
+
friday: "friday";
|
|
2783
|
+
saturday: "saturday";
|
|
2784
|
+
sunday: "sunday";
|
|
2785
|
+
}>>;
|
|
2362
2786
|
environmentId: EnvironmentId;
|
|
2363
2787
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2364
2788
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2424,7 +2848,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2424
2848
|
cadence: z.ZodEnum<{
|
|
2425
2849
|
hourly: "hourly";
|
|
2426
2850
|
daily: "daily";
|
|
2851
|
+
weekly: "weekly";
|
|
2427
2852
|
}>;
|
|
2853
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
2854
|
+
monday: "monday";
|
|
2855
|
+
tuesday: "tuesday";
|
|
2856
|
+
wednesday: "wednesday";
|
|
2857
|
+
thursday: "thursday";
|
|
2858
|
+
friday: "friday";
|
|
2859
|
+
saturday: "saturday";
|
|
2860
|
+
sunday: "sunday";
|
|
2861
|
+
}>>;
|
|
2428
2862
|
environmentId: EnvironmentId;
|
|
2429
2863
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2430
2864
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2490,7 +2924,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2490
2924
|
cadence: z.ZodEnum<{
|
|
2491
2925
|
hourly: "hourly";
|
|
2492
2926
|
daily: "daily";
|
|
2927
|
+
weekly: "weekly";
|
|
2493
2928
|
}>;
|
|
2929
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
2930
|
+
monday: "monday";
|
|
2931
|
+
tuesday: "tuesday";
|
|
2932
|
+
wednesday: "wednesday";
|
|
2933
|
+
thursday: "thursday";
|
|
2934
|
+
friday: "friday";
|
|
2935
|
+
saturday: "saturday";
|
|
2936
|
+
sunday: "sunday";
|
|
2937
|
+
}>>;
|
|
2494
2938
|
environmentId: EnvironmentId;
|
|
2495
2939
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2496
2940
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2556,7 +3000,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2556
3000
|
cadence: z.ZodEnum<{
|
|
2557
3001
|
hourly: "hourly";
|
|
2558
3002
|
daily: "daily";
|
|
3003
|
+
weekly: "weekly";
|
|
2559
3004
|
}>;
|
|
3005
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
3006
|
+
monday: "monday";
|
|
3007
|
+
tuesday: "tuesday";
|
|
3008
|
+
wednesday: "wednesday";
|
|
3009
|
+
thursday: "thursday";
|
|
3010
|
+
friday: "friday";
|
|
3011
|
+
saturday: "saturday";
|
|
3012
|
+
sunday: "sunday";
|
|
3013
|
+
}>>;
|
|
2560
3014
|
environmentId: EnvironmentId;
|
|
2561
3015
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2562
3016
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2615,7 +3069,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2615
3069
|
cadence: z.ZodEnum<{
|
|
2616
3070
|
hourly: "hourly";
|
|
2617
3071
|
daily: "daily";
|
|
3072
|
+
weekly: "weekly";
|
|
2618
3073
|
}>;
|
|
3074
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
3075
|
+
monday: "monday";
|
|
3076
|
+
tuesday: "tuesday";
|
|
3077
|
+
wednesday: "wednesday";
|
|
3078
|
+
thursday: "thursday";
|
|
3079
|
+
friday: "friday";
|
|
3080
|
+
saturday: "saturday";
|
|
3081
|
+
sunday: "sunday";
|
|
3082
|
+
}>>;
|
|
2619
3083
|
environmentId: PublicIdSchema;
|
|
2620
3084
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2621
3085
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2660,7 +3124,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2660
3124
|
cadence: z.ZodEnum<{
|
|
2661
3125
|
hourly: "hourly";
|
|
2662
3126
|
daily: "daily";
|
|
3127
|
+
weekly: "weekly";
|
|
2663
3128
|
}>;
|
|
3129
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
3130
|
+
monday: "monday";
|
|
3131
|
+
tuesday: "tuesday";
|
|
3132
|
+
wednesday: "wednesday";
|
|
3133
|
+
thursday: "thursday";
|
|
3134
|
+
friday: "friday";
|
|
3135
|
+
saturday: "saturday";
|
|
3136
|
+
sunday: "sunday";
|
|
3137
|
+
}>>;
|
|
2664
3138
|
environmentId: EnvironmentId;
|
|
2665
3139
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2666
3140
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2707,10 +3181,11 @@ export declare const publicContractsV1: {
|
|
|
2707
3181
|
readonly openWorldHint: false;
|
|
2708
3182
|
readonly readOnlyHint: true;
|
|
2709
3183
|
};
|
|
2710
|
-
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring.
|
|
3184
|
+
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
|
|
2711
3185
|
readonly input: z.ZodObject<{
|
|
2712
3186
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2713
3187
|
sessionId: PublicIdSchema;
|
|
3188
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2714
3189
|
}, z.core.$strip>;
|
|
2715
3190
|
readonly kind: "read";
|
|
2716
3191
|
readonly name: "agent.get";
|
|
@@ -2729,6 +3204,12 @@ export declare const publicContractsV1: {
|
|
|
2729
3204
|
failed: "failed";
|
|
2730
3205
|
cancelled: "cancelled";
|
|
2731
3206
|
}>;
|
|
3207
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3208
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
3209
|
+
reply: "reply";
|
|
3210
|
+
status: "status";
|
|
3211
|
+
timeout: "timeout";
|
|
3212
|
+
}>>;
|
|
2732
3213
|
url: z.ZodURL;
|
|
2733
3214
|
}, z.core.$strip>;
|
|
2734
3215
|
};
|
|
@@ -2743,6 +3224,7 @@ export declare const publicContractsV1: {
|
|
|
2743
3224
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
2744
3225
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2745
3226
|
message: z.ZodString;
|
|
3227
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
2746
3228
|
sessionId: z.ZodOptional<PublicIdSchema>;
|
|
2747
3229
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2748
3230
|
}, z.core.$strip>;
|
|
@@ -2761,27 +3243,6 @@ export declare const publicContractsV1: {
|
|
|
2761
3243
|
}, z.core.$strip>;
|
|
2762
3244
|
};
|
|
2763
3245
|
};
|
|
2764
|
-
automate: {
|
|
2765
|
-
readonly annotations: {
|
|
2766
|
-
readonly destructiveHint: true;
|
|
2767
|
-
readonly openWorldHint: true;
|
|
2768
|
-
readonly readOnlyHint: false;
|
|
2769
|
-
};
|
|
2770
|
-
readonly description: "Request automation for draft flows. First create a named local .flow.ts draft for every requested journey that does not already have a matching draft; never reuse a generic starter or placeholder. Each new draft must start with a JSDoc Goal: description, import flow from @qawolf/flows/web, and use export default flow(...); a comment-only file or direct test(...) call is not a valid draft. Commit and push all changes with Git to publish them, then list remote drafts to resolve every selected ID. Do not use patch to create or rename a selected flow. Finally make one automation request containing all requested flow IDs.";
|
|
2771
|
-
readonly input: z.ZodObject<{
|
|
2772
|
-
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
2773
|
-
environmentId: PublicIdSchema;
|
|
2774
|
-
flowIds: z.ZodArray<PublicIdSchema>;
|
|
2775
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
2776
|
-
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2777
|
-
}, z.core.$strip>;
|
|
2778
|
-
readonly kind: "write";
|
|
2779
|
-
readonly name: "automate";
|
|
2780
|
-
readonly output: z.ZodObject<{
|
|
2781
|
-
automationId: PublicIdSchema;
|
|
2782
|
-
url: z.ZodURL;
|
|
2783
|
-
}, z.core.$strip>;
|
|
2784
|
-
};
|
|
2785
3246
|
codeHostIntegration: {
|
|
2786
3247
|
find: {
|
|
2787
3248
|
readonly annotations: {
|
|
@@ -2840,6 +3301,136 @@ export declare const publicContractsV1: {
|
|
|
2840
3301
|
};
|
|
2841
3302
|
};
|
|
2842
3303
|
deployment: {
|
|
3304
|
+
find: {
|
|
3305
|
+
readonly annotations: {
|
|
3306
|
+
readonly destructiveHint: false;
|
|
3307
|
+
readonly openWorldHint: false;
|
|
3308
|
+
readonly readOnlyHint: true;
|
|
3309
|
+
};
|
|
3310
|
+
readonly description: "List the deployments QA Wolf has received for the workspace, newest first. A deployment arrives through a code host integration's webhook or through deployment.reportStatus, and is what a deployment trigger evaluates against. deployment.listTriggerEvaluations reports each trigger's verdict for one deployment.";
|
|
3311
|
+
readonly input: z.ZodObject<{
|
|
3312
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3313
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
3314
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3315
|
+
}, z.core.$strip>;
|
|
3316
|
+
readonly kind: "read";
|
|
3317
|
+
readonly name: "deployment.find";
|
|
3318
|
+
readonly output: z.ZodObject<{
|
|
3319
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
3320
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
3321
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
3322
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
3323
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
3324
|
+
deployedAt: z.ZodISODateTime;
|
|
3325
|
+
deployTarget: z.ZodOptional<z.ZodString>;
|
|
3326
|
+
environmentId: PublicIdSchema;
|
|
3327
|
+
environmentName: z.ZodOptional<z.ZodString>;
|
|
3328
|
+
id: PublicIdSchema;
|
|
3329
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
3330
|
+
github: "github";
|
|
3331
|
+
gitlab: "gitlab";
|
|
3332
|
+
api: "api";
|
|
3333
|
+
}>>;
|
|
3334
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3335
|
+
success: "success";
|
|
3336
|
+
pending: "pending";
|
|
3337
|
+
failure: "failure";
|
|
3338
|
+
inactive: "inactive";
|
|
3339
|
+
}>>;
|
|
3340
|
+
url: z.ZodURL;
|
|
3341
|
+
}, z.core.$strip>>;
|
|
3342
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
3343
|
+
}, z.core.$strip>;
|
|
3344
|
+
};
|
|
3345
|
+
listTriggerEvaluations: {
|
|
3346
|
+
readonly annotations: {
|
|
3347
|
+
readonly destructiveHint: false;
|
|
3348
|
+
readonly openWorldHint: false;
|
|
3349
|
+
readonly readOnlyHint: true;
|
|
3350
|
+
};
|
|
3351
|
+
readonly description: "List the per-trigger verdicts recorded when a deployment was evaluated against the workspace's triggers. Each verdict says whether the trigger matched, did not match with the reason per condition, or was never considered and why. Verdicts are a snapshot from evaluation time: editing or deleting a trigger later does not change them.";
|
|
3352
|
+
readonly input: z.ZodObject<{
|
|
3353
|
+
deploymentId: PublicIdSchema;
|
|
3354
|
+
}, z.core.$strip>;
|
|
3355
|
+
readonly kind: "read";
|
|
3356
|
+
readonly name: "deployment.listTriggerEvaluations";
|
|
3357
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3358
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
3359
|
+
triggerId: z.ZodOptional<PublicIdSchema>;
|
|
3360
|
+
triggerName: z.ZodString;
|
|
3361
|
+
verdict: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3362
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
3363
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3364
|
+
kind: z.ZodEnum<{
|
|
3365
|
+
branch: "branch";
|
|
3366
|
+
deployTarget: "deployTarget";
|
|
3367
|
+
environment: "environment";
|
|
3368
|
+
}>;
|
|
3369
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3371
|
+
kind: z.ZodEnum<{
|
|
3372
|
+
branch: "branch";
|
|
3373
|
+
deployTarget: "deployTarget";
|
|
3374
|
+
environment: "environment";
|
|
3375
|
+
}>;
|
|
3376
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3377
|
+
reason: z.ZodString;
|
|
3378
|
+
}, z.core.$strip>], "outcome">>;
|
|
3379
|
+
outcome: z.ZodEnum<{
|
|
3380
|
+
matched: "matched";
|
|
3381
|
+
"did-not-match": "did-not-match";
|
|
3382
|
+
}>;
|
|
3383
|
+
}, z.core.$strip>>;
|
|
3384
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3385
|
+
run: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3386
|
+
runId: PublicIdSchema;
|
|
3387
|
+
status: z.ZodLiteral<"ran">;
|
|
3388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3389
|
+
status: z.ZodLiteral<"starting">;
|
|
3390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3391
|
+
reason: z.ZodString;
|
|
3392
|
+
status: z.ZodLiteral<"did-not-run">;
|
|
3393
|
+
supersededByRunId: z.ZodOptional<PublicIdSchema>;
|
|
3394
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3395
|
+
status: z.ZodLiteral<"unknown">;
|
|
3396
|
+
}, z.core.$strip>], "status">;
|
|
3397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3398
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
3399
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3400
|
+
kind: z.ZodEnum<{
|
|
3401
|
+
branch: "branch";
|
|
3402
|
+
deployTarget: "deployTarget";
|
|
3403
|
+
environment: "environment";
|
|
3404
|
+
}>;
|
|
3405
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3407
|
+
kind: z.ZodEnum<{
|
|
3408
|
+
branch: "branch";
|
|
3409
|
+
deployTarget: "deployTarget";
|
|
3410
|
+
environment: "environment";
|
|
3411
|
+
}>;
|
|
3412
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3413
|
+
reason: z.ZodString;
|
|
3414
|
+
}, z.core.$strip>], "outcome">>;
|
|
3415
|
+
outcome: z.ZodEnum<{
|
|
3416
|
+
matched: "matched";
|
|
3417
|
+
"did-not-match": "did-not-match";
|
|
3418
|
+
}>;
|
|
3419
|
+
}, z.core.$strip>>;
|
|
3420
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3421
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3422
|
+
outcome: z.ZodLiteral<"not-considered">;
|
|
3423
|
+
reason: z.ZodEnum<{
|
|
3424
|
+
"trigger-paused": "trigger-paused";
|
|
3425
|
+
"not-a-deployment-trigger": "not-a-deployment-trigger";
|
|
3426
|
+
}>;
|
|
3427
|
+
}, z.core.$strip>], "outcome">;
|
|
3428
|
+
}, z.core.$strip>>;
|
|
3429
|
+
state: z.ZodLiteral<"evaluated">;
|
|
3430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3431
|
+
state: z.ZodLiteral<"not-evaluated">;
|
|
3432
|
+
}, z.core.$strip>], "state">;
|
|
3433
|
+
};
|
|
2843
3434
|
reportStatus: {
|
|
2844
3435
|
readonly annotations: {
|
|
2845
3436
|
readonly destructiveHint: true;
|
|
@@ -3879,6 +4470,124 @@ export declare const publicContractsV1: {
|
|
|
3879
4470
|
}, z.core.$strip>;
|
|
3880
4471
|
};
|
|
3881
4472
|
};
|
|
4473
|
+
legacyTrigger: {
|
|
4474
|
+
find: {
|
|
4475
|
+
readonly annotations: {
|
|
4476
|
+
readonly destructiveHint: false;
|
|
4477
|
+
readonly openWorldHint: false;
|
|
4478
|
+
readonly readOnlyHint: true;
|
|
4479
|
+
};
|
|
4480
|
+
readonly description: string;
|
|
4481
|
+
readonly input: z.ZodObject<{
|
|
4482
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
4483
|
+
static: "static";
|
|
4484
|
+
active: "active";
|
|
4485
|
+
all: "all";
|
|
4486
|
+
}>>;
|
|
4487
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
4488
|
+
}, z.core.$strip>;
|
|
4489
|
+
readonly kind: "read";
|
|
4490
|
+
readonly name: "legacyTrigger.find";
|
|
4491
|
+
readonly output: z.ZodObject<{
|
|
4492
|
+
legacyTriggers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4493
|
+
nextAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4494
|
+
repeatMinutes: z.ZodNumber;
|
|
4495
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4496
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
type: z.ZodLiteral<"scheduled">;
|
|
4498
|
+
environment: z.ZodObject<{
|
|
4499
|
+
id: PublicIdSchema;
|
|
4500
|
+
kind: z.ZodEnum<{
|
|
4501
|
+
static: "static";
|
|
4502
|
+
preview: "preview";
|
|
4503
|
+
}>;
|
|
4504
|
+
name: z.ZodString;
|
|
4505
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4506
|
+
}, z.core.$strip>;
|
|
4507
|
+
id: PublicIdSchema;
|
|
4508
|
+
isPaused: z.ZodBoolean;
|
|
4509
|
+
name: z.ZodString;
|
|
4510
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4511
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
4512
|
+
id: z.ZodString;
|
|
4513
|
+
name: z.ZodString;
|
|
4514
|
+
}, z.core.$strip>>;
|
|
4515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4516
|
+
adaptiveFlowSelection: z.ZodBoolean;
|
|
4517
|
+
branchScope: z.ZodUnion<readonly [z.ZodObject<{
|
|
4518
|
+
kind: z.ZodLiteral<"all-branches">;
|
|
4519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4520
|
+
caseSensitiveGlobs: z.ZodArray<z.ZodString>;
|
|
4521
|
+
kind: z.ZodLiteral<"listed-branches">;
|
|
4522
|
+
negated: z.ZodBoolean;
|
|
4523
|
+
raw: z.ZodString;
|
|
4524
|
+
}, z.core.$strip>]>;
|
|
4525
|
+
codeHostingServiceRepository: z.ZodUnion<readonly [z.ZodObject<{
|
|
4526
|
+
kind: z.ZodLiteral<"any">;
|
|
4527
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4528
|
+
kind: z.ZodLiteral<"none">;
|
|
4529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4530
|
+
id: z.ZodString;
|
|
4531
|
+
kind: z.ZodLiteral<"by-id">;
|
|
4532
|
+
}, z.core.$strip>]>;
|
|
4533
|
+
deploymentPrLabel: z.ZodOptional<z.ZodString>;
|
|
4534
|
+
deploymentType: z.ZodOptional<z.ZodString>;
|
|
4535
|
+
type: z.ZodUnion<readonly [z.ZodLiteral<"generic">, z.ZodLiteral<"pr-testing-button">]>;
|
|
4536
|
+
environment: z.ZodObject<{
|
|
4537
|
+
id: PublicIdSchema;
|
|
4538
|
+
kind: z.ZodEnum<{
|
|
4539
|
+
static: "static";
|
|
4540
|
+
preview: "preview";
|
|
4541
|
+
}>;
|
|
4542
|
+
name: z.ZodString;
|
|
4543
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4544
|
+
}, z.core.$strip>;
|
|
4545
|
+
id: PublicIdSchema;
|
|
4546
|
+
isPaused: z.ZodBoolean;
|
|
4547
|
+
name: z.ZodString;
|
|
4548
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4549
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
4550
|
+
id: z.ZodString;
|
|
4551
|
+
name: z.ZodString;
|
|
4552
|
+
}, z.core.$strip>>;
|
|
4553
|
+
}, z.core.$strip>]>>;
|
|
4554
|
+
}, z.core.$strip>;
|
|
4555
|
+
};
|
|
4556
|
+
pause: {
|
|
4557
|
+
readonly annotations: {
|
|
4558
|
+
readonly destructiveHint: true;
|
|
4559
|
+
readonly openWorldHint: false;
|
|
4560
|
+
readonly readOnlyHint: false;
|
|
4561
|
+
};
|
|
4562
|
+
readonly description: string;
|
|
4563
|
+
readonly input: z.ZodObject<{
|
|
4564
|
+
legacyTriggerId: PublicIdSchema;
|
|
4565
|
+
}, z.core.$strip>;
|
|
4566
|
+
readonly kind: "write";
|
|
4567
|
+
readonly name: "legacyTrigger.pause";
|
|
4568
|
+
readonly output: z.ZodObject<{
|
|
4569
|
+
isPaused: z.ZodBoolean;
|
|
4570
|
+
legacyTriggerId: PublicIdSchema;
|
|
4571
|
+
}, z.core.$strip>;
|
|
4572
|
+
};
|
|
4573
|
+
resume: {
|
|
4574
|
+
readonly annotations: {
|
|
4575
|
+
readonly destructiveHint: true;
|
|
4576
|
+
readonly openWorldHint: true;
|
|
4577
|
+
readonly readOnlyHint: false;
|
|
4578
|
+
};
|
|
4579
|
+
readonly description: string;
|
|
4580
|
+
readonly input: z.ZodObject<{
|
|
4581
|
+
legacyTriggerId: PublicIdSchema;
|
|
4582
|
+
}, z.core.$strip>;
|
|
4583
|
+
readonly kind: "write";
|
|
4584
|
+
readonly name: "legacyTrigger.resume";
|
|
4585
|
+
readonly output: z.ZodObject<{
|
|
4586
|
+
isPaused: z.ZodBoolean;
|
|
4587
|
+
legacyTriggerId: PublicIdSchema;
|
|
4588
|
+
}, z.core.$strip>;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
3882
4591
|
run: {
|
|
3883
4592
|
create: {
|
|
3884
4593
|
readonly annotations: {
|
|
@@ -4664,6 +5373,124 @@ export declare const publicContractsV1: {
|
|
|
4664
5373
|
outcome: z.ZodLiteral<"failure">;
|
|
4665
5374
|
}, z.core.$strip>], "failureReason">], "outcome">;
|
|
4666
5375
|
};
|
|
5376
|
+
performActions: {
|
|
5377
|
+
readonly annotations: {
|
|
5378
|
+
readonly destructiveHint: true;
|
|
5379
|
+
readonly openWorldHint: true;
|
|
5380
|
+
readonly readOnlyHint: false;
|
|
5381
|
+
};
|
|
5382
|
+
readonly description: "Perform a sequence of raw browser 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` and `action-not-supported-on-mobile` reasons holds for each action here.";
|
|
5383
|
+
readonly input: z.ZodObject<{
|
|
5384
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5385
|
+
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
5386
|
+
type: z.ZodLiteral<"click">;
|
|
5387
|
+
x: z.ZodInt;
|
|
5388
|
+
y: z.ZodInt;
|
|
5389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5390
|
+
type: z.ZodLiteral<"double_click">;
|
|
5391
|
+
x: z.ZodInt;
|
|
5392
|
+
y: z.ZodInt;
|
|
5393
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5394
|
+
scroll_x: z.ZodInt;
|
|
5395
|
+
scroll_y: z.ZodInt;
|
|
5396
|
+
type: z.ZodLiteral<"scroll">;
|
|
5397
|
+
x: z.ZodInt;
|
|
5398
|
+
y: z.ZodInt;
|
|
5399
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5400
|
+
type: z.ZodLiteral<"move">;
|
|
5401
|
+
x: z.ZodInt;
|
|
5402
|
+
y: z.ZodInt;
|
|
5403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5404
|
+
path: z.ZodArray<z.ZodObject<{
|
|
5405
|
+
x: z.ZodInt;
|
|
5406
|
+
y: z.ZodInt;
|
|
5407
|
+
}, z.core.$strict>>;
|
|
5408
|
+
type: z.ZodLiteral<"drag">;
|
|
5409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5410
|
+
keys: z.ZodArray<z.ZodString>;
|
|
5411
|
+
type: z.ZodLiteral<"keypress">;
|
|
5412
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5413
|
+
type: z.ZodLiteral<"navigate">;
|
|
5414
|
+
url: z.ZodURL;
|
|
5415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5416
|
+
text: z.ZodString;
|
|
5417
|
+
type: z.ZodLiteral<"type">;
|
|
5418
|
+
}, z.core.$strict>], "type">>;
|
|
5419
|
+
id: z.ZodString;
|
|
5420
|
+
screenshotMode: z.ZodOptional<z.ZodEnum<{
|
|
5421
|
+
none: "none";
|
|
5422
|
+
final: "final";
|
|
5423
|
+
each: "each";
|
|
5424
|
+
}>>;
|
|
5425
|
+
stopOnFailure: z.ZodOptional<z.ZodBoolean>;
|
|
5426
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5427
|
+
}, z.core.$strip>;
|
|
5428
|
+
readonly kind: "write";
|
|
5429
|
+
readonly name: "runner.performActions";
|
|
5430
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5431
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
5432
|
+
lastCompletedIndex: z.ZodInt;
|
|
5433
|
+
outcome: z.ZodLiteral<"success">;
|
|
5434
|
+
results: z.ZodArray<z.ZodObject<{
|
|
5435
|
+
effect: z.ZodLiteral<"performed">;
|
|
5436
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
5437
|
+
index: z.ZodInt;
|
|
5438
|
+
outcome: z.ZodLiteral<"success">;
|
|
5439
|
+
}, z.core.$strip>>;
|
|
5440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5441
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
5442
|
+
failedIndex: z.ZodInt;
|
|
5443
|
+
failureReason: z.ZodEnum<{
|
|
5444
|
+
"runner-unreachable": "runner-unreachable";
|
|
5445
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
5446
|
+
"screen-not-ready": "screen-not-ready";
|
|
5447
|
+
"action-failed": "action-failed";
|
|
5448
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
5449
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
5450
|
+
"out-of-time": "out-of-time";
|
|
5451
|
+
"action-unconfirmed": "action-unconfirmed";
|
|
5452
|
+
}>;
|
|
5453
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
5454
|
+
lastCompletedIndex: z.ZodOptional<z.ZodInt>;
|
|
5455
|
+
outcome: z.ZodLiteral<"failure">;
|
|
5456
|
+
results: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5457
|
+
effect: z.ZodLiteral<"performed">;
|
|
5458
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
5459
|
+
index: z.ZodInt;
|
|
5460
|
+
outcome: z.ZodLiteral<"success">;
|
|
5461
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5462
|
+
effect: z.ZodLiteral<"not-performed">;
|
|
5463
|
+
errorMessage: z.ZodString;
|
|
5464
|
+
failureReason: z.ZodLiteral<"action-failed">;
|
|
5465
|
+
imageJpegBase64: z.ZodOptional<z.ZodString>;
|
|
5466
|
+
index: z.ZodInt;
|
|
5467
|
+
outcome: z.ZodLiteral<"failure">;
|
|
5468
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5469
|
+
effect: z.ZodLiteral<"unknown">;
|
|
5470
|
+
failureReason: z.ZodLiteral<"runner-unreachable">;
|
|
5471
|
+
index: z.ZodInt;
|
|
5472
|
+
outcome: z.ZodLiteral<"failure">;
|
|
5473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5474
|
+
effect: z.ZodLiteral<"unknown">;
|
|
5475
|
+
errorMessage: z.ZodString;
|
|
5476
|
+
failureReason: z.ZodLiteral<"action-unconfirmed">;
|
|
5477
|
+
index: z.ZodInt;
|
|
5478
|
+
outcome: z.ZodLiteral<"failure">;
|
|
5479
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5480
|
+
effect: z.ZodLiteral<"not-performed">;
|
|
5481
|
+
failureReason: z.ZodEnum<{
|
|
5482
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
5483
|
+
"screen-not-ready": "screen-not-ready";
|
|
5484
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
5485
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
5486
|
+
"out-of-time": "out-of-time";
|
|
5487
|
+
}>;
|
|
5488
|
+
index: z.ZodInt;
|
|
5489
|
+
outcome: z.ZodLiteral<"failure">;
|
|
5490
|
+
}, z.core.$strip>], "failureReason">], "outcome">>;
|
|
5491
|
+
stoppedEarly: z.ZodBoolean;
|
|
5492
|
+
}, z.core.$strip>], "outcome">;
|
|
5493
|
+
};
|
|
4667
5494
|
promoteSnapshot: {
|
|
4668
5495
|
readonly annotations: {
|
|
4669
5496
|
readonly destructiveHint: true;
|
|
@@ -4848,6 +5675,47 @@ export declare const publicContractsV1: {
|
|
|
4848
5675
|
}, z.core.$strip>;
|
|
4849
5676
|
};
|
|
4850
5677
|
};
|
|
5678
|
+
skill: {
|
|
5679
|
+
get: {
|
|
5680
|
+
readonly annotations: {
|
|
5681
|
+
readonly destructiveHint: false;
|
|
5682
|
+
readonly openWorldHint: false;
|
|
5683
|
+
readonly readOnlyHint: true;
|
|
5684
|
+
};
|
|
5685
|
+
readonly description: "Read a QA Wolf skill: the instructions a coding agent follows for one kind of QA Wolf work. The reply carries the skill's SKILL.md and every file under its references directory, so nothing else has to be fetched for it. Read the skill before starting the work it covers and follow it. A link in the reply of the form ../<skill>/SKILL.md names another skill, which this call reads by that name.";
|
|
5686
|
+
readonly input: z.ZodObject<{
|
|
5687
|
+
name: z.ZodString;
|
|
5688
|
+
}, z.core.$strip>;
|
|
5689
|
+
readonly kind: "read";
|
|
5690
|
+
readonly name: "skill.get";
|
|
5691
|
+
readonly output: z.ZodObject<{
|
|
5692
|
+
description: z.ZodString;
|
|
5693
|
+
name: z.ZodString;
|
|
5694
|
+
instructions: z.ZodString;
|
|
5695
|
+
references: z.ZodArray<z.ZodObject<{
|
|
5696
|
+
path: z.ZodString;
|
|
5697
|
+
text: z.ZodString;
|
|
5698
|
+
}, z.core.$strip>>;
|
|
5699
|
+
}, z.core.$strip>;
|
|
5700
|
+
};
|
|
5701
|
+
list: {
|
|
5702
|
+
readonly annotations: {
|
|
5703
|
+
readonly destructiveHint: false;
|
|
5704
|
+
readonly openWorldHint: false;
|
|
5705
|
+
readonly readOnlyHint: true;
|
|
5706
|
+
};
|
|
5707
|
+
readonly description: "List the QA Wolf skills, each with its name and the description that says when to use it. A skill is the instructions a coding agent follows for one kind of QA Wolf work, such as onboarding an application, creating a flow, repairing a failing flow, or setting up triggers. Call this before any QA Wolf work, pick the skill whose description matches the request, and read it with skill.get.";
|
|
5708
|
+
readonly input: z.ZodObject<{}, z.core.$strip>;
|
|
5709
|
+
readonly kind: "read";
|
|
5710
|
+
readonly name: "skill.list";
|
|
5711
|
+
readonly output: z.ZodObject<{
|
|
5712
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
5713
|
+
description: z.ZodString;
|
|
5714
|
+
name: z.ZodString;
|
|
5715
|
+
}, z.core.$strip>>;
|
|
5716
|
+
}, z.core.$strip>;
|
|
5717
|
+
};
|
|
5718
|
+
};
|
|
4851
5719
|
tag: {
|
|
4852
5720
|
create: {
|
|
4853
5721
|
readonly annotations: {
|
|
@@ -4918,7 +5786,17 @@ export declare const publicContractsV1: {
|
|
|
4918
5786
|
cadence: z.ZodEnum<{
|
|
4919
5787
|
hourly: "hourly";
|
|
4920
5788
|
daily: "daily";
|
|
5789
|
+
weekly: "weekly";
|
|
4921
5790
|
}>;
|
|
5791
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5792
|
+
monday: "monday";
|
|
5793
|
+
tuesday: "tuesday";
|
|
5794
|
+
wednesday: "wednesday";
|
|
5795
|
+
thursday: "thursday";
|
|
5796
|
+
friday: "friday";
|
|
5797
|
+
saturday: "saturday";
|
|
5798
|
+
sunday: "sunday";
|
|
5799
|
+
}>>;
|
|
4922
5800
|
environmentId: PublicIdSchema;
|
|
4923
5801
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4924
5802
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -4963,7 +5841,17 @@ export declare const publicContractsV1: {
|
|
|
4963
5841
|
cadence: z.ZodEnum<{
|
|
4964
5842
|
hourly: "hourly";
|
|
4965
5843
|
daily: "daily";
|
|
5844
|
+
weekly: "weekly";
|
|
4966
5845
|
}>;
|
|
5846
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5847
|
+
monday: "monday";
|
|
5848
|
+
tuesday: "tuesday";
|
|
5849
|
+
wednesday: "wednesday";
|
|
5850
|
+
thursday: "thursday";
|
|
5851
|
+
friday: "friday";
|
|
5852
|
+
saturday: "saturday";
|
|
5853
|
+
sunday: "sunday";
|
|
5854
|
+
}>>;
|
|
4967
5855
|
environmentId: PublicIdSchema;
|
|
4968
5856
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4969
5857
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5046,7 +5934,17 @@ export declare const publicContractsV1: {
|
|
|
5046
5934
|
cadence: z.ZodEnum<{
|
|
5047
5935
|
hourly: "hourly";
|
|
5048
5936
|
daily: "daily";
|
|
5937
|
+
weekly: "weekly";
|
|
5049
5938
|
}>;
|
|
5939
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5940
|
+
monday: "monday";
|
|
5941
|
+
tuesday: "tuesday";
|
|
5942
|
+
wednesday: "wednesday";
|
|
5943
|
+
thursday: "thursday";
|
|
5944
|
+
friday: "friday";
|
|
5945
|
+
saturday: "saturday";
|
|
5946
|
+
sunday: "sunday";
|
|
5947
|
+
}>>;
|
|
5050
5948
|
environmentId: PublicIdSchema;
|
|
5051
5949
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5052
5950
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5112,7 +6010,17 @@ export declare const publicContractsV1: {
|
|
|
5112
6010
|
cadence: z.ZodEnum<{
|
|
5113
6011
|
hourly: "hourly";
|
|
5114
6012
|
daily: "daily";
|
|
6013
|
+
weekly: "weekly";
|
|
5115
6014
|
}>;
|
|
6015
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6016
|
+
monday: "monday";
|
|
6017
|
+
tuesday: "tuesday";
|
|
6018
|
+
wednesday: "wednesday";
|
|
6019
|
+
thursday: "thursday";
|
|
6020
|
+
friday: "friday";
|
|
6021
|
+
saturday: "saturday";
|
|
6022
|
+
sunday: "sunday";
|
|
6023
|
+
}>>;
|
|
5116
6024
|
environmentId: PublicIdSchema;
|
|
5117
6025
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5118
6026
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5178,7 +6086,17 @@ export declare const publicContractsV1: {
|
|
|
5178
6086
|
cadence: z.ZodEnum<{
|
|
5179
6087
|
hourly: "hourly";
|
|
5180
6088
|
daily: "daily";
|
|
6089
|
+
weekly: "weekly";
|
|
5181
6090
|
}>;
|
|
6091
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6092
|
+
monday: "monday";
|
|
6093
|
+
tuesday: "tuesday";
|
|
6094
|
+
wednesday: "wednesday";
|
|
6095
|
+
thursday: "thursday";
|
|
6096
|
+
friday: "friday";
|
|
6097
|
+
saturday: "saturday";
|
|
6098
|
+
sunday: "sunday";
|
|
6099
|
+
}>>;
|
|
5182
6100
|
environmentId: PublicIdSchema;
|
|
5183
6101
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5184
6102
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5244,7 +6162,17 @@ export declare const publicContractsV1: {
|
|
|
5244
6162
|
cadence: z.ZodEnum<{
|
|
5245
6163
|
hourly: "hourly";
|
|
5246
6164
|
daily: "daily";
|
|
6165
|
+
weekly: "weekly";
|
|
5247
6166
|
}>;
|
|
6167
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6168
|
+
monday: "monday";
|
|
6169
|
+
tuesday: "tuesday";
|
|
6170
|
+
wednesday: "wednesday";
|
|
6171
|
+
thursday: "thursday";
|
|
6172
|
+
friday: "friday";
|
|
6173
|
+
saturday: "saturday";
|
|
6174
|
+
sunday: "sunday";
|
|
6175
|
+
}>>;
|
|
5248
6176
|
environmentId: PublicIdSchema;
|
|
5249
6177
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5250
6178
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5303,7 +6231,17 @@ export declare const publicContractsV1: {
|
|
|
5303
6231
|
cadence: z.ZodEnum<{
|
|
5304
6232
|
hourly: "hourly";
|
|
5305
6233
|
daily: "daily";
|
|
6234
|
+
weekly: "weekly";
|
|
5306
6235
|
}>;
|
|
6236
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6237
|
+
monday: "monday";
|
|
6238
|
+
tuesday: "tuesday";
|
|
6239
|
+
wednesday: "wednesday";
|
|
6240
|
+
thursday: "thursday";
|
|
6241
|
+
friday: "friday";
|
|
6242
|
+
saturday: "saturday";
|
|
6243
|
+
sunday: "sunday";
|
|
6244
|
+
}>>;
|
|
5307
6245
|
environmentId: PublicIdSchema;
|
|
5308
6246
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5309
6247
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5348,7 +6286,17 @@ export declare const publicContractsV1: {
|
|
|
5348
6286
|
cadence: z.ZodEnum<{
|
|
5349
6287
|
hourly: "hourly";
|
|
5350
6288
|
daily: "daily";
|
|
6289
|
+
weekly: "weekly";
|
|
5351
6290
|
}>;
|
|
6291
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6292
|
+
monday: "monday";
|
|
6293
|
+
tuesday: "tuesday";
|
|
6294
|
+
wednesday: "wednesday";
|
|
6295
|
+
thursday: "thursday";
|
|
6296
|
+
friday: "friday";
|
|
6297
|
+
saturday: "saturday";
|
|
6298
|
+
sunday: "sunday";
|
|
6299
|
+
}>>;
|
|
5352
6300
|
environmentId: PublicIdSchema;
|
|
5353
6301
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5354
6302
|
timeOfDay: z.ZodOptional<z.ZodString>;
|