Preface¶
In the DSH Web Client, plugins such as Cost Statistics (dsh-cost-meter) and Context Overview (dsh-context) are registered to the sidebar.footer.action slot at the bottom of the left sidebar. The upstream footerActions container only has display: flex set without a specified flex-direction, resulting in a default horizontal layout. When two or more action-class plugins are installed, the buttons crowd into a single row, compressing the text and reducing the clickable area. The following section introduces the community client plugin dsh-sidebar-stack (maintained by MosesCharm), which changes the container to a vertical stack by injecting styles, without modifying the upstream code or the individual action plugins.
What is this?¶
dsh-sidebar-stack is a Web Client Plugin for DeepSeek Harness (DSH) (dsh.client.platform = web), categorized as a client-side plugin. It handles no business logic; it simply injects a CSS snippet into the browser’s document.head to override the flex direction of [class*="_footerActions"]. The Host side is an empty implementation with no runtime dependencies. It takes effect immediately upon installation without configuration. The license is MIT.
Core Features¶
Vertical Footer Actions¶
All plugins registered to sidebar.footer.action continue to render within the same container, but switch from a horizontal layout to a vertical stack. For example, if [Cost] [Context] were previously squeezed into one row, they will appear on two separate lines (stacked vertically) after enabling this plugin.
Collapsed Sidebar¶
When the sidebar is collapsed into a 56px icon bar, the action icons at the bottom are also grouped vertically (the spacing in the collapsed state is a fixed 6px, independent of the theme).
Matching Method and Upgrades¶
The plugin matches using the class name suffix [class*="_footerActions"], avoiding hardcoded CSS Module hash prefixes. Therefore, it should remain effective even if class name hashes change after a DSH upgrade. If the upstream adds flex-direction: column to this container in the future, this plugin’s rule will simply become a duplicate declaration, which is generally harmless.
Installation and Activation¶
Install under the Web profile:
dsh plugin --profile web add dsh-sidebar-stack
After installation, please hard refresh your browser (Ctrl/Cmd + Shift + R). Pure client plugins generally support hot-loading; if the change does not take effect, you may restart dsh web.
Uninstall:
dsh plugin --profile web remove dsh-sidebar-stack
Hard refresh after uninstallation; as the styles are managed by the DSH plugin lifecycle, no residue should remain.
Compatibility (Source): DSH 0.1.5-rc.1 and above; the README records testing on 0.1.5-rc.2 (Windows 11 + Chrome/Edge), last verified on 2026-09-21. Applicable only to the DSH Web Left Sidebar; the right sidebar and the bottom workbench are out of scope.
Typical Usage¶
- Complete the installation using the command above.
- Ensure there are at least 2 action plugins at the bottom of the left sidebar (the common combination is
dsh-cost-meter+dsh-context). - Hard refresh the browser; the two buttons should be arranged vertically.
- If the sidebar is already collapsed to an icon bar, check if the icons are grouped vertically.
No configuration file is required. If you need to fine-tune the line spacing, you can edit the CSS constant in lib/client.js (e.g., gap: 2px). If installed via a link, simply save the changes and hard refresh.
To verify the plugin is loaded: Check in the browser developer tools if <head> contains style[data-plugin-css="dsh-sidebar-stack/footer-stack"].
Use Cases and Notes¶
Who is it for: Users who have installed 2 or more sidebar.footer.action plugins at the bottom of the DSH Web left sidebar and are affected by the single-row crowding.
Permissions & Data: The plugin only injects styles; it does not read/write files, make network requests, or collect user data. All logic is contained in a CSS snippet and a single <style> injection within lib/client.js, allowing for easy source code auditing.
Pre-installation Advice: DSH plugins run under specific profile and process permissions. Before installation, review the repository source code and the MIT license to ensure compliance with your environment policies. The community plugin directory is an independent site and has no official affiliation with DeepSeek or High-Flyer.
Troubleshooting: If nothing changes after installation, try a hard refresh first; if still ineffective, restart dsh web. If it stops working after a DSH upgrade, check if [class*="_footerActions"] still matches the current DOM.
Conclusion¶
dsh-sidebar-stack solves the problem of horizontal crowding of multiple plugins at the bottom of the left sidebar with a minimal client-side patch. It takes effect immediately upon installation with no configuration options. Directory Page: SkillHub - dsh-sidebar-stack; Source Code & Full Documentation: GitHub - MosesCharm/dsh-sidebar-stack.