@contractspec/lib.contracts 1.45.5 → 1.46.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.
@@ -29,15 +29,15 @@ declare const OpenApiSourceConfigSchema: z$2.ZodObject<{
29
29
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
30
30
  prefix: z$2.ZodOptional<z$2.ZodString>;
31
31
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
32
- deprecated: "deprecated";
33
32
  experimental: "experimental";
34
33
  beta: "beta";
35
34
  stable: "stable";
35
+ deprecated: "deprecated";
36
36
  }>>;
37
37
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
38
- admin: "admin";
39
38
  anonymous: "anonymous";
40
39
  user: "user";
40
+ admin: "admin";
41
41
  }>>;
42
42
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
43
43
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -79,15 +79,15 @@ declare const OpenApiConfigSchema: z$2.ZodObject<{
79
79
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
80
80
  prefix: z$2.ZodOptional<z$2.ZodString>;
81
81
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
82
- deprecated: "deprecated";
83
82
  experimental: "experimental";
84
83
  beta: "beta";
85
84
  stable: "stable";
85
+ deprecated: "deprecated";
86
86
  }>>;
87
87
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
88
- admin: "admin";
89
88
  anonymous: "anonymous";
90
89
  user: "user";
90
+ admin: "admin";
91
91
  }>>;
92
92
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
93
93
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -344,19 +344,98 @@ declare const VersioningConfigSchema: z$2.ZodObject<{
344
344
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
345
345
  exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
346
346
  }, z$2.core.$strip>;
347
+ /**
348
+ * Supported rule synchronization targets.
349
+ */
350
+ declare const RuleSyncTargetSchema: z$2.ZodEnum<{
351
+ "claude-code": "claude-code";
352
+ cursor: "cursor";
353
+ windsurf: "windsurf";
354
+ cline: "cline";
355
+ copilot: "copilot";
356
+ subagent: "subagent";
357
+ skill: "skill";
358
+ }>;
359
+ /**
360
+ * Configuration for AI agent rules synchronization (rulesync).
361
+ */
362
+ declare const RuleSyncConfigSchema: z$2.ZodObject<{
363
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
364
+ rulesDir: z$2.ZodDefault<z$2.ZodString>;
365
+ rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
366
+ targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
367
+ "claude-code": "claude-code";
368
+ cursor: "cursor";
369
+ windsurf: "windsurf";
370
+ cline: "cline";
371
+ copilot: "copilot";
372
+ subagent: "subagent";
373
+ skill: "skill";
374
+ }>>>;
375
+ autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
376
+ ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
377
+ }, z$2.core.$strip>;
378
+ /**
379
+ * Claude Agent SDK configuration.
380
+ */
381
+ declare const ClaudeAgentSDKConfigSchema: z$2.ZodObject<{
382
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
383
+ apiKey: z$2.ZodOptional<z$2.ZodString>;
384
+ model: z$2.ZodDefault<z$2.ZodString>;
385
+ computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
386
+ extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
387
+ }, z$2.core.$strip>;
388
+ /**
389
+ * OpenCode SDK configuration.
390
+ */
391
+ declare const OpenCodeSDKConfigSchema: z$2.ZodObject<{
392
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
393
+ serverUrl: z$2.ZodOptional<z$2.ZodString>;
394
+ port: z$2.ZodOptional<z$2.ZodNumber>;
395
+ agentType: z$2.ZodDefault<z$2.ZodEnum<{
396
+ build: "build";
397
+ plan: "plan";
398
+ general: "general";
399
+ explore: "explore";
400
+ }>>;
401
+ model: z$2.ZodOptional<z$2.ZodString>;
402
+ }, z$2.core.$strip>;
403
+ /**
404
+ * External agent SDK configuration section.
405
+ */
406
+ declare const ExternalAgentsConfigSchema: z$2.ZodObject<{
407
+ claudeAgent: z$2.ZodOptional<z$2.ZodObject<{
408
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
409
+ apiKey: z$2.ZodOptional<z$2.ZodString>;
410
+ model: z$2.ZodDefault<z$2.ZodString>;
411
+ computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
412
+ extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
413
+ }, z$2.core.$strip>>;
414
+ openCode: z$2.ZodOptional<z$2.ZodObject<{
415
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
416
+ serverUrl: z$2.ZodOptional<z$2.ZodString>;
417
+ port: z$2.ZodOptional<z$2.ZodNumber>;
418
+ agentType: z$2.ZodDefault<z$2.ZodEnum<{
419
+ build: "build";
420
+ plan: "plan";
421
+ general: "general";
422
+ explore: "explore";
423
+ }>>;
424
+ model: z$2.ZodOptional<z$2.ZodString>;
425
+ }, z$2.core.$strip>>;
426
+ }, z$2.core.$strip>;
347
427
  /**
348
428
  * Rule severity levels (inspired by ESLint).
349
429
  */
