@burdenoff/ui-engine 2026.1203.1 → 2026.1204.1

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.
@@ -12,6 +12,12 @@
12
12
  * The recursive parts (expressions, steps) carry ids in a registry that
13
13
  * belongs to this module, never zod's global registry, so two copies of the
14
14
  * engine in one bundle do not collide.
15
+ *
16
+ * The step, target and script shapes are built by the functions below over a
17
+ * target schema, so the desktop script schema (`desktop-schema.ts`) reuses
18
+ * the same step definitions with its wider desktop targets. The web schema is
19
+ * built exactly as before: its JSON Schema and `UI_SCRIPT_SCHEMA_HASH` do not
20
+ * change (a test pins both).
15
21
  */
16
22
  import { z } from 'zod';
17
23
  import { type UiExpression, type UiScript, type UiStep, type UiTarget, type UiTargetRef } from './types.js';
@@ -26,8 +32,70 @@ export declare const NAME_PATTERN: RegExp;
26
32
  export declare const STEP_ID_PATTERN: RegExp;
27
33
  /** Element keys inside a script. */
28
34
  export declare const ELEMENT_KEY_PATTERN: RegExp;
35
+ /** An HTML attribute name (also the attribute names a desktop `get` step reads). */
36
+ export declare const ATTRIBUTE_PATTERN: RegExp;
37
+ export declare const name: z.ZodString;
38
+ export declare const label: z.ZodString;
29
39
  export declare const uiExpressionSchema: z.ZodType<UiExpression>;
30
- export declare const uiTargetMethodSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ export declare const enabled: {
41
+ enabled: z.ZodOptional<z.ZodBoolean>;
42
+ };
43
+ /** The web target methods, in the order the spec lists them. The desktop schema appends its own. */
44
+ export declare const webTargetMethodOptions: readonly [z.ZodObject<{
45
+ enabled: z.ZodOptional<z.ZodBoolean>;
46
+ kind: z.ZodLiteral<"role">;
47
+ role: z.ZodString;
48
+ name: z.ZodString;
49
+ nth: z.ZodOptional<z.ZodInt>;
50
+ app: z.ZodOptional<z.ZodString>;
51
+ window: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strict>, z.ZodObject<{
53
+ enabled: z.ZodOptional<z.ZodBoolean>;
54
+ kind: z.ZodLiteral<"css">;
55
+ selector: z.ZodString;
56
+ }, z.core.$strict>, z.ZodObject<{
57
+ enabled: z.ZodOptional<z.ZodBoolean>;
58
+ kind: z.ZodLiteral<"testId">;
59
+ value: z.ZodString;
60
+ attribute: z.ZodOptional<z.ZodString>;
61
+ }, z.core.$strict>, z.ZodObject<{
62
+ enabled: z.ZodOptional<z.ZodBoolean>;
63
+ kind: z.ZodLiteral<"xpath">;
64
+ xpath: z.ZodString;
65
+ }, z.core.$strict>, z.ZodObject<{
66
+ enabled: z.ZodOptional<z.ZodBoolean>;
67
+ kind: z.ZodLiteral<"fuzzy">;
68
+ role: z.ZodOptional<z.ZodString>;
69
+ name: z.ZodString;
70
+ threshold: z.ZodOptional<z.ZodNumber>;
71
+ }, z.core.$strict>, z.ZodObject<{
72
+ enabled: z.ZodOptional<z.ZodBoolean>;
73
+ kind: z.ZodLiteral<"anchor">;
74
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
75
+ kind: z.ZodLiteral<"text">;
76
+ text: z.ZodString;
77
+ }, z.core.$strict>, z.ZodObject<{
78
+ kind: z.ZodLiteral<"role">;
79
+ role: z.ZodString;
80
+ name: z.ZodString;
81
+ }, z.core.$strict>], "kind">;
82
+ relation: z.ZodEnum<{
83
+ leftOf: "leftOf";
84
+ rightOf: "rightOf";
85
+ above: "above";
86
+ below: "below";
87
+ inside: "inside";
88
+ sameRow: "sameRow";
89
+ }>;
90
+ role: z.ZodOptional<z.ZodString>;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ enabled: z.ZodOptional<z.ZodBoolean>;
93
+ kind: z.ZodLiteral<"text">;
94
+ text: z.ZodString;
95
+ exact: z.ZodOptional<z.ZodBoolean>;
96
+ nth: z.ZodOptional<z.ZodInt>;
97
+ }, z.core.$strict>];
98
+ export declare const uiTargetMethodSchema: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
31
99
  enabled: z.ZodOptional<z.ZodBoolean>;
32
100
  kind: z.ZodLiteral<"role">;
33
101
  role: z.ZodString;
@@ -81,7 +149,2036 @@ export declare const uiTargetMethodSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
81
149
  exact: z.ZodOptional<z.ZodBoolean>;
82
150
  nth: z.ZodOptional<z.ZodInt>;
83
151
  }, z.core.$strict>], "kind">;
152
+ /** The shape of a target over a method schema: the methods in order, and the web frame chain. */
153
+ export declare function targetShape<M extends z.ZodType>(method: M): {
154
+ methods: z.ZodArray<M>;
155
+ frame: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
+ };
84
157
  export declare const uiTargetSchema: z.ZodType<UiTarget>;
158
+ /** The options of a target reference: an inline target, or a pinned library element. */
159
+ export declare function targetRefOptions<T extends z.ZodType>(target: T): readonly [T, z.ZodObject<{
160
+ element: z.ZodString;
161
+ }, z.core.$strict>];
85
162
  export declare const uiTargetRefSchema: z.ZodType<UiTargetRef>;
