Cursor provider should use cursor-agent when Grok agent is on PATH
Problem
When Cursor is configured with the default binary path agent, T3 can spawn the wrong CLI if Grok's agent appears earlier on PATH.
On my machine:
which agent→/home/adi/.grok/bin/agent(Grok CLI)which cursor-agent→/home/adi/.local/bin/cursor-agent(Cursor CLI)
With Cursor settings like:
"cursor": {
"enabled": true,
"binaryPath": "agent"
}
startup runs Cursor provider discovery via ACP (agent acp), but that resolves to Grok's agent, not Cursor's. Result:
Cursor ACP model discovery failed { errorTag: 'AcpTransportError' }
cursor-agent about and cursor-agent acp work fine when invoked directly.
Expected behavior
Cursor provider checks/discovery should use the Cursor CLI (cursor-agent), not whatever agent happens to be on PATH.
Suggested fix
- Change Cursor default
binaryPathfromagenttocursor-agentin settings/contracts. - Optionally map legacy
"agent"→cursor-agentwhen resolving the Cursor binary, since Cursor's historical default collides with Grok'sagent. - Update docs/settings placeholder to recommend
cursor-agent.
Workaround (today)
In T3 Settings → Cursor, set binary path to cursor-agent (or full path to the Cursor binary).
Why this matters
Both providers can be enabled on the same machine. A shared default of agent is fragile once Grok ships its own agent binary and it wins PATH resolution.
Offer
Happy to open a separate PR for this if that's useful — e.g. defaulting to cursor-agent and/or mapping legacy "agent" for existing configs.
Closing in favor of the properly formatted bug report: #3479