Files
openclaw/extensions/longcat/openclaw.plugin.json
Jason (Json) 55cf9523e0 feat: discover models from live provider catalogs (#112412)
* feat: discover models from live provider catalogs

* fix(provider-catalog): satisfy current catalog contracts

* fix(deps): update fast-uri past new advisory

* fix(deps): refresh fast-uri shrinkwraps

* fix(openrouter): satisfy provider catalog lint

* fix(agents): preserve refreshable catalog metadata

* test(agents): keep catalog fallback proof within lint budget

* fix(provider-catalog): honor live model contracts

* fix(minimax): type discovery headers explicitly

* docs(plugin-sdk): define live model discovery contract
2026-07-21 19:29:57 -06:00

83 lines
2.0 KiB
JSON

{
"id": "longcat",
"name": "LongCat",
"description": "OpenClaw LongCat provider plugin.",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["longcat"],
"providerRequest": {
"providers": {
"longcat": {
"family": "longcat"
}
}
},
"modelCatalog": {
"providers": {
"longcat": {
"baseUrl": "https://api.longcat.chat/openai",
"api": "openai-completions",
"models": [
{
"id": "LongCat-2.0",
"name": "LongCat 2.0",
"reasoning": true,
"input": ["text"],
"contextWindow": 1048576,
"maxTokens": 131072,
"cost": {
"input": 0.75,
"output": 2.95,
"cacheRead": 0.015,
"cacheWrite": 0.75
},
"compat": {
"supportsStore": false,
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsUsageInStreaming": false,
"supportsStrictMode": false,
"maxTokensField": "max_tokens",
"requiresReasoningContentOnAssistantMessages": true,
"thinkingFormat": "deepseek"
}
}
]
}
},
"discovery": {
"longcat": "refreshable"
}
},
"setup": {
"providers": [
{
"id": "longcat",
"envVars": ["LONGCAT_API_KEY"]
}
]
},
"providerAuthChoices": [
{
"provider": "longcat",
"method": "api-key",
"choiceId": "longcat-api-key",
"choiceLabel": "LongCat API key",
"groupId": "longcat",
"groupLabel": "LongCat",
"groupHint": "API key",
"optionKey": "longcatApiKey",
"cliFlag": "--longcat-api-key",
"cliOption": "--longcat-api-key <key>",
"cliDescription": "LongCat API key"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}