dsh-offpeak-send
by Ricketts-Guo
谷时发送调度器:开启谷时模式后输入框消息排队至 DeepSeek 谷时窗口(半价)自动注入会话并得到回复。原生外观输入条、快捷键(Enter 入队 / ⌘+Enter 立即发送 / Esc 退出)、按会话记忆的开关,重启不丢。
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.
安装
dsh plugin --profile web add github:Ricketts-Guo/dsh-off-peak-message#path:/dsh-offpeak-sendGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
DSH 谷时发送插件(标准 profile bundle):开启「谷时模式」后,输入框发送的消息进入谷时队列,Host 计时器在谷时窗口(DeepSeek 官方峰谷计价的谷时段,价格为峰时 50%)到点时自动注入会话并触发 Agent 回复。
安装
# 注册到活动 profile(生成 .package-map.json,冷启动才能解析)
pnpm --dir ~/.dsh/profiles/web add --save-prod dsh-offpeak-send
# 在 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles 追加 "dsh-offpeak-send"
# 完全退出并重新打开 DeepSeek Harness
使用
- 输入框左侧「谷时模式」胶囊开关(按会话记忆,持久化)
- ON 后:
Enter入队 ·⌘/Ctrl+Enter立即发送 ·Esc退出 ·Shift+Enter换行 - 谷时内入队立即发送;峰时排队至下一谷时起点自动发送
- 队列条显示待发条数 + 下个谷时倒计时,逐条可 [立即发送] / [取消]
数据
队列 / 开关 / 配置持久化于 ~/.dsh/storages/offpeak.json(storageDomain 域 offpeak),与代码解耦,重启自动对账重排。
开发
node --check lib/index.js && node --check lib/client.js # 语法
node test/window.test.mjs # 时间窗算法测试
文档
- 仓库 README(部署/使用/架构)
docs/配置说明.md(config 字段速查/谷时窗口表/价目表)docs/官方价目核对.md(峰谷计价证据与链接)
许可证
MIT
原始 README: https://github.com/Ricketts-Guo/dsh-off-peak-message/blob/main/dsh-offpeak-send/README.md ↗
同类插件
查看全部 →
archify
Agent 技能:生成美观、可校验的架构图、工作流图、时序图、数据流图与生命周期图——自包含 HTML、带动画与清晰导出

dsh-turn-rewind
对话回退:基于持久 Change Ledger 回滚会话与工作区状态。

dsh-plugin-cc
把 DeepSeek Harness 接入 Claude Code:评审、批评、委派与会话导入

dsh-interconnect
跨实例互联:经 interconnect 服务在多个 DSH 实例间转发消息与事件。

dsh-chat-import
把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

dsh-crew
DSH 插件:从 Claude Code / Codex 向 DSH agent 派活——原生 subagent 进度、宿主内 worker 会话(分级预设),以及为纯文本宿主补上视觉与图像生成的多模态桥