t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Cursor provider never reports a version, so it shows no update action or version advisory

Open VDrozd-Cyclis opened this issue 1 month ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Run desktop nightly 0.0.46-nightly.20261015.3145 on macOS.
  2. Enable the Cursor provider and sign in through T3 (browser sign-in). The provider becomes ready and the SDK models load.
  3. Open the Cursor provider in settings and look for its version or an update action.

Expected behavior

Cursor shows a version and a version advisory like Codex does (currentVersion, latestVersion, canUpdate, updateCommand). If the Cursor runtime is the bundled @cursor/sdk and can only change when T3 updates, the provider row says that instead of showing an empty, unknown state.

Actual behavior

Cursor shows no version and no update action. The cached snapshot (~/.t3/caches/cursor.json) has:

"version": null,
"compatibilityAdvisory": {
  "status": "unknown",
  "message": null,
  "recommendedVersion": null,
  "recommendedRange": ">=2026.05.09"
}

and no versionAdvisory.

In packages/provider-cursor/src/server/status.ts, every branch of checkCursorProviderStatus returns version: null, including the successful SDK-catalog path (parsed: { version: null, status: "ready", ... }). As a result, enrichProviderSnapshotWithVersionAdvisory and resolveLatestProviderVersion run for Codex in the server trace but never for Cursor.

Two related issues:

  • The compatibility advisory still checks against a CLI-style range (>=2026.05.09) that a null version can never satisfy. It stays unknown for good.
  • The instance config still stores binaryPath: "cursor-agent", but the driver goes through the bundled @cursor/sdk (1.0.35 in this build) and doesn't run that binary. Running cursor-agent update (CLI 2026.10.14-0f9edde here) has no effect on what T3 uses, and the UI doesn't say so.

Impact

Minor bug or occasional failure

Version or commit

0.0.46-nightly.20261015.3145

Environment

macOS (Darwin 27.0.0), T3 Code (Nightly) desktop, Cursor provider via browser sign-in, bundled @cursor/sdk 1.0.35

Logs or stack traces

# server.trace.ndjson, Cursor refresh: no version-advisory spans
CursorSdkCatalog.make         Success
checkCursorProviderStatus     Success  (~1100ms)
readCursorUsageLimits         Success
refreshSnapshot               Success
# Codex refresh in the same file includes:
resolveLatestProviderVersion                 Success
enrichProviderSnapshotWithVersionAdvisory    Success

Workaround

None in the app. The Cursor runtime only changes when T3 itself updates.

Related: #19008. It covers the other Cursor provider gap on this build: no usage limits after a browser sign-in.

VDrozd-Cyclis avatar Oct 15 '26 10:10 VDrozd-Cyclis

Reposted from my personal account as #19858.

VDrozd-Cyclis avatar Oct 15 '26 10:10 VDrozd-Cyclis