@contractspec/lib.contracts 1.45.6 → 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.
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/contract-registry/schemas.d.ts +6 -6
- package/dist/examples/schema.d.ts +14 -14
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/workspace-config/contractsrc-schema.d.ts +150 -75
- package/dist/workspace-config/contractsrc-schema.js +38 -3
- package/package.json +5 -5
|
@@ -29,14 +29,14 @@ 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
|
-
user: "user";
|
|
39
38
|
anonymous: "anonymous";
|
|
39
|
+
user: "user";
|
|
40
40
|
admin: "admin";
|
|
41
41
|
}>>;
|
|
42
42
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
@@ -79,14 +79,14 @@ 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
|
-
user: "user";
|
|
89
88
|
anonymous: "anonymous";
|
|
89
|
+
user: "user";
|
|
90
90
|
admin: "admin";
|
|
91
91
|
}>>;
|
|
92
92
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
@@ -348,10 +348,10 @@ declare const VersioningConfigSchema: z$2.ZodObject<{
|
|
|
348
348
|
* Supported rule synchronization targets.
|
|
349
349
|
*/
|
|
350
350
|
declare const RuleSyncTargetSchema: z$2.ZodEnum<{
|
|
351
|
+
"claude-code": "claude-code";
|
|
351
352
|
cursor: "cursor";
|
|
352
353
|
windsurf: "windsurf";
|
|
353
354
|
cline: "cline";
|
|
354
|
-
"claude-code": "claude-code";
|
|
355
355
|
copilot: "copilot";
|
|
356
356
|
subagent: "subagent";
|
|
357
357
|
skill: "skill";
|
|
@@ -364,10 +364,10 @@ declare const RuleSyncConfigSchema: z$2.ZodObject<{
|
|
|
364
364
|
rulesDir: z$2.ZodDefault<z$2.ZodString>;
|
|
365
365
|
rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
366
366
|
targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
|
|
367
|
+
"claude-code": "claude-code";
|
|
367
368
|
cursor: "cursor";
|
|
368
369
|
windsurf: "windsurf";
|
|
369
370
|
cline: "cline";
|
|
370
|
-
"claude-code": "claude-code";
|
|
371
371
|
copilot: "copilot";
|
|
372
372
|
subagent: "subagent";
|
|
373
373
|
skill: "skill";
|
|
@@ -375,19 +375,67 @@ declare const RuleSyncConfigSchema: z$2.ZodObject<{
|
|
|
375
375
|
autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
376
376
|
ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
377
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>;
|
|
378
427
|
/**
|
|
379
428
|
* Rule severity levels (inspired by ESLint).
|
|
380
429
|
*/
|
|
381
430
|
declare const RuleSeveritySchema: z$2.ZodEnum<{
|
|
382
|
-
error: "error";
|
|
383
431
|
off: "off";
|
|
384
432
|
warn: "warn";
|
|
433
|
+
error: "error";
|
|
385
434
|
}>;
|
|
386
435
|
/**
|
|
387
436
|
* Contract kinds for per-kind rule overrides.
|
|
388
437
|
*/
|
|
389
438
|
declare const SpecKindSchema: z$2.ZodEnum<{
|
|
390
|
-
telemetry: "telemetry";
|
|
391
439
|
operation: "operation";
|
|
392
440
|
event: "event";
|
|
393
441
|
presentation: "presentation";
|
|
@@ -395,6 +443,7 @@ declare const SpecKindSchema: z$2.ZodEnum<{
|
|
|
395
443
|
workflow: "workflow";
|
|
396
444
|
"data-view": "data-view";
|
|
397
445
|
migration: "migration";
|
|
446
|
+
telemetry: "telemetry";
|
|
398
447
|
experiment: "experiment";
|
|
399
448
|
"app-config": "app-config";
|
|
400
449
|
}>;
|
|
@@ -403,64 +452,64 @@ declare const SpecKindSchema: z$2.ZodEnum<{
|
|
|
403
452
|
*/
|
|
404
453
|
declare const LintRulesSchema: z$2.ZodObject<{
|
|
405
454
|
'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
|
|
406
|
-
error: "error";
|
|
407
455
|
off: "off";
|
|
408
456
|
warn: "warn";
|
|
457
|
+
error: "error";
|
|
409
458
|
}>>;
|
|
410
459
|
'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
|
|
411
|
-
error: "error";
|
|
412
460
|
off: "off";
|
|
413
461
|
warn: "warn";
|
|
462
|
+
error: "error";
|
|
414
463
|
}>>;
|
|
415
464
|
'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
|
|
416
|
-
error: "error";
|
|
417
465
|
off: "off";
|
|
418
466
|
warn: "warn";
|
|
467
|
+
error: "error";
|
|
419
468
|
}>>;
|
|
420
469
|
'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
|
|
421
|
-
error: "error";
|
|
422
470
|
off: "off";
|
|
423
471
|
warn: "warn";
|
|
472
|
+
error: "error";
|
|
424
473
|
}>>;
|
|
425
474
|
'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
|
|
426
|
-
error: "error";
|
|
427
475
|
off: "off";
|
|
428
476
|
warn: "warn";
|
|
477
|
+
error: "error";
|
|
429
478
|
}>>;
|
|
430
479
|
'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
|
|
431
|
-
error: "error";
|
|
432
480
|
off: "off";
|
|
433
481
|
warn: "warn";
|
|
482
|
+
error: "error";
|
|
434
483
|
}>>;
|
|
435
484
|
'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
|
|
436
|
-
error: "error";
|
|
437
485
|
off: "off";
|
|
438
486
|
warn: "warn";
|
|
487
|
+
error: "error";
|
|
439
488
|
}>>;
|
|
440
489
|
'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
|
|
441
|
-
error: "error";
|
|
442
490
|
off: "off";
|
|
443
491
|
warn: "warn";
|
|
492
|
+
error: "error";
|
|
444
493
|
}>>;
|
|
445
494
|
'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
|
|
446
|
-
error: "error";
|
|
447
495
|
off: "off";
|
|
448
496
|
warn: "warn";
|
|
497
|
+
error: "error";
|
|
449
498
|
}>>;
|
|
450
499
|
'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
|
|
451
|
-
error: "error";
|
|
452
500
|
off: "off";
|
|
453
501
|
warn: "warn";
|
|
502
|
+
error: "error";
|
|
454
503
|
}>>;
|
|
455
504
|
'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
|
|
456
|
-
error: "error";
|
|
457
505
|
off: "off";
|
|
458
506
|
warn: "warn";
|
|
507
|
+
error: "error";
|
|
459
508
|
}>>;
|
|
460
509
|
'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
|
|
461
|
-
error: "error";
|
|
462
510
|
off: "off";
|
|
463
511
|
warn: "warn";
|
|
512
|
+
error: "error";
|
|
464
513
|
}>>;
|
|
465
514
|
}, z$2.core.$strip>;
|
|
466
515
|
/**
|
|
@@ -469,68 +518,67 @@ declare const LintRulesSchema: z$2.ZodObject<{
|
|
|
469
518
|
declare const RulesConfigSchema: z$2.ZodObject<{
|
|
470
519
|
defaults: z$2.ZodOptional<z$2.ZodObject<{
|
|
471
520
|
'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
|
|
472
|
-
error: "error";
|
|
473
521
|
off: "off";
|
|
474
522
|
warn: "warn";
|
|
523
|
+
error: "error";
|
|
475
524
|
}>>;
|
|
476
525
|
'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
|
|
477
|
-
error: "error";
|
|
478
526
|
off: "off";
|
|
479
527
|
warn: "warn";
|
|
528
|
+
error: "error";
|
|
480
529
|
}>>;
|
|
481
530
|
'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
|
|
482
|
-
error: "error";
|
|
483
531
|
off: "off";
|
|
484
532
|
warn: "warn";
|
|
533
|
+
error: "error";
|
|
485
534
|
}>>;
|
|
486
535
|
'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
|
|
487
|
-
error: "error";
|
|
488
536
|
off: "off";
|
|
489
537
|
warn: "warn";
|
|
538
|
+
error: "error";
|
|
490
539
|
}>>;
|
|
491
540
|
'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
|
|
492
|
-
error: "error";
|
|
493
541
|
off: "off";
|
|
494
542
|
warn: "warn";
|
|
543
|
+
error: "error";
|
|
495
544
|
}>>;
|
|
496
545
|
'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
|
|
497
|
-
error: "error";
|
|
498
546
|
off: "off";
|
|
499
547
|
warn: "warn";
|
|
548
|
+
error: "error";
|
|
500
549
|
}>>;
|
|
501
550
|
'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
|
|
502
|
-
error: "error";
|
|
503
551
|
off: "off";
|
|
504
552
|
warn: "warn";
|
|
553
|
+
error: "error";
|
|
505
554
|
}>>;
|
|
506
555
|
'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
|
|
507
|
-
error: "error";
|
|
508
556
|
off: "off";
|
|
509
557
|
warn: "warn";
|
|
558
|
+
error: "error";
|
|
510
559
|
}>>;
|
|
511
560
|
'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
|
|
512
|
-
error: "error";
|
|
513
561
|
off: "off";
|
|
514
562
|
warn: "warn";
|
|
563
|
+
error: "error";
|
|
515
564
|
}>>;
|
|
516
565
|
'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
|
|
517
|
-
error: "error";
|
|
518
566
|
off: "off";
|
|
519
567
|
warn: "warn";
|
|
568
|
+
error: "error";
|
|
520
569
|
}>>;
|
|
521
570
|
'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
|
|
522
|
-
error: "error";
|
|
523
571
|
off: "off";
|
|
524
572
|
warn: "warn";
|
|
573
|
+
error: "error";
|
|
525
574
|
}>>;
|
|
526
575
|
'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
|
|
527
|
-
error: "error";
|
|
528
576
|
off: "off";
|
|
529
577
|
warn: "warn";
|
|
578
|
+
error: "error";
|
|
530
579
|
}>>;
|
|
531
580
|
}, z$2.core.$strip>>;
|
|
532
581
|
overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
|
|
533
|
-
telemetry: "telemetry";
|
|
534
582
|
operation: "operation";
|
|
535
583
|
event: "event";
|
|
536
584
|
presentation: "presentation";
|
|
@@ -538,68 +586,69 @@ declare const RulesConfigSchema: z$2.ZodObject<{
|
|
|
538
586
|
workflow: "workflow";
|
|
539
587
|
"data-view": "data-view";
|
|
540
588
|
migration: "migration";
|
|
589
|
+
telemetry: "telemetry";
|
|
541
590
|
experiment: "experiment";
|
|
542
591
|
"app-config": "app-config";
|
|
543
592
|
}>, z$2.ZodObject<{
|
|
544
593
|
'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
|
|
545
|
-
error: "error";
|
|
546
594
|
off: "off";
|
|
547
595
|
warn: "warn";
|
|
596
|
+
error: "error";
|
|
548
597
|
}>>;
|
|
549
598
|
'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
|
|
550
|
-
error: "error";
|
|
551
599
|
off: "off";
|
|
552
600
|
warn: "warn";
|
|
601
|
+
error: "error";
|
|
553
602
|
}>>;
|
|
554
603
|
'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
|
|
555
|
-
error: "error";
|
|
556
604
|
off: "off";
|
|
557
605
|
warn: "warn";
|
|
606
|
+
error: "error";
|
|
558
607
|
}>>;
|
|
559
608
|
'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
|
|
560
|
-
error: "error";
|
|
561
609
|
off: "off";
|
|
562
610
|
warn: "warn";
|
|
611
|
+
error: "error";
|
|
563
612
|
}>>;
|
|
564
613
|
'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
|
|
565
|
-
error: "error";
|
|
566
614
|
off: "off";
|
|
567
615
|
warn: "warn";
|
|
616
|
+
error: "error";
|
|
568
617
|
}>>;
|
|
569
618
|
'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
|
|
570
|
-
error: "error";
|
|
571
619
|
off: "off";
|
|
572
620
|
warn: "warn";
|
|
621
|
+
error: "error";
|
|
573
622
|
}>>;
|
|
574
623
|
'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
|
|
575
|
-
error: "error";
|
|
576
624
|
off: "off";
|
|
577
625
|
warn: "warn";
|
|
626
|
+
error: "error";
|
|
578
627
|
}>>;
|
|
579
628
|
'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
|
|
580
|
-
error: "error";
|
|
581
629
|
off: "off";
|
|
582
630
|
warn: "warn";
|
|
631
|
+
error: "error";
|
|
583
632
|
}>>;
|
|
584
633
|
'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
|
|
585
|
-
error: "error";
|
|
586
634
|
off: "off";
|
|
587
635
|
warn: "warn";
|
|
636
|
+
error: "error";
|
|
588
637
|
}>>;
|
|
589
638
|
'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
|
|
590
|
-
error: "error";
|
|
591
639
|
off: "off";
|
|
592
640
|
warn: "warn";
|
|
641
|
+
error: "error";
|
|
593
642
|
}>>;
|
|
594
643
|
'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
|
|
595
|
-
error: "error";
|
|
596
644
|
off: "off";
|
|
597
645
|
warn: "warn";
|
|
646
|
+
error: "error";
|
|
598
647
|
}>>;
|
|
599
648
|
'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
|
|
600
|
-
error: "error";
|
|
601
649
|
off: "off";
|
|
602
650
|
warn: "warn";
|
|
651
|
+
error: "error";
|
|
603
652
|
}>>;
|
|
604
653
|
}, z$2.core.$strip>>>;
|
|
605
654
|
}, z$2.core.$strip>;
|
|
@@ -620,10 +669,12 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
620
669
|
}>>;
|
|
621
670
|
aiModel: z$2.ZodOptional<z$2.ZodString>;
|
|
622
671
|
agentMode: z$2.ZodDefault<z$2.ZodEnum<{
|
|
623
|
-
cursor: "cursor";
|
|
624
672
|
"claude-code": "claude-code";
|
|
673
|
+
cursor: "cursor";
|
|
625
674
|
simple: "simple";
|
|
626
675
|
"openai-codex": "openai-codex";
|
|
676
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
677
|
+
"opencode-sdk": "opencode-sdk";
|
|
627
678
|
}>>;
|
|
628
679
|
customEndpoint: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodURL>>;
|
|
629
680
|
customApiKey: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
@@ -695,14 +746,14 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
695
746
|
include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
696
747
|
prefix: z$2.ZodOptional<z$2.ZodString>;
|
|
697
748
|
defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
|
|
698
|
-
deprecated: "deprecated";
|
|
699
749
|
experimental: "experimental";
|
|
700
750
|
beta: "beta";
|
|
701
751
|
stable: "stable";
|
|
752
|
+
deprecated: "deprecated";
|
|
702
753
|
}>>;
|
|
703
754
|
defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
|
|
704
|
-
user: "user";
|
|
705
755
|
anonymous: "anonymous";
|
|
756
|
+
user: "user";
|
|
706
757
|
admin: "admin";
|
|
707
758
|
}>>;
|
|
708
759
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
@@ -766,68 +817,67 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
766
817
|
rules: z$2.ZodOptional<z$2.ZodObject<{
|
|
767
818
|
defaults: z$2.ZodOptional<z$2.ZodObject<{
|
|
768
819
|
'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
|
|
769
|
-
error: "error";
|
|
770
820
|
off: "off";
|
|
771
821
|
warn: "warn";
|
|
822
|
+
error: "error";
|
|
772
823
|
}>>;
|
|
773
824
|
'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
|
|
774
|
-
error: "error";
|
|
775
825
|
off: "off";
|
|
776
826
|
warn: "warn";
|
|
827
|
+
error: "error";
|
|
777
828
|
}>>;
|
|
778
829
|
'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
|
|
779
|
-
error: "error";
|
|
780
830
|
off: "off";
|
|
781
831
|
warn: "warn";
|
|
832
|
+
error: "error";
|
|
782
833
|
}>>;
|
|
783
834
|
'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
|
|
784
|
-
error: "error";
|
|
785
835
|
off: "off";
|
|
786
836
|
warn: "warn";
|
|
837
|
+
error: "error";
|
|
787
838
|
}>>;
|
|
788
839
|
'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
|
|
789
|
-
error: "error";
|
|
790
840
|
off: "off";
|
|
791
841
|
warn: "warn";
|
|
842
|
+
error: "error";
|
|
792
843
|
}>>;
|
|
793
844
|
'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
|
|
794
|
-
error: "error";
|
|
795
845
|
off: "off";
|
|
796
846
|
warn: "warn";
|
|
847
|
+
error: "error";
|
|
797
848
|
}>>;
|
|
798
849
|
'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
|
|
799
|
-
error: "error";
|
|
800
850
|
off: "off";
|
|
801
851
|
warn: "warn";
|
|
852
|
+
error: "error";
|
|
802
853
|
}>>;
|
|
803
854
|
'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
|
|
804
|
-
error: "error";
|
|
805
855
|
off: "off";
|
|
806
856
|
warn: "warn";
|
|
857
|
+
error: "error";
|
|
807
858
|
}>>;
|
|
808
859
|
'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
|
|
809
|
-
error: "error";
|
|
810
860
|
off: "off";
|
|
811
861
|
warn: "warn";
|
|
862
|
+
error: "error";
|
|
812
863
|
}>>;
|
|
813
864
|
'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
|
|
814
|
-
error: "error";
|
|
815
865
|
off: "off";
|
|
816
866
|
warn: "warn";
|
|
867
|
+
error: "error";
|
|
817
868
|
}>>;
|
|
818
869
|
'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
|
|
819
|
-
error: "error";
|
|
820
870
|
off: "off";
|
|
821
871
|
warn: "warn";
|
|
872
|
+
error: "error";
|
|
822
873
|
}>>;
|
|
823
874
|
'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
|
|
824
|
-
error: "error";
|
|
825
875
|
off: "off";
|
|
826
876
|
warn: "warn";
|
|
877
|
+
error: "error";
|
|
827
878
|
}>>;
|
|
828
879
|
}, z$2.core.$strip>>;
|
|
829
880
|
overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
|
|
830
|
-
telemetry: "telemetry";
|
|
831
881
|
operation: "operation";
|
|
832
882
|
event: "event";
|
|
833
883
|
presentation: "presentation";
|
|
@@ -835,68 +885,69 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
835
885
|
workflow: "workflow";
|
|
836
886
|
"data-view": "data-view";
|
|
837
887
|
migration: "migration";
|
|
888
|
+
telemetry: "telemetry";
|
|
838
889
|
experiment: "experiment";
|
|
839
890
|
"app-config": "app-config";
|
|
840
891
|
}>, z$2.ZodObject<{
|
|
841
892
|
'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
|
|
842
|
-
error: "error";
|
|
843
893
|
off: "off";
|
|
844
894
|
warn: "warn";
|
|
895
|
+
error: "error";
|
|
845
896
|
}>>;
|
|
846
897
|
'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
|
|
847
|
-
error: "error";
|
|
848
898
|
off: "off";
|
|
849
899
|
warn: "warn";
|
|
900
|
+
error: "error";
|
|
850
901
|
}>>;
|
|
851
902
|
'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
|
|
852
|
-
error: "error";
|
|
853
903
|
off: "off";
|
|
854
904
|
warn: "warn";
|
|
905
|
+
error: "error";
|
|
855
906
|
}>>;
|
|
856
907
|
'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
|
|
857
|
-
error: "error";
|
|
858
908
|
off: "off";
|
|
859
909
|
warn: "warn";
|
|
910
|
+
error: "error";
|
|
860
911
|
}>>;
|
|
861
912
|
'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
|
|
862
|
-
error: "error";
|
|
863
913
|
off: "off";
|
|
864
914
|
warn: "warn";
|
|
915
|
+
error: "error";
|
|
865
916
|
}>>;
|
|
866
917
|
'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
|
|
867
|
-
error: "error";
|
|
868
918
|
off: "off";
|
|
869
919
|
warn: "warn";
|
|
920
|
+
error: "error";
|
|
870
921
|
}>>;
|
|
871
922
|
'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
|
|
872
|
-
error: "error";
|
|
873
923
|
off: "off";
|
|
874
924
|
warn: "warn";
|
|
925
|
+
error: "error";
|
|
875
926
|
}>>;
|
|
876
927
|
'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
|
|
877
|
-
error: "error";
|
|
878
928
|
off: "off";
|
|
879
929
|
warn: "warn";
|
|
930
|
+
error: "error";
|
|
880
931
|
}>>;
|
|
881
932
|
'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
|
|
882
|
-
error: "error";
|
|
883
933
|
off: "off";
|
|
884
934
|
warn: "warn";
|
|
935
|
+
error: "error";
|
|
885
936
|
}>>;
|
|
886
937
|
'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
|
|
887
|
-
error: "error";
|
|
888
938
|
off: "off";
|
|
889
939
|
warn: "warn";
|
|
940
|
+
error: "error";
|
|
890
941
|
}>>;
|
|
891
942
|
'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
|
|
892
|
-
error: "error";
|
|
893
943
|
off: "off";
|
|
894
944
|
warn: "warn";
|
|
945
|
+
error: "error";
|
|
895
946
|
}>>;
|
|
896
947
|
'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
|
|
897
|
-
error: "error";
|
|
898
948
|
off: "off";
|
|
899
949
|
warn: "warn";
|
|
950
|
+
error: "error";
|
|
900
951
|
}>>;
|
|
901
952
|
}, z$2.core.$strip>>>;
|
|
902
953
|
}, z$2.core.$strip>>;
|
|
@@ -949,10 +1000,10 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
949
1000
|
rulesDir: z$2.ZodDefault<z$2.ZodString>;
|
|
950
1001
|
rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
951
1002
|
targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
|
|
1003
|
+
"claude-code": "claude-code";
|
|
952
1004
|
cursor: "cursor";
|
|
953
1005
|
windsurf: "windsurf";
|
|
954
1006
|
cline: "cline";
|
|
955
|
-
"claude-code": "claude-code";
|
|
956
1007
|
copilot: "copilot";
|
|
957
1008
|
subagent: "subagent";
|
|
958
1009
|
skill: "skill";
|
|
@@ -960,6 +1011,27 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
960
1011
|
autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
961
1012
|
ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
962
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>>;
|
|
963
1035
|
}, z$2.core.$strip>;
|
|
964
1036
|
type OpenApiSourceConfig = z$2.infer<typeof OpenApiSourceConfigSchema>;
|
|
965
1037
|
type OpenApiExportConfig = z$2.infer<typeof OpenApiExportConfigSchema>;
|
|
@@ -988,9 +1060,12 @@ type ChangelogTier = z$2.infer<typeof ChangelogTierSchema>;
|
|
|
988
1060
|
type VersioningConfig = z$2.infer<typeof VersioningConfigSchema>;
|
|
989
1061
|
type RuleSyncTarget = z$2.infer<typeof RuleSyncTargetSchema>;
|
|
990
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>;
|
|
991
1066
|
/**
|
|
992
1067
|
* Default configuration values.
|
|
993
1068
|
*/
|
|
994
1069
|
declare const DEFAULT_CONTRACTSRC: ContractsrcConfig;
|
|
995
1070
|
//#endregion
|
|
996
|
-
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, RuleSyncConfig, RuleSyncConfigSchema, RuleSyncTarget, RuleSyncTargetSchema, 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 };
|
|
@@ -241,6 +241,38 @@ const RuleSyncConfigSchema = z$2.object({
|
|
|
241
241
|
ejectMode: z$2.boolean().default(false)
|
|
242
242
|
});
|
|
243
243
|
/**
|
|
244
|
+
* Claude Agent SDK configuration.
|
|
245
|
+
*/
|
|
246
|
+
const ClaudeAgentSDKConfigSchema = z$2.object({
|
|
247
|
+
enabled: z$2.boolean().default(false),
|
|
248
|
+
apiKey: z$2.string().optional(),
|
|
249
|
+
model: z$2.string().default("claude-sonnet-4-20250514"),
|
|
250
|
+
computerUse: z$2.boolean().default(false),
|
|
251
|
+
extendedThinking: z$2.boolean().default(false)
|
|
252
|
+
});
|
|
253
|
+
/**
|
|
254
|
+
* OpenCode SDK configuration.
|
|
255
|
+
*/
|
|
256
|
+
const OpenCodeSDKConfigSchema = z$2.object({
|
|
257
|
+
enabled: z$2.boolean().default(false),
|
|
258
|
+
serverUrl: z$2.string().optional(),
|
|
259
|
+
port: z$2.number().optional(),
|
|
260
|
+
agentType: z$2.enum([
|
|
261
|
+
"build",
|
|
262
|
+
"plan",
|
|
263
|
+
"general",
|
|
264
|
+
"explore"
|
|
265
|
+
]).default("general"),
|
|
266
|
+
model: z$2.string().optional()
|
|
267
|
+
});
|
|
268
|
+
/**
|
|
269
|
+
* External agent SDK configuration section.
|
|
270
|
+
*/
|
|
271
|
+
const ExternalAgentsConfigSchema = z$2.object({
|
|
272
|
+
claudeAgent: ClaudeAgentSDKConfigSchema.optional(),
|
|
273
|
+
openCode: OpenCodeSDKConfigSchema.optional()
|
|
274
|
+
});
|
|
275
|
+
/**
|
|
244
276
|
* Rule severity levels (inspired by ESLint).
|
|
245
277
|
*/
|
|
246
278
|
const RuleSeveritySchema = z$2.enum([
|
|
@@ -307,7 +339,9 @@ const ContractsrcSchema = z$2.object({
|
|
|
307
339
|
"simple",
|
|
308
340
|
"cursor",
|
|
309
341
|
"claude-code",
|
|
310
|
-
"openai-codex"
|
|
342
|
+
"openai-codex",
|
|
343
|
+
"claude-agent-sdk",
|
|
344
|
+
"opencode-sdk"
|
|
311
345
|
]).default("simple"),
|
|
312
346
|
customEndpoint: z$2.url().nullable().optional(),
|
|
313
347
|
customApiKey: z$2.string().nullable().optional(),
|
|
@@ -326,7 +360,8 @@ const ContractsrcSchema = z$2.object({
|
|
|
326
360
|
schemaFormat: SchemaFormatSchema.default("contractspec"),
|
|
327
361
|
formatter: FormatterConfigSchema.optional(),
|
|
328
362
|
versioning: VersioningConfigSchema.optional(),
|
|
329
|
-
ruleSync: RuleSyncConfigSchema.optional()
|
|
363
|
+
ruleSync: RuleSyncConfigSchema.optional(),
|
|
364
|
+
externalAgents: ExternalAgentsConfigSchema.optional()
|
|
330
365
|
});
|
|
331
366
|
/**
|
|
332
367
|
* Default configuration values.
|
|
@@ -349,4 +384,4 @@ const DEFAULT_CONTRACTSRC = {
|
|
|
349
384
|
};
|
|
350
385
|
|
|
351
386
|
//#endregion
|
|
352
|
-
export { BumpStrategySchema, ChangelogFormatSchema, ChangelogTierSchema, CheckRunConfigSchema, CiConfigSchema, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalWorkspaceSchema, FolderConventionsSchema, FormatterConfigSchema, FormatterTypeSchema, GroupingRuleSchema, GroupingStrategySchema, HooksConfigSchema, ImpactConfigSchema, LintRulesSchema, MetaRepoConfigSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema, PrCommentConfigSchema, RuleSeveritySchema, RuleSyncConfigSchema, RuleSyncTargetSchema, RulesConfigSchema, SchemaFormatSchema, SpecKindSchema, VersioningConfigSchema };
|
|
387
|
+
export { BumpStrategySchema, ChangelogFormatSchema, ChangelogTierSchema, CheckRunConfigSchema, CiConfigSchema, ClaudeAgentSDKConfigSchema, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalAgentsConfigSchema, ExternalWorkspaceSchema, FolderConventionsSchema, FormatterConfigSchema, FormatterTypeSchema, GroupingRuleSchema, GroupingStrategySchema, HooksConfigSchema, ImpactConfigSchema, LintRulesSchema, MetaRepoConfigSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema, OpenCodeSDKConfigSchema, PrCommentConfigSchema, RuleSeveritySchema, RuleSyncConfigSchema, RuleSyncTargetSchema, RulesConfigSchema, SchemaFormatSchema, SpecKindSchema, VersioningConfigSchema };
|