Fanlr1/dsh-plugins--packages-deepseek-balance ↗★ 0

dsh-plugin-deepseek-balance

Show DeepSeek balance in the composer dock (projection approach)

包名
dsh-plugin-deepseek-balance
兼容性
待验证
版本
2.0.0
许可证
MIT
最近更新
2026年11月5日

同名包的其他仓库

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

dsh-plugin-deepseek-balance

Show DeepSeek balance in the composer dock (projection approach)

功能

  • DeepSeek 余额 / 今日用量 / 峰谷定价预估(composer dock)
  • 走 sessionProjections 通道(host 采集 → client 展示)
  • live.js 实时请求 · projection.js 注册投影 · usage.js 汇总用量
  • 需要 DEEPSEEK_API_KEY(DSH 凭据)

安装

Junction 方式(改源码立即生效):

$nm  = "$env:USERPROFILE\.dsh\profiles\desktop\node_modules"
$src = "\packages\balance"
cmd /c mklink /J "$nm\dsh-plugin-deepseek-balance" $src

然后在 profile 的 cordis.patch.yml 追加:

- insert:
    - id: balance
      name: 'dsh-plugin-deepseek-balance'

重启 DSH。

适配

  • DSH 0.2.2-rc.1+(用到 DSH 内部/半公开 API,升级 DSH 后可能失效)
  • 零运行时依赖(只用 Node 内置模块)
  • MIT

License

MIT