Preface¶
After multiple plugins are integrated into the DSH client, multiple buttons may appear at the bottom of the sidebar simultaneously. When buttons come from different plugins, their order, height, and display methods are prone to inconsistency; some buttons need to be permanently visible, some are intended to be collapsed into a secondary entry, and some are meant to be temporarily hidden.
lywusichen/dsh-sidebar-buttons is a DeepSeek Harness (DSH) client plugin used to manage sidebar bottom buttons: drag-and-drop sorting, three visibility modes, and unified height. It runs only on the client, does not modify the DSH core, and restores the original sidebar after uninstallation.
What is it¶
- Plugin Name:
lywusichen/dsh-sidebar-buttons - Maintainer:
lywusichen - License: MIT
- Scope: DSH client only,
dsh.client.platformis declared asweb - Environment:
package.jsondeclaresengines.node >= 22 - Core Function: Adds a new “Sidebar Buttons” page in Settings to centrally manage registered buttons at the bottom of the sidebar
This plugin does not replace DSH core functionality or alter backend behavior. It creates a configurable interface for the “display and sorting of sidebar bottom buttons.”
Core Features¶
Sorting¶
The Sidebar Buttons page in Settings lists the buttons registered at the bottom of the sidebar. The page supports dragging rows, and the order updates instantly to the sidebar after dragging.
Visibility Modes¶
Each button supports three modes:
Show: The button is fixed to display on the sidebar.Fold into More: The button is moved into the More button above Settings; it remains usable after entering the More menu; the More button is only displayed when at least one button is folded.Hide: The button is simultaneously removed from the sidebar and the More menu; if accidentally hidden, it can only be restored from the settings page.
Height¶
Buttons registered by different plugins may have different heights. The plugin supports three height handling options:
- Select a unified height for all buttons
- Retain the original height of each button
- Enter a custom height
Installation and Activation¶
The installation command is used to add the plugin under the web profile:
dsh plugin --profile web add github:lywusichen/dsh-sidebar-buttons
After execution, DSH needs to be restarted to allow the client to load the plugin. Subsequently, open the Settings page to view the newly added Sidebar Buttons page:
- Restart DSH
- Open Settings
- Enter Sidebar Buttons
Typical Usage¶
The following steps all take place in the Sidebar Buttons page in Settings:
- Drag button rows to adjust the order of the buttons at the bottom of the sidebar; the sidebar updates instantly.
- Select
Show,Fold into More, orHidefor each button. - If button heights are inconsistent, select a unified height, retain original heights, or enter a custom height.
- If a button is set to
Hide, return to this settings page and re-select the display mode to restore it.
Applicable Scenarios and Notes¶
Suitable for these situations:
- Multiple DSH client plugins have registered buttons at the bottom of the sidebar simultaneously
- Want to fold infrequently used buttons into More instead of deleting them directly
- Need to align the heights of buttons from different sources
- Only want to adjust the interface on the local client without modifying DSH core code
Notes before installation:
- This plugin runs with the permissions of the current
dshprocess; check the source code and license before installing. - License is MIT.
- Only for the web client;
dsh.client.platforminpackage.jsonisweb. - After
Hide, the button will not appear in the sidebar or More menu and can only be restored from the settings page. - The community directory is an independent site, not equivalent to the official app store; the directory URL provided in this article comes from plugin clues and does not directly appear in the current materials. Use
lywusichen/dsh-sidebar-buttonsfor verification when using it.
Links¶
- GitHub: lywusichen/dsh-sidebar-buttons
- Community Directory (Clue URL, not directly verified): lywusichen/dsh-sidebar-buttons