@fenglimg/fabric-shared 2.1.0-rc.2 → 2.2.0-rc.10

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<{
@@ -104,6 +104,7 @@ declare const planContextOutputSchema: z.ZodObject<{
104
104
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
105
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
106
106
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
108
  }, "strip", z.ZodTypeAny, {
108
109
  summary: string;
109
110
  intent_clues: string[];
@@ -120,6 +121,7 @@ declare const planContextOutputSchema: z.ZodObject<{
120
121
  knowledge_layer?: "personal" | "team" | undefined;
121
122
  layer_reason?: string | undefined;
122
123
  tags?: string[] | undefined;
124
+ related?: string[] | undefined;
123
125
  }, {
124
126
  summary: string;
125
127
  intent_clues: string[];
@@ -136,7 +138,9 @@ declare const planContextOutputSchema: z.ZodObject<{
136
138
  knowledge_layer?: "personal" | "team" | undefined;
137
139
  layer_reason?: string | undefined;
138
140
  tags?: string[] | undefined;
141
+ related?: string[] | undefined;
139
142
  }>;
143
+ always_active: z.ZodOptional<z.ZodBoolean>;
140
144
  }, "strip", z.ZodTypeAny, {
141
145
  description: {
142
146
  summary: string;
@@ -154,8 +158,10 @@ declare const planContextOutputSchema: z.ZodObject<{
154
158
  knowledge_layer?: "personal" | "team" | undefined;
155
159
  layer_reason?: string | undefined;
156
160
  tags?: string[] | undefined;
161
+ related?: string[] | undefined;
157
162
  };
158
163
  stable_id: string;
164
+ always_active?: boolean | undefined;
159
165
  }, {
160
166
  description: {
161
167
  summary: string;
@@ -173,9 +179,12 @@ declare const planContextOutputSchema: z.ZodObject<{
173
179
  knowledge_layer?: "personal" | "team" | undefined;
174
180
  layer_reason?: string | undefined;
175
181
  tags?: string[] | undefined;
182
+ related?: string[] | undefined;
176
183
  };
177
184
  stable_id: string;
185
+ always_active?: boolean | undefined;
178
186
  }>, "many">;
187
+ omitted_candidate_count: z.ZodOptional<z.ZodNumber>;
179
188
  preflight_diagnostics: z.ZodArray<z.ZodObject<{
180
189
  code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
181
190
  severity: z.ZodLiteral<"warn">;
@@ -199,28 +208,31 @@ declare const planContextOutputSchema: z.ZodObject<{
199
208
  code: z.ZodString;
200
209
  file: z.ZodString;
201
210
  line: z.ZodOptional<z.ZodNumber>;
211
+ message: z.ZodOptional<z.ZodString>;
202
212
  action_hint: z.ZodString;
203
213
  }, "strip", z.ZodTypeAny, {
204
214
  code: string;
205
215
  file: string;
206
216
  action_hint: string;
217
+ message?: string | undefined;
207
218
  line?: number | undefined;
208
219
  }, {
209
220
  code: string;
210
221
  file: string;
211
222
  action_hint: string;
223
+ message?: string | undefined;
212
224
  line?: number | undefined;
213
225
  }>, "many">>;
214
226
  auto_healed: z.ZodOptional<z.ZodBoolean>;
215
227
  previous_revision_hash: z.ZodOptional<z.ZodString>;
216
228
  redirects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
229
+ related_appended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
217
230
  }, "strip", z.ZodTypeAny, {
218
231
  entries: {
219
232
  path: string;
220
233
  requirement_profile: {
221
234
  target_path: string;
222
235
  known_tech: string[];
223
- user_intent: string;
224
236
  detected_entities: string[];
225
237
  };
226
238
  }[];
@@ -244,8 +256,10 @@ declare const planContextOutputSchema: z.ZodObject<{
244
256
  knowledge_layer?: "personal" | "team" | undefined;
245
257
  layer_reason?: string | undefined;
246
258
  tags?: string[] | undefined;
259
+ related?: string[] | undefined;
247
260
  };
248
261
  stable_id: string;
262
+ always_active?: boolean | undefined;
249
263
  }[];
250
264
  preflight_diagnostics: {
251
265
  code: "missing_description" | "empty_shell_suppressed";
@@ -254,22 +268,25 @@ declare const planContextOutputSchema: z.ZodObject<{
254
268
  path?: string | undefined;
255
269
  stable_ids?: string[] | undefined;
256
270
  }[];
271
+ intent?: string | undefined;
272
+ omitted_candidate_count?: number | undefined;
257
273
  warnings?: {
258
274
  code: string;
259
275
  file: string;
260
276
  action_hint: string;
277
+ message?: string | undefined;
261
278
  line?: number | undefined;
262
279
  }[] | undefined;
263
280
  auto_healed?: boolean | undefined;
264
281
  previous_revision_hash?: string | undefined;
265
282
  redirects?: Record<string, string> | undefined;
283
+ related_appended?: Record<string, string> | undefined;
266
284
  }, {
267
285
  entries: {
268
286
  path: string;
269
287
  requirement_profile: {
270
288
  target_path: string;
271
289
  known_tech: string[];
272
- user_intent: string;
273
290
  detected_entities: string[];
274
291
  };
275
292
  }[];
@@ -293,8 +310,10 @@ declare const planContextOutputSchema: z.ZodObject<{
293
310
  knowledge_layer?: "personal" | "team" | undefined;
294
311
  layer_reason?: string | undefined;
295
312
  tags?: string[] | undefined;
313
+ related?: string[] | undefined;
296
314
  };
297
315
  stable_id: string;
316
+ always_active?: boolean | undefined;
298
317
  }[];
299
318
  preflight_diagnostics: {
300
319
  code: "missing_description" | "empty_shell_suppressed";
@@ -303,15 +322,19 @@ declare const planContextOutputSchema: z.ZodObject<{
303
322
  path?: string | undefined;
304
323
  stable_ids?: string[] | undefined;
305
324
  }[];
325
+ intent?: string | undefined;
326
+ omitted_candidate_count?: number | undefined;
306
327
  warnings?: {
307
328
  code: string;
308
329
  file: string;
309
330
  action_hint: string;
331
+ message?: string | undefined;
310
332
  line?: number | undefined;
311
333
  }[] | undefined;
312
334
  auto_healed?: boolean | undefined;
313
335
  previous_revision_hash?: string | undefined;
314
336
  redirects?: Record<string, string> | undefined;
337
+ related_appended?: Record<string, string> | undefined;
315
338
  }>;
316
339
  declare const planContextAnnotations: {
317
340
  readonly readOnlyHint: true;
@@ -325,16 +348,19 @@ declare const planContextHintNarrowEntrySchema: z.ZodObject<{
325
348
  type: z.ZodString;
326
349
  maturity: z.ZodString;
327
350
  summary: z.ZodString;
351
+ must_read_if: z.ZodOptional<z.ZodString>;
328
352
  }, "strip", z.ZodTypeAny, {
329
353
  type: string;
330
354
  id: string;
331
355
  summary: string;
332
356
  maturity: string;
357
+ must_read_if?: string | undefined;
333
358
  }, {
334
359
  type: string;
335
360
  id: string;
336
361
  summary: string;
337
362
  maturity: string;
363
+ must_read_if?: string | undefined;
338
364
  }>;
339
365
  declare const planContextHintOutputSchema: z.ZodObject<{
340
366
  version: z.ZodLiteral<1>;
@@ -345,16 +371,19 @@ declare const planContextHintOutputSchema: z.ZodObject<{
345
371
  type: z.ZodString;
346
372
  maturity: z.ZodString;
347
373
  summary: z.ZodString;
374
+ must_read_if: z.ZodOptional<z.ZodString>;
348
375
  }, "strip", z.ZodTypeAny, {
349
376
  type: string;
350
377
  id: string;
351
378
  summary: string;
352
379
  maturity: string;
380
+ must_read_if?: string | undefined;
353
381
  }, {
354
382
  type: string;
355
383
  id: string;
356
384
  summary: string;
357
385
  maturity: string;
386
+ must_read_if?: string | undefined;
358
387
  }>, "many">;
359
388
  broad_count: z.ZodNumber;
360
389
  }, "strip", z.ZodTypeAny, {
@@ -363,6 +392,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
363
392
  id: string;
364
393
  summary: string;
365
394
  maturity: string;
395
+ must_read_if?: string | undefined;
366
396
  }[];
367
397
  target_paths: string[];
368
398
  revision_hash: string;
@@ -374,6 +404,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
374
404
  id: string;
375
405
  summary: string;
376
406
  maturity: string;
407
+ must_read_if?: string | undefined;
377
408
  }[];
378
409
  target_paths: string[];
379
410
  revision_hash: string;
@@ -383,7 +414,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
383
414
  declare const knowledgeSectionsInputSchema: z.ZodObject<{
384
415
  selection_token: z.ZodString;
385
416
  ai_selected_stable_ids: z.ZodArray<z.ZodString, "many">;
386
- ai_selection_reasons: z.ZodRecord<z.ZodString, z.ZodString>;
417
+ ai_selection_reasons: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
387
418
  correlation_id: z.ZodOptional<z.ZodString>;
388
419
  session_id: z.ZodOptional<z.ZodString>;
389
420
  client_hash: z.ZodOptional<z.ZodString>;
@@ -397,42 +428,39 @@ declare const knowledgeSectionsInputSchema: z.ZodObject<{
397
428
  }, {
398
429
  selection_token: string;
399
430
  ai_selected_stable_ids: string[];
400
- ai_selection_reasons: Record<string, string>;
401
431
  client_hash?: string | undefined;
402
432
  correlation_id?: string | undefined;
403
433
  session_id?: string | undefined;
434
+ ai_selection_reasons?: Record<string, string> | undefined;
404
435
  }>;
405
436
  declare const knowledgeSectionsOutputSchema: z.ZodObject<{
406
437
  revision_hash: z.ZodString;
407
438
  selected_stable_ids: z.ZodArray<z.ZodString, "many">;
408
439
  rules: z.ZodArray<z.ZodObject<{
409
440
  stable_id: z.ZodString;
410
- level: z.ZodEnum<["L0", "L1", "L2"]>;
411
441
  path: z.ZodString;
412
442
  body: z.ZodString;
413
443
  }, "strip", z.ZodTypeAny, {
414
444
  path: string;
415
445
  stable_id: string;
416
- level: "L0" | "L1" | "L2";
417
446
  body: string;
418
447
  }, {
419
448
  path: string;
420
449
  stable_id: string;
421
- level: "L0" | "L1" | "L2";
422
450
  body: string;
423
451
  }>, "many">;
424
452
  diagnostics: z.ZodArray<z.ZodObject<{
425
- code: z.ZodLiteral<"missing_knowledge_metadata">;
453
+ code: z.ZodEnum<["missing_knowledge_metadata", "unresolved_selected_id"]>;
426
454
  severity: z.ZodLiteral<"warn">;
427
455
  stable_id: z.ZodString;
428
456
  message: z.ZodString;
429
457
  }, "strip", z.ZodTypeAny, {
430
- code: "missing_knowledge_metadata";
458
+ code: "missing_knowledge_metadata" | "unresolved_selected_id";
431
459
  message: string;
432
460
  stable_id: string;
433
461
  severity: "warn";
434
462
  }, {
435
- code: "missing_knowledge_metadata";
463
+ code: "missing_knowledge_metadata" | "unresolved_selected_id";
436
464
  message: string;
437
465
  stable_id: string;
438
466
  severity: "warn";
@@ -448,16 +476,19 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
448
476
  code: z.ZodString;
449
477
  file: z.ZodString;
450
478
  line: z.ZodOptional<z.ZodNumber>;
479
+ message: z.ZodOptional<z.ZodString>;
451
480
  action_hint: z.ZodString;
452
481
  }, "strip", z.ZodTypeAny, {
453
482
  code: string;
454
483
  file: string;
455
484
  action_hint: string;
485
+ message?: string | undefined;
456
486
  line?: number | undefined;
457
487
  }, {
458
488
  code: string;
459
489
  file: string;
460
490
  action_hint: string;
491
+ message?: string | undefined;
461
492
  line?: number | undefined;
462
493
  }>, "many">>;
463
494
  }, "strip", z.ZodTypeAny, {
@@ -466,11 +497,10 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
466
497
  rules: {
467
498
  path: string;
468
499
  stable_id: string;
469
- level: "L0" | "L1" | "L2";
470
500
  body: string;
471
501
  }[];
472
502
  diagnostics: {
473
- code: "missing_knowledge_metadata";
503
+ code: "missing_knowledge_metadata" | "unresolved_selected_id";
474
504
  message: string;
475
505
  stable_id: string;
476
506
  severity: "warn";
@@ -479,6 +509,7 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
479
509
  code: string;
480
510
  file: string;
481
511
  action_hint: string;
512
+ message?: string | undefined;
482
513
  line?: number | undefined;
483
514
  }[] | undefined;
484
515
  redirect_to?: Record<string, string> | {
@@ -490,11 +521,10 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
490
521
  rules: {
491
522
  path: string;
492
523
  stable_id: string;
493
- level: "L0" | "L1" | "L2";
494
524
  body: string;
495
525
  }[];
496
526
  diagnostics: {
497
- code: "missing_knowledge_metadata";
527
+ code: "missing_knowledge_metadata" | "unresolved_selected_id";
498
528
  message: string;
499
529
  stable_id: string;
500
530
  severity: "warn";
@@ -503,6 +533,7 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
503
533
  code: string;
504
534
  file: string;
505
535
  action_hint: string;
536
+ message?: string | undefined;
506
537
  line?: number | undefined;
507
538
  }[] | undefined;
508
539
  redirect_to?: Record<string, string> | {
@@ -514,7 +545,7 @@ declare const knowledgeSectionsAnnotations: {
514
545
  readonly idempotentHint: true;
515
546
  readonly destructiveHint: false;
516
547
  readonly openWorldHint: false;
517
- readonly title: "Filter rule sections";
548
+ readonly title: "Fetch knowledge entry bodies";
518
549
  };
519
550
  declare const recallInputSchema: z.ZodObject<{
520
551
  paths: z.ZodArray<z.ZodString, "many">;
@@ -527,6 +558,7 @@ declare const recallInputSchema: z.ZodObject<{
527
558
  layer_filter: z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>;
528
559
  target_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
529
560
  ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
561
+ include_related: z.ZodOptional<z.ZodBoolean>;
530
562
  }, "strip", z.ZodTypeAny, {
531
563
  paths: string[];
532
564
  known_tech?: string[] | undefined;
@@ -538,6 +570,7 @@ declare const recallInputSchema: z.ZodObject<{
538
570
  layer_filter?: "personal" | "team" | "both" | undefined;
539
571
  target_paths?: string[] | undefined;
540
572
  ids?: string[] | undefined;
573
+ include_related?: boolean | undefined;
541
574
  }, {
542
575
  paths: string[];
543
576
  known_tech?: string[] | undefined;
@@ -549,27 +582,24 @@ declare const recallInputSchema: z.ZodObject<{
549
582
  layer_filter?: "personal" | "team" | "both" | undefined;
550
583
  target_paths?: string[] | undefined;
551
584
  ids?: string[] | undefined;
585
+ include_related?: boolean | undefined;
552
586
  }>;
553
587
  declare const recallOutputSchema: z.ZodObject<{
554
588
  revision_hash: z.ZodString;
555
589
  stale: z.ZodBoolean;
556
- selection_token: z.ZodString;
557
590
  entries: z.ZodArray<z.ZodObject<{
558
591
  path: z.ZodString;
559
592
  requirement_profile: z.ZodObject<{
560
593
  target_path: z.ZodString;
561
594
  known_tech: z.ZodArray<z.ZodString, "many">;
562
- user_intent: z.ZodString;
563
595
  detected_entities: z.ZodArray<z.ZodString, "many">;
564
596
  }, "strip", z.ZodTypeAny, {
565
597
  target_path: string;
566
598
  known_tech: string[];
567
- user_intent: string;
568
599
  detected_entities: string[];
569
600
  }, {
570
601
  target_path: string;
571
602
  known_tech: string[];
572
- user_intent: string;
573
603
  detected_entities: string[];
574
604
  }>;
575
605
  }, "strip", z.ZodTypeAny, {
@@ -577,7 +607,6 @@ declare const recallOutputSchema: z.ZodObject<{
577
607
  requirement_profile: {
578
608
  target_path: string;
579
609
  known_tech: string[];
580
- user_intent: string;
581
610
  detected_entities: string[];
582
611
  };
583
612
  }, {
@@ -585,10 +614,10 @@ declare const recallOutputSchema: z.ZodObject<{
585
614
  requirement_profile: {
586
615
  target_path: string;
587
616
  known_tech: string[];
588
- user_intent: string;
589
617
  detected_entities: string[];
590
618
  };
591
619
  }>, "many">;
620
+ intent: z.ZodOptional<z.ZodString>;
592
621
  candidates: z.ZodArray<z.ZodObject<{
593
622
  stable_id: z.ZodString;
594
623
  description: z.ZodObject<{
@@ -607,6 +636,7 @@ declare const recallOutputSchema: z.ZodObject<{
607
636
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
608
637
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
609
638
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
639
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
610
640
  }, "strip", z.ZodTypeAny, {
611
641
  summary: string;
612
642
  intent_clues: string[];
@@ -623,6 +653,7 @@ declare const recallOutputSchema: z.ZodObject<{
623
653
  knowledge_layer?: "personal" | "team" | undefined;
624
654
  layer_reason?: string | undefined;
625
655
  tags?: string[] | undefined;
656
+ related?: string[] | undefined;
626
657
  }, {
627
658
  summary: string;
628
659
  intent_clues: string[];
@@ -639,7 +670,9 @@ declare const recallOutputSchema: z.ZodObject<{
639
670
  knowledge_layer?: "personal" | "team" | undefined;
640
671
  layer_reason?: string | undefined;
641
672
  tags?: string[] | undefined;
673
+ related?: string[] | undefined;
642
674
  }>;
675
+ always_active: z.ZodOptional<z.ZodBoolean>;
643
676
  }, "strip", z.ZodTypeAny, {
644
677
  description: {
645
678
  summary: string;
@@ -657,8 +690,10 @@ declare const recallOutputSchema: z.ZodObject<{
657
690
  knowledge_layer?: "personal" | "team" | undefined;
658
691
  layer_reason?: string | undefined;
659
692
  tags?: string[] | undefined;
693
+ related?: string[] | undefined;
660
694
  };
661
695
  stable_id: string;
696
+ always_active?: boolean | undefined;
662
697
  }, {
663
698
  description: {
664
699
  summary: string;
@@ -676,9 +711,35 @@ declare const recallOutputSchema: z.ZodObject<{
676
711
  knowledge_layer?: "personal" | "team" | undefined;
677
712
  layer_reason?: string | undefined;
678
713
  tags?: string[] | undefined;
714
+ related?: string[] | undefined;
679
715
  };
680
716
  stable_id: string;
717
+ always_active?: boolean | undefined;
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;
732
+ store?: {
733
+ alias: string;
734
+ } | undefined;
735
+ }, {
736
+ path: string;
737
+ stable_id: string;
738
+ store?: {
739
+ alias: string;
740
+ } | undefined;
681
741
  }>, "many">;
742
+ omitted_candidate_count: z.ZodOptional<z.ZodNumber>;
682
743
  preflight_diagnostics: z.ZodArray<z.ZodObject<{
683
744
  code: z.ZodEnum<["missing_description", "empty_shell_suppressed"]>;
684
745
  severity: z.ZodLiteral<"warn">;
@@ -698,71 +759,49 @@ declare const recallOutputSchema: z.ZodObject<{
698
759
  path?: string | undefined;
699
760
  stable_ids?: string[] | undefined;
700
761
  }>, "many">;
701
- rules: z.ZodArray<z.ZodObject<{
702
- stable_id: z.ZodString;
703
- level: z.ZodEnum<["L0", "L1", "L2"]>;
704
- path: z.ZodString;
705
- body: z.ZodString;
706
- }, "strip", z.ZodTypeAny, {
707
- path: string;
708
- stable_id: string;
709
- level: "L0" | "L1" | "L2";
710
- body: string;
711
- }, {
712
- path: string;
713
- stable_id: string;
714
- level: "L0" | "L1" | "L2";
715
- body: string;
716
- }>, "many">;
717
- selected_stable_ids: z.ZodArray<z.ZodString, "many">;
718
- diagnostics: z.ZodArray<z.ZodObject<{
719
- code: z.ZodLiteral<"missing_knowledge_metadata">;
720
- severity: z.ZodLiteral<"warn">;
721
- stable_id: z.ZodString;
722
- message: z.ZodString;
723
- }, "strip", z.ZodTypeAny, {
724
- code: "missing_knowledge_metadata";
725
- message: string;
726
- stable_id: string;
727
- severity: "warn";
728
- }, {
729
- code: "missing_knowledge_metadata";
730
- message: string;
731
- stable_id: string;
732
- severity: "warn";
733
- }>, "many">;
734
762
  warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
735
763
  code: z.ZodString;
736
764
  file: z.ZodString;
737
765
  line: z.ZodOptional<z.ZodNumber>;
766
+ message: z.ZodOptional<z.ZodString>;
738
767
  action_hint: z.ZodString;
739
768
  }, "strip", z.ZodTypeAny, {
740
769
  code: string;
741
770
  file: string;
742
771
  action_hint: string;
772
+ message?: string | undefined;
743
773
  line?: number | undefined;
744
774
  }, {
745
775
  code: string;
746
776
  file: string;
747
777
  action_hint: string;
778
+ message?: string | undefined;
748
779
  line?: number | undefined;
749
780
  }>, "many">>;
750
781
  auto_healed: z.ZodOptional<z.ZodBoolean>;
751
782
  previous_revision_hash: z.ZodOptional<z.ZodString>;
752
783
  redirects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
784
+ related_appended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
785
+ directive: z.ZodString;
786
+ next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
753
787
  }, "strip", z.ZodTypeAny, {
754
788
  entries: {
755
789
  path: string;
756
790
  requirement_profile: {
757
791
  target_path: string;
758
792
  known_tech: string[];
759
- user_intent: string;
760
793
  detected_entities: string[];
761
794
  };
762
795
  }[];
763
796
  stale: boolean;
797
+ paths: {
798
+ path: string;
799
+ stable_id: string;
800
+ store?: {
801
+ alias: string;
802
+ } | undefined;
803
+ }[];
764
804
  revision_hash: string;
765
- selection_token: string;
766
805
  candidates: {
767
806
  description: {
768
807
  summary: string;
@@ -780,8 +819,10 @@ declare const recallOutputSchema: z.ZodObject<{
780
819
  knowledge_layer?: "personal" | "team" | undefined;
781
820
  layer_reason?: string | undefined;
782
821
  tags?: string[] | undefined;
822
+ related?: string[] | undefined;
783
823
  };
784
824
  stable_id: string;
825
+ always_active?: boolean | undefined;
785
826
  }[];
786
827
  preflight_diagnostics: {
787
828
  code: "missing_description" | "empty_shell_suppressed";
@@ -790,41 +831,39 @@ declare const recallOutputSchema: z.ZodObject<{
790
831
  path?: string | undefined;
791
832
  stable_ids?: string[] | undefined;
792
833
  }[];
793
- selected_stable_ids: string[];
794
- rules: {
795
- path: string;
796
- stable_id: string;
797
- level: "L0" | "L1" | "L2";
798
- body: string;
799
- }[];
800
- diagnostics: {
801
- code: "missing_knowledge_metadata";
802
- message: string;
803
- stable_id: string;
804
- severity: "warn";
805
- }[];
834
+ directive: string;
835
+ intent?: string | undefined;
836
+ omitted_candidate_count?: number | undefined;
806
837
  warnings?: {
807
838
  code: string;
808
839
  file: string;
809
840
  action_hint: string;
841
+ message?: string | undefined;
810
842
  line?: number | undefined;
811
843
  }[] | undefined;
812
844
  auto_healed?: boolean | undefined;
813
845
  previous_revision_hash?: string | undefined;
814
846
  redirects?: Record<string, string> | undefined;
847
+ related_appended?: Record<string, string> | undefined;
848
+ next_steps?: string[] | undefined;
815
849
  }, {
816
850
  entries: {
817
851
  path: string;
818
852
  requirement_profile: {
819
853
  target_path: string;
820
854
  known_tech: string[];
821
- user_intent: string;
822
855
  detected_entities: string[];
823
856
  };
824
857
  }[];
825
858
  stale: boolean;
859
+ paths: {
860
+ path: string;
861
+ stable_id: string;
862
+ store?: {
863
+ alias: string;
864
+ } | undefined;
865
+ }[];
826
866
  revision_hash: string;
827
- selection_token: string;
828
867
  candidates: {
829
868
  description: {
830
869
  summary: string;
@@ -842,8 +881,10 @@ declare const recallOutputSchema: z.ZodObject<{
842
881
  knowledge_layer?: "personal" | "team" | undefined;
843
882
  layer_reason?: string | undefined;
844
883
  tags?: string[] | undefined;
884
+ related?: string[] | undefined;
845
885
  };
846
886
  stable_id: string;
887
+ always_active?: boolean | undefined;
847
888
  }[];
848
889
  preflight_diagnostics: {
849
890
  code: "missing_description" | "empty_shell_suppressed";
@@ -852,28 +893,21 @@ declare const recallOutputSchema: z.ZodObject<{
852
893
  path?: string | undefined;
853
894
  stable_ids?: string[] | undefined;
854
895
  }[];
855
- selected_stable_ids: string[];
856
- rules: {
857
- path: string;
858
- stable_id: string;
859
- level: "L0" | "L1" | "L2";
860
- body: string;
861
- }[];
862
- diagnostics: {
863
- code: "missing_knowledge_metadata";
864
- message: string;
865
- stable_id: string;
866
- severity: "warn";
867
- }[];
896
+ directive: string;
897
+ intent?: string | undefined;
898
+ omitted_candidate_count?: number | undefined;
868
899
  warnings?: {
869
900
  code: string;
870
901
  file: string;
871
902
  action_hint: string;
903
+ message?: string | undefined;
872
904
  line?: number | undefined;
873
905
  }[] | undefined;
874
906
  auto_healed?: boolean | undefined;
875
907
  previous_revision_hash?: string | undefined;
876
908
  redirects?: Record<string, string> | undefined;
909
+ related_appended?: Record<string, string> | undefined;
910
+ next_steps?: string[] | undefined;
877
911
  }>;
878
912
  declare const recallAnnotations: {
879
913
  readonly readOnlyHint: true;
@@ -917,16 +951,19 @@ declare const archiveScanOutputSchema: z.ZodObject<{
917
951
  code: z.ZodString;
918
952
  file: z.ZodString;
919
953
  line: z.ZodOptional<z.ZodNumber>;
954
+ message: z.ZodOptional<z.ZodString>;
920
955
  action_hint: z.ZodString;
921
956
  }, "strip", z.ZodTypeAny, {
922
957
  code: string;
923
958
  file: string;
924
959
  action_hint: string;
960
+ message?: string | undefined;
925
961
  line?: number | undefined;
926
962
  }, {
927
963
  code: string;
928
964
  file: string;
929
965
  action_hint: string;
966
+ message?: string | undefined;
930
967
  line?: number | undefined;
931
968
  }>, "many">>;
932
969
  }, "strip", z.ZodTypeAny, {
@@ -942,6 +979,7 @@ declare const archiveScanOutputSchema: z.ZodObject<{
942
979
  code: string;
943
980
  file: string;
944
981
  action_hint: string;
982
+ message?: string | undefined;
945
983
  line?: number | undefined;
946
984
  }[] | undefined;
947
985
  }, {
@@ -957,6 +995,7 @@ declare const archiveScanOutputSchema: z.ZodObject<{
957
995
  code: string;
958
996
  file: string;
959
997
  action_hint: string;
998
+ message?: string | undefined;
960
999
  line?: number | undefined;
961
1000
  }[] | undefined;
962
1001
  }>;
@@ -971,14 +1010,15 @@ type ArchiveScanInput = z.infer<typeof archiveScanInputSchema>;
971
1010
  type ArchiveScanOutput = z.infer<typeof archiveScanOutputSchema>;
972
1011
  declare const ProposedReasonSchema: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
973
1012
  type ProposedReason = z.infer<typeof ProposedReasonSchema>;
974
- declare const PROPOSED_REASON_DESCRIPTIONS: Record<ProposedReason, string>;
1013
+ declare const PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE: Record<Locale, Record<ProposedReason, string>>;
975
1014
  declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
976
- source_sessions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1015
+ source_sessions: z.ZodArray<z.ZodString, "many">;
977
1016
  recent_paths: z.ZodArray<z.ZodString, "many">;
978
1017
  user_messages_summary: z.ZodString;
979
1018
  type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
980
1019
  slug: z.ZodString;
981
1020
  layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
1021
+ semantic_scope: z.ZodOptional<z.ZodString>;
982
1022
  proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
983
1023
  session_context: z.ZodString;
984
1024
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
@@ -992,14 +1032,15 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
992
1032
  evidence_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
993
1033
  }, "strip", z.ZodTypeAny, {
994
1034
  type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
1035
+ source_sessions: string[];
995
1036
  proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
996
1037
  session_context: string;
997
1038
  recent_paths: string[];
998
1039
  user_messages_summary: string;
999
1040
  slug: string;
1041
+ semantic_scope?: string | undefined;
1000
1042
  relevance_scope?: "narrow" | "broad" | undefined;
1001
1043
  relevance_paths?: string[] | undefined;
1002
- source_sessions?: string[] | undefined;
1003
1044
  layer?: "personal" | "team" | undefined;
1004
1045
  intent_clues?: string[] | undefined;
1005
1046
  tech_stack?: string[] | undefined;
@@ -1010,14 +1051,15 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1010
1051
  evidence_paths?: string[] | undefined;
1011
1052
  }, {
1012
1053
  type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
1054
+ source_sessions: string[];
1013
1055
  proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
1014
1056
  session_context: string;
1015
1057
  recent_paths: string[];
1016
1058
  user_messages_summary: string;
1017
1059
  slug: string;
1060
+ semantic_scope?: string | undefined;
1018
1061
  relevance_scope?: "narrow" | "broad" | undefined;
1019
1062
  relevance_paths?: string[] | undefined;
1020
- source_sessions?: string[] | undefined;
1021
1063
  layer?: "personal" | "team" | undefined;
1022
1064
  intent_clues?: string[] | undefined;
1023
1065
  tech_stack?: string[] | undefined;
@@ -1028,14 +1070,15 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1028
1070
  evidence_paths?: string[] | undefined;
1029
1071
  }>, {
1030
1072
  type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
1073
+ source_sessions: string[];
1031
1074
  proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
1032
1075
  session_context: string;
1033
1076
  recent_paths: string[];
1034
1077
  user_messages_summary: string;
1035
1078
  slug: string;
1079
+ semantic_scope?: string | undefined;
1036
1080
  relevance_scope?: "narrow" | "broad" | undefined;
1037
1081
  relevance_paths?: string[] | undefined;
1038
- source_sessions?: string[] | undefined;
1039
1082
  layer?: "personal" | "team" | undefined;
1040
1083
  intent_clues?: string[] | undefined;
1041
1084
  tech_stack?: string[] | undefined;
@@ -1046,14 +1089,15 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1046
1089
  evidence_paths?: string[] | undefined;
1047
1090
  }, {
1048
1091
  type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
1092
+ source_sessions: string[];
1049
1093
  proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
1050
1094
  session_context: string;
1051
1095
  recent_paths: string[];
1052
1096
  user_messages_summary: string;
1053
1097
  slug: string;
1098
+ semantic_scope?: string | undefined;
1054
1099
  relevance_scope?: "narrow" | "broad" | undefined;
1055
1100
  relevance_paths?: string[] | undefined;
1056
- source_sessions?: string[] | undefined;
1057
1101
  layer?: "personal" | "team" | undefined;
1058
1102
  intent_clues?: string[] | undefined;
1059
1103
  tech_stack?: string[] | undefined;
@@ -1064,12 +1108,13 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
1064
1108
  evidence_paths?: string[] | undefined;
1065
1109
  }>;
1066
1110
  declare const FabExtractKnowledgeInputShape: {
1067
- source_sessions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1111
+ source_sessions: z.ZodArray<z.ZodString, "many">;
1068
1112
  recent_paths: z.ZodArray<z.ZodString, "many">;
1069
1113
  user_messages_summary: z.ZodString;
1070
1114
  type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
1071
1115
  slug: z.ZodString;
1072
1116
  layer: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
1117
+ semantic_scope: z.ZodOptional<z.ZodString>;
1073
1118
  proposed_reason: z.ZodEnum<["explicit-user-mark", "diagnostic-then-fix", "decision-confirmation", "wrong-turn-revert", "new-dependency-or-pattern", "dismissal-with-reason"]>;
1074
1119
  session_context: z.ZodString;
1075
1120
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
@@ -1090,16 +1135,19 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1090
1135
  code: z.ZodString;
1091
1136
  file: z.ZodString;
1092
1137
  line: z.ZodOptional<z.ZodNumber>;
1138
+ message: z.ZodOptional<z.ZodString>;
1093
1139
  action_hint: z.ZodString;
1094
1140
  }, "strip", z.ZodTypeAny, {
1095
1141
  code: string;
1096
1142
  file: string;
1097
1143
  action_hint: string;
1144
+ message?: string | undefined;
1098
1145
  line?: number | undefined;
1099
1146
  }, {
1100
1147
  code: string;
1101
1148
  file: string;
1102
1149
  action_hint: string;
1150
+ message?: string | undefined;
1103
1151
  line?: number | undefined;
1104
1152
  }>, "many">>;
1105
1153
  }, "strip", z.ZodTypeAny, {
@@ -1109,6 +1157,7 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1109
1157
  code: string;
1110
1158
  file: string;
1111
1159
  action_hint: string;
1160
+ message?: string | undefined;
1112
1161
  line?: number | undefined;
1113
1162
  }[] | undefined;
1114
1163
  }, {
@@ -1118,6 +1167,7 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
1118
1167
  code: string;
1119
1168
  file: string;
1120
1169
  action_hint: string;
1170
+ message?: string | undefined;
1121
1171
  line?: number | undefined;
1122
1172
  }[] | undefined;
1123
1173
  }>;
@@ -1215,45 +1265,55 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1215
1265
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1216
1266
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1217
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">>;
1218
1270
  }, "strip", z.ZodTypeAny, {
1271
+ semantic_scope?: string | undefined;
1219
1272
  relevance_scope?: "narrow" | "broad" | undefined;
1220
1273
  relevance_paths?: string[] | undefined;
1221
1274
  layer?: "personal" | "team" | undefined;
1222
1275
  summary?: string | undefined;
1223
1276
  maturity?: "draft" | "verified" | "proven" | undefined;
1224
1277
  tags?: string[] | undefined;
1278
+ related?: string[] | undefined;
1225
1279
  title?: string | undefined;
1226
1280
  }, {
1281
+ semantic_scope?: string | undefined;
1227
1282
  relevance_scope?: "narrow" | "broad" | undefined;
1228
1283
  relevance_paths?: string[] | undefined;
1229
1284
  layer?: "personal" | "team" | undefined;
1230
1285
  summary?: string | undefined;
1231
1286
  maturity?: "draft" | "verified" | "proven" | undefined;
1232
1287
  tags?: string[] | undefined;
1288
+ related?: string[] | undefined;
1233
1289
  title?: string | undefined;
1234
1290
  }>;
1235
1291
  }, "strip", z.ZodTypeAny, {
1236
1292
  pending_path: string;
1237
1293
  action: "modify";
1238
1294
  changes: {
1295
+ semantic_scope?: string | undefined;
1239
1296
  relevance_scope?: "narrow" | "broad" | undefined;
1240
1297
  relevance_paths?: string[] | undefined;
1241
1298
  layer?: "personal" | "team" | undefined;
1242
1299
  summary?: string | undefined;
1243
1300
  maturity?: "draft" | "verified" | "proven" | undefined;
1244
1301
  tags?: string[] | undefined;
1302
+ related?: string[] | undefined;
1245
1303
  title?: string | undefined;
1246
1304
  };
1247
1305
  }, {
1248
1306
  pending_path: string;
1249
1307
  action: "modify";
1250
1308
  changes: {
1309
+ semantic_scope?: string | undefined;
1251
1310
  relevance_scope?: "narrow" | "broad" | undefined;
1252
1311
  relevance_paths?: string[] | undefined;
1253
1312
  layer?: "personal" | "team" | undefined;
1254
1313
  summary?: string | undefined;
1255
1314
  maturity?: "draft" | "verified" | "proven" | undefined;
1256
1315
  tags?: string[] | undefined;
1316
+ related?: string[] | undefined;
1257
1317
  title?: string | undefined;
1258
1318
  };
1259
1319
  }>, z.ZodObject<{
@@ -1267,45 +1327,55 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1267
1327
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1268
1328
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1269
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">>;
1270
1332
  }, "strip", z.ZodTypeAny, {
1333
+ semantic_scope?: string | undefined;
1271
1334
  relevance_scope?: "narrow" | "broad" | undefined;
1272
1335
  relevance_paths?: string[] | undefined;
1273
1336
  layer?: "personal" | "team" | undefined;
1274
1337
  summary?: string | undefined;
1275
1338
  maturity?: "draft" | "verified" | "proven" | undefined;
1276
1339
  tags?: string[] | undefined;
1340
+ related?: string[] | undefined;
1277
1341
  title?: string | undefined;
1278
1342
  }, {
1343
+ semantic_scope?: string | undefined;
1279
1344
  relevance_scope?: "narrow" | "broad" | undefined;
1280
1345
  relevance_paths?: string[] | undefined;
1281
1346
  layer?: "personal" | "team" | undefined;
1282
1347
  summary?: string | undefined;
1283
1348
  maturity?: "draft" | "verified" | "proven" | undefined;
1284
1349
  tags?: string[] | undefined;
1350
+ related?: string[] | undefined;
1285
1351
  title?: string | undefined;
1286
1352
  }>;
1287
1353
  }, "strip", z.ZodTypeAny, {
1288
1354
  pending_path: string;
1289
1355
  action: "modify-content";
1290
1356
  changes: {
1357
+ semantic_scope?: string | undefined;
1291
1358
  relevance_scope?: "narrow" | "broad" | undefined;
1292
1359
  relevance_paths?: string[] | undefined;
1293
1360
  layer?: "personal" | "team" | undefined;
1294
1361
  summary?: string | undefined;
1295
1362
  maturity?: "draft" | "verified" | "proven" | undefined;
1296
1363
  tags?: string[] | undefined;
1364
+ related?: string[] | undefined;
1297
1365
  title?: string | undefined;
1298
1366
  };
1299
1367
  }, {
1300
1368
  pending_path: string;
1301
1369
  action: "modify-content";
1302
1370
  changes: {
1371
+ semantic_scope?: string | undefined;
1303
1372
  relevance_scope?: "narrow" | "broad" | undefined;
1304
1373
  relevance_paths?: string[] | undefined;
1305
1374
  layer?: "personal" | "team" | undefined;
1306
1375
  summary?: string | undefined;
1307
1376
  maturity?: "draft" | "verified" | "proven" | undefined;
1308
1377
  tags?: string[] | undefined;
1378
+ related?: string[] | undefined;
1309
1379
  title?: string | undefined;
1310
1380
  };
1311
1381
  }>, z.ZodObject<{
@@ -1318,23 +1388,29 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1318
1388
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1319
1389
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1320
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">>;
1321
1393
  } & {
1322
1394
  layer: z.ZodEnum<["team", "personal"]>;
1323
1395
  }, "strip", z.ZodTypeAny, {
1324
1396
  layer: "personal" | "team";
1397
+ semantic_scope?: string | undefined;
1325
1398
  relevance_scope?: "narrow" | "broad" | undefined;
1326
1399
  relevance_paths?: string[] | undefined;
1327
1400
  summary?: string | undefined;
1328
1401
  maturity?: "draft" | "verified" | "proven" | undefined;
1329
1402
  tags?: string[] | undefined;
1403
+ related?: string[] | undefined;
1330
1404
  title?: string | undefined;
1331
1405
  }, {
1332
1406
  layer: "personal" | "team";
1407
+ semantic_scope?: string | undefined;
1333
1408
  relevance_scope?: "narrow" | "broad" | undefined;
1334
1409
  relevance_paths?: string[] | undefined;
1335
1410
  summary?: string | undefined;
1336
1411
  maturity?: "draft" | "verified" | "proven" | undefined;
1337
1412
  tags?: string[] | undefined;
1413
+ related?: string[] | undefined;
1338
1414
  title?: string | undefined;
1339
1415
  }>;
1340
1416
  }, "strip", z.ZodTypeAny, {
@@ -1342,11 +1418,13 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1342
1418
  action: "modify-layer";
1343
1419
  changes: {
1344
1420
  layer: "personal" | "team";
1421
+ semantic_scope?: string | undefined;
1345
1422
  relevance_scope?: "narrow" | "broad" | undefined;
1346
1423
  relevance_paths?: string[] | undefined;
1347
1424
  summary?: string | undefined;
1348
1425
  maturity?: "draft" | "verified" | "proven" | undefined;
1349
1426
  tags?: string[] | undefined;
1427
+ related?: string[] | undefined;
1350
1428
  title?: string | undefined;
1351
1429
  };
1352
1430
  }, {
@@ -1354,11 +1432,13 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1354
1432
  action: "modify-layer";
1355
1433
  changes: {
1356
1434
  layer: "personal" | "team";
1435
+ semantic_scope?: string | undefined;
1357
1436
  relevance_scope?: "narrow" | "broad" | undefined;
1358
1437
  relevance_paths?: string[] | undefined;
1359
1438
  summary?: string | undefined;
1360
1439
  maturity?: "draft" | "verified" | "proven" | undefined;
1361
1440
  tags?: string[] | undefined;
1441
+ related?: string[] | undefined;
1362
1442
  title?: string | undefined;
1363
1443
  };
1364
1444
  }>, z.ZodObject<{
@@ -1476,21 +1556,27 @@ declare const FabReviewInputShape: {
1476
1556
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1477
1557
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
1478
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">>;
1479
1561
  }, "strip", z.ZodTypeAny, {
1562
+ semantic_scope?: string | undefined;
1480
1563
  relevance_scope?: "narrow" | "broad" | undefined;
1481
1564
  relevance_paths?: string[] | undefined;
1482
1565
  layer?: "personal" | "team" | undefined;
1483
1566
  summary?: string | undefined;
1484
1567
  maturity?: "draft" | "verified" | "proven" | undefined;
1485
1568
  tags?: string[] | undefined;
1569
+ related?: string[] | undefined;
1486
1570
  title?: string | undefined;
1487
1571
  }, {
1572
+ semantic_scope?: string | undefined;
1488
1573
  relevance_scope?: "narrow" | "broad" | undefined;
1489
1574
  relevance_paths?: string[] | undefined;
1490
1575
  layer?: "personal" | "team" | undefined;
1491
1576
  summary?: string | undefined;
1492
1577
  maturity?: "draft" | "verified" | "proven" | undefined;
1493
1578
  tags?: string[] | undefined;
1579
+ related?: string[] | undefined;
1494
1580
  title?: string | undefined;
1495
1581
  }>>;
1496
1582
  readonly query: z.ZodOptional<z.ZodString>;
@@ -1542,16 +1628,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1542
1628
  code: z.ZodString;
1543
1629
  file: z.ZodString;
1544
1630
  line: z.ZodOptional<z.ZodNumber>;
1631
+ message: z.ZodOptional<z.ZodString>;
1545
1632
  action_hint: z.ZodString;
1546
1633
  }, "strip", z.ZodTypeAny, {
1547
1634
  code: string;
1548
1635
  file: string;
1549
1636
  action_hint: string;
1637
+ message?: string | undefined;
1550
1638
  line?: number | undefined;
1551
1639
  }, {
1552
1640
  code: string;
1553
1641
  file: string;
1554
1642
  action_hint: string;
1643
+ message?: string | undefined;
1555
1644
  line?: number | undefined;
1556
1645
  }>, "many">>;
1557
1646
  }, "strip", z.ZodTypeAny, {
@@ -1574,6 +1663,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1574
1663
  code: string;
1575
1664
  file: string;
1576
1665
  action_hint: string;
1666
+ message?: string | undefined;
1577
1667
  line?: number | undefined;
1578
1668
  }[] | undefined;
1579
1669
  }, {
@@ -1596,6 +1686,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1596
1686
  code: string;
1597
1687
  file: string;
1598
1688
  action_hint: string;
1689
+ message?: string | undefined;
1599
1690
  line?: number | undefined;
1600
1691
  }[] | undefined;
1601
1692
  }>, z.ZodObject<{
@@ -1614,16 +1705,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1614
1705
  code: z.ZodString;
1615
1706
  file: z.ZodString;
1616
1707
  line: z.ZodOptional<z.ZodNumber>;
1708
+ message: z.ZodOptional<z.ZodString>;
1617
1709
  action_hint: z.ZodString;
1618
1710
  }, "strip", z.ZodTypeAny, {
1619
1711
  code: string;
1620
1712
  file: string;
1621
1713
  action_hint: string;
1714
+ message?: string | undefined;
1622
1715
  line?: number | undefined;
1623
1716
  }, {
1624
1717
  code: string;
1625
1718
  file: string;
1626
1719
  action_hint: string;
1720
+ message?: string | undefined;
1627
1721
  line?: number | undefined;
1628
1722
  }>, "many">>;
1629
1723
  }, "strip", z.ZodTypeAny, {
@@ -1636,6 +1730,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1636
1730
  code: string;
1637
1731
  file: string;
1638
1732
  action_hint: string;
1733
+ message?: string | undefined;
1639
1734
  line?: number | undefined;
1640
1735
  }[] | undefined;
1641
1736
  }, {
@@ -1648,6 +1743,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1648
1743
  code: string;
1649
1744
  file: string;
1650
1745
  action_hint: string;
1746
+ message?: string | undefined;
1651
1747
  line?: number | undefined;
1652
1748
  }[] | undefined;
1653
1749
  }>, z.ZodObject<{
@@ -1657,16 +1753,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1657
1753
  code: z.ZodString;
1658
1754
  file: z.ZodString;
1659
1755
  line: z.ZodOptional<z.ZodNumber>;
1756
+ message: z.ZodOptional<z.ZodString>;
1660
1757
  action_hint: z.ZodString;
1661
1758
  }, "strip", z.ZodTypeAny, {
1662
1759
  code: string;
1663
1760
  file: string;
1664
1761
  action_hint: string;
1762
+ message?: string | undefined;
1665
1763
  line?: number | undefined;
1666
1764
  }, {
1667
1765
  code: string;
1668
1766
  file: string;
1669
1767
  action_hint: string;
1768
+ message?: string | undefined;
1670
1769
  line?: number | undefined;
1671
1770
  }>, "many">>;
1672
1771
  }, "strip", z.ZodTypeAny, {
@@ -1676,6 +1775,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1676
1775
  code: string;
1677
1776
  file: string;
1678
1777
  action_hint: string;
1778
+ message?: string | undefined;
1679
1779
  line?: number | undefined;
1680
1780
  }[] | undefined;
1681
1781
  }, {
@@ -1685,6 +1785,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1685
1785
  code: string;
1686
1786
  file: string;
1687
1787
  action_hint: string;
1788
+ message?: string | undefined;
1688
1789
  line?: number | undefined;
1689
1790
  }[] | undefined;
1690
1791
  }>, z.ZodObject<{
@@ -1696,16 +1797,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1696
1797
  code: z.ZodString;
1697
1798
  file: z.ZodString;
1698
1799
  line: z.ZodOptional<z.ZodNumber>;
1800
+ message: z.ZodOptional<z.ZodString>;
1699
1801
  action_hint: z.ZodString;
1700
1802
  }, "strip", z.ZodTypeAny, {
1701
1803
  code: string;
1702
1804
  file: string;
1703
1805
  action_hint: string;
1806
+ message?: string | undefined;
1704
1807
  line?: number | undefined;
1705
1808
  }, {
1706
1809
  code: string;
1707
1810
  file: string;
1708
1811
  action_hint: string;
1812
+ message?: string | undefined;
1709
1813
  line?: number | undefined;
1710
1814
  }>, "many">>;
1711
1815
  }, "strip", z.ZodTypeAny, {
@@ -1715,6 +1819,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1715
1819
  code: string;
1716
1820
  file: string;
1717
1821
  action_hint: string;
1822
+ message?: string | undefined;
1718
1823
  line?: number | undefined;
1719
1824
  }[] | undefined;
1720
1825
  prior_stable_id?: string | undefined;
@@ -1726,6 +1831,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1726
1831
  code: string;
1727
1832
  file: string;
1728
1833
  action_hint: string;
1834
+ message?: string | undefined;
1729
1835
  line?: number | undefined;
1730
1836
  }[] | undefined;
1731
1837
  prior_stable_id?: string | undefined;
@@ -1782,16 +1888,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1782
1888
  code: z.ZodString;
1783
1889
  file: z.ZodString;
1784
1890
  line: z.ZodOptional<z.ZodNumber>;
1891
+ message: z.ZodOptional<z.ZodString>;
1785
1892
  action_hint: z.ZodString;
1786
1893
  }, "strip", z.ZodTypeAny, {
1787
1894
  code: string;
1788
1895
  file: string;
1789
1896
  action_hint: string;
1897
+ message?: string | undefined;
1790
1898
  line?: number | undefined;
1791
1899
  }, {
1792
1900
  code: string;
1793
1901
  file: string;
1794
1902
  action_hint: string;
1903
+ message?: string | undefined;
1795
1904
  line?: number | undefined;
1796
1905
  }>, "many">>;
1797
1906
  }, "strip", z.ZodTypeAny, {
@@ -1816,6 +1925,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1816
1925
  code: string;
1817
1926
  file: string;
1818
1927
  action_hint: string;
1928
+ message?: string | undefined;
1819
1929
  line?: number | undefined;
1820
1930
  }[] | undefined;
1821
1931
  }, {
@@ -1840,6 +1950,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1840
1950
  code: string;
1841
1951
  file: string;
1842
1952
  action_hint: string;
1953
+ message?: string | undefined;
1843
1954
  line?: number | undefined;
1844
1955
  }[] | undefined;
