promptgraph-mcp 1.9.5 → 1.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -392,7 +392,8 @@ if (args[0] === 'update') {
392
392
  spin.start();
393
393
  let latest = null;
394
394
  try {
395
- const r = spawnSync('npm', ['view', 'promptgraph-mcp', 'version'], { encoding: 'utf8' });
395
+ const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
396
+ const r = spawnSync(npmCmd, ['view', 'promptgraph-mcp', 'version'], { encoding: 'utf8' });
396
397
  latest = r.stdout?.trim();
397
398
  } catch {}
398
399
  spin.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "bin": {