350
430
  declare const RuleSeveritySchema: z$2.ZodEnum<{
351
- error: "error";
352
431
  off: "off";
353
432
  warn: "warn";
433
+ error: "error";
354
434
  }>;
355
435
  /**
356
436
  * Contract kinds for per-kind rule overrides.
357
437
  */
358
438
  declare const SpecKindSchema: z$2.ZodEnum<{
359
- telemetry: "telemetry";
360
439
  operation: "operation";
361
440
  event: "event";
362
441
  presentation: "presentation";
@@ -364,6 +443,7 @@ declare const SpecKindSchema: z$2.ZodEnum<{
364
443
  workflow: "workflow";
365
444
  "data-view": "data-view";
366
445
  migration: "migration";
446
+ telemetry: "telemetry";
367
447
  experiment: "experiment";
368
448
  "app-config": "app-config";
369
449
  }>;
@@ -372,64 +452,64 @@ declare const SpecKindSchema: z$2.ZodEnum<{
372
452
  */
373
453
  declare const LintRulesSchema: z$2.ZodObject<{
374
454
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
375
- error: "error";
376
455
  off: "off";
377
456
  warn: "warn";
457
+ error: "error";
378
458
  }>>;
379
459
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
380
- error: "error";
381
460
  off: "off";
382
461
  warn: "warn";
462
+ error: "error";
383
463
  }>>;
384
464
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
385
- error: "error";
386
465
  off: "off";
387
466
  warn: "warn";
467
+ error: "error";
388
468
  }>>;
389
469
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
390
- error: "error";
391
470
  off: "off";
392
471
  warn: "warn";
472
+ error: "error";
393
473
  }>>;
394
474
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
395
- error: "error";
396
475
  off: "off";
397
476
  warn: "warn";
477
+ error: "error";
398
478
  }>>;
399
479
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
400
- error: "error";
401
480
  off: "off";
402
481
  warn: "warn";
482
+ error: "error";
403
483
  }>>;
404
484
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
405
- error: "error";
406
485
  off: "off";
407
486
  warn: "warn";
487
+ error: "error";
408
488
  }>>;
409
489
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
410
- error: "error";
411
490
  off: "off";
412
491
  warn: "warn";
492
+ error: "error";
413
493
  }>>;
414
494
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
415
- error: "error";
416
495
  off: "off";
417
496
  warn: "warn";
497
+ error: "error";
418
498
  }>>;
419
499
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
420
- error: "error";
421
500
  off: "off";
422
501
  warn: "warn";
502
+ error: "error";
423
503
  }>>;
424
504
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
425
- error: "error";
426
505
  off: "off";
427
506
  warn: "warn";
507
+ error: "error";
428
508
  }>>;
429
509
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
430
- error: "error";
431
510
  off: "off";
432
511
  warn: "warn";
512
+ error: "error";
433
513
  }>>;
434
514
  }, z$2.core.$strip>;
