DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

tianhanly /

tianhanly/dsh-warm-reminder

Verified

智能温馨提醒插件,检测使用时长自动提示喝水、护眼、休息,支持深夜关怀与节假日祝福。基于DSH/Cordis框架开发。

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@4bba7296

DSH Warm Reminder · 温馨提醒助手

为 DeepSeek Harness 打造的右上角半透明提醒插件。
喝水、护眼、休息提醒 + 深夜关怀 + 节日祝福 + 峰谷梗 + 热门网络梗,仅在触发时出现,装完即忘。

Stars Latest release MIT License

如果它有用,一个 Star 就是最好的鼓励 ⭐

预览

温馨提醒助手:右上角半透明提醒通知

它会做什么

触发条件 通知内容
活跃累计 30 分钟 💧 喝水提醒(5 条文案随机)
活跃累计 1 小时 👀 护眼提醒(5 条随机)
活跃累计 3 小时 🧘 强制休息(4 条随机)
活跃累计 5 小时+ 🔋 劳逸结合(5 条随机)
打开窗口,0-2 点 / 3-4 点 / 5-6 点 🌙 深夜关怀 / 🦉 "你真是个耐熬王" / 🌅 "阎王请你吃早饭"
节日当天首次打开 🎉 元旦、春节、元宵、情人节、妇女节、愚人节、劳动节、母亲节、儿童节、父亲节、教师节、国庆、程序员节、双十一、圣诞节、中秋节
打开窗口(仅检测一次,非轮询) 📈 工作日 9-12 / 14-18 点 →「梁文峰时期」;其余 →「梁文谷时期」
活跃 >3 小时 且 凌晨 4-6 点 🍜 "你真是个耐熬王!阎王应该请你吃个饭!"
每活跃满 30 分钟 🔥 80+ 条热门网络梗随机一条(含 2026 梗百科新梗)
打开窗口 6% 概率 🎲 随机彩蛋(token 梗、工作区梗等 14 条加权随机)
特殊时刻 ⏰ 11:11 许愿 / 🍚 12:00 干饭 / 💝 13:14 / 💗 17:20 / 🍜 18:30 / 🔮 22:22 / 🎉 周五 17:00

设计细节

  • 时长按页面可见时间累计:切走/最小化暂停计时,关页面重开从零开始
  • 通知框:右上角半透明毛玻璃卡片,滑入动画 + 进度条,8 秒自动消失,点击关闭,最多 3 条排队
  • 纯客户端插件:不访问网络、不读写文件,全部本地 Date 计算;农历节日用内置公历对照表(2024-2035)

Install

dsh plugin --profile web add -w github:tianhanly/dsh-warm-reminder

Restart dsh once, and the reminders start watching you:

dsh --profile web

-w is not optional. The profile directory ships a pnpm-workspace.yaml, so pnpm reads it as a workspace root and refuses to install (ERR_PNPM_ADDING_TO_ROOT). -w is the "yes, install into the root" declaration, and dsh plugin forwards it to pnpm verbatim.

The repository ships its source as plain JavaScript (lib/) and has no prepare script, so pnpm runs no build script when installing from a git source and you never have to grant allowBuilds.

If you run harness from source, replace dsh above with pnpm dsh inside the harness directory.

Uninstall

dsh plugin --profile web remove dsh-warm-reminder

Requirements

依赖 要求 说明
DeepSeek Harness 支持 shell.overlay 与 dsh.bundle 机制的版本 插件挂在全局浮层插槽上,由 bundle patch 自动挂载
profile 必须是 web profile headless / tui 没有浏览器客户端,插件不会激活
其他 无 零外部运行时依赖:不联网、不装额外包、无配置项

Configuration

无需任何配置。想改文案或梗池:直接编辑 lib/client.js 顶部的常量区(MILESTONES / DEEP_NIGHT / HOLIDAY / HOT_MEMES / MEMES / TIME_EGGS),保存后重启 dsh 生效。

Development

# 本包为纯 JavaScript,无构建步骤:
#   lib/index.js  — Host 半(空壳,客户端插件只需占位)
#   lib/client.js — Client 半(全部逻辑)

用 link: 方式安装到 profile 后,改完 lib/client.js 只需重启 dsh,无需重新 add:

dsh plugin --profile web add -w link:C:/Users/14638/Desktop/code/harness/项目/dsh-warm-reminder

lib/client.js 是 CJS closure-factory 形式(window.__ModuleLoader__.load({ id, factory })),React 来自模块表注入的 require,不打包任何外部依赖——这是 dsh 模块表规定的形态。

License

MIT © 2026 tianhanly


如果它有用,一个 Star 就是最好的鼓励 ⭐

—/ 5

No ratings yet

Verified DSH bundle

Commit 4bba7296f82c

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout