dsh-peak-hours:DSH 工作日高峰「花费 ×2」提醒
dsh-peak-hours 是 PuluWang 维护的 DSH 纯前端插件,在 Web/桌面客户端右下角提示北京时间工作日高峰时段(官方口径下 token 约为空闲 2 倍),并倒数距空闲 5 折还有多久。支持收起胶囊、拖动定位、Alt+Shift+P 重开与本时段静音。安装可用 dsh plugin --profile 添加本地目录或一键脚本,改 client.js 的 CONFIG 可维护高峰窗口与 2026 节假日表。非官方、不联网,MIT 许可。
Read Moredsh-peak-hours:在 Harness 里看清 DeepSeek API 峰谷时段
DeepSeek API 峰时全价、谷时半价,规则以 UTC 与北京日历定义,跨时区不易判断。社区客户端插件 dsh-peak-hours 在 Harness 输入区显示 Peak/Off-peak 角标与剩余时间,点击可查看本地 24 小时表盘与完整日程;支持 Plugins 页面或 dsh CLI 安装,需 DSH 0.2.x。社区插件非官方,安装前请查阅源码与 MIT 许可证。
Read Moredsh-peak-hours: DeepSeek Harness Execution Window Toggle Plugin
The DeepSeek Harness plugin `dsh-peak-hours` helps users reduce model invocation costs by automatically running or pausing tasks during off-peak hours to optimize resource usage. It supports two modes, "Always Run" and "Run During Off-Peak Hours Only," and determines peak and off-peak windows for Monday through Friday based on the Beijing time zone (UTC+8), with support for statutory holidays. Users can switch modes, query status, and simulate the clock through UI controls or the provided HTTP API. Implemented purely in JavaScript, the plugin should be installed carefully to avoid mixing installation methods. It controls task execution via an interception mechanism, making it suitable for scenarios that require running tasks only within specific time windows.
Read Moredsh-peak-hours: Display Beijing peak hours badge in DSH session top bar.
## Introduction The philosophy of DeepSeek Harness (DSH) is "everything is a plugin," theoretically allowing every corner of the conversation interface to be extended by plugins. However, actually writing a top-bar plugin involves handling several things: registering your own component to the conversation top-bar toolbar, adapting to light/dark themes, and persisting user settings—where the latter step has extra restrictions for third-party plugins. dsh-peak-hours is a small plugin that addresses all these issues: it displays a "Peak Hours" status badge in the conversation top bar, determines whether the current time is between 09:00–12:00 or 14:00–18:00 based on Beijing Time, and includes the current Beijing time. You can see the status as soon as you open the conversation without needing to switch away to check the time. The following introduces it in the order of features, principle, installation, and usage.
Read More