Introduction¶
When running agents with DeepSeek Harness (DSH), the sidebar often has many concurrent sessions. The “Unread” status on the Host side usually follows real messages or the Inbox, making it impossible to give a specific conversation a “look back later” visual cue. After closing tabs or switching to other tasks, it is easy to confuse which sessions need a quick review with the already processed ones.
The dsh-session-unread introduced below is a DSH Web Client bundle: it adds “Mark as Unread” to session rows in the sidebar and displays an unread dot at the end of the row; it automatically clears the mark when the session is opened again. The mark is only written locally in the browser and does not change the Host state or write to session logs.
What is this¶
- Repository:
HiMenma/dsh-session-unread(Maintainer: HiMenma; npm package name:@local/dsh-session-unread, Author: Yang) - Category: Client (
dsh.client,platform: "web") - Form:
dsh.bundle.patch+ pure JavaScript client code, no build steps - Directory Page: https://www.skillhub.cn/plugins/HiMenma/dsh-session-unread (Community plugin directory, no official affiliation with DeepSeek / Hypersphere)
The plugin solves the issue of local visual unread markers on the sidebar. It does not participate in Inbox, notifications, or session sorting, nor does it reuse the Host’s unread semantics.
Core Features¶
Verified against the README, the capabilities are as follows:
- Session Row Menu: Adds an item to the session row “…” menu—displays “Mark as Unread” when read and “Mark as Read” when unread; can also be operated via the right-click context menu entry.
- Sidebar Unread Dot: The dot is placed after the timestamp at the end of the row, follows the theme brand color (CSS variable
--dsw-alias-brand-primary), and takes up no extra space. - Clear on Open: The mark is cleared during the state transition when the session enters the main view; if the marked session is the one currently being viewed, it won’t be cleared immediately and requires switching away and back.
- Bilingual (CN/EN): Copy is registered via
ctx.locale.register('dsh-session-unread')and follows the DSH interface language. - Zero Host State: The mark collection is saved in the browser
localStoragewith the key namedsh.session-unread.v1; it does not report to the Host or modify session JSONL.
Implementation-wise, it hooks into the DSH public Slots: sidebar.workspaces.session.menu.item (order 7) and sidebar.session.row.trailing (order 5); state subscription uses React.useSyncExternalStore, rendering only the marked rows.
Installation and Enablement¶
This package should be installed via DSH’s built-in plugin manager; do not manually edit the profile. The method provided in the README is the Agent’s plugin_manager tool:
// Via the Agent's plugin_manager tool
{ "action": "install_bundle", "target": "/absolute/path/to/dsh-session-unread" }
Simply change target to the absolute path of the locally obtained plugin directory. No restart is usually required after installation: the client bundle is injected into the open page via HMR. If you modify client.js inside the package, hot reload will be triggered; to force a module replacement, you can disable and then enable it in the plugin manager.
Before installation, it is recommended to read the repository source code and the MIT license (© 2026 Yang) yourself. The plugin runs in the current DSH process and browser context, with permission scopes consistent with the client you use in that environment.
Typical Usage¶
- Click “…” (or right-click) on any session row in the left sidebar → Select Mark as Unread.
- An unread dot appears at the end of that row.
- Open the session, the dot disappears when entering the main view; to undo the mark, select Mark as Read again in the menu.
Applicable Scenarios and Notes¶
Who is it for
- Developers or everyday users who run multiple agent sessions in parallel on the DSH Web client for a long time and need to use sidebar dots as a “to-review” reminder.
Known Limitations (from upstream README)
| Point | Description |
|---|---|
| Only current browser | Markers are lost if you switch browsers, devices, or clear site data; DSH does not expose a session-level local marker API, so no cross-device synchronization is performed. |
| Not Host Unread | Pure client-side visual marker, does not affect Inbox or sorting. |
| Session deletion residue | After deleting a session, localStorage may retain invalid IDs; harmless, but occupies one key. |
| Compatibility | Developed and verified on the DSH Desktop desktop profile; cross-major version compatibility is not guaranteed. |
Security and Trust: Like all DSH plugins, installing it implies trusting its client-side injection logic; it only reads/writes localStorage on the local browser and does not involve reporting to the Host, but it is still recommended to enable it only after familiarizing yourself with the repository implementation.
Conclusion¶
dsh-session-unread fills the gap of “session unread dot + menu toggle” with minimal client-side extension, suitable for lightweight to-do marking on the Web sidebar. For further details and bundle configuration in package.json, see the GitHub README.
- Directory Page: https://www.skillhub.cn/plugins/HiMenma/dsh-session-unread
- Source Code: https://github.com/HiMenma/dsh-session-unread