DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Peak Price Panel — DSH Plugin for DeepSeek Harness
← Plugins

dsh-peak-price-panel

Peak Price Panel

DeepSeek Harness plugin: peak/off-peak price watch, live account balance with tiered low-balance alerts, and a top-up button for the main web UI

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-peak-price-panel@0.2.2
READMECompatibilityVersions

Compatibility and provenance

Peak Price Panel is published as dsh-peak-price-panel and currently resolves to version 0.2.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
8/26/2026

Versions

0.2.2stable
8/26/2026
0.2.1stable
8/24/2026

Related plugins

Loading related plugins…

Latest
0.2.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
40.5 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
8/26/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a dedicated pet bubble for the current providerWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

dsh-peak-price-panel

DeepSeek Harness 主界面信息面板插件:峰谷价格 + 余额 + 充值。

功能

  • 峰谷时段:按北京时间显示当前处于高峰(工作日 9:00–12:00、14:00–18:00)还是低谷,带下次切换倒计时;周末全天按低谷价计费(2026-08-23 起)。临近切换(默认提前 30 分钟,可配置)弹出横幅——临近高峰提示涨价、临近低谷提示半价。
  • 单价展示:侧边栏卡片实时显示当前时段所配置模型(默认价格表全部模型)的输出单价(高峰全价 / 低谷半价)。
  • 过期提醒:价格表数据版本超过 staleAfterDays(默认 30 天)未更新时,侧边栏「输出单价」标题变黄并提示「价格表可能过期」。
  • 余额:轮询 GET https://api.deepseek.com/user/balance,显示总余额,按三档阈值(默认 50 / 20 / 5,可配置)变色并预警。
  • 充值:侧边栏充值按钮,低余额(告急/极低档)时按钮红色脉冲联动、余额数字变红加粗。

数据与代码解耦(v0.2.0 起)

价格表与峰谷时段是数据配置,不再硬编码在代码里:

  • 内置默认值在 lib/pricing.js(DEFAULT_MODEL_PRICES / DEFAULT_PEAK_WINDOWS),仅作兜底。
  • 实际生效值来自设置层 prices / peakWindows,两处可改:
    1. Settings → Plugins → Cost panel 里的「价格表 JSON」文本框(实时生效,无需重装);
    2. cordis.patch.yml 的 config.prices / config.peakWindows(base 层,改后需重启 web 生效)。
  • DeepSeek 调价时改配置即可,无需改代码、无需发版。

安装

# 从 npm 安装(推荐)
dsh plugin --profile web add dsh-peak-price-panel

# 或从本地目录安装
dsh plugin --profile web add <本目录路径>

API key 从设置里的 apiKeyEnv(默认 DEEPSEEK_API_KEY)解析:优先取同名环境变量,未设置时回退 DSH 凭据库,无需重复填写。

数据说明

  • 内置数据版本 2026-08-23:官方现行价(峰=谷的 2 倍;工作日 9–12/14–18 为峰,周末全天为谷)。内置价格表为 CNY 值(¥/1M tokens);currency 仅影响余额的币种过滤与显示符号,不换算单价。
  • 调价后更新 prices(以及需要时更新 peakWindows、scheduleVersion),三者都在配置层,不在代码层。

配置项(Settings → Plugins → Cost panel)

键默认说明
warnThreshold50提醒阈值(¥)
criticalThreshold20告警阈值(¥,充值按钮联动)
extremeThreshold5极低阈值(¥,充值按钮红色脉冲 + 余额红字加粗)
refreshSeconds60余额轮询间隔(秒)
peakLeadSeconds1800峰谷切换提前提示(秒)
currencyCNYCNY / USD
apiKeyEnvDEEPSEEK_API_KEYAPI key 凭据名
staleAfterDays30价格表超过 N 天未更新(相对 scheduleVersion)时标黄提醒
models(空)显示哪些模型的单价;留空 = 价格表里全部模型
prices内置三模型表单价表 {模型:{cacheHit,cacheMiss,output}}(¥/1M tokens,峰价)
scheduleVersion2026-08-23价格表数据版本戳(YYYY-MM-DD,用于过期判断)
peakWindows[[9,12],[14,18]]工作日高峰时段 [startHour,endHour)

验证

node --test test/*.mjs