autokap 1.2.0 → 1.3.2
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/assets/skill/OPCODE-REFERENCE.md +18 -1
- package/assets/skill/SKILL.md +54 -11
- package/dist/browser.js +23 -1
- package/dist/capture-strategy.d.ts +14 -0
- package/dist/capture-strategy.js +28 -0
- package/dist/cli-contract.d.ts +61 -0
- package/dist/cli-runner.d.ts +10 -1
- package/dist/cli-runner.js +415 -20
- package/dist/cli.js +124 -2
- package/dist/clip-capture-loop.js +11 -2
- package/dist/cookie-dismiss.d.ts +1 -0
- package/dist/cookie-dismiss.js +13 -1
- package/dist/execution-schema.d.ts +303 -2
- package/dist/execution-schema.js +77 -4
- package/dist/execution-types.d.ts +114 -5
- package/dist/execution-types.js +2 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -0
- package/dist/mouse-animation.d.ts +12 -2
- package/dist/mouse-animation.js +36 -6
- package/dist/opcode-actions.d.ts +2 -0
- package/dist/opcode-actions.js +39 -5
- package/dist/opcode-runner.d.ts +2 -0
- package/dist/opcode-runner.js +139 -17
- package/dist/openrouter-tts.d.ts +74 -0
- package/dist/openrouter-tts.js +218 -0
- package/dist/postcondition.js +36 -26
- package/dist/program-signing.d.ts +67 -0
- package/dist/recovery-chain.js +26 -12
- package/dist/server-credit-usage.d.ts +1 -1
- package/dist/video-narration-schema.d.ts +1165 -0
- package/dist/video-narration-schema.js +137 -0
- package/dist/web-playwright-local.d.ts +16 -0
- package/dist/web-playwright-local.js +204 -18
- package/package.json +9 -1
|
@@ -58,6 +58,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
58
58
|
}, z.core.$strict>;
|
|
59
59
|
timeoutMs: z.ZodNumber;
|
|
60
60
|
maxFailures: z.ZodNumber;
|
|
61
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
61
62
|
kind: z.ZodLiteral<"NAVIGATE">;
|
|
62
63
|
}, z.core.$strict>, z.ZodObject<{
|
|
63
64
|
description: z.ZodString;
|
|
@@ -87,6 +88,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
87
88
|
}, z.core.$strict>;
|
|
88
89
|
timeoutMs: z.ZodNumber;
|
|
89
90
|
maxFailures: z.ZodNumber;
|
|
91
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
90
92
|
kind: z.ZodLiteral<"DISMISS_OVERLAYS">;
|
|
91
93
|
}, z.core.$strict>, z.ZodObject<{
|
|
92
94
|
urlPattern: z.ZodString;
|
|
@@ -117,6 +119,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
117
119
|
}, z.core.$strict>;
|
|
118
120
|
timeoutMs: z.ZodNumber;
|
|
119
121
|
maxFailures: z.ZodNumber;
|
|
122
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
120
123
|
kind: z.ZodLiteral<"ASSERT_ROUTE">;
|
|
121
124
|
}, z.core.$strict>, z.ZodObject<{
|
|
122
125
|
selectors: z.ZodArray<z.ZodString>;
|
|
@@ -148,6 +151,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
148
151
|
}, z.core.$strict>;
|
|
149
152
|
timeoutMs: z.ZodNumber;
|
|
150
153
|
maxFailures: z.ZodNumber;
|
|
154
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
151
155
|
kind: z.ZodLiteral<"ASSERT_SURFACE">;
|
|
152
156
|
}, z.core.$strict>, z.ZodObject<{
|
|
153
157
|
selector: z.ZodString;
|
|
@@ -192,6 +196,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
192
196
|
}, z.core.$strict>;
|
|
193
197
|
timeoutMs: z.ZodNumber;
|
|
194
198
|
maxFailures: z.ZodNumber;
|
|
199
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
195
200
|
kind: z.ZodLiteral<"CLICK">;
|
|
196
201
|
}, z.core.$strict>, z.ZodObject<{
|
|
197
202
|
selector: z.ZodString;
|
|
@@ -235,6 +240,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
235
240
|
}, z.core.$strict>;
|
|
236
241
|
timeoutMs: z.ZodNumber;
|
|
237
242
|
maxFailures: z.ZodNumber;
|
|
243
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
238
244
|
kind: z.ZodLiteral<"TYPE">;
|
|
239
245
|
}, z.core.$strict>, z.ZodObject<{
|
|
240
246
|
key: z.ZodString;
|
|
@@ -265,6 +271,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
265
271
|
}, z.core.$strict>;
|
|
266
272
|
timeoutMs: z.ZodNumber;
|
|
267
273
|
maxFailures: z.ZodNumber;
|
|
274
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
268
275
|
kind: z.ZodLiteral<"PRESS_KEY">;
|
|
269
276
|
}, z.core.$strict>, z.ZodObject<{
|
|
270
277
|
selector: z.ZodOptional<z.ZodString>;
|
|
@@ -307,7 +314,41 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
307
314
|
}, z.core.$strict>;
|
|
308
315
|
timeoutMs: z.ZodNumber;
|
|
309
316
|
maxFailures: z.ZodNumber;
|
|
317
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
310
318
|
kind: z.ZodLiteral<"WAIT_FOR">;
|
|
319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
320
|
+
durationMs: z.ZodNumber;
|
|
321
|
+
narrationText: z.ZodOptional<z.ZodString>;
|
|
322
|
+
narrationTextByLocale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
323
|
+
description: z.ZodString;
|
|
324
|
+
postcondition: z.ZodObject<{
|
|
325
|
+
type: z.ZodEnum<{
|
|
326
|
+
route_matches: "route_matches";
|
|
327
|
+
element_visible: "element_visible";
|
|
328
|
+
element_absent: "element_absent";
|
|
329
|
+
text_contains: "text_contains";
|
|
330
|
+
overlay_dismissed: "overlay_dismissed";
|
|
331
|
+
screenshot_stable: "screenshot_stable";
|
|
332
|
+
any_change: "any_change";
|
|
333
|
+
always: "always";
|
|
334
|
+
}>;
|
|
335
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
336
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
337
|
+
text: z.ZodOptional<z.ZodString>;
|
|
338
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
}, z.core.$strict>;
|
|
341
|
+
recovery: z.ZodObject<{
|
|
342
|
+
retries: z.ZodNumber;
|
|
343
|
+
useSelectorMemory: z.ZodBoolean;
|
|
344
|
+
useAltInteraction: z.ZodBoolean;
|
|
345
|
+
allowReload: z.ZodBoolean;
|
|
346
|
+
allowHealer: z.ZodBoolean;
|
|
347
|
+
}, z.core.$strict>;
|
|
348
|
+
timeoutMs: z.ZodNumber;
|
|
349
|
+
maxFailures: z.ZodNumber;
|
|
350
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
351
|
+
kind: z.ZodLiteral<"SLEEP">;
|
|
311
352
|
}, z.core.$strict>, z.ZodObject<{
|
|
312
353
|
locale: z.ZodString;
|
|
313
354
|
method: z.ZodEnum<{
|
|
@@ -352,6 +393,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
352
393
|
}, z.core.$strict>;
|
|
353
394
|
timeoutMs: z.ZodNumber;
|
|
354
395
|
maxFailures: z.ZodNumber;
|
|
396
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
355
397
|
kind: z.ZodLiteral<"SET_LOCALE">;
|
|
356
398
|
}, z.core.$strict>, z.ZodObject<{
|
|
357
399
|
theme: z.ZodEnum<{
|
|
@@ -401,6 +443,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
401
443
|
}, z.core.$strict>;
|
|
402
444
|
timeoutMs: z.ZodNumber;
|
|
403
445
|
maxFailures: z.ZodNumber;
|
|
446
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
404
447
|
kind: z.ZodLiteral<"SET_THEME">;
|
|
405
448
|
}, z.core.$strict>, z.ZodObject<{
|
|
406
449
|
direction: z.ZodEnum<{
|
|
@@ -446,6 +489,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
446
489
|
}, z.core.$strict>;
|
|
447
490
|
timeoutMs: z.ZodNumber;
|
|
448
491
|
maxFailures: z.ZodNumber;
|
|
492
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
449
493
|
kind: z.ZodLiteral<"SCROLL">;
|
|
450
494
|
}, z.core.$strict>, z.ZodObject<{
|
|
451
495
|
captureId: z.ZodOptional<z.ZodString>;
|
|
@@ -478,6 +522,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
478
522
|
}, z.core.$strict>;
|
|
479
523
|
timeoutMs: z.ZodNumber;
|
|
480
524
|
maxFailures: z.ZodNumber;
|
|
525
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
481
526
|
kind: z.ZodLiteral<"CAPTURE_SCREENSHOT">;
|
|
482
527
|
}, z.core.$strict>, z.ZodObject<{
|
|
483
528
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -509,6 +554,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
509
554
|
}, z.core.$strict>;
|
|
510
555
|
timeoutMs: z.ZodNumber;
|
|
511
556
|
maxFailures: z.ZodNumber;
|
|
557
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
512
558
|
kind: z.ZodLiteral<"BEGIN_CLIP">;
|
|
513
559
|
}, z.core.$strict>, z.ZodObject<{
|
|
514
560
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -540,6 +586,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
540
586
|
}, z.core.$strict>;
|
|
541
587
|
timeoutMs: z.ZodNumber;
|
|
542
588
|
maxFailures: z.ZodNumber;
|
|
589
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
543
590
|
kind: z.ZodLiteral<"END_CLIP">;
|
|
544
591
|
}, z.core.$strict>, z.ZodObject<{
|
|
545
592
|
selector: z.ZodString;
|
|
@@ -580,6 +627,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
580
627
|
}, z.core.$strict>;
|
|
581
628
|
timeoutMs: z.ZodNumber;
|
|
582
629
|
maxFailures: z.ZodNumber;
|
|
630
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
583
631
|
kind: z.ZodLiteral<"HOVER">;
|
|
584
632
|
}, z.core.$strict>, z.ZodObject<{
|
|
585
633
|
selector: z.ZodString;
|
|
@@ -623,6 +671,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
623
671
|
}, z.core.$strict>;
|
|
624
672
|
timeoutMs: z.ZodNumber;
|
|
625
673
|
maxFailures: z.ZodNumber;
|
|
674
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
626
675
|
kind: z.ZodLiteral<"SELECT_OPTION">;
|
|
627
676
|
}, z.core.$strict>, z.ZodObject<{
|
|
628
677
|
selector: z.ZodString;
|
|
@@ -664,6 +713,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
664
713
|
}, z.core.$strict>;
|
|
665
714
|
timeoutMs: z.ZodNumber;
|
|
666
715
|
maxFailures: z.ZodNumber;
|
|
716
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
667
717
|
kind: z.ZodLiteral<"CHECK">;
|
|
668
718
|
}, z.core.$strict>, z.ZodObject<{
|
|
669
719
|
selector: z.ZodString;
|
|
@@ -704,6 +754,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
704
754
|
}, z.core.$strict>;
|
|
705
755
|
timeoutMs: z.ZodNumber;
|
|
706
756
|
maxFailures: z.ZodNumber;
|
|
757
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
707
758
|
kind: z.ZodLiteral<"DOUBLE_CLICK">;
|
|
708
759
|
}, z.core.$strict>, z.ZodObject<{
|
|
709
760
|
selector: z.ZodString;
|
|
@@ -758,6 +809,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
758
809
|
}, z.core.$strict>;
|
|
759
810
|
timeoutMs: z.ZodNumber;
|
|
760
811
|
maxFailures: z.ZodNumber;
|
|
812
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
761
813
|
kind: z.ZodLiteral<"DRAG">;
|
|
762
814
|
}, z.core.$strict>, z.ZodObject<{
|
|
763
815
|
sourceSelector: z.ZodString;
|
|
@@ -791,6 +843,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
791
843
|
}, z.core.$strict>;
|
|
792
844
|
timeoutMs: z.ZodNumber;
|
|
793
845
|
maxFailures: z.ZodNumber;
|
|
846
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
794
847
|
kind: z.ZodLiteral<"CLONE_ELEMENT">;
|
|
795
848
|
}, z.core.$strict>, z.ZodObject<{
|
|
796
849
|
groupName: z.ZodString;
|
|
@@ -832,6 +885,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
832
885
|
}, z.core.$strict>;
|
|
833
886
|
timeoutMs: z.ZodNumber;
|
|
834
887
|
maxFailures: z.ZodNumber;
|
|
888
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
835
889
|
kind: z.ZodLiteral<"INJECT_MOCK_DATA">;
|
|
836
890
|
}, z.core.$strict>, z.ZodObject<{
|
|
837
891
|
selector: z.ZodString;
|
|
@@ -862,6 +916,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
862
916
|
}, z.core.$strict>;
|
|
863
917
|
timeoutMs: z.ZodNumber;
|
|
864
918
|
maxFailures: z.ZodNumber;
|
|
919
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
865
920
|
kind: z.ZodLiteral<"REMOVE_ELEMENT">;
|
|
866
921
|
}, z.core.$strict>, z.ZodObject<{
|
|
867
922
|
selector: z.ZodString;
|
|
@@ -894,6 +949,7 @@ export declare const ExecutionOpcodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
894
949
|
}, z.core.$strict>;
|
|
895
950
|
timeoutMs: z.ZodNumber;
|
|
896
951
|
maxFailures: z.ZodNumber;
|
|
952
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
897
953
|
kind: z.ZodLiteral<"SET_ATTRIBUTE">;
|
|
898
954
|
}, z.core.$strict>], "kind">;
|
|
899
955
|
export declare const MockDataSlotSchema: z.ZodObject<{
|
|
@@ -1019,6 +1075,7 @@ export declare const PreconditionSpecSchema: z.ZodObject<{
|
|
|
1019
1075
|
}, z.core.$strict>;
|
|
1020
1076
|
export declare const ArtifactSpecSchema: z.ZodObject<{
|
|
1021
1077
|
mediaMode: z.ZodEnum<{
|
|
1078
|
+
video: "video";
|
|
1022
1079
|
clip: "clip";
|
|
1023
1080
|
screenshot: "screenshot";
|
|
1024
1081
|
}>;
|
|
@@ -1032,6 +1089,15 @@ export declare const ArtifactSpecSchema: z.ZodObject<{
|
|
|
1032
1089
|
png: "png";
|
|
1033
1090
|
jpeg: "jpeg";
|
|
1034
1091
|
}>>;
|
|
1092
|
+
captureResolution: z.ZodOptional<z.ZodObject<{
|
|
1093
|
+
width: z.ZodNumber;
|
|
1094
|
+
height: z.ZodNumber;
|
|
1095
|
+
}, z.core.$strict>>;
|
|
1096
|
+
captureFps: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
+
deliveryResolution: z.ZodOptional<z.ZodObject<{
|
|
1098
|
+
width: z.ZodNumber;
|
|
1099
|
+
height: z.ZodNumber;
|
|
1100
|
+
}, z.core.$strict>>;
|
|
1035
1101
|
}, z.core.$strict>>;
|
|
1036
1102
|
cursorTheme: z.ZodOptional<z.ZodEnum<{
|
|
1037
1103
|
minimal: "minimal";
|
|
@@ -1046,6 +1112,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1046
1112
|
presetId: z.ZodString;
|
|
1047
1113
|
programVersion: z.ZodNumber;
|
|
1048
1114
|
mediaMode: z.ZodEnum<{
|
|
1115
|
+
video: "video";
|
|
1049
1116
|
clip: "clip";
|
|
1050
1117
|
screenshot: "screenshot";
|
|
1051
1118
|
}>;
|
|
@@ -1184,6 +1251,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1184
1251
|
}, z.core.$strict>;
|
|
1185
1252
|
timeoutMs: z.ZodNumber;
|
|
1186
1253
|
maxFailures: z.ZodNumber;
|
|
1254
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1187
1255
|
kind: z.ZodLiteral<"NAVIGATE">;
|
|
1188
1256
|
}, z.core.$strict>, z.ZodObject<{
|
|
1189
1257
|
description: z.ZodString;
|
|
@@ -1213,6 +1281,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1213
1281
|
}, z.core.$strict>;
|
|
1214
1282
|
timeoutMs: z.ZodNumber;
|
|
1215
1283
|
maxFailures: z.ZodNumber;
|
|
1284
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1216
1285
|
kind: z.ZodLiteral<"DISMISS_OVERLAYS">;
|
|
1217
1286
|
}, z.core.$strict>, z.ZodObject<{
|
|
1218
1287
|
urlPattern: z.ZodString;
|
|
@@ -1243,6 +1312,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1243
1312
|
}, z.core.$strict>;
|
|
1244
1313
|
timeoutMs: z.ZodNumber;
|
|
1245
1314
|
maxFailures: z.ZodNumber;
|
|
1315
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1246
1316
|
kind: z.ZodLiteral<"ASSERT_ROUTE">;
|
|
1247
1317
|
}, z.core.$strict>, z.ZodObject<{
|
|
1248
1318
|
selectors: z.ZodArray<z.ZodString>;
|
|
@@ -1274,6 +1344,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1274
1344
|
}, z.core.$strict>;
|
|
1275
1345
|
timeoutMs: z.ZodNumber;
|
|
1276
1346
|
maxFailures: z.ZodNumber;
|
|
1347
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1277
1348
|
kind: z.ZodLiteral<"ASSERT_SURFACE">;
|
|
1278
1349
|
}, z.core.$strict>, z.ZodObject<{
|
|
1279
1350
|
selector: z.ZodString;
|
|
@@ -1318,6 +1389,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1318
1389
|
}, z.core.$strict>;
|
|
1319
1390
|
timeoutMs: z.ZodNumber;
|
|
1320
1391
|
maxFailures: z.ZodNumber;
|
|
1392
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1321
1393
|
kind: z.ZodLiteral<"CLICK">;
|
|
1322
1394
|
}, z.core.$strict>, z.ZodObject<{
|
|
1323
1395
|
selector: z.ZodString;
|
|
@@ -1361,6 +1433,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1361
1433
|
}, z.core.$strict>;
|
|
1362
1434
|
timeoutMs: z.ZodNumber;
|
|
1363
1435
|
maxFailures: z.ZodNumber;
|
|
1436
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1364
1437
|
kind: z.ZodLiteral<"TYPE">;
|
|
1365
1438
|
}, z.core.$strict>, z.ZodObject<{
|
|
1366
1439
|
key: z.ZodString;
|
|
@@ -1391,6 +1464,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1391
1464
|
}, z.core.$strict>;
|
|
1392
1465
|
timeoutMs: z.ZodNumber;
|
|
1393
1466
|
maxFailures: z.ZodNumber;
|
|
1467
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1394
1468
|
kind: z.ZodLiteral<"PRESS_KEY">;
|
|
1395
1469
|
}, z.core.$strict>, z.ZodObject<{
|
|
1396
1470
|
selector: z.ZodOptional<z.ZodString>;
|
|
@@ -1433,7 +1507,41 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1433
1507
|
}, z.core.$strict>;
|
|
1434
1508
|
timeoutMs: z.ZodNumber;
|
|
1435
1509
|
maxFailures: z.ZodNumber;
|
|
1510
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1436
1511
|
kind: z.ZodLiteral<"WAIT_FOR">;
|
|
1512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1513
|
+
durationMs: z.ZodNumber;
|
|
1514
|
+
narrationText: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
narrationTextByLocale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1516
|
+
description: z.ZodString;
|
|
1517
|
+
postcondition: z.ZodObject<{
|
|
1518
|
+
type: z.ZodEnum<{
|
|
1519
|
+
route_matches: "route_matches";
|
|
1520
|
+
element_visible: "element_visible";
|
|
1521
|
+
element_absent: "element_absent";
|
|
1522
|
+
text_contains: "text_contains";
|
|
1523
|
+
overlay_dismissed: "overlay_dismissed";
|
|
1524
|
+
screenshot_stable: "screenshot_stable";
|
|
1525
|
+
any_change: "any_change";
|
|
1526
|
+
always: "always";
|
|
1527
|
+
}>;
|
|
1528
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1530
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1531
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1532
|
+
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
1533
|
+
}, z.core.$strict>;
|
|
1534
|
+
recovery: z.ZodObject<{
|
|
1535
|
+
retries: z.ZodNumber;
|
|
1536
|
+
useSelectorMemory: z.ZodBoolean;
|
|
1537
|
+
useAltInteraction: z.ZodBoolean;
|
|
1538
|
+
allowReload: z.ZodBoolean;
|
|
1539
|
+
allowHealer: z.ZodBoolean;
|
|
1540
|
+
}, z.core.$strict>;
|
|
1541
|
+
timeoutMs: z.ZodNumber;
|
|
1542
|
+
maxFailures: z.ZodNumber;
|
|
1543
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
kind: z.ZodLiteral<"SLEEP">;
|
|
1437
1545
|
}, z.core.$strict>, z.ZodObject<{
|
|
1438
1546
|
locale: z.ZodString;
|
|
1439
1547
|
method: z.ZodEnum<{
|
|
@@ -1478,6 +1586,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1478
1586
|
}, z.core.$strict>;
|
|
1479
1587
|
timeoutMs: z.ZodNumber;
|
|
1480
1588
|
maxFailures: z.ZodNumber;
|
|
1589
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1481
1590
|
kind: z.ZodLiteral<"SET_LOCALE">;
|
|
1482
1591
|
}, z.core.$strict>, z.ZodObject<{
|
|
1483
1592
|
theme: z.ZodEnum<{
|
|
@@ -1527,6 +1636,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1527
1636
|
}, z.core.$strict>;
|
|
1528
1637
|
timeoutMs: z.ZodNumber;
|
|
1529
1638
|
maxFailures: z.ZodNumber;
|
|
1639
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1530
1640
|
kind: z.ZodLiteral<"SET_THEME">;
|
|
1531
1641
|
}, z.core.$strict>, z.ZodObject<{
|
|
1532
1642
|
direction: z.ZodEnum<{
|
|
@@ -1572,6 +1682,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1572
1682
|
}, z.core.$strict>;
|
|
1573
1683
|
timeoutMs: z.ZodNumber;
|
|
1574
1684
|
maxFailures: z.ZodNumber;
|
|
1685
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1575
1686
|
kind: z.ZodLiteral<"SCROLL">;
|
|
1576
1687
|
}, z.core.$strict>, z.ZodObject<{
|
|
1577
1688
|
captureId: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,6 +1715,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1604
1715
|
}, z.core.$strict>;
|
|
1605
1716
|
timeoutMs: z.ZodNumber;
|
|
1606
1717
|
maxFailures: z.ZodNumber;
|
|
1718
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1607
1719
|
kind: z.ZodLiteral<"CAPTURE_SCREENSHOT">;
|
|
1608
1720
|
}, z.core.$strict>, z.ZodObject<{
|
|
1609
1721
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -1635,6 +1747,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1635
1747
|
}, z.core.$strict>;
|
|
1636
1748
|
timeoutMs: z.ZodNumber;
|
|
1637
1749
|
maxFailures: z.ZodNumber;
|
|
1750
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1638
1751
|
kind: z.ZodLiteral<"BEGIN_CLIP">;
|
|
1639
1752
|
}, z.core.$strict>, z.ZodObject<{
|
|
1640
1753
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -1666,6 +1779,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1666
1779
|
}, z.core.$strict>;
|
|
1667
1780
|
timeoutMs: z.ZodNumber;
|
|
1668
1781
|
maxFailures: z.ZodNumber;
|
|
1782
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1669
1783
|
kind: z.ZodLiteral<"END_CLIP">;
|
|
1670
1784
|
}, z.core.$strict>, z.ZodObject<{
|
|
1671
1785
|
selector: z.ZodString;
|
|
@@ -1706,6 +1820,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1706
1820
|
}, z.core.$strict>;
|
|
1707
1821
|
timeoutMs: z.ZodNumber;
|
|
1708
1822
|
maxFailures: z.ZodNumber;
|
|
1823
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1709
1824
|
kind: z.ZodLiteral<"HOVER">;
|
|
1710
1825
|
}, z.core.$strict>, z.ZodObject<{
|
|
1711
1826
|
selector: z.ZodString;
|
|
@@ -1749,6 +1864,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1749
1864
|
}, z.core.$strict>;
|
|
1750
1865
|
timeoutMs: z.ZodNumber;
|
|
1751
1866
|
maxFailures: z.ZodNumber;
|
|
1867
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1752
1868
|
kind: z.ZodLiteral<"SELECT_OPTION">;
|
|
1753
1869
|
}, z.core.$strict>, z.ZodObject<{
|
|
1754
1870
|
selector: z.ZodString;
|
|
@@ -1790,6 +1906,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1790
1906
|
}, z.core.$strict>;
|
|
1791
1907
|
timeoutMs: z.ZodNumber;
|
|
1792
1908
|
maxFailures: z.ZodNumber;
|
|
1909
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1793
1910
|
kind: z.ZodLiteral<"CHECK">;
|
|
1794
1911
|
}, z.core.$strict>, z.ZodObject<{
|
|
1795
1912
|
selector: z.ZodString;
|
|
@@ -1830,6 +1947,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1830
1947
|
}, z.core.$strict>;
|
|
1831
1948
|
timeoutMs: z.ZodNumber;
|
|
1832
1949
|
maxFailures: z.ZodNumber;
|
|
1950
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1833
1951
|
kind: z.ZodLiteral<"DOUBLE_CLICK">;
|
|
1834
1952
|
}, z.core.$strict>, z.ZodObject<{
|
|
1835
1953
|
selector: z.ZodString;
|
|
@@ -1884,6 +2002,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1884
2002
|
}, z.core.$strict>;
|
|
1885
2003
|
timeoutMs: z.ZodNumber;
|
|
1886
2004
|
maxFailures: z.ZodNumber;
|
|
2005
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1887
2006
|
kind: z.ZodLiteral<"DRAG">;
|
|
1888
2007
|
}, z.core.$strict>, z.ZodObject<{
|
|
1889
2008
|
sourceSelector: z.ZodString;
|
|
@@ -1917,6 +2036,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1917
2036
|
}, z.core.$strict>;
|
|
1918
2037
|
timeoutMs: z.ZodNumber;
|
|
1919
2038
|
maxFailures: z.ZodNumber;
|
|
2039
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1920
2040
|
kind: z.ZodLiteral<"CLONE_ELEMENT">;
|
|
1921
2041
|
}, z.core.$strict>, z.ZodObject<{
|
|
1922
2042
|
groupName: z.ZodString;
|
|
@@ -1958,6 +2078,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1958
2078
|
}, z.core.$strict>;
|
|
1959
2079
|
timeoutMs: z.ZodNumber;
|
|
1960
2080
|
maxFailures: z.ZodNumber;
|
|
2081
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1961
2082
|
kind: z.ZodLiteral<"INJECT_MOCK_DATA">;
|
|
1962
2083
|
}, z.core.$strict>, z.ZodObject<{
|
|
1963
2084
|
selector: z.ZodString;
|
|
@@ -1988,6 +2109,7 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
1988
2109
|
}, z.core.$strict>;
|
|
1989
2110
|
timeoutMs: z.ZodNumber;
|
|
1990
2111
|
maxFailures: z.ZodNumber;
|
|
2112
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
1991
2113
|
kind: z.ZodLiteral<"REMOVE_ELEMENT">;
|
|
1992
2114
|
}, z.core.$strict>, z.ZodObject<{
|
|
1993
2115
|
selector: z.ZodString;
|
|
@@ -2020,10 +2142,12 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
2020
2142
|
}, z.core.$strict>;
|
|
2021
2143
|
timeoutMs: z.ZodNumber;
|
|
2022
2144
|
maxFailures: z.ZodNumber;
|
|
2145
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2023
2146
|
kind: z.ZodLiteral<"SET_ATTRIBUTE">;
|
|
2024
2147
|
}, z.core.$strict>], "kind">>;
|
|
2025
2148
|
artifactPlan: z.ZodObject<{
|
|
2026
2149
|
mediaMode: z.ZodEnum<{
|
|
2150
|
+
video: "video";
|
|
2027
2151
|
clip: "clip";
|
|
2028
2152
|
screenshot: "screenshot";
|
|
2029
2153
|
}>;
|
|
@@ -2037,6 +2161,15 @@ export declare const ExecutionProgramSchema: z.ZodObject<{
|
|
|
2037
2161
|
png: "png";
|
|
2038
2162
|
jpeg: "jpeg";
|
|
2039
2163
|
}>>;
|
|
2164
|
+
captureResolution: z.ZodOptional<z.ZodObject<{
|
|
2165
|
+
width: z.ZodNumber;
|
|
2166
|
+
height: z.ZodNumber;
|
|
2167
|
+
}, z.core.$strict>>;
|
|
2168
|
+
captureFps: z.ZodOptional<z.ZodNumber>;
|
|
2169
|
+
deliveryResolution: z.ZodOptional<z.ZodObject<{
|
|
2170
|
+
width: z.ZodNumber;
|
|
2171
|
+
height: z.ZodNumber;
|
|
2172
|
+
}, z.core.$strict>>;
|
|
2040
2173
|
}, z.core.$strict>>;
|
|
2041
2174
|
cursorTheme: z.ZodOptional<z.ZodEnum<{
|
|
2042
2175
|
minimal: "minimal";
|
|
@@ -2095,6 +2228,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2095
2228
|
}, z.core.$strict>;
|
|
2096
2229
|
timeoutMs: z.ZodNumber;
|
|
2097
2230
|
maxFailures: z.ZodNumber;
|
|
2231
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2098
2232
|
kind: z.ZodLiteral<"NAVIGATE">;
|
|
2099
2233
|
}, z.core.$strict>, z.ZodObject<{
|
|
2100
2234
|
description: z.ZodString;
|
|
@@ -2124,6 +2258,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2124
2258
|
}, z.core.$strict>;
|
|
2125
2259
|
timeoutMs: z.ZodNumber;
|
|
2126
2260
|
maxFailures: z.ZodNumber;
|
|
2261
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2127
2262
|
kind: z.ZodLiteral<"DISMISS_OVERLAYS">;
|
|
2128
2263
|
}, z.core.$strict>, z.ZodObject<{
|
|
2129
2264
|
urlPattern: z.ZodString;
|
|
@@ -2154,6 +2289,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2154
2289
|
}, z.core.$strict>;
|
|
2155
2290
|
timeoutMs: z.ZodNumber;
|
|
2156
2291
|
maxFailures: z.ZodNumber;
|
|
2292
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2157
2293
|
kind: z.ZodLiteral<"ASSERT_ROUTE">;
|
|
2158
2294
|
}, z.core.$strict>, z.ZodObject<{
|
|
2159
2295
|
selectors: z.ZodArray<z.ZodString>;
|
|
@@ -2185,6 +2321,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2185
2321
|
}, z.core.$strict>;
|
|
2186
2322
|
timeoutMs: z.ZodNumber;
|
|
2187
2323
|
maxFailures: z.ZodNumber;
|
|
2324
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2188
2325
|
kind: z.ZodLiteral<"ASSERT_SURFACE">;
|
|
2189
2326
|
}, z.core.$strict>, z.ZodObject<{
|
|
2190
2327
|
selector: z.ZodString;
|
|
@@ -2229,6 +2366,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2229
2366
|
}, z.core.$strict>;
|
|
2230
2367
|
timeoutMs: z.ZodNumber;
|
|
2231
2368
|
maxFailures: z.ZodNumber;
|
|
2369
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2232
2370
|
kind: z.ZodLiteral<"CLICK">;
|
|
2233
2371
|
}, z.core.$strict>, z.ZodObject<{
|
|
2234
2372
|
selector: z.ZodString;
|
|
@@ -2272,6 +2410,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2272
2410
|
}, z.core.$strict>;
|
|
2273
2411
|
timeoutMs: z.ZodNumber;
|
|
2274
2412
|
maxFailures: z.ZodNumber;
|
|
2413
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2275
2414
|
kind: z.ZodLiteral<"TYPE">;
|
|
2276
2415
|
}, z.core.$strict>, z.ZodObject<{
|
|
2277
2416
|
key: z.ZodString;
|
|
@@ -2302,6 +2441,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2302
2441
|
}, z.core.$strict>;
|
|
2303
2442
|
timeoutMs: z.ZodNumber;
|
|
2304
2443
|
maxFailures: z.ZodNumber;
|
|
2444
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2305
2445
|
kind: z.ZodLiteral<"PRESS_KEY">;
|
|
2306
2446
|
}, z.core.$strict>, z.ZodObject<{
|
|
2307
2447
|
selector: z.ZodOptional<z.ZodString>;
|
|
@@ -2344,7 +2484,41 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2344
2484
|
}, z.core.$strict>;
|
|
2345
2485
|
timeoutMs: z.ZodNumber;
|
|
2346
2486
|
maxFailures: z.ZodNumber;
|
|
2487
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2347
2488
|
kind: z.ZodLiteral<"WAIT_FOR">;
|
|
2489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2490
|
+
durationMs: z.ZodNumber;
|
|
2491
|
+
narrationText: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
narrationTextByLocale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2493
|
+
description: z.ZodString;
|
|
2494
|
+
postcondition: z.ZodObject<{
|
|
2495
|
+
type: z.ZodEnum<{
|
|
2496
|
+
route_matches: "route_matches";
|
|
2497
|
+
element_visible: "element_visible";
|
|
2498
|
+
element_absent: "element_absent";
|
|
2499
|
+
text_contains: "text_contains";
|
|
2500
|
+
overlay_dismissed: "overlay_dismissed";
|
|
2501
|
+
screenshot_stable: "screenshot_stable";
|
|
2502
|
+
any_change: "any_change";
|
|
2503
|
+
always: "always";
|
|
2504
|
+
}>;
|
|
2505
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
2509
|
+
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
2510
|
+
}, z.core.$strict>;
|
|
2511
|
+
recovery: z.ZodObject<{
|
|
2512
|
+
retries: z.ZodNumber;
|
|
2513
|
+
useSelectorMemory: z.ZodBoolean;
|
|
2514
|
+
useAltInteraction: z.ZodBoolean;
|
|
2515
|
+
allowReload: z.ZodBoolean;
|
|
2516
|
+
allowHealer: z.ZodBoolean;
|
|
2517
|
+
}, z.core.$strict>;
|
|
2518
|
+
timeoutMs: z.ZodNumber;
|
|
2519
|
+
maxFailures: z.ZodNumber;
|
|
2520
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
kind: z.ZodLiteral<"SLEEP">;
|
|
2348
2522
|
}, z.core.$strict>, z.ZodObject<{
|
|
2349
2523
|
locale: z.ZodString;
|
|
2350
2524
|
method: z.ZodEnum<{
|
|
@@ -2389,6 +2563,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2389
2563
|
}, z.core.$strict>;
|
|
2390
2564
|
timeoutMs: z.ZodNumber;
|
|
2391
2565
|
maxFailures: z.ZodNumber;
|
|
2566
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2392
2567
|
kind: z.ZodLiteral<"SET_LOCALE">;
|
|
2393
2568
|
}, z.core.$strict>, z.ZodObject<{
|
|
2394
2569
|
theme: z.ZodEnum<{
|
|
@@ -2438,6 +2613,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2438
2613
|
}, z.core.$strict>;
|
|
2439
2614
|
timeoutMs: z.ZodNumber;
|
|
2440
2615
|
maxFailures: z.ZodNumber;
|
|
2616
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2441
2617
|
kind: z.ZodLiteral<"SET_THEME">;
|
|
2442
2618
|
}, z.core.$strict>, z.ZodObject<{
|
|
2443
2619
|
direction: z.ZodEnum<{
|
|
@@ -2483,6 +2659,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2483
2659
|
}, z.core.$strict>;
|
|
2484
2660
|
timeoutMs: z.ZodNumber;
|
|
2485
2661
|
maxFailures: z.ZodNumber;
|
|
2662
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2486
2663
|
kind: z.ZodLiteral<"SCROLL">;
|
|
2487
2664
|
}, z.core.$strict>, z.ZodObject<{
|
|
2488
2665
|
captureId: z.ZodOptional<z.ZodString>;
|
|
@@ -2515,6 +2692,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2515
2692
|
}, z.core.$strict>;
|
|
2516
2693
|
timeoutMs: z.ZodNumber;
|
|
2517
2694
|
maxFailures: z.ZodNumber;
|
|
2695
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2518
2696
|
kind: z.ZodLiteral<"CAPTURE_SCREENSHOT">;
|
|
2519
2697
|
}, z.core.$strict>, z.ZodObject<{
|
|
2520
2698
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -2546,6 +2724,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2546
2724
|
}, z.core.$strict>;
|
|
2547
2725
|
timeoutMs: z.ZodNumber;
|
|
2548
2726
|
maxFailures: z.ZodNumber;
|
|
2727
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2549
2728
|
kind: z.ZodLiteral<"BEGIN_CLIP">;
|
|
2550
2729
|
}, z.core.$strict>, z.ZodObject<{
|
|
2551
2730
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -2577,6 +2756,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2577
2756
|
}, z.core.$strict>;
|
|
2578
2757
|
timeoutMs: z.ZodNumber;
|
|
2579
2758
|
maxFailures: z.ZodNumber;
|
|
2759
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2580
2760
|
kind: z.ZodLiteral<"END_CLIP">;
|
|
2581
2761
|
}, z.core.$strict>, z.ZodObject<{
|
|
2582
2762
|
selector: z.ZodString;
|
|
@@ -2617,6 +2797,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2617
2797
|
}, z.core.$strict>;
|
|
2618
2798
|
timeoutMs: z.ZodNumber;
|
|
2619
2799
|
maxFailures: z.ZodNumber;
|
|
2800
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2620
2801
|
kind: z.ZodLiteral<"HOVER">;
|
|
2621
2802
|
}, z.core.$strict>, z.ZodObject<{
|
|
2622
2803
|
selector: z.ZodString;
|
|
@@ -2660,6 +2841,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2660
2841
|
}, z.core.$strict>;
|
|
2661
2842
|
timeoutMs: z.ZodNumber;
|
|
2662
2843
|
maxFailures: z.ZodNumber;
|
|
2844
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2663
2845
|
kind: z.ZodLiteral<"SELECT_OPTION">;
|
|
2664
2846
|
}, z.core.$strict>, z.ZodObject<{
|
|
2665
2847
|
selector: z.ZodString;
|
|
@@ -2701,6 +2883,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2701
2883
|
}, z.core.$strict>;
|
|
2702
2884
|
timeoutMs: z.ZodNumber;
|
|
2703
2885
|
maxFailures: z.ZodNumber;
|
|
2886
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2704
2887
|
kind: z.ZodLiteral<"CHECK">;
|
|
2705
2888
|
}, z.core.$strict>, z.ZodObject<{
|
|
2706
2889
|
selector: z.ZodString;
|
|
@@ -2741,6 +2924,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2741
2924
|
}, z.core.$strict>;
|
|
2742
2925
|
timeoutMs: z.ZodNumber;
|
|
2743
2926
|
maxFailures: z.ZodNumber;
|
|
2927
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2744
2928
|
kind: z.ZodLiteral<"DOUBLE_CLICK">;
|
|
2745
2929
|
}, z.core.$strict>, z.ZodObject<{
|
|
2746
2930
|
selector: z.ZodString;
|
|
@@ -2795,6 +2979,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2795
2979
|
}, z.core.$strict>;
|
|
2796
2980
|
timeoutMs: z.ZodNumber;
|
|
2797
2981
|
maxFailures: z.ZodNumber;
|
|
2982
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2798
2983
|
kind: z.ZodLiteral<"DRAG">;
|
|
2799
2984
|
}, z.core.$strict>, z.ZodObject<{
|
|
2800
2985
|
sourceSelector: z.ZodString;
|
|
@@ -2828,6 +3013,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2828
3013
|
}, z.core.$strict>;
|
|
2829
3014
|
timeoutMs: z.ZodNumber;
|
|
2830
3015
|
maxFailures: z.ZodNumber;
|
|
3016
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2831
3017
|
kind: z.ZodLiteral<"CLONE_ELEMENT">;
|
|
2832
3018
|
}, z.core.$strict>, z.ZodObject<{
|
|
2833
3019
|
groupName: z.ZodString;
|
|
@@ -2869,6 +3055,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2869
3055
|
}, z.core.$strict>;
|
|
2870
3056
|
timeoutMs: z.ZodNumber;
|
|
2871
3057
|
maxFailures: z.ZodNumber;
|
|
3058
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2872
3059
|
kind: z.ZodLiteral<"INJECT_MOCK_DATA">;
|
|
2873
3060
|
}, z.core.$strict>, z.ZodObject<{
|
|
2874
3061
|
selector: z.ZodString;
|
|
@@ -2899,6 +3086,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2899
3086
|
}, z.core.$strict>;
|
|
2900
3087
|
timeoutMs: z.ZodNumber;
|
|
2901
3088
|
maxFailures: z.ZodNumber;
|
|
3089
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2902
3090
|
kind: z.ZodLiteral<"REMOVE_ELEMENT">;
|
|
2903
3091
|
}, z.core.$strict>, z.ZodObject<{
|
|
2904
3092
|
selector: z.ZodString;
|
|
@@ -2931,6 +3119,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2931
3119
|
}, z.core.$strict>;
|
|
2932
3120
|
timeoutMs: z.ZodNumber;
|
|
2933
3121
|
maxFailures: z.ZodNumber;
|
|
3122
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2934
3123
|
kind: z.ZodLiteral<"SET_ATTRIBUTE">;
|
|
2935
3124
|
}, z.core.$strict>], "kind">;
|
|
2936
3125
|
replacementOpcodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2962,6 +3151,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2962
3151
|
}, z.core.$strict>;
|
|
2963
3152
|
timeoutMs: z.ZodNumber;
|
|
2964
3153
|
maxFailures: z.ZodNumber;
|
|
3154
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2965
3155
|
kind: z.ZodLiteral<"NAVIGATE">;
|
|
2966
3156
|
}, z.core.$strict>, z.ZodObject<{
|
|
2967
3157
|
description: z.ZodString;
|
|
@@ -2991,6 +3181,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
2991
3181
|
}, z.core.$strict>;
|
|
2992
3182
|
timeoutMs: z.ZodNumber;
|
|
2993
3183
|
maxFailures: z.ZodNumber;
|
|
3184
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
2994
3185
|
kind: z.ZodLiteral<"DISMISS_OVERLAYS">;
|
|
2995
3186
|
}, z.core.$strict>, z.ZodObject<{
|
|
2996
3187
|
urlPattern: z.ZodString;
|
|
@@ -3021,6 +3212,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3021
3212
|
}, z.core.$strict>;
|
|
3022
3213
|
timeoutMs: z.ZodNumber;
|
|
3023
3214
|
maxFailures: z.ZodNumber;
|
|
3215
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3024
3216
|
kind: z.ZodLiteral<"ASSERT_ROUTE">;
|
|
3025
3217
|
}, z.core.$strict>, z.ZodObject<{
|
|
3026
3218
|
selectors: z.ZodArray<z.ZodString>;
|
|
@@ -3052,6 +3244,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3052
3244
|
}, z.core.$strict>;
|
|
3053
3245
|
timeoutMs: z.ZodNumber;
|
|
3054
3246
|
maxFailures: z.ZodNumber;
|
|
3247
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3055
3248
|
kind: z.ZodLiteral<"ASSERT_SURFACE">;
|
|
3056
3249
|
}, z.core.$strict>, z.ZodObject<{
|
|
3057
3250
|
selector: z.ZodString;
|
|
@@ -3096,6 +3289,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3096
3289
|
}, z.core.$strict>;
|
|
3097
3290
|
timeoutMs: z.ZodNumber;
|
|
3098
3291
|
maxFailures: z.ZodNumber;
|
|
3292
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3099
3293
|
kind: z.ZodLiteral<"CLICK">;
|
|
3100
3294
|
}, z.core.$strict>, z.ZodObject<{
|
|
3101
3295
|
selector: z.ZodString;
|
|
@@ -3139,6 +3333,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3139
3333
|
}, z.core.$strict>;
|
|
3140
3334
|
timeoutMs: z.ZodNumber;
|
|
3141
3335
|
maxFailures: z.ZodNumber;
|
|
3336
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3142
3337
|
kind: z.ZodLiteral<"TYPE">;
|
|
3143
3338
|
}, z.core.$strict>, z.ZodObject<{
|
|
3144
3339
|
key: z.ZodString;
|
|
@@ -3169,6 +3364,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3169
3364
|
}, z.core.$strict>;
|
|
3170
3365
|
timeoutMs: z.ZodNumber;
|
|
3171
3366
|
maxFailures: z.ZodNumber;
|
|
3367
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3172
3368
|
kind: z.ZodLiteral<"PRESS_KEY">;
|
|
3173
3369
|
}, z.core.$strict>, z.ZodObject<{
|
|
3174
3370
|
selector: z.ZodOptional<z.ZodString>;
|
|
@@ -3211,7 +3407,41 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3211
3407
|
}, z.core.$strict>;
|
|
3212
3408
|
timeoutMs: z.ZodNumber;
|
|
3213
3409
|
maxFailures: z.ZodNumber;
|
|
3410
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3214
3411
|
kind: z.ZodLiteral<"WAIT_FOR">;
|
|
3412
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3413
|
+
durationMs: z.ZodNumber;
|
|
3414
|
+
narrationText: z.ZodOptional<z.ZodString>;
|
|
3415
|
+
narrationTextByLocale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3416
|
+
description: z.ZodString;
|
|
3417
|
+
postcondition: z.ZodObject<{
|
|
3418
|
+
type: z.ZodEnum<{
|
|
3419
|
+
route_matches: "route_matches";
|
|
3420
|
+
element_visible: "element_visible";
|
|
3421
|
+
element_absent: "element_absent";
|
|
3422
|
+
text_contains: "text_contains";
|
|
3423
|
+
overlay_dismissed: "overlay_dismissed";
|
|
3424
|
+
screenshot_stable: "screenshot_stable";
|
|
3425
|
+
any_change: "any_change";
|
|
3426
|
+
always: "always";
|
|
3427
|
+
}>;
|
|
3428
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3429
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3431
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
3432
|
+
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
3433
|
+
}, z.core.$strict>;
|
|
3434
|
+
recovery: z.ZodObject<{
|
|
3435
|
+
retries: z.ZodNumber;
|
|
3436
|
+
useSelectorMemory: z.ZodBoolean;
|
|
3437
|
+
useAltInteraction: z.ZodBoolean;
|
|
3438
|
+
allowReload: z.ZodBoolean;
|
|
3439
|
+
allowHealer: z.ZodBoolean;
|
|
3440
|
+
}, z.core.$strict>;
|
|
3441
|
+
timeoutMs: z.ZodNumber;
|
|
3442
|
+
maxFailures: z.ZodNumber;
|
|
3443
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3444
|
+
kind: z.ZodLiteral<"SLEEP">;
|
|
3215
3445
|
}, z.core.$strict>, z.ZodObject<{
|
|
3216
3446
|
locale: z.ZodString;
|
|
3217
3447
|
method: z.ZodEnum<{
|
|
@@ -3256,6 +3486,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3256
3486
|
}, z.core.$strict>;
|
|
3257
3487
|
timeoutMs: z.ZodNumber;
|
|
3258
3488
|
maxFailures: z.ZodNumber;
|
|
3489
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3259
3490
|
kind: z.ZodLiteral<"SET_LOCALE">;
|
|
3260
3491
|
}, z.core.$strict>, z.ZodObject<{
|
|
3261
3492
|
theme: z.ZodEnum<{
|
|
@@ -3305,6 +3536,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3305
3536
|
}, z.core.$strict>;
|
|
3306
3537
|
timeoutMs: z.ZodNumber;
|
|
3307
3538
|
maxFailures: z.ZodNumber;
|
|
3539
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3308
3540
|
kind: z.ZodLiteral<"SET_THEME">;
|
|
3309
3541
|
}, z.core.$strict>, z.ZodObject<{
|
|
3310
3542
|
direction: z.ZodEnum<{
|
|
@@ -3350,6 +3582,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3350
3582
|
}, z.core.$strict>;
|
|
3351
3583
|
timeoutMs: z.ZodNumber;
|
|
3352
3584
|
maxFailures: z.ZodNumber;
|
|
3585
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3353
3586
|
kind: z.ZodLiteral<"SCROLL">;
|
|
3354
3587
|
}, z.core.$strict>, z.ZodObject<{
|
|
3355
3588
|
captureId: z.ZodOptional<z.ZodString>;
|
|
@@ -3382,6 +3615,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3382
3615
|
}, z.core.$strict>;
|
|
3383
3616
|
timeoutMs: z.ZodNumber;
|
|
3384
3617
|
maxFailures: z.ZodNumber;
|
|
3618
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3385
3619
|
kind: z.ZodLiteral<"CAPTURE_SCREENSHOT">;
|
|
3386
3620
|
}, z.core.$strict>, z.ZodObject<{
|
|
3387
3621
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -3413,6 +3647,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3413
3647
|
}, z.core.$strict>;
|
|
3414
3648
|
timeoutMs: z.ZodNumber;
|
|
3415
3649
|
maxFailures: z.ZodNumber;
|
|
3650
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3416
3651
|
kind: z.ZodLiteral<"BEGIN_CLIP">;
|
|
3417
3652
|
}, z.core.$strict>, z.ZodObject<{
|
|
3418
3653
|
clipId: z.ZodOptional<z.ZodString>;
|
|
@@ -3444,6 +3679,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3444
3679
|
}, z.core.$strict>;
|
|
3445
3680
|
timeoutMs: z.ZodNumber;
|
|
3446
3681
|
maxFailures: z.ZodNumber;
|
|
3682
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3447
3683
|
kind: z.ZodLiteral<"END_CLIP">;
|
|
3448
3684
|
}, z.core.$strict>, z.ZodObject<{
|
|
3449
3685
|
selector: z.ZodString;
|
|
@@ -3484,6 +3720,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3484
3720
|
}, z.core.$strict>;
|
|
3485
3721
|
timeoutMs: z.ZodNumber;
|
|
3486
3722
|
maxFailures: z.ZodNumber;
|
|
3723
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3487
3724
|
kind: z.ZodLiteral<"HOVER">;
|
|
3488
3725
|
}, z.core.$strict>, z.ZodObject<{
|
|
3489
3726
|
selector: z.ZodString;
|
|
@@ -3527,6 +3764,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3527
3764
|
}, z.core.$strict>;
|
|
3528
3765
|
timeoutMs: z.ZodNumber;
|
|
3529
3766
|
maxFailures: z.ZodNumber;
|
|
3767
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3530
3768
|
kind: z.ZodLiteral<"SELECT_OPTION">;
|
|
3531
3769
|
}, z.core.$strict>, z.ZodObject<{
|
|
3532
3770
|
selector: z.ZodString;
|
|
@@ -3568,6 +3806,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3568
3806
|
}, z.core.$strict>;
|
|
3569
3807
|
timeoutMs: z.ZodNumber;
|
|
3570
3808
|
maxFailures: z.ZodNumber;
|
|
3809
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3571
3810
|
kind: z.ZodLiteral<"CHECK">;
|
|
3572
3811
|
}, z.core.$strict>, z.ZodObject<{
|
|
3573
3812
|
selector: z.ZodString;
|
|
@@ -3608,6 +3847,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3608
3847
|
}, z.core.$strict>;
|
|
3609
3848
|
timeoutMs: z.ZodNumber;
|
|
3610
3849
|
maxFailures: z.ZodNumber;
|
|
3850
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3611
3851
|
kind: z.ZodLiteral<"DOUBLE_CLICK">;
|
|
3612
3852
|
}, z.core.$strict>, z.ZodObject<{
|
|
3613
3853
|
selector: z.ZodString;
|
|
@@ -3662,6 +3902,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3662
3902
|
}, z.core.$strict>;
|
|
3663
3903
|
timeoutMs: z.ZodNumber;
|
|
3664
3904
|
maxFailures: z.ZodNumber;
|
|
3905
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3665
3906
|
kind: z.ZodLiteral<"DRAG">;
|
|
3666
3907
|
}, z.core.$strict>, z.ZodObject<{
|
|
3667
3908
|
sourceSelector: z.ZodString;
|
|
@@ -3695,6 +3936,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3695
3936
|
}, z.core.$strict>;
|
|
3696
3937
|
timeoutMs: z.ZodNumber;
|
|
3697
3938
|
maxFailures: z.ZodNumber;
|
|
3939
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3698
3940
|
kind: z.ZodLiteral<"CLONE_ELEMENT">;
|
|
3699
3941
|
}, z.core.$strict>, z.ZodObject<{
|
|
3700
3942
|
groupName: z.ZodString;
|
|
@@ -3736,6 +3978,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3736
3978
|
}, z.core.$strict>;
|
|
3737
3979
|
timeoutMs: z.ZodNumber;
|
|
3738
3980
|
maxFailures: z.ZodNumber;
|
|
3981
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3739
3982
|
kind: z.ZodLiteral<"INJECT_MOCK_DATA">;
|
|
3740
3983
|
}, z.core.$strict>, z.ZodObject<{
|
|
3741
3984
|
selector: z.ZodString;
|
|
@@ -3766,6 +4009,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3766
4009
|
}, z.core.$strict>;
|
|
3767
4010
|
timeoutMs: z.ZodNumber;
|
|
3768
4011
|
maxFailures: z.ZodNumber;
|
|
4012
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3769
4013
|
kind: z.ZodLiteral<"REMOVE_ELEMENT">;
|
|
3770
4014
|
}, z.core.$strict>, z.ZodObject<{
|
|
3771
4015
|
selector: z.ZodString;
|
|
@@ -3798,6 +4042,7 @@ export declare const HealerPatchSchema: z.ZodObject<{
|
|
|
3798
4042
|
}, z.core.$strict>;
|
|
3799
4043
|
timeoutMs: z.ZodNumber;
|
|
3800
4044
|
maxFailures: z.ZodNumber;
|
|
4045
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
3801
4046
|
kind: z.ZodLiteral<"SET_ATTRIBUTE">;
|
|
3802
4047
|
}, z.core.$strict>], "kind">>;
|
|
3803
4048
|
patchType: z.ZodOptional<z.ZodLiteral<"selector_patch">>;
|
|
@@ -3815,7 +4060,7 @@ export declare function parseOpcode(data: unknown): ExecutionOpcode;
|
|
|
3815
4060
|
export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseResult<{
|
|
3816
4061
|
presetId: string;
|
|
3817
4062
|
programVersion: number;
|
|
3818
|
-
mediaMode: "clip" | "screenshot";
|
|
4063
|
+
mediaMode: "video" | "clip" | "screenshot";
|
|
3819
4064
|
baseUrl: string;
|
|
3820
4065
|
variants: {
|
|
3821
4066
|
id: string;
|
|
@@ -3935,6 +4180,31 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
3935
4180
|
placeholder?: string | undefined;
|
|
3936
4181
|
exact?: boolean | undefined;
|
|
3937
4182
|
} | undefined;
|
|
4183
|
+
stepId?: string | undefined;
|
|
4184
|
+
} | {
|
|
4185
|
+
durationMs: number;
|
|
4186
|
+
description: string;
|
|
4187
|
+
postcondition: {
|
|
4188
|
+
type: "route_matches" | "element_visible" | "element_absent" | "text_contains" | "overlay_dismissed" | "screenshot_stable" | "any_change" | "always";
|
|
4189
|
+
pattern?: string | undefined;
|
|
4190
|
+
selector?: string | undefined;
|
|
4191
|
+
text?: string | undefined;
|
|
4192
|
+
threshold?: number | undefined;
|
|
4193
|
+
waitMs?: number | undefined;
|
|
4194
|
+
};
|
|
4195
|
+
recovery: {
|
|
4196
|
+
retries: number;
|
|
4197
|
+
useSelectorMemory: boolean;
|
|
4198
|
+
useAltInteraction: boolean;
|
|
4199
|
+
allowReload: boolean;
|
|
4200
|
+
allowHealer: boolean;
|
|
4201
|
+
};
|
|
4202
|
+
timeoutMs: number;
|
|
4203
|
+
maxFailures: number;
|
|
4204
|
+
kind: "SLEEP";
|
|
4205
|
+
narrationText?: string | undefined;
|
|
4206
|
+
narrationTextByLocale?: Record<string, string> | undefined;
|
|
4207
|
+
stepId?: string | undefined;
|
|
3938
4208
|
} | {
|
|
3939
4209
|
locale: string;
|
|
3940
4210
|
method: "browser_context" | "ui_interaction" | "storage";
|
|
@@ -3963,6 +4233,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
3963
4233
|
key: string;
|
|
3964
4234
|
value: string;
|
|
3965
4235
|
}[] | undefined;
|
|
4236
|
+
stepId?: string | undefined;
|
|
3966
4237
|
} | {
|
|
3967
4238
|
theme: "light" | "dark" | "$variant";
|
|
3968
4239
|
method: "ui_interaction" | "storage" | "color_scheme";
|
|
@@ -3991,6 +4262,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
3991
4262
|
key: string;
|
|
3992
4263
|
value: string;
|
|
3993
4264
|
}[] | undefined;
|
|
4265
|
+
stepId?: string | undefined;
|
|
3994
4266
|
} | {
|
|
3995
4267
|
selector: string;
|
|
3996
4268
|
description: string;
|
|
@@ -4025,6 +4297,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4025
4297
|
optionIndex?: number | undefined;
|
|
4026
4298
|
fingerprint?: string | undefined;
|
|
4027
4299
|
selectorAlternates?: string[] | undefined;
|
|
4300
|
+
stepId?: string | undefined;
|
|
4028
4301
|
} | {
|
|
4029
4302
|
selector: string;
|
|
4030
4303
|
description: string;
|
|
@@ -4070,6 +4343,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4070
4343
|
dx: number;
|
|
4071
4344
|
dy: number;
|
|
4072
4345
|
} | undefined;
|
|
4346
|
+
stepId?: string | undefined;
|
|
4073
4347
|
} | {
|
|
4074
4348
|
groupName: string;
|
|
4075
4349
|
description: string;
|
|
@@ -4102,6 +4376,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4102
4376
|
}[] | undefined;
|
|
4103
4377
|
inputSelector?: string | undefined;
|
|
4104
4378
|
triggerSelector?: string | undefined;
|
|
4379
|
+
stepId?: string | undefined;
|
|
4105
4380
|
} | {
|
|
4106
4381
|
url: string;
|
|
4107
4382
|
description: string;
|
|
@@ -4123,6 +4398,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4123
4398
|
timeoutMs: number;
|
|
4124
4399
|
maxFailures: number;
|
|
4125
4400
|
kind: "NAVIGATE";
|
|
4401
|
+
stepId?: string | undefined;
|
|
4126
4402
|
} | {
|
|
4127
4403
|
description: string;
|
|
4128
4404
|
postcondition: {
|
|
@@ -4143,6 +4419,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4143
4419
|
timeoutMs: number;
|
|
4144
4420
|
maxFailures: number;
|
|
4145
4421
|
kind: "DISMISS_OVERLAYS";
|
|
4422
|
+
stepId?: string | undefined;
|
|
4146
4423
|
} | {
|
|
4147
4424
|
urlPattern: string;
|
|
4148
4425
|
description: string;
|
|
@@ -4164,6 +4441,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4164
4441
|
timeoutMs: number;
|
|
4165
4442
|
maxFailures: number;
|
|
4166
4443
|
kind: "ASSERT_ROUTE";
|
|
4444
|
+
stepId?: string | undefined;
|
|
4167
4445
|
} | {
|
|
4168
4446
|
selectors: string[];
|
|
4169
4447
|
matchAll: boolean;
|
|
@@ -4186,6 +4464,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4186
4464
|
timeoutMs: number;
|
|
4187
4465
|
maxFailures: number;
|
|
4188
4466
|
kind: "ASSERT_SURFACE";
|
|
4467
|
+
stepId?: string | undefined;
|
|
4189
4468
|
} | {
|
|
4190
4469
|
selector: string;
|
|
4191
4470
|
description: string;
|
|
@@ -4218,6 +4497,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4218
4497
|
button?: "right" | "middle" | undefined;
|
|
4219
4498
|
fingerprint?: string | undefined;
|
|
4220
4499
|
selectorAlternates?: string[] | undefined;
|
|
4500
|
+
stepId?: string | undefined;
|
|
4221
4501
|
} | {
|
|
4222
4502
|
selector: string;
|
|
4223
4503
|
text: string;
|
|
@@ -4252,6 +4532,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4252
4532
|
textByLocale?: Record<string, string> | undefined;
|
|
4253
4533
|
fingerprint?: string | undefined;
|
|
4254
4534
|
selectorAlternates?: string[] | undefined;
|
|
4535
|
+
stepId?: string | undefined;
|
|
4255
4536
|
} | {
|
|
4256
4537
|
key: string;
|
|
4257
4538
|
description: string;
|
|
@@ -4273,6 +4554,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4273
4554
|
timeoutMs: number;
|
|
4274
4555
|
maxFailures: number;
|
|
4275
4556
|
kind: "PRESS_KEY";
|
|
4557
|
+
stepId?: string | undefined;
|
|
4276
4558
|
} | {
|
|
4277
4559
|
direction: "up" | "down" | "left" | "right";
|
|
4278
4560
|
description: string;
|
|
@@ -4304,6 +4586,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4304
4586
|
placeholder?: string | undefined;
|
|
4305
4587
|
exact?: boolean | undefined;
|
|
4306
4588
|
} | undefined;
|
|
4589
|
+
stepId?: string | undefined;
|
|
4307
4590
|
} | {
|
|
4308
4591
|
description: string;
|
|
4309
4592
|
postcondition: {
|
|
@@ -4327,6 +4610,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4327
4610
|
captureId?: string | undefined;
|
|
4328
4611
|
captureName?: string | undefined;
|
|
4329
4612
|
elementSelector?: string | undefined;
|
|
4613
|
+
stepId?: string | undefined;
|
|
4330
4614
|
} | {
|
|
4331
4615
|
description: string;
|
|
4332
4616
|
postcondition: {
|
|
@@ -4349,6 +4633,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4349
4633
|
kind: "BEGIN_CLIP";
|
|
4350
4634
|
clipId?: string | undefined;
|
|
4351
4635
|
clipName?: string | undefined;
|
|
4636
|
+
stepId?: string | undefined;
|
|
4352
4637
|
} | {
|
|
4353
4638
|
description: string;
|
|
4354
4639
|
postcondition: {
|
|
@@ -4371,6 +4656,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4371
4656
|
kind: "END_CLIP";
|
|
4372
4657
|
clipId?: string | undefined;
|
|
4373
4658
|
clipName?: string | undefined;
|
|
4659
|
+
stepId?: string | undefined;
|
|
4374
4660
|
} | {
|
|
4375
4661
|
selector: string;
|
|
4376
4662
|
description: string;
|
|
@@ -4402,6 +4688,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4402
4688
|
} | undefined;
|
|
4403
4689
|
fingerprint?: string | undefined;
|
|
4404
4690
|
selectorAlternates?: string[] | undefined;
|
|
4691
|
+
stepId?: string | undefined;
|
|
4405
4692
|
} | {
|
|
4406
4693
|
selector: string;
|
|
4407
4694
|
checked: boolean;
|
|
@@ -4434,6 +4721,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4434
4721
|
} | undefined;
|
|
4435
4722
|
fingerprint?: string | undefined;
|
|
4436
4723
|
selectorAlternates?: string[] | undefined;
|
|
4724
|
+
stepId?: string | undefined;
|
|
4437
4725
|
} | {
|
|
4438
4726
|
selector: string;
|
|
4439
4727
|
description: string;
|
|
@@ -4465,6 +4753,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4465
4753
|
} | undefined;
|
|
4466
4754
|
fingerprint?: string | undefined;
|
|
4467
4755
|
selectorAlternates?: string[] | undefined;
|
|
4756
|
+
stepId?: string | undefined;
|
|
4468
4757
|
} | {
|
|
4469
4758
|
sourceSelector: string;
|
|
4470
4759
|
containerSelector: string;
|
|
@@ -4489,6 +4778,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4489
4778
|
maxFailures: number;
|
|
4490
4779
|
kind: "CLONE_ELEMENT";
|
|
4491
4780
|
removeSource?: boolean | undefined;
|
|
4781
|
+
stepId?: string | undefined;
|
|
4492
4782
|
} | {
|
|
4493
4783
|
selector: string;
|
|
4494
4784
|
description: string;
|
|
@@ -4510,6 +4800,7 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4510
4800
|
timeoutMs: number;
|
|
4511
4801
|
maxFailures: number;
|
|
4512
4802
|
kind: "REMOVE_ELEMENT";
|
|
4803
|
+
stepId?: string | undefined;
|
|
4513
4804
|
} | {
|
|
4514
4805
|
selector: string;
|
|
4515
4806
|
attribute: string;
|
|
@@ -4533,12 +4824,22 @@ export declare function safeParseProgramResult(data: unknown): z.ZodSafeParseRes
|
|
|
4533
4824
|
timeoutMs: number;
|
|
4534
4825
|
maxFailures: number;
|
|
4535
4826
|
kind: "SET_ATTRIBUTE";
|
|
4827
|
+
stepId?: string | undefined;
|
|
4536
4828
|
})[];
|
|
4537
4829
|
artifactPlan: {
|
|
4538
|
-
mediaMode: "clip" | "screenshot";
|
|
4830
|
+
mediaMode: "video" | "clip" | "screenshot";
|
|
4539
4831
|
format?: {
|
|
4540
4832
|
clipFormat?: "gif" | "mp4" | "both" | undefined;
|
|
4541
4833
|
screenshotFormat?: "png" | "jpeg" | undefined;
|
|
4834
|
+
captureResolution?: {
|
|
4835
|
+
width: number;
|
|
4836
|
+
height: number;
|
|
4837
|
+
} | undefined;
|
|
4838
|
+
captureFps?: number | undefined;
|
|
4839
|
+
deliveryResolution?: {
|
|
4840
|
+
width: number;
|
|
4841
|
+
height: number;
|
|
4842
|
+
} | undefined;
|
|
4542
4843
|
} | undefined;
|
|
4543
4844
|
cursorTheme?: "minimal" | "macos" | "windows" | undefined;
|
|
4544
4845
|
maxClipDurationSec?: number | undefined;
|