mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-19 00:43:07 +00:00
Added intuitive rewireConnection operation for changing connection targets in a single semantic step: "rewire from X to Y" Changes: - Added RewireConnectionOperation type with from/to semantics - Implemented validation (checks source, from, to nodes and connection existence) - Implemented operation as remove + add wrapper - Added 8 comprehensive tests covering all scenarios - All 134 tests passing (126 Phase 0 + 8 new) Test Coverage: - Basic rewiring - Rewiring with sourceOutput specified - Preserving parallel connections - Error handling (source/from/to not found, connection doesn't exist) - IF node branch rewiring Expected Impact: 4/10 → 9/10 rating for rewiring tasks Related: Issue #272 Phase 1 implementation Phase 0 PR: #274 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>