1845
1956
  }>, z.ZodObject<{
@@ -1849,16 +1960,19 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1849
1960
  code: z.ZodString;
1850
1961
  file: z.ZodString;
1851
1962
  line: z.ZodOptional<z.ZodNumber>;
1963
+ message: z.ZodOptional<z.ZodString>;
1852
1964
  action_hint: z.ZodString;
1853
1965
  }, "strip", z.ZodTypeAny, {
1854
1966
  code: string;
1855
1967
  file: string;
1856
1968
  action_hint: string;
1969
+ message?: string | undefined;
1857
1970
  line?: number | undefined;
1858
1971
  }, {
1859
1972
  code: string;
1860
1973
  file: string;
1861
1974
  action_hint: string;
1975
+ message?: string | undefined;
1862
1976
  line?: number | undefined;
1863
1977
  }>, "many">>;
1864
1978
  }, "strip", z.ZodTypeAny, {
@@ -1868,6 +1982,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1868
1982
  code: string;
1869
1983
  file: string;
1870
1984
  action_hint: string;
1985
+ message?: string | undefined;
1871
1986
  line?: number | undefined;
1872
1987
  }[] | undefined;
1873
1988
  }, {
@@ -1877,6 +1992,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
1877
1992
  code: string;
1878
1993
  file: string;
1879
1994
  action_hint: string;
1995
+ message?: string | undefined;
1880
1996
  line?: number | undefined;
1881
1997
  }[] | undefined;
