dsh-tui-cron
by FUSU123fusu
dsh-TUI 的定时任务插件: /cron 保存一条标准 5 段 cron 计划和提示词,到点把提示词作为一条 后续用户消息 (follow-up user message)发进当前会话——正在跑的轮次不会被打断,消息排进队列成为下一轮。
A scheduled-task plugin for dsh-TUI: /cron stores a standard 5-field cron schedule plus a prompt, and at the scheduled time sends the prompt into the current session as a follow-up user message — a running turn is never interrupted; the message queues up for the next one.
安装
dsh plugin --profile web add github:FUSU123fusu/dsh-tui-cronGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
适用于 dsh-TUI(dshtui.com)的社区插件。
dsh-TUI 的定时任务插件:/cron 保存一条标准 5 段 cron 计划和提示词,到点把提示词作为一条后续用户消息(follow-up user message)发进当前会话——正在跑的轮次不会被打断,消息排进队列成为下一轮。
English below.
用法
/cron " 打开任务面板(非 TUI 宿主退化为文本列表)
/cron add <分> <时> <日> <月> <周> <提示词> " 添加,返回 id 和下次触发时间
/cron rm <id> " 删除(精确 id 或唯一前缀)
/cron on <id> " 启用
/cron off <id> " 停用
面板按键:↑/↓ 选择 · 空格 启用/停用 · d 删除(3 秒内按两次确认)· Esc 退出。
示例:
/cron add 0 9 * * 1-5 提醒我整理今天的站会要点
/cron add */30 9-18 * * * 检查一下后台任务面板有没有失败的 job
cron 语法速查
五段:分 时 日 月 周。每段支持 *、*/n、a、a-b、a-b/n、逗号列表;周 0-7(0 和 7 都是周日)。日/周同时为限制值时是 或 语义(Vixie cron 惯例):任一匹配即触发。
*/15 * * * * " 每 15 分钟
0 9 * * 1-5 " 工作日 9:00
0 0 1,15 * * " 每月 1 号和 15 号 0:00
0 0 13 * 5 " 每个周五,以及每月 13 号(或语义)
重要限制:进程生命周期
调度器只活在当前 dsh profile 进程里:启动时从此刻计算每条任务的下次触发时间,TUI 不在线期间错过的时点不会补跑。要任务能触发,请保持 dsh-TUI 开着。如果到点时还没有任何顶层会话(agent)创建过,本次触发跳过并写 warn 日志。
数据存在 ~/.dsh-tui/cron.json(纯 JSON 数组,可手改,格式:id / cron / prompt / enabled / createdAt / lastFiredAt)。
安装
dsh plugin --profile <你的profile> add dsh-tui-cron
或从源码:npm pack 后 dsh plugin --profile <你的profile> add file:<tgz路径>。
开发
node --test " 单元测试(cron 解析/nextFire 预言机对照、存储、调度器、manifest)
English
Cron schedules for dsh-TUI: /cron saves a standard 5-field cron expression plus a prompt, and when a slot comes due the prompt is injected into the live conversation as a follow-up user message (agent.followup) — a running turn is never interrupted, the message queues as the next turn.
- Parser:
*,*/n,a,a-b,a-b/n, comma lists; dow 0-7 (0 and 7 = Sunday); Vixie dom/dow OR-semantics.nextFirefast-forwards field by field with a ~4-year cap. - Process-lifetime limitation: the scheduler lives only while this dsh profile process runs. Next fires are computed from now at startup — slots missed while the TUI was offline are never caught up.
- Storage:
~/.dsh-tui/cron.json, best-effort plain JSON. - Panel keys: ↑/↓ select · Space toggle · d delete (double-press confirm) · Esc quit. Degrades to a text list on hosts without the scene seam.
MIT
原始 README: https://github.com/FUSU123fusu/dsh-tui-cron/blob/main/README.md ↗
同类插件
查看全部 →
deepseek-harness
从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

dsh-plugin
通过 DSH MCP 客户端挂载 Ouroboros 的纯配置包,在 DSH 中提供 36 个涵盖需求访谈、Seed、执行、评估与演化流程的工具。

dsh-tongflow
基于 TongFlow 的“片场”插件,用于图片、配音、音乐与视频制作:agent 为每个资产生成 TongFlow 工作流文件(.tongflow.json)并通过 TongFlow 插件执行,内嵌工作流画布,按镜头/角色/take 组织项目,附漫剧模板;以 @tongflow 开头的会话进入 Studio 界面。

helloagents
AI 编码 CLI 的工作流层:技能、项目知识、交付检查、更安全的配置写入与可恢复执行

dsh-ai-novel-writer
安装专用 AI 小说创作预设与工作台:提供带修订号的本地项目资产、紧凑侧边工作台,以及需要原生审批的逐文件变更。

rea
用 agent 逆向任何东西:从应用行为到原生二进制