Introduction¶
In the DeepSeek Harness (DSH) desktop app, the left sidebar occupies a fixed height: the brand area, “New session”, and “Plugins/Scheduled tasks/More actions” each take a row, followed by the workspace and conversation list. When the window is short, the visible number of conversation rows is limited. The dsh-sidebar-compact-macos, provided by community maintainer 627666, is a pure CSS client-side plugin. It only changes the layout and row height of the expanded sidebar on the macOS desktop, without modifying business logic. Below, I will introduce what it does, how to install it, and its scope and compatibility during use.
What is This¶
dsh-sidebar-compact-macos (npm package name is the same as the repository name, current version 1.4.0, MIT license) targets the macOS desktop app of DeepSeek Harness. It injects styles via a Cordis patch, does not access the network, does not track events, and has no build steps; index.js is empty, with the effect focused on client-side style overrides.
The plugin is categorized as “Client-side” in the SkillHub directory; source code repository: https://github.com/627666/dsh-sidebar-compact-macos.
Core Features¶
Based on the positioning above, the specific changes are as follows (all based on the README).
Brand and Button Row¶
- Brand moved into the title bar strip: The
deepseek HARNESSlabel is moved to the right of the traffic lights and to the left of the sidebar collapse toggle, adapted for a strip of about 52 px; absolute positioning, decorative (pointer-events: none), does not block dragging or collapsing. - “New session” remains native: The full-width “New session” provided by the host still occupies a single row with unchanged styles.
- Three equal-width buttons in one row: Plugins, Scheduled tasks, and More actions are merged into three equal-width, bordered buttons in a single row; it still uses the host’s original elements for click handling, shortcuts, selected states, and menus, only overriding layout and icon/label sizes.
Tightening the List Area¶
The workspace header height is changed from 36 px to 28 px; workspace rows from 34 px to 30 px; session rows from 32 px to 28 px, and row spacing is reduced. The README states that under typical window heights, the sidebar can display approximately 5–8 more sessions.
Scope¶
The plugin only affects the expanded sidebar on the macOS desktop, relying on data-platform="darwin" from the desktop preload. The dsh web browser tab and Windows/Linux desktop layouts will not be modified.
Installation and Enablement¶
Plugin Marketplace (After Directory Indexing)¶
If the marketplace you are using has indexed the awesome-dsh-plugin directory, you can open Plugins → Discover within the app, search for macOS compact sidebar, and install it.
Install from GitHub Repository¶
The repository declares dsh.bundle and cordis.patch.yml, which can be installed directly as a bundle without building:
dsh plugin add github:627666/dsh-sidebar-compact-macos
If the host prompts you to restart the app after installation, do so.
Uninstall¶
Remove the bundle in the plugin manager (or the installed list in the marketplace); the injected <style> will be removed with the plugin cleanup, and the sidebar will return to the default layout.
Typical Usage¶
This plugin has no separate configuration items or API: after installation and enabling, simply open the sidebar on the macOS desktop to see the layout changes. No additional fields need to be filled in settings.
If the styles suddenly stop working after a DSH upgrade, the README suggests re-enabling it in the plugin manager—app updates sometimes rewrite dsh.profile.bundles in the profile, which might remove the local bundle from the list.
Compatibility and Notes¶
- Engine Requirements (
package.json):engines.dshis>=0.2.2-rc.2 <0.3.0-0; the README states it is tested on 0.2.2-rc.3 and compatible with the 0.2.2-rc.2 layout; not supported for the 0.2.2-rc.1 sidebar shape. - Failure Mode: Style selectors match the host’s CSS Module suffixes (e.g.,
_logoRow,_panelRow,_sessionRow, etc.) and are scoped to the sidebar root node. If the host renames internal class names in the future, the override may fail, and the interface will revert to the default sidebar rather than breaking the UI. - Security and Permissions: The plugin runs on the client with the permissions of the current DSH process. Before installing, it is advisable to check the repository source code and the MIT license yourself; this article is an introduction to a community plugin and has no official affiliation with DeepSeek / Hyperscience. Community directories like SkillHub are also independent sites and are not equivalent to official app stores.
Conclusion¶
dsh-sidebar-compact-macos uses pure styles to place the brand in the title bar, compress the operation row and workspace/session list row heights on the macOS desktop, and squeeze out a bit more visible session space in long sidebar scenarios. When this layout is needed, you can install it using the command above and pay attention to the limitations of DSH 0.2.2-rc.2 and above and macOS desktop only.