1882
1998
  }>]>;
@@ -1987,16 +2103,19 @@ declare const FabReviewOutputShape: {
1987
2103
  code: z.ZodString;
1988
2104
  file: z.ZodString;
1989
2105
  line: z.ZodOptional<z.ZodNumber>;
2106
+ message: z.ZodOptional<z.ZodString>;
1990
2107
  action_hint: z.ZodString;
1991
2108
  }, "strip", z.ZodTypeAny, {
1992
2109
  code: string;
1993
2110
  file: string;
1994
2111
  action_hint: string;
2112
+ message?: string | undefined;
1995
2113
  line?: number | undefined;
1996
2114
  }, {
1997
2115
  code: string;
1998
2116
  file: string;
1999
2117
  action_hint: string;
2118
+ message?: string | undefined;
2000
2119
  line?: number | undefined;
2001
2120
  }>, "many">>;
2002
2121
  };
@@ -2049,7 +2168,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2049
2168
  marker_ts: z.ZodNumber;
2050
2169
  marker_emitted_now: z.ZodBoolean;
2051
2170
  since_ts: z.ZodNumber;
2052
- client_filter: z.ZodEnum<["cc", "codex", "cursor", "all"]>;
2171
+ client_filter: z.ZodEnum<["cc", "codex", "all"]>;
2053
2172
  layer_filter: z.ZodOptional<z.ZodEnum<["team", "personal", "all"]>>;
