すべてのプラグイン

dsh-session-status-hub

dsh-session-status-hub · バージョン 0.6.0 · 2026/11/29 更新

複数のセッションを開いているときに、失敗や返答待ちが分かるよう、タイトルバーに赤・黄・緑・青・灰の順でステータスを表示します。クリックで該当セッションに移動できます。状態の変化は通知とタスクバーのドットで知らせます。

  • バージョンごとに審査
  • 通知連携
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

dsh-session-status-hub — Session Status Hub for DeepSeek Harness

CI English · 简体中文

A missing "how are all my Sessions doing right now?" surface for DeepSeek Harness:

  • A rail in the top title bar listing the Sessions that need you. One click jumps straight to that Session. A second group — Recent Sessions — sits right after it as a one-click way back to the conversation you just left.
  • Windows notifications when a Session changes state (finished / failed / needs an answer); clicking the toast reopens the Session and brings the DSH window forward.
  • Taskbar status dot on the DSH taskbar button, visible while the window is minimized or buried behind other apps.

At a glance (Q&A)

Q: I have a dozen Sessions open — how do I tell at a glance which one failed and which one is waiting for my answer?

A: install dsh-session-status-hub. It does three things:

  1. A rail in the title bar — the chips are always the Sessions that need you most (3 visible + +N), grouped as Status Sessions and then Recent Sessions. The ‹ / › buttons at the far left step back and forth through your Session visit history (the browser's own back button cannot do this).
  2. A taskbar status dot — red / yellow / green on the DSH taskbar button, still visible while the window is minimized or buried behind other apps.
  3. Windows notifications when a Session finishes / fails / needs your answer — colour emoji in the title, click to reopen the Session and raise the window.

What it deliberately does not do:

  • no notifications for streaming activity ("thinking…", "running a tool…") — only real state changes;
  • running never lights the taskbar: a permanently green dot would mask the red / yellow signal; background jobs never light it either;
  • zero npm dependencies; the host half hot-loads, the client half needs one Ctrl+R.

dsh-session-status-hub title-bar rail: waiting (yellow) / running (blue)

Full, behaviour-level documentation (in Chinese): README.zh-CN.md. Design and internals (state derivation, edge engine, taskbar worker, boundaries): docs/design.md.

States and priority

StateRail chipTaskbar
failed🔴 + 报错red (highest)
waiting — needs your answer / approval🟡 + 等待回答yellow
unread — finished, not yet looked at (incl. finished in background while you were away)🟢 + 待查看green
running🔵 + 运行中no dot
not started — composer holds an unsent draft⚪ + 未开始no dot
background jobs — turn ended, jobs still running🔵 teal dot + 后台任务 ×Nno dot
  • Chip order is the colour order; within a state, most recently updated first. The 3 chips shown by default are always the 3 that need you most.
  • Recent chips (second group) carry no state dot and never notify — they are just a way back.
  • Archived Sessions never show up in either group.
  • A "failed" chip clears when you click it or when you are looking at that Session with the window focused; a new failure re-lights it.

Notifications

NotificationTriggerDefault
Needs your responsean approval / plan-review / question appears✅
Turn failedturn ends in error / interrupted✅
Turn completedturn ends completed✅
Output limit reachedturn ends max-tokens✅
Turn stoppedyou pressed stop❌

No notifications for "thinking… / running a tool…" streaming activity — that is where most notification plugins become noise. "Needs your response" stays on screen and carries its own "打开对话" button; the other four flash by and settle in the notification centre.

Requirements

  • DeepSeek Harness with the sessionProjections, sessions and uiSession services (engines.dsh: >=0.2.0-rc.2).
  • Node.js ≥ 20 for the host half (DSH ships its own; nothing to install — the plugin has zero npm dependencies).
  • Windows 10/11 for window raising and the taskbar dot. The rail, notifications and navigation also work in the web UI.

Install

Option 1 — npm

npm install dsh-session-status-hub

Option 2 — from source. Clone (or download) the repo anywhere:

git clone https://github.com/railgun20001/dsh-session-status-hub.git

Then, either:

  • DSH → Plugins page → add local plugin, and pick the cloned dsh-session-status-hub directory; or
  • plugin manager (if your session exposes a plugin_manager tool) → install_bundle with that directory as the target.

After installing: the host half (index.js) hot-loads with the profile — no restart. The client half (lib/client.js) needs a page reload (Ctrl+R). Uninstalling removes the taskbar dot automatically.

Configuration

Config lives in localStorage under dsh-session-status-hub/config-v1; defaults are already "don't disturb me":

KeyDefaultMeaning
enabledtrueMaster switch
onComplete / onFailure / onAnswertruecompleted / failed / needs your response
onMaxTokenstrueoutput-limit hits
onStoppedfalsemanual stop / interrupt
includeSubagentsfalsealso notify and list subagent Sessions
silenceCurrentWhenFocusedtruestay silent for the Session you are currently reading
silenceAllWhenFocusedfalsenever notify while the window is focused
requireVisibleForFocustrueminimized/hidden counts as unfocused (notify anyway)
freshnessWindowMs120000ignore stale edges (0 disables)
soundtruesystem notification sound
colorMarkerstruecolour emoji in notification titles
raiseWindowtruebring the desktop window forward on notification click
maxRememberedSessions300cap on the notification watermark table
showRecentSessionstruewhether the rail shows the Recent Sessions group (toggle in the plugin detail page)
recentSessionsLimit10how many Recent Sessions to keep (3 / 5 / 10 / 15 / 20, dropdown in the plugin detail page)

From the DSH DevTools console (same effect):

__DSH_SESSION_HUB__.getConfig()
__DSH_SESSION_HUB__.setConfig({ silenceAllWhenFocused: true })

enabled / onComplete only mute notifications — the unread dot and the taskbar mark are state facts ("this turn finished and you haven't looked"), not interruptions.

Known boundaries

  • The taskbar dot and window raising are Windows-only; in a plain browser nothing is reported.
  • Window raising depends on the Windows foreground lock; fullscreen apps, elevated (UAC) windows and RDP switches can still refuse. In-app navigation always happens.
  • The first notification click may be slow (~6 s on a slow machine, one-time); the worker is pre-warmed and clicks queue.
  • Failed/unread marks do not expire on their own: failures need an explicit ack, unread needs you to open the Session.
  • "Not started" relies on the composer's draft storage; if an upstream change breaks it, that state disappears silently while the other states keep working.
  • The "failed" state cannot be painted on the official sidebar row dot, so it is surfaced in the row hover card instead (本轮失败 / 本轮中断).

Security and privacy

  • No outbound network calls. The plugin only talks to its own host half — no telemetry, no analytics, no third parties.
  • Everything stays on this machine: config and state live in localStorage under the dsh-session-status-hub/ prefix. The plugin never reads conversation content — only the last turn's outcome and a few state booleans. The only user input it touches is the draft text, and only to measure its trimmed length (never displayed, persisted or sent anywhere).
  • Internal routes require a signature header, so a random web page that can reach the local port cannot trigger the endpoints. Even so, do not expose the DSH web port to an untrusted network.
  • The host half spawns one PowerShell process (encoded command, no script file, no execution-policy change). Set raiseWindow: false to skip window raising entirely.

Details and threat model: docs/design.md.

Contributing

npm run check must pass (bundle in sync with src/, all tests green). lib/client.js is generated: edit src/ and run npm run build, never edit the bundle by hand. Commits follow Conventional Commits with a Chinese subject and a body describing the change and its impact.

License

MIT © 2026 railgun20001

バージョン履歴

  • 0.6.02026/11/29 · 303 KB
dsh-session-status-hub · SoleAPI Agent プラグイン | SoleAPI