bowenliang123/dsh-context
bowenliang123/dsh-contextDSH 上下文洞察面板:Context 仪表盘 + /context命令 + Context 浏览器,查看 Context的分类组成、内容详情、演进趋势、压缩/注入事件、统计等一站式 Context 全生命周期管理。
在 DeepSeek Harness 网页版侧边栏底部,实时显示 DeepSeek 账户余额,点击可展开最近 5 天消费柱状图。
DeepSeek account balance + 5-day spending chart widget for the DeepSeek Harness (dsh) web UI.
GET /user/balance 接口读取账户总余额 / 赠送余额 / 充值余额,约 60 秒自动刷新。DEEPSEEK_API_KEY 凭证(与模型共用同一密钥,经 ~/.dsh/.credentials.yaml 或环境变量解析)。dsh plugin --profile web add dsh-balance
重启 dsh web,刷新页面后,侧边栏底部(「设置」旁)即出现 💰 余额。
DEEPSEEK_API_KEY 环境变量。lib/index.js(挂载 GET /dsh-balance/status 路由,仅用 Node 内置模块)。client/client.js(注册 sidebar.footer.action 与 shell.overlay 两个插槽)。MIT