Preface¶
In DeepSeek Harness (DSH), the sidebar often serves double duty for two types of navigation: “New Conversation, Workspace, Conversation List” and “Plugin Entry Points (Market, Tasks, Skills, etc.).” When entries are crowded into the same column, finding a conversation or switching plugins requires scrolling or distinguishing within the same list. The community plugin dsh-two-pane-sidebar (maintained by A-Meng-E) addresses this by moving plugin navigation to a fixed narrow bar on the far left of the main sidebar (the plugin rail), while the main sidebar retains only conversation and workspace capabilities, creating a layout closer to “navigation zoning” rather than “single-column stacking.”
What is this¶
dsh-two-pane-sidebar is a client-side only layout plugin for DSH Desktop / Web: it adds a persistent plugin rail at the far left of the interface. The center remains the host’s native SidebarRoot (New Conversation, Workspace, Conversations), and the right is the conversation area. The plugin does not install Host behaviors, make network requests, report telemetry, or read/write conversation or workspace data; it maintains almost no persistent state except for a single localStorage key.
In the taxonomy, it belongs to the “Client” category in the DSH ecosystem directory. Directory page: skillhub.cn/plugins/A-Meng-E/dsh-two-pane-sidebar; Source code and documentation: GitHub - A-Meng-E/dsh-two-pane-sidebar.
Core Features¶
Three-Column Layout¶
Upon installation, the layout roughly appears as: Left plugin rail (approx. 52 px or 208 px wide) → Center sidebar → Right conversation. The rail is rendered by this plugin; the center sidebar maintains the host’s original implementation, and this plugin does not alter its width logic.
Data-Driven Plugin List¶
The rail renders entries registered in the host’s sidebar.panellist slot (shaped as { id, order, label, component }). If other plugins register navigation items to this slot, they will automatically appear on the rail without modifying this plugin’s code or requiring extra configuration; rows disappear when the corresponding plugin is unregistered.
Interaction & Width¶
- Clicking a row opens the corresponding plugin panel; the current row has a highlight bar on its left.
- In narrow rail mode, hovering over a row displays a theme-consistent tooltip.
- The bottom arrow toggles between 52 px (icon only) and 208 px (icon + label); the button position is fixed to avoid jumping during switching.
- The width choice is written to
localStorage["dsh.two-pane-sidebar.v2"]and persists after restart. - When the system enables
prefers-reduced-motion, width transition animations are disabled.
Relationship with Main Sidebar¶
The rail reserves column width by setting padding-left on the layout frame, reducing the conversation area’s width by 52 px; the main sidebar width remains determined by user dragging and will not be squeezed narrower by the rail. The duplicate plugin navigation list inside the host sidebar is hidden via CSS to avoid coexistence of two sets of entry points.
Implementation Points (for compatibility assessment)¶
client.js is approx. 670 lines with no dependencies: it registers to shell.overlay, subscribes to sidebar.panellist, calls ctx.layout.selectPanel(id) to open panels, and copies background/text colors from the native sidebar column to follow third-party skins. It relies on several host internal slots and DOM conventions; if interfaces change after a major Harness version upgrade, the rail may degrade or become invisible, but it will not corrupt conversation data. See the Compatibility table in the README and docs/troubleshooting.md in the repository for details.
Environment & Requirements¶
| Item | Requirement |
|---|---|
| Harness | DSH Desktop / Web 0.2.1-rc.2 (Windows, macOS, Linux) |
| Runtime | No additional runtime; pure ESM, no build step, no npm dependencies |
| Engine Declaration | engines.dsh: >=0.2.1-rc.2 <0.3.0 |
Current package version (from package.json in materials): 0.2.0, License MIT.
Installation & Activation¶
Install the bundle via the host plugin_manager (writes to profile manifest, executes pnpm add, and applies patch). Choose one of the following:
# 1. registry — Not yet listed on npm, name reserved, available in the future:
# plugin_manager install_bundle target=@a-meng-e/dsh-two-pane-sidebar@0.2.0
# 2. release fixed artifact (no npm account needed)
plugin_manager install_bundle target=https://github.com/A-Meng-E/dsh-two-pane-sidebar/releases/download/v0.2.0/dsh-two-pane-sidebar-0.2.0.tgz
# 3. directly from git
plugin_manager install_bundle target=git+https://github.com/A-Meng-E/dsh-two-pane-sidebar.git
Restart the application after installation (profile changes are not hot-loaded) and refresh the page. The description mentions that spec is passed to pnpm add, so file: / link: local paths can also be used for development installation.
Uninstall:
plugin_manager remove_bundle target=dsh-two-pane-sidebar
Alternatively, quit the application first, then delete the dsh-two-pane-sidebar line from ~/.dsh/profiles/<profile>/package.json and remove the corresponding entry from dsh.profile.bundles (editing profiles while running may trigger hot-load races with other built-in plugins; verify yourself before changing). Generally, no configuration residues remain except the localStorage key.
Typical Usage¶
This plugin has no toggle or config file: the rail is always enabled after installation and restart.
- Click registered entries like “Market”, “Tasks”, “Skills” in the rail to open the corresponding panel in the main content area.
- When you need to see text labels clearly, click the bottom arrow to expand to 208 px; daily use can collapse it to 52 px to save horizontal space.
- When developing this plugin or other rail entries, install via link and modify
client.js, then refresh the page to verify (locale metadata requires restart after changes):
plugin_manager install_bundle target=link:/absolute/path/to/two-pane-sidebar
You can filter the browser console for [two-pane-sidebar] to view warnings regarding degradation paths.
Scenarios & Notes¶
Who it suits: Users who frequently switch between multiple plugin panels in DSH while wanting to keep conversation and workspace lists in a separate column; also suitable for developers needing to verify the sidebar.panellist ecosystem or building client-side layout plugins as a reference implementation.
Known Limitations (from README):
- The rail is at the overlay layer and uses padding for placeholder; there is no draggable divider, and width only has two settings.
- The “narrow window” logic (viewport width < 1024 px) will trigger earlier because the conversation area loses 52 px.
- If a skin does not paint on the sidebar column element, the rail may fall back to theme tokens.
- Icon components should only depend on
{ size, active }; otherwise, placeholder blocks may appear.
Security & Trust: The plugin runs client-side with current DSH process permissions. Before installation, it is recommended to read client.js and cordis.patch.yml on GitHub to confirm the MIT license and behavior match expectations. The community directory site has no official affiliation with DeepSeek / High-Flyer and is not an official app store.
Conclusion¶
dsh-two-pane-sidebar separates plugin navigation from the main sidebar into a fixed rail on the left, allowing the main column to focus on conversations and workspaces; the list is driven by host slots, requiring no configuration after installation. If you use DSH 0.2.1-rc.2 and accept the fixed 52 px concession for the conversation area, you can install via the commands above and restart to verify.
- Directory Page: https://www.skillhub.cn/plugins/A-Meng-E/dsh-two-pane-sidebar
- Repository: https://github.com/A-Meng-E/dsh-two-pane-sidebar