File size: 1,912 Bytes
40d7073 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | /**
* Native Worker Runner for RuVector
*
* Direct integration with:
* - ONNX embedder (384d, SIMD-accelerated)
* - VectorDB (HNSW indexing)
* - Intelligence engine (Q-learning, memory)
*
* No delegation to external tools - pure ruvector execution.
*/
import { WorkerConfig, WorkerResult } from './types';
/**
* Native Worker Runner
*/
export declare class NativeWorker {
private config;
private vectorDb;
private findings;
private stats;
constructor(config: WorkerConfig);
/**
* Initialize worker with capabilities
*/
init(): Promise<void>;
/**
* Run all phases in sequence
*/
run(targetPath?: string): Promise<WorkerResult>;
/**
* Execute a single phase
*/
private executePhase;
/**
* Phase: File Discovery
*/
private phaseFileDiscovery;
/**
* Phase: Pattern Extraction (uses shared analysis module)
*/
private phasePatternExtraction;
/**
* Phase: Embedding Generation (ONNX)
*/
private phaseEmbeddingGeneration;
/**
* Phase: Vector Storage
*/
private phaseVectorStorage;
/**
* Phase: Similarity Search
*/
private phaseSimilaritySearch;
/**
* Phase: Security Scan (uses shared analysis module)
*/
private phaseSecurityScan;
/**
* Phase: Complexity Analysis (uses shared analysis module)
*/
private phaseComplexityAnalysis;
/**
* Phase: Summarization
*/
private phaseSummarization;
/**
* Summarize phase data for results
*/
private summarizePhaseData;
}
/**
* Quick worker factory functions
*/
export declare function createSecurityWorker(name?: string): NativeWorker;
export declare function createAnalysisWorker(name?: string): NativeWorker;
export declare function createLearningWorker(name?: string): NativeWorker;
//# sourceMappingURL=native-worker.d.ts.map |