a961282799-crypto/dsh-timeband
DeepSeek Harness 桌面端头像右侧的峰谷时段插件。状态、切换倒计时、迷你时间轴常驻;点击查看北京时间 24 小时时间轴。没有价格、消费金额、Token、余额或预计节省功能,也不读取账户或 API Key。
catalog descriptioncatalog 简介 / catalog description:DeepSeek Harness 头像旁的峰谷时段、倒计时与 24 小时时间轴插件
Project Overview项目介绍
DSH TimeBand is a peak/off-peak time-band plugin built exclusively for the DeepSeek Harness desktop client, surfacing current billing-period status, a live countdown to the next switch, and a persistent mini timeline next to the avatar in the right sidebar slot. It is implemented as a native Cordis plugin that consumes the host's shared React 18 runtime and ships no extra runtime npm dependencies, with the bundle emitted in the DSH __ModuleLoader__.load({ id, factory }) format via esbuild. Installation is done by downloading the prebuilt archive dsh-timeband-1.0.1.tgz from GitHub Releases, fully quitting Harness from the tray, and running dsh plugin --profile desktop add ./dsh-timeband-1.0.1.tgz; if the dsh binary is not on PATH, the bundled dsh.cmd inside the desktop install directory can be invoked instead, while the web variant uses --profile web so the component renders in the same native sidebar.footer slot.
The typical workflow is glance-driven: with the sidebar expanded, the user reads the period label, watches the days/hours/minutes/seconds countdown shrink toward the next transition, and consults the 24-hour Beijing-time timeline inside a host-native Popover that closes on outside click or Escape; when collapsed, only a compact icon plus status dot remain visible. The component reads its clock from an injected, pausable, single subscriber and consumes an injected translator, which keeps view.tsx free of side effects. The plugin is aimed at desktop Harness users who call the official DeepSeek API directly and want an offline reference for when Beijing-time peak windows begin and end, including weekend and make-up workday handling.
Boundaries are explicit: the avatar area has no official slot, so the plugin registers into sidebar.footer.action and patches the rc.2 footer containers only when structural preconditions hold, leaving the original avatar button and events untouched and yielding to native layout on conflicts. Rules are locked to the official DeepSeek pricing page verified on 2026-09-30, with 2026 public holidays hard-coded in src/calendar.ts; unknown years show "待核实" and the countdown refuses to guess. Nothing about price, tokens, balance, account, or API key is read, the plugin never makes network requests, and validation only covers Harness 0.2.0-rc.2 — host upgrades require re-verification. License is MIT, and the install script goes through the official CLI without modifying Harness files.
DSH TimeBand 是一款面向 DeepSeek Harness 桌面端的峰谷时段插件,通过宿主共享的 React 与 Cordis 原生插件接口运行,显示头像右侧时段状态、切换倒计时和常驻迷你时间轴,点击弹出北京时间 24 小时完整时间轴。安装需下载预构建包 dsh-timeband-1.0.1.tgz,先从托盘退出 Harness,再执行 dsh plugin --profile desktop add ./dsh-timeband-1.0.1.tgz,Web 版改用 --profile web 即可;卸载使用 remove dsh-timeband。界面支持浅色/深色、中英文、侧栏折叠与节假日全天谷时段,组件注册到 sidebar.footer.action 并严格结构条件下微调 rc.2 容器,不破坏原头像按钮事件。
典型使用场景为查看官方 API 当前是否处于峰时段以安排调用:侧栏展开时头像右侧展示时段文字、剩余倒计时(不足一天省略天、不足一小时省小时、不足一分钟只显秒)以及今日迷你时间轴;收起时只剩紧凑图标与状态点。卡片由原生 Popover 承载,支持外部点击与 Escape 关闭,并在窗口边界内自约束。目标用户为频繁调用 DeepSeek 官方 API 并希望离线参考峰谷规则的桌面端 Harness 用户,节假日与调休逻辑内置。
依赖与限制方面:插件基于 TypeScript 7 + React 18,采用 esbuild 输出 DSH 的 __ModuleLoader__.load 格式,发布包无运行时 npm 依赖,不重复打包 React,时间规则依据 2026-09-30 核实的官方文档,节假日数据来自国务院办公厅通知,src/calendar.ts 需每年手动更新。插件仅针对 DeepSeek Harness 0.2.0-rc.2 验证,宿主升级后应重新校验;离线运行,不联网抓取、不读取账户或 API Key、不显示价格或 Token 余额。许可为 MIT,构建脚本通过官方 CLI 安装,不修改应用文件。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-timeband(a961282799-crypto/dsh-timeband)
仓库:https://github.com/a961282799-crypto/dsh-timeband
本站详情页:https://www.yhbd.top/plugins/a961282799-crypto-dsh-timeband/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-10-02 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:a961282799-crypto/dsh-timeband
把 a961282799-crypto/dsh-timeband 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH TimeBand
DeepSeek Harness 桌面端头像右侧的峰谷时段插件。状态、切换倒计时、迷你时间轴常驻;点击查看北京时间 24 小时时间轴。没有价格、消费金额、Token、余额或预计节省功能,也不读取账户或 API Key。
支持浅色 / 深色、中英文、侧栏折叠与节假日全天谷时段。节假日卡片精简重复时段说明,规则与日历默认折叠;关键时间与刻度使用更清晰的字号和颜色。离线运行,采用宿主共享的 React 和 Cordis 原生插件接口。
展示
以下截图使用插件真实构建产物,宿主布局和账户区域为模拟,日期与时间固定;不是实际桌面端截图。

