Introduction¶
In DeepSeek Harness (DSH), collapsing the official sidebar often means the workspace and session list get hidden into a narrow strip or icon as well. An earlier community floating sidebar solution (e.g., dsh-floating-sidebar) reused the official sidebar DOM and overrode the grid layout so the list could “float out” when the mouse approached the edge. However, this caused the center column to reflow entirely on open/close, and the animation could only move left, triggering layout on every frame.
dsh-sidebar-overlay takes a different path: it does not touch the official sidebar column or modify the official grid. Instead, it builds its own workspace and session browsing UI on top of the official shell.overlay slot. Below we introduce what it is, what it does, and how to install and use it daily.
What Is This¶
dsh-sidebar-overlay is published by maintainer blockman0321 and categorized as a client-side plugin (npm package name dsh-sidebar-overlay, current version 0.1.0, MIT license). In one sentence: when the sidebar is collapsed, moving the mouse into a hotzone below the chat area on the left side of the window causes a 280px-wide card (workspace + session list) to float out, overlaying the content without squeezing the center column; it retracts when the pointer leaves the hotzone or the window.
Data and write operations go through DSH’s officially published root hooks and services (useSessions, useWorkspaces, ctx.uiWorkspace, etc.). It does not grab the official sidebar DOM or rely on official hash-class name selectors.
Architectural Solutions¶
Compared to dsh-floating-sidebar, the differences of this plugin can be summarized as follows:
| Dimension | Legacy approach (CSS override) | dsh-sidebar-overlay |
|---|---|---|
| Hosting method | Modifies official column + overrides grid | Registers shell.overlay |
| Official grid | Overridden on open/close | Not touched |
| Center column reflow | Yes | No (README states grid values remain unchanged throughout open/close) |
| Animation | Mostly left (layout) |
transform (compositor) |
The official sidebar / sidebar.workspaces slots are single slots; third parties cannot re-declare them. Therefore, the list inside the overlay is a self-built UI, not a relocation of the official sidebar DOM. Extension slots that other plugins attach to the official sidebar (e.g., sidebar.workspaces.session.menu.item) will not appear in this overlay—this is a known limitation imposed by the slot’s “declare and claim” rule.
Core Features¶
The following capabilities are drawn from the plugin’s README feature list and descriptions.
Overlay Interaction and Hotzone¶
- Defaults to appearing only when the sidebar is collapsed (
onlyWhenCollapsed: trueis configurable). - The top boundary of the hotzone is the top edge of the chat content container (below the chat area header); the title bar, chat/timeline tabs, etc. are not within the hotzone.
- The right boundary of the hotzone is 40% of the margin between the “window’s left edge → left edge of the chat content column” (
triggerRatio, configurable). For example, in a 1020px-wide window where the content column’s left edge is at 170px, the hotzone is approximately0..68rather than a narrow 24px band hugging the edge. - Geometry is recalculated on the cold path (initial load,
resize, at open/close moment, and at most every 500ms when the pointer is outside the hotzone); the hot path reads from a cache to reduce layout pressure onpointermove.
Top Bar¶
- Left-side personal info (avatar): clicking it directly opens the official settings modal, without popping up an account menu, so there is no “Contact Us / Log Out”. Account data comes from the
accountobservable insettings.launcher; opening settings goes through thesidebar.settingsentry’sstore.create().actions.open(). The README explicitly warns: do not usectx.shortcuts.invoke('settings.open'), as it will silently fail. - Right-side “New Session” button, with a keyboard shortcut hint; can be individually disabled via
showProfile/showNewSession.
Workspaces and Sessions¶
- Workspace grouping: by workspace / by workspace tree / flat list, switchable and persisted to
localStorage(keydsh.floatingSidebarOverlay.view.v1). - Create, rename, delete workspaces; drag-to-reorder; add directories. The “Ungrouped” bucket behavior matches the official one (no “…” menu or new session button, and only shown when visible members are non-empty).
- Session rows: status dot, title, relative time, pinning, hover actions (menu → archive → pin); open, rename, fork, pin/archive, and “Stop and Archive” confirmation, etc.—semantics aligned with the official client.
- Search: matches local titles and workspace names; remote content search debounced at 250ms. The view options menu supports sorting, filtering archived items, etc.
Visuals¶
- Preferentially
requires official@deepseek-ai/dsh-client-ui-primitivescomponents likeMenu,Modal,Tooltip, etc.; falls back to minimal built-in implementations when unavailable.
Installation and Activation¶
The plugin is published on npm. On the DSH “Plugins” page, click “Add Plugin” and enter the package name dsh-sidebar-overlay; or use the CLI (Web profile):
# Web profile
dsh plugin --profile web add dsh-sidebar-overlay
# For other profiles, replace web with the corresponding name; for Desktop's built-in profile,
# use the GUI—CLI does not allow managing the desktop profile.
After installation, restart DSH (profiles with HMR enabled will auto-recompose, no restart needed). package.json declares the engine as dsh ^0.2.0-rc.2, the client platform as web, and immediately: true.
To uninstall, use the plugin page or:
dsh plugin --profile web remove dsh-sidebar-overlay
Then restart DSH; the README states it will remove injected styles and related DOM markers.
Mutual exclusion: Do not enable it simultaneously with dsh-floating-sidebar, otherwise you will get two floating sidebars.
Typical Usage¶
- Collapse the official sidebar using
Ctrl+Bor the title bar button. - Move the mouse to the margin area on the left side of the window, below the chat area header (the left 40% margin of the hotzone, see the table above).
- After the overlay card appears, browse workspaces, open or manage sessions as usual; the card retracts when you move out of the hotzone or the window.
The master toggle’s default hotkey is Ctrl+Alt+L (configurable via hotkeyBinding). You can also call from the browser console:
window.__dshFloatingSidebarOverlay.toggle() // Toggle
window.__dshFloatingSidebarOverlay.disable() // Disable (revert to official behavior)
window.__dshFloatingSidebarOverlay.enable()
window.__dshFloatingSidebarOverlay.isEnabled()
window.__dshFloatingSidebarOverlay.isOpen()
In the profile’s cordis.patch.yml, you can override the plugin entry sidebar-overlay’s config, such as hotzone ratio, card width, whether to show only when collapsed, etc.:
- id: sidebar-overlay
name: 'dsh-sidebar-overlay'
config:
enabled: true
width: 280
gap: 8
radius: 16
trigger: 'content'
triggerRatio: 0.4
closeSlack: 8
animationMs: 180
onlyWhenCollapsed: true
groupBy: 'workspace'
orderBy: 'updated'
showNewSession: true
showProfile: true
hotkey: true
hotkeyBinding: { code: 'KeyL', modifiers: ['primary', 'alt'] }
For Desktop, the patch path example is ~/.dsh/profiles/desktop/cordis.patch.yml; for the Web profile, replace desktop with web. See the GitHub README for the full field list.
Use Cases and Notes¶
Who it’s for: DSH Web users who habitually collapse the official sidebar but frequently need to switch workspaces and sessions; who want the overlay open/close to not affect the center column layout, and are willing to use a list UI that runs parallel to the official sidebar rather than extending the official DOM.
Please be aware before using:
- DSH plugins run with the current DSH process’s permissions. Before installing, it is recommended to read the source code and the MIT license, and decide whether you trust the maintainer and the dependency chain.
- The community directory SkillHub plugin page is an independent site, with no official affiliation with DeepSeek / High-Flyer, and is not an official app store.
- Does not include the global panel icons from the official
sidebar.panellist; depends on official hook names and primitives modules, and may degrade to an empty list with console warnings if these change. - The README notes that full end-to-end verification on real DSH Web with launch tokens has not been completed; you can self-check whether the overlay is mounted on a real device using
document.querySelector('[data-dsh-fso-card]').
Conclusion¶
dsh-sidebar-overlay turns “quickly browsing workspaces and sessions while collapsed” into an independent overlay: it registers the official shell.overlay slot, builds its own UI, reads and writes official public data contracts, and by design avoids modifying the official grid and sidebar DOM. If you are using an older CSS floating sidebar and mind the center column reflow, you can evaluate migrating; note the mutual exclusion with dsh-floating-sidebar when installing, and add the npm package correctly per profile.
- Directory page: https://www.skillhub.cn/plugins/blockman0321/dsh-sidebar-overlay
- Repository: https://github.com/blockman0321/dsh-sidebar-overlay