fix(mcp): v1.4.1 — add Node version check and better-sqlite3 error handling

- Check Node version on startup, exit with clear message if >=24
- Catch better-sqlite3 load failure with actionable error message
- Cap engines to node >=18 <24 in package.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
“BeeRad”
2026-02-10 15:58:21 +11:00
co-authored by Claude Opus 4.6
parent 0cb9a24327
commit d6987a3dc1
2 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "ra-h-mcp-server",
"version": "1.4.0",
"version": "1.4.1",
"description": "Connect Claude Code/Desktop to your RA-H knowledge base. Direct SQLite access - no web app required.",
"main": "index.js",
"bin": {
@@ -38,7 +38,7 @@
"zod": "^3.23.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=18.0.0 <24.0.0"
},
"files": [
"index.js",