DeepSeek Harness Plugin

zepeng-jin/dsh-completion-notifier

Stars ★ 0 Category Notifications & Integrations Added 2026-10-15

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:

  1. Uncertain completion timing: You minimize the window to work on other things, then either keep switching back or forget about the task entirely.
  2. 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.
  3. 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.
  4. 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

MIT License © zepengjin

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.