Native macOS completion notifications and user approval alerts with Settings UI for DeepSeek Harness.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zepeng-jin/dsh-completion-notifier
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
English | 中文说明
Native task completion notifications and human approval alerts for DeepSeek Harness (DSH).
Sends native macOS notification banners, in-app floating toasts, and sound alerts when tasks finish or when the agent pauses for human interaction (permission approval, plan review, or user prompts). Supports all-time alerts or background-only alerting, intelligent mutual exclusivity, and automatic session switching.
Why this exists
When running long-running coding tasks with DSH, several friction points often arise:
- Uncertain completion timing: You minimize the window to work on other things, then either keep switching back or forget about the task entirely.
- Foreground banner suppression: macOS Notification Center by default suppresses system banners for the currently focused frontmost application, so you might miss notices while working inside DSH.
- Silent blocking: The agent pauses midway waiting for permission to run a command, plan approval, or response to a question. Without an alert, it sits idle in the background.
- Hunting for the right session: After a background run finishes, you have to search through a long list of sessions to find it.
This plugin addresses these everyday friction points.
Features
- Completion notifications: Sends a macOS notification banner with the DSH whale icon, execution duration, and response summary.
- In-App Floating Toast: Overcomes macOS's suppression of frontmost application notifications by sliding in a sleek, clickable toast inside DSH.
- Smart Mutual Exclusivity: Shows in-app toasts when DSH is focused, and macOS system banners when in the background. Never duplicates alerts!
- Flexible Alert Timing:
- Always (Recommended): Alerts on all events whether DSH is focused or in the background.
- Unfocused only: Stays silent while you are actively using DSH; alerts only when the window is minimized or behind other apps.
- Auto-Jump to Session: When enabled, automatically switches DSH to the session that just finished or needs approval without requiring manual clicks.
- Action-required alerts: Plays a sound and shows an alert when the agent pauses waiting for user action (permission approval, plan review, or question response).
- Click-to-navigate: Clicking any notification focuses the DSH window and immediately opens the corresponding session.
- Threshold filtering: Set a minimum execution duration (default: 3s) so quick single-turn exchanges don't trigger unnecessary notifications.
- Dedicated Settings UI: Clean, restrained tab inside the DSH desktop settings panel.
Installation
Via Plugin Market (Recommended)
Open DSH Desktop, navigate to Settings → Plugin Market, search for dsh-completion-notifier, and click Install.
Via CLI
Run in your terminal:
dsh plugin --profile web add dsh-completion-notifier
Or directly from GitHub:
dsh plugin --profile web add github:zepeng-jin/dsh-completion-notifier
Local Development
git clone https://github.com/zepeng-jin/dsh-completion-notifier.git
cd dsh-completion-notifier
dsh plugin --profile web add link:$(pwd)
Configuration
Open Settings → Notifications & Approval Alerts in DSH Desktop to configure options:
| Option | Description | Default |
|---|---|---|
| Enable Notifications | Master toggle for completion notifications | On |
| Alert Timing | Always alert, or only alert when DSH is unfocused/backgrounded | Always |
| Auto-Jump to Session | Automatically switch DSH to the session upon completion/approval | Off |
| Smart Notification Routing | In-app toast when focused; system banner in background (mutually exclusive) | On |
| Sound Alert | Sound effect on task completion (Glass, Ping, Hero, Pop, etc.) | Glass |
| Approval & Plan Review Alerts | Alert when the agent is waiting for permission or plan approval | On |
| Min Duration Threshold (sec) | Minimum execution duration before alerting (0 alerts on all turns) | 3 sec |
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.