fix: temporarily disable Cursor CLI agent (#3055)

Cursor CLI uses a proprietary ConnectRPC protocol and validates API keys
against Cursor's own servers — it cannot route through OpenRouter. All
infra (scripts, setup code, matrix entries) is preserved for re-enabling
when Cursor adds BYOK/custom endpoint support.

Adds `disabled` field to AgentDef and filters disabled agents from the
picker via agentKeys().

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
Ahmed Abushagur 2026-03-27 02:08:04 -07:00 committed by GitHub
parent e44705d925
commit dfc3e625a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -306,6 +306,8 @@
]
},
"cursor": {
"disabled": true,
"disabled_reason": "Cursor CLI uses a proprietary protocol (ConnectRPC) and validates API keys against Cursor's own servers. Cannot route through OpenRouter. Re-enable when Cursor adds BYOK/custom endpoint support for agent mode.",
"name": "Cursor CLI",
"description": "Cursor's terminal-based AI coding agent — autonomous coding with plan, agent, and ask modes",
"url": "https://cursor.com/cli",

View file

@ -43,6 +43,8 @@ export interface AgentDef {
category?: string;
tagline?: string;
tags?: string[];
disabled?: boolean;
disabled_reason?: string;
}
export interface CloudDef {
@ -280,7 +282,9 @@ export async function loadManifest(forceRefresh = false): Promise<Manifest> {
}
export function agentKeys(m: Manifest): string[] {
return Object.keys(m.agents).sort((a, b) => (m.agents[b].github_stars ?? 0) - (m.agents[a].github_stars ?? 0));
return Object.keys(m.agents)
.filter((k) => !m.agents[k].disabled)
.sort((a, b) => (m.agents[b].github_stars ?? 0) - (m.agents[a].github_stars ?? 0));
}
export function cloudKeys(m: Manifest): string[] {