Skip to content

Commit 7317e44

Browse files
committed
chore: merge main to update PR branch
2 parents e744b9f + dfc3e62 commit 7317e44

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@
306306
]
307307
},
308308
"cursor": {
309+
"disabled": true,
310+
"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.",
309311
"name": "Cursor CLI",
310312
"description": "Cursor's terminal-based AI coding agent — autonomous coding with plan, agent, and ask modes",
311313
"url": "https://cursor.com/cli",

packages/cli/src/manifest.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export interface AgentDef {
4343
category?: string;
4444
tagline?: string;
4545
tags?: string[];
46+
disabled?: boolean;
47+
disabled_reason?: string;
4648
}
4749

4850
export interface CloudDef {
@@ -280,7 +282,9 @@ export async function loadManifest(forceRefresh = false): Promise<Manifest> {
280282
}
281283

282284
export function agentKeys(m: Manifest): string[] {
283-
return Object.keys(m.agents).sort((a, b) => (m.agents[b].github_stars ?? 0) - (m.agents[a].github_stars ?? 0));
285+
return Object.keys(m.agents)
286+
.filter((k) => !m.agents[k].disabled)
287+
.sort((a, b) => (m.agents[b].github_stars ?? 0) - (m.agents[a].github_stars ?? 0));
284288
}
285289

286290
export function cloudKeys(m: Manifest): string[] {

0 commit comments

Comments
 (0)