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

DSH ACP for VS Code

DeepSeek Harness (DSH) for VS Code

| (0) | Free
Chat with a DSH Host from VS Code, with diffs, approvals and editor context.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DSH for VS Code

An independent VS Code extension that drives a local DeepSeek Harness (DSH) Host over ACP v1, or a paired remote Host through the dsh-mobile gateway. It provides native chat, real diff previews with explicit tool approvals, turn-snapshot revert, and loopback IDE tools for editor context.

Compatibility: tested on DSH 0.2.3-alpha.2. This is an independent project compatible with DeepSeek Harness and is not affiliated with DeepSeek. It uses no official logos or brand assets.

Product name confirmed by the project owner: DSH for VS Code.

Requirements

  • VS Code ^1.90.0
  • Node.js >=22.0.0 (for the extension's local runtime integration; VS Code supplies its own Node)
  • A DSH Host (dsh CLI) reachable on this machine. For remote Hosts, a paired dsh-mobile gateway.

Getting started

  1. Open the folder you want to work in. Chat sessions use the workspace folder as their working directory.
  2. Set dshVscode.cliPath to your dsh executable (or leave it empty to auto-detect on PATH). If you use a custom DSH_HOME, set dshVscode.home.
  3. Run DSH: Diagnose to see how the CLI was found and which capabilities it reports. Output passes through a redacting logger.
  4. Run DSH: Open Chat, then DSH: New Session and type a prompt. Choose dshVscode.preferredLocation = tab or sidebar; dshVscode.sendShortcut = enter or ctrlEnter.
  5. The four-step in-product walkthrough (Get Started: Get started with DSH) covers the runtime, chat, change review and editor context.

Features

  • Chat: streaming text, thoughts and tool calls; sessions with search, new/resume/focus, local title fallback, queued prompts, stop, and reload restore of interrupted turns.
  • Approvals and diffs: tool calls that change files open a real diff. dshVscode.approval.mode = ask (default) requires an explicit decision for each write/edit; allow-reads auto-allows tools classified as reads only. The Changes view lists files touched in a turn; Revert restores the pre-turn snapshot. Cancelling a turn cancels pending approvals.
  • Editor context: the "Add Selection to Chat" command (Alt+Shift+D), context chips for the active file and selection, size-capped and workspace-contained prompt blocks, image attachments only when the runtime advertises image capability, and a Quick Fix action to attach a diagnostic.
  • IDE tools: an HTTP MCP endpoint bound to 127.0.0.1 with a per-window random 256-bit bearer token, strict Host/Origin checks and workspace containment for file operations.
  • Remote Hosts: pair with a dsh-mobile gateway using a v3 pairing payload, store the token only in VS Code SecretStorage, switch between Local and paired remote Hosts, see remote session labels and per-feature reasons when a capability is unavailable. wss:// is required outside loopback; ws:// is allowed only on 127.0.0.1 and [::1].
  • Safety checks: a compatibility check against DSH 0.2.3-alpha.2, a static/dynamic no-third-party-network test, and a bundle size budget.

Settings

All settings use the dshVscode. prefix. The main ones are:

Setting Default Purpose
cliPath "" Path to dsh; empty auto-detects.
home "" Custom DSH_HOME.
profile acp DSH profile passed with --profile.
extraPatches [] Extra plugin paths passed as repeated --patch.
environment {} Extra environment variables for the DSH process.
autoStart false Start the runtime when the window activates.
ideTools.enabled true Expose the loopback IDE MCP tools.
approval.mode ask ask or allow-reads; never auto-allows writes.
preferredLocation tab tab or sidebar.
attachOpenFile / attachSelection true Offer context chips from the editor.
sendShortcut enter enter or ctrlEnter.

Settings that affect how the runtime is launched are machine-scoped.

What leaves the machine

Nothing goes to a third-party service. The extension talks to:

  • the local dsh process over stdio (ACP), which may contact the model provider you configured;
  • its own loopback HTTP/WebSocket servers on 127.0.0.1 with per-window random tokens;
  • a remote Host you explicitly paired through the dsh-mobile gateway.

There is no telemetry. Pairing tokens are stored in VS Code SecretStorage and are never written to logs, summaries or webview state.

Development

npm install
npm run typecheck
npm run lint
npm test
npm run build          # includes tools/size-check.mjs
npm run scan
npm run test:ext       # Extension Development Host integration tests
npm run package        # builds extension/*.vsix with @vscode/vsce

npm run test:ext uses a local VS Code installation when one is available (no download); otherwise @vscode/test-electron downloads a test build.

Known limitations

  • Only Windows was tested in this workspace; macOS and Linux are unverified.
  • No real model turn was exercised: the test account had insufficient balance, so all conversation tests use the bundled fake agent.
  • The product name is DSH for VS Code; the Marketplace publisher ID is dsh-harness-vscode.
  • DSH internals are never patched or wrapped; features that need more than ACP/public services are implemented through the ide-bridge Cordis plugin or reported as unsupported.

License

MIT — see LICENSE. Third-party notices are in NOTICE.md. See also CHANGELOG.md.

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