ruvector 0.1.62 → 0.1.64

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.
@@ -0,0 +1,299 @@
1
+ "use strict";
2
+ /**
3
+ * Graph Wrapper - Hypergraph database for code relationships
4
+ *
5
+ * Wraps @ruvector/graph-node for dependency analysis, co-edit patterns,
6
+ * and code structure understanding.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CodeGraph = void 0;
10
+ exports.isGraphAvailable = isGraphAvailable;
11
+ exports.createCodeDependencyGraph = createCodeDependencyGraph;
12
+ let graphModule = null;
13
+ let loadError = null;
14
+ function getGraphModule() {
15
+ if (graphModule)
16
+ return graphModule;
17
+ if (loadError)
18
+ throw loadError;
19
+ try {
20
+ graphModule = require('@ruvector/graph-node');
21
+ return graphModule;
22
+ }
23
+ catch (e) {
24
+ loadError = new Error(`@ruvector/graph-node not installed: ${e.message}\n` +
25
+ `Install with: npm install @ruvector/graph-node`);
26
+ throw loadError;
27
+ }
28
+ }
29
+ function isGraphAvailable() {
30
+ try {
31
+ getGraphModule();
32
+ return true;
33
+ }
34
+ catch {
35
+ return false;
36
+ }
37
+ }
38
+ /**
39
+ * Graph Database for code relationships
40
+ */
41
+ class CodeGraph {
42
+ constructor(options = {}) {
43
+ const graph = getGraphModule();
44
+ this.storagePath = options.storagePath;
45
+ this.inner = new graph.GraphDatabase({
46
+ storagePath: options.storagePath,
47
+ inMemory: options.inMemory ?? true,
48
+ });
49
+ }
50
+ // ===========================================================================
51
+ // Node Operations
52
+ // ===========================================================================
53
+ /**
54
+ * Create a node (file, function, class, etc.)
55
+ */
56
+ createNode(id, labels, properties = {}) {
57
+ this.inner.createNode(id, labels, JSON.stringify(properties));
58
+ return { id, labels, properties };
59
+ }
60
+ /**
61
+ * Get a node by ID
62
+ */
63
+ getNode(id) {
64
+ const result = this.inner.getNode(id);
65
+ if (!result)
66
+ return null;
67
+ return {
68
+ id: result.id,
69
+ labels: result.labels,
70
+ properties: result.properties ? JSON.parse(result.properties) : {},
71
+ };
72
+ }
73
+ /**
74
+ * Update node properties
75
+ */
76
+ updateNode(id, properties) {
77
+ return this.inner.updateNode(id, JSON.stringify(properties));
78
+ }
79
+ /**
80
+ * Delete a node
81
+ */
82
+ deleteNode(id) {
83
+ return this.inner.deleteNode(id);
84
+ }
85
+ /**
86
+ * Find nodes by label
87
+ */
88
+ findNodesByLabel(label) {
89
+ const results = this.inner.findNodesByLabel(label);
90
+ return results.map((r) => ({
91
+ id: r.id,
92
+ labels: r.labels,
93
+ properties: r.properties ? JSON.parse(r.properties) : {},
94
+ }));
95
+ }
96
+ // ===========================================================================
97
+ // Edge Operations
98
+ // ===========================================================================
99
+ /**
100
+ * Create an edge (import, call, reference, etc.)
101
+ */
102
+ createEdge(from, to, type, properties = {}) {
103
+ const id = this.inner.createEdge(from, to, type, JSON.stringify(properties));
104
+ return { id, from, to, type, properties };
105
+ }
106
+ /**
107
+ * Get edges from a node
108
+ */
109
+ getOutgoingEdges(nodeId, type) {
110
+ const results = this.inner.getOutgoingEdges(nodeId, type);
111
+ return results.map((r) => ({
112
+ id: r.id,
113
+ from: r.from,
114
+ to: r.to,
115
+ type: r.type,
116
+ properties: r.properties ? JSON.parse(r.properties) : {},
117
+ }));
118
+ }
119
+ /**
120
+ * Get edges to a node
121
+ */
122
+ getIncomingEdges(nodeId, type) {
123
+ const results = this.inner.getIncomingEdges(nodeId, type);
124
+ return results.map((r) => ({
125
+ id: r.id,
126
+ from: r.from,
127
+ to: r.to,
128
+ type: r.type,
129
+ properties: r.properties ? JSON.parse(r.properties) : {},
130
+ }));
131
+ }
132
+ /**
133
+ * Delete an edge
134
+ */
135
+ deleteEdge(edgeId) {
136
+ return this.inner.deleteEdge(edgeId);
137
+ }
138
+ // ===========================================================================
139
+ // Hyperedge Operations (for co-edit patterns)
140
+ // ===========================================================================
141
+ /**
142
+ * Create a hyperedge connecting multiple nodes
143
+ */
144
+ createHyperedge(nodes, type, properties = {}) {
145
+ const id = this.inner.createHyperedge(nodes, type, JSON.stringify(properties));
146
+ return { id, nodes, type, properties };
147
+ }
148
+ /**
149
+ * Get hyperedges containing a node
150
+ */
151
+ getHyperedges(nodeId, type) {
152
+ const results = this.inner.getHyperedges(nodeId, type);
153
+ return results.map((r) => ({
154
+ id: r.id,
155
+ nodes: r.nodes,
156
+ type: r.type,
157
+ properties: r.properties ? JSON.parse(r.properties) : {},
158
+ }));
159
+ }
160
+ // ===========================================================================
161
+ // Query Operations
162
+ // ===========================================================================
163
+ /**
164
+ * Execute a Cypher query
165
+ */
166
+ cypher(query, params = {}) {
167
+ const result = this.inner.cypher(query, JSON.stringify(params));
168
+ return {
169
+ columns: result.columns,
170
+ rows: result.rows,
171
+ };
172
+ }
173
+ /**
174
+ * Find shortest path between nodes
175
+ */
176
+ shortestPath(from, to, maxDepth = 10) {
177
+ const result = this.inner.shortestPath(from, to, maxDepth);
178
+ if (!result)
179
+ return null;
180
+ return {
181
+ nodes: result.nodes.map((n) => ({
182
+ id: n.id,
183
+ labels: n.labels,
184
+ properties: n.properties ? JSON.parse(n.properties) : {},
185
+ })),
186
+ edges: result.edges.map((e) => ({
187
+ id: e.id,
188
+ from: e.from,
189
+ to: e.to,
190
+ type: e.type,
191
+ properties: e.properties ? JSON.parse(e.properties) : {},
192
+ })),
193
+ length: result.length,
194
+ };
195
+ }
196
+ /**
197
+ * Get all paths between nodes (up to maxPaths)
198
+ */
199
+ allPaths(from, to, maxDepth = 5, maxPaths = 10) {
200
+ const results = this.inner.allPaths(from, to, maxDepth, maxPaths);
201
+ return results.map((r) => ({
202
+ nodes: r.nodes.map((n) => ({
203
+ id: n.id,
204
+ labels: n.labels,
205
+ properties: n.properties ? JSON.parse(n.properties) : {},
206
+ })),
207
+ edges: r.edges.map((e) => ({
208
+ id: e.id,
209
+ from: e.from,
210
+ to: e.to,
211
+ type: e.type,
212
+ properties: e.properties ? JSON.parse(e.properties) : {},
213
+ })),
214
+ length: r.length,
215
+ }));
216
+ }
217
+ /**
218
+ * Get neighbors of a node
219
+ */
220
+ neighbors(nodeId, depth = 1) {
221
+ const results = this.inner.neighbors(nodeId, depth);
222
+ return results.map((n) => ({
223
+ id: n.id,
224
+ labels: n.labels,
225
+ properties: n.properties ? JSON.parse(n.properties) : {},
226
+ }));
227
+ }
228
+ // ===========================================================================
229
+ // Graph Algorithms
230
+ // ===========================================================================
231
+ /**
232
+ * Calculate PageRank for nodes
233
+ */
234
+ pageRank(iterations = 20, dampingFactor = 0.85) {
235
+ const result = this.inner.pageRank(iterations, dampingFactor);
236
+ return new Map(Object.entries(result));
237
+ }
238
+ /**
239
+ * Find connected components
240
+ */
241
+ connectedComponents() {
242
+ return this.inner.connectedComponents();
243
+ }
244
+ /**
245
+ * Detect communities (Louvain algorithm)
246
+ */
247
+ communities() {
248
+ const result = this.inner.communities();
249
+ return new Map(Object.entries(result));
250
+ }
251
+ /**
252
+ * Calculate betweenness centrality
253
+ */
254
+ betweennessCentrality() {
255
+ const result = this.inner.betweennessCentrality();
256
+ return new Map(Object.entries(result));
257
+ }
258
+ // ===========================================================================
259
+ // Persistence
260
+ // ===========================================================================
261
+ /**
262
+ * Save graph to storage
263
+ */
264
+ save() {
265
+ if (!this.storagePath) {
266
+ throw new Error('No storage path configured');
267
+ }
268
+ this.inner.save();
269
+ }
270
+ /**
271
+ * Load graph from storage
272
+ */
273
+ load() {
274
+ if (!this.storagePath) {
275
+ throw new Error('No storage path configured');
276
+ }
277
+ this.inner.load();
278
+ }
279
+ /**
280
+ * Clear all data
281
+ */
282
+ clear() {
283
+ this.inner.clear();
284
+ }
285
+ /**
286
+ * Get graph statistics
287
+ */
288
+ stats() {
289
+ return this.inner.stats();
290
+ }
291
+ }
292
+ exports.CodeGraph = CodeGraph;
293
+ /**
294
+ * Create a code dependency graph from file analysis
295
+ */
296
+ function createCodeDependencyGraph(storagePath) {
297
+ return new CodeGraph({ storagePath, inMemory: !storagePath });
298
+ }
299
+ exports.default = CodeGraph;
@@ -11,6 +11,10 @@ export * from './sona-wrapper';
11
11
  export * from './intelligence-engine';
