dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Start, open, and manage the DeepSeek Harness Web UI from VS Code.
Start, open, and manage the DeepSeek Harness Web UI from VS Code with one click. The extension checks the environment, fetches DSH through npm, picks a safe port, waits for readiness, and cleans up the process on stop.
node and npx in the same installation directory.Harness can read and write files and run commands: the extension does not start or connect services in Restricted Mode, and it asks for confirmation again when choosing a directory from an empty window.
Search for DeepSeek Harness Launcher in the Extensions view (Ctrl/Cmd+Shift+X), or visit Visual Studio Marketplace or Open VSX. You can also install a .vsix from GitHub Releases using Extensions: Install from VSIX….
DSH in the status bar or run DeepSeek Harness Launcher: Open.DSH Working…; click it to cancel or view the output.Settings → Models in Harness, then confirm a directory in Choose workspace and start a session.workingDirectory is DSH's launch directory and default workspace context, which affects AGENTS.md, CLAUDE.md, cwd .env, and similar files.
| Command | Description |
|---|---|
DeepSeek Harness Launcher: Open | Start if needed, or open the running UI |
DeepSeek Harness Launcher: Start Server | Start the server without opening the page |
DeepSeek Harness Launcher: Open in Browser / DeepSeek Harness Launcher: Open in VS Code | Start if needed, then open in the chosen location |
DeepSeek Harness Launcher: Stop Server | Stop the hosted server; run it again if cleanup failed |
DeepSeek Harness Launcher: Restart Server | Apply new settings; reuses the selected directory when workingDirectory is unchanged |
DeepSeek Harness Launcher: Cancel Current Operation | Cancel an environment check, startup, restart, or connection in progress |
DeepSeek Harness Launcher: Connect to Running Server… | Connect to an existing DSH in this environment |
DeepSeek Harness Launcher: Disconnect External Server | Stop tracking an external DSH without stopping its process |
DeepSeek Harness Launcher: Copy Access URL | Copy the full address a client can use |
DeepSeek Harness Launcher: Show Output / DeepSeek Harness Launcher: Open Settings | Open the output panel or extension settings |
| Setting | Description | Default |
|---|---|---|
vscode-dsh.startupBehavior | manual start on demand; start start silently when VS Code opens; startAndOpen start and open | manual |
vscode-dsh.openLocation | Use the system browser or VS Code's editor for the primary command | browser |
vscode-dsh.port | Pick a free port automatically. When a fixed port is taken, the extension does not attach to other instances | 0 |
vscode-dsh.startupTimeout | Maximum seconds to wait for DSH to become ready | 120 |
vscode-dsh.workingDirectory | Launch and default workspace context; supports absolute paths, relative paths, ~, and ${workspaceFolder}. Relative paths require an open workspace folder | "" |
vscode-dsh.webArgs | Extra DSH Web arguments (must not include --host, --port, or --patch) | [] |
vscode-dsh.environment | Process environment variables; may override PATH, cannot override DSH_HOME | {} |
DeepSeek Harness Launcher: Open is the primary command: it starts the server when it is not running and opens it directly when it is.
The status bar shows: shield + DSH (untrusted), DSH (not running), DSH Working… (click to cancel or view output), DSH Stopping… (click for output), DSH: port (hosted by this window), link icon + DSH: port (external server), DSH: port* (settings changed; click to restart and apply), or error icon + DSH (hover for details and click for recovery actions).
http://127.0.0.1:3080). It supports open, copy, refresh, and disconnect only; the extension never stops it, and it keeps its own data directory.Node/npx, workingDirectory, relative paths, environment variables, and connection addresses are resolved in the environment where the workspace lives. The system browser is opened through openExternal, which resolves localhost forwarding; the built-in page and "Copy Access URL" use asExternalUri. With an automatic port, the exact non-loopback authority returned by VS Code is added to the DSH Host allow-list; if the forwarded authority cannot be determined, the extension fails safely.
DSH only listens on 127.0.0.1, but forwarding visibility is controlled by VS Code, Codespaces, or Dev Tunnels. Keep forwarded ports Private and do not share forwarded URLs.
workingDirectory and any added directories may be read, written, and executed by the agent. Workspace Trust is not a filesystem sandbox.--host 127.0.0.1, refuses to let users override the listen address, and does not support patches that would rewrite this boundary.| Problem | What to check |
|---|---|
| Node.js / npx not found or unsupported version | run node --version in the extension's runtime environment; Remote uses the remote Node. The integrated terminal may be initialized by nvm while the Extension Host's PATH is not synced; provide an absolute PATH in vscode-dsh.environment. |
| First startup is slow | npx downloads DSH and its dependencies. Click "Show Output" in the status bar or increase startupTimeout. |
| Fixed port already in use | change back to port: 0. If that port is a DSH instance you started yourself, use "Connect to Running Server…". |
| The page opens but sessions do not work | configure a model under Settings → Models, then add and select a directory under Choose workspace; see the official Web UI guide. |
| The built-in page is blank or limited | use Open in Browser instead, and check the output panel and the Private setting for Remote port forwarding. |
| The server exits unexpectedly | hover the error status to see why and pick a recovery action. A managed process must confirm cleanup before restart is allowed. |
Use Node.js 24 and the pnpm version declared in package.json.
pnpm install --frozen-lockfile
pnpm compile
pnpm verify
pnpm ext:package
compile creates a development bundle; verify runs the available static checks and unit tests; build verifies and creates the production bundle. ext:package builds a VSIX through the same verification gate used in CI. Use watch during development.
See Architecture for module boundaries and lifecycle rules, and Contributing for validation and release conventions.
Maintained by Quincy Zhang.