2054
2173
  metrics: z.ZodObject<{
2055
2174
  edits_touched: z.ZodNumber;
@@ -2061,6 +2180,42 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2061
2180
  compliant_cites: z.ZodOptional<z.ZodNumber>;
2062
2181
  noncompliant_cites: z.ZodOptional<z.ZodNumber>;
2063
2182
  uncorrelatable_edits: z.ZodOptional<z.ZodNumber>;
2183
+ recall_backed_edits: z.ZodOptional<z.ZodNumber>;
2184
+ recall_coverage_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2185
+ exposed_and_mutated: z.ZodOptional<z.ZodObject<{
2186
+ count: z.ZodNumber;
2187
+ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ count: number;
2190
+ ids?: string[] | undefined;
2191
+ }, {
2192
+ count: number;
2193
+ ids?: string[] | undefined;
2194
+ }>>;
2195
+ mutations_observed: z.ZodOptional<z.ZodObject<{
2196
+ count: z.ZodNumber;
2197
+ }, "strip", z.ZodTypeAny, {
2198
+ count: number;
2199
+ }, {
2200
+ count: number;
2201
+ }>>;
2202
+ mutation_pool: z.ZodOptional<z.ZodObject<{
2203
+ attributed: z.ZodNumber;
2204
+ unattributed_workspace_dirty: z.ZodNumber;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ attributed: number;
2207
+ unattributed_workspace_dirty: number;
2208
+ }, {
2209
+ attributed: number;
2210
+ unattributed_workspace_dirty: number;
2211
+ }>>;
2212
+ sessions_closed: z.ZodOptional<z.ZodObject<{
2213
+ count: z.ZodNumber;
2214
+ }, "strip", z.ZodTypeAny, {
2215
+ count: number;
2216
+ }, {
2217
+ count: number;
2218
+ }>>;
2064
2219
  }, "strip", z.ZodTypeAny, {
2065
2220
  edits_touched: number;
2066
2221
  qualifying_cites: number;
@@ -2071,6 +2226,22 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2071
2226
  compliant_cites?: number | undefined;
2072
2227
  noncompliant_cites?: number | undefined;
2073
2228
  uncorrelatable_edits?: number | undefined;
2229
+ recall_backed_edits?: number | undefined;
2230
+ recall_coverage_rate?: number | null | undefined;
2231
+ exposed_and_mutated?: {
2232
+ count: number;
2233
+ ids?: string[] | undefined;
2234
+ } | undefined;
2235
+ mutations_observed?: {
2236
+ count: number;
2237
+ } | undefined;
2238
+ mutation_pool?: {
2239
+ attributed: number;
2240
+ unattributed_workspace_dirty: number;
2241
+ } | undefined;
2242
+ sessions_closed?: {
2243
+ count: number;
2244
+ } | undefined;
2074
2245
  }, {
2075
2246
  edits_touched: number;
2076
2247
  qualifying_cites: number;
@@ -2081,6 +2252,22 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2081
2252
  compliant_cites?: number | undefined;
2082
2253
  noncompliant_cites?: number | undefined;
2083
2254
  uncorrelatable_edits?: number | undefined;
2255
+ recall_backed_edits?: number | undefined;
2256
+ recall_coverage_rate?: number | null | undefined;
2257
+ exposed_and_mutated?: {
2258
+ count: number;
2259
+ ids?: string[] | undefined;
2260
+ } | undefined;
2261
+ mutations_observed?: {
2262
+ count: number;
2263
+ } | undefined;
2264
+ mutation_pool?: {
2265
+ attributed: number;
2266
+ unattributed_workspace_dirty: number;
2267
+ } | undefined;
2268
+ sessions_closed?: {
2269
+ count: number;
2270
+ } | undefined;
2084
2271
  }>;
