Files
openclaw/extensions/stepfun/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

232 lines
6.8 KiB
JSON

{
"id": "stepfun",
"name": "StepFun",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["stepfun", "stepfun-plan"],
"autoEnableWhenConfiguredProviders": ["stepfun", "stepfun-plan"],
"setup": {
"providers": [
{
"id": "stepfun",
"envVars": ["STEPFUN_API_KEY"]
},
{
"id": "stepfun-plan",
"envVars": ["STEPFUN_API_KEY"]
}
]
},
"modelCatalog": {
"providers": {
"stepfun": {
"baseUrl": "https://api.stepfun.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "step-3.7-flash",
"name": "Step 3.7 Flash",
"reasoning": true,
"input": ["text", "image"],
"thinkingLevelMap": {
"off": "low",
"minimal": "low",
"xhigh": "high",
"max": "high"
},
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.2,
"output": 1.15,
"cacheRead": 0.04,
"cacheWrite": 0
},
"compat": {
"supportsStore": false,
"supportsDeveloperRole": false,
"supportsUsageInStreaming": false,
"supportsReasoningEffort": true,
"supportsStrictMode": false,
"supportedReasoningEfforts": ["low", "medium", "high"],
"maxTokensField": "max_tokens",
"reasoningEffortMap": {
"off": "low",
"none": "low",
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "high",
"adaptive": "high",
"max": "high"
}
}
},
{
"id": "step-3.5-flash",
"name": "Step 3.5 Flash",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
},
"stepfun-plan": {
"baseUrl": "https://api.stepfun.ai/step_plan/v1",
"api": "openai-completions",
"models": [
{
"id": "step-3.7-flash",
"name": "Step 3.7 Flash",
"reasoning": true,
"input": ["text", "image"],
"thinkingLevelMap": {
"off": "low",
"minimal": "low",
"xhigh": "high",
"max": "high"
},
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsStore": false,
"supportsDeveloperRole": false,
"supportsUsageInStreaming": false,
"supportsReasoningEffort": true,
"supportsStrictMode": false,
"supportedReasoningEfforts": ["low", "medium", "high"],
"maxTokensField": "max_tokens",
"reasoningEffortMap": {
"off": "low",
"none": "low",
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "high",
"adaptive": "high",
"max": "high"
}
}
},
{
"id": "step-3.5-flash",
"name": "Step 3.5 Flash",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "step-3.5-flash-2603",
"name": "Step 3.5 Flash 2603",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"stepfun": "refreshable",
"stepfun-plan": "refreshable"
}
},
"providerAuthChoices": [
{
"provider": "stepfun",
"method": "standard-api-key-cn",
"choiceId": "stepfun-standard-api-key-cn",
"appGuidedSecret": true,
"choiceLabel": "StepFun Standard API key (China)",
"choiceHint": "Endpoint: api.stepfun.com/v1",
"groupId": "stepfun",
"groupLabel": "StepFun",
"groupHint": "Standard / Step Plan (China / Global)",
"optionKey": "stepfunApiKey",
"cliFlag": "--stepfun-api-key",
"cliOption": "--stepfun-api-key <key>",
"cliDescription": "StepFun API key"
},
{
"provider": "stepfun",
"method": "standard-api-key-intl",
"choiceId": "stepfun-standard-api-key-intl",
"appGuidedSecret": true,
"choiceLabel": "StepFun Standard API key (Global/Intl)",
"choiceHint": "Endpoint: api.stepfun.ai/v1",
"groupId": "stepfun",
"groupLabel": "StepFun",
"groupHint": "Standard / Step Plan (China / Global)",
"optionKey": "stepfunApiKey",
"cliFlag": "--stepfun-api-key",
"cliOption": "--stepfun-api-key <key>",
"cliDescription": "StepFun API key"
},
{
"provider": "stepfun-plan",
"method": "plan-api-key-cn",
"choiceId": "stepfun-plan-api-key-cn",
"appGuidedSecret": true,
"choiceLabel": "StepFun Step Plan API key (China)",
"choiceHint": "Endpoint: api.stepfun.com/step_plan/v1",
"groupId": "stepfun",
"groupLabel": "StepFun",
"groupHint": "Standard / Step Plan (China / Global)",
"optionKey": "stepfunApiKey",
"cliFlag": "--stepfun-api-key",
"cliOption": "--stepfun-api-key <key>",
"cliDescription": "StepFun API key"
},
{
"provider": "stepfun-plan",
"method": "plan-api-key-intl",
"choiceId": "stepfun-plan-api-key-intl",
"appGuidedSecret": true,
"choiceLabel": "StepFun Step Plan API key (Global/Intl)",
"choiceHint": "Endpoint: api.stepfun.ai/step_plan/v1",
"groupId": "stepfun",
"groupLabel": "StepFun",
"groupHint": "Standard / Step Plan (China / Global)",
"optionKey": "stepfunApiKey",
"cliFlag": "--stepfun-api-key",
"cliOption": "--stepfun-api-key <key>",
"cliDescription": "StepFun API key"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}