@context-sync/server
Version:
MCP server for AI context sync with persistent memory, workspace file access, and intelligent code operations
37 lines • 990 B
TypeScript
import type { Storage } from './storage.js';
export interface ProjectMetadata {
name: string;
type: 'node' | 'rust' | 'python' | 'go' | 'unknown';
techStack: string[];
architecture?: string;
}
export declare class ProjectDetector {
private storage;
constructor(storage: Storage);
private fileExists;
/**
* Detect project from a directory path
*/
detectFromPath(projectPath: string): Promise<ProjectMetadata | null>;
/**
* Extract project metadata from marker file
*/
private extractMetadata;
/**
* Detect tech stack from package.json
*/
private detectNodeTechStack;
/**
* Detect Python tech stack
*/
private detectPythonTechStack;
/**
* Infer architecture from tech stack
*/
private inferArchitecture;
/**
* Create or update project in storage
*/
createOrUpdateProject(projectPath: string): Promise<void>;
}
//# sourceMappingURL=project-detector.d.ts.map