mtty-ai/mmx-quota-tool0

mmx-quota-tool

MiniMax token-plan quota dock for DSH web — drop-shape 5h usage %, click for detail panel, auto-hides for non-MiniMax models.

包名
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.