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.

main工具会话 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:Luaphes/dsh-web-attention-badge

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 8b2ede6同步于 2026年8月18日

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_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

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 style maps in AttentionBadge / Pill.

Bundle edits apply on a page refresh; manifest edits need a dsh web restart.

License

MIT

Development

See CONTRIBUTING.md for layout, release and publishing.

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

贡献指南已检测

仓库信息

开发语言
JavaScript
许可证
MIT
最后更新
2026年8月13日 20:46

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。