czlonkowski
d870d0ab71
test: add comprehensive unit tests for database, parsers, loaders, and MCP tools
...
- Database layer tests (32 tests):
- node-repository.ts: 100% coverage
- template-repository.ts: 80.31% coverage
- database-adapter.ts: interface compliance tests
- Parser tests (99 tests):
- node-parser.ts: 93.10% coverage
- property-extractor.ts: 95.18% coverage
- simple-parser.ts: 91.26% coverage
- Fixed parser bugs for version extraction
- Loader tests (22 tests):
- node-loader.ts: comprehensive mocking tests
- MCP tools tests (85 tests):
- tools.ts: 100% coverage
- tools-documentation.ts: 100% coverage
- docs-mapper.ts: 100% coverage
Total: 943 tests passing across 32 test files
Significant progress from 2.45% to ~30% overall coverage
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-28 20:16:38 +02:00
czlonkowski
3cd683abc7
fix: webhook and 4 other nodes incorrectly marked as non-triggers
...
Updated trigger detection logic in both parsers to check if a node's group array includes 'trigger'. This fixes an issue where webhook, cron, interval, and emailReadImap nodes were not being identified as triggers despite having category='trigger'.
Note: After pulling this change, run `npm run rebuild` to update your local database.
Fixes #13
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-06 11:51:22 +02:00
czlonkowski
8bf670c31e
feat: Implement n8n-MCP Enhancement Plan v2.1 Final
...
- Implement simple node loader supporting n8n-nodes-base and langchain packages
- Create parser handling declarative, programmatic, and versioned nodes
- Build documentation mapper with 89% coverage (405/457 nodes)
- Setup SQLite database with minimal schema
- Create rebuild script for one-command database updates
- Implement validation script for critical nodes
- Update MCP server with documentation-focused tools
- Add npm scripts for streamlined workflow
Successfully loads 457/458 nodes with accurate documentation mapping.
Versioned node detection working (46 nodes detected).
3/4 critical nodes pass validation tests.
Known limitations:
- Slack operations extraction incomplete for some versioned nodes
- One langchain node fails due to missing dependency
- No AI tools detected (none have usableAsTool flag)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-06-12 14:18:19 +02:00