@openclaw/stepfun-provider 2026.7.1 → 2026.7.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-D-r4WCiD.js";
1
+ import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-DFfWVBuH.js";
2
2
  import { applyStepFunPlanConfig, applyStepFunPlanConfigCn, applyStepFunStandardConfig, applyStepFunStandardConfigCn } from "./onboard.js";
3
3
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
4
4
  import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
package/dist/onboard.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-D-r4WCiD.js";
1
+ import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-DFfWVBuH.js";
2
2
  import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
3
3
  //#region extensions/stepfun/onboard.ts
4
4
  function createStepFunPresetAppliers(params) {
@@ -0,0 +1,178 @@
1
+ import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
+ //#region extensions/stepfun/openclaw.plugin.json
3
+ var modelCatalog = {
4
+ "providers": {
5
+ "stepfun": {
6
+ "baseUrl": "https://api.stepfun.ai/v1",
7
+ "api": "openai-completions",
8
+ "models": [{
9
+ "id": "step-3.7-flash",
10
+ "name": "Step 3.7 Flash",
11
+ "reasoning": true,
12
+ "input": ["text", "image"],
13
+ "thinkingLevelMap": {
14
+ "off": "low",
15
+ "minimal": "low",
16
+ "xhigh": "high",
17
+ "max": "high"
18
+ },
19
+ "contextWindow": 262144,
20
+ "maxTokens": 262144,
21
+ "cost": {
22
+ "input": .2,
23
+ "output": 1.15,
24
+ "cacheRead": .04,
25
+ "cacheWrite": 0
26
+ },
27
+ "compat": {
28
+ "supportsStore": false,
29
+ "supportsDeveloperRole": false,
30
+ "supportsUsageInStreaming": false,
31
+ "supportsReasoningEffort": true,
32
+ "supportsStrictMode": false,
33
+ "supportedReasoningEfforts": [
34
+ "low",
35
+ "medium",
36
+ "high"
37
+ ],
38
+ "maxTokensField": "max_tokens",
39
+ "reasoningEffortMap": {
40
+ "off": "low",
41
+ "none": "low",
42
+ "minimal": "low",
43
+ "low": "low",
44
+ "medium": "medium",
45
+ "high": "high",
46
+ "xhigh": "high",
47
+ "adaptive": "high",
48
+ "max": "high"
49
+ }
50
+ }
51
+ }, {
52
+ "id": "step-3.5-flash",
53
+ "name": "Step 3.5 Flash",
54
+ "reasoning": true,
55
+ "input": ["text"],
56
+ "contextWindow": 262144,
57
+ "maxTokens": 65536,
58
+ "cost": {
59
+ "input": 0,
60
+ "output": 0,
61
+ "cacheRead": 0,
62
+ "cacheWrite": 0
63
+ }
64
+ }]
65
+ },
66
+ "stepfun-plan": {
67
+ "baseUrl": "https://api.stepfun.ai/step_plan/v1",
68
+ "api": "openai-completions",
69
+ "models": [
70
+ {
71
+ "id": "step-3.7-flash",
72
+ "name": "Step 3.7 Flash",
73
+ "reasoning": true,
74
+ "input": ["text", "image"],
75
+ "thinkingLevelMap": {
76
+ "off": "low",
77
+ "minimal": "low",
78
+ "xhigh": "high",
79
+ "max": "high"
80
+ },
81
+ "contextWindow": 262144,
82
+ "maxTokens": 262144,
83
+ "cost": {
84
+ "input": 0,
85
+ "output": 0,
86
+ "cacheRead": 0,
87
+ "cacheWrite": 0
88
+ },
89
+ "compat": {
90
+ "supportsStore": false,
91
+ "supportsDeveloperRole": false,
92
+ "supportsUsageInStreaming": false,
93
+ "supportsReasoningEffort": true,
94
+ "supportsStrictMode": false,
95
+ "supportedReasoningEfforts": [
96
+ "low",
97
+ "medium",
98
+ "high"
99
+ ],
100
+ "maxTokensField": "max_tokens",
101
+ "reasoningEffortMap": {
102
+ "off": "low",
103
+ "none": "low",
104
+ "minimal": "low",
105
+ "low": "low",
106
+ "medium": "medium",
107
+ "high": "high",
108
+ "xhigh": "high",
109
+ "adaptive": "high",
110
+ "max": "high"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "id": "step-3.5-flash",
116
+ "name": "Step 3.5 Flash",
117
+ "reasoning": true,
118
+ "input": ["text"],
119
+ "contextWindow": 262144,
120
+ "maxTokens": 65536,
121
+ "cost": {
122
+ "input": 0,
123
+ "output": 0,
124
+ "cacheRead": 0,
125
+ "cacheWrite": 0
126
+ }
127
+ },
128
+ {
129
+ "id": "step-3.5-flash-2603",
130
+ "name": "Step 3.5 Flash 2603",
131
+ "reasoning": true,
132
+ "input": ["text"],
133
+ "contextWindow": 262144,
134
+ "maxTokens": 65536,
135
+ "cost": {
136
+ "input": 0,
137
+ "output": 0,
138
+ "cacheRead": 0,
139
+ "cacheWrite": 0
140
+ }
141
+ }
142
+ ]
143
+ }
144
+ },
145
+ "discovery": {
146
+ "stepfun": "static",
147
+ "stepfun-plan": "static"
148
+ }
149
+ };
150
+ //#endregion
151
+ //#region extensions/stepfun/provider-catalog.ts
152
+ const STEPFUN_PROVIDER_ID = "stepfun";
153
+ const STEPFUN_PLAN_PROVIDER_ID = "stepfun-plan";
154
+ const STEPFUN_STANDARD_CN_BASE_URL = "https://api.stepfun.com/v1";
155
+ const STEPFUN_STANDARD_INTL_BASE_URL = "https://api.stepfun.ai/v1";
156
+ const STEPFUN_PLAN_CN_BASE_URL = "https://api.stepfun.com/step_plan/v1";
157
+ const STEPFUN_PLAN_INTL_BASE_URL = "https://api.stepfun.ai/step_plan/v1";
158
+ const STEPFUN_DEFAULT_MODEL_ID = "step-3.5-flash";
159
+ const STEPFUN_DEFAULT_MODEL_REF = `${STEPFUN_PROVIDER_ID}/${STEPFUN_DEFAULT_MODEL_ID}`;
160
+ const STEPFUN_PLAN_DEFAULT_MODEL_REF = `${STEPFUN_PLAN_PROVIDER_ID}/${STEPFUN_DEFAULT_MODEL_ID}`;
161
+ function buildStepFunManifestProvider(providerId, baseUrl) {
162
+ const provider = buildManifestModelProviderConfig({
163
+ providerId,
164
+ catalog: modelCatalog.providers[providerId]
165
+ });
166
+ return provider.baseUrl === baseUrl ? provider : {
167
+ ...provider,
168
+ baseUrl
169
+ };
170
+ }
171
+ function buildStepFunProvider(baseUrl = STEPFUN_STANDARD_INTL_BASE_URL) {
172
+ return buildStepFunManifestProvider(STEPFUN_PROVIDER_ID, baseUrl);
173
+ }
174
+ function buildStepFunPlanProvider(baseUrl = STEPFUN_PLAN_INTL_BASE_URL) {
175
+ return buildStepFunManifestProvider(STEPFUN_PLAN_PROVIDER_ID, baseUrl);
176
+ }
177
+ //#endregion
178
+ export { STEPFUN_PLAN_PROVIDER_ID as a, STEPFUN_STANDARD_INTL_BASE_URL as c, STEPFUN_PLAN_INTL_BASE_URL as i, buildStepFunPlanProvider as l, STEPFUN_PLAN_CN_BASE_URL as n, STEPFUN_PROVIDER_ID as o, STEPFUN_PLAN_DEFAULT_MODEL_REF as r, STEPFUN_STANDARD_CN_BASE_URL as s, STEPFUN_DEFAULT_MODEL_REF as t, buildStepFunProvider as u };
@@ -1,2 +1,2 @@
1
- import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-D-r4WCiD.js";
1
+ import { a as STEPFUN_PLAN_PROVIDER_ID, c as STEPFUN_STANDARD_INTL_BASE_URL, i as STEPFUN_PLAN_INTL_BASE_URL, l as buildStepFunPlanProvider, n as STEPFUN_PLAN_CN_BASE_URL, o as STEPFUN_PROVIDER_ID, r as STEPFUN_PLAN_DEFAULT_MODEL_REF, s as STEPFUN_STANDARD_CN_BASE_URL, t as STEPFUN_DEFAULT_MODEL_REF, u as buildStepFunProvider } from "./provider-catalog-DFfWVBuH.js";
2
2
  export { STEPFUN_DEFAULT_MODEL_REF, STEPFUN_PLAN_CN_BASE_URL, STEPFUN_PLAN_DEFAULT_MODEL_REF, STEPFUN_PLAN_INTL_BASE_URL, STEPFUN_PLAN_PROVIDER_ID, STEPFUN_PROVIDER_ID, STEPFUN_STANDARD_CN_BASE_URL, STEPFUN_STANDARD_INTL_BASE_URL, buildStepFunPlanProvider, buildStepFunProvider };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/stepfun-provider",
3
- "version": "2026.7.1",
3
+ "version": "2026.7.2-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/stepfun-provider",
9
- "version": "2026.7.1"
9
+ "version": "2026.7.2-beta.1"
10
10
  }
11
11
  }
12
12
  }
