Luaphes/dsh-web-attention-badge 预览 preview

Luaphes/dsh-web-attention-badge

插件Plugin 原生Native ⭐ 5 MIT 浏览器Browser社交SocialWeb 界面Web UI

DeepSeek Harness Web UI 的注意力提醒功能:用于等待输入或已完成但未打开的会话,包括框架徽章、(N)标签页标题以及鲸鱼图标变色。

项目介绍Project Overview

dsh-web-attention-badge 是 DeepSeek Harness Web UI 的注意力提醒插件。它在左上角徽章、浏览器标签页标题和鲸鱼图标 favicon 三处同步显示未处理会话数:琥珀色代表待输入(ask_user、审批、plan 模式),绿色代表离开后已完成且未打开的会话。数据来自内置会话存储,无需宿主代码或额外通道,适合需要跨标签追踪会话状态的场景。注意徽章只反映打开过页面的会话,未访问的会话不会被统计。

dsh-web-attention-badge is an attention reminder plugin for the DeepSeek Harness Web UI. It synchronizes an unhandled-session count across three surfaces: a top-left badge, a (N) prefix in the browser tab title, and a recolored whale favicon. Amber indicates sessions awaiting input (ask_user questions, approval prompts, plan-mode review); green marks sessions that completed while away and remain unopened. All three read from the built-in sessions store, requiring no host code or extra transports. Use it when tracking session state across multiple tabs. Note that counts only cover sessions whose page has been opened.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

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

Luaphes/dsh-web-attention-badge 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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.

上一个 Prev dsh-vibeos 下一个 Next dsh-cloak-browser