@fenglimg/fabric-shared 2.3.0-rc.4 → 2.3.0-rc.5

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, S as StoreIdentity, c as StoreProject, G as GlobalConfig, F as FabricConfig, M as MountedStore, R as RequiredStoreEntry, d as AgentsMeta, L as LedgerEntry } from './index-C0cijMSw.js';
2
- export { e as AgentsMetaCountersEnvelope, g as AgentsMetaKnowledgeTypeCounters, h as AiLedgerEntry, i as AuditMode, C as ClientPaths, D as DefaultLayerFilter, j as FabricLanguage, k as GLOBAL_BINDINGS_DIR, l as GLOBAL_STATE_DIR, m as HumanLedgerEntry, n as McpPayloadLimits, P as PERSONAL_STORE_SENTINEL, o as RecallScore, p as RecallScoreBreakdown, q as RuleDescription, r as RuleDescriptionIndexItem, s as STORES_ROOT_DIR, t as STORE_ALIAS_PATTERN, u as STORE_KNOWLEDGE_TYPE_DIRS, v as STORE_LAYOUT, w as STORE_MOUNT_GROUPS, x as STORE_MOUNT_NAME_PATTERN, y as STORE_PROJECT_ID_PATTERN, z as STORE_UUID_PATTERN, B as StoreLayout, E as StoreMountGroup, I as StoreProjectsFile, J as auditModeSchema, K as clientPathsSchema, N as defaultLayerFilterSchema, O as deriveMountLabel, Q as fabricConfigLoadSchema, T as fabricLanguageSchema, U as globalConfigSchema, V as isNonPersonalRequiredStore, W as mcpPayloadLimitsSchema, X as migrateRequiredStores, Y as mountedStoreSchema, Z as nudgeModeSchema, _ as observeConfigSchema, $ as planContextTopKSchema, a0 as requiredStoreEntrySchema, a1 as selectionTokenTtlMsSchema, a2 as storeAliasSchema, a3 as storeIdentitySchema, a4 as storeKnowledgeTypeDir, a5 as storeMountGroup, a6 as storeMountNameSchema, a7 as storeMountSubPath, a8 as storeProjectSchema, a9 as storeProjectsFileSchema, aa as storeRelativePath, ab as storeRelativePathForMount, ac as storeUuidSchema, ad as writeRouteSchema } from './index-C0cijMSw.js';
1
+ import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, S as StoreIdentity, c as StoreProject, G as GlobalConfig, F as FabricConfig, M as MountedStore, R as RequiredStoreEntry, d as AgentsMeta, L as LedgerEntry } from './index-Ba3sXdL4.js';
2
+ export { e as AgentsMetaCountersEnvelope, g as AgentsMetaKnowledgeTypeCounters, h as AiLedgerEntry, i as AuditMode, C as ClientPaths, D as DefaultLayerFilter, j as FabricLanguage, k as GLOBAL_BINDINGS_DIR, l as GLOBAL_STATE_DIR, m as HumanLedgerEntry, n as McpPayloadLimits, P as PERSONAL_STORE_SENTINEL, o as RecallScore, p as RecallScoreBreakdown, q as RuleDescription, r as RuleDescriptionIndexItem, s as STORES_ROOT_DIR, t as STORE_ALIAS_PATTERN, u as STORE_KNOWLEDGE_TYPE_DIRS, v as STORE_LAYOUT, w as STORE_MOUNT_GROUPS, x as STORE_MOUNT_NAME_PATTERN, y as STORE_PROJECT_ID_PATTERN, z as STORE_UUID_PATTERN, B as StoreLayout, E as StoreMountGroup, I as StoreProjectsFile, J as auditModeSchema, K as clientPathsSchema, N as defaultLayerFilterSchema, O as deriveMountLabel, Q as fabricConfigLoadSchema, T as fabricLanguageSchema, U as globalConfigSchema, V as isNonPersonalRequiredStore, W as mcpPayloadLimitsSchema, X as migrateRequiredStores, Y as mountedStoreSchema, Z as nudgeModeSchema, _ as observeConfigSchema, $ as planContextTopKSchema, a0 as requiredStoreEntrySchema, a1 as selectionTokenTtlMsSchema, a2 as storeAliasSchema, a3 as storeIdentitySchema, a4 as storeKnowledgeTypeDir, a5 as storeMountGroup, a6 as storeMountNameSchema, a7 as storeMountSubPath, a8 as storeProjectSchema, a9 as storeProjectsFileSchema, aa as storeRelativePath, ab as storeRelativePathForMount, ac as storeUuidSchema, ad as writeRouteSchema } from './index-Ba3sXdL4.js';
3
3
  import { T as Translator } from './types-qg4xXVuT.js';
4
4
  export { L as Locale, M as Messages, a as TranslationKey } from './types-qg4xXVuT.js';
5
5
  export { PROTECTED_TOKENS, ProtectedToken, createTranslator, defaultMessages, detectNodeLocale, enMessages, normalizeLocale, resolveFabricLocale, resolveGlobalLocale, zhCNMessages } from './i18n/index.js';
