mtty-ai/mmx-quota-tool0

mmx-quota-tool

适用于 DSH Web 的 MiniMax 额度工具插件,提供水滴状的 5 小时用量百分比显示及详情面板,非 MiniMax 模型时自动隐藏。

AI 分析

核心用途是监控 MiniMax API 的用量情况。适合使用 MiniMax 模型并需要实时掌握 Token 消耗进度的用户;需要配置 API 密钥。

套件
mmx-quota-tool
版本
0.1.0
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mtty-ai/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:

VarDefaultPurpose
MMX_API_KEY(required)MiniMax Bearer + x-api-key
MMX_REGIONcncn (api.minimaxi.com) or global (api.minimax.io)
MMX_REFRESH_MS60000Host poll interval against upstream
MMX_POLL_INTERVAL_MS5000(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.