DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Peak Valley Indicator — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@changqingguo/dsh-peak-valley-indicator

Peak Valley Indicator

DSH Web 页眉中 Session Log 旁的峰谷电时段指示器。峰时段(当地时间 09:00-12:00 和 14:00-18:00)显示红灯,其余时间显示绿灯。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @changqingguo/dsh-peak-valley-indicator@1.0.1
README兼容性版本

兼容性与来源证明

Peak Valley Indicator 以 @changqingguo/dsh-peak-valley-indicator 发布,当前版本为 1.0.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

1.0.1stable
2026/8/23
1.0.0stable
2026/8/19

相关插件

正在加载相关插件…

最新版
1.0.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
14.9 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
61
最近提交
2026/8/23
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

@changqingguo/dsh-peak-valley-indicator

English | 中文

A peak/valley electricity-time indicator for DSH Web. It adds a small breathing red/green light + label + live clock to the top-right session header, right beside the Session log button, so you can tell at a glance whether the current moment is an electricity peak or valley period.

  • Peak / 峰时 (red light): weekdays 09:00–12:00 and 14:00–18:00
  • Valley / 谷时 (green light): all other hours — including all day on weekends (Sat/Sun) per the latest policy

Peak/valley is judged from the local time of the machine running the browser, so it auto-follows your timezone (e.g. Beijing time). No configuration, no prompt surface, zero token cost.

Session log   [● 峰时 14:30]      ← red dot breathing + red label
Session log   [● 谷时 21:08]      ← green dot breathing + green label

What it does

  • Client half: registers one entry in the conversation.session.header.utilities slot — the right-aligned utility row of the session header, the same row that hosts Session log. The entry renders a compact capsule: a 10 px breathing dot (red during peak, green during valley) + a 峰时/谷时 label + a HH:MM clock that ticks every second. Peak/valley is computed from new Date().getHours() in the browser's local timezone. CSS is injected once via a <style data-plugin> tag and cleaned up with the plugin.
  • Host half: a no-op carrier (apply does nothing) so the loader builds a valid host fiber for a row whose real surface is entirely client-side. It injects no services, registers no commands, and emits no events.

Installation

Install the package into your DSH Web profile, then restart dsh web:

# Recommended: install directly from npm (once published)
dsh plugin --profile web add @changqingguo/dsh-peak-valley-indicator

# Or from the repository (development loop)
git clone https://github.com/ChangQGuo/dsh-peak-valley-indicator.git
dsh plugin --profile web add link:$(pwd)/dsh-peak-valley-indicator

The package ships its own mount row (cordis.patch.yml), so no manual patch editing is needed — restart dsh web and the indicator appears next to Session log.

Alternatively, add it as a plain overlay row in your profile patch (~/.dsh/profiles/web/cordis.patch.yml):

- insert:
    - id: peak-valley-indicator
      name: '@changqingguo/dsh-peak-valley-indicator'

Configuration

None. The peak windows are hardcoded in lib/client.js (isPeak):

return (h >= 9 && h < 12) || (h >= 14 && h < 18);

Edit that expression and redeploy to change the peak/valley schedule.

Export shape

A client-only Cordis plugin: the browser half exports inject: ["slots"] and apply, which calls ctx.slots.inject("conversation.session.header.utilities", …) to register the capsule. The host half exports a no-op apply with inject: [] and name: "peak-valley-indicator". There is no default export and no public Service.

Model Experience

Prompt and tool surface

What the model sees

Nothing. The plugin injects no prompt sections, registers no tools, and emits no session events — it is a pure presentational browser widget.

Token effect

Zero per request.

KV Cache effect

No system-prompt contribution, so no cache-stability effect.

Known Limitations and Deferred Work

  • Web only: the indicator renders in the DSH Web session header; there is no TUI equivalent.
  • Hardcoded schedule: peak windows are fixed in source (09:00–12:00, 14:00–18:00); there is no runtime config. Edit lib/client.js and redeploy to change them.
  • Local time only: judged from the browser's local timezone; it does not pin to a specific zone. On a machine whose local time is Beijing time, it follows Beijing time.
  • Presentational only: no persistence, no settings page, no per-session state — the clock is recomputed each second in the browser.