@danielsimonjr/memory-mcp 12.5.2 → 12.7.0

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.
Files changed (159) hide show
  1. package/README.md +158 -14
  2. package/dist/core/EntityManager.d.ts +263 -0
  3. package/dist/core/EntityManager.d.ts.map +1 -0
  4. package/dist/core/EntityManager.js +478 -0
  5. package/dist/core/GraphStorage.d.ts +344 -0
  6. package/dist/core/GraphStorage.d.ts.map +1 -0
  7. package/dist/core/GraphStorage.js +708 -0
  8. package/dist/core/GraphTraversal.d.ts +136 -0
  9. package/dist/core/GraphTraversal.d.ts.map +1 -0
  10. package/dist/core/GraphTraversal.js +556 -0
  11. package/dist/core/HierarchyManager.d.ts +111 -0
  12. package/dist/core/HierarchyManager.d.ts.map +1 -0
  13. package/dist/core/HierarchyManager.js +224 -0
  14. package/dist/core/ManagerContext.d.ts +72 -0
  15. package/dist/core/ManagerContext.d.ts.map +1 -0
  16. package/dist/core/ManagerContext.js +118 -0
  17. package/dist/core/ObservationManager.d.ts +85 -0
  18. package/dist/core/ObservationManager.d.ts.map +1 -0
  19. package/dist/core/ObservationManager.js +123 -0
  20. package/dist/core/RelationManager.d.ts +131 -0
  21. package/dist/core/RelationManager.d.ts.map +1 -0
  22. package/dist/core/RelationManager.js +210 -0
  23. package/dist/core/SQLiteStorage.d.ts +354 -0
  24. package/dist/core/SQLiteStorage.d.ts.map +1 -0
  25. package/dist/core/SQLiteStorage.js +917 -0
  26. package/dist/core/StorageFactory.d.ts +45 -0
  27. package/dist/core/StorageFactory.d.ts.map +1 -0
  28. package/dist/core/StorageFactory.js +64 -0
  29. package/dist/core/TransactionManager.d.ts +259 -0
  30. package/dist/core/TransactionManager.d.ts.map +1 -0
  31. package/dist/core/TransactionManager.js +392 -0
  32. package/dist/core/index.d.ts +16 -0
  33. package/dist/core/index.d.ts.map +1 -0
  34. package/dist/core/index.js +17 -0
  35. package/dist/features/AnalyticsManager.d.ts +44 -0
  36. package/dist/features/AnalyticsManager.d.ts.map +1 -0
  37. package/dist/features/AnalyticsManager.js +223 -0
  38. package/dist/features/ArchiveManager.d.ts +121 -0
  39. package/dist/features/ArchiveManager.d.ts.map +1 -0
  40. package/dist/features/ArchiveManager.js +240 -0
  41. package/dist/features/CompressionManager.d.ts +109 -0
  42. package/dist/features/CompressionManager.d.ts.map +1 -0
  43. package/dist/features/CompressionManager.js +404 -0
  44. package/dist/features/IOManager.d.ts +221 -0
  45. package/dist/features/IOManager.d.ts.map +1 -0
  46. package/dist/features/IOManager.js +997 -0
  47. package/dist/features/StreamingExporter.d.ts +105 -0
  48. package/dist/features/StreamingExporter.d.ts.map +1 -0
  49. package/dist/features/StreamingExporter.js +150 -0
  50. package/dist/features/TagManager.d.ts +147 -0
  51. package/dist/features/TagManager.d.ts.map +1 -0
  52. package/dist/features/TagManager.js +210 -0
  53. package/dist/features/index.d.ts +12 -0
  54. package/dist/features/index.d.ts.map +1 -0
  55. package/dist/features/index.js +11 -0
  56. package/dist/index.js +8 -2
  57. package/dist/search/BasicSearch.d.ts +51 -0
  58. package/dist/search/BasicSearch.d.ts.map +1 -0
  59. package/dist/search/BasicSearch.js +137 -0
  60. package/dist/search/BooleanSearch.d.ts +98 -0
  61. package/dist/search/BooleanSearch.d.ts.map +1 -0
  62. package/dist/search/BooleanSearch.js +430 -0
  63. package/dist/search/EmbeddingService.d.ts +178 -0
  64. package/dist/search/EmbeddingService.d.ts.map +1 -0
  65. package/dist/search/EmbeddingService.js +358 -0
  66. package/dist/search/FuzzySearch.d.ts +118 -0
  67. package/dist/search/FuzzySearch.d.ts.map +1 -0
  68. package/dist/search/FuzzySearch.js +312 -0
  69. package/dist/search/RankedSearch.d.ts +71 -0
  70. package/dist/search/RankedSearch.d.ts.map +1 -0
  71. package/dist/search/RankedSearch.js +238 -0
  72. package/dist/search/SavedSearchManager.d.ts +79 -0
  73. package/dist/search/SavedSearchManager.d.ts.map +1 -0
  74. package/dist/search/SavedSearchManager.js +145 -0
  75. package/dist/search/SearchFilterChain.d.ts +120 -0
  76. package/dist/search/SearchFilterChain.d.ts.map +1 -0
  77. package/dist/search/SearchFilterChain.js +185 -0
  78. package/dist/search/SearchManager.d.ts +285 -0
  79. package/dist/search/SearchManager.d.ts.map +1 -0
  80. package/dist/search/SearchManager.js +338 -0
  81. package/dist/search/SearchSuggestions.d.ts +27 -0
  82. package/dist/search/SearchSuggestions.d.ts.map +1 -0
  83. package/dist/search/SearchSuggestions.js +57 -0
  84. package/dist/search/SemanticSearch.d.ts +146 -0
  85. package/dist/search/SemanticSearch.d.ts.map +1 -0
  86. package/dist/search/SemanticSearch.js +313 -0
  87. package/dist/search/TFIDFIndexManager.d.ts +63 -0
  88. package/dist/search/TFIDFIndexManager.d.ts.map +1 -0
  89. package/dist/search/TFIDFIndexManager.js +215 -0
  90. package/dist/search/VectorStore.d.ts +235 -0
  91. package/dist/search/VectorStore.d.ts.map +1 -0
  92. package/dist/search/VectorStore.js +311 -0
  93. package/dist/search/index.d.ts +18 -0
  94. package/dist/search/index.d.ts.map +1 -0
  95. package/dist/search/index.js +21 -0
  96. package/dist/server/MCPServer.d.ts.map +1 -1
  97. package/dist/server/toolDefinitions.d.ts +1 -1
  98. package/dist/server/toolDefinitions.d.ts.map +1 -1
  99. package/dist/server/toolDefinitions.js +254 -2
  100. package/dist/server/toolHandlers.d.ts.map +1 -1
  101. package/dist/server/toolHandlers.js +241 -25
  102. package/dist/types/index.d.ts +13 -0
  103. package/dist/types/index.d.ts.map +1 -0
  104. package/dist/types/index.js +12 -0
  105. package/dist/types/types.d.ts +1234 -0
  106. package/dist/types/types.d.ts.map +1 -0
  107. package/dist/types/types.js +9 -0
  108. package/dist/utils/compressedCache.d.ts +192 -0
  109. package/dist/utils/compressedCache.d.ts.map +1 -0
  110. package/dist/utils/compressedCache.js +309 -0
  111. package/dist/utils/compressionUtil.d.ts +214 -0
  112. package/dist/utils/compressionUtil.d.ts.map +1 -0
  113. package/dist/utils/compressionUtil.js +247 -0
  114. package/dist/utils/constants.d.ts +245 -0
  115. package/dist/utils/constants.d.ts.map +1 -0
  116. package/dist/utils/constants.js +252 -0
  117. package/dist/utils/entityUtils.d.ts +321 -0
  118. package/dist/utils/entityUtils.d.ts.map +1 -0
  119. package/dist/utils/entityUtils.js +538 -0
  120. package/dist/utils/errors.d.ts +77 -0
  121. package/dist/utils/errors.d.ts.map +1 -0
  122. package/dist/utils/errors.js +121 -0
  123. package/dist/utils/formatters.d.ts +145 -0
  124. package/dist/utils/formatters.d.ts.map +1 -0
  125. package/dist/utils/formatters.js +132 -0
  126. package/dist/utils/index.d.ts +22 -0
  127. package/dist/utils/index.d.ts.map +1 -0
  128. package/dist/utils/index.js +75 -0
  129. package/dist/utils/indexes.d.ts +270 -0
  130. package/dist/utils/indexes.d.ts.map +1 -0
  131. package/dist/utils/indexes.js +526 -0
  132. package/dist/utils/logger.d.ts +24 -0
  133. package/dist/utils/logger.d.ts.map +1 -0
  134. package/dist/utils/logger.js +33 -0
  135. package/dist/utils/parallelUtils.d.ts +72 -0
  136. package/dist/utils/parallelUtils.d.ts.map +1 -0
  137. package/dist/utils/parallelUtils.js +169 -0
  138. package/dist/utils/schemas.d.ts +374 -0
  139. package/dist/utils/schemas.d.ts.map +1 -0
  140. package/dist/utils/schemas.js +484 -0
  141. package/dist/utils/searchAlgorithms.d.ts +99 -0
  142. package/dist/utils/searchAlgorithms.d.ts.map +1 -0
  143. package/dist/utils/searchAlgorithms.js +167 -0
  144. package/dist/utils/searchCache.d.ts +108 -0
  145. package/dist/utils/searchCache.d.ts.map +1 -0
  146. package/dist/utils/searchCache.js +209 -0
  147. package/dist/utils/taskScheduler.d.ts +290 -0
  148. package/dist/utils/taskScheduler.d.ts.map +1 -0
  149. package/dist/utils/taskScheduler.js +466 -0
  150. package/dist/workers/WorkerPool.d.ts +81 -0
  151. package/dist/workers/WorkerPool.d.ts.map +1 -0
  152. package/dist/workers/WorkerPool.js +121 -0
  153. package/dist/workers/index.d.ts +12 -0
  154. package/dist/workers/index.d.ts.map +1 -0
  155. package/dist/workers/index.js +9 -0
  156. package/dist/workers/levenshteinWorker.d.ts +60 -0
  157. package/dist/workers/levenshteinWorker.d.ts.map +1 -0
  158. package/dist/workers/levenshteinWorker.js +98 -0
  159. package/package.json +7 -7
