dsh-plugin-restart-desktop: One-click restart for DSH Desktop keeping windows

The DSH desktop version lacks a built-in restart mechanism, and window geometry is never persisted to disk, so windows always reset to 1280×820 upon restart. The `dsh-plugin-restart-desktop` plugin, maintained by railgun20001 under the MIT license and installable via npm, provides a refresh icon to the right of the account row at the bottom of the sidebar; clicking it triggers a restart. It preserves the window position, size, maximization state, and display location after restart, and optionally allows for automatic continuation of the session that was actually interrupted at the moment of restart. The article details the plugin's positioning, core capabilities (geometry restoration, one-click restart, session continuation, slash command fallback, DOM fallback), official installation command, configuration switches, and troubleshooting entry points, as well as known boundaries such as killing background tasks and not rolling back partially written files. The plugin runs with the privileges of the current process; it is recommended to review the source code and patch files before installation.

Read More
dsh-plugin-restart-desktop: DSH Desktop Sidebar Ordered Restart Button

`dsh-plugin-restart-desktop` is a desktop plugin for DeepSeek Harness (DSH), designed to add a “Restart Desktop” button to the sidebar and eliminate the hassle of manual restarts. Integrated to the right of the gear icon in the settings row, the plugin supports confirmation prompts and language switching, and it works only for the desktop profile. Installation requires modifying `package.json` and running `pnpm install`. This plugin can also serve as a reference for plugin development.

Read More