Purpose: dsh itself is a local web service, and running it directly in a terminal requires manually managing ports, crash restarts, and leftover child processes. DSH Studio puts this work into a native desktop window, responsible for starting, keeping alive, and reclaiming the local dsh service, without modifying the upstream project.
Main capabilities: built with Rust + Tauri 2, cross-platform for Linux, macOS, and Windows; the service is run by a supervisor, and after exit it is restarted according to a backoff strategy, with restarts switching to a new port and the window following it, avoiding stale bookmarks; a real HTTP request is sent every 10 seconds, and if there is no response three times in a row the service is reclaimed; on Windows the service is placed into a Job Object (JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE), and on Unix an independent process group is used to reclaim the entire tree, leaving no residue when the application exits; --port 0 is used to let the system assign a port, and the actual bound port is read back; when there is no Node on the machine, the current LTS can be automatically downloaded, verified with SHA-256, and extracted to the application data directory, without writing to PATH or the registry; when @deepseek-ai/dsh is missing, it can be installed with one click through an npm private prefix, with streaming output displayed. The official Harness UI is hosted within the window, without maintaining an upstream fork; an in-window plugin marketplace is provided, installing through the Harness built-in plugin command, and after installation it can be disabled without being uninstalled; project, session, and prompt library management is supported, including workspace summaries, session pinning/tags/notes, prompt editing, search, variables, and batch tagging; workspace browsing loads directories on demand, and previews do not modify files; project notes are auto-saved with draft recovery, and Git supports unified or side-by-side comparison by file; remote access is disabled by default, and when enabled it binds to a single LAN address through an independent gateway, with QR code pairing being one-time, single-device, and valid for two minutes, device credentials can be revoked one by one, and dsh always listens only on the loopback address; session attachments support text, bitmap, and PDF previews, raw downloads are limited to 20 MiB and verified with SHA-256, text previews are limited to 1 MiB, PDFs support pagination, zoom, and password-protected files, and PDF scripts are not executed.
How to use: obtain the installer from Releases; each tagged version is built by CI for five targets; release packages come with SHA256SUMS.txt; winget, Homebrew Cask, and AUR manifests have been written and verified but not yet submitted to the corresponding repositories; it can run even without Node.js on the machine, and the applicationwill install it by itself; distributions are split into Lite (smaller installer package, downloading a verified runtime when needed) and Full/Offline (bundling the Node.js archive for that platform and the complete DSH dependency closure, allowing first-time setup to be completed offline). Building requires Node.js 22.19 or newer; when building from source, bundle:local skips the updater and platform signing, while official releases are built by the release workflow.
Applicable scenarios: users who want to run, supervise, and maintain a local DeepSeek Harness stably within a desktop window, including development workflows that need a hosted UI, session and prompt management, plugin extensions, and controlled remote access.
Limitations: a desktop environment is required (Windows 10/11 with WebView2); dsh binding to the loopback address is not configurable, and remote access must be enabled separately and paired; Windows installers may show an unknown publisher when platform credentials are missing, and macOS may require approval in system settings; platform release signing and Apple real-device acceptance are still tracked as separate release conditions; some packaging manifests have not yet been submitted to the registry repositories.