返回目录
消息通讯 插件

dsh-notify

Dawn388887/dsh-notify

DSH plugin: desktop toast + remote browser notifications when an agent finishes or errors

Stars
0
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:Dawn388887/dsh-notify

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

通知 / Notifications — dsh-notify 1.3.2

Desktop and browser notifications when a DSH agent finishes, encounters an error, or waits for your answer. Windows desktop Toast and browser notifications are separate delivery paths; browser permissions and HTTPS/secure-context requirements still apply.

Install from GitHub

Install the versioned GitHub Release tarball into your own Web profile with the current DSH plugin command:

dsh plugin --profile web add ./dsh-notify-1.3.2.tgz

Obtain the tarball from this repository's v1.3.2 release. Do not use a historical maintenance snapshot as a release artifact. Profile bundle updates may require a manual restart of your existing DSH Web process; preserve your own launch arguments and trusted-host settings, then reload the browser.

The package intentionally retains private: true to prevent accidental npm publication. This does not make the GitHub repository private. Distribution is GitHub only; no npm release is implied.

Use

  • /notify on, /notify off: change the persisted notification toggle.
  • /notify test: request a notification test where supported.
  • The Web notification setting shares the same Host toggle as the command.
  • Root sessions notify on completion, errors and pending questions; subagents do not generate independent desktop Toasts.
  • State is stored under the user's DSH home. No credentials, session logs or machine configuration are included in this package.

Version and compatibility

Plugin versions are independent of host versions. 1.3.2 prepares the public documentation and package metadata for the runtime retained from the local 1.3.0 maintenance build. Runtime JavaScript and composition bytes are unchanged; notify identity, routes and inject: [webServer] are retained.

The exact validation target is DSH 0.2.0-rc.2 on Windows / Node 24. The historical engines.dsh declaration is retained without widening it; see compatibility for what is and is not claimed. English/Chinese package titles are exported from locale/en.json and locale/zh.json.

Development

No build step, runtime dependencies or install scripts are required. Run the state/events/client suites with native Node:

node test/notify-state-test.mjs
node test/notify-events-test.mjs
node test/notify-client-test.mjs
node test/metadata-test.mjs

The tests use temporary state and mocked OS/browser boundaries. Supply a package-directory and exact-host app-boot module path to the metadata test to also verify the real locale reader. Cold-start/browser acceptance is a separate release gate, not something these unit tests prove.

Build an archive with npm pack --ignore-scripts; never overwrite a released version with changed contents. See changelog and maintenance constraints.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类消息通讯
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notifications。