@openclaw/deepseek-provider 2026.9.1-beta.1 → 2026.9.2

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/api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-Cps6DQet.js";
1
+ import { n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-CjhlaauE.js";
2
2
  import { buildDeepSeekProvider } from "./provider-catalog.js";
3
3
  import { createDeepSeekV4ThinkingWrapper } from "./stream.js";
4
4
  export { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG, buildDeepSeekProvider, createDeepSeekV4ThinkingWrapper };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as openclaw_plugin_default } from "./models-Cps6DQet.js";
1
+ import { a as openclaw_plugin_default } from "./models-CjhlaauE.js";
2
2
  import { applyDeepSeekConfig } from "./onboard.js";
3
3
  import { buildDeepSeekProvider } from "./provider-catalog.js";
4
4
  import { createDeepSeekV4ThinkingWrapper } from "./stream.js";
@@ -1,8 +1,7 @@
1
- import { buildManifestModelDefinition } from "openclaw/plugin-sdk/provider-catalog-shared";
1
+ import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
2
  //#region extensions/deepseek/openclaw.plugin.json
3
3
  var openclaw_plugin_default = {
4
4
  id: "deepseek",
5
- icon: "https://cdn.simpleicons.org/deepseek",
6
5
  activation: { "onStartup": false },
7
6
  enabledByDefault: true,
8
7
  providerCatalogEntry: "./provider-discovery.ts",
@@ -14,49 +13,73 @@ var openclaw_plugin_default = {
14
13
  }],
15
14
  providerRequest: { "providers": { "deepseek": { "family": "deepseek" } } },
