dsh-sidebar-flex
Manifest validDraggable, persisted splitter for the DeepSeek Harness sidebar: trade global panel-list height for workspace/session list height
dsh-sidebar-flex
A draggable, remembered splitter that gives the DeepSeek Harness sidebar's workspace / session list the vertical space it needs.
Why
In the DSH web GUI two things live inside the same sidebar column:
- the global panel list — Plugins, Plugin market, Automation, MCP connectors, Learn, Remotion, More — which does not scroll and eats roughly 396 px of a 1234 px-tall window;
- the workspace / session region — whatever is left over, often about 120–140 px, i.e. two session rows.
The shell offers no way to trade one against the other, so long session lists are clipped and the session you want simply cannot be clicked. This plugin adds that trade-off as a drag handle.
What it does
A 10 px splitter sits directly under the global panel list:
| Gesture | Result |
|---|---|
| Drag the splitter up / down | Shrinks / grows the panel list; the freed height goes to the workspace + session region, which is what you actually want to read |
| Double-click or right-click the splitter | Restores the panel list to its natural height |
| ↑ / ↓ while the splitter is focused | Nudges the height by 24 px |
| Reload, restart, next launch | Height is restored from localStorage["dsh-sidebar-flex:nav-height"] |
The panel list has a 54 px floor (one row). At any height below its natural height it becomes scrollable, so nothing is lost — only re-budgeted.
The sidebar width is intentionally untouched: the shell keeps its own
264–420 px clamp and its own edge handle. Earlier experiments with taking the
width over still live in lib/client.js behind ENABLE_WIDTH (default
false) and are off.
Install
Profiles live under <DSH data dir>/profiles/<profile>
(e.g. C:\Users\<you>\.dsh\profiles\desktop). A client bundle has to be a
package inside the profile's node_modules, listed in the profile manifest.
-
Put this package into the profile's
node_modules— copy the directory or make a junction / symlink to a checkout:# Windows, from a checkout of this repo New-Item -ItemType Junction ` -Path "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-sidebar-flex" ` -Target (Resolve-Path .) -
Append the package name to
dsh.profile.bundlesin the profile'spackage.json:{ "dsh": { "profile": { "bundles": ["...", "dsh-sidebar-flex"] } } } -
Save the file.
@deepseek-ai/dsh-hmrwatches the profile manifest, recomposes the profile and pushes the new client graph over SSE — the splitter appears without restarting the app. If it does not, reload the window once.
Deliberately not registered in
dependencies: the plugin manager'sreconcile()drops bundles that used to be dependencies but no longer are, so an unmanaged bundle is the more stable arrangement.
How it works
The client half only. It polls for the sidebar column, finds the global panel
list inside it, and writes an inline height plus a "shrunk" class that makes
the list scrollable. A MutationObserver re-applies the height when React
re-renders the column (React rewrites inline styles on every render), and the
handle is re-parented if the shell replaces the list node. No client service,
no React state, nothing that could break at boot.
Selectors are matched by [class*='panelList'] / [class*='sidebarCol']
because DSH hashes its CSS-module class names.
Notes
- The host half (
lib/index.js) is inert on purpose: the layout is rendered by the browser, so there is no host service and no restart cost. - If a theme adds decoration over the bottom of the sidebar, the session list's bottom padding belongs to that theme; this plugin only changes the panel list's height and never touches the conversation column.
- Width takeover (
ENABLE_WIDTH = true): rewrites the first grid track to200px … viewport − 420pxand hides the shell's own edge handle. When it is switched back off, teardown clamps the track to the native 264–420 px range so the shell can take over again.
Uninstall
- Remove
"dsh-sidebar-flex"fromdsh.profile.bundles. - Delete the
node_modules/dsh-sidebar-flexentry (junction or copy). - Optionally clear
localStorage["dsh-sidebar-flex:nav-height"].
Compatibility
peerDependencies: @deepseek-ai/dsh >=0.2.0-rc.2 <0.3.0-0.
Built and verified against the 0.2.2 client bundles of
@deepseek-ai/dsh-client-ui-layout, -ui-sidebar and -ui-workspace
(selectors: [class*='sidebarCol'], [class*='panelList']).
License
MIT © 2026 yuyu121704
Comments
Loading…
Similar plugins
by ACGsu
Fold the DeepSeek Harness sidebar's global panel list into a single row, with a popover to switch panels.
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-sidebar-panel-foldby lisongjianustc
DeepSeek Harness plugin: keep the global panels you choose in the sidebar and fold the rest into its More menu.
★ 0
MIT
JavaScript
Nov 6, 2026
dsh plugin --profile web add @lisongjianustc/dsh-sidebar-panel-foldby RiddanceY
Adds a footer button to the DeepSeek Harness sidebar that collapses or expands the global panel list.
★ 0
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add dsh-panel-collapseby moophone
Folds every panel row in the sidebar (slot-registered and plugin-injected alike) into one Plugin Hub entry, giving the workspace list its vertical space back.
★ 3
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-sidebar-foldby ymf2317-tech
Drag-to-order for the DeepSeek Harness left rail: panel icons, pinned sessions, workspaces, sessions and view tabs. Frozen fork of dsh-sidebar-entries.
★ 0
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add @ymf2317/dsh-rail-orderby OuQiL
A dedicated Pinned area for DeepSeek Harness: a pinned group atop the sidebar session list plus a full Pinned page, opening every conversation in its original workspace.
★ 15
MIT
JavaScript
Nov 16, 2026
dsh plugin --profile web add dsh-pinned-panel