From 0f30ea5cfdf073b4304635c4d1a16894f518ab1f Mon Sep 17 00:00:00 2001 From: Ivan Matveev Date: Sun, 7 Jun 2026 16:42:00 +0200 Subject: [PATCH] fix: allow node 26 installs --- CHANGELOG.md | 6 ++++++ README.md | 10 +++++----- package-lock.json | 8 ++++---- package.json | 4 ++-- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8128c93..8715bf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @vndv/pi-codegraph +## 0.1.7 + +### Patch Changes + +- Allow installation on Node.js versions newer than 22.19.0. + ## 0.1.6 ### Patch Changes diff --git a/README.md b/README.md index 9044578..29b92d2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ An extension for [pi](https://pi.dev) that gives the agent access to [CodeGraph] npm install -g @colbymchenry/codegraph cd /path/to/project codegraph init -i -pi install npm:@vndv/pi-codegraph@0.1.6 +pi install npm:@vndv/pi-codegraph@0.1.7 pi ``` @@ -54,7 +54,7 @@ Extension tools only. There is no MCP setup for pi users to maintain. From npm: ```bash -pi install npm:@vndv/pi-codegraph@0.1.6 +pi install npm:@vndv/pi-codegraph@0.1.7 ``` From GitHub: @@ -83,7 +83,7 @@ pi list ## Requirements -Node.js 22 LTS is recommended. CodeGraph blocks Node.js 25 because that Node line has a V8 WASM JIT issue that can crash while compiling tree-sitter grammars. +Node.js 22.19.0 or newer is required. CodeGraph must be installed and available on `PATH`: @@ -163,7 +163,7 @@ That means another developer only needs the npm package, the `codegraph` CLI, an Remove the package using the same source shown by `pi list`: ```bash -pi remove npm:@vndv/pi-codegraph@0.1.6 +pi remove npm:@vndv/pi-codegraph@0.1.7 ``` If you installed from GitHub or a local path, remove that exact entry instead: @@ -200,7 +200,7 @@ codegraph init -i ### Node.js version is unsupported -Use Node.js 22 LTS: +Use Node.js 22.19.0 or newer: ```bash nvm install 22 diff --git a/package-lock.json b/package-lock.json index 66eaaa0..9b547f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vndv/pi-codegraph", - "version": "0.1.6", + "version": "0.1.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vndv/pi-codegraph", - "version": "0.1.6", + "version": "0.1.7", "license": "MIT", "devDependencies": { "@changesets/cli": "^2.31.0", @@ -17,7 +17,7 @@ "vitest": "^4.1.7" }, "engines": { - "node": ">=22.19.0 <25" + "node": ">=22.19.0" }, "peerDependencies": { "@earendil-works/pi-coding-agent": "*", @@ -909,7 +909,7 @@ "typebox": "1.1.38" }, "bin": { - "pi-ai": "./dist/cli.js" + "pi-ai": "dist/cli.js" }, "engines": { "node": ">=22.19.0" diff --git a/package.json b/package.json index f1fac00..74e95cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vndv/pi-codegraph", - "version": "0.1.6", + "version": "0.1.7", "description": "CodeGraph tools for Pi Agent.", "license": "MIT", "type": "module", @@ -48,7 +48,7 @@ "version-packages": "changeset version && npm run sync:readme-version && npm install --package-lock-only --ignore-scripts" }, "engines": { - "node": ">=22.19.0 <25" + "node": ">=22.19.0" }, "publishConfig": { "access": "public"