mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 15:11:14 +00:00
* docs(secrets): remove retired web credential paths * refactor(web): remove retired provider compatibility paths * refactor(providers): delete retired compatibility routes * refactor(secrets): remove retired credential aliases * refactor(plugin-sdk): delete retired compatibility surfaces * docs(plugin-sdk): remove retired migration guidance * chore(plugin-sdk): refresh rebased surface budgets * chore(plugin-sdk): refresh API removal baseline * refactor(compat): migrate retired internal callers * chore(plugin-sdk): refresh current-main baselines * test(config): migrate plugin-owned secret assertions * test(gateway): narrow plugin secret refs * fix(plugin-sdk): preserve private boundary type identity * chore(compat): remove stale sweep references * chore(lint): lower max-lines budget * refactor(secrets): remove unused web helper * build(plugin-sdk): drop removed compat entries * chore(plugin-sdk): refresh rebased API baseline * chore(plugin-sdk): use Linux API baseline hash * fix(plugin-sdk): preserve private bundled build entries * fix(plugin-sdk): package private runtime facades * fix(plugins): preserve external credential contracts
164 lines
4.7 KiB
JSON
164 lines
4.7 KiB
JSON
{
|
|
"id": "minimax",
|
|
"icon": "https://cdn.simpleicons.org/minimax",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"legacyPluginIds": ["minimax-portal-auth"],
|
|
"providers": ["minimax", "minimax-portal"],
|
|
"providerEndpoints": [
|
|
{
|
|
"endpointClass": "minimax-native",
|
|
"hosts": ["api.minimax.io", "api.minimaxi.com"]
|
|
}
|
|
],
|
|
"providerCatalogEntry": "./provider-discovery.ts",
|
|
"autoEnableWhenConfiguredProviders": ["minimax", "minimax-portal"],
|
|
"nonSecretAuthMarkers": ["minimax-oauth"],
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "minimax",
|
|
"envVars": ["MINIMAX_CODE_PLAN_KEY", "MINIMAX_CODING_API_KEY", "MINIMAX_API_KEY"]
|
|
},
|
|
{
|
|
"id": "minimax-portal",
|
|
"envVars": ["MINIMAX_OAUTH_TOKEN", "MINIMAX_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthAliases": {
|
|
"minimax-cn": "minimax",
|
|
"minimax-portal-cn": "minimax-portal"
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "minimax-portal",
|
|
"method": "oauth",
|
|
"choiceId": "minimax-global-oauth",
|
|
"appGuidedAuth": "device-code",
|
|
"choiceLabel": "MiniMax OAuth (Global)",
|
|
"choiceHint": "Global endpoint - api.minimax.io",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M3 (recommended)"
|
|
},
|
|
{
|
|
"provider": "minimax",
|
|
"method": "api-global",
|
|
"choiceId": "minimax-global-api",
|
|
"appGuidedSecret": true,
|
|
"deprecatedChoiceIds": ["minimax", "minimax-api", "minimax-cloud", "minimax-api-lightning"],
|
|
"choiceLabel": "MiniMax API key (Global)",
|
|
"choiceHint": "Global endpoint - api.minimax.io",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M3 (recommended)",
|
|
"optionKey": "minimaxApiKey",
|
|
"cliFlag": "--minimax-api-key",
|
|
"cliOption": "--minimax-api-key <key>",
|
|
"cliDescription": "MiniMax API key"
|
|
},
|
|
{
|
|
"provider": "minimax-portal",
|
|
"method": "oauth-cn",
|
|
"choiceId": "minimax-cn-oauth",
|
|
"appGuidedAuth": "device-code",
|
|
"choiceLabel": "MiniMax OAuth (CN)",
|
|
"choiceHint": "CN endpoint - api.minimaxi.com",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M3 (recommended)"
|
|
},
|
|
{
|
|
"provider": "minimax",
|
|
"method": "api-cn",
|
|
"choiceId": "minimax-cn-api",
|
|
"appGuidedSecret": true,
|
|
"deprecatedChoiceIds": ["minimax-api-key-cn"],
|
|
"choiceLabel": "MiniMax API key (CN)",
|
|
"choiceHint": "CN endpoint - api.minimaxi.com",
|
|
"groupId": "minimax",
|
|
"groupLabel": "MiniMax",
|
|
"groupHint": "M3 (recommended)",
|
|
"optionKey": "minimaxApiKey",
|
|
"cliFlag": "--minimax-api-key",
|
|
"cliOption": "--minimax-api-key <key>",
|
|
"cliDescription": "MiniMax API key"
|
|
}
|
|
],
|
|
"contracts": {
|
|
"speechProviders": ["minimax"],
|
|
"mediaUnderstandingProviders": ["minimax", "minimax-portal"],
|
|
"imageGenerationProviders": ["minimax", "minimax-portal"],
|
|
"musicGenerationProviders": ["minimax", "minimax-portal"],
|
|
"videoGenerationProviders": ["minimax", "minimax-portal"],
|
|
"webSearchProviders": ["minimax"],
|
|
"usageProviders": ["minimax"]
|
|
},
|
|
"mediaUnderstandingProviderMetadata": {
|
|
"minimax": {
|
|
"capabilities": ["image"],
|
|
"defaultModels": {
|
|
"image": "MiniMax-VL-01"
|
|
},
|
|
"documentModels": {
|
|
"pdf": {
|
|
"textExtraction": "MiniMax-M2.7",
|
|
"image": false
|
|
}
|
|
},
|
|
"autoPriority": {
|
|
"image": 40
|
|
}
|
|
},
|
|
"minimax-portal": {
|
|
"capabilities": ["image"],
|
|
"defaultModels": {
|
|
"image": "MiniMax-VL-01"
|
|
},
|
|
"documentModels": {
|
|
"pdf": {
|
|
"textExtraction": "MiniMax-M2.7",
|
|
"image": false
|
|
}
|
|
},
|
|
"autoPriority": {
|
|
"image": 50
|
|
}
|
|
}
|
|
},
|
|
"uiHints": {
|
|
"webSearch.apiKey": {
|
|
"label": "MiniMax Token Plan key",
|
|
"help": "MiniMax Token Plan key or OAuth token (fallback: MINIMAX_CODE_PLAN_KEY, MINIMAX_CODING_API_KEY, MINIMAX_OAUTH_TOKEN, or MINIMAX_API_KEY if it already points at a token-plan credential).",
|
|
"sensitive": true,
|
|
"placeholder": "sk-cp-..."
|
|
},
|
|
"webSearch.region": {
|
|
"label": "MiniMax Search Region",
|
|
"help": "Search endpoint region override. Leave unset to reuse your configured MiniMax host or MINIMAX_API_HOST."
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"webSearch": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": ["string", "object"]
|
|
},
|
|
"region": {
|
|
"type": "string",
|
|
"enum": ["global", "cn"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|