LucienLL/dsh-peak-price-panel ↗★ 0
dsh-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
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LucienLL/dsh-peak-price-panel说明文档
阅读完整 README ↗配置项(Settings → Plugins → Cost panel)
| 键 | 默认 | 说明 |
|---|---|---|
| warnThreshold | 50 | 提醒阈值(¥) |
| criticalThreshold | 20 | 告警阈值(¥,充值按钮联动) |
| extremeThreshold | 5 | 极低阈值(¥,紧急横幅) |
| refreshSeconds | 60 | 余额轮询间隔(秒) |
| peakLeadSeconds | 1800 | 峰谷切换提前提示(秒) |
| currency | CNY | CNY / USD |
| apiKeyEnv | DEEPSEEK_API_KEY | API key 凭据名 |
| staleAfterDays | 30 | 价格表超过 N 天未更新(相对 scheduleVersion)时标黄提醒 |
| models | (空) | 显示哪些模型的单价;留空 = 价格表里全部模型 |
| prices | 内置三模型表 | 单价表 {模型:{cacheHit,cacheMiss,output}}(¥/1M tokens,峰价) |
| peakWindows | [[9,12],[14,18]] | 工作日高峰时段 [startHour,endHour) |