mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-08 22:00:46 +08:00
Agent cron_* jobs default to IM when created from a WhatsApp session with a matching delivery target; otherwise DSH sidebar sessions. Fire path soft-calls ctx.dshIm.send for summaries. Co-authored-by: Cursor <cursoragent@cursor.com>
1.1 KiB
1.1 KiB
dsh-ops-cron
Ops fork of dsh-cron-tasks for DeepSeek Harness.
- Sidebar 运维定时 under New Session
- Agent tools:
cron_create/cron_list/cron_pause/cron_resume/cron_delete - Per-job delivery: DSH (new root session) or IM (
ctx.dshIm.send)
See FORK.md for install notes. Do not install upstream @dsh-external/dsh-cron-tasks in the same profile.
Install
dsh plugin --profile web add -w "github:hansjone/dsh-im-ops"
dsh plugin --profile web add -w "github:hansjone/dsh-ops-cron"
# restart dsh web
Delivery defaults
| Created from | Default delivery |
|---|---|
| WhatsApp / IM session (peer resolved + matching 投递目标) | im → that botId+targetId |
| Web / plain DSH session | dsh → sidebar history session |
Explicit delivery / im_bot_id+im_target_id |
as specified |
Create IM targets first in IM → 投递设置 → 复制调用参数 when you need a stable target for WhatsApp.
License
MIT (upstream MIT retained).