Back to home@Shonean

deepseek-harness-vscode-desktop

Enhanced VS Code extension + Desktop app for DeepSeek Harness (DSH): inline diff, @mentions, selection context, approval UI, plan mode, global shortcut. Claude Code-grade experience. Unofficial community project.

Stars
1
Language
TypeScript
Created
Aug 27, 2026
Updated
Aug 27, 2026

Introduction

DeepSeek Harness Enhanced — VS Code extension & Desktop app

dsh-plugin license vscode electron

Unofficial community project. Enhanced VS Code extension and Desktop app for DeepSeek Harness (DSH). Built on the DSH/Cordis plugin architecture — not affiliated with DeepSeek.

A Claude Code-grade IDE and desktop experience for DeepSeek Harness: inline diff, @mentions, selection context, approval UI, global shortcut, and more.

English | 简体中文

Features

VS Code Extension

  • Inline Diff Preview — See AI-proposed changes in VSCode's native diff editor with Accept/Reject buttons
  • @ File Mentions — Type @ in the chat to quickly reference files and symbols
  • Selection Context — Selected code in the editor is automatically injected as context
  • Approval UI — Native VSCode notifications for tool approval requests (Allow / Deny / Always allow)
  • Plan Mode UI — Dedicated Markdown preview for plan review with comments
  • Focus View — Hide tool call cards and show only conversation text
  • Global Shortcuts — Quick toggle focus, new session, reopen closed session, etc.
  • Secondary Sidebar — Move the chat panel to the secondary sidebar
  • Auto-Save — Auto-save dirty editors before AI reads/writes files
  • Diagnostics Integration — Problems panel errors auto-injected as context
  • Debugger Context — Call stack and variables auto-injected when paused at breakpoints
  • Git Worktree Isolation — AI modifications isolated in a separate worktree

Desktop App

  • Global ShortcutCtrl+Shift+D / Cmd+Shift+D to toggle window from anywhere
  • Rich Notifications — Turn-end notifications with session title and message preview, click to jump
  • Enhanced Tray — Recent sessions list, quick new session, show/hide
  • Application Menu — Full menu bar (File / Edit / View / Go / Help) with SPA actions
  • Native File Dialogs — Native open/save dialogs replacing browser-based pickers
  • Splash Screen — Improved perceived startup performance
  • Auto-Launch Option — Start at login

Kernel Plugin

A DSH kernel plugin (@Shonean/deepseek-harness-vscode-desktop-kernel) that provides the bridge between the IDE and the agent runtime:

  • VSCode Bridge API — Custom HTTP endpoints for IDE ↔ kernel communication
  • Selection Context — Dynamic system prompt injection from editor selection
  • Diff Coordination — File change events pushed to the IDE for diff preview

Installation

Prerequisites

  • DeepSeek Harness (required)
  • Node.js >= 22.19
  • VS Code >= 1.95.0 (for the extension)

VS Code Extension

# Clone
git clone https://github.com/Shonean/deepseek-harness-vscode-desktop.git
cd dsh-vscode

# Build
pnpm install
pnpm run build:vscode
pnpm run pack:vsix

# Install from VSIX
# Code → Extensions → ... → Install from VSIX...
# Select apps/vscode/dist/dsh-vscode-1.0.0.vsix

Desktop App

pnpm run build:desktop
# Build output in apps/desktop/dist/

Kernel Plugin

Install into your DSH profile:

dsh plugin install @Shonean/deepseek-harness-vscode-desktop-kernel

Or add it manually to your profile's cordis.patch.yml.

Architecture

┌─────────────────────────────────────────────────────────┐
│  VS Code Extension / Electron Desktop                   │
│  ┌──────────┬───────────┬────────────┬──────────────┐  │
│  │ DiffMgr  │ Mention   │ Shortcuts  │ Approval UI  │  │
│  ├──────────┼───────────┼────────────┼──────────────┤  │
│  │ Selection│ Plan UI   │ Focus View │ Debugger Ctx │  │
│  └──────────┴───────────┴────────────┴──────────────┘  │
└──────────────────────────────┬──────────────────────────┘
                               │ HTTP + SSE
┌──────────────────────────────▼──────────────────────────┐
│  dsh Kernel                                               │
│  ┌──────────────────────────────────────────────────┐   │
│  │  dsh-vscode-kernel plugin                        │   │
│  │  ┌─────────────┬───────────┬─────────────────┐  │   │
│  │  │ Bridge API  │ Selection │ Diff Coord      │  │   │
│  │  └─────────────┴───────────┴─────────────────┘  │   │
│  └──────────────────────────────────────────────────┘   │
│  Official DSH plugins: tools / fs / session / ...      │
└─────────────────────────────────────────────────────────┘

Development

pnpm install
pnpm run build
pnpm run typecheck

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

This project follows the DeepSeek Harness Brand Guidelines — we use "DSH" in naming to avoid confusion with the official product.

License

MIT — see LICENSE for details.

Built on DeepSeek Harness. Not officially affiliated with DeepSeek.