camou 0.1.0 → 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.
@@ -30,10 +30,10 @@ 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;
33
34
  tabName: string;
34
35
  url: string;
35
36
  id: string;
36
- session: string;
37
37
  action: "open";
38
38
  headless?: boolean | undefined;
39
39
  configPath?: string | undefined;
@@ -48,10 +48,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
48
48
  height?: number | undefined;
49
49
  browser?: string | undefined;
50
50
  }, {
51
+ session: string;
51
52
  tabName: string;
52
53
  url: string;
53
54
  id: string;
54
- session: string;
55
55
  action: "open";
56
56
  headless?: boolean | undefined;
57
57
  configPath?: string | undefined;
@@ -86,10 +86,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
86
86
  action: z.ZodLiteral<"snapshot">;
87
87
  interactive: z.ZodDefault<z.ZodBoolean>;
88
88
  }, "strip", z.ZodTypeAny, {
89
+ session: string;
89
90
  interactive: boolean;
90
91
  tabName: string;
91
92
  id: string;
92
- session: string;
93
93
  action: "snapshot";
94
94
  headless?: boolean | undefined;
95
95
  configPath?: string | undefined;
@@ -104,9 +104,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
104
104
  height?: number | undefined;
105
105
  browser?: string | undefined;
106
106
  }, {
107
+ session: string;
107
108
  tabName: string;
108
109
  id: string;
109
- session: string;
110
110
  action: "snapshot";
111
111
  headless?: boolean | undefined;
112
112
  configPath?: string | undefined;
@@ -142,10 +142,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
142
142
  action: z.ZodLiteral<"click">;
143
143
  target: z.ZodString;
144
144
  }, "strip", z.ZodTypeAny, {
145
+ session: string;
145
146
  tabName: string;
146
147
  target: string;
147
148
  id: string;
148
- session: string;
149
149
  action: "click";
150
150
  headless?: boolean | undefined;
151
151
  configPath?: string | undefined;
@@ -160,10 +160,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
160
160
  height?: number | undefined;
161
161
  browser?: string | undefined;
162
162
  }, {
163
+ session: string;
163
164
  tabName: string;
164
165
  target: string;
165
166
  id: string;
166
- session: string;
167
167
  action: "click";
168
168
  headless?: boolean | undefined;
169
169
  configPath?: string | undefined;
@@ -199,11 +199,11 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
199
199
  target: z.ZodString;
200
200
  text: z.ZodString;
201
201
  }, "strip", z.ZodTypeAny, {
202
+ session: string;
202
203
  text: string;
203
204
  tabName: string;
204
205
  target: string;
205
206
  id: string;
206
- session: string;
207
207
  action: "fill";
208
208
  headless?: boolean | undefined;
209
209
  configPath?: string | undefined;
@@ -218,11 +218,11 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
218
218
  height?: number | undefined;
219
219
  browser?: string | undefined;
220
220
  }, {
221
+ session: string;
221
222
  text: string;
222
223
  tabName: string;
223
224
  target: string;
224
225
  id: string;
225
- session: string;
226
226
  action: "fill";
227
227
  headless?: boolean | undefined;
228
228
  configPath?: string | undefined;
@@ -258,9 +258,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
258
258
  key: z.ZodString;
259
259
  }, "strip", z.ZodTypeAny, {
260
260
  key: string;
261
+ session: string;
261
262
  tabName: string;
262
263
  id: string;
263
- session: string;
264
264
  action: "press";
265
265
  headless?: boolean | undefined;
266
266
  configPath?: string | undefined;
@@ -276,9 +276,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
276
276
  browser?: string | undefined;
277
277
  }, {
278
278
  key: string;
279
+ session: string;
279
280
  tabName: string;
280
281
  id: string;
281
- session: string;
282
282
  action: "press";
283
283
  headless?: boolean | undefined;
284
284
  configPath?: string | undefined;
@@ -313,9 +313,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
313
313
  action: z.ZodLiteral<"screenshot">;
314
314
  path: z.ZodOptional<z.ZodString>;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ session: string;
316
317
  tabName: string;
317
318
  id: string;
318
- session: string;
319
319
  action: "screenshot";
320
320
  path?: string | undefined;
321
321
  headless?: boolean | undefined;
@@ -331,9 +331,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
331
331
  height?: number | undefined;
332
332
  browser?: string | undefined;
333
333
  }, {
334
+ session: string;
334
335
  tabName: string;
335
336
  id: string;
336
- session: string;
337
337
  action: "screenshot";
338
338
  path?: string | undefined;
339
339
  headless?: boolean | undefined;
@@ -368,9 +368,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
368
368
  } & {
369
369
  action: z.ZodLiteral<"get.url">;
370
370
  }, "strip", z.ZodTypeAny, {
371
+ session: string;
371
372
  tabName: string;
372
373
  id: string;
373
- session: string;
374
374
  action: "get.url";
375
375
  headless?: boolean | undefined;
376
376
  configPath?: string | undefined;
@@ -385,9 +385,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
385
385
  height?: number | undefined;
386
386
  browser?: string | undefined;
387
387
  }, {
388
+ session: string;
388
389
  tabName: string;
389
390
  id: string;
390
- session: string;
391
391
  action: "get.url";
392
392
  headless?: boolean | undefined;
393
393
  configPath?: string | undefined;
@@ -421,9 +421,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
421
421
  } & {
422
422
  action: z.ZodLiteral<"get.title">;
423
423
  }, "strip", z.ZodTypeAny, {
424
+ session: string;
424
425
  tabName: string;
425
426
  id: string;
426
- session: string;
427
427
  action: "get.title";
428
428
  headless?: boolean | undefined;
429
429
  configPath?: string | undefined;
@@ -438,9 +438,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
438
438
  height?: number | undefined;
439
439
  browser?: string | undefined;
440
440
  }, {
441
+ session: string;
441
442
  tabName: string;
442
443
  id: string;
443
- session: string;
444
444
  action: "get.title";
445
445
  headless?: boolean | undefined;
446
446
  configPath?: string | undefined;
@@ -475,10 +475,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
475
475
  action: z.ZodLiteral<"get.text">;
476
476
  target: z.ZodString;
477
477
  }, "strip", z.ZodTypeAny, {
478
+ session: string;
478
479
  tabName: string;
479
480
  target: string;
480
481
  id: string;
481
- session: string;
482
482
  action: "get.text";
483
483
  headless?: boolean | undefined;
484
484
  configPath?: string | undefined;
@@ -493,10 +493,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
493
493
  height?: number | undefined;
494
494
  browser?: string | undefined;
495
495
  }, {
496
+ session: string;
496
497
  tabName: string;
497
498
  target: string;
498
499
  id: string;
499
- session: string;
500
500
  action: "get.text";
501
501
  headless?: boolean | undefined;
502
502
  configPath?: string | undefined;
@@ -532,10 +532,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
532
532
  target: z.ZodString;
533
533
  timeoutMs: z.ZodOptional<z.ZodNumber>;
534
534
  }, "strip", z.ZodTypeAny, {
535
+ session: string;
535
536
  tabName: string;
536
537
  target: string;
537
538
  id: string;
538
- session: string;
539
539
  action: "wait";
540
540
  headless?: boolean | undefined;
541
541
  configPath?: string | undefined;
@@ -551,10 +551,10 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
551
551
  browser?: string | undefined;
552
552
  timeoutMs?: number | undefined;
553
553
  }, {
554
+ session: string;
554
555
  tabName: string;
555
556
  target: string;
556
557
  id: string;
557
- session: string;
558
558
  action: "wait";
559
559
  headless?: boolean | undefined;
560
560
  configPath?: string | undefined;
@@ -583,24 +583,24 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
583
583
  action: z.ZodLiteral<"session.stop">;
584
584
  session: z.ZodString;
585
585
  }, "strip", z.ZodTypeAny, {
586
- id: string;
587
586
  session: string;
587
+ id: string;
588
588
  action: "session.stop";
589
589
  }, {
590
- id: string;
591
590
  session: string;
591
+ id: string;
592
592
  action: "session.stop";
593
593
  }>, z.ZodObject<{
594
594
  id: z.ZodString;
595
595
  action: z.ZodLiteral<"tab.list">;
596
596
  session: z.ZodString;
597
597
  }, "strip", z.ZodTypeAny, {
598
- id: string;
599
598
  session: string;
599
+ id: string;
600
600
  action: "tab.list";
601
601
  }, {
602
- id: string;
603
602
  session: string;
603
+ id: string;
604
604
  action: "tab.list";
605
605
  }>, z.ZodObject<{
606
606
  headless: z.ZodOptional<z.ZodBoolean>;
@@ -623,9 +623,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
623
623
  action: z.ZodLiteral<"tab.new">;
624
624
  url: z.ZodOptional<z.ZodString>;
625
625
  }, "strip", z.ZodTypeAny, {
626
+ session: string;
626
627
  tabName: string;
627
628
  id: string;
628
- session: string;
629
629
  action: "tab.new";
630
630
  headless?: boolean | undefined;
631
631
  configPath?: string | undefined;
@@ -641,9 +641,9 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
641
641
  browser?: string | undefined;
642
642
  url?: string | undefined;
643
643
  }, {
644
+ session: string;
644
645
  tabName: string;
645
646
  id: string;
646
- session: string;
647
647
  action: "tab.new";
648
648
  headless?: boolean | undefined;
649
649
  configPath?: string | undefined;
@@ -664,14 +664,14 @@ export declare const daemonRequestSchema: z.ZodDiscriminatedUnion<"action", [z.Z
664
664
  session: z.ZodString;
665
665
  target: z.ZodString;
666
666
  }, "strip", z.ZodTypeAny, {
667
+ session: string;
667
668
  target: string;
668
669
  id: string;
669
- session: string;
670
670
  action: "tab.close";
671
671
  }, {
672
+ session: string;
672
673
  target: string;
673
674
  id: string;
674
- session: string;
675
675
  action: "tab.close";
676
676
  }>]>;
677
677
  declare const successResponseSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camou",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "CLI and local daemon for driving Camoufox through Playwright",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,6 +11,15 @@
11
11
  "url": "https://github.com/txchen/camoucli/issues"
12
12
  },
13
13
  "type": "module",
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./package.json": "./package.json"
22
+ },
14
23
  "bin": {
15
24
  "camou": "dist/cli/main.js",
16
25
  "camou-daemon": "dist/daemon/main.js"
@@ -18,6 +27,7 @@
18
27
  "files": [
19
28
  "dist",
20
29
  "README.md",
30
+ "CHANGELOG.md",
21
31
  "LICENSE*"
22
32
  ],
23
33
  "engines": {