- Home
- Plugins
- Integrations & Remote
- dsh-taskbar-badge
dsh-taskbar-badge
atimodo/dsh-taskbar-badge
Shows unread completed sessions as a counter on the Windows taskbar icon, and clears it when the window is opened or clicked.
Install
dsh plugin --profile web add github:atimodo/dsh-taskbar-badgeREADME
Taskbar completion badge
English · 中文
A DeepSeekRuntime (DSH) bundle that puts an unread counter on the Windows taskbar icon, so a session that finished while you were in another window is visible without switching back.
Behaviour
- Each root session contributes one unread mark. Subagents spawned inside a session do not count separately.
- The counter clears when the page is opened or when you click inside it. Hovering the taskbar icon, or the window merely gaining focus, does not clear it.
- Completions that happen while the window is minimized or in the background still count.
- Counts above 99 render as
99+; zero removes the badge completely. - Re-running a session, or removing it, clears its previous mark.
- When every todo item of a session is complete, the todo dock above the composer is hidden; the original UI restores it on the next turn.
- Unread state lives in memory for the current app process and is not restored after a restart.
Requirements
- Windows 10 or 11 with the standard taskbar.
- DeepSeekRuntime
>=0.2.2-rc.5 <0.3.0. powershell.exeonPATH(the Windows default).
The bundle installs and loads on other platforms without doing anything: the host plugin returns early and the client module exits when the platform is not Windows.
Install
- In DeepSeekRuntime open Plugins → Add plugin, paste
https://github.com/ATimoDo/dsh-taskbar-badgeand install. - Refresh the app page once, so the open window starts sending its view state.
CLI (headless or custom profiles):
dsh plugin --profile <name> add github:ATimoDo/dsh-taskbar-badge
Once published to npm, the bare name dsh-taskbar-badge installs the same bundle.
Disable or uninstall it in Plugin Manager to remove the badge; disabling clears it and stops the helper process.
How it works
The host half counts completions and talks to a native helper over stdin/stdout. The helper is powershell.exe running native-badge.ps1, which compiles TaskbarBadge.cs in memory with Add-Type and draws the badge with GDI+.
- The badge is a layered, click-through, topmost window about 18 px wide, placed at the lower-right of the DSH taskbar icon. It does not create a helper taskbar button and does not modify the DSH window icon.
- The icon is located by matching the DSH executable icon as a template against a screenshot of the primary taskbar (
Shell_TrayWnd). Only the primary monitor is supported; when matching fails the badge stays hidden instead of appearing at a guessed position. - The window runs its own message loop on a dedicated STA thread and re-poses its layered surface, so taskbar preview animations cannot blank it.
- The client half sends a presence message when the view changes, on a 15 s heartbeat, and on pointer input inside the page.
No network access, no telemetry, and no file writes: the helper only reads a screenshot of the taskbar rectangle and paints its own window.
Diagnostics
The taskbar_badge_status tool reports the unread count, how many views are connected, how many activations were accepted, and the native state (anchor position, match score, whether the icon was found, whether the taskbar is visible). iconFound and verifiedWindows only carry meaning while a badge is displayed; at zero they are usually false and 0.
Limitations
- Windows only, primary monitor only.
- The badge is drawn as an overlay, so it is not part of the icon image itself; full-screen exclusive apps cover it.
- The counter is per app process; restarting DSH resets it.
License
MIT
Related plugins
dsh-purge
kingcharleslzy-ai/dsh-purge
dsh-web (dsh-ssh)
zhu1090093659/dsh-web
dsh-web (dsh-remote-web-ui)
zhu1090093659/dsh-web
dsh-web-ui (dsh-ssh)
zhu1090093659/dsh-web-ui