DeepSeek Harness (DSH) for VS Code
English · 简体中文
Map the DSH web frontend into the VS Code auxiliary sidebar, attach editor context, edit selections inline, and running against your locally installed DSH runtime.
2.0.0 — the IDE-core subtraction
This release is a deliberate reduction: the extension now does exactly three things and nothing else.
- Frontend mapping — the DSH web UI runs inside the VS Code sidebar (and extra editor-area panels), backed by an owned local
dsh web child.
- DSH 0.2.2 line. the extension resolves the local CLI and checks session and workspace capabilities on startup.
- A few IDE features — add file/folder/selection/Problems to the conversation, open chat file links in the editor, and Ctrl+K / Ctrl+I inline edit.
Cut in 2.0.0: VS Code chat participant @dsh, LM model routing, FIM tab completion, MCP consumption, the extension exports API, the Changes review subsystem, diagnostics/catalog/detection surfaces, onboarding, the legacy CH1/CH2 bridge lines, and every planning/evidence document.
Compatibility
| Item |
Requirement |
| VS Code |
≥ 1.106, desktop; remote, virtual and untrusted workspaces are unsupported |
| Target DSH |
0.2.2 or a 0.2.2-rc.N CLI. Install with npm i -g @deepseek-ai/dsh@0.2.2-rc.5. |
| Node.js for the child |
^22.19.0 \|\| >=24.0.0; the selected executable is checked independently of VS Code's Node |
| Integration |
dsh-vscode-integration@0.12.0, bundled and synced into the target profile |
Any other DSH version is unverified and rejected before spawn. An already-running external instance without a verified integration handshake is displayed browser-only and never receives session mutations.
Usage
- Press
Ctrl+Alt+B to connect the sidebar.
- Add to DSH Thread appends compact file/selection/folder/Problems links to the main Conversation draft without leaving the editor (
Ctrl+L for the active selection when enabled).
- File references inside the chat open directly in the editor through the authenticated document bridge.
- Ctrl+K (selection) and Ctrl+I (file) send an edit instruction into the conversation draft (enable via
dsh.features.ctrl-k / dsh.features.ctrl-i).
Ctrl+Alt+N opens an extra DSH surface as an editor-area panel riding the same child process.
Installation
Existing published builds are available from the Marketplace. For development: npm run check:w0 (lint + unit tests + packaging gate + secrets gate).
Configuration
| Key |
Default |
Description |
dsh.port |
3080 |
Configured DSH web port |
dsh.autoStart |
true |
Start an owned service when VS Code opens |
dsh.home.mode |
shared |
shared: official ~/.dsh; isolated: extension-private home |
dsh.profile |
vscode |
Base profile; the target adds -dsh022rc1 |
dsh.launch.method |
auto |
auto: resolve the local install, fall back to the dsh CLI; command: CLI only |
dsh.runtime.version |
empty |
Optional exact version pin within the 0.2.2 line |
dsh.closePolicy |
onVscodeExit |
Owned-service lifecycle policy |
dsh.features.thread-attachment |
true |
Add-to-thread commands |
dsh.features.editor-links |
true |
Open chat file links in the editor |
dsh.features.ctrl-k / ctrl-i |
false |
Inline edit commands |
dsh.keybindings.ctrlL |
false |
Attach selection with Ctrl+L |
dsh.multiInstance.entry |
true |
Show the New Instance entry in the view title |
See package.json for the complete list.