promptgraph-mcp 2.0.3 → 2.0.4
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -417,9 +417,9 @@ if (args[0] === 'update') {
|
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
info(`Current: ${chalk.gray('v' + currentVersion)} → Latest: ${chalk.white.bold('v' + latest)}`);
|
|
420
|
-
const updateSpin = (await import('./cli.js')).spinner(`Installing promptgraph-mcp
|
|
420
|
+
const updateSpin = (await import('./cli.js')).spinner(`Installing promptgraph-mcp@latest (v${latest})...`);
|
|
421
421
|
updateSpin.start();
|
|
422
|
-
const result = spawnSync('npm', ['install', '-g',
|
|
422
|
+
const result = spawnSync('npm', ['install', '-g', 'promptgraph-mcp@latest'], { encoding: 'utf8', stdio: 'pipe', shell: true });
|
|
423
423
|
updateSpin.stop();
|
|
424
424
|
|
|
425
425
|
if (result.status !== 0) {
|