@mutmutco/hub 4.0.6 → 4.0.8

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/dist/index.cjs +1 -0
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1083,6 +1083,7 @@ function cursorExecutable(line) {
1083
1083
  const quoted = /^"([^"]+)"|^'([^']+)'/.exec(trimmed);
1084
1084
  const executable = quoted ? quoted[1] ?? quoted[2] : trimmed.split(/\s+/)[0];
1085
1085
  const base = executable.split(/[/\\]/).pop() ?? "";
1086
+ if (/[\\/]chrome_crashpad_handler(\.exe)?(["']|\s|$)/i.test(trimmed)) return null;
1086
1087
  const host = /^cursor(\.exe)?$/i.test(base) || /[/\\]Cursor\.app[/\\]/i.test(executable);
1087
1088
  return host ? executable.slice(0, 160) : null;
1088
1089
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/hub",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "Install and maintain the MMI CLI and every present host surface from one release-gated Hub command.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",