ZhenMoon/dsh-scheduler

ZhenMoon★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

Autonomous scheduled-task plugin for DeepSeek Harness (DSH): cron or fixed-interval subprocess jobs with recorded results, persisted across restarts

README 摘要

dsh-scheduler An autonomous scheduled-task plugin for DeepSeek Harness (DSH), built as a dynamic Cordis plugin. It lets the agent schedule subprocess commands on a cron expression or a fixed interval , records each run's exit code and output tail, and persists everything to a JSON state file so schedules survive plugin restarts. No npm dependencies. Scheduling runs on the DSH host process (timer service), execution uses the subprocess service. What it does Piece Where Role Host half ( host-half.js ) DSH host process 1-second tick, cron/everyMs next-run computation, subprocess execution, result capture, JSON persistence State file /state.json Schedules + last run results, restored on plugin (re)start Requirements - DeepSeek Harness with the dynamic-Cordis extension - The host process must stay running for tasks to fire (results are read later via schedule list ) Install 1. Place this repo somewhere on the machine. 2. In host-half.js , edit the two constants: STATE PATH (where the JSON state lives) and BASE CWD (default working directory for scheduled commands, and the writable root the sandbox policy is scoped to). 3. In your DSH session, define the plugin — paste the entire content…

在 GitHub 查看完整 README →
Agent/智能体ai-agentscordiscrondshdsh-pluginscheduleragent

分类