dsh-minimax-byapi 0.1.0 → 0.1.1
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/CHANGELOG.md +6 -0
- package/README.md +3 -3
- package/README.zh.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-minimax-byapi` are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## 0.1.1
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **The declared host range excluded the host the plugin is verified on.** `engines.dsh` was `>=0.2.1-rc.2 <0.3.0-0`, which — by the same prerelease rule that affected the peer ranges — does not admit `0.2.2-rc.1`, the dsh build this plugin is developed and verified against. The range now covers both prerelease tuples: `>=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-0 <0.3.0-0`. The Discover index publishes this range to users, so it has to name the hosts the plugin actually runs on.
|
|
10
|
+
|
|
5
11
|
## 0.1.0
|
|
6
12
|
|
|
7
13
|
First release. The plugin is renamed and reworked from the previous Grok gateway plugin to talk to the official MiniMax open platform, then corrected against the official API reference (`platform.minimax.cn/docs/api-reference`).
|
package/README.md
CHANGED
|
@@ -45,9 +45,9 @@ Not provided: realtime voice conversation (audio-in / audio-out), voice cloning,
|
|
|
45
45
|
|
|
46
46
|
| Component | Requirement | Verified |
|
|
47
47
|
| --- | --- | --- |
|
|
48
|
-
| dsh | `>=0.2.1-rc.2 <0.3.0-0` via `engines.dsh` | `0.2.2-rc.1` in an isolated Web profile: install, load, both components running, settings page rendered. Chat and media calls still need a real key — see [VALIDATION.md](VALIDATION.md) |
|
|
48
|
+
| dsh | `>=0.2.1-rc.2 <0.3.0-0 \|\| >=0.2.2-0 <0.3.0-0` via `engines.dsh` | `0.2.2-rc.1` in an isolated Web profile: install, load, both components running, settings page rendered. Chat and media calls still need a real key — see [VALIDATION.md](VALIDATION.md) |
|
|
49
49
|
| Node.js | `>=22.19.0` | CI runs Node 22.19 and 24 on Linux and Windows |
|
|
50
|
-
| MiniMax | Official open platform, international (`api.minimax.io`) or China (`api.minimaxi.com` / `api.minimax.cn`) |
|
|
50
|
+
| MiniMax | Official open platform, international (`api.minimax.io`) or China (`api.minimaxi.com` / `api.minimax.cn`) | Chat verified live with a real key on the China M Plan route; the media endpoints are documented only — see [VALIDATION.md](VALIDATION.md) |
|
|
51
51
|
| Other dsh 0.2.x | Inside the `engines.dsh` range | Not individually verified |
|
|
52
52
|
|
|
53
53
|
`engines.dsh` is the compatibility gate; `peerDependencies` pin the SDK packages the source uses but do not decide compatibility, so rerun the integration tests after a dsh upgrade.
|
|
@@ -268,7 +268,7 @@ Installation is successful when all four checks pass:
|
|
|
268
268
|
| Symptom | Fix |
|
|
269
269
|
| --- | --- |
|
|
270
270
|
| `dsh plugin add` fails or reports 404 | Use the git or local-checkout form above; that path does not depend on the npm registry. |
|
|
271
|
-
| Plugin is listed but does not load | Your dsh is outside `>=0.2.1-rc.2 <0.3.0-0`. Upgrade to a 0.2.x build. |
|
|
271
|
+
| Plugin is listed but does not load | Your dsh is outside `>=0.2.1-rc.2 <0.3.0-0 \|\| >=0.2.2-0 <0.3.0-0`. Upgrade to a 0.2.x build. |
|
|
272
272
|
| 401 or 403 in settings | Wrong key or base URL. Re-save the key and check the address preset (`api.minimax.io` vs `api.minimaxi.com`). |
|
|
273
273
|
| "该地址没有开放模型列表接口" | That address does not expose `GET /v1/models`; the self-check is skipped and the built-in model constants are used. |
|
|
274
274
|
| Connection refused or timeout | The endpoint is unreachable, or the account has no balance left. `timeoutMs` caps each request. |
|
package/README.zh.md
CHANGED
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
|
|
46
46
|
| 组件 | 要求 | 已验证情况 |
|
|
47
47
|
| --- | --- | --- |
|
|
48
|
-
| dsh | `engines.dsh` 要求 `>=0.2.1-rc.2 <0.3.0-0` | 已在 `0.2.2-rc.1` 的独立 Web profile 实测安装、加载、两个组件运行与设置页渲染;对话与媒体调用仍需真实 Key —— 见 [VALIDATION.md](VALIDATION.md) |
|
|
48
|
+
| dsh | `engines.dsh` 要求 `>=0.2.1-rc.2 <0.3.0-0 \|\| >=0.2.2-0 <0.3.0-0` | 已在 `0.2.2-rc.1` 的独立 Web profile 实测安装、加载、两个组件运行与设置页渲染;对话与媒体调用仍需真实 Key —— 见 [VALIDATION.md](VALIDATION.md) |
|
|
49
49
|
| Node.js | `>=22.19.0` | CI 在 Linux 与 Windows 上跑 Node 22.19 与 24 |
|
|
50
|
-
| MiniMax | 官方开放平台,国际 `api.minimax.io` 或国内 `api.minimaxi.com` / `api.minimax.cn` |
|
|
50
|
+
| MiniMax | 官方开放平台,国际 `api.minimax.io` 或国内 `api.minimaxi.com` / `api.minimax.cn` | 对话已用真实 Key 在国内 M Plan 路线实测跑通;媒体端点仅依据官方文档 —— 见 [VALIDATION.md](VALIDATION.md) |
|
|
51
51
|
| 其他 dsh 0.2.x | 在 `engines.dsh` 区间内 | 未逐版本验证 |
|
|
52
52
|
|
|
53
53
|
`engines.dsh` 是兼容性闸门;`peerDependencies` 只固定源码用到的 SDK 包,不决定兼容性,dsh 升级后需要重跑集成测试。
|
|
@@ -268,7 +268,7 @@ MiniMax 已退役音乐模型,并且自 **2026-08-20** 起音乐 API 不再向
|
|
|
268
268
|
| 现象 | 处理 |
|
|
269
269
|
| --- | --- |
|
|
270
270
|
| `dsh plugin add` 失败或报 404 | 改用上面的 git 或本地目录方式;这条路不依赖 npm registry。 |
|
|
271
|
-
| 插件已列出但加载不了 | 你的 dsh 不在 `>=0.2.1-rc.2 <0.3.0-0` 区间,升级到 0.2.x 版本。 |
|
|
271
|
+
| 插件已列出但加载不了 | 你的 dsh 不在 `>=0.2.1-rc.2 <0.3.0-0 \|\| >=0.2.2-0 <0.3.0-0` 区间,升级到 0.2.x 版本。 |
|
|
272
272
|
| 设置页报 401 或 403 | Key 或地址不对。重新保存 Key,并核对预设地址(`api.minimax.io` 还是 `api.minimaxi.com`)。 |
|
|
273
273
|
| 提示「该地址没有开放模型列表接口」 | 该地址没有开放 `GET /v1/models`,自检会被跳过,改用内置模型常量。 |
|
|
274
274
|
| 连接被拒或超时 | 端点不可达,或账户余额不足。`timeoutMs` 决定单次请求上限。 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-minimax-byapi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"displayName": "MiniMax ByAPI",
|
|
5
5
|
"description": "Native MiniMax for DeepSeek Harness: chat with a subscription (Coding Plan) key or a pay-as-you-go API key, plus image, video, speech and music generation over the official MiniMax API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=22.19.0",
|
|
44
|
-
"dsh": ">=0.2.1-rc.2 <0.3.0-0"
|
|
44
|
+
"dsh": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-0 <0.3.0-0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|