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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mtty-ai/mmx-quota-tool说明文档
阅读完整 README ↗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.