@fenglimg/fabric-shared 2.0.0-rc.28 → 2.0.0-rc.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DXQVLDEB.js → chunk-225L7D4T.js} +35 -13
- package/dist/{chunk-G32HVF7H.js → chunk-Y2YBFL2G.js} +38 -14
- package/dist/i18n/index.js +1 -1
- package/dist/index-DkXJGQCD.d.ts +271 -0
- package/dist/index.d.ts +160 -244
- package/dist/index.js +44 -8
- package/dist/node/mcp-payload-guard.d.ts +3 -1
- package/dist/node/mcp-payload-guard.js +6 -2
- package/dist/schemas/api-contracts.d.ts +176 -121
- package/dist/schemas/api-contracts.js +1 -1
- package/dist/types/index.d.ts +2 -121
- package/package.json +1 -1
|
@@ -6,13 +6,13 @@ declare const structuredWarningSchema: z.ZodObject<{
|
|
|
6
6
|
line: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
action_hint: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
file: string;
|
|
10
9
|
code: string;
|
|
10
|
+
file: string;
|
|
11
11
|
action_hint: string;
|
|
12
12
|
line?: number | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
file: string;
|
|
15
14
|
code: string;
|
|
15
|
+
file: string;
|
|
16
16
|
action_hint: string;
|
|
17
17
|
line?: number | undefined;
|
|
18
18
|
}>;
|
|
@@ -88,7 +88,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
88
88
|
must_read_if: z.ZodString;
|
|
89
89
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
90
90
|
id: z.ZodOptional<z.ZodString>;
|
|
91
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["
|
|
91
|
+
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
92
92
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
93
93
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
94
94
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -101,7 +101,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
101
101
|
must_read_if: string;
|
|
102
102
|
entities?: string[] | undefined;
|
|
103
103
|
id?: string | undefined;
|
|
104
|
-
knowledge_type?: "
|
|
104
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
105
105
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
106
106
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
107
107
|
layer_reason?: string | undefined;
|
|
@@ -114,13 +114,13 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
114
114
|
must_read_if: string;
|
|
115
115
|
entities?: string[] | undefined;
|
|
116
116
|
id?: string | undefined;
|
|
117
|
-
knowledge_type?: "
|
|
117
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
118
118
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
119
119
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
120
120
|
layer_reason?: string | undefined;
|
|
121
121
|
created_at?: string | undefined;
|
|
122
122
|
}>;
|
|
123
|
-
type: z.ZodOptional<z.ZodEnum<["
|
|
123
|
+
type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
124
124
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
125
125
|
layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
126
126
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -136,7 +136,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
136
136
|
must_read_if: string;
|
|
137
137
|
entities?: string[] | undefined;
|
|
138
138
|
id?: string | undefined;
|
|
139
|
-
knowledge_type?: "
|
|
139
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
140
140
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
141
141
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
142
142
|
layer_reason?: string | undefined;
|
|
@@ -146,10 +146,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
146
146
|
level: "L0" | "L1" | "L2";
|
|
147
147
|
required: boolean;
|
|
148
148
|
selectable: boolean;
|
|
149
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
149
150
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
150
151
|
relevance_paths?: string[] | undefined;
|
|
151
152
|
layer?: "personal" | "team" | undefined;
|
|
152
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
153
153
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
154
154
|
layer_reason?: string | undefined;
|
|
155
155
|
tags?: string[] | undefined;
|
|
@@ -162,7 +162,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
162
162
|
must_read_if: string;
|
|
163
163
|
entities?: string[] | undefined;
|
|
164
164
|
id?: string | undefined;
|
|
165
|
-
knowledge_type?: "
|
|
165
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
166
166
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
167
167
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
168
168
|
layer_reason?: string | undefined;
|
|
@@ -172,10 +172,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
172
172
|
level: "L0" | "L1" | "L2";
|
|
173
173
|
required: boolean;
|
|
174
174
|
selectable: boolean;
|
|
175
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
175
176
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
176
177
|
relevance_paths?: string[] | undefined;
|
|
177
178
|
layer?: "personal" | "team" | undefined;
|
|
178
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
179
179
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
180
180
|
layer_reason?: string | undefined;
|
|
181
181
|
tags?: string[] | undefined;
|
|
@@ -199,7 +199,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
199
199
|
must_read_if: string;
|
|
200
200
|
entities?: string[] | undefined;
|
|
201
201
|
id?: string | undefined;
|
|
202
|
-
knowledge_type?: "
|
|
202
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
203
203
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
204
204
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
205
205
|
layer_reason?: string | undefined;
|
|
@@ -209,10 +209,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
209
209
|
level: "L0" | "L1" | "L2";
|
|
210
210
|
required: boolean;
|
|
211
211
|
selectable: boolean;
|
|
212
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
212
213
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
213
214
|
relevance_paths?: string[] | undefined;
|
|
214
215
|
layer?: "personal" | "team" | undefined;
|
|
215
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
216
216
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
217
217
|
layer_reason?: string | undefined;
|
|
218
218
|
tags?: string[] | undefined;
|
|
@@ -236,7 +236,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
236
236
|
must_read_if: string;
|
|
237
237
|
entities?: string[] | undefined;
|
|
238
238
|
id?: string | undefined;
|
|
239
|
-
knowledge_type?: "
|
|
239
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
240
240
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
241
241
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
242
242
|
layer_reason?: string | undefined;
|
|
@@ -246,10 +246,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
246
246
|
level: "L0" | "L1" | "L2";
|
|
247
247
|
required: boolean;
|
|
248
248
|
selectable: boolean;
|
|
249
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
249
250
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
250
251
|
relevance_paths?: string[] | undefined;
|
|
251
252
|
layer?: "personal" | "team" | undefined;
|
|
252
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
253
253
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
254
254
|
layer_reason?: string | undefined;
|
|
255
255
|
tags?: string[] | undefined;
|
|
@@ -269,7 +269,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
269
269
|
must_read_if: z.ZodString;
|
|
270
270
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
271
271
|
id: z.ZodOptional<z.ZodString>;
|
|
272
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["
|
|
272
|
+
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
273
273
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
274
274
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
275
275
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -282,7 +282,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
282
282
|
must_read_if: string;
|
|
283
283
|
entities?: string[] | undefined;
|
|
284
284
|
id?: string | undefined;
|
|
285
|
-
knowledge_type?: "
|
|
285
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
286
286
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
287
287
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
288
288
|
layer_reason?: string | undefined;
|
|
@@ -295,13 +295,13 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
295
295
|
must_read_if: string;
|
|
296
296
|
entities?: string[] | undefined;
|
|
297
297
|
id?: string | undefined;
|
|
298
|
-
knowledge_type?: "
|
|
298
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
299
299
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
300
300
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
301
301
|
layer_reason?: string | undefined;
|
|
302
302
|
created_at?: string | undefined;
|
|
303
303
|
}>;
|
|
304
|
-
type: z.ZodOptional<z.ZodEnum<["
|
|
304
|
+
type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
305
305
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
306
306
|
layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
307
307
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -317,7 +317,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
317
317
|
must_read_if: string;
|
|
318
318
|
entities?: string[] | undefined;
|
|
319
319
|
id?: string | undefined;
|
|
320
|
-
knowledge_type?: "
|
|
320
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
321
321
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
322
322
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
323
323
|
layer_reason?: string | undefined;
|
|
@@ -327,10 +327,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
327
327
|
level: "L0" | "L1" | "L2";
|
|
328
328
|
required: boolean;
|
|
329
329
|
selectable: boolean;
|
|
330
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
330
331
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
331
332
|
relevance_paths?: string[] | undefined;
|
|
332
333
|
layer?: "personal" | "team" | undefined;
|
|
333
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
334
334
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
335
335
|
layer_reason?: string | undefined;
|
|
336
336
|
tags?: string[] | undefined;
|
|
@@ -343,7 +343,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
343
343
|
must_read_if: string;
|
|
344
344
|
entities?: string[] | undefined;
|
|
345
345
|
id?: string | undefined;
|
|
346
|
-
knowledge_type?: "
|
|
346
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
347
347
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
348
348
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
349
349
|
layer_reason?: string | undefined;
|
|
@@ -353,10 +353,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
353
353
|
level: "L0" | "L1" | "L2";
|
|
354
354
|
required: boolean;
|
|
355
355
|
selectable: boolean;
|
|
356
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
356
357
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
357
358
|
relevance_paths?: string[] | undefined;
|
|
358
359
|
layer?: "personal" | "team" | undefined;
|
|
359
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
360
360
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
361
361
|
layer_reason?: string | undefined;
|
|
362
362
|
tags?: string[] | undefined;
|
|
@@ -390,7 +390,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
390
390
|
must_read_if: string;
|
|
391
391
|
entities?: string[] | undefined;
|
|
392
392
|
id?: string | undefined;
|
|
393
|
-
knowledge_type?: "
|
|
393
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
394
394
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
395
395
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
396
396
|
layer_reason?: string | undefined;
|
|
@@ -400,10 +400,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
400
400
|
level: "L0" | "L1" | "L2";
|
|
401
401
|
required: boolean;
|
|
402
402
|
selectable: boolean;
|
|
403
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
403
404
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
404
405
|
relevance_paths?: string[] | undefined;
|
|
405
406
|
layer?: "personal" | "team" | undefined;
|
|
406
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
407
407
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
408
408
|
layer_reason?: string | undefined;
|
|
409
409
|
tags?: string[] | undefined;
|
|
@@ -425,7 +425,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
425
425
|
must_read_if: string;
|
|
426
426
|
entities?: string[] | undefined;
|
|
427
427
|
id?: string | undefined;
|
|
428
|
-
knowledge_type?: "
|
|
428
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
429
429
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
430
430
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
431
431
|
layer_reason?: string | undefined;
|
|
@@ -435,10 +435,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
435
435
|
level: "L0" | "L1" | "L2";
|
|
436
436
|
required: boolean;
|
|
437
437
|
selectable: boolean;
|
|
438
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
438
439
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
439
440
|
relevance_paths?: string[] | undefined;
|
|
440
441
|
layer?: "personal" | "team" | undefined;
|
|
441
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
442
442
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
443
443
|
layer_reason?: string | undefined;
|
|
444
444
|
tags?: string[] | undefined;
|
|
@@ -457,20 +457,19 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
457
457
|
line: z.ZodOptional<z.ZodNumber>;
|
|
458
458
|
action_hint: z.ZodString;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
file: string;
|
|
461
460
|
code: string;
|
|
461
|
+
file: string;
|
|
462
462
|
action_hint: string;
|
|
463
463
|
line?: number | undefined;
|
|
464
464
|
}, {
|
|
465
|
-
file: string;
|
|
466
465
|
code: string;
|
|
466
|
+
file: string;
|
|
467
467
|
action_hint: string;
|
|
468
468
|
line?: number | undefined;
|
|
469
469
|
}>, "many">>;
|
|
470
470
|
auto_healed: z.ZodOptional<z.ZodBoolean>;
|
|
471
471
|
previous_revision_hash: z.ZodOptional<z.ZodString>;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
stale: boolean;
|
|
474
473
|
entries: {
|
|
475
474
|
path: string;
|
|
476
475
|
requirement_profile: {
|
|
@@ -490,7 +489,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
490
489
|
must_read_if: string;
|
|
491
490
|
entities?: string[] | undefined;
|
|
492
491
|
id?: string | undefined;
|
|
493
|
-
knowledge_type?: "
|
|
492
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
494
493
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
495
494
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
496
495
|
layer_reason?: string | undefined;
|
|
@@ -500,15 +499,16 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
500
499
|
level: "L0" | "L1" | "L2";
|
|
501
500
|
required: boolean;
|
|
502
501
|
selectable: boolean;
|
|
502
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
503
503
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
504
504
|
relevance_paths?: string[] | undefined;
|
|
505
505
|
layer?: "personal" | "team" | undefined;
|
|
506
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
507
506
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
508
507
|
layer_reason?: string | undefined;
|
|
509
508
|
tags?: string[] | undefined;
|
|
510
509
|
}[];
|
|
511
510
|
}[];
|
|
511
|
+
stale: boolean;
|
|
512
512
|
revision_hash: string;
|
|
513
513
|
selection_token: string;
|
|
514
514
|
shared: {
|
|
@@ -521,7 +521,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
521
521
|
must_read_if: string;
|
|
522
522
|
entities?: string[] | undefined;
|
|
523
523
|
id?: string | undefined;
|
|
524
|
-
knowledge_type?: "
|
|
524
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
525
525
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
526
526
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
527
527
|
layer_reason?: string | undefined;
|
|
@@ -531,10 +531,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
531
531
|
level: "L0" | "L1" | "L2";
|
|
532
532
|
required: boolean;
|
|
533
533
|
selectable: boolean;
|
|
534
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
534
535
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
535
536
|
relevance_paths?: string[] | undefined;
|
|
536
537
|
layer?: "personal" | "team" | undefined;
|
|
537
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
538
538
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
539
539
|
layer_reason?: string | undefined;
|
|
540
540
|
tags?: string[] | undefined;
|
|
@@ -548,15 +548,14 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
548
548
|
}[];
|
|
549
549
|
};
|
|
550
550
|
warnings?: {
|
|
551
|
-
file: string;
|
|
552
551
|
code: string;
|
|
552
|
+
file: string;
|
|
553
553
|
action_hint: string;
|
|
554
554
|
line?: number | undefined;
|
|
555
555
|
}[] | undefined;
|
|
556
556
|
auto_healed?: boolean | undefined;
|
|
557
557
|
previous_revision_hash?: string | undefined;
|
|
558
558
|
}, {
|
|
559
|
-
stale: boolean;
|
|
560
559
|
entries: {
|
|
561
560
|
path: string;
|
|
562
561
|
requirement_profile: {
|
|
@@ -576,7 +575,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
576
575
|
must_read_if: string;
|
|
577
576
|
entities?: string[] | undefined;
|
|
578
577
|
id?: string | undefined;
|
|
579
|
-
knowledge_type?: "
|
|
578
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
580
579
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
581
580
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
582
581
|
layer_reason?: string | undefined;
|
|
@@ -586,15 +585,16 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
586
585
|
level: "L0" | "L1" | "L2";
|
|
587
586
|
required: boolean;
|
|
588
587
|
selectable: boolean;
|
|
588
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
589
589
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
590
590
|
relevance_paths?: string[] | undefined;
|
|
591
591
|
layer?: "personal" | "team" | undefined;
|
|
592
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
593
592
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
594
593
|
layer_reason?: string | undefined;
|
|
595
594
|
tags?: string[] | undefined;
|
|
596
595
|
}[];
|
|
597
596
|
}[];
|
|
597
|
+
stale: boolean;
|
|
598
598
|
revision_hash: string;
|
|
599
599
|
selection_token: string;
|
|
600
600
|
shared: {
|
|
@@ -607,7 +607,7 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
607
607
|
must_read_if: string;
|
|
608
608
|
entities?: string[] | undefined;
|
|
609
609
|
id?: string | undefined;
|
|
610
|
-
knowledge_type?: "
|
|
610
|
+
knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
611
611
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
612
612
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
613
613
|
layer_reason?: string | undefined;
|
|
@@ -617,10 +617,10 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
617
617
|
level: "L0" | "L1" | "L2";
|
|
618
618
|
required: boolean;
|
|
619
619
|
selectable: boolean;
|
|
620
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
620
621
|
relevance_scope?: "narrow" | "broad" | undefined;
|
|
621
622
|
relevance_paths?: string[] | undefined;
|
|
622
623
|
layer?: "personal" | "team" | undefined;
|
|
623
|
-
type?: "model" | "decision" | "guideline" | "pitfall" | "process" | undefined;
|
|
624
624
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
625
625
|
layer_reason?: string | undefined;
|
|
626
626
|
tags?: string[] | undefined;
|
|
@@ -634,8 +634,8 @@ declare const planContextOutputSchema: z.ZodObject<{
|
|
|
634
634
|
}[];
|
|
635
635
|
};
|
|
636
636
|
warnings?: {
|
|
637
|
-
file: string;
|
|
638
637
|
code: string;
|
|
638
|
+
file: string;
|
|
639
639
|
action_hint: string;
|
|
640
640
|
line?: number | undefined;
|
|
641
641
|
}[] | undefined;
|
|
@@ -787,13 +787,13 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
|
|
|
787
787
|
line: z.ZodOptional<z.ZodNumber>;
|
|
788
788
|
action_hint: z.ZodString;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
file: string;
|
|
791
790
|
code: string;
|
|
791
|
+
file: string;
|
|
792
792
|
action_hint: string;
|
|
793
793
|
line?: number | undefined;
|
|
794
794
|
}, {
|
|
795
|
-
file: string;
|
|
796
795
|
code: string;
|
|
796
|
+
file: string;
|
|
797
797
|
action_hint: string;
|
|
798
798
|
line?: number | undefined;
|
|
799
799
|
}>, "many">>;
|
|
@@ -813,8 +813,8 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
|
|
|
813
813
|
severity: "warn";
|
|
814
814
|
}[];
|
|
815
815
|
warnings?: {
|
|
816
|
-
file: string;
|
|
817
816
|
code: string;
|
|
817
|
+
file: string;
|
|
818
818
|
action_hint: string;
|
|
819
819
|
line?: number | undefined;
|
|
820
820
|
}[] | undefined;
|
|
@@ -838,8 +838,8 @@ declare const knowledgeSectionsOutputSchema: z.ZodObject<{
|
|
|
838
838
|
severity: "warn";
|
|
839
839
|
}[];
|
|
840
840
|
warnings?: {
|
|
841
|
-
file: string;
|
|
842
841
|
code: string;
|
|
842
|
+
file: string;
|
|
843
843
|
action_hint: string;
|
|
844
844
|
line?: number | undefined;
|
|
845
845
|
}[] | undefined;
|
|
@@ -875,9 +875,9 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
875
875
|
must_read_if: z.ZodOptional<z.ZodString>;
|
|
876
876
|
onboard_slot: z.ZodOptional<z.ZodEnum<["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"]>>;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
878
879
|
proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
|
|
879
880
|
session_context: string;
|
|
880
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
881
881
|
recent_paths: string[];
|
|
882
882
|
user_messages_summary: string;
|
|
883
883
|
slug: string;
|
|
@@ -891,9 +891,9 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
891
891
|
must_read_if?: string | undefined;
|
|
892
892
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
893
893
|
}, {
|
|
894
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
894
895
|
proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
|
|
895
896
|
session_context: string;
|
|
896
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
897
897
|
recent_paths: string[];
|
|
898
898
|
user_messages_summary: string;
|
|
899
899
|
slug: string;
|
|
@@ -907,9 +907,9 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
907
907
|
must_read_if?: string | undefined;
|
|
908
908
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
909
909
|
}>, {
|
|
910
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
910
911
|
proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
|
|
911
912
|
session_context: string;
|
|
912
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
913
913
|
recent_paths: string[];
|
|
914
914
|
user_messages_summary: string;
|
|
915
915
|
slug: string;
|
|
@@ -923,9 +923,9 @@ declare const FabExtractKnowledgeInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
923
923
|
must_read_if?: string | undefined;
|
|
924
924
|
onboard_slot?: "tech-stack-decision" | "architecture-pattern" | "code-style-tone" | "build-system-idiom" | "domain-vocabulary" | undefined;
|
|
925
925
|
}, {
|
|
926
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
926
927
|
proposed_reason: "explicit-user-mark" | "diagnostic-then-fix" | "decision-confirmation" | "wrong-turn-revert" | "new-dependency-or-pattern" | "dismissal-with-reason";
|
|
927
928
|
session_context: string;
|
|
928
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
929
929
|
recent_paths: string[];
|
|
930
930
|
user_messages_summary: string;
|
|
931
931
|
slug: string;
|
|
@@ -966,13 +966,13 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
|
|
|
966
966
|
line: z.ZodOptional<z.ZodNumber>;
|
|
967
967
|
action_hint: z.ZodString;
|
|
968
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
file: string;
|
|
970
969
|
code: string;
|
|
970
|
+
file: string;
|
|
971
971
|
action_hint: string;
|
|
972
972
|
line?: number | undefined;
|
|
973
973
|
}, {
|
|
974
|
-
file: string;
|
|
975
974
|
code: string;
|
|
975
|
+
file: string;
|
|
976
976
|
action_hint: string;
|
|
977
977
|
line?: number | undefined;
|
|
978
978
|
}>, "many">>;
|
|
@@ -980,8 +980,8 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
|
|
|
980
980
|
pending_path: string;
|
|
981
981
|
idempotency_key: string;
|
|
982
982
|
warnings?: {
|
|
983
|
-
file: string;
|
|
984
983
|
code: string;
|
|
984
|
+
file: string;
|
|
985
985
|
action_hint: string;
|
|
986
986
|
line?: number | undefined;
|
|
987
987
|
}[] | undefined;
|
|
@@ -989,8 +989,8 @@ declare const FabExtractKnowledgeOutputSchema: z.ZodObject<{
|
|
|
989
989
|
pending_path: string;
|
|
990
990
|
idempotency_key: string;
|
|
991
991
|
warnings?: {
|
|
992
|
-
file: string;
|
|
993
992
|
code: string;
|
|
993
|
+
file: string;
|
|
994
994
|
action_hint: string;
|
|
995
995
|
line?: number | undefined;
|
|
996
996
|
}[] | undefined;
|
|
@@ -1015,8 +1015,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1015
1015
|
include_deferred: z.ZodOptional<z.ZodBoolean>;
|
|
1016
1016
|
include_body: z.ZodOptional<z.ZodBoolean>;
|
|
1017
1017
|
}, "strip", z.ZodTypeAny, {
|
|
1018
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1018
1019
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1019
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1020
1020
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1021
1021
|
tags?: string[] | undefined;
|
|
1022
1022
|
created_after?: string | undefined;
|
|
@@ -1024,8 +1024,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1024
1024
|
include_deferred?: boolean | undefined;
|
|
1025
1025
|
include_body?: boolean | undefined;
|
|
1026
1026
|
}, {
|
|
1027
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1027
1028
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1028
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1029
1029
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1030
1030
|
tags?: string[] | undefined;
|
|
1031
1031
|
created_after?: string | undefined;
|
|
@@ -1036,8 +1036,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1036
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1037
|
action: "list";
|
|
1038
1038
|
filters?: {
|
|
1039
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1039
1040
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1040
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1041
1041
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1042
1042
|
tags?: string[] | undefined;
|
|
1043
1043
|
created_after?: string | undefined;
|
|
@@ -1048,8 +1048,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1048
1048
|
}, {
|
|
1049
1049
|
action: "list";
|
|
1050
1050
|
filters?: {
|
|
1051
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1051
1052
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1052
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1053
1053
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1054
1054
|
tags?: string[] | undefined;
|
|
1055
1055
|
created_after?: string | undefined;
|
|
@@ -1143,8 +1143,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1143
1143
|
include_deferred: z.ZodOptional<z.ZodBoolean>;
|
|
1144
1144
|
include_body: z.ZodOptional<z.ZodBoolean>;
|
|
1145
1145
|
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1146
1147
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1147
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1148
1148
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1149
1149
|
tags?: string[] | undefined;
|
|
1150
1150
|
created_after?: string | undefined;
|
|
@@ -1152,8 +1152,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1152
1152
|
include_deferred?: boolean | undefined;
|
|
1153
1153
|
include_body?: boolean | undefined;
|
|
1154
1154
|
}, {
|
|
1155
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1155
1156
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1156
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1157
1157
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1158
1158
|
tags?: string[] | undefined;
|
|
1159
1159
|
created_after?: string | undefined;
|
|
@@ -1165,8 +1165,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1165
1165
|
action: "search";
|
|
1166
1166
|
query: string;
|
|
1167
1167
|
filters?: {
|
|
1168
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1168
1169
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1169
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1170
1170
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1171
1171
|
tags?: string[] | undefined;
|
|
1172
1172
|
created_after?: string | undefined;
|
|
@@ -1178,8 +1178,8 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
|
|
|
1178
1178
|
action: "search";
|
|
1179
1179
|
query: string;
|
|
1180
1180
|
filters?: {
|
|
1181
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1181
1182
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1182
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1183
1183
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1184
1184
|
tags?: string[] | undefined;
|
|
1185
1185
|
created_after?: string | undefined;
|
|
@@ -1216,8 +1216,8 @@ declare const FabReviewInputShape: {
|
|
|
1216
1216
|
include_deferred: z.ZodOptional<z.ZodBoolean>;
|
|
1217
1217
|
include_body: z.ZodOptional<z.ZodBoolean>;
|
|
1218
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1219
1220
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1220
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1221
1221
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1222
1222
|
tags?: string[] | undefined;
|
|
1223
1223
|
created_after?: string | undefined;
|
|
@@ -1225,8 +1225,8 @@ declare const FabReviewInputShape: {
|
|
|
1225
1225
|
include_deferred?: boolean | undefined;
|
|
1226
1226
|
include_body?: boolean | undefined;
|
|
1227
1227
|
}, {
|
|
1228
|
+
type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
|
|
1228
1229
|
layer?: "personal" | "team" | "both" | undefined;
|
|
1229
|
-
type?: "decisions" | "pitfalls" | "guidelines" | "models" | "processes" | undefined;
|
|
1230
1230
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
1231
1231
|
tags?: string[] | undefined;
|
|
1232
1232
|
created_after?: string | undefined;
|
|
@@ -1281,9 +1281,9 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1281
1281
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1282
1282
|
body: z.ZodOptional<z.ZodString>;
|
|
1283
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1284
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1284
1285
|
layer: "personal" | "team";
|
|
1285
1286
|
pending_path: string;
|
|
1286
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1287
1287
|
maturity: "draft" | "verified" | "proven";
|
|
1288
1288
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1289
1289
|
summary?: string | undefined;
|
|
@@ -1294,9 +1294,9 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1294
1294
|
origin?: "personal" | "team" | undefined;
|
|
1295
1295
|
deferred_until?: string | undefined;
|
|
1296
1296
|
}, {
|
|
1297
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1297
1298
|
layer: "personal" | "team";
|
|
1298
1299
|
pending_path: string;
|
|
1299
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1300
1300
|
maturity: "draft" | "verified" | "proven";
|
|
1301
1301
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1302
1302
|
summary?: string | undefined;
|
|
@@ -1313,22 +1313,22 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1313
1313
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1314
1314
|
action_hint: z.ZodString;
|
|
1315
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1316
|
-
file: string;
|
|
1317
1316
|
code: string;
|
|
1317
|
+
file: string;
|
|
1318
1318
|
action_hint: string;
|
|
1319
1319
|
line?: number | undefined;
|
|
1320
1320
|
}, {
|
|
1321
|
-
file: string;
|
|
1322
1321
|
code: string;
|
|
1322
|
+
file: string;
|
|
1323
1323
|
action_hint: string;
|
|
1324
1324
|
line?: number | undefined;
|
|
1325
1325
|
}>, "many">>;
|
|
1326
1326
|
}, "strip", z.ZodTypeAny, {
|
|
1327
1327
|
action: "list";
|
|
1328
1328
|
items: {
|
|
1329
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1329
1330
|
layer: "personal" | "team";
|
|
1330
1331
|
pending_path: string;
|
|
1331
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1332
1332
|
maturity: "draft" | "verified" | "proven";
|
|
1333
1333
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1334
1334
|
summary?: string | undefined;
|
|
@@ -1340,17 +1340,17 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1340
1340
|
deferred_until?: string | undefined;
|
|
1341
1341
|
}[];
|
|
1342
1342
|
warnings?: {
|
|
1343
|
-
file: string;
|
|
1344
1343
|
code: string;
|
|
1344
|
+
file: string;
|
|
1345
1345
|
action_hint: string;
|
|
1346
1346
|
line?: number | undefined;
|
|
1347
1347
|
}[] | undefined;
|
|
1348
1348
|
}, {
|
|
1349
1349
|
action: "list";
|
|
1350
1350
|
items: {
|
|
1351
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1351
1352
|
layer: "personal" | "team";
|
|
1352
1353
|
pending_path: string;
|
|
1353
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1354
1354
|
maturity: "draft" | "verified" | "proven";
|
|
1355
1355
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1356
1356
|
summary?: string | undefined;
|
|
@@ -1362,8 +1362,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1362
1362
|
deferred_until?: string | undefined;
|
|
1363
1363
|
}[];
|
|
1364
1364
|
warnings?: {
|
|
1365
|
-
file: string;
|
|
1366
1365
|
code: string;
|
|
1366
|
+
file: string;
|
|
1367
1367
|
action_hint: string;
|
|
1368
1368
|
line?: number | undefined;
|
|
1369
1369
|
}[] | undefined;
|
|
@@ -1385,13 +1385,13 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1385
1385
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1386
1386
|
action_hint: z.ZodString;
|
|
1387
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1388
|
-
file: string;
|
|
1389
1388
|
code: string;
|
|
1389
|
+
file: string;
|
|
1390
1390
|
action_hint: string;
|
|
1391
1391
|
line?: number | undefined;
|
|
1392
1392
|
}, {
|
|
1393
|
-
file: string;
|
|
1394
1393
|
code: string;
|
|
1394
|
+
file: string;
|
|
1395
1395
|
action_hint: string;
|
|
1396
1396
|
line?: number | undefined;
|
|
1397
1397
|
}>, "many">>;
|
|
@@ -1402,8 +1402,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1402
1402
|
}[];
|
|
1403
1403
|
action: "approve";
|
|
1404
1404
|
warnings?: {
|
|
1405
|
-
file: string;
|
|
1406
1405
|
code: string;
|
|
1406
|
+
file: string;
|
|
1407
1407
|
action_hint: string;
|
|
1408
1408
|
line?: number | undefined;
|
|
1409
1409
|
}[] | undefined;
|
|
@@ -1414,8 +1414,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1414
1414
|
}[];
|
|
1415
1415
|
action: "approve";
|
|
1416
1416
|
warnings?: {
|
|
1417
|
-
file: string;
|
|
1418
1417
|
code: string;
|
|
1418
|
+
file: string;
|
|
1419
1419
|
action_hint: string;
|
|
1420
1420
|
line?: number | undefined;
|
|
1421
1421
|
}[] | undefined;
|
|
@@ -1428,13 +1428,13 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1428
1428
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1429
1429
|
action_hint: z.ZodString;
|
|
1430
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1431
|
-
file: string;
|
|
1432
1431
|
code: string;
|
|
1432
|
+
file: string;
|
|
1433
1433
|
action_hint: string;
|
|
1434
1434
|
line?: number | undefined;
|
|
1435
1435
|
}, {
|
|
1436
|
-
file: string;
|
|
1437
1436
|
code: string;
|
|
1437
|
+
file: string;
|
|
1438
1438
|
action_hint: string;
|
|
1439
1439
|
line?: number | undefined;
|
|
1440
1440
|
}>, "many">>;
|
|
@@ -1442,8 +1442,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1442
1442
|
action: "reject";
|
|
1443
1443
|
rejected: string[];
|
|
1444
1444
|
warnings?: {
|
|
1445
|
-
file: string;
|
|
1446
1445
|
code: string;
|
|
1446
|
+
file: string;
|
|
1447
1447
|
action_hint: string;
|
|
1448
1448
|
line?: number | undefined;
|
|
1449
1449
|
}[] | undefined;
|
|
@@ -1451,8 +1451,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1451
1451
|
action: "reject";
|
|
1452
1452
|
rejected: string[];
|
|
1453
1453
|
warnings?: {
|
|
1454
|
-
file: string;
|
|
1455
1454
|
code: string;
|
|
1455
|
+
file: string;
|
|
1456
1456
|
action_hint: string;
|
|
1457
1457
|
line?: number | undefined;
|
|
1458
1458
|
}[] | undefined;
|
|
@@ -1467,13 +1467,13 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1467
1467
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1468
1468
|
action_hint: z.ZodString;
|
|
1469
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1470
|
-
file: string;
|
|
1471
1470
|
code: string;
|
|
1471
|
+
file: string;
|
|
1472
1472
|
action_hint: string;
|
|
1473
1473
|
line?: number | undefined;
|
|
1474
1474
|
}, {
|
|
1475
|
-
file: string;
|
|
1476
1475
|
code: string;
|
|
1476
|
+
file: string;
|
|
1477
1477
|
action_hint: string;
|
|
1478
1478
|
line?: number | undefined;
|
|
1479
1479
|
}>, "many">>;
|
|
@@ -1481,8 +1481,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1481
1481
|
pending_path: string;
|
|
1482
1482
|
action: "modify";
|
|
1483
1483
|
warnings?: {
|
|
1484
|
-
file: string;
|
|
1485
1484
|
code: string;
|
|
1485
|
+
file: string;
|
|
1486
1486
|
action_hint: string;
|
|
1487
1487
|
line?: number | undefined;
|
|
1488
1488
|
}[] | undefined;
|
|
@@ -1492,8 +1492,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1492
1492
|
pending_path: string;
|
|
1493
1493
|
action: "modify";
|
|
1494
1494
|
warnings?: {
|
|
1495
|
-
file: string;
|
|
1496
1495
|
code: string;
|
|
1496
|
+
file: string;
|
|
1497
1497
|
action_hint: string;
|
|
1498
1498
|
line?: number | undefined;
|
|
1499
1499
|
}[] | undefined;
|
|
@@ -1502,8 +1502,9 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1502
1502
|
}>, z.ZodObject<{
|
|
1503
1503
|
action: z.ZodLiteral<"search">;
|
|
1504
1504
|
items: z.ZodArray<z.ZodObject<{
|
|
1505
|
-
|
|
1506
|
-
|
|
1505
|
+
area: z.ZodEnum<["pending", "canonical"]>;
|
|
1506
|
+
path: z.ZodString;
|
|
1507
|
+
path_absolute: z.ZodOptional<z.ZodString>;
|
|
1507
1508
|
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1508
1509
|
layer: z.ZodEnum<["team", "personal"]>;
|
|
1509
1510
|
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
@@ -1514,32 +1515,37 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1514
1515
|
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1515
1516
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1516
1517
|
body: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
stable_id: z.ZodOptional<z.ZodString>;
|
|
1517
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1520
|
+
path: string;
|
|
1521
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1518
1522
|
layer: "personal" | "team";
|
|
1519
|
-
pending_path: string;
|
|
1520
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1521
1523
|
maturity: "draft" | "verified" | "proven";
|
|
1524
|
+
area: "canonical" | "pending";
|
|
1522
1525
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1523
1526
|
summary?: string | undefined;
|
|
1527
|
+
stable_id?: string | undefined;
|
|
1524
1528
|
tags?: string[] | undefined;
|
|
1525
1529
|
body?: string | undefined;
|
|
1526
1530
|
title?: string | undefined;
|
|
1527
|
-
pending_path_absolute?: string | undefined;
|
|
1528
1531
|
origin?: "personal" | "team" | undefined;
|
|
1529
1532
|
deferred_until?: string | undefined;
|
|
1533
|
+
path_absolute?: string | undefined;
|
|
1530
1534
|
}, {
|
|
1535
|
+
path: string;
|
|
1536
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1531
1537
|
layer: "personal" | "team";
|
|
1532
|
-
pending_path: string;
|
|
1533
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1534
1538
|
maturity: "draft" | "verified" | "proven";
|
|
1539
|
+
area: "canonical" | "pending";
|
|
1535
1540
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1536
1541
|
summary?: string | undefined;
|
|
1542
|
+
stable_id?: string | undefined;
|
|
1537
1543
|
tags?: string[] | undefined;
|
|
1538
1544
|
body?: string | undefined;
|
|
1539
1545
|
title?: string | undefined;
|
|
1540
|
-
pending_path_absolute?: string | undefined;
|
|
1541
1546
|
origin?: "personal" | "team" | undefined;
|
|
1542
1547
|
deferred_until?: string | undefined;
|
|
1548
|
+
path_absolute?: string | undefined;
|
|
1543
1549
|
}>, "many">;
|
|
1544
1550
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1545
1551
|
code: z.ZodString;
|
|
@@ -1547,57 +1553,61 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1547
1553
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1548
1554
|
action_hint: z.ZodString;
|
|
1549
1555
|
}, "strip", z.ZodTypeAny, {
|
|
1550
|
-
file: string;
|
|
1551
1556
|
code: string;
|
|
1557
|
+
file: string;
|
|
1552
1558
|
action_hint: string;
|
|
1553
1559
|
line?: number | undefined;
|
|
1554
1560
|
}, {
|
|
1555
|
-
file: string;
|
|
1556
1561
|
code: string;
|
|
1562
|
+
file: string;
|
|
1557
1563
|
action_hint: string;
|
|
1558
1564
|
line?: number | undefined;
|
|
1559
1565
|
}>, "many">>;
|
|
1560
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1561
1567
|
action: "search";
|
|
1562
1568
|
items: {
|
|
1569
|
+
path: string;
|
|
1570
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1563
1571
|
layer: "personal" | "team";
|
|
1564
|
-
pending_path: string;
|
|
1565
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1566
1572
|
maturity: "draft" | "verified" | "proven";
|
|
1573
|
+
area: "canonical" | "pending";
|
|
1567
1574
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1568
1575
|
summary?: string | undefined;
|
|
1576
|
+
stable_id?: string | undefined;
|
|
1569
1577
|
tags?: string[] | undefined;
|
|
1570
1578
|
body?: string | undefined;
|
|
1571
1579
|
title?: string | undefined;
|
|
1572
|
-
pending_path_absolute?: string | undefined;
|
|
1573
1580
|
origin?: "personal" | "team" | undefined;
|
|
1574
1581
|
deferred_until?: string | undefined;
|
|
1582
|
+
path_absolute?: string | undefined;
|
|
1575
1583
|
}[];
|
|
1576
1584
|
warnings?: {
|
|
1577
|
-
file: string;
|
|
1578
1585
|
code: string;
|
|
1586
|
+
file: string;
|
|
1579
1587
|
action_hint: string;
|
|
1580
1588
|
line?: number | undefined;
|
|
1581
1589
|
}[] | undefined;
|
|
1582
1590
|
}, {
|
|
1583
1591
|
action: "search";
|
|
1584
1592
|
items: {
|
|
1593
|
+
path: string;
|
|
1594
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1585
1595
|
layer: "personal" | "team";
|
|
1586
|
-
pending_path: string;
|
|
1587
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1588
1596
|
maturity: "draft" | "verified" | "proven";
|
|
1597
|
+
area: "canonical" | "pending";
|
|
1589
1598
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1590
1599
|
summary?: string | undefined;
|
|
1600
|
+
stable_id?: string | undefined;
|
|
1591
1601
|
tags?: string[] | undefined;
|
|
1592
1602
|
body?: string | undefined;
|
|
1593
1603
|
title?: string | undefined;
|
|
1594
|
-
pending_path_absolute?: string | undefined;
|
|
1595
1604
|
origin?: "personal" | "team" | undefined;
|
|
1596
1605
|
deferred_until?: string | undefined;
|
|
1606
|
+
path_absolute?: string | undefined;
|
|
1597
1607
|
}[];
|
|
1598
1608
|
warnings?: {
|
|
1599
|
-
file: string;
|
|
1600
1609
|
code: string;
|
|
1610
|
+
file: string;
|
|
1601
1611
|
action_hint: string;
|
|
1602
1612
|
line?: number | undefined;
|
|
1603
1613
|
}[] | undefined;
|
|
@@ -1610,13 +1620,13 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1610
1620
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1611
1621
|
action_hint: z.ZodString;
|
|
1612
1622
|
}, "strip", z.ZodTypeAny, {
|
|
1613
|
-
file: string;
|
|
1614
1623
|
code: string;
|
|
1624
|
+
file: string;
|
|
1615
1625
|
action_hint: string;
|
|
1616
1626
|
line?: number | undefined;
|
|
1617
1627
|
}, {
|
|
1618
|
-
file: string;
|
|
1619
1628
|
code: string;
|
|
1629
|
+
file: string;
|
|
1620
1630
|
action_hint: string;
|
|
1621
1631
|
line?: number | undefined;
|
|
1622
1632
|
}>, "many">>;
|
|
@@ -1624,8 +1634,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1624
1634
|
action: "defer";
|
|
1625
1635
|
deferred: string[];
|
|
1626
1636
|
warnings?: {
|
|
1627
|
-
file: string;
|
|
1628
1637
|
code: string;
|
|
1638
|
+
file: string;
|
|
1629
1639
|
action_hint: string;
|
|
1630
1640
|
line?: number | undefined;
|
|
1631
1641
|
}[] | undefined;
|
|
@@ -1633,8 +1643,8 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1633
1643
|
action: "defer";
|
|
1634
1644
|
deferred: string[];
|
|
1635
1645
|
warnings?: {
|
|
1636
|
-
file: string;
|
|
1637
1646
|
code: string;
|
|
1647
|
+
file: string;
|
|
1638
1648
|
action_hint: string;
|
|
1639
1649
|
line?: number | undefined;
|
|
1640
1650
|
}[] | undefined;
|
|
@@ -1642,7 +1652,7 @@ declare const FabReviewOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObj
|
|
|
1642
1652
|
type FabReviewOutput = z.infer<typeof FabReviewOutputSchema>;
|
|
1643
1653
|
declare const FabReviewOutputShape: {
|
|
1644
1654
|
readonly action: z.ZodEnum<["list", "approve", "reject", "modify", "search", "defer"]>;
|
|
1645
|
-
readonly items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1655
|
+
readonly items: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1646
1656
|
pending_path: z.ZodString;
|
|
1647
1657
|
pending_path_absolute: z.ZodOptional<z.ZodString>;
|
|
1648
1658
|
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
@@ -1656,9 +1666,9 @@ declare const FabReviewOutputShape: {
|
|
|
1656
1666
|
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1657
1667
|
body: z.ZodOptional<z.ZodString>;
|
|
1658
1668
|
}, "strip", z.ZodTypeAny, {
|
|
1669
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1659
1670
|
layer: "personal" | "team";
|
|
1660
1671
|
pending_path: string;
|
|
1661
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1662
1672
|
maturity: "draft" | "verified" | "proven";
|
|
1663
1673
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1664
1674
|
summary?: string | undefined;
|
|
@@ -1669,9 +1679,9 @@ declare const FabReviewOutputShape: {
|
|
|
1669
1679
|
origin?: "personal" | "team" | undefined;
|
|
1670
1680
|
deferred_until?: string | undefined;
|
|
1671
1681
|
}, {
|
|
1682
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1672
1683
|
layer: "personal" | "team";
|
|
1673
1684
|
pending_path: string;
|
|
1674
|
-
type: "decisions" | "pitfalls" | "guidelines" | "models" | "processes";
|
|
1675
1685
|
maturity: "draft" | "verified" | "proven";
|
|
1676
1686
|
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1677
1687
|
summary?: string | undefined;
|
|
@@ -1681,7 +1691,52 @@ declare const FabReviewOutputShape: {
|
|
|
1681
1691
|
pending_path_absolute?: string | undefined;
|
|
1682
1692
|
origin?: "personal" | "team" | undefined;
|
|
1683
1693
|
deferred_until?: string | undefined;
|
|
1684
|
-
}>,
|
|
1694
|
+
}>, z.ZodObject<{
|
|
1695
|
+
area: z.ZodEnum<["pending", "canonical"]>;
|
|
1696
|
+
path: z.ZodString;
|
|
1697
|
+
path_absolute: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
type: z.ZodEnum<["decisions", "pitfalls", "guidelines", "models", "processes"]>;
|
|
1699
|
+
layer: z.ZodEnum<["team", "personal"]>;
|
|
1700
|
+
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
1701
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1702
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
origin: z.ZodOptional<z.ZodEnum<["team", "personal"]>>;
|
|
1705
|
+
status: z.ZodOptional<z.ZodEnum<["active", "rejected", "deferred"]>>;
|
|
1706
|
+
deferred_until: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
stable_id: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}, "strip", z.ZodTypeAny, {
|
|
1710
|
+
path: string;
|
|
1711
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1712
|
+
layer: "personal" | "team";
|
|
1713
|
+
maturity: "draft" | "verified" | "proven";
|
|
1714
|
+
area: "canonical" | "pending";
|
|
1715
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1716
|
+
summary?: string | undefined;
|
|
1717
|
+
stable_id?: string | undefined;
|
|
1718
|
+
tags?: string[] | undefined;
|
|
1719
|
+
body?: string | undefined;
|
|
1720
|
+
title?: string | undefined;
|
|
1721
|
+
origin?: "personal" | "team" | undefined;
|
|
1722
|
+
deferred_until?: string | undefined;
|
|
1723
|
+
path_absolute?: string | undefined;
|
|
1724
|
+
}, {
|
|
1725
|
+
path: string;
|
|
1726
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
1727
|
+
layer: "personal" | "team";
|
|
1728
|
+
maturity: "draft" | "verified" | "proven";
|
|
1729
|
+
area: "canonical" | "pending";
|
|
1730
|
+
status?: "active" | "rejected" | "deferred" | undefined;
|
|
1731
|
+
summary?: string | undefined;
|
|
1732
|
+
stable_id?: string | undefined;
|
|
1733
|
+
tags?: string[] | undefined;
|
|
1734
|
+
body?: string | undefined;
|
|
1735
|
+
title?: string | undefined;
|
|
1736
|
+
origin?: "personal" | "team" | undefined;
|
|
1737
|
+
deferred_until?: string | undefined;
|
|
1738
|
+
path_absolute?: string | undefined;
|
|
1739
|
+
}>]>, "many">>;
|
|
1685
1740
|
readonly approved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1686
1741
|
pending_path: z.ZodString;
|
|
1687
1742
|
stable_id: z.ZodString;
|
|
@@ -1703,13 +1758,13 @@ declare const FabReviewOutputShape: {
|
|
|
1703
1758
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1704
1759
|
action_hint: z.ZodString;
|
|
1705
1760
|
}, "strip", z.ZodTypeAny, {
|
|
1706
|
-
file: string;
|
|
1707
1761
|
code: string;
|
|
1762
|
+
file: string;
|
|
1708
1763
|
action_hint: string;
|
|
1709
1764
|
line?: number | undefined;
|
|
1710
1765
|
}, {
|
|
1711
|
-
file: string;
|
|
1712
1766
|
code: string;
|
|
1767
|
+
file: string;
|
|
1713
1768
|
action_hint: string;
|
|
1714
1769
|
line?: number | undefined;
|
|
1715
1770
|
}>, "many">>;
|
|
@@ -1848,7 +1903,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
|
|
|
1848
1903
|
marker_ts: number;
|
|
1849
1904
|
marker_emitted_now: boolean;
|
|
1850
1905
|
since_ts: number;
|
|
1851
|
-
client_filter: "
|
|
1906
|
+
client_filter: "cursor" | "all" | "cc" | "codex";
|
|
1852
1907
|
metrics: {
|
|
1853
1908
|
edits_touched: number;
|
|
1854
1909
|
qualifying_cites: number;
|
|
@@ -1887,7 +1942,7 @@ declare const citeCoverageReportSchema: z.ZodObject<{
|
|
|
1887
1942
|
marker_ts: number;
|
|
1888
1943
|
marker_emitted_now: boolean;
|
|
1889
1944
|
since_ts: number;
|
|
1890
|
-
client_filter: "
|
|
1945
|
+
client_filter: "cursor" | "all" | "cc" | "codex";
|
|
1891
1946
|
metrics: {
|
|
1892
1947
|
edits_touched: number;
|
|
1893
1948
|
qualifying_cites: number;
|
|
@@ -1983,7 +2038,7 @@ declare const annotateIntentRequestSchema: z.ZodObject<{
|
|
|
1983
2038
|
ledger_entry_id: string;
|
|
1984
2039
|
annotation: string;
|
|
1985
2040
|
}>;
|
|
1986
|
-
declare const KnowledgeTypeSchema: z.ZodEnum<["
|
|
2041
|
+
declare const KnowledgeTypeSchema: z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>;
|
|
1987
2042
|
type KnowledgeType = z.infer<typeof KnowledgeTypeSchema>;
|
|
1988
2043
|
declare const MaturitySchema: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
1989
2044
|
type Maturity = z.infer<typeof MaturitySchema>;
|
|
@@ -1993,21 +2048,21 @@ declare const StableIdSchema: z.ZodString;
|
|
|
1993
2048
|
type StableId = z.infer<typeof StableIdSchema>;
|
|
1994
2049
|
declare const KnowledgeEntryFrontmatterSchema: z.ZodObject<{
|
|
1995
2050
|
id: z.ZodString;
|
|
1996
|
-
type: z.ZodEnum<["
|
|
2051
|
+
type: z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>;
|
|
1997
2052
|
maturity: z.ZodEnum<["draft", "verified", "proven"]>;
|
|
1998
2053
|
layer: z.ZodEnum<["personal", "team"]>;
|
|
1999
2054
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
2000
2055
|
created_at: z.ZodString;
|
|
2001
2056
|
}, "strip", z.ZodTypeAny, {
|
|
2057
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
2002
2058
|
layer: "personal" | "team";
|
|
2003
|
-
type: "model" | "decision" | "guideline" | "pitfall" | "process";
|
|
2004
2059
|
id: string;
|
|
2005
2060
|
maturity: "draft" | "verified" | "proven";
|
|
2006
2061
|
created_at: string;
|
|
2007
2062
|
layer_reason?: string | undefined;
|
|
2008
2063
|
}, {
|
|
2064
|
+
type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
|
|
2009
2065
|
layer: "personal" | "team";
|
|
2010
|
-
type: "model" | "decision" | "guideline" | "pitfall" | "process";
|
|
2011
2066
|
id: string;
|
|
2012
2067
|
maturity: "draft" | "verified" | "proven";
|
|
2013
2068
|
created_at: string;
|
|
@@ -2015,11 +2070,11 @@ declare const KnowledgeEntryFrontmatterSchema: z.ZodObject<{
|
|
|
2015
2070
|
}>;
|
|
2016
2071
|
type KnowledgeEntryFrontmatter = z.infer<typeof KnowledgeEntryFrontmatterSchema>;
|
|
2017
2072
|
declare const KNOWLEDGE_TYPE_CODES: {
|
|
2018
|
-
readonly
|
|
2019
|
-
readonly
|
|
2020
|
-
readonly
|
|
2021
|
-
readonly
|
|
2022
|
-
readonly
|
|
2073
|
+
readonly models: "MOD";
|
|
2074
|
+
readonly decisions: "DEC";
|
|
2075
|
+
readonly guidelines: "GLD";
|
|
2076
|
+
readonly pitfalls: "PIT";
|
|
2077
|
+
readonly processes: "PRO";
|
|
2023
2078
|
};
|
|
2024
2079
|
type KnowledgeTypeCode = (typeof KNOWLEDGE_TYPE_CODES)[KnowledgeType];
|
|
2025
2080
|
declare function formatKnowledgeId(layer: Layer, type: KnowledgeType, counter: number): StableId;
|