12
12
  export * from './onnx-embedder';
13
13
  export * from './parallel-intelligence';
14
+ export * from './parallel-workers';
15
+ export * from './router-wrapper';
16
+ export * from './graph-wrapper';
17
+ export * from './cluster-wrapper';
14
18
  export { default as gnnWrapper } from './gnn-wrapper';
15
19
  export { default as attentionFallbacks } from './attention-fallbacks';
16
20
  export { default as agentdbFast } from './agentdb-fast';
@@ -18,4 +22,8 @@ export { default as Sona } from './sona-wrapper';
18
22
  export { default as IntelligenceEngine } from './intelligence-engine';
19
23
  export { default as OnnxEmbedder } from './onnx-embedder';
20
24
  export { default as ParallelIntelligence } from './parallel-intelligence';
25
+ export { default as ExtendedWorkerPool } from './parallel-workers';
26
+ export { default as SemanticRouter } from './router-wrapper';
27
+ export { default as CodeGraph } from './graph-wrapper';
28
+ export { default as RuvectorCluster } from './cluster-wrapper';
21
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AAGxC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAGlC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  return (mod && mod.__esModule) ? mod : { "default": mod };
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ParallelIntelligence = exports.OnnxEmbedder = exports.IntelligenceEngine = exports.Sona = exports.agentdbFast = exports.attentionFallbacks = exports.gnnWrapper = void 0;
26
+ exports.RuvectorCluster = exports.CodeGraph = exports.SemanticRouter = exports.ExtendedWorkerPool = exports.ParallelIntelligence = exports.OnnxEmbedder = exports.IntelligenceEngine = exports.Sona = exports.agentdbFast = exports.attentionFallbacks = exports.gnnWrapper = void 0;
27
27
  __exportStar(require("./gnn-wrapper"), exports);
