@dsh-external/dsh-notifier v0.2.0
@dsh-external/dsh-notifier v0.2.0
跨窗口提醒升级:切到其他应用、其他桌面空间、甚至全屏应用,都能看到 DSH 的任务完成 / 需要决策提醒。
新增(v0.2.0)
- macOS always-on-top 悬浮面板:内置 Swift notifier(NSPanel
.floating+canJoinAllSpaces+fullScreenAuxiliary),样式与网页 toast 同款,「去处理 / 查看会话」按钮直接打开 DSH - 决策联动:审批被拒绝 / 提问被回答后,悬浮面板自动关闭
- 回退链:无 swiftc →
osascript display dialog;Linuxzenity/notify-send;WindowsMessageBox - 新配置:
floating(默认 true)、webUrl
保留
- DSH 网页内右下角 toast(任务完成 6s 自动消失,决策钉住)
- 系统通知中心横幅(
desktop,默认 true) - web / host 双通道相互独立,断线自动重连
验收
- 真实事件实测:任务完成 / 权限审批 / 用户提问 → 悬浮面板均以
floating layer=3上屏(CoreGraphics 窗口枚举确认) - 审批拒绝、提问回答后,面板自动消失
- 截图见仓库
docs/screenshots/native/
安装
下载 tgz 解压 → dsh plugin --profile web add <解压目录> → dsh web(详见 README)