railgun20001/dsh-session-status-hub ↗★ 0

dsh-session-status-hub

DeepSeek Harness 会话状态中心:顶端状态栏汇总运行中 / 待回答 / 待查看 / 报错会话,状态变化弹 Windows 通知,并用红黄绿点标记任务栏图标

パッケージ
dsh-session-status-hub
互換性
未検証
バージョン
0.2.1
ライセンス
MIT
最終更新
2026/10/27

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:railgun20001/dsh-session-status-hub

ドキュメント

README 全文を読む ↗

Configuration

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

KeyDefaultMeaning
enabledtrueMaster switch (watermarks keep advancing; re-enabling never replays history)
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)
freshnessWindowMs120000edges older than this only advance watermarks (0 disables)
soundtruesystem notification sound
colorMarkerstruecolour emoji in notification titles
colorMarkerstruecolour emoji in notification titles
raiseWindowtruebring the desktop window forward on notification click
maxRememberedSessions300cap on the notification watermark table (newest by updatedAt kept)

Alongside config-v1, the plugin keeps a few state keys under the same prefix — worth knowing when troubleshooting, migrating or wiping data:

KeyContents
watermarks-v1notification watermarks: how far each Session has been consumed
error-acks-v1acknowledged failures { sessionId: seq } (what turns the red chip off)
local-unread-v1plugin-recorded "finished in background, unseen" { sessionId: seq }
recent-v1cross-tab dedupe window (4 s)
notify-log-v1last 20 notification landing results

From the DSH DevTools console:

__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.