@ia-qa/pal 1.7.1 → 1.8.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.
@@ -103,5 +103,727 @@ export declare const TOOLS: ({
103
103
  required?: undefined;
104
104
  };
105
105
  })[];
106
+ /** pal's own four, then the siblings' — the names never collide, and a test keeps it so. */
107
+ export declare const ALL_TOOLS: ({
108
+ name: string;
109
+ description: string;
110
+ inputSchema: {
111
+ type: string;
112
+ properties: {
113
+ project_dir: {
114
+ type: string;
115
+ description: string;
116
+ };
117
+ url?: undefined;
118
+ login?: undefined;
119
+ session_file?: undefined;
120
+ tests?: undefined;
121
+ more?: undefined;
122
+ suite?: undefined;
123
+ strict?: undefined;
124
+ all_contracts?: undefined;
125
+ batch?: undefined;
126
+ persona?: undefined;
127
+ };
128
+ required?: undefined;
129
+ };
130
+ } | {
131
+ name: string;
132
+ description: string;
133
+ inputSchema: {
134
+ type: string;
135
+ properties: {
136
+ url: {
137
+ type: string;
138
+ description: string;
139
+ };
140
+ login: {
141
+ type: string;
142
+ enum: string[];
143
+ description: string;
144
+ };
145
+ session_file: {
146
+ type: string;
147
+ description: string;
148
+ };
149
+ tests: {
150
+ type: string;
151
+ items: {
152
+ type: string;
153
+ };
154
+ description: string;
155
+ };
156
+ project_dir: {
157
+ type: string;
158
+ description: string;
159
+ };
160
+ more?: undefined;
161
+ suite?: undefined;
162
+ strict?: undefined;
163
+ all_contracts?: undefined;
164
+ batch?: undefined;
165
+ persona?: undefined;
166
+ };
167
+ required: string[];
168
+ };
169
+ } | {
170
+ name: string;
171
+ description: string;
172
+ inputSchema: {
173
+ type: string;
174
+ properties: {
175
+ more: {
176
+ type: string;
177
+ description: string;
178
+ };
179
+ suite: {
180
+ type: string;
181
+ description: string;
182
+ };
183
+ strict: {
184
+ type: string;
185
+ description: string;
186
+ };
187
+ all_contracts: {
188
+ type: string;
189
+ description: string;
190
+ };
191
+ batch: {
192
+ type: string;
193
+ description: string;
194
+ };
195
+ persona: {
196
+ type: string;
197
+ description: string;
198
+ };
199
+ project_dir: {
200
+ type: string;
201
+ description: string;
202
+ };
203
+ url?: undefined;
204
+ login?: undefined;
205
+ session_file?: undefined;
206
+ tests?: undefined;
207
+ };
208
+ required?: undefined;
209
+ };
210
+ } | {
211
+ name: string;
212
+ description: string;
213
+ inputSchema: {
214
+ type: string;
215
+ properties: {
216
+ url: {
217
+ type: string;
218
+ description: string;
219
+ };
220
+ page_name: {
221
+ type: string;
222
+ description: string;
223
+ };
224
+ out_dir: {
225
+ type: string;
226
+ description: string;
227
+ };
228
+ wait_for_selector: {
229
+ type: string;
230
+ description: string;
231
+ };
232
+ wait_until: {
233
+ type: string;
234
+ enum: string[];
235
+ description: string;
236
+ };
237
+ browser_channel: {
238
+ type: string;
239
+ description: string;
240
+ };
241
+ browser_path: {
242
+ type: string;
243
+ description: string;
244
+ };
245
+ locale: {
246
+ type: string;
247
+ description: string;
248
+ };
249
+ before_path?: undefined;
250
+ after_path?: undefined;
251
+ before_json?: undefined;
252
+ after_json?: undefined;
253
+ test_paths?: undefined;
254
+ dry_run?: undefined;
255
+ use_locators?: undefined;
256
+ provider?: undefined;
257
+ model?: undefined;
258
+ api_key_env?: undefined;
259
+ min_confidence?: undefined;
260
+ write?: undefined;
261
+ junit_path?: undefined;
262
+ failure_text?: undefined;
263
+ offline?: undefined;
264
+ concurrency?: undefined;
265
+ limit?: undefined;
266
+ };
267
+ required: string[];
268
+ };
269
+ } | {
270
+ name: string;
271
+ description: string;
272
+ inputSchema: {
273
+ type: string;
274
+ properties: {
275
+ before_path: {
276
+ type: string;
277
+ description: string;
278
+ };
279
+ after_path: {
280
+ type: string;
281
+ description: string;
282
+ };
283
+ before_json: {
284
+ type: string;
285
+ description: string;
286
+ };
287
+ after_json: {
288
+ type: string;
289
+ description: string;
290
+ };
291
+ url?: undefined;
292
+ page_name?: undefined;
293
+ out_dir?: undefined;
294
+ wait_for_selector?: undefined;
295
+ wait_until?: undefined;
296
+ browser_channel?: undefined;
297
+ browser_path?: undefined;
298
+ locale?: undefined;
299
+ test_paths?: undefined;
300
+ dry_run?: undefined;
301
+ use_locators?: undefined;
302
+ provider?: undefined;
303
+ model?: undefined;
304
+ api_key_env?: undefined;
305
+ min_confidence?: undefined;
306
+ write?: undefined;
307
+ junit_path?: undefined;
308
+ failure_text?: undefined;
309
+ offline?: undefined;
310
+ concurrency?: undefined;
311
+ limit?: undefined;
312
+ };
313
+ required?: undefined;
314
+ };
315
+ } | {
316
+ name: string;
317
+ description: string;
318
+ inputSchema: {
319
+ type: string;
320
+ properties: {
321
+ before_path: {
322
+ type: string;
323
+ description: string;
324
+ };
325
+ after_path: {
326
+ type: string;
327
+ description: string;
328
+ };
329
+ before_json: {
330
+ type: string;
331
+ description: string;
332
+ };
333
+ after_json: {
334
+ type: string;
335
+ description: string;
336
+ };
337
+ test_paths: {
338
+ type: string;
339
+ items: {
340
+ type: string;
341
+ };
342
+ description: string;
343
+ };
344
+ dry_run: {
345
+ type: string;
346
+ description: string;
347
+ };
348
+ use_locators: {
349
+ type: string;
350
+ description: string;
351
+ };
352
+ url?: undefined;
353
+ page_name?: undefined;
354
+ out_dir?: undefined;
355
+ wait_for_selector?: undefined;
356
+ wait_until?: undefined;
357
+ browser_channel?: undefined;
358
+ browser_path?: undefined;
359
+ locale?: undefined;
360
+ provider?: undefined;
361
+ model?: undefined;
362
+ api_key_env?: undefined;
363
+ min_confidence?: undefined;
364
+ write?: undefined;
365
+ junit_path?: undefined;
366
+ failure_text?: undefined;
367
+ offline?: undefined;
368
+ concurrency?: undefined;
369
+ limit?: undefined;
370
+ };
371
+ required: string[];
372
+ };
373
+ } | {
374
+ name: string;
375
+ description: string;
376
+ inputSchema: {
377
+ type: string;
378
+ properties: {
379
+ before_path: {
380
+ type: string;
381
+ description: string;
382
+ };
383
+ after_path: {
384
+ type: string;
385
+ description: string;
386
+ };
387
+ before_json: {
388
+ type: string;
389
+ description: string;
390
+ };
391
+ after_json: {
392
+ type: string;
393
+ description: string;
394
+ };
395
+ provider: {
396
+ type: string;
397
+ enum: string[];
398
+ description: string;
399
+ };
400
+ model: {
401
+ type: string;
402
+ description: string;
403
+ };
404
+ api_key_env: {
405
+ type: string;
406
+ description: string;
407
+ };
408
+ min_confidence: {
409
+ type: string;
410
+ description: string;
411
+ };
412
+ url?: undefined;
413
+ page_name?: undefined;
414
+ out_dir?: undefined;
415
+ wait_for_selector?: undefined;
416
+ wait_until?: undefined;
417
+ browser_channel?: undefined;
418
+ browser_path?: undefined;
419
+ locale?: undefined;
420
+ test_paths?: undefined;
421
+ dry_run?: undefined;
422
+ use_locators?: undefined;
423
+ write?: undefined;
424
+ junit_path?: undefined;
425
+ failure_text?: undefined;
426
+ offline?: undefined;
427
+ concurrency?: undefined;
428
+ limit?: undefined;
429
+ };
430
+ required: string[];
431
+ };
432
+ } | {
433
+ name: string;
434
+ description: string;
435
+ inputSchema: {
436
+ type: string;
437
+ properties: {
438
+ test_paths: {
439
+ type: string;
440
+ items: {
441
+ type: string;
442
+ };
443
+ description: string;
444
+ };
445
+ write: {
446
+ type: string;
447
+ description: string;
448
+ };
449
+ url?: undefined;
450
+ page_name?: undefined;
451
+ out_dir?: undefined;
452
+ wait_for_selector?: undefined;
453
+ wait_until?: undefined;
454
+ browser_channel?: undefined;
455
+ browser_path?: undefined;
456
+ locale?: undefined;
457
+ before_path?: undefined;
458
+ after_path?: undefined;
459
+ before_json?: undefined;
460
+ after_json?: undefined;
461
+ dry_run?: undefined;
462
+ use_locators?: undefined;
463
+ provider?: undefined;
464
+ model?: undefined;
465
+ api_key_env?: undefined;
466
+ min_confidence?: undefined;
467
+ junit_path?: undefined;
468
+ failure_text?: undefined;
469
+ offline?: undefined;
470
+ concurrency?: undefined;
471
+ limit?: undefined;
472
+ };
473
+ required?: undefined;
474
+ };
475
+ } | {
476
+ name: string;
477
+ description: string;
478
+ inputSchema: {
479
+ type: string;
480
+ properties: {
481
+ test_paths: {
482
+ type: string;
483
+ items: {
484
+ type: string;
485
+ };
486
+ description: string;
487
+ };
488
+ url?: undefined;
489
+ page_name?: undefined;
490
+ out_dir?: undefined;
491
+ wait_for_selector?: undefined;
492
+ wait_until?: undefined;
493
+ browser_channel?: undefined;
494
+ browser_path?: undefined;
495
+ locale?: undefined;
496
+ before_path?: undefined;
497
+ after_path?: undefined;
498
+ before_json?: undefined;
499
+ after_json?: undefined;
500
+ dry_run?: undefined;
501
+ use_locators?: undefined;
502
+ provider?: undefined;
503
+ model?: undefined;
504
+ api_key_env?: undefined;
505
+ min_confidence?: undefined;
506
+ write?: undefined;
507
+ junit_path?: undefined;
508
+ failure_text?: undefined;
509
+ offline?: undefined;
510
+ concurrency?: undefined;
511
+ limit?: undefined;
512
+ };
513
+ required?: undefined;
514
+ };
515
+ } | {
516
+ name: string;
517
+ description: string;
518
+ inputSchema: {
519
+ type: string;
520
+ properties: {
521
+ junit_path: {
522
+ type: string;
523
+ description: string;
524
+ };
525
+ failure_text: {
526
+ type: string;
527
+ description: string;
528
+ };
529
+ url?: undefined;
530
+ page_name?: undefined;
531
+ out_dir?: undefined;
532
+ wait_for_selector?: undefined;
533
+ wait_until?: undefined;
534
+ browser_channel?: undefined;
535
+ browser_path?: undefined;
536
+ locale?: undefined;
537
+ before_path?: undefined;
538
+ after_path?: undefined;
539
+ before_json?: undefined;
540
+ after_json?: undefined;
541
+ test_paths?: undefined;
542
+ dry_run?: undefined;
543
+ use_locators?: undefined;
544
+ provider?: undefined;
545
+ model?: undefined;
546
+ api_key_env?: undefined;
547
+ min_confidence?: undefined;
548
+ write?: undefined;
549
+ offline?: undefined;
550
+ concurrency?: undefined;
551
+ limit?: undefined;
552
+ };
553
+ required?: undefined;
554
+ };
555
+ } | {
556
+ name: string;
557
+ description: string;
558
+ inputSchema: {
559
+ type: string;
560
+ properties: {
561
+ offline: {
562
+ type: string;
563
+ description: string;
564
+ };
565
+ concurrency: {
566
+ type: string;
567
+ description: string;
568
+ };
569
+ url?: undefined;
570
+ page_name?: undefined;
571
+ out_dir?: undefined;
572
+ wait_for_selector?: undefined;
573
+ wait_until?: undefined;
574
+ browser_channel?: undefined;
575
+ browser_path?: undefined;
576
+ locale?: undefined;
577
+ before_path?: undefined;
578
+ after_path?: undefined;
579
+ before_json?: undefined;
580
+ after_json?: undefined;
581
+ test_paths?: undefined;
582
+ dry_run?: undefined;
583
+ use_locators?: undefined;
584
+ provider?: undefined;
585
+ model?: undefined;
586
+ api_key_env?: undefined;
587
+ min_confidence?: undefined;
588
+ write?: undefined;
589
+ junit_path?: undefined;
590
+ failure_text?: undefined;
591
+ limit?: undefined;
592
+ };
593
+ required?: undefined;
594
+ };
595
+ } | {
596
+ name: string;
597
+ description: string;
598
+ inputSchema: {
599
+ type: string;
600
+ properties: {
601
+ limit: {
602
+ type: string;
603
+ description: string;
604
+ };
605
+ url?: undefined;
606
+ page_name?: undefined;
607
+ out_dir?: undefined;
608
+ wait_for_selector?: undefined;
609
+ wait_until?: undefined;
610
+ browser_channel?: undefined;
611
+ browser_path?: undefined;
612
+ locale?: undefined;
613
+ before_path?: undefined;
614
+ after_path?: undefined;
615
+ before_json?: undefined;
616
+ after_json?: undefined;
617
+ test_paths?: undefined;
618
+ dry_run?: undefined;
619
+ use_locators?: undefined;
620
+ provider?: undefined;
621
+ model?: undefined;
622
+ api_key_env?: undefined;
623
+ min_confidence?: undefined;
624
+ write?: undefined;
625
+ junit_path?: undefined;
626
+ failure_text?: undefined;
627
+ offline?: undefined;
628
+ concurrency?: undefined;
629
+ };
630
+ required?: undefined;
631
+ };
632
+ } | {
633
+ name: string;
634
+ description: string;
635
+ inputSchema: {
636
+ type: string;
637
+ properties: {
638
+ url: {
639
+ type: string;
640
+ description: string;
641
+ };
642
+ max_depth: {
643
+ type: string;
644
+ description: string;
645
+ };
646
+ max_pages: {
647
+ type: string;
648
+ description: string;
649
+ };
650
+ reveal: {
651
+ type: string;
652
+ description: string;
653
+ };
654
+ session: {
655
+ type: string;
656
+ description: string;
657
+ };
658
+ network: {
659
+ type: string;
660
+ description: string;
661
+ };
662
+ network_threshold: {
663
+ type: string;
664
+ description: string;
665
+ };
666
+ out_dir: {
667
+ type: string;
668
+ description: string;
669
+ };
670
+ write: {
671
+ type: string;
672
+ description: string;
673
+ };
674
+ page?: undefined;
675
+ provider?: undefined;
676
+ model?: undefined;
677
+ api_key_env?: undefined;
678
+ all?: undefined;
679
+ limit?: undefined;
680
+ };
681
+ };
682
+ } | {
683
+ name: string;
684
+ description: string;
685
+ inputSchema: {
686
+ type: string;
687
+ properties: {
688
+ page: {
689
+ type: string;
690
+ description: string;
691
+ };
692
+ provider: {
693
+ type: string;
694
+ enum: string[];
695
+ description: string;
696
+ };
697
+ model: {
698
+ type: string;
699
+ description: string;
700
+ };
701
+ api_key_env: {
702
+ type: string;
703
+ description: string;
704
+ };
705
+ write: {
706
+ type: string;
707
+ description: string;
708
+ };
709
+ out_dir: {
710
+ type: string;
711
+ description: string;
712
+ };
713
+ url?: undefined;
714
+ max_depth?: undefined;
715
+ max_pages?: undefined;
716
+ reveal?: undefined;
717
+ session?: undefined;
718
+ network?: undefined;
719
+ network_threshold?: undefined;
720
+ all?: undefined;
721
+ limit?: undefined;
722
+ };
723
+ };
724
+ } | {
725
+ name: string;
726
+ description: string;
727
+ inputSchema: {
728
+ type: string;
729
+ properties: {
730
+ page: {
731
+ type: string;
732
+ description: string;
733
+ };
734
+ all: {
735
+ type: string;
736
+ description: string;
737
+ };
738
+ provider: {
739
+ type: string;
740
+ enum: string[];
741
+ description: string;
742
+ };
743
+ model: {
744
+ type: string;
745
+ description: string;
746
+ };
747
+ api_key_env: {
748
+ type: string;
749
+ description: string;
750
+ };
751
+ write: {
752
+ type: string;
753
+ description: string;
754
+ };
755
+ out_dir: {
756
+ type: string;
757
+ description: string;
758
+ };
759
+ url?: undefined;
760
+ max_depth?: undefined;
761
+ max_pages?: undefined;
762
+ reveal?: undefined;
763
+ session?: undefined;
764
+ network?: undefined;
765
+ network_threshold?: undefined;
766
+ limit?: undefined;
767
+ };
768
+ };
769
+ } | {
770
+ name: string;
771
+ description: string;
772
+ inputSchema: {
773
+ type: string;
774
+ properties: {
775
+ out_dir: {
776
+ type: string;
777
+ description: string;
778
+ };
779
+ write: {
780
+ type: string;
781
+ description: string;
782
+ };
783
+ url?: undefined;
784
+ max_depth?: undefined;
785
+ max_pages?: undefined;
786
+ reveal?: undefined;
787
+ session?: undefined;
788
+ network?: undefined;
789
+ network_threshold?: undefined;
790
+ page?: undefined;
791
+ provider?: undefined;
792
+ model?: undefined;
793
+ api_key_env?: undefined;
794
+ all?: undefined;
795
+ limit?: undefined;
796
+ };
797
+ };
798
+ } | {
799
+ name: string;
800
+ description: string;
801
+ inputSchema: {
802
+ type: string;
803
+ properties: {
804
+ limit: {
805
+ type: string;
806
+ description: string;
807
+ };
808
+ url?: undefined;
809
+ max_depth?: undefined;
810
+ max_pages?: undefined;
811
+ reveal?: undefined;
812
+ session?: undefined;
813
+ network?: undefined;
814
+ network_threshold?: undefined;
815
+ out_dir?: undefined;
816
+ write?: undefined;
817
+ page?: undefined;
818
+ provider?: undefined;
819
+ model?: undefined;
820
+ api_key_env?: undefined;
821
+ all?: undefined;
822
+ };
823
+ };
824
+ })[];
825
+ export declare function siblingFor(name: unknown): {
826
+ callTool: (name: string, args: any) => Promise<string>;
827
+ } | null;
106
828
  export declare function projectDir(given: unknown, root?: string): string;
107
829
  export declare function callTool(name: string, args: Record<string, any>, root?: string): Promise<unknown>;