golitter/dsh-deepseek-billing ↗★ 3
dsh-deepseek-billing
适用于 DeepSeek Harness 的 DeepSeek 账户余额查看器和斜杠命令
AI 分析
核心用途是快速查询 DeepSeek 账户余额。适合需要通过 Web 设置面板或 `/deepseek-billing` 快捷命令实时查看 API 余额的 DSH 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:golitter/dsh-deepseek-billing說明文件
閱讀完整 README ↗安装与使用
-
安装插件:
dsh plugin --profile web add github:golitter/dsh-deepseek-billing -
在
$DSH_HOME/.credentials.yaml中配置 DeepSeek API Key:DEEPSEEK_API_KEY: sk-xxxxxxxxxxxxxxxx -
启动 DSH Web:
dsh --profile web -
打开“设置 → 计费 / Billing”查看余额;点击“刷新 / Refresh”可重新获取。


-
也可在对话中直接输入无参数命令
/deepseek-billing快速查看余额;在新建空白会话中,结果显示在输入框旁的临时提示中,不会进入对话记录页,并在会话激活、1 分钟到期或切换离开时自动清除;空白阶段执行过的余额命令不会在会话激活后重新显示为历史卡片。宿主已保存zh/en偏好时,斜杠菜单说明、标签、空态、错误和用法提示跟随语言并在切换后更新;远程浏览器仅有进程内语言或偏好不可用时,菜单说明回退英文,结果回退为不带标签的「币种 + 金额」、固定英文用法提示及稳定错误码。
配置与安全
详见 配置与安全。