dsh-service-hub: Manage Local Services in the DeepSeek Harness Sidebar
liuhuan007/dsh-service-hub
A DeepSeek Harness sidebar plugin that starts, stops, restarts and monitors your local services and scripts, with live status, ports and logs.
dsh-service-hub is a DSH plugin that adds a local service console to DeepSeek Harness, gathering scattered launchers into one sidebar panel. It removes the hassle of remembering launch paths and juggling terminal windows: registered programs, scripts and terminal tools can be started, stopped, restarted and inspected from the panel. A bundled zero-dependency daemon keeps services running after the panel closes, and registry data plus logs stay local across upgrades and reinstalls.
How to Install
dsh plugin --profile web add github:liuhuan007/dsh-service-hubReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- liuhuan007
- Distribution
- Plugin
dsh-service-hub Key Features
dsh-service-hub Repo Summary
What Does It Do?
Service Hub is a DSH plugin for DeepSeek Harness that adds a Service panel to the sidebar for starting, stopping, restarting and monitoring the local services, one-shot scripts and terminal tools you keep on your own machine. It removes the need to remember where each launcher lives or juggle several terminals. The plugin ships its own zero-dependency console daemon, started on 127.0.0.1:3999 when the plugin activates and stopped when it unloads, while the service list and logs persist locally so upgrades and reinstalls keep your entries.
Core Features
- Service panel: a Service tab lists every registered entry with live status, health, port and a quick access URL, plus start, stop, restart, logs and refresh buttons.
- Persistent processes: the daemon owns process control, so services you start keep running after the panel is closed.
- Discovery and classification: Scan lists unregistered executables and listening ports, suggests a kind (app, service, terminal or script) that you can override before adding, and skips system directories.
- LAN access: the panel shows a LAN address you can open from a phone.
- Local-only security: the daemon binds 127.0.0.1 only, sends no CORS headers, enforces Origin / Sec-Fetch / Host checks, restricts entry ids and log paths, and makes no telemetry or outbound calls.
How to Use This Plugin?
After enabling it in DSH, open the panel from the session header (⚙ 服务); if the sidebar enhancement plugin is also installed, the same panel appears as a left sidebar tab. Click Scan to find local candidates and ports, confirm the suggested kind, add the entry, then use the panel buttons to start, stop, restart or read logs. This DSH plugin requires DeepSeek Harness 0.2.1+, the Web/Desktop UI, Node 18+, Windows only, and a free port 3999; panel text is currently Chinese only.
How to Troubleshoot This Plugin?
- The panel is missing: make sure you are on the Web/Desktop UI rather than the TUI or a headless profile, and check that the sidebar dependency is installed.
- The daemon will not start: check whether port 3999 is already taken; if another console is listening there, the plugin reuses it instead of starting a second one.
- Services will not start or stop: confirm you are on Windows, since process management relies on PowerShell and tasklist/netstat.
- Cross-site requests are rejected: the daemon returns 403 for script-initiated cross-site requests by design; operate from inside the panel instead.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: liuhuan007/dsh-service-hub. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
