DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Notify — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@bittersmilezzz/dsh-notify

Notify

System-level desktop notifications for DeepSeek Harness: approval, turn completion, session completion, and error alerts; click notifications to open the corresponding session. Supports macOS, Windows, and Linux, with notification text following the interface language.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @bittersmilezzz/dsh-notify@0.3.7
READMECompatibilityVersions

Compatibility and provenance

Notify is published as @bittersmilezzz/dsh-notify and currently resolves to version 0.3.7. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/16/2026

Versions

0.3.7stable
9/29/2026
0.3.6stable
9/25/2026
0.3.5stable
9/24/2026
Show 9 more versionsCollapse versions
0.3.4stable
9/24/2026
0.3.3stable
9/24/2026
0.3.2stable
9/24/2026
0.3.1stable
9/24/2026
0.3.0stable
9/23/2026
0.2.0stable
9/17/2026
0.1.14stable
9/16/2026
0.1.13stable
9/15/2026
0.1.12stable
9/13/2026

Related plugins

Loading related plugins…

Latest
0.3.7
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
214.9 kB
Files
52
Surface
web
License
MIT
Source
npm
Weekly downloads
47
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseAb Publishdsh-ab-publishBrowser-automation publishing tool that logs into and posts to arbitrary websites, in one publishable plugin packageAb Wechat Scrapedsh-ab-wechat-scrape--- description: "The out-of-tree wechat_scrape tool: retrieves WeChat official-account articles, filters promotional blocks, and saves each as a Markdown file, for maintainers of this machine's dsh profiles." kind: "package-reference" ---Remote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and r

README

@bittersmilezzz/dsh-notify

DeepSeek Harness (DSH) 的系统级桌面通知(Desktop Notifications):审批请求 / 轮次完成 / 后台会话完成 / Agent 出错时弹出系统通知,点击通知直接跳转浏览器对应会话。从 dsh-ui-tweaks 按功能拆分出的独立插件包。

功能

  • 四类事件分别开关:审批(approval/request)、轮次完成(agent idle)、会话完成(agent/disposed)、Agent 出错(agent/error,同会话 30s 去重)
  • 总开关 + 声音开关;通知提示音走系统通道(macOS Glass / Windows toast 音),设置卡片提供 Web Audio 试听
  • 通知文案跟随界面语言:读官方 locale 设置的偏好(设置 → 通用 → 语言),中文/英文双语;未设置时用中文
  • 正文带会话身份:优先会话标题(官方 sessionTitle 服务),无标题时回落模型名——多会话并行时能分辨是哪一个
  • 聚焦抑制(分级):浏览器页面可见时,「轮次完成 / 会话完成」这类非阻塞通知不再打扰;「审批 / 出错」始终送达(审批是阻塞性的,官方审批 UI 只在对应会话内出现,用户在看别的会话时看不到)
  • 点击跳转:通知携带带进程 token 的地址 + #session=<id>(如 http://127.0.0.1:3080/?token=...#session=<id>),首次点击自动完成浏览器认证(无需手动打开启动 URL),client 半区 deep-link 自动打开对应会话;兼容旧 ?session=<id> 形态
  • 按平台分派:
    • macOS:terminal-notifier(可点击跳转)→ 缺失或运行失败时 osascript 兜底(仅展示)
    • Windows:PowerShell WinRT toast(Win10+ 自带,点击「查看会话」跳转)
    • Linux:notify-send(libnotify,多数桌面发行版预装;仅展示,无点击跳转通道)
    • 其他平台:静默跳过

安装

# npm(推荐):包名 @bittersmilezzz/dsh-notify
dsh plugin --profile <profile> add @bittersmilezzz/dsh-notify
# 或从 GitHub
dsh plugin --profile <profile> add github:bitterSmilezzz/dsh-notify
# 或本地路径
dsh plugin --profile <profile> add <path-to-repo>

启用后开关在桌面通知卡片(settings namespace notify)。卡片注册到官方 plugins.bundle.config 契约,位置在:侧边栏 Plugins 面板 → 本插件 → 配置表单。

DSH 0.1.6-alpha.2 之前的旧契约 settings.plugin.item(设置 → 插件 → 配置) 已被上游退役(commit 90af3110b7),本插件自 0.2.1 起只注册新契约;更早的 DSH 版本会退化为自绘折叠外壳兜底。

安装/升级插件后需重启 web profile 生效;开关调整即时生效(拨动即写,无需保存),无需重启。

外部依赖

  • macOS:可选 terminal-notifier(/opt/homebrew/bin/ 或 /usr/local/bin/,仅有点击跳转需要;缺失自动降级 osascript 仅展示)
  • Windows:PowerShell 5+(Win10/11 自带,无第三方依赖);临时 .ps1 脚本自身 finally 自删,另有两层兜底(JS 30s 定时器 + 启动/写入前清扫陈旧残留),宿主崩溃也不残留堆积
  • Linux:可选 notify-send(libnotify;未安装时静默跳过)
  • 通知走系统级通道,不经浏览器 Notification API
  • 生命周期脚本:无(无 preinstall/install/postinstall/prepare)

权限

权限等级:medium(有限范围):host 半区 spawn 本地通知命令(terminal-notifier / osascript / powershell.exe / notify-send),写入临时 .ps1 脚本(Windows,自删除);注册一条精确 HTTP 路由(/api/dsh-notify/presence,接收浏览器半区的页面可见性上报;信任围栏复用官方 connection.requestRejection:Host/Origin 检查 + 浏览器认证);读取 settings 的 notify 与 locale namespace。不访问用户文件/会话数据,不发起外部网络请求。通知负载只作为 argv 传入,命令恒为字符串字面量,杜绝命令注入。

已知风险

  • macOS 通知需在「系统设置 → 通知」中允许宿主 App(终端/Node)发送通知,否则静默丢失;设置卡片提供直达入口。
  • terminal-notifier 的点击跳转依赖已废弃的 NSUserNotification 私有 API(macOS 26 上可能失效),届时自动降级为 osascript 仅展示。
  • Linux 通知不可点击(notify-send 无可靠的点击回调通道);声音由桌面主题控制,插件的声音开关在 Linux 上无效。
  • 每次点击通知都会由浏览器新开一个标签页(URL 因 #session= 而不同,浏览器无法复用已有标签)——deep-link 会在新标签页里自动跳到目标会话。
  • 所有通知失败均静默(fire-and-forget),不影响宿主进程。
  • 聚焦抑制依赖浏览器半区上报(30s 续期,host 侧 75s 保鲜期):页面崩溃/断连时最多 75s 后恢复通知;失败方向刻意选「宁可多通知,不可静默失效」。
  • settings namespace 使用 notify(非 dsh- 前缀):若与其它插件 namespace 撞名,后注册方会 throw;冲突时需改名为 dsh-notify。

开发

标准双半区结构,lib/ 为构建产物:

pnpm install
pnpm typecheck   # 双 program(host + client),纯检查不产出
pnpm build       # tsc host + tsc client 声明(lib/types/client)+ tsdown client bundle
pnpm test        # node --test test/*.test.mjs

源码结构(host):index.ts 组合器与 settings schema;notify-events.ts 事件编排(开关/去重/聚焦/文案组装);system-notify.ts 平台通道;notify-text.ts 通知文案字典;notify-policy.ts 纯策略函数;presence.ts 聚焦状态机。

License

MIT