UNPKG

@knath2000/codebase-indexing-mcp

Version:

MCP server for codebase indexing with Voyage AI embeddings and Qdrant vector storage

21 lines (20 loc) 734 B
import { IndexingService } from './indexing-service.js'; /** * Watches the workspace directory for file changes and triggers incremental re-indexing. */ export declare class WorkspaceWatcher { private readonly rootDir; private readonly indexingService; private readonly supportedExtensions; private readonly excludePatterns; private watcher; constructor(rootDir: string, indexingService: IndexingService, supportedExtensions: string[], excludePatterns: string[]); /** Start watching the workspace directory. */ start(): void; /** Stop watching the workspace directory. */ stop(): void; private isSupportedFile; private handleAdd; private handleChange; private handleUnlink; }