Preface¶
In the DeepSeek Harness (DSH) desktop app, changing the API Key, model, or account-related options typically requires first clicking the account area at the bottom of the sidebar, then selecting “Settings” from a secondary menu. That extra menu step can feel tedious when you frequently tune parameters or troubleshoot connection issues.
The community plugin dsh-sidebar-settings (maintainer linguiyii) is a DSH client plugin: it adds a “⚙ Settings” row at the bottom of the sidebar, opening the settings panel in one click. The original “Settings” entry in the account menu and the Ctrl+, shortcut are preserved. This article covers its positioning, installation, and usage notes; all facts come from the GitHub repository README and package.json.
What Is This¶
- Name:
dsh-sidebar-settings(npm package name, repo linguiyii/dsh-sidebar-settings) - Category: Client (
dsh.client.platformisweb, loaded in the desktop Web UI) - Version (explicitly stated in sources):
0.1.0 - License: MIT
The plugin does not handle the settings page content itself; it only moves the “open settings panel” action to the sidebar footer area, coexisting with the built-in sidebar.settings row provided by the shell (the README screenshot shows two rows of entry points; this plugin does not remove the native row).
Core Features¶
Direct Access to Settings at the Bottom of the Sidebar¶
After installation and restarting the desktop app:
- A new “⚙ Settings” row appears at the bottom of the sidebar; clicking it opens the settings panel (the README example shows the “Add API Key” onboarding state).
- When the sidebar is collapsed into an icon rail, this row becomes a centered gear icon; the hover tooltip reads “Open Settings (Ctrl+,)”.
Relationship with Native Entries¶
- The “Settings” item in the account menu and the
Ctrl+,shortcut (Windows/macOS desktop) remain functional. - Implementation-wise, it preferentially calls
actions.open()via the store on thesidebar.settingsslot, using the same action as the native gear andCtrl+,; when older shells lack a public store, it falls back to a DOM click based ondata-slot. The plugin does not simulateCtrl+,by synthesizing akeydownevent inside the page (the README notes that the host handles this shortcut on desktop, so dispatching from the page has no effect).
Extension Points¶
The button is registered under sidebar.footer.action (a list slot, allowing multiple plugins to coexist via order), positioned above the bottommost sidebar.settings row. Styles are injected via a <style> tag with data-plugin, and colors use --dsw-* theme variables.
Installation and Activation¶
Prerequisites¶
- Node.js ≥ 22 (per
enginesinpackage.json). - DeepSeek Harness desktop app: the README states end-to-end validation was performed on the 0.1.5-rc.2 Web UI.
- Installation requires write access to
<DSH_HOME>/profiles/<profile>(default on Windows:%USERPROFILE%\.dsh).
Why Not Use dsh plugin add¶
The README explains: dsh plugin --profile desktop ... will be rejected with the error profile "desktop" is managed exclusively by the Electron application—the desktop profile is exclusively managed by the Electron app. Therefore, the repository provides scripts/install-desktop.mjs, which performs the three changes equivalent to “installing a plugin” at the profile level (junction/symlink, dependencies in package.json, and dsh.profile.bundles), and creates *.dsh-sidebar-settings.bak backups for modified files.
The following commands come from the README verbatim (PowerShell example; default profile is desktop):
git clone https://github.com/linguiyii/dsh-sidebar-settings
cd dsh-sidebar-settings
node scripts/install-desktop.mjs --dry-run # preview changes first
node scripts/install-desktop.mjs # actually write
After installation, restart the DeepSeek Harness desktop app (client bundles are assembled at startup).
To uninstall:
node scripts/install-desktop.mjs --uninstall
For other DSH_HOME or profile examples:
$env:DSH_HOME = "C:\path\to\.dsh"; node scripts/install-desktop.mjs --profile web
Community directory page: skillhub.cn/plugins/linguiyii/dsh-sidebar-settings. The DSH ecosystem emphasizes “everything is a plugin”; this directory is a community site with no official affiliation with DeepSeek / Hithink RoyalFlush. Please review the source code and license before installing.
Typical Usage¶
- Follow the previous section to complete installation and restart the desktop app.
- Find the new “⚙ Settings” at the very bottom of the sidebar and click it to enter the settings panel (e.g., to configure an API Key).
- If you prefer a collapsed sidebar, click the gear icon in rail mode; the effect is identical to the expanded state.
- You can still use Account menu → Settings, or
Ctrl+,; they do not conflict with the plugin button.
Use Cases and Notes¶
Who it’s for: Developers or everyday users who frequently open settings in the DSH desktop app and want to reduce the “click avatar then click settings” steps.
Known limitations (from the README “Known Limitations”):
- The “Settings” entry inside the account menu cannot be removed by this plugin (no public extension point); the plugin only adds an entry at a more convenient location.
- A restart of the desktop app is required to take effect.
- When the sidebar is collapsed,
sidebar.footer.actiononly provides thewideform, and the button does not highlight based on whether the settings panel is already open.
Security and trust: Client plugins run with the current DSH process and user privileges, and write links and bundle configurations to the profile. Before installing, please read the repository’s src/client.js / lib/client.js and the MIT license to confirm you accept the behavior of the code and installation scripts by maintainer linguiyii.
Conclusion¶
dsh-sidebar-settings moves Settings from the account’s secondary menu to the bottom of the sidebar, opening the same settings shell as the native one in one click, without replacing the original shortcuts and menu items. For installation steps and implementation details, refer to the repository README.
- Community directory: https://www.skillhub.cn/plugins/linguiyii/dsh-sidebar-settings
- GitHub: https://github.com/linguiyii/dsh-sidebar-settings