DeepSeek Harness Plugin

Ricketts-Guo/dsh-off-peak-message#dsh-offpeak-send

Stars ★ 5 Category Sessions & Messages Added 2026-08-21

Off-peak message scheduler: turn on valley mode and the composer queues your messages until DeepSeek off-peak hours (half price), then auto-injects them into the session and gets replies. Native-look composer, hotkeys (Enter queue / ⌘+Enter send now / Esc exit), per-session toggle persisted across restarts.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Ricketts-Guo/dsh-off-peak-message#path:/dsh-offpeak-send

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

DeepSeek 官方峰谷时段的 DSH 纯文本消息队列。新版 Flash 价格按 2026-09-20 官方页面核实,包含缓存命中价、北京时区及 2026 年法定节假日;支持旧配置迁移、跨重启队列和失败记录。

安装

需要 Node.js ≥ 22.13.0。从 Releases 下载版本包后:

dsh plugin --profile web add --save-prod --ignore-scripts "file:/绝对路径/dsh-offpeak-send-2.1.0.tgz"

随后在方便时自行重启对应 Web Profile。也可用 file:/绝对路径/dsh-off-peak-message/dsh-offpeak-send 安装源码子目录,不能直接安装仓库根目录。

使用与价格

点击输入框左侧「谷时模式」;Enter 入队,Shift+Enter 换行,⌘/Ctrl+Enter 立即发送,Esc 退出。退出模式保留已排队消息;每条支持取消。展开「价格与时段」查看最新内置价目及来源。

北京时间周一至周五(中国法定节假日除外)09:00–12:00、14:00–18:00 为峰时,其余为谷时。

人民币元 / 百万 tokens:

模型 峰时缓存命中 / 未命中 / 输出 谷时缓存命中 / 未命中 / 输出
deepseek-flash 0.04 / 2 / 8 0.02 / 1 / 4
deepseek-v4-pro 0.30 / 9 / 27 0.15 / 4.5 / 13.5

旧名 deepseek-v4-flash、deepseek-v4-flash-vision-exp 仍可调用,按新版 Flash 计费。官方价格,核对日期 2026-09-20。

数据与限制

  • DSH storageDomain offpeak 保存消息、配置和开关。旧默认价自动迁移,自定义价保留;未发送草稿不跨浏览器刷新保存。
  • 仅 DSH 运行时调度;重启按当前谷时规则重排。投递未确认时不自动重发,请先查看会话。
  • 谷时是投递时段,不保证繁忙 Agent、后续模型/工具请求或长任务的全部费用。沿用会话模型与权限,不读取或保存 API Key。
  • 内置价目不自动联网同步;内置假期覆盖 2026 年,未覆盖年份显示提示。
  • 卸载使用 dsh plugin --profile web remove dsh-offpeak-send,持久化数据保留。重新安装会恢复未取消的队列。

完整使用、配置和开发文档 · 兼容性 · 安全边界 · MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.