28
28
  __exportStar(require("./attention-fallbacks"), exports);
29
29
  __exportStar(require("./agentdb-fast"), exports);
@@ -31,6 +31,10 @@ __exportStar(require("./sona-wrapper"), exports);
31
31
  __exportStar(require("./intelligence-engine"), exports);
32
32
  __exportStar(require("./onnx-embedder"), exports);
33
33
  __exportStar(require("./parallel-intelligence"), exports);
34
+ __exportStar(require("./parallel-workers"), exports);
35
+ __exportStar(require("./router-wrapper"), exports);
36
+ __exportStar(require("./graph-wrapper"), exports);
37
+ __exportStar(require("./cluster-wrapper"), exports);
34
38
  // Re-export default objects for convenience
35
39
  var gnn_wrapper_1 = require("./gnn-wrapper");
36
40
  Object.defineProperty(exports, "gnnWrapper", { enumerable: true, get: function () { return __importDefault(gnn_wrapper_1).default; } });
@@ -46,3 +50,11 @@ var onnx_embedder_1 = require("./onnx-embedder");
46
50
  Object.defineProperty(exports, "OnnxEmbedder", { enumerable: true, get: function () { return __importDefault(onnx_embedder_1).default; } });
47
51
  var parallel_intelligence_1 = require("./parallel-intelligence");
