eka3os/dsh-balance0

@ek3os/dsh-balance

DeepSeek Harness Web plugin that shows the API balance beside Settings in the sidebar.

AI 分析

核心用途是在 DSH 侧边栏直观展示 DeepSeek API 的账户余额。适合需要随时监控 API 额度、防止因欠费导致服务中断的用户。需要配置 DEEPSEEK_API_KEY。

パッケージ
@ek3os/dsh-balance
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/19

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:eka3os/dsh-balance

ドキュメント

README 全文を読む ↗

Configuration

The plugin uses the DEEPSEEK_API_KEY credential reference. Configure the key through the DeepSeek Harness credentials/settings UI when available. You can also provide it through the launch environment for a single run:

DEEPSEEK_API_KEY=sk-your-key dsh web

For a managed local credential, add the key to $DSH_HOME/.credentials.yaml:

DEEPSEEK_API_KEY: sk-your-key

Do not commit API keys or credential files to Git.

配置

插件使用 DEEPSEEK_API_KEY 作为凭据引用。建议在 DeepSeek Harness 的凭据/设置界面中配置 API Key。也可以在启动时通过环境变量提供,仅对本次运行生效:

DEEPSEEK_API_KEY=sk-your-key dsh web

如果使用 DSH 的本地凭据文件,可以将密钥写入 $DSH_HOME/.credentials.yaml

DEEPSEEK_API_KEY: sk-your-key

请勿将 API Key 或凭据文件提交到 Git 仓库。