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:
czlonkowski
2025-06-24 09:28:59 +02:00
parent 197fc3303b
commit e7b6eace85
7 changed files with 1120 additions and 13 deletions

View File

@@ -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