dsh-scheduled-tasks
Manifest validScheduled tasks plugin for DSH automation
dsh-scheduled-tasks
English | 简体中文
一个 DeepSeek Harness(dsh) Web 侧边栏的定时任务插件:把你想让 dsh 做的事情写成一条任务,设置好时间,到点它会自动把任务交给正在运行的 dsh 执行。
功能
- 定时执行:支持四种重复方式——单次(指定时间)、每天、每周(选星期 + 时间)、固定间隔(最小 5 分钟)。
- 侧边栏入口:入口按钮位于侧边栏「新会话」按钮和「工作区」列表之间,点击打开任务管理面板。
- 任务管理:新建 / 编辑 / 删除 / 启用停用 / 立即运行,每个任务保留最近 20 次执行记录。
- 中英文界面:自动跟随 dsh 语言设置(
~/.dsh/settings.yaml的locale.preference)——dsh 是中文界面插件就是中文,英文界面就是英文。 - 本地存储:任务保存在
~/.dsh/scheduled-tasks.json,不上传任何数据,不含任何密钥。 - 错峰补跑:dsh 关闭期间错过的任务不会在重启后立刻陈旧补跑(超过 6 小时的错过直接跳过并记录)。
安装
前置条件:已安装 dsh 与 pnpm。
从 npm 安装:
dsh plugin --profile web add dsh-scheduled-tasks
安装后重启 dsh web,侧边栏即可看到「定时任务」入口。
使用
- 点击侧边栏「定时任务」→「+ 新建任务」。
- 填写任务名称和任务内容(一段自然语言提示词,到点后会作为新任务交给 dsh 执行)。
- 选择重复方式和时间,保存。
- 到点后插件会把任务交给正在运行的 dsh;执行结果请在 dsh 会话中查看。
注意:定时任务依赖 dsh 保持运行。dsh 未运行时任务不会执行。
卸载
dsh plugin --profile web rm dsh-scheduled-tasks
工作原理
- 宿主端(cordis 插件)注册
/dsh-scheduled-tasks/*JSON 路由,并运行一个轻量进程内调度器(15 秒一跳)。 - 客户端通过
window.__ModuleLoader__注入侧边栏按钮与管理面板。 - 任务触发后由
lib/runner.js把提示词交给正在运行的 dsh(详见源码注释)。
开发
npm test # 冒烟测试:桩环境下跑通全部路由与 runner,无需真实 dsh 宿主
许可
MIT
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.2k
↓ 9.4k/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 341/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 27.3k/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 469/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 84
MIT
JavaScript
Oct 10, 2026