mirror of
http://192.168.0.88:13333/lywsvip/openclaw-zero-token.git
synced 2026-06-01 14:40:10 +08:00
Major upgrade from e26988a38 to upstream v2026.3.28 (f9b107928).
Key changes:
- Upstream src/, ui/, extensions/ (89 bundled extensions)
- Zero-token web providers preserved in src/zero-token/
- AskOnce plugin restored and registered as CLI command
- Added missing packages: @anthropic-ai/vertex-sdk, @modelcontextprotocol/sdk
- Fixed tsconfig rootDir, skipLibCheck for plugin-sdk DTS build
- Added askonce to bundled plugin metadata and package.json exports
- Fixed AskOnce CLI command registration (missing commands metadata)
- Restored AskOnce adapter imports (correct 5-level relative paths)
- Removed stale migration artifacts from root directory
72 lines
2.8 KiB
JSON
72 lines
2.8 KiB
JSON
{
|
|
"id": "modelstudio",
|
|
"enabledByDefault": true,
|
|
"providers": ["modelstudio"],
|
|
"providerAuthEnvVars": {
|
|
"modelstudio": ["MODELSTUDIO_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "modelstudio",
|
|
"method": "standard-api-key-cn",
|
|
"choiceId": "modelstudio-standard-api-key-cn",
|
|
"choiceLabel": "Standard API Key for China (pay-as-you-go)",
|
|
"choiceHint": "Endpoint: dashscope.aliyuncs.com",
|
|
"groupId": "modelstudio",
|
|
"groupLabel": "Qwen (Alibaba Cloud Model Studio)",
|
|
"groupHint": "Standard / Coding Plan (CN / Global)",
|
|
"optionKey": "modelstudioStandardApiKeyCn",
|
|
"cliFlag": "--modelstudio-standard-api-key-cn",
|
|
"cliOption": "--modelstudio-standard-api-key-cn <key>",
|
|
"cliDescription": "Alibaba Cloud Model Studio Standard API key (China)"
|
|
},
|
|
{
|
|
"provider": "modelstudio",
|
|
"method": "standard-api-key",
|
|
"choiceId": "modelstudio-standard-api-key",
|
|
"choiceLabel": "Standard API Key for Global/Intl (pay-as-you-go)",
|
|
"choiceHint": "Endpoint: dashscope-intl.aliyuncs.com",
|
|
"groupId": "modelstudio",
|
|
"groupLabel": "Qwen (Alibaba Cloud Model Studio)",
|
|
"groupHint": "Standard / Coding Plan (CN / Global)",
|
|
"optionKey": "modelstudioStandardApiKey",
|
|
"cliFlag": "--modelstudio-standard-api-key",
|
|
"cliOption": "--modelstudio-standard-api-key <key>",
|
|
"cliDescription": "Alibaba Cloud Model Studio Standard API key (Global/Intl)"
|
|
},
|
|
{
|
|
"provider": "modelstudio",
|
|
"method": "api-key-cn",
|
|
"choiceId": "modelstudio-api-key-cn",
|
|
"choiceLabel": "Coding Plan API Key for China (subscription)",
|
|
"choiceHint": "Endpoint: coding.dashscope.aliyuncs.com",
|
|
"groupId": "modelstudio",
|
|
"groupLabel": "Qwen (Alibaba Cloud Model Studio)",
|
|
"groupHint": "Standard / Coding Plan (CN / Global)",
|
|
"optionKey": "modelstudioApiKeyCn",
|
|
"cliFlag": "--modelstudio-api-key-cn",
|
|
"cliOption": "--modelstudio-api-key-cn <key>",
|
|
"cliDescription": "Alibaba Cloud Model Studio Coding Plan API key (China)"
|
|
},
|
|
{
|
|
"provider": "modelstudio",
|
|
"method": "api-key",
|
|
"choiceId": "modelstudio-api-key",
|
|
"choiceLabel": "Coding Plan API Key for Global/Intl (subscription)",
|
|
"choiceHint": "Endpoint: coding-intl.dashscope.aliyuncs.com",
|
|
"groupId": "modelstudio",
|
|
"groupLabel": "Qwen (Alibaba Cloud Model Studio)",
|
|
"groupHint": "Standard / Coding Plan (CN / Global)",
|
|
"optionKey": "modelstudioApiKey",
|
|
"cliFlag": "--modelstudio-api-key",
|
|
"cliOption": "--modelstudio-api-key <key>",
|
|
"cliDescription": "Alibaba Cloud Model Studio Coding Plan API key (Global/Intl)"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|