@nextclaw/runtime 0.2.34 → 0.2.36
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 +27 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -263,6 +263,33 @@ const builtinProviderRegistry = new ProviderRegistry([{
|
|
|
263
263
|
en: "Coding Plan must use the dedicated base URL https://coding.dashscope.aliyuncs.com/v1 together with an sk-sp- API key. Do not mix it with the regular DashScope pay-as-you-go key/base URL."
|
|
264
264
|
}
|
|
265
265
|
},
|
|
266
|
+
{
|
|
267
|
+
name: "kimi-coding",
|
|
268
|
+
keywords: [
|
|
269
|
+
"kimi-coding",
|
|
270
|
+
"kimi-code",
|
|
271
|
+
"kimi-for-coding"
|
|
272
|
+
],
|
|
273
|
+
envKey: "KIMI_CODING_API_KEY",
|
|
274
|
+
displayName: "Kimi Coding",
|
|
275
|
+
apiProtocol: "anthropic-messages",
|
|
276
|
+
modelPrefix: "kimi-coding",
|
|
277
|
+
defaultModels: ["kimi-coding/kimi-for-coding"],
|
|
278
|
+
defaultHeaders: { "User-Agent": "claude-code/0.1.0" },
|
|
279
|
+
envExtras: [],
|
|
280
|
+
isGateway: false,
|
|
281
|
+
isLocal: false,
|
|
282
|
+
detectByKeyPrefix: "",
|
|
283
|
+
detectByBaseKeyword: "api.kimi.com/coding",
|
|
284
|
+
defaultApiBase: "https://api.kimi.com/coding",
|
|
285
|
+
stripModelPrefix: false,
|
|
286
|
+
modelOverrides: [],
|
|
287
|
+
logo: "moonshot.png",
|
|
288
|
+
apiBaseHelp: {
|
|
289
|
+
zh: "Kimi Coding 需要使用专属 Base URL https://api.kimi.com/coding,并通过 Anthropic Messages 协议访问。",
|
|
290
|
+
en: "Kimi Coding requires the dedicated base URL https://api.kimi.com/coding and uses the Anthropic Messages protocol."
|
|
291
|
+
}
|
|
292
|
+
},
|
|
266
293
|
{
|
|
267
294
|
name: "qwen-portal",
|
|
268
295
|
keywords: ["qwen-portal", "qwen"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/runtime",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "NextClaw runtime assembly for builtin providers and channels.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/core": "0.12.
|
|
18
|
+
"@nextclaw/core": "0.12.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^20.17.6",
|