@qawolf/api-contracts 0.59.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/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/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 +4 -3
- 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 +717 -43
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +9 -49
- 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/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: {
|
|
@@ -62,6 +62,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
62
62
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
63
63
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
64
|
message: z.ZodString;
|
|
65
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
65
66
|
sessionId: z.ZodOptional<ChatSessionId>;
|
|
66
67
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
67
68
|
}, z.core.$strip>;
|
|
@@ -80,27 +81,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
80
81
|
}, z.core.$strip>;
|
|
81
82
|
};
|
|
82
83
|
};
|
|
83
|
-
automate: {
|
|
84
|
-
readonly annotations: {
|
|
85
|
-
readonly destructiveHint: true;
|
|
86
|
-
readonly openWorldHint: true;
|
|
87
|
-
readonly readOnlyHint: false;
|
|
88
|
-
};
|
|
89
|
-
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.";
|
|
90
|
-
readonly input: z.ZodObject<{
|
|
91
|
-
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
92
|
-
environmentId: PublicIdSchema;
|
|
93
|
-
flowIds: z.ZodArray<FlowId>;
|
|
94
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
95
|
-
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
96
|
-
}, z.core.$strip>;
|
|
97
|
-
readonly kind: "write";
|
|
98
|
-
readonly name: "automate";
|
|
99
|
-
readonly output: z.ZodObject<{
|
|
100
|
-
automationId: AutomationId;
|
|
101
|
-
url: z.ZodURL;
|
|
102
|
-
}, z.core.$strip>;
|
|
103
|
-
};
|
|
104
84
|
codeHostIntegration: {
|
|
105
85
|
find: {
|
|
106
86
|
readonly annotations: {
|
|
@@ -1328,6 +1308,124 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1328
1308
|
}, z.core.$strip>;
|
|
1329
1309
|
};
|
|
1330
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
|
+
};
|
|
1331
1429
|
run: {
|
|
1332
1430
|
create: {
|
|
1333
1431
|
readonly annotations: {
|
|
@@ -2113,6 +2211,124 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2113
2211
|
outcome: z.ZodLiteral<"failure">;
|
|
2114
2212
|
}, z.core.$strip>], "failureReason">], "outcome">;
|
|
2115
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
|
+
};
|
|
2116
2332
|
promoteSnapshot: {
|
|
2117
2333
|
readonly annotations: {
|
|
2118
2334
|
readonly destructiveHint: true;
|
|
@@ -2297,6 +2513,47 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2297
2513
|
}, z.core.$strip>;
|
|
2298
2514
|
};
|
|
2299
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
|
+
};
|
|
2300
2557
|
tag: {
|
|
2301
2558
|
create: {
|
|
2302
2559
|
readonly annotations: {
|
|
@@ -2367,7 +2624,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2367
2624
|
cadence: z.ZodEnum<{
|
|
2368
2625
|
hourly: "hourly";
|
|
2369
2626
|
daily: "daily";
|
|
2627
|
+
weekly: "weekly";
|
|
2370
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
|
+
}>>;
|
|
2371
2638
|
environmentId: PublicIdSchema;
|
|
2372
2639
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2373
2640
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2412,7 +2679,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2412
2679
|
cadence: z.ZodEnum<{
|
|
2413
2680
|
hourly: "hourly";
|
|
2414
2681
|
daily: "daily";
|
|
2682
|
+
weekly: "weekly";
|
|
2415
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
|
+
}>>;
|
|
2416
2693
|
environmentId: EnvironmentId;
|
|
2417
2694
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2418
2695
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2495,7 +2772,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2495
2772
|
cadence: z.ZodEnum<{
|
|
2496
2773
|
hourly: "hourly";
|
|
2497
2774
|
daily: "daily";
|
|
2775
|
+
weekly: "weekly";
|
|
2498
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
|
+
}>>;
|
|
2499
2786
|
environmentId: EnvironmentId;
|
|
2500
2787
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2501
2788
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2561,7 +2848,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2561
2848
|
cadence: z.ZodEnum<{
|
|
2562
2849
|
hourly: "hourly";
|
|
2563
2850
|
daily: "daily";
|
|
2851
|
+
weekly: "weekly";
|
|
2564
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
|
+
}>>;
|
|
2565
2862
|
environmentId: EnvironmentId;
|
|
2566
2863
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2567
2864
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2627,7 +2924,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2627
2924
|
cadence: z.ZodEnum<{
|
|
2628
2925
|
hourly: "hourly";
|
|
2629
2926
|
daily: "daily";
|
|
2927
|
+
weekly: "weekly";
|
|
2630
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
|
+
}>>;
|
|
2631
2938
|
environmentId: EnvironmentId;
|
|
2632
2939
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2633
2940
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2693,7 +3000,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2693
3000
|
cadence: z.ZodEnum<{
|
|
2694
3001
|
hourly: "hourly";
|
|
2695
3002
|
daily: "daily";
|
|
3003
|
+
weekly: "weekly";
|
|
2696
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
|
+
}>>;
|
|
2697
3014
|
environmentId: EnvironmentId;
|
|
2698
3015
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2699
3016
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2752,7 +3069,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2752
3069
|
cadence: z.ZodEnum<{
|
|
2753
3070
|
hourly: "hourly";
|
|
2754
3071
|
daily: "daily";
|
|
3072
|
+
weekly: "weekly";
|
|
2755
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
|
+
}>>;
|
|
2756
3083
|
environmentId: PublicIdSchema;
|
|
2757
3084
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2758
3085
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2797,7 +3124,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2797
3124
|
cadence: z.ZodEnum<{
|
|
2798
3125
|
hourly: "hourly";
|
|
2799
3126
|
daily: "daily";
|
|
3127
|
+
weekly: "weekly";
|
|
2800
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
|
+
}>>;
|
|
2801
3138
|
environmentId: EnvironmentId;
|
|
2802
3139
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
2803
3140
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -2887,6 +3224,7 @@ export declare const publicContractsV1: {
|
|
|
2887
3224
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
2888
3225
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2889
3226
|
message: z.ZodString;
|
|
3227
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
2890
3228
|
sessionId: z.ZodOptional<PublicIdSchema>;
|
|
2891
3229
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2892
3230
|
}, z.core.$strip>;
|
|
@@ -2905,27 +3243,6 @@ export declare const publicContractsV1: {
|
|
|
2905
3243
|
}, z.core.$strip>;
|
|
2906
3244
|
};
|
|
2907
3245
|
};
|
|
2908
|
-
automate: {
|
|
2909
|
-
readonly annotations: {
|
|
2910
|
-
readonly destructiveHint: true;
|
|
2911
|
-
readonly openWorldHint: true;
|
|
2912
|
-
readonly readOnlyHint: false;
|
|
2913
|
-
};
|
|
2914
|
-
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.";
|
|
2915
|
-
readonly input: z.ZodObject<{
|
|
2916
|
-
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
2917
|
-
environmentId: PublicIdSchema;
|
|
2918
|
-
flowIds: z.ZodArray<PublicIdSchema>;
|
|
2919
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
2920
|
-
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2921
|
-
}, z.core.$strip>;
|
|
2922
|
-
readonly kind: "write";
|
|
2923
|
-
readonly name: "automate";
|
|
2924
|
-
readonly output: z.ZodObject<{
|
|
2925
|
-
automationId: PublicIdSchema;
|
|
2926
|
-
url: z.ZodURL;
|
|
2927
|
-
}, z.core.$strip>;
|
|
2928
|
-
};
|
|
2929
3246
|
codeHostIntegration: {
|
|
2930
3247
|
find: {
|
|
2931
3248
|
readonly annotations: {
|
|
@@ -4153,6 +4470,124 @@ export declare const publicContractsV1: {
|
|
|
4153
4470
|
}, z.core.$strip>;
|
|
4154
4471
|
};
|
|
4155
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
|
+
};
|
|
4156
4591
|
run: {
|
|
4157
4592
|
create: {
|
|
4158
4593
|
readonly annotations: {
|
|
@@ -4938,6 +5373,124 @@ export declare const publicContractsV1: {
|
|
|
4938
5373
|
outcome: z.ZodLiteral<"failure">;
|
|
4939
5374
|
}, z.core.$strip>], "failureReason">], "outcome">;
|
|
4940
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
|
+
};
|
|
4941
5494
|
promoteSnapshot: {
|
|
4942
5495
|
readonly annotations: {
|
|
4943
5496
|
readonly destructiveHint: true;
|
|
@@ -5122,6 +5675,47 @@ export declare const publicContractsV1: {
|
|
|
5122
5675
|
}, z.core.$strip>;
|
|
5123
5676
|
};
|
|
5124
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
|
+
};
|
|
5125
5719
|
tag: {
|
|
5126
5720
|
create: {
|
|
5127
5721
|
readonly annotations: {
|
|
@@ -5192,7 +5786,17 @@ export declare const publicContractsV1: {
|
|
|
5192
5786
|
cadence: z.ZodEnum<{
|
|
5193
5787
|
hourly: "hourly";
|
|
5194
5788
|
daily: "daily";
|
|
5789
|
+
weekly: "weekly";
|
|
5195
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
|
+
}>>;
|
|
5196
5800
|
environmentId: PublicIdSchema;
|
|
5197
5801
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5198
5802
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5237,7 +5841,17 @@ export declare const publicContractsV1: {
|
|
|
5237
5841
|
cadence: z.ZodEnum<{
|
|
5238
5842
|
hourly: "hourly";
|
|
5239
5843
|
daily: "daily";
|
|
5844
|
+
weekly: "weekly";
|
|
5240
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
|
+
}>>;
|
|
5241
5855
|
environmentId: PublicIdSchema;
|
|
5242
5856
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5243
5857
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5320,7 +5934,17 @@ export declare const publicContractsV1: {
|
|
|
5320
5934
|
cadence: z.ZodEnum<{
|
|
5321
5935
|
hourly: "hourly";
|
|
5322
5936
|
daily: "daily";
|
|
5937
|
+
weekly: "weekly";
|
|
5323
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
|
+
}>>;
|
|
5324
5948
|
environmentId: PublicIdSchema;
|
|
5325
5949
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5326
5950
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5386,7 +6010,17 @@ export declare const publicContractsV1: {
|
|
|
5386
6010
|
cadence: z.ZodEnum<{
|
|
5387
6011
|
hourly: "hourly";
|
|
5388
6012
|
daily: "daily";
|
|
6013
|
+
weekly: "weekly";
|
|
5389
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
|
+
}>>;
|
|
5390
6024
|
environmentId: PublicIdSchema;
|
|
5391
6025
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5392
6026
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5452,7 +6086,17 @@ export declare const publicContractsV1: {
|
|
|
5452
6086
|
cadence: z.ZodEnum<{
|
|
5453
6087
|
hourly: "hourly";
|
|
5454
6088
|
daily: "daily";
|
|
6089
|
+
weekly: "weekly";
|
|
5455
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
|
+
}>>;
|
|
5456
6100
|
environmentId: PublicIdSchema;
|
|
5457
6101
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5458
6102
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5518,7 +6162,17 @@ export declare const publicContractsV1: {
|
|
|
5518
6162
|
cadence: z.ZodEnum<{
|
|
5519
6163
|
hourly: "hourly";
|
|
5520
6164
|
daily: "daily";
|
|
6165
|
+
weekly: "weekly";
|
|
5521
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
|
+
}>>;
|
|
5522
6176
|
environmentId: PublicIdSchema;
|
|
5523
6177
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5524
6178
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5577,7 +6231,17 @@ export declare const publicContractsV1: {
|
|
|
5577
6231
|
cadence: z.ZodEnum<{
|
|
5578
6232
|
hourly: "hourly";
|
|
5579
6233
|
daily: "daily";
|
|
6234
|
+
weekly: "weekly";
|
|
5580
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
|
+
}>>;
|
|
5581
6245
|
environmentId: PublicIdSchema;
|
|
5582
6246
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5583
6247
|
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
@@ -5622,7 +6286,17 @@ export declare const publicContractsV1: {
|
|
|
5622
6286
|
cadence: z.ZodEnum<{
|
|
5623
6287
|
hourly: "hourly";
|
|
5624
6288
|
daily: "daily";
|
|
6289
|
+
weekly: "weekly";
|
|
5625
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
|
+
}>>;
|
|
5626
6300
|
environmentId: PublicIdSchema;
|
|
5627
6301
|
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5628
6302
|
timeOfDay: z.ZodOptional<z.ZodString>;
|