16
15
  modelCatalog: {
16
+ "modelsDev": { "deepseek": "deepseek" },
17
17
  "providers": { "deepseek": {
18
18
  "baseUrl": "https://api.deepseek.com",
19
19
  "api": "openai-completions",
20
20
  "defaultModel": "deepseek-v4-pro",
21
- "models": [{
22
- "id": "deepseek-v4-flash",
23
- "name": "DeepSeek V4 Flash",
24
- "reasoning": true,
25
- "input": ["text"],
26
- "contextWindow": 1e6,
27
- "maxTokens": 384e3,
28
- "cost": {
29
- "input": .14,
30
- "output": .28,
31
- "cacheRead": .0028,
32
- "cacheWrite": 0
21
+ "models": [
22
+ {
23
+ "id": "deepseek-v4-flash",
24
+ "name": "DeepSeek V4 Flash",
25
+ "reasoning": true,
26
+ "input": ["text"],
27
+ "contextWindow": 1e6,
28
+ "maxTokens": 384e3,
29
+ "cost": {
30
+ "input": .14,
31
+ "output": .28,
32
+ "cacheRead": .0028,
33
+ "cacheWrite": 0
34
+ },
35
+ "compat": {
36
+ "supportsUsageInStreaming": true,
37
+ "supportsReasoningEffort": true,
38
+ "maxTokensField": "max_tokens",
39
+ "codeMode": "preferred"
40
+ }
33
41
  },
34
- "compat": {
35
- "supportsUsageInStreaming": true,
36
- "supportsReasoningEffort": true,
37
- "maxTokensField": "max_tokens",
38
- "codeMode": "preferred"
39
- }
40
- }, {
41
- "id": "deepseek-v4-pro",
42
- "name": "DeepSeek V4 Pro",
43
- "reasoning": true,
44
- "input": ["text"],
45
- "contextWindow": 1e6,
46
- "maxTokens": 384e3,
47
- "cost": {
48
- "input": .435,
49
- "output": .87,
50
- "cacheRead": .003625,
51
- "cacheWrite": 0
42
+ {
43
+ "id": "deepseek-v4-pro",
44
+ "name": "DeepSeek V4 Pro",
45
+ "reasoning": true,
46
+ "input": ["text"],
47
+ "contextWindow": 1e6,
48
+ "maxTokens": 384e3,
49
+ "cost": {
50
+ "input": .435,
51
+ "output": .87,
52
+ "cacheRead": .003625,
53
+ "cacheWrite": 0
54
+ },
55
+ "compat": {
56
+ "supportsUsageInStreaming": true,
57
+ "supportsReasoningEffort": true,
58
+ "maxTokensField": "max_tokens",
59
+ "codeMode": "preferred"
60
+ }
52
61
  },
53
- "compat": {
54
- "supportsUsageInStreaming": true,
55
- "supportsReasoningEffort": true,
56
- "maxTokensField": "max_tokens",
57
- "codeMode": "preferred"
62
+ {
63
+ "id": "deepseek-v4-flash-vision-exp",
64
+ "name": "DeepSeek V4 Flash Vision (Experimental)",
65
+ "reasoning": true,
66
+ "input": ["text", "image"],
67
+ "contextWindow": 1e6,
68
+ "maxTokens": 384e3,
69
+ "cost": {
70
+ "input": .44,
71
+ "output": 1.32,
72
+ "cacheRead": .014,
73
+ "cacheWrite": 0
74
+ },
75
+ "compat": {
76
+ "supportsUsageInStreaming": true,
77
+ "supportsReasoningEffort": true,
78
+ "maxTokensField": "max_tokens",
79
+ "codeMode": "preferred"
80
+ }
58
81
  }
59
- }]
82
+ ]
60
83
  } },
61
84
  "discovery": { "deepseek": "refreshable" }
62
85
  },
@@ -88,15 +111,11 @@ var openclaw_plugin_default = {
88
111
  //#region extensions/deepseek/models.ts
89
112
  const DEEPSEEK_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.deepseek;
90
113
  const DEEPSEEK_BASE_URL = DEEPSEEK_MANIFEST_CATALOG.baseUrl;
91
- const DEEPSEEK_MODEL_CATALOG = DEEPSEEK_MANIFEST_CATALOG.models.map(buildManifestModelDefinition({
114
+ const DEEPSEEK_MODEL_CATALOG = buildManifestModelProviderConfig({
92
115
  providerId: "deepseek",
93
- catalog: DEEPSEEK_MANIFEST_CATALOG,
94
- decorate: (model) => ({
95
- ...model,
96
- api: "openai-completions"
97
- })
98
- }));
99
- const DEEPSEEK_V4_MODEL_IDS = /* @__PURE__ */ new Set(["deepseek-v4-flash", "deepseek-v4-pro"]);
116
+ catalog: DEEPSEEK_MANIFEST_CATALOG
117
+ }).models.map((model) => Object.assign(model, { api: "openai-completions" }));
118
+ const DEEPSEEK_V4_MODEL_IDS = new Set(DEEPSEEK_MODEL_CATALOG.map((model) => model.id).filter((id) => id.startsWith("deepseek-v4-")));
100
119
  function isDeepSeekV4ModelId(modelId) {
101
120
  return DEEPSEEK_V4_MODEL_IDS.has(modelId.toLowerCase());
102
121
  }
package/dist/models.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as isDeepSeekV4ModelRef, n as DEEPSEEK_MODEL_CATALOG, r as isDeepSeekV4ModelId, t as DEEPSEEK_BASE_URL } from "./models-Cps6DQet.js";
1
+ import { i as isDeepSeekV4ModelRef, n as DEEPSEEK_MODEL_CATALOG, r as isDeepSeekV4ModelId, t as DEEPSEEK_BASE_URL } from "./models-CjhlaauE.js";
2
2
  export { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG, isDeepSeekV4ModelId, isDeepSeekV4ModelRef };
package/dist/onboard.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as openclaw_plugin_default, n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-Cps6DQet.js";
1
+ import { a as openclaw_plugin_default, n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-CjhlaauE.js";
2
2
  import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
4
4
  //#region extensions/deepseek/onboard.ts
@@ -1,4 +1,4 @@
1
- import { n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-Cps6DQet.js";
1
+ import { n as DEEPSEEK_MODEL_CATALOG, t as DEEPSEEK_BASE_URL } from "./models-CjhlaauE.js";
2
2
  //#region extensions/deepseek/provider-catalog.ts
3
3
  function buildDeepSeekProvider() {
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { n as DEEPSEEK_MODEL_CATALOG } from "./models-Cps6DQet.js";
1
+ import { n as DEEPSEEK_MODEL_CATALOG } from "./models-CjhlaauE.js";
2
2
  import { resolveDeepSeekV4ThinkingProfile } from "./thinking.js";
3
3
  //#region extensions/deepseek/provider-policy-api.ts
4
4
  const PREVIOUS_BUNDLED_METADATA = {
package/dist/stream.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as isDeepSeekV4ModelRef } from "./models-Cps6DQet.js";
1
+ import { i as isDeepSeekV4ModelRef } from "./models-CjhlaauE.js";
2
2
  import { createDeepSeekV4OpenAICompatibleThinkingWrapper } from "openclaw/plugin-sdk/provider-stream-shared";
3
3
  //#region extensions/deepseek/stream.ts
4
4
  function createDeepSeekV4ThinkingWrapper(baseStreamFn, thinkingLevel) {
package/dist/thinking.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as isDeepSeekV4ModelId } from "./models-Cps6DQet.js";
1
+ import { r as isDeepSeekV4ModelId } from "./models-CjhlaauE.js";
2
2
  //#region extensions/deepseek/thinking.ts
3
3
  const V4_THINKING_LEVEL_IDS = [
4
4
  "off",
@@ -1,19 +1,24 @@
1
1
  {
2
2
  "id": "deepseek",
3
- "icon": "https://cdn.simpleicons.org/deepseek",
4
3
  "activation": {
5
4
  "onStartup": false
6
5
  },
7
6
  "enabledByDefault": true,
8
- "providerCatalogEntry": "./provider-discovery.ts",
9
- "providers": ["deepseek"],
7
+ "providerCatalogEntry": "./dist/provider-discovery.js",
8
+ "providers": [
9
+ "deepseek"
10
+ ],
10
11
  "contracts": {
11
- "usageProviders": ["deepseek"]
12
+ "usageProviders": [
13
+ "deepseek"
14
+ ]
12
15
  },
13
16
  "providerEndpoints": [
14
17
  {
15
18
  "endpointClass": "deepseek-native",
16
- "hosts": ["api.deepseek.com"]
19
+ "hosts": [
20
+ "api.deepseek.com"
21
+ ]
17
22
  }
18
23
  ],
19
24
  "providerRequest": {
@@ -24,6 +29,9 @@
24
29
  }
25
30
  },
26
31
  "modelCatalog": {
32
+ "modelsDev": {
33
+ "deepseek": "deepseek"
34
+ },
27
35
  "providers": {
28
36
  "deepseek": {
29
37
  "baseUrl": "https://api.deepseek.com",
@@ -34,7 +42,9 @@
34
42
  "id": "deepseek-v4-flash",
35
43
  "name": "DeepSeek V4 Flash",
36
44
  "reasoning": true,
37
- "input": ["text"],
45
+ "input": [
46
+ "text"
47
+ ],
38
48
  "contextWindow": 1000000,
39
49
  "maxTokens": 384000,
40
50
  "cost": {
@@ -54,7 +64,9 @@
54
64
  "id": "deepseek-v4-pro",
55
65
  "name": "DeepSeek V4 Pro",
56
66
  "reasoning": true,
57
- "input": ["text"],
67
+ "input": [
68
+ "text"
69
+ ],
58
70
  "contextWindow": 1000000,
59
71
  "maxTokens": 384000,
60
72
  "cost": {
@@ -69,6 +81,29 @@
69
81
  "maxTokensField": "max_tokens",
70
82
  "codeMode": "preferred"
71
83
  }
84
+ },
85
+ {
86
+ "id": "deepseek-v4-flash-vision-exp",
87
+ "name": "DeepSeek V4 Flash Vision (Experimental)",
88
+ "reasoning": true,
89
+ "input": [
90
+ "text",
91
+ "image"
92
+ ],
93
+ "contextWindow": 1000000,
94
+ "maxTokens": 384000,
95
+ "cost": {
96
+ "input": 0.44,
97
+ "output": 1.32,
98
+ "cacheRead": 0.014,
99
+ "cacheWrite": 0
100
+ },
101
+ "compat": {
102
+ "supportsUsageInStreaming": true,
103
+ "supportsReasoningEffort": true,
104
+ "maxTokensField": "max_tokens",
105
+ "codeMode": "preferred"
106
+ }
72
107
  }
73
108
  ]
74
109
  }
@@ -81,7 +116,9 @@
81
116
  "providers": [
82
117
  {
83
118
  "id": "deepseek",
84
- "envVars": ["DEEPSEEK_API_KEY"]
119
+ "envVars": [
120
+ "DEEPSEEK_API_KEY"
121
+ ]
85
122
  }
86
123
  ]
87
124
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/deepseek-provider",
3
- "version": "2026.9.1-beta.1",
3
+ "version": "2026.9.2",
4
4
  "description": "OpenClaw DeepSeek provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.6.8"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.9.1-beta.1"
21
+ "pluginApi": ">=2026.9.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.1-beta.1",
24
+ "openclawVersion": "2026.9.2",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.9.1-beta.1"
41
+ "openclaw": ">=2026.9.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {