fix: enforce Claude CLI MCP admission and safe continuation

This commit is contained in:
amosblomqvist
2026-10-28 08:01:50 +02:00
parent 812ea23419
commit 6ca431644d
13 changed files with 534 additions and 201 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ function getWindowsSearchSpec(env: BinaryLookup["env"], homeDir: string): Search
return {
paths,
names: ["claude.exe", "claude.cmd"],
// Direct spawn deliberately uses no shell. A .cmd-only npm install
// is not runnable and must not count as an available provider.
names: ["claude.exe"],
knownDirs: [
paths.join(homeDir, ".local", "bin"),
paths.join(homeDir, ".claude", "local"),