context-optimizer-mcp-server
Version:
Context optimization tools MCP server for AI coding assistants - compatible with GitHub Copilot, Cursor AI, and other MCP-supporting assistants
16 lines • 478 B
TypeScript
/**
* Command security filtering utilities
*
* Prevents interactive commands and unauthorized operations
*/
export declare class CommandValidator {
private static readonly INTERACTIVE_PATTERNS;
private static readonly NAVIGATION_PATTERNS;
private static readonly DANGEROUS_PATTERNS;
static validateCommand(command: string): {
valid: boolean;
error?: string;
warnings?: string[];
};
}
//# sourceMappingURL=commandValidator.d.ts.map