Commit Graph

204 Commits

Author SHA1 Message Date
moonwalk
50d63a883b Update README.md 2025-07-16 14:10:33 +02:00
moonwalk
c089ee60d8 Update Dockerfile.railway 2025-07-16 13:56:14 +02:00
moonwalk
a6ccdd08b6 Update railway.json 2025-07-16 13:55:55 +02:00
moonwalk
534efddedf Update railway.json 2025-07-16 13:51:38 +02:00
moonwalk
9a5a10194b Update Dockerfile 2025-07-16 13:47:06 +02:00
moonwalk
45a0e755b7 Update Dockerfile 2025-07-16 13:44:48 +02:00
moonwalk
012a54dde2 Rename __Dockerfile to Dockerfile 2025-07-16 13:41:17 +02:00
moonwalk
0bb9d8bd01 Rename Dockerfile to __Dockerfile 2025-07-16 13:38:38 +02:00
moonwalk
2c18df5b8d Rename Dockerfile.original to Dockerfile 2025-07-16 13:34:04 +02:00
moonwalk
3b06ba91dd Delete Dockerfile 2025-07-16 13:33:54 +02:00
moonwalk
59843c7271 Create Dockerfile 2025-07-16 13:32:35 +02:00
moonwalk
1f269cf7e2 Rename Dockerfile to Dockerfile.original 2025-07-16 13:32:17 +02:00
moonwalk
614cfccd40 Rename _Dockerfile to Dockerfile
back
2025-07-16 13:31:21 +02:00
moonwalk
536effacd5 Rename Dockerfile to _Dockerfile
only for testing
2025-07-16 13:30:20 +02:00
moonwalk
c0d65cc9f4 Update Dockerfile.railway
added echo
2025-07-16 13:22:24 +02:00
moonwalk
55dfedd8a6 Update Dockerfile.railway
updated not working file
2025-07-16 13:16:02 +02:00
moonwalk
9e43836f31 Update Dockerfile.railway
added entrypoint
2025-07-16 13:14:02 +02:00
moonwalk
498e88e7ae Update railway.json
added mount
2025-07-16 13:04:03 +02:00
moonwalk
3efd28d3ff Update Dockerfile
rolled back to original
2025-07-16 13:03:11 +02:00
moonwalk
4366cde528 Update Dockerfile 2025-07-16 11:37:32 +02:00
moonwalk
b1cd1f621b Update README.md 2025-07-16 10:42:36 +02:00
moonwalk
1b7221ccfd Update README.md
Botton fixed
2025-07-16 10:40:52 +02:00
moonwalk
a5d6532c43 Update README.md 2025-07-16 10:30:24 +02:00
moonwalk
08ae4845e5 Update README.md 2025-07-16 09:18:15 +02:00
moonwalk
e01ff0faa1 Create railway.json 2025-07-16 09:16:49 +02:00
moonwalk
011db5ce7f Rename Docherfile to Dockerfile 2025-07-16 09:13:58 +02:00
moonwalk
399636fd61 Create Docherfile 2025-07-16 09:04:40 +02:00
moonwalk
0738f4bb94 Rename Dockerfile to Dockerfile.railway 2025-07-16 09:03:47 +02:00
moonwalk
cd7765664c Update Dockerfile 2025-07-15 16:58:08 +02:00
moonwalk
e6d0a2f83c Update Dockerfile 2025-07-15 16:53:26 +02:00
moonwalk
caf0c4d675 Update Dockerfile 2025-07-15 16:49:29 +02:00
moonwalk
c0a7b85b39 Update Dockerfile 2025-07-15 16:39:53 +02:00
moonwalk
f2c77f14b5 Update Dockerfile 2025-07-15 16:38:58 +02:00
moonwalk
a981695462 Update Dockerfile 2025-07-15 16:32:11 +02:00
moonwalk
b21642c589 Update Dockerfile 2025-07-15 16:29:27 +02:00
moonwalk
8ff0ae964d Update and rename __Dockerfile to Dockerfile 2025-07-15 16:27:57 +02:00
moonwalk
3ecaf8632f Rename Dockerfile to __Dockerfile 2025-07-14 13:37:07 +02:00
czlonkowski
10106eb304 reorganize README 2025-07-13 23:25:38 +02:00
czlonkowski
05595da6c8 update README with sharing rules 2025-07-13 23:22:24 +02:00
czlonkowski
1170ad27a6 fix: resolve WASM file loading issue for npx execution (closes #31)
- Enhanced database adapter to support multiple WASM file resolution strategies
- Added require.resolve() for reliable package location in npm environments
- Made better-sqlite3 an optional dependency
- Improved error handling with clear messages
- Updated version to 2.7.13
- Updated CHANGELOG and README badges
2025-07-11 08:48:37 +02:00
czlonkowski
f525303748 chore: update n8n to v1.101.1
- Updated n8n from 1.100.1 to 1.101.1
- Updated n8n-core from 1.99.0 to 1.100.0
- Updated n8n-workflow from 1.97.0 to 1.98.0
- Updated @n8n/n8n-nodes-langchain from 1.99.0 to 1.100.1
- Rebuilt node database with 528 nodes
- All validation tests passing
- Bumped version to 2.7.12

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 00:48:43 +02:00
czlonkowski
53d8c8452f fix: update database with 499 workflow templates and working FTS5 index
- Database now contains 499 templates (was 399)
- FTS5 index properly populated with all template entries
- Fixed quote escaping in FTS5 queries to prevent syntax errors
- Verified FTS5 search returns correct results (162 for "webhook")
- Fixes template search in Docker deployments

The previous database had empty FTS5 tables causing search to fail.
This update ensures the FTS5 index is properly synchronized and
handles special characters in search queries.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 13:20:29 +02:00
czlonkowski
c9aadfcb30 fix: pre-build FTS5 index for Docker compatibility
- Add FTS5 pre-creation in fetch-templates.ts before data import
- Create prebuild-fts5.ts script to ensure FTS5 tables exist
- Improve logging in template-repository.ts for better debugging
- Add npm script 'prebuild:fts5' for manual FTS5 setup

This ensures template search works consistently in Docker mode
where runtime FTS5 table creation might fail due to permissions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:49:25 +02:00
czlonkowski
e237669458 fix: update database with 499 workflow templates and working FTS5 index
- Database now contains 499 n8n workflow templates
- FTS5 index is properly populated for template search
- Fixes 'no templates found' issue in Docker image
- Template search works with both FTS5 and LIKE fallback

This ensures the Docker image includes a fully populated template database.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:28:34 +02:00
czlonkowski
e8f6b684f0 fix: make FTS5 optional for template search (fixes Claude Desktop compatibility)
- Added runtime FTS5 detection in database adapters
- Removed FTS5 from required schema to prevent "no such module" errors
- FTS5 tables/triggers created conditionally only if supported
- Template search automatically falls back to LIKE when FTS5 unavailable
- Works in ALL SQLite environments (Claude Desktop, restricted envs, etc.)

This ensures search_templates() works correctly regardless of SQLite build,
while still providing optimal performance when FTS5 is available.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:13:08 +02:00
czlonkowski
d8e84307e4 feat: optimize MCP tool descriptions for 65-70% token reduction
- Reduced average description length from 250-450 to 93-129 chars
- Documentation tools now average 129 chars per description
- Management tools average just 93 chars per description
- Moved detailed documentation to tools_documentation() system
- Only 2 tools exceed 200 chars (necessarily verbose)

Also includes search_nodes improvements:
- Fixed primary node ranking (webhook, HTTP Request now appear first)
- Fixed FUZZY mode threshold for better typo tolerance
- Removed unnecessary searchInfo messages
- Fixed HTTP node type case sensitivity issue

This significantly improves AI agent performance by reducing context usage
while preserving all essential information.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 11:42:23 +02:00
czlonkowski
99e74cf22a fix: correct misleading Code node documentation based on real-world testing
Critical fixes based on Claude Desktop feedback:

1. Fixed crypto documentation: require('crypto') IS available despite editor warnings
   - Added clear examples of crypto usage
   - Updated validation to guide correct require() usage

2. Clarified $helpers vs standalone functions
   - $getWorkflowStaticData() is standalone, NOT $helpers.getWorkflowStaticData()
   - Added validation to catch incorrect usage (prevents '$helpers is not defined' errors)
   - Enhanced examples showing proper $helpers availability checks

3. Fixed JMESPath numeric literal documentation
   - n8n requires backticks around numbers in filters: [?age >= `18`]
   - Added multiple examples and validation to detect missing backticks
   - Prevents 'JMESPath syntax error' that Claude Desktop encountered

4. Fixed webhook data access gotcha
   - Webhook payload is at items[0].json.body, NOT items[0].json
   - Added dedicated 'Webhook Data Access' section with clear examples
   - Created process_webhook_data task template
   - Added validation to detect incorrect webhook data access patterns

All fixes based on production workflows TaNqYoZNNeHC4Hne and JZ9urD7PNClDZ1bm

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 09:22:34 +02:00
czlonkowski
20f018f8dc update Claude Instructions for better tool use 2025-07-09 22:52:23 +02:00
czlonkowski
4e80c82e24 clean Claude.md 2025-07-09 20:40:43 +02:00
czlonkowski
eab3cc858e fix: comprehensive error handling and node-level properties validation (fixes #26)
Root cause: AI agents were placing error handling properties inside `parameters` instead of at node level

Major changes:
- Enhanced workflow validator to check for ALL node-level properties (expanded from 6 to 11)
- Added validation for onError property values and deprecation warnings for continueOnFail
- Updated all examples to use modern error handling (onError instead of continueOnFail)
- Added comprehensive node-level properties documentation in tools_documentation
- Enhanced MCP tool documentation for n8n_create_workflow and n8n_update_partial_workflow
- Added test script demonstrating correct node-level property usage

Node-level properties now validated:
- credentials, disabled, notes, notesInFlow, executeOnce
- onError, retryOnFail, maxTries, waitBetweenTries, alwaysOutputData
- continueOnFail (deprecated)

Validation improvements:
- Detects misplaced properties and provides clear fix examples
- Shows complete node structure when properties are incorrectly placed
- Type validation for all node-level boolean and string properties
- Smart error messages with correct placement guidance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 20:39:24 +02:00