@openclaw/deepseek-provider 2026.11.5-beta.1 → 2026.11.5-beta.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/.setup/{openclaw.plugin-CmWHGGeY.mjs → openclaw.plugin-Cnu3nPTX.mjs} +2 -1
- package/dist/.source-module-urls/4b346188900dd8d01f5d5f8baca1f9af648850415a0a1346f45749910375d843.json +1 -1
- package/dist/index.js +3 -2
- package/dist/model-credential.js +3 -2
- package/dist/models.js +3 -2
- package/dist/onboard.js +3 -2
- package/dist/provider-catalog.js +2 -1
- package/dist/provider-discovery.js +2 -1
- package/dist/provider-policy-api.js +2 -1
- package/dist/stream.js +2 -1
- package/dist/thinking.js +2 -1
- package/dist/web-search-provider.js +2 -1
- package/dist/web-search-provider.runtime.js +2 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region extensions/deepseek/openclaw.plugin.json
|
|
2
2
|
var openclaw_plugin_default = {
|
|
3
3
|
id: "deepseek",
|
|
4
4
|
categories: ["models"],
|
|
@@ -146,4 +146,5 @@ var openclaw_plugin_default = {
|
|
|
146
146
|
"properties": ["webSearch"]
|
|
147
147
|
}]
|
|
148
148
|
};
|
|
149
|
+
//#endregion
|
|
149
150
|
export { openclaw_plugin_default as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/deepseek/api.ts"},{"output":"index.js","source":"extensions/deepseek/index.ts"},{"output":"model-credential.js","source":"extensions/deepseek/model-credential.ts"},{"output":"models.js","source":"extensions/deepseek/models.ts"},{"output":"onboard.js","source":"extensions/deepseek/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/deepseek/provider-catalog.ts"},{"output":"provider-discovery.js","source":"extensions/deepseek/provider-discovery.ts"},{"output":"provider-policy-api.js","source":"extensions/deepseek/provider-policy-api.ts"},{"output":"stream.js","source":"extensions/deepseek/stream.ts"},{"output":"thinking.js","source":"extensions/deepseek/thinking.ts"},{"output":"web-search-contract-api.js","source":"extensions/deepseek/web-search-contract-api.ts"},{"output":"web-search-provider.js","source":"extensions/deepseek/web-search-provider.ts"},{"output":"web-search-provider.runtime.js","source":"extensions/deepseek/web-search-provider.runtime.ts"}],"chunks":[{"output":".setup/openclaw.plugin-
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/deepseek/api.ts"},{"output":"index.js","source":"extensions/deepseek/index.ts"},{"output":"model-credential.js","source":"extensions/deepseek/model-credential.ts"},{"output":"models.js","source":"extensions/deepseek/models.ts"},{"output":"onboard.js","source":"extensions/deepseek/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/deepseek/provider-catalog.ts"},{"output":"provider-discovery.js","source":"extensions/deepseek/provider-discovery.ts"},{"output":"provider-policy-api.js","source":"extensions/deepseek/provider-policy-api.ts"},{"output":"stream.js","source":"extensions/deepseek/stream.ts"},{"output":"thinking.js","source":"extensions/deepseek/thinking.ts"},{"output":"web-search-contract-api.js","source":"extensions/deepseek/web-search-contract-api.ts"},{"output":"web-search-provider.js","source":"extensions/deepseek/web-search-provider.ts"},{"output":"web-search-provider.runtime.js","source":"extensions/deepseek/web-search-provider.runtime.ts"}],"chunks":[{"output":".setup/openclaw.plugin-Cnu3nPTX.mjs","sha256":"7826565b33f1768916234ac1ae745a664f0b5bb6b357d9c66162cee04a0a3612","facadeSource":null,"sources":["extensions/deepseek/openclaw.plugin.json"]},{"output":"api.js","sha256":"e2750717df20042eb482577777c8d2cfbf8122334b1bed3185ffa95fe09aba4d","facadeSource":"extensions/deepseek/api.ts","sources":[]},{"output":"index.js","sha256":"7a18c05ba8579f11e2196219262628fa5ea49b6412fc0f9bdc581805e4f75ba0","facadeSource":"extensions/deepseek/index.ts","sources":["extensions/deepseek/index.ts"]},{"output":"model-credential.js","sha256":"b8f9372b64955ab120e043c011e07acb1877413fa4661db309489be7367335de","facadeSource":"extensions/deepseek/model-credential.ts","sources":["extensions/deepseek/model-credential.ts"]},{"output":"models.js","sha256":"85f0d9788f3f37d309c6c022191ea3aca6eb6ef8e23855a9bb036f6d9a9e2bdb","facadeSource":"extensions/deepseek/models.ts","sources":["extensions/deepseek/models.ts"]},{"output":"onboard.js","sha256":"1cf0bea93a424d9139f6bad820aa73cc473058e9dbf034a028ddcae77828c180","facadeSource":"extensions/deepseek/onboard.ts","sources":["extensions/deepseek/onboard.ts"]},{"output":"provider-catalog.js","sha256":"1000b321a7e41fdd7ad062344859035e0d405cc18e3f5b5bee00ac17f4502fef","facadeSource":"extensions/deepseek/provider-catalog.ts","sources":["extensions/deepseek/provider-catalog.ts"]},{"output":"provider-discovery.js","sha256":"b92bb7dbb5768d5bbb65aa5c699573615f8da532e51229175f6eb921c3e8c010","facadeSource":"extensions/deepseek/provider-discovery.ts","sources":["extensions/deepseek/provider-discovery.ts"]},{"output":"provider-policy-api.js","sha256":"87818fc5a795ffa83c4fb30cfa358300ea3662384c35dbb1656e5fa7f19e19d7","facadeSource":"extensions/deepseek/provider-policy-api.ts","sources":["extensions/deepseek/provider-policy-api.ts"]},{"output":"stream.js","sha256":"b988b7bc0e8b842b58779a9cc0a8816c2f2c1b148ddfdc894e5d02ab6cb6782d","facadeSource":"extensions/deepseek/stream.ts","sources":["extensions/deepseek/stream.ts"]},{"output":"thinking.js","sha256":"e6c72e51629e7d83e0f328b48407a9b465463d01f228675e6fda9e3ec2a2f5df","facadeSource":"extensions/deepseek/thinking.ts","sources":["extensions/deepseek/thinking.ts"]},{"output":"web-search-contract-api.js","sha256":"f774674c8df1ea6c885c38d64ed270d6c666d877b31d75c50957535f5af80455","facadeSource":"extensions/deepseek/web-search-contract-api.ts","sources":[]},{"output":"web-search-provider.js","sha256":"1d077a902405a949705cefccf54440b731dbb5c3fa1321e23b0474e840dfa395","facadeSource":"extensions/deepseek/web-search-provider.ts","sources":["extensions/deepseek/web-search-provider.ts"]},{"output":"web-search-provider.runtime.js","sha256":"e1f5310cbe685fe2813518d04eaec8bc799d2341ba22777fedd91fdd5ff7d1ea","facadeSource":"extensions/deepseek/web-search-provider.runtime.ts","sources":["extensions/deepseek/web-search-provider.runtime.ts"]}],"unrenderedSources":["extensions/deepseek/api.ts","extensions/deepseek/web-search-contract-api.ts"]}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-Cnu3nPTX.mjs";
|
|
2
2
|
import { applyDeepSeekConfig } from "./onboard.js";
|
|
3
3
|
import { buildDeepSeekProvider } from "./provider-catalog.js";
|
|
4
4
|
import { createDeepSeekV4ThinkingWrapper } from "./stream.js";
|
|
@@ -9,7 +9,7 @@ import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-en
|
|
|
9
9
|
import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
|
|
10
10
|
import { buildProviderToolCompatFamilyHooks } from "openclaw/plugin-sdk/provider-tools";
|
|
11
11
|
import { fetchDeepSeekUsage, resolveProviderUsageApiKeyAuth } from "openclaw/plugin-sdk/provider-usage";
|
|
12
|
-
|
|
12
|
+
//#region extensions/deepseek/index.ts
|
|
13
13
|
const PROVIDER_ID = "deepseek";
|
|
14
14
|
var deepseek_default = defineSingleProviderPluginEntry({
|
|
15
15
|
id: PROVIDER_ID,
|
|
@@ -47,4 +47,5 @@ var deepseek_default = defineSingleProviderPluginEntry({
|
|
|
47
47
|
fetchUsageSnapshot: async (ctx) => await fetchDeepSeekUsage(ctx.token, ctx.timeoutMs, ctx.fetchFn)
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
+
//#endregion
|
|
50
51
|
export { deepseek_default as default };
|
package/dist/model-credential.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-Cnu3nPTX.mjs";
|
|
2
2
|
import { normalizeProviderId } from "openclaw/plugin-sdk/provider-model-shared";
|
|
3
|
-
|
|
3
|
+
//#region extensions/deepseek/model-credential.ts
|
|
4
4
|
const DEEPSEEK_API_ORIGIN = new URL(openclaw_plugin_default.modelCatalog.providers.deepseek.baseUrl).origin;
|
|
5
5
|
function isDeepSeekApiUrl(value) {
|
|
6
6
|
const baseUrl = value?.trim();
|
|
@@ -19,4 +19,5 @@ function resolveDeepSeekModelKeyFallback(config) {
|
|
|
19
19
|
value
|
|
20
20
|
} : void 0;
|
|
21
21
|
}
|
|
22
|
+
//#endregion
|
|
22
23
|
export { resolveDeepSeekModelKeyFallback };
|
package/dist/models.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-Cnu3nPTX.mjs";
|
|
2
2
|
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
|
-
|
|
3
|
+
//#region extensions/deepseek/models.ts
|
|
4
4
|
const DEEPSEEK_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.deepseek;
|
|
5
5
|
const DEEPSEEK_BASE_URL = DEEPSEEK_MANIFEST_CATALOG.baseUrl;
|
|
6
6
|
const DEEPSEEK_MODEL_CATALOG = buildManifestModelProviderConfig({
|
|
@@ -14,4 +14,5 @@ function isDeepSeekV4ModelId(modelId) {
|
|
|
14
14
|
function isDeepSeekV4ModelRef(model) {
|
|
15
15
|
return model.provider === "deepseek" && isDeepSeekV4ModelId(model.id);
|
|
16
16
|
}
|
|
17
|
+
//#endregion
|
|
17
18
|
export { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG, isDeepSeekV4ModelId, isDeepSeekV4ModelRef };
|
package/dist/onboard.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-Cnu3nPTX.mjs";
|
|
2
2
|
import { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG } from "./models.js";
|
|
3
3
|
import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
4
4
|
import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
5
|
-
|
|
5
|
+
//#region extensions/deepseek/onboard.ts
|
|
6
6
|
const DEEPSEEK_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "deepseek");
|
|
7
7
|
const { applyConfig: applyDeepSeekConfig } = createProviderConnectionPresetAppliers({
|
|
8
8
|
primaryModelRef: DEEPSEEK_DEFAULT_MODEL_REF,
|
|
@@ -17,4 +17,5 @@ const { applyConfig: applyDeepSeekConfig } = createProviderConnectionPresetAppli
|
|
|
17
17
|
}]
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
|
+
//#endregion
|
|
20
21
|
export { applyDeepSeekConfig };
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG } from "./models.js";
|
|
2
|
-
|
|
2
|
+
//#region extensions/deepseek/provider-catalog.ts
|
|
3
3
|
function buildDeepSeekProvider() {
|
|
4
4
|
return {
|
|
5
5
|
baseUrl: DEEPSEEK_BASE_URL,
|
|
@@ -7,4 +7,5 @@ function buildDeepSeekProvider() {
|
|
|
7
7
|
models: DEEPSEEK_MODEL_CATALOG
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
+
//#endregion
|
|
10
11
|
export { buildDeepSeekProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { buildDeepSeekProvider } from "./provider-catalog.js";
|
|
2
|
-
|
|
2
|
+
//#region extensions/deepseek/provider-discovery.ts
|
|
3
3
|
const deepSeekProviderDiscovery = {
|
|
4
4
|
id: "deepseek",
|
|
5
5
|
label: "DeepSeek",
|
|
@@ -10,4 +10,5 @@ const deepSeekProviderDiscovery = {
|
|
|
10
10
|
run: async () => ({ provider: buildDeepSeekProvider() })
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
|
+
//#endregion
|
|
13
14
|
export { deepSeekProviderDiscovery as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEEPSEEK_MODEL_CATALOG } from "./models.js";
|
|
2
2
|
import { resolveDeepSeekV4ThinkingProfile } from "./thinking.js";
|
|
3
|
-
|
|
3
|
+
//#region extensions/deepseek/provider-policy-api.ts
|
|
4
4
|
const PREVIOUS_BUNDLED_METADATA = {
|
|
5
5
|
"deepseek-v4-flash": {
|
|
6
6
|
contextWindow: 1e6,
|
|
@@ -75,4 +75,5 @@ function normalizeConfig(params) {
|
|
|
75
75
|
function resolveThinkingProfile(params) {
|
|
76
76
|
return params.provider.trim().toLowerCase() === "deepseek" ? resolveDeepSeekV4ThinkingProfile(params.modelId) : null;
|
|
77
77
|
}
|
|
78
|
+
//#endregion
|
|
78
79
|
export { normalizeConfig, resolveThinkingProfile };
|
package/dist/stream.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isDeepSeekV4ModelRef } from "./models.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) {
|
|
5
5
|
return createDeepSeekV4OpenAICompatibleThinkingWrapper({
|
|
6
6
|
baseStreamFn,
|
|
@@ -8,4 +8,5 @@ function createDeepSeekV4ThinkingWrapper(baseStreamFn, thinkingLevel) {
|
|
|
8
8
|
shouldPatchModel: isDeepSeekV4ModelRef
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
+
//#endregion
|
|
11
12
|
export { createDeepSeekV4ThinkingWrapper };
|
package/dist/thinking.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isDeepSeekV4ModelId } from "./models.js";
|
|
2
|
-
|
|
2
|
+
//#region extensions/deepseek/thinking.ts
|
|
3
3
|
const DEEPSEEK_V4_THINKING_PROFILE = {
|
|
4
4
|
levels: [
|
|
5
5
|
"off",
|
|
@@ -15,4 +15,5 @@ const DEEPSEEK_V4_THINKING_PROFILE = {
|
|
|
15
15
|
function resolveDeepSeekV4ThinkingProfile(modelId) {
|
|
16
16
|
return isDeepSeekV4ModelId(modelId) ? DEEPSEEK_V4_THINKING_PROFILE : void 0;
|
|
17
17
|
}
|
|
18
|
+
//#endregion
|
|
18
19
|
export { resolveDeepSeekV4ThinkingProfile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveDeepSeekModelKeyFallback } from "./model-credential.js";
|
|
2
2
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
3
3
|
import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-contract";
|
|
4
|
-
|
|
4
|
+
//#region extensions/deepseek/web-search-provider.ts
|
|
5
5
|
const CREDENTIAL_PATH = "plugins.entries.deepseek.config.webSearch.apiKey";
|
|
6
6
|
const loadRuntime = createLazyRuntimeModule(() => import("./web-search-provider.runtime.js"));
|
|
7
7
|
function createDeepSeekWebSearchProvider() {
|
|
@@ -55,4 +55,5 @@ function createDeepSeekWebSearchProvider() {
|
|
|
55
55
|
})
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
+
//#endregion
|
|
58
59
|
export { createDeepSeekWebSearchProvider };
|
|
@@ -3,7 +3,7 @@ import { createHash } from "node:crypto";
|
|
|
3
3
|
import { readProviderJsonObjectResponse } from "openclaw/plugin-sdk/provider-http";
|
|
4
4
|
import { DEFAULT_SEARCH_COUNT, MAX_SEARCH_COUNT, buildSearchCacheKey, mergeScopedSearchConfig, postTrustedWebToolsJson, readCachedSearchPayload, readConfiguredSecretString, readPositiveIntegerParam, readProviderEnvValue, readStringParam, resolveProviderWebSearchPluginConfig, resolveSearchCacheTtlMs, resolveSearchCount, resolveSearchTimeoutSeconds, writeCachedSearchPayload } from "openclaw/plugin-sdk/provider-web-search";
|
|
5
5
|
import { asNonArrayRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
|
-
|
|
6
|
+
//#region extensions/deepseek/web-search-provider.runtime.ts
|
|
7
7
|
const SEARCH_URL = "https://api.deepseek.com/v1/tools/search";
|
|
8
8
|
async function executeDeepSeekSearch(ctx, args, signal) {
|
|
9
9
|
signal?.throwIfAborted();
|
|
@@ -95,4 +95,5 @@ async function executeDeepSeekSearch(ctx, args, signal) {
|
|
|
95
95
|
writeCachedSearchPayload(cacheKey, payload, ttlMs);
|
|
96
96
|
return payload;
|
|
97
97
|
}
|
|
98
|
+
//#endregion
|
|
98
99
|
export { executeDeepSeekSearch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/deepseek-provider",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.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.11.5-beta.
|
|
21
|
+
"pluginApi": ">=2026.11.5-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.11.5-beta.
|
|
24
|
+
"openclawVersion": "2026.11.5-beta.2",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.11.5-beta.
|
|
43
|
+
"openclaw": ">=2026.11.5-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|