From 27166021ae45cca5b686996ad19b907850c2747b Mon Sep 17 00:00:00 2001 From: Tomas Grasl Date: Fri, 18 Sep 2026 19:03:38 +0200 Subject: [PATCH] =?UTF-8?q?release:=200.6.2=20=E2=80=94=20cursor-agent=20o?= =?UTF-8?q?n=20Windows,=20verbatim=20prompt=20bodies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cut the 0.6.2 changelog section covering #29 (closes #27) and #28 and bump the version in package.json, package-lock.json, and plugin.json. Co-Authored-By: Claude Opus 5 (1M context) --- CHANGELOG.md | 7 +++++++ plugins/cursor/package-lock.json | 4 ++-- plugins/cursor/package.json | 2 +- plugins/cursor/plugin.json | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8fe600..fefe228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.6.2 — cursor-agent on Windows, verbatim prompt bodies + +### Fixed + +- **The plugin now finds and launches `cursor-agent` on Windows** (#27, #29). `resolveBin()` probed with `which`, which Windows doesn't have, so every command failed with `cursor-agent not found on PATH`. Finding the binary would not have been enough either: the official Windows installer ships no `.exe`, only `cursor-agent.cmd` / `.ps1` shims, and since Node's CVE-2024-27980 fix `spawn()` rejects `.cmd` files without a shell (`EINVAL`). The launcher now resolves the way `cursor-agent.ps1` does — `node.exe` next to the shim, otherwise the newest complete `versions\\` holding `node.exe` + `index.js` — located via an absolute `where.exe`, with a `%LOCALAPPDATA%\cursor-agent` fallback for sessions whose PATH predates the install. `CURSOR_AGENT_BIN` may point at the shim. macOS and Linux behaviour is unchanged. A new `windows-latest` CI 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:review` and `/cursor:browser` was re-tokenised, so words such as `--config custom.yaml` or `--no-index` inside 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 reaches `cursor-agent` verbatim. Flags must therefore precede the text; a body that itself starts with `--` can be forced verbatim with `-- --`. + ## 0.6.1 — stdin prompt delivery on Windows, exact-match drop-list ### Fixed diff --git a/plugins/cursor/package-lock.json b/plugins/cursor/package-lock.json index 257eca7..e566c69 100644 --- a/plugins/cursor/package-lock.json +++ b/plugins/cursor/package-lock.json @@ -1,12 +1,12 @@ { "name": "cursor-plugin-cc", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cursor-plugin-cc", - "version": "0.6.1", + "version": "0.6.2", "license": "MIT", "devDependencies": { "@eslint/js": "^9.16.0", diff --git a/plugins/cursor/package.json b/plugins/cursor/package.json index 9b46611..7033264 100644 --- a/plugins/cursor/package.json +++ b/plugins/cursor/package.json @@ -1,6 +1,6 @@ { "name": "cursor-plugin-cc", - "version": "0.6.1", + "version": "0.6.2", "description": "Use Cursor CLI from Claude Code to delegate coding tasks to Composer and other Cursor models.", "type": "module", "license": "MIT", diff --git a/plugins/cursor/plugin.json b/plugins/cursor/plugin.json index f60b565..93d21df 100644 --- a/plugins/cursor/plugin.json +++ b/plugins/cursor/plugin.json @@ -1,6 +1,6 @@ { "name": "cursor", - "version": "0.6.1", + "version": "0.6.2", "description": "Hand off tasks from Claude Code to cursor-agent. Composer-optimised.", "author": { "name": "Tomas Grasl",