
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-minimax-usage
Advanced tools
在 DeepSeek Harness (DSH) Web UI 中显示 MiniMax Token Plan 订阅用量。
插件读取官方 Token Plan 用量接口
GET /v1/token_plan/remains,在对话框模型选择器旁显示紧凑的 5h / 7d 用量条。
密钥复用 DSH 设置 → 模型 里已配置的订阅 Key,浏览器拿不到明文。

npx @deepseek-ai/dsh plugin --profile web add dsh-minimax-usage
⚠️ 别用
npx dsh plugin——npm 上dsh这个名字早在 2016 年就被一个不相关的 JS shell 包占了(dsh@1.0.1,作者infusion),它没暴露 CLI bin,会报could not determine executable to run。DSH 的 CLI 在 scoped 包@deepseek-ai/dsh下,必须用完整名。
web 换成你的 profile 名。装完 重启 DSH。
锁定版本:
npx @deepseek-ai/dsh plugin --profile web add github:pan17/dsh-minimax-usage#v0.1.2
或默认分支最新:
npx @deepseek-ai/dsh plugin --profile web add github:pan17/dsh-minimax-usage
如果 pnpm 提示不允许跑构建脚本(ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED),在该 profile 的 pnpm-workspace.yaml 加上再重跑同一条命令:
allowBuilds:
dsh-minimax-usage: true
然后:
http://127.0.0.1:3080)minimax-cn 或 minimax Token Plan provider 时显示;其他 provider 即使模型名含 MiniMax 也隐藏MINIMAX_API_KEY(国际)与 MINIMAX_CN_API_KEY(国内),优先 ctx.credentials,其次进程环境变量minimax / minimax-cn Token Plan provider 时,才会每 30 秒强制拉取官方用量;切换到其他 provider 或 Agent 回到空闲后停止这条循环。整轮 Agent 回到空闲且这轮用过 MiniMax 后,再等 15 秒执行一次空闲刷新;之后心跳从 2 分钟起每次翻倍,上限 24 小时,再用 MiniMax 并空闲后心跳重置回 2 分钟。每轮快照还会按 5 小时窗口的重置时刻 + 30 秒再触发一次"重置后刷新",第一时间拉取翻页后的额度。用量条每 15 秒只读 Host 缓存。点击立即强制刷新。| 区域 | 凭据 | 用量 URL |
|---|---|---|
| 国际 | MINIMAX_API_KEY | www.minimax.io,失败则回退 api.minimax.io |
| 国内 | MINIMAX_CN_API_KEY | api.minimaxi.com,失败则回退 www.minimaxi.com |
只查询已配置的区域。两把 Key 都有时,悬停详情中会并排展示两张账号卡。
remains_time 的语义以 MiniMax 控制台为准。*_quota = 0 的模型会标成「未包含」,而不是 0%。参见 PUBLISH.md:tag push 触发 GitHub Actions,自动 pack → GitHub Release → 等 CI 绿 → publish 到 npm。
npm install
npm test
npm run build
本地未推送时也可以按路径装:
npx @deepseek-ai/dsh plugin --profile web add /path/to/dsh-minimax-usage
FAQs
Show MiniMax Token Plan subscription usage in the DSH Web UI
The npm package dsh-minimax-usage receives a total of 129 weekly downloads. As such, dsh-minimax-usage popularity was classified as not popular.
We found that dsh-minimax-usage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.