439436269-ctrl/dsh-automations ↗★ 0

dsh-automations

Lifecycle and event driven automations for DeepSeek Harness: run a command, an HTTP request or a log entry when DSH boots, a session starts, ends or goes idle, a message arrives, a tool finishes, or on a daily/interval schedule.

Package
dsh-automations
Compatibility
Unverified
Harness peer range
^0.2.0-rc.2
Cordis peer range
^4.0.1
Version
0.2.0
License
MIT
Last updated
Nov 6, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:439436269-ctrl/dsh-automations

6. 配置(cordis.patch.yml)

- id: dsh-automations
  name: dsh-automations
  config:
    enabled: true
    stateDir: ""              # 空 = $DSH_HOME/storages/dsh-automations
    maxRunHistory: 200
    maxOutputChars: 8000
    defaultTimeoutMs: 120000
    defaultCwd: ""            # shell 规则的默认工作目录;空 = 用户主目录
    startupDelayMs: 2000
    tickSeconds: 15
    promptEnabled: true
    promptOrder: 62

patch 对 config 是整块替换:想改一个键,就把要保留的键一起写上。