deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:keshing/balance-display
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A persistent DeepSeek Harness (DSH) plugin that shows your DeepSeek account balance in the sidebar footer, with a configurable balance popover, a dedicated settings page, and low-balance alert notifications.
~/.dsh/settings.yamllib/index.js):balance-display settings namespace (fields, refresh interval, alert thresholds)GET /api/balance proxies https://api.deepseek.com/user/balance using the DEEPSEEK_API_KEY credential (resolved per request via the credentials service — the key never leaves the host)GET/POST /api/balance/settings read/write the durable configuration (the plugin owns this same-origin surface because the api-proxy settings RPC only exposes allow-listed namespaces)lib/client.js): a hand-written window.__ModuleLoader__ bundle that registers the sidebar footer action, the frame overlay popover, the alert toast stack, and the settings section. All UI styling uses the theme's --dsw-* tokens.Copy the package into your DSH profile's node_modules:
cp -r balance-display ~/.dsh/profiles/node_modules/
Register the plugin row in your profile composition (~/.dsh/profiles/web/cordis.patch.yml):
- insert:
- id: balance-display
name: 'balance-display'
Make sure a DEEPSEEK_API_KEY credential is configured (the Models settings page or ~/.dsh/.credentials.yaml).
Restart dsh web and refresh the page.
dsh web)fetch (Node 18+)DEEPSEEK_API_KEYMIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。