Luaphes/dsh-web-attention-badge
Attention reminders for the DeepSeek Harness Web UI: frame badge, (N) tab title and whale-favicon recolor for sessions waiting for input or finished unopened.
已收录
5
Ui
Bundle 已验证
功能介绍
会话需要你时三处同时亮起:角标、标签页标题计数、按状态换色的鲸鱼 favicon。
适合
- 同时看管多个 DSH Web 会话、需要快速查看待输入会话数量的用户。
- 希望后台会话完成但尚未打开时,通过标签页和 favicon 获得提示的用户。
- 需要注意力提示但不希望增加宿主端代码或额外传输通道的工作流。
不适合
- 只有单个会话、当前页面已能清楚显示状态的工作流。
- 没有浏览器边框、标签页标题或 favicon 的 headless 或非 Web DSH 用法。
- 需要邮件、移动端或操作系统通知等浏览器外提醒的用户。
README
dsh-web-attention-badge
| English | 简体中文 |
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_userquestion, 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
dsh plugin --profile web add dsh-web-attention-badge
Or install straight from GitHub:
dsh plugin --profile web add "github:Luaphes/dsh-web-attention-badge#v0.3.1"
Upgrade / uninstall:
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
stylemaps inAttentionBadge/Pill.
Bundle edits apply on a page refresh; manifest edits need a dsh web
restart.
License
Development
See CONTRIBUTING.md for layout, release and publishing.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:Luaphes/dsh-web-attention-badge。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。