dsh-scheduled-tasks
Manifest validRuns a prompt on a cron-like interval; every run opens a fresh session and the run history is kept.
定时任务(dsh-scheduled-tasks)
给 DSH 加一套定时任务:每个任务绑定一个 Agent 预设、一段提示词和一个周期,到点后开启一个全新的会话执行那段提示词,并保留运行记录。
有什么
- 任务:名称、绑定的 Agent 预设、提示词、周期(cron 式)、启用开关。
- 到点执行:每次触发都新开一个会话,而不是接着旧会话往下跑——所以上下文干净、结果可复现。
- 运行记录:每次执行的时间、结果与错误,按
runHistoryLimit保留(默认 500 条)。 - 设置页:任务列表、运行历史、创建 / 编辑对话框。
安装
dsh plugin add @istarry/dsh-scheduled-tasks
装完重启 DSH 服务。
权限与行为
- 会在 harness home(
~/.dsh)下保存任务定义与运行记录。 - 触发时会创建新会话并消耗模型额度——任务越多、周期越密,消耗越明显。
- 调度只在 DSH 进程存活时生效:关掉 DSH 之后的时间段不会补跑。
兼容性
- 实测于 DSH
0.2.0-rc.2。 - peer 依赖:
@deepseek-ai/cordis、@deepseek-ai/schemastery及若干官方内部包(见各自 package.json)。
结构
| 包 | 职责 |
|---|---|
@istarry/dsh-scheduled-tasks | 调度引擎:任务存取、触发、创建会话 |
@istarry/dsh-client-ui-settings-scheduled-tasks | 设置页:任务列表、运行历史、编辑对话框 |
许可
MIT,见 LICENSE。
Comments
Loading…
Similar plugins
by Jesse-njx
Scheduled agents on a cron: run a prompt on a schedule and get the digest where you already are, with overlap/missed-run/timeout safety defaults.
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add @dsh-routines/bundleCron/one-shot scheduled tasks: run shell commands or fire webhooks on a schedule, with optional ServerChan/DingTalk/Feishu/webhook delivery of results.
★ 0
dsh plugin --profile web add dsh-schedulerby yangdongzhen590
Cron task scheduler for DeepSeek Harness: scheduled sessions with your prompt, workspace-aware placement, paginated execution history, open-session from the panel.
★ 3
↓ 161/wk
MIT
TypeScript
Sep 9, 2026
dsh plugin --profile web add dsh-schedulerby LosEcher
DSH scheduler plugin: cron/interval/once jobs, headless execution, run ledger, deliverTo, circuit breaker, session management UI
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-schedulerby a792883583
Scheduled tasks panel for managing DSH agent and system crontabs with natural language input and execution logs.
★ 2
↓ 234/wk
MIT
TypeScript
Sep 17, 2026
dsh plugin --profile web add dsh-cron-panelby squirrel20
Unattended scheduled jobs for the DeepSeek Harness (dsh): agent/command tasks on cron schedules
★ 4
↓ 87/wk
MIT
JavaScript
Sep 21, 2026
dsh plugin --profile web add dsh-cron