No description
Find a file
Whale-Zhang ef8ff6e10d Initial commit: scheduled tasks plugin for DeepSeek Harness
Sidebar jobs under New Session, isolated run history, cron/at schedules, and model-facing cron_* tools.
2026-08-24 14:16:47 +08:00
docs Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
lib Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
test Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
.gitignore Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
cordis.patch.yml Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
LICENSE Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
package.json Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00
README.md Initial commit: scheduled tasks plugin for DeepSeek Harness 2026-08-24 14:16:47 +08:00

dsh-cron-tasks

DeepSeek Harness 插件:定时任务。

  • 左侧侧边栏 「新会话」按钮正下方 的 「定时任务」 入口:查看、创建、暂停/恢复、删除、立即运行
  • 设置 → 插件 → 插件配置 里的调度策略(启用、默认时区、历史保留、重叠/漏跑)
  • 到点后 新开 root Session 跑自包含提示词;运行会话 不出现在工作区列表,只留在 定时任务历史

产品契约见 docs/PRD.md。本轮实现经验见 docs/NOTES.md。

行为

  • 日程:一次性 at(ISO 8601)或循环 5 字段 cron,IANA 时区
  • 重叠:同一任务已有 queued/running 则记 skipped,不开第二场
  • 漏跑:Host 宕机期间错过的节拍 不补跑(不是 OS daemon)
  • 提示词按不可信内容包裹,消息来源是 plugin,不伪装成人手输入

安装

# 拷到运行时目录后再 file: 安装(不要用 link:)
dsh plugin --profile web add file:$HOME/.dsh/plugins/dsh-cron-tasks
dsh plugin --profile desktop add file:$HOME/.dsh/plugins/dsh-cron-tasks

改 bundle 后 重启 对应 profile。dsh --profile web --dump-config 应能看到 id: dsh-cron-tasks。

开发

node --test test/*.test.js