@openclaw/moonshot-provider 2026.9.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/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { t as openclaw_plugin_default } from "./openclaw.plugin-BLi5Z-ZR.js";
1
+ import { t as openclaw_plugin_default } from "./openclaw.plugin-tItXVdxj.js";
2
2
  import { MOONSHOT_DEFAULT_MODEL_REF, buildMoonshotProvider } from "./provider-catalog.js";
3
3
  import { moonshotMediaUnderstandingProvider } from "./media-understanding-provider.js";
4
4
  import { isMoonshotAlwaysThinkingModelId, isMoonshotK3NativeVideoRoute, resolveThinkingProfile } from "./provider-policy-api.js";
5
5
  import { wrapMoonshotStream } from "./native-video.js";
6
6
  import { applyMoonshotConfig, applyMoonshotConfigCn } from "./onboard.js";
7
- import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-DlE1dJHa.js";
7
+ import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-CxKQ2WXu.js";
8
8
  import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
9
9
  import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
10
10
  import { buildOpenAICompatibleReplayPolicy } from "openclaw/plugin-sdk/provider-model-shared";
@@ -2,7 +2,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
2
  import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-config-contract";
3
3
  //#region extensions/moonshot/src/kimi-web-search-provider.ts
4
4
  const KIMI_CREDENTIAL_PATH = "plugins.entries.moonshot.config.webSearch.apiKey";
5
- const loadKimiWebSearchProviderRuntime = createLazyRuntimeModule(() => import("./kimi-web-search-provider.runtime-ILfyNM0k.js"));
5
+ const loadKimiWebSearchProviderRuntime = createLazyRuntimeModule(() => import("./kimi-web-search-provider.runtime-DouShtPb.js"));
6
6
  const KimiSearchSchema = {
7
7
  type: "object",
8
8
  properties: {
@@ -284,12 +284,5 @@ async function runKimiSearchProviderSetup(ctx) {
284
284
  setProviderWebSearchPluginConfigValue(next, "moonshot", "model", model);
285
285
  return next;
286
286
  }
287
- const testing = {
288
- resolveKimiApiKey,
289
- resolveKimiModel,
290
- resolveKimiBaseUrl,
291
- extractKimiCitations,
292
- extractKimiToolResultContent
293
- };
294
287
  //#endregion
295
- export { executeKimiWebSearchProviderTool, runKimiSearchProviderSetup, testing };
288
+ export { executeKimiWebSearchProviderTool, runKimiSearchProviderSetup };
@@ -1,4 +1,4 @@
1
- import { t as openclaw_plugin_default } from "./openclaw.plugin-BLi5Z-ZR.js";
1
+ import { t as openclaw_plugin_default } from "./openclaw.plugin-tItXVdxj.js";
2
2
  import { MOONSHOT_BASE_URL } from "./provider-catalog.js";
3
3
  import { describeOpenAiCompatibleVideo } from "openclaw/plugin-sdk/media-understanding";
4
4
  //#region extensions/moonshot/media-understanding-provider.ts
@@ -22,6 +22,7 @@ var openclaw_plugin_default = {
22
22
  "liteLLM": { "provider": "moonshot" }
23
23
  } } },
24
24
  modelCatalog: {
25
+ "modelsDev": { "moonshot": "moonshotai" },
25
26
  "aliases": {
26
27
  "moonshotai": { "provider": "moonshot" },
27
28
  "moonshot-ai": { "provider": "moonshot" }
@@ -1,4 +1,4 @@
1
- import { t as openclaw_plugin_default } from "./openclaw.plugin-BLi5Z-ZR.js";
1
+ import { t as openclaw_plugin_default } from "./openclaw.plugin-tItXVdxj.js";
2
2
  import { applyProviderNativeStreamingUsageCompat, buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  //#region extensions/moonshot/provider-catalog.ts
4
4
  const MOONSHOT_BASE_URL = "https://api.moonshot.ai/v1";
@@ -1,4 +1,4 @@
1
- import { t as openclaw_plugin_default } from "./openclaw.plugin-BLi5Z-ZR.js";
1
+ import { t as openclaw_plugin_default } from "./openclaw.plugin-tItXVdxj.js";
2
2
  //#region extensions/moonshot/provider-contract-api.ts
3
3
  const noopAuth = async () => ({ profiles: [] });
4
4
  function createMoonshotProvider() {
@@ -1,3 +1,3 @@
1
- import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-DlE1dJHa.js";
1
+ import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-CxKQ2WXu.js";
2
2
  import "./web-search-provider.js";
3
3
  export { createKimiWebSearchProvider };
@@ -1,2 +1,2 @@
1
- import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-DlE1dJHa.js";
1
+ import { t as createKimiWebSearchProvider } from "./kimi-web-search-provider-CxKQ2WXu.js";
2
2
  export { createKimiWebSearchProvider };
@@ -4,7 +4,7 @@
4
4
  "onStartup": false
5
5
  },
6
6
  "enabledByDefault": true,
7
- "providerCatalogEntry": "./provider-discovery.ts",
7
+ "providerCatalogEntry": "./dist/provider-discovery.js",
8
8
  "providers": [
9
9
  "moonshot"
10
10
  ],
@@ -42,6 +42,9 @@
42
42
  }
43
43
  },
44
44
  "modelCatalog": {
45
+ "modelsDev": {
46
+ "moonshot": "moonshotai"
47
+ },
45
48
  "aliases": {
46
49
  "moonshotai": {
47
50
  "provider": "moonshot"
@@ -152,7 +155,7 @@
152
155
  "choiceLabel": "Moonshot API key (.ai)",
153
156
  "groupId": "moonshot",
154
157
  "groupLabel": "Moonshot AI (Kimi)",
155
- "groupHint": "Kimi API models \u00b7 https://platform.kimi.ai/docs/pricing/chat",
158
+ "groupHint": "Kimi API models · https://platform.kimi.ai/docs/pricing/chat",
156
159
  "optionKey": "moonshotApiKey",
157
160
  "cliFlag": "--moonshot-api-key",
158
161
  "cliOption": "--moonshot-api-key <key>",
@@ -166,7 +169,7 @@
166
169
  "choiceLabel": "Moonshot API key (.cn)",
167
170
  "groupId": "moonshot",
168
171
  "groupLabel": "Moonshot AI (Kimi)",
169
- "groupHint": "Kimi API models \u00b7 https://platform.kimi.ai/docs/pricing/chat",
172
+ "groupHint": "Kimi API models · https://platform.kimi.ai/docs/pricing/chat",
170
173
  "optionKey": "moonshotApiKey",
171
174
  "cliFlag": "--moonshot-api-key",
172
175
  "cliOption": "--moonshot-api-key <key>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/moonshot-provider",
3
- "version": "2026.9.1",
3
+ "version": "2026.9.2",
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.1"
17
+ "pluginApi": ">=2026.9.2"
18
18
  },
19
19
  "build": {
20
- "openclawVersion": "2026.9.1",
20
+ "openclawVersion": "2026.9.2",
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.9.1"
41
+ "openclaw": ">=2026.9.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {