Skip to content

Cursor model discovery can launch the wrong agent executable #1231

Closed

Description

@DevVig

Workflow

  1. Install and authenticate Cursor's agent CLI.
  2. Have another tool provide an agent executable earlier on PATH (for example, Grok's agent CLI).
  3. Open BB's new-thread composer and select Cursor.
  4. Open the model picker.

What happened

BB launches the generic agent executable for Cursor model discovery and ACP sessions. If another provider owns that name earlier on PATH, BB launches the wrong CLI. Cursor model discovery then fails and the picker falls back to only Agent default.

Provider health and update actions use the same ambiguous executable, so they can also inspect or update the wrong tool.

What I expected

BB should use Cursor's namespaced cursor-agent executable consistently for model discovery, ACP sessions, health checks, updates, and login guidance. The model picker should then show the catalog returned by cursor-agent --list-models.

Environment evidence

On the affected machine:

  • agent resolved to Grok's CLI and rejected Cursor's --list-models behavior.
  • cursor-agent --list-models returned Cursor's full model catalog.
  • Pointing BB's built-in Cursor profile at cursor-agent restored the model list in the dev app.

This is distinct from #933: the models are not merely ordered under “More models”; the catalog command is sent to the wrong executable and no Cursor catalog is loaded.

Activity

  1. added a commit that references this issue on Aug 9, 2026
    674ee1c
  2. added a commit that references this issue on Aug 14, 2026
    d99a640
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions