dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:guanzi279-source/dsh-peak-valley-countdown
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
在 DeepSeek Harness 输入框下方显示一枚 DeepSeek 峰谷倒计时徽章:
🌙 谷时 距离梁文峰还有 01:21:24
☀️ 峰时 距离梁文谷还有 02:50:55
梁文峰是 DeepSeek 创始人;「梁文谷」是谷时的谐音梗。倒计时指向下一次峰谷切换,跨周末或节假日时自动带天数,例如 2天 14:00:00。
conversation.composer.dock,与 activity、usage 并排显示,不遮挡输入框。2天 14:00:00。| 时段 | 时间(北京时间) |
|---|---|
| 峰时 | 周一至周五 09:00–12:00、14:00–18:00 |
| 谷时 | 其余所有时间,含周末与法定节假日全天 |
规则依据 DeepSeek API 定价页(官方以 UTC 描述,这里换算为 UTC+8)。DeepSeek 可能调整价格与时段,请以官方页面为准。
client.js 中的 HOLIDAY_RANGES 内置了 2026 年安排(依据国办发明电〔2025〕7号):
2027 年安排公布后,在 HOLIDAY_RANGES 里补一段日期即可;未列出的日期按工作日/周末判断。
dsh plugin --profile web add dsh-peak-valley-countdown
dsh plugin --profile web add github:guanzi279-source/dsh-peak-valley-countdown
安装后刷新页面,徽章出现在输入框下方;如果你的 profile 不是 web,把 --profile web 换成实际 profile(例如 desktop)。
安装后无需配置。徽章会自动显示当前时段和倒计时;悬停可查看峰谷规则。倒计时归零时徽章会切换到下一个时段。
0.2.1-rc.2 的 Web profile 上测试通过。conversation.composer.dock 插槽与 locale 服务(DSH 0.2.x)。插件只读取系统时钟并在本地渲染。没有网络请求、没有遥测、没有持久化存储,也不读取会话内容。
client.js 浏览器端组件:倒计时计算、渲染、中英文词条
index.js Host 端空实现
cordis.patch.yml 插件行声明
locale/ Plugin Manager 的中英文标题与描述
icon.svg 插件图标
contrib/ 投稿到社区市场的辅助文件
MIT © 2026 guanzi279-source
A compact composer-dock badge for DeepSeek API peak/off-peak pricing. During off-peak it shows “Liang Wenfeng arrives in …”; during peak it shows “Liang Wengu arrives in …” (梁文谷 is a pun on 谷, “valley”). It counts down to the next transition, adds days across weekends and Chinese public holidays, is fixed to UTC+8, and ships the 2026 Chinese public holiday calendar.
Peak hours are Monday–Friday 09:00–12:00 and 14:00–18:00 Beijing time; all other hours, weekends and public holidays are off-peak, per the DeepSeek pricing page.
Install from npm:
dsh plugin --profile web add dsh-peak-valley-countdown
Or from GitHub source:
dsh plugin --profile web add github:guanzi279-source/dsh-peak-valley-countdown
No network access, no telemetry, no configuration. Tested on DeepSeek Harness 0.2.1-rc.2 Web.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。