Introduction¶
DeepSeek Harness (DSH) often has multiple workspaces active in the sidebar simultaneously. With similar names or a large number of projects, it’s hard to tell at a glance “which directory tree this entry corresponds to.” Pinning sessions, reordering, or adjusting model configurations doesn’t solve the “visual grouping” problem; keeping notes locally disconnects from the interface.
Here we introduce the community plugin dsh-workspace-colors (maintainer FranzLi347). On DSH v0.1.7-alpha.1, it lets you assign one of several preset colors to each workspace, displayed on the color bar to the left of the workspace row and on the folder icon in the sidebar. Preferences are stored in the current browser origin’s localStorage, without altering session state, pinning, ordering, files, or model requests. It is categorized as “Fun Customization” on SkillHub, with 0 stars (based on the directory page and GitHub).
What Is This¶
dsh-workspace-colors is an incremental plugin for the DSH Web client: it registers a “Workspace Colors” entry through the public slot sidebar.footer.action, opens a panel next to settings, and lets you pick one of six colors (red, orange, green, blue, purple, pink) or restore default for the current workspace. The UI supports both Chinese and English. Release version 0.1.0, license MIT.
The plugin does not replace DSH’s built-in workspace management; it merely adds recognizable color tags, helping you quickly locate entries in “Group by workspace / workspace tree” views.
Core Features¶
- Six preset colors + default: Only accepts the six built-in plugin colors; stored content is never treated as arbitrary CSS, and workspace IDs are escaped character-by-character when constructing CSS selectors.
- Sidebar visuals: Colors appear on the left color bar of workspace rows and the folder icon, adapting to both dark and light themes.
- Browser-local persistence: Writes to the current origin’s
localStoragekeyed byworkspaceId, using the keydsh.workspace-colors.v1; persists across page refreshes and workspace renames. - Clear scope: No cross-browser, device, or port syncing; in incognito mode or when storage is disabled, the current page still allows configuration, but the browser may not persist it.
- Display conditions: Coloring applies in “Group by workspace” and “Group by workspace tree” views; in the single-column list mode, workspace rows don’t exist, so no color bars appear.
- Implementation notes: v0.1.7-alpha.1 does not have an official extension point for workspace row colors; the plugin relies on that version’s DOM (e.g.,
data-row-key="workspace:<id>"and the first icon container). After upgrading DSH, compatibility must be re-verified. Uninstalling the plugin removes injected styles; saved colors remain and can be restored upon reinstallation.
Installation and Activation¶
The plugin is installed as a tgz package on the host running DSH. You must download the package locally first and replace it with the actual absolute path. The plugin loads under the current DSH process permissions; before installing, review the GitHub source and the MIT license to confirm acceptance.
When using the Web profile:
dsh plugin --profile web add /absolute/path/dsh-workspace-colors-0.1.0.tgz
If you launch a specific DSH version via npx:
npx @deepseek-ai/dsh@0.1.7-alpha.1 plugin --profile web add /absolute/path/dsh-workspace-colors-0.1.0.tgz
After refreshing the DSH page, click the “Workspace Colors” button at the bottom of the sidebar. If HMR is disabled, you must restart DSH first. For custom profiles, replace web in the command with your profile name. The Electron desktop version retains the desktop profile managed by the desktop app; use the in-app plugin installation interface to fill in the package’s absolute path, and do not modify desktop via CLI.
Typical Usage¶
- Install and refresh the page, confirming the Workspace Colors entry appears at the bottom of the sidebar (adjacent to Settings).
- Select the workspace you want to label, open the panel, and choose a color or “Default.”
- In grouped views, check whether the left color bar and folder icon have updated.
- To completely clear preferences, delete the
localStoragekeydsh.workspace-colors.v1in the browser’s developer tools (only affects the current origin).
Uninstall command:
dsh plugin --profile web remove dsh-workspace-colors
Reload the page to restore the uncolored appearance; the color data in localStorage remains unless you manually delete the above key.
Use Cases and Caveats¶
Suitable for: Developers who keep multiple DSH workspaces open locally for extended periods, want lightweight grouping by color, and accept that settings are stored “only in the current browser, on the current port.”
Caveats:
- The target DSH version is v0.1.7-alpha.1; other versions are not declared compatible in the README.
- Colors are not synced to the cloud or other devices; switching browsers or clearing site data will lose the mapping (the workspaces themselves are unaffected).
- The community directory SkillHub plugin page and the GitHub repository are maintained by the community and are not officially affiliated with DeepSeek / High-Flyer; the DSH ecosystem’s philosophy is “everything is a plugin,” so please audit the code yourself before installing third-party packages.
Links¶
- Directory page: https://www.skillhub.cn/plugins/FranzLi347/dsh-workspace-colors
- Source and documentation: https://github.com/FranzLi347/dsh-workspace-colors