@@ -24,12 +24,9 @@ declare const ruleDescriptionSchema: z.ZodObject<{
24
24
  tech_stack: z.ZodArray<z.ZodString, "many">;
25
25
  impact: z.ZodArray<z.ZodString, "many">;
26
26
  must_read_if: z.ZodString;
27
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
27
  id: z.ZodOptional<z.ZodString>;
29
28
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
30
29
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
31
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
32
- layer_reason: z.ZodOptional<z.ZodString>;
33
30
  created_at: z.ZodOptional<z.ZodString>;
34
31
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
35
32
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -45,11 +42,8 @@ declare const ruleDescriptionSchema: z.ZodObject<{
45
42
  must_read_if: string;
46
43
  created_at?: string | undefined;
47
44
  id?: string | undefined;
48
- entities?: string[] | undefined;
49
45
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
50
46
  maturity?: "draft" | "verified" | "proven" | undefined;
51
- knowledge_layer?: "personal" | "team" | undefined;
52
- layer_reason?: string | undefined;
53
47
  tags?: string[] | undefined;
54
48
  related?: string[] | undefined;
55
49
  }, {
@@ -62,11 +56,8 @@ declare const ruleDescriptionSchema: z.ZodObject<{
62
56
  id?: string | undefined;
63
57
  relevance_scope?: "narrow" | "broad" | undefined;
64
58
  relevance_paths?: string[] | undefined;
65
- entities?: string[] | undefined;
66
59
  knowledge_type?: unknown;
67
60
  maturity?: "draft" | "verified" | "proven" | undefined;
68
- knowledge_layer?: "personal" | "team" | undefined;
69
- layer_reason?: string | undefined;
70
61
  tags?: string[] | undefined;
71
62
  related?: string[] | undefined;
72
63
  }>;
@@ -78,12 +69,9 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
78
69
  tech_stack: z.ZodArray<z.ZodString, "many">;
79
70
  impact: z.ZodArray<z.ZodString, "many">;
80
71
  must_read_if: z.ZodString;
81
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
82
72
  id: z.ZodOptional<z.ZodString>;
83
73
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
84
74
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
85
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
86
- layer_reason: z.ZodOptional<z.ZodString>;
87
75
  created_at: z.ZodOptional<z.ZodString>;
88
76
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
89
77
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -99,11 +87,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
99
87
  must_read_if: string;
100
88
  created_at?: string | undefined;
101
89
  id?: string | undefined;
102
- entities?: string[] | undefined;
103
90
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
104
91
  maturity?: "draft" | "verified" | "proven" | undefined;
105
- knowledge_layer?: "personal" | "team" | undefined;
106
- layer_reason?: string | undefined;
107
92
  tags?: string[] | undefined;
108
93
  related?: string[] | undefined;
109
94
  }, {
@@ -116,11 +101,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
116
101
  id?: string | undefined;
117
102
  relevance_scope?: "narrow" | "broad" | undefined;
118
103
  relevance_paths?: string[] | undefined;
119
- entities?: string[] | undefined;
120
104
  knowledge_type?: unknown;
121
105
  maturity?: "draft" | "verified" | "proven" | undefined;
122
- knowledge_layer?: "personal" | "team" | undefined;
123
- layer_reason?: string | undefined;
124
106
  tags?: string[] | undefined;
125
107
  related?: string[] | undefined;
126
108
  }>;
@@ -135,11 +117,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
135
117
  must_read_if: string;
136
118
  created_at?: string | undefined;
137
119
  id?: string | undefined;
138
- entities?: string[] | undefined;
139
120
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
140
121
  maturity?: "draft" | "verified" | "proven" | undefined;
141
- knowledge_layer?: "personal" | "team" | undefined;
142
- layer_reason?: string | undefined;
143
122
  tags?: string[] | undefined;
144
123
  related?: string[] | undefined;
145
124
  };
@@ -155,11 +134,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
155
134
  id?: string | undefined;
156
135
  relevance_scope?: "narrow" | "broad" | undefined;
157
136
  relevance_paths?: string[] | undefined;
158
- entities?: string[] | undefined;
159
137
  knowledge_type?: unknown;
160
138
  maturity?: "draft" | "verified" | "proven" | undefined;
161
- knowledge_layer?: "personal" | "team" | undefined;
162
- layer_reason?: string | undefined;
163
139
  tags?: string[] | undefined;
164
140
  related?: string[] | undefined;
165
141
  };
@@ -178,12 +154,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
178
154
  tech_stack: z.ZodArray<z.ZodString, "many">;
179
155
  impact: z.ZodArray<z.ZodString, "many">;
180
156
  must_read_if: z.ZodString;
181
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
157
  id: z.ZodOptional<z.ZodString>;
183
158
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
184
159
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
185
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
186
- layer_reason: z.ZodOptional<z.ZodString>;
187
160
  created_at: z.ZodOptional<z.ZodString>;
188
161
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
189
162
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -199,11 +172,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
199
172
  must_read_if: string;
200
173
  created_at?: string | undefined;
201
174
  id?: string | undefined;
202
- entities?: string[] | undefined;
203
175
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
204
176
  maturity?: "draft" | "verified" | "proven" | undefined;
205
- knowledge_layer?: "personal" | "team" | undefined;
206
- layer_reason?: string | undefined;
207
177
  tags?: string[] | undefined;
208
178
  related?: string[] | undefined;
209
179
  }, {
@@ -216,11 +186,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
216
186
  id?: string | undefined;
217
187
  relevance_scope?: "narrow" | "broad" | undefined;
218
188
  relevance_paths?: string[] | undefined;
219
- entities?: string[] | undefined;
220
189
  knowledge_type?: unknown;
221
190
  maturity?: "draft" | "verified" | "proven" | undefined;
222
- knowledge_layer?: "personal" | "team" | undefined;
223
- layer_reason?: string | undefined;
224
191
  tags?: string[] | undefined;
225
192
  related?: string[] | undefined;
226
193
  }>>;
@@ -238,12 +205,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
238
205
  tech_stack: z.ZodArray<z.ZodString, "many">;
239
206
  impact: z.ZodArray<z.ZodString, "many">;
240
207
  must_read_if: z.ZodString;
241
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
208
  id: z.ZodOptional<z.ZodString>;
243
209
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
244
210
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
245
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
246
- layer_reason: z.ZodOptional<z.ZodString>;
247
211
  created_at: z.ZodOptional<z.ZodString>;
248
212
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
249
213
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -259,11 +223,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
259
223
  must_read_if: string;
260
224
  created_at?: string | undefined;
261
225
  id?: string | undefined;
262
- entities?: string[] | undefined;
263
226
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
264
227
  maturity?: "draft" | "verified" | "proven" | undefined;
265
- knowledge_layer?: "personal" | "team" | undefined;
266
- layer_reason?: string | undefined;
267
228
  tags?: string[] | undefined;
268
229
  related?: string[] | undefined;
