blake-r/dsh-plugins--packages-dsh-client-ui-recent-sessions-switcher ↗★ 0
@blake-r/dsh-client-ui-recent-sessions-switcher
DSH Web UI plugin: a recent-sessions switcher in the conversation header with per-session status dots (running / idle / unread). 适合需要在多个活跃会话间快速切换并直观查看会话运行状态的用户。
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:blake-r/dsh-plugins#19ca874106b2a06e26147150bd6b544839d0e0a9&path:packages/dsh-client-ui-recent-sessions-switcherREADME
Read the full README ↗dsh-client-ui-recent-sessions-switcher
A DeepSeek Harness Web UI plugin: a compact recent-sessions switcher in the conversation header. It shows the current session's workspace basename and title, a status dot (running / idle / unread), and a dropdown of the 8 most recently-updated sessions. Clicking an item opens that session.
Status dots
Mirrors dsh's StateDot:
- needs input — orange dot (a pending interaction: approval, plan review, or a question awaiting the user)
- running — animated matrix (DeepSeek brand blue
#5686fe) - completed — green dot (idle with unread output)
- idle — transparent dot with a silver outline
Because dsh's completed heuristic stays false for the currently-selected
session, a session that finished while the window was unfocused would otherwise
render as "idle, all read". The plugin forces the green ("unread") dot with a
CSS class: armed the moment the window loses focus while the current session
was still running, cleared on refocus.
Badge
The counter next to the trigger shows how many sessions need attention (unread completed + sessions awaiting input), excluding the currently-selected session. It is highlighted green when there are unread completed sessions and orange when any session awaits input (orange outranks green).
Layout
lib/index.js— host half (emptyapply; the plugin is pure UI, the host half exists so the row appears in the host Loader).lib/client.js— the browser bundle in the client-modules format (window.__ModuleLoader__.load({ id, factory })).src/client.js— readable source mirror of the browser bundle.cordis.patch.yml— inserts the plugin row into the web profile roster.
Install
dsh plugin --profile web add link:/packages/dsh-client-ui-recent-sessions-switcher
The package declares dsh.client (platform web, injects slots and
sessions), so dsh-client-modules discovers the browser half automatically.