午间谷时段:分钟与小字号秒数

国庆假期:全天绿色,跨天倒计时

深色模式:不足一分钟只显示秒

安装
已针对 DeepSeek Harness 0.2.0-rc.2 制作。版本声明只覆盖此版本,宿主升级后应重新验证并更新 peer 范围。
从 GitHub Releases 下载预构建安装包 dsh-timeband-1.0.2.tgz。不需要安装开发依赖或自行编译。
从托盘完全退出 Harness,在下载目录执行:
dsh plugin --profile desktop add ./dsh-timeband-1.0.2.tgz
如果 dsh 不在 PATH,使用桌面端安装目录中随附的命令,例如:
& 'C:\path\to\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add ./dsh-timeband-1.0.2.tgz
安装后重新打开 Harness,侧栏底部即可看到插件。卸载:
dsh plugin --profile desktop remove dsh-timeband
从源码打包
npm ci
npm run build
npm pack --pack-destination artifacts
先从托盘完全退出 Harness,再在本目录执行:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-desktop.ps1
脚本默认使用 PATH 中的 dsh,也可传入 -DshCommand 指定随附 dsh.cmd 的完整路径。脚本通过官方 CLI 安装,不修改应用文件;如应用仍运行会停止并提示退出,不强制结束进程。重新打开 Harness 后生效。
Web 版可改成 --profile web,组件显示在侧栏底部原生插槽。
界面与兼容边界
- 桌面端侧栏展开:头像右侧显示时段、倒计时和今日迷你时间轴。倒计时按剩余时间显示「天、小时、分钟」,秒以较小字号跟随;不足一天省略天,不足一小时只显示分钟和秒,不足一分钟只显示秒。
- 侧栏收起:紧凑图标和状态点;点击仍可查看完整卡片。
- 原生 Popover 提供顶层显示、外部点击关闭;Escape 关闭并回到触发按钮。卡片会限制在窗口内,支持中英文与宿主颜色变量。
- 头像右侧没有独立的官方插槽。插件注册到
sidebar.footer.action,以带严格结构条件的 CSS 调整 rc.2 的两个底部容器,保留原头像按钮及其事件。若同一插槽有其他插件或宿主布局不匹配,保留原生上下排列,不强行修改 DOM。 - 当前信息只表示 DeepSeek 官方 API 的时间规则;第三方中转服务是否采用这些规则由其自行决定。
规则与日历
2026-09-30 核实:DeepSeek 官方定价说明。北京时间周一至周五 09:00–12:00、14:00–18:00 为峰时段,开始包含、结束不包含;其他时间为谷时段。周末即使是调休上班日也保持谷时段。
src/calendar.ts 内置 2026 年公共假期,取自国务院办公厅通知的政府转载,覆盖完整放假区间。新年份需要按当年公告更新此文件的 years、holidays 和 verifiedOn,同时更新界面日历覆盖文案。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Nwflower/dsh-chat-import
PolinniZhong/dsh-knit
MichengAI/dsh-automation
titanwings/dsh-plannotator
AHGGG/dsh-side-chat
bobleer/dsh-acp-for-bitfun