camou 0.1.1 → 0.3.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.
@@ -30,11 +30,455 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
30
30
  action: z.ZodLiteral<"open">;
31
31
  url: z.ZodString;
32
32
  }, "strip", z.ZodTypeAny, {
33
+ session: string;
34
+ tabName: string;
35
+ url: string;
36
+ id: string;
37
+ action: "open";
38
+ headless?: boolean | undefined;
39
+ configPath?: string | undefined;
40
+ configJson?: string | undefined;
41
+ prefsPath?: string | undefined;
42
+ prefsJson?: string | undefined;
43
+ preset?: string[] | undefined;
44
+ proxy?: string | undefined;
45
+ locale?: string | undefined;
46
+ timezone?: string | undefined;
47
+ width?: number | undefined;
48
+ height?: number | undefined;
49
+ browser?: string | undefined;
50
+ }, {
51
+ session: string;
52
+ tabName: string;
53
+ url: string;
54
+ id: string;
55
+ action: "open";
56
+ headless?: boolean | undefined;
57
+ configPath?: string | undefined;
58
+ configJson?: string | undefined;
59
+ prefsPath?: string | undefined;
60
+ prefsJson?: string | undefined;
61
+ preset?: string[] | undefined;
62
+ proxy?: string | undefined;
63
+ locale?: string | undefined;
64
+ timezone?: string | undefined;
65
+ width?: number | undefined;
66
+ height?: number | undefined;
67
+ browser?: string | undefined;
68
+ }>, z.ZodObject<{
69
+ headless: z.ZodOptional<z.ZodBoolean>;
70
+ configPath: z.ZodOptional<z.ZodString>;
71
+ configJson: z.ZodOptional<z.ZodString>;
72
+ prefsPath: z.ZodOptional<z.ZodString>;
73
+ prefsJson: z.ZodOptional<z.ZodString>;
74
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
+ proxy: z.ZodOptional<z.ZodString>;
76
+ locale: z.ZodOptional<z.ZodString>;
77
+ timezone: z.ZodOptional<z.ZodString>;
78
+ width: z.ZodOptional<z.ZodNumber>;
79
+ height: z.ZodOptional<z.ZodNumber>;
80
+ browser: z.ZodOptional<z.ZodString>;
81
+ } & {
82
+ id: z.ZodString;
83
+ session: z.ZodString;
84
+ tabName: z.ZodString;
85
+ } & {
86
+ action: z.ZodLiteral<"back">;
87
+ }, "strip", z.ZodTypeAny, {
88
+ session: string;
89
+ tabName: string;
90
+ id: string;
91
+ action: "back";
92
+ headless?: boolean | undefined;
93
+ configPath?: string | undefined;
94
+ configJson?: string | undefined;
95
+ prefsPath?: string | undefined;
96
+ prefsJson?: string | undefined;
97
+ preset?: string[] | undefined;
98
+ proxy?: string | undefined;
99
+ locale?: string | undefined;
100
+ timezone?: string | undefined;
101
+ width?: number | undefined;
102
+ height?: number | undefined;
103
+ browser?: string | undefined;
104
+ }, {
105
+ session: string;
106
+ tabName: string;
107
+ id: string;
108
+ action: "back";
109
+ headless?: boolean | undefined;
110
+ configPath?: string | undefined;
111
+ configJson?: string | undefined;
112
+ prefsPath?: string | undefined;
113
+ prefsJson?: string | undefined;
114
+ preset?: string[] | undefined;
115
+ proxy?: string | undefined;
116
+ locale?: string | undefined;
117
+ timezone?: string | undefined;
118
+ width?: number | undefined;
119
+ height?: number | undefined;
120
+ browser?: string | undefined;
121
+ }>, z.ZodObject<{
122
+ headless: z.ZodOptional<z.ZodBoolean>;
123
+ configPath: z.ZodOptional<z.ZodString>;
124
+ configJson: z.ZodOptional<z.ZodString>;
125
+ prefsPath: z.ZodOptional<z.ZodString>;
126
+ prefsJson: z.ZodOptional<z.ZodString>;
127
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128
+ proxy: z.ZodOptional<z.ZodString>;
129
+ locale: z.ZodOptional<z.ZodString>;
130
+ timezone: z.ZodOptional<z.ZodString>;
131
+ width: z.ZodOptional<z.ZodNumber>;
132
+ height: z.ZodOptional<z.ZodNumber>;
133
+ browser: z.ZodOptional<z.ZodString>;
134
+ } & {
135
+ id: z.ZodString;
136
+ session: z.ZodString;
137
+ tabName: z.ZodString;
138
+ } & {
139
+ action: z.ZodLiteral<"forward">;
140
+ }, "strip", z.ZodTypeAny, {
141
+ session: string;
142
+ tabName: string;
143
+ id: string;
144
+ action: "forward";
145
+ headless?: boolean | undefined;
146
+ configPath?: string | undefined;
147
+ configJson?: string | undefined;
148
+ prefsPath?: string | undefined;
149
+ prefsJson?: string | undefined;
150
+ preset?: string[] | undefined;
151
+ proxy?: string | undefined;
152
+ locale?: string | undefined;
153
+ timezone?: string | undefined;
154
+ width?: number | undefined;
155
+ height?: number | undefined;
156
+ browser?: string | undefined;
157
+ }, {
158
+ session: string;
159
+ tabName: string;
160
+ id: string;
161
+ action: "forward";
162
+ headless?: boolean | undefined;
163
+ configPath?: string | undefined;
164
+ configJson?: string | undefined;
165
+ prefsPath?: string | undefined;
166
+ prefsJson?: string | undefined;
167
+ preset?: string[] | undefined;
168
+ proxy?: string | undefined;
169
+ locale?: string | undefined;
170
+ timezone?: string | undefined;
171
+ width?: number | undefined;
172
+ height?: number | undefined;
173
+ browser?: string | undefined;
174
+ }>, z.ZodObject<{
175
+ headless: z.ZodOptional<z.ZodBoolean>;
176
+ configPath: z.ZodOptional<z.ZodString>;
177
+ configJson: z.ZodOptional<z.ZodString>;
178
+ prefsPath: z.ZodOptional<z.ZodString>;
179
+ prefsJson: z.ZodOptional<z.ZodString>;
180
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
181
+ proxy: z.ZodOptional<z.ZodString>;
182
+ locale: z.ZodOptional<z.ZodString>;
183
+ timezone: z.ZodOptional<z.ZodString>;
184
+ width: z.ZodOptional<z.ZodNumber>;
185
+ height: z.ZodOptional<z.ZodNumber>;
186
+ browser: z.ZodOptional<z.ZodString>;
187
+ } & {
188
+ id: z.ZodString;
189
+ session: z.ZodString;
190
+ tabName: z.ZodString;
191
+ } & {
192
+ action: z.ZodLiteral<"reload">;
193
+ }, "strip", z.ZodTypeAny, {
194
+ session: string;
195
+ tabName: string;
196
+ id: string;
197
+ action: "reload";
198
+ headless?: boolean | undefined;
199
+ configPath?: string | undefined;
200
+ configJson?: string | undefined;
201
+ prefsPath?: string | undefined;
202
+ prefsJson?: string | undefined;
203
+ preset?: string[] | undefined;
204
+ proxy?: string | undefined;
205
+ locale?: string | undefined;
206
+ timezone?: string | undefined;
207
+ width?: number | undefined;
208
+ height?: number | undefined;
209
+ browser?: string | undefined;
210
+ }, {
211
+ session: string;
212
+ tabName: string;
213
+ id: string;
214
+ action: "reload";
215
+ headless?: boolean | undefined;
216
+ configPath?: string | undefined;
217
+ configJson?: string | undefined;
218
+ prefsPath?: string | undefined;
219
+ prefsJson?: string | undefined;
220
+ preset?: string[] | undefined;
221
+ proxy?: string | undefined;
222
+ locale?: string | undefined;
223
+ timezone?: string | undefined;
224
+ width?: number | undefined;
225
+ height?: number | undefined;
226
+ browser?: string | undefined;
227
+ }>, z.ZodObject<{
228
+ headless: z.ZodOptional<z.ZodBoolean>;
229
+ configPath: z.ZodOptional<z.ZodString>;
230
+ configJson: z.ZodOptional<z.ZodString>;
231
+ prefsPath: z.ZodOptional<z.ZodString>;
232
+ prefsJson: z.ZodOptional<z.ZodString>;
233
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
234
+ proxy: z.ZodOptional<z.ZodString>;
235
+ locale: z.ZodOptional<z.ZodString>;
236
+ timezone: z.ZodOptional<z.ZodString>;
237
+ width: z.ZodOptional<z.ZodNumber>;
238
+ height: z.ZodOptional<z.ZodNumber>;
239
+ browser: z.ZodOptional<z.ZodString>;
240
+ } & {
241
+ id: z.ZodString;
242
+ session: z.ZodString;
243
+ tabName: z.ZodString;
244
+ } & {
245
+ action: z.ZodLiteral<"snapshot">;
246
+ interactive: z.ZodDefault<z.ZodBoolean>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ session: string;
249
+ interactive: boolean;
250
+ tabName: string;
251
+ id: string;
252
+ action: "snapshot";
253
+ headless?: boolean | undefined;
254
+ configPath?: string | undefined;
255
+ configJson?: string | undefined;
256
+ prefsPath?: string | undefined;
257
+ prefsJson?: string | undefined;
258
+ preset?: string[] | undefined;
259
+ proxy?: string | undefined;
260
+ locale?: string | undefined;
261
+ timezone?: string | undefined;
262
+ width?: number | undefined;
263
+ height?: number | undefined;
264
+ browser?: string | undefined;
265
+ }, {
266
+ session: string;
267
+ tabName: string;
268
+ id: string;
269
+ action: "snapshot";
270
+ headless?: boolean | undefined;
271
+ configPath?: string | undefined;
272
+ configJson?: string | undefined;
273
+ prefsPath?: string | undefined;
274
+ prefsJson?: string | undefined;
275
+ preset?: string[] | undefined;
276
+ proxy?: string | undefined;
277
+ locale?: string | undefined;
278
+ timezone?: string | undefined;
279
+ width?: number | undefined;
280
+ height?: number | undefined;
281
+ browser?: string | undefined;
282
+ interactive?: boolean | undefined;
283
+ }>, z.ZodObject<{
284
+ headless: z.ZodOptional<z.ZodBoolean>;
285
+ configPath: z.ZodOptional<z.ZodString>;
286
+ configJson: z.ZodOptional<z.ZodString>;
287
+ prefsPath: z.ZodOptional<z.ZodString>;
288
+ prefsJson: z.ZodOptional<z.ZodString>;
289
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
290
+ proxy: z.ZodOptional<z.ZodString>;
291
+ locale: z.ZodOptional<z.ZodString>;
292
+ timezone: z.ZodOptional<z.ZodString>;
293
+ width: z.ZodOptional<z.ZodNumber>;
294
+ height: z.ZodOptional<z.ZodNumber>;
295
+ browser: z.ZodOptional<z.ZodString>;
296
+ } & {
297
+ id: z.ZodString;
298
+ session: z.ZodString;
299
+ tabName: z.ZodString;
300
+ } & {
301
+ action: z.ZodLiteral<"click">;
302
+ target: z.ZodString;
303
+ }, "strip", z.ZodTypeAny, {
304
+ session: string;
305
+ tabName: string;
306
+ target: string;
307
+ id: string;
308
+ action: "click";
309
+ headless?: boolean | undefined;
310
+ configPath?: string | undefined;
311
+ configJson?: string | undefined;
312
+ prefsPath?: string | undefined;
313
+ prefsJson?: string | undefined;
314
+ preset?: string[] | undefined;
315
+ proxy?: string | undefined;
316
+ locale?: string | undefined;
317
+ timezone?: string | undefined;
318
+ width?: number | undefined;
319
+ height?: number | undefined;
320
+ browser?: string | undefined;
321
+ }, {
322
+ session: string;
323
+ tabName: string;
324
+ target: string;
325
+ id: string;
326
+ action: "click";
327
+ headless?: boolean | undefined;
328
+ configPath?: string | undefined;
329
+ configJson?: string | undefined;
330
+ prefsPath?: string | undefined;
331
+ prefsJson?: string | undefined;
332
+ preset?: string[] | undefined;
333
+ proxy?: string | undefined;
334
+ locale?: string | undefined;
335
+ timezone?: string | undefined;
336
+ width?: number | undefined;
337
+ height?: number | undefined;
338
+ browser?: string | undefined;
339
+ }>, z.ZodObject<{
340
+ headless: z.ZodOptional<z.ZodBoolean>;
341
+ configPath: z.ZodOptional<z.ZodString>;
342
+ configJson: z.ZodOptional<z.ZodString>;
343
+ prefsPath: z.ZodOptional<z.ZodString>;
344
+ prefsJson: z.ZodOptional<z.ZodString>;
345
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
346
+ proxy: z.ZodOptional<z.ZodString>;
347
+ locale: z.ZodOptional<z.ZodString>;
348
+ timezone: z.ZodOptional<z.ZodString>;
349
+ width: z.ZodOptional<z.ZodNumber>;
350
+ height: z.ZodOptional<z.ZodNumber>;
351
+ browser: z.ZodOptional<z.ZodString>;
352
+ } & {
353
+ id: z.ZodString;
354
+ session: z.ZodString;
355
+ tabName: z.ZodString;
356
+ } & {
357
+ action: z.ZodLiteral<"hover">;
358
+ target: z.ZodString;
359
+ }, "strip", z.ZodTypeAny, {
360
+ session: string;
361
+ tabName: string;
362
+ target: string;
363
+ id: string;
364
+ action: "hover";
365
+ headless?: boolean | undefined;
366
+ configPath?: string | undefined;
367
+ configJson?: string | undefined;
368
+ prefsPath?: string | undefined;
369
+ prefsJson?: string | undefined;
370
+ preset?: string[] | undefined;
371
+ proxy?: string | undefined;
372
+ locale?: string | undefined;
373
+ timezone?: string | undefined;
374
+ width?: number | undefined;
375
+ height?: number | undefined;
376
+ browser?: string | undefined;
377
+ }, {
378
+ session: string;
379
+ tabName: string;
380
+ target: string;
381
+ id: string;
382
+ action: "hover";
383
+ headless?: boolean | undefined;
384
+ configPath?: string | undefined;
385
+ configJson?: string | undefined;
386
+ prefsPath?: string | undefined;
387
+ prefsJson?: string | undefined;
388
+ preset?: string[] | undefined;
389
+ proxy?: string | undefined;
390
+ locale?: string | undefined;
391
+ timezone?: string | undefined;
392
+ width?: number | undefined;
393
+ height?: number | undefined;
394
+ browser?: string | undefined;
395
+ }>, z.ZodObject<{
396
+ headless: z.ZodOptional<z.ZodBoolean>;
397
+ configPath: z.ZodOptional<z.ZodString>;
398
+ configJson: z.ZodOptional<z.ZodString>;
399
+ prefsPath: z.ZodOptional<z.ZodString>;
400
+ prefsJson: z.ZodOptional<z.ZodString>;
401
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
402
+ proxy: z.ZodOptional<z.ZodString>;
403
+ locale: z.ZodOptional<z.ZodString>;
404
+ timezone: z.ZodOptional<z.ZodString>;
405
+ width: z.ZodOptional<z.ZodNumber>;
406
+ height: z.ZodOptional<z.ZodNumber>;
407
+ browser: z.ZodOptional<z.ZodString>;
408
+ } & {
409
+ id: z.ZodString;
410
+ session: z.ZodString;
411
+ tabName: z.ZodString;
412
+ } & {
413
+ action: z.ZodLiteral<"fill">;
414
+ target: z.ZodString;
415
+ text: z.ZodString;
416
+ }, "strip", z.ZodTypeAny, {
417
+ session: string;
418
+ text: string;
419
+ tabName: string;
420
+ target: string;
421
+ id: string;
422
+ action: "fill";
423
+ headless?: boolean | undefined;
424
+ configPath?: string | undefined;
425
+ configJson?: string | undefined;
426
+ prefsPath?: string | undefined;
427
+ prefsJson?: string | undefined;
428
+ preset?: string[] | undefined;
429
+ proxy?: string | undefined;
430
+ locale?: string | undefined;
431
+ timezone?: string | undefined;
432
+ width?: number | undefined;
433
+ height?: number | undefined;
434
+ browser?: string | undefined;
435
+ }, {
436
+ session: string;
437
+ text: string;
438
+ tabName: string;
439
+ target: string;
440
+ id: string;
441
+ action: "fill";
442
+ headless?: boolean | undefined;
443
+ configPath?: string | undefined;
444
+ configJson?: string | undefined;
445
+ prefsPath?: string | undefined;
446
+ prefsJson?: string | undefined;
447
+ preset?: string[] | undefined;
448
+ proxy?: string | undefined;
449
+ locale?: string | undefined;
450
+ timezone?: string | undefined;
451
+ width?: number | undefined;
452
+ height?: number | undefined;
453
+ browser?: string | undefined;
454
+ }>, z.ZodObject<{
455
+ headless: z.ZodOptional<z.ZodBoolean>;
456
+ configPath: z.ZodOptional<z.ZodString>;
457
+ configJson: z.ZodOptional<z.ZodString>;
458
+ prefsPath: z.ZodOptional<z.ZodString>;
459
+ prefsJson: z.ZodOptional<z.ZodString>;
460
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
461
+ proxy: z.ZodOptional<z.ZodString>;
462
+ locale: z.ZodOptional<z.ZodString>;
463
+ timezone: z.ZodOptional<z.ZodString>;
464
+ width: z.ZodOptional<z.ZodNumber>;
465
+ height: z.ZodOptional<z.ZodNumber>;
466
+ browser: z.ZodOptional<z.ZodString>;
467
+ } & {
468
+ id: z.ZodString;
469
+ session: z.ZodString;
470
+ tabName: z.ZodString;
471
+ } & {
472
+ action: z.ZodLiteral<"type">;
473
+ target: z.ZodString;
474
+ text: z.ZodString;
475
+ }, "strip", z.ZodTypeAny, {
476
+ session: string;
477
+ text: string;
33
478
  tabName: string;
34
- url: string;
479
+ target: string;
35
480
  id: string;
36
- session: string;
37
- action: "open";
481
+ action: "type";
38
482
  headless?: boolean | undefined;
39
483
  configPath?: string | undefined;
40
484
  configJson?: string | undefined;
@@ -48,11 +492,12 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
48
492
  height?: number | undefined;
49
493
  browser?: string | undefined;
50
494
  }, {
495
+ session: string;
496
+ text: string;
51
497
  tabName: string;
52
- url: string;
498
+ target: string;
53
499
  id: string;
54
- session: string;
55
- action: "open";
500
+ action: "type";
56
501
  headless?: boolean | undefined;
57
502
  configPath?: string | undefined;
58
503
  configJson?: string | undefined;
@@ -83,14 +528,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
83
528
  session: z.ZodString;
84
529
  tabName: z.ZodString;
85
530
  } & {
86
- action: z.ZodLiteral<"snapshot">;
87
- interactive: z.ZodDefault<z.ZodBoolean>;
531
+ action: z.ZodLiteral<"check">;
532
+ target: z.ZodString;
88
533
  }, "strip", z.ZodTypeAny, {
89
- interactive: boolean;
534
+ session: string;
90
535
  tabName: string;
536
+ target: string;
91
537
  id: string;
92
- session: string;
93
- action: "snapshot";
538
+ action: "check";
94
539
  headless?: boolean | undefined;
95
540
  configPath?: string | undefined;
96
541
  configJson?: string | undefined;
@@ -104,10 +549,11 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
104
549
  height?: number | undefined;
105
550
  browser?: string | undefined;
106
551
  }, {
552
+ session: string;
107
553
  tabName: string;
554
+ target: string;
108
555
  id: string;
109
- session: string;
110
- action: "snapshot";
556
+ action: "check";
111
557
  headless?: boolean | undefined;
112
558
  configPath?: string | undefined;
113
559
  configJson?: string | undefined;
@@ -120,7 +566,6 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
120
566
  width?: number | undefined;
121
567
  height?: number | undefined;
122
568
  browser?: string | undefined;
123
- interactive?: boolean | undefined;
124
569
  }>, z.ZodObject<{
125
570
  headless: z.ZodOptional<z.ZodBoolean>;
126
571
  configPath: z.ZodOptional<z.ZodString>;
@@ -139,14 +584,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
139
584
  session: z.ZodString;
140
585
  tabName: z.ZodString;
141
586
  } & {
142
- action: z.ZodLiteral<"click">;
587
+ action: z.ZodLiteral<"uncheck">;
143
588
  target: z.ZodString;
144
589
  }, "strip", z.ZodTypeAny, {
590
+ session: string;
145
591
  tabName: string;
146
592
  target: string;
147
593
  id: string;
148
- session: string;
149
- action: "click";
594
+ action: "uncheck";
150
595
  headless?: boolean | undefined;
151
596
  configPath?: string | undefined;
152
597
  configJson?: string | undefined;
@@ -160,11 +605,11 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
160
605
  height?: number | undefined;
161
606
  browser?: string | undefined;
162
607
  }, {
608
+ session: string;
163
609
  tabName: string;
164
610
  target: string;
165
611
  id: string;
166
- session: string;
167
- action: "click";
612
+ action: "uncheck";
168
613
  headless?: boolean | undefined;
169
614
  configPath?: string | undefined;
170
615
  configJson?: string | undefined;
@@ -195,16 +640,16 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
195
640
  session: z.ZodString;
196
641
  tabName: z.ZodString;
197
642
  } & {
198
- action: z.ZodLiteral<"fill">;
643
+ action: z.ZodLiteral<"select">;
199
644
  target: z.ZodString;
200
- text: z.ZodString;
645
+ value: z.ZodString;
201
646
  }, "strip", z.ZodTypeAny, {
202
- text: string;
647
+ value: string;
648
+ session: string;
203
649
  tabName: string;
204
650
  target: string;
205
651
  id: string;
206
- session: string;
207
- action: "fill";
652
+ action: "select";
208
653
  headless?: boolean | undefined;
209
654
  configPath?: string | undefined;
210
655
  configJson?: string | undefined;
@@ -218,12 +663,12 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
218
663
  height?: number | undefined;
219
664
  browser?: string | undefined;
220
665
  }, {
221
- text: string;
666
+ value: string;
667
+ session: string;
222
668
  tabName: string;
223
669
  target: string;
224
670
  id: string;
225
- session: string;
226
- action: "fill";
671
+ action: "select";
227
672
  headless?: boolean | undefined;
228
673
  configPath?: string | undefined;
229
674
  configJson?: string | undefined;
@@ -258,9 +703,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
258
703
  key: z.ZodString;
259
704
  }, "strip", z.ZodTypeAny, {
260
705
  key: string;
706
+ session: string;
261
707
  tabName: string;
262
708
  id: string;
263
- session: string;
264
709
  action: "press";
265
710
  headless?: boolean | undefined;
266
711
  configPath?: string | undefined;
@@ -276,9 +721,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
276
721
  browser?: string | undefined;
277
722
  }, {
278
723
  key: string;
724
+ session: string;
279
725
  tabName: string;
280
726
  id: string;
281
- session: string;
282
727
  action: "press";
283
728
  headless?: boolean | undefined;
284
729
  configPath?: string | undefined;
@@ -309,13 +754,128 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
309
754
  id: z.ZodString;
310
755
  session: z.ZodString;
311
756
  tabName: z.ZodString;
757
+ } & {
758
+ action: z.ZodLiteral<"scroll">;
759
+ direction: z.ZodEnum<["up", "down", "left", "right"]>;
760
+ amount: z.ZodOptional<z.ZodNumber>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ session: string;
763
+ tabName: string;
764
+ direction: "up" | "down" | "left" | "right";
765
+ id: string;
766
+ action: "scroll";
767
+ headless?: boolean | undefined;
768
+ configPath?: string | undefined;
769
+ configJson?: string | undefined;
770
+ prefsPath?: string | undefined;
771
+ prefsJson?: string | undefined;
772
+ preset?: string[] | undefined;
773
+ proxy?: string | undefined;
774
+ locale?: string | undefined;
775
+ timezone?: string | undefined;
776
+ width?: number | undefined;
777
+ height?: number | undefined;
778
+ browser?: string | undefined;
779
+ amount?: number | undefined;
780
+ }, {
781
+ session: string;
782
+ tabName: string;
783
+ direction: "up" | "down" | "left" | "right";
784
+ id: string;
785
+ action: "scroll";
786
+ headless?: boolean | undefined;
787
+ configPath?: string | undefined;
788
+ configJson?: string | undefined;
789
+ prefsPath?: string | undefined;
790
+ prefsJson?: string | undefined;
791
+ preset?: string[] | undefined;
792
+ proxy?: string | undefined;
793
+ locale?: string | undefined;
794
+ timezone?: string | undefined;
795
+ width?: number | undefined;
796
+ height?: number | undefined;
797
+ browser?: string | undefined;
798
+ amount?: number | undefined;
799
+ }>, z.ZodObject<{
800
+ headless: z.ZodOptional<z.ZodBoolean>;
801
+ configPath: z.ZodOptional<z.ZodString>;
802
+ configJson: z.ZodOptional<z.ZodString>;
803
+ prefsPath: z.ZodOptional<z.ZodString>;
804
+ prefsJson: z.ZodOptional<z.ZodString>;
805
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
806
+ proxy: z.ZodOptional<z.ZodString>;
807
+ locale: z.ZodOptional<z.ZodString>;
808
+ timezone: z.ZodOptional<z.ZodString>;
809
+ width: z.ZodOptional<z.ZodNumber>;
810
+ height: z.ZodOptional<z.ZodNumber>;
811
+ browser: z.ZodOptional<z.ZodString>;
812
+ } & {
813
+ id: z.ZodString;
814
+ session: z.ZodString;
815
+ tabName: z.ZodString;
816
+ } & {
817
+ action: z.ZodLiteral<"scroll.intoView">;
818
+ target: z.ZodString;
819
+ }, "strip", z.ZodTypeAny, {
820
+ session: string;
821
+ tabName: string;
822
+ target: string;
823
+ id: string;
824
+ action: "scroll.intoView";
825
+ headless?: boolean | undefined;
826
+ configPath?: string | undefined;
827
+ configJson?: string | undefined;
828
+ prefsPath?: string | undefined;
829
+ prefsJson?: string | undefined;
830
+ preset?: string[] | undefined;
831
+ proxy?: string | undefined;
832
+ locale?: string | undefined;
833
+ timezone?: string | undefined;
834
+ width?: number | undefined;
835
+ height?: number | undefined;
836
+ browser?: string | undefined;
837
+ }, {
838
+ session: string;
839
+ tabName: string;
840
+ target: string;
841
+ id: string;
842
+ action: "scroll.intoView";
843
+ headless?: boolean | undefined;
844
+ configPath?: string | undefined;
845
+ configJson?: string | undefined;
846
+ prefsPath?: string | undefined;
847
+ prefsJson?: string | undefined;
848
+ preset?: string[] | undefined;
849
+ proxy?: string | undefined;
850
+ locale?: string | undefined;
851
+ timezone?: string | undefined;
852
+ width?: number | undefined;
853
+ height?: number | undefined;
854
+ browser?: string | undefined;
855
+ }>, z.ZodObject<{
856
+ headless: z.ZodOptional<z.ZodBoolean>;
857
+ configPath: z.ZodOptional<z.ZodString>;
858
+ configJson: z.ZodOptional<z.ZodString>;
859
+ prefsPath: z.ZodOptional<z.ZodString>;
860
+ prefsJson: z.ZodOptional<z.ZodString>;
861
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
862
+ proxy: z.ZodOptional<z.ZodString>;
863
+ locale: z.ZodOptional<z.ZodString>;
864
+ timezone: z.ZodOptional<z.ZodString>;
865
+ width: z.ZodOptional<z.ZodNumber>;
866
+ height: z.ZodOptional<z.ZodNumber>;
867
+ browser: z.ZodOptional<z.ZodString>;
868
+ } & {
869
+ id: z.ZodString;
870
+ session: z.ZodString;
871
+ tabName: z.ZodString;
312
872
  } & {
313
873
  action: z.ZodLiteral<"screenshot">;
314
874
  path: z.ZodOptional<z.ZodString>;
315
875
  }, "strip", z.ZodTypeAny, {
876
+ session: string;
316
877
  tabName: string;
317
878
  id: string;
318
- session: string;
319
879
  action: "screenshot";
320
880
  path?: string | undefined;
321
881
  headless?: boolean | undefined;
@@ -331,9 +891,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
331
891
  height?: number | undefined;
332
892
  browser?: string | undefined;
333
893
  }, {
894
+ session: string;
334
895
  tabName: string;
335
896
  id: string;
336
- session: string;
337
897
  action: "screenshot";
338
898
  path?: string | undefined;
339
899
  headless?: boolean | undefined;
@@ -368,9 +928,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
368
928
  } & {
369
929
  action: z.ZodLiteral<"get.url">;
370
930
  }, "strip", z.ZodTypeAny, {
931
+ session: string;
371
932
  tabName: string;
372
933
  id: string;
373
- session: string;
374
934
  action: "get.url";
375
935
  headless?: boolean | undefined;
376
936
  configPath?: string | undefined;
@@ -385,9 +945,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
385
945
  height?: number | undefined;
386
946
  browser?: string | undefined;
387
947
  }, {
948
+ session: string;
388
949
  tabName: string;
389
950
  id: string;
390
- session: string;
391
951
  action: "get.url";
392
952
  headless?: boolean | undefined;
393
953
  configPath?: string | undefined;
@@ -421,9 +981,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
421
981
  } & {
422
982
  action: z.ZodLiteral<"get.title">;
423
983
  }, "strip", z.ZodTypeAny, {
984
+ session: string;
424
985
  tabName: string;
425
986
  id: string;
426
- session: string;
427
987
  action: "get.title";
428
988
  headless?: boolean | undefined;
429
989
  configPath?: string | undefined;
@@ -438,9 +998,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
438
998
  height?: number | undefined;
439
999
  browser?: string | undefined;
440
1000
  }, {
1001
+ session: string;
441
1002
  tabName: string;
442
1003
  id: string;
443
- session: string;
444
1004
  action: "get.title";
445
1005
  headless?: boolean | undefined;
446
1006
  configPath?: string | undefined;
@@ -475,10 +1035,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
475
1035
  action: z.ZodLiteral<"get.text">;
476
1036
  target: z.ZodString;
477
1037
  }, "strip", z.ZodTypeAny, {
1038
+ session: string;
478
1039
  tabName: string;
479
1040
  target: string;
480
1041
  id: string;
481
- session: string;
482
1042
  action: "get.text";
483
1043
  headless?: boolean | undefined;
484
1044
  configPath?: string | undefined;
@@ -493,10 +1053,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
493
1053
  height?: number | undefined;
494
1054
  browser?: string | undefined;
495
1055
  }, {
1056
+ session: string;
496
1057
  tabName: string;
497
1058
  target: string;
498
1059
  id: string;
499
- session: string;
500
1060
  action: "get.text";
501
1061
  headless?: boolean | undefined;
502
1062
  configPath?: string | undefined;
@@ -528,14 +1088,71 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
528
1088
  session: z.ZodString;
529
1089
  tabName: z.ZodString;
530
1090
  } & {
531
- action: z.ZodLiteral<"wait">;
1091
+ action: z.ZodLiteral<"get.value">;
532
1092
  target: z.ZodString;
533
- timeoutMs: z.ZodOptional<z.ZodNumber>;
534
1093
  }, "strip", z.ZodTypeAny, {
1094
+ session: string;
1095
+ tabName: string;
1096
+ target: string;
1097
+ id: string;
1098
+ action: "get.value";
1099
+ headless?: boolean | undefined;
1100
+ configPath?: string | undefined;
1101
+ configJson?: string | undefined;
1102
+ prefsPath?: string | undefined;
1103
+ prefsJson?: string | undefined;
1104
+ preset?: string[] | undefined;
1105
+ proxy?: string | undefined;
1106
+ locale?: string | undefined;
1107
+ timezone?: string | undefined;
1108
+ width?: number | undefined;
1109
+ height?: number | undefined;
1110
+ browser?: string | undefined;
1111
+ }, {
1112
+ session: string;
535
1113
  tabName: string;
536
1114
  target: string;
537
1115
  id: string;
1116
+ action: "get.value";
1117
+ headless?: boolean | undefined;
1118
+ configPath?: string | undefined;
1119
+ configJson?: string | undefined;
1120
+ prefsPath?: string | undefined;
1121
+ prefsJson?: string | undefined;
1122
+ preset?: string[] | undefined;
1123
+ proxy?: string | undefined;
1124
+ locale?: string | undefined;
1125
+ timezone?: string | undefined;
1126
+ width?: number | undefined;
1127
+ height?: number | undefined;
1128
+ browser?: string | undefined;
1129
+ }>, z.ZodObject<{
1130
+ headless: z.ZodOptional<z.ZodBoolean>;
1131
+ configPath: z.ZodOptional<z.ZodString>;
1132
+ configJson: z.ZodOptional<z.ZodString>;
1133
+ prefsPath: z.ZodOptional<z.ZodString>;
1134
+ prefsJson: z.ZodOptional<z.ZodString>;
1135
+ preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1136
+ proxy: z.ZodOptional<z.ZodString>;
1137
+ locale: z.ZodOptional<z.ZodString>;
1138
+ timezone: z.ZodOptional<z.ZodString>;
1139
+ width: z.ZodOptional<z.ZodNumber>;
1140
+ height: z.ZodOptional<z.ZodNumber>;
1141
+ browser: z.ZodOptional<z.ZodString>;
1142
+ } & {
1143
+ id: z.ZodString;
1144
+ session: z.ZodString;
1145
+ tabName: z.ZodString;
1146
+ } & {
1147
+ action: z.ZodLiteral<"wait">;
1148
+ target: z.ZodOptional<z.ZodString>;
1149
+ text: z.ZodOptional<z.ZodString>;
1150
+ loadState: z.ZodOptional<z.ZodEnum<["domcontentloaded", "load", "networkidle"]>>;
1151
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1152
+ }, "strip", z.ZodTypeAny, {
538
1153
  session: string;
1154
+ tabName: string;
1155
+ id: string;
539
1156
  action: "wait";
540
1157
  headless?: boolean | undefined;
541
1158
  configPath?: string | undefined;
@@ -549,12 +1166,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
549
1166
  width?: number | undefined;
550
1167
  height?: number | undefined;
551
1168
  browser?: string | undefined;
1169
+ text?: string | undefined;
1170
+ target?: string | undefined;
1171
+ loadState?: "load" | "domcontentloaded" | "networkidle" | undefined;
552
1172
  timeoutMs?: number | undefined;
553
1173
  }, {
1174
+ session: string;
554
1175
  tabName: string;
555
- target: string;
556
1176
  id: string;
557
- session: string;
558
1177
  action: "wait";
559
1178
  headless?: boolean | undefined;
560
1179
  configPath?: string | undefined;
@@ -568,6 +1187,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
568
1187
  width?: number | undefined;
569
1188
  height?: number | undefined;
570
1189
  browser?: string | undefined;
1190
+ text?: string | undefined;
1191
+ target?: string | undefined;
1192
+ loadState?: "load" | "domcontentloaded" | "networkidle" | undefined;
571
1193
  timeoutMs?: number | undefined;
572
1194
  }>, z.ZodObject<{
573
1195
  id: z.ZodString;
@@ -583,24 +1205,24 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
583
1205
  action: z.ZodLiteral<"session.stop">;
584
1206
  session: z.ZodString;
585
1207
  }, "strip", z.ZodTypeAny, {
586
- id: string;
587
1208
  session: string;
1209
+ id: string;
588
1210
  action: "session.stop";
589
1211
  }, {
590
- id: string;
591
1212
  session: string;
1213
+ id: string;
592
1214
  action: "session.stop";
593
1215
  }>, z.ZodObject<{
594
1216
  id: z.ZodString;
595
1217
  action: z.ZodLiteral<"tab.list">;
596
1218
  session: z.ZodString;
597
1219
  }, "strip", z.ZodTypeAny, {
598
- id: string;
599
1220
  session: string;
1221
+ id: string;
600
1222
  action: "tab.list";
601
1223
  }, {
602
- id: string;
603
1224
  session: string;
1225
+ id: string;
604
1226
  action: "tab.list";
605
1227
  }>, z.ZodObject<{
606
1228
  headless: z.ZodOptional<z.ZodBoolean>;
@@ -623,9 +1245,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
623
1245
  action: z.ZodLiteral<"tab.new">;
624
1246
  url: z.ZodOptional<z.ZodString>;
625
1247
  }, "strip", z.ZodTypeAny, {
1248
+ session: string;
626
1249
  tabName: string;
627
1250
  id: string;
628
- session: string;
629
1251
  action: "tab.new";
630
1252
  headless?: boolean | undefined;
631
1253
  configPath?: string | undefined;
@@ -641,9 +1263,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
641
1263
  browser?: string | undefined;
642
1264
  url?: string | undefined;
643
1265
  }, {
1266
+ session: string;
644
1267
  tabName: string;
645
1268
  id: string;
646
- session: string;
647
1269
  action: "tab.new";
648
1270
  headless?: boolean | undefined;
649
1271
  configPath?: string | undefined;
@@ -664,14 +1286,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
664
1286
  session: z.ZodString;
665
1287
  target: z.ZodString;
666
1288
  }, "strip", z.ZodTypeAny, {
1289
+ session: string;
667
1290
  target: string;
668
1291
  id: string;
669
- session: string;
670
1292
  action: "tab.close";
671
1293
  }, {
1294
+ session: string;
672
1295
  target: string;
673
1296
  id: string;
674
- session: string;
675
1297
  action: "tab.close";
676
1298
  }>]>;
677
1299
  declare const successResponseSchema: z.ZodObject<{