163
+ /** The checks a step may run after acting, over a target reference schema. */
164
+ export declare function verifyOptions<R extends z.ZodType>(target: R): readonly [z.ZodObject<{
165
+ timeoutMs: z.ZodOptional<z.ZodInt>;
166
+ kind: z.ZodLiteral<"elementVisible">;
167
+ target: R;
168
+ }, z.core.$strict>, z.ZodObject<{
169
+ timeoutMs: z.ZodOptional<z.ZodInt>;
170
+ kind: z.ZodLiteral<"elementGone">;
171
+ target: R;
172
+ }, z.core.$strict>, z.ZodObject<{
173
+ timeoutMs: z.ZodOptional<z.ZodInt>;
174
+ kind: z.ZodLiteral<"urlContains">;
175
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ timeoutMs: z.ZodOptional<z.ZodInt>;
178
+ kind: z.ZodLiteral<"textPresent">;
179
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
180
+ }, z.core.$strict>, z.ZodObject<{
181
+ timeoutMs: z.ZodOptional<z.ZodInt>;
182
+ kind: z.ZodLiteral<"valueEquals">;
183
+ target: R;
184
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
185
+ }, z.core.$strict>];
186
+ /** The fields every step may carry, over a verify schema. */
187
+ export declare function stepBaseShape<V extends z.ZodType>(verify: V): {
188
+ id: z.ZodString;
189
+ intent: z.ZodOptional<z.ZodString>;
190
+ note: z.ZodOptional<z.ZodString>;
191
+ saveAs: z.ZodOptional<z.ZodString>;
192
+ disabled: z.ZodOptional<z.ZodBoolean>;
193
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
194
+ timeoutMs: z.ZodOptional<z.ZodInt>;
195
+ retry: z.ZodOptional<z.ZodObject<{
196
+ attempts: z.ZodInt;
197
+ delayMs: z.ZodOptional<z.ZodInt>;
198
+ }, z.core.$strict>>;
199
+ onError: z.ZodOptional<z.ZodEnum<{
200
+ fail: "fail";
201
+ continue: "continue";
202
+ }>>;
203
+ verify: z.ZodOptional<V>;
204
+ screenshot: z.ZodOptional<z.ZodEnum<{
205
+ never: "never";
206
+ onFailure: "onFailure";
207
+ always: "always";
208
+ }>>;
209
+ inputMethod: z.ZodOptional<z.ZodEnum<{
210
+ auto: "auto";
211
+ direct: "direct";
212
+ hardware: "hardware";
213
+ }>>;
214
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
215
+ screenshotRef: z.ZodOptional<z.ZodString>;
216
+ fingerprint: z.ZodOptional<z.ZodString>;
217
+ };
218
+ /**
219
+ * The step options of one script family over its target reference schema and
220
+ * its step list: the web actions, `focusWindow` and the flow actions, each in
221
+ * the order of UI script v1. `base` is the shared step fields, so a family
222
+ * can add its own actions with the same fields.
223
+ */
224
+ export declare function stepFamily<R extends z.ZodType, S extends z.ZodType>(target: R, steps: () => S): {
225
+ base: {
226
+ id: z.ZodString;
227
+ intent: z.ZodOptional<z.ZodString>;
228
+ note: z.ZodOptional<z.ZodString>;
229
+ saveAs: z.ZodOptional<z.ZodString>;
230
+ disabled: z.ZodOptional<z.ZodBoolean>;
231
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
232
+ timeoutMs: z.ZodOptional<z.ZodInt>;
233
+ retry: z.ZodOptional<z.ZodObject<{
234
+ attempts: z.ZodInt;
235
+ delayMs: z.ZodOptional<z.ZodInt>;
236
+ }, z.core.$strict>>;
237
+ onError: z.ZodOptional<z.ZodEnum<{
238
+ fail: "fail";
239
+ continue: "continue";
240
+ }>>;
241
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
242
+ timeoutMs: z.ZodOptional<z.ZodInt>;
243
+ kind: z.ZodLiteral<"elementVisible">;
244
+ target: R;
245
+ }, z.core.$strict>, z.ZodObject<{
246
+ timeoutMs: z.ZodOptional<z.ZodInt>;
247
+ kind: z.ZodLiteral<"elementGone">;
248
+ target: R;
249
+ }, z.core.$strict>, z.ZodObject<{
250
+ timeoutMs: z.ZodOptional<z.ZodInt>;
251
+ kind: z.ZodLiteral<"urlContains">;
252
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
253
+ }, z.core.$strict>, z.ZodObject<{
254
+ timeoutMs: z.ZodOptional<z.ZodInt>;
255
+ kind: z.ZodLiteral<"textPresent">;
256
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ timeoutMs: z.ZodOptional<z.ZodInt>;
259
+ kind: z.ZodLiteral<"valueEquals">;
260
+ target: R;
261
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
262
+ }, z.core.$strict>], "kind">>;
263
+ screenshot: z.ZodOptional<z.ZodEnum<{
264
+ never: "never";
265
+ onFailure: "onFailure";
266
+ always: "always";
267
+ }>>;
268
+ inputMethod: z.ZodOptional<z.ZodEnum<{
269
+ auto: "auto";
270
+ direct: "direct";
271
+ hardware: "hardware";
272
+ }>>;
273
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
274
+ screenshotRef: z.ZodOptional<z.ZodString>;
275
+ fingerprint: z.ZodOptional<z.ZodString>;
276
+ };
277
+ web: readonly [z.ZodObject<{
278
+ action: z.ZodLiteral<"navigate">;
279
+ url: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
280
+ waitUntil: z.ZodOptional<z.ZodEnum<{
281
+ load: "load";
282
+ domcontentloaded: "domcontentloaded";
283
+ networkidle: "networkidle";
284
+ commit: "commit";
285
+ }>>;
286
+ id: z.ZodString;
287
+ intent: z.ZodOptional<z.ZodString>;
288
+ note: z.ZodOptional<z.ZodString>;
289
+ saveAs: z.ZodOptional<z.ZodString>;
290
+ disabled: z.ZodOptional<z.ZodBoolean>;
291
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
292
+ timeoutMs: z.ZodOptional<z.ZodInt>;
293
+ retry: z.ZodOptional<z.ZodObject<{
294
+ attempts: z.ZodInt;
295
+ delayMs: z.ZodOptional<z.ZodInt>;
296
+ }, z.core.$strict>>;
297
+ onError: z.ZodOptional<z.ZodEnum<{
298
+ fail: "fail";
299
+ continue: "continue";
300
+ }>>;
301
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
302
+ timeoutMs: z.ZodOptional<z.ZodInt>;
303
+ kind: z.ZodLiteral<"elementVisible">;
304
+ target: R;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ timeoutMs: z.ZodOptional<z.ZodInt>;
307
+ kind: z.ZodLiteral<"elementGone">;
308
+ target: R;
309
+ }, z.core.$strict>, z.ZodObject<{
310
+ timeoutMs: z.ZodOptional<z.ZodInt>;
311
+ kind: z.ZodLiteral<"urlContains">;
312
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
313
+ }, z.core.$strict>, z.ZodObject<{
314
+ timeoutMs: z.ZodOptional<z.ZodInt>;
315
+ kind: z.ZodLiteral<"textPresent">;
316
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ timeoutMs: z.ZodOptional<z.ZodInt>;
319
+ kind: z.ZodLiteral<"valueEquals">;
320
+ target: R;
321
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
322
+ }, z.core.$strict>], "kind">>;
323
+ screenshot: z.ZodOptional<z.ZodEnum<{
324
+ never: "never";
325
+ onFailure: "onFailure";
326
+ always: "always";
327
+ }>>;
328
+ inputMethod: z.ZodOptional<z.ZodEnum<{
329
+ auto: "auto";
330
+ direct: "direct";
331
+ hardware: "hardware";
332
+ }>>;
333
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
334
+ screenshotRef: z.ZodOptional<z.ZodString>;
335
+ fingerprint: z.ZodOptional<z.ZodString>;
336
+ }, z.core.$strict>, z.ZodObject<{
337
+ action: z.ZodLiteral<"goBack">;
338
+ id: z.ZodString;
339
+ intent: z.ZodOptional<z.ZodString>;
340
+ note: z.ZodOptional<z.ZodString>;
341
+ saveAs: z.ZodOptional<z.ZodString>;
342
+ disabled: z.ZodOptional<z.ZodBoolean>;
343
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
344
+ timeoutMs: z.ZodOptional<z.ZodInt>;
345
+ retry: z.ZodOptional<z.ZodObject<{
346
+ attempts: z.ZodInt;
347
+ delayMs: z.ZodOptional<z.ZodInt>;
348
+ }, z.core.$strict>>;
349
+ onError: z.ZodOptional<z.ZodEnum<{
350
+ fail: "fail";
351
+ continue: "continue";
352
+ }>>;
353
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
354
+ timeoutMs: z.ZodOptional<z.ZodInt>;
355
+ kind: z.ZodLiteral<"elementVisible">;
356
+ target: R;
357
+ }, z.core.$strict>, z.ZodObject<{
358
+ timeoutMs: z.ZodOptional<z.ZodInt>;
359
+ kind: z.ZodLiteral<"elementGone">;
360
+ target: R;
361
+ }, z.core.$strict>, z.ZodObject<{
362
+ timeoutMs: z.ZodOptional<z.ZodInt>;
363
+ kind: z.ZodLiteral<"urlContains">;
364
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
365
+ }, z.core.$strict>, z.ZodObject<{
366
+ timeoutMs: z.ZodOptional<z.ZodInt>;
367
+ kind: z.ZodLiteral<"textPresent">;
368
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ timeoutMs: z.ZodOptional<z.ZodInt>;
371
+ kind: z.ZodLiteral<"valueEquals">;
372
+ target: R;
373
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
374
+ }, z.core.$strict>], "kind">>;
375
+ screenshot: z.ZodOptional<z.ZodEnum<{
376
+ never: "never";
377
+ onFailure: "onFailure";
378
+ always: "always";
379
+ }>>;
380
+ inputMethod: z.ZodOptional<z.ZodEnum<{
381
+ auto: "auto";
382
+ direct: "direct";
383
+ hardware: "hardware";
384
+ }>>;
385
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
386
+ screenshotRef: z.ZodOptional<z.ZodString>;
387
+ fingerprint: z.ZodOptional<z.ZodString>;
388
+ }, z.core.$strict>, z.ZodObject<{
389
+ action: z.ZodLiteral<"reload">;
390
+ id: z.ZodString;
391
+ intent: z.ZodOptional<z.ZodString>;
392
+ note: z.ZodOptional<z.ZodString>;
393
+ saveAs: z.ZodOptional<z.ZodString>;
394
+ disabled: z.ZodOptional<z.ZodBoolean>;
395
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
396
+ timeoutMs: z.ZodOptional<z.ZodInt>;
397
+ retry: z.ZodOptional<z.ZodObject<{
398
+ attempts: z.ZodInt;
399
+ delayMs: z.ZodOptional<z.ZodInt>;
400
+ }, z.core.$strict>>;
401
+ onError: z.ZodOptional<z.ZodEnum<{
402
+ fail: "fail";
403
+ continue: "continue";
404
+ }>>;
405
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
406
+ timeoutMs: z.ZodOptional<z.ZodInt>;
407
+ kind: z.ZodLiteral<"elementVisible">;
408
+ target: R;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ timeoutMs: z.ZodOptional<z.ZodInt>;
411
+ kind: z.ZodLiteral<"elementGone">;
412
+ target: R;
413
+ }, z.core.$strict>, z.ZodObject<{
414
+ timeoutMs: z.ZodOptional<z.ZodInt>;
415
+ kind: z.ZodLiteral<"urlContains">;
416
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ timeoutMs: z.ZodOptional<z.ZodInt>;
419
+ kind: z.ZodLiteral<"textPresent">;
420
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
421
+ }, z.core.$strict>, z.ZodObject<{
422
+ timeoutMs: z.ZodOptional<z.ZodInt>;
423
+ kind: z.ZodLiteral<"valueEquals">;
424
+ target: R;
425
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
426
+ }, z.core.$strict>], "kind">>;
427
+ screenshot: z.ZodOptional<z.ZodEnum<{
428
+ never: "never";
429
+ onFailure: "onFailure";
430
+ always: "always";
431
+ }>>;
432
+ inputMethod: z.ZodOptional<z.ZodEnum<{
433
+ auto: "auto";
434
+ direct: "direct";
435
+ hardware: "hardware";
436
+ }>>;
437
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
438
+ screenshotRef: z.ZodOptional<z.ZodString>;
439
+ fingerprint: z.ZodOptional<z.ZodString>;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ action: z.ZodLiteral<"closeTab">;
442
+ id: z.ZodString;
443
+ intent: z.ZodOptional<z.ZodString>;
444
+ note: z.ZodOptional<z.ZodString>;
445
+ saveAs: z.ZodOptional<z.ZodString>;
446
+ disabled: z.ZodOptional<z.ZodBoolean>;
447
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
448
+ timeoutMs: z.ZodOptional<z.ZodInt>;
449
+ retry: z.ZodOptional<z.ZodObject<{
450
+ attempts: z.ZodInt;
451
+ delayMs: z.ZodOptional<z.ZodInt>;
452
+ }, z.core.$strict>>;
453
+ onError: z.ZodOptional<z.ZodEnum<{
454
+ fail: "fail";
455
+ continue: "continue";
456
+ }>>;
457
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
458
+ timeoutMs: z.ZodOptional<z.ZodInt>;
459
+ kind: z.ZodLiteral<"elementVisible">;
460
+ target: R;
461
+ }, z.core.$strict>, z.ZodObject<{
462
+ timeoutMs: z.ZodOptional<z.ZodInt>;
463
+ kind: z.ZodLiteral<"elementGone">;
464
+ target: R;
465
+ }, z.core.$strict>, z.ZodObject<{
466
+ timeoutMs: z.ZodOptional<z.ZodInt>;
467
+ kind: z.ZodLiteral<"urlContains">;
468
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
469
+ }, z.core.$strict>, z.ZodObject<{
470
+ timeoutMs: z.ZodOptional<z.ZodInt>;
471
+ kind: z.ZodLiteral<"textPresent">;
472
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
473
+ }, z.core.$strict>, z.ZodObject<{
474
+ timeoutMs: z.ZodOptional<z.ZodInt>;
475
+ kind: z.ZodLiteral<"valueEquals">;
476
+ target: R;
477
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
478
+ }, z.core.$strict>], "kind">>;
479
+ screenshot: z.ZodOptional<z.ZodEnum<{
480
+ never: "never";
481
+ onFailure: "onFailure";
482
+ always: "always";
483
+ }>>;
484
+ inputMethod: z.ZodOptional<z.ZodEnum<{
485
+ auto: "auto";
486
+ direct: "direct";
487
+ hardware: "hardware";
488
+ }>>;
489
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
490
+ screenshotRef: z.ZodOptional<z.ZodString>;
491
+ fingerprint: z.ZodOptional<z.ZodString>;
492
+ }, z.core.$strict>, z.ZodObject<{
493
+ action: z.ZodLiteral<"click">;
494
+ target: R;
495
+ button: z.ZodOptional<z.ZodEnum<{
496
+ left: "left";
497
+ right: "right";
498
+ }>>;
499
+ id: z.ZodString;
500
+ intent: z.ZodOptional<z.ZodString>;
501
+ note: z.ZodOptional<z.ZodString>;
502
+ saveAs: z.ZodOptional<z.ZodString>;
503
+ disabled: z.ZodOptional<z.ZodBoolean>;
504
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
505
+ timeoutMs: z.ZodOptional<z.ZodInt>;
506
+ retry: z.ZodOptional<z.ZodObject<{
507
+ attempts: z.ZodInt;
508
+ delayMs: z.ZodOptional<z.ZodInt>;
509
+ }, z.core.$strict>>;
510
+ onError: z.ZodOptional<z.ZodEnum<{
511
+ fail: "fail";
512
+ continue: "continue";
513
+ }>>;
514
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
515
+ timeoutMs: z.ZodOptional<z.ZodInt>;
516
+ kind: z.ZodLiteral<"elementVisible">;
517
+ target: R;
518
+ }, z.core.$strict>, z.ZodObject<{
519
+ timeoutMs: z.ZodOptional<z.ZodInt>;
520
+ kind: z.ZodLiteral<"elementGone">;
521
+ target: R;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ timeoutMs: z.ZodOptional<z.ZodInt>;
524
+ kind: z.ZodLiteral<"urlContains">;
525
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
526
+ }, z.core.$strict>, z.ZodObject<{
527
+ timeoutMs: z.ZodOptional<z.ZodInt>;
528
+ kind: z.ZodLiteral<"textPresent">;
529
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
530
+ }, z.core.$strict>, z.ZodObject<{
531
+ timeoutMs: z.ZodOptional<z.ZodInt>;
532
+ kind: z.ZodLiteral<"valueEquals">;
533
+ target: R;
534
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
535
+ }, z.core.$strict>], "kind">>;
536
+ screenshot: z.ZodOptional<z.ZodEnum<{
537
+ never: "never";
538
+ onFailure: "onFailure";
539
+ always: "always";
540
+ }>>;
541
+ inputMethod: z.ZodOptional<z.ZodEnum<{
542
+ auto: "auto";
543
+ direct: "direct";
544
+ hardware: "hardware";
545
+ }>>;
546
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
547
+ screenshotRef: z.ZodOptional<z.ZodString>;
548
+ fingerprint: z.ZodOptional<z.ZodString>;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ action: z.ZodLiteral<"doubleClick">;
551
+ target: R;
552
+ button: z.ZodOptional<z.ZodEnum<{
553
+ left: "left";
554
+ right: "right";
555
+ }>>;
556
+ id: z.ZodString;
557
+ intent: z.ZodOptional<z.ZodString>;
558
+ note: z.ZodOptional<z.ZodString>;
559
+ saveAs: z.ZodOptional<z.ZodString>;
560
+ disabled: z.ZodOptional<z.ZodBoolean>;
561
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
562
+ timeoutMs: z.ZodOptional<z.ZodInt>;
563
+ retry: z.ZodOptional<z.ZodObject<{
564
+ attempts: z.ZodInt;
565
+ delayMs: z.ZodOptional<z.ZodInt>;
566
+ }, z.core.$strict>>;
567
+ onError: z.ZodOptional<z.ZodEnum<{
568
+ fail: "fail";
569
+ continue: "continue";
570
+ }>>;
571
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
572
+ timeoutMs: z.ZodOptional<z.ZodInt>;
573
+ kind: z.ZodLiteral<"elementVisible">;
574
+ target: R;
575
+ }, z.core.$strict>, z.ZodObject<{
576
+ timeoutMs: z.ZodOptional<z.ZodInt>;
577
+ kind: z.ZodLiteral<"elementGone">;
578
+ target: R;
579
+ }, z.core.$strict>, z.ZodObject<{
580
+ timeoutMs: z.ZodOptional<z.ZodInt>;
581
+ kind: z.ZodLiteral<"urlContains">;
582
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ timeoutMs: z.ZodOptional<z.ZodInt>;
585
+ kind: z.ZodLiteral<"textPresent">;
586
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
587
+ }, z.core.$strict>, z.ZodObject<{
588
+ timeoutMs: z.ZodOptional<z.ZodInt>;
589
+ kind: z.ZodLiteral<"valueEquals">;
590
+ target: R;
591
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
592
+ }, z.core.$strict>], "kind">>;
593
+ screenshot: z.ZodOptional<z.ZodEnum<{
594
+ never: "never";
595
+ onFailure: "onFailure";
596
+ always: "always";
597
+ }>>;
598
+ inputMethod: z.ZodOptional<z.ZodEnum<{
599
+ auto: "auto";
600
+ direct: "direct";
601
+ hardware: "hardware";
602
+ }>>;
603
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
604
+ screenshotRef: z.ZodOptional<z.ZodString>;
605
+ fingerprint: z.ZodOptional<z.ZodString>;
606
+ }, z.core.$strict>, z.ZodObject<{
607
+ action: z.ZodLiteral<"hover">;
608
+ target: R;
609
+ id: z.ZodString;
610
+ intent: z.ZodOptional<z.ZodString>;
611
+ note: z.ZodOptional<z.ZodString>;
612
+ saveAs: z.ZodOptional<z.ZodString>;
613
+ disabled: z.ZodOptional<z.ZodBoolean>;
614
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
615
+ timeoutMs: z.ZodOptional<z.ZodInt>;
616
+ retry: z.ZodOptional<z.ZodObject<{
617
+ attempts: z.ZodInt;
618
+ delayMs: z.ZodOptional<z.ZodInt>;
619
+ }, z.core.$strict>>;
620
+ onError: z.ZodOptional<z.ZodEnum<{
621
+ fail: "fail";
622
+ continue: "continue";
623
+ }>>;
624
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
625
+ timeoutMs: z.ZodOptional<z.ZodInt>;
626
+ kind: z.ZodLiteral<"elementVisible">;
627
+ target: R;
628
+ }, z.core.$strict>, z.ZodObject<{
629
+ timeoutMs: z.ZodOptional<z.ZodInt>;
630
+ kind: z.ZodLiteral<"elementGone">;
631
+ target: R;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ timeoutMs: z.ZodOptional<z.ZodInt>;
634
+ kind: z.ZodLiteral<"urlContains">;
635
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
636
+ }, z.core.$strict>, z.ZodObject<{
637
+ timeoutMs: z.ZodOptional<z.ZodInt>;
638
+ kind: z.ZodLiteral<"textPresent">;
639
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
640
+ }, z.core.$strict>, z.ZodObject<{
641
+ timeoutMs: z.ZodOptional<z.ZodInt>;
642
+ kind: z.ZodLiteral<"valueEquals">;
643
+ target: R;
644
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
645
+ }, z.core.$strict>], "kind">>;
646
+ screenshot: z.ZodOptional<z.ZodEnum<{
647
+ never: "never";
648
+ onFailure: "onFailure";
649
+ always: "always";
650
+ }>>;
651
+ inputMethod: z.ZodOptional<z.ZodEnum<{
652
+ auto: "auto";
653
+ direct: "direct";
654
+ hardware: "hardware";
655
+ }>>;
656
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
657
+ screenshotRef: z.ZodOptional<z.ZodString>;
658
+ fingerprint: z.ZodOptional<z.ZodString>;
659
+ }, z.core.$strict>, z.ZodObject<{
660
+ action: z.ZodLiteral<"type">;
661
+ target: z.ZodOptional<R>;
662
+ text: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
663
+ masked: z.ZodOptional<z.ZodBoolean>;
664
+ clear: z.ZodOptional<z.ZodBoolean>;
665
+ pressEnter: z.ZodOptional<z.ZodBoolean>;
666
+ delayMs: z.ZodOptional<z.ZodInt>;
667
+ id: z.ZodString;
668
+ intent: z.ZodOptional<z.ZodString>;
669
+ note: z.ZodOptional<z.ZodString>;
670
+ saveAs: z.ZodOptional<z.ZodString>;
671
+ disabled: z.ZodOptional<z.ZodBoolean>;
672
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
673
+ timeoutMs: z.ZodOptional<z.ZodInt>;
674
+ retry: z.ZodOptional<z.ZodObject<{
675
+ attempts: z.ZodInt;
676
+ delayMs: z.ZodOptional<z.ZodInt>;
677
+ }, z.core.$strict>>;
678
+ onError: z.ZodOptional<z.ZodEnum<{
679
+ fail: "fail";
680
+ continue: "continue";
681
+ }>>;
682
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
683
+ timeoutMs: z.ZodOptional<z.ZodInt>;
684
+ kind: z.ZodLiteral<"elementVisible">;
685
+ target: R;
686
+ }, z.core.$strict>, z.ZodObject<{
687
+ timeoutMs: z.ZodOptional<z.ZodInt>;
688
+ kind: z.ZodLiteral<"elementGone">;
689
+ target: R;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ timeoutMs: z.ZodOptional<z.ZodInt>;
692
+ kind: z.ZodLiteral<"urlContains">;
693
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
694
+ }, z.core.$strict>, z.ZodObject<{
695
+ timeoutMs: z.ZodOptional<z.ZodInt>;
696
+ kind: z.ZodLiteral<"textPresent">;
697
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
698
+ }, z.core.$strict>, z.ZodObject<{
699
+ timeoutMs: z.ZodOptional<z.ZodInt>;
700
+ kind: z.ZodLiteral<"valueEquals">;
701
+ target: R;
702
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
703
+ }, z.core.$strict>], "kind">>;
704
+ screenshot: z.ZodOptional<z.ZodEnum<{
705
+ never: "never";
706
+ onFailure: "onFailure";
707
+ always: "always";
708
+ }>>;
709
+ inputMethod: z.ZodOptional<z.ZodEnum<{
710
+ auto: "auto";
711
+ direct: "direct";
712
+ hardware: "hardware";
713
+ }>>;
714
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
715
+ screenshotRef: z.ZodOptional<z.ZodString>;
716
+ fingerprint: z.ZodOptional<z.ZodString>;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ action: z.ZodLiteral<"typeSecret">;
719
+ target: R;
720
+ secretRef: z.ZodString;
721
+ expectedOrigin: z.ZodOptional<z.ZodURL>;
722
+ id: z.ZodString;
723
+ intent: z.ZodOptional<z.ZodString>;
724
+ note: z.ZodOptional<z.ZodString>;
725
+ saveAs: z.ZodOptional<z.ZodString>;
726
+ disabled: z.ZodOptional<z.ZodBoolean>;
727
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
728
+ timeoutMs: z.ZodOptional<z.ZodInt>;
729
+ retry: z.ZodOptional<z.ZodObject<{
730
+ attempts: z.ZodInt;
731
+ delayMs: z.ZodOptional<z.ZodInt>;
732
+ }, z.core.$strict>>;
733
+ onError: z.ZodOptional<z.ZodEnum<{
734
+ fail: "fail";
735
+ continue: "continue";
736
+ }>>;
737
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
738
+ timeoutMs: z.ZodOptional<z.ZodInt>;
739
+ kind: z.ZodLiteral<"elementVisible">;
740
+ target: R;
741
+ }, z.core.$strict>, z.ZodObject<{
742
+ timeoutMs: z.ZodOptional<z.ZodInt>;
743
+ kind: z.ZodLiteral<"elementGone">;
744
+ target: R;
745
+ }, z.core.$strict>, z.ZodObject<{
746
+ timeoutMs: z.ZodOptional<z.ZodInt>;
747
+ kind: z.ZodLiteral<"urlContains">;
748
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ timeoutMs: z.ZodOptional<z.ZodInt>;
751
+ kind: z.ZodLiteral<"textPresent">;
752
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
753
+ }, z.core.$strict>, z.ZodObject<{
754
+ timeoutMs: z.ZodOptional<z.ZodInt>;
755
+ kind: z.ZodLiteral<"valueEquals">;
756
+ target: R;
757
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
758
+ }, z.core.$strict>], "kind">>;
759
+ screenshot: z.ZodOptional<z.ZodEnum<{
760
+ never: "never";
761
+ onFailure: "onFailure";
762
+ always: "always";
763
+ }>>;
764
+ inputMethod: z.ZodOptional<z.ZodEnum<{
765
+ auto: "auto";
766
+ direct: "direct";
767
+ hardware: "hardware";
768
+ }>>;
769
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
770
+ screenshotRef: z.ZodOptional<z.ZodString>;
771
+ fingerprint: z.ZodOptional<z.ZodString>;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ action: z.ZodLiteral<"clear">;
774
+ target: R;
775
+ id: z.ZodString;
776
+ intent: z.ZodOptional<z.ZodString>;
777
+ note: z.ZodOptional<z.ZodString>;
778
+ saveAs: z.ZodOptional<z.ZodString>;
779
+ disabled: z.ZodOptional<z.ZodBoolean>;
780
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
781
+ timeoutMs: z.ZodOptional<z.ZodInt>;
782
+ retry: z.ZodOptional<z.ZodObject<{
783
+ attempts: z.ZodInt;
784
+ delayMs: z.ZodOptional<z.ZodInt>;
785
+ }, z.core.$strict>>;
786
+ onError: z.ZodOptional<z.ZodEnum<{
787
+ fail: "fail";
788
+ continue: "continue";
789
+ }>>;
790
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
791
+ timeoutMs: z.ZodOptional<z.ZodInt>;
792
+ kind: z.ZodLiteral<"elementVisible">;
793
+ target: R;
794
+ }, z.core.$strict>, z.ZodObject<{
795
+ timeoutMs: z.ZodOptional<z.ZodInt>;
796
+ kind: z.ZodLiteral<"elementGone">;
797
+ target: R;
798
+ }, z.core.$strict>, z.ZodObject<{
799
+ timeoutMs: z.ZodOptional<z.ZodInt>;
800
+ kind: z.ZodLiteral<"urlContains">;
801
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
802
+ }, z.core.$strict>, z.ZodObject<{
803
+ timeoutMs: z.ZodOptional<z.ZodInt>;
804
+ kind: z.ZodLiteral<"textPresent">;
805
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
806
+ }, z.core.$strict>, z.ZodObject<{
807
+ timeoutMs: z.ZodOptional<z.ZodInt>;
808
+ kind: z.ZodLiteral<"valueEquals">;
809
+ target: R;
810
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
811
+ }, z.core.$strict>], "kind">>;
812
+ screenshot: z.ZodOptional<z.ZodEnum<{
813
+ never: "never";
814
+ onFailure: "onFailure";
815
+ always: "always";
816
+ }>>;
817
+ inputMethod: z.ZodOptional<z.ZodEnum<{
818
+ auto: "auto";
819
+ direct: "direct";
820
+ hardware: "hardware";
821
+ }>>;
822
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
823
+ screenshotRef: z.ZodOptional<z.ZodString>;
824
+ fingerprint: z.ZodOptional<z.ZodString>;
825
+ }, z.core.$strict>, z.ZodObject<{
826
+ action: z.ZodLiteral<"select">;
827
+ target: R;
828
+ values: z.ZodArray<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
829
+ id: z.ZodString;
830
+ intent: z.ZodOptional<z.ZodString>;
831
+ note: z.ZodOptional<z.ZodString>;
832
+ saveAs: z.ZodOptional<z.ZodString>;
833
+ disabled: z.ZodOptional<z.ZodBoolean>;
834
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
835
+ timeoutMs: z.ZodOptional<z.ZodInt>;
836
+ retry: z.ZodOptional<z.ZodObject<{
837
+ attempts: z.ZodInt;
838
+ delayMs: z.ZodOptional<z.ZodInt>;
839
+ }, z.core.$strict>>;
840
+ onError: z.ZodOptional<z.ZodEnum<{
841
+ fail: "fail";
842
+ continue: "continue";
843
+ }>>;
844
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
845
+ timeoutMs: z.ZodOptional<z.ZodInt>;
846
+ kind: z.ZodLiteral<"elementVisible">;
847
+ target: R;
848
+ }, z.core.$strict>, z.ZodObject<{
849
+ timeoutMs: z.ZodOptional<z.ZodInt>;
850
+ kind: z.ZodLiteral<"elementGone">;
851
+ target: R;
852
+ }, z.core.$strict>, z.ZodObject<{
853
+ timeoutMs: z.ZodOptional<z.ZodInt>;
854
+ kind: z.ZodLiteral<"urlContains">;
855
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
856
+ }, z.core.$strict>, z.ZodObject<{
857
+ timeoutMs: z.ZodOptional<z.ZodInt>;
858
+ kind: z.ZodLiteral<"textPresent">;
859
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
860
+ }, z.core.$strict>, z.ZodObject<{
861
+ timeoutMs: z.ZodOptional<z.ZodInt>;
862
+ kind: z.ZodLiteral<"valueEquals">;
863
+ target: R;
864
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
865
+ }, z.core.$strict>], "kind">>;
866
+ screenshot: z.ZodOptional<z.ZodEnum<{
867
+ never: "never";
868
+ onFailure: "onFailure";
869
+ always: "always";
870
+ }>>;
871
+ inputMethod: z.ZodOptional<z.ZodEnum<{
872
+ auto: "auto";
873
+ direct: "direct";
874
+ hardware: "hardware";
875
+ }>>;
876
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
877
+ screenshotRef: z.ZodOptional<z.ZodString>;
878
+ fingerprint: z.ZodOptional<z.ZodString>;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ action: z.ZodLiteral<"check">;
881
+ target: R;
882
+ checked: z.ZodOptional<z.ZodBoolean>;
883
+ id: z.ZodString;
884
+ intent: z.ZodOptional<z.ZodString>;
885
+ note: z.ZodOptional<z.ZodString>;
886
+ saveAs: z.ZodOptional<z.ZodString>;
887
+ disabled: z.ZodOptional<z.ZodBoolean>;
888
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
889
+ timeoutMs: z.ZodOptional<z.ZodInt>;
890
+ retry: z.ZodOptional<z.ZodObject<{
891
+ attempts: z.ZodInt;
892
+ delayMs: z.ZodOptional<z.ZodInt>;
893
+ }, z.core.$strict>>;
894
+ onError: z.ZodOptional<z.ZodEnum<{
895
+ fail: "fail";
896
+ continue: "continue";
897
+ }>>;
898
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
899
+ timeoutMs: z.ZodOptional<z.ZodInt>;
900
+ kind: z.ZodLiteral<"elementVisible">;
901
+ target: R;
902
+ }, z.core.$strict>, z.ZodObject<{
903
+ timeoutMs: z.ZodOptional<z.ZodInt>;
904
+ kind: z.ZodLiteral<"elementGone">;
905
+ target: R;
906
+ }, z.core.$strict>, z.ZodObject<{
907
+ timeoutMs: z.ZodOptional<z.ZodInt>;
908
+ kind: z.ZodLiteral<"urlContains">;
909
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
910
+ }, z.core.$strict>, z.ZodObject<{
911
+ timeoutMs: z.ZodOptional<z.ZodInt>;
912
+ kind: z.ZodLiteral<"textPresent">;
913
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
914
+ }, z.core.$strict>, z.ZodObject<{
915
+ timeoutMs: z.ZodOptional<z.ZodInt>;
916
+ kind: z.ZodLiteral<"valueEquals">;
917
+ target: R;
918
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
919
+ }, z.core.$strict>], "kind">>;
920
+ screenshot: z.ZodOptional<z.ZodEnum<{
921
+ never: "never";
922
+ onFailure: "onFailure";
923
+ always: "always";
924
+ }>>;
925
+ inputMethod: z.ZodOptional<z.ZodEnum<{
926
+ auto: "auto";
927
+ direct: "direct";
928
+ hardware: "hardware";
929
+ }>>;
930
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
931
+ screenshotRef: z.ZodOptional<z.ZodString>;
932
+ fingerprint: z.ZodOptional<z.ZodString>;
933
+ }, z.core.$strict>, z.ZodObject<{
934
+ action: z.ZodLiteral<"pressKey">;
935
+ keys: z.ZodArray<z.ZodString>;
936
+ target: z.ZodOptional<R>;
937
+ id: z.ZodString;
938
+ intent: z.ZodOptional<z.ZodString>;
939
+ note: z.ZodOptional<z.ZodString>;
940
+ saveAs: z.ZodOptional<z.ZodString>;
941
+ disabled: z.ZodOptional<z.ZodBoolean>;
942
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
943
+ timeoutMs: z.ZodOptional<z.ZodInt>;
944
+ retry: z.ZodOptional<z.ZodObject<{
945
+ attempts: z.ZodInt;
946
+ delayMs: z.ZodOptional<z.ZodInt>;
947
+ }, z.core.$strict>>;
948
+ onError: z.ZodOptional<z.ZodEnum<{
949
+ fail: "fail";
950
+ continue: "continue";
951
+ }>>;
952
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
953
+ timeoutMs: z.ZodOptional<z.ZodInt>;
954
+ kind: z.ZodLiteral<"elementVisible">;
955
+ target: R;
956
+ }, z.core.$strict>, z.ZodObject<{
957
+ timeoutMs: z.ZodOptional<z.ZodInt>;
958
+ kind: z.ZodLiteral<"elementGone">;
959
+ target: R;
960
+ }, z.core.$strict>, z.ZodObject<{
961
+ timeoutMs: z.ZodOptional<z.ZodInt>;
962
+ kind: z.ZodLiteral<"urlContains">;
963
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
964
+ }, z.core.$strict>, z.ZodObject<{
965
+ timeoutMs: z.ZodOptional<z.ZodInt>;
966
+ kind: z.ZodLiteral<"textPresent">;
967
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
968
+ }, z.core.$strict>, z.ZodObject<{
969
+ timeoutMs: z.ZodOptional<z.ZodInt>;
970
+ kind: z.ZodLiteral<"valueEquals">;
971
+ target: R;
972
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
973
+ }, z.core.$strict>], "kind">>;
974
+ screenshot: z.ZodOptional<z.ZodEnum<{
975
+ never: "never";
976
+ onFailure: "onFailure";
977
+ always: "always";
978
+ }>>;
979
+ inputMethod: z.ZodOptional<z.ZodEnum<{
980
+ auto: "auto";
981
+ direct: "direct";
982
+ hardware: "hardware";
983
+ }>>;
984
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
985
+ screenshotRef: z.ZodOptional<z.ZodString>;
986
+ fingerprint: z.ZodOptional<z.ZodString>;
987
+ }, z.core.$strict>, z.ZodObject<{
988
+ action: z.ZodLiteral<"scroll">;
989
+ target: z.ZodOptional<R>;
990
+ dx: z.ZodOptional<z.ZodInt>;
991
+ dy: z.ZodOptional<z.ZodInt>;
992
+ to: z.ZodOptional<z.ZodEnum<{
993
+ top: "top";
994
+ bottom: "bottom";
995
+ }>>;
996
+ id: z.ZodString;
997
+ intent: z.ZodOptional<z.ZodString>;
998
+ note: z.ZodOptional<z.ZodString>;
999
+ saveAs: z.ZodOptional<z.ZodString>;
1000
+ disabled: z.ZodOptional<z.ZodBoolean>;
1001
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1002
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1003
+ retry: z.ZodOptional<z.ZodObject<{
1004
+ attempts: z.ZodInt;
1005
+ delayMs: z.ZodOptional<z.ZodInt>;
1006
+ }, z.core.$strict>>;
1007
+ onError: z.ZodOptional<z.ZodEnum<{
1008
+ fail: "fail";
1009
+ continue: "continue";
1010
+ }>>;
1011
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1012
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1013
+ kind: z.ZodLiteral<"elementVisible">;
1014
+ target: R;
1015
+ }, z.core.$strict>, z.ZodObject<{
1016
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1017
+ kind: z.ZodLiteral<"elementGone">;
1018
+ target: R;
1019
+ }, z.core.$strict>, z.ZodObject<{
1020
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1021
+ kind: z.ZodLiteral<"urlContains">;
1022
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1023
+ }, z.core.$strict>, z.ZodObject<{
1024
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1025
+ kind: z.ZodLiteral<"textPresent">;
1026
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1027
+ }, z.core.$strict>, z.ZodObject<{
1028
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1029
+ kind: z.ZodLiteral<"valueEquals">;
1030
+ target: R;
1031
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1032
+ }, z.core.$strict>], "kind">>;
1033
+ screenshot: z.ZodOptional<z.ZodEnum<{
1034
+ never: "never";
1035
+ onFailure: "onFailure";
1036
+ always: "always";
1037
+ }>>;
1038
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1039
+ auto: "auto";
1040
+ direct: "direct";
1041
+ hardware: "hardware";
1042
+ }>>;
1043
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1044
+ screenshotRef: z.ZodOptional<z.ZodString>;
1045
+ fingerprint: z.ZodOptional<z.ZodString>;
1046
+ }, z.core.$strict>, z.ZodObject<{
1047
+ action: z.ZodLiteral<"waitFor">;
1048
+ target: z.ZodOptional<R>;
1049
+ text: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
1050
+ urlContains: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
1051
+ milliseconds: z.ZodOptional<z.ZodInt>;
1052
+ state: z.ZodOptional<z.ZodEnum<{
1053
+ visible: "visible";
1054
+ hidden: "hidden";
1055
+ attached: "attached";
1056
+ detached: "detached";
1057
+ }>>;
1058
+ id: z.ZodString;
1059
+ intent: z.ZodOptional<z.ZodString>;
1060
+ note: z.ZodOptional<z.ZodString>;
1061
+ saveAs: z.ZodOptional<z.ZodString>;
1062
+ disabled: z.ZodOptional<z.ZodBoolean>;
1063
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1064
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1065
+ retry: z.ZodOptional<z.ZodObject<{
1066
+ attempts: z.ZodInt;
1067
+ delayMs: z.ZodOptional<z.ZodInt>;
1068
+ }, z.core.$strict>>;
1069
+ onError: z.ZodOptional<z.ZodEnum<{
1070
+ fail: "fail";
1071
+ continue: "continue";
1072
+ }>>;
1073
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1074
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1075
+ kind: z.ZodLiteral<"elementVisible">;
1076
+ target: R;
1077
+ }, z.core.$strict>, z.ZodObject<{
1078
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1079
+ kind: z.ZodLiteral<"elementGone">;
1080
+ target: R;
1081
+ }, z.core.$strict>, z.ZodObject<{
1082
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1083
+ kind: z.ZodLiteral<"urlContains">;
1084
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1085
+ }, z.core.$strict>, z.ZodObject<{
1086
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1087
+ kind: z.ZodLiteral<"textPresent">;
1088
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1089
+ }, z.core.$strict>, z.ZodObject<{
1090
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1091
+ kind: z.ZodLiteral<"valueEquals">;
1092
+ target: R;
1093
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1094
+ }, z.core.$strict>], "kind">>;
1095
+ screenshot: z.ZodOptional<z.ZodEnum<{
1096
+ never: "never";
1097
+ onFailure: "onFailure";
1098
+ always: "always";
1099
+ }>>;
1100
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1101
+ auto: "auto";
1102
+ direct: "direct";
1103
+ hardware: "hardware";
1104
+ }>>;
1105
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1106
+ screenshotRef: z.ZodOptional<z.ZodString>;
1107
+ fingerprint: z.ZodOptional<z.ZodString>;
1108
+ }, z.core.$strict>, z.ZodObject<{
1109
+ action: z.ZodLiteral<"extract">;
1110
+ fields: z.ZodArray<z.ZodObject<{
1111
+ name: z.ZodString;
1112
+ target: R;
1113
+ attribute: z.ZodOptional<z.ZodString>;
1114
+ all: z.ZodOptional<z.ZodBoolean>;
1115
+ }, z.core.$strict>>;
1116
+ id: z.ZodString;
1117
+ intent: z.ZodOptional<z.ZodString>;
1118
+ note: z.ZodOptional<z.ZodString>;
1119
+ saveAs: z.ZodOptional<z.ZodString>;
1120
+ disabled: z.ZodOptional<z.ZodBoolean>;
1121
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1122
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1123
+ retry: z.ZodOptional<z.ZodObject<{
1124
+ attempts: z.ZodInt;
1125
+ delayMs: z.ZodOptional<z.ZodInt>;
1126
+ }, z.core.$strict>>;
1127
+ onError: z.ZodOptional<z.ZodEnum<{
1128
+ fail: "fail";
1129
+ continue: "continue";
1130
+ }>>;
1131
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1132
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1133
+ kind: z.ZodLiteral<"elementVisible">;
1134
+ target: R;
1135
+ }, z.core.$strict>, z.ZodObject<{
1136
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1137
+ kind: z.ZodLiteral<"elementGone">;
1138
+ target: R;
1139
+ }, z.core.$strict>, z.ZodObject<{
1140
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1141
+ kind: z.ZodLiteral<"urlContains">;
1142
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1143
+ }, z.core.$strict>, z.ZodObject<{
1144
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1145
+ kind: z.ZodLiteral<"textPresent">;
1146
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1147
+ }, z.core.$strict>, z.ZodObject<{
1148
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1149
+ kind: z.ZodLiteral<"valueEquals">;
1150
+ target: R;
1151
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1152
+ }, z.core.$strict>], "kind">>;
1153
+ screenshot: z.ZodOptional<z.ZodEnum<{
1154
+ never: "never";
1155
+ onFailure: "onFailure";
1156
+ always: "always";
1157
+ }>>;
1158
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1159
+ auto: "auto";
1160
+ direct: "direct";
1161
+ hardware: "hardware";
1162
+ }>>;
1163
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1164
+ screenshotRef: z.ZodOptional<z.ZodString>;
1165
+ fingerprint: z.ZodOptional<z.ZodString>;
1166
+ }, z.core.$strict>, z.ZodObject<{
1167
+ action: z.ZodLiteral<"extractList">;
1168
+ item: R;
1169
+ fields: z.ZodArray<z.ZodObject<{
1170
+ name: z.ZodString;
1171
+ target: R;
1172
+ attribute: z.ZodOptional<z.ZodString>;
1173
+ all: z.ZodOptional<z.ZodBoolean>;
1174
+ }, z.core.$strict>>;
1175
+ maxItems: z.ZodOptional<z.ZodInt>;
1176
+ next: z.ZodOptional<R>;
1177
+ maxPages: z.ZodOptional<z.ZodInt>;
1178
+ id: z.ZodString;
1179
+ intent: z.ZodOptional<z.ZodString>;
1180
+ note: z.ZodOptional<z.ZodString>;
1181
+ saveAs: z.ZodOptional<z.ZodString>;
1182
+ disabled: z.ZodOptional<z.ZodBoolean>;
1183
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1184
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1185
+ retry: z.ZodOptional<z.ZodObject<{
1186
+ attempts: z.ZodInt;
1187
+ delayMs: z.ZodOptional<z.ZodInt>;
1188
+ }, z.core.$strict>>;
1189
+ onError: z.ZodOptional<z.ZodEnum<{
1190
+ fail: "fail";
1191
+ continue: "continue";
1192
+ }>>;
1193
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1194
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1195
+ kind: z.ZodLiteral<"elementVisible">;
1196
+ target: R;
1197
+ }, z.core.$strict>, z.ZodObject<{
1198
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1199
+ kind: z.ZodLiteral<"elementGone">;
1200
+ target: R;
1201
+ }, z.core.$strict>, z.ZodObject<{
1202
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1203
+ kind: z.ZodLiteral<"urlContains">;
1204
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1205
+ }, z.core.$strict>, z.ZodObject<{
1206
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1207
+ kind: z.ZodLiteral<"textPresent">;
1208
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1209
+ }, z.core.$strict>, z.ZodObject<{
1210
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1211
+ kind: z.ZodLiteral<"valueEquals">;
1212
+ target: R;
1213
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1214
+ }, z.core.$strict>], "kind">>;
1215
+ screenshot: z.ZodOptional<z.ZodEnum<{
1216
+ never: "never";
1217
+ onFailure: "onFailure";
1218
+ always: "always";
1219
+ }>>;
1220
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1221
+ auto: "auto";
1222
+ direct: "direct";
1223
+ hardware: "hardware";
1224
+ }>>;
1225
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1226
+ screenshotRef: z.ZodOptional<z.ZodString>;
1227
+ fingerprint: z.ZodOptional<z.ZodString>;
1228
+ }, z.core.$strict>, z.ZodObject<{
1229
+ action: z.ZodLiteral<"getText">;
1230
+ target: R;
1231
+ id: z.ZodString;
1232
+ intent: z.ZodOptional<z.ZodString>;
1233
+ note: z.ZodOptional<z.ZodString>;
1234
+ saveAs: z.ZodOptional<z.ZodString>;
1235
+ disabled: z.ZodOptional<z.ZodBoolean>;
1236
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1237
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1238
+ retry: z.ZodOptional<z.ZodObject<{
1239
+ attempts: z.ZodInt;
1240
+ delayMs: z.ZodOptional<z.ZodInt>;
1241
+ }, z.core.$strict>>;
1242
+ onError: z.ZodOptional<z.ZodEnum<{
1243
+ fail: "fail";
1244
+ continue: "continue";
1245
+ }>>;
1246
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1247
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1248
+ kind: z.ZodLiteral<"elementVisible">;
1249
+ target: R;
1250
+ }, z.core.$strict>, z.ZodObject<{
1251
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1252
+ kind: z.ZodLiteral<"elementGone">;
1253
+ target: R;
1254
+ }, z.core.$strict>, z.ZodObject<{
1255
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1256
+ kind: z.ZodLiteral<"urlContains">;
1257
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1258
+ }, z.core.$strict>, z.ZodObject<{
1259
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1260
+ kind: z.ZodLiteral<"textPresent">;
1261
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1262
+ }, z.core.$strict>, z.ZodObject<{
1263
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1264
+ kind: z.ZodLiteral<"valueEquals">;
1265
+ target: R;
1266
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1267
+ }, z.core.$strict>], "kind">>;
1268
+ screenshot: z.ZodOptional<z.ZodEnum<{
1269
+ never: "never";
1270
+ onFailure: "onFailure";
1271
+ always: "always";
1272
+ }>>;
1273
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1274
+ auto: "auto";
1275
+ direct: "direct";
1276
+ hardware: "hardware";
1277
+ }>>;
1278
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1279
+ screenshotRef: z.ZodOptional<z.ZodString>;
1280
+ fingerprint: z.ZodOptional<z.ZodString>;
1281
+ }, z.core.$strict>, z.ZodObject<{
1282
+ action: z.ZodLiteral<"getValue">;
1283
+ target: R;
1284
+ id: z.ZodString;
1285
+ intent: z.ZodOptional<z.ZodString>;
1286
+ note: z.ZodOptional<z.ZodString>;
1287
+ saveAs: z.ZodOptional<z.ZodString>;
1288
+ disabled: z.ZodOptional<z.ZodBoolean>;
1289
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1290
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1291
+ retry: z.ZodOptional<z.ZodObject<{
1292
+ attempts: z.ZodInt;
1293
+ delayMs: z.ZodOptional<z.ZodInt>;
1294
+ }, z.core.$strict>>;
1295
+ onError: z.ZodOptional<z.ZodEnum<{
1296
+ fail: "fail";
1297
+ continue: "continue";
1298
+ }>>;
1299
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1300
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1301
+ kind: z.ZodLiteral<"elementVisible">;
1302
+ target: R;
1303
+ }, z.core.$strict>, z.ZodObject<{
1304
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1305
+ kind: z.ZodLiteral<"elementGone">;
1306
+ target: R;
1307
+ }, z.core.$strict>, z.ZodObject<{
1308
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1309
+ kind: z.ZodLiteral<"urlContains">;
1310
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1311
+ }, z.core.$strict>, z.ZodObject<{
1312
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1313
+ kind: z.ZodLiteral<"textPresent">;
1314
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1315
+ }, z.core.$strict>, z.ZodObject<{
1316
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1317
+ kind: z.ZodLiteral<"valueEquals">;
1318
+ target: R;
1319
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1320
+ }, z.core.$strict>], "kind">>;
1321
+ screenshot: z.ZodOptional<z.ZodEnum<{
1322
+ never: "never";
1323
+ onFailure: "onFailure";
1324
+ always: "always";
1325
+ }>>;
1326
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1327
+ auto: "auto";
1328
+ direct: "direct";
1329
+ hardware: "hardware";
1330
+ }>>;
1331
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1332
+ screenshotRef: z.ZodOptional<z.ZodString>;
1333
+ fingerprint: z.ZodOptional<z.ZodString>;
1334
+ }, z.core.$strict>, z.ZodObject<{
1335
+ action: z.ZodLiteral<"getAttribute">;
1336
+ target: R;
1337
+ attribute: z.ZodString;
1338
+ id: z.ZodString;
1339
+ intent: z.ZodOptional<z.ZodString>;
1340
+ note: z.ZodOptional<z.ZodString>;
1341
+ saveAs: z.ZodOptional<z.ZodString>;
1342
+ disabled: z.ZodOptional<z.ZodBoolean>;
1343
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1344
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1345
+ retry: z.ZodOptional<z.ZodObject<{
1346
+ attempts: z.ZodInt;
1347
+ delayMs: z.ZodOptional<z.ZodInt>;
1348
+ }, z.core.$strict>>;
1349
+ onError: z.ZodOptional<z.ZodEnum<{
1350
+ fail: "fail";
1351
+ continue: "continue";
1352
+ }>>;
1353
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1354
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1355
+ kind: z.ZodLiteral<"elementVisible">;
1356
+ target: R;
1357
+ }, z.core.$strict>, z.ZodObject<{
1358
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1359
+ kind: z.ZodLiteral<"elementGone">;
1360
+ target: R;
1361
+ }, z.core.$strict>, z.ZodObject<{
1362
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1363
+ kind: z.ZodLiteral<"urlContains">;
1364
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1365
+ }, z.core.$strict>, z.ZodObject<{
1366
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1367
+ kind: z.ZodLiteral<"textPresent">;
1368
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1369
+ }, z.core.$strict>, z.ZodObject<{
1370
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1371
+ kind: z.ZodLiteral<"valueEquals">;
1372
+ target: R;
1373
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1374
+ }, z.core.$strict>], "kind">>;
1375
+ screenshot: z.ZodOptional<z.ZodEnum<{
1376
+ never: "never";
1377
+ onFailure: "onFailure";
1378
+ always: "always";
1379
+ }>>;
1380
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1381
+ auto: "auto";
1382
+ direct: "direct";
1383
+ hardware: "hardware";
1384
+ }>>;
1385
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1386
+ screenshotRef: z.ZodOptional<z.ZodString>;
1387
+ fingerprint: z.ZodOptional<z.ZodString>;
1388
+ }, z.core.$strict>, z.ZodObject<{
1389
+ action: z.ZodLiteral<"elementExists">;
1390
+ target: R;
1391
+ id: z.ZodString;
1392
+ intent: z.ZodOptional<z.ZodString>;
1393
+ note: z.ZodOptional<z.ZodString>;
1394
+ saveAs: z.ZodOptional<z.ZodString>;
1395
+ disabled: z.ZodOptional<z.ZodBoolean>;
1396
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1397
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1398
+ retry: z.ZodOptional<z.ZodObject<{
1399
+ attempts: z.ZodInt;
1400
+ delayMs: z.ZodOptional<z.ZodInt>;
1401
+ }, z.core.$strict>>;
1402
+ onError: z.ZodOptional<z.ZodEnum<{
1403
+ fail: "fail";
1404
+ continue: "continue";
1405
+ }>>;
1406
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1407
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1408
+ kind: z.ZodLiteral<"elementVisible">;
1409
+ target: R;
1410
+ }, z.core.$strict>, z.ZodObject<{
1411
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1412
+ kind: z.ZodLiteral<"elementGone">;
1413
+ target: R;
1414
+ }, z.core.$strict>, z.ZodObject<{
1415
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1416
+ kind: z.ZodLiteral<"urlContains">;
1417
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1418
+ }, z.core.$strict>, z.ZodObject<{
1419
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1420
+ kind: z.ZodLiteral<"textPresent">;
1421
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1422
+ }, z.core.$strict>, z.ZodObject<{
1423
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1424
+ kind: z.ZodLiteral<"valueEquals">;
1425
+ target: R;
1426
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1427
+ }, z.core.$strict>], "kind">>;
1428
+ screenshot: z.ZodOptional<z.ZodEnum<{
1429
+ never: "never";
1430
+ onFailure: "onFailure";
1431
+ always: "always";
1432
+ }>>;
1433
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1434
+ auto: "auto";
1435
+ direct: "direct";
1436
+ hardware: "hardware";
1437
+ }>>;
1438
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1439
+ screenshotRef: z.ZodOptional<z.ZodString>;
1440
+ fingerprint: z.ZodOptional<z.ZodString>;
1441
+ }, z.core.$strict>, z.ZodObject<{
1442
+ action: z.ZodLiteral<"getPageText">;
1443
+ id: z.ZodString;
1444
+ intent: z.ZodOptional<z.ZodString>;
1445
+ note: z.ZodOptional<z.ZodString>;
1446
+ saveAs: z.ZodOptional<z.ZodString>;
1447
+ disabled: z.ZodOptional<z.ZodBoolean>;
1448
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1449
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1450
+ retry: z.ZodOptional<z.ZodObject<{
1451
+ attempts: z.ZodInt;
1452
+ delayMs: z.ZodOptional<z.ZodInt>;
1453
+ }, z.core.$strict>>;
1454
+ onError: z.ZodOptional<z.ZodEnum<{
1455
+ fail: "fail";
1456
+ continue: "continue";
1457
+ }>>;
1458
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1459
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1460
+ kind: z.ZodLiteral<"elementVisible">;
1461
+ target: R;
1462
+ }, z.core.$strict>, z.ZodObject<{
1463
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1464
+ kind: z.ZodLiteral<"elementGone">;
1465
+ target: R;
1466
+ }, z.core.$strict>, z.ZodObject<{
1467
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1468
+ kind: z.ZodLiteral<"urlContains">;
1469
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1470
+ }, z.core.$strict>, z.ZodObject<{
1471
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1472
+ kind: z.ZodLiteral<"textPresent">;
1473
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1474
+ }, z.core.$strict>, z.ZodObject<{
1475
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1476
+ kind: z.ZodLiteral<"valueEquals">;
1477
+ target: R;
1478
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1479
+ }, z.core.$strict>], "kind">>;
1480
+ screenshot: z.ZodOptional<z.ZodEnum<{
1481
+ never: "never";
1482
+ onFailure: "onFailure";
1483
+ always: "always";
1484
+ }>>;
1485
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1486
+ auto: "auto";
1487
+ direct: "direct";
1488
+ hardware: "hardware";
1489
+ }>>;
1490
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1491
+ screenshotRef: z.ZodOptional<z.ZodString>;
1492
+ fingerprint: z.ZodOptional<z.ZodString>;
1493
+ }, z.core.$strict>, z.ZodObject<{
1494
+ action: z.ZodLiteral<"getPageHtml">;
1495
+ id: z.ZodString;
1496
+ intent: z.ZodOptional<z.ZodString>;
1497
+ note: z.ZodOptional<z.ZodString>;
1498
+ saveAs: z.ZodOptional<z.ZodString>;
1499
+ disabled: z.ZodOptional<z.ZodBoolean>;
1500
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1501
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1502
+ retry: z.ZodOptional<z.ZodObject<{
1503
+ attempts: z.ZodInt;
1504
+ delayMs: z.ZodOptional<z.ZodInt>;
1505
+ }, z.core.$strict>>;
1506
+ onError: z.ZodOptional<z.ZodEnum<{
1507
+ fail: "fail";
1508
+ continue: "continue";
1509
+ }>>;
1510
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1511
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1512
+ kind: z.ZodLiteral<"elementVisible">;
1513
+ target: R;
1514
+ }, z.core.$strict>, z.ZodObject<{
1515
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1516
+ kind: z.ZodLiteral<"elementGone">;
1517
+ target: R;
1518
+ }, z.core.$strict>, z.ZodObject<{
1519
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1520
+ kind: z.ZodLiteral<"urlContains">;
1521
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1522
+ }, z.core.$strict>, z.ZodObject<{
1523
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1524
+ kind: z.ZodLiteral<"textPresent">;
1525
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1526
+ }, z.core.$strict>, z.ZodObject<{
1527
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1528
+ kind: z.ZodLiteral<"valueEquals">;
1529
+ target: R;
1530
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1531
+ }, z.core.$strict>], "kind">>;
1532
+ screenshot: z.ZodOptional<z.ZodEnum<{
1533
+ never: "never";
1534
+ onFailure: "onFailure";
1535
+ always: "always";
1536
+ }>>;
1537
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1538
+ auto: "auto";
1539
+ direct: "direct";
1540
+ hardware: "hardware";
1541
+ }>>;
1542
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1543
+ screenshotRef: z.ZodOptional<z.ZodString>;
1544
+ fingerprint: z.ZodOptional<z.ZodString>;
1545
+ }, z.core.$strict>, z.ZodObject<{
1546
+ action: z.ZodLiteral<"screenshot">;
1547
+ target: z.ZodOptional<R>;
1548
+ fullPage: z.ZodOptional<z.ZodBoolean>;
1549
+ id: z.ZodString;
1550
+ intent: z.ZodOptional<z.ZodString>;
1551
+ note: z.ZodOptional<z.ZodString>;
1552
+ saveAs: z.ZodOptional<z.ZodString>;
1553
+ disabled: z.ZodOptional<z.ZodBoolean>;
1554
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1555
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1556
+ retry: z.ZodOptional<z.ZodObject<{
1557
+ attempts: z.ZodInt;
1558
+ delayMs: z.ZodOptional<z.ZodInt>;
1559
+ }, z.core.$strict>>;
1560
+ onError: z.ZodOptional<z.ZodEnum<{
1561
+ fail: "fail";
1562
+ continue: "continue";
1563
+ }>>;
1564
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1565
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1566
+ kind: z.ZodLiteral<"elementVisible">;
1567
+ target: R;
1568
+ }, z.core.$strict>, z.ZodObject<{
1569
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1570
+ kind: z.ZodLiteral<"elementGone">;
1571
+ target: R;
1572
+ }, z.core.$strict>, z.ZodObject<{
1573
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1574
+ kind: z.ZodLiteral<"urlContains">;
1575
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1576
+ }, z.core.$strict>, z.ZodObject<{
1577
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1578
+ kind: z.ZodLiteral<"textPresent">;
1579
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1580
+ }, z.core.$strict>, z.ZodObject<{
1581
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1582
+ kind: z.ZodLiteral<"valueEquals">;
1583
+ target: R;
1584
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1585
+ }, z.core.$strict>], "kind">>;
1586
+ screenshot: z.ZodOptional<z.ZodEnum<{
1587
+ never: "never";
1588
+ onFailure: "onFailure";
1589
+ always: "always";
1590
+ }>>;
1591
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1592
+ auto: "auto";
1593
+ direct: "direct";
1594
+ hardware: "hardware";
1595
+ }>>;
1596
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1597
+ screenshotRef: z.ZodOptional<z.ZodString>;
1598
+ fingerprint: z.ZodOptional<z.ZodString>;
1599
+ }, z.core.$strict>, z.ZodObject<{
1600
+ action: z.ZodLiteral<"login">;
1601
+ username: z.ZodOptional<R>;
1602
+ password: z.ZodOptional<R>;
1603
+ submit: z.ZodOptional<R>;
1604
+ success: z.ZodOptional<R>;
1605
+ id: z.ZodString;
1606
+ intent: z.ZodOptional<z.ZodString>;
1607
+ note: z.ZodOptional<z.ZodString>;
1608
+ saveAs: z.ZodOptional<z.ZodString>;
1609
+ disabled: z.ZodOptional<z.ZodBoolean>;
1610
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1611
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1612
+ retry: z.ZodOptional<z.ZodObject<{
1613
+ attempts: z.ZodInt;
1614
+ delayMs: z.ZodOptional<z.ZodInt>;
1615
+ }, z.core.$strict>>;
1616
+ onError: z.ZodOptional<z.ZodEnum<{
1617
+ fail: "fail";
1618
+ continue: "continue";
1619
+ }>>;
1620
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1621
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1622
+ kind: z.ZodLiteral<"elementVisible">;
1623
+ target: R;
1624
+ }, z.core.$strict>, z.ZodObject<{
1625
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1626
+ kind: z.ZodLiteral<"elementGone">;
1627
+ target: R;
1628
+ }, z.core.$strict>, z.ZodObject<{
1629
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1630
+ kind: z.ZodLiteral<"urlContains">;
1631
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1632
+ }, z.core.$strict>, z.ZodObject<{
1633
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1634
+ kind: z.ZodLiteral<"textPresent">;
1635
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1636
+ }, z.core.$strict>, z.ZodObject<{
1637
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1638
+ kind: z.ZodLiteral<"valueEquals">;
1639
+ target: R;
1640
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1641
+ }, z.core.$strict>], "kind">>;
1642
+ screenshot: z.ZodOptional<z.ZodEnum<{
1643
+ never: "never";
1644
+ onFailure: "onFailure";
1645
+ always: "always";
1646
+ }>>;
1647
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1648
+ auto: "auto";
1649
+ direct: "direct";
1650
+ hardware: "hardware";
1651
+ }>>;
1652
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1653
+ screenshotRef: z.ZodOptional<z.ZodString>;
1654
+ fingerprint: z.ZodOptional<z.ZodString>;
1655
+ }, z.core.$strict>];
1656
+ focusWindow: z.ZodObject<{
1657
+ action: z.ZodLiteral<"focusWindow">;
1658
+ app: z.ZodString;
1659
+ title: z.ZodOptional<z.ZodString>;
1660
+ id: z.ZodString;
1661
+ intent: z.ZodOptional<z.ZodString>;
1662
+ note: z.ZodOptional<z.ZodString>;
1663
+ saveAs: z.ZodOptional<z.ZodString>;
1664
+ disabled: z.ZodOptional<z.ZodBoolean>;
1665
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1666
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1667
+ retry: z.ZodOptional<z.ZodObject<{
1668
+ attempts: z.ZodInt;
1669
+ delayMs: z.ZodOptional<z.ZodInt>;
1670
+ }, z.core.$strict>>;
1671
+ onError: z.ZodOptional<z.ZodEnum<{
1672
+ fail: "fail";
1673
+ continue: "continue";
1674
+ }>>;
1675
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1676
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1677
+ kind: z.ZodLiteral<"elementVisible">;
1678
+ target: R;
1679
+ }, z.core.$strict>, z.ZodObject<{
1680
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1681
+ kind: z.ZodLiteral<"elementGone">;
1682
+ target: R;
1683
+ }, z.core.$strict>, z.ZodObject<{
1684
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1685
+ kind: z.ZodLiteral<"urlContains">;
1686
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1687
+ }, z.core.$strict>, z.ZodObject<{
1688
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1689
+ kind: z.ZodLiteral<"textPresent">;
1690
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1691
+ }, z.core.$strict>, z.ZodObject<{
1692
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1693
+ kind: z.ZodLiteral<"valueEquals">;
1694
+ target: R;
1695
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1696
+ }, z.core.$strict>], "kind">>;
1697
+ screenshot: z.ZodOptional<z.ZodEnum<{
1698
+ never: "never";
1699
+ onFailure: "onFailure";
1700
+ always: "always";
1701
+ }>>;
1702
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1703
+ auto: "auto";
1704
+ direct: "direct";
1705
+ hardware: "hardware";
1706
+ }>>;
1707
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1708
+ screenshotRef: z.ZodOptional<z.ZodString>;
1709
+ fingerprint: z.ZodOptional<z.ZodString>;
1710
+ }, z.core.$strict>;
1711
+ flow: readonly [z.ZodObject<{
1712
+ then: S;
1713
+ else: z.ZodOptional<S>;
1714
+ condition: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
1715
+ elementExists: z.ZodOptional<R>;
1716
+ action: z.ZodLiteral<"if">;
1717
+ id: z.ZodString;
1718
+ intent: z.ZodOptional<z.ZodString>;
1719
+ note: z.ZodOptional<z.ZodString>;
1720
+ saveAs: z.ZodOptional<z.ZodString>;
1721
+ disabled: z.ZodOptional<z.ZodBoolean>;
1722
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1723
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1724
+ retry: z.ZodOptional<z.ZodObject<{
1725
+ attempts: z.ZodInt;
1726
+ delayMs: z.ZodOptional<z.ZodInt>;
1727
+ }, z.core.$strict>>;
1728
+ onError: z.ZodOptional<z.ZodEnum<{
1729
+ fail: "fail";
1730
+ continue: "continue";
1731
+ }>>;
1732
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1733
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1734
+ kind: z.ZodLiteral<"elementVisible">;
1735
+ target: R;
1736
+ }, z.core.$strict>, z.ZodObject<{
1737
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1738
+ kind: z.ZodLiteral<"elementGone">;
1739
+ target: R;
1740
+ }, z.core.$strict>, z.ZodObject<{
1741
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1742
+ kind: z.ZodLiteral<"urlContains">;
1743
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1744
+ }, z.core.$strict>, z.ZodObject<{
1745
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1746
+ kind: z.ZodLiteral<"textPresent">;
1747
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1748
+ }, z.core.$strict>, z.ZodObject<{
1749
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1750
+ kind: z.ZodLiteral<"valueEquals">;
1751
+ target: R;
1752
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1753
+ }, z.core.$strict>], "kind">>;
1754
+ screenshot: z.ZodOptional<z.ZodEnum<{
1755
+ never: "never";
1756
+ onFailure: "onFailure";
1757
+ always: "always";
1758
+ }>>;
1759
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1760
+ auto: "auto";
1761
+ direct: "direct";
1762
+ hardware: "hardware";
1763
+ }>>;
1764
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1765
+ screenshotRef: z.ZodOptional<z.ZodString>;
1766
+ fingerprint: z.ZodOptional<z.ZodString>;
1767
+ }, z.core.$strict>, z.ZodObject<{
1768
+ action: z.ZodLiteral<"forEach">;
1769
+ in: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
1770
+ elements: z.ZodOptional<R>;
1771
+ as: z.ZodString;
1772
+ index: z.ZodOptional<z.ZodString>;
1773
+ max: z.ZodOptional<z.ZodInt>;
1774
+ steps: S;
1775
+ id: z.ZodString;
1776
+ intent: z.ZodOptional<z.ZodString>;
1777
+ note: z.ZodOptional<z.ZodString>;
1778
+ saveAs: z.ZodOptional<z.ZodString>;
1779
+ disabled: z.ZodOptional<z.ZodBoolean>;
1780
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1781
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1782
+ retry: z.ZodOptional<z.ZodObject<{
1783
+ attempts: z.ZodInt;
1784
+ delayMs: z.ZodOptional<z.ZodInt>;
1785
+ }, z.core.$strict>>;
1786
+ onError: z.ZodOptional<z.ZodEnum<{
1787
+ fail: "fail";
1788
+ continue: "continue";
1789
+ }>>;
1790
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1791
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1792
+ kind: z.ZodLiteral<"elementVisible">;
1793
+ target: R;
1794
+ }, z.core.$strict>, z.ZodObject<{
1795
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1796
+ kind: z.ZodLiteral<"elementGone">;
1797
+ target: R;
1798
+ }, z.core.$strict>, z.ZodObject<{
1799
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1800
+ kind: z.ZodLiteral<"urlContains">;
1801
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1804
+ kind: z.ZodLiteral<"textPresent">;
1805
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1806
+ }, z.core.$strict>, z.ZodObject<{
1807
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1808
+ kind: z.ZodLiteral<"valueEquals">;
1809
+ target: R;
1810
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1811
+ }, z.core.$strict>], "kind">>;
1812
+ screenshot: z.ZodOptional<z.ZodEnum<{
1813
+ never: "never";
1814
+ onFailure: "onFailure";
1815
+ always: "always";
1816
+ }>>;
1817
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1818
+ auto: "auto";
1819
+ direct: "direct";
1820
+ hardware: "hardware";
1821
+ }>>;
1822
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1823
+ screenshotRef: z.ZodOptional<z.ZodString>;
1824
+ fingerprint: z.ZodOptional<z.ZodString>;
1825
+ }, z.core.$strict>, z.ZodObject<{
1826
+ maxIterations: z.ZodInt;
1827
+ steps: S;
1828
+ condition: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
1829
+ elementExists: z.ZodOptional<R>;
1830
+ action: z.ZodLiteral<"while">;
1831
+ id: z.ZodString;
1832
+ intent: z.ZodOptional<z.ZodString>;
1833
+ note: z.ZodOptional<z.ZodString>;
1834
+ saveAs: z.ZodOptional<z.ZodString>;
1835
+ disabled: z.ZodOptional<z.ZodBoolean>;
1836
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1837
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1838
+ retry: z.ZodOptional<z.ZodObject<{
1839
+ attempts: z.ZodInt;
1840
+ delayMs: z.ZodOptional<z.ZodInt>;
1841
+ }, z.core.$strict>>;
1842
+ onError: z.ZodOptional<z.ZodEnum<{
1843
+ fail: "fail";
1844
+ continue: "continue";
1845
+ }>>;
1846
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1847
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1848
+ kind: z.ZodLiteral<"elementVisible">;
1849
+ target: R;
1850
+ }, z.core.$strict>, z.ZodObject<{
1851
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1852
+ kind: z.ZodLiteral<"elementGone">;
1853
+ target: R;
1854
+ }, z.core.$strict>, z.ZodObject<{
1855
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1856
+ kind: z.ZodLiteral<"urlContains">;
1857
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1858
+ }, z.core.$strict>, z.ZodObject<{
1859
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1860
+ kind: z.ZodLiteral<"textPresent">;
1861
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1862
+ }, z.core.$strict>, z.ZodObject<{
1863
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1864
+ kind: z.ZodLiteral<"valueEquals">;
1865
+ target: R;
1866
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1867
+ }, z.core.$strict>], "kind">>;
1868
+ screenshot: z.ZodOptional<z.ZodEnum<{
1869
+ never: "never";
1870
+ onFailure: "onFailure";
1871
+ always: "always";
1872
+ }>>;
1873
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1874
+ auto: "auto";
1875
+ direct: "direct";
1876
+ hardware: "hardware";
1877
+ }>>;
1878
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1879
+ screenshotRef: z.ZodOptional<z.ZodString>;
1880
+ fingerprint: z.ZodOptional<z.ZodString>;
1881
+ }, z.core.$strict>, z.ZodObject<{
1882
+ action: z.ZodLiteral<"retryScope">;
1883
+ attempts: z.ZodInt;
1884
+ delayMs: z.ZodOptional<z.ZodInt>;
1885
+ steps: S;
1886
+ id: z.ZodString;
1887
+ intent: z.ZodOptional<z.ZodString>;
1888
+ note: z.ZodOptional<z.ZodString>;
1889
+ saveAs: z.ZodOptional<z.ZodString>;
1890
+ disabled: z.ZodOptional<z.ZodBoolean>;
1891
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1892
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1893
+ retry: z.ZodOptional<z.ZodObject<{
1894
+ attempts: z.ZodInt;
1895
+ delayMs: z.ZodOptional<z.ZodInt>;
1896
+ }, z.core.$strict>>;
1897
+ onError: z.ZodOptional<z.ZodEnum<{
1898
+ fail: "fail";
1899
+ continue: "continue";
1900
+ }>>;
1901
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1902
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1903
+ kind: z.ZodLiteral<"elementVisible">;
1904
+ target: R;
1905
+ }, z.core.$strict>, z.ZodObject<{
1906
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1907
+ kind: z.ZodLiteral<"elementGone">;
1908
+ target: R;
1909
+ }, z.core.$strict>, z.ZodObject<{
1910
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1911
+ kind: z.ZodLiteral<"urlContains">;
1912
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1913
+ }, z.core.$strict>, z.ZodObject<{
1914
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1915
+ kind: z.ZodLiteral<"textPresent">;
1916
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1917
+ }, z.core.$strict>, z.ZodObject<{
1918
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1919
+ kind: z.ZodLiteral<"valueEquals">;
1920
+ target: R;
1921
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1922
+ }, z.core.$strict>], "kind">>;
1923
+ screenshot: z.ZodOptional<z.ZodEnum<{
1924
+ never: "never";
1925
+ onFailure: "onFailure";
1926
+ always: "always";
1927
+ }>>;
1928
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1929
+ auto: "auto";
1930
+ direct: "direct";
1931
+ hardware: "hardware";
1932
+ }>>;
1933
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1934
+ screenshotRef: z.ZodOptional<z.ZodString>;
1935
+ fingerprint: z.ZodOptional<z.ZodString>;
1936
+ }, z.core.$strict>, z.ZodObject<{
1937
+ action: z.ZodLiteral<"set">;
1938
+ name: z.ZodString;
1939
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1940
+ id: z.ZodString;
1941
+ intent: z.ZodOptional<z.ZodString>;
1942
+ note: z.ZodOptional<z.ZodString>;
1943
+ saveAs: z.ZodOptional<z.ZodString>;
1944
+ disabled: z.ZodOptional<z.ZodBoolean>;
1945
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
1946
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1947
+ retry: z.ZodOptional<z.ZodObject<{
1948
+ attempts: z.ZodInt;
1949
+ delayMs: z.ZodOptional<z.ZodInt>;
1950
+ }, z.core.$strict>>;
1951
+ onError: z.ZodOptional<z.ZodEnum<{
1952
+ fail: "fail";
1953
+ continue: "continue";
1954
+ }>>;
1955
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1956
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1957
+ kind: z.ZodLiteral<"elementVisible">;
1958
+ target: R;
1959
+ }, z.core.$strict>, z.ZodObject<{
1960
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1961
+ kind: z.ZodLiteral<"elementGone">;
1962
+ target: R;
1963
+ }, z.core.$strict>, z.ZodObject<{
1964
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1965
+ kind: z.ZodLiteral<"urlContains">;
1966
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1967
+ }, z.core.$strict>, z.ZodObject<{
1968
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1969
+ kind: z.ZodLiteral<"textPresent">;
1970
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1971
+ }, z.core.$strict>, z.ZodObject<{
1972
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1973
+ kind: z.ZodLiteral<"valueEquals">;
1974
+ target: R;
1975
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1976
+ }, z.core.$strict>], "kind">>;
1977
+ screenshot: z.ZodOptional<z.ZodEnum<{
1978
+ never: "never";
1979
+ onFailure: "onFailure";
1980
+ always: "always";
1981
+ }>>;
1982
+ inputMethod: z.ZodOptional<z.ZodEnum<{
1983
+ auto: "auto";
1984
+ direct: "direct";
1985
+ hardware: "hardware";
1986
+ }>>;
1987
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
1988
+ screenshotRef: z.ZodOptional<z.ZodString>;
1989
+ fingerprint: z.ZodOptional<z.ZodString>;
1990
+ }, z.core.$strict>, z.ZodObject<{
1991
+ action: z.ZodLiteral<"log">;
1992
+ level: z.ZodOptional<z.ZodEnum<{
1993
+ debug: "debug";
1994
+ info: "info";
1995
+ warn: "warn";
1996
+ error: "error";
1997
+ }>>;
1998
+ message: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
1999
+ id: z.ZodString;
2000
+ intent: z.ZodOptional<z.ZodString>;
2001
+ note: z.ZodOptional<z.ZodString>;
2002
+ saveAs: z.ZodOptional<z.ZodString>;
2003
+ disabled: z.ZodOptional<z.ZodBoolean>;
2004
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
2005
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2006
+ retry: z.ZodOptional<z.ZodObject<{
2007
+ attempts: z.ZodInt;
2008
+ delayMs: z.ZodOptional<z.ZodInt>;
2009
+ }, z.core.$strict>>;
2010
+ onError: z.ZodOptional<z.ZodEnum<{
2011
+ fail: "fail";
2012
+ continue: "continue";
2013
+ }>>;
2014
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
2015
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2016
+ kind: z.ZodLiteral<"elementVisible">;
2017
+ target: R;
2018
+ }, z.core.$strict>, z.ZodObject<{
2019
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2020
+ kind: z.ZodLiteral<"elementGone">;
2021
+ target: R;
2022
+ }, z.core.$strict>, z.ZodObject<{
2023
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2024
+ kind: z.ZodLiteral<"urlContains">;
2025
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2026
+ }, z.core.$strict>, z.ZodObject<{
2027
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2028
+ kind: z.ZodLiteral<"textPresent">;
2029
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2030
+ }, z.core.$strict>, z.ZodObject<{
2031
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2032
+ kind: z.ZodLiteral<"valueEquals">;
2033
+ target: R;
2034
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2035
+ }, z.core.$strict>], "kind">>;
2036
+ screenshot: z.ZodOptional<z.ZodEnum<{
2037
+ never: "never";
2038
+ onFailure: "onFailure";
2039
+ always: "always";
2040
+ }>>;
2041
+ inputMethod: z.ZodOptional<z.ZodEnum<{
2042
+ auto: "auto";
2043
+ direct: "direct";
2044
+ hardware: "hardware";
2045
+ }>>;
2046
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
2047
+ screenshotRef: z.ZodOptional<z.ZodString>;
2048
+ fingerprint: z.ZodOptional<z.ZodString>;
2049
+ }, z.core.$strict>, z.ZodObject<{
2050
+ action: z.ZodLiteral<"call">;
2051
+ sequenceId: z.ZodString;
2052
+ version: z.ZodInt;
2053
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>>;
2054
+ id: z.ZodString;
2055
+ intent: z.ZodOptional<z.ZodString>;
2056
+ note: z.ZodOptional<z.ZodString>;
2057
+ saveAs: z.ZodOptional<z.ZodString>;
2058
+ disabled: z.ZodOptional<z.ZodBoolean>;
2059
+ breakpoint: z.ZodOptional<z.ZodBoolean>;
2060
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2061
+ retry: z.ZodOptional<z.ZodObject<{
2062
+ attempts: z.ZodInt;
2063
+ delayMs: z.ZodOptional<z.ZodInt>;
2064
+ }, z.core.$strict>>;
2065
+ onError: z.ZodOptional<z.ZodEnum<{
2066
+ fail: "fail";
2067
+ continue: "continue";
2068
+ }>>;
2069
+ verify: z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
2070
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2071
+ kind: z.ZodLiteral<"elementVisible">;
2072
+ target: R;
2073
+ }, z.core.$strict>, z.ZodObject<{
2074
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2075
+ kind: z.ZodLiteral<"elementGone">;
2076
+ target: R;
2077
+ }, z.core.$strict>, z.ZodObject<{
2078
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2079
+ kind: z.ZodLiteral<"urlContains">;
2080
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2081
+ }, z.core.$strict>, z.ZodObject<{
2082
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2083
+ kind: z.ZodLiteral<"textPresent">;
2084
+ text: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2085
+ }, z.core.$strict>, z.ZodObject<{
2086
+ timeoutMs: z.ZodOptional<z.ZodInt>;
2087
+ kind: z.ZodLiteral<"valueEquals">;
2088
+ target: R;
2089
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2090
+ }, z.core.$strict>], "kind">>;
2091
+ screenshot: z.ZodOptional<z.ZodEnum<{
2092
+ never: "never";
2093
+ onFailure: "onFailure";
2094
+ always: "always";
2095
+ }>>;
2096
+ inputMethod: z.ZodOptional<z.ZodEnum<{
2097
+ auto: "auto";
2098
+ direct: "direct";
2099
+ hardware: "hardware";
2100
+ }>>;
2101
+ safeToRepeat: z.ZodOptional<z.ZodBoolean>;
2102
+ screenshotRef: z.ZodOptional<z.ZodString>;
2103
+ fingerprint: z.ZodOptional<z.ZodString>;
2104
+ }, z.core.$strict>];
2105
+ };
2106
+ /** A step list: 1 to `MAX_SCRIPT_STEPS` steps. */
2107
+ export declare function stepList<S extends z.ZodType>(step: S): z.ZodArray<S>;
86
2108
  export declare const uiStepSchema: z.ZodType<UiStep>;