2085
2272
  per_client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2086
2273
  edits_touched: z.ZodOptional<z.ZodNumber>;
@@ -2146,7 +2333,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2146
2333
  marker_ts: number;
2147
2334
  marker_emitted_now: boolean;
2148
2335
  since_ts: number;
2149
- client_filter: "cursor" | "all" | "cc" | "codex";
2336
+ client_filter: "all" | "cc" | "codex";
2150
2337
  metrics: {
2151
2338
  edits_touched: number;
2152
2339
  qualifying_cites: number;
@@ -2157,6 +2344,22 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2157
2344
  compliant_cites?: number | undefined;
2158
2345
  noncompliant_cites?: number | undefined;
2159
2346
  uncorrelatable_edits?: number | undefined;
2347
+ recall_backed_edits?: number | undefined;
2348
+ recall_coverage_rate?: number | null | undefined;
2349
+ exposed_and_mutated?: {
2350
+ count: number;
2351
+ ids?: string[] | undefined;
2352
+ } | undefined;
2353
+ mutations_observed?: {
2354
+ count: number;
2355
+ } | undefined;
2356
+ mutation_pool?: {
2357
+ attributed: number;
2358
+ unattributed_workspace_dirty: number;
2359
+ } | undefined;
2360
+ sessions_closed?: {
2361
+ count: number;
2362
+ } | undefined;
2160
2363
  };
