@crosshands/contract 0.1.6 → 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.
@@ -81,7 +81,7 @@ export declare const COMPUTER_OPERATIONS: {
81
81
  };
82
82
  readonly getAppState: {
83
83
  readonly mutation: false;
84
- readonly input: z.ZodObject<{
84
+ readonly input: z.ZodUnion<readonly [z.ZodObject<{
85
85
  captureScreenshot: z.ZodOptional<z.ZodBoolean>;
86
86
  restoreWindow: z.ZodOptional<z.ZodBoolean>;
87
87
  app: z.ZodString;
@@ -90,7 +90,11 @@ export declare const COMPUTER_OPERATIONS: {
90
90
  }, z.core.$strict>, z.ZodObject<{
91
91
  index: z.ZodNumber;
92
92
  }, z.core.$strict>]>>;
93
- }, 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>]>;
94
98
  readonly output: z.ZodObject<{
95
99
  context: z.ZodObject<{
96
100
  brokerGeneration: z.ZodString;
@@ -149,31 +153,7 @@ export declare const COMPUTER_OPERATIONS: {
149
153
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
150
154
  }, z.core.$strict>>;
151
155
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
152
- code: z.ZodEnum<{
153
- app_not_found: "app_not_found";
154
- app_unavailable: "app_unavailable";
155
- app_blocked: "app_blocked";
156
- window_not_found: "window_not_found";
157
- window_unavailable: "window_unavailable";
158
- window_not_focused: "window_not_focused";
159
- permission_denied: "permission_denied";
160
- stale_target: "stale_target";
161
- element_not_found: "element_not_found";
162
- element_not_clickable: "element_not_clickable";
163
- action_not_supported: "action_not_supported";
164
- value_not_settable: "value_not_settable";
165
- invalid_argument: "invalid_argument";
166
- timeout: "timeout";
167
- unsupported_capability: "unsupported_capability";
168
- provider_unavailable: "provider_unavailable";
169
- provider_crashed: "provider_crashed";
170
- version_incompatible: "version_incompatible";
171
- interaction_context_invalid: "interaction_context_invalid";
172
- interaction_context_expired: "interaction_context_expired";
173
- session_unavailable: "session_unavailable";
174
- screenshot_failed: "screenshot_failed";
175
- accessibility_error: "accessibility_error";
176
- }>;
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">>;
177
157
  message: z.ZodString;
178
158
  retry: z.ZodBoolean;
179
159
  remediation: z.ZodString;
@@ -293,31 +273,7 @@ export declare const COMPUTER_OPERATIONS: {
293
273
  }, z.core.$strict>, z.ZodObject<{
294
274
  state: z.ZodLiteral<"failed">;
295
275
  error: z.ZodOptional<z.ZodObject<{
296
- code: z.ZodEnum<{
297
- app_not_found: "app_not_found";
298
- app_unavailable: "app_unavailable";
299
- app_blocked: "app_blocked";
300
- window_not_found: "window_not_found";
301
- window_unavailable: "window_unavailable";
302
- window_not_focused: "window_not_focused";
303
- permission_denied: "permission_denied";
304
- stale_target: "stale_target";
305
- element_not_found: "element_not_found";
306
- element_not_clickable: "element_not_clickable";
307
- action_not_supported: "action_not_supported";
308
- value_not_settable: "value_not_settable";
309
- invalid_argument: "invalid_argument";
310
- timeout: "timeout";
311
- unsupported_capability: "unsupported_capability";
312
- provider_unavailable: "provider_unavailable";
313
- provider_crashed: "provider_crashed";
314
- version_incompatible: "version_incompatible";
315
- interaction_context_invalid: "interaction_context_invalid";
316
- interaction_context_expired: "interaction_context_expired";
317
- session_unavailable: "session_unavailable";
318
- screenshot_failed: "screenshot_failed";
319
- accessibility_error: "accessibility_error";
320
- }>;
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">>;
321
277
  message: z.ZodString;
322
278
  retry: z.ZodBoolean;
323
279
  remediation: z.ZodString;
@@ -326,31 +282,7 @@ export declare const COMPUTER_OPERATIONS: {
326
282
  }, z.core.$strict>, z.ZodObject<{
327
283
  state: z.ZodLiteral<"not_attempted">;
328
284
  error: z.ZodOptional<z.ZodObject<{
329
- code: z.ZodEnum<{
330
- app_not_found: "app_not_found";
331
- app_unavailable: "app_unavailable";
332
- app_blocked: "app_blocked";
333
- window_not_found: "window_not_found";
334
- window_unavailable: "window_unavailable";
335
- window_not_focused: "window_not_focused";
336
- permission_denied: "permission_denied";
337
- stale_target: "stale_target";
338
- element_not_found: "element_not_found";
339
- element_not_clickable: "element_not_clickable";
340
- action_not_supported: "action_not_supported";
341
- value_not_settable: "value_not_settable";
342
- invalid_argument: "invalid_argument";
343
- timeout: "timeout";
344
- unsupported_capability: "unsupported_capability";
345
- provider_unavailable: "provider_unavailable";
346
- provider_crashed: "provider_crashed";
347
- version_incompatible: "version_incompatible";
348
- interaction_context_invalid: "interaction_context_invalid";
349
- interaction_context_expired: "interaction_context_expired";
350
- session_unavailable: "session_unavailable";
351
- screenshot_failed: "screenshot_failed";
352
- accessibility_error: "accessibility_error";
353
- }>;
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">>;
354
286
  message: z.ZodString;
355
287
  retry: z.ZodBoolean;
356
288
  remediation: z.ZodString;
@@ -415,31 +347,7 @@ export declare const COMPUTER_OPERATIONS: {
415
347
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
416
348
  }, z.core.$strict>>;
417
349
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
418
- code: z.ZodEnum<{
419
- app_not_found: "app_not_found";
420
- app_unavailable: "app_unavailable";
421
- app_blocked: "app_blocked";
422
- window_not_found: "window_not_found";
423
- window_unavailable: "window_unavailable";
424
- window_not_focused: "window_not_focused";
425
- permission_denied: "permission_denied";
426
- stale_target: "stale_target";
427
- element_not_found: "element_not_found";
428
- element_not_clickable: "element_not_clickable";
429
- action_not_supported: "action_not_supported";
430
- value_not_settable: "value_not_settable";
431
- invalid_argument: "invalid_argument";
432
- timeout: "timeout";
433
- unsupported_capability: "unsupported_capability";
434
- provider_unavailable: "provider_unavailable";
435
- provider_crashed: "provider_crashed";
436
- version_incompatible: "version_incompatible";
437
- interaction_context_invalid: "interaction_context_invalid";
438
- interaction_context_expired: "interaction_context_expired";
439
- session_unavailable: "session_unavailable";
440
- screenshot_failed: "screenshot_failed";
441
- accessibility_error: "accessibility_error";
442
- }>;
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">>;
443
351
  message: z.ZodString;
444
352
  retry: z.ZodBoolean;
445
353
  remediation: z.ZodString;
@@ -498,31 +406,7 @@ export declare const COMPUTER_OPERATIONS: {
498
406
  }, z.core.$strict>, z.ZodObject<{
499
407
  state: z.ZodLiteral<"failed">;
500
408
  error: z.ZodOptional<z.ZodObject<{
501
- code: z.ZodEnum<{
502
- app_not_found: "app_not_found";
503
- app_unavailable: "app_unavailable";
504
- app_blocked: "app_blocked";
505
- window_not_found: "window_not_found";
506
- window_unavailable: "window_unavailable";
507
- window_not_focused: "window_not_focused";
508
- permission_denied: "permission_denied";
509
- stale_target: "stale_target";
510
- element_not_found: "element_not_found";
511
- element_not_clickable: "element_not_clickable";
512
- action_not_supported: "action_not_supported";
513
- value_not_settable: "value_not_settable";
514
- invalid_argument: "invalid_argument";
515
- timeout: "timeout";
516
- unsupported_capability: "unsupported_capability";
517
- provider_unavailable: "provider_unavailable";
518
- provider_crashed: "provider_crashed";
519
- version_incompatible: "version_incompatible";
520
- interaction_context_invalid: "interaction_context_invalid";
521
- interaction_context_expired: "interaction_context_expired";
522
- session_unavailable: "session_unavailable";
523
- screenshot_failed: "screenshot_failed";
524
- accessibility_error: "accessibility_error";
525
- }>;
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">>;
526
410
  message: z.ZodString;
527
411
  retry: z.ZodBoolean;
528
412
  remediation: z.ZodString;
@@ -531,31 +415,7 @@ export declare const COMPUTER_OPERATIONS: {
531
415
  }, z.core.$strict>, z.ZodObject<{
532
416
  state: z.ZodLiteral<"not_attempted">;
533
417
  error: z.ZodOptional<z.ZodObject<{
534
- code: z.ZodEnum<{
535
- app_not_found: "app_not_found";
536
- app_unavailable: "app_unavailable";
537
- app_blocked: "app_blocked";
538
- window_not_found: "window_not_found";
539
- window_unavailable: "window_unavailable";
540
- window_not_focused: "window_not_focused";
541
- permission_denied: "permission_denied";
542
- stale_target: "stale_target";
543
- element_not_found: "element_not_found";
544
- element_not_clickable: "element_not_clickable";
545
- action_not_supported: "action_not_supported";
546
- value_not_settable: "value_not_settable";
547
- invalid_argument: "invalid_argument";
548
- timeout: "timeout";
549
- unsupported_capability: "unsupported_capability";
550
- provider_unavailable: "provider_unavailable";
551
- provider_crashed: "provider_crashed";
552
- version_incompatible: "version_incompatible";
553
- interaction_context_invalid: "interaction_context_invalid";
554
- interaction_context_expired: "interaction_context_expired";
555
- session_unavailable: "session_unavailable";
556
- screenshot_failed: "screenshot_failed";
557
- accessibility_error: "accessibility_error";
558
- }>;
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">>;
559
419
  message: z.ZodString;
560
420
  retry: z.ZodBoolean;
561
421
  remediation: z.ZodString;
@@ -620,31 +480,7 @@ export declare const COMPUTER_OPERATIONS: {
620
480
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
621
481
  }, z.core.$strict>>;
622
482
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
623
- code: z.ZodEnum<{
624
- app_not_found: "app_not_found";
625
- app_unavailable: "app_unavailable";
626
- app_blocked: "app_blocked";
627
- window_not_found: "window_not_found";
628
- window_unavailable: "window_unavailable";
629
- window_not_focused: "window_not_focused";
630
- permission_denied: "permission_denied";
631
- stale_target: "stale_target";
632
- element_not_found: "element_not_found";
633
- element_not_clickable: "element_not_clickable";
634
- action_not_supported: "action_not_supported";
635
- value_not_settable: "value_not_settable";
636
- invalid_argument: "invalid_argument";
637
- timeout: "timeout";
638
- unsupported_capability: "unsupported_capability";
639
- provider_unavailable: "provider_unavailable";
640
- provider_crashed: "provider_crashed";
641
- version_incompatible: "version_incompatible";
642
- interaction_context_invalid: "interaction_context_invalid";
643
- interaction_context_expired: "interaction_context_expired";
644
- session_unavailable: "session_unavailable";
645
- screenshot_failed: "screenshot_failed";
646
- accessibility_error: "accessibility_error";
647
- }>;
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">>;
648
484
  message: z.ZodString;
649
485
  retry: z.ZodBoolean;
650
486
  remediation: z.ZodString;
@@ -723,10 +559,10 @@ export declare const COMPUTER_OPERATIONS: {
723
559
  kind: z.ZodLiteral<"context-window">;
724
560
  }, z.core.$strict>]>;
725
561
  direction: z.ZodEnum<{
726
- left: "left";
727
- right: "right";
728
562
  up: "up";
729
563
  down: "down";
564
+ left: "left";
565
+ right: "right";
730
566
  }>;
731
567
  pages: z.ZodOptional<z.ZodNumber>;
732
568
  }, z.core.$strict>;
@@ -740,31 +576,7 @@ export declare const COMPUTER_OPERATIONS: {
740
576
  }, z.core.$strict>, z.ZodObject<{
741
577
  state: z.ZodLiteral<"failed">;
742
578
  error: z.ZodOptional<z.ZodObject<{
743
- code: z.ZodEnum<{
744
- app_not_found: "app_not_found";
745
- app_unavailable: "app_unavailable";
746
- app_blocked: "app_blocked";
747
- window_not_found: "window_not_found";
748
- window_unavailable: "window_unavailable";
749
- window_not_focused: "window_not_focused";
750
- permission_denied: "permission_denied";
751
- stale_target: "stale_target";
752
- element_not_found: "element_not_found";
753
- element_not_clickable: "element_not_clickable";
754
- action_not_supported: "action_not_supported";
755
- value_not_settable: "value_not_settable";
756
- invalid_argument: "invalid_argument";
757
- timeout: "timeout";
758
- unsupported_capability: "unsupported_capability";
759
- provider_unavailable: "provider_unavailable";
760
- provider_crashed: "provider_crashed";
761
- version_incompatible: "version_incompatible";
762
- interaction_context_invalid: "interaction_context_invalid";
763
- interaction_context_expired: "interaction_context_expired";
764
- session_unavailable: "session_unavailable";
765
- screenshot_failed: "screenshot_failed";
766
- accessibility_error: "accessibility_error";
767
- }>;
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">>;
768
580
  message: z.ZodString;
769
581
  retry: z.ZodBoolean;
770
582
  remediation: z.ZodString;
@@ -773,31 +585,7 @@ export declare const COMPUTER_OPERATIONS: {
773
585
  }, z.core.$strict>, z.ZodObject<{
774
586
  state: z.ZodLiteral<"not_attempted">;
775
587
  error: z.ZodOptional<z.ZodObject<{
776
- code: z.ZodEnum<{
777
- app_not_found: "app_not_found";
778
- app_unavailable: "app_unavailable";
779
- app_blocked: "app_blocked";
780
- window_not_found: "window_not_found";
781
- window_unavailable: "window_unavailable";
782
- window_not_focused: "window_not_focused";
783
- permission_denied: "permission_denied";
784
- stale_target: "stale_target";
785
- element_not_found: "element_not_found";
786
- element_not_clickable: "element_not_clickable";
787
- action_not_supported: "action_not_supported";
788
- value_not_settable: "value_not_settable";
789
- invalid_argument: "invalid_argument";
790
- timeout: "timeout";
791
- unsupported_capability: "unsupported_capability";
792
- provider_unavailable: "provider_unavailable";
793
- provider_crashed: "provider_crashed";
794
- version_incompatible: "version_incompatible";
795
- interaction_context_invalid: "interaction_context_invalid";
796
- interaction_context_expired: "interaction_context_expired";
797
- session_unavailable: "session_unavailable";
798
- screenshot_failed: "screenshot_failed";
799
- accessibility_error: "accessibility_error";
800
- }>;
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">>;
801
589
  message: z.ZodString;
802
590
  retry: z.ZodBoolean;
803
591
  remediation: z.ZodString;
@@ -862,31 +650,7 @@ export declare const COMPUTER_OPERATIONS: {
862
650
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
863
651
  }, z.core.$strict>>;
864
652
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
865
- code: z.ZodEnum<{
866
- app_not_found: "app_not_found";
867
- app_unavailable: "app_unavailable";
868
- app_blocked: "app_blocked";
869
- window_not_found: "window_not_found";
870
- window_unavailable: "window_unavailable";
871
- window_not_focused: "window_not_focused";
872
- permission_denied: "permission_denied";
873
- stale_target: "stale_target";
874
- element_not_found: "element_not_found";
875
- element_not_clickable: "element_not_clickable";
876
- action_not_supported: "action_not_supported";
877
- value_not_settable: "value_not_settable";
878
- invalid_argument: "invalid_argument";
879
- timeout: "timeout";
880
- unsupported_capability: "unsupported_capability";
881
- provider_unavailable: "provider_unavailable";
882
- provider_crashed: "provider_crashed";
883
- version_incompatible: "version_incompatible";
884
- interaction_context_invalid: "interaction_context_invalid";
885
- interaction_context_expired: "interaction_context_expired";
886
- session_unavailable: "session_unavailable";
887
- screenshot_failed: "screenshot_failed";
888
- accessibility_error: "accessibility_error";
889
- }>;
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">>;
890
654
  message: z.ZodString;
891
655
  retry: z.ZodBoolean;
892
656
  remediation: z.ZodString;
@@ -1038,31 +802,7 @@ export declare const COMPUTER_OPERATIONS: {
1038
802
  }, z.core.$strict>, z.ZodObject<{
1039
803
  state: z.ZodLiteral<"failed">;
1040
804
  error: z.ZodOptional<z.ZodObject<{
1041
- code: z.ZodEnum<{
1042
- app_not_found: "app_not_found";
1043
- app_unavailable: "app_unavailable";
1044
- app_blocked: "app_blocked";
1045
- window_not_found: "window_not_found";
1046
- window_unavailable: "window_unavailable";
1047
- window_not_focused: "window_not_focused";
1048
- permission_denied: "permission_denied";
1049
- stale_target: "stale_target";
1050
- element_not_found: "element_not_found";
1051
- element_not_clickable: "element_not_clickable";
1052
- action_not_supported: "action_not_supported";
1053
- value_not_settable: "value_not_settable";
1054
- invalid_argument: "invalid_argument";
1055
- timeout: "timeout";
1056
- unsupported_capability: "unsupported_capability";
1057
- provider_unavailable: "provider_unavailable";
1058
- provider_crashed: "provider_crashed";
1059
- version_incompatible: "version_incompatible";
1060
- interaction_context_invalid: "interaction_context_invalid";
1061
- interaction_context_expired: "interaction_context_expired";
1062
- session_unavailable: "session_unavailable";
1063
- screenshot_failed: "screenshot_failed";
1064
- accessibility_error: "accessibility_error";
1065
- }>;
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">>;
1066
806
  message: z.ZodString;
1067
807
  retry: z.ZodBoolean;
1068
808
  remediation: z.ZodString;
@@ -1071,31 +811,7 @@ export declare const COMPUTER_OPERATIONS: {
1071
811
  }, z.core.$strict>, z.ZodObject<{
1072
812
  state: z.ZodLiteral<"not_attempted">;
1073
813
  error: z.ZodOptional<z.ZodObject<{
1074
- code: z.ZodEnum<{
1075
- app_not_found: "app_not_found";
1076
- app_unavailable: "app_unavailable";
1077
- app_blocked: "app_blocked";
1078
- window_not_found: "window_not_found";
1079
- window_unavailable: "window_unavailable";
1080
- window_not_focused: "window_not_focused";
1081
- permission_denied: "permission_denied";
1082
- stale_target: "stale_target";
1083
- element_not_found: "element_not_found";
1084
- element_not_clickable: "element_not_clickable";
1085
- action_not_supported: "action_not_supported";
1086
- value_not_settable: "value_not_settable";
1087
- invalid_argument: "invalid_argument";
1088
- timeout: "timeout";
1089
- unsupported_capability: "unsupported_capability";
1090
- provider_unavailable: "provider_unavailable";
1091
- provider_crashed: "provider_crashed";
1092
- version_incompatible: "version_incompatible";
1093
- interaction_context_invalid: "interaction_context_invalid";
1094
- interaction_context_expired: "interaction_context_expired";
1095
- session_unavailable: "session_unavailable";
1096
- screenshot_failed: "screenshot_failed";
1097
- accessibility_error: "accessibility_error";
1098
- }>;
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">>;
1099
815
  message: z.ZodString;
1100
816
  retry: z.ZodBoolean;
1101
817
  remediation: z.ZodString;
@@ -1160,31 +876,7 @@ export declare const COMPUTER_OPERATIONS: {
1160
876
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1161
877
  }, z.core.$strict>>;
1162
878
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1163
- code: z.ZodEnum<{
1164
- app_not_found: "app_not_found";
1165
- app_unavailable: "app_unavailable";
1166
- app_blocked: "app_blocked";
1167
- window_not_found: "window_not_found";
1168
- window_unavailable: "window_unavailable";
1169
- window_not_focused: "window_not_focused";
1170
- permission_denied: "permission_denied";
1171
- stale_target: "stale_target";
1172
- element_not_found: "element_not_found";
1173
- element_not_clickable: "element_not_clickable";
1174
- action_not_supported: "action_not_supported";
1175
- value_not_settable: "value_not_settable";
1176
- invalid_argument: "invalid_argument";
1177
- timeout: "timeout";
1178
- unsupported_capability: "unsupported_capability";
1179
- provider_unavailable: "provider_unavailable";
1180
- provider_crashed: "provider_crashed";
1181
- version_incompatible: "version_incompatible";
1182
- interaction_context_invalid: "interaction_context_invalid";
1183
- interaction_context_expired: "interaction_context_expired";
1184
- session_unavailable: "session_unavailable";
1185
- screenshot_failed: "screenshot_failed";
1186
- accessibility_error: "accessibility_error";
1187
- }>;
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">>;
1188
880
  message: z.ZodString;
1189
881
  retry: z.ZodBoolean;
1190
882
  remediation: z.ZodString;
@@ -1215,31 +907,7 @@ export declare const COMPUTER_OPERATIONS: {
1215
907
  }, z.core.$strict>, z.ZodObject<{
1216
908
  state: z.ZodLiteral<"failed">;
1217
909
  error: z.ZodOptional<z.ZodObject<{
1218
- code: z.ZodEnum<{
1219
- app_not_found: "app_not_found";
1220
- app_unavailable: "app_unavailable";
1221
- app_blocked: "app_blocked";
1222
- window_not_found: "window_not_found";
1223
- window_unavailable: "window_unavailable";
1224
- window_not_focused: "window_not_focused";
1225
- permission_denied: "permission_denied";
1226
- stale_target: "stale_target";
1227
- element_not_found: "element_not_found";
1228
- element_not_clickable: "element_not_clickable";
1229
- action_not_supported: "action_not_supported";
1230
- value_not_settable: "value_not_settable";
1231
- invalid_argument: "invalid_argument";
1232
- timeout: "timeout";
1233
- unsupported_capability: "unsupported_capability";
1234
- provider_unavailable: "provider_unavailable";
1235
- provider_crashed: "provider_crashed";
1236
- version_incompatible: "version_incompatible";
1237
- interaction_context_invalid: "interaction_context_invalid";
1238
- interaction_context_expired: "interaction_context_expired";
1239
- session_unavailable: "session_unavailable";
1240
- screenshot_failed: "screenshot_failed";
1241
- accessibility_error: "accessibility_error";
1242
- }>;
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">>;
1243
911
  message: z.ZodString;
1244
912
  retry: z.ZodBoolean;
1245
913
  remediation: z.ZodString;
@@ -1248,31 +916,7 @@ export declare const COMPUTER_OPERATIONS: {
1248
916
  }, z.core.$strict>, z.ZodObject<{
1249
917
  state: z.ZodLiteral<"not_attempted">;
1250
918
  error: z.ZodOptional<z.ZodObject<{
1251
- code: z.ZodEnum<{
1252
- app_not_found: "app_not_found";
1253
- app_unavailable: "app_unavailable";
1254
- app_blocked: "app_blocked";
1255
- window_not_found: "window_not_found";
1256
- window_unavailable: "window_unavailable";
1257
- window_not_focused: "window_not_focused";
1258
- permission_denied: "permission_denied";
1259
- stale_target: "stale_target";
1260
- element_not_found: "element_not_found";
1261
- element_not_clickable: "element_not_clickable";
1262
- action_not_supported: "action_not_supported";
1263
- value_not_settable: "value_not_settable";
1264
- invalid_argument: "invalid_argument";
1265
- timeout: "timeout";
1266
- unsupported_capability: "unsupported_capability";
1267
- provider_unavailable: "provider_unavailable";
1268
- provider_crashed: "provider_crashed";
1269
- version_incompatible: "version_incompatible";
1270
- interaction_context_invalid: "interaction_context_invalid";
1271
- interaction_context_expired: "interaction_context_expired";
1272
- session_unavailable: "session_unavailable";
1273
- screenshot_failed: "screenshot_failed";
1274
- accessibility_error: "accessibility_error";
1275
- }>;
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">>;
1276
920
  message: z.ZodString;
1277
921
  retry: z.ZodBoolean;
1278
922
  remediation: z.ZodString;
@@ -1337,31 +981,7 @@ export declare const COMPUTER_OPERATIONS: {
1337
981
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1338
982
  }, z.core.$strict>>;
1339
983
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1340
- code: z.ZodEnum<{
1341
- app_not_found: "app_not_found";
1342
- app_unavailable: "app_unavailable";
1343
- app_blocked: "app_blocked";
1344
- window_not_found: "window_not_found";
1345
- window_unavailable: "window_unavailable";
1346
- window_not_focused: "window_not_focused";
1347
- permission_denied: "permission_denied";
1348
- stale_target: "stale_target";
1349
- element_not_found: "element_not_found";
1350
- element_not_clickable: "element_not_clickable";
1351
- action_not_supported: "action_not_supported";
1352
- value_not_settable: "value_not_settable";
1353
- invalid_argument: "invalid_argument";
1354
- timeout: "timeout";
1355
- unsupported_capability: "unsupported_capability";
1356
- provider_unavailable: "provider_unavailable";
1357
- provider_crashed: "provider_crashed";
1358
- version_incompatible: "version_incompatible";
1359
- interaction_context_invalid: "interaction_context_invalid";
1360
- interaction_context_expired: "interaction_context_expired";
1361
- session_unavailable: "session_unavailable";
1362
- screenshot_failed: "screenshot_failed";
1363
- accessibility_error: "accessibility_error";
1364
- }>;
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">>;
1365
985
  message: z.ZodString;
1366
986
  retry: z.ZodBoolean;
1367
987
  remediation: z.ZodString;
@@ -1392,31 +1012,7 @@ export declare const COMPUTER_OPERATIONS: {
1392
1012
  }, z.core.$strict>, z.ZodObject<{
1393
1013
  state: z.ZodLiteral<"failed">;
1394
1014
  error: z.ZodOptional<z.ZodObject<{
1395
- code: z.ZodEnum<{
1396
- app_not_found: "app_not_found";
1397
- app_unavailable: "app_unavailable";
1398
- app_blocked: "app_blocked";
1399
- window_not_found: "window_not_found";
1400
- window_unavailable: "window_unavailable";
1401
- window_not_focused: "window_not_focused";
1402
- permission_denied: "permission_denied";
1403
- stale_target: "stale_target";
1404
- element_not_found: "element_not_found";
1405
- element_not_clickable: "element_not_clickable";
1406
- action_not_supported: "action_not_supported";
1407
- value_not_settable: "value_not_settable";
1408
- invalid_argument: "invalid_argument";
1409
- timeout: "timeout";
1410
- unsupported_capability: "unsupported_capability";
1411
- provider_unavailable: "provider_unavailable";
1412
- provider_crashed: "provider_crashed";
1413
- version_incompatible: "version_incompatible";
1414
- interaction_context_invalid: "interaction_context_invalid";
1415
- interaction_context_expired: "interaction_context_expired";
1416
- session_unavailable: "session_unavailable";
1417
- screenshot_failed: "screenshot_failed";
1418
- accessibility_error: "accessibility_error";
1419
- }>;
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">>;
1420
1016
  message: z.ZodString;
1421
1017
  retry: z.ZodBoolean;
1422
1018
  remediation: z.ZodString;
@@ -1425,31 +1021,7 @@ export declare const COMPUTER_OPERATIONS: {
1425
1021
  }, z.core.$strict>, z.ZodObject<{
1426
1022
  state: z.ZodLiteral<"not_attempted">;
1427
1023
  error: z.ZodOptional<z.ZodObject<{
1428
- code: z.ZodEnum<{
1429
- app_not_found: "app_not_found";
1430
- app_unavailable: "app_unavailable";
1431
- app_blocked: "app_blocked";
1432
- window_not_found: "window_not_found";
1433
- window_unavailable: "window_unavailable";
1434
- window_not_focused: "window_not_focused";
1435
- permission_denied: "permission_denied";
1436
- stale_target: "stale_target";
1437
- element_not_found: "element_not_found";
1438
- element_not_clickable: "element_not_clickable";
1439
- action_not_supported: "action_not_supported";
1440
- value_not_settable: "value_not_settable";
1441
- invalid_argument: "invalid_argument";
1442
- timeout: "timeout";
1443
- unsupported_capability: "unsupported_capability";
1444
- provider_unavailable: "provider_unavailable";
1445
- provider_crashed: "provider_crashed";
1446
- version_incompatible: "version_incompatible";
1447
- interaction_context_invalid: "interaction_context_invalid";
1448
- interaction_context_expired: "interaction_context_expired";
1449
- session_unavailable: "session_unavailable";
1450
- screenshot_failed: "screenshot_failed";
1451
- accessibility_error: "accessibility_error";
1452
- }>;
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">>;
1453
1025
  message: z.ZodString;
1454
1026
  retry: z.ZodBoolean;
1455
1027
  remediation: z.ZodString;
@@ -1514,31 +1086,7 @@ export declare const COMPUTER_OPERATIONS: {
1514
1086
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1515
1087
  }, z.core.$strict>>;
1516
1088
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1517
- code: z.ZodEnum<{
1518
- app_not_found: "app_not_found";
1519
- app_unavailable: "app_unavailable";
1520
- app_blocked: "app_blocked";
1521
- window_not_found: "window_not_found";
1522
- window_unavailable: "window_unavailable";
1523
- window_not_focused: "window_not_focused";
1524
- permission_denied: "permission_denied";
1525
- stale_target: "stale_target";
1526
- element_not_found: "element_not_found";
1527
- element_not_clickable: "element_not_clickable";
1528
- action_not_supported: "action_not_supported";
1529
- value_not_settable: "value_not_settable";
1530
- invalid_argument: "invalid_argument";
1531
- timeout: "timeout";
1532
- unsupported_capability: "unsupported_capability";
1533
- provider_unavailable: "provider_unavailable";
1534
- provider_crashed: "provider_crashed";
1535
- version_incompatible: "version_incompatible";
1536
- interaction_context_invalid: "interaction_context_invalid";
1537
- interaction_context_expired: "interaction_context_expired";
1538
- session_unavailable: "session_unavailable";
1539
- screenshot_failed: "screenshot_failed";
1540
- accessibility_error: "accessibility_error";
1541
- }>;
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">>;
1542
1090
  message: z.ZodString;
1543
1091
  retry: z.ZodBoolean;
1544
1092
  remediation: z.ZodString;
@@ -1569,31 +1117,7 @@ export declare const COMPUTER_OPERATIONS: {
1569
1117
  }, z.core.$strict>, z.ZodObject<{
1570
1118
  state: z.ZodLiteral<"failed">;
1571
1119
  error: z.ZodOptional<z.ZodObject<{
1572
- code: z.ZodEnum<{
1573
- app_not_found: "app_not_found";
1574
- app_unavailable: "app_unavailable";
1575
- app_blocked: "app_blocked";
1576
- window_not_found: "window_not_found";
1577
- window_unavailable: "window_unavailable";
1578
- window_not_focused: "window_not_focused";
1579
- permission_denied: "permission_denied";
1580
- stale_target: "stale_target";
1581
- element_not_found: "element_not_found";
1582
- element_not_clickable: "element_not_clickable";
1583
- action_not_supported: "action_not_supported";
1584
- value_not_settable: "value_not_settable";
1585
- invalid_argument: "invalid_argument";
1586
- timeout: "timeout";
1587
- unsupported_capability: "unsupported_capability";
1588
- provider_unavailable: "provider_unavailable";
1589
- provider_crashed: "provider_crashed";
1590
- version_incompatible: "version_incompatible";
1591
- interaction_context_invalid: "interaction_context_invalid";
1592
- interaction_context_expired: "interaction_context_expired";
1593
- session_unavailable: "session_unavailable";
1594
- screenshot_failed: "screenshot_failed";
1595
- accessibility_error: "accessibility_error";
1596
- }>;
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">>;
1597
1121
  message: z.ZodString;
1598
1122
  retry: z.ZodBoolean;
1599
1123
  remediation: z.ZodString;
@@ -1602,31 +1126,7 @@ export declare const COMPUTER_OPERATIONS: {
1602
1126
  }, z.core.$strict>, z.ZodObject<{
1603
1127
  state: z.ZodLiteral<"not_attempted">;
1604
1128
  error: z.ZodOptional<z.ZodObject<{
1605
- code: z.ZodEnum<{
1606
- app_not_found: "app_not_found";
1607
- app_unavailable: "app_unavailable";
1608
- app_blocked: "app_blocked";
1609
- window_not_found: "window_not_found";
1610
- window_unavailable: "window_unavailable";
1611
- window_not_focused: "window_not_focused";
1612
- permission_denied: "permission_denied";
1613
- stale_target: "stale_target";
1614
- element_not_found: "element_not_found";
1615
- element_not_clickable: "element_not_clickable";
1616
- action_not_supported: "action_not_supported";
1617
- value_not_settable: "value_not_settable";
1618
- invalid_argument: "invalid_argument";
1619
- timeout: "timeout";
1620
- unsupported_capability: "unsupported_capability";
1621
- provider_unavailable: "provider_unavailable";
1622
- provider_crashed: "provider_crashed";
1623
- version_incompatible: "version_incompatible";
1624
- interaction_context_invalid: "interaction_context_invalid";
1625
- interaction_context_expired: "interaction_context_expired";
1626
- session_unavailable: "session_unavailable";
1627
- screenshot_failed: "screenshot_failed";
1628
- accessibility_error: "accessibility_error";
1629
- }>;
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">>;
1630
1130
  message: z.ZodString;
1631
1131
  retry: z.ZodBoolean;
1632
1132
  remediation: z.ZodString;
@@ -1691,31 +1191,7 @@ export declare const COMPUTER_OPERATIONS: {
1691
1191
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1692
1192
  }, z.core.$strict>>;
1693
1193
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1694
- code: z.ZodEnum<{
1695
- app_not_found: "app_not_found";
1696
- app_unavailable: "app_unavailable";
1697
- app_blocked: "app_blocked";
1698
- window_not_found: "window_not_found";
1699
- window_unavailable: "window_unavailable";
1700
- window_not_focused: "window_not_focused";
1701
- permission_denied: "permission_denied";
1702
- stale_target: "stale_target";
1703
- element_not_found: "element_not_found";
1704
- element_not_clickable: "element_not_clickable";
1705
- action_not_supported: "action_not_supported";
1706
- value_not_settable: "value_not_settable";
1707
- invalid_argument: "invalid_argument";
1708
- timeout: "timeout";
1709
- unsupported_capability: "unsupported_capability";
1710
- provider_unavailable: "provider_unavailable";
1711
- provider_crashed: "provider_crashed";
1712
- version_incompatible: "version_incompatible";
1713
- interaction_context_invalid: "interaction_context_invalid";
1714
- interaction_context_expired: "interaction_context_expired";
1715
- session_unavailable: "session_unavailable";
1716
- screenshot_failed: "screenshot_failed";
1717
- accessibility_error: "accessibility_error";
1718
- }>;
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">>;
1719
1195
  message: z.ZodString;
1720
1196
  retry: z.ZodBoolean;
1721
1197
  remediation: z.ZodString;
@@ -1746,31 +1222,7 @@ export declare const COMPUTER_OPERATIONS: {
1746
1222
  }, z.core.$strict>, z.ZodObject<{
1747
1223
  state: z.ZodLiteral<"failed">;
1748
1224
  error: z.ZodOptional<z.ZodObject<{
1749
- code: z.ZodEnum<{
1750
- app_not_found: "app_not_found";
1751
- app_unavailable: "app_unavailable";
1752
- app_blocked: "app_blocked";
1753
- window_not_found: "window_not_found";
1754
- window_unavailable: "window_unavailable";
1755
- window_not_focused: "window_not_focused";
1756
- permission_denied: "permission_denied";
1757
- stale_target: "stale_target";
1758
- element_not_found: "element_not_found";
1759
- element_not_clickable: "element_not_clickable";
1760
- action_not_supported: "action_not_supported";
1761
- value_not_settable: "value_not_settable";
1762
- invalid_argument: "invalid_argument";
1763
- timeout: "timeout";
1764
- unsupported_capability: "unsupported_capability";
1765
- provider_unavailable: "provider_unavailable";
1766
- provider_crashed: "provider_crashed";
1767
- version_incompatible: "version_incompatible";
1768
- interaction_context_invalid: "interaction_context_invalid";
1769
- interaction_context_expired: "interaction_context_expired";
1770
- session_unavailable: "session_unavailable";
1771
- screenshot_failed: "screenshot_failed";
1772
- accessibility_error: "accessibility_error";
1773
- }>;
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">>;
1774
1226
  message: z.ZodString;
1775
1227
  retry: z.ZodBoolean;
1776
1228
  remediation: z.ZodString;
@@ -1779,31 +1231,7 @@ export declare const COMPUTER_OPERATIONS: {
1779
1231
  }, z.core.$strict>, z.ZodObject<{
1780
1232
  state: z.ZodLiteral<"not_attempted">;
1781
1233
  error: z.ZodOptional<z.ZodObject<{
1782
- code: z.ZodEnum<{
1783
- app_not_found: "app_not_found";
1784
- app_unavailable: "app_unavailable";
1785
- app_blocked: "app_blocked";
1786
- window_not_found: "window_not_found";
1787
- window_unavailable: "window_unavailable";
1788
- window_not_focused: "window_not_focused";
1789
- permission_denied: "permission_denied";
1790
- stale_target: "stale_target";
1791
- element_not_found: "element_not_found";
1792
- element_not_clickable: "element_not_clickable";
1793
- action_not_supported: "action_not_supported";
1794
- value_not_settable: "value_not_settable";
1795
- invalid_argument: "invalid_argument";
1796
- timeout: "timeout";
1797
- unsupported_capability: "unsupported_capability";
1798
- provider_unavailable: "provider_unavailable";
1799
- provider_crashed: "provider_crashed";
1800
- version_incompatible: "version_incompatible";
1801
- interaction_context_invalid: "interaction_context_invalid";
1802
- interaction_context_expired: "interaction_context_expired";
1803
- session_unavailable: "session_unavailable";
1804
- screenshot_failed: "screenshot_failed";
1805
- accessibility_error: "accessibility_error";
1806
- }>;
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">>;
1807
1235
  message: z.ZodString;
1808
1236
  retry: z.ZodBoolean;
1809
1237
  remediation: z.ZodString;
@@ -1868,31 +1296,7 @@ export declare const COMPUTER_OPERATIONS: {
1868
1296
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
1869
1297
  }, z.core.$strict>>;
1870
1298
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1871
- code: z.ZodEnum<{
1872
- app_not_found: "app_not_found";
1873
- app_unavailable: "app_unavailable";
1874
- app_blocked: "app_blocked";
1875
- window_not_found: "window_not_found";
1876
- window_unavailable: "window_unavailable";
1877
- window_not_focused: "window_not_focused";
1878
- permission_denied: "permission_denied";
1879
- stale_target: "stale_target";
1880
- element_not_found: "element_not_found";
1881
- element_not_clickable: "element_not_clickable";
1882
- action_not_supported: "action_not_supported";
1883
- value_not_settable: "value_not_settable";
1884
- invalid_argument: "invalid_argument";
1885
- timeout: "timeout";
1886
- unsupported_capability: "unsupported_capability";
1887
- provider_unavailable: "provider_unavailable";
1888
- provider_crashed: "provider_crashed";
1889
- version_incompatible: "version_incompatible";
1890
- interaction_context_invalid: "interaction_context_invalid";
1891
- interaction_context_expired: "interaction_context_expired";
1892
- session_unavailable: "session_unavailable";
1893
- screenshot_failed: "screenshot_failed";
1894
- accessibility_error: "accessibility_error";
1895
- }>;
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">>;
1896
1300
  message: z.ZodString;
1897
1301
  retry: z.ZodBoolean;
1898
1302
  remediation: z.ZodString;
@@ -1951,31 +1355,7 @@ export declare const COMPUTER_OPERATIONS: {
1951
1355
  }, z.core.$strict>, z.ZodObject<{
1952
1356
  state: z.ZodLiteral<"failed">;
1953
1357
  error: z.ZodOptional<z.ZodObject<{
1954
- code: z.ZodEnum<{
1955
- app_not_found: "app_not_found";
1956
- app_unavailable: "app_unavailable";
1957
- app_blocked: "app_blocked";
1958
- window_not_found: "window_not_found";
1959
- window_unavailable: "window_unavailable";
1960
- window_not_focused: "window_not_focused";
1961
- permission_denied: "permission_denied";
1962
- stale_target: "stale_target";
1963
- element_not_found: "element_not_found";
1964
- element_not_clickable: "element_not_clickable";
1965
- action_not_supported: "action_not_supported";
1966
- value_not_settable: "value_not_settable";
1967
- invalid_argument: "invalid_argument";
1968
- timeout: "timeout";
1969
- unsupported_capability: "unsupported_capability";
1970
- provider_unavailable: "provider_unavailable";
1971
- provider_crashed: "provider_crashed";
1972
- version_incompatible: "version_incompatible";
1973
- interaction_context_invalid: "interaction_context_invalid";
1974
- interaction_context_expired: "interaction_context_expired";
1975
- session_unavailable: "session_unavailable";
1976
- screenshot_failed: "screenshot_failed";
1977
- accessibility_error: "accessibility_error";
1978
- }>;
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">>;
1979
1359
  message: z.ZodString;
1980
1360
  retry: z.ZodBoolean;
1981
1361
  remediation: z.ZodString;
@@ -1984,31 +1364,7 @@ export declare const COMPUTER_OPERATIONS: {
1984
1364
  }, z.core.$strict>, z.ZodObject<{
1985
1365
  state: z.ZodLiteral<"not_attempted">;
1986
1366
  error: z.ZodOptional<z.ZodObject<{
1987
- code: z.ZodEnum<{
1988
- app_not_found: "app_not_found";
1989
- app_unavailable: "app_unavailable";
1990
- app_blocked: "app_blocked";
1991
- window_not_found: "window_not_found";
1992
- window_unavailable: "window_unavailable";
1993
- window_not_focused: "window_not_focused";
1994
- permission_denied: "permission_denied";
1995
- stale_target: "stale_target";
1996
- element_not_found: "element_not_found";
1997
- element_not_clickable: "element_not_clickable";
1998
- action_not_supported: "action_not_supported";
1999
- value_not_settable: "value_not_settable";
2000
- invalid_argument: "invalid_argument";
2001
- timeout: "timeout";
2002
- unsupported_capability: "unsupported_capability";
2003
- provider_unavailable: "provider_unavailable";
2004
- provider_crashed: "provider_crashed";
2005
- version_incompatible: "version_incompatible";
2006
- interaction_context_invalid: "interaction_context_invalid";
2007
- interaction_context_expired: "interaction_context_expired";
2008
- session_unavailable: "session_unavailable";
2009
- screenshot_failed: "screenshot_failed";
2010
- accessibility_error: "accessibility_error";
2011
- }>;
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">>;
2012
1368
  message: z.ZodString;
2013
1369
  retry: z.ZodBoolean;
2014
1370
  remediation: z.ZodString;
@@ -2073,31 +1429,7 @@ export declare const COMPUTER_OPERATIONS: {
2073
1429
  expiresAt: z.ZodOptional<z.ZodISODateTime>;
2074
1430
  }, z.core.$strict>>;
2075
1431
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2076
- code: z.ZodEnum<{
2077
- app_not_found: "app_not_found";
2078
- app_unavailable: "app_unavailable";
2079
- app_blocked: "app_blocked";
2080
- window_not_found: "window_not_found";
2081
- window_unavailable: "window_unavailable";
2082
- window_not_focused: "window_not_focused";
2083
- permission_denied: "permission_denied";
2084
- stale_target: "stale_target";
2085
- element_not_found: "element_not_found";
2086
- element_not_clickable: "element_not_clickable";
2087
- action_not_supported: "action_not_supported";
2088
- value_not_settable: "value_not_settable";
2089
- invalid_argument: "invalid_argument";
2090
- timeout: "timeout";
2091
- unsupported_capability: "unsupported_capability";
2092
- provider_unavailable: "provider_unavailable";
2093
- provider_crashed: "provider_crashed";
2094
- version_incompatible: "version_incompatible";
2095
- interaction_context_invalid: "interaction_context_invalid";
2096
- interaction_context_expired: "interaction_context_expired";
2097
- session_unavailable: "session_unavailable";
2098
- screenshot_failed: "screenshot_failed";
2099
- accessibility_error: "accessibility_error";
2100
- }>;
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">>;
2101
1433
  message: z.ZodString;
2102
1434
  retry: z.ZodBoolean;
2103
1435
  remediation: z.ZodString;
@@ -2108,8 +1440,1404 @@ export declare const COMPUTER_OPERATIONS: {
2108
1440
  };
2109
1441
  };
2110
1442
  export type ComputerOperationName = keyof typeof COMPUTER_OPERATIONS;
2111
- export declare function parseOperationInput(operation: ComputerOperationName, input: unknown): unknown;
2112
- 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>;
2113
2841
  export declare const ScreenshotOutputSchema: z.ZodObject<{
2114
2842
  format: z.ZodLiteral<"png">;
2115
2843
  width: z.ZodNumber;