- Accueil
- Plugins
- Flux et automatisation
- dsh-scheduled-tasks
I
dsh-scheduled-tasks
istarrydust/dsh-scheduled-tasks
Scheduled tasks: run a prompt on a fixed interval, each run opening a fresh session, with a run history.
Installer
dsh plugin --profile web add github:istarrydust/dsh-scheduled-tasksREADME
定时任务(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。
Plugins associés
L
webnovel-writer
lingfengqaq/webnovel-writer
7.2kil y a 26 joursFlux et automatisationGPL-3.0
L
loopx (dsh-loopx-plugin)
loopx-project/loopx
6.4kil y a 3 heuresFlux et automatisationApache-2.0
Q
ouroboros (dsh-plugin)
q00/ouroboros
6.3kil y a 3 heuresFlux et automatisationMIT
H
loopx (dsh-loopx-plugin)
huangruiteng/loopx
5.9kle mois dernierFlux et automatisationApache-2.0