Dsh Balance · balance
kkbsgg/dsh-balance · skills
DeepSeek Harness plugin that displays the selected model provider's account balance as a small text next to the composer's model seat, once a model (and its reasoning effort) is selected for the active conversation.
★ 3GitHub stars
0Forks
2026-08-31Last updated
JavaScriptLanguage
MITLicense
Key features
- Host half (lib/index.js, a Cordis plugin) mounts one loopback HTTP route — GET /dsh-balance/balance?provider= — on the webserver.
- The key never crosses the wire boundary.
- Client half (client/client.js, a web client plugin) registers a seat into the conversation.input.right slot (immediately beside the model selector).
- It subscribes to the active session's model-selection directory (modelDirectories), passes the selected provider to the route, and only renders after a model with a non-empty id is selected — an empty selection hides the text instead of retaining a stale balance.
- clicking the text refreshes immediately.
Install command
dsh plugin --profile web add github:kkbsgg/dsh-balance