Skip to content

fix(cursor): HTTP/2 AgentService support + version bump to 3.12.17#2685

Open
jokot wants to merge 2 commits into
decolua:masterfrom
jokot:master
Open

fix(cursor): HTTP/2 AgentService support + version bump to 3.12.17#2685
jokot wants to merge 2 commits into
decolua:masterfrom
jokot:master

Conversation

@jokot

@jokot jokot commented Jul 18, 2026

Copy link
Copy Markdown

Changes

  • Cherry-pick PR fix(cursor): bump client version and speak HTTP/2 to AgentService #2563: HTTP/2 AgentService support for Cursor provider

    • Adds executeAgent method using HTTP/2 streams to agent.api5.cursor.sh
    • Falls back to old ChatService when tool_calls are present
    • Enables live model catalog fetching via HTTP/2
  • Bump Cursor client version from 3.11.13 to 3.12.17 (matches current Cursor IDE)

  • Add x-cursor-client-commit header with current commit hash

Problem

The Cursor provider throws HTTP 429: Update Required / ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT because:

  1. Real Cursor IDE now uses AgentService at agent.api5.cursor.sh (HTTP/2-only)
  2. 9router still uses ChatService at api2.cursor.sh (HTTP/1.1) with outdated version headers

Testing

  • Verified server starts and Cursor models are registered
  • HTTP/2 AgentService code confirmed in build
  • Server responds correctly at localhost:20128

long2ice and others added 2 commits July 18, 2026 10:44
Cursor rejects x-cursor-client-version 3.1.0 with ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT ("Update Required"). Bump to 3.11.13 and route AgentService (h2-only) via Node http2 instead of fetch/undici. Also load the live GetUsableModels catalog for account-specific model lists.

Closes decolua#2487
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants