Mobile push when a DSH task goes idle, over 10 channels: ntfy, Bark, DingTalk, WeCom, Feishu, ServerChan, PushPlus, Telegram, Qmsg and generic webhooks. The message carries the session, workspace, elapsed time, turn number and a reply excerpt, and it runs host-side rather than in the browser page.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zjhaaa042-cloud/dsh-mobile-notify
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A DeepSeek Harness (DSH) plugin that pushes a notification to your phone when a task finishes.
English | 简体中文
Whenever an agent in DSH comes to a stop, your phone gets one message telling you what finished, in which directory, how long it took, and what was said last:
✅ DSH · refactor runner
✅ Task completed
Session: refactor runner
Directory: D:\Desktop\over
Duration: 2 min 13 s
Turn: #4
Reply: All eight arms are refactored and passing tests.
Time: 2026/10/2 16:02:11
Features
- 🔔 10 delivery channels — ntfy, Bark, DingTalk, WeCom, Feishu, ServerChan, PushPlus, Telegram, Qmsg, generic webhook. Each one is a single HTTPS POST; no server of your own required.
- 🤫 Quiet by default — one notification when the agent fully stops (a goal spanning ten turns still sends one), and subagent sessions are skipped.
- 🧩 Host-only — no client code, no events appended to session logs, no polling; a failed send is only logged and never affects the session.
- ⚙️ 26 config fields, all defaulted, overridable in
cordis.patch.yml; each has a description and shows up as a form in the plugin settings. - 🧪 Offline-testable — 26 assertions covering request building and business-code checks for all ten channels, plus a local mock server for end-to-end wiring tests.
Quick start (ntfy, ~2 minutes)
Install the ntfy app on your phone (F-Droid, App Store, Google Play; no account needed) and subscribe to a topic such as
dsh-7f3a91c2.Install the plugin (below).
Put the topic in the config — edit
cordis.patch.ymlin the plugin directory:- insert: - id: mobile-notify name: 'dsh-mobile-notify' config: channel: ntfy ntfyTopic: 'dsh-7f3a91c2' # ← your subscribed topicthen re-install with the two-step update described below.
⚠️ Topics on the public
ntfy.share readable by anyone who guesses the name. Use a random string, notdsh; or self-host ntfy with access control and setntfyToken.
Installation
Requirements: DSH desktop running, Node ≥ 18, and either network access to github.com or a local clone.
Option 1: install straight from GitHub (recommended)
plugin_manager action=install_bundle target=github:zjhaaa042-cloud/dsh-mobile-notify
application: "applied" means it is installed. The target is an install spec; the plugin manager accepts any of these:
| Form | Example |
|---|---|
| git shorthand | github:zjhaaa042-cloud/dsh-mobile-notify |
| git URL | git+https://github.com/zjhaaa042-cloud/dsh-mobile-notify.git |
| repository URL | https://github.com/zjhaaa042-cloud/dsh-mobile-notify |
| pinned tag/branch | github:zjhaaa042-cloud/dsh-mobile-notify#v1.0.0 |
| absolute local path | /path/to/dsh-mobile-notify (Option 2) |
| tarball | https://…/dsh-mobile-notify-1.0.0.tgz |
| npm package | dsh-mobile-notify (not published yet) |
Installing from git needs no manual
npm install: pnpm installs@deepseek-ai/schemasteryalongside it. The manual step is only required for local-path (link:) installs — see Option 2.
Then configure channel, ntfyTopic, … under Settings → Plugins (26 fields, see docs/configuration.md).
Option 2: clone locally (for hacking on the code or offline tarballs)
git clone https://github.com/zjhaaa042-cloud/dsh-mobile-notify.git /path/to/dsh-mobile-notify
cd /path/to/dsh-mobile-notify
npm install
npm install pulls the plugin's only dependency (@deepseek-ai/schemastery, used for config validation). Then, from DSH:
plugin_manager action=install_bundle target=<absolute path to the plugin directory>
Success looks like application: "applied" with warnings: []; an entry named Mobile Notify then appears in the plugin list.
Why
npm installfirst? DSH installs local bundles with thelink:protocol, so pnpm does not install the linked package's own dependencies — while Node resolves bare imports from the package's real path. Withoutnode_modulesyou get1 entry did not activateandfailed to import.
Updating
Always two steps; a plain re-install fails with ambiguous-install (the dependency name is already present, so pnpm changes nothing and the manager cannot tell what was installed):
plugin_manager action=remove_bundle target=dsh-mobile-notify
plugin_manager action=install_bundle target=<absolute path to the plugin directory>
remove_bundle never deletes files from your clone. Re-installing is only needed after changing JavaScript or the config; docs-only edits need nothing.
Uninstalling
plugin_manager action=remove_bundle target=dsh-mobile-notify
Channels
| Channel | channel |
Required config | Phone side |
|---|---|---|---|
| ntfy | ntfy |
ntfyTopic |
ntfy app (recommended) |
| Bark | bark |
barkKey |
Bark app (iOS) |
| DingTalk | dingtalk |
webhookUrl (+ dingtalkSecret) |
DingTalk |
| WeCom | wecom |
webhookUrl |
WeCom |
| Feishu | feishu |
webhookUrl (+ feishuSecret) |
Feishu |
| ServerChan | serverchan |
serverchanSendKey |
|
| PushPlus | pushplus |
pushplusToken |
|
| Telegram | telegram |
telegramBotToken + telegramChatId |
Telegram |
| Qmsg | qmsg |
qmsgKey |
QQ (third-party) |
| Generic webhook | webhook |
webhookUrl (+ webhookHeaders) |
anything |
Step-by-step setup for every channel: docs/channels.md (Chinese). Full field reference: docs/configuration.md.
Triggering
trigger |
Fires on | Best for | Noise |
|---|---|---|---|
idle (default) |
agent/status → idle |
long tasks, multi-turn goals | one per task |
turn-end |
every turn/end |
step-by-step awareness | one per turn |
Both paths de-duplicate on the last notified turn/end per session, so a completion is never announced twice. In idle mode a turn/end older than 120 s is treated as stale and skipped (avoids replaying history right after the plugin loads).
How it works
session events ──► filter ──► render ──► build request ──► HTTPS POST
- Trigger — subscribes to durable host events:
turn/endonsession/event, or the transition ofagent/statustoidle. - Filter —
forkedis never sent; thennotifyOn,includeSubagents,minTurnDurationMs, and idle freshness. - Render — session title from the last
session/titleevent; preview from the lastassistant/messagetext blocks; duration =turn/end− matchingturn/start. - Deliver —
notify.jsbuilds{url, headers, body}and POSTs it; success requires both a 2xx HTTP status and the channel's own business code (e.g. DingTalkerrcode === 0). Failures are logged only.
Development
npm test # 26 offline assertions
npm run mock # local mock push server on 127.0.0.1:18080 (pair with channel: webhook)
npm run send -- https://ntfy.sh <topic> # real single push
See docs/development.md for the architecture, adding a channel, and release notes, and docs/troubleshooting.md for common failures.
License
Links
More in this category
xmanrui/dsh-im★ 3850
Connect IM bots to DeepSeek Harness via QR codes or bot credentials (9 channels: Feishu, WeChat, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp).
shaobeichen/dsh-pocket★ 3207
Remote phone access to the DSH Web UI: scan a QR code for LAN or public (cloudflared tunnel) access with real-time sync, a mobile-adaptive layout, and a settings tab.
c1overzz/dsh-bili-scroll★ 1483
Let your DSH agent browse Bilibili on its own, read subtitles, write a daily digest, and @ you when it finds something worth your attention.
OpenPetsHQ/openpets#dsh★ 1418
Bridges DeepSeek Harness lifecycle status, errors, and approval requests to a locally running OpenPets desktop companion.
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 611
Connects DeepSeek Harness to Avernet's Bot Collaboration Network over WebSocket V2, with automatic onboarding, isolated agent sessions, tool-call events, and multi-bot routing tools.
zaofan-make/dsh-qqbot★ 287
QQ official bot channel (enhanced fork of tencent-connect/dsh-qqbot): full agent chat in groups and DMs, rich media, an auto-tagged sticker library with AI image replies, join approval, mute and broadcast, scheduled wakeups, remote approvals over QQ, interactive cards, multi-account instances, extensions, member profiles, and token-saving value-scored wakeups.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.