Provider Billing · DeepSeek Harness plugin
ZeroingIn/dsh-provider-billing · model-adapters
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.
★ 2GitHub stars
0Forks
2026-08-25Last updated
TypeScriptLanguage
MITLicense
Key features
- Host requirementthe plugin renders inside the Models page's settings.models.row contribution hole, which only newer harness builds declare.
- query resolves the route's stored key and endpoint (profile → _API_KEY derivation → adapter default, each through the credential seam then the trusted environment, first hit wins) and fetches /user/balance.
- 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.
- Without the hole it prints an explicit load-failure error.
Requirements
- Only the /user/balance convention is served (the DeepSeek official shape)
- a provider with a different balance API reports its own error through the card.
Install command
dsh plugin --profile web add github:ZeroingIn/dsh-provider-billing