dsh-connect-minimaxcode 0.2.2 → 0.2.3
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/README.md +25 -12
- package/lib/index.d.ts +4 -1
- package/lib/index.js +15 -8
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -3,21 +3,25 @@
|
|
|
3
3
|
把本机已登录的 **MiniMax Code 桌面 App(国内版)** 的模型接入 **DeepSeek Harness(DSH)**,装好即用,无需配置 API Key。
|
|
4
4
|
|
|
5
5
|

|
|
6
|
-

|
|
7
|
+
[](https://www.npmjs.com/package/dsh-connect-minimaxcode)
|
|
8
|
+
[](https://github.com/JeffTsuiCUG/dsh-connect-minimaxcode/actions/workflows/ci.yml)
|
|
7
9
|
|
|
8
10
|
## 灵感来源
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
本插件的思路来自 **[corrinehu/dsh-workbuddy-connect](https://github.com/corrinehu/dsh-workbuddy-connect)**(作者 Corrine Hu)。
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
它最早证明了这样一件事:**桌面 App 已经登录的模型,可以零配置地搬进 DSH**——不去碰账号密码,不引入新的鉴权体系,只是把本机已有的登录态接上一个 provider,并复用 DSH 自带的 provider 适配器。本插件把同一套做法用在了 MiniMax Code 上:
|
|
13
15
|
|
|
14
|
-
| | dsh-connect
|
|
16
|
+
| | dsh-workbuddy-connect | 本插件 |
|
|
15
17
|
|---|---|---|
|
|
16
18
|
| 数据来源 | WorkBuddy 桌面 App 的本地登录态 | MiniMax Code 桌面 App 的本地登录态 |
|
|
17
19
|
| 接入方式 | 注册 DSH provider,暴露已登录模型 | 同左 |
|
|
18
20
|
| 目录来源 | 上游实时模型列表 | 同左 |
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
同方向的另一实现是 **[dingminhua/dsh-connect-workbuddy](https://github.com/dingminhua/dsh-connect-workbuddy)**,本插件在**插件结构与 provider 注册的组织方式**上参考了同一作者的 [dsh-connect-trae](https://github.com/dingminhua/dsh-connect-trae)(该项目的连接内核本身也参照了 corrinehu 的实现,见其 README 致谢)。
|
|
23
|
+
|
|
24
|
+
> 两者的价值可以这样区分:**corrinehu 是最早的开创者**,「复用本机登录态」的路线由它确立;**dingminhua 的实现更贴近 DSH 插件结构的既有约定**,本插件的目录布局与 `cordis.patch.yml` 写法沿用了后者。二者都已列入文末致谢。
|
|
21
25
|
|
|
22
26
|
---
|
|
23
27
|
|
|
@@ -87,7 +91,7 @@ Web profile 把 `--profile desktop` 换成 `--profile web`。
|
|
|
87
91
|
2. **安装插件**(见上一步的命令),等待热加载完成。
|
|
88
92
|
|
|
89
93
|
3. **选择模型**
|
|
90
|
-
打开 DSH 的模型选择器,在 **MiniMax Code** 分组下选择模型。可用模型来自上游实时目录,例如 `
|
|
94
|
+
打开 DSH 的模型选择器,在 **MiniMax Code** 分组下选择模型。可用模型来自上游实时目录,例如 `M3`、`M3.1-Flash`。
|
|
91
95
|
|
|
92
96
|
4. **正常对话**
|
|
93
97
|
直接使用即可。工具调用由 DSH 本地工具执行,插件只负责提供模型通路。
|
|
@@ -107,7 +111,7 @@ Web profile 把 `--profile desktop` 换成 `--profile web`。
|
|
|
107
111
|
|
|
108
112
|
MiniMax 的这些模型**强制要求先推理再输出**,思考无法关闭。因此:
|
|
109
113
|
|
|
110
|
-
- 首个字符出现前会有一段等待(实测 M3.1-Flash
|
|
114
|
+
- 首个字符出现前会有一段等待(实测 M3.1-Flash 约 3 秒)
|
|
111
115
|
- 推理过程会以 `thinking` 块实时返回,可以在界面中看到模型"在想什么"
|
|
112
116
|
- 这是模型本身的行为,**不是插件造成的延迟**
|
|
113
117
|
|
|
@@ -162,12 +166,21 @@ op_credit_summary: {
|
|
|
162
166
|
|
|
163
167
|
- **仅支持国内版(`agent.minimax.cn`)**。国际版网关是否可用**未经验证**,请勿据此推断其他区域可用。
|
|
164
168
|
- **必须开启推理**。MiniMax 的全部模型都声明需要推理,关不掉。首字延迟因此高于非推理模型。
|
|
165
|
-
- **未登录时模型列表是内置兜底**。此时选择器中仍会显示 `
|
|
169
|
+
- **未登录时模型列表是内置兜底**。此时选择器中仍会显示 `M3`、`M3.1-Flash` 两个内置条目,但它们无法真正调用;登录后才会切换为上游实时目录。判断是否可用,请以实际调用结果为准。
|
|
166
170
|
- **不提供余额/用量显示**。这一项经过实测后确认无法实现,原因记录在下方「为什么没有额度显示」中。
|
|
167
171
|
- **不自动续期令牌**,请参照上方「令牌有效期」。
|
|
168
172
|
- **不提供设置界面卡片**。本插件为纯宿主侧插件,不在 DSH 设置页注册任何卡片,因此不会参与浏览器端的启动流程(这同时也是它不会导致 DSH 启动失败的原因)。
|
|
169
173
|
- **上游接口非公开**,MiniMax 客户端更新后可能失效。
|
|
170
174
|
|
|
175
|
+
## 更新记录
|
|
176
|
+
|
|
177
|
+
### 0.2.3(2026-10-19)
|
|
178
|
+
|
|
179
|
+
- **同步上游模型变动**:MiniMax 下架了 `M2.7`、`M2.7-highspeed` 两个旧模型;此前以匿名形式灰度的测试模型(代号 "space bunny" / 太空兔)正式发布为 **`M3.1-Flash`**。当前上游实时目录为 `M3`、`M3.1-Flash`。
|
|
180
|
+
- 内置兜底列表与文档随之更新。**已登录用户无需更新插件**即可看到模型变动(列表来自上游实时目录),本次发布只是让未登录兜底、测试与文档与上游保持一致。
|
|
181
|
+
|
|
182
|
+
历史版本见 [GitHub Releases](https://github.com/JeffTsuiCUG/dsh-connect-minimaxcode/releases) 与 [npm 版本列表](https://www.npmjs.com/package/dsh-connect-minimaxcode?activeTab=versions)。
|
|
183
|
+
|
|
171
184
|
## 卸载
|
|
172
185
|
|
|
173
186
|
```bash
|
|
@@ -201,7 +214,7 @@ pnpm build && git add lib
|
|
|
201
214
|
| **dsh-qoder-connect** | Qoder(国内版 + 国际版,PAT) | ✅ 每日 100 Credits | ✅ 侧栏额度小卡 + 明细 |
|
|
202
215
|
| **dsh-workbuddy-connect** | WorkBuddy(国内版 + 国际版) | — | ✅ 剩余积分 + 明细 |
|
|
203
216
|
|
|
204
|
-
>
|
|
217
|
+
> 各插件的签到规则、额度口径与限制以各自文档为准。下表为同一台机器上的实测读数,仅代表当时状态,非承诺。
|
|
205
218
|
|
|
206
219
|
### [dsh-connect-trae](https://github.com/dingminhua/dsh-connect-trae)
|
|
207
220
|
|
|
@@ -231,9 +244,9 @@ dsh plugin --profile web exec dsh-workbuddy-connect status
|
|
|
231
244
|
|
|
232
245
|
## 致谢
|
|
233
246
|
|
|
234
|
-
- **[dsh-connect
|
|
235
|
-
- [dsh-connect-
|
|
236
|
-
- [dsh-
|
|
247
|
+
- **[corrinehu/dsh-workbuddy-connect](https://github.com/corrinehu/dsh-workbuddy-connect)** — **本插件的灵感来源**。「复用桌面 App 本机登录态、把已登录模型接进 DSH」的整体思路由该项目最早确立,本插件沿用同一做法;凭据只读复用的设计也参照于此。
|
|
248
|
+
- **[dingminhua/dsh-connect-workbuddy](https://github.com/dingminhua/dsh-connect-workbuddy)** — 同方向的另一实现,本插件的**插件结构与 provider 注册组织方式**参考了它(其连接内核亦参照 corrinehu 的实现,见该项目致谢)。
|
|
249
|
+
- [dingminhua/dsh-connect-trae](https://github.com/dingminhua/dsh-connect-trae) — 同作者的 DSH 插件,可作为 DSH 插件结构的参照。
|
|
237
250
|
|
|
238
251
|
> 上方「同类插件」中的项目均为独立开发者的作品,与本项目无隶属或背书关系,各自遵循其自身的许可与免责声明。
|
|
239
252
|
|
package/lib/index.d.ts
CHANGED
|
@@ -140,7 +140,10 @@ declare const MINIMAXCODE_PROVIDER_ID = "minimaxcode";
|
|
|
140
140
|
* models the desktop app is known to ship.
|
|
141
141
|
*
|
|
142
142
|
* Deliberately small and conservative: a fallback entry overstates nothing we
|
|
143
|
-
* could not confirm.
|
|
143
|
+
* could not confirm. Last verified against the live catalog on 2026-10-19,
|
|
144
|
+
* when upstream retired `MiniMax-M2.7` and `MiniMax-M2.7-highspeed` and
|
|
145
|
+
* promoted the model previously served anonymously (internally "space bunny")
|
|
146
|
+
* as `MiniMax-M3.1-Flash`.
|
|
144
147
|
*/
|
|
145
148
|
declare const FALLBACK_MODELS: readonly CatalogModel[];
|
|
146
149
|
/** Where the currently served list came from. */
|
package/lib/index.js
CHANGED
|
@@ -233,20 +233,27 @@ const MINIMAXCODE_PROVIDER_ID = "minimaxcode";
|
|
|
233
233
|
* models the desktop app is known to ship.
|
|
234
234
|
*
|
|
235
235
|
* Deliberately small and conservative: a fallback entry overstates nothing we
|
|
236
|
-
* could not confirm.
|
|
236
|
+
* could not confirm. Last verified against the live catalog on 2026-10-19,
|
|
237
|
+
* when upstream retired `MiniMax-M2.7` and `MiniMax-M2.7-highspeed` and
|
|
238
|
+
* promoted the model previously served anonymously (internally "space bunny")
|
|
239
|
+
* as `MiniMax-M3.1-Flash`.
|
|
237
240
|
*/
|
|
238
241
|
const FALLBACK_MODELS = [{
|
|
239
|
-
id: "MiniMax-
|
|
240
|
-
name: "
|
|
241
|
-
contextWindow:
|
|
242
|
+
id: "MiniMax-M3",
|
|
243
|
+
name: "M3",
|
|
244
|
+
contextWindow: 512e3,
|
|
242
245
|
maxOutputTokens: 128e3,
|
|
243
246
|
toolCall: true,
|
|
244
247
|
reasoning: true,
|
|
245
|
-
inputModalities: [
|
|
246
|
-
|
|
248
|
+
inputModalities: [
|
|
249
|
+
"text",
|
|
250
|
+
"image",
|
|
251
|
+
"video"
|
|
252
|
+
],
|
|
253
|
+
attachment: true
|
|
247
254
|
}, {
|
|
248
|
-
id: "MiniMax-M3",
|
|
249
|
-
name: "M3",
|
|
255
|
+
id: "MiniMax-M3.1-Flash",
|
|
256
|
+
name: "M3.1-Flash",
|
|
250
257
|
contextWindow: 512e3,
|
|
251
258
|
maxOutputTokens: 128e3,
|
|
252
259
|
toolCall: true,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-connect-minimaxcode",
|
|
3
3
|
"displayName": "DSH Connect MiniMax Code",
|
|
4
4
|
"description": "把本机已登录的 MiniMax Code 桌面 App 的模型接入 DeepSeek Harness:复用其登录态,提供 Anthropic Messages 兼容接入与动态模型目录。",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.3",
|
|
6
6
|
"author": "JeffTsuiCUG",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"private": false,
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
23
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
24
|
+
"dsh": ">=0.1.7-rc.1 <0.3.0-0"
|
|
24
25
|
},
|
|
25
26
|
"main": "lib/index.js",
|
|
26
27
|
"types": "lib/index.d.ts",
|