mmx-quota-tool

DSH PLUGIN浏览器与联网

仓库 mtty-ai/mmx-quota-tool · npm mmx-quota-tool

浏览器与联网 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

mmx-quota-tool 为 DeepSeek Harness 网页界面添加 MiniMax token 配额仪表盘,显示 5 小时用量百分比,点击可查看详情,非 MiniMax 模型时自动隐藏。

验证等级 L5 L5 · 运行验证通过
GitHub 星标 2 复刻 0 · 未关闭 issue 0
最近更新 2026-08-16 创建于 2026-08-16
README 4.3 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:mtty-ai/mmx-quota-tool#v0.1.0
兼容 DSH 版本0.2.0-rc.2 等 10 个版本版本不匹配时安装会报错
Node.js 要求>=20来自仓库 package.json 的 engines 字段
前置依赖@deepseek-ai/cordis@^4.0.1需要同时安装的同级依赖
npm 包名mmx-quota-tool可用 npm view 查看包信息

能做什么

3 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

mmx-quota-tool:为 DeepSeek Harness 提供 MiniMax 配额用量监控的 DSH plugin

  • 显示5小时用量百分比
  • 点击查看详情面板
  • 非MiniMax模型自动隐藏

适用场景

联网搜索

上游标签

deepseekdshdsh-plugin

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度稳定按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

仓库档案

浏览器与联网
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方mtty-ai仓库 mmx-quota-tool · 默认分支 main
分类浏览器与联网search
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 0 / 0收录时的数值,非实时
创建 / 更新2026-08-16 · 2026-08-16最后推送 2026-08-16
本站收录2026-08-27首次进入本站目录的时间

README 全文

4.3 KB
作者原文,中文版优先;只做安全转义,不改内容

mmx-quota-tool

MiniMax token-plan quota dock for DeepSeek Harness (DSH) web.

Shows a drop-shape icon + 5h usage % in the conversation input area (next to the model selector). Click for a detail panel listing every model's 5h & weekly usage, reset countdown, and absolute numbers. Auto-hides when the active default model is not a MiniMax model.

Install

dsh plugin --profile web add github:mtty-ai/mmx-quota-tool

Then restart dsh web once.

Manual install (development)

git clone https://github.com/mtty-ai/mmx-quota-tool
cd mmx-quota-tool
# copy or link the package into your profile's node_modules
cp -R . ~/.dsh/profiles/web/node_modules/mmx-quota-tool/

Then add the row to ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
- id: mmx-quota-tool
name: mmx-quota-tool

Configuration

This plugin requires a MiniMax API key. Export it before launching dsh web:

export MMX_API_KEY='sk-cp-your-key-here'
dsh web

Or put it in your shell rc (~/.zshrc, ~/.bashrc).

Optional environment variables:

Var Default Purpose
MMX_API_KEY (required) MiniMax Bearer + x-api-key
MMX_REGION cn cn (api.minimaxi.com) or global (api.minimax.io)
MMX_REFRESH_MS 60000 Host poll interval against upstream
MMX_POLL_INTERVAL_MS 5000 (client bundle) Client fetch interval

The client bundle polls the host every 5 s so model-switch visibility is
within 5 s; the actual upstream fetch runs every MMX_REFRESH_MS.

Behavior

  • The dock appears in the conversation input area (conversation.input.left),
    adjacent to the model selector.
  • Icon is a drop/water shape, filled by 5h usage % (lower bar = better):
  • < 50% green
  • < 80% yellow
  • ≥ 80% red
  • Click toggles a detail panel; mouse-leave the dock or panel closes it.
  • Shift+click forces an immediate upstream refresh.
  • The dock is hidden entirely when the active default model is not a MiniMax
    model — matched providers minimax / minimax-cn / minimax-global / MiniMax*
    or model prefixes MiniMax- / minimax-.
  • Model name labels follow the active DSH UI locale:
  • zh: 通用 / 视频 / 图像 / 音频 / 语音 / 音乐 / 视觉 / 向量 / 实时 / 长文本
  • en: General / Video / Image / Audio / Speech / Music / Vision / Embedding / Realtime / Long context
  • The dock label, panel header / headline / footer hint all switch
    language when the user changes DSH's interface language.
  • The default is zh (Chinese) — the language the upstream token-plan
    model names resolve to most naturally. If the locale service is
    unavailable the dock still renders.

Architecture

Half File Responsibility
Host src/index.js 60 s upstream poll + exposes two HTTP routes
Client client/client.js 5 s poll + mounts the dock UI in conversation.input.left

The host registers two routes on the profile's webServer:

  • GET /api/mmx-quota-tool/quota — current snapshot
  • POST /api/mmx-quota-tool/refresh — force refresh

Returns { rows, lastFetchedAt, lastError, lastStatus, model, isMmx, refreshIntervalMs }.

The client polls quota and renders null when isMmx === false, so
switching to a non-MiniMax model hides the dock within 5 s.

Files

.
├── README.md
├── LICENSE
├── package.json             # dsh.bundle + dsh.client declaration + exports
├── cordis.patch.yml         # dsh bundle patch (registers the row)
├── src/index.js             # host: HTTP routes + 60s upstream poll
└── client/client.js         # browser: 5s poll + React UI + injected

License

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
mmx-quota-tool 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:mtty-ai/mmx-quota-tool#v0.1.0` 即可。对应的 npm 包名是 `mmx-quota-tool`。

mmx-quota-tool 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

mmx-quota-tool 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

mmx-quota-tool 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.0-rc.2、0.2.0-rc.1、0.1.7-rc.2、0.1.6-alpha.2、0.1.6-alpha.1、0.1.5-rc.2、0.1.3-alpha.2、0.1.3-alpha.1。版本较多,只列出前 8 个。

mmx-quota-tool 需要什么运行环境?

Node.js >=20;需要同时安装 @deepseek-ai/cordis@^4.0.1。环境不满足时安装会失败,建议先确认本机版本。

mmx-quota-tool 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

mmx-quota-tool 有哪些功能?

显示5小时用量百分比、点击查看详情面板、非MiniMax模型自动隐藏。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

浏览器与联网
按星标排序,可作替代方案

dsh-our-free-model

dsh-our-free-model

在 DeepSeek Harness 中装上这个 DSH plugin,无需登录、注册或填 API Key,即可直接调用 DeepSeek

L3 · 安装规范通过 8,796 星

dsh-web

dsh-web

侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。

L3 · 安装规范通过 8,549 星

BrowserSkill

BrowserSkill

BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edg

L4 · 沙盒安装通过 8,456 星

dsh-pocket

dsh-pocket

DSH Pocket 让 DeepSeek Harness 装进口袋:电脑跑 dsh web,手机扫码即实时同步访问(局域网+公网),人在外

L5 · 运行验证通过 1,656 星

Browser4

Browser4

L4 · 沙盒安装通过 1,152 星

agentrq

agentrq

L4 · 沙盒安装通过 1,140 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。