Skip to content

Commit 257c359

Browse files
louisgvclaude
andcommitted
fix(cursor): remove stale ~/.cursor/bin references missed in #3058 migration
Clean up three remaining stale references to ~/.cursor/bin that were not caught in the #3058 path migration: - manifest.json: update notes field to reflect ~/.local/bin/agent - sh/e2e/lib/provision.sh: remove ~/.cursor/bin from path_prefix - sh/e2e/lib/verify.sh: remove ~/.cursor/bin from binary check PATH Fixes #3065 Agent: issue-fixer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 11f0c33 commit 257c359

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
}
333333
}
334334
},
335-
"notes": "Works with OpenRouter via --endpoint flag pointing to openrouter.ai/api/v1 and CURSOR_API_KEY set to OpenRouter key. Binary installs to ~/.cursor/bin/agent.",
335+
"notes": "Works with OpenRouter via --endpoint flag pointing to openrouter.ai/api/v1 and CURSOR_API_KEY set to OpenRouter key. Binary installs to ~/.local/bin/agent.",
336336
"icon": "https://raw.githubusercontent.com/OpenRouterTeam/spawn/main/assets/agents/cursor.png",
337337
"featured_cloud": [
338338
"digitalocean",

sh/e2e/lib/provision.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ _ensure_agent_binary() {
378378
# PATH includes all common binary locations for detection.
379379
local bin_name=""
380380
local install_cmd=""
381-
local path_prefix='export PATH="$HOME/.npm-global/bin:$HOME/.bun/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.claude/local/bin:$HOME/.cursor/bin:/usr/local/bin:$PATH"'
381+
local path_prefix='export PATH="$HOME/.npm-global/bin:$HOME/.bun/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.claude/local/bin:/usr/local/bin:$PATH"'
382382

383383
case "${agent}" in
384384
claude)

sh/e2e/lib/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ verify_cursor() {
755755

756756
# Binary check — cursor installs to ~/.local/bin/agent (since 2026-03-25)
757757
log_step "Checking cursor binary..."
758-
if cloud_exec "${app}" "PATH=\$HOME/.local/bin:\$HOME/.cursor/bin:\$HOME/.bun/bin:\$PATH command -v agent" >/dev/null 2>&1; then
758+
if cloud_exec "${app}" "PATH=\$HOME/.local/bin:\$HOME/.bun/bin:\$PATH command -v agent" >/dev/null 2>&1; then
759759
log_ok "cursor (agent) binary found"
760760
else
761761
log_err "cursor (agent) binary not found"

0 commit comments

Comments
 (0)