@openclaw/moonshot-provider 2026.8.33 → 2026.8.35
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.
|
@@ -21,11 +21,11 @@ function isMoonshotK3NativeVideoRoute(route) {
|
|
|
21
21
|
return route.provider === "moonshot" && route.modelId === "kimi-k3" && route.api === "openai-completions" && isNativeMoonshotBaseUrl(route.baseUrl);
|
|
22
22
|
}
|
|
23
23
|
function isMoonshotAlwaysThinkingModelId(modelId) {
|
|
24
|
-
return modelId.trim().toLowerCase()
|
|
24
|
+
return Object.hasOwn(ALWAYS_THINKING_PROFILES, modelId.trim().toLowerCase());
|
|
25
25
|
}
|
|
26
26
|
function resolveThinkingProfile(context) {
|
|
27
27
|
const modelId = context.modelId.trim().toLowerCase();
|
|
28
|
-
const profile = ALWAYS_THINKING_PROFILES[modelId];
|
|
28
|
+
const profile = Object.hasOwn(ALWAYS_THINKING_PROFILES, modelId) ? ALWAYS_THINKING_PROFILES[modelId] : void 0;
|
|
29
29
|
if (profile) return {
|
|
30
30
|
levels: [profile],
|
|
31
31
|
defaultLevel: profile.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/moonshot-provider",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.35",
|
|
4
4
|
"description": "OpenClaw Moonshot provider plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"openclaw": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"minHostVersion": ">=2026.6.9"
|
|
15
15
|
},
|
|
16
16
|
"compat": {
|
|
17
|
-
"pluginApi": ">=2026.8.
|
|
17
|
+
"pluginApi": ">=2026.8.35"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.8.
|
|
20
|
+
"openclawVersion": "2026.8.35",
|
|
21
21
|
"bundledDist": false
|
|
22
22
|
},
|
|
23
23
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.8.
|
|
41
|
+
"openclaw": ">=2026.8.35"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|