@vibe-agent-toolkit/resources 0.1.29 → 0.1.30-rc.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export {
|
|
2
|
+
export { ValidationConfigSchema } from '@vibe-agent-toolkit/agent-schema';
|
|
3
3
|
/**
|
|
4
4
|
* Validation mode for frontmatter schema validation.
|
|
5
5
|
*
|
|
@@ -387,16 +387,36 @@ export declare const SkillPackagingConfigSchema: z.ZodObject<{
|
|
|
387
387
|
}[] | undefined;
|
|
388
388
|
defaultTemplate?: string | undefined;
|
|
389
389
|
}>>;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
severity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["error", "warning", "ignore"]>>>;
|
|
392
|
+
accept: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
393
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
394
|
+
reason: z.ZodString;
|
|
395
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, "strict", z.ZodTypeAny, {
|
|
397
|
+
paths: string[];
|
|
398
|
+
reason: string;
|
|
399
|
+
expires?: string | undefined;
|
|
400
|
+
}, {
|
|
401
|
+
paths: string[];
|
|
402
|
+
reason: string;
|
|
403
|
+
expires?: string | undefined;
|
|
404
|
+
}>, "many">>>;
|
|
405
|
+
}, "strict", z.ZodTypeAny, {
|
|
406
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
407
|
+
accept?: Record<string, {
|
|
408
|
+
paths: string[];
|
|
409
|
+
reason: string;
|
|
410
|
+
expires?: string | undefined;
|
|
411
|
+
}[]> | undefined;
|
|
396
412
|
}, {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
413
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
414
|
+
accept?: Record<string, {
|
|
415
|
+
paths: string[];
|
|
416
|
+
reason: string;
|
|
417
|
+
expires?: string | undefined;
|
|
418
|
+
}[]> | undefined;
|
|
419
|
+
}>>;
|
|
400
420
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
401
421
|
source: z.ZodString;
|
|
402
422
|
dest: z.ZodString;
|
|
@@ -407,7 +427,15 @@ export declare const SkillPackagingConfigSchema: z.ZodObject<{
|
|
|
407
427
|
source: string;
|
|
408
428
|
dest: string;
|
|
409
429
|
}>, "many">>;
|
|
410
|
-
}, "
|
|
430
|
+
}, "strict", z.ZodTypeAny, {
|
|
431
|
+
validation?: {
|
|
432
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
433
|
+
accept?: Record<string, {
|
|
434
|
+
paths: string[];
|
|
435
|
+
reason: string;
|
|
436
|
+
expires?: string | undefined;
|
|
437
|
+
}[]> | undefined;
|
|
438
|
+
} | undefined;
|
|
411
439
|
publish?: boolean | undefined;
|
|
412
440
|
linkFollowDepth?: number | "full" | undefined;
|
|
413
441
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -420,15 +448,19 @@ export declare const SkillPackagingConfigSchema: z.ZodObject<{
|
|
|
420
448
|
}[];
|
|
421
449
|
defaultTemplate?: string | undefined;
|
|
422
450
|
} | undefined;
|
|
423
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
424
|
-
reason: string;
|
|
425
|
-
expires?: string | undefined;
|
|
426
|
-
}> | undefined;
|
|
427
451
|
files?: {
|
|
428
452
|
source: string;
|
|
429
453
|
dest: string;
|
|
430
454
|
}[] | undefined;
|
|
431
455
|
}, {
|
|
456
|
+
validation?: {
|
|
457
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
458
|
+
accept?: Record<string, {
|
|
459
|
+
paths: string[];
|
|
460
|
+
reason: string;
|
|
461
|
+
expires?: string | undefined;
|
|
462
|
+
}[]> | undefined;
|
|
463
|
+
} | undefined;
|
|
432
464
|
publish?: boolean | undefined;
|
|
433
465
|
linkFollowDepth?: number | "full" | undefined;
|
|
434
466
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -441,10 +473,6 @@ export declare const SkillPackagingConfigSchema: z.ZodObject<{
|
|
|
441
473
|
}[] | undefined;
|
|
442
474
|
defaultTemplate?: string | undefined;
|
|
443
475
|
} | undefined;
|
|
444
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
445
|
-
reason: string;
|
|
446
|
-
expires?: string | undefined;
|
|
447
|
-
}> | undefined;
|
|
448
476
|
files?: {
|
|
449
477
|
source: string;
|
|
450
478
|
dest: string;
|
|
@@ -490,16 +518,36 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
490
518
|
}[] | undefined;
|
|
491
519
|
defaultTemplate?: string | undefined;
|
|
492
520
|
}>>;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
521
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
severity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["error", "warning", "ignore"]>>>;
|
|
523
|
+
accept: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
524
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
525
|
+
reason: z.ZodString;
|
|
526
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
527
|
+
}, "strict", z.ZodTypeAny, {
|
|
528
|
+
paths: string[];
|
|
529
|
+
reason: string;
|
|
530
|
+
expires?: string | undefined;
|
|
531
|
+
}, {
|
|
532
|
+
paths: string[];
|
|
533
|
+
reason: string;
|
|
534
|
+
expires?: string | undefined;
|
|
535
|
+
}>, "many">>>;
|
|
536
|
+
}, "strict", z.ZodTypeAny, {
|
|
537
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
538
|
+
accept?: Record<string, {
|
|
539
|
+
paths: string[];
|
|
540
|
+
reason: string;
|
|
541
|
+
expires?: string | undefined;
|
|
542
|
+
}[]> | undefined;
|
|
499
543
|
}, {
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
544
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
545
|
+
accept?: Record<string, {
|
|
546
|
+
paths: string[];
|
|
547
|
+
reason: string;
|
|
548
|
+
expires?: string | undefined;
|
|
549
|
+
}[]> | undefined;
|
|
550
|
+
}>>;
|
|
503
551
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
504
552
|
source: z.ZodString;
|
|
505
553
|
dest: z.ZodString;
|
|
@@ -510,7 +558,15 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
510
558
|
source: string;
|
|
511
559
|
dest: string;
|
|
512
560
|
}>, "many">>;
|
|
513
|
-
}, "
|
|
561
|
+
}, "strict", z.ZodTypeAny, {
|
|
562
|
+
validation?: {
|
|
563
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
564
|
+
accept?: Record<string, {
|
|
565
|
+
paths: string[];
|
|
566
|
+
reason: string;
|
|
567
|
+
expires?: string | undefined;
|
|
568
|
+
}[]> | undefined;
|
|
569
|
+
} | undefined;
|
|
514
570
|
publish?: boolean | undefined;
|
|
515
571
|
linkFollowDepth?: number | "full" | undefined;
|
|
516
572
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -523,15 +579,19 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
523
579
|
}[];
|
|
524
580
|
defaultTemplate?: string | undefined;
|
|
525
581
|
} | undefined;
|
|
526
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
527
|
-
reason: string;
|
|
528
|
-
expires?: string | undefined;
|
|
529
|
-
}> | undefined;
|
|
530
582
|
files?: {
|
|
531
583
|
source: string;
|
|
532
584
|
dest: string;
|
|
533
585
|
}[] | undefined;
|
|
534
586
|
}, {
|
|
587
|
+
validation?: {
|
|
588
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
589
|
+
accept?: Record<string, {
|
|
590
|
+
paths: string[];
|
|
591
|
+
reason: string;
|
|
592
|
+
expires?: string | undefined;
|
|
593
|
+
}[]> | undefined;
|
|
594
|
+
} | undefined;
|
|
535
595
|
publish?: boolean | undefined;
|
|
536
596
|
linkFollowDepth?: number | "full" | undefined;
|
|
537
597
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -544,10 +604,6 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
544
604
|
}[] | undefined;
|
|
545
605
|
defaultTemplate?: string | undefined;
|
|
546
606
|
} | undefined;
|
|
547
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
548
|
-
reason: string;
|
|
549
|
-
expires?: string | undefined;
|
|
550
|
-
}> | undefined;
|
|
551
607
|
files?: {
|
|
552
608
|
source: string;
|
|
553
609
|
dest: string;
|
|
@@ -584,16 +640,36 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
584
640
|
}[] | undefined;
|
|
585
641
|
defaultTemplate?: string | undefined;
|
|
586
642
|
}>>;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
643
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
644
|
+
severity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["error", "warning", "ignore"]>>>;
|
|
645
|
+
accept: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
646
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
647
|
+
reason: z.ZodString;
|
|
648
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
649
|
+
}, "strict", z.ZodTypeAny, {
|
|
650
|
+
paths: string[];
|
|
651
|
+
reason: string;
|
|
652
|
+
expires?: string | undefined;
|
|
653
|
+
}, {
|
|
654
|
+
paths: string[];
|
|
655
|
+
reason: string;
|
|
656
|
+
expires?: string | undefined;
|
|
657
|
+
}>, "many">>>;
|
|
658
|
+
}, "strict", z.ZodTypeAny, {
|
|
659
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
660
|
+
accept?: Record<string, {
|
|
661
|
+
paths: string[];
|
|
662
|
+
reason: string;
|
|
663
|
+
expires?: string | undefined;
|
|
664
|
+
}[]> | undefined;
|
|
593
665
|
}, {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
666
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
667
|
+
accept?: Record<string, {
|
|
668
|
+
paths: string[];
|
|
669
|
+
reason: string;
|
|
670
|
+
expires?: string | undefined;
|
|
671
|
+
}[]> | undefined;
|
|
672
|
+
}>>;
|
|
597
673
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
598
674
|
source: z.ZodString;
|
|
599
675
|
dest: z.ZodString;
|
|
@@ -604,7 +680,15 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
604
680
|
source: string;
|
|
605
681
|
dest: string;
|
|
606
682
|
}>, "many">>;
|
|
607
|
-
}, "
|
|
683
|
+
}, "strict", z.ZodTypeAny, {
|
|
684
|
+
validation?: {
|
|
685
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
686
|
+
accept?: Record<string, {
|
|
687
|
+
paths: string[];
|
|
688
|
+
reason: string;
|
|
689
|
+
expires?: string | undefined;
|
|
690
|
+
}[]> | undefined;
|
|
691
|
+
} | undefined;
|
|
608
692
|
publish?: boolean | undefined;
|
|
609
693
|
linkFollowDepth?: number | "full" | undefined;
|
|
610
694
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -617,15 +701,19 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
617
701
|
}[];
|
|
618
702
|
defaultTemplate?: string | undefined;
|
|
619
703
|
} | undefined;
|
|
620
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
621
|
-
reason: string;
|
|
622
|
-
expires?: string | undefined;
|
|
623
|
-
}> | undefined;
|
|
624
704
|
files?: {
|
|
625
705
|
source: string;
|
|
626
706
|
dest: string;
|
|
627
707
|
}[] | undefined;
|
|
628
708
|
}, {
|
|
709
|
+
validation?: {
|
|
710
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
711
|
+
accept?: Record<string, {
|
|
712
|
+
paths: string[];
|
|
713
|
+
reason: string;
|
|
714
|
+
expires?: string | undefined;
|
|
715
|
+
}[]> | undefined;
|
|
716
|
+
} | undefined;
|
|
629
717
|
publish?: boolean | undefined;
|
|
630
718
|
linkFollowDepth?: number | "full" | undefined;
|
|
631
719
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -638,19 +726,23 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
638
726
|
}[] | undefined;
|
|
639
727
|
defaultTemplate?: string | undefined;
|
|
640
728
|
} | undefined;
|
|
641
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
642
|
-
reason: string;
|
|
643
|
-
expires?: string | undefined;
|
|
644
|
-
}> | undefined;
|
|
645
729
|
files?: {
|
|
646
730
|
source: string;
|
|
647
731
|
dest: string;
|
|
648
732
|
}[] | undefined;
|
|
649
733
|
}>>>;
|
|
650
|
-
}, "
|
|
734
|
+
}, "strict", z.ZodTypeAny, {
|
|
651
735
|
include: string[];
|
|
652
736
|
exclude?: string[] | undefined;
|
|
653
737
|
defaults?: {
|
|
738
|
+
validation?: {
|
|
739
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
740
|
+
accept?: Record<string, {
|
|
741
|
+
paths: string[];
|
|
742
|
+
reason: string;
|
|
743
|
+
expires?: string | undefined;
|
|
744
|
+
}[]> | undefined;
|
|
745
|
+
} | undefined;
|
|
654
746
|
publish?: boolean | undefined;
|
|
655
747
|
linkFollowDepth?: number | "full" | undefined;
|
|
656
748
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -663,16 +755,20 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
663
755
|
}[];
|
|
664
756
|
defaultTemplate?: string | undefined;
|
|
665
757
|
} | undefined;
|
|
666
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
667
|
-
reason: string;
|
|
668
|
-
expires?: string | undefined;
|
|
669
|
-
}> | undefined;
|
|
670
758
|
files?: {
|
|
671
759
|
source: string;
|
|
672
760
|
dest: string;
|
|
673
761
|
}[] | undefined;
|
|
674
762
|
} | undefined;
|
|
675
763
|
config?: Record<string, {
|
|
764
|
+
validation?: {
|
|
765
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
766
|
+
accept?: Record<string, {
|
|
767
|
+
paths: string[];
|
|
768
|
+
reason: string;
|
|
769
|
+
expires?: string | undefined;
|
|
770
|
+
}[]> | undefined;
|
|
771
|
+
} | undefined;
|
|
676
772
|
publish?: boolean | undefined;
|
|
677
773
|
linkFollowDepth?: number | "full" | undefined;
|
|
678
774
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -685,10 +781,6 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
685
781
|
}[];
|
|
686
782
|
defaultTemplate?: string | undefined;
|
|
687
783
|
} | undefined;
|
|
688
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
689
|
-
reason: string;
|
|
690
|
-
expires?: string | undefined;
|
|
691
|
-
}> | undefined;
|
|
692
784
|
files?: {
|
|
693
785
|
source: string;
|
|
694
786
|
dest: string;
|
|
@@ -698,6 +790,14 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
698
790
|
include: string[];
|
|
699
791
|
exclude?: string[] | undefined;
|
|
700
792
|
defaults?: {
|
|
793
|
+
validation?: {
|
|
794
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
795
|
+
accept?: Record<string, {
|
|
796
|
+
paths: string[];
|
|
797
|
+
reason: string;
|
|
798
|
+
expires?: string | undefined;
|
|
799
|
+
}[]> | undefined;
|
|
800
|
+
} | undefined;
|
|
701
801
|
publish?: boolean | undefined;
|
|
702
802
|
linkFollowDepth?: number | "full" | undefined;
|
|
703
803
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -710,16 +810,20 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
710
810
|
}[] | undefined;
|
|
711
811
|
defaultTemplate?: string | undefined;
|
|
712
812
|
} | undefined;
|
|
713
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
714
|
-
reason: string;
|
|
715
|
-
expires?: string | undefined;
|
|
716
|
-
}> | undefined;
|
|
717
813
|
files?: {
|
|
718
814
|
source: string;
|
|
719
815
|
dest: string;
|
|
720
816
|
}[] | undefined;
|
|
721
817
|
} | undefined;
|
|
722
818
|
config?: Record<string, {
|
|
819
|
+
validation?: {
|
|
820
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
821
|
+
accept?: Record<string, {
|
|
822
|
+
paths: string[];
|
|
823
|
+
reason: string;
|
|
824
|
+
expires?: string | undefined;
|
|
825
|
+
}[]> | undefined;
|
|
826
|
+
} | undefined;
|
|
723
827
|
publish?: boolean | undefined;
|
|
724
828
|
linkFollowDepth?: number | "full" | undefined;
|
|
725
829
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -732,10 +836,6 @@ export declare const SkillsConfigSchema: z.ZodObject<{
|
|
|
732
836
|
}[] | undefined;
|
|
733
837
|
defaultTemplate?: string | undefined;
|
|
734
838
|
} | undefined;
|
|
735
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
736
|
-
reason: string;
|
|
737
|
-
expires?: string | undefined;
|
|
738
|
-
}> | undefined;
|
|
739
839
|
files?: {
|
|
740
840
|
source: string;
|
|
741
841
|
dest: string;
|
|
@@ -1053,16 +1153,36 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1053
1153
|
}[] | undefined;
|
|
1054
1154
|
defaultTemplate?: string | undefined;
|
|
1055
1155
|
}>>;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1156
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
1157
|
+
severity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["error", "warning", "ignore"]>>>;
|
|
1158
|
+
accept: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1159
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
1160
|
+
reason: z.ZodString;
|
|
1161
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
}, "strict", z.ZodTypeAny, {
|
|
1163
|
+
paths: string[];
|
|
1164
|
+
reason: string;
|
|
1165
|
+
expires?: string | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
paths: string[];
|
|
1168
|
+
reason: string;
|
|
1169
|
+
expires?: string | undefined;
|
|
1170
|
+
}>, "many">>>;
|
|
1171
|
+
}, "strict", z.ZodTypeAny, {
|
|
1172
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1173
|
+
accept?: Record<string, {
|
|
1174
|
+
paths: string[];
|
|
1175
|
+
reason: string;
|
|
1176
|
+
expires?: string | undefined;
|
|
1177
|
+
}[]> | undefined;
|
|
1062
1178
|
}, {
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1179
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1180
|
+
accept?: Record<string, {
|
|
1181
|
+
paths: string[];
|
|
1182
|
+
reason: string;
|
|
1183
|
+
expires?: string | undefined;
|
|
1184
|
+
}[]> | undefined;
|
|
1185
|
+
}>>;
|
|
1066
1186
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1067
1187
|
source: z.ZodString;
|
|
1068
1188
|
dest: z.ZodString;
|
|
@@ -1073,7 +1193,15 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1073
1193
|
source: string;
|
|
1074
1194
|
dest: string;
|
|
1075
1195
|
}>, "many">>;
|
|
1076
|
-
}, "
|
|
1196
|
+
}, "strict", z.ZodTypeAny, {
|
|
1197
|
+
validation?: {
|
|
1198
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1199
|
+
accept?: Record<string, {
|
|
1200
|
+
paths: string[];
|
|
1201
|
+
reason: string;
|
|
1202
|
+
expires?: string | undefined;
|
|
1203
|
+
}[]> | undefined;
|
|
1204
|
+
} | undefined;
|
|
1077
1205
|
publish?: boolean | undefined;
|
|
1078
1206
|
linkFollowDepth?: number | "full" | undefined;
|
|
1079
1207
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1086,15 +1214,19 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1086
1214
|
}[];
|
|
1087
1215
|
defaultTemplate?: string | undefined;
|
|
1088
1216
|
} | undefined;
|
|
1089
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1090
|
-
reason: string;
|
|
1091
|
-
expires?: string | undefined;
|
|
1092
|
-
}> | undefined;
|
|
1093
1217
|
files?: {
|
|
1094
1218
|
source: string;
|
|
1095
1219
|
dest: string;
|
|
1096
1220
|
}[] | undefined;
|
|
1097
1221
|
}, {
|
|
1222
|
+
validation?: {
|
|
1223
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1224
|
+
accept?: Record<string, {
|
|
1225
|
+
paths: string[];
|
|
1226
|
+
reason: string;
|
|
1227
|
+
expires?: string | undefined;
|
|
1228
|
+
}[]> | undefined;
|
|
1229
|
+
} | undefined;
|
|
1098
1230
|
publish?: boolean | undefined;
|
|
1099
1231
|
linkFollowDepth?: number | "full" | undefined;
|
|
1100
1232
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1107,10 +1239,6 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1107
1239
|
}[] | undefined;
|
|
1108
1240
|
defaultTemplate?: string | undefined;
|
|
1109
1241
|
} | undefined;
|
|
1110
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1111
|
-
reason: string;
|
|
1112
|
-
expires?: string | undefined;
|
|
1113
|
-
}> | undefined;
|
|
1114
1242
|
files?: {
|
|
1115
1243
|
source: string;
|
|
1116
1244
|
dest: string;
|
|
@@ -1147,16 +1275,36 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1147
1275
|
}[] | undefined;
|
|
1148
1276
|
defaultTemplate?: string | undefined;
|
|
1149
1277
|
}>>;
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1278
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
1279
|
+
severity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["error", "warning", "ignore"]>>>;
|
|
1280
|
+
accept: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1281
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
1282
|
+
reason: z.ZodString;
|
|
1283
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
}, "strict", z.ZodTypeAny, {
|
|
1285
|
+
paths: string[];
|
|
1286
|
+
reason: string;
|
|
1287
|
+
expires?: string | undefined;
|
|
1288
|
+
}, {
|
|
1289
|
+
paths: string[];
|
|
1290
|
+
reason: string;
|
|
1291
|
+
expires?: string | undefined;
|
|
1292
|
+
}>, "many">>>;
|
|
1293
|
+
}, "strict", z.ZodTypeAny, {
|
|
1294
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1295
|
+
accept?: Record<string, {
|
|
1296
|
+
paths: string[];
|
|
1297
|
+
reason: string;
|
|
1298
|
+
expires?: string | undefined;
|
|
1299
|
+
}[]> | undefined;
|
|
1156
1300
|
}, {
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1301
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1302
|
+
accept?: Record<string, {
|
|
1303
|
+
paths: string[];
|
|
1304
|
+
reason: string;
|
|
1305
|
+
expires?: string | undefined;
|
|
1306
|
+
}[]> | undefined;
|
|
1307
|
+
}>>;
|
|
1160
1308
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1161
1309
|
source: z.ZodString;
|
|
1162
1310
|
dest: z.ZodString;
|
|
@@ -1167,7 +1315,15 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1167
1315
|
source: string;
|
|
1168
1316
|
dest: string;
|
|
1169
1317
|
}>, "many">>;
|
|
1170
|
-
}, "
|
|
1318
|
+
}, "strict", z.ZodTypeAny, {
|
|
1319
|
+
validation?: {
|
|
1320
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1321
|
+
accept?: Record<string, {
|
|
1322
|
+
paths: string[];
|
|
1323
|
+
reason: string;
|
|
1324
|
+
expires?: string | undefined;
|
|
1325
|
+
}[]> | undefined;
|
|
1326
|
+
} | undefined;
|
|
1171
1327
|
publish?: boolean | undefined;
|
|
1172
1328
|
linkFollowDepth?: number | "full" | undefined;
|
|
1173
1329
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1180,15 +1336,19 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1180
1336
|
}[];
|
|
1181
1337
|
defaultTemplate?: string | undefined;
|
|
1182
1338
|
} | undefined;
|
|
1183
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1184
|
-
reason: string;
|
|
1185
|
-
expires?: string | undefined;
|
|
1186
|
-
}> | undefined;
|
|
1187
1339
|
files?: {
|
|
1188
1340
|
source: string;
|
|
1189
1341
|
dest: string;
|
|
1190
1342
|
}[] | undefined;
|
|
1191
1343
|
}, {
|
|
1344
|
+
validation?: {
|
|
1345
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1346
|
+
accept?: Record<string, {
|
|
1347
|
+
paths: string[];
|
|
1348
|
+
reason: string;
|
|
1349
|
+
expires?: string | undefined;
|
|
1350
|
+
}[]> | undefined;
|
|
1351
|
+
} | undefined;
|
|
1192
1352
|
publish?: boolean | undefined;
|
|
1193
1353
|
linkFollowDepth?: number | "full" | undefined;
|
|
1194
1354
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1201,19 +1361,23 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1201
1361
|
}[] | undefined;
|
|
1202
1362
|
defaultTemplate?: string | undefined;
|
|
1203
1363
|
} | undefined;
|
|
1204
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1205
|
-
reason: string;
|
|
1206
|
-
expires?: string | undefined;
|
|
1207
|
-
}> | undefined;
|
|
1208
1364
|
files?: {
|
|
1209
1365
|
source: string;
|
|
1210
1366
|
dest: string;
|
|
1211
1367
|
}[] | undefined;
|
|
1212
1368
|
}>>>;
|
|
1213
|
-
}, "
|
|
1369
|
+
}, "strict", z.ZodTypeAny, {
|
|
1214
1370
|
include: string[];
|
|
1215
1371
|
exclude?: string[] | undefined;
|
|
1216
1372
|
defaults?: {
|
|
1373
|
+
validation?: {
|
|
1374
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1375
|
+
accept?: Record<string, {
|
|
1376
|
+
paths: string[];
|
|
1377
|
+
reason: string;
|
|
1378
|
+
expires?: string | undefined;
|
|
1379
|
+
}[]> | undefined;
|
|
1380
|
+
} | undefined;
|
|
1217
1381
|
publish?: boolean | undefined;
|
|
1218
1382
|
linkFollowDepth?: number | "full" | undefined;
|
|
1219
1383
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1226,16 +1390,20 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1226
1390
|
}[];
|
|
1227
1391
|
defaultTemplate?: string | undefined;
|
|
1228
1392
|
} | undefined;
|
|
1229
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1230
|
-
reason: string;
|
|
1231
|
-
expires?: string | undefined;
|
|
1232
|
-
}> | undefined;
|
|
1233
1393
|
files?: {
|
|
1234
1394
|
source: string;
|
|
1235
1395
|
dest: string;
|
|
1236
1396
|
}[] | undefined;
|
|
1237
1397
|
} | undefined;
|
|
1238
1398
|
config?: Record<string, {
|
|
1399
|
+
validation?: {
|
|
1400
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1401
|
+
accept?: Record<string, {
|
|
1402
|
+
paths: string[];
|
|
1403
|
+
reason: string;
|
|
1404
|
+
expires?: string | undefined;
|
|
1405
|
+
}[]> | undefined;
|
|
1406
|
+
} | undefined;
|
|
1239
1407
|
publish?: boolean | undefined;
|
|
1240
1408
|
linkFollowDepth?: number | "full" | undefined;
|
|
1241
1409
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1248,10 +1416,6 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1248
1416
|
}[];
|
|
1249
1417
|
defaultTemplate?: string | undefined;
|
|
1250
1418
|
} | undefined;
|
|
1251
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1252
|
-
reason: string;
|
|
1253
|
-
expires?: string | undefined;
|
|
1254
|
-
}> | undefined;
|
|
1255
1419
|
files?: {
|
|
1256
1420
|
source: string;
|
|
1257
1421
|
dest: string;
|
|
@@ -1261,6 +1425,14 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1261
1425
|
include: string[];
|
|
1262
1426
|
exclude?: string[] | undefined;
|
|
1263
1427
|
defaults?: {
|
|
1428
|
+
validation?: {
|
|
1429
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1430
|
+
accept?: Record<string, {
|
|
1431
|
+
paths: string[];
|
|
1432
|
+
reason: string;
|
|
1433
|
+
expires?: string | undefined;
|
|
1434
|
+
}[]> | undefined;
|
|
1435
|
+
} | undefined;
|
|
1264
1436
|
publish?: boolean | undefined;
|
|
1265
1437
|
linkFollowDepth?: number | "full" | undefined;
|
|
1266
1438
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1273,16 +1445,20 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1273
1445
|
}[] | undefined;
|
|
1274
1446
|
defaultTemplate?: string | undefined;
|
|
1275
1447
|
} | undefined;
|
|
1276
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1277
|
-
reason: string;
|
|
1278
|
-
expires?: string | undefined;
|
|
1279
|
-
}> | undefined;
|
|
1280
1448
|
files?: {
|
|
1281
1449
|
source: string;
|
|
1282
1450
|
dest: string;
|
|
1283
1451
|
}[] | undefined;
|
|
1284
1452
|
} | undefined;
|
|
1285
1453
|
config?: Record<string, {
|
|
1454
|
+
validation?: {
|
|
1455
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1456
|
+
accept?: Record<string, {
|
|
1457
|
+
paths: string[];
|
|
1458
|
+
reason: string;
|
|
1459
|
+
expires?: string | undefined;
|
|
1460
|
+
}[]> | undefined;
|
|
1461
|
+
} | undefined;
|
|
1286
1462
|
publish?: boolean | undefined;
|
|
1287
1463
|
linkFollowDepth?: number | "full" | undefined;
|
|
1288
1464
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1295,10 +1471,6 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1295
1471
|
}[] | undefined;
|
|
1296
1472
|
defaultTemplate?: string | undefined;
|
|
1297
1473
|
} | undefined;
|
|
1298
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1299
|
-
reason: string;
|
|
1300
|
-
expires?: string | undefined;
|
|
1301
|
-
}> | undefined;
|
|
1302
1474
|
files?: {
|
|
1303
1475
|
source: string;
|
|
1304
1476
|
dest: string;
|
|
@@ -1558,12 +1730,20 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1558
1730
|
skills?: "*" | string[] | undefined;
|
|
1559
1731
|
}> | undefined;
|
|
1560
1732
|
}>>;
|
|
1561
|
-
}, "
|
|
1733
|
+
}, "strict", z.ZodTypeAny, {
|
|
1562
1734
|
version: 1;
|
|
1563
1735
|
skills?: {
|
|
1564
1736
|
include: string[];
|
|
1565
1737
|
exclude?: string[] | undefined;
|
|
1566
1738
|
defaults?: {
|
|
1739
|
+
validation?: {
|
|
1740
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1741
|
+
accept?: Record<string, {
|
|
1742
|
+
paths: string[];
|
|
1743
|
+
reason: string;
|
|
1744
|
+
expires?: string | undefined;
|
|
1745
|
+
}[]> | undefined;
|
|
1746
|
+
} | undefined;
|
|
1567
1747
|
publish?: boolean | undefined;
|
|
1568
1748
|
linkFollowDepth?: number | "full" | undefined;
|
|
1569
1749
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1576,16 +1756,20 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1576
1756
|
}[];
|
|
1577
1757
|
defaultTemplate?: string | undefined;
|
|
1578
1758
|
} | undefined;
|
|
1579
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1580
|
-
reason: string;
|
|
1581
|
-
expires?: string | undefined;
|
|
1582
|
-
}> | undefined;
|
|
1583
1759
|
files?: {
|
|
1584
1760
|
source: string;
|
|
1585
1761
|
dest: string;
|
|
1586
1762
|
}[] | undefined;
|
|
1587
1763
|
} | undefined;
|
|
1588
1764
|
config?: Record<string, {
|
|
1765
|
+
validation?: {
|
|
1766
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1767
|
+
accept?: Record<string, {
|
|
1768
|
+
paths: string[];
|
|
1769
|
+
reason: string;
|
|
1770
|
+
expires?: string | undefined;
|
|
1771
|
+
}[]> | undefined;
|
|
1772
|
+
} | undefined;
|
|
1589
1773
|
publish?: boolean | undefined;
|
|
1590
1774
|
linkFollowDepth?: number | "full" | undefined;
|
|
1591
1775
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1598,10 +1782,6 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1598
1782
|
}[];
|
|
1599
1783
|
defaultTemplate?: string | undefined;
|
|
1600
1784
|
} | undefined;
|
|
1601
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1602
|
-
reason: string;
|
|
1603
|
-
expires?: string | undefined;
|
|
1604
|
-
}> | undefined;
|
|
1605
1785
|
files?: {
|
|
1606
1786
|
source: string;
|
|
1607
1787
|
dest: string;
|
|
@@ -1657,6 +1837,14 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1657
1837
|
include: string[];
|
|
1658
1838
|
exclude?: string[] | undefined;
|
|
1659
1839
|
defaults?: {
|
|
1840
|
+
validation?: {
|
|
1841
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1842
|
+
accept?: Record<string, {
|
|
1843
|
+
paths: string[];
|
|
1844
|
+
reason: string;
|
|
1845
|
+
expires?: string | undefined;
|
|
1846
|
+
}[]> | undefined;
|
|
1847
|
+
} | undefined;
|
|
1660
1848
|
publish?: boolean | undefined;
|
|
1661
1849
|
linkFollowDepth?: number | "full" | undefined;
|
|
1662
1850
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1669,16 +1857,20 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1669
1857
|
}[] | undefined;
|
|
1670
1858
|
defaultTemplate?: string | undefined;
|
|
1671
1859
|
} | undefined;
|
|
1672
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1673
|
-
reason: string;
|
|
1674
|
-
expires?: string | undefined;
|
|
1675
|
-
}> | undefined;
|
|
1676
1860
|
files?: {
|
|
1677
1861
|
source: string;
|
|
1678
1862
|
dest: string;
|
|
1679
1863
|
}[] | undefined;
|
|
1680
1864
|
} | undefined;
|
|
1681
1865
|
config?: Record<string, {
|
|
1866
|
+
validation?: {
|
|
1867
|
+
severity?: Record<string, "error" | "warning" | "ignore"> | undefined;
|
|
1868
|
+
accept?: Record<string, {
|
|
1869
|
+
paths: string[];
|
|
1870
|
+
reason: string;
|
|
1871
|
+
expires?: string | undefined;
|
|
1872
|
+
}[]> | undefined;
|
|
1873
|
+
} | undefined;
|
|
1682
1874
|
publish?: boolean | undefined;
|
|
1683
1875
|
linkFollowDepth?: number | "full" | undefined;
|
|
1684
1876
|
resourceNaming?: "basename" | "resource-id" | "preserve-path" | undefined;
|
|
@@ -1691,10 +1883,6 @@ export declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
1691
1883
|
}[] | undefined;
|
|
1692
1884
|
defaultTemplate?: string | undefined;
|
|
1693
1885
|
} | undefined;
|
|
1694
|
-
ignoreValidationErrors?: Record<string, string | {
|
|
1695
|
-
reason: string;
|
|
1696
|
-
expires?: string | undefined;
|
|
1697
|
-
}> | undefined;
|
|
1698
1886
|
files?: {
|
|
1699
1887
|
source: string;
|
|
1700
1888
|
dest: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/schemas/project-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/schemas/project-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,qCAC+B,CAAC;AAEjE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;;;;GAQ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AC;;;;;;;;;;;;;;;;;;;;;;;;;2BAGQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAHV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAGQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAHV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAGQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8MmC,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValidationConfigSchema } from '@vibe-agent-toolkit/agent-schema';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
// Re-export for downstream consumers (unicorn/prefer-export-from satisfied by the import above)
|
|
4
|
-
export {
|
|
4
|
+
export { ValidationConfigSchema } from '@vibe-agent-toolkit/agent-schema';
|
|
5
5
|
/**
|
|
6
6
|
* Validation mode for frontmatter schema validation.
|
|
7
7
|
*
|
|
@@ -111,9 +111,10 @@ export const SkillPackagingConfigSchema = z.object({
|
|
|
111
111
|
stripPrefix: z.string().optional(),
|
|
112
112
|
excludeNavigationFiles: z.boolean().optional(),
|
|
113
113
|
excludeReferencesFromBundle: ExcludeReferencesFromBundleSchema.optional(),
|
|
114
|
-
|
|
114
|
+
validation: ValidationConfigSchema.optional()
|
|
115
|
+
.describe('Validation framework config: severity overrides and per-path acceptance'),
|
|
115
116
|
files: z.array(SkillFileEntrySchema).optional().describe('Explicit source→dest file mappings for build artifacts, unlinked files, or routing overrides'),
|
|
116
|
-
}).describe('Skill packaging configuration');
|
|
117
|
+
}).strict().describe('Skill packaging configuration');
|
|
117
118
|
/**
|
|
118
119
|
* Skills discovery and packaging configuration.
|
|
119
120
|
*
|
|
@@ -124,7 +125,7 @@ export const SkillsConfigSchema = z.object({
|
|
|
124
125
|
exclude: z.array(z.string()).optional().describe('Glob patterns to exclude'),
|
|
125
126
|
defaults: SkillPackagingConfigSchema.optional().describe('Default packaging config for all skills'),
|
|
126
127
|
config: z.record(z.string(), SkillPackagingConfigSchema).optional().describe('Per-skill packaging config overrides (keyed by skill name)'),
|
|
127
|
-
}).describe('Skills discovery and packaging configuration');
|
|
128
|
+
}).strict().describe('Skills discovery and packaging configuration');
|
|
128
129
|
// ---------------------------------------------------------------------------
|
|
129
130
|
// Claude marketplace configuration
|
|
130
131
|
// ---------------------------------------------------------------------------
|
|
@@ -193,5 +194,5 @@ export const ProjectConfigSchema = z.object({
|
|
|
193
194
|
.describe('Resources configuration'),
|
|
194
195
|
claude: ClaudeConfigSchema.optional()
|
|
195
196
|
.describe('Claude-specific configuration (marketplaces, managed-settings)'),
|
|
196
|
-
}).describe('vibe-agent-toolkit project configuration');
|
|
197
|
+
}).strict().describe('vibe-agent-toolkit project configuration');
|
|
197
198
|
//# sourceMappingURL=project-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config.js","sourceRoot":"","sources":["../../src/schemas/project-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"project-config.js","sourceRoot":"","sources":["../../src/schemas/project-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gGAAgG;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;KACjE,QAAQ,CAAC,mDAAmD,CAAC,CAAC;AAIjE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC5B,QAAQ,CAAC,oDAAoD,CAAC;IACjE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAC5C,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC/B,QAAQ,CAAC,sDAAsD,CAAC;IACnE,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;SAC3C,QAAQ,CAAC,yEAAyE,CAAC;CACvF,CAAC,CAAC,QAAQ,CAAC,uCAAuC,CAAC,CAAC;AAIrD;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACrC,QAAQ,CAAC,mJAAmJ,CAAC;IA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,CAAC,+EAA+E,CAAC;IAC5F,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,uBAAuB,CAAC,CAAC,QAAQ,EAAE;SACnE,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC,CAAC;AAI9D;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;SAClB,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,MAAM,EAAE,kBAAkB,CAAC,QAAQ,EAAE;SAClC,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,SAAS,EAAE,qBAAqB,CAAC,QAAQ,EAAE;SACxC,QAAQ,CAAC,yBAAyB,CAAC;IACtC,MAAM,EAAE,kBAAkB,CAAC,QAAQ,EAAE;SAClC,QAAQ,CAAC,gEAAgE,CAAC;CAC9E,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-agent-toolkit/resources",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30-rc.1",
|
|
4
4
|
"description": "Markdown resource parsing, validation, and link integrity checking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"author": "Jeff Dutton",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@vibe-agent-toolkit/agent-schema": "0.1.
|
|
37
|
-
"@vibe-agent-toolkit/utils": "0.1.
|
|
36
|
+
"@vibe-agent-toolkit/agent-schema": "0.1.30-rc.1",
|
|
37
|
+
"@vibe-agent-toolkit/utils": "0.1.30-rc.1",
|
|
38
38
|
"ajv": "^8.17.1",
|
|
39
39
|
"github-slugger": "^2.0.0",
|
|
40
40
|
"js-yaml": "^4.1.1",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValidationConfigSchema } from '@vibe-agent-toolkit/agent-schema';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
// Re-export for downstream consumers (unicorn/prefer-export-from satisfied by the import above)
|
|
5
|
-
export {
|
|
5
|
+
export { ValidationConfigSchema } from '@vibe-agent-toolkit/agent-schema';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Validation mode for frontmatter schema validation.
|
|
@@ -134,9 +134,10 @@ export const SkillPackagingConfigSchema = z.object({
|
|
|
134
134
|
stripPrefix: z.string().optional(),
|
|
135
135
|
excludeNavigationFiles: z.boolean().optional(),
|
|
136
136
|
excludeReferencesFromBundle: ExcludeReferencesFromBundleSchema.optional(),
|
|
137
|
-
|
|
137
|
+
validation: ValidationConfigSchema.optional()
|
|
138
|
+
.describe('Validation framework config: severity overrides and per-path acceptance'),
|
|
138
139
|
files: z.array(SkillFileEntrySchema).optional().describe('Explicit source→dest file mappings for build artifacts, unlinked files, or routing overrides'),
|
|
139
|
-
}).describe('Skill packaging configuration');
|
|
140
|
+
}).strict().describe('Skill packaging configuration');
|
|
140
141
|
|
|
141
142
|
export type SkillPackagingConfig = z.infer<typeof SkillPackagingConfigSchema>;
|
|
142
143
|
|
|
@@ -150,7 +151,7 @@ export const SkillsConfigSchema = z.object({
|
|
|
150
151
|
exclude: z.array(z.string()).optional().describe('Glob patterns to exclude'),
|
|
151
152
|
defaults: SkillPackagingConfigSchema.optional().describe('Default packaging config for all skills'),
|
|
152
153
|
config: z.record(z.string(), SkillPackagingConfigSchema).optional().describe('Per-skill packaging config overrides (keyed by skill name)'),
|
|
153
|
-
}).describe('Skills discovery and packaging configuration');
|
|
154
|
+
}).strict().describe('Skills discovery and packaging configuration');
|
|
154
155
|
|
|
155
156
|
export type SkillsConfig = z.infer<typeof SkillsConfigSchema>;
|
|
156
157
|
|
|
@@ -238,6 +239,6 @@ export const ProjectConfigSchema = z.object({
|
|
|
238
239
|
.describe('Resources configuration'),
|
|
239
240
|
claude: ClaudeConfigSchema.optional()
|
|
240
241
|
.describe('Claude-specific configuration (marketplaces, managed-settings)'),
|
|
241
|
-
}).describe('vibe-agent-toolkit project configuration');
|
|
242
|
+
}).strict().describe('vibe-agent-toolkit project configuration');
|
|
242
243
|
|
|
243
244
|
export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
|