435
515
  /**
@@ -438,68 +518,67 @@ declare const LintRulesSchema: z$2.ZodObject<{
438
518
  declare const RulesConfigSchema: z$2.ZodObject<{
439
519
  defaults: z$2.ZodOptional<z$2.ZodObject<{
440
520
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
441
- error: "error";
442
521
  off: "off";
443
522
  warn: "warn";
523
+ error: "error";
444
524
  }>>;
445
525
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
446
- error: "error";
447
526
  off: "off";
448
527
  warn: "warn";
528
+ error: "error";
449
529
  }>>;
450
530
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
451
- error: "error";
452
531
  off: "off";
453
532
  warn: "warn";
533
+ error: "error";
454
534
  }>>;
455
535
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
456
- error: "error";
457
536
  off: "off";
458
537
  warn: "warn";
538
+ error: "error";
459
539
  }>>;
460
540
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
461
- error: "error";
462
541
  off: "off";
463
542
  warn: "warn";
543
+ error: "error";
464
544
  }>>;
465
545
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
466
- error: "error";
467
546
  off: "off";
468
547
  warn: "warn";
548
+ error: "error";
469
549
  }>>;
470
550
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
471
- error: "error";
472
551
  off: "off";
473
552
  warn: "warn";
553
+ error: "error";
474
554
  }>>;
475
555
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
476
- error: "error";
477
556
  off: "off";
478
557
  warn: "warn";
558
+ error: "error";
479
559
  }>>;
480
560
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
481
- error: "error";
482
561
  off: "off";
483
562
  warn: "warn";
563
+ error: "error";
484
564
  }>>;
485
565
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
486
- error: "error";
487
566
  off: "off";
488
567
  warn: "warn";
568
+ error: "error";
489
569
  }>>;
490
570
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
491
- error: "error";
492
571
  off: "off";
493
572
  warn: "warn";
573
+ error: "error";
494
574
  }>>;
495
575
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
496
- error: "error";
497
576
  off: "off";
498
577
  warn: "warn";
578
+ error: "error";
499
579
  }>>;
500
580
  }, z$2.core.$strip>>;
501
581
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
502
- telemetry: "telemetry";
503
582
  operation: "operation";
504
583
  event: "event";
505
584
  presentation: "presentation";
@@ -507,68 +586,69 @@ declare const RulesConfigSchema: z$2.ZodObject<{
507
586
  workflow: "workflow";
508
587
  "data-view": "data-view";
509
588
  migration: "migration";
589
+ telemetry: "telemetry";
510
590
  experiment: "experiment";
511
591
  "app-config": "app-config";
512
592
  }>, z$2.ZodObject<{
513
593
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
514
- error: "error";
515
594
  off: "off";
516
595
  warn: "warn";
596
+ error: "error";
517
597
  }>>;
518
598
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
519
- error: "error";
520
599
  off: "off";
521
600
  warn: "warn";
601
+ error: "error";
522
602
  }>>;
523
603
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
524
- error: "error";
525
604
  off: "off";
526
605
  warn: "warn";
606
+ error: "error";
527
607
  }>>;
528
608
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
529
- error: "error";
530
609
  off: "off";
531
610
  warn: "warn";
611
+ error: "error";
532
612
  }>>;
533
613
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
534
- error: "error";
535
614
  off: "off";
536
615
  warn: "warn";
616
+ error: "error";
537
617
  }>>;
538
618
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
539
- error: "error";
540
619
  off: "off";
541
620
  warn: "warn";
621
+ error: "error";
542
622
  }>>;
543
623
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
544
- error: "error";
545
624
  off: "off";
546
625
  warn: "warn";
626
+ error: "error";
547
627
  }>>;
548
628
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
549
- error: "error";
550
629
  off: "off";
551
630
  warn: "warn";
631
+ error: "error";
552
632
  }>>;
553
633
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
554
- error: "error";
555
634
  off: "off";
556
635
  warn: "warn";
636
+ error: "error";
557
637
  }>>;
558
638
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
559
- error: "error";
560
639
  off: "off";
561
640
  warn: "warn";
641
+ error: "error";
562
642
  }>>;
563
643
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
564
- error: "error";
565
644
  off: "off";
566
645
  warn: "warn";
646
+ error: "error";
567
647
  }>>;
568
648
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
569
- error: "error";
570
649
  off: "off";
571
650
  warn: "warn";
651
+ error: "error";
572
652
  }>>;
573
653
  }, z$2.core.$strip>>>;
574
654
  }, z$2.core.$strip>;
@@ -589,10 +669,12 @@ declare const ContractsrcSchema: z$2.ZodObject<{
589
669
  }>>;
590
670
  aiModel: z$2.ZodOptional<z$2.ZodString>;
591
671
  agentMode: z$2.ZodDefault<z$2.ZodEnum<{
592
- simple: "simple";
593
- cursor: "cursor";
594
672
  "claude-code": "claude-code";
673
+ cursor: "cursor";
674
+ simple: "simple";
595
675
  "openai-codex": "openai-codex";
676
+ "claude-agent-sdk": "claude-agent-sdk";
677
+ "opencode-sdk": "opencode-sdk";
596
678
  }>>;
597
679
  customEndpoint: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodURL>>;
598
680
  customApiKey: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
@@ -664,15 +746,15 @@ declare const ContractsrcSchema: z$2.ZodObject<{
664
746
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
665
747
  prefix: z$2.ZodOptional<z$2.ZodString>;
666
748
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
667
- deprecated: "deprecated";
668
749
  experimental: "experimental";
669
750
  beta: "beta";
670
751
  stable: "stable";
752
+ deprecated: "deprecated";
671
753
  }>>;
672
754
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
673
- admin: "admin";
674
755
  anonymous: "anonymous";
675
756
  user: "user";
757
+ admin: "admin";
676
758
  }>>;
677
759
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
678
760
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -735,68 +817,67 @@ declare const ContractsrcSchema: z$2.ZodObject<{
735
817
  rules: z$2.ZodOptional<z$2.ZodObject<{
736
818
  defaults: z$2.ZodOptional<z$2.ZodObject<{
737
819
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
738
- error: "error";
739
820
  off: "off";
740
821
  warn: "warn";
822
+ error: "error";
741
823
  }>>;
742
824
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
743
- error: "error";
744
825
  off: "off";
745
826
  warn: "warn";
827
+ error: "error";
746
828
  }>>;
747
829
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
748
- error: "error";
749
830
  off: "off";
750
831
  warn: "warn";
832
+ error: "error";
751
833
  }>>;
752
834
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
753
- error: "error";
754
835
  off: "off";
755
836
  warn: "warn";
837
+ error: "error";
756
838
  }>>;
757
839
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
758
- error: "error";
759
840
  off: "off";
760
841
  warn: "warn";
842
+ error: "error";
761
843
  }>>;
762
844
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
763
- error: "error";
764
845
  off: "off";
765
846
  warn: "warn";
847
+ error: "error";
766
848
  }>>;
767
849
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
768
- error: "error";
769
850
  off: "off";
770
851
  warn: "warn";
852
+ error: "error";
771
853
  }>>;
772
854
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
773
- error: "error";
774
855
  off: "off";
775
856
  warn: "warn";
857
+ error: "error";
776
858
  }>>;
777
859
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
778
- error: "error";
779
860
  off: "off";
780
861
  warn: "warn";
862
+ error: "error";
781
863
  }>>;
782
864
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
783
- error: "error";
784
865
  off: "off";
785
866
  warn: "warn";
867
+ error: "error";
786
868
  }>>;
787
869
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
788
- error: "error";
789
870
  off: "off";
790
871
  warn: "warn";
872
+ error: "error";
791
873
  }>>;
792
874
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
793
- error: "error";
794
875
  off: "off";
795
876
  warn: "warn";
877
+ error: "error";
796
878
  }>>;
797
879
  }, z$2.core.$strip>>;
798
880
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
799
- telemetry: "telemetry";
800
881
  operation: "operation";
801
882
  event: "event";
802
883
  presentation: "presentation";
@@ -804,68 +885,69 @@ declare const ContractsrcSchema: z$2.ZodObject<{
804
885
  workflow: "workflow";
805
886
  "data-view": "data-view";
806
887
  migration: "migration";
888
+ telemetry: "telemetry";
807
889
  experiment: "experiment";
808
890
  "app-config": "app-config";
809
891
  }>, z$2.ZodObject<{
810
892
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
811
- error: "error";
812
893
  off: "off";
813
894
  warn: "warn";
895
+ error: "error";
814
896
  }>>;
815
897
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
816
- error: "error";
817
898
  off: "off";
818
899
  warn: "warn";
900
+ error: "error";
819
901
  }>>;
820
902
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
821
- error: "error";
822
903
  off: "off";
823
904
  warn: "warn";
905
+ error: "error";
824
906
  }>>;
825
907
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
826
- error: "error";
827
908
  off: "off";
828
909
  warn: "warn";
910
+ error: "error";
829
911
  }>>;
830
912
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
831
- error: "error";
832
913
  off: "off";
833
914
  warn: "warn";
915
+ error: "error";
834
916
  }>>;
835
917
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
836
- error: "error";
837
918
  off: "off";
838
919
  warn: "warn";
920
+ error: "error";
839
921
  }>>;
840
922
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
841
- error: "error";
842
923
  off: "off";
843
924
  warn: "warn";
925
+ error: "error";
844
926
  }>>;
845
927
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
846
- error: "error";
847
928
  off: "off";
848
929
  warn: "warn";
930
+ error: "error";
849
931
  }>>;
850
932
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
851
- error: "error";
852
933
  off: "off";
853
934
  warn: "warn";
935
+ error: "error";
854
936
  }>>;
855
937
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
856
- error: "error";
857
938
  off: "off";
858
939
  warn: "warn";
940
+ error: "error";
859
941
  }>>;
860
942
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
861
- error: "error";
862
943
  off: "off";
863
944
  warn: "warn";
945
+ error: "error";
864
946
  }>>;
865
947
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
866
- error: "error";
867
948
  off: "off";
868
949
  warn: "warn";
950
+ error: "error";
869
951
  }>>;
870
952
  }, z$2.core.$strip>>>;
871
953
  }, z$2.core.$strip>>;
@@ -913,6 +995,43 @@ declare const ContractsrcSchema: z$2.ZodObject<{
913
995
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
914
996
  exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
915
997
  }, z$2.core.$strip>>;
998
+ ruleSync: z$2.ZodOptional<z$2.ZodObject<{
999
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1000
+ rulesDir: z$2.ZodDefault<z$2.ZodString>;
1001
+ rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
1002
+ targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
1003
+ "claude-code": "claude-code";
1004
+ cursor: "cursor";
1005
+ windsurf: "windsurf";
1006
+ cline: "cline";
1007
+ copilot: "copilot";
1008
+ subagent: "subagent";
1009
+ skill: "skill";
1010
+ }>>>;
1011
+ autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
1012
+ ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
1013
+ }, z$2.core.$strip>>;
1014
+ externalAgents: z$2.ZodOptional<z$2.ZodObject<{
1015
+ claudeAgent: z$2.ZodOptional<z$2.ZodObject<{
1016
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1017
+ apiKey: z$2.ZodOptional<z$2.ZodString>;
1018
+ model: z$2.ZodDefault<z$2.ZodString>;
1019
+ computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
1020
+ extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
1021
+ }, z$2.core.$strip>>;
1022
+ openCode: z$2.ZodOptional<z$2.ZodObject<{
1023
+ enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1024
+ serverUrl: z$2.ZodOptional<z$2.ZodString>;
1025
+ port: z$2.ZodOptional<z$2.ZodNumber>;
1026
+ agentType: z$2.ZodDefault<z$2.ZodEnum<{
1027
+ build: "build";
1028
+ plan: "plan";
1029
+ general: "general";
1030
+ explore: "explore";
1031
+ }>>;
1032
+ model: z$2.ZodOptional<z$2.ZodString>;
1033
+ }, z$2.core.$strip>>;
1034
+ }, z$2.core.$strip>>;
916
1035
  }, z$2.core.$strip>;
917
1036
  type OpenApiSourceConfig = z$2.infer<typeof OpenApiSourceConfigSchema>;
918
1037
  type OpenApiExportConfig = z$2.infer<typeof OpenApiExportConfigSchema>;
@@ -939,9 +1058,14 @@ type BumpStrategy = z$2.infer<typeof BumpStrategySchema>;
939
1058
  type ChangelogFormat = z$2.infer<typeof ChangelogFormatSchema>;
940
1059
  type ChangelogTier = z$2.infer<typeof ChangelogTierSchema>;
941
1060
  type VersioningConfig = z$2.infer<typeof VersioningConfigSchema>;
1061
+ type RuleSyncTarget = z$2.infer<typeof RuleSyncTargetSchema>;
1062
+ type RuleSyncConfig = z$2.infer<typeof RuleSyncConfigSchema>;
1063
+ type ClaudeAgentSDKConfig = z$2.infer<typeof ClaudeAgentSDKConfigSchema>;
1064
+ type OpenCodeSDKConfig = z$2.infer<typeof OpenCodeSDKConfigSchema>;
1065
+ type ExternalAgentsConfig = z$2.infer<typeof ExternalAgentsConfigSchema>;
942
1066
  /**
943
1067
  * Default configuration values.
944
1068
  */
