Repository navigation
v0.2.2: Fix silent exit under pnpm
Fixes
codegraphandcodegraph-mcpnow run when installed with pnpm ornpm link. In 0.2.1 and earlier, both commands exited silently with code 0 when started through a symlinked bin. They printed nothing and wrote no index. The entry-point check now compares real paths, so symlinked installs work.- The MCP server reports the correct version.
serverInfo.versionwas hardcoded to0.1.0. It now comes from the package version.
Documentation
- The install command now uses the correct package name. The README said
npm install --save-dev codegraph, which installs an unrelated package. It now saysrepo-codegraph. - The CLI section shows every command for both npm and pnpm. A new table lists each command with what it does, its
npx codegraph …form and itspnpm codegraph …form.
Upgrading
npm install --save-dev repo-codegraph@0.2.2 # npm
pnpm add -D repo-codegraph@0.2.2 # pnpm
If you're on pnpm v10, run pnpm codegraph index . without a --. pnpm v10 passes -- to the command as a literal argument.