Introduction¶
The plugin ecosystem of DeepSeek Harness (DSH) allows wrapping Web Profiles into native desktop windows. dsh-clean-desktop-shell is the basic implementation, but in actual usage, developers often encounter issues such as manually starting the backend, connection interruptions caused by directly closing the window on exit, or slow cold starts. dsh-clean-desktop-shell-pro is an enhanced fork of the original, maintained by user Aicksion, designed to add proper backend lifecycle management expected of a desktop application and improve the native experience.
What is it¶
This is an enhanced fork of dsh-clean-desktop-shell. It retains the MIT license of the original project and mainly addresses the experience gaps in the original’s startup process and exit behavior.
Core Features¶
The plugin provides the following four main improvements:
- Automatic backend startup: After installation, double-clicking the window starts the local
dsh webbackend automatically, eliminating the need to manually click the “Start Backend” button. - No browser opening: The backend starts with the
--no-openparameter, only popping up a native window without accompanying browser tabs. - Ask whether to close the backend on exit: When clicking “Quit” in the tray, a three-option menu pops up: close backend and quit, quit only (keep backend), cancel.
- Parallel startup of backend and window: The backend starts during the Electron initialization phase rather than waiting for the window to fully render, which significantly speeds up the application’s cold start.
Installation and Activation¶
- Run the installation command:
dsh plugin --profile web add dsh-clean-desktop-shell-pro
- After installation, restart
dsh webto load the new plugin. It reuses the existing web profile and Electron runtime.
Note: If the original
dsh-clean-desktop-shellis already installed, uninstall it first to avoid two desktop shells starting simultaneously:
bash dsh plugin --profile web remove dsh-clean-desktop-shell
Typical Usage¶
After restarting dsh web, the application runs as a native window. After the first launch, you can select “Create Desktop Shortcut” from the tray right-click menu to generate a desktop icon.
Precautions¶
- Conflict handling: Before installation, confirm that the original plugin is not installed, otherwise the system may run multiple desktop shell instances.
- Open source and license: This package is a fork under the MIT license. Source code and the contributor list can be found in its GitHub repository.
Summary¶
For developers who want to use the DSH Web Profile like native software, dsh-clean-desktop-shell-pro provides a complete solution. It lowers the barrier to using the desktop shell by automating backend management, optimizing the startup process, and enhancing exit interactions.
- Plugin directory: dsh-clean-desktop-shell-pro
- Source code: https://github.com/Aicksion/dsh-clean-desktop-shell-pro