@fenglimg/fabric-shared 2.3.0-rc.8 → 2.3.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/{chunk-CVNJCAC7.js → chunk-5M3HB554.js} +190 -37
- package/dist/{chunk-ASS2KBB7.js → chunk-OX6DWUK4.js} +31 -2
- package/dist/{chunk-KFFBQRL5.js → chunk-V7IUN5U2.js} +9 -7
- package/dist/{chunk-P6INRP3A.js → chunk-WXVFJBL5.js} +194 -39
- package/dist/i18n/index.js +3 -2
- package/dist/{index-B2e0wKJi.d.ts → index-KvxqMZV1.d.ts} +6 -0
- package/dist/index.d.ts +474 -25
- package/dist/index.js +310 -43
- package/dist/schemas/api-contracts.d.ts +608 -151
- package/dist/schemas/api-contracts.js +1 -1
- package/dist/templates/bootstrap-canonical.d.ts +2 -2
- package/dist/templates/bootstrap-canonical.js +3 -2
- package/dist/theme.d.ts +6 -3
- package/dist/theme.js +27 -5
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -90,10 +90,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
90
90
|
stable_id: z.ZodString;
|
|
91
91
|
description: z.ZodObject<{
|
|
92
92
|
summary: z.ZodString;
|
|
93
|
-
intent_clues: z.ZodArray<z.ZodString, "many"
|
|
93
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
94
94
|
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
95
|
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
96
|
-
must_read_if: z.ZodString
|
|
96
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
97
97
|
id: z.ZodOptional<z.ZodString>;
|
|
98
98
|
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
99
99
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
@@ -105,14 +105,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
105
105
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
107
|
summary: string;
|
|
108
|
-
intent_clues: string[];
|
|
109
|
-
must_read_if: string;
|
|
110
108
|
created_at?: string | undefined;
|
|
111
109
|
id?: string | undefined;
|
|
112
110
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
113
111
|
relevance_paths?: string[] | undefined;
|
|
112
|
+
intent_clues?: string[] | undefined;
|
|
114
113
|
tech_stack?: string[] | undefined;
|
|
115
114
|
impact?: string[] | undefined;
|
|
115
|
+
must_read_if?: string | undefined;
|
|
116
116
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
117
117
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
118
118
|
tags?: string[] | undefined;
|
|
@@ -120,14 +120,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
120
120
|
aliases?: string[] | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
summary: string;
|
|
123
|
-
intent_clues: string[];
|
|
124
|
-
must_read_if: string;
|
|
125
123
|
created_at?: string | undefined;
|
|
126
124
|
id?: string | undefined;
|
|
127
125
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
128
126
|
relevance_paths?: string[] | undefined;
|
|
127
|
+
intent_clues?: string[] | undefined;
|
|
129
128
|
tech_stack?: string[] | undefined;
|
|
130
129
|
impact?: string[] | undefined;
|
|
130
|
+
must_read_if?: string | undefined;
|
|
131
131
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
132
132
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
133
133
|
tags?: string[] | undefined;
|
|
@@ -138,14 +138,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
description: {
|
|
140
140
|
summary: string;
|
|
141
|
-
intent_clues: string[];
|
|
142
|
-
must_read_if: string;
|
|
143
141
|
created_at?: string | undefined;
|
|
144
142
|
id?: string | undefined;
|
|
145
143
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
146
144
|
relevance_paths?: string[] | undefined;
|
|
145
|
+
intent_clues?: string[] | undefined;
|
|
147
146
|
tech_stack?: string[] | undefined;
|
|
148
147
|
impact?: string[] | undefined;
|
|
148
|
+
must_read_if?: string | undefined;
|
|
149
149
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
150
150
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
151
151
|
tags?: string[] | undefined;
|
|
@@ -157,14 +157,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
157
157
|
}, {
|
|
158
158
|
description: {
|
|
159
159
|
summary: string;
|
|
160
|
-
intent_clues: string[];
|
|
161
|
-
must_read_if: string;
|
|
162
160
|
created_at?: string | undefined;
|
|
163
161
|
id?: string | undefined;
|
|
164
162
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
165
163
|
relevance_paths?: string[] | undefined;
|
|
164
|
+
intent_clues?: string[] | undefined;
|
|
166
165
|
tech_stack?: string[] | undefined;
|
|
167
166
|
impact?: string[] | undefined;
|
|
167
|
+
must_read_if?: string | undefined;
|
|
168
168
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
169
169
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
170
170
|
tags?: string[] | undefined;
|
|
@@ -241,14 +241,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
241
241
|
candidates: {
|
|
242
242
|
description: {
|
|
243
243
|
summary: string;
|
|
244
|
-
intent_clues: string[];
|
|
245
|
-
must_read_if: string;
|
|
246
244
|
created_at?: string | undefined;
|
|
247
245
|
id?: string | undefined;
|
|
248
246
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
249
247
|
relevance_paths?: string[] | undefined;
|
|
248
|
+
intent_clues?: string[] | undefined;
|
|
250
249
|
tech_stack?: string[] | undefined;
|
|
251
250
|
impact?: string[] | undefined;
|
|
251
|
+
must_read_if?: string | undefined;
|
|
252
252
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
253
253
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
254
254
|
tags?: string[] | undefined;
|
|
@@ -296,14 +296,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
296
296
|
candidates: {
|
|
297
297
|
description: {
|
|
298
298
|
summary: string;
|
|
299
|
-
intent_clues: string[];
|
|
300
|
-
must_read_if: string;
|
|
301
299
|
created_at?: string | undefined;
|
|
302
300
|
id?: string | undefined;
|
|
303
301
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
304
302
|
relevance_paths?: string[] | undefined;
|
|
303
|
+
intent_clues?: string[] | undefined;
|
|
305
304
|
tech_stack?: string[] | undefined;
|
|
306
305
|
impact?: string[] | undefined;
|
|
306
|
+
must_read_if?: string | undefined;
|
|
307
307
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
308
308
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
309
309
|
tags?: string[] | undefined;
|
|
@@ -568,6 +568,7 @@ declare const recallInputSchema: z.ZodObject<{
|
|
|
568
568
|
target_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
569
569
|
ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
570
570
|
include_related: z.ZodOptional<z.ZodBoolean>;
|
|
571
|
+
include_score_breakdown: z.ZodOptional<z.ZodBoolean>;
|
|
571
572
|
}, "strip", z.ZodTypeAny, {
|
|
572
573
|
paths: string[];
|
|
573
574
|
known_tech?: string[] | undefined;
|
|
@@ -580,6 +581,7 @@ declare const recallInputSchema: z.ZodObject<{
|
|
|
580
581
|
target_paths?: string[] | undefined;
|
|
581
582
|
ids?: string[] | undefined;
|
|
582
583
|
include_related?: boolean | undefined;
|
|
584
|
+
include_score_breakdown?: boolean | undefined;
|
|
583
585
|
}, {
|
|
584
586
|
paths: string[];
|
|
585
587
|
known_tech?: string[] | undefined;
|
|
@@ -592,69 +594,31 @@ declare const recallInputSchema: z.ZodObject<{
|
|
|
592
594
|
target_paths?: string[] | undefined;
|
|
593
595
|
ids?: string[] | undefined;
|
|
594
596
|
include_related?: boolean | undefined;
|
|
597
|
+
include_score_breakdown?: boolean | undefined;
|
|
595
598
|
}>;
|
|
596
599
|
declare const recallOutputSchema: z.ZodObject<{
|
|
597
600
|
revision_hash: z.ZodString;
|
|
598
|
-
stale: z.ZodBoolean;
|
|
599
601
|
entries: z.ZodArray<z.ZodObject<{
|
|
600
602
|
stable_id: z.ZodString;
|
|
601
|
-
rank: z.ZodNumber;
|
|
602
603
|
description: z.ZodObject<{
|
|
603
604
|
summary: z.ZodString;
|
|
604
|
-
|
|
605
|
-
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
605
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
606
606
|
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
607
|
-
must_read_if: z.ZodString;
|
|
608
|
-
id: z.ZodOptional<z.ZodString>;
|
|
609
607
|
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
610
|
-
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
611
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
612
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
613
|
-
relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
|
|
614
|
-
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
615
|
-
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
616
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
617
608
|
}, "strip", z.ZodTypeAny, {
|
|
618
609
|
summary: string;
|
|
619
|
-
intent_clues: string[];
|
|
620
|
-
must_read_if: string;
|
|
621
|
-
created_at?: string | undefined;
|
|
622
|
-
id?: string | undefined;
|
|
623
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
624
|
-
relevance_paths?: string[] | undefined;
|
|
625
|
-
tech_stack?: string[] | undefined;
|
|
626
610
|
impact?: string[] | undefined;
|
|
611
|
+
must_read_if?: string | undefined;
|
|
627
612
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
628
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
629
|
-
tags?: string[] | undefined;
|
|
630
|
-
related?: string[] | undefined;
|
|
631
|
-
aliases?: string[] | undefined;
|
|
632
613
|
}, {
|
|
633
614
|
summary: string;
|
|
634
|
-
intent_clues: string[];
|
|
635
|
-
must_read_if: string;
|
|
636
|
-
created_at?: string | undefined;
|
|
637
|
-
id?: string | undefined;
|
|
638
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
639
|
-
relevance_paths?: string[] | undefined;
|
|
640
|
-
tech_stack?: string[] | undefined;
|
|
641
615
|
impact?: string[] | undefined;
|
|
616
|
+
must_read_if?: string | undefined;
|
|
642
617
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
643
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
644
|
-
tags?: string[] | undefined;
|
|
645
|
-
related?: string[] | undefined;
|
|
646
|
-
aliases?: string[] | undefined;
|
|
647
618
|
}>;
|
|
648
619
|
read_path: z.ZodOptional<z.ZodString>;
|
|
649
|
-
|
|
650
|
-
alias: z.ZodString;
|
|
651
|
-
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
alias: string;
|
|
653
|
-
}, {
|
|
654
|
-
alias: string;
|
|
655
|
-
}>>;
|
|
620
|
+
store_alias: z.ZodOptional<z.ZodString>;
|
|
656
621
|
body_in_context: z.ZodOptional<z.ZodBoolean>;
|
|
657
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
658
622
|
score_breakdown: z.ZodOptional<z.ZodObject<{
|
|
659
623
|
final: z.ZodNumber;
|
|
660
624
|
bm25: z.ZodOptional<z.ZodNumber>;
|
|
@@ -692,28 +656,14 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
692
656
|
}, "strip", z.ZodTypeAny, {
|
|
693
657
|
description: {
|
|
694
658
|
summary: string;
|
|
695
|
-
intent_clues: string[];
|
|
696
|
-
must_read_if: string;
|
|
697
|
-
created_at?: string | undefined;
|
|
698
|
-
id?: string | undefined;
|
|
699
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
700
|
-
relevance_paths?: string[] | undefined;
|
|
701
|
-
tech_stack?: string[] | undefined;
|
|
702
659
|
impact?: string[] | undefined;
|
|
660
|
+
must_read_if?: string | undefined;
|
|
703
661
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
704
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
705
|
-
tags?: string[] | undefined;
|
|
706
|
-
related?: string[] | undefined;
|
|
707
|
-
aliases?: string[] | undefined;
|
|
708
662
|
};
|
|
709
663
|
stable_id: string;
|
|
710
|
-
rank: number;
|
|
711
|
-
store?: {
|
|
712
|
-
alias: string;
|
|
713
|
-
} | undefined;
|
|
714
664
|
read_path?: string | undefined;
|
|
665
|
+
store_alias?: string | undefined;
|
|
715
666
|
body_in_context?: boolean | undefined;
|
|
716
|
-
score?: number | undefined;
|
|
717
667
|
score_breakdown?: {
|
|
718
668
|
final: number;
|
|
719
669
|
salience: number;
|
|
@@ -729,28 +679,14 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
729
679
|
}, {
|
|
730
680
|
description: {
|
|
731
681
|
summary: string;
|
|
732
|
-
intent_clues: string[];
|
|
733
|
-
must_read_if: string;
|
|
734
|
-
created_at?: string | undefined;
|
|
735
|
-
id?: string | undefined;
|
|
736
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
737
|
-
relevance_paths?: string[] | undefined;
|
|
738
|
-
tech_stack?: string[] | undefined;
|
|
739
682
|
impact?: string[] | undefined;
|
|
683
|
+
must_read_if?: string | undefined;
|
|
740
684
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
741
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
742
|
-
tags?: string[] | undefined;
|
|
743
|
-
related?: string[] | undefined;
|
|
744
|
-
aliases?: string[] | undefined;
|
|
745
685
|
};
|
|
746
686
|
stable_id: string;
|
|
747
|
-
rank: number;
|
|
748
|
-
store?: {
|
|
749
|
-
alias: string;
|
|
750
|
-
} | undefined;
|
|
751
687
|
read_path?: string | undefined;
|
|
688
|
+
store_alias?: string | undefined;
|
|
752
689
|
body_in_context?: boolean | undefined;
|
|
753
|
-
score?: number | undefined;
|
|
754
690
|
score_breakdown?: {
|
|
755
691
|
final: number;
|
|
756
692
|
salience: number;
|
|
@@ -764,18 +700,18 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
764
700
|
credibility?: number | undefined;
|
|
765
701
|
} | undefined;
|
|
766
702
|
}>, "many">;
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
703
|
+
dropped_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
704
|
+
dropped_reasons: z.ZodOptional<z.ZodObject<{
|
|
705
|
+
retrieval_budget: z.ZodOptional<z.ZodNumber>;
|
|
706
|
+
payload_budget: z.ZodOptional<z.ZodNumber>;
|
|
771
707
|
}, "strip", z.ZodTypeAny, {
|
|
772
|
-
|
|
773
|
-
|
|
708
|
+
retrieval_budget?: number | undefined;
|
|
709
|
+
payload_budget?: number | undefined;
|
|
774
710
|
}, {
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
}
|
|
778
|
-
preflight_diagnostics: z.ZodArray<z.ZodObject<{
|
|
711
|
+
retrieval_budget?: number | undefined;
|
|
712
|
+
payload_budget?: number | undefined;
|
|
713
|
+
}>>;
|
|
714
|
+
preflight_diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
779
715
|
code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
|
|
780
716
|
severity: z.ZodLiteral<"warn">;
|
|
781
717
|
message: z.ZodString;
|
|
@@ -793,7 +729,7 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
793
729
|
severity: "warn";
|
|
794
730
|
path?: string | undefined;
|
|
795
731
|
stable_ids?: string[] | undefined;
|
|
796
|
-
}>, "many"
|
|
732
|
+
}>, "many">>;
|
|
797
733
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
798
734
|
code: z.ZodString;
|
|
799
735
|
file: z.ZodString;
|
|
@@ -817,34 +753,19 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
817
753
|
previous_revision_hash: z.ZodOptional<z.ZodString>;
|
|
818
754
|
redirects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
819
755
|
related_appended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
820
|
-
directive: z.ZodString;
|
|
821
756
|
next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
822
757
|
}, "strip", z.ZodTypeAny, {
|
|
823
758
|
entries: {
|
|
824
759
|
description: {
|
|
825
760
|
summary: string;
|
|
826
|
-
intent_clues: string[];
|
|
827
|
-
must_read_if: string;
|
|
828
|
-
created_at?: string | undefined;
|
|
829
|
-
id?: string | undefined;
|
|
830
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
831
|
-
relevance_paths?: string[] | undefined;
|
|
832
|
-
tech_stack?: string[] | undefined;
|
|
833
761
|
impact?: string[] | undefined;
|
|
762
|
+
must_read_if?: string | undefined;
|
|
834
763
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
835
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
836
|
-
tags?: string[] | undefined;
|
|
837
|
-
related?: string[] | undefined;
|
|
838
|
-
aliases?: string[] | undefined;
|
|
839
764
|
};
|
|
840
765
|
stable_id: string;
|
|
841
|
-
rank: number;
|
|
842
|
-
store?: {
|
|
843
|
-
alias: string;
|
|
844
|
-
} | undefined;
|
|
845
766
|
read_path?: string | undefined;
|
|
767
|
+
store_alias?: string | undefined;
|
|
846
768
|
body_in_context?: boolean | undefined;
|
|
847
|
-
score?: number | undefined;
|
|
848
769
|
score_breakdown?: {
|
|
849
770
|
final: number;
|
|
850
771
|
salience: number;
|
|
@@ -858,20 +779,13 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
858
779
|
credibility?: number | undefined;
|
|
859
780
|
} | undefined;
|
|
860
781
|
}[];
|
|
861
|
-
stale: boolean;
|
|
862
782
|
revision_hash: string;
|
|
863
|
-
preflight_diagnostics
|
|
783
|
+
preflight_diagnostics?: {
|
|
864
784
|
code: "missing_description" | "empty_shell_suppressed";
|
|
865
785
|
message: string;
|
|
866
786
|
severity: "warn";
|
|
867
787
|
path?: string | undefined;
|
|
868
788
|
stable_ids?: string[] | undefined;
|
|
869
|
-
}[];
|
|
870
|
-
directive: string;
|
|
871
|
-
intent?: string | undefined;
|
|
872
|
-
dropped?: {
|
|
873
|
-
id: string;
|
|
874
|
-
reason: "retrieval_budget" | "payload_budget";
|
|
875
789
|
}[] | undefined;
|
|
876
790
|
warnings?: {
|
|
877
791
|
code: string;
|
|
@@ -884,33 +798,24 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
884
798
|
previous_revision_hash?: string | undefined;
|
|
885
799
|
redirects?: Record<string, string> | undefined;
|
|
886
800
|
related_appended?: Record<string, string> | undefined;
|
|
801
|
+
dropped_ids?: string[] | undefined;
|
|
802
|
+
dropped_reasons?: {
|
|
803
|
+
retrieval_budget?: number | undefined;
|
|
804
|
+
payload_budget?: number | undefined;
|
|
805
|
+
} | undefined;
|
|
887
806
|
next_steps?: string[] | undefined;
|
|
888
807
|
}, {
|
|
889
808
|
entries: {
|
|
890
809
|
description: {
|
|
891
810
|
summary: string;
|
|
892
|
-
intent_clues: string[];
|
|
893
|
-
must_read_if: string;
|
|
894
|
-
created_at?: string | undefined;
|
|
895
|
-
id?: string | undefined;
|
|
896
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
897
|
-
relevance_paths?: string[] | undefined;
|
|
898
|
-
tech_stack?: string[] | undefined;
|
|
899
811
|
impact?: string[] | undefined;
|
|
812
|
+
must_read_if?: string | undefined;
|
|
900
813
|
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
901
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
902
|
-
tags?: string[] | undefined;
|
|
903
|
-
related?: string[] | undefined;
|
|
904
|
-
aliases?: string[] | undefined;
|
|
905
814
|
};
|
|
906
815
|
stable_id: string;
|
|
907
|
-
rank: number;
|
|
908
|
-
store?: {
|
|
909
|
-
alias: string;
|
|
910
|
-
} | undefined;
|
|
911
816
|
read_path?: string | undefined;
|
|
817
|
+
store_alias?: string | undefined;
|
|
912
818
|
body_in_context?: boolean | undefined;
|
|
913
|
-
score?: number | undefined;
|
|
914
819
|
score_breakdown?: {
|
|
915
820
|
final: number;
|
|
916
821
|
salience: number;
|
|
@@ -924,20 +829,13 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
924
829
|
credibility?: number | undefined;
|
|
925
830
|
} | undefined;
|
|
926
831
|
}[];
|
|
927
|
-
stale: boolean;
|
|
928
832
|
revision_hash: string;
|
|
929
|
-
preflight_diagnostics
|
|
833
|
+
preflight_diagnostics?: {
|
|
930
834
|
code: "missing_description" | "empty_shell_suppressed";
|
|
931
835
|
message: string;
|
|
932
836
|
severity: "warn";
|
|
933
837
|
path?: string | undefined;
|
|
934
838
|
stable_ids?: string[] | undefined;
|
|
935
|
-
}[];
|
|
936
|
-
directive: string;
|
|
937
|
-
intent?: string | undefined;
|
|
938
|
-
dropped?: {
|
|
939
|
-
id: string;
|
|
940
|
-
reason: "retrieval_budget" | "payload_budget";
|
|
941
839
|
}[] | undefined;
|
|
942
840
|
warnings?: {
|
|
943
841
|
code: string;
|
|
@@ -950,6 +848,11 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
950
848
|
previous_revision_hash?: string | undefined;
|
|
951
849
|
redirects?: Record<string, string> | undefined;
|
|
952
850
|
related_appended?: Record<string, string> | undefined;
|
|
851
|
+
dropped_ids?: string[] | undefined;
|
|
852
|
+
dropped_reasons?: {
|
|
853
|
+
retrieval_budget?: number | undefined;
|
|
854
|
+
payload_budget?: number | undefined;
|
|
855
|
+
} | undefined;
|
|
953
856
|
next_steps?: string[] | undefined;
|
|
954
857
|
}>;
|
|
955
858
|
declare const recallAnnotations: {
|
|
@@ -1244,15 +1147,27 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1244
1147
|
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1245
1148
|
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1246
1149
|
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1150
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1152
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1153
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1154
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1155
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1247
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1157
|
semantic_scope?: string | undefined;
|
|
1249
1158
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1250
1159
|
relevance_paths?: string[] | undefined;
|
|
1251
1160
|
layer?: "personal" | "team" | undefined;
|
|
1252
1161
|
summary?: string | undefined;
|
|
1162
|
+
intent_clues?: string[] | undefined;
|
|
1163
|
+
tech_stack?: string[] | undefined;
|
|
1164
|
+
impact?: string[] | undefined;
|
|
1165
|
+
must_read_if?: string | undefined;
|
|
1253
1166
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1254
1167
|
tags?: string[] | undefined;
|
|
1255
1168
|
related?: string[] | undefined;
|
|
1169
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1170
|
+
evidence_paths?: string[] | undefined;
|
|
1256
1171
|
title?: string | undefined;
|
|
1257
1172
|
}, {
|
|
1258
1173
|
semantic_scope?: string | undefined;
|
|
@@ -1260,9 +1175,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1260
1175
|
relevance_paths?: string[] | undefined;
|
|
1261
1176
|
layer?: "personal" | "team" | undefined;
|
|
1262
1177
|
summary?: string | undefined;
|
|
1178
|
+
intent_clues?: string[] | undefined;
|
|
1179
|
+
tech_stack?: string[] | undefined;
|
|
1180
|
+
impact?: string[] | undefined;
|
|
1181
|
+
must_read_if?: string | undefined;
|
|
1263
1182
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1264
1183
|
tags?: string[] | undefined;
|
|
1265
1184
|
related?: string[] | undefined;
|
|
1185
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1186
|
+
evidence_paths?: string[] | undefined;
|
|
1266
1187
|
title?: string | undefined;
|
|
1267
1188
|
}>;
|
|
1268
1189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1274,9 +1195,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1274
1195
|
relevance_paths?: string[] | undefined;
|
|
1275
1196
|
layer?: "personal" | "team" | undefined;
|
|
1276
1197
|
summary?: string | undefined;
|
|
1198
|
+
intent_clues?: string[] | undefined;
|
|
1199
|
+
tech_stack?: string[] | undefined;
|
|
1200
|
+
impact?: string[] | undefined;
|
|
1201
|
+
must_read_if?: string | undefined;
|
|
1277
1202
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1278
1203
|
tags?: string[] | undefined;
|
|
1279
1204
|
related?: string[] | undefined;
|
|
1205
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1206
|
+
evidence_paths?: string[] | undefined;
|
|
1280
1207
|
title?: string | undefined;
|
|
1281
1208
|
};
|
|
1282
1209
|
}, {
|
|
@@ -1288,9 +1215,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1288
1215
|
relevance_paths?: string[] | undefined;
|
|
1289
1216
|
layer?: "personal" | "team" | undefined;
|
|
1290
1217
|
summary?: string | undefined;
|
|
1218
|
+
intent_clues?: string[] | undefined;
|
|
1219
|
+
tech_stack?: string[] | undefined;
|
|
1220
|
+
impact?: string[] | undefined;
|
|
1221
|
+
must_read_if?: string | undefined;
|
|
1291
1222
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1292
1223
|
tags?: string[] | undefined;
|
|
1293
1224
|
related?: string[] | undefined;
|
|
1225
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1226
|
+
evidence_paths?: string[] | undefined;
|
|
1294
1227
|
title?: string | undefined;
|
|
1295
1228
|
};
|
|
1296
1229
|
}>, z.ZodObject<{
|
|
@@ -1306,15 +1239,27 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1306
1239
|
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1307
1240
|
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1308
1241
|
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1242
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1244
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1245
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1246
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1247
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1309
1248
|
}, "strip", z.ZodTypeAny, {
|
|
1310
1249
|
semantic_scope?: string | undefined;
|
|
1311
1250
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1312
1251
|
relevance_paths?: string[] | undefined;
|
|
1313
1252
|
layer?: "personal" | "team" | undefined;
|
|
1314
1253
|
summary?: string | undefined;
|
|
1254
|
+
intent_clues?: string[] | undefined;
|
|
1255
|
+
tech_stack?: string[] | undefined;
|
|
1256
|
+
impact?: string[] | undefined;
|
|
1257
|
+
must_read_if?: string | undefined;
|
|
1315
1258
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1316
1259
|
tags?: string[] | undefined;
|
|
1317
1260
|
related?: string[] | undefined;
|
|
1261
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1262
|
+
evidence_paths?: string[] | undefined;
|
|
1318
1263
|
title?: string | undefined;
|
|
1319
1264
|
}, {
|
|
1320
1265
|
semantic_scope?: string | undefined;
|
|
@@ -1322,9 +1267,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1322
1267
|
relevance_paths?: string[] | undefined;
|
|
1323
1268
|
layer?: "personal" | "team" | undefined;
|
|
1324
1269
|
summary?: string | undefined;
|
|
1270
|
+
intent_clues?: string[] | undefined;
|
|
1271
|
+
tech_stack?: string[] | undefined;
|
|
1272
|
+
impact?: string[] | undefined;
|
|
1273
|
+
must_read_if?: string | undefined;
|
|
1325
1274
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1326
1275
|
tags?: string[] | undefined;
|
|
1327
1276
|
related?: string[] | undefined;
|
|
1277
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1278
|
+
evidence_paths?: string[] | undefined;
|
|
1328
1279
|
title?: string | undefined;
|
|
1329
1280
|
}>;
|
|
1330
1281
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1336,9 +1287,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1336
1287
|
relevance_paths?: string[] | undefined;
|
|
1337
1288
|
layer?: "personal" | "team" | undefined;
|
|
1338
1289
|
summary?: string | undefined;
|
|
1290
|
+
intent_clues?: string[] | undefined;
|
|
1291
|
+
tech_stack?: string[] | undefined;
|
|
1292
|
+
impact?: string[] | undefined;
|
|
1293
|
+
must_read_if?: string | undefined;
|
|
1339
1294
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1340
1295
|
tags?: string[] | undefined;
|
|
1341
1296
|
related?: string[] | undefined;
|
|
1297
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1298
|
+
evidence_paths?: string[] | undefined;
|
|
1342
1299
|
title?: string | undefined;
|
|
1343
1300
|
};
|
|
1344
1301
|
}, {
|
|
@@ -1350,9 +1307,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1350
1307
|
relevance_paths?: string[] | undefined;
|
|
1351
1308
|
layer?: "personal" | "team" | undefined;
|
|
1352
1309
|
summary?: string | undefined;
|
|
1310
|
+
intent_clues?: string[] | undefined;
|
|
1311
|
+
tech_stack?: string[] | undefined;
|
|
1312
|
+
impact?: string[] | undefined;
|
|
1313
|
+
must_read_if?: string | undefined;
|
|
1353
1314
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1354
1315
|
tags?: string[] | undefined;
|
|
1355
1316
|
related?: string[] | undefined;
|
|
1317
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1318
|
+
evidence_paths?: string[] | undefined;
|
|
1356
1319
|
title?: string | undefined;
|
|
1357
1320
|
};
|
|
1358
1321
|
}>, z.ZodObject<{
|
|
@@ -1367,6 +1330,12 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1367
1330
|
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1368
1331
|
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1369
1332
|
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1333
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1335
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1336
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1337
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1338
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1370
1339
|
} & {
|
|
1371
1340
|
layer: z.ZodEnum<["team", "personal"]>;
|
|
1372
1341
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1375,9 +1344,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1375
1344
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1376
1345
|
relevance_paths?: string[] | undefined;
|
|
1377
1346
|
summary?: string | undefined;
|
|
1347
|
+
intent_clues?: string[] | undefined;
|
|
1348
|
+
tech_stack?: string[] | undefined;
|
|
1349
|
+
impact?: string[] | undefined;
|
|
1350
|
+
must_read_if?: string | undefined;
|
|
1378
1351
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1379
1352
|
tags?: string[] | undefined;
|
|
1380
1353
|
related?: string[] | undefined;
|
|
1354
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1355
|
+
evidence_paths?: string[] | undefined;
|
|
1381
1356
|
title?: string | undefined;
|
|
1382
1357
|
}, {
|
|
1383
1358
|
layer: "personal" | "team";
|
|
@@ -1385,9 +1360,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1385
1360
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1386
1361
|
relevance_paths?: string[] | undefined;
|
|
1387
1362
|
summary?: string | undefined;
|
|
1363
|
+
intent_clues?: string[] | undefined;
|
|
1364
|
+
tech_stack?: string[] | undefined;
|
|
1365
|
+
impact?: string[] | undefined;
|
|
1366
|
+
must_read_if?: string | undefined;
|
|
1388
1367
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1389
1368
|
tags?: string[] | undefined;
|
|
1390
1369
|
related?: string[] | undefined;
|
|
1370
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1371
|
+
evidence_paths?: string[] | undefined;
|
|
1391
1372
|
title?: string | undefined;
|
|
1392
1373
|
}>;
|
|
1393
1374
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1399,9 +1380,15 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1399
1380
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1400
1381
|
relevance_paths?: string[] | undefined;
|
|
1401
1382
|
summary?: string | undefined;
|
|
1383
|
+
intent_clues?: string[] | undefined;
|
|
1384
|
+
tech_stack?: string[] | undefined;
|
|
1385
|
+
impact?: string[] | undefined;
|
|
1386
|
+
must_read_if?: string | undefined;
|
|
1402
1387
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1403
1388
|
tags?: string[] | undefined;
|
|
1404
1389
|
related?: string[] | undefined;
|
|
1390
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1391
|
+
evidence_paths?: string[] | undefined;
|
|
1405
1392
|
title?: string | undefined;
|
|
1406
1393
|
};
|
|
1407
1394
|
}, {
|
|
@@ -1413,11 +1400,153 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1413
1400
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1414
1401
|
relevance_paths?: string[] | undefined;
|
|
1415
1402
|
summary?: string | undefined;
|
|
1403
|
+
intent_clues?: string[] | undefined;
|
|
1404
|
+
tech_stack?: string[] | undefined;
|
|
1405
|
+
impact?: string[] | undefined;
|
|
1406
|
+
must_read_if?: string | undefined;
|
|
1416
1407
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1417
1408
|
tags?: string[] | undefined;
|
|
1418
1409
|
related?: string[] | undefined;
|
|
1410
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1411
|
+
evidence_paths?: string[] | undefined;
|
|
1419
1412
|
title?: string | undefined;
|
|
1420
1413
|
};
|
|
1414
|
+
}>, z.ZodObject<{
|
|
1415
|
+
action: z.ZodLiteral<"modify-content-batch">;
|
|
1416
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1417
|
+
pending_path: z.ZodString;
|
|
1418
|
+
changes: z.ZodObject<{
|
|
1419
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1422
|
+
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
1423
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1424
|
+
relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
|
|
1425
|
+
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1426
|
+
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1428
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1430
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1431
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1432
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1433
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1434
|
+
}, "strip", z.ZodTypeAny, {
|
|
1435
|
+
semantic_scope?: string | undefined;
|
|
1436
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1437
|
+
relevance_paths?: string[] | undefined;
|
|
1438
|
+
layer?: "personal" | "team" | undefined;
|
|
1439
|
+
summary?: string | undefined;
|
|
1440
|
+
intent_clues?: string[] | undefined;
|
|
1441
|
+
tech_stack?: string[] | undefined;
|
|
1442
|
+
impact?: string[] | undefined;
|
|
1443
|
+
must_read_if?: string | undefined;
|
|
1444
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1445
|
+
tags?: string[] | undefined;
|
|
1446
|
+
related?: string[] | undefined;
|
|
1447
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1448
|
+
evidence_paths?: string[] | undefined;
|
|
1449
|
+
title?: string | undefined;
|
|
1450
|
+
}, {
|
|
1451
|
+
semantic_scope?: string | undefined;
|
|
1452
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1453
|
+
relevance_paths?: string[] | undefined;
|
|
1454
|
+
layer?: "personal" | "team" | undefined;
|
|
1455
|
+
summary?: string | undefined;
|
|
1456
|
+
intent_clues?: string[] | undefined;
|
|
1457
|
+
tech_stack?: string[] | undefined;
|
|
1458
|
+
impact?: string[] | undefined;
|
|
1459
|
+
must_read_if?: string | undefined;
|
|
1460
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1461
|
+
tags?: string[] | undefined;
|
|
1462
|
+
related?: string[] | undefined;
|
|
1463
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1464
|
+
evidence_paths?: string[] | undefined;
|
|
1465
|
+
title?: string | undefined;
|
|
1466
|
+
}>;
|
|
1467
|
+
}, "strip", z.ZodTypeAny, {
|
|
1468
|
+
pending_path: string;
|
|
1469
|
+
changes: {
|
|
1470
|
+
semantic_scope?: string | undefined;
|
|
1471
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1472
|
+
relevance_paths?: string[] | undefined;
|
|
1473
|
+
layer?: "personal" | "team" | undefined;
|
|
1474
|
+
summary?: string | undefined;
|
|
1475
|
+
intent_clues?: string[] | undefined;
|
|
1476
|
+
tech_stack?: string[] | undefined;
|
|
1477
|
+
impact?: string[] | undefined;
|
|
1478
|
+
must_read_if?: string | undefined;
|
|
1479
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1480
|
+
tags?: string[] | undefined;
|
|
1481
|
+
related?: string[] | undefined;
|
|
1482
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1483
|
+
evidence_paths?: string[] | undefined;
|
|
1484
|
+
title?: string | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
}, {
|
|
1487
|
+
pending_path: string;
|
|
1488
|
+
changes: {
|
|
1489
|
+
semantic_scope?: string | undefined;
|
|
1490
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1491
|
+
relevance_paths?: string[] | undefined;
|
|
1492
|
+
layer?: "personal" | "team" | undefined;
|
|
1493
|
+
summary?: string | undefined;
|
|
1494
|
+
intent_clues?: string[] | undefined;
|
|
1495
|
+
tech_stack?: string[] | undefined;
|
|
1496
|
+
impact?: string[] | undefined;
|
|
1497
|
+
must_read_if?: string | undefined;
|
|
1498
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1499
|
+
tags?: string[] | undefined;
|
|
1500
|
+
related?: string[] | undefined;
|
|
1501
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1502
|
+
evidence_paths?: string[] | undefined;
|
|
1503
|
+
title?: string | undefined;
|
|
1504
|
+
};
|
|
1505
|
+
}>, "many">;
|
|
1506
|
+
}, "strip", z.ZodTypeAny, {
|
|
1507
|
+
action: "modify-content-batch";
|
|
1508
|
+
items: {
|
|
1509
|
+
pending_path: string;
|
|
1510
|
+
changes: {
|
|
1511
|
+
semantic_scope?: string | undefined;
|
|
1512
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1513
|
+
relevance_paths?: string[] | undefined;
|
|
1514
|
+
layer?: "personal" | "team" | undefined;
|
|
1515
|
+
summary?: string | undefined;
|
|
1516
|
+
intent_clues?: string[] | undefined;
|
|
1517
|
+
tech_stack?: string[] | undefined;
|
|
1518
|
+
impact?: string[] | undefined;
|
|
1519
|
+
must_read_if?: string | undefined;
|
|
1520
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1521
|
+
tags?: string[] | undefined;
|
|
1522
|
+
related?: string[] | undefined;
|
|
1523
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1524
|
+
evidence_paths?: string[] | undefined;
|
|
1525
|
+
title?: string | undefined;
|
|
1526
|
+
};
|
|
1527
|
+
}[];
|
|
1528
|
+
}, {
|
|
1529
|
+
action: "modify-content-batch";
|
|
1530
|
+
items: {
|
|
1531
|
+
pending_path: string;
|
|
1532
|
+
changes: {
|
|
1533
|
+
semantic_scope?: string | undefined;
|
|
1534
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1535
|
+
relevance_paths?: string[] | undefined;
|
|
1536
|
+
layer?: "personal" | "team" | undefined;
|
|
1537
|
+
summary?: string | undefined;
|
|
1538
|
+
intent_clues?: string[] | undefined;
|
|
1539
|
+
tech_stack?: string[] | undefined;
|
|
1540
|
+
impact?: string[] | undefined;
|
|
1541
|
+
must_read_if?: string | undefined;
|
|
1542
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1543
|
+
tags?: string[] | undefined;
|
|
1544
|
+
related?: string[] | undefined;
|
|
1545
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1546
|
+
evidence_paths?: string[] | undefined;
|
|
1547
|
+
title?: string | undefined;
|
|
1548
|
+
};
|
|
1549
|
+
}[];
|
|
1421
1550
|
}>, z.ZodObject<{
|
|
1422
1551
|
action: z.ZodLiteral<"defer">;
|
|
1423
1552
|
pending_paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1433,6 +1562,21 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1433
1562
|
pending_paths: string[];
|
|
1434
1563
|
reason?: string | undefined;
|
|
1435
1564
|
until?: string | undefined;
|
|
1565
|
+
}>, z.ZodObject<{
|
|
1566
|
+
action: z.ZodLiteral<"retire">;
|
|
1567
|
+
pending_paths: z.ZodArray<z.ZodString, "many">;
|
|
1568
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1570
|
+
}, "strip", z.ZodTypeAny, {
|
|
1571
|
+
action: "retire";
|
|
1572
|
+
pending_paths: string[];
|
|
1573
|
+
reason?: string | undefined;
|
|
1574
|
+
superseded_by?: string | undefined;
|
|
1575
|
+
}, {
|
|
1576
|
+
action: "retire";
|
|
1577
|
+
pending_paths: string[];
|
|
1578
|
+
reason?: string | undefined;
|
|
1579
|
+
superseded_by?: string | undefined;
|
|
1436
1580
|
}>]>;
|
|
1437
1581
|
type FabReviewInput = z.infer<typeof FabReviewInputSchema>;
|
|
1438
1582
|
declare const FabPendingInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
@@ -1581,7 +1725,7 @@ declare const FabPendingInputShape: {
|
|
|
1581
1725
|
readonly query: z.ZodOptional<z.ZodString>;
|
|
1582
1726
|
};
|
|
1583
1727
|
declare const FabReviewInputShape: {
|
|
1584
|
-
readonly action: z.ZodEnum<["approve", "reject", "modify", "modify-content", "modify-layer", "defer"]>;
|
|
1728
|
+
readonly action: z.ZodEnum<["approve", "reject", "modify", "modify-content", "modify-layer", "modify-content-batch", "defer", "retire"]>;
|
|
1585
1729
|
readonly pending_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1586
1730
|
readonly pending_path: z.ZodOptional<z.ZodString>;
|
|
1587
1731
|
readonly reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1595,15 +1739,27 @@ declare const FabReviewInputShape: {
|
|
|
1595
1739
|
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1596
1740
|
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1597
1741
|
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1742
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1744
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1745
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1746
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1747
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1598
1748
|
}, "strip", z.ZodTypeAny, {
|
|
1599
1749
|
semantic_scope?: string | undefined;
|
|
1600
1750
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1601
1751
|
relevance_paths?: string[] | undefined;
|
|
1602
1752
|
layer?: "personal" | "team" | undefined;
|
|
1603
1753
|
summary?: string | undefined;
|
|
1754
|
+
intent_clues?: string[] | undefined;
|
|
1755
|
+
tech_stack?: string[] | undefined;
|
|
1756
|
+
impact?: string[] | undefined;
|
|
1757
|
+
must_read_if?: string | undefined;
|
|
1604
1758
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1605
1759
|
tags?: string[] | undefined;
|
|
1606
1760
|
related?: string[] | undefined;
|
|
1761
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1762
|
+
evidence_paths?: string[] | undefined;
|
|
1607
1763
|
title?: string | undefined;
|
|
1608
1764
|
}, {
|
|
1609
1765
|
semantic_scope?: string | undefined;
|
|
@@ -1611,12 +1767,109 @@ declare const FabReviewInputShape: {
|
|
|
1611
1767
|
relevance_paths?: string[] | undefined;
|
|
1612
1768
|
layer?: "personal" | "team" | undefined;
|
|
1613
1769
|
summary?: string | undefined;
|
|
1770
|
+
intent_clues?: string[] | undefined;
|
|
1771
|
+
tech_stack?: string[] | undefined;
|
|
1772
|
+
impact?: string[] | undefined;
|
|
1773
|
+
must_read_if?: string | undefined;
|
|
1614
1774
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1615
1775
|
tags?: string[] | undefined;
|
|
1616
1776
|
related?: string[] | undefined;
|
|
1777
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1778
|
+
evidence_paths?: string[] | undefined;
|
|
1617
1779
|
title?: string | undefined;
|
|
1618
1780
|
}>>;
|
|
1781
|
+
readonly items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1782
|
+
pending_path: z.ZodString;
|
|
1783
|
+
changes: z.ZodObject<{
|
|
1784
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1787
|
+
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
1788
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1789
|
+
relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
|
|
1790
|
+
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1791
|
+
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1793
|
+
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1795
|
+
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1796
|
+
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1797
|
+
evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1798
|
+
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
semantic_scope?: string | undefined;
|
|
1801
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1802
|
+
relevance_paths?: string[] | undefined;
|
|
1803
|
+
layer?: "personal" | "team" | undefined;
|
|
1804
|
+
summary?: string | undefined;
|
|
1805
|
+
intent_clues?: string[] | undefined;
|
|
1806
|
+
tech_stack?: string[] | undefined;
|
|
1807
|
+
impact?: string[] | undefined;
|
|
1808
|
+
must_read_if?: string | undefined;
|
|
1809
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1810
|
+
tags?: string[] | undefined;
|
|
1811
|
+
related?: string[] | undefined;
|
|
1812
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1813
|
+
evidence_paths?: string[] | undefined;
|
|
1814
|
+
title?: string | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
semantic_scope?: string | undefined;
|
|
1817
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1818
|
+
relevance_paths?: string[] | undefined;
|
|
1819
|
+
layer?: "personal" | "team" | undefined;
|
|
1820
|
+
summary?: string | undefined;
|
|
1821
|
+
intent_clues?: string[] | undefined;
|
|
1822
|
+
tech_stack?: string[] | undefined;
|
|
1823
|
+
impact?: string[] | undefined;
|
|
1824
|
+
must_read_if?: string | undefined;
|
|
1825
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1826
|
+
tags?: string[] | undefined;
|
|
1827
|
+
related?: string[] | undefined;
|
|
1828
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1829
|
+
evidence_paths?: string[] | undefined;
|
|
1830
|
+
title?: string | undefined;
|
|
1831
|
+
}>;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
1833
|
+
pending_path: string;
|
|
1834
|
+
changes: {
|
|
1835
|
+
semantic_scope?: string | undefined;
|
|
1836
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1837
|
+
relevance_paths?: string[] | undefined;
|
|
1838
|
+
layer?: "personal" | "team" | undefined;
|
|
1839
|
+
summary?: string | undefined;
|
|
1840
|
+
intent_clues?: string[] | undefined;
|
|
1841
|
+
tech_stack?: string[] | undefined;
|
|
1842
|
+
impact?: string[] | undefined;
|
|
1843
|
+
must_read_if?: string | undefined;
|
|
1844
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1845
|
+
tags?: string[] | undefined;
|
|
1846
|
+
related?: string[] | undefined;
|
|
1847
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1848
|
+
evidence_paths?: string[] | undefined;
|
|
1849
|
+
title?: string | undefined;
|
|
1850
|
+
};
|
|
1851
|
+
}, {
|
|
1852
|
+
pending_path: string;
|
|
1853
|
+
changes: {
|
|
1854
|
+
semantic_scope?: string | undefined;
|
|
1855
|
+
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1856
|
+
relevance_paths?: string[] | undefined;
|
|
1857
|
+
layer?: "personal" | "team" | undefined;
|
|
1858
|
+
summary?: string | undefined;
|
|
1859
|
+
intent_clues?: string[] | undefined;
|
|
1860
|
+
tech_stack?: string[] | undefined;
|
|
1861
|
+
impact?: string[] | undefined;
|
|
1862
|
+
must_read_if?: string | undefined;
|
|
1863
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1864
|
+
tags?: string[] | undefined;
|
|
1865
|
+
related?: string[] | undefined;
|
|
1866
|
+
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1867
|
+
evidence_paths?: string[] | undefined;
|
|
1868
|
+
title?: string | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
}>, "many">>;
|
|
1619
1871
|
readonly until: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
readonly superseded_by: z.ZodOptional<z.ZodString>;
|
|
1620
1873
|
};
|
|
1621
1874
|
declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1622
1875
|
action: z.ZodLiteral<"approve">;
|
|
@@ -1630,6 +1883,16 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1630
1883
|
pending_path: string;
|
|
1631
1884
|
stable_id: string;
|
|
1632
1885
|
}>, "many">;
|
|
1886
|
+
failed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1887
|
+
pending_path: z.ZodString;
|
|
1888
|
+
reason: z.ZodString;
|
|
1889
|
+
}, "strip", z.ZodTypeAny, {
|
|
1890
|
+
pending_path: string;
|
|
1891
|
+
reason: string;
|
|
1892
|
+
}, {
|
|
1893
|
+
pending_path: string;
|
|
1894
|
+
reason: string;
|
|
1895
|
+
}>, "many">>;
|
|
1633
1896
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1634
1897
|
code: z.ZodString;
|
|
1635
1898
|
file: z.ZodString;
|
|
@@ -1655,6 +1918,10 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1655
1918
|
stable_id: string;
|
|
1656
1919
|
}[];
|
|
1657
1920
|
action: "approve";
|
|
1921
|
+
failed?: {
|
|
1922
|
+
pending_path: string;
|
|
1923
|
+
reason: string;
|
|
1924
|
+
}[] | undefined;
|
|
1658
1925
|
warnings?: {
|
|
1659
1926
|
code: string;
|
|
1660
1927
|
file: string;
|
|
@@ -1668,6 +1935,10 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1668
1935
|
stable_id: string;
|
|
1669
1936
|
}[];
|
|
1670
1937
|
action: "approve";
|
|
1938
|
+
failed?: {
|
|
1939
|
+
pending_path: string;
|
|
1940
|
+
reason: string;
|
|
1941
|
+
}[] | undefined;
|
|
1671
1942
|
warnings?: {
|
|
1672
1943
|
code: string;
|
|
1673
1944
|
file: string;
|
|
@@ -1765,6 +2036,68 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1765
2036
|
}[] | undefined;
|
|
1766
2037
|
prior_stable_id?: string | undefined;
|
|
1767
2038
|
new_stable_id?: string | undefined;
|
|
2039
|
+
}>, z.ZodObject<{
|
|
2040
|
+
action: z.ZodLiteral<"modify-content-batch">;
|
|
2041
|
+
modified: z.ZodArray<z.ZodObject<{
|
|
2042
|
+
pending_path: z.ZodString;
|
|
2043
|
+
ok: z.ZodBoolean;
|
|
2044
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
}, "strip", z.ZodTypeAny, {
|
|
2046
|
+
ok: boolean;
|
|
2047
|
+
pending_path: string;
|
|
2048
|
+
error?: string | undefined;
|
|
2049
|
+
}, {
|
|
2050
|
+
ok: boolean;
|
|
2051
|
+
pending_path: string;
|
|
2052
|
+
error?: string | undefined;
|
|
2053
|
+
}>, "many">;
|
|
2054
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2055
|
+
code: z.ZodString;
|
|
2056
|
+
file: z.ZodString;
|
|
2057
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2058
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
action_hint: z.ZodString;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
code: string;
|
|
2062
|
+
file: string;
|
|
2063
|
+
action_hint: string;
|
|
2064
|
+
message?: string | undefined;
|
|
2065
|
+
line?: number | undefined;
|
|
2066
|
+
}, {
|
|
2067
|
+
code: string;
|
|
2068
|
+
file: string;
|
|
2069
|
+
action_hint: string;
|
|
2070
|
+
message?: string | undefined;
|
|
2071
|
+
line?: number | undefined;
|
|
2072
|
+
}>, "many">>;
|
|
2073
|
+
}, "strip", z.ZodTypeAny, {
|
|
2074
|
+
action: "modify-content-batch";
|
|
2075
|
+
modified: {
|
|
2076
|
+
ok: boolean;
|
|
2077
|
+
pending_path: string;
|
|
2078
|
+
error?: string | undefined;
|
|
2079
|
+
}[];
|
|
2080
|
+
warnings?: {
|
|
2081
|
+
code: string;
|
|
2082
|
+
file: string;
|
|
2083
|
+
action_hint: string;
|
|
2084
|
+
message?: string | undefined;
|
|
2085
|
+
line?: number | undefined;
|
|
2086
|
+
}[] | undefined;
|
|
2087
|
+
}, {
|
|
2088
|
+
action: "modify-content-batch";
|
|
2089
|
+
modified: {
|
|
2090
|
+
ok: boolean;
|
|
2091
|
+
pending_path: string;
|
|
2092
|
+
error?: string | undefined;
|
|
2093
|
+
}[];
|
|
2094
|
+
warnings?: {
|
|
2095
|
+
code: string;
|
|
2096
|
+
file: string;
|
|
2097
|
+
action_hint: string;
|
|
2098
|
+
message?: string | undefined;
|
|
2099
|
+
line?: number | undefined;
|
|
2100
|
+
}[] | undefined;
|
|
1768
2101
|
}>, z.ZodObject<{
|
|
1769
2102
|
action: z.ZodLiteral<"defer">;
|
|
1770
2103
|
deferred: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1807,6 +2140,86 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1807
2140
|
message?: string | undefined;
|
|
1808
2141
|
line?: number | undefined;
|
|
1809
2142
|
}[] | undefined;
|
|
2143
|
+
}>, z.ZodObject<{
|
|
2144
|
+
action: z.ZodLiteral<"retire">;
|
|
2145
|
+
retired: z.ZodArray<z.ZodObject<{
|
|
2146
|
+
path: z.ZodString;
|
|
2147
|
+
stable_id: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
2149
|
+
}, "strip", z.ZodTypeAny, {
|
|
2150
|
+
path: string;
|
|
2151
|
+
stable_id?: string | undefined;
|
|
2152
|
+
superseded_by?: string | undefined;
|
|
2153
|
+
}, {
|
|
2154
|
+
path: string;
|
|
2155
|
+
stable_id?: string | undefined;
|
|
2156
|
+
superseded_by?: string | undefined;
|
|
2157
|
+
}>, "many">;
|
|
2158
|
+
failed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2159
|
+
pending_path: z.ZodString;
|
|
2160
|
+
reason: z.ZodString;
|
|
2161
|
+
}, "strip", z.ZodTypeAny, {
|
|
2162
|
+
pending_path: string;
|
|
2163
|
+
reason: string;
|
|
2164
|
+
}, {
|
|
2165
|
+
pending_path: string;
|
|
2166
|
+
reason: string;
|
|
2167
|
+
}>, "many">>;
|
|
2168
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2169
|
+
code: z.ZodString;
|
|
2170
|
+
file: z.ZodString;
|
|
2171
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2172
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
action_hint: z.ZodString;
|
|
2174
|
+
}, "strip", z.ZodTypeAny, {
|
|
2175
|
+
code: string;
|
|
2176
|
+
file: string;
|
|
2177
|
+
action_hint: string;
|
|
2178
|
+
message?: string | undefined;
|
|
2179
|
+
line?: number | undefined;
|
|
2180
|
+
}, {
|
|
2181
|
+
code: string;
|
|
2182
|
+
file: string;
|
|
2183
|
+
action_hint: string;
|
|
2184
|
+
message?: string | undefined;
|
|
2185
|
+
line?: number | undefined;
|
|
2186
|
+
}>, "many">>;
|
|
2187
|
+
}, "strip", z.ZodTypeAny, {
|
|
2188
|
+
action: "retire";
|
|
2189
|
+
retired: {
|
|
2190
|
+
path: string;
|
|
2191
|
+
stable_id?: string | undefined;
|
|
2192
|
+
superseded_by?: string | undefined;
|
|
2193
|
+
}[];
|
|
2194
|
+
failed?: {
|
|
2195
|
+
pending_path: string;
|
|
2196
|
+
reason: string;
|
|
2197
|
+
}[] | undefined;
|
|
2198
|
+
warnings?: {
|
|
2199
|
+
code: string;
|
|
2200
|
+
file: string;
|
|
2201
|
+
action_hint: string;
|
|
2202
|
+
message?: string | undefined;
|
|
2203
|
+
line?: number | undefined;
|
|
2204
|
+
}[] | undefined;
|
|
2205
|
+
}, {
|
|
2206
|
+
action: "retire";
|
|
2207
|
+
retired: {
|
|
2208
|
+
path: string;
|
|
2209
|
+
stable_id?: string | undefined;
|
|
2210
|
+
superseded_by?: string | undefined;
|
|
2211
|
+
}[];
|
|
2212
|
+
failed?: {
|
|
2213
|
+
pending_path: string;
|
|
2214
|
+
reason: string;
|
|
2215
|
+
}[] | undefined;
|
|
2216
|
+
warnings?: {
|
|
2217
|
+
code: string;
|
|
2218
|
+
file: string;
|
|
2219
|
+
action_hint: string;
|
|
2220
|
+
message?: string | undefined;
|
|
2221
|
+
line?: number | undefined;
|
|
2222
|
+
}[] | undefined;
|
|
1810
2223
|
}>]>;
|
|
1811
2224
|
type FabReviewOutput = z.infer<typeof FabReviewOutputSchema>;
|
|
1812
2225
|
declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
@@ -1820,6 +2233,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1820
2233
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1821
2234
|
title: z.ZodOptional<z.ZodString>;
|
|
1822
2235
|
summary: z.ZodOptional<z.ZodString>;
|
|
2236
|
+
proposed_reason: z.ZodOptional<z.ZodString>;
|
|
1823
2237
|
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1824
2238
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1825
2239
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
@@ -1830,6 +2244,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1830
2244
|
pending_path: string;
|
|
1831
2245
|
maturity: "draft" | "verified" | "proven";
|
|
1832
2246
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2247
|
+
proposed_reason?: string | undefined;
|
|
1833
2248
|
summary?: string | undefined;
|
|
1834
2249
|
tags?: string[] | undefined;
|
|
1835
2250
|
body?: string | undefined;
|
|
@@ -1843,6 +2258,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1843
2258
|
pending_path: string;
|
|
1844
2259
|
maturity: "draft" | "verified" | "proven";
|
|
1845
2260
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2261
|
+
proposed_reason?: string | undefined;
|
|
1846
2262
|
summary?: string | undefined;
|
|
1847
2263
|
tags?: string[] | undefined;
|
|
1848
2264
|
body?: string | undefined;
|
|
@@ -1878,6 +2294,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1878
2294
|
pending_path: string;
|
|
1879
2295
|
maturity: "draft" | "verified" | "proven";
|
|
1880
2296
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2297
|
+
proposed_reason?: string | undefined;
|
|
1881
2298
|
summary?: string | undefined;
|
|
1882
2299
|
tags?: string[] | undefined;
|
|
1883
2300
|
body?: string | undefined;
|
|
@@ -1901,6 +2318,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1901
2318
|
pending_path: string;
|
|
1902
2319
|
maturity: "draft" | "verified" | "proven";
|
|
1903
2320
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2321
|
+
proposed_reason?: string | undefined;
|
|
1904
2322
|
summary?: string | undefined;
|
|
1905
2323
|
tags?: string[] | undefined;
|
|
1906
2324
|
body?: string | undefined;
|
|
@@ -2046,6 +2464,7 @@ declare const FabPendingOutputShape: {
|
|
|
2046
2464
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2047
2465
|
title: z.ZodOptional<z.ZodString>;
|
|
2048
2466
|
summary: z.ZodOptional<z.ZodString>;
|
|
2467
|
+
proposed_reason: z.ZodOptional<z.ZodString>;
|
|
2049
2468
|
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
2050
2469
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
2051
2470
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
@@ -2056,6 +2475,7 @@ declare const FabPendingOutputShape: {
|
|
|
2056
2475
|
pending_path: string;
|
|
2057
2476
|
maturity: "draft" | "verified" | "proven";
|
|
2058
2477
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2478
|
+
proposed_reason?: string | undefined;
|
|
2059
2479
|
summary?: string | undefined;
|
|
2060
2480
|
tags?: string[] | undefined;
|
|
2061
2481
|
body?: string | undefined;
|
|
@@ -2069,6 +2489,7 @@ declare const FabPendingOutputShape: {
|
|
|
2069
2489
|
pending_path: string;
|
|
2070
2490
|
maturity: "draft" | "verified" | "proven";
|
|
2071
2491
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2492
|
+
proposed_reason?: string | undefined;
|
|
2072
2493
|
summary?: string | undefined;
|
|
2073
2494
|
tags?: string[] | undefined;
|
|
2074
2495
|
body?: string | undefined;
|
|
@@ -2143,7 +2564,7 @@ declare const FabPendingOutputShape: {
|
|
|
2143
2564
|
}>, "many">>;
|
|
2144
2565
|
};
|
|
2145
2566
|
declare const FabReviewOutputShape: {
|
|
2146
|
-
readonly action: z.ZodEnum<["approve", "reject", "modify", "defer"]>;
|
|
2567
|
+
readonly action: z.ZodEnum<["approve", "reject", "modify", "modify-content-batch", "defer", "retire"]>;
|
|
2147
2568
|
readonly approved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2148
2569
|
pending_path: z.ZodString;
|
|
2149
2570
|
stable_id: z.ZodString;
|
|
@@ -2154,11 +2575,47 @@ declare const FabReviewOutputShape: {
|
|
|
2154
2575
|
pending_path: string;
|
|
2155
2576
|
stable_id: string;
|
|
2156
2577
|
}>, "many">>;
|
|
2578
|
+
readonly failed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2579
|
+
pending_path: z.ZodString;
|
|
2580
|
+
reason: z.ZodString;
|
|
2581
|
+
}, "strip", z.ZodTypeAny, {
|
|
2582
|
+
pending_path: string;
|
|
2583
|
+
reason: string;
|
|
2584
|
+
}, {
|
|
2585
|
+
pending_path: string;
|
|
2586
|
+
reason: string;
|
|
2587
|
+
}>, "many">>;
|
|
2157
2588
|
readonly rejected: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2158
2589
|
readonly pending_path: z.ZodOptional<z.ZodString>;
|
|
2159
2590
|
readonly prior_stable_id: z.ZodOptional<z.ZodString>;
|
|
2160
2591
|
readonly new_stable_id: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
readonly modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2593
|
+
pending_path: z.ZodString;
|
|
2594
|
+
ok: z.ZodBoolean;
|
|
2595
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
}, "strip", z.ZodTypeAny, {
|
|
2597
|
+
ok: boolean;
|
|
2598
|
+
pending_path: string;
|
|
2599
|
+
error?: string | undefined;
|
|
2600
|
+
}, {
|
|
2601
|
+
ok: boolean;
|
|
2602
|
+
pending_path: string;
|
|
2603
|
+
error?: string | undefined;
|
|
2604
|
+
}>, "many">>;
|
|
2161
2605
|
readonly deferred: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2606
|
+
readonly retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2607
|
+
path: z.ZodString;
|
|
2608
|
+
stable_id: z.ZodOptional<z.ZodString>;
|
|
2609
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
}, "strip", z.ZodTypeAny, {
|
|
2611
|
+
path: string;
|
|
2612
|
+
stable_id?: string | undefined;
|
|
2613
|
+
superseded_by?: string | undefined;
|
|
2614
|
+
}, {
|
|
2615
|
+
path: string;
|
|
2616
|
+
stable_id?: string | undefined;
|
|
2617
|
+
superseded_by?: string | undefined;
|
|
2618
|
+
}>, "many">>;
|
|
2162
2619
|
readonly warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2163
2620
|
code: z.ZodString;
|
|
2164
2621
|
file: z.ZodString;
|