@crosshands/contract 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,13 @@ export declare const COMPUTER_OPERATIONS: {
19
19
  denied: "denied";
20
20
  not_required: "not_required";
21
21
  }>>;
22
+ supports: z.ZodOptional<z.ZodObject<{
23
+ apps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
24
+ windows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
25
+ surfaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
26
+ observation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
27
+ actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
28
+ }, z.core.$strict>>;
22
29
  }, z.core.$strict>;
23
30
  };
24
31
  readonly permissions: {
@@ -74,7 +81,7 @@ export declare const COMPUTER_OPERATIONS: {
74
81
  };
75
82
  readonly getAppState: {
76
83
  readonly mutation: false;
77
- readonly input: z.ZodObject<{
84
+ readonly input: z.ZodUnion<readonly [z.ZodObject<{
78
85
  captureScreenshot: z.ZodOptional<z.ZodBoolean>;
79
86
  restoreWindow: z.ZodOptional<z.ZodBoolean>;
80
87
  app: z.ZodString;
@@ -83,7 +90,11 @@ export declare const COMPUTER_OPERATIONS: {
83
90
  }, z.core.$strict>, z.ZodObject<{
84
91
  index: z.ZodNumber;
85
92
  }, z.core.$strict>]>>;
86
- }, z.core.$strict>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
95
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
96
+ contextToken: z.ZodString;
97
+ }, z.core.$strict>]>;
87
98
  readonly output: z.ZodObject<{
88
99
  context: z.ZodObject<{
89
100
  brokerGeneration: z.ZodString;
@@ -142,31 +153,7 @@ export declare const COMPUTER_OPERATIONS: {
142
153
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
143
154
  }, z.core.$strict>>;
144
155
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
145
- code: z.ZodEnum<{
146
- app_not_found: "app_not_found";
147
- app_unavailable: "app_unavailable";
148
- app_blocked: "app_blocked";
149
- window_not_found: "window_not_found";
150
- window_unavailable: "window_unavailable";
151
- window_not_focused: "window_not_focused";
152
- permission_denied: "permission_denied";
153
- stale_target: "stale_target";
154
- element_not_found: "element_not_found";
155
- element_not_clickable: "element_not_clickable";
156
- action_not_supported: "action_not_supported";
157
- value_not_settable: "value_not_settable";
158
- invalid_argument: "invalid_argument";
159
- timeout: "timeout";
160
- unsupported_capability: "unsupported_capability";
161
- provider_unavailable: "provider_unavailable";
162
- provider_crashed: "provider_crashed";
163
- version_incompatible: "version_incompatible";
164
- interaction_context_invalid: "interaction_context_invalid";
165
- interaction_context_expired: "interaction_context_expired";
166
- session_unavailable: "session_unavailable";
167
- screenshot_failed: "screenshot_failed";
168
- accessibility_error: "accessibility_error";
169
- }>;
156
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
170
157
  message: z.ZodString;
171
158
  retry: z.ZodBoolean;
172
159
  remediation: z.ZodString;
@@ -286,31 +273,7 @@ export declare const COMPUTER_OPERATIONS: {
286
273
  }, z.core.$strict>, z.ZodObject<{
287
274
  state: z.ZodLiteral<"failed">;
288
275
  error: z.ZodOptional<z.ZodObject<{
289
- code: z.ZodEnum<{
290
- app_not_found: "app_not_found";
291
- app_unavailable: "app_unavailable";
292
- app_blocked: "app_blocked";
293
- window_not_found: "window_not_found";
294
- window_unavailable: "window_unavailable";
295
- window_not_focused: "window_not_focused";
296
- permission_denied: "permission_denied";
297
- stale_target: "stale_target";
298
- element_not_found: "element_not_found";
299
- element_not_clickable: "element_not_clickable";
300
- action_not_supported: "action_not_supported";
301
- value_not_settable: "value_not_settable";
302
- invalid_argument: "invalid_argument";
303
- timeout: "timeout";
304
- unsupported_capability: "unsupported_capability";
305
- provider_unavailable: "provider_unavailable";
306
- provider_crashed: "provider_crashed";
307
- version_incompatible: "version_incompatible";
308
- interaction_context_invalid: "interaction_context_invalid";
309
- interaction_context_expired: "interaction_context_expired";
310
- session_unavailable: "session_unavailable";
311
- screenshot_failed: "screenshot_failed";
312
- accessibility_error: "accessibility_error";
313
- }>;
276
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
314
277
  message: z.ZodString;
315
278
  retry: z.ZodBoolean;
316
279
  remediation: z.ZodString;
@@ -319,31 +282,7 @@ export declare const COMPUTER_OPERATIONS: {
319
282
  }, z.core.$strict>, z.ZodObject<{
320
283
  state: z.ZodLiteral<"not_attempted">;
321
284
  error: z.ZodOptional<z.ZodObject<{
322
- code: z.ZodEnum<{
323
- app_not_found: "app_not_found";
324
- app_unavailable: "app_unavailable";
325
- app_blocked: "app_blocked";
326
- window_not_found: "window_not_found";
327
- window_unavailable: "window_unavailable";
328
- window_not_focused: "window_not_focused";
329
- permission_denied: "permission_denied";
330
- stale_target: "stale_target";
331
- element_not_found: "element_not_found";
332
- element_not_clickable: "element_not_clickable";
333
- action_not_supported: "action_not_supported";
334
- value_not_settable: "value_not_settable";
335
- invalid_argument: "invalid_argument";
336
- timeout: "timeout";
337
- unsupported_capability: "unsupported_capability";
338
- provider_unavailable: "provider_unavailable";
339
- provider_crashed: "provider_crashed";
340
- version_incompatible: "version_incompatible";
341
- interaction_context_invalid: "interaction_context_invalid";
342
- interaction_context_expired: "interaction_context_expired";
343
- session_unavailable: "session_unavailable";
344
- screenshot_failed: "screenshot_failed";
345
- accessibility_error: "accessibility_error";
346
- }>;
285
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
347
286
  message: z.ZodString;
348
287
  retry: z.ZodBoolean;
349
288
  remediation: z.ZodString;
@@ -408,31 +347,7 @@ export declare const COMPUTER_OPERATIONS: {
408
347
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
409
348
  }, z.core.$strict>>;
410
349
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
411
- code: z.ZodEnum<{
412
- app_not_found: "app_not_found";
413
- app_unavailable: "app_unavailable";
414
- app_blocked: "app_blocked";
415
- window_not_found: "window_not_found";
416
- window_unavailable: "window_unavailable";
417
- window_not_focused: "window_not_focused";
418
- permission_denied: "permission_denied";
419
- stale_target: "stale_target";
420
- element_not_found: "element_not_found";
421
- element_not_clickable: "element_not_clickable";
422
- action_not_supported: "action_not_supported";
423
- value_not_settable: "value_not_settable";
424
- invalid_argument: "invalid_argument";
425
- timeout: "timeout";
426
- unsupported_capability: "unsupported_capability";
427
- provider_unavailable: "provider_unavailable";
428
- provider_crashed: "provider_crashed";
429
- version_incompatible: "version_incompatible";
430
- interaction_context_invalid: "interaction_context_invalid";
431
- interaction_context_expired: "interaction_context_expired";
432
- session_unavailable: "session_unavailable";
433
- screenshot_failed: "screenshot_failed";
434
- accessibility_error: "accessibility_error";
435
- }>;
350
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
436
351
  message: z.ZodString;
437
352
  retry: z.ZodBoolean;
438
353
  remediation: z.ZodString;
@@ -491,31 +406,7 @@ export declare const COMPUTER_OPERATIONS: {
491
406
  }, z.core.$strict>, z.ZodObject<{
492
407
  state: z.ZodLiteral<"failed">;
493
408
  error: z.ZodOptional<z.ZodObject<{
494
- code: z.ZodEnum<{
495
- app_not_found: "app_not_found";
496
- app_unavailable: "app_unavailable";
497
- app_blocked: "app_blocked";
498
- window_not_found: "window_not_found";
499
- window_unavailable: "window_unavailable";
500
- window_not_focused: "window_not_focused";
501
- permission_denied: "permission_denied";
502
- stale_target: "stale_target";
503
- element_not_found: "element_not_found";
504
- element_not_clickable: "element_not_clickable";
505
- action_not_supported: "action_not_supported";
506
- value_not_settable: "value_not_settable";
507
- invalid_argument: "invalid_argument";
508
- timeout: "timeout";
509
- unsupported_capability: "unsupported_capability";
510
- provider_unavailable: "provider_unavailable";
511
- provider_crashed: "provider_crashed";
512
- version_incompatible: "version_incompatible";
513
- interaction_context_invalid: "interaction_context_invalid";
514
- interaction_context_expired: "interaction_context_expired";
515
- session_unavailable: "session_unavailable";
516
- screenshot_failed: "screenshot_failed";
517
- accessibility_error: "accessibility_error";
518
- }>;
409
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
519
410
  message: z.ZodString;
520
411
  retry: z.ZodBoolean;
521
412
  remediation: z.ZodString;
@@ -524,31 +415,7 @@ export declare const COMPUTER_OPERATIONS: {
524
415
  }, z.core.$strict>, z.ZodObject<{
525
416
  state: z.ZodLiteral<"not_attempted">;
526
417
  error: z.ZodOptional<z.ZodObject<{
527
- code: z.ZodEnum<{
528
- app_not_found: "app_not_found";
529
- app_unavailable: "app_unavailable";
530
- app_blocked: "app_blocked";
531
- window_not_found: "window_not_found";
532
- window_unavailable: "window_unavailable";
533
- window_not_focused: "window_not_focused";
534
- permission_denied: "permission_denied";
535
- stale_target: "stale_target";
536
- element_not_found: "element_not_found";
537
- element_not_clickable: "element_not_clickable";
538
- action_not_supported: "action_not_supported";
539
- value_not_settable: "value_not_settable";
540
- invalid_argument: "invalid_argument";
541
- timeout: "timeout";
542
- unsupported_capability: "unsupported_capability";
543
- provider_unavailable: "provider_unavailable";
544
- provider_crashed: "provider_crashed";
545
- version_incompatible: "version_incompatible";
546
- interaction_context_invalid: "interaction_context_invalid";
547
- interaction_context_expired: "interaction_context_expired";
548
- session_unavailable: "session_unavailable";
549
- screenshot_failed: "screenshot_failed";
550
- accessibility_error: "accessibility_error";
551
- }>;
418
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
552
419
  message: z.ZodString;
553
420
  retry: z.ZodBoolean;
554
421
  remediation: z.ZodString;
@@ -613,31 +480,7 @@ export declare const COMPUTER_OPERATIONS: {
613
480
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
614
481
  }, z.core.$strict>>;
615
482
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
616
- code: z.ZodEnum<{
617
- app_not_found: "app_not_found";
618
- app_unavailable: "app_unavailable";
619
- app_blocked: "app_blocked";
620
- window_not_found: "window_not_found";
621
- window_unavailable: "window_unavailable";
622
- window_not_focused: "window_not_focused";
623
- permission_denied: "permission_denied";
624
- stale_target: "stale_target";
625
- element_not_found: "element_not_found";
626
- element_not_clickable: "element_not_clickable";
627
- action_not_supported: "action_not_supported";
628
- value_not_settable: "value_not_settable";
629
- invalid_argument: "invalid_argument";
630
- timeout: "timeout";
631
- unsupported_capability: "unsupported_capability";
632
- provider_unavailable: "provider_unavailable";
633
- provider_crashed: "provider_crashed";
634
- version_incompatible: "version_incompatible";
635
- interaction_context_invalid: "interaction_context_invalid";
636
- interaction_context_expired: "interaction_context_expired";
637
- session_unavailable: "session_unavailable";
638
- screenshot_failed: "screenshot_failed";
639
- accessibility_error: "accessibility_error";
640
- }>;
483
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
641
484
  message: z.ZodString;
642
485
  retry: z.ZodBoolean;
643
486
  remediation: z.ZodString;
@@ -716,10 +559,10 @@ export declare const COMPUTER_OPERATIONS: {
716
559
  kind: z.ZodLiteral<"context-window">;
717
560
  }, z.core.$strict>]>;
718
561
  direction: z.ZodEnum<{
719
- left: "left";
720
- right: "right";
721
562
  up: "up";
722
563
  down: "down";
564
+ left: "left";
565
+ right: "right";
723
566
  }>;
724
567
  pages: z.ZodOptional<z.ZodNumber>;
725
568
  }, z.core.$strict>;
@@ -733,31 +576,7 @@ export declare const COMPUTER_OPERATIONS: {
733
576
  }, z.core.$strict>, z.ZodObject<{
734
577
  state: z.ZodLiteral<"failed">;
735
578
  error: z.ZodOptional<z.ZodObject<{
736
- code: z.ZodEnum<{
737
- app_not_found: "app_not_found";
738
- app_unavailable: "app_unavailable";
739
- app_blocked: "app_blocked";
740
- window_not_found: "window_not_found";
741
- window_unavailable: "window_unavailable";
742
- window_not_focused: "window_not_focused";
743
- permission_denied: "permission_denied";
744
- stale_target: "stale_target";
745
- element_not_found: "element_not_found";
746
- element_not_clickable: "element_not_clickable";
747
- action_not_supported: "action_not_supported";
748
- value_not_settable: "value_not_settable";
749
- invalid_argument: "invalid_argument";
750
- timeout: "timeout";
751
- unsupported_capability: "unsupported_capability";
752
- provider_unavailable: "provider_unavailable";
753
- provider_crashed: "provider_crashed";
754
- version_incompatible: "version_incompatible";
755
- interaction_context_invalid: "interaction_context_invalid";
756
- interaction_context_expired: "interaction_context_expired";
757
- session_unavailable: "session_unavailable";
758
- screenshot_failed: "screenshot_failed";
759
- accessibility_error: "accessibility_error";
760
- }>;
579
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
761
580
  message: z.ZodString;
762
581
  retry: z.ZodBoolean;
763
582
  remediation: z.ZodString;
@@ -766,31 +585,7 @@ export declare const COMPUTER_OPERATIONS: {
766
585
  }, z.core.$strict>, z.ZodObject<{
767
586
  state: z.ZodLiteral<"not_attempted">;
768
587
  error: z.ZodOptional<z.ZodObject<{
769
- code: z.ZodEnum<{
770
- app_not_found: "app_not_found";
771
- app_unavailable: "app_unavailable";
772
- app_blocked: "app_blocked";
773
- window_not_found: "window_not_found";
774
- window_unavailable: "window_unavailable";
775
- window_not_focused: "window_not_focused";
776
- permission_denied: "permission_denied";
777
- stale_target: "stale_target";
778
- element_not_found: "element_not_found";
779
- element_not_clickable: "element_not_clickable";
780
- action_not_supported: "action_not_supported";
781
- value_not_settable: "value_not_settable";
782
- invalid_argument: "invalid_argument";
783
- timeout: "timeout";
784
- unsupported_capability: "unsupported_capability";
785
- provider_unavailable: "provider_unavailable";
786
- provider_crashed: "provider_crashed";
787
- version_incompatible: "version_incompatible";
788
- interaction_context_invalid: "interaction_context_invalid";
789
- interaction_context_expired: "interaction_context_expired";
790
- session_unavailable: "session_unavailable";
791
- screenshot_failed: "screenshot_failed";
792
- accessibility_error: "accessibility_error";
793
- }>;
588
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
794
589
  message: z.ZodString;
795
590
  retry: z.ZodBoolean;
796
591
  remediation: z.ZodString;
@@ -855,31 +650,7 @@ export declare const COMPUTER_OPERATIONS: {
855
650
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
856
651
  }, z.core.$strict>>;
857
652
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
858
- code: z.ZodEnum<{
859
- app_not_found: "app_not_found";
860
- app_unavailable: "app_unavailable";
861
- app_blocked: "app_blocked";
862
- window_not_found: "window_not_found";
863
- window_unavailable: "window_unavailable";
864
- window_not_focused: "window_not_focused";
865
- permission_denied: "permission_denied";
866
- stale_target: "stale_target";
867
- element_not_found: "element_not_found";
868
- element_not_clickable: "element_not_clickable";
869
- action_not_supported: "action_not_supported";
870
- value_not_settable: "value_not_settable";
871
- invalid_argument: "invalid_argument";
872
- timeout: "timeout";
873
- unsupported_capability: "unsupported_capability";
874
- provider_unavailable: "provider_unavailable";
875
- provider_crashed: "provider_crashed";
876
- version_incompatible: "version_incompatible";
877
- interaction_context_invalid: "interaction_context_invalid";
878
- interaction_context_expired: "interaction_context_expired";
879
- session_unavailable: "session_unavailable";
880
- screenshot_failed: "screenshot_failed";
881
- accessibility_error: "accessibility_error";
882
- }>;
653
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
883
654
  message: z.ZodString;
884
655
  retry: z.ZodBoolean;
885
656
  remediation: z.ZodString;
@@ -1031,31 +802,7 @@ export declare const COMPUTER_OPERATIONS: {
1031
802
  }, z.core.$strict>, z.ZodObject<{
1032
803
  state: z.ZodLiteral<"failed">;
1033
804
  error: z.ZodOptional<z.ZodObject<{
1034
- code: z.ZodEnum<{
1035
- app_not_found: "app_not_found";
1036
- app_unavailable: "app_unavailable";
1037
- app_blocked: "app_blocked";
1038
- window_not_found: "window_not_found";
1039
- window_unavailable: "window_unavailable";
1040
- window_not_focused: "window_not_focused";
1041
- permission_denied: "permission_denied";
1042
- stale_target: "stale_target";
1043
- element_not_found: "element_not_found";
1044
- element_not_clickable: "element_not_clickable";
1045
- action_not_supported: "action_not_supported";
1046
- value_not_settable: "value_not_settable";
1047
- invalid_argument: "invalid_argument";
1048
- timeout: "timeout";
1049
- unsupported_capability: "unsupported_capability";
1050
- provider_unavailable: "provider_unavailable";
1051
- provider_crashed: "provider_crashed";
1052
- version_incompatible: "version_incompatible";
1053
- interaction_context_invalid: "interaction_context_invalid";
1054
- interaction_context_expired: "interaction_context_expired";
1055
- session_unavailable: "session_unavailable";
1056
- screenshot_failed: "screenshot_failed";
1057
- accessibility_error: "accessibility_error";
1058
- }>;
805
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1059
806
  message: z.ZodString;
1060
807
  retry: z.ZodBoolean;
1061
808
  remediation: z.ZodString;
@@ -1064,31 +811,7 @@ export declare const COMPUTER_OPERATIONS: {
1064
811
  }, z.core.$strict>, z.ZodObject<{
1065
812
  state: z.ZodLiteral<"not_attempted">;
1066
813
  error: z.ZodOptional<z.ZodObject<{
1067
- code: z.ZodEnum<{
1068
- app_not_found: "app_not_found";
1069
- app_unavailable: "app_unavailable";
1070
- app_blocked: "app_blocked";
1071
- window_not_found: "window_not_found";
1072
- window_unavailable: "window_unavailable";
1073
- window_not_focused: "window_not_focused";
1074
- permission_denied: "permission_denied";
1075
- stale_target: "stale_target";
1076
- element_not_found: "element_not_found";
1077
- element_not_clickable: "element_not_clickable";
1078
- action_not_supported: "action_not_supported";
1079
- value_not_settable: "value_not_settable";
1080
- invalid_argument: "invalid_argument";
1081
- timeout: "timeout";
1082
- unsupported_capability: "unsupported_capability";
1083
- provider_unavailable: "provider_unavailable";
1084
- provider_crashed: "provider_crashed";
1085
- version_incompatible: "version_incompatible";
1086
- interaction_context_invalid: "interaction_context_invalid";
1087
- interaction_context_expired: "interaction_context_expired";
1088
- session_unavailable: "session_unavailable";
1089
- screenshot_failed: "screenshot_failed";
1090
- accessibility_error: "accessibility_error";
1091
- }>;
814
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1092
815
  message: z.ZodString;
1093
816
  retry: z.ZodBoolean;
1094
817
  remediation: z.ZodString;
@@ -1153,31 +876,7 @@ export declare const COMPUTER_OPERATIONS: {
1153
876
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1154
877
  }, z.core.$strict>>;
1155
878
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1156
- code: z.ZodEnum<{
1157
- app_not_found: "app_not_found";
1158
- app_unavailable: "app_unavailable";
1159
- app_blocked: "app_blocked";
1160
- window_not_found: "window_not_found";
1161
- window_unavailable: "window_unavailable";
1162
- window_not_focused: "window_not_focused";
1163
- permission_denied: "permission_denied";
1164
- stale_target: "stale_target";
1165
- element_not_found: "element_not_found";
1166
- element_not_clickable: "element_not_clickable";
1167
- action_not_supported: "action_not_supported";
1168
- value_not_settable: "value_not_settable";
1169
- invalid_argument: "invalid_argument";
1170
- timeout: "timeout";
1171
- unsupported_capability: "unsupported_capability";
1172
- provider_unavailable: "provider_unavailable";
1173
- provider_crashed: "provider_crashed";
1174
- version_incompatible: "version_incompatible";
1175
- interaction_context_invalid: "interaction_context_invalid";
1176
- interaction_context_expired: "interaction_context_expired";
1177
- session_unavailable: "session_unavailable";
1178
- screenshot_failed: "screenshot_failed";
1179
- accessibility_error: "accessibility_error";
1180
- }>;
879
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1181
880
  message: z.ZodString;
1182
881
  retry: z.ZodBoolean;
1183
882
  remediation: z.ZodString;
@@ -1208,31 +907,7 @@ export declare const COMPUTER_OPERATIONS: {
1208
907
  }, z.core.$strict>, z.ZodObject<{
1209
908
  state: z.ZodLiteral<"failed">;
1210
909
  error: z.ZodOptional<z.ZodObject<{
1211
- code: z.ZodEnum<{
1212
- app_not_found: "app_not_found";
1213
- app_unavailable: "app_unavailable";
1214
- app_blocked: "app_blocked";
1215
- window_not_found: "window_not_found";
1216
- window_unavailable: "window_unavailable";
1217
- window_not_focused: "window_not_focused";
1218
- permission_denied: "permission_denied";
1219
- stale_target: "stale_target";
1220
- element_not_found: "element_not_found";
1221
- element_not_clickable: "element_not_clickable";
1222
- action_not_supported: "action_not_supported";
1223
- value_not_settable: "value_not_settable";
1224
- invalid_argument: "invalid_argument";
1225
- timeout: "timeout";
1226
- unsupported_capability: "unsupported_capability";
1227
- provider_unavailable: "provider_unavailable";
1228
- provider_crashed: "provider_crashed";
1229
- version_incompatible: "version_incompatible";
1230
- interaction_context_invalid: "interaction_context_invalid";
1231
- interaction_context_expired: "interaction_context_expired";
1232
- session_unavailable: "session_unavailable";
1233
- screenshot_failed: "screenshot_failed";
1234
- accessibility_error: "accessibility_error";
1235
- }>;
910
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1236
911
  message: z.ZodString;
1237
912
  retry: z.ZodBoolean;
1238
913
  remediation: z.ZodString;
@@ -1241,31 +916,7 @@ export declare const COMPUTER_OPERATIONS: {
1241
916
  }, z.core.$strict>, z.ZodObject<{
1242
917
  state: z.ZodLiteral<"not_attempted">;
1243
918
  error: z.ZodOptional<z.ZodObject<{
1244
- code: z.ZodEnum<{
1245
- app_not_found: "app_not_found";
1246
- app_unavailable: "app_unavailable";
1247
- app_blocked: "app_blocked";
1248
- window_not_found: "window_not_found";
1249
- window_unavailable: "window_unavailable";
1250
- window_not_focused: "window_not_focused";
1251
- permission_denied: "permission_denied";
1252
- stale_target: "stale_target";
1253
- element_not_found: "element_not_found";
1254
- element_not_clickable: "element_not_clickable";
1255
- action_not_supported: "action_not_supported";
1256
- value_not_settable: "value_not_settable";
1257
- invalid_argument: "invalid_argument";
1258
- timeout: "timeout";
1259
- unsupported_capability: "unsupported_capability";
1260
- provider_unavailable: "provider_unavailable";
1261
- provider_crashed: "provider_crashed";
1262
- version_incompatible: "version_incompatible";
1263
- interaction_context_invalid: "interaction_context_invalid";
1264
- interaction_context_expired: "interaction_context_expired";
1265
- session_unavailable: "session_unavailable";
1266
- screenshot_failed: "screenshot_failed";
1267
- accessibility_error: "accessibility_error";
1268
- }>;
919
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1269
920
  message: z.ZodString;
1270
921
  retry: z.ZodBoolean;
1271
922
  remediation: z.ZodString;
@@ -1330,31 +981,7 @@ export declare const COMPUTER_OPERATIONS: {
1330
981
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1331
982
  }, z.core.$strict>>;
1332
983
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1333
- code: z.ZodEnum<{
1334
- app_not_found: "app_not_found";
1335
- app_unavailable: "app_unavailable";
1336
- app_blocked: "app_blocked";
1337
- window_not_found: "window_not_found";
1338
- window_unavailable: "window_unavailable";
1339
- window_not_focused: "window_not_focused";
1340
- permission_denied: "permission_denied";
1341
- stale_target: "stale_target";
1342
- element_not_found: "element_not_found";
1343
- element_not_clickable: "element_not_clickable";
1344
- action_not_supported: "action_not_supported";
1345
- value_not_settable: "value_not_settable";
1346
- invalid_argument: "invalid_argument";
1347
- timeout: "timeout";
1348
- unsupported_capability: "unsupported_capability";
1349
- provider_unavailable: "provider_unavailable";
1350
- provider_crashed: "provider_crashed";
1351
- version_incompatible: "version_incompatible";
1352
- interaction_context_invalid: "interaction_context_invalid";
1353
- interaction_context_expired: "interaction_context_expired";
1354
- session_unavailable: "session_unavailable";
1355
- screenshot_failed: "screenshot_failed";
1356
- accessibility_error: "accessibility_error";
1357
- }>;
984
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1358
985
  message: z.ZodString;
1359
986
  retry: z.ZodBoolean;
1360
987
  remediation: z.ZodString;
@@ -1385,31 +1012,7 @@ export declare const COMPUTER_OPERATIONS: {
1385
1012
  }, z.core.$strict>, z.ZodObject<{
1386
1013
  state: z.ZodLiteral<"failed">;
1387
1014
  error: z.ZodOptional<z.ZodObject<{
1388
- code: z.ZodEnum<{
1389
- app_not_found: "app_not_found";
1390
- app_unavailable: "app_unavailable";
1391
- app_blocked: "app_blocked";
1392
- window_not_found: "window_not_found";
1393
- window_unavailable: "window_unavailable";
1394
- window_not_focused: "window_not_focused";
1395
- permission_denied: "permission_denied";
1396
- stale_target: "stale_target";
1397
- element_not_found: "element_not_found";
1398
- element_not_clickable: "element_not_clickable";
1399
- action_not_supported: "action_not_supported";
1400
- value_not_settable: "value_not_settable";
1401
- invalid_argument: "invalid_argument";
1402
- timeout: "timeout";
1403
- unsupported_capability: "unsupported_capability";
1404
- provider_unavailable: "provider_unavailable";
1405
- provider_crashed: "provider_crashed";
1406
- version_incompatible: "version_incompatible";
1407
- interaction_context_invalid: "interaction_context_invalid";
1408
- interaction_context_expired: "interaction_context_expired";
1409
- session_unavailable: "session_unavailable";
1410
- screenshot_failed: "screenshot_failed";
1411
- accessibility_error: "accessibility_error";
1412
- }>;
1015
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1413
1016
  message: z.ZodString;
1414
1017
  retry: z.ZodBoolean;
1415
1018
  remediation: z.ZodString;
@@ -1418,31 +1021,7 @@ export declare const COMPUTER_OPERATIONS: {
1418
1021
  }, z.core.$strict>, z.ZodObject<{
1419
1022
  state: z.ZodLiteral<"not_attempted">;
1420
1023
  error: z.ZodOptional<z.ZodObject<{
1421
- code: z.ZodEnum<{
1422
- app_not_found: "app_not_found";
1423
- app_unavailable: "app_unavailable";
1424
- app_blocked: "app_blocked";
1425
- window_not_found: "window_not_found";
1426
- window_unavailable: "window_unavailable";
1427
- window_not_focused: "window_not_focused";
1428
- permission_denied: "permission_denied";
1429
- stale_target: "stale_target";
1430
- element_not_found: "element_not_found";
1431
- element_not_clickable: "element_not_clickable";
1432
- action_not_supported: "action_not_supported";
1433
- value_not_settable: "value_not_settable";
1434
- invalid_argument: "invalid_argument";
1435
- timeout: "timeout";
1436
- unsupported_capability: "unsupported_capability";
1437
- provider_unavailable: "provider_unavailable";
1438
- provider_crashed: "provider_crashed";
1439
- version_incompatible: "version_incompatible";
1440
- interaction_context_invalid: "interaction_context_invalid";
1441
- interaction_context_expired: "interaction_context_expired";
1442
- session_unavailable: "session_unavailable";
1443
- screenshot_failed: "screenshot_failed";
1444
- accessibility_error: "accessibility_error";
1445
- }>;
1024
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1446
1025
  message: z.ZodString;
1447
1026
  retry: z.ZodBoolean;
1448
1027
  remediation: z.ZodString;
@@ -1507,31 +1086,7 @@ export declare const COMPUTER_OPERATIONS: {
1507
1086
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1508
1087
  }, z.core.$strict>>;
1509
1088
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1510
- code: z.ZodEnum<{
1511
- app_not_found: "app_not_found";
1512
- app_unavailable: "app_unavailable";
1513
- app_blocked: "app_blocked";
1514
- window_not_found: "window_not_found";
1515
- window_unavailable: "window_unavailable";
1516
- window_not_focused: "window_not_focused";
1517
- permission_denied: "permission_denied";
1518
- stale_target: "stale_target";
1519
- element_not_found: "element_not_found";
1520
- element_not_clickable: "element_not_clickable";
1521
- action_not_supported: "action_not_supported";
1522
- value_not_settable: "value_not_settable";
1523
- invalid_argument: "invalid_argument";
1524
- timeout: "timeout";
1525
- unsupported_capability: "unsupported_capability";
1526
- provider_unavailable: "provider_unavailable";
1527
- provider_crashed: "provider_crashed";
1528
- version_incompatible: "version_incompatible";
1529
- interaction_context_invalid: "interaction_context_invalid";
1530
- interaction_context_expired: "interaction_context_expired";
1531
- session_unavailable: "session_unavailable";
1532
- screenshot_failed: "screenshot_failed";
1533
- accessibility_error: "accessibility_error";
1534
- }>;
1089
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1535
1090
  message: z.ZodString;
1536
1091
  retry: z.ZodBoolean;
1537
1092
  remediation: z.ZodString;
@@ -1562,31 +1117,7 @@ export declare const COMPUTER_OPERATIONS: {
1562
1117
  }, z.core.$strict>, z.ZodObject<{
1563
1118
  state: z.ZodLiteral<"failed">;
1564
1119
  error: z.ZodOptional<z.ZodObject<{
1565
- code: z.ZodEnum<{
1566
- app_not_found: "app_not_found";
1567
- app_unavailable: "app_unavailable";
1568
- app_blocked: "app_blocked";
1569
- window_not_found: "window_not_found";
1570
- window_unavailable: "window_unavailable";
1571
- window_not_focused: "window_not_focused";
1572
- permission_denied: "permission_denied";
1573
- stale_target: "stale_target";
1574
- element_not_found: "element_not_found";
1575
- element_not_clickable: "element_not_clickable";
1576
- action_not_supported: "action_not_supported";
1577
- value_not_settable: "value_not_settable";
1578
- invalid_argument: "invalid_argument";
1579
- timeout: "timeout";
1580
- unsupported_capability: "unsupported_capability";
1581
- provider_unavailable: "provider_unavailable";
1582
- provider_crashed: "provider_crashed";
1583
- version_incompatible: "version_incompatible";
1584
- interaction_context_invalid: "interaction_context_invalid";
1585
- interaction_context_expired: "interaction_context_expired";
1586
- session_unavailable: "session_unavailable";
1587
- screenshot_failed: "screenshot_failed";
1588
- accessibility_error: "accessibility_error";
1589
- }>;
1120
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1590
1121
  message: z.ZodString;
1591
1122
  retry: z.ZodBoolean;
1592
1123
  remediation: z.ZodString;
@@ -1595,31 +1126,7 @@ export declare const COMPUTER_OPERATIONS: {
1595
1126
  }, z.core.$strict>, z.ZodObject<{
1596
1127
  state: z.ZodLiteral<"not_attempted">;
1597
1128
  error: z.ZodOptional<z.ZodObject<{
1598
- code: z.ZodEnum<{
1599
- app_not_found: "app_not_found";
1600
- app_unavailable: "app_unavailable";
1601
- app_blocked: "app_blocked";
1602
- window_not_found: "window_not_found";
1603
- window_unavailable: "window_unavailable";
1604
- window_not_focused: "window_not_focused";
1605
- permission_denied: "permission_denied";
1606
- stale_target: "stale_target";
1607
- element_not_found: "element_not_found";
1608
- element_not_clickable: "element_not_clickable";
1609
- action_not_supported: "action_not_supported";
1610
- value_not_settable: "value_not_settable";
1611
- invalid_argument: "invalid_argument";
1612
- timeout: "timeout";
1613
- unsupported_capability: "unsupported_capability";
1614
- provider_unavailable: "provider_unavailable";
1615
- provider_crashed: "provider_crashed";
1616
- version_incompatible: "version_incompatible";
1617
- interaction_context_invalid: "interaction_context_invalid";
1618
- interaction_context_expired: "interaction_context_expired";
1619
- session_unavailable: "session_unavailable";
1620
- screenshot_failed: "screenshot_failed";
1621
- accessibility_error: "accessibility_error";
1622
- }>;
1129
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1623
1130
  message: z.ZodString;
1624
1131
  retry: z.ZodBoolean;
1625
1132
  remediation: z.ZodString;
@@ -1684,31 +1191,7 @@ export declare const COMPUTER_OPERATIONS: {
1684
1191
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1685
1192
  }, z.core.$strict>>;
1686
1193
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1687
- code: z.ZodEnum<{
1688
- app_not_found: "app_not_found";
1689
- app_unavailable: "app_unavailable";
1690
- app_blocked: "app_blocked";
1691
- window_not_found: "window_not_found";
1692
- window_unavailable: "window_unavailable";
1693
- window_not_focused: "window_not_focused";
1694
- permission_denied: "permission_denied";
1695
- stale_target: "stale_target";
1696
- element_not_found: "element_not_found";
1697
- element_not_clickable: "element_not_clickable";
1698
- action_not_supported: "action_not_supported";
1699
- value_not_settable: "value_not_settable";
1700
- invalid_argument: "invalid_argument";
1701
- timeout: "timeout";
1702
- unsupported_capability: "unsupported_capability";
1703
- provider_unavailable: "provider_unavailable";
1704
- provider_crashed: "provider_crashed";
1705
- version_incompatible: "version_incompatible";
1706
- interaction_context_invalid: "interaction_context_invalid";
1707
- interaction_context_expired: "interaction_context_expired";
1708
- session_unavailable: "session_unavailable";
1709
- screenshot_failed: "screenshot_failed";
1710
- accessibility_error: "accessibility_error";
1711
- }>;
1194
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1712
1195
  message: z.ZodString;
1713
1196
  retry: z.ZodBoolean;
1714
1197
  remediation: z.ZodString;
@@ -1739,31 +1222,7 @@ export declare const COMPUTER_OPERATIONS: {
1739
1222
  }, z.core.$strict>, z.ZodObject<{
1740
1223
  state: z.ZodLiteral<"failed">;
1741
1224
  error: z.ZodOptional<z.ZodObject<{
1742
- code: z.ZodEnum<{
1743
- app_not_found: "app_not_found";
1744
- app_unavailable: "app_unavailable";
1745
- app_blocked: "app_blocked";
1746
- window_not_found: "window_not_found";
1747
- window_unavailable: "window_unavailable";
1748
- window_not_focused: "window_not_focused";
1749
- permission_denied: "permission_denied";
1750
- stale_target: "stale_target";
1751
- element_not_found: "element_not_found";
1752
- element_not_clickable: "element_not_clickable";
1753
- action_not_supported: "action_not_supported";
1754
- value_not_settable: "value_not_settable";
1755
- invalid_argument: "invalid_argument";
1756
- timeout: "timeout";
1757
- unsupported_capability: "unsupported_capability";
1758
- provider_unavailable: "provider_unavailable";
1759
- provider_crashed: "provider_crashed";
1760
- version_incompatible: "version_incompatible";
1761
- interaction_context_invalid: "interaction_context_invalid";
1762
- interaction_context_expired: "interaction_context_expired";
1763
- session_unavailable: "session_unavailable";
1764
- screenshot_failed: "screenshot_failed";
1765
- accessibility_error: "accessibility_error";
1766
- }>;
1225
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1767
1226
  message: z.ZodString;
1768
1227
  retry: z.ZodBoolean;
1769
1228
  remediation: z.ZodString;
@@ -1772,31 +1231,7 @@ export declare const COMPUTER_OPERATIONS: {
1772
1231
  }, z.core.$strict>, z.ZodObject<{
1773
1232
  state: z.ZodLiteral<"not_attempted">;
1774
1233
  error: z.ZodOptional<z.ZodObject<{
1775
- code: z.ZodEnum<{
1776
- app_not_found: "app_not_found";
1777
- app_unavailable: "app_unavailable";
1778
- app_blocked: "app_blocked";
1779
- window_not_found: "window_not_found";
1780
- window_unavailable: "window_unavailable";
1781
- window_not_focused: "window_not_focused";
1782
- permission_denied: "permission_denied";
1783
- stale_target: "stale_target";
1784
- element_not_found: "element_not_found";
1785
- element_not_clickable: "element_not_clickable";
1786
- action_not_supported: "action_not_supported";
1787
- value_not_settable: "value_not_settable";
1788
- invalid_argument: "invalid_argument";
1789
- timeout: "timeout";
1790
- unsupported_capability: "unsupported_capability";
1791
- provider_unavailable: "provider_unavailable";
1792
- provider_crashed: "provider_crashed";
1793
- version_incompatible: "version_incompatible";
1794
- interaction_context_invalid: "interaction_context_invalid";
1795
- interaction_context_expired: "interaction_context_expired";
1796
- session_unavailable: "session_unavailable";
1797
- screenshot_failed: "screenshot_failed";
1798
- accessibility_error: "accessibility_error";
1799
- }>;
1234
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1800
1235
  message: z.ZodString;
1801
1236
  retry: z.ZodBoolean;
1802
1237
  remediation: z.ZodString;
@@ -1861,31 +1296,7 @@ export declare const COMPUTER_OPERATIONS: {
1861
1296
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1862
1297
  }, z.core.$strict>>;
1863
1298
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1864
- code: z.ZodEnum<{
1865
- app_not_found: "app_not_found";
1866
- app_unavailable: "app_unavailable";
1867
- app_blocked: "app_blocked";
1868
- window_not_found: "window_not_found";
1869
- window_unavailable: "window_unavailable";
1870
- window_not_focused: "window_not_focused";
1871
- permission_denied: "permission_denied";
1872
- stale_target: "stale_target";
1873
- element_not_found: "element_not_found";
1874
- element_not_clickable: "element_not_clickable";
1875
- action_not_supported: "action_not_supported";
1876
- value_not_settable: "value_not_settable";
1877
- invalid_argument: "invalid_argument";
1878
- timeout: "timeout";
1879
- unsupported_capability: "unsupported_capability";
1880
- provider_unavailable: "provider_unavailable";
1881
- provider_crashed: "provider_crashed";
1882
- version_incompatible: "version_incompatible";
1883
- interaction_context_invalid: "interaction_context_invalid";
1884
- interaction_context_expired: "interaction_context_expired";
1885
- session_unavailable: "session_unavailable";
1886
- screenshot_failed: "screenshot_failed";
1887
- accessibility_error: "accessibility_error";
1888
- }>;
1299
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1889
1300
  message: z.ZodString;
1890
1301
  retry: z.ZodBoolean;
1891
1302
  remediation: z.ZodString;
@@ -1944,31 +1355,7 @@ export declare const COMPUTER_OPERATIONS: {
1944
1355
  }, z.core.$strict>, z.ZodObject<{
1945
1356
  state: z.ZodLiteral<"failed">;
1946
1357
  error: z.ZodOptional<z.ZodObject<{
1947
- code: z.ZodEnum<{
1948
- app_not_found: "app_not_found";
1949
- app_unavailable: "app_unavailable";
1950
- app_blocked: "app_blocked";
1951
- window_not_found: "window_not_found";
1952
- window_unavailable: "window_unavailable";
1953
- window_not_focused: "window_not_focused";
1954
- permission_denied: "permission_denied";
1955
- stale_target: "stale_target";
1956
- element_not_found: "element_not_found";
1957
- element_not_clickable: "element_not_clickable";
1958
- action_not_supported: "action_not_supported";
1959
- value_not_settable: "value_not_settable";
1960
- invalid_argument: "invalid_argument";
1961
- timeout: "timeout";
1962
- unsupported_capability: "unsupported_capability";
1963
- provider_unavailable: "provider_unavailable";
1964
- provider_crashed: "provider_crashed";
1965
- version_incompatible: "version_incompatible";
1966
- interaction_context_invalid: "interaction_context_invalid";
1967
- interaction_context_expired: "interaction_context_expired";
1968
- session_unavailable: "session_unavailable";
1969
- screenshot_failed: "screenshot_failed";
1970
- accessibility_error: "accessibility_error";
1971
- }>;
1358
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1972
1359
  message: z.ZodString;
1973
1360
  retry: z.ZodBoolean;
1974
1361
  remediation: z.ZodString;
@@ -1977,31 +1364,7 @@ export declare const COMPUTER_OPERATIONS: {
1977
1364
  }, z.core.$strict>, z.ZodObject<{
1978
1365
  state: z.ZodLiteral<"not_attempted">;
1979
1366
  error: z.ZodOptional<z.ZodObject<{
1980
- code: z.ZodEnum<{
1981
- app_not_found: "app_not_found";
1982
- app_unavailable: "app_unavailable";
1983
- app_blocked: "app_blocked";
1984
- window_not_found: "window_not_found";
1985
- window_unavailable: "window_unavailable";
1986
- window_not_focused: "window_not_focused";
1987
- permission_denied: "permission_denied";
1988
- stale_target: "stale_target";
1989
- element_not_found: "element_not_found";
1990
- element_not_clickable: "element_not_clickable";
1991
- action_not_supported: "action_not_supported";
1992
- value_not_settable: "value_not_settable";
1993
- invalid_argument: "invalid_argument";
1994
- timeout: "timeout";
1995
- unsupported_capability: "unsupported_capability";
1996
- provider_unavailable: "provider_unavailable";
1997
- provider_crashed: "provider_crashed";
1998
- version_incompatible: "version_incompatible";
1999
- interaction_context_invalid: "interaction_context_invalid";
2000
- interaction_context_expired: "interaction_context_expired";
2001
- session_unavailable: "session_unavailable";
2002
- screenshot_failed: "screenshot_failed";
2003
- accessibility_error: "accessibility_error";
2004
- }>;
1367
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2005
1368
  message: z.ZodString;
2006
1369
  retry: z.ZodBoolean;
2007
1370
  remediation: z.ZodString;
@@ -2066,31 +1429,7 @@ export declare const COMPUTER_OPERATIONS: {
2066
1429
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
2067
1430
  }, z.core.$strict>>;
2068
1431
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2069
- code: z.ZodEnum<{
2070
- app_not_found: "app_not_found";
2071
- app_unavailable: "app_unavailable";
2072
- app_blocked: "app_blocked";
2073
- window_not_found: "window_not_found";
2074
- window_unavailable: "window_unavailable";
2075
- window_not_focused: "window_not_focused";
2076
- permission_denied: "permission_denied";
2077
- stale_target: "stale_target";
2078
- element_not_found: "element_not_found";
2079
- element_not_clickable: "element_not_clickable";
2080
- action_not_supported: "action_not_supported";
2081
- value_not_settable: "value_not_settable";
2082
- invalid_argument: "invalid_argument";
2083
- timeout: "timeout";
2084
- unsupported_capability: "unsupported_capability";
2085
- provider_unavailable: "provider_unavailable";
2086
- provider_crashed: "provider_crashed";
2087
- version_incompatible: "version_incompatible";
2088
- interaction_context_invalid: "interaction_context_invalid";
2089
- interaction_context_expired: "interaction_context_expired";
2090
- session_unavailable: "session_unavailable";
2091
- screenshot_failed: "screenshot_failed";
2092
- accessibility_error: "accessibility_error";
2093
- }>;
1432
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2094
1433
  message: z.ZodString;
2095
1434
  retry: z.ZodBoolean;
2096
1435
  remediation: z.ZodString;
@@ -2101,8 +1440,1404 @@ export declare const COMPUTER_OPERATIONS: {
2101
1440
  };
2102
1441
  };
2103
1442
  export type ComputerOperationName = keyof typeof COMPUTER_OPERATIONS;
2104
- export declare function parseOperationInput(operation: ComputerOperationName, input: unknown): unknown;
2105
- export declare function parseOperationOutput(operation: ComputerOperationName, output: unknown): unknown;
1443
+ export type BrokerOperationInput<K extends ComputerOperationName> = z.infer<(typeof COMPUTER_OPERATIONS)[K]['input']>;
1444
+ export type PublicOperationInput<K extends ComputerOperationName> = z.infer<(typeof PUBLIC_OPERATIONS)[K]['input']>;
1445
+ export declare const PUBLIC_OPERATIONS: {
1446
+ readonly getAppState: {
1447
+ readonly mutation: false;
1448
+ readonly input: z.ZodUnion<readonly [z.ZodObject<{
1449
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1450
+ goal: z.ZodOptional<z.ZodString>;
1451
+ }, z.core.$strict>, z.ZodObject<{
1452
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1453
+ goal: z.ZodOptional<z.ZodString>;
1454
+ }, z.core.$strict>]>;
1455
+ readonly output: z.ZodObject<{
1456
+ context: z.ZodObject<{
1457
+ brokerGeneration: z.ZodString;
1458
+ providerGeneration: z.ZodString;
1459
+ graphicalSessionId: z.ZodString;
1460
+ process: z.ZodObject<{
1461
+ pid: z.ZodNumber;
1462
+ startedAt: z.ZodISODateTime;
1463
+ executableId: z.ZodString;
1464
+ }, z.core.$strict>;
1465
+ appId: z.ZodString;
1466
+ window: z.ZodObject<{
1467
+ id: z.ZodString;
1468
+ ownerPid: z.ZodNumber;
1469
+ }, z.core.$strict>;
1470
+ snapshotId: z.ZodString;
1471
+ desktopEpoch: z.ZodNumber;
1472
+ token: z.ZodString;
1473
+ issuedAt: z.ZodISODateTime;
1474
+ expiresAt: z.ZodISODateTime;
1475
+ }, z.core.$strict>;
1476
+ snapshot: z.ZodObject<{
1477
+ id: z.ZodString;
1478
+ app: z.ZodObject<{
1479
+ id: z.ZodString;
1480
+ name: z.ZodString;
1481
+ bundleId: z.ZodNullable<z.ZodString>;
1482
+ pid: z.ZodNumber;
1483
+ isRunning: z.ZodBoolean;
1484
+ }, z.core.$strict>;
1485
+ window: z.ZodObject<{
1486
+ id: z.ZodString;
1487
+ appId: z.ZodString;
1488
+ title: z.ZodString;
1489
+ index: z.ZodNumber;
1490
+ bounds: z.ZodObject<{
1491
+ x: z.ZodNumber;
1492
+ y: z.ZodNumber;
1493
+ width: z.ZodNumber;
1494
+ height: z.ZodNumber;
1495
+ }, z.core.$strict>;
1496
+ minimized: z.ZodBoolean;
1497
+ }, z.core.$strict>;
1498
+ treeText: z.ZodString;
1499
+ elementCount: z.ZodNumber;
1500
+ focusedElementRef: z.ZodNullable<z.ZodString>;
1501
+ desktopEpoch: z.ZodNumber;
1502
+ }, z.core.$strict>;
1503
+ screenshot: z.ZodNullable<z.ZodObject<{
1504
+ format: z.ZodLiteral<"png">;
1505
+ width: z.ZodNumber;
1506
+ height: z.ZodNumber;
1507
+ scale: z.ZodNumber;
1508
+ data: z.ZodOptional<z.ZodString>;
1509
+ path: z.ZodOptional<z.ZodString>;
1510
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
1511
+ }, z.core.$strict>>;
1512
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1513
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1514
+ message: z.ZodString;
1515
+ retry: z.ZodBoolean;
1516
+ remediation: z.ZodString;
1517
+ details: z.ZodOptional<z.ZodUnknown>;
1518
+ }, z.core.$strict>>>;
1519
+ suggestion: z.ZodOptional<z.ZodObject<{
1520
+ untrusted: z.ZodLiteral<true>;
1521
+ snapshotId: z.ZodString;
1522
+ move: z.ZodDiscriminatedUnion<[z.ZodObject<{
1523
+ kind: z.ZodLiteral<"click">;
1524
+ elementIndex: z.ZodNumber;
1525
+ }, z.core.$strict>, z.ZodObject<{
1526
+ kind: z.ZodLiteral<"setValue">;
1527
+ elementIndex: z.ZodNumber;
1528
+ }, z.core.$strict>, z.ZodObject<{
1529
+ kind: z.ZodLiteral<"secondary">;
1530
+ elementIndex: z.ZodNumber;
1531
+ action: z.ZodString;
1532
+ }, z.core.$strict>, z.ZodObject<{
1533
+ kind: z.ZodLiteral<"scroll">;
1534
+ elementIndex: z.ZodNumber;
1535
+ direction: z.ZodEnum<{
1536
+ up: "up";
1537
+ down: "down";
1538
+ left: "left";
1539
+ right: "right";
1540
+ }>;
1541
+ }, z.core.$strict>, z.ZodObject<{
1542
+ kind: z.ZodLiteral<"wait">;
1543
+ }, z.core.$strict>, z.ZodObject<{
1544
+ kind: z.ZodLiteral<"done">;
1545
+ }, z.core.$strict>, z.ZodObject<{
1546
+ kind: z.ZodLiteral<"blocked">;
1547
+ reason: z.ZodString;
1548
+ }, z.core.$strict>], "kind">;
1549
+ confidence: z.ZodOptional<z.ZodNumber>;
1550
+ label: z.ZodOptional<z.ZodString>;
1551
+ }, z.core.$strict>>;
1552
+ }, z.core.$strict>;
1553
+ };
1554
+ readonly click: {
1555
+ readonly mutation: true;
1556
+ readonly input: z.ZodObject<{
1557
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1558
+ readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1559
+ target: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1560
+ goal: z.ZodOptional<z.ZodString>;
1561
+ }, z.core.$strict>;
1562
+ readonly output: z.ZodObject<{
1563
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
1564
+ state: z.ZodLiteral<"verified">;
1565
+ evidence: z.ZodOptional<z.ZodUnknown>;
1566
+ }, z.core.$strict>, z.ZodObject<{
1567
+ state: z.ZodLiteral<"indeterminate">;
1568
+ reason: z.ZodOptional<z.ZodString>;
1569
+ }, z.core.$strict>, z.ZodObject<{
1570
+ state: z.ZodLiteral<"failed">;
1571
+ error: z.ZodOptional<z.ZodObject<{
1572
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1573
+ message: z.ZodString;
1574
+ retry: z.ZodBoolean;
1575
+ remediation: z.ZodString;
1576
+ details: z.ZodOptional<z.ZodUnknown>;
1577
+ }, z.core.$strict>>;
1578
+ }, z.core.$strict>, z.ZodObject<{
1579
+ state: z.ZodLiteral<"not_attempted">;
1580
+ error: z.ZodOptional<z.ZodObject<{
1581
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1582
+ message: z.ZodString;
1583
+ retry: z.ZodBoolean;
1584
+ remediation: z.ZodString;
1585
+ details: z.ZodOptional<z.ZodUnknown>;
1586
+ }, z.core.$strict>>;
1587
+ }, z.core.$strict>], "state">;
1588
+ freshState: z.ZodOptional<z.ZodObject<{
1589
+ context: z.ZodObject<{
1590
+ brokerGeneration: z.ZodString;
1591
+ providerGeneration: z.ZodString;
1592
+ graphicalSessionId: z.ZodString;
1593
+ process: z.ZodObject<{
1594
+ pid: z.ZodNumber;
1595
+ startedAt: z.ZodISODateTime;
1596
+ executableId: z.ZodString;
1597
+ }, z.core.$strict>;
1598
+ appId: z.ZodString;
1599
+ window: z.ZodObject<{
1600
+ id: z.ZodString;
1601
+ ownerPid: z.ZodNumber;
1602
+ }, z.core.$strict>;
1603
+ snapshotId: z.ZodString;
1604
+ desktopEpoch: z.ZodNumber;
1605
+ token: z.ZodString;
1606
+ issuedAt: z.ZodISODateTime;
1607
+ expiresAt: z.ZodISODateTime;
1608
+ }, z.core.$strict>;
1609
+ snapshot: z.ZodObject<{
1610
+ id: z.ZodString;
1611
+ app: z.ZodObject<{
1612
+ id: z.ZodString;
1613
+ name: z.ZodString;
1614
+ bundleId: z.ZodNullable<z.ZodString>;
1615
+ pid: z.ZodNumber;
1616
+ isRunning: z.ZodBoolean;
1617
+ }, z.core.$strict>;
1618
+ window: z.ZodObject<{
1619
+ id: z.ZodString;
1620
+ appId: z.ZodString;
1621
+ title: z.ZodString;
1622
+ index: z.ZodNumber;
1623
+ bounds: z.ZodObject<{
1624
+ x: z.ZodNumber;
1625
+ y: z.ZodNumber;
1626
+ width: z.ZodNumber;
1627
+ height: z.ZodNumber;
1628
+ }, z.core.$strict>;
1629
+ minimized: z.ZodBoolean;
1630
+ }, z.core.$strict>;
1631
+ treeText: z.ZodString;
1632
+ elementCount: z.ZodNumber;
1633
+ focusedElementRef: z.ZodNullable<z.ZodString>;
1634
+ desktopEpoch: z.ZodNumber;
1635
+ }, z.core.$strict>;
1636
+ screenshot: z.ZodNullable<z.ZodObject<{
1637
+ format: z.ZodLiteral<"png">;
1638
+ width: z.ZodNumber;
1639
+ height: z.ZodNumber;
1640
+ scale: z.ZodNumber;
1641
+ data: z.ZodOptional<z.ZodString>;
1642
+ path: z.ZodOptional<z.ZodString>;
1643
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
1644
+ }, z.core.$strict>>;
1645
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1646
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1647
+ message: z.ZodString;
1648
+ retry: z.ZodBoolean;
1649
+ remediation: z.ZodString;
1650
+ details: z.ZodOptional<z.ZodUnknown>;
1651
+ }, z.core.$strict>>>;
1652
+ }, z.core.$strict>>;
1653
+ resolvedTarget: z.ZodOptional<z.ZodObject<{
1654
+ kind: z.ZodLiteral<"element">;
1655
+ elementIndex: z.ZodNumber;
1656
+ }, z.core.$strict>>;
1657
+ suggestion: z.ZodOptional<z.ZodObject<{
1658
+ untrusted: z.ZodLiteral<true>;
1659
+ snapshotId: z.ZodString;
1660
+ move: z.ZodDiscriminatedUnion<[z.ZodObject<{
1661
+ kind: z.ZodLiteral<"click">;
1662
+ elementIndex: z.ZodNumber;
1663
+ }, z.core.$strict>, z.ZodObject<{
1664
+ kind: z.ZodLiteral<"setValue">;
1665
+ elementIndex: z.ZodNumber;
1666
+ }, z.core.$strict>, z.ZodObject<{
1667
+ kind: z.ZodLiteral<"secondary">;
1668
+ elementIndex: z.ZodNumber;
1669
+ action: z.ZodString;
1670
+ }, z.core.$strict>, z.ZodObject<{
1671
+ kind: z.ZodLiteral<"scroll">;
1672
+ elementIndex: z.ZodNumber;
1673
+ direction: z.ZodEnum<{
1674
+ up: "up";
1675
+ down: "down";
1676
+ left: "left";
1677
+ right: "right";
1678
+ }>;
1679
+ }, z.core.$strict>, z.ZodObject<{
1680
+ kind: z.ZodLiteral<"wait">;
1681
+ }, z.core.$strict>, z.ZodObject<{
1682
+ kind: z.ZodLiteral<"done">;
1683
+ }, z.core.$strict>, z.ZodObject<{
1684
+ kind: z.ZodLiteral<"blocked">;
1685
+ reason: z.ZodString;
1686
+ }, z.core.$strict>], "kind">;
1687
+ confidence: z.ZodOptional<z.ZodNumber>;
1688
+ label: z.ZodOptional<z.ZodString>;
1689
+ }, z.core.$strict>>;
1690
+ }, z.core.$strict>;
1691
+ };
1692
+ readonly performSecondaryAction: {
1693
+ readonly mutation: true;
1694
+ readonly input: z.ZodObject<{
1695
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1696
+ readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1697
+ target: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1698
+ goal: z.ZodOptional<z.ZodString>;
1699
+ }, z.core.$strict>;
1700
+ readonly output: z.ZodObject<{
1701
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
1702
+ state: z.ZodLiteral<"verified">;
1703
+ evidence: z.ZodOptional<z.ZodUnknown>;
1704
+ }, z.core.$strict>, z.ZodObject<{
1705
+ state: z.ZodLiteral<"indeterminate">;
1706
+ reason: z.ZodOptional<z.ZodString>;
1707
+ }, z.core.$strict>, z.ZodObject<{
1708
+ state: z.ZodLiteral<"failed">;
1709
+ error: z.ZodOptional<z.ZodObject<{
1710
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1711
+ message: z.ZodString;
1712
+ retry: z.ZodBoolean;
1713
+ remediation: z.ZodString;
1714
+ details: z.ZodOptional<z.ZodUnknown>;
1715
+ }, z.core.$strict>>;
1716
+ }, z.core.$strict>, z.ZodObject<{
1717
+ state: z.ZodLiteral<"not_attempted">;
1718
+ error: z.ZodOptional<z.ZodObject<{
1719
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1720
+ message: z.ZodString;
1721
+ retry: z.ZodBoolean;
1722
+ remediation: z.ZodString;
1723
+ details: z.ZodOptional<z.ZodUnknown>;
1724
+ }, z.core.$strict>>;
1725
+ }, z.core.$strict>], "state">;
1726
+ freshState: z.ZodOptional<z.ZodObject<{
1727
+ context: z.ZodObject<{
1728
+ brokerGeneration: z.ZodString;
1729
+ providerGeneration: z.ZodString;
1730
+ graphicalSessionId: z.ZodString;
1731
+ process: z.ZodObject<{
1732
+ pid: z.ZodNumber;
1733
+ startedAt: z.ZodISODateTime;
1734
+ executableId: z.ZodString;
1735
+ }, z.core.$strict>;
1736
+ appId: z.ZodString;
1737
+ window: z.ZodObject<{
1738
+ id: z.ZodString;
1739
+ ownerPid: z.ZodNumber;
1740
+ }, z.core.$strict>;
1741
+ snapshotId: z.ZodString;
1742
+ desktopEpoch: z.ZodNumber;
1743
+ token: z.ZodString;
1744
+ issuedAt: z.ZodISODateTime;
1745
+ expiresAt: z.ZodISODateTime;
1746
+ }, z.core.$strict>;
1747
+ snapshot: z.ZodObject<{
1748
+ id: z.ZodString;
1749
+ app: z.ZodObject<{
1750
+ id: z.ZodString;
1751
+ name: z.ZodString;
1752
+ bundleId: z.ZodNullable<z.ZodString>;
1753
+ pid: z.ZodNumber;
1754
+ isRunning: z.ZodBoolean;
1755
+ }, z.core.$strict>;
1756
+ window: z.ZodObject<{
1757
+ id: z.ZodString;
1758
+ appId: z.ZodString;
1759
+ title: z.ZodString;
1760
+ index: z.ZodNumber;
1761
+ bounds: z.ZodObject<{
1762
+ x: z.ZodNumber;
1763
+ y: z.ZodNumber;
1764
+ width: z.ZodNumber;
1765
+ height: z.ZodNumber;
1766
+ }, z.core.$strict>;
1767
+ minimized: z.ZodBoolean;
1768
+ }, z.core.$strict>;
1769
+ treeText: z.ZodString;
1770
+ elementCount: z.ZodNumber;
1771
+ focusedElementRef: z.ZodNullable<z.ZodString>;
1772
+ desktopEpoch: z.ZodNumber;
1773
+ }, z.core.$strict>;
1774
+ screenshot: z.ZodNullable<z.ZodObject<{
1775
+ format: z.ZodLiteral<"png">;
1776
+ width: z.ZodNumber;
1777
+ height: z.ZodNumber;
1778
+ scale: z.ZodNumber;
1779
+ data: z.ZodOptional<z.ZodString>;
1780
+ path: z.ZodOptional<z.ZodString>;
1781
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
1782
+ }, z.core.$strict>>;
1783
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1784
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1785
+ message: z.ZodString;
1786
+ retry: z.ZodBoolean;
1787
+ remediation: z.ZodString;
1788
+ details: z.ZodOptional<z.ZodUnknown>;
1789
+ }, z.core.$strict>>>;
1790
+ }, z.core.$strict>>;
1791
+ resolvedTarget: z.ZodOptional<z.ZodObject<{
1792
+ kind: z.ZodLiteral<"element">;
1793
+ elementIndex: z.ZodNumber;
1794
+ }, z.core.$strict>>;
1795
+ suggestion: z.ZodOptional<z.ZodObject<{
1796
+ untrusted: z.ZodLiteral<true>;
1797
+ snapshotId: z.ZodString;
1798
+ move: z.ZodDiscriminatedUnion<[z.ZodObject<{
1799
+ kind: z.ZodLiteral<"click">;
1800
+ elementIndex: z.ZodNumber;
1801
+ }, z.core.$strict>, z.ZodObject<{
1802
+ kind: z.ZodLiteral<"setValue">;
1803
+ elementIndex: z.ZodNumber;
1804
+ }, z.core.$strict>, z.ZodObject<{
1805
+ kind: z.ZodLiteral<"secondary">;
1806
+ elementIndex: z.ZodNumber;
1807
+ action: z.ZodString;
1808
+ }, z.core.$strict>, z.ZodObject<{
1809
+ kind: z.ZodLiteral<"scroll">;
1810
+ elementIndex: z.ZodNumber;
1811
+ direction: z.ZodEnum<{
1812
+ up: "up";
1813
+ down: "down";
1814
+ left: "left";
1815
+ right: "right";
1816
+ }>;
1817
+ }, z.core.$strict>, z.ZodObject<{
1818
+ kind: z.ZodLiteral<"wait">;
1819
+ }, z.core.$strict>, z.ZodObject<{
1820
+ kind: z.ZodLiteral<"done">;
1821
+ }, z.core.$strict>, z.ZodObject<{
1822
+ kind: z.ZodLiteral<"blocked">;
1823
+ reason: z.ZodString;
1824
+ }, z.core.$strict>], "kind">;
1825
+ confidence: z.ZodOptional<z.ZodNumber>;
1826
+ label: z.ZodOptional<z.ZodString>;
1827
+ }, z.core.$strict>>;
1828
+ }, z.core.$strict>;
1829
+ };
1830
+ readonly scroll: {
1831
+ readonly mutation: true;
1832
+ readonly input: z.ZodObject<{
1833
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1834
+ readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1835
+ target: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1836
+ goal: z.ZodOptional<z.ZodString>;
1837
+ }, z.core.$strict>;
1838
+ readonly output: z.ZodObject<{
1839
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
1840
+ state: z.ZodLiteral<"verified">;
1841
+ evidence: z.ZodOptional<z.ZodUnknown>;
1842
+ }, z.core.$strict>, z.ZodObject<{
1843
+ state: z.ZodLiteral<"indeterminate">;
1844
+ reason: z.ZodOptional<z.ZodString>;
1845
+ }, z.core.$strict>, z.ZodObject<{
1846
+ state: z.ZodLiteral<"failed">;
1847
+ error: z.ZodOptional<z.ZodObject<{
1848
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1849
+ message: z.ZodString;
1850
+ retry: z.ZodBoolean;
1851
+ remediation: z.ZodString;
1852
+ details: z.ZodOptional<z.ZodUnknown>;
1853
+ }, z.core.$strict>>;
1854
+ }, z.core.$strict>, z.ZodObject<{
1855
+ state: z.ZodLiteral<"not_attempted">;
1856
+ error: z.ZodOptional<z.ZodObject<{
1857
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1858
+ message: z.ZodString;
1859
+ retry: z.ZodBoolean;
1860
+ remediation: z.ZodString;
1861
+ details: z.ZodOptional<z.ZodUnknown>;
1862
+ }, z.core.$strict>>;
1863
+ }, z.core.$strict>], "state">;
1864
+ freshState: z.ZodOptional<z.ZodObject<{
1865
+ context: z.ZodObject<{
1866
+ brokerGeneration: z.ZodString;
1867
+ providerGeneration: z.ZodString;
1868
+ graphicalSessionId: z.ZodString;
1869
+ process: z.ZodObject<{
1870
+ pid: z.ZodNumber;
1871
+ startedAt: z.ZodISODateTime;
1872
+ executableId: z.ZodString;
1873
+ }, z.core.$strict>;
1874
+ appId: z.ZodString;
1875
+ window: z.ZodObject<{
1876
+ id: z.ZodString;
1877
+ ownerPid: z.ZodNumber;
1878
+ }, z.core.$strict>;
1879
+ snapshotId: z.ZodString;
1880
+ desktopEpoch: z.ZodNumber;
1881
+ token: z.ZodString;
1882
+ issuedAt: z.ZodISODateTime;
1883
+ expiresAt: z.ZodISODateTime;
1884
+ }, z.core.$strict>;
1885
+ snapshot: z.ZodObject<{
1886
+ id: z.ZodString;
1887
+ app: z.ZodObject<{
1888
+ id: z.ZodString;
1889
+ name: z.ZodString;
1890
+ bundleId: z.ZodNullable<z.ZodString>;
1891
+ pid: z.ZodNumber;
1892
+ isRunning: z.ZodBoolean;
1893
+ }, z.core.$strict>;
1894
+ window: z.ZodObject<{
1895
+ id: z.ZodString;
1896
+ appId: z.ZodString;
1897
+ title: z.ZodString;
1898
+ index: z.ZodNumber;
1899
+ bounds: z.ZodObject<{
1900
+ x: z.ZodNumber;
1901
+ y: z.ZodNumber;
1902
+ width: z.ZodNumber;
1903
+ height: z.ZodNumber;
1904
+ }, z.core.$strict>;
1905
+ minimized: z.ZodBoolean;
1906
+ }, z.core.$strict>;
1907
+ treeText: z.ZodString;
1908
+ elementCount: z.ZodNumber;
1909
+ focusedElementRef: z.ZodNullable<z.ZodString>;
1910
+ desktopEpoch: z.ZodNumber;
1911
+ }, z.core.$strict>;
1912
+ screenshot: z.ZodNullable<z.ZodObject<{
1913
+ format: z.ZodLiteral<"png">;
1914
+ width: z.ZodNumber;
1915
+ height: z.ZodNumber;
1916
+ scale: z.ZodNumber;
1917
+ data: z.ZodOptional<z.ZodString>;
1918
+ path: z.ZodOptional<z.ZodString>;
1919
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
1920
+ }, z.core.$strict>>;
1921
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1922
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
1923
+ message: z.ZodString;
1924
+ retry: z.ZodBoolean;
1925
+ remediation: z.ZodString;
1926
+ details: z.ZodOptional<z.ZodUnknown>;
1927
+ }, z.core.$strict>>>;
1928
+ }, z.core.$strict>>;
1929
+ resolvedTarget: z.ZodOptional<z.ZodObject<{
1930
+ kind: z.ZodLiteral<"element">;
1931
+ elementIndex: z.ZodNumber;
1932
+ }, z.core.$strict>>;
1933
+ suggestion: z.ZodOptional<z.ZodObject<{
1934
+ untrusted: z.ZodLiteral<true>;
1935
+ snapshotId: z.ZodString;
1936
+ move: z.ZodDiscriminatedUnion<[z.ZodObject<{
1937
+ kind: z.ZodLiteral<"click">;
1938
+ elementIndex: z.ZodNumber;
1939
+ }, z.core.$strict>, z.ZodObject<{
1940
+ kind: z.ZodLiteral<"setValue">;
1941
+ elementIndex: z.ZodNumber;
1942
+ }, z.core.$strict>, z.ZodObject<{
1943
+ kind: z.ZodLiteral<"secondary">;
1944
+ elementIndex: z.ZodNumber;
1945
+ action: z.ZodString;
1946
+ }, z.core.$strict>, z.ZodObject<{
1947
+ kind: z.ZodLiteral<"scroll">;
1948
+ elementIndex: z.ZodNumber;
1949
+ direction: z.ZodEnum<{
1950
+ up: "up";
1951
+ down: "down";
1952
+ left: "left";
1953
+ right: "right";
1954
+ }>;
1955
+ }, z.core.$strict>, z.ZodObject<{
1956
+ kind: z.ZodLiteral<"wait">;
1957
+ }, z.core.$strict>, z.ZodObject<{
1958
+ kind: z.ZodLiteral<"done">;
1959
+ }, z.core.$strict>, z.ZodObject<{
1960
+ kind: z.ZodLiteral<"blocked">;
1961
+ reason: z.ZodString;
1962
+ }, z.core.$strict>], "kind">;
1963
+ confidence: z.ZodOptional<z.ZodNumber>;
1964
+ label: z.ZodOptional<z.ZodString>;
1965
+ }, z.core.$strict>>;
1966
+ }, z.core.$strict>;
1967
+ };
1968
+ readonly setValue: {
1969
+ readonly mutation: true;
1970
+ readonly input: z.ZodObject<{
1971
+ readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1972
+ readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1973
+ target: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1974
+ goal: z.ZodOptional<z.ZodString>;
1975
+ }, z.core.$strict>;
1976
+ readonly output: z.ZodObject<{
1977
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
1978
+ state: z.ZodLiteral<"verified">;
1979
+ evidence: z.ZodOptional<z.ZodUnknown>;
1980
+ }, z.core.$strict>, z.ZodObject<{
1981
+ state: z.ZodLiteral<"indeterminate">;
1982
+ reason: z.ZodOptional<z.ZodString>;
1983
+ }, z.core.$strict>, z.ZodObject<{
1984
+ state: z.ZodLiteral<"failed">;
1985
+ error: z.ZodOptional<z.ZodObject<{
1986
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1987
+ message: z.ZodString;
1988
+ retry: z.ZodBoolean;
1989
+ remediation: z.ZodString;
1990
+ details: z.ZodOptional<z.ZodUnknown>;
1991
+ }, z.core.$strict>>;
1992
+ }, z.core.$strict>, z.ZodObject<{
1993
+ state: z.ZodLiteral<"not_attempted">;
1994
+ error: z.ZodOptional<z.ZodObject<{
1995
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error" | "goal_mismatch" | "policy_unavailable" | "intent_unavailable">>;
1996
+ message: z.ZodString;
1997
+ retry: z.ZodBoolean;
1998
+ remediation: z.ZodString;
1999
+ details: z.ZodOptional<z.ZodUnknown>;
2000
+ }, z.core.$strict>>;
2001
+ }, z.core.$strict>], "state">;
2002
+ freshState: z.ZodOptional<z.ZodObject<{
2003
+ context: z.ZodObject<{
2004
+ brokerGeneration: z.ZodString;
2005
+ providerGeneration: z.ZodString;
2006
+ graphicalSessionId: z.ZodString;
2007
+ process: z.ZodObject<{
2008
+ pid: z.ZodNumber;
2009
+ startedAt: z.ZodISODateTime;
2010
+ executableId: z.ZodString;
2011
+ }, z.core.$strict>;
2012
+ appId: z.ZodString;
2013
+ window: z.ZodObject<{
2014
+ id: z.ZodString;
2015
+ ownerPid: z.ZodNumber;
2016
+ }, z.core.$strict>;
2017
+ snapshotId: z.ZodString;
2018
+ desktopEpoch: z.ZodNumber;
2019
+ token: z.ZodString;
2020
+ issuedAt: z.ZodISODateTime;
2021
+ expiresAt: z.ZodISODateTime;
2022
+ }, z.core.$strict>;
2023
+ snapshot: z.ZodObject<{
2024
+ id: z.ZodString;
2025
+ app: z.ZodObject<{
2026
+ id: z.ZodString;
2027
+ name: z.ZodString;
2028
+ bundleId: z.ZodNullable<z.ZodString>;
2029
+ pid: z.ZodNumber;
2030
+ isRunning: z.ZodBoolean;
2031
+ }, z.core.$strict>;
2032
+ window: z.ZodObject<{
2033
+ id: z.ZodString;
2034
+ appId: z.ZodString;
2035
+ title: z.ZodString;
2036
+ index: z.ZodNumber;
2037
+ bounds: z.ZodObject<{
2038
+ x: z.ZodNumber;
2039
+ y: z.ZodNumber;
2040
+ width: z.ZodNumber;
2041
+ height: z.ZodNumber;
2042
+ }, z.core.$strict>;
2043
+ minimized: z.ZodBoolean;
2044
+ }, z.core.$strict>;
2045
+ treeText: z.ZodString;
2046
+ elementCount: z.ZodNumber;
2047
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2048
+ desktopEpoch: z.ZodNumber;
2049
+ }, z.core.$strict>;
2050
+ screenshot: z.ZodNullable<z.ZodObject<{
2051
+ format: z.ZodLiteral<"png">;
2052
+ width: z.ZodNumber;
2053
+ height: z.ZodNumber;
2054
+ scale: z.ZodNumber;
2055
+ data: z.ZodOptional<z.ZodString>;
2056
+ path: z.ZodOptional<z.ZodString>;
2057
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2058
+ }, z.core.$strict>>;
2059
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2060
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2061
+ message: z.ZodString;
2062
+ retry: z.ZodBoolean;
2063
+ remediation: z.ZodString;
2064
+ details: z.ZodOptional<z.ZodUnknown>;
2065
+ }, z.core.$strict>>>;
2066
+ }, z.core.$strict>>;
2067
+ resolvedTarget: z.ZodOptional<z.ZodObject<{
2068
+ kind: z.ZodLiteral<"element">;
2069
+ elementIndex: z.ZodNumber;
2070
+ }, z.core.$strict>>;
2071
+ suggestion: z.ZodOptional<z.ZodObject<{
2072
+ untrusted: z.ZodLiteral<true>;
2073
+ snapshotId: z.ZodString;
2074
+ move: z.ZodDiscriminatedUnion<[z.ZodObject<{
2075
+ kind: z.ZodLiteral<"click">;
2076
+ elementIndex: z.ZodNumber;
2077
+ }, z.core.$strict>, z.ZodObject<{
2078
+ kind: z.ZodLiteral<"setValue">;
2079
+ elementIndex: z.ZodNumber;
2080
+ }, z.core.$strict>, z.ZodObject<{
2081
+ kind: z.ZodLiteral<"secondary">;
2082
+ elementIndex: z.ZodNumber;
2083
+ action: z.ZodString;
2084
+ }, z.core.$strict>, z.ZodObject<{
2085
+ kind: z.ZodLiteral<"scroll">;
2086
+ elementIndex: z.ZodNumber;
2087
+ direction: z.ZodEnum<{
2088
+ up: "up";
2089
+ down: "down";
2090
+ left: "left";
2091
+ right: "right";
2092
+ }>;
2093
+ }, z.core.$strict>, z.ZodObject<{
2094
+ kind: z.ZodLiteral<"wait">;
2095
+ }, z.core.$strict>, z.ZodObject<{
2096
+ kind: z.ZodLiteral<"done">;
2097
+ }, z.core.$strict>, z.ZodObject<{
2098
+ kind: z.ZodLiteral<"blocked">;
2099
+ reason: z.ZodString;
2100
+ }, z.core.$strict>], "kind">;
2101
+ confidence: z.ZodOptional<z.ZodNumber>;
2102
+ label: z.ZodOptional<z.ZodString>;
2103
+ }, z.core.$strict>>;
2104
+ }, z.core.$strict>;
2105
+ };
2106
+ readonly capabilities: {
2107
+ readonly mutation: false;
2108
+ readonly input: z.ZodObject<{}, z.core.$strict>;
2109
+ readonly output: z.ZodObject<{
2110
+ platform: z.ZodEnum<{
2111
+ darwin: "darwin";
2112
+ win32: "win32";
2113
+ linux: "linux";
2114
+ }>;
2115
+ provider: z.ZodString;
2116
+ providerVersion: z.ZodString;
2117
+ operations: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2118
+ permissions: z.ZodRecord<z.ZodString, z.ZodEnum<{
2119
+ unknown: "unknown";
2120
+ granted: "granted";
2121
+ denied: "denied";
2122
+ not_required: "not_required";
2123
+ }>>;
2124
+ supports: z.ZodOptional<z.ZodObject<{
2125
+ apps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2126
+ windows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2127
+ surfaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2128
+ observation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2129
+ actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2130
+ }, z.core.$strict>>;
2131
+ }, z.core.$strict>;
2132
+ };
2133
+ readonly permissions: {
2134
+ readonly mutation: false;
2135
+ readonly input: z.ZodObject<{
2136
+ id: z.ZodOptional<z.ZodEnum<{
2137
+ accessibility: "accessibility";
2138
+ screenshots: "screenshots";
2139
+ }>>;
2140
+ }, z.core.$strict>;
2141
+ readonly output: z.ZodObject<{
2142
+ permissions: z.ZodRecord<z.ZodString, z.ZodEnum<{
2143
+ unknown: "unknown";
2144
+ granted: "granted";
2145
+ denied: "denied";
2146
+ not_required: "not_required";
2147
+ }>>;
2148
+ }, z.core.$strict>;
2149
+ };
2150
+ readonly listApps: {
2151
+ readonly mutation: false;
2152
+ readonly input: z.ZodObject<{}, z.core.$strict>;
2153
+ readonly output: z.ZodObject<{
2154
+ apps: z.ZodArray<z.ZodObject<{
2155
+ id: z.ZodString;
2156
+ name: z.ZodString;
2157
+ bundleId: z.ZodNullable<z.ZodString>;
2158
+ pid: z.ZodNumber;
2159
+ isRunning: z.ZodBoolean;
2160
+ }, z.core.$strict>>;
2161
+ }, z.core.$strict>;
2162
+ };
2163
+ readonly listWindows: {
2164
+ readonly mutation: false;
2165
+ readonly input: z.ZodObject<{
2166
+ app: z.ZodString;
2167
+ }, z.core.$strict>;
2168
+ readonly output: z.ZodObject<{
2169
+ windows: z.ZodArray<z.ZodObject<{
2170
+ id: z.ZodString;
2171
+ appId: z.ZodString;
2172
+ title: z.ZodString;
2173
+ index: z.ZodNumber;
2174
+ bounds: z.ZodObject<{
2175
+ x: z.ZodNumber;
2176
+ y: z.ZodNumber;
2177
+ width: z.ZodNumber;
2178
+ height: z.ZodNumber;
2179
+ }, z.core.$strict>;
2180
+ minimized: z.ZodBoolean;
2181
+ }, z.core.$strict>>;
2182
+ }, z.core.$strict>;
2183
+ };
2184
+ readonly drag: {
2185
+ readonly mutation: true;
2186
+ readonly input: z.ZodObject<{
2187
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
2188
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
2189
+ contextToken: z.ZodString;
2190
+ app: z.ZodOptional<z.ZodString>;
2191
+ from: z.ZodUnion<readonly [z.ZodObject<{
2192
+ kind: z.ZodLiteral<"element">;
2193
+ ref: z.ZodObject<{
2194
+ brokerGeneration: z.ZodString;
2195
+ providerGeneration: z.ZodString;
2196
+ graphicalSessionId: z.ZodString;
2197
+ process: z.ZodObject<{
2198
+ pid: z.ZodNumber;
2199
+ startedAt: z.ZodISODateTime;
2200
+ executableId: z.ZodString;
2201
+ }, z.core.$strict>;
2202
+ appId: z.ZodString;
2203
+ window: z.ZodObject<{
2204
+ id: z.ZodString;
2205
+ ownerPid: z.ZodNumber;
2206
+ }, z.core.$strict>;
2207
+ snapshotId: z.ZodString;
2208
+ desktopEpoch: z.ZodNumber;
2209
+ ref: z.ZodString;
2210
+ kind: z.ZodEnum<{
2211
+ window: "window";
2212
+ app: "app";
2213
+ element: "element";
2214
+ }>;
2215
+ contextToken: z.ZodString;
2216
+ expiresAt: z.ZodISODateTime;
2217
+ }, z.core.$strict>;
2218
+ }, z.core.$strict>, z.ZodObject<{
2219
+ kind: z.ZodLiteral<"element">;
2220
+ elementIndex: z.ZodNumber;
2221
+ }, z.core.$strict>, z.ZodObject<{
2222
+ kind: z.ZodLiteral<"coordinate">;
2223
+ window: z.ZodOptional<z.ZodObject<{
2224
+ brokerGeneration: z.ZodString;
2225
+ providerGeneration: z.ZodString;
2226
+ graphicalSessionId: z.ZodString;
2227
+ process: z.ZodObject<{
2228
+ pid: z.ZodNumber;
2229
+ startedAt: z.ZodISODateTime;
2230
+ executableId: z.ZodString;
2231
+ }, z.core.$strict>;
2232
+ appId: z.ZodString;
2233
+ window: z.ZodObject<{
2234
+ id: z.ZodString;
2235
+ ownerPid: z.ZodNumber;
2236
+ }, z.core.$strict>;
2237
+ snapshotId: z.ZodString;
2238
+ desktopEpoch: z.ZodNumber;
2239
+ ref: z.ZodString;
2240
+ kind: z.ZodEnum<{
2241
+ window: "window";
2242
+ app: "app";
2243
+ element: "element";
2244
+ }>;
2245
+ contextToken: z.ZodString;
2246
+ expiresAt: z.ZodISODateTime;
2247
+ }, z.core.$strict>>;
2248
+ x: z.ZodNumber;
2249
+ y: z.ZodNumber;
2250
+ }, z.core.$strict>, z.ZodObject<{
2251
+ kind: z.ZodLiteral<"context-window">;
2252
+ }, z.core.$strict>]>;
2253
+ to: z.ZodUnion<readonly [z.ZodObject<{
2254
+ kind: z.ZodLiteral<"element">;
2255
+ ref: z.ZodObject<{
2256
+ brokerGeneration: z.ZodString;
2257
+ providerGeneration: z.ZodString;
2258
+ graphicalSessionId: z.ZodString;
2259
+ process: z.ZodObject<{
2260
+ pid: z.ZodNumber;
2261
+ startedAt: z.ZodISODateTime;
2262
+ executableId: z.ZodString;
2263
+ }, z.core.$strict>;
2264
+ appId: z.ZodString;
2265
+ window: z.ZodObject<{
2266
+ id: z.ZodString;
2267
+ ownerPid: z.ZodNumber;
2268
+ }, z.core.$strict>;
2269
+ snapshotId: z.ZodString;
2270
+ desktopEpoch: z.ZodNumber;
2271
+ ref: z.ZodString;
2272
+ kind: z.ZodEnum<{
2273
+ window: "window";
2274
+ app: "app";
2275
+ element: "element";
2276
+ }>;
2277
+ contextToken: z.ZodString;
2278
+ expiresAt: z.ZodISODateTime;
2279
+ }, z.core.$strict>;
2280
+ }, z.core.$strict>, z.ZodObject<{
2281
+ kind: z.ZodLiteral<"element">;
2282
+ elementIndex: z.ZodNumber;
2283
+ }, z.core.$strict>, z.ZodObject<{
2284
+ kind: z.ZodLiteral<"coordinate">;
2285
+ window: z.ZodOptional<z.ZodObject<{
2286
+ brokerGeneration: z.ZodString;
2287
+ providerGeneration: z.ZodString;
2288
+ graphicalSessionId: z.ZodString;
2289
+ process: z.ZodObject<{
2290
+ pid: z.ZodNumber;
2291
+ startedAt: z.ZodISODateTime;
2292
+ executableId: z.ZodString;
2293
+ }, z.core.$strict>;
2294
+ appId: z.ZodString;
2295
+ window: z.ZodObject<{
2296
+ id: z.ZodString;
2297
+ ownerPid: z.ZodNumber;
2298
+ }, z.core.$strict>;
2299
+ snapshotId: z.ZodString;
2300
+ desktopEpoch: z.ZodNumber;
2301
+ ref: z.ZodString;
2302
+ kind: z.ZodEnum<{
2303
+ window: "window";
2304
+ app: "app";
2305
+ element: "element";
2306
+ }>;
2307
+ contextToken: z.ZodString;
2308
+ expiresAt: z.ZodISODateTime;
2309
+ }, z.core.$strict>>;
2310
+ x: z.ZodNumber;
2311
+ y: z.ZodNumber;
2312
+ }, z.core.$strict>, z.ZodObject<{
2313
+ kind: z.ZodLiteral<"context-window">;
2314
+ }, z.core.$strict>]>;
2315
+ durationMs: z.ZodOptional<z.ZodNumber>;
2316
+ }, z.core.$strict>;
2317
+ readonly output: z.ZodObject<{
2318
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
2319
+ state: z.ZodLiteral<"verified">;
2320
+ evidence: z.ZodOptional<z.ZodUnknown>;
2321
+ }, z.core.$strict>, z.ZodObject<{
2322
+ state: z.ZodLiteral<"indeterminate">;
2323
+ reason: z.ZodOptional<z.ZodString>;
2324
+ }, z.core.$strict>, z.ZodObject<{
2325
+ state: z.ZodLiteral<"failed">;
2326
+ error: z.ZodOptional<z.ZodObject<{
2327
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2328
+ message: z.ZodString;
2329
+ retry: z.ZodBoolean;
2330
+ remediation: z.ZodString;
2331
+ details: z.ZodOptional<z.ZodUnknown>;
2332
+ }, z.core.$strict>>;
2333
+ }, z.core.$strict>, z.ZodObject<{
2334
+ state: z.ZodLiteral<"not_attempted">;
2335
+ error: z.ZodOptional<z.ZodObject<{
2336
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2337
+ message: z.ZodString;
2338
+ retry: z.ZodBoolean;
2339
+ remediation: z.ZodString;
2340
+ details: z.ZodOptional<z.ZodUnknown>;
2341
+ }, z.core.$strict>>;
2342
+ }, z.core.$strict>], "state">;
2343
+ freshState: z.ZodOptional<z.ZodObject<{
2344
+ context: z.ZodObject<{
2345
+ brokerGeneration: z.ZodString;
2346
+ providerGeneration: z.ZodString;
2347
+ graphicalSessionId: z.ZodString;
2348
+ process: z.ZodObject<{
2349
+ pid: z.ZodNumber;
2350
+ startedAt: z.ZodISODateTime;
2351
+ executableId: z.ZodString;
2352
+ }, z.core.$strict>;
2353
+ appId: z.ZodString;
2354
+ window: z.ZodObject<{
2355
+ id: z.ZodString;
2356
+ ownerPid: z.ZodNumber;
2357
+ }, z.core.$strict>;
2358
+ snapshotId: z.ZodString;
2359
+ desktopEpoch: z.ZodNumber;
2360
+ token: z.ZodString;
2361
+ issuedAt: z.ZodISODateTime;
2362
+ expiresAt: z.ZodISODateTime;
2363
+ }, z.core.$strict>;
2364
+ snapshot: z.ZodObject<{
2365
+ id: z.ZodString;
2366
+ app: z.ZodObject<{
2367
+ id: z.ZodString;
2368
+ name: z.ZodString;
2369
+ bundleId: z.ZodNullable<z.ZodString>;
2370
+ pid: z.ZodNumber;
2371
+ isRunning: z.ZodBoolean;
2372
+ }, z.core.$strict>;
2373
+ window: z.ZodObject<{
2374
+ id: z.ZodString;
2375
+ appId: z.ZodString;
2376
+ title: z.ZodString;
2377
+ index: z.ZodNumber;
2378
+ bounds: z.ZodObject<{
2379
+ x: z.ZodNumber;
2380
+ y: z.ZodNumber;
2381
+ width: z.ZodNumber;
2382
+ height: z.ZodNumber;
2383
+ }, z.core.$strict>;
2384
+ minimized: z.ZodBoolean;
2385
+ }, z.core.$strict>;
2386
+ treeText: z.ZodString;
2387
+ elementCount: z.ZodNumber;
2388
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2389
+ desktopEpoch: z.ZodNumber;
2390
+ }, z.core.$strict>;
2391
+ screenshot: z.ZodNullable<z.ZodObject<{
2392
+ format: z.ZodLiteral<"png">;
2393
+ width: z.ZodNumber;
2394
+ height: z.ZodNumber;
2395
+ scale: z.ZodNumber;
2396
+ data: z.ZodOptional<z.ZodString>;
2397
+ path: z.ZodOptional<z.ZodString>;
2398
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2399
+ }, z.core.$strict>>;
2400
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2401
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2402
+ message: z.ZodString;
2403
+ retry: z.ZodBoolean;
2404
+ remediation: z.ZodString;
2405
+ details: z.ZodOptional<z.ZodUnknown>;
2406
+ }, z.core.$strict>>>;
2407
+ }, z.core.$strict>>;
2408
+ }, z.core.$strict>;
2409
+ };
2410
+ readonly typeText: {
2411
+ readonly mutation: true;
2412
+ readonly input: z.ZodObject<{
2413
+ text: z.ZodString;
2414
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
2415
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
2416
+ contextToken: z.ZodString;
2417
+ app: z.ZodOptional<z.ZodString>;
2418
+ target: z.ZodObject<{
2419
+ kind: z.ZodLiteral<"context-window">;
2420
+ }, z.core.$strict>;
2421
+ }, z.core.$strict>;
2422
+ readonly output: z.ZodObject<{
2423
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
2424
+ state: z.ZodLiteral<"verified">;
2425
+ evidence: z.ZodOptional<z.ZodUnknown>;
2426
+ }, z.core.$strict>, z.ZodObject<{
2427
+ state: z.ZodLiteral<"indeterminate">;
2428
+ reason: z.ZodOptional<z.ZodString>;
2429
+ }, z.core.$strict>, z.ZodObject<{
2430
+ state: z.ZodLiteral<"failed">;
2431
+ error: z.ZodOptional<z.ZodObject<{
2432
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2433
+ message: z.ZodString;
2434
+ retry: z.ZodBoolean;
2435
+ remediation: z.ZodString;
2436
+ details: z.ZodOptional<z.ZodUnknown>;
2437
+ }, z.core.$strict>>;
2438
+ }, z.core.$strict>, z.ZodObject<{
2439
+ state: z.ZodLiteral<"not_attempted">;
2440
+ error: z.ZodOptional<z.ZodObject<{
2441
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2442
+ message: z.ZodString;
2443
+ retry: z.ZodBoolean;
2444
+ remediation: z.ZodString;
2445
+ details: z.ZodOptional<z.ZodUnknown>;
2446
+ }, z.core.$strict>>;
2447
+ }, z.core.$strict>], "state">;
2448
+ freshState: z.ZodOptional<z.ZodObject<{
2449
+ context: z.ZodObject<{
2450
+ brokerGeneration: z.ZodString;
2451
+ providerGeneration: z.ZodString;
2452
+ graphicalSessionId: z.ZodString;
2453
+ process: z.ZodObject<{
2454
+ pid: z.ZodNumber;
2455
+ startedAt: z.ZodISODateTime;
2456
+ executableId: z.ZodString;
2457
+ }, z.core.$strict>;
2458
+ appId: z.ZodString;
2459
+ window: z.ZodObject<{
2460
+ id: z.ZodString;
2461
+ ownerPid: z.ZodNumber;
2462
+ }, z.core.$strict>;
2463
+ snapshotId: z.ZodString;
2464
+ desktopEpoch: z.ZodNumber;
2465
+ token: z.ZodString;
2466
+ issuedAt: z.ZodISODateTime;
2467
+ expiresAt: z.ZodISODateTime;
2468
+ }, z.core.$strict>;
2469
+ snapshot: z.ZodObject<{
2470
+ id: z.ZodString;
2471
+ app: z.ZodObject<{
2472
+ id: z.ZodString;
2473
+ name: z.ZodString;
2474
+ bundleId: z.ZodNullable<z.ZodString>;
2475
+ pid: z.ZodNumber;
2476
+ isRunning: z.ZodBoolean;
2477
+ }, z.core.$strict>;
2478
+ window: z.ZodObject<{
2479
+ id: z.ZodString;
2480
+ appId: z.ZodString;
2481
+ title: z.ZodString;
2482
+ index: z.ZodNumber;
2483
+ bounds: z.ZodObject<{
2484
+ x: z.ZodNumber;
2485
+ y: z.ZodNumber;
2486
+ width: z.ZodNumber;
2487
+ height: z.ZodNumber;
2488
+ }, z.core.$strict>;
2489
+ minimized: z.ZodBoolean;
2490
+ }, z.core.$strict>;
2491
+ treeText: z.ZodString;
2492
+ elementCount: z.ZodNumber;
2493
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2494
+ desktopEpoch: z.ZodNumber;
2495
+ }, z.core.$strict>;
2496
+ screenshot: z.ZodNullable<z.ZodObject<{
2497
+ format: z.ZodLiteral<"png">;
2498
+ width: z.ZodNumber;
2499
+ height: z.ZodNumber;
2500
+ scale: z.ZodNumber;
2501
+ data: z.ZodOptional<z.ZodString>;
2502
+ path: z.ZodOptional<z.ZodString>;
2503
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2504
+ }, z.core.$strict>>;
2505
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2506
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2507
+ message: z.ZodString;
2508
+ retry: z.ZodBoolean;
2509
+ remediation: z.ZodString;
2510
+ details: z.ZodOptional<z.ZodUnknown>;
2511
+ }, z.core.$strict>>>;
2512
+ }, z.core.$strict>>;
2513
+ }, z.core.$strict>;
2514
+ };
2515
+ readonly pressKey: {
2516
+ readonly mutation: true;
2517
+ readonly input: z.ZodObject<{
2518
+ key: z.ZodString;
2519
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
2520
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
2521
+ contextToken: z.ZodString;
2522
+ app: z.ZodOptional<z.ZodString>;
2523
+ target: z.ZodObject<{
2524
+ kind: z.ZodLiteral<"context-window">;
2525
+ }, z.core.$strict>;
2526
+ }, z.core.$strict>;
2527
+ readonly output: z.ZodObject<{
2528
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
2529
+ state: z.ZodLiteral<"verified">;
2530
+ evidence: z.ZodOptional<z.ZodUnknown>;
2531
+ }, z.core.$strict>, z.ZodObject<{
2532
+ state: z.ZodLiteral<"indeterminate">;
2533
+ reason: z.ZodOptional<z.ZodString>;
2534
+ }, z.core.$strict>, z.ZodObject<{
2535
+ state: z.ZodLiteral<"failed">;
2536
+ error: z.ZodOptional<z.ZodObject<{
2537
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2538
+ message: z.ZodString;
2539
+ retry: z.ZodBoolean;
2540
+ remediation: z.ZodString;
2541
+ details: z.ZodOptional<z.ZodUnknown>;
2542
+ }, z.core.$strict>>;
2543
+ }, z.core.$strict>, z.ZodObject<{
2544
+ state: z.ZodLiteral<"not_attempted">;
2545
+ error: z.ZodOptional<z.ZodObject<{
2546
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2547
+ message: z.ZodString;
2548
+ retry: z.ZodBoolean;
2549
+ remediation: z.ZodString;
2550
+ details: z.ZodOptional<z.ZodUnknown>;
2551
+ }, z.core.$strict>>;
2552
+ }, z.core.$strict>], "state">;
2553
+ freshState: z.ZodOptional<z.ZodObject<{
2554
+ context: z.ZodObject<{
2555
+ brokerGeneration: z.ZodString;
2556
+ providerGeneration: z.ZodString;
2557
+ graphicalSessionId: z.ZodString;
2558
+ process: z.ZodObject<{
2559
+ pid: z.ZodNumber;
2560
+ startedAt: z.ZodISODateTime;
2561
+ executableId: z.ZodString;
2562
+ }, z.core.$strict>;
2563
+ appId: z.ZodString;
2564
+ window: z.ZodObject<{
2565
+ id: z.ZodString;
2566
+ ownerPid: z.ZodNumber;
2567
+ }, z.core.$strict>;
2568
+ snapshotId: z.ZodString;
2569
+ desktopEpoch: z.ZodNumber;
2570
+ token: z.ZodString;
2571
+ issuedAt: z.ZodISODateTime;
2572
+ expiresAt: z.ZodISODateTime;
2573
+ }, z.core.$strict>;
2574
+ snapshot: z.ZodObject<{
2575
+ id: z.ZodString;
2576
+ app: z.ZodObject<{
2577
+ id: z.ZodString;
2578
+ name: z.ZodString;
2579
+ bundleId: z.ZodNullable<z.ZodString>;
2580
+ pid: z.ZodNumber;
2581
+ isRunning: z.ZodBoolean;
2582
+ }, z.core.$strict>;
2583
+ window: z.ZodObject<{
2584
+ id: z.ZodString;
2585
+ appId: z.ZodString;
2586
+ title: z.ZodString;
2587
+ index: z.ZodNumber;
2588
+ bounds: z.ZodObject<{
2589
+ x: z.ZodNumber;
2590
+ y: z.ZodNumber;
2591
+ width: z.ZodNumber;
2592
+ height: z.ZodNumber;
2593
+ }, z.core.$strict>;
2594
+ minimized: z.ZodBoolean;
2595
+ }, z.core.$strict>;
2596
+ treeText: z.ZodString;
2597
+ elementCount: z.ZodNumber;
2598
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2599
+ desktopEpoch: z.ZodNumber;
2600
+ }, z.core.$strict>;
2601
+ screenshot: z.ZodNullable<z.ZodObject<{
2602
+ format: z.ZodLiteral<"png">;
2603
+ width: z.ZodNumber;
2604
+ height: z.ZodNumber;
2605
+ scale: z.ZodNumber;
2606
+ data: z.ZodOptional<z.ZodString>;
2607
+ path: z.ZodOptional<z.ZodString>;
2608
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2609
+ }, z.core.$strict>>;
2610
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2611
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2612
+ message: z.ZodString;
2613
+ retry: z.ZodBoolean;
2614
+ remediation: z.ZodString;
2615
+ details: z.ZodOptional<z.ZodUnknown>;
2616
+ }, z.core.$strict>>>;
2617
+ }, z.core.$strict>>;
2618
+ }, z.core.$strict>;
2619
+ };
2620
+ readonly hotkey: {
2621
+ readonly mutation: true;
2622
+ readonly input: z.ZodObject<{
2623
+ keys: z.ZodArray<z.ZodString>;
2624
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
2625
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
2626
+ contextToken: z.ZodString;
2627
+ app: z.ZodOptional<z.ZodString>;
2628
+ target: z.ZodObject<{
2629
+ kind: z.ZodLiteral<"context-window">;
2630
+ }, z.core.$strict>;
2631
+ }, z.core.$strict>;
2632
+ readonly output: z.ZodObject<{
2633
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
2634
+ state: z.ZodLiteral<"verified">;
2635
+ evidence: z.ZodOptional<z.ZodUnknown>;
2636
+ }, z.core.$strict>, z.ZodObject<{
2637
+ state: z.ZodLiteral<"indeterminate">;
2638
+ reason: z.ZodOptional<z.ZodString>;
2639
+ }, z.core.$strict>, z.ZodObject<{
2640
+ state: z.ZodLiteral<"failed">;
2641
+ error: z.ZodOptional<z.ZodObject<{
2642
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2643
+ message: z.ZodString;
2644
+ retry: z.ZodBoolean;
2645
+ remediation: z.ZodString;
2646
+ details: z.ZodOptional<z.ZodUnknown>;
2647
+ }, z.core.$strict>>;
2648
+ }, z.core.$strict>, z.ZodObject<{
2649
+ state: z.ZodLiteral<"not_attempted">;
2650
+ error: z.ZodOptional<z.ZodObject<{
2651
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2652
+ message: z.ZodString;
2653
+ retry: z.ZodBoolean;
2654
+ remediation: z.ZodString;
2655
+ details: z.ZodOptional<z.ZodUnknown>;
2656
+ }, z.core.$strict>>;
2657
+ }, z.core.$strict>], "state">;
2658
+ freshState: z.ZodOptional<z.ZodObject<{
2659
+ context: z.ZodObject<{
2660
+ brokerGeneration: z.ZodString;
2661
+ providerGeneration: z.ZodString;
2662
+ graphicalSessionId: z.ZodString;
2663
+ process: z.ZodObject<{
2664
+ pid: z.ZodNumber;
2665
+ startedAt: z.ZodISODateTime;
2666
+ executableId: z.ZodString;
2667
+ }, z.core.$strict>;
2668
+ appId: z.ZodString;
2669
+ window: z.ZodObject<{
2670
+ id: z.ZodString;
2671
+ ownerPid: z.ZodNumber;
2672
+ }, z.core.$strict>;
2673
+ snapshotId: z.ZodString;
2674
+ desktopEpoch: z.ZodNumber;
2675
+ token: z.ZodString;
2676
+ issuedAt: z.ZodISODateTime;
2677
+ expiresAt: z.ZodISODateTime;
2678
+ }, z.core.$strict>;
2679
+ snapshot: z.ZodObject<{
2680
+ id: z.ZodString;
2681
+ app: z.ZodObject<{
2682
+ id: z.ZodString;
2683
+ name: z.ZodString;
2684
+ bundleId: z.ZodNullable<z.ZodString>;
2685
+ pid: z.ZodNumber;
2686
+ isRunning: z.ZodBoolean;
2687
+ }, z.core.$strict>;
2688
+ window: z.ZodObject<{
2689
+ id: z.ZodString;
2690
+ appId: z.ZodString;
2691
+ title: z.ZodString;
2692
+ index: z.ZodNumber;
2693
+ bounds: z.ZodObject<{
2694
+ x: z.ZodNumber;
2695
+ y: z.ZodNumber;
2696
+ width: z.ZodNumber;
2697
+ height: z.ZodNumber;
2698
+ }, z.core.$strict>;
2699
+ minimized: z.ZodBoolean;
2700
+ }, z.core.$strict>;
2701
+ treeText: z.ZodString;
2702
+ elementCount: z.ZodNumber;
2703
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2704
+ desktopEpoch: z.ZodNumber;
2705
+ }, z.core.$strict>;
2706
+ screenshot: z.ZodNullable<z.ZodObject<{
2707
+ format: z.ZodLiteral<"png">;
2708
+ width: z.ZodNumber;
2709
+ height: z.ZodNumber;
2710
+ scale: z.ZodNumber;
2711
+ data: z.ZodOptional<z.ZodString>;
2712
+ path: z.ZodOptional<z.ZodString>;
2713
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2714
+ }, z.core.$strict>>;
2715
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2716
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2717
+ message: z.ZodString;
2718
+ retry: z.ZodBoolean;
2719
+ remediation: z.ZodString;
2720
+ details: z.ZodOptional<z.ZodUnknown>;
2721
+ }, z.core.$strict>>>;
2722
+ }, z.core.$strict>>;
2723
+ }, z.core.$strict>;
2724
+ };
2725
+ readonly pasteText: {
2726
+ readonly mutation: true;
2727
+ readonly input: z.ZodObject<{
2728
+ text: z.ZodString;
2729
+ captureScreenshot: z.ZodOptional<z.ZodBoolean>;
2730
+ restoreWindow: z.ZodOptional<z.ZodBoolean>;
2731
+ contextToken: z.ZodString;
2732
+ app: z.ZodOptional<z.ZodString>;
2733
+ target: z.ZodObject<{
2734
+ kind: z.ZodLiteral<"context-window">;
2735
+ }, z.core.$strict>;
2736
+ }, z.core.$strict>;
2737
+ readonly output: z.ZodObject<{
2738
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
2739
+ state: z.ZodLiteral<"verified">;
2740
+ evidence: z.ZodOptional<z.ZodUnknown>;
2741
+ }, z.core.$strict>, z.ZodObject<{
2742
+ state: z.ZodLiteral<"indeterminate">;
2743
+ reason: z.ZodOptional<z.ZodString>;
2744
+ }, z.core.$strict>, z.ZodObject<{
2745
+ state: z.ZodLiteral<"failed">;
2746
+ error: z.ZodOptional<z.ZodObject<{
2747
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2748
+ message: z.ZodString;
2749
+ retry: z.ZodBoolean;
2750
+ remediation: z.ZodString;
2751
+ details: z.ZodOptional<z.ZodUnknown>;
2752
+ }, z.core.$strict>>;
2753
+ }, z.core.$strict>, z.ZodObject<{
2754
+ state: z.ZodLiteral<"not_attempted">;
2755
+ error: z.ZodOptional<z.ZodObject<{
2756
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2757
+ message: z.ZodString;
2758
+ retry: z.ZodBoolean;
2759
+ remediation: z.ZodString;
2760
+ details: z.ZodOptional<z.ZodUnknown>;
2761
+ }, z.core.$strict>>;
2762
+ }, z.core.$strict>], "state">;
2763
+ freshState: z.ZodOptional<z.ZodObject<{
2764
+ context: z.ZodObject<{
2765
+ brokerGeneration: z.ZodString;
2766
+ providerGeneration: z.ZodString;
2767
+ graphicalSessionId: z.ZodString;
2768
+ process: z.ZodObject<{
2769
+ pid: z.ZodNumber;
2770
+ startedAt: z.ZodISODateTime;
2771
+ executableId: z.ZodString;
2772
+ }, z.core.$strict>;
2773
+ appId: z.ZodString;
2774
+ window: z.ZodObject<{
2775
+ id: z.ZodString;
2776
+ ownerPid: z.ZodNumber;
2777
+ }, z.core.$strict>;
2778
+ snapshotId: z.ZodString;
2779
+ desktopEpoch: z.ZodNumber;
2780
+ token: z.ZodString;
2781
+ issuedAt: z.ZodISODateTime;
2782
+ expiresAt: z.ZodISODateTime;
2783
+ }, z.core.$strict>;
2784
+ snapshot: z.ZodObject<{
2785
+ id: z.ZodString;
2786
+ app: z.ZodObject<{
2787
+ id: z.ZodString;
2788
+ name: z.ZodString;
2789
+ bundleId: z.ZodNullable<z.ZodString>;
2790
+ pid: z.ZodNumber;
2791
+ isRunning: z.ZodBoolean;
2792
+ }, z.core.$strict>;
2793
+ window: z.ZodObject<{
2794
+ id: z.ZodString;
2795
+ appId: z.ZodString;
2796
+ title: z.ZodString;
2797
+ index: z.ZodNumber;
2798
+ bounds: z.ZodObject<{
2799
+ x: z.ZodNumber;
2800
+ y: z.ZodNumber;
2801
+ width: z.ZodNumber;
2802
+ height: z.ZodNumber;
2803
+ }, z.core.$strict>;
2804
+ minimized: z.ZodBoolean;
2805
+ }, z.core.$strict>;
2806
+ treeText: z.ZodString;
2807
+ elementCount: z.ZodNumber;
2808
+ focusedElementRef: z.ZodNullable<z.ZodString>;
2809
+ desktopEpoch: z.ZodNumber;
2810
+ }, z.core.$strict>;
2811
+ screenshot: z.ZodNullable<z.ZodObject<{
2812
+ format: z.ZodLiteral<"png">;
2813
+ width: z.ZodNumber;
2814
+ height: z.ZodNumber;
2815
+ scale: z.ZodNumber;
2816
+ data: z.ZodOptional<z.ZodString>;
2817
+ path: z.ZodOptional<z.ZodString>;
2818
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
2819
+ }, z.core.$strict>>;
2820
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2821
+ code: z.ZodEnum<Record<"app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error", "app_not_found" | "app_unavailable" | "app_blocked" | "window_not_found" | "window_unavailable" | "window_not_focused" | "permission_denied" | "stale_target" | "element_not_found" | "element_not_clickable" | "action_not_supported" | "value_not_settable" | "invalid_argument" | "timeout" | "unsupported_capability" | "provider_unavailable" | "provider_crashed" | "version_incompatible" | "interaction_context_invalid" | "interaction_context_expired" | "session_unavailable" | "screenshot_failed" | "accessibility_error">>;
2822
+ message: z.ZodString;
2823
+ retry: z.ZodBoolean;
2824
+ remediation: z.ZodString;
2825
+ details: z.ZodOptional<z.ZodUnknown>;
2826
+ }, z.core.$strict>>>;
2827
+ }, z.core.$strict>>;
2828
+ }, z.core.$strict>;
2829
+ };
2830
+ };
2831
+ export declare function parseOperationInput<K extends ComputerOperationName>(operation: K, input: unknown): BrokerOperationInput<K>;
2832
+ export declare function parseOperationOutput(operation: ComputerOperationName, output: unknown): unknown;
2833
+ export declare function hasIntentTarget(input: unknown): boolean;
2834
+ export declare function parsePublicInput<K extends ComputerOperationName>(operation: K, input: unknown): PublicOperationInput<K>;
2835
+ export declare function parsePublicOutput(operation: ComputerOperationName, output: unknown): unknown;
2836
+ export declare function splitPublicInput<T extends object>(input: T): {
2837
+ goal: string | undefined;
2838
+ rest: Omit<T, 'goal'>;
2839
+ };
2840
+ export declare function toBrokerInput<K extends ComputerOperationName>(operation: K, publicInput: object): BrokerOperationInput<K>;
2106
2841
  export declare const ScreenshotOutputSchema: z.ZodObject<{
2107
2842
  format: z.ZodLiteral<"png">;
2108
2843
  width: z.ZodNumber;