Introduction¶
In the DeepSeek Harness (DSH) sidebar, sessions can be grouped by workspace, or switched to a “single-list” view — all sessions laid out in a single column. The single-list view lets you scan titles quickly, but it doesn’t show which project (workspace) a session belongs to; switching back to the grouped view takes up vertical space again. The community client plugin dsh-plugin-session-project (maintainer Schrei5) solves this: in the single-list view, it displays each session’s workspace name below the title. The grouped views (by workspace / by workspace tree) remain unchanged, since their group headers already provide the project name.
What Is This¶
dsh-plugin-session-project is a DSH client plugin (dsh.client, platform web) that also ships a DSH bundle patch layer. It addresses a gap: when a single-list session row only shows a title, it lacks the context of “which workspace this session is in”. The plugin does not modify the React tree — instead, it uses a stylesheet to draw the workspace title below the session row. Data is sourced from the client services workspaces.list and sessions.list.
- Repository: https://github.com/Schrei5/dsh-plugin-session-project
- Community catalog page: https://www.skillhub.cn/plugins/Schrei5/dsh-plugin-session-project
- Current package version:
1.0.0(per the repository’spackage.json) - License: MIT © 2026 Schrei5
Core Features¶
-
Only effective in single-list view
When the sidebar view option → Grouping → Single list is selected, each session title gets an extra line showing the project (workspace) name below it. If the sidebar already has workspace group rows, the plugin generates no styles at all. -
Name rules
- Uses the title of the workspace the session belongs to.
- If it is still the auto-generated default titledefault-workspacefrom first use, it displays the localized text “默认工作区 / Default workspace”.
- Sessions that don’t belong to any workspace show “未分组 / Ungrouped”.
- For archived sessions, the project name uses the same fainter caption color as the title. -
Search and layout
Session rows in search results are unaffected (no project name, row height unchanged). In the single-list view, the session row height is adjusted from 32px to 48px, with the extra 16px used for the project name. The positions of the title, status dot, timestamp, and hover action buttons remain unchanged. -
Grouped views
The behavior of grouped views (by workspace or by workspace tree) is the same as before installation.
Installation & Activation¶
Minimum DSH version: 0.2.0-rc.2. Configuration changes are hot-applied by dsh-hmr (enabled by default); generally no app restart is needed.
Method 1: Install into a profile (recommended)
This package is both a bundle and a client plugin. After installation, it appears on the plugin page and can be toggled on/off.
# 1) Install into a profile (git URL / local directory / tarball all work)
dsh plugin --profile desktop add github:Schrei5/dsh-plugin-session-project
# Or: dsh plugin --profile desktop add /path/to/dsh-plugin-session-project
# 2) Enable this bundle (toggle it on in the Web plugin page, or add it to dsh.profile.bundles in the profile)
Method 2: Write the patch layer manually
If you don’t install the package, you can insert a line pointing to this package’s entry in the profile patch (use this as an alternative to Method 1 — do not use both simultaneously, otherwise there will be two rows with the same id):
# ~/.dsh/profiles/<profile>/cordis.patch.yml
- insert:
- id: session-project-label
name: /absolute/path/to/dsh-plugin-session-project/lib/index.js
Typical Usage¶
- Add the plugin to the current profile using the commands above (e.g.,
desktop), enable the corresponding bundle on the Web plugin page, or confirm thatdsh.profile.bundlesalready includes it. - Open the DSH sidebar and set the grouping option to Single list.
- Browse the session list: each session title should now show its workspace name below it. When switching to “by workspace” grouping, no duplicate project name lines should appear.
- To pause it: disable the bundle on the plugin page, or set
disabled: trueon the patch line.
Removal example:
dsh plugin --profile <profile> remove dsh-plugin-session-project
Also remove the package from dsh.profile.bundles; if using a manual patch, delete the corresponding - insert: section.
Implementation Details (for troubleshooting)¶
| File | Purpose |
|---|---|
lib/index.js |
Host-side entry, for the Loader to mount and for dsh.client in the manifest |
lib/client.js |
Browser side: generates the stylesheet and subscribes to session / workspace / language changes |
cordis.patch.yml |
Bundle patch: inserts session-project-label |
On the browser side, it locates session rows via data-row-key="session:<id>" and draws the project name using ::after { content: … }.
Use Cases & Notes¶
Who it’s for
Developers who frequently use the single-list view in DSH to browse large numbers of sessions across multiple workspaces; who want to see at a glance which project a session belongs to without grouping.
Compatibility
The implementation relies on the current session-row DOM structure of @deepseek-ai/dsh-client-ui-workspace (data-row-key, 32px single-line flex, .title / .time, etc.). If the upstream structure changes, the label position or row height may render incorrectly; the plugin typically won’t throw errors, but the styles may need to be updated by the author.
Security & Trust
The plugin runs on the client with the permissions of the current DSH process and reads client APIs related to workspaces and session lists. Please review the repository source code and the MIT license yourself before installing. The community catalog (SkillHub) is an independent site, is not officially affiliated with DeepSeek / High-Flyer, and is not an official app store.
When developing locally with link: pointing to the repository directory, after modifying lib/client.js the host may need to re-snapshot the client artifacts on reload or restart; the safe approach is to restart DSH once.
Conclusion¶
dsh-plugin-session-project fills in the “belonging workspace” information for single-list sessions in the least invasive way, while leaving grouped views unchanged. When needed, you can find installation instructions and screenshots from the community catalog page or the GitHub repository: