Introduction¶
When running agent tasks with DeepSeek Harness (DSH), human intervention is often required: approving tool calls, answering questions, or handling task interruptions. If the DSH window is minimized or you’ve switched to another application, these critical states can easily go unnoticed. By the time you remember to dig through the session logs, you’ve already wasted a fair amount of time. dsh-task-toast provides desktop notifications for Windows 10/11, pushing DSH task states directly to the foreground.
What Is This¶
dsh-task-toast is a DSH plugin maintained by Kook543, categorized under “Client.” It converts task approvals, interruptions, questions, and completion states in DSH into native Windows notifications. Clicking a notification brings the DSH window to the foreground and opens the corresponding session. The plugin runs exclusively on Windows, depends on the DSH Desktop application, and requires no external runtime.
Core Features¶
The plugin triggers notifications in four scenarios, displaying the session title and relevant context in each:
- ✅ Task completed:
turn/endevent,reason.kind === 'completed', showing the session title and elapsed time. - ⚠️ Task interrupted:
turn/endevent,reason.kindiserror/interrupted/aborted/blocked/hook/user/parent/disposed, showing the session title, reason, and elapsed time. - ⏸ Approval needed:
approval/askedevent (tool authorization), showing the session title, tool, and reason. - ❓ Answer needed:
tool/callevent,name === 'ask_user_question', showing the session title and the question.
Each notification carries the source session ID. Upon clicking:
- Brings the DSH window to the foreground (restores if minimized, launches if not running).
- Switches the Web UI to that session (loads the session on demand if not yet loaded, unarchives archived sessions first).
Installation & Enablement¶
Installing via the plugin marketplace is recommended (it automatically selects the package and writes to bundles):
DSH → Plugins → Discover (add an index source if needed) or the community dshmarket plugin → search for dsh-task-toast → Install → Restart DSH Desktop.
Manual installation from npm or a local checkout:
# npm package (available after publishing)
dsh plugin --profile desktop add dsh-task-toast
# Or from a local path / GitHub checkout
dsh plugin --profile desktop add C:\path\to\dsh-task-toast
After installation, the plugin automatically adds itself to the profile’s dsh.profile.bundles and loads both the Host and Client components when DSH starts. Always restart DSH Desktop after installing or upgrading.
On first run, the plugin copies the click-handler script to %LOCALAPPDATA%\dsh-task-toast\bin\ and registers the dsh-task-toast:// protocol under HKCU (no admin privileges required). Registration is repeated on every DSH startup to ensure it continues working after upgrades or configuration moves.
If you only need notifications without click-to-navigate, you can disable protocol registration via configuration:
- id: dsh-task-toast
config:
registerProtocol: false
Typical Usage¶
Taking Windows 11 + DSH 0.2.2-rc.1 as an example: after installation and restarting DSH, when the agent calls a tool that requires user authorization, you’ll see a desktop notification with a “⏸ Approval Needed” badge, titled with the session name, and containing the tool and reason in the body. Clicking the notification brings the DSH window to the foreground and automatically switches to the corresponding session. Similarly, if a task is interrupted or completed, a notification pops up with the appropriate icon and content—click to quickly return to that session.
Use Cases & Notes¶
- Ideal for developers using DSH Desktop on Windows 10/11 who frequently need to intervene in task workflows.
- The plugin runs within the DSH Host process; all operations are local only: registering an HKCU protocol and writing queue files under
%LOCALAPPDATA%. No network access or telemetry is involved. - Uses wscript.exe as the click-handler entry point to avoid unsigned local executables being blocked by Windows 11 Smart App Control.
- If Windows Script Host is disabled in your environment, you can manually register a PowerShell handler (a brief terminal flash may appear, but navigation still works).
- The plugin declares
dsh.bundle.platforms: ["win32"]; non-Windows profiles will reject loading to prevent silent failures. - We recommend reviewing the source code and license (MIT) before installation to ensure compliance with your organization’s security policies.
Conclusion¶
dsh-task-toast delivers critical DSH states directly to you via desktop notifications, with one click to jump to the corresponding session—reducing manual context switching and information loss. View details on the SkillHub directory page, or check the source code and updates in the GitHub repository.