DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-deepseek-quota-left

d

dsh-deepseek-quota-left

Manifest valid

DeepSeek API quota panel collapsed into a left-edge handle for the Web UI: click to expand balance, official today's consumption (with platform token) and live conversation cost; fork of dsh-deepseek-

UI (client)hasBundlePatch

dsh-deepseek-quota-left

DeepSeek API 额度面板插件(DSH web GUI 修改版)。

基于 dsh-deepseek-quota(MIT)修改:把右下角浮动卡片改为左侧折叠式面板,并修复了"今日已消费"来源标识未传递到前端的问题。

特性

  • 左侧折叠把手:默认只显示一条竖排"额度"把手贴在聊天界面左边框,点击展开完整面板,再点收起。
  • 官方精确数据:
    • 余额:官方 api.deepseek.com/user/balance(无需额外配置)
    • 今日已消费:配置 DEEPSEEK_PLATFORM_TOKEN 后走官方平台用量接口,显示"今日已消费"(不带 ≈);未配置时回退为余额差值估算(带 ≈)
    • 当前对话费用:按官方价格表(含峰谷计价)本地实时计价,悬停 ⓘ 查看公式明细
  • 自动刷新(余额 60s / 对话费用 5s)+ 手动刷新按钮。
  • 跟随明暗主题,API Key 不出本机。

安装

需要 DSH CLI 与 pnpm。

# 从 npm 安装
dsh plugin --profile web add dsh-deepseek-quota-left

# 或从 GitHub 仓库安装
dsh plugin --profile web add https://github.com/dk33333333/dsh-deepseek-quota-left

然后:

  1. 重启 dsh web(bundle 层在启动时读取)。
  2. 打开 http://127.0.0.1:3080 并刷新页面。
  3. 左侧边框出现竖排"额度"把手,点击展开面板。

配置

插件读取 DSH 已使用的 DEEPSEEK_API_KEY(余额)。如需官方精确"今日已消费",另配 DEEPSEEK_PLATFORM_TOKEN:

  1. 登录 https://platform.deepseek.com
  2. DevTools → Console 运行 localStorage.getItem('userToken'),复制 JSON 中 value 字段
  3. 写入 ~/.dsh/.credentials.yaml:
DEEPSEEK_PLATFORM_TOKEN: <token>

与原版的差异

项原版本修改版
位置右下角浮动卡片左侧边框折叠把手,点击展开
今日已消费来源标识前端丢失 todayConsumedSource,永远显示"约"已修复,官方数据时显示"已消费"

License

MIT(派生自 dsh-deepseek-quota,MIT)

Comments

Loading…

Similar plugins

dsh-deepseek-quota

by ricardolicong

DeepSeek API quota (balance) widget for the dsh web GUI: a floating wallet card showing balance, today’s consumption and live conversation cost; banknotes blow out of the wallet while the agent is bus

Manifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-deepseek-quota

by wangyong1972

Draggable quota/cost dashboard for DeepSeek Harness web GUI: OpenRouter + DeepSeek balances & spend (official APIs + session-log pricing)

Manifest valid

★ 0

JavaScript

Aug 23, 2026

dsh plugin --profile web add @wangyong1972/dsh-quota-dashboard

by novaschai7

DeepSeek account balance, today's token usage and estimated spend in the dsh Web client sidebar. · 在 dsh 侧边栏显示 DeepSeek 余额、今日 token 用量与花费估算。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-plugin-balance-ui

by yingjunnan

DeepSeek API quota (balance) widget for the DSH web GUI: a floating bottom-right card showing remaining DeepSeek API balance.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 3

↓ 284/wk

MIT

JavaScript

Aug 31, 2026

dsh plugin --profile web add dsh-deepseek-quota

by Andrew111888

A floating credit/quota widget for the DeepSeek Harness Web: shows DeepSeek / OpenCode Go balances and usage, and tracks DSH session token usage and estimated cost by day, month, and model.

UI & ExperienceManifest valid

★ 6

↓ 248/wk

BSD-3-Clause

JavaScript

Aug 26, 2026

dsh plugin --profile web add dsh-plugin-balance

by ArvenWang

DeepSeek account quota (balance) and session token usage for the DeepSeek Harness web UI

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-plugin-quota