Awu12277/dsh-sleep-send 预览 preview

Awu12277/dsh-sleep-send

Plugin插件 Native原生 ⭐ 5 MIT Productivity & Tasks效率与任务

DSH Web 的定时发送插件:在输入框右侧提供「定时发送」按钮与配置面板,支持智能时段、自定义日期时间、多个定时任务,并通过 localStorage 持久化任务,刷新页面后自动恢复。

Project Overview项目介绍

dsh-sleep-send is a native Cordis plugin built exclusively for DSH Web, DeepSeek Harness’s browser-based interface. It adds a dedicated timed send button and configuration panel directly to the right of the conversation input box, right next to the default send button. The plugin is distributed via npm, and can be installed with a single command dsh plugin --profile web add dsh-sleep-send, or installed from a local development path or directly from the GitHub repository via DSH’s plugin CLI. After installation, you need to restart dsh web for the plugin to take effect. It follows DSH web plugin protocol conventions and has zero runtime dependencies, requiring no build step to run.

This plugin is designed for DSH Web users who want to compose messages in advance but schedule them to send at a later appropriate time. For example, you can write a work message after hours and schedule it to send automatically the next workday, without having to remember to open DSH and send it. The typical workflow is straightforward: after composing your message, click the timed send button, select either the default smart time mode or a custom date and time, then confirm to add the task to the queue. The input box is automatically cleared after adding a task, so you can queue multiple scheduled messages in sequence.

dsh-sleep-send is released under the permissive MIT open source license. All scheduled task data is stored only in the local browser’s localStorage, so no data is ever uploaded to any external server. This means that if you switch browsers, use incognito mode, or clear your browser’s site data for DSH Web, all your scheduled tasks will be permanently lost. When a task is due to send, the plugin first checks if the input box content has been modified; if it has, the task is automatically canceled to avoid overwriting your new content.

dsh-sleep-send 是专为 DSH Web 开发的原生 Cordis 定时发送插件,会在对话输入框右侧新增「定时发送」按钮与配置面板。插件支持智能时段选择、自定义日期时间设置,可同时管理多个定时任务,任务数据通过浏览器 localStorage 持久化存储,页面刷新后可自动恢复未发送任务。该插件已发布到 npm,可通过 dsh plugin 命令一键安装,也支持本地开发安装、Git 源安装等方式。

该插件适合需要提前编辑好消息但不想立即发送的 DSH Web 用户,比如提前准备了工作消息,希望在非工作时间结束后或午休时段自动发送。使用流程非常简单,用户输入内容后点击按钮,选择智能时段或自定义时间,确认后任务就会加入队列,输入框自动清空可继续编辑下一条。工具栏会显示已添加的任务数、下次发送时间和实时倒计时,方便用户查看。

该插件采用 MIT 许可证开源,纯 ESM 格式,零运行时依赖,无需额外构建即可使用。所有任务数据仅存储在用户当前浏览器的 localStorage 中,不会上传到任何服务器,更换浏览器、清除站点数据都会导致任务丢失。插件到点发送前会检查输入框内容,如果内容已修改会自动取消本次发送,避免覆盖用户新输入的内容。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 dsh-sleep-send

把 Awu12277/dsh-sleep-send 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-sleep-send

Awesome DSH Plugin npm version GitHub stars MIT

DSH Web 的定时发送 Cordis 客户端插件:在输入框右侧提供「定时发送」按钮与配置面板,支持智能时段、自定义日期时间、多个定时任务,并通过 localStorage 持久化任务,刷新页面后自动恢复。

🕐 "sleep-send" —— 把消息"睡"到合适的时刻再发送:默认只在 12:00–14:00 与 18:00–次日 08:00 这类得体时段内自动挑最近的时间发出,也可以完全自定义日期与时刻。

功能

  • 输入框右侧按钮:conversation.input.right 槽位,紧挨发送按钮;空草稿禁用、输入后激活。
  • 智能时段(默认):在 12:00 – 14:00、18:00 – 次日 08:00 两个时段内自动选取最近的可发送时间(当前时间 + 2 分钟起;不在时段内则取下一时段起点)。
  • 自定义日期时间:时间选择器 + 日期快捷(今天 / 明天 / 后天)+ 原生日期选择器(过去日期不可选);已过时间自动顺延一天;发送时间按具体日期显示(如 8月19日 周三 12:00)。
  • 多个定时任务:确认后追加任务并清空输入框(输入框恢复自由,可连续排队多条);弹窗内可查看 / 逐个删除已设定任务;工具行芯片显示任务数徽标 + 下次发送时间 + 实时倒计时。
  • localStorage 持久化(dsh.sched-send.v1):任务与自定义偏好刷新后自动恢复;恢复时未到期任务保留、15 分钟内过期的自动补发、更早的过期任务丢弃。
  • 防误覆盖:到点发送前若输入框内容已被修改,自动取消本次发送而不是覆盖新内容。
  • 无障碍与性能:全部可交互元素带 :focus-visible 焦点环;动画遵循 prefers-reduced-motion;脉冲动画仅使用 transform/opacity。

截图

工具行按钮与武装芯片 配置弹窗(智能时段) 配置弹窗(自定义日期时间)
工具行按钮与武装芯片 配置弹窗-智能时段 配置弹窗-自定义日期时间

截图为清新天蓝主题;替换 docs/screenshots/ 下同名文件即可更新。

安装

已发布到 npm,一条命令安装到你的 web profile:

dsh plugin --profile web add dsh-sleep-send
  • 本地开发安装:dsh plugin --profile web add file:D:\projects\github\sleep-send
  • 或直接通过 git:dsh plugin --profile web add github:Awu12277/dsh-sleep-send
  • 安装后重启 dsh web 生效;卸载:dsh plugin --profile web remove dsh-sleep-send

也可以作为普通库安装(源码 / 集成参考):

npm install dsh-sleep-send

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-remote-link 下一个 Next dsh-genui →