DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-win-toast-notify

m

dsh-win-toast-notify

Discovered

Native Windows toast notification when a DeepSeek Harness turn finishes: session title, a preview of the final reply and the elapsed time.

dsh-win-toast-notify

Native Windows toast notification every time a DeepSeek Harness (dsh) turn finishes — so you can look away from the window while the agent works.

任务完成 · Fix the login redirect
Updated the middleware and added two regression tests; all 41 tests pass.
DeepSeek Harness · 用时 4 分 12 秒

Line 1 is the end reason plus the session title, line 2 is a preview of the turn's final reply, line 3 is where it came from and how long the turn took.

Requirements

  • Windows 10 or 11 (uses the built-in WinRT notification API through Windows PowerShell — no native module, no build step, no install script).
  • A Harness build that emits the session/event feed with turn/end (dsh 0.2.x).
  • Notifications enabled for the app the toast is posted under; Focus assist / Do not disturb suppresses it like any other notification.

Install

dsh plugin add dsh-win-toast-notify

or install it from the dsh-market plugin browser. Restart Harness if your build does not reload plugin rows live.

What triggers a toast

The Host half listens to each Session's durable event feed and reacts to turn/end:

turn/end reasonNotified by default
completedyes — "任务完成"
erroryes — "任务出错"
blockedyes — "任务受阻"
max-tokensyes — "输出达到上限"
interruptedyes — "任务被中断"
aborted (you pressed Stop)no
forkedno

Subagent sessions are skipped by default so a fan-out does not ring once per child.

Configuration

Edit the row's config in the profile patch (or the plugin's settings card), then restart:

- id: dsh-win-toast-notify
  name: dsh-win-toast-notify
  config:
    enabled: true                 # master switch
    reasons: [completed, error]   # which end reasons notify
    includeSubagents: false       # also notify child sessions
    previewChars: 160             # length of the reply preview
    sound: true                   # play the default notification sound
    titlePrefix: DeepSeek Harness # third line prefix
    showSessionTitle: true        # fall back to the working-directory name when off
    appId: ''                     # override the toast's AppUserModelID (empty = auto)
    powershell: ''                # override the notifier executable

How it works

  • Read-only observer. The plugin subscribes to session/event and keeps only the turn's start time and its last assistant text in memory. It appends no events and writes no files, so fork, resume and replay are untouched.
  • Host-side only. No Client module, no DOM, no iframe: the toast is raised by the Host, so it also fires when the Web GUI is in a background tab or closed.
  • Toast delivery. notify() builds a ToastGeneric XML payload and runs powershell.exe -EncodedCommand (UTF-16LE + Base64) against the WinRT Windows.UI.Notifications API, so arbitrary text — Chinese, quotes, newlines — cannot break the command line.
  • App identity. Toasts are posted under com.deepseek.dsh when the desktop app's Start-menu shortcut is present, which makes them appear as DeepSeek Harness. On a plain dsh web or CLI install that AUMID is unregistered and Windows drops the toast silently, so the plugin falls back to the Windows PowerShell AUMID instead.
  • No detaching. The notifier process stays a child of the Host; it exits in about a second. A detached child can be reaped together with the job object that owns the Host, which loses the notification.

Limitations

  • Windows only. On other platforms the plugin loads and does nothing.
  • The toast is attributed to whichever app the AUMID belongs to; with the fallback it shows as Windows PowerShell in Action Center.
  • Preview text is plain text: Markdown fences, links, emphasis and inline code are stripped.

License

MIT

Comments

Loading…

Similar plugins

dsh-notify

Windows toast notifications when a DeepSeek Harness task finishes: the session title, the outcome, and a summary of the final reply, sent once when the agent really stops rather than once per round of

Notifications & IntegrationsManifest valid

★ 0

dsh plugin --profile web add dsh-notify

by lixiangdong122333

Windows toast notifications for DeepSeek-Harness: get pulled back when a task finishes or the agent needs you.

Manifest valid

★ 0

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add @cmwl1231/dsh-notify

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 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 Andyqwe44

Native Windows toast + taskbar flash for DeepSeek Harness when a task finishes or your input is needed.

Notifications & IntegrationsTerminal & ClientsManifest valid

★ 3

↓ 114/wk

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-notify-win

by LeeeWM

Shows a Windows 11 toast notification when a DeepSeek Harness session turn finishes, and stays quiet while a DSH window is focused.

Notifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Oct 26, 2026

dsh plugin --profile web add dsh-session-toast