One-click start/stop launcher for DSH Web on macOS — start (foreground/daemon), stop, status, duplicate-launch guard, auto browser open, plus a Dock-able DSH.app built by script.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-start
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zhengjy01/dsh-start
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
English | 中文
A one-click launcher for DeepSeek Harness (DSH) Web on macOS. Stop typing dsh web by hand — start, stop, and check the server from a single command, or build a Dock-able DSH.app that behaves like a normal macOS application.
Features
- One command, four modes —
dsh-start(foreground, logs visible, Ctrl+C to stop),dsh-start -d(daemon, logs to~/.dsh/web.log),dsh-start stop,dsh-start status. - Duplicate-launch guard — if the server is already up (default port 3080), it just opens the browser instead of starting a second instance.
- Auto-open browser — polls the port after launch and opens
http://127.0.0.1:3080once ready (both foreground and daemon modes). - Normal-app feel (DSH.app) —
scripts/build-dsh-app.shcompiles a stay-open launcher app at~/Applications/DSH.app: double-click to start, Cmd+Q (with a confirmation dialog) to stop. Re-clicking the Dock icon ensures the server is running and opens the browser. - Permission-safe by design — the app delegates the server process to Terminal (which has full file-access context), avoiding the macOS sandbox/TCC
EPERMfailures that occur when a bare app spawnsdshdirectly.
Install
From npm (recommended)
npm install -g dsh-start
dsh-start # start in foreground
dsh-start status # is it running?
From source
git clone https://github.com/zhengjy01/dsh-start.git
cd dsh-start
./bin/dsh-start # same CLI
Build the Dock app (optional)
dsh-start --build-app # same as scripts/build-dsh-app.sh
# or
./scripts/build-dsh-app.sh # needs python3 + Pillow for the icon
Usage
| Command | What it does |
|---|---|
dsh-start |
Start in the foreground; Ctrl+C stops the server |
dsh-start -d |
Start in the background (window can close); log at ~/.dsh/web.log |
dsh-start stop |
Stop the running server (found via the port) |
dsh-start status |
Show whether the server is running and its URL |
dsh-start --build-app |
Build/refresh ~/Applications/DSH.app |
The port defaults to 3080 (the dsh web default); override with the DSH_PORT environment variable.
How it works
scripts/start-dsh.shchecks the port first. Already running → open the browser. Otherwise it launchesdsh webin the foreground (ornohup'd in daemon mode) and watches for readiness.scripts/DSH.applescriptis a stay-open AppleScript app (osacompile -s):run/reopenensure the server is up and open the browser;quitasks for confirmation and runsstart-dsh.sh stopbefore exiting.- The build script generates the icon with Pillow, compiles the app, patches
Info.plist, and registers it with LaunchServices.
Troubleshooting
EPERM: operation not permittedwhen launching from the app — this is a macOS permission-context issue: rundsh-start --build-app(v2 app delegates to Terminal), or start viadsh-startin your own terminal.- Sessions "missing" after a restart — session data is never deleted; it lives in
~/.dsh/sessions. If the app-spawned server crashed at boot (see~/.dsh/web.log), start from the terminal instead and the sidebar repopulates. - First launch of DSH.app — macOS may ask "DSH wants to control Terminal"; click Allow (one-time).
License
MIT © zhengjy01
Links
More in this category
yjh051108/dsh-routing-suite★ 6993
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★ 3672
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.
hust-open-atom-club/oh-dsh★ 326
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 210
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
lire1131/dsh-undo-savepoint★ 169
Undo/redo & rollback system for DSH: every config change is auto-snapshotted; undo/redo/restore to any version from the WebUI or the offline CLI/GUI tools (works even when DSH fails to boot).
Fishquito7/dsh-skill-mcp-panel★ 166
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.