dsh-mobile-notify: Push notifications to mobile devices after DSH tasks are completed

Foreword

When running long tasks or multi-turn goal continuations in DeepSeek Harness (DSH), users are often not in front of the window. To know when a task ends, in which directory it is running, or what the assistant last said, one currently has to open the client and check logs afterwards. Common workarounds include switching back to DSH periodically to check status, or writing key steps into scripts for self-logging—the former drains attention, while the latter is disconnected from the DSH session model.

Below is an introduction to the community plugin dsh-mobile-notify (maintainer: zjhaaa042-cloud). When the agent completely stops, it pushes a structured notification to your mobile phone via HTTPS. It supports ntfy, Bark, DingTalk, WeCom, Feishu, Server酱, PushPlus, Telegram, Qmsg酱, and generic webhooks, with no need to build your own push server. The plugin is categorized as a “Networking Tool” in the DSH ecosystem directory. The repository currently has 0 stars on GitHub, version 1.0.0, and is licensed under MIT.

What is this

dsh-mobile-notify is a pure Host-side DSH plugin: it subscribes to persistent host events (turn/end or agent/status changing to idle), filters them, renders the text, and sends a single POST request to the selected channel. It does not inject client code, does not write events to conversation logs, and does not poll. Send failures are only logged and do not affect the session itself.

A typical notification includes: the end reason (completed / error / aborted, etc.), session title, working directory, duration of the current turn, turn index, an optional summary of the assistant’s reply, and a timestamp.

Core Functions

Ten Push Channels

Each channel only requires configuring the corresponding key or webhook; the plugin constructs the request and determines success based on HTTP and business codes. The channels and their channel values are listed below (see the repository’s docs/channels.md for details):

Channel channel Main Required Fields
ntfy ntfy ntfyTopic
Bark bark barkKey
DingTalk dingtalk webhookUrl (optional dingtalkSecret for signing)
WeCom wecom webhookUrl
Feishu feishu webhookUrl (optional feishuSecret)
Server酱 serverchan serverchanSendKey
PushPlus pushplus pushplusToken
Telegram telegram telegramBotToken, telegramChatId
Qmsg酱 qmsg qmsgKey
Generic Webhook webhook webhookUrl (optional webhookHeaders)

The README recommends ntfy as the entry point: install the ntfy App on your phone and subscribe to a random topic name; no registration is required.

Less Disturbance by Default

  • trigger defaults to idle: Notifications are pushed only when agent/status falls to idle (no driver is actively scheduling). For consecutive turns of the same goal, you typically receive only one notification.
  • Sub-agents are not notified by default: includeSubagents defaults to false.
  • Deduplication: Dedup is performed based on the last notified turn/end for each session. The idle trigger also skips stale endings (exceeding 120 seconds) to avoid false alarms for historical tasks when the plugin is first loaded.
  • If you need to be informed of every turn, set trigger to turn-end.

Configuration and Interface

There are 26 configuration items in total, all with default values, which can be overridden in the config: section of cordis.patch.yml. When installing from GitHub or npm, it is recommended to override them in the profile’s patch layer using the plugin id mobile-notify, rather than modifying files inside node_modules (see docs/configuration.md). Common items include:

Configuration Default Description
enabled true Master switch
channel ntfy Push channel
notifyOn all all / completed / error
minTurnDurationMs 0 Only notify turns with duration no less than this value (in ms)
includePreview true Whether to include a summary of the assistant’s last reply
previewMaxChars 200 Max length of the summary
dryRun false Only build the request without sending

The plugin requires Node ≥ 18 (required by the DSH desktop client; it comes with native fetch).

Installation and Activation

Prerequisites

The DSH desktop client must be running. Installing the spec requires access to github.com (or use local paths / archives for other specs, see the repository README).

In DSH, have the agent execute it, or fill in the equivalent operation on the plugin management page:

plugin_manager  action=install_bundle  target=github:zjhaaa042-cloud/dsh-mobile-notify

A return value of application: "applied" indicates successful installation. The target can also be written as git+https://github.com/zjhaaa042-cloud/dsh-mobile-notify.git, the repository browser URL, or github:zjhaaa042-cloud/dsh-mobile-notify#v1.0.0. When installing from git, there is no need to manually run npm install in the plugin directory; pnpm will install the dependency @deepseek-ai/schemastery into the profile’s virtual store.

After installation, go to Settings → Plugins to fill in the channel and the respective channel keys.

Update and Uninstall

After modifying configuration or code, updating requires two steps; otherwise, you may encounter ambiguous-install:

plugin_manager  action=remove_bundle    target=dsh-mobile-notify
plugin_manager  action=install_bundle   target=github:zjhaaa042-cloud/dsh-mobile-notify

To uninstall:

plugin_manager  action=remove_bundle  target=dsh-mobile-notify

If installing via a local path (link:), you must first run npm install in the plugin directory, then install using target=<local absolute path>; otherwise, you may encounter did not activate / failed to import. (User tasks require that git clone is not treated as a mandatory step for readers; please refer to the repository README’s “Method 2” if you need to modify the source code).

Typical Usage: ntfy in About Two Minutes

Step 1: Install the ntfy App on your phone and subscribe to a topic (e.g., dsh-7f3a91c2, do not use a name that is too guessable; public ntfy.sh topics can be subscribed to if guessed).

Step 2: Complete the installation as described in the previous section.

Step 3: Override the configuration in the profile’s cordis.patch.yml (example from README):

- insert:
    - id: mobile-notify
      name: 'dsh-mobile-notify'
      config:
        channel: ntfy
        ntfyTopic: 'dsh-7f3a91c2'   # Change to the topic name you subscribed to

After changing, follow the two steps for “Updating Plugins” to reinstall, then run a task in DSH to verify if you receive the notification on your phone.

For team collaboration, if you only want alerts when the main line ends, keep includeSubagents: false; if you only care about long-running finishes, you can set minTurnDurationMs: 60000, etc.

Use Cases and Notes

Suitable for: Running DSH locally or remotely for refactoring, testing, or multi-turn goals, where you want to passively receive a “task has stopped” summary on your phone (or DingTalk / Feishu group) without modifying the DSH client itself.

Runtime Boundaries:

  • Notifications are sent by the current DSH process; no pushes will occur after DSH is closed (minimizing the window is fine).
  • The plugin is installed on a specific profile and affects all workspaces under that profile; other profiles require separate installation.
  • The plugin accesses the network with the permissions of the DSH process and holds the webhooks / tokens you configured. Please read the source code and the MIT license before installing, and only configure channels and keys you trust.
  • Channels like Telegram require the local network to be able to access the corresponding service; third-party services like Qmsg require you to assess compliance and stability on your own.

Troubleshooting: If you do not receive notifications, the repository provides npm run send -- https://ntfy.sh <topic> for single-shot verification; for more details, see docs/troubleshooting.md.

The DSH community plugin directory is hosted on the independent site SkillHub and has no official affiliation with DeepSeek / High-Flyer. The ecosystem philosophy is “Everything is a plugin,” and this plugin is a networking capability supplement for “Task End → Mobile Notification.”

Links

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye