Preface¶
When DeepSeek Harness (DSH) runs multiple sessions in parallel or operates for extended periods, it’s easy to lose track of “which session has reached which stage.” The default interface only refreshes within the current window, so managing multiple concurrent tasks requires constantly switching windows to check progress. This plugin leverages system notifications to push key events—such as “session ended,” “response needed,” and “authorization pending”—directly to your desktop. It also lets you answer questions, approve or deny actions, and jump back to the relevant session right from the notification, reducing the overhead of repeatedly switching windows.
What Is This¶
dsh-session-toast-notification is a session event notification plugin for DeepSeek Harness. Published by maintainer Jae1010, it targets DSH version 0.2.2-rc.5 and above. It triggers a system notification when a conversation turn ends, when the agent needs your input, or when a tool call requires authorization. On Windows, notifications appear in the Notification Center; on macOS, they use the browser’s system notification API (currently in beta). Each notification includes the session title, working directory, turn duration, and a content summary, making it easy to identify the relevant session among multiple parallel ones. You can reply to questions, approve or deny actions, and navigate to the corresponding session directly from the notification.
Core Features¶
- Session event notifications: Triggers a notification when a turn completes, when a mid-conversation question is asked, or when authorization is pending. Statuses include “Session Completed,” “Session Aborted,” “Session Blocked,” “Session Error,” “Output Limit Reached,” “Session Interrupted,” “Goal Completed,” “Goal Blocked,” “Response Needed,” and “Authorization Pending.”
- Multi-session differentiation: The first line of the notification displays the status and session title; the second line shows the turn duration and the last two path segments of the working directory; the third line shows a content summary (~110 characters). Concurrent sessions with the same name are distinguished by the last two path segments of their directories.
- In-notification replies: Question notifications include option buttons (up to 3 per question); clicking one is equivalent to selecting it in the DSH page card. Authorization notifications include “Allow Once” and “Deny” buttons. Multi-question cards appear one at a time (titled “Question X of Y”), and answers are submitted only after all questions are answered. Questions requiring free-text input are simply flagged as reminders—go back to the session to complete them.
- Click to navigate: Clicking the notification body opens the DSH window and switches to the corresponding session.
- Taskbar flash: On Windows, the taskbar icon flashes when a notification appears, until the window is brought to the foreground.
- Focused-session suppression: If you’re actively looking at a session (window is in the foreground and that session is currently displayed), its completion/question/authorization notifications are suppressed. Other sessions still notify normally. The determination is based on the page-reported “current session + focus state,” valid for 120 seconds.
- Goal mode suppression: During automatic multi-turn runs, by default only the final “Goal Completed” or “Goal Blocked” turn triggers a notification, avoiding a flood of intermediate alerts.
- Sound & quiet hours: Completion, question, and authorization notifications can each have a custom sound, volume, and quiet hours configured (default 22:00–08:00). Quiet hours support crossing midnight.
- Custom sounds: Supports up to 12 custom
.wav/.mp3sound files. Preview and delete them directly from the plugin page. - macOS limitations: Currently in beta—only basic reminders are supported; in-notification actions are not available. Notification attribution and click actions depend on the browser’s semi-privileged context.
Installation & Enablement¶
Before installing, ensure your DSH version is >= 0.2.2-rc.5. Windows 10/11 offers full functionality; macOS is in beta.
Installing via DSH¶
- Open DSH and navigate to Plugins → Add Plugin.
- Search for
dsh-session-toast-notificationand click Install. - After installation, refresh the page (Ctrl+R) for the plugin toggle and sound dropdown to appear on the plugin page.
Installing via CLI¶
dsh plugin --profile web add dsh-session-toast-notification
Update:
dsh plugin --profile web update dsh-session-toast-notification@latest
Typical Usage¶
After installation, the plugin will pop up notifications in the following scenarios:
- End of a turn: Displays the status, session title, turn duration, working directory, and content summary.
- Agent calls
ask_user_question: Displays the status, session title (or the beginning of the first question), working directory, and question text. - Tool call requires authorization: Displays the status, session title, working directory, and the pending operation.
By default, sub-agent sessions are skipped to avoid a flood of notifications in multi-agent tasks. From the plugin page or the “Popup Reminders” section in Settings, you can disable any type of notification, adjust sounds and volume, set quiet hours, and toggle features such as taskbar flash, in-notification replies, click-to-navigate, foreground suppression, and Goal mode suppression.
Use Cases & Notes¶
Ideal for the following scenarios:
- Running multiple sessions concurrently and needing to quickly identify which one has reached a critical point.
- Preferring to answer questions or approve operations directly from notifications to reduce window switching.
- Needing to distinguish parallel sessions by title, directory, and duration to avoid misoperations.
Caveats:
- macOS is currently in beta; features may not work reliably and it’s not recommended as a primary notification method in production.
- Sound and notification behavior are subject to the system’s Do Not Disturb settings. If the system mutes notifications, the plugin will not retry.
- The default config file path is
%DSH_HOME%\session-toast\settings.json(defaults toD:\dsh\home\session-toast\settings.json). Values set on the plugin page override same-named entries incordis.patch.yml. - A maximum of 12 custom sounds are supported, and files must be in
.wavor.mp3format.
Conclusion¶
This plugin pushes DSH session status directly to your desktop via system notifications, reducing the overhead of frequent window switching. It’s well-suited for scenarios requiring parallel management of multiple sessions or long-running tasks. For more details, visit the plugin catalog page or the GitHub repository.
- Catalog page: https://www.skillhub.cn/plugins/Jae1010/dsh-session-toast-notification
- GitHub: https://github.com/Jae1010/dsh-session-toast-notification