Introduction¶
The philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” Every section in the settings sidebar is registered by plugins via the settings.section slot. When too many plugins are installed, the navigation sections increase, and their order depends on the registration order. Unused sections can only remain visible in the navigation. dsh-settings-sections is prepared for this scenario: it puts the display, hiding, and sorting of the settings sidebar under user management. Below is an introduction to its features, installation methods, and usage steps.
What is it¶
dsh-settings-sections is a lightweight plugin maintained by ovo669, current version 1.0.1, MIT license. One-sentence positioning: it manages the display, hiding, and sorting of “sidebar sections” in the DeepSeek Harness settings panel; it is a pure client-side implementation, with state saved in localStorage.
Let’s clarify two features first:
- Pure client-side, no host-side logic, compatible with DeepSeek Harness EAC (desktop client);
- Hiding a section only means it won’t be displayed in the navigation; it won’t delete any setting content and can be re-enabled at any time.
Core Features¶
According to the README, the plugin provides these capabilities:
- Adds a “Settings Sections” management page at the top of the “Settings” navigation;
- One toggle switch per section; clicking immediately shows or hides the corresponding section;
- Dragging the handle on the left of a row adjusts the section order, synchronizing with the left navigation;
- “Show All” and “Restore Default Order” for one-click recovery;
- Hidden state and order are saved in localStorage and automatically restored after restart.
Implementation Details¶
Every section in the DSH settings sidebar is registered by plugins via the settings.section slot. The approach of this plugin is:
- Registers its own management page in
settings.section, placing it at the very top; - Reads all registered sections and renders them into a list of toggles;
- When toggling a switch, uses
MutationObserverto hide the corresponding button in the left navigation (usingdisplay:none); - When dragging to sort, rearranges the DOM positions of the left navigation buttons according to the custom order;
- Writes the hidden list and order to localStorage.
The entire process is completed on the client side without involving host-side logic.
Installation¶
The README provides two installation methods; no CLI installation command is provided.
Method 1: Manual Installation¶
First, place the repository (or the dsh-settings-sections folder) into the profile’s node_modules:
C:\Users\<用户名>\.dsh\profiles\<profile>\node_modules\dsh-settings-sections\
Then add the following to the end of the profile’s cordis.patch.yml:
- insert:
- id: settings-sections
name: 'dsh-settings-sections'
Then completely exit DSH and reopen it, pressing Ctrl+Shift+R to refresh the page. After the above steps, the management page will appear at the top of the settings navigation. The peerDependency declared by the plugin is @deepseek-ai/cordis ^4.0.1.
Method 2: Plugin Market¶
The repository is tagged with dsh-plugin; you can search for dsh-settings-sections in DSH’s Zat Plugin Market to install it.
Typical Usage¶
Open “Settings” -> Top “Settings Sections” to enter the management page:
- Check or uncheck the toggle switch on the right of each section to show or hide the corresponding section;
- Hold and drag the “⠿” handle on the left of a row up or down to adjust the order of the section in the left navigation;
- When you want to restore the original state, click “Show All” or “Restore Default Order” for one-click recovery.
Switching the toggle takes effect immediately; the hidden list and order are written to localStorage and will still be retained after restarting DSH.
Applicable Scenarios and Precautions¶
Suitable scenarios:
- Many plugins are installed, the settings sidebar is crowded, and you want to hide unused sections;
- You have a preference for section order and want high-frequency sections to appear at the front of the navigation;
- After the order is messed up, you need a one-click restore of the default order.
Precautions before installation:
- The plugin runs with the permissions of the current DSH process; it is recommended to check the repository source code before installation to ensure the behavior meets expectations;
- The license is MIT; the repository address is at the end of the text;
- Hiding a section does not delete any setting content and can be re-enabled at any time in the management page.
Conclusion¶
dsh-settings-sections solves a small but specific problem: the display and sorting of the settings sidebar. If you keep installing more sections in DSH, you can use it to organize them once; the cost is low, and it is easily reversible at any time.
- Community Plugin Directory: https://www.skillhub.cn/plugins/ovo669/dsh-settings-sections
- GitHub Repository: https://github.com/ovo669/dsh-settings-sections
Note that skillhub.cn is an independent community plugin directory and has no official affiliation with DeepSeek or HF.