Windows, OpenCode installed via npm install -g opencode-ai@latest.
opencode --version returns 1.18.7, but npx @cortexkit/magic-context@latest doctor reports:
"OpenCode CLI was found at ...\AppData\Roaming\npm\opencode.cmd but could not be executed"
Doctor calls execFileSync(binary, args) for the detected .cmd shim. Node cannot launch .cmd files directly with execFileSync on Windows; it needs cmd.exe /c or exec().

Windows, OpenCode installed via
npm install -g opencode-ai@latest.opencode --versionreturns 1.18.7, butnpx @cortexkit/magic-context@latest doctorreports:"OpenCode CLI was found at ...\AppData\Roaming\npm\opencode.cmd but could not be executed"
Doctor calls
execFileSync(binary, args)for the detected.cmdshim. Node cannot launch.cmdfiles directly with execFileSync on Windows; it needs cmd.exe /c or exec().