create-merlin-brain 2.1.2 → 2.1.3
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/bin/install.cjs +10 -0
- package/dist/server/version.d.ts +1 -1
- package/dist/server/version.js +1 -1
- package/package.json +1 -1
package/bin/install.cjs
CHANGED
|
@@ -453,6 +453,16 @@ function cleanupLegacy() {
|
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
+
// ═══════════════════════════════════════════════════════════════
|
|
457
|
+
// KILL OLD MCP PROCESSES (stale merlin-mcp from before package merge)
|
|
458
|
+
// ═══════════════════════════════════════════════════════════════
|
|
459
|
+
try {
|
|
460
|
+
const { execSync } = require('child_process');
|
|
461
|
+
execSync('pkill -f "merlin-mcp" 2>/dev/null || true', { stdio: 'ignore' });
|
|
462
|
+
execSync('pkill -f "create-merlin-brain.*serve" 2>/dev/null || true', { stdio: 'ignore' });
|
|
463
|
+
cleaned.push('Killed stale MCP processes');
|
|
464
|
+
} catch (e) { /* ignore - pkill may not exist on all systems */ }
|
|
465
|
+
|
|
456
466
|
// ═══════════════════════════════════════════════════════════════
|
|
457
467
|
// RESET MERLIN CONFIG (clear saved repo selection for fresh auto-detect)
|
|
458
468
|
// ═══════════════════════════════════════════════════════════════
|
package/dist/server/version.d.ts
CHANGED
package/dist/server/version.js
CHANGED
package/package.json
CHANGED