945
1069
  declare const DEFAULT_CONTRACTSRC: ContractsrcConfig;
946
1070
  //#endregion
947
- export { BumpStrategy, BumpStrategySchema, ChangelogFormat, ChangelogFormatSchema, ChangelogTier, ChangelogTierSchema, CheckRunConfig, CheckRunConfigSchema, CiConfig, CiConfigSchema, ContractsrcConfig, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalWorkspace, ExternalWorkspaceSchema, FolderConventions, FolderConventionsSchema, FormatterConfig, FormatterConfigSchema, FormatterType, FormatterTypeSchema, GroupingRule, GroupingRuleSchema, GroupingStrategy, GroupingStrategySchema, HooksConfig, HooksConfigSchema, ImpactConfig, ImpactConfigSchema, LintRules, LintRulesSchema, MetaRepoConfig, MetaRepoConfigSchema, OpenApiConfig, OpenApiConfigSchema, OpenApiExportConfig, OpenApiExportConfigSchema, OpenApiSourceConfig, OpenApiSourceConfigSchema, PrCommentConfig, PrCommentConfigSchema, RuleSeverity, RuleSeveritySchema, RulesConfig, RulesConfigSchema, SchemaFormat, SchemaFormatSchema, SpecKind, SpecKindSchema, VersioningConfig, VersioningConfigSchema };
1071
+ export { BumpStrategy, BumpStrategySchema, ChangelogFormat, ChangelogFormatSchema, ChangelogTier, ChangelogTierSchema, CheckRunConfig, CheckRunConfigSchema, CiConfig, CiConfigSchema, ClaudeAgentSDKConfig, ClaudeAgentSDKConfigSchema, ContractsrcConfig, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalAgentsConfig, ExternalAgentsConfigSchema, ExternalWorkspace, ExternalWorkspaceSchema, FolderConventions, FolderConventionsSchema, FormatterConfig, FormatterConfigSchema, FormatterType, FormatterTypeSchema, GroupingRule, GroupingRuleSchema, GroupingStrategy, GroupingStrategySchema, HooksConfig, HooksConfigSchema, ImpactConfig, ImpactConfigSchema, LintRules, LintRulesSchema, MetaRepoConfig, MetaRepoConfigSchema, OpenApiConfig, OpenApiConfigSchema, OpenApiExportConfig, OpenApiExportConfigSchema, OpenApiSourceConfig, OpenApiSourceConfigSchema, OpenCodeSDKConfig, OpenCodeSDKConfigSchema, PrCommentConfig, PrCommentConfigSchema, RuleSeverity, RuleSeveritySchema, RuleSyncConfig, RuleSyncConfigSchema, RuleSyncTarget, RuleSyncTargetSchema, RulesConfig, RulesConfigSchema, SchemaFormat, SchemaFormatSchema, SpecKind, SpecKindSchema, VersioningConfig, VersioningConfigSchema };