跳到正文

Luaphes/dsh-web-attention-badge

50最近提交 2026年8月13日

dsh-web-attention-badge DSH 插件

该插件为 DeepSeek Harness Web UI 添加三个视觉提示:左上角徽章、浏览器标签页计数和鲸鱼图标变色。琥珀色表示等待用户输入的会话,绿色表示你离开期间完成的会话。所有指示器共享内置会话存储的数据,无需额外代码或传输。

如何安装 dsh-web-attention-badge DSH 插件

dsh plugin --profile web add dsh-web-attention-badge

复制不会执行命令。安装 dsh-web-attention-badge DSH 插件前请核对仓库和版本。

dsh-web-attention-badge DSH 插件数据来源

dsh-web-attention-badge DSH 插件快照日期:2026年8月16日

discovered

dsh-web-attention-badge DSH 插件能做什么

  • 在框架左上角显示 (1) 样式的徽章
  • 在浏览器标签页标题中显示 (N) 计数
  • 将鲸鱼图标变为琥珀色(等待)或绿色(已完成)
  • 使用内置会话存储,无需宿主代码或额外传输
  • 徽章可点击穿透,不会阻塞侧边栏

dsh-web-attention-badge DSH 插件适合哪些场景

  • 返回 Web UI 后快速查看是否有会话需要关注
  • 无需打开侧边栏即可识别未读的已完成会话
  • 监控多个会话的审批提示或计划模式审查
  • 在后台任务完成时通过浏览器标签页获得视觉提示

dsh-web-attention-badge DSH 插件适合谁

  • 使用 DeepSeek Harness Web UI 并管理多个会话的用户
  • 需要实时了解会话状态而不必频繁手动检查的开发人员或运维人员

dsh-web-attention-badge DSH 插件的限制

  • 仅适用于 DeepSeek Harness 的 Web profile(不支持终端或其他 profile)
  • 自定义颜色、位置或启用/禁用需要编辑 lib/client.js 中的常量并重启 Web UI
  • 鲸鱼图标变色依赖于浏览器对动态 favicon 的支持

dsh-web-attention-badge DSH 插件的仓库 README 摘录

以下文字摘自 dsh-web-attention-badge DSH 插件的上游仓库 Luaphes/dsh-web-attention-badge 的 README,版权归原作者,仅作引用。

Attention reminders for the DeepSeek Harness Web UI. Whenever a session needs you, three surfaces light up at once: a `(1)`-style badge in the top-left of the frame, a `(N)` count in the browser tab title, and a recolored whale favicon. - **Amber** — sessions waiting for your input (`ask_user` question, approval prompt, plan-mode review). - **Green** — sessions that finished while you were away and have not been opened yet. All three share the same counts from the built-in sessions store — no host code, no extra transports. The badge is click-through and never blocks the sidebar. ## Install ```sh dsh plugin --profile web add dsh-web-attention-badge ``` Or install straight from GitHub: ```sh dsh plugin --profile web add "github:Luaphes/dsh-web-attention-badge#v0.3.1" ``` Upgrade / uninstall: ```sh dsh plugin --profile web update dsh-web-attention-badge dsh plugin --profile web remove dsh-web-attention-badge ``` `dsh plugin` registers the bundle automatically — no manual config. ## Tuning Constants at the top of `lib/client.js`: - `TAB_TITLE_ENABLED` — the `(N)` browser tab title prefix. - `FAVICON_ENABLED` — the whale-favicon recolor. - Pill colors/position — the `st

阅读完整 README仓库许可: MIT

dsh-web-attention-badge DSH 插件常见问题

如何安装这个插件?

在终端中运行 `dsh plugin --profile web add dsh-web-attention-badge`。或者从 GitHub 直接安装:`dsh plugin --profile web add "github:Luaphes/dsh-web-attention-badge#v0.3.1"`。插件会自动注册,无需手动配置。

如何卸载这个插件?

使用命令 `dsh plugin --profile web remove dsh-web-attention-badge`。这将从你的 Web profile 中移除插件包,无需其他清理操作。

能否自定义徽章的颜色或位置?

可以。编辑插件源码中 `lib/client.js` 开头的常量,例如 `TAB_TITLE_ENABLED`、`FAVICON_ENABLED` 以及 `AttentionBadge` / `Pill` 中的样式映射。修改后刷新页面即可生效;如果修改了 manifest 文件,则需要重启 `dsh web` 进程。

这个插件在非 Web profile 下能用吗?

不能。该插件专门为 DeepSeek Harness 的 Web profile 设计,依赖 Web UI 的 DOM 和浏览器 API,在终端或其他 profile 下无法工作。

插件会影响性能吗?

插件使用内置会话存储,无需额外传输,因此性能影响极小。徽章和 favicon 更新非常轻量,仅在会话状态变更时触发。