dsh-plugin-automations
by Sev7een
设置页定时任务:支持准点或 DeepSeek 谷时段执行、单次/每日重复,并持久化任务状态。
Settings-based scheduled tasks that run on time or during DeepSeek off-peak hours, with one-time and daily schedules backed by durable task state.
安装
dsh plugin --profile web add github:Sev7een/dsh-plugin-automationsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
dsh-plugin-automations
为 DeepSeek Harness Web Profile 提供定时任务:支持准点执行、只在 DeepSeek 谷时段执行的“空闲执行”,以及每天重复执行。
功能特性
- 设置页“定时任务”表单与任务列表,每 5 秒轮询一次。
- 两种执行方式:准点执行和空闲执行(谷时段)。
- 两种重复方式:仅一次和每天执行。
when_idle仅在北京时间高峰09:00-12:00、14:00-18:00之外执行;高峰期内自动顺延至下一个谷时段。- 每天执行保持相同的本地墙钟时间,正确处理跨月和夏令时变化。
- 使用
ctx.storageDomain持久化任务状态。 - 单一串行 Scheduler pump,先持久化
running再启动 Runner。 - 每次执行使用独立 Session,并继承默认 Agent preset、模型和 Host workspace root。
- 固定 30 分钟执行超时,并在启动时明确恢复
host_interrupted任务。 - 严格校验 JSON、请求大小、同源 Origin 和自定义 mutation header。
- 自动化消息标记为
{ kind: 'plugin', plugin: 'dsh-plugin-automations' },不伪装成直接人类输入。
完整行为契约见 SDD.zh-CN.md。
安装
dsh plugin add(推荐)
将插件安装到 Web profile,安装后重启 DSH。
从 GitHub 安装
dsh plugin --profile web add github:Sev7een/dsh-plugin-automations
从 npm 安装
软件包发布到 npm 后使用:
dsh plugin --profile web add dsh-plugin-automations
如果通过 npx 运行 DSH,请使用:
npx @deepseek-ai/dsh plugin --profile web add github:Sev7een/dsh-plugin-automations
检查组合配置并重新启动 Web 应用:
dsh --profile web --dump-config
dsh web
启动后进入 设置 → 定时任务。
从本地源码安装(开发)
git clone https://github.com/Sev7een/dsh-plugin-automations.git
dsh plugin --profile web add ./dsh-plugin-automations
卸载
dsh plugin --profile web remove dsh-plugin-automations
使用说明
执行方式
| 模式 | 行为 |
|---|---|
on_time 准点执行 |
到期后创建独立 DSH Session 并立即执行。 |
when_idle 空闲执行 |
仅在北京时间谷时段执行;高峰期到期的任务等待到下一个谷时段。 |
重复方式
| 重复方式 | 行为 |
|---|---|
once 仅一次 |
进入终态后不再执行。 |
daily 每天执行 |
下一自然日相同的本地墙钟时间再次执行。 |
HTTP API
POST /dsh-scheduled-tasks/api/v1/tasksContent-Type: application/jsonX-DSH-Scheduled-Tasks: 1- Body:
{ prompt, scheduledAt, timeZone, mode, repeat }
GET /dsh-scheduled-tasks/api/v1/tasks
curl -X POST http://127.0.0.1:3080/dsh-scheduled-tasks/api/v1/tasks \
-H 'Content-Type: application/json' \
-H 'X-DSH-Scheduled-Tasks: 1' \
-d '{
"prompt": "check project tests",
"scheduledAt": "2026-08-15T01:00:00+08:00",
"timeZone": "Asia/Shanghai",
"mode": "when_idle",
"repeat": "daily"
}'
MVP 不提供编辑、删除、暂停、取消、重试或分页接口。
开发
npm install --legacy-peer-deps
npm run check
npm test
npm run build
npm pack --dry-run
当前本地开发需要 --legacy-peer-deps,因为公开的 @deepseek-ai/dsh-storage-domain 仍携带旧版 peer range,而当前 DSH Web bundle 使用更新版本。
许可
MIT
原始 README: https://github.com/Sev7een/dsh-plugin-automations/blob/main/README.zh-CN.md ↗
同类插件
查看全部 →
deepseek-harness
从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

dsh-plugin
通过 DSH MCP 客户端挂载 Ouroboros 的纯配置包,在 DSH 中提供 36 个涵盖需求访谈、Seed、执行、评估与演化流程的工具。

dsh-tongflow
基于 TongFlow 的“片场”插件,用于图片、配音、音乐与视频制作:agent 为每个资产生成 TongFlow 工作流文件(.tongflow.json)并通过 TongFlow 插件执行,内嵌工作流画布,按镜头/角色/take 组织项目,附漫剧模板;以 @tongflow 开头的会话进入 Studio 界面。

helloagents
AI 编码 CLI 的工作流层:技能、项目知识、交付检查、更安全的配置写入与可恢复执行

dsh-ai-novel-writer
安装专用 AI 小说创作预设与工作台:提供带修订号的本地项目资产、紧凑侧边工作台,以及需要原生审批的逐文件变更。

rea
用 agent 逆向任何东西:从应用行为到原生二进制