Preface¶
In the DeepSeek Harness (DSH) desktop client, opening the settings panel typically relies on the shortcut Ctrl+, (⌘+, on macOS) or navigating to Settings from the avatar menu. The main area of the sidebar already contains fixed rows such as Plugins and Schedules, but lacks a Settings row that is always visible alongside them. If you wish to open the native settings panel—identical to the shortcut-triggered one—with a single click from the sidebar header, one row above Plugins, the community plugin dsh-sidebar-settings-button (Maintainer: Nishikinov, Category: Client) is an implementation designed for this exact purpose.
What is this¶
dsh-sidebar-settings-button is a DSH client plugin: it registers a Settings row in the sidebar.panellist of the sidebar header, positioned immediately before Plugins. Clicking this row opens the native Settings panel, the same as Ctrl+, / ⌘+,. The current package version is 0.2.0, licensed under MIT, requiring Node >= 22 and dsh >= 0.2.0-rc.2.
Community Catalog Page: https://www.skillhub.cn/plugins/Nishikinov/dsh-sidebar-settings-button; Source Code & Docs: https://github.com/Nishikinov/dsh-sidebar-settings-button. The catalog site is a community ecosystem index and has no official affiliation with DeepSeek or High-Flyer.
Core Functionality¶
The plugin registers an entry in the native sidebar.panellist slot with order: -10 (compared to 0 for Plugins and 10 for Schedules), ensuring the Settings row appears at the top. It is rendered by the built-in sidebar,inheriting native geometry, hover states, focus rings, collapse track icons, tooltips, and localized labels.
The click behavior relates to the fact that “Settings is not a main panel”: selectPanel throws an error for unknown keys, whereas Settings is actually held as a modal by ui-settings-general. The plugin utilizes a capture-phase listener on the document to intercept the click above the React root. It then invokes settings.open via the shortcut registry (ctx.shortcuts.registry.invoke), deliberately passing modal: null to prevent the modal guard from swallowing the call during menu mounting. The entire row is clickable: the icon, label, and button padding are all included within the clickable area.
The fallback path does not fail silently: it provides a brief reason in a Toast notification and writes to the console. You can use F12 to open DevTools for troubleshooting.
Sidebar schematic (from README):
┌─ sidebar ─────────────────┐
│ ⚙ Settings ← new row
│ ⊛ Plugins
│ ⏱ Schedules
└───────────────────────────┘
Installation and Enablement¶
Installation uses the DSH built-in CLI, executing plugin add for a local folder or tgz (the documentation does not provide a one-click command in the form of github:owner/repo; do not attempt to construct one based on the plugin name). dsh plugin add is equivalent to pnpm add within the profile and reconciles dsh.profile.bundles; folder installation uses link:, facilitating development where the checked-out directory is the sole source.
Windows Example:
# Windows, using the app's own CLI:
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" `
plugin --profile desktop add <path-to-folder-or-tgz>
Uninstallation:
dsh plugin --profile desktop remove dsh-sidebar-settings-button
The plugin runs with the privileges of the current DSH process; please review the repository source code and the MIT license before installation to ensure compliance with your security and compliance requirements.
Verification and Typical Usage¶
Automated Tests (Run in the plugin repository root directory):
node test/bundle.test.mjs # 6 tests: registration, order, whole-row click, Toast, degradations
node --check src/index.js; node --check client/bundle.js
Online Inspection: In the client slot inspector, you should see this plugin’s entry listed before plugins within the sidebar.panellist subtree:
cordis_inspect_query(platform: "client", provider: "Slots",
method: "listSubTree", input: { root: "sidebar.panellist" })
Daily usage simply involves: after starting the desktop profile with this plugin installed, clicking Settings at the top of the sidebar, eliminating the need to memorize shortcuts or open the avatar menu.
Use Cases and Limitations¶
Suitable for: Users who desire a settings entry that is permanently visible in the sidebar at the same level as Plugins; users who prefer switching main panels via the sidebar but do not wish to memorize an additional shortcut.
Note:
- The Settings entry in the avatar menu is retained (it belongs to another plugin’s React tree); the sidebar row is an additional entry, not a replacement.
- The row’s
iddoes not correspond to any main panel; it relies on click interception to avoidselectPanelerrors. Ifui-sidebarchanges toonClickCapturein the future, the interception logic may need rewriting (tests only cover the plugin’s own behavior). - The sidebar passes
{ size, active }; the plugin only utilizessize. This row will not highlight like a panel—Settings is not a panel. - No build step: The browser side is loaded as a classic script via
window.__ModuleLoader__.load, requiring only platform modules (react,@deepseek-ai/dsh-client-ui-primitives).
Conclusion¶
dsh-sidebar-settings-button connects the native Settings panel to the sidebar header, above Plugins, achieving one-click access consistent with the keyboard shortcut, while providing Toasts and logs for failure paths. For further information, visit the SkillHub Catalog Page and the GitHub Repository.