fix: resolve MCP protocol test failures by fixing response format expectations
- Fixed test-helpers.ts to correctly wrap executeTool responses in MCP format
- Updated all tests to expect correct response structures:
- list_nodes returns {nodes: [...], totalCount}
- search_nodes returns {query, results: [...], totalCount, mode?}
- list_ai_tools returns {tools: [...]}
- list_tasks returns {totalTasks, categories: {...}} or {category, tasks: [...]}
- Fixed property expectations (nodeType instead of name, etc.)
- Reduced failing tests from 67 to 7
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in: