dsh-cyy-usage
已验证dsh-cyy-usage · v0.1.16 · MIT · Web 界面
DeepSeek account balance, today's usage/cost/token stats, and peak/idle time reminders in the dsh sidebar.
安装
dsh plugin add dsh-cyy-usage 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
发布到 npm 但没有公开仓库。安装前请检查包内容。
标签
作者
说明文档
dsh-cyy-usage
DeepSeek usage sidebar plugin for dsh (DeepSeek Harness).
- Shows DeepSeek account balance above Settings in the left sidebar.
- Shows today's estimated cost and token usage (input / cache / output).
- Shows peak / off-peak time reminders (Asia/Shanghai).
Install
dsh plugin --profile web add dsh-cyy-usage
Requires a DeepSeek API key configured in dsh, usually the DEEPSEEK_API_KEY
credential/environment variable.
Data source
- Balance: DeepSeek
GET /user/balanceAPI, called from the host using the configured credential. The API key never reaches the browser. - Today stats: aggregates provider-reported usage from local dsh session logs. Cost is estimated from DeepSeek list prices; the official invoice is authoritative.
- Reminder: DeepSeek off-peak discount window is 16:30–00:30 (Asia/Shanghai).