ankesu / dsh-emoji-wallet

已收录

Minimal DeepSeek balance wallet for DSH: one click shows your API balance in the session header. · DSH 余额小钱包:顶栏一点看余额

main会话 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:ankesu/dsh-emoji-wallet

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 c8fec3b同步于 2026年8月17日

dsh-emoji-wallet

npm version npm downloads license

A minimal DeepSeek balance wallet for DeepSeek Harness: one click shows your API balance right in the session header.

DSH 余额小钱包:顶栏一个 💰,点一下就知道 DeepSeek API 还剩多少钱。

preview

Features / 功能

  • 💰 One-click balance — a small wallet button in the session header (right side, next to Session log)
  • 🔒 Key never leaves the host — the browser only ever sees the balance numbers; the API key is read from the harness credentials file (~/.dsh/.credentials.yaml) on the host
  • 🫧 Semi-transparent bubble — click to open, click again to close (auto-closes after 8s)
  • 🎛️ No config needed — reads DEEPSEEK_API_KEY automatically

Install / 安装

dsh plugin --profile web add dsh-emoji-wallet

Restart the harness. A 💰 button appears in the session header, right next to Session log. Click it to see your balance.

How it works / 原理

  • Host half: GET /api/wallet/balance reads DEEPSEEK_API_KEY from ~/.dsh/.credentials.yaml and queries https://api.deepseek.com/user/balance
  • Client half: a slot component in conversation.session.header.utilities (the same container as Session log), positioned before it with flex order: -1

License

MIT

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

文档已检测

仓库信息

开发语言
TypeScript
许可证
MIT
最后更新
2026年8月17日 08:32

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。