camou 0.2.0 → 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.
- package/CHANGELOG.md +18 -0
- package/README.md +50 -13
- package/dist/api.d.ts +25 -1
- package/dist/api.js +68 -3
- package/dist/api.js.map +1 -1
- package/dist/browser/manager.d.ts +58 -1
- package/dist/browser/manager.js +134 -3
- package/dist/browser/manager.js.map +1 -1
- package/dist/camoufox/launcher.d.ts +10 -1
- package/dist/camoufox/launcher.js +34 -23
- package/dist/camoufox/launcher.js.map +1 -1
- package/dist/cli/main.d.ts +1 -1
- package/dist/cli/main.js +17 -7
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/output.js +80 -2
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/program.js +80 -3
- package/dist/cli/program.js.map +1 -1
- package/dist/daemon/router.js +22 -0
- package/dist/daemon/router.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ipc/protocol.d.ts +638 -16
- package/dist/ipc/protocol.js +59 -1
- package/dist/ipc/protocol.js.map +1 -1
- package/package.json +3 -1
package/dist/ipc/protocol.d.ts
CHANGED
|
@@ -82,15 +82,403 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
82
82
|
id: z.ZodString;
|
|
83
83
|
session: z.ZodString;
|
|
84
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;
|
|
85
244
|
} & {
|
|
86
245
|
action: z.ZodLiteral<"snapshot">;
|
|
87
246
|
interactive: z.ZodDefault<z.ZodBoolean>;
|
|
88
247
|
}, "strip", z.ZodTypeAny, {
|
|
89
248
|
session: string;
|
|
90
|
-
interactive: boolean;
|
|
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;
|
|
91
478
|
tabName: string;
|
|
479
|
+
target: string;
|
|
92
480
|
id: string;
|
|
93
|
-
action: "
|
|
481
|
+
action: "type";
|
|
94
482
|
headless?: boolean | undefined;
|
|
95
483
|
configPath?: string | undefined;
|
|
96
484
|
configJson?: string | undefined;
|
|
@@ -105,9 +493,11 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
105
493
|
browser?: string | undefined;
|
|
106
494
|
}, {
|
|
107
495
|
session: string;
|
|
496
|
+
text: string;
|
|
108
497
|
tabName: string;
|
|
498
|
+
target: string;
|
|
109
499
|
id: string;
|
|
110
|
-
action: "
|
|
500
|
+
action: "type";
|
|
111
501
|
headless?: boolean | undefined;
|
|
112
502
|
configPath?: string | undefined;
|
|
113
503
|
configJson?: string | undefined;
|
|
@@ -120,7 +510,6 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
120
510
|
width?: number | undefined;
|
|
121
511
|
height?: number | undefined;
|
|
122
512
|
browser?: string | undefined;
|
|
123
|
-
interactive?: boolean | undefined;
|
|
124
513
|
}>, z.ZodObject<{
|
|
125
514
|
headless: z.ZodOptional<z.ZodBoolean>;
|
|
126
515
|
configPath: z.ZodOptional<z.ZodString>;
|
|
@@ -139,14 +528,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
139
528
|
session: z.ZodString;
|
|
140
529
|
tabName: z.ZodString;
|
|
141
530
|
} & {
|
|
142
|
-
action: z.ZodLiteral<"
|
|
531
|
+
action: z.ZodLiteral<"check">;
|
|
143
532
|
target: z.ZodString;
|
|
144
533
|
}, "strip", z.ZodTypeAny, {
|
|
145
534
|
session: string;
|
|
146
535
|
tabName: string;
|
|
147
536
|
target: string;
|
|
148
537
|
id: string;
|
|
149
|
-
action: "
|
|
538
|
+
action: "check";
|
|
150
539
|
headless?: boolean | undefined;
|
|
151
540
|
configPath?: string | undefined;
|
|
152
541
|
configJson?: string | undefined;
|
|
@@ -164,7 +553,7 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
164
553
|
tabName: string;
|
|
165
554
|
target: string;
|
|
166
555
|
id: string;
|
|
167
|
-
action: "
|
|
556
|
+
action: "check";
|
|
168
557
|
headless?: boolean | undefined;
|
|
169
558
|
configPath?: string | undefined;
|
|
170
559
|
configJson?: string | undefined;
|
|
@@ -195,16 +584,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
195
584
|
session: z.ZodString;
|
|
196
585
|
tabName: z.ZodString;
|
|
197
586
|
} & {
|
|
198
|
-
action: z.ZodLiteral<"
|
|
587
|
+
action: z.ZodLiteral<"uncheck">;
|
|
199
588
|
target: z.ZodString;
|
|
200
|
-
text: z.ZodString;
|
|
201
589
|
}, "strip", z.ZodTypeAny, {
|
|
202
590
|
session: string;
|
|
203
|
-
text: string;
|
|
204
591
|
tabName: string;
|
|
205
592
|
target: string;
|
|
206
593
|
id: string;
|
|
207
|
-
action: "
|
|
594
|
+
action: "uncheck";
|
|
208
595
|
headless?: boolean | undefined;
|
|
209
596
|
configPath?: string | undefined;
|
|
210
597
|
configJson?: string | undefined;
|
|
@@ -219,11 +606,69 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
|
|
|
219
606
|
browser?: string | undefined;
|
|
220
607
|
}, {
|
|
221
608
|
session: string;
|
|
222
|
-
text: string;
|
|
223
609
|
tabName: string;
|
|
224
610
|
target: string;
|
|
225
611
|
id: string;
|
|
226
|
-
action: "
|
|
612
|
+
action: "uncheck";
|
|
613
|
+
headless?: boolean | undefined;
|
|
614
|
+
configPath?: string | undefined;
|
|
615
|
+
configJson?: string | undefined;
|
|
616
|
+
prefsPath?: string | undefined;
|
|
617
|
+
prefsJson?: string | undefined;
|
|
618
|
+
preset?: string[] | undefined;
|
|
619
|
+
proxy?: string | undefined;
|
|
620
|
+
locale?: string | undefined;
|
|
621
|
+
timezone?: string | undefined;
|
|
622
|
+
width?: number | undefined;
|
|
623
|
+
height?: number | undefined;
|
|
624
|
+
browser?: string | undefined;
|
|
625
|
+
}>, z.ZodObject<{
|
|
626
|
+
headless: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
configPath: z.ZodOptional<z.ZodString>;
|
|
628
|
+
configJson: z.ZodOptional<z.ZodString>;
|
|
629
|
+
prefsPath: z.ZodOptional<z.ZodString>;
|
|
630
|
+
prefsJson: z.ZodOptional<z.ZodString>;
|
|
631
|
+
preset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
632
|
+
proxy: z.ZodOptional<z.ZodString>;
|
|
633
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
634
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
635
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
636
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
637
|
+
browser: z.ZodOptional<z.ZodString>;
|
|
638
|
+
} & {
|
|
639
|
+
id: z.ZodString;
|
|
640
|
+
session: z.ZodString;
|
|
641
|
+
tabName: z.ZodString;
|
|
642
|
+
} & {
|
|
643
|
+
action: z.ZodLiteral<"select">;
|
|
644
|
+
target: z.ZodString;
|
|
645
|
+
value: z.ZodString;
|
|
646
|
+
}, "strip", z.ZodTypeAny, {
|
|
647
|
+
value: string;
|
|
648
|
+
session: string;
|
|
649
|
+
tabName: string;
|
|
650
|
+
target: string;
|
|
651
|
+
id: string;
|
|
652
|
+
action: "select";
|
|
653
|
+
headless?: boolean | undefined;
|
|
654
|
+
configPath?: string | undefined;
|
|
655
|
+
configJson?: string | undefined;
|
|
656
|
+
prefsPath?: string | undefined;
|
|
657
|
+
prefsJson?: string | undefined;
|
|
658
|
+
preset?: string[] | undefined;
|
|
659
|
+
proxy?: string | undefined;
|
|
660
|
+
locale?: string | undefined;
|
|
661
|
+
timezone?: string | undefined;
|
|
662
|
+
width?: number | undefined;
|
|
663
|
+
height?: number | undefined;
|
|
664
|
+
browser?: string | undefined;
|
|
665
|
+
}, {
|
|
666
|
+
value: string;
|
|
667
|
+
session: string;
|
|
668
|
+
tabName: string;
|
|
669
|
+
target: string;
|
|
670
|
+
id: string;
|
|
671
|
+
action: "select";
|
|
227
672
|
headless?: boolean | undefined;
|
|
228
673
|
configPath?: string | undefined;
|
|
229
674
|
configJson?: string | undefined;
|
|
@@ -309,6 +754,121 @@ 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>;
|
|
@@ -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<"
|
|
1091
|
+
action: z.ZodLiteral<"get.value">;
|
|
532
1092
|
target: z.ZodString;
|
|
533
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
534
1093
|
}, "strip", z.ZodTypeAny, {
|
|
535
1094
|
session: string;
|
|
536
1095
|
tabName: string;
|
|
537
1096
|
target: string;
|
|
538
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;
|
|
1113
|
+
tabName: string;
|
|
1114
|
+
target: string;
|
|
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, {
|
|
1153
|
+
session: string;
|
|
1154
|
+
tabName: string;
|
|
1155
|
+
id: string;
|
|
539
1156
|
action: "wait";
|
|
540
1157
|
headless?: boolean | undefined;
|
|
541
1158
|
configPath?: string | undefined;
|
|
@@ -549,11 +1166,13 @@ 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
|
}, {
|
|
554
1174
|
session: string;
|
|
555
1175
|
tabName: string;
|
|
556
|
-
target: string;
|
|
557
1176
|
id: string;
|
|
558
1177
|
action: "wait";
|
|
559
1178
|
headless?: boolean | 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;
|