rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:pd90506/dsh-web-notification
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Browser system notifications for the DeepSeek Harness web GUI:
running → idle (turn finished).So you can switch tabs or apps and still know the moment DSH needs you — on macOS these arrive as real Notification Center banners, with sound if your browser's notification settings allow it.
Notifications fire only while the page is hidden or unfocused (when you're watching the tab, the GUI's own UI already tells you). Clicking a notification focuses the DSH window. Repeated notifications for the same session replace each other instead of stacking.
host: agent/status (running→idle) + approval/request (observe-only) events
-> bounded in-memory queue -> GET /__dsh-web-notification/poll?after=<seq>
client: polls with a monotonic cursor (every tab sees every item)
-> permission + visibility gate
-> new Notification("Task complete", { body: "deploy done finished its turn" })
dsh plugin --profile web add https://github.com/pd90506/dsh-web-notification/archive/refs/tags/v0.1.0.tar.gz
Restart the web server so the host half and the served client bundle pick up the plugin. Then grant notification permission for the DSH origin once (e.g. via the browser's site settings for http://127.0.0.1:3080), and make sure macOS System Settings → Notifications → your browser allows banners and sound.
No harness change is needed: cordis.patch.yml mounts the host row, and the web profile's client module loader serves lib/client.js.
agent/status reports the running → idle edge per session (the turn's end); approval/request is a waterfall event the plugin only observes — it always calls next() and can never block, alter, or answer an approval. Each event becomes a small JSON item (kind, session id, session title, tool name, reason) in a bounded queue (200 items / 60 s TTL).after=<seq> cursor, so multiple open tabs each see every item. It fires a Notification only when permission is granted and the page is not visible./favicon.svg, rasterized to PNG in-page.Zero build step: the host half is plain ESM JavaScript (lib/index.js), and the client half is a dependency-free single-file bundle (lib/client.js) in the ModuleLoader handshake format. Edit, reinstall, restart.
Related: omdsh-dev/dsh-notification — turn-completion notifications with per-outcome toggles and keyword rules (this plugin instead covers permission asks and needs no build tooling).
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。