dsh
OpenPetsHQ/openpets将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
一个 DeepSeek Harness (DSH) 插件:每当任务完成时(目标完成或 Agent 结束一轮),弹出原生系统通知。支持 Windows / macOS / Linux。
complete 状态| 系统 | 机制 | 前提 |
|---|---|---|
| Windows | WinRT toast(通知中心) | 无(运行时自动注册 AUMID) |
| macOS | osascript display notification | macOS 10.8+ |
| Linux | notify-send(libnotify) | libnotify;缺失时回退 zenity → kdialog |
dsh.tasknotify)到 HKCU\Software\Classes\AppUserModelId,使 CreateToastNotifier 能投递到交互桌面。ToastNotificationManager 展示 WinRT ToastText02 通知。每次通知(及失败)都会记录到审计日志 <home>/task-notify.log。
作为 dsh bundle,可通过 profile 插件管理器安装:
dsh plugin --profile web add dsh-task-notify
或直接安装该仓库:
dsh plugin --profile web add github:YuMo226/dsh-task-notify
把本包复制到 profile 的 hoisted node_modules,并添加 loader entry:
- insert:
- id: notify
name: dsh-task-notify
config:
onGoalComplete: true
onTurnEnd: true
title: 'DeepSeek Harness'
minIntervalMs: 4000
安装后请重启
dsh web以便插件挂载。
| 键 | 类型 | 默认 | 说明 |
|---|---|---|---|
onGoalComplete | boolean | true | 目标完成时通知 |
onTurnEnd | boolean | true | Agent 一轮正常结束时通知 |
title | string | DeepSeek Harness | 通知标题 |
minIntervalMs | number | 4000 | 相邻两次通知的最小间隔(防刷屏) |
notify-send);缺失时插件回退 zenity,再 kdialog。<home>/task-notify.log 的报错记录,并可提交 issue。