@nextclaw/runtime 0.1.7 → 0.2.0

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 +6 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -273,13 +273,16 @@ var builtinProviderPlugin = {
273
273
  detectByKeyPrefix: "",
274
274
  detectByBaseKeyword: "",
275
275
  defaultApiBase: "https://api.minimaxi.com/v1",
276
- defaultModels: ["minimax/MiniMax-M2.5"],
276
+ defaultModels: ["minimax/codex-MiniMax-M2.7", "minimax/MiniMax-M2.5"],
277
277
  stripModelPrefix: false,
278
278
  modelOverrides: [],
279
+ supportsWireApi: true,
280
+ wireApiOptions: ["auto", "chat", "responses"],
281
+ defaultWireApi: "chat",
279
282
  logo: "minimax.svg",
280
283
  apiBaseHelp: {
281
- zh: "MiniMax \u4E2D\u56FD\u533A\u8BF7\u4F7F\u7528 https://api.minimaxi.com/v1\uFF1B\u6D77\u5916\u8BF7\u4F7F\u7528 https://api.minimax.io/v1\u3002",
282
- en: "Use https://api.minimaxi.com/v1 for Mainland China accounts, and https://api.minimax.io/v1 for overseas accounts."
284
+ zh: "MiniMax \u4E2D\u56FD\u533A\u8BF7\u4F7F\u7528 https://api.minimaxi.com/v1\uFF1B\u6D77\u5916\u8BF7\u4F7F\u7528 https://api.minimax.io/v1\u3002AI Coding Plan \u63A8\u8350\u4F7F\u7528 codex-MiniMax-M2.7\uFF0C\u5E76\u5C06 Wire API \u8BBE\u4E3A Chat\u3002",
285
+ en: "Use https://api.minimaxi.com/v1 for Mainland China accounts, and https://api.minimax.io/v1 for overseas accounts. For AI Coding Plan, prefer codex-MiniMax-M2.7 with Wire API set to Chat."
283
286
  }
284
287
  },
285
288
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/runtime",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
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.8.0"
18
+ "@nextclaw/core": "0.9.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^20.17.6",