DeepSHPlugins
dsh-task-notify 项目预览
GITHUB / COMMUNITY PROJECT

dsh-task-notify

工具与集成JavaScriptMIT

任务完成时弹出 Windows 原生系统通知(通知中心横幅):目标完成或 Agent 结束一轮。

0 StarsYuMo226 更新时间 2026-08-17
访问 GitHub 仓库
dsh-task-notify 项目预览

项目介绍

中文

任务完成时弹出 Windows 原生系统通知(通知中心横幅):目标完成或 Agent 结束一轮。

English

Native Windows system notification (Notification Center toast) when a task completes: goal completion or agent turn end.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
YuMo226
仓库
YuMo226/dsh-task-notify
GitHub Stars
0
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-17
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

37/ 100
维护活跃
83
文档与实用信息
100
生态关注度
0
安装便捷信号
75
项目声明信号
100

README 含完整安装与使用说明。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:YuMo226/dsh-task-notify

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-task-notify

English | 中文

A DeepSeek Harness (DSH) plugin that shows a native OS system notification whenever a task completes — goal completion or agent turn end. Windows / macOS / Linux.

Features

  • Native OS notifications on every platform: Windows toast, macOS Notification Center, Linux libnotify — real system banners, not blocking dialogs.
  • Two "task done" triggers (configurable):
  • goal completes (phase = complete)
  • an agent turn ends normally
  • Zero runtime dependencies — Node built-ins + OS-native commands (PowerShell, osascript, notify-send).
  • CJK-safe — Windows text travels via UTF-8 temp files so Chinese/Japanese/Korean content is never corrupted.
  • Anti-spam rate-limit between notifications.

Platform support

OSMechanismRequires
WindowsWinRT toast (Notification Center)nothing (AUMID registered at runtime)
macOSosascript display notificationmacOS 10.8+
Linuxnotify-send (libnotify)libnotify (notify-send); falls back to zenity, then kdialog

How it works (Windows)

  1. On first notify, the plugin registers an AppUserModelID (dsh.tasknotify) under HKCU\Software\Classes\AppUserModelId so CreateToastNotifier can deliver to the interactive desktop.
  2. When a task completes, it writes the title/body to UTF-8 temp files and runs a small PowerShell script that shows a WinRT ToastText02 notification via ToastNotificationManager.
  3. Temp files are removed afterwards. Failures are logged (never thrown) so they never break an agent turn.

Each notification (and any failure) is recorded in an audit log at <home>/task-notify.log.

Install

As a dsh bundle, installable via the profile plugin manager:

dsh plugin --profile web add dsh-task-notify

Or install the repo directly (npm alias spec):

dsh plugin --profile web add github:YuMo226/dsh-task-notify

Manual install (no pnpm)

Copy this package into the profile's hoisted node_modules and add a loader entry:

- insert:
    - id: notify
      name: dsh-task-notify
      config:
        onGoalComplete: true
        onTurnEnd: true
        title: 'DeepSeek Harness'
        minIntervalMs: 4000
Restart dsh web after installing for the plugin to mount.

Configuration

KeyTypeDefaultDescription
onGoalCompletebooleantrueNotify when a goal completes.
onTurnEndbooleantrueNotify when an agent turn ends normally.
titlestringDeepSeek HarnessLeading line of the notification.
minIntervalMsnumber4000Minimum ms between two notifications (anti-spam).

Troubleshooting

  • Windows: make sure the notification center is on and Focus Assist is not set to "Alarms only" / "Priority only".
  • Linux: install libnotify (provides notify-send); if missing, the plugin falls back to zenity, then kdialog.
  • If no notification appears, check <home>/task-notify.log for an error line and open an issue.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目