DSH Plugins Marketplace

DSH Plugins

Plugins

/

Notifications & Integrations

/

dsh-native-toast

d

dsh-native-toast

Identified

Windows notification-center toasts when a DeepSeek Harness turn finishes or the agent waits for your choice or approval; clicking one brings the app forward and scrolls to the finished turn or focuses

Desktop toast notifications for DeepSeek Harness

Windows notification-center toasts for DeepSeek Harness: one when a turn finishes, one when the agent waits for your choice, and one when it waits for a tool approval. Clicking a toast brings the app forward and takes you to the right place. The toast is attributed to DeepSeek Harness (or Windows PowerShell when that identity is not registered), carries the DS logo, and keeps its text, image, sound, and per-event switches in the plugin's Config.

任务已完成!
DeepSeek Harness

Click behaviour

  • Window already on screen (visible, not minimized): it is never moved or resized. If another window covers part of it, the app is brought to the front; when it is already in front, nothing changes.
  • Another conversation is open: the app switches to the Session the toast belongs to, then scrolls there.
  • Minimized or hidden: the window is restored and focused, keeping its maximized/normal state; if the app is not running, it is started.
  • Finished turn: the conversation scrolls so the start of the latest assistant output sits 24 px below the top of the transcript.
  • Choice or approval: the conversation is positioned the same way, and the pending question's first option is focused, so the answer is one keystroke away. If the question text cannot be found, only the scroll happens.

This works through a per-user URL protocol, dsh-native-toast:, registered under HKCU\Software\Classes while the plugin is enabled and removed when it is disabled. The protocol handler is powershell/activate.ps1; it writes the click to %TEMP%\dsh-native-toast-click.json, the Host watches that file, and the plugin's Client half (client.js) polls the Host's local route and performs the scroll. No listening port or web auth is involved, so a restarted Host on a new port keeps working. Clicking needs the Web GUI page to be open; an action older than 30 seconds is ignored.

What it does

MomentEventDefault title
A turn closes with nothing left to doagent/turn-stopping任务已完成!
The agent asks you to chooseuser-questions/request需要你的选择
The agent asks you to approve a tool callapproval/request需要你的确认
  • The two decision events are waterfalls. This plugin registers with prepend, notifies, and calls next(), so the Web GUI answerer still owns the decision.
  • Subagent and workflow sessions stay quiet by default (includeSubagents turns them on).
  • A turn the user aborted does not report "completed".
  • Identical content is deduplicated for dedupeMs; consecutive toasts are spaced by minGapMs.
  • The Desktop Host runs in its own process without Electron's Notification, so a bundled PowerShell (WinRT) helper renders the toast. There are no npm dependencies.

Install

dsh plugin --profile <profile> add github:huihui3488/dsh-native-toast

Or install the package directory from Plugins → Add plugin in the Desktop app. Windows only: on other platforms the plugin activates and does nothing.

Configuration

Every row field is editable from Plugins → Desktop toast notifications → Configure (schema-backed), or from the profile patch:

FieldDefaultMeaning
enabledtruemaster switch
onCompletetruenotify when a turn ends
completeTitle / completeBody任务已完成! / DeepSeek Harnesscompletion toast text
onQuestion / questionTitletrue / 需要你的选择choice notifications
onApproval / approvalTitletrue / 需要你的确认approval notifications
includeSubagentsfalsealso notify for subagent sessions
appIdcom.deepseek.dshAppUserModelID the toast belongs to
showLogo / logoPathtrue / emptyshow the DS logo or a custom image
playSoundtrueplay the system notification sound
dedupeMs / minGapMs1500 / 900duplicate window, minimum gap
powershellPathemptycustom powershell.exe
debugLogfalseappend each toast to %TEMP%\dsh-native-toast.log
clickToFocustruebring the app forward and scroll on click

Preview without waiting for a turn

powershell.exe -NoProfile -File "<plugin dir>\powershell\toast.ps1" -Title "任务已完成!" -Body "DeepSeek Harness"

Options: -Icon <absolute path>, -AppId <AUMID>, -Sound silent, -Duration long.

Limitations

  • Windows only. The user must leave notifications enabled for the app and must not be in Focus Assist / Do Not Disturb.
  • The toast is attributed to DeepSeek Harness only when the Desktop installer's Start Menu shortcut (com.deepseek.dsh) exists; otherwise the plugin falls back to the always-registered Windows PowerShell identity so the toast still appears.
  • Clicking a toast needs the Web GUI page to be open and needs the Desktop shell to own the window; a headline-only CLI Session has no window to focus. The click action expires after 30 seconds.
  • An always-on-top window from another app can keep covering the app even after it is raised.
  • Each toast starts one Windows PowerShell process (~0.3–0.6 s), launched through the bundled powershell/hidden.vbs under wscript.exe so no console window appears. Notifications are low-frequency, so this does not affect a turn.

License

MIT

Comments

Loading…

Similar plugins

dsh-win-notify

by zhang-tod

Windows native toast notifications plugin for DeepSeek Harness (DSH): agent turn done, subagent done, background job done - click to open the Web UI.

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 1

MIT

JavaScript

Oct 7, 2026

dsh plugin --profile web add @zhang-tod/dsh-win-notify

by paleech0

Windows toast notifications for DSH desktop sessions from the host process: turn ends, approvals, questions and a reminder for an unanswered wait, with a selectable sound per situation and imported cu

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 4

↓ 520/wk

MIT

JavaScript

Nov 19, 2026

dsh plugin --profile web add dsh-notify-desktop

by hhaosheng

Desktop notifications for DeepSeek Harness: a toast when a task is interrupted or finishes.

Notifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-desktop-toast

by FANLS05

Windows desktop toast notifications for DeepSeek Harness (DSH): approval requests, user questions, run completion, errors and sign-in prompts — every toast led by the conversation name.

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-desktop-notifications

by Exynos671

Windows toast notifications for DeepSeek Harness (dsh): permission requests, branch/option choices and turn completion, plus a Settings -> General switch panel.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add @deepseek-ai/dsh-windows-notify

by ADkun

DSH plugin: send a native Windows toast notification whenever any DSH conversation needs you — a task finished, a question was asked, or an approval is waiting.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-windows-notifier