Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DSH Lite for VS CodeNew to Visual Studio Code? Get it now.
DSH Lite for VS Code

DSH Lite for VS Code

Fla1337

|
1 install
| (0) | Free
DeepSeek Harness (dsh) agent integration for VS Code: chat, code edits and tool calls via the Agent Client Protocol.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DSH Lite — DeepSeek Harness for VS Code

Chat with the DeepSeek Harness agent inside VS Code: sessions, streaming replies, tool-call cards, permission prompts, model/effort/preset pickers, change review, and @-mentions — built on the standard Agent Client Protocol (ACP), like the Claude Code and Codex extensions.

Features

  • Chat view with markdown rendering, thought folds, tool cards (structured key/value args), and a sessions sidebar
  • Session management — list / resume / rename / delete (rename & delete need the bridge plugin), local transcript cache
  • Model, reasoning-effort, agent-preset, and permission-mode pickers in the composer rail
  • Change review — files the agent touches are tracked live; open a native diff against HEAD per file
  • @ file mentions and editor-context attachment; image attachments (paste or picker, when the route supports them)
  • @dsh chat participant in the native Chat view, and DSH: Explain Selection for one-shot code explanations
  • Todo cards / plan-mode banner streamed from the agent (bridge plugin)
  • Cross-environment: run dsh on Windows, in WSL, or inside a Remote-WSL window (see Topologies)

Requirements

  • Node.js ≥ 20 on the side where dsh runs (nvm/volta/mise are picked up automatically)
  • DeepSeek Harness ≥ 0.1.5-rc.2 — either installed (npm i -g @deepseek-ai/dsh) or used via npx, or from a repository checkout
  • Optional: dsh-vscode-bridge ≥ 0.1.1 dsh plugin for native titles, delete, presets, permission modes, workspace grouping, and todo/plan push

Quick start

  1. Install this extension (.vsix or build from source — see Development).
  2. On first run, the DSH Lite Setup page opens: pick where dsh runs and how to launch it. Reopen anytime with DSH: Setup.
  3. Open the DSH view in the activity bar — the agent boots automatically, and a session is created for you.
  4. Optional but recommended: run DSH: Install/Repair Bridge Plugin to unlock the full feature set (creates the acp-vscode dsh profile, wires services, installs the plugin, and points dsh.profile at it).

Settings

Setting Default Description
dsh.runtime auto Where the agent process runs: auto (same side as the extension host), wsl, or windows
dsh.command npx -y @deepseek-ai/dsh Launch command on the target side; the extension appends --profile <dsh.profile>
dsh.profile acp dsh profile to boot. Use acp-vscode with the bridge plugin
dsh.wsl.distro "" WSL distribution name when dsh.runtime is wsl (empty = default)
dsh.env {} Extra environment variables for the dsh process (e.g. DEEPSEEK_API_KEY)
dsh.mcpServers [] MCP servers mounted on every new session (prefer DSH: Configure MCP Servers)
dsh.autoAttachActiveFile false Attach the active editor file/selection to every prompt

Topologies

VS Code window dsh runs Setting
Windows Windows auto
Windows WSL wsl
Remote-WSL WSL auto
Remote-WSL Windows windows (best-effort: WSL-native files appear as slow \\wsl$ UNC paths; the bridge channel is unavailable in this direction)

Path translation between the VS Code side and the dsh side is automatic (wslpath probing + drvfs prefix mapping).

Commands

Command What it does
DSH Lite: Setup Open the setup page (runtime/command/distro/profile)
DSH: New Session New session (an untouched empty session is reused instead)
DSH: Install/Repair Bridge Plugin Idempotent bridge installer/repairer on the target side
DSH: Doctor Probe node/dsh availability on the dsh side and log results
DSH: Show Agent Changes QuickPick over agent-changed files → native diff
DSH: Configure MCP Servers Add/remove MCP servers (stdio/HTTP) mounted on new sessions
DSH: Explain Selection One-shot explanation of the selected code in a preview tab
DSH: Run in Terminal Launch the dsh TUI in an integrated terminal (topology-aware)
DSH: Focus Chat / DSH: Refresh Sessions View utilities

Troubleshooting

Everything the agent process prints lands in the DSH output channel; bridge connection state is logged there too.

  • Chat stuck on “Initializing…” → run DSH: Doctor. Common causes: nvm-managed node not on the non-interactive PATH (the extension sources nvm/volta/mise/asdf quietly; otherwise use an absolute node path in dsh.command), wrong distro, or a non-ACP profile (web/tui/desktop are rejected with a warning).
  • First npx run times out → it downloads the package; install once (npm i -g @deepseek-ai/dsh) or point dsh.command at a checkout.
  • “no API key for provider route” → configure the key once in the dsh Web UI Models page (shared via $DSH_HOME), or set dsh.env.DEEPSEEK_API_KEY.
  • Bridge features missing (titles/delete/presets/permissions) → the extension needs dsh.profile: acp-vscode and the bridge plugin; run DSH: Install/Repair Bridge Plugin.

Development

npm install
npm run build       # bundle extension + webview into dist/
npm run watch       # incremental
npm test            # unit tests (node:test, esbuild-bundled)
npm run typecheck   # strict tsc
npm run smoke       # headless ACP contract test against a real dsh (DSH_COMMAND=… to override)
npm run package     # produce a .vsix

# publishing (needs a publisher PAT):
VSCE_PAT=<azure-devops-pat> npm run publish:marketplace   # VS Code Marketplace
OVSX_PAT=<open-vsx-pat>     npm run publish:ovsx          # Open VSX

Tag pushes (v*) run the full pipeline in ci.yml: the ubuntu+windows matrix (typecheck, unit tests, ACP contract smoke against the published dsh) must pass before the .vsix is built and released to GitHub; marketplace publishing turns on via the VSCE_PUBLISH/OVSX_PUBLISH repo variables once the PAT secrets exist.

Press F5 for an Extension Development Host with this project opened.

src/launcher/   topology detection, process launch specs, WSL↔Windows path mapping
src/acp/        typed ACP client + shared service (vscode-free core)
src/bridge/     dsh-vscode-bridge client + centralized discovery (>=0.1.1)
src/chat/       chat view host: sessions, permissions, context, transcripts, changes
src/webview/    React chat UI (RailSelect, sessions sidebar, todo/plan, welcome)
src/setup/      first-run setup webview panel
src/shared/     host↔webview protocol + pure helpers
tests/          node:test suites (launcher matrix, session ordering, bridge protocol, …)
scripts/        smoke test + icon generator

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft