create-merlin-brain 3.0.3 → 3.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/bin/install.cjs CHANGED
@@ -769,7 +769,11 @@ async function install() {
769
769
 
770
770
  if (needsInstall) {
771
771
  const localVersion = require('../package.json').version;
772
- execSync(`npm install -g create-merlin-brain@${localVersion}`, { stdio: 'pipe' });
772
+ // --ignore-scripts prevents recursive postinstall: when running via npx,
773
+ // the inner global install would trigger its own postinstall, whose
774
+ // cleanupLegacy() deletes the outer npx cache dir (since ownDir is now
775
+ // the global path, not the npx path), causing npm ENOENT on finalize.
776
+ execSync(`npm install -g create-merlin-brain@${localVersion} --ignore-scripts`, { stdio: 'pipe' });
773
777
  logSuccess('Installed merlin-brain globally');
774
778
  logSuccess('All terminals now share the same fast binary');
775
779
  }
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.0.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-merlin-brain",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Merlin - The Ultimate AI Brain for Claude Code. One install: workflows, agents, loop, and Sights MCP server.",
5
5
  "type": "module",
6
6
  "main": "./dist/server/index.js",