ZeroingIn/dsh-provider-billing
ZeroingIn★ 0TypeScript最后同步: 2026-08-14
DeepSeek Harness plugin: provider account balance inside each Models settings row, queried through a loopback-pinned RPC channel with the stored API key kept on the host
README 摘要
dsh-provider-billing English 中文 A DeepSeek Harness plugin (maintained outside the official repository) that shows the account balance behind each configured provider route's stored API key — one balance line inside each provider row of the Models settings page, with a refresh control per route. The key never leaves the host: the browser sends only the route id, and the host resolves the endpoint and credential from the configuration plane before asking the provider's OpenAI-compatible /user/balance endpoint. Host requirement : the plugin renders inside the Models page's settings.models.row contribution hole, which only newer harness builds declare. Older harness builds are not supported : the plugin reports a clear load failure instead of degrading silently. Do not install it on an unsupported harness. Install Any of the three equivalent routes: 1. npm Published on npm as dsh-provider-billing — the simplest route: the tarball ships the built lib/ and cordis.patch.yml , so no build step runs on install. 2. GitHub A GitHub install fetches sources : pnpm runs the package's prepare script ( tsdown , fully self-contained — no sibling checkout, no npm resolution of @deepseek-ai/ ) during…
在 GitHub 查看完整 README →