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
@@ -199,7 +199,7 @@ export const PROVIDERS = {
"Content-Type": "application/connect+proto",
"User-Agent": "connect-es/1.6.1"
},
clientVersion: "1.1.3"
clientVersion: "3.1.0"
},
"kimi-coding": {
baseUrl: KIMI_CODING_BASE_URL,