feat: add Micu partner provider preset for Claude, Codex, OpenClaw and OpenCode

- Add Micu provider presets with openclaudecode.cn endpoint
- Register micu icon SVG in icon index with namespaced CSS classes
- Rename miku.svg to micu.svg to match icon key
- Add partnerPromotion.micu i18n keys for zh, en, ja locales
This commit is contained in:
Jason
2026-03-08 23:27:23 +08:00
parent 02669cfbac
commit 9084e1ecc8
9 changed files with 116 additions and 3 deletions
+29
View File
@@ -1246,6 +1246,35 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "Micu",
websiteUrl: "https://www.openclaudecode.cn",
apiKeyUrl: "https://www.openclaudecode.cn/v1",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "Micu",
options: {
baseURL: "https://www.openclaudecode.cn/v1",
apiKey: "",
},
models: {
"claude-opus-4-6": { name: "Claude Opus 4.6" },
"claude-sonnet-4-6": { name: "Claude Sonnet 4.6" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "micu",
icon: "micu",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "AWS Bedrock",
websiteUrl: "https://aws.amazon.com/bedrock/",