Skip to content

fix: stale ~/.cursor/bin references missed in #3058 migration #3065

@la14-1

Description

@la14-1

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:

  1. `manifest.json:335` — cursor `notes` field says "Binary installs to `~/.cursor/bin/agent`" → should be `~/.local/bin/agent`
  2. `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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsafe-to-workSecurity triage: safe for automated processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions