Tab icon and notifications
Read agent status from a pinned tab, and get desktop alerts and a chime when an agent stops or asks.
@lukstei/dsh-client-favicon · @lukstei/dsh-client-notify
What it does
- Draws the browser tab icon as a ring of eight ticks: green for running sessions, orange for sessions waiting in review, a red centre dot when an agent waits on you.
- Shows a desktop notification when an agent stops, asks a question or needs a tool approval.
- Plays a short chime with each alert, a pop for a stop and a two-note alert for a request.
- Sets the app-icon badge of the installed app to the number of sessions that need you.
- Stays quiet for subagents, for runs that produce no chat message and for tabs you are looking at.
How to use
- Install both packages and restart the harness.
- Open DSH and click anywhere on the page once. The browser asks to allow notifications; choose Allow.
- Start agents and switch to another tab. The DSH tab icon shows how many sessions run and wait.
- When a banner appears (for example
Agent stoppedorTool approval requested: bash), click it to return to DSH.
Controls & gestures
Tab icon
The icon has no click behaviour. It is a status display.
| Where | Gesture | Result |
|---|---|---|
| Tab icon, green ticks | look | One tick per running session, filled from the bottom |
| Tab icon, orange ticks | look | Sessions in the Kanban review lane, filled from the top into free ticks |
| Tab icon, red centre dot | look | At least one session has a pending approval, question or other request |
| Tab icon, orange centre dot | look | More review sessions than free ticks (red wins when both apply) |
| Tab icon, no ticks | look | Nothing running, nothing waiting; your normal icon is restored |
Desktop notification
| Where | Gesture | Result |
|---|---|---|
| Page, first interaction | click, tap or key press | Browser permission prompt for notifications, if not decided yet |
| Notification banner | click | Focuses an open DSH window, or opens a new one at / if none is open |
| Notification banner | dismiss (OS control) | Closes it; no other action |
Banner texts: Agent stopped, Tool approval requested: <tool>, Question: <question>, Action required: <kind>.
Settings you might change
None needed; defaults work. Neither package has options. See the favicon README and notify README for details.
Works with
- Kanban (
@lukstei/dsh-client-kanban) supplies the review count. Without it the tab icon shows running and waiting sessions only, and the app badge counts waiting sessions only. - PWA (
@lukstei/dsh-client-pwa) makes DSH installable, which the app-icon badge needs. - Requires the web client; the two packages work independently of each other.
Good to know
- The favicon plugin only changes the browser tab icon, so DeepSeek Harness must run in a browser tab with the web profile for it to take effect.
- No banner appears while the DSH tab is focused and visible on desktop. The chime still plays.
- A stop alerts only if the agent wrote a chat message in the last minute, and not if it restarts within 3 seconds. Each request alerts once.
- Plan reviews do not notify. Browsers differ in whether they show a changing tab icon, and the app badge needs the app installed.
- Model Experience: adds nothing to the agent's context.
Install
sh
dsh plugin --profile <web|desktop> add @lukstei/dsh-client-favicon @lukstei/dsh-client-notify