
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-attention
Advanced tools
Notifications for approvals, questions and completed sessions, with interactive cards and a desktop pet.
DeepSeek Harness 提醒插件:会话需要 审批 / 提问 / 选择,或一轮对话结束时,显示可操作卡片、常驻鲸鱼娘宠物或系统通知。支持 Web、网页应用(PWA)和官方桌面版;桌面提醒功能需要 Windows 10+。
适配 DSH 0.2.0-rc.2 / 0.2.1-alpha.1 的接口,保留 0.1.2-alpha.3 的旧导航和卡片接口回退;不兼容更早使用 apiProxy 的版本。插件列表与设置页支持中文、英文。
Notification。标签被冻住时 JavaScript 停了,审批、提问、会话结束照样能弹窗。settledMax 控制。%USERPROFILE%\.dsh\dsh-attention-ui.json,重启仍在。在 设置 → 提醒 → 卡片外观 中选择 宠物模式 并保存:
Web 版:
dsh plugin --profile web add dsh-attention
装完后重启 dsh web。
官方桌面版:优先在桌面应用的插件管理页安装 dsh-attention。同一个包自动适配桌面版和 Web,无需手动配置平台或端口。桌面版与 Web 的插件安装目录独立,安装到 web 不会自动启用到 desktop。
也可在桌面版菜单「管理 dsh 命令」安装桌面自带的命令,完全退出桌面应用,再执行:
dsh plugin --profile desktop add dsh-attention
重新打开桌面版。桌面 profile 请使用桌面应用自带的 dsh 命令。
桌面版「回到会话」可唤回现有窗口,包括隐藏在托盘时,并切换到对应会话。桌面版始终复用窗口,不受 Web 的「新开」设置影响,也不执行浏览器休眠强制刷新;已答记录与通知设置仍生效。
dsh plugin --profile web add dsh-attention@latest
更新完成后重启 dsh web。
桌面版在插件管理页更新并重启;也可完全退出后用桌面自带命令执行 dsh plugin --profile desktop add dsh-attention@latest。
以下通知卡片操作以默认的自制卡片样式为例;宠物操作见上方「宠物模式」。
0(关闭)或 -1(无限)都可关闭自动刷新。cordis.patch.yml 或 profile 里覆盖 dsh-attention 的 config:
| 字段 | 默认 | 含义 |
|---|---|---|
enabled | true | 宿主配置开关;用户在插件列表中启用或停用插件 |
notifyApproval | true | 提权审批 |
notifyQuestion | true | 提问 / 选择 |
notifyIdle | true | 一轮对话结束后的下一步输入 |
notifySubagentIdle | false | 子代理会话结束通知;弹窗不提供回复输入框 |
notifyStyle | custom | custom 自制卡片;pet 宠物模式;system 系统通知 |
notifyTimeoutSec | 30 | 停留秒数;-1 无限(一直留到关掉),0 关闭自动消失。系统通知实际只有约 7 秒 / 25 秒两档 |
cardOpacity | 0.78 | 自制毛玻璃卡片不透明度,0.1–1,越小越透 |
petScale | 1 | 宠物大小倍率,0.5–2;设置页显示为 50%–200% |
openSessionMode | reuse | Web:reuse 复用已有窗口;new 每次新开;官方桌面版始终复用 |
hiddenReloadMs | 8000 | Web 标签隐藏多久后唤醒要刷新(毫秒;设置页按秒填写);0 关闭自动刷新,-1 无限;官方桌面版不执行此刷新 |
settledMax | 50 | 记住多少条「已用弹窗答过」的记录,用于回到窗口时自动关掉网页卡片;0 不记录,-1 不限 |
sound | 系统默认提示音 | 设为 false 静音 |
choiceShellPath | 自动 | 自制卡片使用的 PowerShell。默认优先 pwsh 7(启动更快),找不到时用 Windows PowerShell 5.1;可显式指定路径 |
插件会自动使用当前 DSH 实例的回环端口生成回调地址;多开时通知动作和会话切换会发给产生它的实例。回调路由只接受本机回环。
时间和记录条数配置中,0 = 关闭该项功能,-1 = 无限(不设上限),正数按各自单位取整。cardOpacity 和 petScale 为小数倍率,遵循各自的范围。
老版本用 0 表示「永久 / 不限制」;升级后第一次启动会自动把配置里的这些 0 改写成 -1,并写入 schemaVersion 标记 —— 只迁移一次,之后你自己填的 0 不会再被改。
settledMax 配置(默认 50):控制记住多少条已答记录;0 = 不记录(等于关闭自动关闭),-1 = 不限0 = 关闭、-1 = 无限,并自动迁移老配置里的 0(只迁移一次,写入 schemaVersion)sessionController.prompt() 需要 AbortSignal,之前漏传导致抛错被吞,卡片显示已提交但消息没进会话-1:刚打出的负号会被改写成 0 或默认值pwsh 7、按运行时缓存 C# 辅助类型,并在插件加载时预热,显著缩短卡片出现前的等待choiceShellPath 配置,可显式指定自制卡片的 PowerShell0.1.2-alpha.3,移除旧版 apiProxy、events.mux 与 events.host 接口approval/request、user-questions/request waterfall;网页卡片和右下角卡片均可回答,先提交的一方生效api-session/status,下一步消息改由 sessionController.prompt() 提交webServer,恢复设置、焦点、待处理项和通知动作回调settledMax 条后最旧的会被丢弃,宿主重启或清除浏览器缓存也可能使记录不可用,此时若卡片被重放,需要手动处理。pwsh 7,缺失时回退 Windows PowerShell 5.1;系统通知仍用 5.1 的 WinRT Toast。首次加载插件时会在当前用户注册 dsh-attention: 协议。dsh://open,不依赖浏览器窗口匹配。插件代码采用 MIT。鲸鱼娘衍生动画与预览素材采用 CC BY-NC-SA 4.0,保留原作者署名、非商业性使用和相同方式共享要求,详见 素材说明 与 素材许可。此许可与插件代码的 MIT 许可分别适用。
抓取光标使用 Chromium 原版资源,许可见 Chromium 光标许可。鲸鱼娘是社区二创形象,本插件与 DeepSeek 无官方隶属或背书关系。
FAQs
Notifications for approvals, questions and completed sessions, with interactive cards and a desktop pet.
We found that dsh-attention demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.