nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Dax233/dsh-desktop-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Windows 原生通知插件:任务完成 / 需要提问 / 出错时弹 toast,并播放内置 ciallo 提示音。
dsh plugin --profile desktop add github:Dax233/dsh-desktop-notify
安装后重启 DSH Desktop;通知样式与声音受 Windows 通知设置影响。
Native Windows system notifications for the DSH agent, with the system sound.
index.js + toast.js): registers the notify tool and sends the
toast directly through Windows PowerShell + WinRT (ToastNotificationManager),
using the DSH AppUserModelID electron.app.DeepSeek Harness read from the installed
Start-Menu shortcut, so toasts are branded DeepSeek Harness. Sound is played
explicitly with System.Media.SoundPlayer (system WAV), so a muted
notification-sound setting does not silence the alert.node-notifier/SnoreToast (LGPL) dependency either.Research note (2026-10-22): DSH exposes no plugin-level notification API (only the
desktop main process uses Electron Notification for mandatory updates), and the
main-process module is not reachable from a plugin. Existing open-source agent
notification tools are CLI hook scripts (macOS osascript, PowerShell WinRT, or
node-notifier + SnoreToast); none is a DSH plugin. The renderer Web Notification
path is the zero-dependency fit here.
notify({ title, body?, sound?, urgency?, tag?, action? })
| field | meaning |
|---|---|
title |
short headline (required) |
body |
one or two lines of context |
sound |
default true; false sends a silent toast |
urgency |
info (default) / attention / blocked (blocked uses requireInteraction, stays until dismissed) |
tag |
a newer toast with the same tag replaces the older one |
action |
send (default) or status |
Usage guidance given to the model: one notification per meaningful state change — task finished, blocked on the user, or the user asked to be pinged.
cd <repo>
node --test tests/notify-client.test.mjs tests/notify-host.test.mjs
Client tests execute the real client.js in a Node VM with a mocked
Notification class (grant / request-permission / denial paths, silent flag,
round-trip result). Host tests cover the tool schema (wire-ready JSON Schema),
status, empty-title rejection and a fake-client round-trip.
permission is denied.详细设计与排障:见 docs/desktop-notify.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。