vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
26 lines • 1.28 kB
TypeScript
export interface SecurityValidationResult {
isValid: boolean;
securePath?: string;
error?: string;
violationType?: 'path_traversal' | 'outside_boundary' | 'invalid_path';
}
export declare class VibeTaskManagerSecurityValidator {
private static instance;
private normalizedReadDir;
private normalizedWriteDir;
constructor(readDir?: string, writeDir?: string);
static getInstance(readDir?: string, writeDir?: string): VibeTaskManagerSecurityValidator;
isPathWithinReadDirectory(filePath: string): boolean;
isPathWithinWriteDirectory(filePath: string): boolean;
createSecureReadPath(filePath: string): string;
createSecureWritePath(filePath: string): string;
validateReadPath(filePath: string): SecurityValidationResult;
validateWritePath(filePath: string): SecurityValidationResult;
getReadDirectory(): string;
getWriteDirectory(): string;
private isPathWithin;
}
export declare function getVibeTaskManagerSecurityValidator(readDir?: string, writeDir?: string): VibeTaskManagerSecurityValidator;
export declare function createSecureReadPath(filePath: string): string;
export declare function createSecureWritePath(filePath: string): string;
//# sourceMappingURL=vibe-task-manager-security-validator.d.ts.map