269
230
  }, {
@@ -276,11 +237,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
276
237
  id?: string | undefined;
277
238
  relevance_scope?: "narrow" | "broad" | undefined;
278
239
  relevance_paths?: string[] | undefined;
279
- entities?: string[] | undefined;
280
240
  knowledge_type?: unknown;
281
241
  maturity?: "draft" | "verified" | "proven" | undefined;
282
- knowledge_layer?: "personal" | "team" | undefined;
283
- layer_reason?: string | undefined;
284
242
  tags?: string[] | undefined;
285
243
  related?: string[] | undefined;
286
244
  }>>;
@@ -298,12 +256,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
298
256
  tech_stack: z.ZodArray<z.ZodString, "many">;
299
257
  impact: z.ZodArray<z.ZodString, "many">;
300
258
  must_read_if: z.ZodString;
301
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
302
259
  id: z.ZodOptional<z.ZodString>;
303
260
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
304
261
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
305
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
306
- layer_reason: z.ZodOptional<z.ZodString>;
307
262
  created_at: z.ZodOptional<z.ZodString>;
308
263
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
309
264
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -319,11 +274,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
319
274
  must_read_if: string;
320
275
  created_at?: string | undefined;
321
276
  id?: string | undefined;
322
- entities?: string[] | undefined;
323
277
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
324
278
  maturity?: "draft" | "verified" | "proven" | undefined;
325
- knowledge_layer?: "personal" | "team" | undefined;
326
- layer_reason?: string | undefined;
327
279
  tags?: string[] | undefined;
328
280
  related?: string[] | undefined;
329
281
  }, {
@@ -336,11 +288,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
336
288
  id?: string | undefined;
337
289
  relevance_scope?: "narrow" | "broad" | undefined;
338
290
  relevance_paths?: string[] | undefined;
339
- entities?: string[] | undefined;
340
291
  knowledge_type?: unknown;
341
292
  maturity?: "draft" | "verified" | "proven" | undefined;
342
- knowledge_layer?: "personal" | "team" | undefined;
343
- layer_reason?: string | undefined;
344
293
  tags?: string[] | undefined;
345
294
  related?: string[] | undefined;
346
295
  }>>;
@@ -358,12 +307,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
358
307
  tech_stack: z.ZodArray<z.ZodString, "many">;
359
308
  impact: z.ZodArray<z.ZodString, "many">;
360
309
  must_read_if: z.ZodString;
361
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
310
  id: z.ZodOptional<z.ZodString>;
363
311
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
364
312
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
365
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
366
- layer_reason: z.ZodOptional<z.ZodString>;
367
313
  created_at: z.ZodOptional<z.ZodString>;
368
314
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
369
315
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -379,11 +325,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
379
325
  must_read_if: string;
380
326
  created_at?: string | undefined;
381
327
  id?: string | undefined;
382
- entities?: string[] | undefined;
383
328
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
384
329
  maturity?: "draft" | "verified" | "proven" | undefined;
385
- knowledge_layer?: "personal" | "team" | undefined;
386
- layer_reason?: string | undefined;
387
330
  tags?: string[] | undefined;
388
331
  related?: string[] | undefined;
389
332
  }, {
@@ -396,11 +339,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
396
339
  id?: string | undefined;
397
340
  relevance_scope?: "narrow" | "broad" | undefined;
398
341
  relevance_paths?: string[] | undefined;
399
- entities?: string[] | undefined;
400
342
  knowledge_type?: unknown;
401
343
  maturity?: "draft" | "verified" | "proven" | undefined;
402
- knowledge_layer?: "personal" | "team" | undefined;
403
- layer_reason?: string | undefined;
404
344
  tags?: string[] | undefined;
405
345
  related?: string[] | undefined;
406
346
  }>>;
