mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 00:20:45 +00:00
Settings → AI → Cursor Check ran `cursor-agent status` via execFileSync on the path from `where`, which is a .cmd installer shim. Node cannot spawn .cmd files directly (EINVAL), so the probe reported logged-out even when the terminal showed authenticated. Run the status probe, turns, and model listing through the existing Windows shim spawn helper, without unwrapping cursor-agent.cmd to node.exe (that would drop index.js). Also accept status JSON wrapped in cmd noise. Closes #3003