2161
2364
  generated_at: string;
2162
2365
  layer_filter?: "personal" | "team" | "all" | undefined;
@@ -2189,7 +2392,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2189
2392
  marker_ts: number;
2190
2393
  marker_emitted_now: boolean;
2191
2394
  since_ts: number;
2192
- client_filter: "cursor" | "all" | "cc" | "codex";
2395
+ client_filter: "all" | "cc" | "codex";
2193
2396
  metrics: {
2194
2397
  edits_touched: number;
2195
2398
  qualifying_cites: number;
@@ -2200,6 +2403,22 @@ declare const citeCoverageReportSchema: z.ZodObject<{
2200
2403
  compliant_cites?: number | undefined;
2201
2404
  noncompliant_cites?: number | undefined;
2202
2405
  uncorrelatable_edits?: number | undefined;
2406
+ recall_backed_edits?: number | undefined;
2407
+ recall_coverage_rate?: number | null | undefined;
2408
+ exposed_and_mutated?: {
2409
+ count: number;
2410
+ ids?: string[] | undefined;
2411
+ } | undefined;
2412
+ mutations_observed?: {
2413
+ count: number;
2414
+ } | undefined;
2415
+ mutation_pool?: {
2416
+ attributed: number;
2417
+ unattributed_workspace_dirty: number;
2418
+ } | undefined;
2419
+ sessions_closed?: {
2420
+ count: number;
2421
+ } | undefined;
2203
2422
  };
2204
2423
  generated_at: string;
2205
2424
  layer_filter?: "personal" | "team" | "all" | undefined;
@@ -2335,4 +2554,4 @@ declare function parseKnowledgeId(id: string): {
2335
2554
  counter: number;
2336
2555
  } | null;
2337
2556
 
2338
- 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 };