@@ -492,12 +432,9 @@ declare const agentsMetaSchema: z.ZodObject<{
492
432
  tech_stack: z.ZodArray<z.ZodString, "many">;
493
433
  impact: z.ZodArray<z.ZodString, "many">;
494
434
  must_read_if: z.ZodString;
495
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
496
435
  id: z.ZodOptional<z.ZodString>;
497
436
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
498
437
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
499
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
500
- layer_reason: z.ZodOptional<z.ZodString>;
501
438
  created_at: z.ZodOptional<z.ZodString>;
502
439
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
503
440
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -513,11 +450,8 @@ declare const agentsMetaSchema: z.ZodObject<{
513
450
  must_read_if: string;
514
451
  created_at?: string | undefined;
515
452
  id?: string | undefined;
516
- entities?: string[] | undefined;
517
453
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
518
454
  maturity?: "draft" | "verified" | "proven" | undefined;
519
- knowledge_layer?: "personal" | "team" | undefined;
520
- layer_reason?: string | undefined;
521
455
  tags?: string[] | undefined;
522
456
  related?: string[] | undefined;
523
457
  }, {
@@ -530,11 +464,8 @@ declare const agentsMetaSchema: z.ZodObject<{
530
464
  id?: string | undefined;
531
465
  relevance_scope?: "narrow" | "broad" | undefined;
532
466
  relevance_paths?: string[] | undefined;
533
- entities?: string[] | undefined;
534
467
  knowledge_type?: unknown;
535
468
  maturity?: "draft" | "verified" | "proven" | undefined;
536
- knowledge_layer?: "personal" | "team" | undefined;
537
- layer_reason?: string | undefined;
538
469
  tags?: string[] | undefined;
539
470
  related?: string[] | undefined;
540
471
  }>>;
@@ -552,12 +483,9 @@ declare const agentsMetaSchema: z.ZodObject<{
552
483
  tech_stack: z.ZodArray<z.ZodString, "many">;
553
484
  impact: z.ZodArray<z.ZodString, "many">;
554
485
  must_read_if: z.ZodString;
555
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
486
  id: z.ZodOptional<z.ZodString>;
557
487
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
558
488
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
559
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
560
- layer_reason: z.ZodOptional<z.ZodString>;
561
489
  created_at: z.ZodOptional<z.ZodString>;
562
490
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
563
491
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -573,11 +501,8 @@ declare const agentsMetaSchema: z.ZodObject<{
573
501
  must_read_if: string;
574
502
  created_at?: string | undefined;
575
503
  id?: string | undefined;
576
- entities?: string[] | undefined;
577
504
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
578
505
  maturity?: "draft" | "verified" | "proven" | undefined;
579
- knowledge_layer?: "personal" | "team" | undefined;
580
- layer_reason?: string | undefined;
581
506
  tags?: string[] | undefined;
582
507
  related?: string[] | undefined;
583
508
  }, {
@@ -590,11 +515,8 @@ declare const agentsMetaSchema: z.ZodObject<{
590
515
  id?: string | undefined;
591
516
  relevance_scope?: "narrow" | "broad" | undefined;
592
517
  relevance_paths?: string[] | undefined;
593
- entities?: string[] | undefined;
594
518
  knowledge_type?: unknown;
595
519
  maturity?: "draft" | "verified" | "proven" | undefined;
596
- knowledge_layer?: "personal" | "team" | undefined;
597
- layer_reason?: string | undefined;
598
520
  tags?: string[] | undefined;
599
521
  related?: string[] | undefined;
600
522
  }>>;
@@ -612,12 +534,9 @@ declare const agentsMetaSchema: z.ZodObject<{
612
534
  tech_stack: z.ZodArray<z.ZodString, "many">;
613
535
  impact: z.ZodArray<z.ZodString, "many">;
614
536
  must_read_if: z.ZodString;
615
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
616
537
  id: z.ZodOptional<z.ZodString>;
617
538
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
618
539
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
619
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
620
- layer_reason: z.ZodOptional<z.ZodString>;
621
540
  created_at: z.ZodOptional<z.ZodString>;
622
541
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
623
542
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -633,11 +552,8 @@ declare const agentsMetaSchema: z.ZodObject<{
633
552
  must_read_if: string;
634
553
  created_at?: string | undefined;
635
554
  id?: string | undefined;
636
- entities?: string[] | undefined;
637
555
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
638
556
  maturity?: "draft" | "verified" | "proven" | undefined;
639
- knowledge_layer?: "personal" | "team" | undefined;
640
- layer_reason?: string | undefined;
641
557
  tags?: string[] | undefined;
642
558
  related?: string[] | undefined;
643
559
  }, {
@@ -650,11 +566,8 @@ declare const agentsMetaSchema: z.ZodObject<{
650
566
  id?: string | undefined;
651
567
  relevance_scope?: "narrow" | "broad" | undefined;
652
568
  relevance_paths?: string[] | undefined;
653
- entities?: string[] | undefined;
654
569
  knowledge_type?: unknown;
655
570
  maturity?: "draft" | "verified" | "proven" | undefined;
656
- knowledge_layer?: "personal" | "team" | undefined;
657
- layer_reason?: string | undefined;
658
571
  tags?: string[] | undefined;
659
572
  related?: string[] | undefined;
660
573
  }>>;
@@ -672,12 +585,9 @@ declare const agentsMetaSchema: z.ZodObject<{
672
585
  tech_stack: z.ZodArray<z.ZodString, "many">;
673
586
  impact: z.ZodArray<z.ZodString, "many">;
674
587
  must_read_if: z.ZodString;
675
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
676
588
  id: z.ZodOptional<z.ZodString>;
677
589
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
678
590
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
679
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
680
- layer_reason: z.ZodOptional<z.ZodString>;
681
591
  created_at: z.ZodOptional<z.ZodString>;
682
592
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
683
593
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -693,11 +603,8 @@ declare const agentsMetaSchema: z.ZodObject<{
693
603
  must_read_if: string;
694
604
  created_at?: string | undefined;
695
605
  id?: string | undefined;
696
- entities?: string[] | undefined;
697
606
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
698
607
  maturity?: "draft" | "verified" | "proven" | undefined;
699
- knowledge_layer?: "personal" | "team" | undefined;
700
- layer_reason?: string | undefined;
701
608
  tags?: string[] | undefined;
702
609
  related?: string[] | undefined;
703
610
  }, {
@@ -710,11 +617,8 @@ declare const agentsMetaSchema: z.ZodObject<{
710
617
  id?: string | undefined;
711
618
  relevance_scope?: "narrow" | "broad" | undefined;
712
619
  relevance_paths?: string[] | undefined;
713
- entities?: string[] | undefined;
714
620
  knowledge_type?: unknown;
715
621
  maturity?: "draft" | "verified" | "proven" | undefined;
716
- knowledge_layer?: "personal" | "team" | undefined;
717
- layer_reason?: string | undefined;
718
622
  tags?: string[] | undefined;
719
623
  related?: string[] | undefined;
720
624
  }>>;
@@ -805,12 +709,9 @@ declare const agentsMetaSchema: z.ZodObject<{
805
709
  tech_stack: z.ZodArray<z.ZodString, "many">;
806
710
  impact: z.ZodArray<z.ZodString, "many">;
807
711
  must_read_if: z.ZodString;
808
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
809
712
  id: z.ZodOptional<z.ZodString>;
810
713
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
811
714
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
812
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
813
- layer_reason: z.ZodOptional<z.ZodString>;
814
715
  created_at: z.ZodOptional<z.ZodString>;
815
716
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
717
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -826,11 +727,8 @@ declare const agentsMetaSchema: z.ZodObject<{
826
727
  must_read_if: string;
827
728
  created_at?: string | undefined;
828
729
  id?: string | undefined;
829
- entities?: string[] | undefined;
830
730
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
831
731
  maturity?: "draft" | "verified" | "proven" | undefined;
832
- knowledge_layer?: "personal" | "team" | undefined;
833
- layer_reason?: string | undefined;
834
732
  tags?: string[] | undefined;
835
733
  related?: string[] | undefined;
836
734
  }, {
@@ -843,11 +741,8 @@ declare const agentsMetaSchema: z.ZodObject<{
843
741
  id?: string | undefined;
844
742
  relevance_scope?: "narrow" | "broad" | undefined;
845
743
  relevance_paths?: string[] | undefined;
846
- entities?: string[] | undefined;
847
744
  knowledge_type?: unknown;
848
745
  maturity?: "draft" | "verified" | "proven" | undefined;
849
- knowledge_layer?: "personal" | "team" | undefined;
850
- layer_reason?: string | undefined;
851
746
  tags?: string[] | undefined;
852
747
  related?: string[] | undefined;
853
748
  }>>;
@@ -1789,8 +1684,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
1789
1684
  writable: z.ZodDefault<z.ZodBoolean>;
1790
1685
  personal: z.ZodDefault<z.ZodBoolean>;
1791
1686
  }, "strict", z.ZodTypeAny, {
1792
- personal: boolean;
1793
1687
  store_uuid: string;
1688
+ personal: boolean;
1794
1689
  alias: string;
1795
1690
  writable: boolean;
1796
1691
  mount_name?: string | undefined;
@@ -1829,8 +1724,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
1829
1724
  }, "strict", z.ZodTypeAny, {
1830
1725
  uid: string;
1831
1726
  mountedStores: {
1832
- personal: boolean;
1833
1727
  store_uuid: string;
1728
+ personal: boolean;
1834
1729
  alias: string;
1835
1730
  writable: boolean;
1836
1731
  mount_name?: string | undefined;
@@ -2063,8 +1958,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2063
1958
  writable: z.ZodDefault<z.ZodBoolean>;
2064
1959
  personal: z.ZodDefault<z.ZodBoolean>;
2065
1960
  }, "strict", z.ZodTypeAny, {
2066
- personal: boolean;
2067
1961
  store_uuid: string;
1962
+ personal: boolean;
2068
1963
  alias: string;
2069
1964
  writable: boolean;
2070
1965
  mount_name?: string | undefined;
@@ -2103,8 +1998,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2103
1998
  }, "strict", z.ZodTypeAny, {
2104
1999
  uid: string;
2105
2000
  mountedStores: {
2106
- personal: boolean;
2107
2001
  store_uuid: string;
2002
+ personal: boolean;
2108
2003
  alias: string;
2109
2004
  writable: boolean;
2110
2005
  mount_name?: string | undefined;
@@ -2299,8 +2194,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2299
2194
  input: {
2300
2195
  uid: string;
2301
2196
  mountedStores: {
2302
- personal: boolean;
2303
2197
  store_uuid: string;
2198
+ personal: boolean;
2304
2199
  alias: string;
2305
2200
  writable: boolean;
2306
2201
  mount_name?: string | undefined;
@@ -2387,8 +2282,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2387
2282
  writable: z.ZodDefault<z.ZodBoolean>;
2388
2283
  personal: z.ZodDefault<z.ZodBoolean>;
2389
2284
  }, "strict", z.ZodTypeAny, {
2390
- personal: boolean;
2391
2285
  store_uuid: string;
2286
+ personal: boolean;
2392
2287
  alias: string;
2393
2288
  writable: boolean;
2394
2289
  mount_name?: string | undefined;
@@ -2427,8 +2322,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2427
2322
  }, "strict", z.ZodTypeAny, {
2428
2323
  uid: string;
2429
2324
  mountedStores: {
2430
- personal: boolean;
2431
2325
  store_uuid: string;
2326
+ personal: boolean;
2432
2327
  alias: string;
2433
2328
  writable: boolean;
2434
2329
  mount_name?: string | undefined;
@@ -2623,8 +2518,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2623
2518
  input: {
2624
2519
  uid: string;
2625
2520
  mountedStores: {
2626
- personal: boolean;
2627
2521
  store_uuid: string;
2522
+ personal: boolean;
2628
2523
  alias: string;
2629
2524
  writable: boolean;
2630
2525
  mount_name?: string | undefined;
@@ -2726,8 +2621,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2726
2621
  input: {
2727
2622
  uid: string;
2728
2623
  mountedStores: {
2729
- personal: boolean;
2730
2624
  store_uuid: string;
2625
+ personal: boolean;
2731
2626
  alias: string;
2732
2627
  writable: boolean;
2733
2628
  mount_name?: string | undefined;
@@ -2865,6 +2760,7 @@ interface StoreKnowledgeRef {
2865
2760
  alias: string;
2866
2761
  type: string;
2867
2762
  file: string;
2763
+ project?: string;
2868
2764
  }
2869
2765
  interface MountedStoreDir {
2870
2766
  store_uuid: string;
@@ -4193,12 +4089,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4193
4089
  tech_stack: z.ZodArray<z.ZodString, "many">;
4194
4090
  impact: z.ZodArray<z.ZodString, "many">;
4195
4091
  must_read_if: z.ZodString;
4196
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4197
4092
  id: z.ZodOptional<z.ZodString>;
4198
4093
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4199
4094
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4200
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4201
- layer_reason: z.ZodOptional<z.ZodString>;
4202
4095
  created_at: z.ZodOptional<z.ZodString>;
4203
4096
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4204
4097
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4214,11 +4107,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4214
4107
  must_read_if: string;
4215
4108
  created_at?: string | undefined;
4216
4109
  id?: string | undefined;
4217
- entities?: string[] | undefined;
4218
4110
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4219
4111
  maturity?: "draft" | "verified" | "proven" | undefined;
4220
- knowledge_layer?: "personal" | "team" | undefined;
4221
- layer_reason?: string | undefined;
4222
4112
  tags?: string[] | undefined;
4223
4113
  related?: string[] | undefined;
4224
4114
  }, {
@@ -4231,11 +4121,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4231
4121
  id?: string | undefined;
4232
4122
  relevance_scope?: "narrow" | "broad" | undefined;
4233
4123
  relevance_paths?: string[] | undefined;
4234
- entities?: string[] | undefined;
4235
4124
  knowledge_type?: unknown;
4236
4125
  maturity?: "draft" | "verified" | "proven" | undefined;
4237
- knowledge_layer?: "personal" | "team" | undefined;
4238
- layer_reason?: string | undefined;
4239
4126
  tags?: string[] | undefined;
4240
4127
  related?: string[] | undefined;
4241
4128
  }>>;
@@ -4253,12 +4140,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4253
4140
  tech_stack: z.ZodArray<z.ZodString, "many">;
4254
4141
  impact: z.ZodArray<z.ZodString, "many">;
4255
4142
  must_read_if: z.ZodString;
4256
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4257
4143
  id: z.ZodOptional<z.ZodString>;
4258
4144
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4259
4145
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4260
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4261
- layer_reason: z.ZodOptional<z.ZodString>;
4262
4146
  created_at: z.ZodOptional<z.ZodString>;
4263
4147
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4264
4148
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4274,11 +4158,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4274
4158
  must_read_if: string;
4275
4159
  created_at?: string | undefined;
4276
4160
  id?: string | undefined;
4277
- entities?: string[] | undefined;
4278
4161
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4279
4162
  maturity?: "draft" | "verified" | "proven" | undefined;
4280
- knowledge_layer?: "personal" | "team" | undefined;
4281
- layer_reason?: string | undefined;
4282
4163
  tags?: string[] | undefined;
4283
4164
  related?: string[] | undefined;
4284
4165
  }, {
@@ -4291,11 +4172,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4291
4172
  id?: string | undefined;
4292
4173
  relevance_scope?: "narrow" | "broad" | undefined;
4293
4174
  relevance_paths?: string[] | undefined;
4294
- entities?: string[] | undefined;
4295
4175
  knowledge_type?: unknown;
4296
4176
  maturity?: "draft" | "verified" | "proven" | undefined;
4297
- knowledge_layer?: "personal" | "team" | undefined;
4298
- layer_reason?: string | undefined;
4299
4177
  tags?: string[] | undefined;
4300
4178
  related?: string[] | undefined;
4301
4179
  }>>;
@@ -4313,12 +4191,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4313
4191
  tech_stack: z.ZodArray<z.ZodString, "many">;
4314
4192
  impact: z.ZodArray<z.ZodString, "many">;
4315
4193
  must_read_if: z.ZodString;
4316
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4317
4194
  id: z.ZodOptional<z.ZodString>;
4318
4195
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4319
4196
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4320
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4321
- layer_reason: z.ZodOptional<z.ZodString>;
4322
4197
  created_at: z.ZodOptional<z.ZodString>;
4323
4198
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4324
4199
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4334,11 +4209,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4334
4209
  must_read_if: string;
4335
4210
  created_at?: string | undefined;
4336
4211
  id?: string | undefined;
4337
- entities?: string[] | undefined;
4338
4212
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4339
4213
  maturity?: "draft" | "verified" | "proven" | undefined;
4340
- knowledge_layer?: "personal" | "team" | undefined;
4341
- layer_reason?: string | undefined;
4342
4214
  tags?: string[] | undefined;
4343
4215
  related?: string[] | undefined;
4344
4216
  }, {
@@ -4351,11 +4223,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4351
4223
  id?: string | undefined;
4352
4224
  relevance_scope?: "narrow" | "broad" | undefined;
4353
4225
  relevance_paths?: string[] | undefined;
4354
- entities?: string[] | undefined;
4355
4226
  knowledge_type?: unknown;
4356
4227
  maturity?: "draft" | "verified" | "proven" | undefined;
4357
- knowledge_layer?: "personal" | "team" | undefined;
4358
- layer_reason?: string | undefined;
4359
4228
  tags?: string[] | undefined;
4360
4229
  related?: string[] | undefined;
4361
4230
  }>>;
@@ -4373,12 +4242,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4373
4242
  tech_stack: z.ZodArray<z.ZodString, "many">;
4374
4243
  impact: z.ZodArray<z.ZodString, "many">;
4375
4244
  must_read_if: z.ZodString;
4376
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4377
4245
  id: z.ZodOptional<z.ZodString>;
4378
4246
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4379
4247
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4380
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4381
- layer_reason: z.ZodOptional<z.ZodString>;
4382
4248
  created_at: z.ZodOptional<z.ZodString>;
4383
4249
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4384
4250
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4394,11 +4260,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4394
4260
  must_read_if: string;
4395
4261
  created_at?: string | undefined;
4396
4262
  id?: string | undefined;
4397
- entities?: string[] | undefined;
4398
4263
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4399
4264
  maturity?: "draft" | "verified" | "proven" | undefined;
4400
- knowledge_layer?: "personal" | "team" | undefined;
4401
- layer_reason?: string | undefined;
4402
4265
  tags?: string[] | undefined;
4403
4266
  related?: string[] | undefined;
4404
4267
  }, {
@@ -4411,11 +4274,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4411
4274
  id?: string | undefined;
4412
4275
  relevance_scope?: "narrow" | "broad" | undefined;
4413
4276
  relevance_paths?: string[] | undefined;
4414
- entities?: string[] | undefined;
4415
4277
  knowledge_type?: unknown;
4416
4278
  maturity?: "draft" | "verified" | "proven" | undefined;
4417
- knowledge_layer?: "personal" | "team" | undefined;
4418
- layer_reason?: string | undefined;
4419
4279
  tags?: string[] | undefined;
4420
4280
  related?: string[] | undefined;
4421
4281
  }>>;
@@ -4506,12 +4366,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4506
4366
  tech_stack: z.ZodArray<z.ZodString, "many">;
4507
4367
  impact: z.ZodArray<z.ZodString, "many">;
4508
4368
  must_read_if: z.ZodString;
4509
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4510
4369
  id: z.ZodOptional<z.ZodString>;
4511
4370
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4512
4371
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4513
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4514
- layer_reason: z.ZodOptional<z.ZodString>;
4515
4372
  created_at: z.ZodOptional<z.ZodString>;
4516
4373
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4517
4374
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4527,11 +4384,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4527
4384
  must_read_if: string;
4528
4385
  created_at?: string | undefined;
4529
4386
  id?: string | undefined;
4530
- entities?: string[] | undefined;
4531
4387
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4532
4388
  maturity?: "draft" | "verified" | "proven" | undefined;
4533
- knowledge_layer?: "personal" | "team" | undefined;
4534
- layer_reason?: string | undefined;
4535
4389
  tags?: string[] | undefined;
4536
4390
  related?: string[] | undefined;
4537
4391
  }, {
@@ -4544,11 +4398,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4544
4398
  id?: string | undefined;
4545
4399
  relevance_scope?: "narrow" | "broad" | undefined;
4546
4400
  relevance_paths?: string[] | undefined;
4547
- entities?: string[] | undefined;
4548
4401
  knowledge_type?: unknown;
4549
4402
  maturity?: "draft" | "verified" | "proven" | undefined;
4550
- knowledge_layer?: "personal" | "team" | undefined;
4551
- layer_reason?: string | undefined;
4552
4403
  tags?: string[] | undefined;
4553
4404
  related?: string[] | undefined;
4554
4405
  }>>;
@@ -4607,12 +4458,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4607
4458
  tech_stack: z.ZodArray<z.ZodString, "many">;
4608
4459
  impact: z.ZodArray<z.ZodString, "many">;
4609
4460
  must_read_if: z.ZodString;
4610
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4611
4461
  id: z.ZodOptional<z.ZodString>;
4612
4462
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4613
4463
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4614
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4615
- layer_reason: z.ZodOptional<z.ZodString>;
4616
4464
  created_at: z.ZodOptional<z.ZodString>;
4617
4465
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4618
4466
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4628,11 +4476,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4628
4476
  must_read_if: string;
4629
4477
  created_at?: string | undefined;
4630
4478
  id?: string | undefined;
4631
- entities?: string[] | undefined;
4632
4479
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4633
4480
  maturity?: "draft" | "verified" | "proven" | undefined;
4634
- knowledge_layer?: "personal" | "team" | undefined;
4635
- layer_reason?: string | undefined;
4636
4481
  tags?: string[] | undefined;
4637
4482
  related?: string[] | undefined;
4638
4483
  }, {
@@ -4645,11 +4490,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4645
4490
  id?: string | undefined;
4646
4491
  relevance_scope?: "narrow" | "broad" | undefined;
4647
4492
  relevance_paths?: string[] | undefined;
4648
- entities?: string[] | undefined;
4649
4493
  knowledge_type?: unknown;
4650
4494
  maturity?: "draft" | "verified" | "proven" | undefined;
4651
- knowledge_layer?: "personal" | "team" | undefined;
4652
- layer_reason?: string | undefined;
4653
4495
  tags?: string[] | undefined;
4654
4496
  related?: string[] | undefined;
4655
4497
  }>>;
@@ -5429,12 +5271,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5429
5271
  tech_stack: z.ZodArray<z.ZodString, "many">;
5430
5272
  impact: z.ZodArray<z.ZodString, "many">;
5431
5273
  must_read_if: z.ZodString;
5432
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5433
5274
  id: z.ZodOptional<z.ZodString>;
5434
5275
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5435
5276
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5436
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5437
- layer_reason: z.ZodOptional<z.ZodString>;
5438
5277
  created_at: z.ZodOptional<z.ZodString>;
5439
5278
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5440
5279
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5450,11 +5289,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5450
5289
  must_read_if: string;
5451
5290
  created_at?: string | undefined;
5452
5291
  id?: string | undefined;
5453
- entities?: string[] | undefined;
5454
5292
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5455
5293
  maturity?: "draft" | "verified" | "proven" | undefined;
5456
- knowledge_layer?: "personal" | "team" | undefined;
5457
- layer_reason?: string | undefined;
5458
5294
  tags?: string[] | undefined;
5459
5295
  related?: string[] | undefined;
5460
5296
  }, {
@@ -5467,11 +5303,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5467
5303
  id?: string | undefined;
5468
5304
  relevance_scope?: "narrow" | "broad" | undefined;
5469
5305
  relevance_paths?: string[] | undefined;
5470
- entities?: string[] | undefined;
5471
5306
  knowledge_type?: unknown;
5472
5307
  maturity?: "draft" | "verified" | "proven" | undefined;
5473
- knowledge_layer?: "personal" | "team" | undefined;
5474
- layer_reason?: string | undefined;
5475
5308
  tags?: string[] | undefined;
5476
5309
  related?: string[] | undefined;
5477
5310
  }>>;
@@ -5489,12 +5322,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5489
5322
  tech_stack: z.ZodArray<z.ZodString, "many">;
5490
5323
  impact: z.ZodArray<z.ZodString, "many">;
5491
5324
  must_read_if: z.ZodString;
5492
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5493
5325
  id: z.ZodOptional<z.ZodString>;
5494
5326
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5495
5327
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5496
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5497
- layer_reason: z.ZodOptional<z.ZodString>;
5498
5328
  created_at: z.ZodOptional<z.ZodString>;
5499
5329
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5500
5330
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5510,11 +5340,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5510
5340
  must_read_if: string;
5511
5341
  created_at?: string | undefined;
5512
5342
  id?: string | undefined;
5513
- entities?: string[] | undefined;
5514
5343
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5515
5344
  maturity?: "draft" | "verified" | "proven" | undefined;
5516
- knowledge_layer?: "personal" | "team" | undefined;
5517
- layer_reason?: string | undefined;
5518
5345
  tags?: string[] | undefined;
5519
5346
  related?: string[] | undefined;
5520
5347
  }, {
@@ -5527,11 +5354,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5527
5354
  id?: string | undefined;
5528
5355
  relevance_scope?: "narrow" | "broad" | undefined;
5529
5356
  relevance_paths?: string[] | undefined;
5530
- entities?: string[] | undefined;
5531
5357
  knowledge_type?: unknown;
5532
5358
  maturity?: "draft" | "verified" | "proven" | undefined;
5533
- knowledge_layer?: "personal" | "team" | undefined;
5534
- layer_reason?: string | undefined;
5535
5359
  tags?: string[] | undefined;
5536
5360
  related?: string[] | undefined;
5537
5361
  }>>;
@@ -5549,12 +5373,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5549
5373
  tech_stack: z.ZodArray<z.ZodString, "many">;
5550
5374
  impact: z.ZodArray<z.ZodString, "many">;
5551
5375
  must_read_if: z.ZodString;
5552
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5553
5376
  id: z.ZodOptional<z.ZodString>;
5554
5377
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5555
5378
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5556
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5557
- layer_reason: z.ZodOptional<z.ZodString>;
5558
5379
  created_at: z.ZodOptional<z.ZodString>;
5559
5380
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5560
5381
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5570,11 +5391,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5570
5391
  must_read_if: string;
5571
5392
  created_at?: string | undefined;
5572
5393
  id?: string | undefined;
5573
- entities?: string[] | undefined;
5574
5394
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5575
5395
  maturity?: "draft" | "verified" | "proven" | undefined;
5576
- knowledge_layer?: "personal" | "team" | undefined;
5577
- layer_reason?: string | undefined;
5578
5396
  tags?: string[] | undefined;
5579
5397
  related?: string[] | undefined;
5580
5398
  }, {
@@ -5587,11 +5405,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5587
5405
  id?: string | undefined;
5588
5406
  relevance_scope?: "narrow" | "broad" | undefined;
5589
5407
  relevance_paths?: string[] | undefined;
5590
- entities?: string[] | undefined;
5591
5408
  knowledge_type?: unknown;
5592
5409
  maturity?: "draft" | "verified" | "proven" | undefined;
5593
- knowledge_layer?: "personal" | "team" | undefined;
5594
- layer_reason?: string | undefined;
5595
5410
  tags?: string[] | undefined;
5596
5411
  related?: string[] | undefined;
5597
5412
  }>>;
@@ -5609,12 +5424,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5609
5424
  tech_stack: z.ZodArray<z.ZodString, "many">;
5610
5425
  impact: z.ZodArray<z.ZodString, "many">;
5611
5426
  must_read_if: z.ZodString;
5612
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5613
5427
  id: z.ZodOptional<z.ZodString>;
5614
5428
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5615
5429
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5616
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5617
- layer_reason: z.ZodOptional<z.ZodString>;
5618
5430
  created_at: z.ZodOptional<z.ZodString>;
5619
5431
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5620
5432
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5630,11 +5442,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5630
5442
  must_read_if: string;
5631
5443
  created_at?: string | undefined;
5632
5444
  id?: string | undefined;
5633
- entities?: string[] | undefined;
5634
5445
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5635
5446
  maturity?: "draft" | "verified" | "proven" | undefined;
5636
- knowledge_layer?: "personal" | "team" | undefined;
5637
- layer_reason?: string | undefined;
5638
5447
  tags?: string[] | undefined;
5639
5448
  related?: string[] | undefined;
5640
5449
  }, {
@@ -5647,11 +5456,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5647
5456
  id?: string | undefined;
5648
5457
  relevance_scope?: "narrow" | "broad" | undefined;
5649
5458
  relevance_paths?: string[] | undefined;
5650
- entities?: string[] | undefined;
5651
5459
  knowledge_type?: unknown;
5652
5460
  maturity?: "draft" | "verified" | "proven" | undefined;
5653
- knowledge_layer?: "personal" | "team" | undefined;
5654
- layer_reason?: string | undefined;
5655
5461
  tags?: string[] | undefined;
5656
5462
  related?: string[] | undefined;
5657
5463
  }>>;
@@ -5742,12 +5548,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5742
5548
  tech_stack: z.ZodArray<z.ZodString, "many">;
5743
5549
  impact: z.ZodArray<z.ZodString, "many">;
5744
5550
  must_read_if: z.ZodString;
5745
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5746
5551
  id: z.ZodOptional<z.ZodString>;
5747
5552
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5748
5553
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5749
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5750
- layer_reason: z.ZodOptional<z.ZodString>;
5751
5554
  created_at: z.ZodOptional<z.ZodString>;
5752
5555
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5753
5556
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5763,11 +5566,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5763
5566
  must_read_if: string;
5764
5567
  created_at?: string | undefined;
5765
5568
  id?: string | undefined;
5766
- entities?: string[] | undefined;
5767
5569
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5768
5570
  maturity?: "draft" | "verified" | "proven" | undefined;
5769
- knowledge_layer?: "personal" | "team" | undefined;
5770
- layer_reason?: string | undefined;
5771
5571
  tags?: string[] | undefined;
5772
5572
  related?: string[] | undefined;
5773
5573
  }, {
@@ -5780,11 +5580,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5780
5580
  id?: string | undefined;
5781
5581
  relevance_scope?: "narrow" | "broad" | undefined;
5782
5582
  relevance_paths?: string[] | undefined;
5783
- entities?: string[] | undefined;
5784
5583
  knowledge_type?: unknown;
5785
5584
  maturity?: "draft" | "verified" | "proven" | undefined;
5786
- knowledge_layer?: "personal" | "team" | undefined;
5787
- layer_reason?: string | undefined;
5788
5585
  tags?: string[] | undefined;
5789
5586
  related?: string[] | undefined;
5790
5587
  }>>;
@@ -5843,12 +5640,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5843
5640
  tech_stack: z.ZodArray<z.ZodString, "many">;
5844
5641
  impact: z.ZodArray<z.ZodString, "many">;
5845
5642
  must_read_if: z.ZodString;
5846
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5847
5643
  id: z.ZodOptional<z.ZodString>;
5848
5644
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5849
5645
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5850
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5851
- layer_reason: z.ZodOptional<z.ZodString>;
5852
5646
  created_at: z.ZodOptional<z.ZodString>;
5853
5647
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5854
5648
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5864,11 +5658,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5864
5658
  must_read_if: string;
5865
5659
  created_at?: string | undefined;
5866
5660
  id?: string | undefined;
5867
- entities?: string[] | undefined;
5868
5661
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5869
5662
  maturity?: "draft" | "verified" | "proven" | undefined;
5870
- knowledge_layer?: "personal" | "team" | undefined;
5871
- layer_reason?: string | undefined;
5872
5663
  tags?: string[] | undefined;
5873
5664
  related?: string[] | undefined;
5874
5665
  }, {
@@ -5881,11 +5672,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5881
5672
  id?: string | undefined;
5882
5673
  relevance_scope?: "narrow" | "broad" | undefined;
5883
5674
  relevance_paths?: string[] | undefined;
5884
- entities?: string[] | undefined;
5885
5675
  knowledge_type?: unknown;
5886
5676
  maturity?: "draft" | "verified" | "proven" | undefined;
5887
- knowledge_layer?: "personal" | "team" | undefined;
5888
- layer_reason?: string | undefined;
5889
5677
  tags?: string[] | undefined;
5890
5678
  related?: string[] | undefined;
5891
5679
  }>>;