-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
bugSomething isn't workingSomething isn't workingsafe-to-workSecurity triage: safe for automated processingSecurity triage: safe for automated processing
Description
Problem
PR #3058 updated the Cursor CLI binary path from `/.cursor/bin` to `/.local/bin` in `agent-setup.ts` and `verify.sh`, but two straggler references were missed:
- `manifest.json:335` — cursor `notes` field says "Binary installs to `~/.cursor/bin/agent`" → should be `~/.local/bin/agent`
- `sh/e2e/lib/provision.sh:381` — `path_prefix` variable still includes `$HOME/.cursor/bin:` (dead weight; `$HOME/.local/bin` already in the same PATH string)
Why it matters
`manifest.json` notes are fetched by every CLI user and displayed in `spawn cursor` info output. The stale path misleads anyone debugging cursor installation issues.
Fix
Two one-line changes:
- `manifest.json:335`: change `
/.cursor/bin/agent` → `/.local/bin/agent` in cursor notes - `sh/e2e/lib/provision.sh:381`: remove `$HOME/.cursor/bin:` from the path_prefix string
No CLI version bump needed (manifest data change + e2e infra only).
Discovered by refactor/code-health during post-merge consistency sweep of #3058.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingsafe-to-workSecurity triage: safe for automated processingSecurity triage: safe for automated processing