@teamix-evo/registry 0.8.0 → 0.9.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/index.cjs +83 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +877 -1
- package/dist/index.d.ts +877 -1
- package/dist/index.js +79 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2577,6 +2577,19 @@ declare const InstalledResourceSchema: z.ZodObject<{
|
|
|
2577
2577
|
ide: z.ZodOptional<z.ZodEnum<["qoder", "claude"]>>;
|
|
2578
2578
|
/** Install scope (skill resources only) */
|
|
2579
2579
|
scope: z.ZodOptional<z.ZodEnum<["project", "global"]>>;
|
|
2580
|
+
/**
|
|
2581
|
+
* Origin of the file content. Optional for backwards compatibility — older
|
|
2582
|
+
* manifests without this field still validate.
|
|
2583
|
+
*
|
|
2584
|
+
* - `teamix-evo` : installed from `@teamix-evo/ui` (or biz-ui)
|
|
2585
|
+
* - `shadcn-native` : matches an upstream registry entry verbatim
|
|
2586
|
+
* - `custom` : user-modified or hand-authored, no upstream match
|
|
2587
|
+
* - `custom-legacy` : user version preserved during a Coexist promotion
|
|
2588
|
+
* (see ADR / promote-to-biz)
|
|
2589
|
+
* - `detected` : adopted via `ui add --adopt`, registry id matched but
|
|
2590
|
+
* content has not been verified against upstream hash
|
|
2591
|
+
*/
|
|
2592
|
+
sourceLineage: z.ZodOptional<z.ZodEnum<["teamix-evo", "shadcn-native", "custom", "custom-legacy", "detected"]>>;
|
|
2580
2593
|
}, "strip", z.ZodTypeAny, {
|
|
2581
2594
|
id: string;
|
|
2582
2595
|
target: string;
|
|
@@ -2584,6 +2597,7 @@ declare const InstalledResourceSchema: z.ZodObject<{
|
|
|
2584
2597
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2585
2598
|
scope?: "project" | "global" | undefined;
|
|
2586
2599
|
ide?: "qoder" | "claude" | undefined;
|
|
2600
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2587
2601
|
}, {
|
|
2588
2602
|
id: string;
|
|
2589
2603
|
target: string;
|
|
@@ -2591,6 +2605,7 @@ declare const InstalledResourceSchema: z.ZodObject<{
|
|
|
2591
2605
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2592
2606
|
scope?: "project" | "global" | undefined;
|
|
2593
2607
|
ide?: "qoder" | "claude" | undefined;
|
|
2608
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2594
2609
|
}>;
|
|
2595
2610
|
/**
|
|
2596
2611
|
* An installed package entry — tracks a single package installation.
|
|
@@ -2618,6 +2633,19 @@ declare const InstalledPackageSchema: z.ZodObject<{
|
|
|
2618
2633
|
ide: z.ZodOptional<z.ZodEnum<["qoder", "claude"]>>;
|
|
2619
2634
|
/** Install scope (skill resources only) */
|
|
2620
2635
|
scope: z.ZodOptional<z.ZodEnum<["project", "global"]>>;
|
|
2636
|
+
/**
|
|
2637
|
+
* Origin of the file content. Optional for backwards compatibility — older
|
|
2638
|
+
* manifests without this field still validate.
|
|
2639
|
+
*
|
|
2640
|
+
* - `teamix-evo` : installed from `@teamix-evo/ui` (or biz-ui)
|
|
2641
|
+
* - `shadcn-native` : matches an upstream registry entry verbatim
|
|
2642
|
+
* - `custom` : user-modified or hand-authored, no upstream match
|
|
2643
|
+
* - `custom-legacy` : user version preserved during a Coexist promotion
|
|
2644
|
+
* (see ADR / promote-to-biz)
|
|
2645
|
+
* - `detected` : adopted via `ui add --adopt`, registry id matched but
|
|
2646
|
+
* content has not been verified against upstream hash
|
|
2647
|
+
*/
|
|
2648
|
+
sourceLineage: z.ZodOptional<z.ZodEnum<["teamix-evo", "shadcn-native", "custom", "custom-legacy", "detected"]>>;
|
|
2621
2649
|
}, "strip", z.ZodTypeAny, {
|
|
2622
2650
|
id: string;
|
|
2623
2651
|
target: string;
|
|
@@ -2625,6 +2653,7 @@ declare const InstalledPackageSchema: z.ZodObject<{
|
|
|
2625
2653
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2626
2654
|
scope?: "project" | "global" | undefined;
|
|
2627
2655
|
ide?: "qoder" | "claude" | undefined;
|
|
2656
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2628
2657
|
}, {
|
|
2629
2658
|
id: string;
|
|
2630
2659
|
target: string;
|
|
@@ -2632,6 +2661,7 @@ declare const InstalledPackageSchema: z.ZodObject<{
|
|
|
2632
2661
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2633
2662
|
scope?: "project" | "global" | undefined;
|
|
2634
2663
|
ide?: "qoder" | "claude" | undefined;
|
|
2664
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2635
2665
|
}>, "many">;
|
|
2636
2666
|
}, "strip", z.ZodTypeAny, {
|
|
2637
2667
|
package: string;
|
|
@@ -2644,6 +2674,7 @@ declare const InstalledPackageSchema: z.ZodObject<{
|
|
|
2644
2674
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2645
2675
|
scope?: "project" | "global" | undefined;
|
|
2646
2676
|
ide?: "qoder" | "claude" | undefined;
|
|
2677
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2647
2678
|
}[];
|
|
2648
2679
|
installedAt: string;
|
|
2649
2680
|
}, {
|
|
@@ -2657,6 +2688,7 @@ declare const InstalledPackageSchema: z.ZodObject<{
|
|
|
2657
2688
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2658
2689
|
scope?: "project" | "global" | undefined;
|
|
2659
2690
|
ide?: "qoder" | "claude" | undefined;
|
|
2691
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2660
2692
|
}[];
|
|
2661
2693
|
installedAt: string;
|
|
2662
2694
|
}>;
|
|
@@ -2690,6 +2722,19 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2690
2722
|
ide: z.ZodOptional<z.ZodEnum<["qoder", "claude"]>>;
|
|
2691
2723
|
/** Install scope (skill resources only) */
|
|
2692
2724
|
scope: z.ZodOptional<z.ZodEnum<["project", "global"]>>;
|
|
2725
|
+
/**
|
|
2726
|
+
* Origin of the file content. Optional for backwards compatibility — older
|
|
2727
|
+
* manifests without this field still validate.
|
|
2728
|
+
*
|
|
2729
|
+
* - `teamix-evo` : installed from `@teamix-evo/ui` (or biz-ui)
|
|
2730
|
+
* - `shadcn-native` : matches an upstream registry entry verbatim
|
|
2731
|
+
* - `custom` : user-modified or hand-authored, no upstream match
|
|
2732
|
+
* - `custom-legacy` : user version preserved during a Coexist promotion
|
|
2733
|
+
* (see ADR / promote-to-biz)
|
|
2734
|
+
* - `detected` : adopted via `ui add --adopt`, registry id matched but
|
|
2735
|
+
* content has not been verified against upstream hash
|
|
2736
|
+
*/
|
|
2737
|
+
sourceLineage: z.ZodOptional<z.ZodEnum<["teamix-evo", "shadcn-native", "custom", "custom-legacy", "detected"]>>;
|
|
2693
2738
|
}, "strip", z.ZodTypeAny, {
|
|
2694
2739
|
id: string;
|
|
2695
2740
|
target: string;
|
|
@@ -2697,6 +2742,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2697
2742
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2698
2743
|
scope?: "project" | "global" | undefined;
|
|
2699
2744
|
ide?: "qoder" | "claude" | undefined;
|
|
2745
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2700
2746
|
}, {
|
|
2701
2747
|
id: string;
|
|
2702
2748
|
target: string;
|
|
@@ -2704,6 +2750,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2704
2750
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2705
2751
|
scope?: "project" | "global" | undefined;
|
|
2706
2752
|
ide?: "qoder" | "claude" | undefined;
|
|
2753
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2707
2754
|
}>, "many">;
|
|
2708
2755
|
}, "strip", z.ZodTypeAny, {
|
|
2709
2756
|
package: string;
|
|
@@ -2716,6 +2763,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2716
2763
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2717
2764
|
scope?: "project" | "global" | undefined;
|
|
2718
2765
|
ide?: "qoder" | "claude" | undefined;
|
|
2766
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2719
2767
|
}[];
|
|
2720
2768
|
installedAt: string;
|
|
2721
2769
|
}, {
|
|
@@ -2729,6 +2777,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2729
2777
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2730
2778
|
scope?: "project" | "global" | undefined;
|
|
2731
2779
|
ide?: "qoder" | "claude" | undefined;
|
|
2780
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2732
2781
|
}[];
|
|
2733
2782
|
installedAt: string;
|
|
2734
2783
|
}>, "many">;
|
|
@@ -2745,6 +2794,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2745
2794
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2746
2795
|
scope?: "project" | "global" | undefined;
|
|
2747
2796
|
ide?: "qoder" | "claude" | undefined;
|
|
2797
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2748
2798
|
}[];
|
|
2749
2799
|
installedAt: string;
|
|
2750
2800
|
}[];
|
|
@@ -2761,6 +2811,7 @@ declare const InstalledManifestSchema: z.ZodObject<{
|
|
|
2761
2811
|
strategy: "frozen" | "regenerable" | "managed";
|
|
2762
2812
|
scope?: "project" | "global" | undefined;
|
|
2763
2813
|
ide?: "qoder" | "claude" | undefined;
|
|
2814
|
+
sourceLineage?: "custom" | "teamix-evo" | "shadcn-native" | "custom-legacy" | "detected" | undefined;
|
|
2764
2815
|
}[];
|
|
2765
2816
|
installedAt: string;
|
|
2766
2817
|
}[];
|
|
@@ -2941,6 +2992,301 @@ declare const UpgradeStagingDiffSchema: z.ZodObject<{
|
|
|
2941
2992
|
filesChangedCount: number;
|
|
2942
2993
|
diffRelPath?: string | undefined;
|
|
2943
2994
|
}>;
|
|
2995
|
+
/**
|
|
2996
|
+
* File-type triage label — mirrors the buckets used by `ui add --adopt`
|
|
2997
|
+
* (Init landing plan §1.1) so downstream consumers (skill / promote-to-biz)
|
|
2998
|
+
* can reuse a single classification.
|
|
2999
|
+
*/
|
|
3000
|
+
declare const PromoteFileTypeSchema: z.ZodEnum<["component", "hook", "util", "type", "provider"]>;
|
|
3001
|
+
/**
|
|
3002
|
+
* Promotion mode catalogue — the 8 modes documented in the Init landing plan
|
|
3003
|
+
* §1.2. Multiple may apply to a single entry; the CLI surfaces a recommended
|
|
3004
|
+
* subset and the AI / user picks the final composition.
|
|
3005
|
+
*/
|
|
3006
|
+
declare const PromoteModeSchema: z.ZodEnum<["Coexist", "Preset", "Wrapper", "Compose", "Variant", "Fork", "TokenOnly", "ManualReview"]>;
|
|
3007
|
+
/**
|
|
3008
|
+
* Lightweight feature vector summarizing the diff between user code and
|
|
3009
|
+
* upstream source. Each axis is best-effort regex-level; the consumer
|
|
3010
|
+
* (`teamix-evo-upgrade` / `promote-to-biz` skill) refines via AST as needed.
|
|
3011
|
+
*/
|
|
3012
|
+
declare const PromoteFeatureVectorSchema: z.ZodObject<{
|
|
3013
|
+
apiDelta: z.ZodObject<{
|
|
3014
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
3015
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
3016
|
+
signatureChanged: z.ZodBoolean;
|
|
3017
|
+
}, "strip", z.ZodTypeAny, {
|
|
3018
|
+
added: string[];
|
|
3019
|
+
removed: string[];
|
|
3020
|
+
signatureChanged: boolean;
|
|
3021
|
+
}, {
|
|
3022
|
+
added: string[];
|
|
3023
|
+
removed: string[];
|
|
3024
|
+
signatureChanged: boolean;
|
|
3025
|
+
}>;
|
|
3026
|
+
styleDelta: z.ZodObject<{
|
|
3027
|
+
classNameDiff: z.ZodBoolean;
|
|
3028
|
+
tokenUsageDiff: z.ZodBoolean;
|
|
3029
|
+
}, "strip", z.ZodTypeAny, {
|
|
3030
|
+
classNameDiff: boolean;
|
|
3031
|
+
tokenUsageDiff: boolean;
|
|
3032
|
+
}, {
|
|
3033
|
+
classNameDiff: boolean;
|
|
3034
|
+
tokenUsageDiff: boolean;
|
|
3035
|
+
}>;
|
|
3036
|
+
logicDelta: z.ZodObject<{
|
|
3037
|
+
hasState: z.ZodBoolean;
|
|
3038
|
+
hasEffect: z.ZodBoolean;
|
|
3039
|
+
hasExtraImports: z.ZodBoolean;
|
|
3040
|
+
}, "strip", z.ZodTypeAny, {
|
|
3041
|
+
hasState: boolean;
|
|
3042
|
+
hasEffect: boolean;
|
|
3043
|
+
hasExtraImports: boolean;
|
|
3044
|
+
}, {
|
|
3045
|
+
hasState: boolean;
|
|
3046
|
+
hasEffect: boolean;
|
|
3047
|
+
hasExtraImports: boolean;
|
|
3048
|
+
}>;
|
|
3049
|
+
cvaDelta: z.ZodObject<{
|
|
3050
|
+
addedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3051
|
+
modifiedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3052
|
+
}, "strip", z.ZodTypeAny, {
|
|
3053
|
+
addedVariants: string[];
|
|
3054
|
+
modifiedVariants: string[];
|
|
3055
|
+
}, {
|
|
3056
|
+
addedVariants: string[];
|
|
3057
|
+
modifiedVariants: string[];
|
|
3058
|
+
}>;
|
|
3059
|
+
structureDelta: z.ZodObject<{
|
|
3060
|
+
isComposition: z.ZodBoolean;
|
|
3061
|
+
atomicChildren: z.ZodArray<z.ZodString, "many">;
|
|
3062
|
+
}, "strip", z.ZodTypeAny, {
|
|
3063
|
+
isComposition: boolean;
|
|
3064
|
+
atomicChildren: string[];
|
|
3065
|
+
}, {
|
|
3066
|
+
isComposition: boolean;
|
|
3067
|
+
atomicChildren: string[];
|
|
3068
|
+
}>;
|
|
3069
|
+
}, "strip", z.ZodTypeAny, {
|
|
3070
|
+
apiDelta: {
|
|
3071
|
+
added: string[];
|
|
3072
|
+
removed: string[];
|
|
3073
|
+
signatureChanged: boolean;
|
|
3074
|
+
};
|
|
3075
|
+
styleDelta: {
|
|
3076
|
+
classNameDiff: boolean;
|
|
3077
|
+
tokenUsageDiff: boolean;
|
|
3078
|
+
};
|
|
3079
|
+
logicDelta: {
|
|
3080
|
+
hasState: boolean;
|
|
3081
|
+
hasEffect: boolean;
|
|
3082
|
+
hasExtraImports: boolean;
|
|
3083
|
+
};
|
|
3084
|
+
cvaDelta: {
|
|
3085
|
+
addedVariants: string[];
|
|
3086
|
+
modifiedVariants: string[];
|
|
3087
|
+
};
|
|
3088
|
+
structureDelta: {
|
|
3089
|
+
isComposition: boolean;
|
|
3090
|
+
atomicChildren: string[];
|
|
3091
|
+
};
|
|
3092
|
+
}, {
|
|
3093
|
+
apiDelta: {
|
|
3094
|
+
added: string[];
|
|
3095
|
+
removed: string[];
|
|
3096
|
+
signatureChanged: boolean;
|
|
3097
|
+
};
|
|
3098
|
+
styleDelta: {
|
|
3099
|
+
classNameDiff: boolean;
|
|
3100
|
+
tokenUsageDiff: boolean;
|
|
3101
|
+
};
|
|
3102
|
+
logicDelta: {
|
|
3103
|
+
hasState: boolean;
|
|
3104
|
+
hasEffect: boolean;
|
|
3105
|
+
hasExtraImports: boolean;
|
|
3106
|
+
};
|
|
3107
|
+
cvaDelta: {
|
|
3108
|
+
addedVariants: string[];
|
|
3109
|
+
modifiedVariants: string[];
|
|
3110
|
+
};
|
|
3111
|
+
structureDelta: {
|
|
3112
|
+
isComposition: boolean;
|
|
3113
|
+
atomicChildren: string[];
|
|
3114
|
+
};
|
|
3115
|
+
}>;
|
|
3116
|
+
/**
|
|
3117
|
+
* Optional promotion-planning payload attached to a staging entry. Surfaces
|
|
3118
|
+
* the data the `promote-to-biz` skill needs without forcing every consumer
|
|
3119
|
+
* to compute it themselves. Older manifests (schema v1, pre-feature-vector)
|
|
3120
|
+
* leave the field undefined.
|
|
3121
|
+
*/
|
|
3122
|
+
declare const UpgradeStagingPromotionSchema: z.ZodObject<{
|
|
3123
|
+
fileType: z.ZodEnum<["component", "hook", "util", "type", "provider"]>;
|
|
3124
|
+
featureVector: z.ZodObject<{
|
|
3125
|
+
apiDelta: z.ZodObject<{
|
|
3126
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
3127
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
3128
|
+
signatureChanged: z.ZodBoolean;
|
|
3129
|
+
}, "strip", z.ZodTypeAny, {
|
|
3130
|
+
added: string[];
|
|
3131
|
+
removed: string[];
|
|
3132
|
+
signatureChanged: boolean;
|
|
3133
|
+
}, {
|
|
3134
|
+
added: string[];
|
|
3135
|
+
removed: string[];
|
|
3136
|
+
signatureChanged: boolean;
|
|
3137
|
+
}>;
|
|
3138
|
+
styleDelta: z.ZodObject<{
|
|
3139
|
+
classNameDiff: z.ZodBoolean;
|
|
3140
|
+
tokenUsageDiff: z.ZodBoolean;
|
|
3141
|
+
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
classNameDiff: boolean;
|
|
3143
|
+
tokenUsageDiff: boolean;
|
|
3144
|
+
}, {
|
|
3145
|
+
classNameDiff: boolean;
|
|
3146
|
+
tokenUsageDiff: boolean;
|
|
3147
|
+
}>;
|
|
3148
|
+
logicDelta: z.ZodObject<{
|
|
3149
|
+
hasState: z.ZodBoolean;
|
|
3150
|
+
hasEffect: z.ZodBoolean;
|
|
3151
|
+
hasExtraImports: z.ZodBoolean;
|
|
3152
|
+
}, "strip", z.ZodTypeAny, {
|
|
3153
|
+
hasState: boolean;
|
|
3154
|
+
hasEffect: boolean;
|
|
3155
|
+
hasExtraImports: boolean;
|
|
3156
|
+
}, {
|
|
3157
|
+
hasState: boolean;
|
|
3158
|
+
hasEffect: boolean;
|
|
3159
|
+
hasExtraImports: boolean;
|
|
3160
|
+
}>;
|
|
3161
|
+
cvaDelta: z.ZodObject<{
|
|
3162
|
+
addedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3163
|
+
modifiedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3164
|
+
}, "strip", z.ZodTypeAny, {
|
|
3165
|
+
addedVariants: string[];
|
|
3166
|
+
modifiedVariants: string[];
|
|
3167
|
+
}, {
|
|
3168
|
+
addedVariants: string[];
|
|
3169
|
+
modifiedVariants: string[];
|
|
3170
|
+
}>;
|
|
3171
|
+
structureDelta: z.ZodObject<{
|
|
3172
|
+
isComposition: z.ZodBoolean;
|
|
3173
|
+
atomicChildren: z.ZodArray<z.ZodString, "many">;
|
|
3174
|
+
}, "strip", z.ZodTypeAny, {
|
|
3175
|
+
isComposition: boolean;
|
|
3176
|
+
atomicChildren: string[];
|
|
3177
|
+
}, {
|
|
3178
|
+
isComposition: boolean;
|
|
3179
|
+
atomicChildren: string[];
|
|
3180
|
+
}>;
|
|
3181
|
+
}, "strip", z.ZodTypeAny, {
|
|
3182
|
+
apiDelta: {
|
|
3183
|
+
added: string[];
|
|
3184
|
+
removed: string[];
|
|
3185
|
+
signatureChanged: boolean;
|
|
3186
|
+
};
|
|
3187
|
+
styleDelta: {
|
|
3188
|
+
classNameDiff: boolean;
|
|
3189
|
+
tokenUsageDiff: boolean;
|
|
3190
|
+
};
|
|
3191
|
+
logicDelta: {
|
|
3192
|
+
hasState: boolean;
|
|
3193
|
+
hasEffect: boolean;
|
|
3194
|
+
hasExtraImports: boolean;
|
|
3195
|
+
};
|
|
3196
|
+
cvaDelta: {
|
|
3197
|
+
addedVariants: string[];
|
|
3198
|
+
modifiedVariants: string[];
|
|
3199
|
+
};
|
|
3200
|
+
structureDelta: {
|
|
3201
|
+
isComposition: boolean;
|
|
3202
|
+
atomicChildren: string[];
|
|
3203
|
+
};
|
|
3204
|
+
}, {
|
|
3205
|
+
apiDelta: {
|
|
3206
|
+
added: string[];
|
|
3207
|
+
removed: string[];
|
|
3208
|
+
signatureChanged: boolean;
|
|
3209
|
+
};
|
|
3210
|
+
styleDelta: {
|
|
3211
|
+
classNameDiff: boolean;
|
|
3212
|
+
tokenUsageDiff: boolean;
|
|
3213
|
+
};
|
|
3214
|
+
logicDelta: {
|
|
3215
|
+
hasState: boolean;
|
|
3216
|
+
hasEffect: boolean;
|
|
3217
|
+
hasExtraImports: boolean;
|
|
3218
|
+
};
|
|
3219
|
+
cvaDelta: {
|
|
3220
|
+
addedVariants: string[];
|
|
3221
|
+
modifiedVariants: string[];
|
|
3222
|
+
};
|
|
3223
|
+
structureDelta: {
|
|
3224
|
+
isComposition: boolean;
|
|
3225
|
+
atomicChildren: string[];
|
|
3226
|
+
};
|
|
3227
|
+
}>;
|
|
3228
|
+
recommendedModes: z.ZodArray<z.ZodEnum<["Coexist", "Preset", "Wrapper", "Compose", "Variant", "Fork", "TokenOnly", "ManualReview"]>, "many">;
|
|
3229
|
+
confidence: z.ZodNumber;
|
|
3230
|
+
reasons: z.ZodArray<z.ZodString, "many">;
|
|
3231
|
+
}, "strip", z.ZodTypeAny, {
|
|
3232
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3233
|
+
featureVector: {
|
|
3234
|
+
apiDelta: {
|
|
3235
|
+
added: string[];
|
|
3236
|
+
removed: string[];
|
|
3237
|
+
signatureChanged: boolean;
|
|
3238
|
+
};
|
|
3239
|
+
styleDelta: {
|
|
3240
|
+
classNameDiff: boolean;
|
|
3241
|
+
tokenUsageDiff: boolean;
|
|
3242
|
+
};
|
|
3243
|
+
logicDelta: {
|
|
3244
|
+
hasState: boolean;
|
|
3245
|
+
hasEffect: boolean;
|
|
3246
|
+
hasExtraImports: boolean;
|
|
3247
|
+
};
|
|
3248
|
+
cvaDelta: {
|
|
3249
|
+
addedVariants: string[];
|
|
3250
|
+
modifiedVariants: string[];
|
|
3251
|
+
};
|
|
3252
|
+
structureDelta: {
|
|
3253
|
+
isComposition: boolean;
|
|
3254
|
+
atomicChildren: string[];
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3258
|
+
confidence: number;
|
|
3259
|
+
reasons: string[];
|
|
3260
|
+
}, {
|
|
3261
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3262
|
+
featureVector: {
|
|
3263
|
+
apiDelta: {
|
|
3264
|
+
added: string[];
|
|
3265
|
+
removed: string[];
|
|
3266
|
+
signatureChanged: boolean;
|
|
3267
|
+
};
|
|
3268
|
+
styleDelta: {
|
|
3269
|
+
classNameDiff: boolean;
|
|
3270
|
+
tokenUsageDiff: boolean;
|
|
3271
|
+
};
|
|
3272
|
+
logicDelta: {
|
|
3273
|
+
hasState: boolean;
|
|
3274
|
+
hasEffect: boolean;
|
|
3275
|
+
hasExtraImports: boolean;
|
|
3276
|
+
};
|
|
3277
|
+
cvaDelta: {
|
|
3278
|
+
addedVariants: string[];
|
|
3279
|
+
modifiedVariants: string[];
|
|
3280
|
+
};
|
|
3281
|
+
structureDelta: {
|
|
3282
|
+
isComposition: boolean;
|
|
3283
|
+
atomicChildren: string[];
|
|
3284
|
+
};
|
|
3285
|
+
};
|
|
3286
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3287
|
+
confidence: number;
|
|
3288
|
+
reasons: string[];
|
|
3289
|
+
}>;
|
|
2944
3290
|
/** A single component-level entry inside the staging manifest. */
|
|
2945
3291
|
declare const UpgradeStagingEntrySchema: z.ZodObject<{
|
|
2946
3292
|
/** Component identifier matching the upstream registry (e.g. `"button"`). */
|
|
@@ -3004,6 +3350,179 @@ declare const UpgradeStagingEntrySchema: z.ZodObject<{
|
|
|
3004
3350
|
filesChangedCount: number;
|
|
3005
3351
|
diffRelPath?: string | undefined;
|
|
3006
3352
|
}>;
|
|
3353
|
+
/**
|
|
3354
|
+
* Optional promotion-planning payload (Init landing plan Phase 2.C.2). Only
|
|
3355
|
+
* emitted when the CLI was able to compare current/incoming sources —
|
|
3356
|
+
* `breaking` / `foreign` entries leave it undefined.
|
|
3357
|
+
*/
|
|
3358
|
+
promotion: z.ZodOptional<z.ZodObject<{
|
|
3359
|
+
fileType: z.ZodEnum<["component", "hook", "util", "type", "provider"]>;
|
|
3360
|
+
featureVector: z.ZodObject<{
|
|
3361
|
+
apiDelta: z.ZodObject<{
|
|
3362
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
3363
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
3364
|
+
signatureChanged: z.ZodBoolean;
|
|
3365
|
+
}, "strip", z.ZodTypeAny, {
|
|
3366
|
+
added: string[];
|
|
3367
|
+
removed: string[];
|
|
3368
|
+
signatureChanged: boolean;
|
|
3369
|
+
}, {
|
|
3370
|
+
added: string[];
|
|
3371
|
+
removed: string[];
|
|
3372
|
+
signatureChanged: boolean;
|
|
3373
|
+
}>;
|
|
3374
|
+
styleDelta: z.ZodObject<{
|
|
3375
|
+
classNameDiff: z.ZodBoolean;
|
|
3376
|
+
tokenUsageDiff: z.ZodBoolean;
|
|
3377
|
+
}, "strip", z.ZodTypeAny, {
|
|
3378
|
+
classNameDiff: boolean;
|
|
3379
|
+
tokenUsageDiff: boolean;
|
|
3380
|
+
}, {
|
|
3381
|
+
classNameDiff: boolean;
|
|
3382
|
+
tokenUsageDiff: boolean;
|
|
3383
|
+
}>;
|
|
3384
|
+
logicDelta: z.ZodObject<{
|
|
3385
|
+
hasState: z.ZodBoolean;
|
|
3386
|
+
hasEffect: z.ZodBoolean;
|
|
3387
|
+
hasExtraImports: z.ZodBoolean;
|
|
3388
|
+
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
hasState: boolean;
|
|
3390
|
+
hasEffect: boolean;
|
|
3391
|
+
hasExtraImports: boolean;
|
|
3392
|
+
}, {
|
|
3393
|
+
hasState: boolean;
|
|
3394
|
+
hasEffect: boolean;
|
|
3395
|
+
hasExtraImports: boolean;
|
|
3396
|
+
}>;
|
|
3397
|
+
cvaDelta: z.ZodObject<{
|
|
3398
|
+
addedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3399
|
+
modifiedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3400
|
+
}, "strip", z.ZodTypeAny, {
|
|
3401
|
+
addedVariants: string[];
|
|
3402
|
+
modifiedVariants: string[];
|
|
3403
|
+
}, {
|
|
3404
|
+
addedVariants: string[];
|
|
3405
|
+
modifiedVariants: string[];
|
|
3406
|
+
}>;
|
|
3407
|
+
structureDelta: z.ZodObject<{
|
|
3408
|
+
isComposition: z.ZodBoolean;
|
|
3409
|
+
atomicChildren: z.ZodArray<z.ZodString, "many">;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
isComposition: boolean;
|
|
3412
|
+
atomicChildren: string[];
|
|
3413
|
+
}, {
|
|
3414
|
+
isComposition: boolean;
|
|
3415
|
+
atomicChildren: string[];
|
|
3416
|
+
}>;
|
|
3417
|
+
}, "strip", z.ZodTypeAny, {
|
|
3418
|
+
apiDelta: {
|
|
3419
|
+
added: string[];
|
|
3420
|
+
removed: string[];
|
|
3421
|
+
signatureChanged: boolean;
|
|
3422
|
+
};
|
|
3423
|
+
styleDelta: {
|
|
3424
|
+
classNameDiff: boolean;
|
|
3425
|
+
tokenUsageDiff: boolean;
|
|
3426
|
+
};
|
|
3427
|
+
logicDelta: {
|
|
3428
|
+
hasState: boolean;
|
|
3429
|
+
hasEffect: boolean;
|
|
3430
|
+
hasExtraImports: boolean;
|
|
3431
|
+
};
|
|
3432
|
+
cvaDelta: {
|
|
3433
|
+
addedVariants: string[];
|
|
3434
|
+
modifiedVariants: string[];
|
|
3435
|
+
};
|
|
3436
|
+
structureDelta: {
|
|
3437
|
+
isComposition: boolean;
|
|
3438
|
+
atomicChildren: string[];
|
|
3439
|
+
};
|
|
3440
|
+
}, {
|
|
3441
|
+
apiDelta: {
|
|
3442
|
+
added: string[];
|
|
3443
|
+
removed: string[];
|
|
3444
|
+
signatureChanged: boolean;
|
|
3445
|
+
};
|
|
3446
|
+
styleDelta: {
|
|
3447
|
+
classNameDiff: boolean;
|
|
3448
|
+
tokenUsageDiff: boolean;
|
|
3449
|
+
};
|
|
3450
|
+
logicDelta: {
|
|
3451
|
+
hasState: boolean;
|
|
3452
|
+
hasEffect: boolean;
|
|
3453
|
+
hasExtraImports: boolean;
|
|
3454
|
+
};
|
|
3455
|
+
cvaDelta: {
|
|
3456
|
+
addedVariants: string[];
|
|
3457
|
+
modifiedVariants: string[];
|
|
3458
|
+
};
|
|
3459
|
+
structureDelta: {
|
|
3460
|
+
isComposition: boolean;
|
|
3461
|
+
atomicChildren: string[];
|
|
3462
|
+
};
|
|
3463
|
+
}>;
|
|
3464
|
+
recommendedModes: z.ZodArray<z.ZodEnum<["Coexist", "Preset", "Wrapper", "Compose", "Variant", "Fork", "TokenOnly", "ManualReview"]>, "many">;
|
|
3465
|
+
confidence: z.ZodNumber;
|
|
3466
|
+
reasons: z.ZodArray<z.ZodString, "many">;
|
|
3467
|
+
}, "strip", z.ZodTypeAny, {
|
|
3468
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3469
|
+
featureVector: {
|
|
3470
|
+
apiDelta: {
|
|
3471
|
+
added: string[];
|
|
3472
|
+
removed: string[];
|
|
3473
|
+
signatureChanged: boolean;
|
|
3474
|
+
};
|
|
3475
|
+
styleDelta: {
|
|
3476
|
+
classNameDiff: boolean;
|
|
3477
|
+
tokenUsageDiff: boolean;
|
|
3478
|
+
};
|
|
3479
|
+
logicDelta: {
|
|
3480
|
+
hasState: boolean;
|
|
3481
|
+
hasEffect: boolean;
|
|
3482
|
+
hasExtraImports: boolean;
|
|
3483
|
+
};
|
|
3484
|
+
cvaDelta: {
|
|
3485
|
+
addedVariants: string[];
|
|
3486
|
+
modifiedVariants: string[];
|
|
3487
|
+
};
|
|
3488
|
+
structureDelta: {
|
|
3489
|
+
isComposition: boolean;
|
|
3490
|
+
atomicChildren: string[];
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3494
|
+
confidence: number;
|
|
3495
|
+
reasons: string[];
|
|
3496
|
+
}, {
|
|
3497
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3498
|
+
featureVector: {
|
|
3499
|
+
apiDelta: {
|
|
3500
|
+
added: string[];
|
|
3501
|
+
removed: string[];
|
|
3502
|
+
signatureChanged: boolean;
|
|
3503
|
+
};
|
|
3504
|
+
styleDelta: {
|
|
3505
|
+
classNameDiff: boolean;
|
|
3506
|
+
tokenUsageDiff: boolean;
|
|
3507
|
+
};
|
|
3508
|
+
logicDelta: {
|
|
3509
|
+
hasState: boolean;
|
|
3510
|
+
hasEffect: boolean;
|
|
3511
|
+
hasExtraImports: boolean;
|
|
3512
|
+
};
|
|
3513
|
+
cvaDelta: {
|
|
3514
|
+
addedVariants: string[];
|
|
3515
|
+
modifiedVariants: string[];
|
|
3516
|
+
};
|
|
3517
|
+
structureDelta: {
|
|
3518
|
+
isComposition: boolean;
|
|
3519
|
+
atomicChildren: string[];
|
|
3520
|
+
};
|
|
3521
|
+
};
|
|
3522
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3523
|
+
confidence: number;
|
|
3524
|
+
reasons: string[];
|
|
3525
|
+
}>>;
|
|
3007
3526
|
}, "strip", z.ZodTypeAny, {
|
|
3008
3527
|
id: string;
|
|
3009
3528
|
category: "ui" | "biz-ui";
|
|
@@ -3023,6 +3542,36 @@ declare const UpgradeStagingEntrySchema: z.ZodObject<{
|
|
|
3023
3542
|
sourceVersion: string;
|
|
3024
3543
|
relPath: string;
|
|
3025
3544
|
} | undefined;
|
|
3545
|
+
promotion?: {
|
|
3546
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3547
|
+
featureVector: {
|
|
3548
|
+
apiDelta: {
|
|
3549
|
+
added: string[];
|
|
3550
|
+
removed: string[];
|
|
3551
|
+
signatureChanged: boolean;
|
|
3552
|
+
};
|
|
3553
|
+
styleDelta: {
|
|
3554
|
+
classNameDiff: boolean;
|
|
3555
|
+
tokenUsageDiff: boolean;
|
|
3556
|
+
};
|
|
3557
|
+
logicDelta: {
|
|
3558
|
+
hasState: boolean;
|
|
3559
|
+
hasEffect: boolean;
|
|
3560
|
+
hasExtraImports: boolean;
|
|
3561
|
+
};
|
|
3562
|
+
cvaDelta: {
|
|
3563
|
+
addedVariants: string[];
|
|
3564
|
+
modifiedVariants: string[];
|
|
3565
|
+
};
|
|
3566
|
+
structureDelta: {
|
|
3567
|
+
isComposition: boolean;
|
|
3568
|
+
atomicChildren: string[];
|
|
3569
|
+
};
|
|
3570
|
+
};
|
|
3571
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3572
|
+
confidence: number;
|
|
3573
|
+
reasons: string[];
|
|
3574
|
+
} | undefined;
|
|
3026
3575
|
}, {
|
|
3027
3576
|
id: string;
|
|
3028
3577
|
category: "ui" | "biz-ui";
|
|
@@ -3042,6 +3591,36 @@ declare const UpgradeStagingEntrySchema: z.ZodObject<{
|
|
|
3042
3591
|
sourceVersion: string;
|
|
3043
3592
|
relPath: string;
|
|
3044
3593
|
} | undefined;
|
|
3594
|
+
promotion?: {
|
|
3595
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3596
|
+
featureVector: {
|
|
3597
|
+
apiDelta: {
|
|
3598
|
+
added: string[];
|
|
3599
|
+
removed: string[];
|
|
3600
|
+
signatureChanged: boolean;
|
|
3601
|
+
};
|
|
3602
|
+
styleDelta: {
|
|
3603
|
+
classNameDiff: boolean;
|
|
3604
|
+
tokenUsageDiff: boolean;
|
|
3605
|
+
};
|
|
3606
|
+
logicDelta: {
|
|
3607
|
+
hasState: boolean;
|
|
3608
|
+
hasEffect: boolean;
|
|
3609
|
+
hasExtraImports: boolean;
|
|
3610
|
+
};
|
|
3611
|
+
cvaDelta: {
|
|
3612
|
+
addedVariants: string[];
|
|
3613
|
+
modifiedVariants: string[];
|
|
3614
|
+
};
|
|
3615
|
+
structureDelta: {
|
|
3616
|
+
isComposition: boolean;
|
|
3617
|
+
atomicChildren: string[];
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3621
|
+
confidence: number;
|
|
3622
|
+
reasons: string[];
|
|
3623
|
+
} | undefined;
|
|
3045
3624
|
}>;
|
|
3046
3625
|
/**
|
|
3047
3626
|
* Top-level staging manifest, written as `meta.json` in the staging dir.
|
|
@@ -3137,6 +3716,179 @@ declare const UpgradeStagingManifestSchema: z.ZodObject<{
|
|
|
3137
3716
|
filesChangedCount: number;
|
|
3138
3717
|
diffRelPath?: string | undefined;
|
|
3139
3718
|
}>;
|
|
3719
|
+
/**
|
|
3720
|
+
* Optional promotion-planning payload (Init landing plan Phase 2.C.2). Only
|
|
3721
|
+
* emitted when the CLI was able to compare current/incoming sources —
|
|
3722
|
+
* `breaking` / `foreign` entries leave it undefined.
|
|
3723
|
+
*/
|
|
3724
|
+
promotion: z.ZodOptional<z.ZodObject<{
|
|
3725
|
+
fileType: z.ZodEnum<["component", "hook", "util", "type", "provider"]>;
|
|
3726
|
+
featureVector: z.ZodObject<{
|
|
3727
|
+
apiDelta: z.ZodObject<{
|
|
3728
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
3729
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
3730
|
+
signatureChanged: z.ZodBoolean;
|
|
3731
|
+
}, "strip", z.ZodTypeAny, {
|
|
3732
|
+
added: string[];
|
|
3733
|
+
removed: string[];
|
|
3734
|
+
signatureChanged: boolean;
|
|
3735
|
+
}, {
|
|
3736
|
+
added: string[];
|
|
3737
|
+
removed: string[];
|
|
3738
|
+
signatureChanged: boolean;
|
|
3739
|
+
}>;
|
|
3740
|
+
styleDelta: z.ZodObject<{
|
|
3741
|
+
classNameDiff: z.ZodBoolean;
|
|
3742
|
+
tokenUsageDiff: z.ZodBoolean;
|
|
3743
|
+
}, "strip", z.ZodTypeAny, {
|
|
3744
|
+
classNameDiff: boolean;
|
|
3745
|
+
tokenUsageDiff: boolean;
|
|
3746
|
+
}, {
|
|
3747
|
+
classNameDiff: boolean;
|
|
3748
|
+
tokenUsageDiff: boolean;
|
|
3749
|
+
}>;
|
|
3750
|
+
logicDelta: z.ZodObject<{
|
|
3751
|
+
hasState: z.ZodBoolean;
|
|
3752
|
+
hasEffect: z.ZodBoolean;
|
|
3753
|
+
hasExtraImports: z.ZodBoolean;
|
|
3754
|
+
}, "strip", z.ZodTypeAny, {
|
|
3755
|
+
hasState: boolean;
|
|
3756
|
+
hasEffect: boolean;
|
|
3757
|
+
hasExtraImports: boolean;
|
|
3758
|
+
}, {
|
|
3759
|
+
hasState: boolean;
|
|
3760
|
+
hasEffect: boolean;
|
|
3761
|
+
hasExtraImports: boolean;
|
|
3762
|
+
}>;
|
|
3763
|
+
cvaDelta: z.ZodObject<{
|
|
3764
|
+
addedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3765
|
+
modifiedVariants: z.ZodArray<z.ZodString, "many">;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
addedVariants: string[];
|
|
3768
|
+
modifiedVariants: string[];
|
|
3769
|
+
}, {
|
|
3770
|
+
addedVariants: string[];
|
|
3771
|
+
modifiedVariants: string[];
|
|
3772
|
+
}>;
|
|
3773
|
+
structureDelta: z.ZodObject<{
|
|
3774
|
+
isComposition: z.ZodBoolean;
|
|
3775
|
+
atomicChildren: z.ZodArray<z.ZodString, "many">;
|
|
3776
|
+
}, "strip", z.ZodTypeAny, {
|
|
3777
|
+
isComposition: boolean;
|
|
3778
|
+
atomicChildren: string[];
|
|
3779
|
+
}, {
|
|
3780
|
+
isComposition: boolean;
|
|
3781
|
+
atomicChildren: string[];
|
|
3782
|
+
}>;
|
|
3783
|
+
}, "strip", z.ZodTypeAny, {
|
|
3784
|
+
apiDelta: {
|
|
3785
|
+
added: string[];
|
|
3786
|
+
removed: string[];
|
|
3787
|
+
signatureChanged: boolean;
|
|
3788
|
+
};
|
|
3789
|
+
styleDelta: {
|
|
3790
|
+
classNameDiff: boolean;
|
|
3791
|
+
tokenUsageDiff: boolean;
|
|
3792
|
+
};
|
|
3793
|
+
logicDelta: {
|
|
3794
|
+
hasState: boolean;
|
|
3795
|
+
hasEffect: boolean;
|
|
3796
|
+
hasExtraImports: boolean;
|
|
3797
|
+
};
|
|
3798
|
+
cvaDelta: {
|
|
3799
|
+
addedVariants: string[];
|
|
3800
|
+
modifiedVariants: string[];
|
|
3801
|
+
};
|
|
3802
|
+
structureDelta: {
|
|
3803
|
+
isComposition: boolean;
|
|
3804
|
+
atomicChildren: string[];
|
|
3805
|
+
};
|
|
3806
|
+
}, {
|
|
3807
|
+
apiDelta: {
|
|
3808
|
+
added: string[];
|
|
3809
|
+
removed: string[];
|
|
3810
|
+
signatureChanged: boolean;
|
|
3811
|
+
};
|
|
3812
|
+
styleDelta: {
|
|
3813
|
+
classNameDiff: boolean;
|
|
3814
|
+
tokenUsageDiff: boolean;
|
|
3815
|
+
};
|
|
3816
|
+
logicDelta: {
|
|
3817
|
+
hasState: boolean;
|
|
3818
|
+
hasEffect: boolean;
|
|
3819
|
+
hasExtraImports: boolean;
|
|
3820
|
+
};
|
|
3821
|
+
cvaDelta: {
|
|
3822
|
+
addedVariants: string[];
|
|
3823
|
+
modifiedVariants: string[];
|
|
3824
|
+
};
|
|
3825
|
+
structureDelta: {
|
|
3826
|
+
isComposition: boolean;
|
|
3827
|
+
atomicChildren: string[];
|
|
3828
|
+
};
|
|
3829
|
+
}>;
|
|
3830
|
+
recommendedModes: z.ZodArray<z.ZodEnum<["Coexist", "Preset", "Wrapper", "Compose", "Variant", "Fork", "TokenOnly", "ManualReview"]>, "many">;
|
|
3831
|
+
confidence: z.ZodNumber;
|
|
3832
|
+
reasons: z.ZodArray<z.ZodString, "many">;
|
|
3833
|
+
}, "strip", z.ZodTypeAny, {
|
|
3834
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3835
|
+
featureVector: {
|
|
3836
|
+
apiDelta: {
|
|
3837
|
+
added: string[];
|
|
3838
|
+
removed: string[];
|
|
3839
|
+
signatureChanged: boolean;
|
|
3840
|
+
};
|
|
3841
|
+
styleDelta: {
|
|
3842
|
+
classNameDiff: boolean;
|
|
3843
|
+
tokenUsageDiff: boolean;
|
|
3844
|
+
};
|
|
3845
|
+
logicDelta: {
|
|
3846
|
+
hasState: boolean;
|
|
3847
|
+
hasEffect: boolean;
|
|
3848
|
+
hasExtraImports: boolean;
|
|
3849
|
+
};
|
|
3850
|
+
cvaDelta: {
|
|
3851
|
+
addedVariants: string[];
|
|
3852
|
+
modifiedVariants: string[];
|
|
3853
|
+
};
|
|
3854
|
+
structureDelta: {
|
|
3855
|
+
isComposition: boolean;
|
|
3856
|
+
atomicChildren: string[];
|
|
3857
|
+
};
|
|
3858
|
+
};
|
|
3859
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3860
|
+
confidence: number;
|
|
3861
|
+
reasons: string[];
|
|
3862
|
+
}, {
|
|
3863
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3864
|
+
featureVector: {
|
|
3865
|
+
apiDelta: {
|
|
3866
|
+
added: string[];
|
|
3867
|
+
removed: string[];
|
|
3868
|
+
signatureChanged: boolean;
|
|
3869
|
+
};
|
|
3870
|
+
styleDelta: {
|
|
3871
|
+
classNameDiff: boolean;
|
|
3872
|
+
tokenUsageDiff: boolean;
|
|
3873
|
+
};
|
|
3874
|
+
logicDelta: {
|
|
3875
|
+
hasState: boolean;
|
|
3876
|
+
hasEffect: boolean;
|
|
3877
|
+
hasExtraImports: boolean;
|
|
3878
|
+
};
|
|
3879
|
+
cvaDelta: {
|
|
3880
|
+
addedVariants: string[];
|
|
3881
|
+
modifiedVariants: string[];
|
|
3882
|
+
};
|
|
3883
|
+
structureDelta: {
|
|
3884
|
+
isComposition: boolean;
|
|
3885
|
+
atomicChildren: string[];
|
|
3886
|
+
};
|
|
3887
|
+
};
|
|
3888
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3889
|
+
confidence: number;
|
|
3890
|
+
reasons: string[];
|
|
3891
|
+
}>>;
|
|
3140
3892
|
}, "strip", z.ZodTypeAny, {
|
|
3141
3893
|
id: string;
|
|
3142
3894
|
category: "ui" | "biz-ui";
|
|
@@ -3156,6 +3908,36 @@ declare const UpgradeStagingManifestSchema: z.ZodObject<{
|
|
|
3156
3908
|
sourceVersion: string;
|
|
3157
3909
|
relPath: string;
|
|
3158
3910
|
} | undefined;
|
|
3911
|
+
promotion?: {
|
|
3912
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3913
|
+
featureVector: {
|
|
3914
|
+
apiDelta: {
|
|
3915
|
+
added: string[];
|
|
3916
|
+
removed: string[];
|
|
3917
|
+
signatureChanged: boolean;
|
|
3918
|
+
};
|
|
3919
|
+
styleDelta: {
|
|
3920
|
+
classNameDiff: boolean;
|
|
3921
|
+
tokenUsageDiff: boolean;
|
|
3922
|
+
};
|
|
3923
|
+
logicDelta: {
|
|
3924
|
+
hasState: boolean;
|
|
3925
|
+
hasEffect: boolean;
|
|
3926
|
+
hasExtraImports: boolean;
|
|
3927
|
+
};
|
|
3928
|
+
cvaDelta: {
|
|
3929
|
+
addedVariants: string[];
|
|
3930
|
+
modifiedVariants: string[];
|
|
3931
|
+
};
|
|
3932
|
+
structureDelta: {
|
|
3933
|
+
isComposition: boolean;
|
|
3934
|
+
atomicChildren: string[];
|
|
3935
|
+
};
|
|
3936
|
+
};
|
|
3937
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3938
|
+
confidence: number;
|
|
3939
|
+
reasons: string[];
|
|
3940
|
+
} | undefined;
|
|
3159
3941
|
}, {
|
|
3160
3942
|
id: string;
|
|
3161
3943
|
category: "ui" | "biz-ui";
|
|
@@ -3175,6 +3957,36 @@ declare const UpgradeStagingManifestSchema: z.ZodObject<{
|
|
|
3175
3957
|
sourceVersion: string;
|
|
3176
3958
|
relPath: string;
|
|
3177
3959
|
} | undefined;
|
|
3960
|
+
promotion?: {
|
|
3961
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
3962
|
+
featureVector: {
|
|
3963
|
+
apiDelta: {
|
|
3964
|
+
added: string[];
|
|
3965
|
+
removed: string[];
|
|
3966
|
+
signatureChanged: boolean;
|
|
3967
|
+
};
|
|
3968
|
+
styleDelta: {
|
|
3969
|
+
classNameDiff: boolean;
|
|
3970
|
+
tokenUsageDiff: boolean;
|
|
3971
|
+
};
|
|
3972
|
+
logicDelta: {
|
|
3973
|
+
hasState: boolean;
|
|
3974
|
+
hasEffect: boolean;
|
|
3975
|
+
hasExtraImports: boolean;
|
|
3976
|
+
};
|
|
3977
|
+
cvaDelta: {
|
|
3978
|
+
addedVariants: string[];
|
|
3979
|
+
modifiedVariants: string[];
|
|
3980
|
+
};
|
|
3981
|
+
structureDelta: {
|
|
3982
|
+
isComposition: boolean;
|
|
3983
|
+
atomicChildren: string[];
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3986
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
3987
|
+
confidence: number;
|
|
3988
|
+
reasons: string[];
|
|
3989
|
+
} | undefined;
|
|
3178
3990
|
}>, "many">;
|
|
3179
3991
|
}, "strip", z.ZodTypeAny, {
|
|
3180
3992
|
entries: {
|
|
@@ -3196,6 +4008,36 @@ declare const UpgradeStagingManifestSchema: z.ZodObject<{
|
|
|
3196
4008
|
sourceVersion: string;
|
|
3197
4009
|
relPath: string;
|
|
3198
4010
|
} | undefined;
|
|
4011
|
+
promotion?: {
|
|
4012
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
4013
|
+
featureVector: {
|
|
4014
|
+
apiDelta: {
|
|
4015
|
+
added: string[];
|
|
4016
|
+
removed: string[];
|
|
4017
|
+
signatureChanged: boolean;
|
|
4018
|
+
};
|
|
4019
|
+
styleDelta: {
|
|
4020
|
+
classNameDiff: boolean;
|
|
4021
|
+
tokenUsageDiff: boolean;
|
|
4022
|
+
};
|
|
4023
|
+
logicDelta: {
|
|
4024
|
+
hasState: boolean;
|
|
4025
|
+
hasEffect: boolean;
|
|
4026
|
+
hasExtraImports: boolean;
|
|
4027
|
+
};
|
|
4028
|
+
cvaDelta: {
|
|
4029
|
+
addedVariants: string[];
|
|
4030
|
+
modifiedVariants: string[];
|
|
4031
|
+
};
|
|
4032
|
+
structureDelta: {
|
|
4033
|
+
isComposition: boolean;
|
|
4034
|
+
atomicChildren: string[];
|
|
4035
|
+
};
|
|
4036
|
+
};
|
|
4037
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
4038
|
+
confidence: number;
|
|
4039
|
+
reasons: string[];
|
|
4040
|
+
} | undefined;
|
|
3199
4041
|
}[];
|
|
3200
4042
|
schemaVersion: 1;
|
|
3201
4043
|
package: "ui" | "biz-ui";
|
|
@@ -3229,6 +4071,36 @@ declare const UpgradeStagingManifestSchema: z.ZodObject<{
|
|
|
3229
4071
|
sourceVersion: string;
|
|
3230
4072
|
relPath: string;
|
|
3231
4073
|
} | undefined;
|
|
4074
|
+
promotion?: {
|
|
4075
|
+
fileType: "type" | "component" | "hook" | "util" | "provider";
|
|
4076
|
+
featureVector: {
|
|
4077
|
+
apiDelta: {
|
|
4078
|
+
added: string[];
|
|
4079
|
+
removed: string[];
|
|
4080
|
+
signatureChanged: boolean;
|
|
4081
|
+
};
|
|
4082
|
+
styleDelta: {
|
|
4083
|
+
classNameDiff: boolean;
|
|
4084
|
+
tokenUsageDiff: boolean;
|
|
4085
|
+
};
|
|
4086
|
+
logicDelta: {
|
|
4087
|
+
hasState: boolean;
|
|
4088
|
+
hasEffect: boolean;
|
|
4089
|
+
hasExtraImports: boolean;
|
|
4090
|
+
};
|
|
4091
|
+
cvaDelta: {
|
|
4092
|
+
addedVariants: string[];
|
|
4093
|
+
modifiedVariants: string[];
|
|
4094
|
+
};
|
|
4095
|
+
structureDelta: {
|
|
4096
|
+
isComposition: boolean;
|
|
4097
|
+
atomicChildren: string[];
|
|
4098
|
+
};
|
|
4099
|
+
};
|
|
4100
|
+
recommendedModes: ("Coexist" | "Preset" | "Wrapper" | "Compose" | "Variant" | "Fork" | "TokenOnly" | "ManualReview")[];
|
|
4101
|
+
confidence: number;
|
|
4102
|
+
reasons: string[];
|
|
4103
|
+
} | undefined;
|
|
3232
4104
|
}[];
|
|
3233
4105
|
schemaVersion: 1;
|
|
3234
4106
|
package: "ui" | "biz-ui";
|
|
@@ -3252,6 +4124,10 @@ type UpgradeStagingIncoming = z.infer<typeof UpgradeStagingIncomingSchema>;
|
|
|
3252
4124
|
type UpgradeStagingDiff = z.infer<typeof UpgradeStagingDiffSchema>;
|
|
3253
4125
|
type UpgradeStagingEntry = z.infer<typeof UpgradeStagingEntrySchema>;
|
|
3254
4126
|
type UpgradeStagingManifest = z.infer<typeof UpgradeStagingManifestSchema>;
|
|
4127
|
+
type PromoteFileType = z.infer<typeof PromoteFileTypeSchema>;
|
|
4128
|
+
type PromoteMode = z.infer<typeof PromoteModeSchema>;
|
|
4129
|
+
type PromoteFeatureVector = z.infer<typeof PromoteFeatureVectorSchema>;
|
|
4130
|
+
type UpgradeStagingPromotion = z.infer<typeof UpgradeStagingPromotionSchema>;
|
|
3255
4131
|
|
|
3256
4132
|
/** Resource update strategy */
|
|
3257
4133
|
type UpdateStrategy = z.infer<typeof UpdateStrategySchema>;
|
|
@@ -3554,4 +4430,4 @@ interface UpdateActionOptions {
|
|
|
3554
4430
|
*/
|
|
3555
4431
|
declare function getUpdateAction(strategy: UpdateStrategy, options: UpdateActionOptions): UpdateAction;
|
|
3556
4432
|
|
|
3557
|
-
export { type ComponentLineage, ComponentLineageSchema, type DocumentSegment, type InstalledManifest, InstalledManifestSchema, type InstalledPackage, InstalledPackageSchema, type InstalledResource, InstalledResourceSchema, type LastUpdateRecord, LastUpdateRecordSchema, type ManagedRegion, type PackageEntry, PackageEntrySchema, type ProjectConfig, ProjectConfigSchema, type ProjectConfigV1, ProjectConfigV1Schema, type ProjectConfigV2, ProjectConfigV2Schema, type Resource, ResourceSchema, type ResourceType, ResourceTypeSchema, type Result, type SkillEntry, SkillEntrySchema, type SkillIde, SkillIdeSchema, type SkillScope, SkillScopeSchema, type SkillsLock, type SkillsLockEntry, SkillsLockEntrySchema, SkillsLockSchema, type SkillsPackageManifest, SkillsPackageManifestSchema, type TailwindVersion, TailwindVersionSchema, type TokenRenameEntry, TokenRenameEntrySchema, type TokenRenameRecord, TokenRenameRecordSchema, type TokensPackLinked, TokensPackLinkedSchema, type TokensPackLock, TokensPackLockSchema, type TokensPackageManifest, TokensPackageManifestSchema, type TokensVariantEntry, TokensVariantEntrySchema, type UiAlias, UiAliasSchema, type UiAliases, UiAliasesSchema, type UiEntry, type UiEntryFile, UiEntryFileSchema, UiEntrySchema, type UiEntryType, UiEntryTypeSchema, type UiPackageManifest, UiPackageManifestSchema, type UpdateAction, type UpdateActionOptions, type UpdateStrategy, UpdateStrategySchema, type UpgradeRiskLevel, UpgradeRiskLevelSchema, type UpgradeStagingCategory, UpgradeStagingCategorySchema, type UpgradeStagingCurrent, UpgradeStagingCurrentSchema, type UpgradeStagingDiff, UpgradeStagingDiffSchema, type UpgradeStagingEntry, UpgradeStagingEntrySchema, type UpgradeStagingIncoming, UpgradeStagingIncomingSchema, type UpgradeStagingManifest, UpgradeStagingManifestSchema, type UpgradeStagingTrigger, UpgradeStagingTriggerSchema, type VariantManifest, VariantManifestSchema, type VariantUiPackageCatalog, VariantUiPackageCatalogSchema, type VariantUiPackageManifest, VariantUiPackageManifestSchema, type VariantUiPackageName, VariantUiPackageNameSchema, extractFrontmatter, getUpdateAction, getVariantEntry, hasManagedRegion, loadSkillsPackageManifest, loadTokensPackageManifest, loadUiPackageManifest, loadVariantManifest, loadVariantUiPackageCatalog, loadVariantUiPackageManifest, parseManagedRegions, replaceFrontmatter, replaceManagedRegion, resolveUiEntryOrder, shouldUpdate, splitManagedRegions, validateConfig, validateInstalled, validateManifest, validateSkillsLock, validateSkillsPackage, validateUiDependencyGraph, validateUiPackage };
|
|
4433
|
+
export { type ComponentLineage, ComponentLineageSchema, type DocumentSegment, type InstalledManifest, InstalledManifestSchema, type InstalledPackage, InstalledPackageSchema, type InstalledResource, InstalledResourceSchema, type LastUpdateRecord, LastUpdateRecordSchema, type ManagedRegion, type PackageEntry, PackageEntrySchema, type ProjectConfig, ProjectConfigSchema, type ProjectConfigV1, ProjectConfigV1Schema, type ProjectConfigV2, ProjectConfigV2Schema, type PromoteFeatureVector, PromoteFeatureVectorSchema, type PromoteFileType, PromoteFileTypeSchema, type PromoteMode, PromoteModeSchema, type Resource, ResourceSchema, type ResourceType, ResourceTypeSchema, type Result, type SkillEntry, SkillEntrySchema, type SkillIde, SkillIdeSchema, type SkillScope, SkillScopeSchema, type SkillsLock, type SkillsLockEntry, SkillsLockEntrySchema, SkillsLockSchema, type SkillsPackageManifest, SkillsPackageManifestSchema, type TailwindVersion, TailwindVersionSchema, type TokenRenameEntry, TokenRenameEntrySchema, type TokenRenameRecord, TokenRenameRecordSchema, type TokensPackLinked, TokensPackLinkedSchema, type TokensPackLock, TokensPackLockSchema, type TokensPackageManifest, TokensPackageManifestSchema, type TokensVariantEntry, TokensVariantEntrySchema, type UiAlias, UiAliasSchema, type UiAliases, UiAliasesSchema, type UiEntry, type UiEntryFile, UiEntryFileSchema, UiEntrySchema, type UiEntryType, UiEntryTypeSchema, type UiPackageManifest, UiPackageManifestSchema, type UpdateAction, type UpdateActionOptions, type UpdateStrategy, UpdateStrategySchema, type UpgradeRiskLevel, UpgradeRiskLevelSchema, type UpgradeStagingCategory, UpgradeStagingCategorySchema, type UpgradeStagingCurrent, UpgradeStagingCurrentSchema, type UpgradeStagingDiff, UpgradeStagingDiffSchema, type UpgradeStagingEntry, UpgradeStagingEntrySchema, type UpgradeStagingIncoming, UpgradeStagingIncomingSchema, type UpgradeStagingManifest, UpgradeStagingManifestSchema, type UpgradeStagingPromotion, UpgradeStagingPromotionSchema, type UpgradeStagingTrigger, UpgradeStagingTriggerSchema, type VariantManifest, VariantManifestSchema, type VariantUiPackageCatalog, VariantUiPackageCatalogSchema, type VariantUiPackageManifest, VariantUiPackageManifestSchema, type VariantUiPackageName, VariantUiPackageNameSchema, extractFrontmatter, getUpdateAction, getVariantEntry, hasManagedRegion, loadSkillsPackageManifest, loadTokensPackageManifest, loadUiPackageManifest, loadVariantManifest, loadVariantUiPackageCatalog, loadVariantUiPackageManifest, parseManagedRegions, replaceFrontmatter, replaceManagedRegion, resolveUiEntryOrder, shouldUpdate, splitManagedRegions, validateConfig, validateInstalled, validateManifest, validateSkillsLock, validateSkillsPackage, validateUiDependencyGraph, validateUiPackage };
|