dsh-plugin-session-tags
Manifest validSession tags for DeepSeek Harness: name a session's state, tint its sidebar title, and see the tag on hover — synced live across windows and devices.
dsh-plugin-session-tags
Coloured tags for DeepSeek Harness sessions.
A tag is a named label, not a one-off colour: names and colours are defined together in the settings, the session title is tinted by its tag, and the tag's name shows on the row's hover card — a status vocabulary that follows you across devices, not a stray swatch on one row.
- Sidebar row menu → 标签 opens a picker; the chosen tag tints that session's sidebar title and shows its label on the row's hover card.
- The same picker creates a tag on the spot: type a name, pick one of six colours or any custom colour, then 新建并应用 tags the session immediately.
- Settings → Plugins → 会话标签 renames tags, recolours them (palette or custom), deletes them, or adds an empty one.
- Assignments and definitions persist to
<DSH_HOME>/state/session-tags.json; when the host route is unreachable the browser falls back tolocalStorage. - Every window and device follows the host's event stream, so a tag set on the phone shows up on the desktop without a reload.
A tag colour is either a palette name (green, amber, red, blue, purple,
gray — theme tokens, so light/dark follow the app) or an explicit #rrggbb.
Seats used
| Seat | Purpose |
|---|---|
sidebar.workspaces.session.menu.item | the 标签 row in a session's ... menu |
shell.overlay | the picker dialog |
sidebar.session.row.hover | the tag chip on the hover card |
settings.plugins.tab | tag definitions |
The title colour is a generated stylesheet rule keyed on the row's own
data-row-key="session:<id>" attribute; unmounting the plugin removes it and the
shipped colours return.
Host route
GET /session-tags → { tags, assignments }
POST /session-tags { action: 'assign' } → snapshot
POST /session-tags { action: 'createAndAssign', sessionId, tag } → snapshot
POST /session-tags { action: 'tags', tags } → snapshot
GET /session-tags/events → that snapshot as a text/event-stream,
pushed again after every mutation
The stream is what keeps windows and devices together: each accepted mutation is
written to every open stream. A page holds that stream only while it is visible —
hiding it closes the connection, showing it opens a new one, and the first frame
of a new stream is the current snapshot. So a sleeping phone or a hidden window
keeps nothing alive, and coming back is the catch-up. A client that cannot
establish a stream at all pulls /session-tags on the next reconnect attempt, so
a stripped stream degrades to slow polling instead of a stale page.
Install
Desktop: Plugins → Install, then enter the package name
dsh-plugin-session-tags. On the web profile:
dsh plugin --profile web add dsh-plugin-session-tags@0.2.3
While developing, point it at a local directory:
plugin_manager install_bundle → /absolute/path/to/dsh-plugin-session-tags
Comments
Loading…
Similar plugins
by shuiyujinlan
Tag DeepSeek Harness sessions across workspaces and browse them as a colored, collapsible tag tree in the left sidebar.
★ 0
MIT
JavaScript
Oct 27, 2026
dsh plugin --profile web add dsh-session-tagsby qingfengzxr
Colored, user-named flags for DeepSeek Harness session lists, with a searchable flagged-sessions sidebar panel.
★ 0
MIT
TypeScript
Oct 21, 2026
dsh plugin --profile web add dsh-session-flagsby fantasy123246
Better session titles for DeepSeek Harness: replaces the greeting-prone title provider, adds a regenerate tool and header button.
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-session-namerby seekerwxy
Browser-style session tab bar for DeepSeek Harness (DSH): one tab per opened session at the very top of the web app — click to switch, close, and start new sessions. 浏览器式会话标签页导航栏.
★ 0
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-session-tabsSession strip above the composer for DeepSeek Harness: live status, sub-agents, token usage and unfinished marks.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-session-stripby thezavtrak-a11y
DeepSeek Harness Web UI plugin: browser-style tabs for open Sessions - switch, close, reorder by drag, and tear a tab off into a separate window.
★ 0
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add dsh-session-tabs