rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:railgun20001/dsh-session-status-hub
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English · 简体中文
A missing "how are all my Sessions doing right now?" surface for DeepSeek Harness:
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:
+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).What it deliberately does not do:
Ctrl+R.
Full, behaviour-level documentation (in Chinese): README.zh-CN.md. Design and internals (state derivation, edge engine, taskbar worker, boundaries): docs/design.md.
| State | Rail chip | Taskbar |
|---|---|---|
| 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 + 后台任务 ×N | no dot |
| Notification | Trigger | Default |
|---|---|---|
| Needs your response | an approval / plan-review / question appears | ✅ |
| Turn failed | turn ends in error / interrupted |
✅ |
| Turn completed | turn ends completed |
✅ |
| Output limit reached | turn ends max-tokens |
✅ |
| Turn stopped | you 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.
sessionProjections, sessions and uiSession services (engines.dsh: >=0.2.0-rc.2).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-session-status-hub directory;
orplugin_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.
Config lives in localStorage under dsh-session-status-hub/config-v1; defaults are already "don't disturb me":
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
Master switch |
onComplete / onFailure / onAnswer |
true |
completed / failed / needs your response |
onMaxTokens |
true |
output-limit hits |
onStopped |
false |
manual stop / interrupt |
includeSubagents |
false |
also notify and list subagent Sessions |
silenceCurrentWhenFocused |
true |
stay silent for the Session you are currently reading |
silenceAllWhenFocused |
false |
never notify while the window is focused |
requireVisibleForFocus |
true |
minimized/hidden counts as unfocused (notify anyway) |
freshnessWindowMs |
120000 |
ignore stale edges (0 disables) |
sound |
true |
system notification sound |
colorMarkers |
true |
colour emoji in notification titles |
raiseWindow |
true |
bring the desktop window forward on notification click |
maxRememberedSessions |
300 |
cap on the notification watermark table |
showRecentSessions |
true |
whether the rail shows the Recent Sessions group (toggle 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.
本轮失败 / 本轮中断).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).raiseWindow: false to skip window raising entirely.Details and threat model: docs/design.md.
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.
MIT © 2026 railgun20001
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness、deepseek-harness-plugin。