@fenglimg/fabric-shared 2.2.0-rc.4 → 2.2.0-rc.8

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.
@@ -1,19 +1,23 @@
1
1
  import { z } from 'zod';
2
+ import { L as Locale } from '../types-qg4xXVuT.js';
2
3
 
3
4
  declare const structuredWarningSchema: z.ZodObject<{
4
5
  code: z.ZodString;
5
6
  file: z.ZodString;
6
7
  line: z.ZodOptional<z.ZodNumber>;
8
+ message: z.ZodOptional<z.ZodString>;
7
9
  action_hint: z.ZodString;
8
10
  }, "strip", z.ZodTypeAny, {
9
11
  code: string;
10
12
  file: string;
11
13
  action_hint: string;
14
+ message?: string | undefined;
12
15
  line?: number | undefined;
13
16
  }, {
14
17
  code: string;
15
18
  file: string;
16
19
  action_hint: string;
20
+ message?: string | undefined;
17
21
  line?: number | undefined;
18
22
  }>;
19
23
  declare const planContextInputSchema: z.ZodObject<{
@@ -56,17 +60,14 @@ declare const planContextOutputSchema: z.ZodObject<{
56
60
  requirement_profile: z.ZodObject<{
57
61
  target_path: z.ZodString;
58
62
  known_tech: z.ZodArray<z.ZodString, "many">;
59
- user_intent: z.ZodString;
60
63
  detected_entities: z.ZodArray<z.ZodString, "many">;
61
64
  }, "strip", z.ZodTypeAny, {
62
65
  target_path: string;
63
66
  known_tech: string[];
64
- user_intent: string;
65
67
  detected_entities: string[];
66
68
  }, {
67
69
  target_path: string;
68
70
  known_tech: string[];
69
- user_intent: string;
70
71
  detected_entities: string[];
71
72
  }>;
72
73
  }, "strip", z.ZodTypeAny, {
@@ -74,7 +75,6 @@ declare const planContextOutputSchema: z.ZodObject<{
74
75
  requirement_profile: {
75
76
  target_path: string;
76
77
  known_tech: string[];
77
- user_intent: string;
78
78
  detected_entities: string[];
79
79
  };
80
80
  }, {
@@ -82,10 +82,10 @@ declare const planContextOutputSchema: z.ZodObject<{
82
82
  requirement_profile: {
83
83
  target_path: string;
84
84
  known_tech: string[];
85
- user_intent: string;
86
85
  detected_entities: string[];
87
86
  };
88
87
  }>, "many">;
88
+ intent: z.ZodOptional<z.ZodString>;
89
89
  candidates: z.ZodArray<z.ZodObject<{
90
90
  stable_id: z.ZodString;
91
91
  description: z.ZodObject<{
@@ -140,6 +140,7 @@ declare const planContextOutputSchema: z.ZodObject<{
140
140
  tags?: string[] | undefined;
141
141
  related?: string[] | undefined;
142
142
  }>;
143
+ always_active: z.ZodOptional<z.ZodBoolean>;
143
144
  }, "strip", z.ZodTypeAny, {
144
145
  description: {
145
146
  summary: string;
@@ -160,6 +161,7 @@ declare const planContextOutputSchema: z.ZodObject<{
160
161
  related?: string[] | undefined;
161
162
  };
162
163
  stable_id: string;
164
+ always_active?: boolean | undefined;
163
165
  }, {
164
166
  description: {
165
167
  summary: string;
@@ -180,6 +182,7 @@ declare const planContextOutputSchema: z.ZodObject<{
180
182
  related?: string[] | undefined;
181
183
  };
182
184
  stable_id: string;
185
+ always_active?: boolean | undefined;
183
186
  }>, "many">;
184
187
  omitted_candidate_count: z.ZodOptional<z.ZodNumber>;
185
188
  preflight_diagnostics: z.ZodArray<z.ZodObject<{
@@ -205,16 +208,19 @@ declare const planContextOutputSchema: z.ZodObject<{
205
208
  code: z.ZodString;
206
209
  file: z.ZodString;
207
210
  line: z.ZodOptional<z.ZodNumber>;
211
+ message: z.ZodOptional<z.ZodString>;
208
212
  action_hint: z.ZodString;
209
213
  }, "strip", z.ZodTypeAny, {
210
214
  code: string;
211
215
  file: string;
212
216
  action_hint: string;
217
+ message?: string | undefined;
213
218
  line?: number | undefined;
214
219
  }, {
215
220
  code: string;
216
221
  file: string;
217
222
  action_hint: string;
223
+ message?: string | undefined;
218
224
  line?: number | undefined;
219
225
  }>, "many">>;
220
226
  auto_healed: z.ZodOptional<z.ZodBoolean>;
@@ -227,7 +233,6 @@ declare const planContextOutputSchema: z.ZodObject<{
227
233
  requirement_profile: {
228
234
  target_path: string;
229
235
  known_tech: string[];
230
- user_intent: string;
231
236
  detected_entities: string[];
232
237
  };
233
238
  }[];
@@ -254,6 +259,7 @@ declare const planContextOutputSchema: z.ZodObject<{
254
259
  related?: string[] | undefined;
255
260
  };
256
261
  stable_id: string;
262
+ always_active?: boolean | undefined;
257
263
  }[];
258
264
  preflight_diagnostics: {
259
265
  code: "missing_description" | "empty_shell_suppressed";
@@ -262,11 +268,13 @@ declare const planContextOutputSchema: z.ZodObject<{
262
268
  path?: string | undefined;
263
269
  stable_ids?: string[] | undefined;
264
270
  }[];
271
+ intent?: string | undefined;
265
272
  omitted_candidate_count?: number | undefined;
266
273
  warnings?: {
267
274
  code: string;
268
275
  file: string;
269
276
  action_hint: string;
277
+ message?: string | undefined;
270
278
  line?: number | undefined;
271
279
  }[] | undefined;
272
280
  auto_healed?: boolean | undefined;
@@ -279,7 +287,6 @@ declare const planContextOutputSchema: z.ZodObject<{
279
287
  requirement_profile: {
280
288
  target_path: string;
281
289
  known_tech: string[];
282
- user_intent: string;
283
290
  detected_entities: string[];
284
291
  };
285
292
  }[];
@@ -306,6 +313,7 @@ declare const planContextOutputSchema: z.ZodObject<{
306
313
  related?: string[] | undefined;
307
314
  };
308
315
  stable_id: string;
316
+ always_active?: boolean | undefined;
309
317
  }[];
310
318
  preflight_diagnostics: {
311
319
  code: "missing_description" | "empty_shell_suppressed";
@@ -314,11 +322,13 @@ declare const planContextOutputSchema: z.ZodObject<{
314
322
  path?: string | undefined;
315
323
  stable_ids?: string[] | undefined;
316
324
  }[];
325
+ intent?: string | undefined;
317
326
  omitted_candidate_count?: number | undefined;
318
327
  warnings?: {
319
328
  code: string;
320
329
  file: string;
321
330
  action_hint: string;
331
+ message?: string | undefined;
322
332
  line?: number | undefined;
323
333
  }[] | undefined;
324
334
  auto_healed?: boolean | undefined;
@@ -338,16 +348,19 @@ declare const planContextHintNarrowEntrySchema: z.ZodObject<{
338
348
  type: z.ZodString;
339
349
  maturity: z.ZodString;
340
350
  summary: z.ZodString;
351
+ must_read_if: z.ZodOptional<z.ZodString>;
341
352
  }, "strip", z.ZodTypeAny, {
342
353
  type: string;
343
354
  id: string;
344
355
  summary: string;
345
356
  maturity: string;
357
+ must_read_if?: string | undefined;
346
358
  }, {
347
359
  type: string;
348
360
  id: string;
349
361
  summary: string;
350
362
  maturity: string;
363
+ must_read_if?: string | undefined;
351
364
  }>;
352
365
  declare const planContextHintOutputSchema: z.ZodObject<{
353
366
  version: z.ZodLiteral<1>;
@@ -358,16 +371,19 @@ declare const planContextHintOutputSchema: z.ZodObject<{
358
371
  type: z.ZodString;
359
372
  maturity: z.ZodString;
360
373
  summary: z.ZodString;
374
+ must_read_if: z.ZodOptional<z.ZodString>;
361
375
  }, "strip", z.ZodTypeAny, {
362
376
  type: string;
363
377
  id: string;
364
378
  summary: string;
365
379
  maturity: string;
380
+ must_read_if?: string | undefined;
366
381
  }, {
367
382
  type: string;
368
383
  id: string;
369
384
  summary: string;
370
385
  maturity: string;
386
+ must_read_if?: string | undefined;
371
387
  }>, "many">;
372
388
  broad_count: z.ZodNumber;
373
389
  }, "strip", z.ZodTypeAny, {
@@ -376,6 +392,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
376
392
  id: string;
377
393
  summary: string;
378
394
  maturity: string;
395
+ must_read_if?: string | undefined;
379
396
  }[];
380
397
  target_paths: string[];
381
398
  revision_hash: string;
@@ -387,6 +404,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
387
404
  id: string;
388
405
  summary: string;
389
406
  maturity: string;
407
+ must_read_if?: string | undefined;
390
408
  }[];
391
409
  target_paths: string[];
392
410
  revision_hash: string;
@@ -420,18 +438,15 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
420
438
  selected_stable_ids: z.ZodArray<z.ZodString, "many">;
421
439
  rules: z.ZodArray<z.ZodObject<{
422
440
  stable_id: z.ZodString;
423
- level: z.ZodEnum<["L0", "L1", "L2"]>;
424
441
  path: z.ZodString;
425
442
  body: z.ZodString;
426
443
  }, "strip", z.ZodTypeAny, {
427
444
  path: string;
428
445
  stable_id: string;
429
- level: "L0" | "L1" | "L2";
430
446
  body: string;
431
447
  }, {
432
448
  path: string;
433
449
  stable_id: string;
434
- level: "L0" | "L1" | "L2";
435
450
  body: string;
436
451
  }>, "many">;
437
452
  diagnostics: z.ZodArray<z.ZodObject<{
@@ -461,16 +476,19 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
461
476
  code: z.ZodString;
462
477
  file: z.ZodString;
463
478
  line: z.ZodOptional<z.ZodNumber>;
479
+ message: z.ZodOptional<z.ZodString>;
464
480
  action_hint: z.ZodString;
465
481
  }, "strip", z.ZodTypeAny, {
466
482
  code: string;
467
483
  file: string;
468
484
  action_hint: string;
485
+ message?: string | undefined;
469
486
  line?: number | undefined;
470
487
  }, {
471
488
  code: string;
472
489
  file: string;
473
490
  action_hint: string;
491
+ message?: string | undefined;
474
492
  line?: number | undefined;
475
493
  }>, "many">>;
476
494
  }, "strip", z.ZodTypeAny, {
@@ -479,7 +497,6 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
479
497
  rules: {
480
498
  path: string;
481
499
  stable_id: string;
482
- level: "L0" | "L1" | "L2";
483
500
  body: string;
484
501
  }[];
485
502
  diagnostics: {
@@ -492,6 +509,7 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
492
509
  code: string;
493
510
  file: string;
494
511
  action_hint: string;
512
+ message?: string | undefined;
495
513
  line?: number | undefined;
496
514
  }[] | undefined;
497
515
  redirect_to?: Record<string, string> | {
@@ -503,7 +521,6 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
503
521
  rules: {
504
522
  path: string;
505
523
  stable_id: string;
506
- level: "L0" | "L1" | "L2";
507
524
  body: string;
508
525
  }[];
509
526
  diagnostics: {
@@ -516,6 +533,7 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
516
533
  code: string;
517
534
  file: string;
518
535
  action_hint: string;
536
+ message?: string | undefined;
519
537
  line?: number | undefined;
520
538
  }[] | undefined;
521
539
  redirect_to?: Record<string, string> | {
@@ -527,7 +545,7 @@ declare const knowledgeSectionsAnnotations: {
527
545
  readonly idempotentHint: true;
528
546
  readonly destructiveHint: false;
529
547
  readonly openWorldHint: false;
530
- readonly title: "Filter rule sections";
548
+ readonly title: "Fetch knowledge entry bodies";
531
549
  };
532
550
  declare const recallInputSchema: z.ZodObject<{
533
551
  paths: z.ZodArray<z.ZodString, "many">;
@@ -569,23 +587,19 @@ declare const recallInputSchema: z.ZodObject<{
569
587
  declare const recallOutputSchema: z.ZodObject<{
570
588
  revision_hash: z.ZodString;
571
589
  stale: z.ZodBoolean;
572
- selection_token: z.ZodString;
573
590
  entries: z.ZodArray<z.ZodObject<{
574
591
  path: z.ZodString;
575
592
  requirement_profile: z.ZodObject<{
576
593
  target_path: z.ZodString;
577
594
  known_tech: z.ZodArray<z.ZodString, "many">;
578
- user_intent: z.ZodString;
579
595
  detected_entities: z.ZodArray<z.ZodString, "many">;
580
596
  }, "strip", z.ZodTypeAny, {
581
597
  target_path: string;
582
598
  known_tech: string[];
583
- user_intent: string;
584
599
  detected_entities: string[];
585
600
  }, {
586
601
  target_path: string;
587
602
  known_tech: string[];
588
- user_intent: string;
589
603
  detected_entities: string[];
590
604
  }>;
591
605
  }, "strip", z.ZodTypeAny, {
@@ -593,7 +607,6 @@ declare const recallOutputSchema: z.ZodObject<{
593
607
  requirement_profile: {
594
608
  target_path: string;
595
609
  known_tech: string[];
596
- user_intent: string;
597
610
  detected_entities: string[];
598
611
  };
599
612
  }, {
@@ -601,10 +614,10 @@ declare const recallOutputSchema: z.ZodObject<{
601
614
  requirement_profile: {
602
615
  target_path: string;
603
616
  known_tech: string[];
604
- user_intent: string;
605
617
  detected_entities: string[];
606
618
  };
607
619
  }>, "many">;
620
+ intent: z.ZodOptional<z.ZodString>;
608
621
  candidates: z.ZodArray<z.ZodObject<{
609
622
  stable_id: z.ZodString;
610
623
  description: z.ZodObject<{
@@ -659,6 +672,7 @@ declare const recallOutputSchema: z.ZodObject<{
659
672
  tags?: string[] | undefined;
660
673
  related?: string[] | undefined;
661
674
  }>;
675
+ always_active: z.ZodOptional<z.ZodBoolean>;
662
676
  }, "strip", z.ZodTypeAny, {
663
677
  description: {
664
678
  summary: string;
@@ -679,6 +693,7 @@ declare const recallOutputSchema: z.ZodObject<{
679
693
  related?: string[] | undefined;
680
694
  };
681
695
  stable_id: string;
696
+ always_active?: boolean | undefined;
682
697
  }, {
683
698
  description: {
684
699
  summary: string;
@@ -699,32 +714,11 @@ declare const recallOutputSchema: z.ZodObject<{
699
714
  related?: string[] | undefined;
700
715
  };
701
716
  stable_id: string;
717
+ always_active?: boolean | undefined;
702
718
  }>, "many">;
703
- omitted_candidate_count: z.ZodOptional<z.ZodNumber>;
704
- preflight_diagnostics: z.ZodArray<z.ZodObject<{
705
- code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
706
- severity: z.ZodLiteral<"warn">;
707
- message: z.ZodString;
708
- stable_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
709
- path: z.ZodOptional<z.ZodString>;
710
- }, "strip", z.ZodTypeAny, {
711
- code: "missing_description" | "empty_shell_suppressed";
712
- message: string;
713
- severity: "warn";
714
- path?: string | undefined;
715
- stable_ids?: string[] | undefined;
716
- }, {
717
- code: "missing_description" | "empty_shell_suppressed";
718
- message: string;
719
- severity: "warn";
720
- path?: string | undefined;
721
- stable_ids?: string[] | undefined;
722
- }>, "many">;
723
- rules: z.ZodArray<z.ZodObject<{
719
+ paths: z.ZodArray<z.ZodObject<{
724
720
  stable_id: z.ZodString;
725
- level: z.ZodEnum<["L0", "L1", "L2"]>;
726
721
  path: z.ZodString;
727
- body: z.ZodString;
728
722
  store: z.ZodOptional<z.ZodObject<{
729
723
  alias: z.ZodString;
730
724
  }, "strip", z.ZodTypeAny, {
@@ -735,81 +729,79 @@ declare const recallOutputSchema: z.ZodObject<{
735
729
  }, "strip", z.ZodTypeAny, {
736
730
  path: string;
737
731
  stable_id: string;
738
- level: "L0" | "L1" | "L2";
739
- body: string;
740
732
  store?: {
741
733
  alias: string;
742
734
  } | undefined;
743
735
  }, {
744
736
  path: string;
745
737
  stable_id: string;
746
- level: "L0" | "L1" | "L2";
747
- body: string;
748
738
  store?: {
749
739
  alias: string;
750
740
  } | undefined;
751
741
  }>, "many">;
752
- selected_stable_ids: z.ZodArray<z.ZodString, "many">;
753
- diagnostics: z.ZodArray<z.ZodObject<{
754
- code: z.ZodEnum<["missing_knowledge_metadata", "unresolved_selected_id"]>;
742
+ omitted_candidate_count: z.ZodOptional<z.ZodNumber>;
743
+ preflight_diagnostics: z.ZodArray<z.ZodObject<{
744
+ code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
755
745
  severity: z.ZodLiteral<"warn">;
756
- stable_id: z.ZodString;
757
746
  message: z.ZodString;
747
+ stable_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
748
+ path: z.ZodOptional<z.ZodString>;
758
749
  }, "strip", z.ZodTypeAny, {
759
- code: "missing_knowledge_metadata" | "unresolved_selected_id";
750
+ code: "missing_description" | "empty_shell_suppressed";
760
751
  message: string;
761
- stable_id: string;
762
752
  severity: "warn";
753
+ path?: string | undefined;
754
+ stable_ids?: string[] | undefined;
763
755
  }, {
764
- code: "missing_knowledge_metadata" | "unresolved_selected_id";
756
+ code: "missing_description" | "empty_shell_suppressed";
765
757
  message: string;
766
- stable_id: string;
767
758
  severity: "warn";
759
+ path?: string | undefined;
760
+ stable_ids?: string[] | undefined;
768
761
  }>, "many">;
769
762
  warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
763
  code: z.ZodString;
771
764
  file: z.ZodString;
772
765
  line: z.ZodOptional<z.ZodNumber>;
766
+ message: z.ZodOptional<z.ZodString>;
773
767
  action_hint: z.ZodString;
774
768
  }, "strip", z.ZodTypeAny, {
775
769
  code: string;
776
770
  file: string;
777
771
  action_hint: string;
772
+ message?: string | undefined;
778
773
  line?: number | undefined;
779
774
  }, {
780
775
  code: string;
781
776
  file: string;
782
777
  action_hint: string;
778
+ message?: string | undefined;
783
779
  line?: number | undefined;
784
780
  }>, "many">>;
785
781
  auto_healed: z.ZodOptional<z.ZodBoolean>;
786
782
  previous_revision_hash: z.ZodOptional<z.ZodString>;
787
783
  redirects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
784
+ related_appended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
788
785
  directive: z.ZodString;
789
786
  next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
790
- truncation: z.ZodOptional<z.ZodObject<{
791
- omitted_candidate_count: z.ZodNumber;
792
- returned_candidate_count: z.ZodNumber;
793
- }, "strip", z.ZodTypeAny, {
794
- omitted_candidate_count: number;
795
- returned_candidate_count: number;
796
- }, {
797
- omitted_candidate_count: number;
798
- returned_candidate_count: number;
799
- }>>;
800
787
  }, "strip", z.ZodTypeAny, {
801
788
  entries: {
802
789
  path: string;
803
790
  requirement_profile: {
804
791
  target_path: string;
805
792
  known_tech: string[];
806
- user_intent: string;
807
793
  detected_entities: string[];
808
794
  };
809
795
  }[];
810
796
  stale: boolean;
797
+ paths: {
798
+ path: string;
799
+ stable_id: string;
800
+ store?: {
801
+ alias: string;
802
+ } | undefined;
803
+ }[];
811
804
  revision_hash: string;
812
- selection_token: string;
813
805
  candidates: {
814
806
  description: {
815
807
  summary: string;
@@ -830,6 +822,7 @@ declare const recallOutputSchema: z.ZodObject<{
830
822
  related?: string[] | undefined;
831
823
  };
832
824
  stable_id: string;
825
+ always_active?: boolean | undefined;
833
826
  }[];
834
827
  preflight_diagnostics: {
835
828
  code: "missing_description" | "empty_shell_suppressed";
@@ -838,51 +831,39 @@ declare const recallOutputSchema: z.ZodObject<{
838
831
  path?: string | undefined;
839
832
  stable_ids?: string[] | undefined;
840
833
  }[];
841
- selected_stable_ids: string[];
842
- rules: {
843
- path: string;
844
- stable_id: string;
845
- level: "L0" | "L1" | "L2";
846
- body: string;
847
- store?: {
848
- alias: string;
849
- } | undefined;
850
- }[];
851
- diagnostics: {
852
- code: "missing_knowledge_metadata" | "unresolved_selected_id";
853
- message: string;
854
- stable_id: string;
855
- severity: "warn";
856
- }[];
857
834
  directive: string;
835
+ intent?: string | undefined;
858
836
  omitted_candidate_count?: number | undefined;
859
837
  warnings?: {
860
838
  code: string;
861
839
  file: string;
862
840
  action_hint: string;
841
+ message?: string | undefined;
863
842
  line?: number | undefined;
864
843
  }[] | undefined;
865
844
  auto_healed?: boolean | undefined;
866
845
  previous_revision_hash?: string | undefined;
867
846
  redirects?: Record<string, string> | undefined;
847
+ related_appended?: Record<string, string> | undefined;
868
848
  next_steps?: string[] | undefined;
869
- truncation?: {
870
- omitted_candidate_count: number;
871
- returned_candidate_count: number;
872
- } | undefined;
873
849
  }, {
874
850
  entries: {
875
851
  path: string;
876
852
  requirement_profile: {
877
853
  target_path: string;
878
854
  known_tech: string[];
879
- user_intent: string;
880
855
  detected_entities: string[];
881
856
  };
882
857
  }[];
883
858
  stale: boolean;
859
+ paths: {
860
+ path: string;
861
+ stable_id: string;
862
+ store?: {
863
+ alias: string;
864
+ } | undefined;
865
+ }[];
884
866
  revision_hash: string;
885
- selection_token: string;
886
867
  candidates: {
887
868
  description: {
888
869
  summary: string;
@@ -903,6 +884,7 @@ declare const recallOutputSchema: z.ZodObject<{
903
884
  related?: string[] | undefined;
904
885
  };
905
886
  stable_id: string;
887
+ always_active?: boolean | undefined;
906
888
  }[];
907
889
  preflight_diagnostics: {
908
890
  code: "missing_description" | "empty_shell_suppressed";
@@ -911,38 +893,21 @@ declare const recallOutputSchema: z.ZodObject<{
911
893
  path?: string | undefined;
912
894
  stable_ids?: string[] | undefined;
913
895
  }[];
914
- selected_stable_ids: string[];
915
- rules: {
916
- path: string;
917
- stable_id: string;
918
- level: "L0" | "L1" | "L2";
919
- body: string;
920
- store?: {
921
- alias: string;
922
- } | undefined;
923
- }[];
924
- diagnostics: {
925
- code: "missing_knowledge_metadata" | "unresolved_selected_id";
926
- message: string;
927
- stable_id: string;
928
- severity: "warn";
929
- }[];
930
896
  directive: string;
897
+ intent?: string | undefined;
931
898
  omitted_candidate_count?: number | undefined;
932
899
  warnings?: {
933
900
  code: string;
934
901
  file: string;
935
902
  action_hint: string;
903
+ message?: string | undefined;
936
904
  line?: number | undefined;
937
905
  }[] | undefined;
938
906
  auto_healed?: boolean | undefined;
939
907
  previous_revision_hash?: string | undefined;
940
908
  redirects?: Record<string, string> | undefined;
909
+ related_appended?: Record<string, string> | undefined;
941
910
  next_steps?: string[] | undefined;
942
- truncation?: {
943
- omitted_candidate_count: number;
944
- returned_candidate_count: number;
945
- } | undefined;
946
911
  }>;
947
912
  declare const recallAnnotations: {
948
913
  readonly readOnlyHint: true;
@@ -986,16 +951,19 @@ declare const archiveScanOutputSchema: z.ZodObject<{
986
951
  code: z.ZodString;
987
952
  file: z.ZodString;
988
953
  line: z.ZodOptional<z.ZodNumber>;
954
+ message: z.ZodOptional<z.ZodString>;
989
955
  action_hint: z.ZodString;
990
956
  }, "strip", z.ZodTypeAny, {
991
957
  code: string;
992
958
  file: string;
993
959
  action_hint: string;
960
+ message?: string | undefined;
994
961
  line?: number | undefined;
995
962
  }, {
996
963
  code: string;
997
964
  file: string;
998
965
  action_hint: string;
966
+ message?: string | undefined;
999
967
  line?: number | undefined;
1000
968
  }>, "many">>;
1001
969
  }, "strip", z.ZodTypeAny, {
@@ -1011,6 +979,7 @@ declare const archiveScanOutputSchema: z.ZodObject<{
1011
979
  code: string;
1012
980
  file: string;
1013
981
  action_hint: string;
982
+ message?: string | undefined;
1014
983
  line?: number | undefined;
1015
984
  }[] | undefined;
1016
985
  }, {
@@ -1026,6 +995,7 @@ declare const archiveScanOutputSchema: z.ZodObject<{
1026
995
  code: string;
1027
996
  file: string;
1028
997
  action_hint: string;
998
+ message?: string | undefined;
1029
999
  line?: number | undefined;
1030
1000
  }[] | undefined;
1031
1001
  }>;
@@ -1040,7 +1010,7 @@ type ArchiveScanInput = z.infer<typeof archiveScanInputSchema>;
1040
1010
  type ArchiveScanOutput = z.infer<typeof archiveScanOutputSchema>;
1041
1011
  declare const ProposedReasonSchema: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
1042
1012
  type ProposedReason = z.infer<typeof ProposedReasonSchema>;
1043
- declare const PROPOSED_REASON_DESCRIPTIONS: Record<ProposedReason, string>;
1013
+ declare const PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE: Record<Locale, Record<ProposedReason, string>>;
1044
1014
  declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1045
1015
  source_sessions: z.ZodArray<z.ZodString, "many">;
1046
1016
  recent_paths: z.ZodArray<z.ZodString, "many">;
@@ -1048,6 +1018,7 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1048
1018
  type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
1049
1019
  slug: z.ZodString;
1050
1020
  layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
1021
+ semantic_scope: z.ZodOptional<z.ZodString>;
1051
1022
  proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
1052
1023
  session_context: z.ZodString;
1053
1024
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
@@ -1067,6 +1038,7 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1067
1038
  recent_paths: string[];
1068
1039
  user_messages_summary: string;
1069
1040
  slug: string;
1041
+ semantic_scope?: string | undefined;
1070
1042
  relevance_scope?: "narrow" | "broad" | undefined;
1071
1043
  relevance_paths?: string[] | undefined;
1072
1044
  layer?: "personal" | "team" | undefined;
@@ -1085,6 +1057,7 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1085
1057
  recent_paths: string[];
1086
1058
  user_messages_summary: string;
1087
1059
  slug: string;
1060
+ semantic_scope?: string | undefined;
1088
1061
  relevance_scope?: "narrow" | "broad" | undefined;
1089
1062
  relevance_paths?: string[] | undefined;
1090
1063
  layer?: "personal" | "team" | undefined;
@@ -1103,6 +1076,7 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1103
1076
  recent_paths: string[];
1104
1077
  user_messages_summary: string;
1105
1078
  slug: string;
1079
+ semantic_scope?: string | undefined;
1106
1080
  relevance_scope?: "narrow" | "broad" | undefined;
1107
1081
  relevance_paths?: string[] | undefined;
1108
1082
  layer?: "personal" | "team" | undefined;
@@ -1121,6 +1095,7 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1121
1095
  recent_paths: string[];
1122
1096
  user_messages_summary: string;
1123
1097
  slug: string;
1098
+ semantic_scope?: string | undefined;
1124
1099
  relevance_scope?: "narrow" | "broad" | undefined;
1125
1100
  relevance_paths?: string[] | undefined;
1126
1101
  layer?: "personal" | "team" | undefined;
@@ -1139,6 +1114,7 @@ declare const FabExtractKnowledgeInputShape: {
1139
1114
  type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
1140
1115
  slug: z.ZodString;
1141
1116
  layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
1117
+ semantic_scope: z.ZodOptional<z.ZodString>;
1142
1118
  proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
1143
1119
  session_context: z.ZodString;
1144
1120
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
@@ -1159,16 +1135,19 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1159
1135
  code: z.ZodString;
1160
1136
  file: z.ZodString;
1161
1137
  line: z.ZodOptional<z.ZodNumber>;
1138
+ message: z.ZodOptional<z.ZodString>;
1162
1139
  action_hint: z.ZodString;
1163
1140
  }, "strip", z.ZodTypeAny, {
1164
1141
  code: string;
1165
1142
  file: string;
1166
1143
  action_hint: string;
1144
+ message?: string | undefined;
1167
1145
  line?: number | undefined;
1168
1146
  }, {
1169
1147
  code: string;
1170
1148
  file: string;
1171
1149
  action_hint: string;
1150
+ message?: string | undefined;
1172
1151
  line?: number | undefined;
1173
1152
  }>, "many">>;
1174
1153
  }, "strip", z.ZodTypeAny, {
@@ -1178,6 +1157,7 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1178
1157
  code: string;
1179
1158
  file: string;
1180
1159
  action_hint: string;
1160
+ message?: string | undefined;
1181
1161
  line?: number | undefined;
1182
1162
  }[] | undefined;
1183
1163
  }, {
@@ -1187,6 +1167,7 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1187
1167
  code: string;
1188
1168
  file: string;
1189
1169
  action_hint: string;
1170
+ message?: string | undefined;
1190
1171
  line?: number | undefined;
1191
1172
  }[] | undefined;
1192
1173
  }>;
@@ -1284,45 +1265,55 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1284
1265
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1285
1266
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1286
1267
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1268
+ semantic_scope: z.ZodOptional<z.ZodString>;
1269
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1287
1270
  }, "strip", z.ZodTypeAny, {
1271
+ semantic_scope?: string | undefined;
1288
1272
  relevance_scope?: "narrow" | "broad" | undefined;
1289
1273
  relevance_paths?: string[] | undefined;
1290
1274
  layer?: "personal" | "team" | undefined;
1291
1275
  summary?: string | undefined;
1292
1276
  maturity?: "draft" | "verified" | "proven" | undefined;
1293
1277
  tags?: string[] | undefined;
1278
+ related?: string[] | undefined;
1294
1279
  title?: string | undefined;
1295
1280
  }, {
1281
+ semantic_scope?: string | undefined;
1296
1282
  relevance_scope?: "narrow" | "broad" | undefined;
1297
1283
  relevance_paths?: string[] | undefined;
1298
1284
  layer?: "personal" | "team" | undefined;
1299
1285
  summary?: string | undefined;
1300
1286
  maturity?: "draft" | "verified" | "proven" | undefined;
1301
1287
  tags?: string[] | undefined;
1288
+ related?: string[] | undefined;
1302
1289
  title?: string | undefined;
1303
1290
  }>;
1304
1291
  }, "strip", z.ZodTypeAny, {
1305
1292
  pending_path: string;
1306
1293
  action: "modify";
1307
1294
  changes: {
1295
+ semantic_scope?: string | undefined;
1308
1296
  relevance_scope?: "narrow" | "broad" | undefined;
1309
1297
  relevance_paths?: string[] | undefined;
1310
1298
  layer?: "personal" | "team" | undefined;
1311
1299
  summary?: string | undefined;
1312
1300
  maturity?: "draft" | "verified" | "proven" | undefined;
1313
1301
  tags?: string[] | undefined;
1302
+ related?: string[] | undefined;
1314
1303
  title?: string | undefined;
1315
1304
  };
1316
1305
  }, {
1317
1306
  pending_path: string;
1318
1307
  action: "modify";
1319
1308
  changes: {
1309
+ semantic_scope?: string | undefined;
1320
1310
  relevance_scope?: "narrow" | "broad" | undefined;
1321
1311
  relevance_paths?: string[] | undefined;
1322
1312
  layer?: "personal" | "team" | undefined;
1323
1313
  summary?: string | undefined;
1324
1314
  maturity?: "draft" | "verified" | "proven" | undefined;
1325
1315
  tags?: string[] | undefined;
1316
+ related?: string[] | undefined;
1326
1317
  title?: string | undefined;
1327
1318
  };
1328
1319
  }>, z.ZodObject<{
@@ -1336,45 +1327,55 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1336
1327
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1337
1328
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1338
1329
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1330
+ semantic_scope: z.ZodOptional<z.ZodString>;
1331
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1339
1332
  }, "strip", z.ZodTypeAny, {
1333
+ semantic_scope?: string | undefined;
1340
1334
  relevance_scope?: "narrow" | "broad" | undefined;
1341
1335
  relevance_paths?: string[] | undefined;
1342
1336
  layer?: "personal" | "team" | undefined;
1343
1337
  summary?: string | undefined;
1344
1338
  maturity?: "draft" | "verified" | "proven" | undefined;
1345
1339
  tags?: string[] | undefined;
1340
+ related?: string[] | undefined;
1346
1341
  title?: string | undefined;
1347
1342
  }, {
1343
+ semantic_scope?: string | undefined;
1348
1344
  relevance_scope?: "narrow" | "broad" | undefined;
1349
1345
  relevance_paths?: string[] | undefined;
1350
1346
  layer?: "personal" | "team" | undefined;
1351
1347
  summary?: string | undefined;
1352
1348
  maturity?: "draft" | "verified" | "proven" | undefined;
1353
1349
  tags?: string[] | undefined;
1350
+ related?: string[] | undefined;
1354
1351
  title?: string | undefined;
1355
1352
  }>;
1356
1353
  }, "strip", z.ZodTypeAny, {
1357
1354
  pending_path: string;
1358
1355
  action: "modify-content";
1359
1356
  changes: {
1357
+ semantic_scope?: string | undefined;
1360
1358
  relevance_scope?: "narrow" | "broad" | undefined;
1361
1359
  relevance_paths?: string[] | undefined;
1362
1360
  layer?: "personal" | "team" | undefined;
1363
1361
  summary?: string | undefined;
1364
1362
  maturity?: "draft" | "verified" | "proven" | undefined;
1365
1363
  tags?: string[] | undefined;
1364
+ related?: string[] | undefined;
1366
1365
  title?: string | undefined;
1367
1366
  };
1368
1367
  }, {
1369
1368
  pending_path: string;
1370
1369
  action: "modify-content";
1371
1370
  changes: {
1371
+ semantic_scope?: string | undefined;
1372
1372
  relevance_scope?: "narrow" | "broad" | undefined;
1373
1373
  relevance_paths?: string[] | undefined;
1374
1374
  layer?: "personal" | "team" | undefined;
1375
1375
  summary?: string | undefined;
1376
1376
  maturity?: "draft" | "verified" | "proven" | undefined;
1377
1377
  tags?: string[] | undefined;
1378
+ related?: string[] | undefined;
1378
1379
  title?: string | undefined;
1379
1380
  };
1380
1381
  }>, z.ZodObject<{
@@ -1387,23 +1388,29 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1387
1388
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1388
1389
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1389
1390
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
+ semantic_scope: z.ZodOptional<z.ZodString>;
1392
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1390
1393
  } & {
1391
1394
  layer: z.ZodEnum<["team", "personal"]>;
1392
1395
  }, "strip", z.ZodTypeAny, {
1393
1396
  layer: "personal" | "team";
1397
+ semantic_scope?: string | undefined;
1394
1398
  relevance_scope?: "narrow" | "broad" | undefined;
1395
1399
  relevance_paths?: string[] | undefined;
1396
1400
  summary?: string | undefined;
1397
1401
  maturity?: "draft" | "verified" | "proven" | undefined;
1398
1402
  tags?: string[] | undefined;
1403
+ related?: string[] | undefined;
1399
1404
  title?: string | undefined;
1400
1405
  }, {
1401
1406
  layer: "personal" | "team";
1407
+ semantic_scope?: string | undefined;
1402
1408
  relevance_scope?: "narrow" | "broad" | undefined;
1403
1409
  relevance_paths?: string[] | undefined;
1404
1410
  summary?: string | undefined;
1405
1411
  maturity?: "draft" | "verified" | "proven" | undefined;
1406
1412
  tags?: string[] | undefined;
1413
+ related?: string[] | undefined;
1407
1414
  title?: string | undefined;
1408
1415
  }>;
1409
1416
  }, "strip", z.ZodTypeAny, {
@@ -1411,11 +1418,13 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1411
1418
  action: "modify-layer";
1412
1419
  changes: {
1413
1420
  layer: "personal" | "team";
1421
+ semantic_scope?: string | undefined;
1414
1422
  relevance_scope?: "narrow" | "broad" | undefined;
1415
1423
  relevance_paths?: string[] | undefined;
1416
1424
  summary?: string | undefined;
1417
1425
  maturity?: "draft" | "verified" | "proven" | undefined;
1418
1426
  tags?: string[] | undefined;
1427
+ related?: string[] | undefined;
1419
1428
  title?: string | undefined;
1420
1429
  };
1421
1430
  }, {
@@ -1423,11 +1432,13 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1423
1432
  action: "modify-layer";
1424
1433
  changes: {
1425
1434
  layer: "personal" | "team";
1435
+ semantic_scope?: string | undefined;
1426
1436
  relevance_scope?: "narrow" | "broad" | undefined;
1427
1437
  relevance_paths?: string[] | undefined;
1428
1438
  summary?: string | undefined;
1429
1439
  maturity?: "draft" | "verified" | "proven" | undefined;
1430
1440
  tags?: string[] | undefined;
1441
+ related?: string[] | undefined;
1431
1442
  title?: string | undefined;
1432
1443
  };
1433
1444
  }>, z.ZodObject<{
@@ -1545,21 +1556,27 @@ declare const FabReviewInputShape: {
1545
1556
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1546
1557
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1547
1558
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1559
+ semantic_scope: z.ZodOptional<z.ZodString>;
1560
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1548
1561
  }, "strip", z.ZodTypeAny, {
1562
+ semantic_scope?: string | undefined;
1549
1563
  relevance_scope?: "narrow" | "broad" | undefined;
1550
1564
  relevance_paths?: string[] | undefined;
1551
1565
  layer?: "personal" | "team" | undefined;
1552
1566
  summary?: string | undefined;
1553
1567
  maturity?: "draft" | "verified" | "proven" | undefined;
1554
1568
  tags?: string[] | undefined;
1569
+ related?: string[] | undefined;
1555
1570
  title?: string | undefined;
1556
1571
  }, {
1572
+ semantic_scope?: string | undefined;
1557
1573
  relevance_scope?: "narrow" | "broad" | undefined;
1558
1574
  relevance_paths?: string[] | undefined;
1559
1575
  layer?: "personal" | "team" | undefined;
1560
1576
  summary?: string | undefined;
1561
1577
  maturity?: "draft" | "verified" | "proven" | undefined;
1562
1578
  tags?: string[] | undefined;
1579
+ related?: string[] | undefined;
1563
1580
  title?: string | undefined;
1564
1581
  }>>;
1565
1582
  readonly query: z.ZodOptional<z.ZodString>;
@@ -1611,16 +1628,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1611
1628
  code: z.ZodString;
1612
1629
  file: z.ZodString;
1613
1630
  line: z.ZodOptional<z.ZodNumber>;
1631
+ message: z.ZodOptional<z.ZodString>;
1614
1632
  action_hint: z.ZodString;
1615
1633
  }, "strip", z.ZodTypeAny, {
1616
1634
  code: string;
1617
1635
  file: string;
1618
1636
  action_hint: string;
1637
+ message?: string | undefined;
1619
1638
  line?: number | undefined;
1620
1639
  }, {
1621
1640
  code: string;
1622
1641
  file: string;
1623
1642
  action_hint: string;
1643
+ message?: string | undefined;
1624
1644
  line?: number | undefined;
1625
1645
  }>, "many">>;
1626
1646
  }, "strip", z.ZodTypeAny, {
@@ -1643,6 +1663,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1643
1663
  code: string;
1644
1664
  file: string;
1645
1665
  action_hint: string;
1666
+ message?: string | undefined;
1646
1667
  line?: number | undefined;
1647
1668
  }[] | undefined;
1648
1669
  }, {
@@ -1665,6 +1686,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1665
1686
  code: string;
1666
1687
  file: string;
1667
1688
  action_hint: string;
1689
+ message?: string | undefined;
1668
1690
  line?: number | undefined;
1669
1691
  }[] | undefined;
1670
1692
  }>, z.ZodObject<{
@@ -1683,16 +1705,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1683
1705
  code: z.ZodString;
1684
1706
  file: z.ZodString;
1685
1707
  line: z.ZodOptional<z.ZodNumber>;
1708
+ message: z.ZodOptional<z.ZodString>;
1686
1709
  action_hint: z.ZodString;
1687
1710
  }, "strip", z.ZodTypeAny, {
1688
1711
  code: string;
1689
1712
  file: string;
1690
1713
  action_hint: string;
1714
+ message?: string | undefined;
1691
1715
  line?: number | undefined;
1692
1716
  }, {
1693
1717
  code: string;
1694
1718
  file: string;
1695
1719
  action_hint: string;
1720
+ message?: string | undefined;
1696
1721
  line?: number | undefined;
1697
1722
  }>, "many">>;
1698
1723
  }, "strip", z.ZodTypeAny, {
@@ -1705,6 +1730,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1705
1730
  code: string;
1706
1731
  file: string;
1707
1732
  action_hint: string;
1733
+ message?: string | undefined;
1708
1734
  line?: number | undefined;
1709
1735
  }[] | undefined;
1710
1736
  }, {
@@ -1717,6 +1743,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1717
1743
  code: string;
1718
1744
  file: string;
1719
1745
  action_hint: string;
1746
+ message?: string | undefined;
1720
1747
  line?: number | undefined;
1721
1748
  }[] | undefined;
1722
1749
  }>, z.ZodObject<{
@@ -1726,16 +1753,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1726
1753
  code: z.ZodString;
1727
1754
  file: z.ZodString;
1728
1755
  line: z.ZodOptional<z.ZodNumber>;
1756
+ message: z.ZodOptional<z.ZodString>;
1729
1757
  action_hint: z.ZodString;
1730
1758
  }, "strip", z.ZodTypeAny, {
1731
1759
  code: string;
1732
1760
  file: string;
1733
1761
  action_hint: string;
1762
+ message?: string | undefined;
1734
1763
  line?: number | undefined;
1735
1764
  }, {
1736
1765
  code: string;
1737
1766
  file: string;
1738
1767
  action_hint: string;
1768
+ message?: string | undefined;
1739
1769
  line?: number | undefined;
1740
1770
  }>, "many">>;
1741
1771
  }, "strip", z.ZodTypeAny, {
@@ -1745,6 +1775,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1745
1775
  code: string;
1746
1776
  file: string;
1747
1777
  action_hint: string;
1778
+ message?: string | undefined;
1748
1779
  line?: number | undefined;
1749
1780
  }[] | undefined;
1750
1781
  }, {
@@ -1754,6 +1785,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1754
1785
  code: string;
1755
1786
  file: string;
1756
1787
  action_hint: string;
1788
+ message?: string | undefined;
1757
1789
  line?: number | undefined;
1758
1790
  }[] | undefined;
1759
1791
  }>, z.ZodObject<{
@@ -1765,16 +1797,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1765
1797
  code: z.ZodString;
1766
1798
  file: z.ZodString;
1767
1799
  line: z.ZodOptional<z.ZodNumber>;
1800
+ message: z.ZodOptional<z.ZodString>;
1768
1801
  action_hint: z.ZodString;
1769
1802
  }, "strip", z.ZodTypeAny, {
1770
1803
  code: string;
1771
1804
  file: string;
1772
1805
  action_hint: string;
1806
+ message?: string | undefined;
1773
1807
  line?: number | undefined;
1774
1808
  }, {
1775
1809
  code: string;
1776
1810
  file: string;
1777
1811
  action_hint: string;
1812
+ message?: string | undefined;
1778
1813
  line?: number | undefined;
1779
1814
  }>, "many">>;
1780
1815
  }, "strip", z.ZodTypeAny, {
@@ -1784,6 +1819,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1784
1819
  code: string;
1785
1820
  file: string;
1786
1821
  action_hint: string;
1822
+ message?: string | undefined;
1787
1823
  line?: number | undefined;
1788
1824
  }[] | undefined;
1789
1825
  prior_stable_id?: string | undefined;
@@ -1795,6 +1831,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1795
1831
  code: string;
1796
1832
  file: string;
1797
1833
  action_hint: string;
1834
+ message?: string | undefined;
1798
1835
  line?: number | undefined;
1799
1836
  }[] | undefined;
1800
1837
  prior_stable_id?: string | undefined;
@@ -1851,16 +1888,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1851
1888
  code: z.ZodString;
1852
1889
  file: z.ZodString;
1853
1890
  line: z.ZodOptional<z.ZodNumber>;
1891
+ message: z.ZodOptional<z.ZodString>;
1854
1892
  action_hint: z.ZodString;
1855
1893
  }, "strip", z.ZodTypeAny, {
1856
1894
  code: string;
1857
1895
  file: string;
1858
1896
  action_hint: string;
1897
+ message?: string | undefined;
1859
1898
  line?: number | undefined;
1860
1899
  }, {
1861
1900
  code: string;
1862
1901
  file: string;
1863
1902
  action_hint: string;
1903
+ message?: string | undefined;
1864
1904
  line?: number | undefined;
1865
1905
  }>, "many">>;
1866
1906
  }, "strip", z.ZodTypeAny, {
@@ -1885,6 +1925,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1885
1925
  code: string;
1886
1926
  file: string;
1887
1927
  action_hint: string;
1928
+ message?: string | undefined;
1888
1929
  line?: number | undefined;
1889
1930
  }[] | undefined;
1890
1931
  }, {
@@ -1909,6 +1950,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1909
1950
  code: string;
1910
1951
  file: string;
1911
1952
  action_hint: string;
1953
+ message?: string | undefined;
1912
1954
  line?: number | undefined;
1913
1955
  }[] | undefined;
1914
1956
  }>, z.ZodObject<{
@@ -1918,16 +1960,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1918
1960
  code: z.ZodString;
1919
1961
  file: z.ZodString;
1920
1962
  line: z.ZodOptional<z.ZodNumber>;
1963
+ message: z.ZodOptional<z.ZodString>;
1921
1964
  action_hint: z.ZodString;
1922
1965
  }, "strip", z.ZodTypeAny, {
1923
1966
  code: string;
1924
1967
  file: string;
1925
1968
  action_hint: string;
1969
+ message?: string | undefined;
1926
1970
  line?: number | undefined;
1927
1971
  }, {
1928
1972
  code: string;
1929
1973
  file: string;
1930
1974
  action_hint: string;
1975
+ message?: string | undefined;
1931
1976
  line?: number | undefined;
1932
1977
  }>, "many">>;
