@nextclaw/runtime 0.2.15 → 0.2.16

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.
Files changed (2) hide show
  1. package/dist/index.js +37 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4,6 +4,42 @@ import {
4
4
  setProviderRegistry
5
5
  } from "@nextclaw/core";
6
6
 
7
+ // src/providers/plugins/dashscope-coding-plan.ts
8
+ var dashscopeCodingPlanProviderSpec = {
9
+ name: "dashscope-coding-plan",
10
+ keywords: ["dashscope-coding-plan", "coding-plan"],
11
+ envKey: "DASHSCOPE_CODING_PLAN_API_KEY",
12
+ displayName: "DashScope Coding Plan",
13
+ modelPrefix: "dashscope-coding-plan",
14
+ litellmPrefix: "dashscope-coding-plan",
15
+ skipPrefixes: ["dashscope-coding-plan/"],
16
+ envExtras: [],
17
+ isGateway: false,
18
+ isLocal: false,
19
+ detectByKeyPrefix: "sk-sp-",
20
+ detectByBaseKeyword: "coding.dashscope.aliyuncs.com",
21
+ defaultApiBase: "https://coding.dashscope.aliyuncs.com/v1",
22
+ defaultModels: [
23
+ "dashscope-coding-plan/qwen3.5-plus",
24
+ "dashscope-coding-plan/qwen3-max-2026-01-23",
25
+ "dashscope-coding-plan/qwen3-coder-next",
26
+ "dashscope-coding-plan/qwen3-coder-plus",
27
+ "dashscope-coding-plan/MiniMax-M2.5",
28
+ "dashscope-coding-plan/glm-5",
29
+ "dashscope-coding-plan/glm-4.7",
30
+ "dashscope-coding-plan/kimi-k2.5"
31
+ ],
32
+ visionModels: ["dashscope-coding-plan/qwen3.5-plus", "dashscope-coding-plan/kimi-k2.5"],
33
+ stripModelPrefix: false,
34
+ modelOverrides: [],
35
+ supportsResponsesApi: false,
36
+ logo: "dashscope.png",
37
+ apiBaseHelp: {
38
+ zh: "Coding Plan \u5FC5\u987B\u4F7F\u7528\u4E13\u5C5E Base URL https://coding.dashscope.aliyuncs.com/v1\uFF0C\u5E76\u914D\u5408 sk-sp- \u5F00\u5934\u7684\u4E13\u5C5E API Key\uFF1B\u4E0D\u8981\u4E0E\u666E\u901A DashScope \u6309\u91CF\u8BA1\u8D39 Key/Base URL \u6DF7\u7528\u3002",
39
+ 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."
40
+ }
41
+ };
42
+
7
43
  // src/providers/plugins/builtin.ts
8
44
  var builtinProviderPlugin = {
9
45
  id: "builtin-runtime-providers",
@@ -205,6 +241,7 @@ var builtinProviderPlugin = {
205
241
  supportsResponsesApi: false,
206
242
  logo: "dashscope.png"
207
243
  },
244
+ dashscopeCodingPlanProviderSpec,
208
245
  {
209
246
  name: "qwen-portal",
210
247
  keywords: ["qwen-portal", "qwen"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/runtime",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
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.11.1"
18
+ "@nextclaw/core": "0.11.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^20.17.6",