@fenglimg/fabric-shared 2.0.0-rc.29 → 2.0.0-rc.33
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-225L7D4T.js → chunk-Z7UPW75I.js} +122 -32
- package/dist/i18n/index.js +1 -1
- package/dist/index-Crx0-0-9.d.ts +301 -0
- package/dist/index.d.ts +54 -210
- package/dist/index.js +98 -14
- package/dist/schemas/api-contracts.d.ts +84 -84
- package/dist/types/index.d.ts +2 -122
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentsMetaNode, AgentsIdentitySource, AgentsLayer, AgentsTopologyType, HumanLockEntry, AgentsMeta, LedgerEntry } from './
|
|
2
|
-
export { AgentsActivationTier, AgentsMetaCountersEnvelope, AgentsMetaKnowledgeTypeCounters, AgentsMetaNodeActivation, AiLedgerEntry, AuditMode, ClientPaths, DefaultLayerFilter, FabricConfig, FabricLanguage, HumanLedgerEntry, McpPayloadLimits, RuleDescription, RuleDescriptionIndexItem } from './
|
|
1
|
+
import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsLayer, c as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, d as AgentsMeta, L as LedgerEntry } from './index-Crx0-0-9.js';
|
|
2
|
+
export { e as AgentsActivationTier, g as AgentsMetaCountersEnvelope, h as AgentsMetaKnowledgeTypeCounters, i as AgentsMetaNodeActivation, j as AiLedgerEntry, k as AuditMode, C as ClientPaths, D as DefaultLayerFilter, F as FabricConfig, l as FabricLanguage, m as HumanLedgerEntry, M as McpPayloadLimits, R as RuleDescription, n as RuleDescriptionIndexItem, o as auditModeSchema, p as clientPathsSchema, q as defaultLayerFilterSchema, r as fabricLanguageSchema, s as mcpPayloadLimitsSchema, t as selectionTokenTtlMsSchema } from './index-Crx0-0-9.js';
|
|
3
3
|
export { Locale, Messages, PROTECTED_TOKENS, ProtectedToken, TranslationKey, Translator, createTranslator, defaultMessages, detectNodeLocale, enMessages, normalizeLocale, resolveFabricLocale, zhCNMessages } from './i18n/index.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { Layer, KnowledgeType, StableId } from './schemas/api-contracts.js';
|
|
@@ -26,7 +26,7 @@ declare const ruleDescriptionSchema: z.ZodObject<{
|
|
|
26
26
|
must_read_if: z.ZodString;
|
|
27
27
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
28
|
id: z.ZodOptional<z.ZodString>;
|
|
29
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
29
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
30
30
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
31
31
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
32
32
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -60,7 +60,7 @@ declare const ruleDescriptionSchema: z.ZodObject<{
|
|
|
60
60
|
relevance_paths?: string[] | undefined;
|
|
61
61
|
entities?: string[] | undefined;
|
|
62
62
|
id?: string | undefined;
|
|
63
|
-
knowledge_type?:
|
|
63
|
+
knowledge_type?: unknown;
|
|
64
64
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
65
65
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
66
66
|
layer_reason?: string | undefined;
|
|
@@ -80,7 +80,7 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
|
|
|
80
80
|
must_read_if: z.ZodString;
|
|
81
81
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
82
|
id: z.ZodOptional<z.ZodString>;
|
|
83
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
83
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
84
84
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
85
85
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
86
86
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -114,7 +114,7 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
|
|
|
114
114
|
relevance_paths?: string[] | undefined;
|
|
115
115
|
entities?: string[] | undefined;
|
|
116
116
|
id?: string | undefined;
|
|
117
|
-
knowledge_type?:
|
|
117
|
+
knowledge_type?: unknown;
|
|
118
118
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
119
119
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
120
120
|
layer_reason?: string | undefined;
|
|
@@ -154,7 +154,7 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
|
|
|
154
154
|
relevance_paths?: string[] | undefined;
|
|
155
155
|
entities?: string[] | undefined;
|
|
156
156
|
id?: string | undefined;
|
|
157
|
-
knowledge_type?:
|
|
157
|
+
knowledge_type?: unknown;
|
|
158
158
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
159
159
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
160
160
|
layer_reason?: string | undefined;
|
|
@@ -191,7 +191,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
191
191
|
must_read_if: z.ZodString;
|
|
192
192
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
193
193
|
id: z.ZodOptional<z.ZodString>;
|
|
194
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
194
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
195
195
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
196
196
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
197
197
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -225,7 +225,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
225
225
|
relevance_paths?: string[] | undefined;
|
|
226
226
|
entities?: string[] | undefined;
|
|
227
227
|
id?: string | undefined;
|
|
228
|
-
knowledge_type?:
|
|
228
|
+
knowledge_type?: unknown;
|
|
229
229
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
230
230
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
231
231
|
layer_reason?: string | undefined;
|
|
@@ -258,7 +258,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
258
|
must_read_if: z.ZodString;
|
|
259
259
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
260
260
|
id: z.ZodOptional<z.ZodString>;
|
|
261
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
261
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
262
262
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
263
263
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
264
264
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -292,7 +292,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
292
292
|
relevance_paths?: string[] | undefined;
|
|
293
293
|
entities?: string[] | undefined;
|
|
294
294
|
id?: string | undefined;
|
|
295
|
-
knowledge_type?:
|
|
295
|
+
knowledge_type?: unknown;
|
|
296
296
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
297
297
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
298
298
|
layer_reason?: string | undefined;
|
|
@@ -325,7 +325,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
325
325
|
must_read_if: z.ZodString;
|
|
326
326
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
327
327
|
id: z.ZodOptional<z.ZodString>;
|
|
328
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
328
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
329
329
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
330
330
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
331
331
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -359,7 +359,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
359
359
|
relevance_paths?: string[] | undefined;
|
|
360
360
|
entities?: string[] | undefined;
|
|
361
361
|
id?: string | undefined;
|
|
362
|
-
knowledge_type?:
|
|
362
|
+
knowledge_type?: unknown;
|
|
363
363
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
364
364
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
365
365
|
layer_reason?: string | undefined;
|
|
@@ -392,7 +392,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
392
392
|
must_read_if: z.ZodString;
|
|
393
393
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
394
394
|
id: z.ZodOptional<z.ZodString>;
|
|
395
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
395
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
396
396
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
397
397
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
398
398
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -426,7 +426,7 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
426
426
|
relevance_paths?: string[] | undefined;
|
|
427
427
|
entities?: string[] | undefined;
|
|
428
428
|
id?: string | undefined;
|
|
429
|
-
knowledge_type?:
|
|
429
|
+
knowledge_type?: unknown;
|
|
430
430
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
431
431
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
432
432
|
layer_reason?: string | undefined;
|
|
@@ -533,7 +533,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
533
533
|
must_read_if: z.ZodString;
|
|
534
534
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
535
535
|
id: z.ZodOptional<z.ZodString>;
|
|
536
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
536
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
537
537
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
538
538
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
539
539
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -567,7 +567,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
567
567
|
relevance_paths?: string[] | undefined;
|
|
568
568
|
entities?: string[] | undefined;
|
|
569
569
|
id?: string | undefined;
|
|
570
|
-
knowledge_type?:
|
|
570
|
+
knowledge_type?: unknown;
|
|
571
571
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
572
572
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
573
573
|
layer_reason?: string | undefined;
|
|
@@ -600,7 +600,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
600
600
|
must_read_if: z.ZodString;
|
|
601
601
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
602
602
|
id: z.ZodOptional<z.ZodString>;
|
|
603
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
603
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
604
604
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
605
605
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
606
606
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -634,7 +634,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
634
634
|
relevance_paths?: string[] | undefined;
|
|
635
635
|
entities?: string[] | undefined;
|
|
636
636
|
id?: string | undefined;
|
|
637
|
-
knowledge_type?:
|
|
637
|
+
knowledge_type?: unknown;
|
|
638
638
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
639
639
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
640
640
|
layer_reason?: string | undefined;
|
|
@@ -667,7 +667,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
667
667
|
must_read_if: z.ZodString;
|
|
668
668
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
669
669
|
id: z.ZodOptional<z.ZodString>;
|
|
670
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
670
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
671
671
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
672
672
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
673
673
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -701,7 +701,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
701
701
|
relevance_paths?: string[] | undefined;
|
|
702
702
|
entities?: string[] | undefined;
|
|
703
703
|
id?: string | undefined;
|
|
704
|
-
knowledge_type?:
|
|
704
|
+
knowledge_type?: unknown;
|
|
705
705
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
706
706
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
707
707
|
layer_reason?: string | undefined;
|
|
@@ -734,7 +734,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
734
734
|
must_read_if: z.ZodString;
|
|
735
735
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
736
736
|
id: z.ZodOptional<z.ZodString>;
|
|
737
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
737
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
738
738
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
739
739
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
740
740
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -768,7 +768,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
768
768
|
relevance_paths?: string[] | undefined;
|
|
769
769
|
entities?: string[] | undefined;
|
|
770
770
|
id?: string | undefined;
|
|
771
|
-
knowledge_type?:
|
|
771
|
+
knowledge_type?: unknown;
|
|
772
772
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
773
773
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
774
774
|
layer_reason?: string | undefined;
|
|
@@ -874,7 +874,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
874
874
|
must_read_if: z.ZodString;
|
|
875
875
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
876
876
|
id: z.ZodOptional<z.ZodString>;
|
|
877
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
877
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
878
878
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
879
879
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
880
880
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -908,7 +908,7 @@ declare const agentsMetaSchema: z.ZodObject<{
|
|
|
908
908
|
relevance_paths?: string[] | undefined;
|
|
909
909
|
entities?: string[] | undefined;
|
|
910
910
|
id?: string | undefined;
|
|
911
|
-
knowledge_type?:
|
|
911
|
+
knowledge_type?: unknown;
|
|
912
912
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
913
913
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
914
914
|
layer_reason?: string | undefined;
|
|
@@ -1314,162 +1314,6 @@ declare const humanLockFileSchema: z.ZodObject<{
|
|
|
1314
1314
|
}[] | undefined;
|
|
1315
1315
|
}>;
|
|
1316
1316
|
|
|
1317
|
-
declare const auditModeSchema: z.ZodEnum<["strict", "warn", "off"]>;
|
|
1318
|
-
declare const clientPathsSchema: z.ZodObject<{
|
|
1319
|
-
claudeCodeCLI: z.ZodOptional<z.ZodString>;
|
|
1320
|
-
claudeCodeDesktop: z.ZodOptional<z.ZodString>;
|
|
1321
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1322
|
-
codexCLI: z.ZodOptional<z.ZodString>;
|
|
1323
|
-
}, "strict", z.ZodTypeAny, {
|
|
1324
|
-
cursor?: string | undefined;
|
|
1325
|
-
claudeCodeCLI?: string | undefined;
|
|
1326
|
-
claudeCodeDesktop?: string | undefined;
|
|
1327
|
-
codexCLI?: string | undefined;
|
|
1328
|
-
}, {
|
|
1329
|
-
cursor?: string | undefined;
|
|
1330
|
-
claudeCodeCLI?: string | undefined;
|
|
1331
|
-
claudeCodeDesktop?: string | undefined;
|
|
1332
|
-
codexCLI?: string | undefined;
|
|
1333
|
-
}>;
|
|
1334
|
-
declare const mcpPayloadLimitsSchema: z.ZodOptional<z.ZodObject<{
|
|
1335
|
-
warnBytes: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
-
hardBytes: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
-
}, "strip", z.ZodTypeAny, {
|
|
1338
|
-
warnBytes?: number | undefined;
|
|
1339
|
-
hardBytes?: number | undefined;
|
|
1340
|
-
}, {
|
|
1341
|
-
warnBytes?: number | undefined;
|
|
1342
|
-
hardBytes?: number | undefined;
|
|
1343
|
-
}>>;
|
|
1344
|
-
declare const selectionTokenTtlMsSchema: z.ZodNumber;
|
|
1345
|
-
declare const fabricLanguageSchema: z.ZodEnum<["match-existing", "zh-CN", "en", "zh-CN-hybrid"]>;
|
|
1346
|
-
declare const defaultLayerFilterSchema: z.ZodEnum<["team", "personal", "both"]>;
|
|
1347
|
-
declare const fabricConfigSchema: z.ZodObject<{
|
|
1348
|
-
clientPaths: z.ZodOptional<z.ZodObject<{
|
|
1349
|
-
claudeCodeCLI: z.ZodOptional<z.ZodString>;
|
|
1350
|
-
claudeCodeDesktop: z.ZodOptional<z.ZodString>;
|
|
1351
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1352
|
-
codexCLI: z.ZodOptional<z.ZodString>;
|
|
1353
|
-
}, "strict", z.ZodTypeAny, {
|
|
1354
|
-
cursor?: string | undefined;
|
|
1355
|
-
claudeCodeCLI?: string | undefined;
|
|
1356
|
-
claudeCodeDesktop?: string | undefined;
|
|
1357
|
-
codexCLI?: string | undefined;
|
|
1358
|
-
}, {
|
|
1359
|
-
cursor?: string | undefined;
|
|
1360
|
-
claudeCodeCLI?: string | undefined;
|
|
1361
|
-
claudeCodeDesktop?: string | undefined;
|
|
1362
|
-
codexCLI?: string | undefined;
|
|
1363
|
-
}>>;
|
|
1364
|
-
scanIgnores: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1365
|
-
audit_mode: z.ZodOptional<z.ZodEnum<["strict", "warn", "off"]>>;
|
|
1366
|
-
mcpPayloadLimits: z.ZodOptional<z.ZodObject<{
|
|
1367
|
-
warnBytes: z.ZodOptional<z.ZodNumber>;
|
|
1368
|
-
hardBytes: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
-
}, "strip", z.ZodTypeAny, {
|
|
1370
|
-
warnBytes?: number | undefined;
|
|
1371
|
-
hardBytes?: number | undefined;
|
|
1372
|
-
}, {
|
|
1373
|
-
warnBytes?: number | undefined;
|
|
1374
|
-
hardBytes?: number | undefined;
|
|
1375
|
-
}>>;
|
|
1376
|
-
fabric_language: z.ZodDefault<z.ZodOptional<z.ZodEnum<["match-existing", "zh-CN", "en", "zh-CN-hybrid"]>>>;
|
|
1377
|
-
default_layer_filter: z.ZodDefault<z.ZodOptional<z.ZodEnum<["team", "personal", "both"]>>>;
|
|
1378
|
-
archive_hint_cooldown_hours: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1379
|
-
underseed_node_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1380
|
-
archive_edit_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1381
|
-
archive_hint_hours: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1382
|
-
review_hint_pending_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1383
|
-
review_hint_pending_age_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1384
|
-
maintenance_hint_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1385
|
-
maintenance_hint_cooldown_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1386
|
-
import_window_first_run_months: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1387
|
-
import_window_rerun_months: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1388
|
-
import_max_pending_per_run: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1389
|
-
import_max_commits_scan: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1390
|
-
import_skip_canonical_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1391
|
-
archive_max_candidates_per_batch: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1392
|
-
archive_max_recent_paths: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1393
|
-
archive_digest_max_sessions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1394
|
-
review_topic_result_cap: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1395
|
-
review_stale_pending_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1396
|
-
fabric_event_retention_days: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>;
|
|
1397
|
-
onboard_slots_opted_out: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1398
|
-
selection_token_ttl_ms: z.ZodOptional<z.ZodNumber>;
|
|
1399
|
-
}, "strip", z.ZodTypeAny, {
|
|
1400
|
-
fabric_language: "match-existing" | "zh-CN" | "en" | "zh-CN-hybrid";
|
|
1401
|
-
default_layer_filter: "personal" | "team" | "both";
|
|
1402
|
-
archive_hint_cooldown_hours: number;
|
|
1403
|
-
underseed_node_threshold: number;
|
|
1404
|
-
archive_edit_threshold: number;
|
|
1405
|
-
archive_hint_hours: number;
|
|
1406
|
-
review_hint_pending_count: number;
|
|
1407
|
-
review_hint_pending_age_days: number;
|
|
1408
|
-
maintenance_hint_days: number;
|
|
1409
|
-
maintenance_hint_cooldown_days: number;
|
|
1410
|
-
import_window_first_run_months: number;
|
|
1411
|
-
import_window_rerun_months: number;
|
|
1412
|
-
import_max_pending_per_run: number;
|
|
1413
|
-
import_max_commits_scan: number;
|
|
1414
|
-
import_skip_canonical_threshold: number;
|
|
1415
|
-
archive_max_candidates_per_batch: number;
|
|
1416
|
-
archive_max_recent_paths: number;
|
|
1417
|
-
archive_digest_max_sessions: number;
|
|
1418
|
-
review_topic_result_cap: number;
|
|
1419
|
-
review_stale_pending_days: number;
|
|
1420
|
-
onboard_slots_opted_out: string[];
|
|
1421
|
-
clientPaths?: {
|
|
1422
|
-
cursor?: string | undefined;
|
|
1423
|
-
claudeCodeCLI?: string | undefined;
|
|
1424
|
-
claudeCodeDesktop?: string | undefined;
|
|
1425
|
-
codexCLI?: string | undefined;
|
|
1426
|
-
} | undefined;
|
|
1427
|
-
scanIgnores?: string[] | undefined;
|
|
1428
|
-
audit_mode?: "strict" | "warn" | "off" | undefined;
|
|
1429
|
-
mcpPayloadLimits?: {
|
|
1430
|
-
warnBytes?: number | undefined;
|
|
1431
|
-
hardBytes?: number | undefined;
|
|
1432
|
-
} | undefined;
|
|
1433
|
-
fabric_event_retention_days?: 7 | 30 | 90 | undefined;
|
|
1434
|
-
selection_token_ttl_ms?: number | undefined;
|
|
1435
|
-
}, {
|
|
1436
|
-
clientPaths?: {
|
|
1437
|
-
cursor?: string | undefined;
|
|
1438
|
-
claudeCodeCLI?: string | undefined;
|
|
1439
|
-
claudeCodeDesktop?: string | undefined;
|
|
1440
|
-
codexCLI?: string | undefined;
|
|
1441
|
-
} | undefined;
|
|
1442
|
-
scanIgnores?: string[] | undefined;
|
|
1443
|
-
audit_mode?: "strict" | "warn" | "off" | undefined;
|
|
1444
|
-
mcpPayloadLimits?: {
|
|
1445
|
-
warnBytes?: number | undefined;
|
|
1446
|
-
hardBytes?: number | undefined;
|
|
1447
|
-
} | undefined;
|
|
1448
|
-
fabric_language?: "match-existing" | "zh-CN" | "en" | "zh-CN-hybrid" | undefined;
|
|
1449
|
-
default_layer_filter?: "personal" | "team" | "both" | undefined;
|
|
1450
|
-
archive_hint_cooldown_hours?: number | undefined;
|
|
1451
|
-
underseed_node_threshold?: number | undefined;
|
|
1452
|
-
archive_edit_threshold?: number | undefined;
|
|
1453
|
-
archive_hint_hours?: number | undefined;
|
|
1454
|
-
review_hint_pending_count?: number | undefined;
|
|
1455
|
-
review_hint_pending_age_days?: number | undefined;
|
|
1456
|
-
maintenance_hint_days?: number | undefined;
|
|
1457
|
-
maintenance_hint_cooldown_days?: number | undefined;
|
|
1458
|
-
import_window_first_run_months?: number | undefined;
|
|
1459
|
-
import_window_rerun_months?: number | undefined;
|
|
1460
|
-
import_max_pending_per_run?: number | undefined;
|
|
1461
|
-
import_max_commits_scan?: number | undefined;
|
|
1462
|
-
import_skip_canonical_threshold?: number | undefined;
|
|
1463
|
-
archive_max_candidates_per_batch?: number | undefined;
|
|
1464
|
-
archive_max_recent_paths?: number | undefined;
|
|
1465
|
-
archive_digest_max_sessions?: number | undefined;
|
|
1466
|
-
review_topic_result_cap?: number | undefined;
|
|
1467
|
-
review_stale_pending_days?: number | undefined;
|
|
1468
|
-
fabric_event_retention_days?: 7 | 30 | 90 | undefined;
|
|
1469
|
-
onboard_slots_opted_out?: string[] | undefined;
|
|
1470
|
-
selection_token_ttl_ms?: number | undefined;
|
|
1471
|
-
}>;
|
|
1472
|
-
|
|
1473
1317
|
type FabricConfigSchemaShape = z.infer<typeof fabricConfigSchema>;
|
|
1474
1318
|
type PanelFieldGroup = "A_locale" | "B_hint_threshold" | "C_audit";
|
|
1475
1319
|
type ValidateResult = {
|
|
@@ -2476,7 +2320,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2476
2320
|
must_read_if: z.ZodString;
|
|
2477
2321
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2478
2322
|
id: z.ZodOptional<z.ZodString>;
|
|
2479
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2323
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2480
2324
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2481
2325
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2482
2326
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2510,7 +2354,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2510
2354
|
relevance_paths?: string[] | undefined;
|
|
2511
2355
|
entities?: string[] | undefined;
|
|
2512
2356
|
id?: string | undefined;
|
|
2513
|
-
knowledge_type?:
|
|
2357
|
+
knowledge_type?: unknown;
|
|
2514
2358
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2515
2359
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2516
2360
|
layer_reason?: string | undefined;
|
|
@@ -2543,7 +2387,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2543
2387
|
must_read_if: z.ZodString;
|
|
2544
2388
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2545
2389
|
id: z.ZodOptional<z.ZodString>;
|
|
2546
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2390
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2547
2391
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2548
2392
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2549
2393
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2577,7 +2421,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2577
2421
|
relevance_paths?: string[] | undefined;
|
|
2578
2422
|
entities?: string[] | undefined;
|
|
2579
2423
|
id?: string | undefined;
|
|
2580
|
-
knowledge_type?:
|
|
2424
|
+
knowledge_type?: unknown;
|
|
2581
2425
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2582
2426
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2583
2427
|
layer_reason?: string | undefined;
|
|
@@ -2610,7 +2454,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2610
2454
|
must_read_if: z.ZodString;
|
|
2611
2455
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2612
2456
|
id: z.ZodOptional<z.ZodString>;
|
|
2613
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2457
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2614
2458
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2615
2459
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2616
2460
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2644,7 +2488,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2644
2488
|
relevance_paths?: string[] | undefined;
|
|
2645
2489
|
entities?: string[] | undefined;
|
|
2646
2490
|
id?: string | undefined;
|
|
2647
|
-
knowledge_type?:
|
|
2491
|
+
knowledge_type?: unknown;
|
|
2648
2492
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2649
2493
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2650
2494
|
layer_reason?: string | undefined;
|
|
@@ -2677,7 +2521,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2677
2521
|
must_read_if: z.ZodString;
|
|
2678
2522
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2679
2523
|
id: z.ZodOptional<z.ZodString>;
|
|
2680
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2524
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2681
2525
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2682
2526
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2683
2527
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2711,7 +2555,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2711
2555
|
relevance_paths?: string[] | undefined;
|
|
2712
2556
|
entities?: string[] | undefined;
|
|
2713
2557
|
id?: string | undefined;
|
|
2714
|
-
knowledge_type?:
|
|
2558
|
+
knowledge_type?: unknown;
|
|
2715
2559
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2716
2560
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2717
2561
|
layer_reason?: string | undefined;
|
|
@@ -2817,7 +2661,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2817
2661
|
must_read_if: z.ZodString;
|
|
2818
2662
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2819
2663
|
id: z.ZodOptional<z.ZodString>;
|
|
2820
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2664
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2821
2665
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2822
2666
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2823
2667
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2851,7 +2695,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2851
2695
|
relevance_paths?: string[] | undefined;
|
|
2852
2696
|
entities?: string[] | undefined;
|
|
2853
2697
|
id?: string | undefined;
|
|
2854
|
-
knowledge_type?:
|
|
2698
|
+
knowledge_type?: unknown;
|
|
2855
2699
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2856
2700
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2857
2701
|
layer_reason?: string | undefined;
|
|
@@ -2925,7 +2769,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2925
2769
|
must_read_if: z.ZodString;
|
|
2926
2770
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2927
2771
|
id: z.ZodOptional<z.ZodString>;
|
|
2928
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
2772
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
2929
2773
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
2930
2774
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
2931
2775
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2959,7 +2803,7 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
|
|
|
2959
2803
|
relevance_paths?: string[] | undefined;
|
|
2960
2804
|
entities?: string[] | undefined;
|
|
2961
2805
|
id?: string | undefined;
|
|
2962
|
-
knowledge_type?:
|
|
2806
|
+
knowledge_type?: unknown;
|
|
2963
2807
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
2964
2808
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
2965
2809
|
layer_reason?: string | undefined;
|
|
@@ -3754,7 +3598,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3754
3598
|
must_read_if: z.ZodString;
|
|
3755
3599
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3756
3600
|
id: z.ZodOptional<z.ZodString>;
|
|
3757
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
3601
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
3758
3602
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
3759
3603
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
3760
3604
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3788,7 +3632,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3788
3632
|
relevance_paths?: string[] | undefined;
|
|
3789
3633
|
entities?: string[] | undefined;
|
|
3790
3634
|
id?: string | undefined;
|
|
3791
|
-
knowledge_type?:
|
|
3635
|
+
knowledge_type?: unknown;
|
|
3792
3636
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
3793
3637
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
3794
3638
|
layer_reason?: string | undefined;
|
|
@@ -3821,7 +3665,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3821
3665
|
must_read_if: z.ZodString;
|
|
3822
3666
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3823
3667
|
id: z.ZodOptional<z.ZodString>;
|
|
3824
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
3668
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
3825
3669
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
3826
3670
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
3827
3671
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3855,7 +3699,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3855
3699
|
relevance_paths?: string[] | undefined;
|
|
3856
3700
|
entities?: string[] | undefined;
|
|
3857
3701
|
id?: string | undefined;
|
|
3858
|
-
knowledge_type?:
|
|
3702
|
+
knowledge_type?: unknown;
|
|
3859
3703
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
3860
3704
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
3861
3705
|
layer_reason?: string | undefined;
|
|
@@ -3888,7 +3732,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3888
3732
|
must_read_if: z.ZodString;
|
|
3889
3733
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3890
3734
|
id: z.ZodOptional<z.ZodString>;
|
|
3891
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
3735
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
3892
3736
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
3893
3737
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
3894
3738
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3922,7 +3766,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3922
3766
|
relevance_paths?: string[] | undefined;
|
|
3923
3767
|
entities?: string[] | undefined;
|
|
3924
3768
|
id?: string | undefined;
|
|
3925
|
-
knowledge_type?:
|
|
3769
|
+
knowledge_type?: unknown;
|
|
3926
3770
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
3927
3771
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
3928
3772
|
layer_reason?: string | undefined;
|
|
@@ -3955,7 +3799,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3955
3799
|
must_read_if: z.ZodString;
|
|
3956
3800
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3957
3801
|
id: z.ZodOptional<z.ZodString>;
|
|
3958
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
3802
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
3959
3803
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
3960
3804
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
3961
3805
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3989,7 +3833,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3989
3833
|
relevance_paths?: string[] | undefined;
|
|
3990
3834
|
entities?: string[] | undefined;
|
|
3991
3835
|
id?: string | undefined;
|
|
3992
|
-
knowledge_type?:
|
|
3836
|
+
knowledge_type?: unknown;
|
|
3993
3837
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
3994
3838
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
3995
3839
|
layer_reason?: string | undefined;
|
|
@@ -4095,7 +3939,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4095
3939
|
must_read_if: z.ZodString;
|
|
4096
3940
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4097
3941
|
id: z.ZodOptional<z.ZodString>;
|
|
4098
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
3942
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
4099
3943
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
4100
3944
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
4101
3945
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -4129,7 +3973,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4129
3973
|
relevance_paths?: string[] | undefined;
|
|
4130
3974
|
entities?: string[] | undefined;
|
|
4131
3975
|
id?: string | undefined;
|
|
4132
|
-
knowledge_type?:
|
|
3976
|
+
knowledge_type?: unknown;
|
|
4133
3977
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
4134
3978
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
4135
3979
|
layer_reason?: string | undefined;
|
|
@@ -4203,7 +4047,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4203
4047
|
must_read_if: z.ZodString;
|
|
4204
4048
|
entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4205
4049
|
id: z.ZodOptional<z.ZodString>;
|
|
4206
|
-
knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
|
|
4050
|
+
knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
|
|
4207
4051
|
maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
|
|
4208
4052
|
knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
|
|
4209
4053
|
layer_reason: z.ZodOptional<z.ZodString>;
|
|
@@ -4237,7 +4081,7 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4237
4081
|
relevance_paths?: string[] | undefined;
|
|
4238
4082
|
entities?: string[] | undefined;
|
|
4239
4083
|
id?: string | undefined;
|
|
4240
|
-
knowledge_type?:
|
|
4084
|
+
knowledge_type?: unknown;
|
|
4241
4085
|
maturity?: "draft" | "verified" | "proven" | undefined;
|
|
4242
4086
|
knowledge_layer?: "personal" | "team" | undefined;
|
|
4243
4087
|
layer_reason?: string | undefined;
|
|
@@ -6340,7 +6184,7 @@ declare const assistantTurnObservedEventSchema: z.ZodObject<{
|
|
|
6340
6184
|
turn_id: string;
|
|
6341
6185
|
correlation_id?: string | undefined;
|
|
6342
6186
|
session_id?: string | undefined;
|
|
6343
|
-
client?: "
|
|
6187
|
+
client?: "cursor" | "cc" | "codex" | undefined;
|
|
6344
6188
|
envelope_index?: number | undefined;
|
|
6345
6189
|
}, {
|
|
6346
6190
|
id: string;
|
|
@@ -6362,7 +6206,7 @@ declare const assistantTurnObservedEventSchema: z.ZodObject<{
|
|
|
6362
6206
|
}[];
|
|
6363
6207
|
skip_reason: string | null;
|
|
6364
6208
|
}[] | undefined;
|
|
6365
|
-
client?: "
|
|
6209
|
+
client?: "cursor" | "cc" | "codex" | undefined;
|
|
6366
6210
|
envelope_index?: number | undefined;
|
|
6367
6211
|
}>;
|
|
6368
6212
|
declare const citePolicyActivatedEventSchema: z.ZodObject<{
|
|
@@ -7909,7 +7753,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
|
|
|
7909
7753
|
turn_id: string;
|
|
7910
7754
|
correlation_id?: string | undefined;
|
|
7911
7755
|
session_id?: string | undefined;
|
|
7912
|
-
client?: "
|
|
7756
|
+
client?: "cursor" | "cc" | "codex" | undefined;
|
|
7913
7757
|
envelope_index?: number | undefined;
|
|
7914
7758
|
}, {
|
|
7915
7759
|
id: string;
|
|
@@ -7931,7 +7775,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
|
|
|
7931
7775
|
}[];
|
|
7932
7776
|
skip_reason: string | null;
|
|
7933
7777
|
}[] | undefined;
|
|
7934
|
-
client?: "
|
|
7778
|
+
client?: "cursor" | "cc" | "codex" | undefined;
|
|
7935
7779
|
envelope_index?: number | undefined;
|
|
7936
7780
|
}>, z.ZodObject<{
|
|
7937
7781
|
event_type: z.ZodLiteral<"cite_policy_activated">;
|
|
@@ -8242,4 +8086,4 @@ interface ParseCiteLineResult {
|
|
|
8242
8086
|
*/
|
|
8243
8087
|
declare function parseCiteLine(raw: string): ParseCiteLineResult;
|
|
8244
8088
|
|
|
8245
|
-
export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type BootstrapMarkerMigratedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type CodexSkillPathMigratedEvent, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, type FabricConfigSchemaShape, type FabricEvent, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, Layer, type LedgerAppendedEvent, LedgerEntry, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, type PanelFieldGroup, type PanelFieldMeta, type ParseCiteLineResult, type PendingAutoArchivedEvent, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, StableId, type ValidateResult, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema,
|
|
8089
|
+
export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type BootstrapMarkerMigratedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type CodexSkillPathMigratedEvent, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, type FabricConfigSchemaShape, type FabricEvent, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, Layer, type LedgerAppendedEvent, LedgerEntry, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, type PanelFieldGroup, type PanelFieldMeta, type ParseCiteLineResult, type PendingAutoArchivedEvent, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, StableId, type ValidateResult, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema, bootstrapMarkerMigratedEventSchema, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, codexSkillPathMigratedEventSchema, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, fabricConfigSchema, fabricEventSchema, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, getPanelFieldByKey, getPanelFields, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, installDiffAppliedEventSchema, isKnowledgeStableId, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, onboardSlotSchema, parseCiteLine, pendingAutoArchivedEventSchema, reapplyCompletedEventSchema, relevanceMigrationRunEventSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, withDerivedAgentsMetaNodeDefaults };
|