Introduction¶
The DeepSeek Harness (DSH) sidebar consists of a “Function Panel” and a “Workspace.” The Function Panel displays entry points for various features, while the Workspace hosts the search, project, and conversation lists. By default, both areas are fully expanded, taking up considerable space. For users who frequently switch between tasks or prefer a minimal interface, this fully expanded layout can cause visual clutter. Previously, users had to manually resize the browser window or collapse the entire sidebar to gain more content area, which was not granular enough. The following section introduces a plugin for the DSH Web interface that allows the Function Panel and Workspace to be independently expanded or collapsed with their respective states remembered. It also supports pinning projects within the Workspace for quick access to frequently used projects.
Plugin Overview¶
The plugin is named dsh-folding-windows and is published by maintainer Alice-Marx. It falls under DSH’s “User Interface & Experience (UI/UX)” plugin category and is installed into the Web configuration through DSH’s official plugin management mechanism. The plugin does not modify DSH core files, does not initiate network requests, and does not access the file system or environment variables. It solely reads and adjusts the sidebar DOM, saves folding states and pinning preferences to the browser’s localStorage, and calls DSH’s workspaces service to reorder projects.
Core Features¶
- Independent Folding of Function Panel and Workspace
- A new “Function Panel” button is added to the sidebar. Clicking it expands or collapses the Function Panel, which contains entry points for plugins, automation tasks, task boards, skill center, model routing, SSH, MV Theater, and more.
- A new “Workspace” button is added. Clicking it expands or collapses the entire Workspace, including the search, project, and conversation lists.
- The folding state of each area is saved independently in the current browser configuration’s
localStorageand is automatically restored after a page refresh. - The Function Panel defaults to collapsed on first use; the Workspace defaults to expanded on first use.
- When the entire sidebar is collapsed, the Function Panel toggle is hidden accordingly; reopening the sidebar restores the previous folding state.
- Supports Tab focus and Enter / Space key operations; collapsed entry points are excluded from the Tab order.
-
Supports Chinese, English, and DSH’s light/dark themes.
-
Project Pinning and Sorting
- In the “By Workspace” or “By Workspace Tree” view, hover over a project row and click the pin icon to pin it. Pinned projects retain the pin icon; clicking it again unpins the project. You can also Tab to focus the pin and press Enter or Space.
- Multiple pinned projects are ordered with the most recently pinned first, and this order persists after refresh. Renaming a project does not affect its pinning record.
- Projects are sorted together with their associated conversations. In tree view, parent-child hierarchy is preserved, and pinned items are displayed first among siblings.
- Unpinning restores the normal order as recorded by this plugin. Project pinning and the folding states of the two areas are saved separately.
- The pure conversation view has no project rows; switch back to the Workspace view to use the pin.
- Pinning preferences are saved in the current browser, while project ordering is persisted by DSH. Disabling the plugin retains the current project order.
Installation and Activation¶
Before installing, ensure that a working DSH CLI and pnpm are installed. The plugin must be installed into DSH’s Web configuration (e.g., web). After installation, restart the corresponding DSH Web configuration to activate the plugin.
- Install into the Web configuration:
dsh plugin --profile web add @jiqinga/dsh-folding-windows
dsh --profile web
- If you prefer to install directly from the GitHub source, use:
dsh plugin --profile web add github:jiqinga/dsh-folding-Windows
dsh --profile web
Replace web with the name of any other configuration that uses the Web interface.
To update or uninstall the plugin, use:
dsh plugin --profile web update @jiqinga/dsh-folding-windows
dsh plugin --profile web remove @jiqinga/dsh-folding-windows
Typical Usage¶
- Collapse the Function Panel: Click the “Function Panel” button on the sidebar to expand or collapse the feature entry points, freeing up more space for the Workspace.
- Collapse the Workspace: Click the “Workspace” button to collapse the search, project, and conversation lists, leaving only the Function Panel or other sidebar areas visible.
- Pin a project: In the “By Workspace” or “By Workspace Tree” view, click the pin icon on a frequently used project row to pin it. The pinning order persists after refresh.
- Unpin a project: Click the pin icon on an already-pinned project to unpin it.
Applicable Scenarios and Notes¶
- Suitable for users who are accustomed to the DSH Web interface, especially those who frequently toggle between the Function Panel and Workspace, or who want a streamlined project list in the Workspace.
- The plugin depends on DSH Web sidebar’s semantic tags and DOM structure. If DSH upstream modifies these structures, the plugin may need updates to remain compatible.
- The plugin only affects the Web client interface and is not applicable to headless or TUI configurations.
- The plugin runs with the current dsh process permissions. It is recommended to review the source code and license before installation.
- Folding states and project pinning preferences are stored in the browser’s
localStorage. Clearing the site’s data will reset these preferences.
Conclusion¶
This plugin helps users maintain a clean interface while quickly accessing commonly used features and projects, by independently folding the Function Panel and Workspace and supporting project pinning. For more details and source code, refer to the plugin directory page and the GitHub repository.
- Directory page: https://www.skillhub.cn/plugins/jiqinga/dsh-folding-Windows
- GitHub: https://github.com/jiqinga/dsh-folding-Windows