Back to catalog

r-ayin /

r-ayin/dsh-mac-notify

Verified

macOS desktop notifications for dsh events, delivered over SSH to a small notifier HTTP listener running on the Mac.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@2e59d1ea

dsh-mac-notify

监听 DSH 事件(任务完成、会话暂停、子agent结束、workflow完成),通过 SSH 在 Mac 上显示 terminal-notifier 悬浮气泡通知

由 dsh-super-injector dev_scaffold_plugin 生成。

构建与注入

(prebuilt - no build step required)
# 注入器环境内:dev_inject_plugin <本目录>

Configuration

  • DSH_MAC_NOTIFY_SSH - SSH target of the Mac that shows notifications, e.g. user@mac.local. Required; notifications are skipped when unset. Key-based auth must work non-interactively (BatchMode).

Mac-side listener

The plugin posts notifications over SSH to a small HTTP listener on the Mac (127.0.0.1:18923). Run the bundled example on the Mac:

node examples/mac-notifier-listener.mjs

It requires terminal-notifier (brew install terminal-notifier). Port and notifier binary are configurable via NOTIFY_PORT / NOTIFIER_BIN. For permanence, wrap it in a LaunchAgent.

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.