@openclaw/moonshot-provider 2026.8.1 → 2026.8.33
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/{kimi-web-search-provider-DlE1dJHa.js → .setup/kimi-web-search-provider-sFuFwnFh.mjs} +1 -1
- package/dist/{kimi-web-search-provider.runtime-ILfyNM0k.js → .setup/kimi-web-search-provider.runtime-DvlSQW3h.mjs} +1 -1
- package/dist/index.js +2 -2
- 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/web-search-contract-api.js +1 -1
- package/dist/web-search-provider.js +1 -1
- package/openclaw.plugin.json +3 -3
- package/package.json +4 -4
- /package/dist/{openclaw.plugin-BLi5Z-ZR.js → .setup/openclaw.plugin-BLi5Z-ZR.mjs} +0 -0
package/dist/{kimi-web-search-provider-DlE1dJHa.js → .setup/kimi-web-search-provider-sFuFwnFh.mjs}
RENAMED
|
@@ -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-
|
|
5
|
+
const loadKimiWebSearchProviderRuntime = createLazyRuntimeModule(() => import("./kimi-web-search-provider.runtime-DvlSQW3h.mjs"));
|
|
6
6
|
const KimiSearchSchema = {
|
|
7
7
|
type: "object",
|
|
8
8
|
properties: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MOONSHOT_BASE_URL, MOONSHOT_CN_BASE_URL, isNativeMoonshotBaseUrl } from "
|
|
1
|
+
import { MOONSHOT_BASE_URL, MOONSHOT_CN_BASE_URL, isNativeMoonshotBaseUrl } from "../provider-catalog.js";
|
|
2
2
|
import { isRecord, normalizeOptionalString, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { createProviderHttpError, readProviderJsonObjectResponse } from "openclaw/plugin-sdk/provider-http";
|
|
4
4
|
import { MAX_SEARCH_COUNT, buildSearchCacheKey, buildUnsupportedSearchFilterResponse, mergeScopedSearchConfig, readCachedSearchPayload, readConfiguredSecretString, readPositiveIntegerParam, readProviderEnvValue, readStringParam, resolveProviderWebSearchPluginConfig, resolveSearchCacheTtlMs, resolveSearchTimeoutSeconds, setProviderWebSearchPluginConfigValue, withTrustedWebSearchEndpoint, wrapWebContent, writeCachedSearchPayload } from "openclaw/plugin-sdk/provider-web-search";
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-BLi5Z-ZR.mjs";
|
|
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 "
|
|
7
|
+
import { t as createKimiWebSearchProvider } from "./.setup/kimi-web-search-provider-sFuFwnFh.mjs";
|
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-BLi5Z-ZR.mjs";
|
|
2
2
|
import { MOONSHOT_BASE_URL } from "./provider-catalog.js";
|
|
3
3
|
import { describeImageWithModel, describeImagesWithModel, describeOpenAiCompatibleVideo } from "openclaw/plugin-sdk/media-understanding";
|
|
4
4
|
//#region extensions/moonshot/media-understanding-provider.ts
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as openclaw_plugin_default } from "
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-BLi5Z-ZR.mjs";
|
|
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 "
|
|
1
|
+
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-BLi5Z-ZR.mjs";
|
|
2
2
|
//#region extensions/moonshot/provider-contract-api.ts
|
|
3
3
|
const noopAuth = async () => ({ profiles: [] });
|
|
4
4
|
function createMoonshotProvider() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createKimiWebSearchProvider } from "
|
|
1
|
+
import { t as createKimiWebSearchProvider } from "./.setup/kimi-web-search-provider-sFuFwnFh.mjs";
|
|
2
2
|
export { createKimiWebSearchProvider };
|
package/openclaw.plugin.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"onStartup": false
|
|
5
5
|
},
|
|
6
6
|
"enabledByDefault": true,
|
|
7
|
-
"providerCatalogEntry": "./provider-discovery.
|
|
7
|
+
"providerCatalogEntry": "./dist/provider-discovery.js",
|
|
8
8
|
"providers": [
|
|
9
9
|
"moonshot"
|
|
10
10
|
],
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"choiceLabel": "Moonshot API key (.ai)",
|
|
153
153
|
"groupId": "moonshot",
|
|
154
154
|
"groupLabel": "Moonshot AI (Kimi)",
|
|
155
|
-
"groupHint": "Kimi API models
|
|
155
|
+
"groupHint": "Kimi API models · https://platform.kimi.ai/docs/pricing/chat",
|
|
156
156
|
"optionKey": "moonshotApiKey",
|
|
157
157
|
"cliFlag": "--moonshot-api-key",
|
|
158
158
|
"cliOption": "--moonshot-api-key <key>",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"choiceLabel": "Moonshot API key (.cn)",
|
|
167
167
|
"groupId": "moonshot",
|
|
168
168
|
"groupLabel": "Moonshot AI (Kimi)",
|
|
169
|
-
"groupHint": "Kimi API models
|
|
169
|
+
"groupHint": "Kimi API models · https://platform.kimi.ai/docs/pricing/chat",
|
|
170
170
|
"optionKey": "moonshotApiKey",
|
|
171
171
|
"cliFlag": "--moonshot-api-key",
|
|
172
172
|
"cliOption": "--moonshot-api-key <key>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/moonshot-provider",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.33",
|
|
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.33"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.8.
|
|
20
|
+
"openclawVersion": "2026.8.33",
|
|
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.33"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|
|
File without changes
|