gitnexus 1.6.6-rc.17 → 1.6.6-rc.18

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/dist/cli/setup.js CHANGED
@@ -48,11 +48,13 @@ function resolveGitnexusBin() {
48
48
  .map((l) => l.trim())
49
49
  .filter(Boolean);
50
50
  if (isWin) {
51
- // On Windows, `where` returns multiple entries (e.g. the POSIX shell
52
- // script AND the .cmd/.bat wrapper). Prefer the wrapper because
53
- // child_process.spawn() cannot execute a shell script directly.
51
+ // On Windows, npm global installs can surface multiple launchers for the
52
+ // same package (e.g. a POSIX shell shim plus .cmd/.bat wrappers). Claude
53
+ // and the other MCP hosts need a directly spawnable command path, so only
54
+ // accept the Windows wrapper. If it is missing, fall back to the slower
55
+ // npx entry instead of persisting a non-spawnable shim path.
54
56
  const cmdLine = lines.find((l) => /\.(cmd|bat)$/i.test(l));
55
- return cmdLine || lines[0] || null;
57
+ return cmdLine || null;
56
58
  }
57
59
  return lines[0] || null;
58
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.6.6-rc.17",
3
+ "version": "1.6.6-rc.18",
4
4
  "description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",