🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI
广告☁️ 云服务器特惠阿里云首购 8 折 · 腾讯云合作特惠
DeepSeek Harness Hub
← 返回列表

Sev7een/dsh-plugin-automations

DeepSeek Harnessspec-screened扫描:低风险在 GitHub 查看 ↗
⚠ 装前注意

为 DeepSeek Harness Web Profile 提供定时任务:支持仅一次执行或标准六字段 Cron…

基本兼容但装前注意:未发布到 npm registry,仅可从源码安装 · 最近上游提交 2026/9/8 · 已提供中文文档

DeepSeek Harness Web Profile 的定时任务插件

综合分
35.2
GitHub 分
35.2
用户评分
—
★ Stars
2
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add Sev7een/dsh-plugin-automations
未发布到 npm registry,仅可从源码安装,改用 GitHub 源安装
信任档位:仅索引本站尚未对其实装验证,仅收录元数据
是什么
dsh 原生插件 · chat
装得上吗
静态安装检查有提示项,装前建议看一眼 README
安全吗
本站尚未对该插件做风险分级(暂未覆盖,不等同于无风险)
还在维护吗
活跃:最近一次提交在 17 天前

档位由下列信号合成:本站实装验证(真实安装,当前最高到 L4)· 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。下方各区块是它的证据明细。 验证判据与等级说明 →

数据截至 2026/9/21(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
安装兼容性检查⚠ 装前注意

以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。

✗npm 包dsh-plugin-automations(未发布到 npm,仅可源码安装)
✓Node 引擎要求 >=20 · 基线 Node 22.19 满足
✓dsh CLI 依赖未声明 dsh 版本约束
✓入口文件main/exports/bin 已声明

未发布到 npm registry,仅可从源码安装

验证方式:npm registry 存在性 + package.json 静态校验 · 最后验证 2026/9/21 08:59:30

依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/cordis-plugin-timer@deepseek-ai/dsh-agent@deepseek-ai/dsh-agent-default-model@deepseek-ai/dsh-agent-presets@deepseek-ai/dsh-host-webserver@deepseek-ai/dsh-llm@deepseek-ai/dsh-sandbox-policy@deepseek-ai/dsh-session@deepseek-ai/dsh-session-persistence@deepseek-ai/dsh-storage@deepseek-ai/dsh-storage-domain
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

由 DeepSeek 最新模型翻译生成
dsh-plugin-automations

为 DeepSeek Harness Web Profile 提供定时任务:支持仅一次执行或标准六字段 Cron 周期,并可选择准点执行或谷时段执行。

功能特性

- 设置页“定时任务”表单与任务列表,每 5 秒轮询一次。
- 两种执行方式:准点执行和空闲执行(谷时段)。
- 两种调度类型:仅一次和标准六字段 Cron;Cron 使用宿主进程本地时区。
- when_idle 仅在北京时间高峰 09:00-12:00、14:00-18:00 之外执行;高峰期内自动顺延至下一个谷时段。
- 可选 Session 标题模板支持全部任务字段和 Moment 风格的日期格式,例如 Daily Feed · {{scheduledAt:YYYY-MM-DD}}。
- 使用 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 仅一次 | 进入终态后不再执行。 |
| cron | 每个 occurrence 进入终态后计算下一次匹配时间;失败的 occurrence 不自动重试。 |

HTTP API

- POST /dsh-scheduled-tasks/api/v1/tasks
- Content-Type: application/json
- X-DSH-Scheduled-Tasks: 1
- Body:{ prompt, schedule, mode, sessionTitleTemplate? }
- 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",
"schedule": { "type": "cron", "expression": "0 0 8 * * *" },
"mode": "on_time",
"sessionTitleTemplate": "Daily Feed · {{scheduledAt:YYYY-MM-DD}}"
}'

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

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

同作者(Sev7een)的其他插件

💬 加入社群

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

DPharness QQ 群二维码,QQ 扫码进群
QQ 扫码进群
DPharness 飞书群二维码,飞书扫码进群
飞书扫码进群