Restart button in the window caption band: one click closes the whole desktop app and relaunches it (the original v0.1.0 restart helper). The repository also ships a tool that patches the installed desktop shell so its tray menu carries a Restart item.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:IHS470/dsh-plugin-restart
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A restart button for the DeepSeek Harness desktop app: one button in the window's caption band that closes the whole application and brings it back. The 2.0.0 runtime is the original v0.1.0, byte for byte; the repository also ships the tool that puts "Restart DeepSeek Harness" into the shell's tray menu.
| What it is | How to use | |
|---|---|---|
| Plugin (runtime) | Caption-band button: kills the shell, launches the app, pokes the window twice. No settings page, no lock — click as often as you like | Install it as a DSH plugin |
tools/patch-shell-tray.mjs |
Adds a Restart item to the shell's tray menu, calling the shell's own app.relaunch() + quitWithoutConfirmation() — so Electron removes the tray icon itself |
See below |
Why a plugin cannot provide the tray item: the tray lives in the shell's main process (new Tray,
setContextMenu). The host is plain Node without Electron APIs, and the page only gets the fixed dshDesktop preload
surface, so neither can add an entry. It is therefore a local, reversible shell patch; the long-term fix is in
docs/dsh-restart-api-request.md, with line numbers.
node tools/patch-shell-tray.mjs status | build | detach | swap | revert
The tool detects the installation, backs the original up as app.asar.orig, verifies the rebuilt archive file by file,
and restores the original within 40 seconds if the patched archive does not start. It patches the vendor's packaged
application: an update or reinstall overwrites app.asar and build + detach have to be run again.
Being honest: 2.0.0 does not contain what the 1.0.x line added (settings page, restart-style switch, guardian,
stray cleanup, settle lock) — those remain at their tags v1.0.0–v1.0.4. The caption-band button restarts by killing
the process, which can leave a ghost tray icon on Windows; the tray item does not. Windows only.
Links
More in this category
yjh051108/dsh-routing-suite★ 7028
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3950
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1491
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
MichengAI/dsh-skills-manager★ 630
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 326
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 292
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.