v2.2.1 — fix native install on Node 24
Install fix. On Node.js 24, npm install -g aidex-mcp failed for many users with node-gyp errors — they had to install a full C++ toolchain (Visual Studio Build Tools on Windows, the Xcode sysroot on macOS) just to build better-sqlite3 from source.
Fixed
better-sqlite3build-from-source on Node 24 —better-sqlite3@^11ships no prebuilt binary for Node 24 (ABInode-v137), soprebuild-installfell through tonode-gyp rebuild, which needs a local C/C++ toolchain most users don't have. Bumped tobetter-sqlite3@^12, which adds Node 24+ prebuilds — the install now downloads a ready binary on every supported platform, no compiler required. No API changes. Fixes #13.
Changed
- Minimum Node.js is now 20 (was 18) —
better-sqlite3@12dropped EOL Node 18 from its build matrix.engines,.nvmrc, the runtime check and the README are aligned. Node 18 is itself past EOL.
npm install -g aidex-mcp@2.2.1