dsh-minimax-usage
IdentifiedMiniMax 用量插件
在 DSH(DeepSeek Harness)设置页「用量」section 展示 MiniMax Token Plan 的 5 小时与周窗口用量。
这是什么
DSH 插件,在设置页的「用量」section 渲染 MiniMax Token Plan 实时数据:
- 5 小时窗口:当前用量百分比 + 剩余时间
- 周窗口:当前用量百分比 + 重置倒计时
- 视频赠送:可调用次数(
video模型按 count 计,不按百分比) - 未配置 API key 时整段 section 自动隐藏(侧栏「用量」入口也不显示)
数据通过 MiniMax 的 https://www.minimaxi.com/v1/token_plan/remains 接口实时获取(trusted plugin 持有 key、60s 缓存 + 10s 限流)。
安装
两种方式,任选其一。
方式一:DSH 官方 dsh plugin add
trusted-plugin/ 声明了 dsh.bundle manifest,DSH 官方安装命令直接认:
# 从 GitHub(git 源一行)
dsh plugin --profile web add "github:Floating-Dreaming/dsh-minimax-usage#main"
# 从 npm
dsh plugin --profile web add @floatingdeaming/minimax-usage
# 从本地 checkout
dsh plugin --profile web add ./trusted-plugin
装完重启 DSH。
方式二:install.ps1 / install.sh
| OS | 命令 |
|---|---|
| Windows | cd D:\Code\minimax-usage-plugin && .\install.ps1 |
| macOS / Linux / WSL / Git Bash | cd /path/to/minimax-usage-plugin && ./install.sh |
从 npm 装:
.\install.ps1 -Source npm -NpmName @floatingdeaming/minimax-usage
./install.sh --source npm --npm-name @floatingdeaming/minimax-usage
脚本做了什么(幂等,已有文件不被覆盖):
- 部署 trusted plugin 源码到
~/.dsh/profiles/web/minimax-usage/ - 创建符号链接
~/.dsh/profiles/web/node_modules/minimax-usage/→ 上面那个目录 - 校验 / 补齐 profile 的
package.json依赖 - 校验 / 补齐 profile 的
pnpm-workspace.yaml的 packages 列表 - 校验 / 补齐 profile 的
cordis.patch.yml的- insert:行 - 跑
npm install
许可证
MIT
Comments
Loading…
From the same category
by Ebony-Vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 54k
↓ 12.1k/wk
MIT
JavaScript
Oct 31, 2026
dsh plugin --profile web add dsh-our-free-modelby zouyuxuan122
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 24.7k
↓ 12.1k/wk
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add dsh-our-free-modelby dingminhua
Connect locally signed-in WorkBuddy models to DeepSeek Harness with a read-only credits overview and model management.
★ 944
↓ 33k/wk
MIT
TypeScript
Oct 31, 2026
dsh plugin --profile web add dsh-connect-workbuddyby Alice-Marx
Model Router and GALGame plugin for DeepSeek Harness
★ 567
↓ 1.1k/wk
MIT
JavaScript
Oct 27, 2026
dsh plugin --profile web add @ljwei-stak/dsh-model-routerby V1ki
Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth login in the web UI, no API keys
★ 538
↓ 1.6k/wk
MIT
TypeScript
Oct 29, 2026
dsh plugin --profile web add dsh-plugin-subscriptionsby Mars-Sea
Command Code provider plugin for DeepSeek Harness (dsh). Adds Command Code model access, live model catalog, plan-aware model selection, reasoning effort, image input, web search, and multi-account su
★ 447
↓ 2.7k/wk
MIT
TypeScript
Oct 31, 2026
dsh plugin --profile web add @mars-sea/dsh-commandcode-provider