healing1/dsh-balance-meter

healing1★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

README 摘要

dsh-balance-meter English 中文 DeepSeek account balance and session-cost readout for the DeepSeek Harness (DSH) Web GUI. - Live account balance (queries the official Get User Balance endpoint) - Current session estimated spend (token usage x official pricing) - Auto-fetches the official pricing page every 6h, so price changes and the 2026-08-17 peak/off-peak pricing rollout never require a plugin update - Peak-hour band (Beijing 09:00-12:00 / 14:00-18:00) applied automatically once the peak pricing goes live Features The composer dock shows a chip with the account total balance and the current session's estimated cost: Clicking the chip reveals the per-currency balance breakdown (granted + top-up) and the per-bucket cost breakdown (input / cache read / output). Clicking while an error is shown forces an immediate refresh. Requirements - DeepSeek Harness 0.1.0-rc.6 or newer (web profile) - A DeepSeek API key stored through the DSH credentials seam ( DEEPSEEK API KEY — the web Models page writes it) Installation From a git URL (no npm account needed): Or from a local checkout: Restart dsh web , then refresh the page. The balance chip appears in the composer dock next to the conversatio…

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类