DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

@mateobarbato/dsh-client-ui-peak-hour

Client Ui Peak Hour

DeepSeek Harness Web GUI 的编辑器上方高峰时段卡片,以及编辑器统计信息行中的下一高峰标签

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

npx -y @deepseek-ai/dsh plugin --profile web add github:MateoBarbato/deepseek-peak-hour-banner#832ac0887ffad08006f3bada020437665ae3b664
README兼容性版本

兼容性与来源证明

Client Ui Peak Hour 以 @mateobarbato/dsh-client-ui-peak-hour 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.0.0stable
2026/9/11

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/11
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Better Sidebardsh-better-sidebarBetter Sidebar for DSH — 在一列中提供文件树、编辑器、变更、任务和侧边聊天,并为每个对话单独显示。同时提供服务,供其他插件注册侧边栏标签页和文件查看器。Client Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH 技能中心:按来源(bundled / project / user / custom / runtime)浏览已加载的技能,在 Web GUI 面板中启用或禁用、创建和删除技能。Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包

README

deepseek-peak-hour-banner

A DeepSeek Harness web-GUI plugin that keeps DeepSeek's peak-hour rates in sight, in two seats over one clock:

StateSeatLook
Peakconversation.input.dock — the context strip above the composer, next to Todo / Goal / QueueAmber card: ⚡ HORA PICO · tarifas al doble · Termina en 1 h 12 min · 04:00 UTC / 01:00 local
Off-peakconversation.composer.dock — the composer footer, beside the shipped StatsPills rowMuted pill: ✓ Fuera de hora pico · próxima 22:00 local (en 1 h 12 min)

Only one seat renders at a time, and each flips on its own at the next UTC boundary: the card sits above the composer exactly while the provider bills peak rates, and the schedule waits quietly in the footer the rest of the time.

Both strings are plain literals in lib/client.js and ship in Spanish; edit them to localize.

English | Español

The schedule

Taken from the official pricing page (api-docs.deepseek.com/quick_start/pricing): off-peak rates are half of peak rates, and peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday. Every other hour is off-peak.

Windows are always evaluated in UTC, because that is what the provider bills in. Local clock time is only displayed, never used for the decision.

If DeepSeek ever changes the schedule, edit PEAK_WINDOWS_UTC in lib/client.js (offsets in minutes from UTC midnight) and reinstall.

Requirements

  • DeepSeek Harness with the web profile (dsh --profile web).
  • A profile with patchReload: live (the shipped web profile is).

Install

The repository root is the plugin package, it declares itself a dsh.bundle, and its browser bundle is committed — so there is no build step and no build permission to grant.

git clone https://github.com/MateoBarbato/deepseek-peak-hour-banner.git
dsh plugin --profile web add ./deepseek-peak-hour-banner

dsh plugin forwards to pnpm in the profile directory, which links the checkout and appends the package to dsh.profile.bundles. The bundle patch (cordis.patch.yml) then inserts the plugin row, so nothing else is needed. Because the install is a link to your checkout, later edits to this repository are picked up on save — the host's client-HMR poll reloads the browser bundle within a second.

The same command accepts the other distribution forms, none of which need a build permission:

dsh plugin --profile web add @mateobarbato/dsh-client-ui-peak-hour        # registry
dsh plugin --profile web add ./deepseek-peak-hour-banner-1.0.0.tgz        # pnpm pack
dsh plugin --profile web add github:MateoBarbato/deepseek-peak-hour-banner

Verify the layer without booting, then restart the GUI (a bundle layer is composed at boot; only the profile patch hot-reloads):

dsh --profile web --dump-config   # shows a "# == @mateobarbato/dsh-client-ui-peak-hour" layer

Uninstall

dsh plugin --profile web remove @mateobarbato/dsh-client-ui-peak-hour

How it works

FileRole
package.jsonDeclares dsh.bundle (the installable layer), dsh.client.platform: web, and the ./client export that dsh-client-modules discovers.
cordis.patch.ymlThe bundle layer: the insert row that mounts the plugin in a profile.
lib/index.jsHost half: an empty apply(), present only so the row mounts in the host Loader tree.
lib/client.jsBrowser half: a classic script registering one lazy factory on window.__ModuleLoader__.
test/schedule.test.mjsSchedule test: window edges, the Friday→Monday gap, and a minute-by-minute scan.
test/render.test.mjsRender test: both seats server-rendered with real React under a frozen clock, one per state.

Four contracts make this a plugin rather than a fork:

  • Bundle side — package.json declares dsh.bundle.patch, which answers "what does this package contribute?" with a patch layer. That is what makes dsh plugin add append the package to a profile's dsh.profile.bundles instead of installing it as an inert dependency.
  • Host side — package.json declares dsh.client with platform: "web" and exports ./client, so the client-modules host half serves the bundle at /plugins/@mateobarbato/dsh-client-ui-peak-hour/client.js and puts it in window.__DSH_BOOT__.
  • Browser side — the bundle registers a factory (factory(require) → exports) whose exports are an ordinary Cordis plugin (apply + inject). react is a platform seed word, so no dsh.client.external entry is needed, and the factory body runs at materialization rather than at script load.
  • Seat geometry — the card copies the shipped GoalBar dock box (side clearance plus four dock insets), so its max width resolves to --dsh-chat-content-width and it lines up with the composer card and the message action row instead of spanning the pane. The footer pill copies the StatsPills row instead: same column width, same centering, same --dsw-alias-label-tertiary colour and 13px scale, so it reads as one more stat rather than a second banner.

Why the pill is not inside StatsPills

StatsPills renders a root element in @deepseek-ai/dsh-client-ui-chat and exposes no slot inside it, so a plugin cannot add a child to that row — conversation.composer.dock is the slot that row occupies. Occupying it puts the pill in the same footer area and block, right after the stats, which is why the seat copies that row's geometry rather than nesting in it.

Development

npm install    # react + react-dom, used only by the render test
npm test       # schedule logic + both seats rendered in both states

The browser half has no build step: lib/client.js is committed as-is. A linked install picks edits up on save — the host's client-HMR poll reloads the browser bundle within a second, and a page reload is the fallback. Only a change to cordis.patch.yml needs a restart, because bundle layers are composed at boot.

Publishing

The package is ready for npm publish: the name is scoped to its author, files ships lib/, the patch and the docs, and there is no build output to produce (or pnpm pack if you would rather hand out a tarball).

Status

Verified on dsh 0.1.5-rc.1 (web profile): the schedule logic and both seats are covered by the test suite, and the package composes into a profile's entry list as a bundle layer through the real Cordis patch engine. There is no end-to-end browser test.

License

MIT