@fenglimg/fabric-shared 2.2.0 → 2.3.0-rc.2
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-5AKCRBKJ.js → chunk-7PS7LB5T.js} +141 -78
- package/dist/{chunk-2GLIAZ5M.js → chunk-ANUDBQBK.js} +17 -6
- package/dist/chunk-OAYQHN6J.js +152 -0
- package/dist/{chunk-AQMDXC6J.js → chunk-ZYBWITH7.js} +218 -67
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/index.js +2 -2
- package/dist/index-BO7itJ8e.d.ts +892 -0
- package/dist/index.d.ts +31 -243
- package/dist/index.js +172 -117
- package/dist/schemas/api-contracts.d.ts +425 -352
- package/dist/schemas/api-contracts.js +11 -1
- package/dist/templates/bootstrap-canonical.d.ts +2 -2
- package/dist/templates/bootstrap-canonical.js +2 -2
- package/dist/theme.d.ts +33 -0
- package/dist/theme.js +57 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +17 -3
- package/dist/chunk-BDJQIOQO.js +0 -206
- package/dist/index-D_gT1CEA.d.ts +0 -425
|
@@ -184,7 +184,16 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
184
184
|
stable_id: string;
|
|
185
185
|
always_active?: boolean | undefined;
|
|
186
186
|
}>, "many">;
|
|
187
|
-
|
|
187
|
+
dropped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
reason: z.ZodEnum<["retrieval_budget", "payload_budget"]>;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
id: string;
|
|
192
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
193
|
+
}, {
|
|
194
|
+
id: string;
|
|
195
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
196
|
+
}>, "many">>;
|
|
188
197
|
preflight_diagnostics: z.ZodArray<z.ZodObject<{
|
|
189
198
|
code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
|
|
190
199
|
severity: z.ZodLiteral<"warn">;
|
|
@@ -269,7 +278,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
269
278
|
stable_ids?: string[] | undefined;
|
|
270
279
|
}[];
|
|
271
280
|
intent?: string | undefined;
|
|
272
|
-
|
|
281
|
+
dropped?: {
|
|
282
|
+
id: string;
|
|
283
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
284
|
+
}[] | undefined;
|
|
273
285
|
warnings?: {
|
|
274
286
|
code: string;
|
|
275
287
|
file: string;
|
|
@@ -323,7 +335,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
323
335
|
stable_ids?: string[] | undefined;
|
|
324
336
|
}[];
|
|
325
337
|
intent?: string | undefined;
|
|
326
|
-
|
|
338
|
+
dropped?: {
|
|
339
|
+
id: string;
|
|
340
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
341
|
+
}[] | undefined;
|
|
327
342
|
warnings?: {
|
|
328
343
|
code: string;
|
|
329
344
|
file: string;
|
|
@@ -588,38 +603,8 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
588
603
|
revision_hash: z.ZodString;
|
|
589
604
|
stale: z.ZodBoolean;
|
|
590
605
|
entries: z.ZodArray<z.ZodObject<{
|
|
591
|
-
path: z.ZodString;
|
|
592
|
-
requirement_profile: z.ZodObject<{
|
|
593
|
-
target_path: z.ZodString;
|
|
594
|
-
known_tech: z.ZodArray<z.ZodString, "many">;
|
|
595
|
-
detected_entities: z.ZodArray<z.ZodString, "many">;
|
|
596
|
-
}, "strip", z.ZodTypeAny, {
|
|
597
|
-
target_path: string;
|
|
598
|
-
known_tech: string[];
|
|
599
|
-
detected_entities: string[];
|
|
600
|
-
}, {
|
|
601
|
-
target_path: string;
|
|
602
|
-
known_tech: string[];
|
|
603
|
-
detected_entities: string[];
|
|
604
|
-
}>;
|
|
605
|
-
}, "strip", z.ZodTypeAny, {
|
|
606
|
-
path: string;
|
|
607
|
-
requirement_profile: {
|
|
608
|
-
target_path: string;
|
|
609
|
-
known_tech: string[];
|
|
610
|
-
detected_entities: string[];
|
|
611
|
-
};
|
|
612
|
-
}, {
|
|
613
|
-
path: string;
|
|
614
|
-
requirement_profile: {
|
|
615
|
-
target_path: string;
|
|
616
|
-
known_tech: string[];
|
|
617
|
-
detected_entities: string[];
|
|
618
|
-
};
|
|
619
|
-
}>, "many">;
|
|
620
|
-
intent: z.ZodOptional<z.ZodString>;
|
|
621
|
-
candidates: z.ZodArray<z.ZodObject<{
|
|
622
606
|
stable_id: z.ZodString;
|
|
607
|
+
rank: z.ZodNumber;
|
|
623
608
|
description: z.ZodObject<{
|
|
624
609
|
summary: z.ZodString;
|
|
625
610
|
intent_clues: z.ZodArray<z.ZodString, "many">;
|
|
@@ -672,7 +657,44 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
672
657
|
tags?: string[] | undefined;
|
|
673
658
|
related?: string[] | undefined;
|
|
674
659
|
}>;
|
|
675
|
-
|
|
660
|
+
read_path: z.ZodOptional<z.ZodString>;
|
|
661
|
+
store: z.ZodOptional<z.ZodObject<{
|
|
662
|
+
alias: z.ZodString;
|
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
alias: string;
|
|
665
|
+
}, {
|
|
666
|
+
alias: string;
|
|
667
|
+
}>>;
|
|
668
|
+
body_in_context: z.ZodOptional<z.ZodBoolean>;
|
|
669
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
670
|
+
score_breakdown: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
final: z.ZodNumber;
|
|
672
|
+
bm25: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
bm25_rank: z.ZodOptional<z.ZodNumber>;
|
|
674
|
+
vector: z.ZodOptional<z.ZodNumber>;
|
|
675
|
+
vector_rank: z.ZodOptional<z.ZodNumber>;
|
|
676
|
+
salience: z.ZodNumber;
|
|
677
|
+
recency: z.ZodNumber;
|
|
678
|
+
locality: z.ZodNumber;
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
final: number;
|
|
681
|
+
salience: number;
|
|
682
|
+
recency: number;
|
|
683
|
+
locality: number;
|
|
684
|
+
bm25?: number | undefined;
|
|
685
|
+
bm25_rank?: number | undefined;
|
|
686
|
+
vector?: number | undefined;
|
|
687
|
+
vector_rank?: number | undefined;
|
|
688
|
+
}, {
|
|
689
|
+
final: number;
|
|
690
|
+
salience: number;
|
|
691
|
+
recency: number;
|
|
692
|
+
locality: number;
|
|
693
|
+
bm25?: number | undefined;
|
|
694
|
+
bm25_rank?: number | undefined;
|
|
695
|
+
vector?: number | undefined;
|
|
696
|
+
vector_rank?: number | undefined;
|
|
697
|
+
}>>;
|
|
676
698
|
}, "strip", z.ZodTypeAny, {
|
|
677
699
|
description: {
|
|
678
700
|
summary: string;
|
|
@@ -693,7 +715,23 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
693
715
|
related?: string[] | undefined;
|
|
694
716
|
};
|
|
695
717
|
stable_id: string;
|
|
696
|
-
|
|
718
|
+
rank: number;
|
|
719
|
+
store?: {
|
|
720
|
+
alias: string;
|
|
721
|
+
} | undefined;
|
|
722
|
+
read_path?: string | undefined;
|
|
723
|
+
body_in_context?: boolean | undefined;
|
|
724
|
+
score?: number | undefined;
|
|
725
|
+
score_breakdown?: {
|
|
726
|
+
final: number;
|
|
727
|
+
salience: number;
|
|
728
|
+
recency: number;
|
|
729
|
+
locality: number;
|
|
730
|
+
bm25?: number | undefined;
|
|
731
|
+
bm25_rank?: number | undefined;
|
|
732
|
+
vector?: number | undefined;
|
|
733
|
+
vector_rank?: number | undefined;
|
|
734
|
+
} | undefined;
|
|
697
735
|
}, {
|
|
698
736
|
description: {
|
|
699
737
|
summary: string;
|
|
@@ -714,32 +752,35 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
714
752
|
related?: string[] | undefined;
|
|
715
753
|
};
|
|
716
754
|
stable_id: string;
|
|
717
|
-
|
|
718
|
-
}>, "many">;
|
|
719
|
-
paths: z.ZodArray<z.ZodObject<{
|
|
720
|
-
stable_id: z.ZodString;
|
|
721
|
-
path: z.ZodString;
|
|
722
|
-
store: z.ZodOptional<z.ZodObject<{
|
|
723
|
-
alias: z.ZodString;
|
|
724
|
-
}, "strip", z.ZodTypeAny, {
|
|
725
|
-
alias: string;
|
|
726
|
-
}, {
|
|
727
|
-
alias: string;
|
|
728
|
-
}>>;
|
|
729
|
-
}, "strip", z.ZodTypeAny, {
|
|
730
|
-
path: string;
|
|
731
|
-
stable_id: string;
|
|
755
|
+
rank: number;
|
|
732
756
|
store?: {
|
|
733
757
|
alias: string;
|
|
734
758
|
} | undefined;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
759
|
+
read_path?: string | undefined;
|
|
760
|
+
body_in_context?: boolean | undefined;
|
|
761
|
+
score?: number | undefined;
|
|
762
|
+
score_breakdown?: {
|
|
763
|
+
final: number;
|
|
764
|
+
salience: number;
|
|
765
|
+
recency: number;
|
|
766
|
+
locality: number;
|
|
767
|
+
bm25?: number | undefined;
|
|
768
|
+
bm25_rank?: number | undefined;
|
|
769
|
+
vector?: number | undefined;
|
|
770
|
+
vector_rank?: number | undefined;
|
|
740
771
|
} | undefined;
|
|
741
772
|
}>, "many">;
|
|
742
|
-
|
|
773
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
774
|
+
dropped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
775
|
+
id: z.ZodString;
|
|
776
|
+
reason: z.ZodEnum<["retrieval_budget", "payload_budget"]>;
|
|
777
|
+
}, "strip", z.ZodTypeAny, {
|
|
778
|
+
id: string;
|
|
779
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
780
|
+
}, {
|
|
781
|
+
id: string;
|
|
782
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
783
|
+
}>, "many">>;
|
|
743
784
|
preflight_diagnostics: z.ZodArray<z.ZodObject<{
|
|
744
785
|
code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
|
|
745
786
|
severity: z.ZodLiteral<"warn">;
|
|
@@ -786,23 +827,6 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
786
827
|
next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
787
828
|
}, "strip", z.ZodTypeAny, {
|
|
788
829
|
entries: {
|
|
789
|
-
path: string;
|
|
790
|
-
requirement_profile: {
|
|
791
|
-
target_path: string;
|
|
792
|
-
known_tech: string[];
|
|
793
|
-
detected_entities: string[];
|
|
794
|
-
};
|
|
795
|
-
}[];
|
|
796
|
-
stale: boolean;
|
|
797
|
-
paths: {
|
|
798
|
-
path: string;
|
|
799
|
-
stable_id: string;
|
|
800
|
-
store?: {
|
|
801
|
-
alias: string;
|
|
802
|
-
} | undefined;
|
|
803
|
-
}[];
|
|
804
|
-
revision_hash: string;
|
|
805
|
-
candidates: {
|
|
806
830
|
description: {
|
|
807
831
|
summary: string;
|
|
808
832
|
intent_clues: string[];
|
|
@@ -822,8 +846,26 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
822
846
|
related?: string[] | undefined;
|
|
823
847
|
};
|
|
824
848
|
stable_id: string;
|
|
825
|
-
|
|
849
|
+
rank: number;
|
|
850
|
+
store?: {
|
|
851
|
+
alias: string;
|
|
852
|
+
} | undefined;
|
|
853
|
+
read_path?: string | undefined;
|
|
854
|
+
body_in_context?: boolean | undefined;
|
|
855
|
+
score?: number | undefined;
|
|
856
|
+
score_breakdown?: {
|
|
857
|
+
final: number;
|
|
858
|
+
salience: number;
|
|
859
|
+
recency: number;
|
|
860
|
+
locality: number;
|
|
861
|
+
bm25?: number | undefined;
|
|
862
|
+
bm25_rank?: number | undefined;
|
|
863
|
+
vector?: number | undefined;
|
|
864
|
+
vector_rank?: number | undefined;
|
|
865
|
+
} | undefined;
|
|
826
866
|
}[];
|
|
867
|
+
stale: boolean;
|
|
868
|
+
revision_hash: string;
|
|
827
869
|
preflight_diagnostics: {
|
|
828
870
|
code: "missing_description" | "empty_shell_suppressed";
|
|
829
871
|
message: string;
|
|
@@ -833,7 +875,10 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
833
875
|
}[];
|
|
834
876
|
directive: string;
|
|
835
877
|
intent?: string | undefined;
|
|
836
|
-
|
|
878
|
+
dropped?: {
|
|
879
|
+
id: string;
|
|
880
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
881
|
+
}[] | undefined;
|
|
837
882
|
warnings?: {
|
|
838
883
|
code: string;
|
|
839
884
|
file: string;
|
|
@@ -848,23 +893,6 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
848
893
|
next_steps?: string[] | undefined;
|
|
849
894
|
}, {
|
|
850
895
|
entries: {
|
|
851
|
-
path: string;
|
|
852
|
-
requirement_profile: {
|
|
853
|
-
target_path: string;
|
|
854
|
-
known_tech: string[];
|
|
855
|
-
detected_entities: string[];
|
|
856
|
-
};
|
|
857
|
-
}[];
|
|
858
|
-
stale: boolean;
|
|
859
|
-
paths: {
|
|
860
|
-
path: string;
|
|
861
|
-
stable_id: string;
|
|
862
|
-
store?: {
|
|
863
|
-
alias: string;
|
|
864
|
-
} | undefined;
|
|
865
|
-
}[];
|
|
866
|
-
revision_hash: string;
|
|
867
|
-
candidates: {
|
|
868
896
|
description: {
|
|
869
897
|
summary: string;
|
|
870
898
|
intent_clues: string[];
|
|
@@ -884,8 +912,26 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
884
912
|
related?: string[] | undefined;
|
|
885
913
|
};
|
|
886
914
|
stable_id: string;
|
|
887
|
-
|
|
915
|
+
rank: number;
|
|
916
|
+
store?: {
|
|
917
|
+
alias: string;
|
|
918
|
+
} | undefined;
|
|
919
|
+
read_path?: string | undefined;
|
|
920
|
+
body_in_context?: boolean | undefined;
|
|
921
|
+
score?: number | undefined;
|
|
922
|
+
score_breakdown?: {
|
|
923
|
+
final: number;
|
|
924
|
+
salience: number;
|
|
925
|
+
recency: number;
|
|
926
|
+
locality: number;
|
|
927
|
+
bm25?: number | undefined;
|
|
928
|
+
bm25_rank?: number | undefined;
|
|
929
|
+
vector?: number | undefined;
|
|
930
|
+
vector_rank?: number | undefined;
|
|
931
|
+
} | undefined;
|
|
888
932
|
}[];
|
|
933
|
+
stale: boolean;
|
|
934
|
+
revision_hash: string;
|
|
889
935
|
preflight_diagnostics: {
|
|
890
936
|
code: "missing_description" | "empty_shell_suppressed";
|
|
891
937
|
message: string;
|
|
@@ -895,7 +941,10 @@ declare const recallOutputSchema: z.ZodObject<{
|
|
|
895
941
|
}[];
|
|
896
942
|
directive: string;
|
|
897
943
|
intent?: string | undefined;
|
|
898
|
-
|
|
944
|
+
dropped?: {
|
|
945
|
+
id: string;
|
|
946
|
+
reason: "retrieval_budget" | "payload_budget";
|
|
947
|
+
}[] | undefined;
|
|
899
948
|
warnings?: {
|
|
900
949
|
code: string;
|
|
901
950
|
file: string;
|
|
@@ -967,12 +1016,12 @@ declare const archiveScanOutputSchema: z.ZodObject<{
|
|
|
967
1016
|
line?: number | undefined;
|
|
968
1017
|
}>, "many">>;
|
|
969
1018
|
}, "strip", z.ZodTypeAny, {
|
|
970
|
-
anchor_ts: number | null;
|
|
971
|
-
session_ids: string[];
|
|
972
1019
|
dropped: {
|
|
973
1020
|
session_id: string;
|
|
974
1021
|
reason: "user_dismissed" | "cooldown" | "no_new_signal";
|
|
975
1022
|
}[];
|
|
1023
|
+
anchor_ts: number | null;
|
|
1024
|
+
session_ids: string[];
|
|
976
1025
|
covered_through_ts: number | null;
|
|
977
1026
|
already_proposed_keys: string[];
|
|
978
1027
|
warnings?: {
|
|
@@ -983,12 +1032,12 @@ declare const archiveScanOutputSchema: z.ZodObject<{
|
|
|
983
1032
|
line?: number | undefined;
|
|
984
1033
|
}[] | undefined;
|
|
985
1034
|
}, {
|
|
986
|
-
anchor_ts: number | null;
|
|
987
|
-
session_ids: string[];
|
|
988
1035
|
dropped: {
|
|
989
1036
|
session_id: string;
|
|
990
1037
|
reason: "user_dismissed" | "cooldown" | "no_new_signal";
|
|
991
1038
|
}[];
|
|
1039
|
+
anchor_ts: number | null;
|
|
1040
|
+
session_ids: string[];
|
|
992
1041
|
covered_through_ts: number | null;
|
|
993
1042
|
already_proposed_keys: string[];
|
|
994
1043
|
warnings?: {
|
|
@@ -1017,12 +1066,10 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1017
1066
|
user_messages_summary: z.ZodString;
|
|
1018
1067
|
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1019
1068
|
slug: z.ZodString;
|
|
1020
|
-
|
|
1021
|
-
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1022
1070
|
proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
|
|
1023
1071
|
session_context: z.ZodString;
|
|
1024
|
-
|
|
1025
|
-
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1072
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1026
1073
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1027
1074
|
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1028
1075
|
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1038,15 +1085,13 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1038
1085
|
recent_paths: string[];
|
|
1039
1086
|
user_messages_summary: string;
|
|
1040
1087
|
slug: string;
|
|
1041
|
-
|
|
1042
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1043
|
-
relevance_paths?: string[] | undefined;
|
|
1044
|
-
layer?: "personal" | "team" | undefined;
|
|
1088
|
+
paths?: string[] | undefined;
|
|
1045
1089
|
intent_clues?: string[] | undefined;
|
|
1046
1090
|
tech_stack?: string[] | undefined;
|
|
1047
1091
|
impact?: string[] | undefined;
|
|
1048
1092
|
must_read_if?: string | undefined;
|
|
1049
1093
|
tags?: string[] | undefined;
|
|
1094
|
+
audience?: string | undefined;
|
|
1050
1095
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1051
1096
|
evidence_paths?: string[] | undefined;
|
|
1052
1097
|
}, {
|
|
@@ -1057,15 +1102,13 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1057
1102
|
recent_paths: string[];
|
|
1058
1103
|
user_messages_summary: string;
|
|
1059
1104
|
slug: string;
|
|
1060
|
-
|
|
1061
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1062
|
-
relevance_paths?: string[] | undefined;
|
|
1063
|
-
layer?: "personal" | "team" | undefined;
|
|
1105
|
+
paths?: string[] | undefined;
|
|
1064
1106
|
intent_clues?: string[] | undefined;
|
|
1065
1107
|
tech_stack?: string[] | undefined;
|
|
1066
1108
|
impact?: string[] | undefined;
|
|
1067
1109
|
must_read_if?: string | undefined;
|
|
1068
1110
|
tags?: string[] | undefined;
|
|
1111
|
+
audience?: string | undefined;
|
|
1069
1112
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1070
1113
|
evidence_paths?: string[] | undefined;
|
|
1071
1114
|
}>, {
|
|
@@ -1076,15 +1119,13 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1076
1119
|
recent_paths: string[];
|
|
1077
1120
|
user_messages_summary: string;
|
|
1078
1121
|
slug: string;
|
|
1079
|
-
|
|
1080
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1081
|
-
relevance_paths?: string[] | undefined;
|
|
1082
|
-
layer?: "personal" | "team" | undefined;
|
|
1122
|
+
paths?: string[] | undefined;
|
|
1083
1123
|
intent_clues?: string[] | undefined;
|
|
1084
1124
|
tech_stack?: string[] | undefined;
|
|
1085
1125
|
impact?: string[] | undefined;
|
|
1086
1126
|
must_read_if?: string | undefined;
|
|
1087
1127
|
tags?: string[] | undefined;
|
|
1128
|
+
audience?: string | undefined;
|
|
1088
1129
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1089
1130
|
evidence_paths?: string[] | undefined;
|
|
1090
1131
|
}, {
|
|
@@ -1095,15 +1136,13 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1095
1136
|
recent_paths: string[];
|
|
1096
1137
|
user_messages_summary: string;
|
|
1097
1138
|
slug: string;
|
|
1098
|
-
|
|
1099
|
-
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1100
|
-
relevance_paths?: string[] | undefined;
|
|
1101
|
-
layer?: "personal" | "team" | undefined;
|
|
1139
|
+
paths?: string[] | undefined;
|
|
1102
1140
|
intent_clues?: string[] | undefined;
|
|
1103
1141
|
tech_stack?: string[] | undefined;
|
|
1104
1142
|
impact?: string[] | undefined;
|
|
1105
1143
|
must_read_if?: string | undefined;
|
|
1106
1144
|
tags?: string[] | undefined;
|
|
1145
|
+
audience?: string | undefined;
|
|
1107
1146
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
1108
1147
|
evidence_paths?: string[] | undefined;
|
|
1109
1148
|
}>;
|
|
@@ -1113,12 +1152,10 @@ declare const FabExtractKnowledgeInputShape: {
|
|
|
1113
1152
|
user_messages_summary: z.ZodString;
|
|
1114
1153
|
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1115
1154
|
slug: z.ZodString;
|
|
1116
|
-
|
|
1117
|
-
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1118
1156
|
proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
|
|
1119
1157
|
session_context: z.ZodString;
|
|
1120
|
-
|
|
1121
|
-
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1158
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1122
1159
|
intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1123
1160
|
tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1124
1161
|
impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1180,60 +1217,6 @@ declare const fabExtractKnowledgeAnnotations: {
|
|
|
1180
1217
|
readonly title: "Extract pending knowledge entry";
|
|
1181
1218
|
};
|
|
1182
1219
|
declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1183
|
-
action: z.ZodLiteral<"list">;
|
|
1184
|
-
filters: z.ZodOptional<z.ZodObject<{
|
|
1185
|
-
type: z.ZodOptional<z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>>;
|
|
1186
|
-
layer: z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>;
|
|
1187
|
-
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
1188
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1189
|
-
created_after: z.ZodOptional<z.ZodString>;
|
|
1190
|
-
include_rejected: z.ZodOptional<z.ZodBoolean>;
|
|
1191
|
-
include_deferred: z.ZodOptional<z.ZodBoolean>;
|
|
1192
|
-
include_body: z.ZodOptional<z.ZodBoolean>;
|
|
1193
|
-
}, "strip", z.ZodTypeAny, {
|
|
1194
|
-
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1195
|
-
layer?: "personal" | "team" | "both" | undefined;
|
|
1196
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1197
|
-
tags?: string[] | undefined;
|
|
1198
|
-
created_after?: string | undefined;
|
|
1199
|
-
include_rejected?: boolean | undefined;
|
|
1200
|
-
include_deferred?: boolean | undefined;
|
|
1201
|
-
include_body?: boolean | undefined;
|
|
1202
|
-
}, {
|
|
1203
|
-
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1204
|
-
layer?: "personal" | "team" | "both" | undefined;
|
|
1205
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1206
|
-
tags?: string[] | undefined;
|
|
1207
|
-
created_after?: string | undefined;
|
|
1208
|
-
include_rejected?: boolean | undefined;
|
|
1209
|
-
include_deferred?: boolean | undefined;
|
|
1210
|
-
include_body?: boolean | undefined;
|
|
1211
|
-
}>>;
|
|
1212
|
-
}, "strip", z.ZodTypeAny, {
|
|
1213
|
-
action: "list";
|
|
1214
|
-
filters?: {
|
|
1215
|
-
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1216
|
-
layer?: "personal" | "team" | "both" | undefined;
|
|
1217
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1218
|
-
tags?: string[] | undefined;
|
|
1219
|
-
created_after?: string | undefined;
|
|
1220
|
-
include_rejected?: boolean | undefined;
|
|
1221
|
-
include_deferred?: boolean | undefined;
|
|
1222
|
-
include_body?: boolean | undefined;
|
|
1223
|
-
} | undefined;
|
|
1224
|
-
}, {
|
|
1225
|
-
action: "list";
|
|
1226
|
-
filters?: {
|
|
1227
|
-
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1228
|
-
layer?: "personal" | "team" | "both" | undefined;
|
|
1229
|
-
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1230
|
-
tags?: string[] | undefined;
|
|
1231
|
-
created_after?: string | undefined;
|
|
1232
|
-
include_rejected?: boolean | undefined;
|
|
1233
|
-
include_deferred?: boolean | undefined;
|
|
1234
|
-
include_body?: boolean | undefined;
|
|
1235
|
-
} | undefined;
|
|
1236
|
-
}>, z.ZodObject<{
|
|
1237
1220
|
action: z.ZodLiteral<"approve">;
|
|
1238
1221
|
pending_paths: z.ZodArray<z.ZodString, "many">;
|
|
1239
1222
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1442,8 +1425,24 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1442
1425
|
title?: string | undefined;
|
|
1443
1426
|
};
|
|
1444
1427
|
}>, z.ZodObject<{
|
|
1445
|
-
action: z.ZodLiteral<"
|
|
1446
|
-
|
|
1428
|
+
action: z.ZodLiteral<"defer">;
|
|
1429
|
+
pending_paths: z.ZodArray<z.ZodString, "many">;
|
|
1430
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
}, "strip", z.ZodTypeAny, {
|
|
1433
|
+
action: "defer";
|
|
1434
|
+
pending_paths: string[];
|
|
1435
|
+
reason?: string | undefined;
|
|
1436
|
+
until?: string | undefined;
|
|
1437
|
+
}, {
|
|
1438
|
+
action: "defer";
|
|
1439
|
+
pending_paths: string[];
|
|
1440
|
+
reason?: string | undefined;
|
|
1441
|
+
until?: string | undefined;
|
|
1442
|
+
}>]>;
|
|
1443
|
+
type FabReviewInput = z.infer<typeof FabReviewInputSchema>;
|
|
1444
|
+
declare const FabPendingInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1445
|
+
action: z.ZodLiteral<"list">;
|
|
1447
1446
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1448
1447
|
type: z.ZodOptional<z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>>;
|
|
1449
1448
|
layer: z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>;
|
|
@@ -1473,8 +1472,7 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1473
1472
|
include_body?: boolean | undefined;
|
|
1474
1473
|
}>>;
|
|
1475
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1476
|
-
action: "
|
|
1477
|
-
query: string;
|
|
1475
|
+
action: "list";
|
|
1478
1476
|
filters?: {
|
|
1479
1477
|
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1480
1478
|
layer?: "personal" | "team" | "both" | undefined;
|
|
@@ -1486,8 +1484,7 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1486
1484
|
include_body?: boolean | undefined;
|
|
1487
1485
|
} | undefined;
|
|
1488
1486
|
}, {
|
|
1489
|
-
action: "
|
|
1490
|
-
query: string;
|
|
1487
|
+
action: "list";
|
|
1491
1488
|
filters?: {
|
|
1492
1489
|
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1493
1490
|
layer?: "personal" | "team" | "both" | undefined;
|
|
@@ -1499,25 +1496,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1499
1496
|
include_body?: boolean | undefined;
|
|
1500
1497
|
} | undefined;
|
|
1501
1498
|
}>, z.ZodObject<{
|
|
1502
|
-
action: z.ZodLiteral<"
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1506
|
-
}, "strip", z.ZodTypeAny, {
|
|
1507
|
-
action: "defer";
|
|
1508
|
-
pending_paths: string[];
|
|
1509
|
-
reason?: string | undefined;
|
|
1510
|
-
until?: string | undefined;
|
|
1511
|
-
}, {
|
|
1512
|
-
action: "defer";
|
|
1513
|
-
pending_paths: string[];
|
|
1514
|
-
reason?: string | undefined;
|
|
1515
|
-
until?: string | undefined;
|
|
1516
|
-
}>]>;
|
|
1517
|
-
type FabReviewInput = z.infer<typeof FabReviewInputSchema>;
|
|
1518
|
-
declare const FabReviewInputShape: {
|
|
1519
|
-
readonly action: z.ZodEnum<["list", "approve", "reject", "modify", "modify-content", "modify-layer", "search", "defer"]>;
|
|
1520
|
-
readonly filters: z.ZodOptional<z.ZodObject<{
|
|
1499
|
+
action: z.ZodLiteral<"search">;
|
|
1500
|
+
query: z.ZodString;
|
|
1501
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1521
1502
|
type: z.ZodOptional<z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>>;
|
|
1522
1503
|
layer: z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>;
|
|
1523
1504
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
@@ -1545,21 +1526,83 @@ declare const FabReviewInputShape: {
|
|
|
1545
1526
|
include_deferred?: boolean | undefined;
|
|
1546
1527
|
include_body?: boolean | undefined;
|
|
1547
1528
|
}>>;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
action: "search";
|
|
1531
|
+
query: string;
|
|
1532
|
+
filters?: {
|
|
1533
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1534
|
+
layer?: "personal" | "team" | "both" | undefined;
|
|
1535
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1536
|
+
tags?: string[] | undefined;
|
|
1537
|
+
created_after?: string | undefined;
|
|
1538
|
+
include_rejected?: boolean | undefined;
|
|
1539
|
+
include_deferred?: boolean | undefined;
|
|
1540
|
+
include_body?: boolean | undefined;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
}, {
|
|
1543
|
+
action: "search";
|
|
1544
|
+
query: string;
|
|
1545
|
+
filters?: {
|
|
1546
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1547
|
+
layer?: "personal" | "team" | "both" | undefined;
|
|
1548
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1549
|
+
tags?: string[] | undefined;
|
|
1550
|
+
created_after?: string | undefined;
|
|
1551
|
+
include_rejected?: boolean | undefined;
|
|
1552
|
+
include_deferred?: boolean | undefined;
|
|
1553
|
+
include_body?: boolean | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
}>]>;
|
|
1556
|
+
type FabPendingInput = z.infer<typeof FabPendingInputSchema>;
|
|
1557
|
+
declare const FabPendingInputShape: {
|
|
1558
|
+
readonly action: z.ZodEnum<["list", "search"]>;
|
|
1559
|
+
readonly filters: z.ZodOptional<z.ZodObject<{
|
|
1560
|
+
type: z.ZodOptional<z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>>;
|
|
1561
|
+
layer: z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>;
|
|
1562
|
+
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
1563
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1564
|
+
created_after: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
include_rejected: z.ZodOptional<z.ZodBoolean>;
|
|
1566
|
+
include_deferred: z.ZodOptional<z.ZodBoolean>;
|
|
1567
|
+
include_body: z.ZodOptional<z.ZodBoolean>;
|
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1570
|
+
layer?: "personal" | "team" | "both" | undefined;
|
|
1571
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1572
|
+
tags?: string[] | undefined;
|
|
1573
|
+
created_after?: string | undefined;
|
|
1574
|
+
include_rejected?: boolean | undefined;
|
|
1575
|
+
include_deferred?: boolean | undefined;
|
|
1576
|
+
include_body?: boolean | undefined;
|
|
1577
|
+
}, {
|
|
1578
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1579
|
+
layer?: "personal" | "team" | "both" | undefined;
|
|
1580
|
+
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1581
|
+
tags?: string[] | undefined;
|
|
1582
|
+
created_after?: string | undefined;
|
|
1583
|
+
include_rejected?: boolean | undefined;
|
|
1584
|
+
include_deferred?: boolean | undefined;
|
|
1585
|
+
include_body?: boolean | undefined;
|
|
1586
|
+
}>>;
|
|
1587
|
+
readonly query: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
};
|
|
1589
|
+
declare const FabReviewInputShape: {
|
|
1590
|
+
readonly action: z.ZodEnum<["approve", "reject", "modify", "modify-content", "modify-layer", "defer"]>;
|
|
1591
|
+
readonly pending_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1592
|
+
readonly pending_path: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
readonly reason: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
readonly changes: z.ZodOptional<z.ZodObject<{
|
|
1595
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1598
|
+
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
1599
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1600
|
+
relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
|
|
1601
|
+
relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1602
|
+
semantic_scope: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
semantic_scope?: string | undefined;
|
|
1563
1606
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
1564
1607
|
relevance_paths?: string[] | undefined;
|
|
1565
1608
|
layer?: "personal" | "team" | undefined;
|
|
@@ -1579,50 +1622,19 @@ declare const FabReviewInputShape: {
|
|
|
1579
1622
|
related?: string[] | undefined;
|
|
1580
1623
|
title?: string | undefined;
|
|
1581
1624
|
}>>;
|
|
1582
|
-
readonly query: z.ZodOptional<z.ZodString>;
|
|
1583
1625
|
readonly until: z.ZodOptional<z.ZodString>;
|
|
1584
1626
|
};
|
|
1585
1627
|
declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1586
|
-
action: z.ZodLiteral<"
|
|
1587
|
-
|
|
1628
|
+
action: z.ZodLiteral<"approve">;
|
|
1629
|
+
approved: z.ZodArray<z.ZodObject<{
|
|
1588
1630
|
pending_path: z.ZodString;
|
|
1589
|
-
|
|
1590
|
-
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1591
|
-
layer: z.ZodEnum<["team", "personal"]>;
|
|
1592
|
-
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
1593
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1594
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1595
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1596
|
-
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1597
|
-
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1598
|
-
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1599
|
-
body: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
stable_id: z.ZodString;
|
|
1600
1632
|
}, "strip", z.ZodTypeAny, {
|
|
1601
|
-
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1602
|
-
layer: "personal" | "team";
|
|
1603
1633
|
pending_path: string;
|
|
1604
|
-
|
|
1605
|
-
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1606
|
-
summary?: string | undefined;
|
|
1607
|
-
tags?: string[] | undefined;
|
|
1608
|
-
body?: string | undefined;
|
|
1609
|
-
title?: string | undefined;
|
|
1610
|
-
pending_path_absolute?: string | undefined;
|
|
1611
|
-
origin?: "personal" | "team" | undefined;
|
|
1612
|
-
deferred_until?: string | undefined;
|
|
1634
|
+
stable_id: string;
|
|
1613
1635
|
}, {
|
|
1614
|
-
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1615
|
-
layer: "personal" | "team";
|
|
1616
1636
|
pending_path: string;
|
|
1617
|
-
|
|
1618
|
-
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1619
|
-
summary?: string | undefined;
|
|
1620
|
-
tags?: string[] | undefined;
|
|
1621
|
-
body?: string | undefined;
|
|
1622
|
-
title?: string | undefined;
|
|
1623
|
-
pending_path_absolute?: string | undefined;
|
|
1624
|
-
origin?: "personal" | "team" | undefined;
|
|
1625
|
-
deferred_until?: string | undefined;
|
|
1637
|
+
stable_id: string;
|
|
1626
1638
|
}>, "many">;
|
|
1627
1639
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1628
1640
|
code: z.ZodString;
|
|
@@ -1644,21 +1656,11 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1644
1656
|
line?: number | undefined;
|
|
1645
1657
|
}>, "many">>;
|
|
1646
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1647
|
-
|
|
1648
|
-
items: {
|
|
1649
|
-
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1650
|
-
layer: "personal" | "team";
|
|
1659
|
+
approved: {
|
|
1651
1660
|
pending_path: string;
|
|
1652
|
-
|
|
1653
|
-
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1654
|
-
summary?: string | undefined;
|
|
1655
|
-
tags?: string[] | undefined;
|
|
1656
|
-
body?: string | undefined;
|
|
1657
|
-
title?: string | undefined;
|
|
1658
|
-
pending_path_absolute?: string | undefined;
|
|
1659
|
-
origin?: "personal" | "team" | undefined;
|
|
1660
|
-
deferred_until?: string | undefined;
|
|
1661
|
+
stable_id: string;
|
|
1661
1662
|
}[];
|
|
1663
|
+
action: "approve";
|
|
1662
1664
|
warnings?: {
|
|
1663
1665
|
code: string;
|
|
1664
1666
|
file: string;
|
|
@@ -1667,21 +1669,11 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1667
1669
|
line?: number | undefined;
|
|
1668
1670
|
}[] | undefined;
|
|
1669
1671
|
}, {
|
|
1670
|
-
|
|
1671
|
-
items: {
|
|
1672
|
-
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1673
|
-
layer: "personal" | "team";
|
|
1672
|
+
approved: {
|
|
1674
1673
|
pending_path: string;
|
|
1675
|
-
|
|
1676
|
-
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1677
|
-
summary?: string | undefined;
|
|
1678
|
-
tags?: string[] | undefined;
|
|
1679
|
-
body?: string | undefined;
|
|
1680
|
-
title?: string | undefined;
|
|
1681
|
-
pending_path_absolute?: string | undefined;
|
|
1682
|
-
origin?: "personal" | "team" | undefined;
|
|
1683
|
-
deferred_until?: string | undefined;
|
|
1674
|
+
stable_id: string;
|
|
1684
1675
|
}[];
|
|
1676
|
+
action: "approve";
|
|
1685
1677
|
warnings?: {
|
|
1686
1678
|
code: string;
|
|
1687
1679
|
file: string;
|
|
@@ -1690,17 +1682,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1690
1682
|
line?: number | undefined;
|
|
1691
1683
|
}[] | undefined;
|
|
1692
1684
|
}>, z.ZodObject<{
|
|
1693
|
-
action: z.ZodLiteral<"
|
|
1694
|
-
|
|
1695
|
-
pending_path: z.ZodString;
|
|
1696
|
-
stable_id: z.ZodString;
|
|
1697
|
-
}, "strip", z.ZodTypeAny, {
|
|
1698
|
-
pending_path: string;
|
|
1699
|
-
stable_id: string;
|
|
1700
|
-
}, {
|
|
1701
|
-
pending_path: string;
|
|
1702
|
-
stable_id: string;
|
|
1703
|
-
}>, "many">;
|
|
1685
|
+
action: z.ZodLiteral<"reject">;
|
|
1686
|
+
rejected: z.ZodArray<z.ZodString, "many">;
|
|
1704
1687
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1705
1688
|
code: z.ZodString;
|
|
1706
1689
|
file: z.ZodString;
|
|
@@ -1721,11 +1704,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1721
1704
|
line?: number | undefined;
|
|
1722
1705
|
}>, "many">>;
|
|
1723
1706
|
}, "strip", z.ZodTypeAny, {
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
stable_id: string;
|
|
1727
|
-
}[];
|
|
1728
|
-
action: "approve";
|
|
1707
|
+
action: "reject";
|
|
1708
|
+
rejected: string[];
|
|
1729
1709
|
warnings?: {
|
|
1730
1710
|
code: string;
|
|
1731
1711
|
file: string;
|
|
@@ -1734,11 +1714,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1734
1714
|
line?: number | undefined;
|
|
1735
1715
|
}[] | undefined;
|
|
1736
1716
|
}, {
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
stable_id: string;
|
|
1740
|
-
}[];
|
|
1741
|
-
action: "approve";
|
|
1717
|
+
action: "reject";
|
|
1718
|
+
rejected: string[];
|
|
1742
1719
|
warnings?: {
|
|
1743
1720
|
code: string;
|
|
1744
1721
|
file: string;
|
|
@@ -1747,8 +1724,10 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1747
1724
|
line?: number | undefined;
|
|
1748
1725
|
}[] | undefined;
|
|
1749
1726
|
}>, z.ZodObject<{
|
|
1750
|
-
action: z.ZodLiteral<"
|
|
1751
|
-
|
|
1727
|
+
action: z.ZodLiteral<"modify">;
|
|
1728
|
+
pending_path: z.ZodString;
|
|
1729
|
+
prior_stable_id: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
new_stable_id: z.ZodOptional<z.ZodString>;
|
|
1752
1731
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1753
1732
|
code: z.ZodString;
|
|
1754
1733
|
file: z.ZodString;
|
|
@@ -1769,8 +1748,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1769
1748
|
line?: number | undefined;
|
|
1770
1749
|
}>, "many">>;
|
|
1771
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
|
|
1773
|
-
|
|
1751
|
+
pending_path: string;
|
|
1752
|
+
action: "modify";
|
|
1774
1753
|
warnings?: {
|
|
1775
1754
|
code: string;
|
|
1776
1755
|
file: string;
|
|
@@ -1778,9 +1757,11 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1778
1757
|
message?: string | undefined;
|
|
1779
1758
|
line?: number | undefined;
|
|
1780
1759
|
}[] | undefined;
|
|
1760
|
+
prior_stable_id?: string | undefined;
|
|
1761
|
+
new_stable_id?: string | undefined;
|
|
1781
1762
|
}, {
|
|
1782
|
-
|
|
1783
|
-
|
|
1763
|
+
pending_path: string;
|
|
1764
|
+
action: "modify";
|
|
1784
1765
|
warnings?: {
|
|
1785
1766
|
code: string;
|
|
1786
1767
|
file: string;
|
|
@@ -1788,11 +1769,11 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1788
1769
|
message?: string | undefined;
|
|
1789
1770
|
line?: number | undefined;
|
|
1790
1771
|
}[] | undefined;
|
|
1772
|
+
prior_stable_id?: string | undefined;
|
|
1773
|
+
new_stable_id?: string | undefined;
|
|
1791
1774
|
}>, z.ZodObject<{
|
|
1792
|
-
action: z.ZodLiteral<"
|
|
1793
|
-
|
|
1794
|
-
prior_stable_id: z.ZodOptional<z.ZodString>;
|
|
1795
|
-
new_stable_id: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
action: z.ZodLiteral<"defer">;
|
|
1776
|
+
deferred: z.ZodArray<z.ZodString, "many">;
|
|
1796
1777
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1797
1778
|
code: z.ZodString;
|
|
1798
1779
|
file: z.ZodString;
|
|
@@ -1813,8 +1794,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1813
1794
|
line?: number | undefined;
|
|
1814
1795
|
}>, "many">>;
|
|
1815
1796
|
}, "strip", z.ZodTypeAny, {
|
|
1816
|
-
|
|
1817
|
-
|
|
1797
|
+
action: "defer";
|
|
1798
|
+
deferred: string[];
|
|
1818
1799
|
warnings?: {
|
|
1819
1800
|
code: string;
|
|
1820
1801
|
file: string;
|
|
@@ -1822,11 +1803,9 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1822
1803
|
message?: string | undefined;
|
|
1823
1804
|
line?: number | undefined;
|
|
1824
1805
|
}[] | undefined;
|
|
1825
|
-
prior_stable_id?: string | undefined;
|
|
1826
|
-
new_stable_id?: string | undefined;
|
|
1827
1806
|
}, {
|
|
1828
|
-
|
|
1829
|
-
|
|
1807
|
+
action: "defer";
|
|
1808
|
+
deferred: string[];
|
|
1830
1809
|
warnings?: {
|
|
1831
1810
|
code: string;
|
|
1832
1811
|
file: string;
|
|
@@ -1834,14 +1813,13 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1834
1813
|
message?: string | undefined;
|
|
1835
1814
|
line?: number | undefined;
|
|
1836
1815
|
}[] | undefined;
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
action: z.ZodLiteral<"
|
|
1816
|
+
}>]>;
|
|
1817
|
+
type FabReviewOutput = z.infer<typeof FabReviewOutputSchema>;
|
|
1818
|
+
declare const FabPendingOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
1819
|
+
action: z.ZodLiteral<"list">;
|
|
1841
1820
|
items: z.ZodArray<z.ZodObject<{
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
path_absolute: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
pending_path: z.ZodString;
|
|
1822
|
+
pending_path_absolute: z.ZodOptional<z.ZodString>;
|
|
1845
1823
|
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1846
1824
|
layer: z.ZodEnum<["team", "personal"]>;
|
|
1847
1825
|
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
@@ -1852,37 +1830,32 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1852
1830
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1853
1831
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1854
1832
|
body: z.ZodOptional<z.ZodString>;
|
|
1855
|
-
stable_id: z.ZodOptional<z.ZodString>;
|
|
1856
1833
|
}, "strip", z.ZodTypeAny, {
|
|
1857
|
-
path: string;
|
|
1858
1834
|
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1859
1835
|
layer: "personal" | "team";
|
|
1836
|
+
pending_path: string;
|
|
1860
1837
|
maturity: "draft" | "verified" | "proven";
|
|
1861
|
-
area: "canonical" | "pending";
|
|
1862
1838
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1863
1839
|
summary?: string | undefined;
|
|
1864
1840
|
tags?: string[] | undefined;
|
|
1865
|
-
stable_id?: string | undefined;
|
|
1866
1841
|
body?: string | undefined;
|
|
1867
1842
|
title?: string | undefined;
|
|
1843
|
+
pending_path_absolute?: string | undefined;
|
|
1868
1844
|
origin?: "personal" | "team" | undefined;
|
|
1869
1845
|
deferred_until?: string | undefined;
|
|
1870
|
-
path_absolute?: string | undefined;
|
|
1871
1846
|
}, {
|
|
1872
|
-
path: string;
|
|
1873
1847
|
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1874
1848
|
layer: "personal" | "team";
|
|
1849
|
+
pending_path: string;
|
|
1875
1850
|
maturity: "draft" | "verified" | "proven";
|
|
1876
|
-
area: "canonical" | "pending";
|
|
1877
1851
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1878
1852
|
summary?: string | undefined;
|
|
1879
1853
|
tags?: string[] | undefined;
|
|
1880
|
-
stable_id?: string | undefined;
|
|
1881
1854
|
body?: string | undefined;
|
|
1882
1855
|
title?: string | undefined;
|
|
1856
|
+
pending_path_absolute?: string | undefined;
|
|
1883
1857
|
origin?: "personal" | "team" | undefined;
|
|
1884
1858
|
deferred_until?: string | undefined;
|
|
1885
|
-
path_absolute?: string | undefined;
|
|
1886
1859
|
}>, "many">;
|
|
1887
1860
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1888
1861
|
code: z.ZodString;
|
|
@@ -1904,22 +1877,20 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1904
1877
|
line?: number | undefined;
|
|
1905
1878
|
}>, "many">>;
|
|
1906
1879
|
}, "strip", z.ZodTypeAny, {
|
|
1907
|
-
action: "
|
|
1880
|
+
action: "list";
|
|
1908
1881
|
items: {
|
|
1909
|
-
path: string;
|
|
1910
1882
|
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1911
1883
|
layer: "personal" | "team";
|
|
1884
|
+
pending_path: string;
|
|
1912
1885
|
maturity: "draft" | "verified" | "proven";
|
|
1913
|
-
area: "canonical" | "pending";
|
|
1914
1886
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1915
1887
|
summary?: string | undefined;
|
|
1916
1888
|
tags?: string[] | undefined;
|
|
1917
|
-
stable_id?: string | undefined;
|
|
1918
1889
|
body?: string | undefined;
|
|
1919
1890
|
title?: string | undefined;
|
|
1891
|
+
pending_path_absolute?: string | undefined;
|
|
1920
1892
|
origin?: "personal" | "team" | undefined;
|
|
1921
1893
|
deferred_until?: string | undefined;
|
|
1922
|
-
path_absolute?: string | undefined;
|
|
1923
1894
|
}[];
|
|
1924
1895
|
warnings?: {
|
|
1925
1896
|
code: string;
|
|
@@ -1929,22 +1900,20 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1929
1900
|
line?: number | undefined;
|
|
1930
1901
|
}[] | undefined;
|
|
1931
1902
|
}, {
|
|
1932
|
-
action: "
|
|
1903
|
+
action: "list";
|
|
1933
1904
|
items: {
|
|
1934
|
-
path: string;
|
|
1935
1905
|
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1936
1906
|
layer: "personal" | "team";
|
|
1907
|
+
pending_path: string;
|
|
1937
1908
|
maturity: "draft" | "verified" | "proven";
|
|
1938
|
-
area: "canonical" | "pending";
|
|
1939
1909
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1940
1910
|
summary?: string | undefined;
|
|
1941
1911
|
tags?: string[] | undefined;
|
|
1942
|
-
stable_id?: string | undefined;
|
|
1943
1912
|
body?: string | undefined;
|
|
1944
1913
|
title?: string | undefined;
|
|
1914
|
+
pending_path_absolute?: string | undefined;
|
|
1945
1915
|
origin?: "personal" | "team" | undefined;
|
|
1946
1916
|
deferred_until?: string | undefined;
|
|
1947
|
-
path_absolute?: string | undefined;
|
|
1948
1917
|
}[];
|
|
1949
1918
|
warnings?: {
|
|
1950
1919
|
code: string;
|
|
@@ -1954,8 +1923,53 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1954
1923
|
line?: number | undefined;
|
|
1955
1924
|
}[] | undefined;
|
|
1956
1925
|
}>, z.ZodObject<{
|
|
1957
|
-
action: z.ZodLiteral<"
|
|
1958
|
-
|
|
1926
|
+
action: z.ZodLiteral<"search">;
|
|
1927
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1928
|
+
area: z.ZodEnum<["pending", "canonical"]>;
|
|
1929
|
+
path: z.ZodString;
|
|
1930
|
+
path_absolute: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1932
|
+
layer: z.ZodEnum<["team", "personal"]>;
|
|
1933
|
+
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
1934
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1935
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1936
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1937
|
+
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1938
|
+
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1939
|
+
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
stable_id: z.ZodOptional<z.ZodString>;
|
|
1942
|
+
}, "strip", z.ZodTypeAny, {
|
|
1943
|
+
path: string;
|
|
1944
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1945
|
+
layer: "personal" | "team";
|
|
1946
|
+
maturity: "draft" | "verified" | "proven";
|
|
1947
|
+
area: "canonical" | "pending";
|
|
1948
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1949
|
+
summary?: string | undefined;
|
|
1950
|
+
tags?: string[] | undefined;
|
|
1951
|
+
stable_id?: string | undefined;
|
|
1952
|
+
body?: string | undefined;
|
|
1953
|
+
title?: string | undefined;
|
|
1954
|
+
origin?: "personal" | "team" | undefined;
|
|
1955
|
+
deferred_until?: string | undefined;
|
|
1956
|
+
path_absolute?: string | undefined;
|
|
1957
|
+
}, {
|
|
1958
|
+
path: string;
|
|
1959
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1960
|
+
layer: "personal" | "team";
|
|
1961
|
+
maturity: "draft" | "verified" | "proven";
|
|
1962
|
+
area: "canonical" | "pending";
|
|
1963
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1964
|
+
summary?: string | undefined;
|
|
1965
|
+
tags?: string[] | undefined;
|
|
1966
|
+
stable_id?: string | undefined;
|
|
1967
|
+
body?: string | undefined;
|
|
1968
|
+
title?: string | undefined;
|
|
1969
|
+
origin?: "personal" | "team" | undefined;
|
|
1970
|
+
deferred_until?: string | undefined;
|
|
1971
|
+
path_absolute?: string | undefined;
|
|
1972
|
+
}>, "many">;
|
|
1959
1973
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1960
1974
|
code: z.ZodString;
|
|
1961
1975
|
file: z.ZodString;
|
|
@@ -1976,8 +1990,23 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1976
1990
|
line?: number | undefined;
|
|
1977
1991
|
}>, "many">>;
|
|
1978
1992
|
}, "strip", z.ZodTypeAny, {
|
|
1979
|
-
action: "
|
|
1980
|
-
|
|
1993
|
+
action: "search";
|
|
1994
|
+
items: {
|
|
1995
|
+
path: string;
|
|
1996
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1997
|
+
layer: "personal" | "team";
|
|
1998
|
+
maturity: "draft" | "verified" | "proven";
|
|
1999
|
+
area: "canonical" | "pending";
|
|
2000
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2001
|
+
summary?: string | undefined;
|
|
2002
|
+
tags?: string[] | undefined;
|
|
2003
|
+
stable_id?: string | undefined;
|
|
2004
|
+
body?: string | undefined;
|
|
2005
|
+
title?: string | undefined;
|
|
2006
|
+
origin?: "personal" | "team" | undefined;
|
|
2007
|
+
deferred_until?: string | undefined;
|
|
2008
|
+
path_absolute?: string | undefined;
|
|
2009
|
+
}[];
|
|
1981
2010
|
warnings?: {
|
|
1982
2011
|
code: string;
|
|
1983
2012
|
file: string;
|
|
@@ -1986,8 +2015,23 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1986
2015
|
line?: number | undefined;
|
|
1987
2016
|
}[] | undefined;
|
|
1988
2017
|
}, {
|
|
1989
|
-
action: "
|
|
1990
|
-
|
|
2018
|
+
action: "search";
|
|
2019
|
+
items: {
|
|
2020
|
+
path: string;
|
|
2021
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
2022
|
+
layer: "personal" | "team";
|
|
2023
|
+
maturity: "draft" | "verified" | "proven";
|
|
2024
|
+
area: "canonical" | "pending";
|
|
2025
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
2026
|
+
summary?: string | undefined;
|
|
2027
|
+
tags?: string[] | undefined;
|
|
2028
|
+
stable_id?: string | undefined;
|
|
2029
|
+
body?: string | undefined;
|
|
2030
|
+
title?: string | undefined;
|
|
2031
|
+
origin?: "personal" | "team" | undefined;
|
|
2032
|
+
deferred_until?: string | undefined;
|
|
2033
|
+
path_absolute?: string | undefined;
|
|
2034
|
+
}[];
|
|
1991
2035
|
warnings?: {
|
|
1992
2036
|
code: string;
|
|
1993
2037
|
file: string;
|
|
@@ -1996,9 +2040,9 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1996
2040
|
line?: number | undefined;
|
|
1997
2041
|
}[] | undefined;
|
|
1998
2042
|
}>]>;
|
|
1999
|
-
type
|
|
2000
|
-
declare const
|
|
2001
|
-
readonly action: z.ZodEnum<["list", "
|
|
2043
|
+
type FabPendingOutput = z.infer<typeof FabPendingOutputSchema>;
|
|
2044
|
+
declare const FabPendingOutputShape: {
|
|
2045
|
+
readonly action: z.ZodEnum<["list", "search"]>;
|
|
2002
2046
|
readonly items: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2003
2047
|
pending_path: z.ZodString;
|
|
2004
2048
|
pending_path_absolute: z.ZodOptional<z.ZodString>;
|
|
@@ -2084,6 +2128,28 @@ declare const FabReviewOutputShape: {
|
|
|
2084
2128
|
deferred_until?: string | undefined;
|
|
2085
2129
|
path_absolute?: string | undefined;
|
|
2086
2130
|
}>]>, "many">>;
|
|
2131
|
+
readonly warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2132
|
+
code: z.ZodString;
|
|
2133
|
+
file: z.ZodString;
|
|
2134
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2135
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
action_hint: z.ZodString;
|
|
2137
|
+
}, "strip", z.ZodTypeAny, {
|
|
2138
|
+
code: string;
|
|
2139
|
+
file: string;
|
|
2140
|
+
action_hint: string;
|
|
2141
|
+
message?: string | undefined;
|
|
2142
|
+
line?: number | undefined;
|
|
2143
|
+
}, {
|
|
2144
|
+
code: string;
|
|
2145
|
+
file: string;
|
|
2146
|
+
action_hint: string;
|
|
2147
|
+
message?: string | undefined;
|
|
2148
|
+
line?: number | undefined;
|
|
2149
|
+
}>, "many">>;
|
|
2150
|
+
};
|
|
2151
|
+
declare const FabReviewOutputShape: {
|
|
2152
|
+
readonly action: z.ZodEnum<["approve", "reject", "modify", "defer"]>;
|
|
2087
2153
|
readonly approved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2088
2154
|
pending_path: z.ZodString;
|
|
2089
2155
|
stable_id: z.ZodString;
|
|
@@ -2126,6 +2192,13 @@ declare const fabReviewAnnotations: {
|
|
|
2126
2192
|
readonly openWorldHint: false;
|
|
2127
2193
|
readonly title: "Review pending knowledge entries";
|
|
2128
2194
|
};
|
|
2195
|
+
declare const fabPendingAnnotations: {
|
|
2196
|
+
readonly readOnlyHint: true;
|
|
2197
|
+
readonly idempotentHint: true;
|
|
2198
|
+
readonly destructiveHint: false;
|
|
2199
|
+
readonly openWorldHint: false;
|
|
2200
|
+
readonly title: "Browse and search pending knowledge entries";
|
|
2201
|
+
};
|
|
2129
2202
|
declare const citeContractMetricsSchema: z.ZodObject<{
|
|
2130
2203
|
decisions_cited: z.ZodNumber;
|
|
2131
2204
|
pitfalls_cited: z.ZodNumber;
|
|
@@ -2554,4 +2627,4 @@ declare function parseKnowledgeId(id: string): {
|
|
|
2554
2627
|
counter: number;
|
|
2555
2628
|
} | null;
|
|
2556
2629
|
|
|
2557
|
-
export { type ArchiveScanInput, type ArchiveScanOutput, type CiteContractMetrics, type CiteCoverageReport, type CiteLayerTypeBreakdown, type FabExtractKnowledgeInput, FabExtractKnowledgeInputSchema, FabExtractKnowledgeInputShape, type FabExtractKnowledgeOutput, FabExtractKnowledgeOutputSchema, type FabReviewInput, FabReviewInputSchema, FabReviewInputShape, type FabReviewOutput, FabReviewOutputSchema, FabReviewOutputShape, KNOWLEDGE_TYPE_CODES, type KnowledgeEntryFrontmatter, KnowledgeEntryFrontmatterSchema, type KnowledgeType, type KnowledgeTypeCode, KnowledgeTypeSchema, type Layer, LayerSchema, type Maturity, MaturitySchema, PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE, type ProposedReason, ProposedReasonSchema, type StableId, StableIdSchema, annotateIntentRequestSchema, archiveScanAnnotations, archiveScanInputSchema, archiveScanOutputSchema, citeContractMetricsSchema, citeCoverageReportSchema, citeLayerTypeBreakdownSchema, fabExtractKnowledgeAnnotations, fabReviewAnnotations, formatKnowledgeId, historyStateQuerySchema, humanLockApproveRequestSchema, humanLockFileParamsSchema, knowledgeSectionsAnnotations, knowledgeSectionsInputSchema, knowledgeSectionsOutputSchema, ledgerQuerySchema, ledgerSourceSchema, parseKnowledgeId, planContextAnnotations, planContextHintNarrowEntrySchema, planContextHintOutputSchema, planContextInputSchema, planContextOutputSchema, recallAnnotations, recallInputSchema, recallOutputSchema, structuredWarningSchema };
|
|
2630
|
+
export { type ArchiveScanInput, type ArchiveScanOutput, type CiteContractMetrics, type CiteCoverageReport, type CiteLayerTypeBreakdown, type FabExtractKnowledgeInput, FabExtractKnowledgeInputSchema, FabExtractKnowledgeInputShape, type FabExtractKnowledgeOutput, FabExtractKnowledgeOutputSchema, type FabPendingInput, FabPendingInputSchema, FabPendingInputShape, type FabPendingOutput, FabPendingOutputSchema, FabPendingOutputShape, type FabReviewInput, FabReviewInputSchema, FabReviewInputShape, type FabReviewOutput, FabReviewOutputSchema, FabReviewOutputShape, KNOWLEDGE_TYPE_CODES, type KnowledgeEntryFrontmatter, KnowledgeEntryFrontmatterSchema, type KnowledgeType, type KnowledgeTypeCode, KnowledgeTypeSchema, type Layer, LayerSchema, type Maturity, MaturitySchema, PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE, type ProposedReason, ProposedReasonSchema, type StableId, StableIdSchema, annotateIntentRequestSchema, archiveScanAnnotations, archiveScanInputSchema, archiveScanOutputSchema, citeContractMetricsSchema, citeCoverageReportSchema, citeLayerTypeBreakdownSchema, fabExtractKnowledgeAnnotations, fabPendingAnnotations, fabReviewAnnotations, formatKnowledgeId, historyStateQuerySchema, humanLockApproveRequestSchema, humanLockFileParamsSchema, knowledgeSectionsAnnotations, knowledgeSectionsInputSchema, knowledgeSectionsOutputSchema, ledgerQuerySchema, ledgerSourceSchema, parseKnowledgeId, planContextAnnotations, planContextHintNarrowEntrySchema, planContextHintOutputSchema, planContextInputSchema, planContextOutputSchema, recallAnnotations, recallInputSchema, recallOutputSchema, structuredWarningSchema };
|