Repository navigation
Fixed
- The plugin now finds and launches
cursor-agenton Windows (#27, #29).resolveBin()probed withwhich, which Windows doesn't have, so every command failed withcursor-agent not found on PATH. Finding the binary would not have been enough either: the official Windows installer ships no.exe, onlycursor-agent.cmd/.ps1shims, and since Node's CVE-2024-27980 fixspawn()rejects.cmdfiles without a shell (EINVAL). The launcher now resolves the waycursor-agent.ps1does —node.exenext to the shim, otherwise the newest completeversions\<version>\holdingnode.exe+index.js— located via an absolutewhere.exe, with a%LOCALAPPDATA%\cursor-agentfallback for sessions whose PATH predates the install.CURSOR_AGENT_BINmay point at the shim. macOS and Linux behaviour is unchanged. A newwindows-latestCI job exercises the real installer layout end to end. Thanks @vilnis for the diagnosis and for testing on Windows 11. - Flag-like words in free text are no longer swallowed (#28). The text after the flags of
/cursor:delegate,/cursor:reviewand/cursor:browserwas re-tokenised, so words such as--config custom.yamlor--no-indexinside a brief silently vanished from the prompt (a non-boolean one also ate the next word), and quotes and backslashes were stripped. Only a leading run of flags is now parsed; everything from the first non-flag word on reachescursor-agentverbatim. Flags must therefore precede the text; a body that itself starts with--can be forced verbatim with-- --.
Full changelog: https://github.com/freema/cursor-plugin-cc/blob/main/CHANGELOG.md