dsh-cyy-usage
Đã xác minhdsh-cyy-usage · v0.1.16 · MIT · Giao diện web
DeepSeek account balance, today's usage/cost/token stats, and peak/idle time reminders in the dsh sidebar.
Cài đặt
dsh plugin add dsh-cyy-usage Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
Tác giả
Readme
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).