When running agent tasks with DeepSeek Harness (DSH), developers typically need to keep a browser tab open to receive status changes. The dsh-notify-push plugin pushes notifications to mobile phones and watches via web services such as ntfy, Bark, Gotify, Telegram, or webhooks. This allows developers to receive agent running status even when their machine is turned off.
Core Features¶
- Multi-device Push: Supports pushing notifications to mobile phones and watches (via mobile notification mirroring).
- Backend Support: Supports services such as ntfy, Bark, Gotify, Telegram, and webhooks.
- Event Triggers: Supports configuring event types such as Agent finished, Agent error, Approval needed, Question asked, and Test notification.
- Notification Content: Notifications consist of four parts: event type, host, session, and details. The title supports a
DSH ·prefix. - Settings Panel: Provides a Settings → Notify Push panel for visual configuration.
- Persistent Configuration: Supports configuration via
cordis.patch.yml; configuration changes take effect without requiring a restart. - API Endpoints: Provides interfaces such as status, history, test, and config.
Installation and Activation¶
- Environment Requirements: DeepSeek Harness version
0.2.0-rc.2and Node.js>=22.17.0are required. - Generate Package: Run the command in the plugin directory to generate the installation package:
pnpm run pack
- Installation Method: Desktop profiles are managed by the Electron application and do not support installation via the
dsh plugin addcommand line. You need to install the generated.tgzpackage in Settings → Plugins. - Activation Steps: After installation, you must restart the Profile and reload the page for the plugin to take effect.
Typical Usage¶
- Open the Settings → Notify Push panel for configuration.
- Select a provider (e.g., ntfy) in the Settings → Notify Push panel and fill in the server and topic.
- Select the event types to trigger and save.
- Use the Send test notification button in the panel to send a test notification.
Configuration Example (cordis.patch.yml)¶
Configuration can also be written via the cordis.patch.yml file. This configuration is preserved after plugin upgrades:
- id: dsh-notify-push
name: dsh-notify-push
config:
provider: ntfy
ntfyServer: https://ntfy.sh
ntfyTopic: <your_topic>
Notes¶
- Secret Fields: Secret fields such as tokens and device keys are write-only; stored values cannot be viewed.
- API Limitations: All API routes (e.g.,
/api/dsh-notify-push/status) are subject to loopback restrictions, method checks, and size limits. - Notification Structure: The notification content strictly contains four parts: event type, host, session, and details.