2109
+ /**
2110
+ * The fields of a script over its element target schema and its step list.
2111
+ * `extra` is placed right after `scriptVersion` (the desktop schema's
2112
+ * `surface`); the web script has none.
2113
+ */
2114
+ export declare function scriptShape<E extends z.ZodRawShape, T extends z.ZodType, S extends z.ZodType>(extra: E, target: T, steps: () => S): {
2115
+ scriptVersion: z.ZodLiteral<1>;
2116
+ } & E & {
2117
+ name: z.ZodOptional<z.ZodString>;
2118
+ application: z.ZodOptional<z.ZodObject<{
2119
+ name: z.ZodOptional<z.ZodString>;
2120
+ urlPattern: z.ZodOptional<z.ZodString>;
2121
+ }, z.core.$strict>>;
2122
+ settings: z.ZodOptional<z.ZodObject<{
2123
+ firstWaitMs: z.ZodOptional<z.ZodInt>;
2124
+ waitMs: z.ZodOptional<z.ZodInt>;
2125
+ screenshots: z.ZodOptional<z.ZodEnum<{
2126
+ never: "never";
2127
+ onFailure: "onFailure";
2128
+ everyStep: "everyStep";
2129
+ }>>;
2130
+ inputMethod: z.ZodOptional<z.ZodEnum<{
2131
+ auto: "auto";
2132
+ direct: "direct";
2133
+ hardware: "hardware";
2134
+ }>>;
2135
+ }, z.core.$strict>>;
2136
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2137
+ name: z.ZodString;
2138
+ type: z.ZodOptional<z.ZodEnum<{
2139
+ number: "number";
2140
+ boolean: "boolean";
2141
+ object: "object";
2142
+ text: "text";
2143
+ list: "list";
2144
+ any: "any";
2145
+ }>>;
2146
+ required: z.ZodOptional<z.ZodBoolean>;
2147
+ default: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
2148
+ description: z.ZodOptional<z.ZodString>;
2149
+ }, z.core.$strict>>>;
2150
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2151
+ name: z.ZodString;
2152
+ type: z.ZodOptional<z.ZodEnum<{
2153
+ number: "number";
2154
+ boolean: "boolean";
2155
+ object: "object";
2156
+ text: "text";
2157
+ list: "list";
2158
+ any: "any";
2159
+ }>>;
2160
+ value: z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>;
2161
+ description: z.ZodOptional<z.ZodString>;
2162
+ }, z.core.$strict>>>;
2163
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
2164
+ name: z.ZodString;
2165
+ type: z.ZodOptional<z.ZodEnum<{
2166
+ number: "number";
2167
+ boolean: "boolean";
2168
+ object: "object";
2169
+ text: "text";
2170
+ list: "list";
2171
+ any: "any";
2172
+ }>>;
2173
+ initial: z.ZodOptional<z.ZodType<UiExpression, unknown, z.core.$ZodTypeInternals<UiExpression, unknown>>>;
2174
+ }, z.core.$strict>>>;
2175
+ elements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2176
+ elementId: z.ZodString;
2177
+ version: z.ZodInt;
2178
+ name: z.ZodOptional<z.ZodString>;
2179
+ target: z.ZodOptional<T>;
2180
+ }, z.core.$strict>>>;
2181
+ steps: S;
2182
+ cleanup: z.ZodOptional<S>;
2183
+ };
87
2184
  export declare const uiScriptSchema: z.ZodType<UiScript>;