Skip to content

cursor-cli linking to cursor-agent instead of agent breaks cask #246845

@martimlobao

Description

@martimlobao

Verification

Description of issue

cursor-cli expects a binary to exist called agent instead of cursor-agent. It also expect it to exist at ~/.local/bin/agent

❯ cursor-agent install-shell-integration
Shell integration installed successfully!
Please restart your terminal or run 'source ~/.zshrc' to activate.

❯ source ~/.zshrc
/Users/martim/.zshrc:1: no such file or directory: /Users/martim/.local/bin/agent
❯ cursor-agent shell-integration zsh

export PATH="$HOME/.local/bin:$PATH"

if [[ -z "$CURSOR_RECORD_SESSION" ]]; then
  export CURSOR_RECORD_SESSION=1

  exec ~/.local/bin/agent record
fi
...

Command that failed

cursor-agent install-shell-integration && source ~/.zshrc

Output of command with --verbose --debug

N/A

Output of brew doctor and brew config

❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  chromedriver
  font-humor-sans
  qlmarkdown
  quicklook-json
  syntax-highlight

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  icu4c@77



❯ brew config
HOMEBREW_VERSION: 5.0.12-38-g6dd5d79
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6dd5d79db0017fbf86c21240ca669387d2442d99
Last commit: 2 hours ago
Branch: main
Core tap HEAD: 15402b4c8a2b74adf8c8a8562353f02c1421f08c
Core tap last commit: 79 minutes ago
Core tap JSON: 29 Jan 10:49 UTC
Core cask tap HEAD: 83448e83b924606a9d2b22ada7c3f65752c1b2cb
Core cask tap last commit: 64 minutes ago
Core cask tap JSON: 29 Jan 10:49 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DOWNLOAD_CONCURRENCY: 16
HOMEBREW_EDITOR: nano
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.8 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 17.0.0 build 1700
Git: 2.52.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 26.2-arm64
CLT: 26.2.0.0.1.1764812424
Xcode: N/A
Rosetta 2: false

Output of brew tap

❯ brew tap
homebrew/cask
homebrew/core
kegworks-app/kegworks
martimlobao/dos-games
martimlobao/fonts
martimlobao/nyt-fonts
pantsbuild/tap
willfantom/dropbox-ignore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions