@ek3os/dsh-balance
DeepSeek Harness Web plugin that shows the API balance beside Settings in the sidebar.
安装
$
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 仓库。