mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-20 17:33:08 +00:00
feat: add enhanced operation-aware validation (v2.4.2)
- Add validate_node_operation tool with 80%+ fewer false positives - Remove deprecated validate_node_config tool - Add EnhancedConfigValidator with operation context filtering - Add node-specific validators for Slack, Google Sheets, OpenAI, MongoDB - Integrate working examples in validation responses - Add actionable next steps and auto-fix suggestions - Test shows Slack validation reduced from 45 errors to 1 error\! BREAKING CHANGE: validate_node_config removed in favor of validate_node_operation 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -120,7 +120,7 @@ export class ConfigValidator {
|
||||
/**
|
||||
* Check if a property is visible given current config
|
||||
*/
|
||||
private static isPropertyVisible(prop: any, config: Record<string, any>): boolean {
|
||||
protected static isPropertyVisible(prop: any, config: Record<string, any>): boolean {
|
||||
if (!prop.displayOptions) return true;
|
||||
|
||||
// Check show conditions
|
||||
|
||||
Reference in New Issue
Block a user