feat(provider): add CodeBuddy CN provider (copilot.tencent.com)

Add Tencent CodeBuddy CN (codebuddy-cn) OAuth provider with full support:
OAuth login (GET poll with state query param), token refresh, 15-model
catalog, /v2 inference endpoint, forced streaming, OpenAI-style reasoning,
and per-model capabilities. Renamed from codebuddy to codebuddy-cn to allow
a future codebuddy-ai variant.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Janu Yoga
2026-06-19 15:33:26 +07:00
committed by decolua
co-authored by Cursor
parent db4499d6df
commit efd20be8d8
18 changed files with 234 additions and 59 deletions
+2 -2
View File
@@ -105,7 +105,7 @@
"claude": "cc",
"cline": "cl",
"cloudflare-ai": "cloudflare-ai",
"codebuddy": "codebuddy",
"codebuddy-cn": "codebuddy-cn",
"codex": "cx",
"cohere": "cohere",
"commandcode": "commandcode",
@@ -231,4 +231,4 @@
"xiaomi-mimo",
"xiaomi-tokenplan"
]
}
}