dshbase

插件目录 / Developer / dsh-scheduled

dsh-scheduled

未验证 ylxmf2005

✓ 持续维护 基于 18 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
语言
2026-08-23最近推送
跨平台平台

功能简介

Durable heartbeat and cron automations for DeepSeek Harness

我们的评价
未验证 — 尚未实测

Durable heartbeat and cron automations for DeepSeek Harness 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-scheduled

Durable heartbeat and cron automations for DeepSeek Harness.

dsh-scheduled is a global automation plugin: one installation manages schedules across projects and sessions. This is intentionally different from DSH's built-in dsh-schedule, which stores session-local reminders in the session event log.

Features

  • Heartbeat resumes a saved DSH conversation and follows up in that thread.
  • Cron creates a fresh project session for each run, optionally in an isolated Git worktree.
  • RFC 5545 recurrence rules with IANA time zones and DST-aware wall-clock scheduling.
  • Durable automation and run history in one atomic JSON file.
  • Overlap prevention, skipped-occurrence recording, interruption recovery after restart, and explicit error codes.
  • Agent tool plus a Web Settings page backed by the same Host RPC service.
  • Cordis-owned timers and agent-scoped tool registration so plugin effects are disposed with DSH lifecycles.

Install

The package is a DSH bundle and can be installed from the public GitHub repository with the normal plugin command. Pin a commit for reproducible installs:

dsh plugin --profile web add github:ylxmf2005/dsh-scheduled#56c067b

The v0.1.4 release also includes a prebuilt tarball if you do not want an install-time build:

dsh plugin --profile web add https://github.com/ylxmf2005/dsh-scheduled/releases/download/v0.1.4/dsh-scheduled-0.1.4.tgz

For a GitHub checkout, allow the package build in the profile's pnpm-workspace.yaml:

dsh plugin --profile web add github:ylxmf2005/dsh-scheduled#<commit>
allowBuilds:
  dsh-scheduled: true

Git installs fetch source and run the package's self-contained prepare build. Only allow builds from source you trust. Restart DSH after installation, then open Settings > Plugins > Scheduled.

Usage

Schedules use RFC 5545 text. Include DTSTART and TZID when wall-clock timing matters:

DTSTART;TZID=Asia/Shanghai:20260822T090000
RRULE:FREQ=DAILY;BYHOUR=9;BYMINUTE=0

Heartbeat automations need a target session. Cron automations need a project path. The automation_update tool exposes create, list, view, update, delete, run, runs, and mark_read operations; the Settings page exposes the same operations through Host RPC.

Failed runs are recorded and do not retry automatically. The next recurrence remains scheduled unless the automation is paused or completed.

Persistence and retention

The plugin stores global automation state at $DSH_HOME/automations/automations.json by default. Global persistence is deliberate: schedules can resume cold sessions and create runs across projects, which cannot be represented by one session's event log. Writes use a temporary file and rename, and startup fails loudly when the store is corrupt rather than silently discarding schedules.

Cron worktrees are retained by default so the run's DSH session remains inspectable after completion. Remove them only after reviewing the associated run and any changes made by the agent.

Development

Requires Node.js >=22.19.0 and pnpm.

pnpm install
pnpm test
pnpm run typecheck
pnpm run build
pnpm pack --dry-run

pnpm run prepare/npm run prepare builds the same self-contained artifacts used by GitHub installs. See CONTRIBUTING.md for the contribution workflow and CHANGELOG.md for release history.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-scheduled」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:ylxmf2005/dsh-scheduled

Headless(CLI)profile:

dsh plugin --profile headless add github:ylxmf2005/dsh-scheduled

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-27
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →