promptgraph-mcp 2.9.21 → 2.9.23

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.
package/cli.js CHANGED
@@ -66,7 +66,7 @@ export function progress(current, total, { skipped = 0, eta = '?', errors = 0 }
66
66
  colors.muted(current + '/' + total),
67
67
  skipped > 0 ? colors.muted('skip ' + skipped) : '',
68
68
  errors > 0 ? colors.error('err ' + errors) : '',
69
- eta !== '?' ? colors.muted('eta ' + formatTime(eta)) : '',
69
+ eta !== '?' && eta > 0 ? colors.muted('eta ' + formatTime(eta)) : eta === '?' ? colors.muted('scanning...') : '',
70
70
  ].filter(Boolean).join(' ');
71
71
 
72
72
  process.stdout.write('\r ' + bar + ' ' + stats + ' ');
@@ -34,6 +34,14 @@ export default async function handler(args, bin) {
34
34
  }
35
35
 
36
36
  info(`Current: ${chalk.gray('v' + currentVersion)} → Latest: ${chalk.white.bold('v' + latest)}`);
37
+
38
+ // Kill other node processes that may lock native .node files (e.g. pg reindex still running)
39
+ if (process.platform === 'win32') {
40
+ spawnSync('taskkill', ['/F', '/IM', 'node.exe'], { stdio: 'ignore', shell: true });
41
+ } else {
42
+ spawnSync('pkill', ['-f', 'promptgraph-mcp'], { stdio: 'ignore' });
43
+ }
44
+
37
45
  const updateSpin = (await import('../cli.js')).spinner(`Installing promptgraph-mcp@latest (v${latest})...`);
38
46
  updateSpin.start();
39
47
  const result = spawnSync('npm', ['install', '-g', 'promptgraph-mcp@latest'], { encoding: 'utf8', stdio: 'pipe', shell: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.21",
3
+ "version": "2.9.23",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",