1933
1978
  }, "strip", z.ZodTypeAny, {
@@ -1937,6 +1982,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1937
1982
  code: string;
1938
1983
  file: string;
1939
1984
  action_hint: string;
1985
+ message?: string | undefined;
1940
1986
  line?: number | undefined;
1941
1987
  }[] | undefined;
1942
1988
  }, {
@@ -1946,6 +1992,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1946
1992
  code: string;
1947
1993
  file: string;
1948
1994
  action_hint: string;
1995
+ message?: string | undefined;
1949
1996
  line?: number | undefined;
1950
1997
  }[] | undefined;
1951
1998
  }>]>;
@@ -2056,16 +2103,19 @@ declare const FabReviewOutputShape: {
2056
2103
  code: z.ZodString;
2057
2104
  file: z.ZodString;
2058
2105
  line: z.ZodOptional<z.ZodNumber>;
2106
+ message: z.ZodOptional<z.ZodString>;
2059
2107
  action_hint: z.ZodString;
2060
2108
  }, "strip", z.ZodTypeAny, {
2061
2109
  code: string;
2062
2110
  file: string;
2063
2111
  action_hint: string;
2112
+ message?: string | undefined;
2064
2113
  line?: number | undefined;
2065
2114
  }, {
2066
2115
  code: string;
2067
2116
  file: string;
2068
2117
  action_hint: string;
2118
+ message?: string | undefined;
2069
2119
  line?: number | undefined;
2070
2120
  }>, "many">>;
