Commit Graph

355 Commits

Author SHA1 Message Date
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
czlonkowski
4ec3b94756 docs: revert Railway deployment documentation
Rolled back README.md to remove Railway deployment instructions while keeping the codebase changes intact. This addresses any confusion about deployment methods without breaking existing Railway deployments.
2025-07-16 11:09:47 +02:00
czlonkowski
5f140545d5 fix railway 2 2025-07-16 10:46:54 +02:00
czlonkowski
c1781f4265 Fix railway button 2025-07-16 10:45:42 +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
czlonkowski
3fb3e015ba docs: add Railway deployment documentation (implements PR #53 review feedback)
- Add Railway as Option 4 in Quick Start section per review request
- Include brief explanation of Railway platform
- Add deploy button with proper placement
- Document setup instructions and environment variables
- Add AUTH_TOKEN configuration note
- Include database availability requirements note
- Configure Claude Desktop integration via mcp-remote

This commit implements the documentation requirements from PR #53 review,
completing the Railway deployment feature.
2025-07-16 10:31:49 +02:00
moonwalk
a5d6532c43 Update README.md 2025-07-16 10:30:24 +02:00
moonwalk
ad7a44fd5c Made deployable on Railway (#53)
* Rename Dockerfile to __Dockerfile

* Update and rename __Dockerfile to Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Rename Dockerfile to Dockerfile.railway

* Create Docherfile

* Rename Docherfile to Dockerfile

* Create railway.json

* Update README.md
2025-07-16 10:28:53 +02:00
moonwalk
9e9a9856f4 Made deployable on Railway (#53)
* Rename Dockerfile to __Dockerfile

* Update and rename __Dockerfile to Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Rename Dockerfile to Dockerfile.railway

* Create Docherfile

* Rename Docherfile to Dockerfile

* Create railway.json

* Update README.md
2025-07-16 10:27:21 +02:00
czlonkowski
caf1e008d7 fix: respect NODE_DB_PATH environment variable in Docker (fixes #40)
- Fixed docker-entrypoint.sh to use NODE_DB_PATH instead of hardcoded paths
- Added log_message() helper to prevent stdio mode output corruption
- Fixed directory creation race condition with proper ownership
- Added path validation to ensure NODE_DB_PATH ends with .db
- Updated rebuild.ts to respect NODE_DB_PATH environment variable
- Added comprehensive documentation for custom database paths
- Bumped version to 2.7.16

The bug was caused by hardcoded /app/data/nodes.db paths in the Docker
entrypoint script that ignored the NODE_DB_PATH environment variable.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 09:49:41 +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
czlonkowski
18e231efa5 docs: add comprehensive IDE setup guides for Claude Code, Cursor, and Windsurf
- Create dedicated setup documentation for each IDE
- Add Claude Code setup with proper CLI commands and screenshots
- Add Cursor setup with video tutorial and MCP configuration
- Add Windsurf setup with video tutorial and settings instructions
- Update README to consolidate IDE setup under "Connect your IDE" section
- Include visual guides with screenshots for better user experience
- Link all IDE guides to main Claude Project Setup instructions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 00:43:26 +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
czlonkowski
a0f09fba28 fix: resolve HTTP server URL handling and security issues (#41, #42)
- Add intelligent URL detection supporting BASE_URL, PUBLIC_URL, and proxy headers
- Fix hardcoded localhost URLs in server console output
- Add hostname validation to prevent host header injection attacks
- Restrict URL schemes to http/https only (block javascript:, file://, etc.)
- Remove sensitive environment data from API responses
- Add GET endpoints (/, /mcp) for better API discovery
- Fix version inconsistency between server implementations
- Update HTTP bridge to use HOST/PORT environment variables
- Add comprehensive test scripts for URL configuration and security

This resolves issues #41 and #42 by making the HTTP server properly handle
deployment behind reverse proxies and adds critical security validations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 16:46:30 +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
czlonkowski
4c217088f5 fix: resolve partial update validation/execution discrepancy (issue #45)
- Remove default settings logic from cleanWorkflowForUpdate that was causing
  "settings must NOT have additional properties" error
- The function now only removes read-only fields without adding any properties
- Add comprehensive test coverage in test-issue-45-fix.ts
- Add documentation explaining the difference between create and update functions
- Bump version to 2.7.14

This fixes the issue where n8n_update_partial_workflow would pass validation
but fail during execution when workflows didn't have settings defined.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 09:18:00 +02:00
czlonkowski
7939f87f8c docs: add Docker troubleshooting guide and link in README. Solves issue #32 2025-07-15 08:40:54 +02:00
czlonkowski
f74c32bcf4 docs: add sponsorship section to README
- Add prominent but non-intrusive sponsorship section after Quick Start
- Include GitHub Sponsors badge with call-to-action
- Explain the value exchange for potential sponsors
- Position strategically where users have seen the project's value
2025-07-14 19:01:05 +02:00
Romuald Członkowski
f6264316e2 Create FUNDING.yml (#48)
* Create FUNDING.yml

* Simplify FUNDING.yml to only include GitHub Sponsors
2025-07-14 18:40:10 +02:00
Romuald Członkowski
fcd92d410e fix: exclude documentation changes from Docker builds and fix tag generation (#49)
- Add paths-ignore to skip Docker builds for documentation-only changes
- Remove problematic branch prefix from SHA tags to fix invalid tag format
- This prevents unnecessary builds for changes to .md files, FUNDING.yml, etc.
2025-07-14 18:39:39 +02:00
Romuald Członkowski
b9eca2371a Merge pull request #44 from naXa777/docs/28
docs: add Visual Studio Code setup instructions with screenshots
2025-07-14 18:20:30 +02:00
Pavel
5247677232 docs: add Visual Studio Code setup instructions with screenshots 2025-07-14 14:34:24 +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