huaiyuwangh/dsh-session-notify

Session-stop alerts for DSH Web: desktop notification, chime and title flash when a run finishes or waits, click to jump back.

Watches the client session store — the same source as the sidebar status dots — and raises an alert when a session stops after producing output or stops to wait for you (approval, plan review, question), delivered as a desktop notification, a chime and a title flash while the page is in the background.

Notifications & Integrations ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-session-notify

The bundle channel installs and mounts in one command. A manual or development install needs node build.mjs (esbuild), the built lib/ copied into the web profile's node_modules and an insert row in that profile's cordis.patch.yml. Either way, restart dsh web, and hard-refresh the page after a bundle update. Clicking a notification focuses the window and switches to that session.

Compatibility

Alert matrix rather than a blanket chime: in the background any stopped session alerts, in the foreground only a session you are not watching does, and the session on screen stays silent by design. There are no alerts when the browser tab is closed, because a client plugin lives in the page, and browser notification permission must be granted once. Two layers can still eat a banner: macOS can silence the browser app in System Settings → Notifications, and Focus/DND swallows banners while the JS construct succeeds with no visible effect — the plugin cannot detect this. Each alert uses a unique notification tag and closes the previous one for that session, because macOS silently swallows re-deliveries of an identifier still in Notification Center. Reload takes a silent baseline instead of replaying alerts for sessions already waiting, preferences persist in localStorage, and copy is bilingual through the DSH locale service.

Details

Alternatives

ch3vr0n5/dsh-attention-notify · YuMo226/dsh-task-notify · hsiu1214/dsh-a2a-notify

More plugins in Notifications & Integrations

Browse more in Notifications & Integrations

Guides for Notifications & Integrations plugins