48
52
  Object.defineProperty(exports, "ParallelIntelligence", { enumerable: true, get: function () { return __importDefault(parallel_intelligence_1).default; } });
53
+ var parallel_workers_1 = require("./parallel-workers");
54
+ Object.defineProperty(exports, "ExtendedWorkerPool", { enumerable: true, get: function () { return __importDefault(parallel_workers_1).default; } });
55
+ var router_wrapper_1 = require("./router-wrapper");
56
+ Object.defineProperty(exports, "SemanticRouter", { enumerable: true, get: function () { return __importDefault(router_wrapper_1).default; } });
57
+ var graph_wrapper_1 = require("./graph-wrapper");
58
+ Object.defineProperty(exports, "CodeGraph", { enumerable: true, get: function () { return __importDefault(graph_wrapper_1).default; } });
59
+ var cluster_wrapper_1 = require("./cluster-wrapper");
60
+ Object.defineProperty(exports, "RuvectorCluster", { enumerable: true, get: function () { return __importDefault(cluster_wrapper_1).default; } });
@@ -0,0 +1,183 @@
1
+ /**
2
+ * Parallel Workers - Extended worker capabilities for RuVector hooks
3
+ *
4
+ * Provides parallel processing for advanced operations:
5
+ *
6
+ * 1. SPECULATIVE PRE-COMPUTATION
7
+ * - Pre-embed likely next files based on co-edit patterns
8
+ * - Warm model cache before operations
9
+ * - Predictive route caching
10
+ *
11
+ * 2. REAL-TIME CODE ANALYSIS
12
+ * - Multi-file AST parsing with tree-sitter
13
+ * - Cross-file type inference
14
+ * - Live complexity metrics
15
+ * - Dependency graph updates
16
+ *
17
+ * 3. ADVANCED LEARNING
18
+ * - Distributed trajectory replay
19
+ * - Parallel SONA micro-LoRA updates
20
+ * - Background EWC consolidation
21
+ * - Online pattern clustering
22
+ *
23
+ * 4. INTELLIGENT RETRIEVAL
24
+ * - Parallel RAG chunking and retrieval
25
+ * - Sharded similarity search
26
+ * - Context relevance ranking
27
+ * - Semantic deduplication
28
+ *
29
+ * 5. SECURITY & QUALITY
30
+ * - Parallel SAST scanning
31
+ * - Multi-rule linting
32
+ * - Vulnerability detection
33
+ * - Code smell analysis
34
+ *
35
+ * 6. GIT INTELLIGENCE
36
+ * - Parallel blame analysis
37
+ * - Branch comparison
38
+ * - Merge conflict prediction
39
+ * - Code churn metrics
40
+ */
41
+ export interface WorkerPoolConfig {
42
+ numWorkers?: number;
43
+ enabled?: boolean;
44
+ taskTimeout?: number;
45
+ maxQueueSize?: number;
46
+ }
47
+ export interface SpeculativeEmbedding {
48
+ file: string;
49
+ embedding: number[];
50
+ confidence: number;
51
+ timestamp: number;
52
+ }
53
+ export interface ASTAnalysis {
54
+ file: string;
55
+ language: string;
56
+ complexity: number;
57
+ functions: string[];
58
+ imports: string[];
59
+ exports: string[];
60
+ dependencies: string[];
61
+ }
62
+ export interface SecurityFinding {
63
+ file: string;
64
+ line: number;
65
+ severity: 'low' | 'medium' | 'high' | 'critical';
66
+ rule: string;
67
+ message: string;
68
+ suggestion?: string;
69
+ }
70
+ export interface ContextChunk {
71
+ content: string;
72
+ source: string;
73
+ relevance: number;
74
+ embedding?: number[];
75
+ }
76
+ export interface GitBlame {
77
+ file: string;
78
+ lines: Array<{
79
+ line: number;
80
+ author: string;
81
+ date: string;
82
+ commit: string;
83
+ }>;
84
+ }
85
+ export interface CodeChurn {
86
+ file: string;
87
+ additions: number;
88
+ deletions: number;
89
+ commits: number;
90
+ authors: string[];
91
+ lastModified: string;
92
+ }
93
+ export declare class ExtendedWorkerPool {
94
+ private workers;
95
+ private taskQueue;
96
+ private busyWorkers;
97
+ private config;
98
+ private initialized;
99
+ private speculativeCache;
100
+ private astCache;
101
+ constructor(config?: WorkerPoolConfig);
102
+ init(): Promise<void>;
103
+ private getWorkerCode;
104
+ private getWorkerHandlers;
105
+ private handleWorkerResult;
106
+ private processQueue;
107
+ private execute;
108
+ /**
109
+ * Pre-embed files likely to be edited next based on co-edit patterns
110
+ * Hook: session-start, post-edit
111
+ */
112
+ speculativeEmbed(currentFile: string, coEditGraph: Map<string, string[]>): Promise<SpeculativeEmbedding[]>;
113
+ /**
114
+ * Analyze AST of multiple files in parallel
115
+ * Hook: pre-edit, route
116
+ */
117
+ analyzeAST(files: string[]): Promise<ASTAnalysis[]>;
118
+ /**
119
+ * Analyze code complexity for multiple files
120
+ * Hook: post-edit, session-end
121
+ */
122
+ analyzeComplexity(files: string[]): Promise<Array<{
123
+ file: string;
124
+ lines: number;
125
+ nonEmptyLines: number;
126
+ cyclomaticComplexity: number;
127
+ functions: number;
128
+ avgFunctionSize: number;
129
+ }>>;
130
+ /**
131
+ * Build dependency graph from entry points
132
+ * Hook: session-start
133
+ */
134
+ buildDependencyGraph(entryPoints: string[]): Promise<Record<string, string[]>>;
135
+ /**
136
+ * Scan files for security vulnerabilities
137
+ * Hook: pre-command (before commit), post-edit
138
+ */
139
+ securityScan(files: string[], rules?: string[]): Promise<SecurityFinding[]>;
140
+ /**
141
+ * Retrieve relevant context chunks in parallel
142
+ * Hook: suggest-context, recall
143
+ */
144
+ ragRetrieve(query: string, chunks: ContextChunk[], topK?: number): Promise<ContextChunk[]>;
145
+ /**
146
+ * Rank context items by relevance to query
147
+ * Hook: suggest-context
148
+ */
149
+ rankContext(context: string[], query: string): Promise<Array<{
150
+ index: number;
151
+ content: string;
152
+ relevance: number;
153
+ }>>;
154
+ /**
155
+ * Deduplicate similar items
156
+ * Hook: remember, suggest-context
157
+ */
158
+ deduplicate(items: string[], threshold?: number): Promise<string[]>;
159
+ /**
160
+ * Get blame information for files in parallel
161
+ * Hook: pre-edit (for context), coedit
162
+ */
163
+ gitBlame(files: string[]): Promise<GitBlame[]>;
164
+ /**
165
+ * Analyze code churn for files
166
+ * Hook: session-start, route
167
+ */
168
+ gitChurn(files: string[], since?: string): Promise<CodeChurn[]>;
169
+ getStats(): {
170
+ enabled: boolean;
171
+ workers: number;
172
+ busy: number;
173
+ queued: number;
174
+ speculativeCacheSize: number;
175
+ astCacheSize: number;
176
+ };
177
+ clearCaches(): void;
178
+ shutdown(): Promise<void>;
179
+ }
180
+ export declare function getExtendedWorkerPool(config?: WorkerPoolConfig): ExtendedWorkerPool;
181
+ export declare function initExtendedWorkerPool(config?: WorkerPoolConfig): Promise<ExtendedWorkerPool>;
182
+ export default ExtendedWorkerPool;
183
+ //# sourceMappingURL=parallel-workers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parallel-workers.d.ts","sourceRoot":"","sources":["../../src/core/parallel-workers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAWH,MA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