2071
2121
  };
@@ -2118,7 +2168,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2118
2168
  marker_ts: z.ZodNumber;
2119
2169
  marker_emitted_now: z.ZodBoolean;
2120
2170
  since_ts: z.ZodNumber;
2121
- client_filter: z.ZodEnum<["cc", "codex", "cursor", "all"]>;
2171
+ client_filter: z.ZodEnum<["cc", "codex", "all"]>;
2122
2172
  layer_filter: z.ZodOptional<z.ZodEnum<["team", "personal", "all"]>>;
2123
2173
  metrics: z.ZodObject<{
2124
2174
  edits_touched: z.ZodNumber;
@@ -2283,7 +2333,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2283
2333
  marker_ts: number;
2284
2334
  marker_emitted_now: boolean;
2285
2335
  since_ts: number;
2286
- client_filter: "cursor" | "all" | "cc" | "codex";
2336
+ client_filter: "all" | "cc" | "codex";
2287
2337
  metrics: {
2288
2338
  edits_touched: number;
2289
2339
  qualifying_cites: number;
@@ -2342,7 +2392,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2342
2392
  marker_ts: number;
2343
2393
  marker_emitted_now: boolean;
2344
2394
  since_ts: number;
2345
- client_filter: "cursor" | "all" | "cc" | "codex";
2395
+ client_filter: "all" | "cc" | "codex";
2346
2396
  metrics: {
2347
2397
  edits_touched: number;
2348
2398
  qualifying_cites: number;
@@ -2504,4 +2554,4 @@ declare function parseKnowledgeId(id: string): {
2504
2554
  counter: number;
2505
2555
  } | null;
2506
2556
 
2507
- 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, 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 };
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 };