dsh-session-notify
DSH web plugin: desktop notification, chime, and title flash when a session stops — finished output or waiting for human input. Click a notification to jump to that session.
安装
dsh plugin --profile web add github:huaiyuwangh/dsh-session-notify
需要可复现安装时,可在仓库后追加 #commit 固定提交。
DSH web plugin: desktop notification, chime, and title flash when a session stops — finished output or waiting for human input. Click a notification to jump to that session.
该插件未提供要点说明,请参考仓库 README。
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/huaiyuwangh/dsh-session-notify |
| 许可证 | MIT |
| 主要语言 | master |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-20 |
| 收录日期 | 2026-09-19 |
| 分类 | 会话与消息 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-session-notify DSH web plugin: session-stop alerts — a **finished output** (running → stopped) or a **waiting-for-you** stop (approval / plan review / question) — delivered as desktop notifications, a chime, and a title flash while the page is in the background. Click a notification to jump to that session. Pure plugin-layer implementation; no DSH source changes. ## Alert matrix | Page state | Stopped session | Effect | |---|---|---| | Background (another window) | any session | notification + chime (if on) + title flash (if on) | | Foreground | a non-current session | notification + chime (when "foreground" pref is on) | | Foreground | the session you are watching | silent by design | **Notifications are clickable**: click → focus the window → switch to that session. ## Install Official bundle channel (one command installs AND mounts): ```bash dsh plugin --profile web add dsh-session-notify ``` Manual/dev install: ```bash node build.mjs # needs esbuild cp -R lib cordis.patch.yml package.json ~/.dsh/profiles/web/node_modules/dsh-session-notify/ # then add to ~/.dsh/profiles/web/cordis.patch.yml: # - insert: # - id: session-notify # name: 'dsh-session-notify' ``` Restart `dsh web`; hard-refresh the page after a bundle update. ## Behavior notes - Watches the client runtime's `ctx.sessions.list` store (same data source as the sidebar status dots: `host/session-status` frames + the `pendingInteraction` projection). - Each alert uses a UNIQUE notification tag and explicitly closes the previous live notification for that session: macOS silently swallows re-deliveries of an identifier still present in Notification Center, so a stable per-session tag would drop every alert after the first. - Preferences persist in localStorage (`dsh-session-notify.prefs.v1`), no host service needed. - Copy is bilingual (zh/en) through the DSH locale service. - Reload takes a silent baseline: no replay of alerts for already-waiting sessions. ## Known limitations - No alerts when the browser tab is closed (a client plugin lives in the page). - Browser notification permission required (grant once from the settings section). - **Whether a banner appears is controlled at two levels**: after the site permission is granted, macOS can still silence the browser App in System Settings → Notifications, and Focus/DND swallows banners — the JS `new Notification()` construct succeeds with no visible effect, and the plugin cannot detect this. - The notification's origin line shows the page origin (e.g. `127.0.0.1:3080`); browsers force this label and JS cannot change it.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。