dsh-automations: Filling in event-driven automation for DSH

dsh-automations is maintained by 439436269-ctrl and serves as a workflow plugin for DeepSeek Harness. While DeepSeek Harness (DSH) built-in automation tasks only trigger based on time, this plugin fills the gap for event triggers: DSH startup, session start/idle/end, receiving a user message, tool execution completion, as well as daily and fixed intervals. Actions support local commands, HTTP requests, and run records. The left column features a panel with two tabs—"Rules" and "Runs"—for managing rules, starting/stopping them, executing them immediately, and viewing outputs. The same set of rules can also be read and written by the model via five tools: automation_list, automation_save, automation_run, automation_remove, and automation_runs. The article outlines nine trigger conditions and their parameter semantics, three action types, the panel and storage directory structure, cordis.patch.yml configuration options, npm installation commands, and compatibility details. It also notes edge cases, such as commands being executed by the shell with current user permissions and missing agent prompt actions.

Read More
DeepSeek Harness Automations Plugin (dsh-automations)

The `deepseek-harness-automations` plugin provides persistent Cron task scheduling for DeepSeek Harness, allowing automated workflows to run silently in the background. It supports standard Cron expressions, granular configuration (such as workspaces, models, and permissions), and overlap/misfire policies. The plugin manages state via atomic operations and provides execution snapshots and extensible executors. Installation requires Node.js 22 and DSH 0.1.1-rc.2 or later. Configuration supports either a simple scheduling mode or custom Cron expressions, and allows parameters such as maximum concurrency and history limits to be adjusted via a YAML file. Note that it currently runs in single-host mode, does not provide Exactly-once semantics, and does not retry tasks after a crash.

Read More