@@ -0,0 +1,344 @@
1
+ /**
2
+ * Graph Storage
3
+ *
4
+ * Handles file I/O operations for the knowledge graph using JSONL format.
5
+ * Implements IGraphStorage interface for storage abstraction.
6
+ *
7
+ * @module core/GraphStorage
8
+ */
9
+ import type { KnowledgeGraph, Entity, Relation, ReadonlyKnowledgeGraph, IGraphStorage, LowercaseData } from '../types/index.js';
10
+ /**
11
+ * GraphStorage manages persistence of the knowledge graph to disk.
12
+ *
13
+ * Uses JSONL (JSON Lines) format where each line is a separate JSON object
14
+ * representing either an entity or a relation.
15
+ *
16
+ * OPTIMIZED: Implements in-memory caching to avoid repeated disk reads.
17
+ * Cache is invalidated on every write operation to ensure consistency.
18
+ *
19
+ * @example
20
+ * ```typescript
21
+ * const storage = new GraphStorage('/path/to/memory.jsonl');
22
+ * const graph = await storage.loadGraph();
23
+ * graph.entities.push(newEntity);
24
+ * await storage.saveGraph(graph);
25
+ * ```
26
+ */
27
+ export declare class GraphStorage implements IGraphStorage {
28
+ private memoryFilePath;
29
+ /**
30
+ * Mutex for thread-safe access to storage operations.
31
+ * Prevents concurrent writes from corrupting the file or cache.
32
+ */
33
+ private mutex;
34
+ /**
35
+ * In-memory cache of the knowledge graph.
36
+ * Null when cache is empty or invalidated.
37
+ */
38
+ private cache;
39
+ /**
40
+ * Number of pending append operations since last compaction.
41
+ * Used to trigger automatic compaction when threshold is reached.
42
+ */
43
+ private pendingAppends;
44
+ /**
45
+ * Dynamic threshold for automatic compaction.
46
+ *
47
+ * Returns the larger of 100 or 10% of the current entity count.
48
+ * This scales with graph size to avoid too-frequent compaction on large graphs
49
+ * while maintaining a reasonable minimum for small graphs.
50
+ *
51
+ * @returns Compaction threshold value
52
+ */
53
+ private get compactionThreshold();
54
+ /**
55
+ * O(1) entity lookup by name.
56
+ */
57
+ private nameIndex;
58
+ /**
59
+ * O(1) entity lookup by type.
60
+ */
61
+ private typeIndex;
62
+ /**
63
+ * Pre-computed lowercase strings for search optimization.
64
+ */
65
+ private lowercaseCache;
66
+ /**
67
+ * O(1) relation lookup by entity name.
68
+ */
69
+ private relationIndex;
70
+ /**
71
+ * O(1) observation word lookup by entity.
72
+ * Maps words in observations to entity names.
73
+ */
74
+ private observationIndex;
75
+ /**
76
+ * Create a new GraphStorage instance.
77
+ *
78
+ * @param memoryFilePath - Absolute path to the JSONL file
79
+ */
80
+ constructor(memoryFilePath: string);
81
+ /**
82
+ * Write content to file with fsync for durability.
83
+ *
84
+ * @param content - Content to write
85
+ */
86
+ private durableWriteFile;
87
+ /**
88
+ * Append content to file with fsync for durability.
89
+ *
90
+ * @param content - Content to append
91
+ * @param prependNewline - Whether to prepend a newline
92
+ */
93
+ private durableAppendFile;
94
+ /**
95
+ * Load the knowledge graph from disk (read-only access).
96
+ *
97
+ * OPTIMIZED: Returns cached reference directly without copying.
98
+ * This is O(1) regardless of graph size. For mutation operations,
99
+ * use getGraphForMutation() instead.
100
+ *
101
+ * @returns Promise resolving to read-only knowledge graph reference
102
+ * @throws Error if file exists but cannot be read or parsed
103
+ */
104
+ loadGraph(): Promise<ReadonlyKnowledgeGraph>;
105
+ /**
106
+ * Get a mutable copy of the graph for write operations.
107
+ *
108
+ * Creates deep copies of entity and relation arrays to allow
109
+ * safe mutation without affecting the cached data.
110
+ *
111
+ * @returns Promise resolving to mutable knowledge graph copy
112
+ */
113
+ getGraphForMutation(): Promise<KnowledgeGraph>;
114
+ /**
115
+ * Ensure the cache is loaded from disk.
116
+ *
117
+ * @returns Promise resolving when cache is populated
118
+ */
119
+ ensureLoaded(): Promise<void>;
120
+ /**
121
+ * Internal method to load graph from disk into cache.
122
+ */
123
+ private loadFromDisk;
124
+ /**
125
+ * Build all entity indexes from entity array.
126
+ */
127
+ private buildEntityIndexes;
128
+ /**
129
+ * Build relation index from relation array.
130
+ */
131
+ private buildRelationIndex;
132
+ /**
133
+ * Clear all indexes.
134
+ */
135
+ private clearIndexes;
136
+ /**
137
+ * Save the knowledge graph to disk.
138
+ *
139
+ * OPTIMIZED: Updates cache directly after write to avoid re-reading.
140
+ * THREAD-SAFE: Uses mutex to prevent concurrent write operations.
141
+ *
142
+ * Writes the graph to JSONL format, with one JSON object per line.
143
+ *
144
+ * @param graph - The knowledge graph to save
145
+ * @returns Promise resolving when save is complete
146
+ * @throws Error if file cannot be written
147
+ */
148
+ saveGraph(graph: KnowledgeGraph): Promise<void>;
149
+ /**
150
+ * Append a single entity to the file (O(1) write operation).
151
+ *
152
+ * OPTIMIZED: Uses file append instead of full rewrite.
153
+ * THREAD-SAFE: Uses mutex to prevent concurrent write operations.
154
+ * Updates cache in-place and triggers compaction when threshold is reached.
155
+ *
156
+ * @param entity - The entity to append
157
+ * @returns Promise resolving when append is complete
158
+ */
159
+ appendEntity(entity: Entity): Promise<void>;
160
+ /**
161
+ * Append a single relation to the file (O(1) write operation).
162
+ *
163
+ * OPTIMIZED: Uses file append instead of full rewrite.
164
+ * THREAD-SAFE: Uses mutex to prevent concurrent write operations.
165
+ * Updates cache in-place and triggers compaction when threshold is reached.
166
+ *
167
+ * @param relation - The relation to append
168
+ * @returns Promise resolving when append is complete
169
+ */
170
+ appendRelation(relation: Relation): Promise<void>;
171
+ /**
172
+ * Compact the file by rewriting it with only current cache contents.
173
+ *
174
+ * THREAD-SAFE: Uses mutex to prevent concurrent operations.
175
+ * Removes duplicate entries and cleans up the file.
176
+ * Resets pending appends counter.
177
+ *
178
+ * @returns Promise resolving when compaction is complete
179
+ */
180
+ compact(): Promise<void>;
181
+ /**
182
+ * Internal compact implementation (must be called within mutex).
183
+ *
184
+ * @returns Promise resolving when compaction is complete
185
+ */
186
+ private compactInternal;
187
+ /**
188
+ * Internal saveGraph implementation (must be called within mutex).
189
+ *
190
+ * @param graph - The knowledge graph to save
191
+ * @returns Promise resolving when save is complete
192
+ */
193
+ private saveGraphInternal;
194
+ /**
195
+ * Get the current pending appends count.
196
+ *
197
+ * Useful for testing compaction behavior.
198
+ *
199
+ * @returns Number of pending appends since last compaction
200
+ */
201
+ getPendingAppends(): number;
202
+ /**
203
+ * Update an entity in-place in the cache and append to file.
204
+ *
205
+ * OPTIMIZED: Modifies cache directly and appends updated version to file.
206
+ * THREAD-SAFE: Uses mutex to prevent concurrent write operations.
207
+ * Does not rewrite the entire file - compaction handles deduplication later.
208
+ *
209
+ * @param entityName - Name of the entity to update
210
+ * @param updates - Partial entity updates to apply
211
+ * @returns Promise resolving to true if entity was found and updated, false otherwise
212
+ */
213
+ updateEntity(entityName: string, updates: Partial<Entity>): Promise<boolean>;
214
+ /**
215
+ * Manually clear the cache.
216
+ *
217
+ * Useful for testing or when external processes modify the file.
218
+ *
219
+ * @returns void
220
+ */
221
+ clearCache(): void;
222
+ /**
223
+ * Get the file path being used for storage.
224
+ *
225
+ * @returns The memory file path
226
+ */
227
+ getFilePath(): string;
228
+ /**
229
+ * Get an entity by name in O(1) time.
230
+ *
231
+ * OPTIMIZED: Uses NameIndex for constant-time lookup.
232
+ *
233
+ * @param name - Entity name to look up
234
+ * @returns Entity if found, undefined otherwise
235
+ */
236
+ getEntityByName(name: string): Entity | undefined;
237
+ /**
238
+ * Check if an entity exists by name in O(1) time.
239
+ *
240
+ * @param name - Entity name to check
241
+ * @returns True if entity exists
242
+ */
243
+ hasEntity(name: string): boolean;
244
+ /**
245
+ * Get all entities of a given type in O(1) time.
246
+ *
247
+ * OPTIMIZED: Uses TypeIndex for constant-time lookup of entity names,
248
+ * then uses NameIndex for O(1) entity retrieval.
249
+ *
250
+ * @param entityType - Entity type to filter by (case-insensitive)
251
+ * @returns Array of entities with the given type
252
+ */
253
+ getEntitiesByType(entityType: string): Entity[];
254
+ /**
255
+ * Get pre-computed lowercase data for an entity.
256
+ *
257
+ * OPTIMIZED: Avoids repeated toLowerCase() calls during search.
258
+ *
259
+ * @param entityName - Entity name to get lowercase data for
260
+ * @returns LowercaseData if entity exists, undefined otherwise
261
+ */
262
+ getLowercased(entityName: string): LowercaseData | undefined;
263
+ /**
264
+ * Get all unique entity types in the graph.
265
+ *
266
+ * @returns Array of unique entity types (lowercase)
267
+ */
268
+ getEntityTypes(): string[];
269
+ /**
270
+ * Get all relations where the entity is the source (outgoing relations) in O(1) time.
271
+ *
272
+ * OPTIMIZED: Uses RelationIndex for constant-time lookup.
273
+ *
274
+ * @param entityName - Entity name to look up outgoing relations for
275
+ * @returns Array of relations where entity is the source
276
+ */
277
+ getRelationsFrom(entityName: string): Relation[];
278
+ /**
279
+ * Get all relations where the entity is the target (incoming relations) in O(1) time.
280
+ *
281
+ * OPTIMIZED: Uses RelationIndex for constant-time lookup.
282
+ *
283
+ * @param entityName - Entity name to look up incoming relations for
284
+ * @returns Array of relations where entity is the target
285
+ */
286
+ getRelationsTo(entityName: string): Relation[];
287
+ /**
288
+ * Get all relations involving the entity (both incoming and outgoing) in O(1) time.
289
+ *
290
+ * OPTIMIZED: Uses RelationIndex for constant-time lookup.
291
+ *
292
+ * @param entityName - Entity name to look up all relations for
293
+ * @returns Array of all relations involving the entity
294
+ */
295
+ getRelationsFor(entityName: string): Relation[];
296
+ /**
297
+ * Check if an entity has any relations.
298
+ *
299
+ * @param entityName - Entity name to check
300
+ * @returns True if entity has any relations
301
+ */
302
+ hasRelations(entityName: string): boolean;
303
+ /**
304
+ * Get entities that have observations containing the given word.
305
+ * Uses the observation index for O(1) lookup.
306
+ *
307
+ * OPTIMIZED: Uses ObservationIndex for constant-time lookup instead of
308
+ * linear scan through all entities and their observations.
309
+ *
310
+ * @param word - Word to search for in observations
311
+ * @returns Set of entity names
312
+ */
313
+ getEntitiesByObservationWord(word: string): Set<string>;
314
+ /**
315
+ * Get entities that have observations containing ANY of the given words (union).
316
+ * Uses the observation index for O(1) lookup per word.
317
+ *
318
+ * OPTIMIZED: Uses ObservationIndex for constant-time lookups.
319
+ *
320
+ * @param words - Array of words to search for
321
+ * @returns Set of entity names containing any of the words
322
+ */
323
+ getEntitiesByAnyObservationWord(words: string[]): Set<string>;
324
+ /**
325
+ * Get entities that have observations containing ALL of the given words (intersection).
326
+ * Uses the observation index for O(1) lookup per word.
327
+ *
328
+ * OPTIMIZED: Uses ObservationIndex for constant-time lookups and set intersection.
329
+ *
330
+ * @param words - Array of words that must all be present
331
+ * @returns Set of entity names containing all of the words
332
+ */
333
+ getEntitiesByAllObservationWords(words: string[]): Set<string>;
334
+ /**
335
+ * Get statistics about the observation index.
336
+ *
337
+ * @returns Object with wordCount and entityCount
338
+ */
339
+ getObservationIndexStats(): {
340
+ wordCount: number;
341
+ entityCount: number;
342
+ };
343
+ }
344
+ //# sourceMappingURL=GraphStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphStorage.d.ts","sourceRoot":"","sources":["../../src/core/GraphStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,sBAAsB,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIhI;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,YAAa,YAAW,aAAa;IA+DpC,OAAO,CAAC,cAAc;IA9DlC;;;OAGG;IACH,OAAO,CAAC,KAAK,CAAe;IAE5B;;;OAGG;IACH,OAAO,CAAC,KAAK,CAA+B;IAE5C;;;OAGG;IACH,OAAO,CAAC,cAAc,CAAa;IAEnC;;;;;;;;OAQG;IACH,OAAO,KAAK,mBAAmB,GAE9B;IAED;;OAEG;IACH,OAAO,CAAC,SAAS,CAA8B;IAE/C;;OAEG;IACH,OAAO,CAAC,SAAS,CAA8B;IAE/C;;OAEG;IACH,OAAO,CAAC,cAAc,CAAwC;IAE9D;;OAEG;IACH,OAAO,CAAC,aAAa,CAAsC;IAE3D;;;OAGG;IACH,OAAO,CAAC,gBAAgB,CAA4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