@@ -25,6 +25,46 @@
25
25
  "baseUrl": "https://api.stepfun.ai/v1",
26
26
  "api": "openai-completions",
27
27
  "models": [
28
+ {
29
+ "id": "step-3.7-flash",
30
+ "name": "Step 3.7 Flash",
31
+ "reasoning": true,
32
+ "input": ["text", "image"],
33
+ "thinkingLevelMap": {
34
+ "off": "low",
35
+ "minimal": "low",
36
+ "xhigh": "high",
37
+ "max": "high"
38
+ },
39
+ "contextWindow": 262144,
40
+ "maxTokens": 262144,
41
+ "cost": {
42
+ "input": 0.2,
43
+ "output": 1.15,
44
+ "cacheRead": 0.04,
45
+ "cacheWrite": 0
46
+ },
47
+ "compat": {
48
+ "supportsStore": false,
49
+ "supportsDeveloperRole": false,
50
+ "supportsUsageInStreaming": false,
51
+ "supportsReasoningEffort": true,
52
+ "supportsStrictMode": false,
53
+ "supportedReasoningEfforts": ["low", "medium", "high"],
54
+ "maxTokensField": "max_tokens",
55
+ "reasoningEffortMap": {
56
+ "off": "low",
57
+ "none": "low",
58
+ "minimal": "low",
59
+ "low": "low",
60
+ "medium": "medium",
61
+ "high": "high",
62
+ "xhigh": "high",
63
+ "adaptive": "high",
64
+ "max": "high"
65
+ }
66
+ }
67
+ },
28
68
  {
29
69
  "id": "step-3.5-flash",
30
70
  "name": "Step 3.5 Flash",
@@ -45,6 +85,46 @@
45
85
  "baseUrl": "https://api.stepfun.ai/step_plan/v1",
46
86
  "api": "openai-completions",
47
87
  "models": [
88
+ {
89
+ "id": "step-3.7-flash",
90
+ "name": "Step 3.7 Flash",
91
+ "reasoning": true,
92
+ "input": ["text", "image"],
93
+ "thinkingLevelMap": {
94
+ "off": "low",
95
+ "minimal": "low",
96
+ "xhigh": "high",
97
+ "max": "high"
98
+ },
99
+ "contextWindow": 262144,
100
+ "maxTokens": 262144,
101
+ "cost": {
102
+ "input": 0,
103
+ "output": 0,
104
+ "cacheRead": 0,
105
+ "cacheWrite": 0
106
+ },
107
+ "compat": {
108
+ "supportsStore": false,
109
+ "supportsDeveloperRole": false,
110
+ "supportsUsageInStreaming": false,
111
+ "supportsReasoningEffort": true,
112
+ "supportsStrictMode": false,
113
+ "supportedReasoningEfforts": ["low", "medium", "high"],
114
+ "maxTokensField": "max_tokens",
115
+ "reasoningEffortMap": {
116
+ "off": "low",
117
+ "none": "low",
118
+ "minimal": "low",
119
+ "low": "low",
120
+ "medium": "medium",
121
+ "high": "high",
122
+ "xhigh": "high",
123
+ "adaptive": "high",
124
+ "max": "high"
125
+ }
126
+ }
127
+ },
48
128
  {
49
129
  "id": "step-3.5-flash",
50
130
  "name": "Step 3.5 Flash",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/stepfun-provider",
3
- "version": "2026.7.1",
3
+ "version": "2026.7.2-beta.1",
4
4
  "description": "OpenClaw StepFun provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.6.9"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.7.1"
21
+ "pluginApi": ">=2026.7.2-beta.1"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.1",
24
+ "openclawVersion": "2026.7.2-beta.1",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -39,7 +39,7 @@
39
39
  "README.md"
40
40
  ],
41
41
  "peerDependencies": {
42
- "openclaw": ">=2026.7.1"
42
+ "openclaw": ">=2026.7.2-beta.1"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "openclaw": {
@@ -1,88 +0,0 @@
1
- import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
- //#region extensions/stepfun/openclaw.plugin.json
3
- var modelCatalog = {
4
- "providers": {
5
- "stepfun": {
6
- "baseUrl": "https://api.stepfun.ai/v1",
7
- "api": "openai-completions",
8
- "models": [{
9
- "id": "step-3.5-flash",
10
- "name": "Step 3.5 Flash",
11
- "reasoning": true,
12
- "input": ["text"],
13
- "contextWindow": 262144,
14
- "maxTokens": 65536,
15
- "cost": {
16
- "input": 0,
17
- "output": 0,
18
- "cacheRead": 0,
19
- "cacheWrite": 0
20
- }
21
- }]
22
- },
23
- "stepfun-plan": {
24
- "baseUrl": "https://api.stepfun.ai/step_plan/v1",
25
- "api": "openai-completions",
26
- "models": [{
27
- "id": "step-3.5-flash",
28
- "name": "Step 3.5 Flash",
29
- "reasoning": true,
30
- "input": ["text"],
31
- "contextWindow": 262144,
32
- "maxTokens": 65536,
33
- "cost": {
34
- "input": 0,
35
- "output": 0,
36
- "cacheRead": 0,
37
- "cacheWrite": 0
38
- }
39
- }, {
40
- "id": "step-3.5-flash-2603",
41
- "name": "Step 3.5 Flash 2603",
42
- "reasoning": true,
43
- "input": ["text"],
44
- "contextWindow": 262144,
45
- "maxTokens": 65536,
46
- "cost": {
47
- "input": 0,
48
- "output": 0,
49
- "cacheRead": 0,
50
- "cacheWrite": 0
51
- }
52
- }]
53
- }
54
- },
55
- "discovery": {
56
- "stepfun": "static",
57
- "stepfun-plan": "static"
58
- }
59
- };
60
- //#endregion
61
- //#region extensions/stepfun/provider-catalog.ts
62
- const STEPFUN_PROVIDER_ID = "stepfun";
63
- const STEPFUN_PLAN_PROVIDER_ID = "stepfun-plan";
64
- const STEPFUN_STANDARD_CN_BASE_URL = "https://api.stepfun.com/v1";
65
- const STEPFUN_STANDARD_INTL_BASE_URL = "https://api.stepfun.ai/v1";
66
- const STEPFUN_PLAN_CN_BASE_URL = "https://api.stepfun.com/step_plan/v1";
67
- const STEPFUN_PLAN_INTL_BASE_URL = "https://api.stepfun.ai/step_plan/v1";
68
- const STEPFUN_DEFAULT_MODEL_ID = "step-3.5-flash";
69
- const STEPFUN_DEFAULT_MODEL_REF = `${STEPFUN_PROVIDER_ID}/${STEPFUN_DEFAULT_MODEL_ID}`;
70
- const STEPFUN_PLAN_DEFAULT_MODEL_REF = `${STEPFUN_PLAN_PROVIDER_ID}/${STEPFUN_DEFAULT_MODEL_ID}`;
71
- function buildStepFunManifestProvider(providerId, baseUrl) {
72
- const provider = buildManifestModelProviderConfig({
73
- providerId,
74
- catalog: modelCatalog.providers[providerId]
75
- });
76
- return provider.baseUrl === baseUrl ? provider : {
77
- ...provider,
78
- baseUrl
79
- };
80
- }
81
- function buildStepFunProvider(baseUrl = STEPFUN_STANDARD_INTL_BASE_URL) {
82
- return buildStepFunManifestProvider(STEPFUN_PROVIDER_ID, baseUrl);
83
- }
84
- function buildStepFunPlanProvider(baseUrl = STEPFUN_PLAN_INTL_BASE_URL) {
85
- return buildStepFunManifestProvider(STEPFUN_PLAN_PROVIDER_ID, baseUrl);
86
- }
87
- //#endregion
88
- export { STEPFUN_PLAN_PROVIDER_ID as a, STEPFUN_STANDARD_INTL_BASE_URL as c, STEPFUN_PLAN_INTL_BASE_URL as i, buildStepFunPlanProvider as l, STEPFUN_PLAN_CN_BASE_URL as n, STEPFUN_PROVIDER_ID as o, STEPFUN_PLAN_DEFAULT_MODEL_REF as r, STEPFUN_STANDARD_CN_BASE_URL as s, STEPFUN_DEFAULT_MODEL_REF as t, buildStepFunProvider as u };