zoyluoblue/deepseek-harness-billing

zoyluoblue★ 0TypeScript最后同步: 2026-08-17

在 GitHub 打开

DeepSeek Harness (dsh) plugin for DeepSeek API account balance — sidebar indicator, Settings page, and /balance command. Reads GET /user/balance.

README 摘要

@zoytown/dsh-billing English 中文 @zoytown/dsh-billing is a DeepSeek Harness ( dsh ) plugin that shows your DeepSeek API account balance . It reads the platform's GET /user/balance endpoint and surfaces the result three ways: a capsule at the sidebar foot, a Balance section in Settings, and the /balance command. It registers no model-facing tool and appends no session event , so mounting it costs the conversation nothing. Sidebar Settings → Balance What the platform actually exposes Only the current balance. There is no usage or spend-history endpoint — /usage and /dashboard/billing/usage both return 404 — so this package reports what is left , never what was spent . Any per-session cost figure would be a local estimate from token counts, which is a separate concern and deliberately out of scope here. balance infos is an array — an account can hold CNY and USD at once — and every consumer here renders all of it rather than the first entry. Install Installing from npm gets prebuilt code and needs no build permission. A git install ( github:zoyluoblue/deepseek-harness-billing ) fetches sources without running a build, so it is not supported yet — see Known limitations. The bundle inser…

在 GitHub 查看完整 README →
Agent/智能体account-balanceai-agentbalancebillingcordisdeepseekdeepseek-apideepseek-harness

分类