Before submitting
Area
apps/server
Steps to reproduce
- Install both Grok CLI and Cursor Agent CLI on the same machine.
- Ensure Grok's
agent binary appears earlier on PATH than Cursor's CLI. For example:
which agent resolves to Grok (e.g. /home/adi/.grok/bin/agent)
which cursor-agent resolves to Cursor (e.g. /home/adi/.local/bin/cursor-agent)
- Enable the Cursor provider in T3 settings with the default binary path:
"cursor": {
"enabled": true,
"binaryPath": "agent"
}
- Start the dev server (
bun dev) and let provider discovery run on startup.
Expected behavior
Cursor provider discovery should invoke the Cursor CLI and complete ACP model discovery successfully. cursor-agent about and cursor-agent acp work when run directly.
Actual behavior
T3 runs agent acp for Cursor discovery, which resolves to Grok's agent binary instead of Cursor's. Startup logs show:
Cursor ACP model discovery failed { errorTag: 'AcpTransportError' }
Cursor provider checks fail even though the Cursor CLI is installed and working under cursor-agent.
Impact
Major degradation or frequent failure
Version or commit
main @ db323df (also reproduced on feat/provider-usage-limits)
Environment
Linux (CachyOS), Bun, Cursor provider enabled with default binaryPath: "agent", Grok CLI installed
Logs or stack traces
Cursor ACP model discovery failed { errorTag: 'AcpTransportError' }
Screenshots, recordings, or supporting files
No response
Workaround
In T3 Settings, set Cursor binary path to cursor-agent (or the full path to the Cursor binary, e.g. /home/adi/.local/bin/cursor-agent).
Happy to open a separate PR if useful. Suggested fix: default Cursor to cursor-agent and optionally map legacy "agent" to cursor-agent for existing configs.
Before submitting
Area
apps/server
Steps to reproduce
agentbinary appears earlier onPATHthan Cursor's CLI. For example:which agentresolves to Grok (e.g./home/adi/.grok/bin/agent)which cursor-agentresolves to Cursor (e.g./home/adi/.local/bin/cursor-agent)bun dev) and let provider discovery run on startup.Expected behavior
Cursor provider discovery should invoke the Cursor CLI and complete ACP model discovery successfully.
cursor-agent aboutandcursor-agent acpwork when run directly.Actual behavior
T3 runs
agent acpfor Cursor discovery, which resolves to Grok'sagentbinary instead of Cursor's. Startup logs show:Cursor provider checks fail even though the Cursor CLI is installed and working under
cursor-agent.Impact
Major degradation or frequent failure
Version or commit
main @ db323df (also reproduced on feat/provider-usage-limits)
Environment
Linux (CachyOS), Bun, Cursor provider enabled with default
binaryPath: "agent", Grok CLI installedLogs or stack traces
Cursor ACP model discovery failed { errorTag: 'AcpTransportError' }Screenshots, recordings, or supporting files
No response
Workaround
In T3 Settings, set Cursor binary path to
cursor-agent(or the full path to the Cursor binary, e.g./home/adi/.local/bin/cursor-agent).Happy to open a separate PR if useful. Suggested fix: default Cursor to
cursor-agentand optionally map legacy"agent"tocursor-agentfor existing configs.