@openclaw/moonshot-provider 2026.9.6 → 2026.9.8
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/assets/icon.png +0 -0
- package/dist/.setup/{openclaw.plugin-CZNy9Kfm.mjs → openclaw.plugin-DX_vVKdi.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/media-understanding-provider.js +1 -1
- package/dist/provider-catalog.js +1 -1
- package/dist/provider-contract-api.js +1 -1
- package/dist/provider-policy-api.js +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +4 -4
package/assets/icon.png
CHANGED
|
Binary file
|
|
@@ -19,7 +19,7 @@ var openclaw_plugin_default = {
|
|
|
19
19
|
"compatibilityFamily": "moonshot"
|
|
20
20
|
} } },
|
|
21
21
|
modelPricing: { "providers": { "moonshot": {
|
|
22
|
-
"
|
|
22
|
+
"modelsDev": { "provider": "moonshotai" },
|
|
23
23
|
"liteLLM": { "provider": "moonshot" }
|
|
24
24
|
} } },
|
|
25
25
|
modelCatalog: {
|
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-DX_vVKdi.mjs";
|
|
2
2
|
import { isMoonshotAlwaysThinkingModelId, isMoonshotK3NativeVideoRoute, resolveThinkingProfile } from "./provider-policy-api.js";
|
|
3
3
|
import { MOONSHOT_DEFAULT_MODEL_REF, buildMoonshotProvider } from "./provider-catalog.js";
|
|
4
4
|
import { moonshotMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
@@ -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-DX_vVKdi.mjs";
|
|
2
2
|
import { MOONSHOT_BASE_URL } from "./provider-policy-api.js";
|
|
3
3
|
import "./provider-catalog.js";
|
|
4
4
|
import { describeOpenAiCompatibleVideo } from "openclaw/plugin-sdk/media-understanding";
|
package/dist/provider-catalog.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-DX_vVKdi.mjs";
|
|
2
2
|
import { MOONSHOT_BASE_URL, MOONSHOT_CN_BASE_URL, isNativeMoonshotBaseUrl } from "./provider-policy-api.js";
|
|
3
3
|
import { applyProviderNativeStreamingUsageCompat, buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
4
4
|
//#region extensions/moonshot/provider-catalog.ts
|
|
@@ -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-DX_vVKdi.mjs";
|
|
2
2
|
//#region extensions/moonshot/provider-contract-api.ts
|
|
3
3
|
const noopAuth = async () => ({ profiles: [] });
|
|
4
4
|
function createMoonshotProvider() {
|
|
@@ -25,11 +25,11 @@ function isMoonshotK3NativeVideoRoute(route) {
|
|
|
25
25
|
return route.provider === "moonshot" && route.modelId === "kimi-k3" && route.api === "openai-completions" && isNativeMoonshotBaseUrl(route.baseUrl);
|
|
26
26
|
}
|
|
27
27
|
function isMoonshotAlwaysThinkingModelId(modelId) {
|
|
28
|
-
return modelId.trim().toLowerCase()
|
|
28
|
+
return Object.hasOwn(ALWAYS_THINKING_PROFILES, modelId.trim().toLowerCase());
|
|
29
29
|
}
|
|
30
30
|
function resolveThinkingProfile(context) {
|
|
31
31
|
const modelId = context.modelId.trim().toLowerCase();
|
|
32
|
-
const profile = ALWAYS_THINKING_PROFILES[modelId];
|
|
32
|
+
const profile = Object.hasOwn(ALWAYS_THINKING_PROFILES, modelId) ? ALWAYS_THINKING_PROFILES[modelId] : void 0;
|
|
33
33
|
if (profile) return {
|
|
34
34
|
levels: [profile],
|
|
35
35
|
defaultLevel: profile.id,
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/moonshot-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.8",
|
|
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.9.
|
|
17
|
+
"pluginApi": ">=2026.9.8"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.9.
|
|
20
|
+
"openclawVersion": "2026.9.8",
|
|
21
21
|
"bundledDist": false
|
|
22
22
|
},
|
|
23
23
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.9.
|
|
43
|
+
"openclaw": ">=2026.9.8"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|