@fenglimg/fabric-shared 2.3.0-rc.9 → 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-TV264D7E.js → chunk-5M3HB554.js} +178 -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 +311 -44
- package/dist/schemas/api-contracts.d.ts +554 -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: {
|
|
@@ -1247,6 +1150,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1247
1150
|
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1248
1151
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1249
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"]>>;
|
|
1250
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1251
1157
|
semantic_scope?: string | undefined;
|
|
1252
1158
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
@@ -1254,11 +1160,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1254
1160
|
layer?: "personal" | "team" | undefined;
|
|
1255
1161
|
summary?: string | undefined;
|
|
1256
1162
|
intent_clues?: string[] | undefined;
|
|
1163
|
+
tech_stack?: string[] | undefined;
|
|
1257
1164
|
impact?: string[] | undefined;
|
|
1258
1165
|
must_read_if?: string | undefined;
|
|
1259
1166
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1260
1167
|
tags?: string[] | undefined;
|
|
1261
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;
|
|
1262
1171
|
title?: string | undefined;
|
|
1263
1172
|
}, {
|
|
1264
1173
|
semantic_scope?: string | undefined;
|
|
@@ -1267,11 +1176,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1267
1176
|
layer?: "personal" | "team" | undefined;
|
|
1268
1177
|
summary?: string | undefined;
|
|
1269
1178
|
intent_clues?: string[] | undefined;
|
|
1179
|
+
tech_stack?: string[] | undefined;
|
|
1270
1180
|
impact?: string[] | undefined;
|
|
1271
1181
|
must_read_if?: string | undefined;
|
|
1272
1182
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1273
1183
|
tags?: string[] | undefined;
|
|
1274
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;
|
|
1275
1187
|
title?: string | undefined;
|
|
1276
1188
|
}>;
|
|
1277
1189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1284,11 +1196,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1284
1196
|
layer?: "personal" | "team" | undefined;
|
|
1285
1197
|
summary?: string | undefined;
|
|
1286
1198
|
intent_clues?: string[] | undefined;
|
|
1199
|
+
tech_stack?: string[] | undefined;
|
|
1287
1200
|
impact?: string[] | undefined;
|
|
1288
1201
|
must_read_if?: string | undefined;
|
|
1289
1202
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1290
1203
|
tags?: string[] | undefined;
|
|
1291
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;
|
|
1292
1207
|
title?: string | undefined;
|
|
1293
1208
|
};
|
|
1294
1209
|
}, {
|
|
@@ -1301,11 +1216,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1301
1216
|
layer?: "personal" | "team" | undefined;
|
|
1302
1217
|
summary?: string | undefined;
|
|
1303
1218
|
intent_clues?: string[] | undefined;
|
|
1219
|
+
tech_stack?: string[] | undefined;
|
|
1304
1220
|
impact?: string[] | undefined;
|
|
1305
1221
|
must_read_if?: string | undefined;
|
|
1306
1222
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1307
1223
|
tags?: string[] | undefined;
|
|
1308
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;
|
|
1309
1227
|
title?: string | undefined;
|
|
1310
1228
|
};
|
|
1311
1229
|
}>, z.ZodObject<{
|
|
@@ -1324,6 +1242,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1324
1242
|
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1325
1243
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1326
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"]>>;
|
|
1327
1248
|
}, "strip", z.ZodTypeAny, {
|
|
1328
1249
|
semantic_scope?: string | undefined;
|
|
1329
1250
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
@@ -1331,11 +1252,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1331
1252
|
layer?: "personal" | "team" | undefined;
|
|
1332
1253
|
summary?: string | undefined;
|
|
1333
1254
|
intent_clues?: string[] | undefined;
|
|
1255
|
+
tech_stack?: string[] | undefined;
|
|
1334
1256
|
impact?: string[] | undefined;
|
|
1335
1257
|
must_read_if?: string | undefined;
|
|
1336
1258
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1337
1259
|
tags?: string[] | undefined;
|
|
1338
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;
|
|
1339
1263
|
title?: string | undefined;
|
|
1340
1264
|
}, {
|
|
1341
1265
|
semantic_scope?: string | undefined;
|
|
@@ -1344,11 +1268,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1344
1268
|
layer?: "personal" | "team" | undefined;
|
|
1345
1269
|
summary?: string | undefined;
|
|
1346
1270
|
intent_clues?: string[] | undefined;
|
|
1271
|
+
tech_stack?: string[] | undefined;
|
|
1347
1272
|
impact?: string[] | undefined;
|
|
1348
1273
|
must_read_if?: string | undefined;
|
|
1349
1274
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1350
1275
|
tags?: string[] | undefined;
|
|
1351
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;
|
|
1352
1279
|
title?: string | undefined;
|
|
1353
1280
|
}>;
|
|
1354
1281
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1361,11 +1288,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1361
1288
|
layer?: "personal" | "team" | undefined;
|
|
1362
1289
|
summary?: string | undefined;
|
|
1363
1290
|
intent_clues?: string[] | undefined;
|
|
1291
|
+
tech_stack?: string[] | undefined;
|
|
1364
1292
|
impact?: string[] | undefined;
|
|
1365
1293
|
must_read_if?: string | undefined;
|
|
1366
1294
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1367
1295
|
tags?: string[] | undefined;
|
|
1368
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;
|
|
1369
1299
|
title?: string | undefined;
|
|
1370
1300
|
};
|
|
1371
1301
|
}, {
|
|
@@ -1378,11 +1308,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1378
1308
|
layer?: "personal" | "team" | undefined;
|
|
1379
1309
|
summary?: string | undefined;
|
|
1380
1310
|
intent_clues?: string[] | undefined;
|
|
1311
|
+
tech_stack?: string[] | undefined;
|
|
1381
1312
|
impact?: string[] | undefined;
|
|
1382
1313
|
must_read_if?: string | undefined;
|
|
1383
1314
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1384
1315
|
tags?: string[] | undefined;
|
|
1385
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;
|
|
1386
1319
|
title?: string | undefined;
|
|
1387
1320
|
};
|
|
1388
1321
|
}>, z.ZodObject<{
|
|
@@ -1400,6 +1333,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1400
1333
|
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1401
1334
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1402
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"]>>;
|
|
1403
1339
|
} & {
|
|
1404
1340
|
layer: z.ZodEnum<["team", "personal"]>;
|
|
1405
1341
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1409,11 +1345,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1409
1345
|
relevance_paths?: string[] | undefined;
|
|
1410
1346
|
summary?: string | undefined;
|
|
1411
1347
|
intent_clues?: string[] | undefined;
|
|
1348
|
+
tech_stack?: string[] | undefined;
|
|
1412
1349
|
impact?: string[] | undefined;
|
|
1413
1350
|
must_read_if?: string | undefined;
|
|
1414
1351
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1415
1352
|
tags?: string[] | undefined;
|
|
1416
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;
|
|
1417
1356
|
title?: string | undefined;
|
|
1418
1357
|
}, {
|
|
1419
1358
|
layer: "personal" | "team";
|
|
@@ -1422,11 +1361,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1422
1361
|
relevance_paths?: string[] | undefined;
|
|
1423
1362
|
summary?: string | undefined;
|
|
1424
1363
|
intent_clues?: string[] | undefined;
|
|
1364
|
+
tech_stack?: string[] | undefined;
|
|
1425
1365
|
impact?: string[] | undefined;
|
|
1426
1366
|
must_read_if?: string | undefined;
|
|
1427
1367
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1428
1368
|
tags?: string[] | undefined;
|
|
1429
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;
|
|
1430
1372
|
title?: string | undefined;
|
|
1431
1373
|
}>;
|
|
1432
1374
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1439,11 +1381,14 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1439
1381
|
relevance_paths?: string[] | undefined;
|
|
1440
1382
|
summary?: string | undefined;
|
|
1441
1383
|
intent_clues?: string[] | undefined;
|
|
1384
|
+
tech_stack?: string[] | undefined;
|
|
1442
1385
|
impact?: string[] | undefined;
|
|
1443
1386
|
must_read_if?: string | undefined;
|
|
1444
1387
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1445
1388
|
tags?: string[] | undefined;
|
|
1446
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;
|
|
1447
1392
|
title?: string | undefined;
|
|
1448
1393
|
};
|
|
1449
1394
|
}, {
|
|
@@ -1456,13 +1401,152 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1456
1401
|
relevance_paths?: string[] | undefined;
|
|
1457
1402
|
summary?: string | undefined;
|
|
1458
1403
|
intent_clues?: string[] | undefined;
|
|
1404
|
+
tech_stack?: string[] | undefined;
|
|
1459
1405
|
impact?: string[] | undefined;
|
|
1460
1406
|
must_read_if?: string | undefined;
|
|
1461
1407
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1462
1408
|
tags?: string[] | undefined;
|
|
1463
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;
|
|
1464
1412
|
title?: string | undefined;
|
|
1465
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
|
+
}[];
|
|
1466
1550
|
}>, z.ZodObject<{
|
|
1467
1551
|
action: z.ZodLiteral<"defer">;
|
|
1468
1552
|
pending_paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1478,6 +1562,21 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1478
1562
|
pending_paths: string[];
|
|
1479
1563
|
reason?: string | undefined;
|
|
1480
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;
|
|
1481
1580
|
}>]>;
|
|
1482
1581
|
type FabReviewInput = z.infer<typeof FabReviewInputSchema>;
|
|
1483
1582
|
declare const FabPendingInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
@@ -1626,7 +1725,7 @@ declare const FabPendingInputShape: {
|
|
|
1626
1725
|
readonly query: z.ZodOptional<z.ZodString>;
|
|
1627
1726
|
};
|
|
1628
1727
|
declare const FabReviewInputShape: {
|
|
1629
|
-
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"]>;
|
|
1630
1729
|
readonly pending_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1631
1730
|
readonly pending_path: z.ZodOptional<z.ZodString>;
|
|
1632
1731
|
readonly reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1643,6 +1742,9 @@ declare const FabReviewInputShape: {
|
|
|
1643
1742
|
must_read_if: z.ZodOptional<z.ZodString>;
|
|
1644
1743
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1645
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"]>>;
|
|
1646
1748
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1749
|
semantic_scope?: string | undefined;
|
|
1648
1750
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
@@ -1650,11 +1752,14 @@ declare const FabReviewInputShape: {
|
|
|
1650
1752
|
layer?: "personal" | "team" | undefined;
|
|
1651
1753
|
summary?: string | undefined;
|
|
1652
1754
|
intent_clues?: string[] | undefined;
|
|
1755
|
+
tech_stack?: string[] | undefined;
|
|
1653
1756
|
impact?: string[] | undefined;
|
|
1654
1757
|
must_read_if?: string | undefined;
|
|
1655
1758
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1656
1759
|
tags?: string[] | undefined;
|
|
1657
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;
|
|
1658
1763
|
title?: string | undefined;
|
|
1659
1764
|
}, {
|
|
1660
1765
|
semantic_scope?: string | undefined;
|
|
@@ -1663,14 +1768,108 @@ declare const FabReviewInputShape: {
|
|
|
1663
1768
|
layer?: "personal" | "team" | undefined;
|
|
1664
1769
|
summary?: string | undefined;
|
|
1665
1770
|
intent_clues?: string[] | undefined;
|
|
1771
|
+
tech_stack?: string[] | undefined;
|
|
1666
1772
|
impact?: string[] | undefined;
|
|
1667
1773
|
must_read_if?: string | undefined;
|
|
1668
1774
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1669
1775
|
tags?: string[] | undefined;
|
|
1670
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;
|
|
1671
1779
|
title?: string | undefined;
|
|
1672
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">>;
|
|
1673
1871
|
readonly until: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
readonly superseded_by: z.ZodOptional<z.ZodString>;
|
|
1674
1873
|
};
|
|
1675
1874
|
declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1676
1875
|
action: z.ZodLiteral<"approve">;
|
|
@@ -1684,6 +1883,16 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1684
1883
|
pending_path: string;
|
|
1685
1884
|
stable_id: string;
|
|
1686
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">>;
|
|
1687
1896
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1688
1897
|
code: z.ZodString;
|
|
1689
1898
|
file: z.ZodString;
|
|
@@ -1709,6 +1918,10 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1709
1918
|
stable_id: string;
|
|
1710
1919
|
}[];
|
|
1711
1920
|
action: "approve";
|
|
1921
|
+
failed?: {
|
|
1922
|
+
pending_path: string;
|
|
1923
|
+
reason: string;
|
|
1924
|
+
}[] | undefined;
|
|
1712
1925
|
warnings?: {
|
|
1713
1926
|
code: string;
|
|
1714
1927
|
file: string;
|
|
@@ -1722,6 +1935,10 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1722
1935
|
stable_id: string;
|
|
1723
1936
|
}[];
|
|
1724
1937
|
action: "approve";
|
|
1938
|
+
failed?: {
|
|
1939
|
+
pending_path: string;
|
|
1940
|
+
reason: string;
|
|
1941
|
+
}[] | undefined;
|
|
1725
1942
|
warnings?: {
|
|
1726
1943
|
code: string;
|
|
1727
1944
|
file: string;
|
|
@@ -1819,6 +2036,68 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1819
2036
|
}[] | undefined;
|
|
1820
2037
|
prior_stable_id?: string | undefined;
|
|
1821
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;
|
|
1822
2101
|
}>, z.ZodObject<{
|
|
1823
2102
|
action: z.ZodLiteral<"defer">;
|
|
1824
2103
|
deferred: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1861,6 +2140,86 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1861
2140
|
message?: string | undefined;
|
|
1862
2141
|
line?: number | undefined;
|
|
1863
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;
|
|
1864
2223
|
}>]>;
|
|
1865
2224
|
type FabReviewOutput = z.infer<typeof FabReviewOutputSchema>;
|
|
1866
2225
|
declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
@@ -1874,6 +2233,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1874
2233
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1875
2234
|
title: z.ZodOptional<z.ZodString>;
|
|
1876
2235
|
summary: z.ZodOptional<z.ZodString>;
|
|
2236
|
+
proposed_reason: z.ZodOptional<z.ZodString>;
|
|
1877
2237
|
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1878
2238
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1879
2239
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
@@ -1884,6 +2244,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1884
2244
|
pending_path: string;
|
|
1885
2245
|
maturity: "draft" | "verified" | "proven";
|
|
1886
2246
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2247
|
+
proposed_reason?: string | undefined;
|
|
1887
2248
|
summary?: string | undefined;
|
|
1888
2249
|
tags?: string[] | undefined;
|
|
1889
2250
|
body?: string | undefined;
|
|
@@ -1897,6 +2258,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1897
2258
|
pending_path: string;
|
|
1898
2259
|
maturity: "draft" | "verified" | "proven";
|
|
1899
2260
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2261
|
+
proposed_reason?: string | undefined;
|
|
1900
2262
|
summary?: string | undefined;
|
|
1901
2263
|
tags?: string[] | undefined;
|
|
1902
2264
|
body?: string | undefined;
|
|
@@ -1932,6 +2294,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1932
2294
|
pending_path: string;
|
|
1933
2295
|
maturity: "draft" | "verified" | "proven";
|
|
1934
2296
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2297
|
+
proposed_reason?: string | undefined;
|
|
1935
2298
|
summary?: string | undefined;
|
|
1936
2299
|
tags?: string[] | undefined;
|
|
1937
2300
|
body?: string | undefined;
|
|
@@ -1955,6 +2318,7 @@ declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodOb
|
|
|
1955
2318
|
pending_path: string;
|
|
1956
2319
|
maturity: "draft" | "verified" | "proven";
|
|
1957
2320
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2321
|
+
proposed_reason?: string | undefined;
|
|
1958
2322
|
summary?: string | undefined;
|
|
1959
2323
|
tags?: string[] | undefined;
|
|
1960
2324
|
body?: string | undefined;
|
|
@@ -2100,6 +2464,7 @@ declare const FabPendingOutputShape: {
|
|
|
2100
2464
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
2465
|
title: z.ZodOptional<z.ZodString>;
|
|
2102
2466
|
summary: z.ZodOptional<z.ZodString>;
|
|
2467
|
+
proposed_reason: z.ZodOptional<z.ZodString>;
|
|
2103
2468
|
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
2104
2469
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
2105
2470
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
@@ -2110,6 +2475,7 @@ declare const FabPendingOutputShape: {
|
|
|
2110
2475
|
pending_path: string;
|
|
2111
2476
|
maturity: "draft" | "verified" | "proven";
|
|
2112
2477
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2478
|
+
proposed_reason?: string | undefined;
|
|
2113
2479
|
summary?: string | undefined;
|
|
2114
2480
|
tags?: string[] | undefined;
|
|
2115
2481
|
body?: string | undefined;
|
|
@@ -2123,6 +2489,7 @@ declare const FabPendingOutputShape: {
|
|
|
2123
2489
|
pending_path: string;
|
|
2124
2490
|
maturity: "draft" | "verified" | "proven";
|
|
2125
2491
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2492
|
+
proposed_reason?: string | undefined;
|
|
2126
2493
|
summary?: string | undefined;
|
|
2127
2494
|
tags?: string[] | undefined;
|
|
2128
2495
|
body?: string | undefined;
|
|
@@ -2197,7 +2564,7 @@ declare const FabPendingOutputShape: {
|
|
|
2197
2564
|
}>, "many">>;
|
|
2198
2565
|
};
|
|
2199
2566
|
declare const FabReviewOutputShape: {
|
|
2200
|
-
readonly action: z.ZodEnum<["approve", "reject", "modify", "defer"]>;
|
|
2567
|
+
readonly action: z.ZodEnum<["approve", "reject", "modify", "modify-content-batch", "defer", "retire"]>;
|
|
2201
2568
|
readonly approved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2202
2569
|
pending_path: z.ZodString;
|
|
2203
2570
|
stable_id: z.ZodString;
|
|
@@ -2208,11 +2575,47 @@ declare const FabReviewOutputShape: {
|
|
|
2208
2575
|
pending_path: string;
|
|
2209
2576
|
stable_id: string;
|
|
2210
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">>;
|
|
2211
2588
|
readonly rejected: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2212
2589
|
readonly pending_path: z.ZodOptional<z.ZodString>;
|
|
2213
2590
|
readonly prior_stable_id: z.ZodOptional<z.ZodString>;
|
|
2214
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">>;
|
|
2215
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">>;
|
|
2216
2619
|
readonly warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2217
2620
|
code: z.ZodString;
|
|
2218
2621
|
file: z.ZodString;
|