dsh-balance-strip

一枚常驻在 DSH 会话标签行右侧的胶囊,始终显示 DeepSeek 账户余额、按余额下降估算的今日已用,以及当前是峰时还是谷时定价,不需要点击;未配置 DEEPSEEK_API_KEY 时改走 DSH 账号服务读取余额。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

插件介绍

一枚常驻在 DSH 会话标签行右侧的胶囊,始终显示 DeepSeek 账户余额、按余额下降估算的今日已用,以及当前是峰时还是谷时定价,不需要点击;未配置 DEEPSEEK_API_KEY 时改走 DSH 账号服务读取余额。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:CPHWQ/dsh-balance-strip

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。