fix: update Cursor client version to 3.1.0 for Composer 2 compatibility (#525)

Cursor's API now rejects requests with outdated client versions,
returning [400]: Update Required for Composer 2. Bump
x-cursor-client-version from 2.3.41 to 3.1.0 across all three
locations where it is set.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Payne
2026-04-08 15:37:51 +07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 00448b389b
commit 32a746181a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ export const CURSOR_CONFIG = {
agentEndpoint: "https://agent.api5.cursor.sh", // Privacy mode
agentNonPrivacyEndpoint: "https://agentn.api5.cursor.sh", // Non-privacy mode
// Client metadata
clientVersion: "0.48.6",
clientVersion: "3.1.0",
clientType: "ide",
// Token storage locations (for user reference)
tokenStoragePaths: {