返回目录
模型与 MCP 插件

dsh-vsc-integration

HarcoChen/dsh-vsc-integration

DeepSeek Harness (DSH) for VS Code — AI coding with native diffs, tool approvals, persistent sessions, and Trace insights. | AI 编程助手:原生 Diff、工具审批、持久会话与 Trace 分析。

Stars
23
Forks
4
Issues
1
更新
11 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:HarcoChen/dsh-vsc-integration

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DSH IDE

DeepSeek Harness for VS Code

English · 简体中文

Bring DeepSeek Harness (DSH) into VS Code. Work with editor context, approve tool calls, review native diffs, and follow tasks through Trace and usage insights.

dsh target 0.2.2-rc.1 Laya / Jev built-in Zero-config setup

Open VSX downloads VS Code Marketplace installs GitHub Stars License

VS Code Marketplace · Open VSX · Download VSIX

DSH workflow demo

Get started

Requires VS Code 1.106.0+. The Runtime compatibility target is dsh 0.2.2-rc.1.

  1. Install the extension from one of the links above. For a downloaded .vsix, run Extensions: Install from VSIX....
  2. Install and launch DeepSeek Desktop, which registers the dsh command. Open and trust your project folder, then run DSH: Open Chat. Desktop download
  3. Run DSH: Configure API Key for DeepSeek credentials. For other providers, use DSH: Open dsh Web UI in Browser. Select or register a DSH Workspace and choose a model.
  4. Send a task. Use @ to attach context, respond to approval cards, and open tool diffs to review changes.

A DSH Workspace groups sessions in Harness and can be associated with a project path. Sessions on the same Runtime can also be continued in its Web UI.

Features

  • Native review with side-by-side tool diffs, proposed file changes before approval, and support for files outside Git.
  • Editor context from files, selections, symbols, diagnostics, Git diffs and paused debugger state.
  • Persistent sessions with independent editor tabs, conversation outlines, search, archive and Markdown/JSON/ZIP export.
  • Task visibility through Trace, Activity, subagents, Todos, token usage and model cost estimates.
  • Runtime tools for terminals, schedules, account management and plugin installation.
  • Worktree and PR review through the optional official @deepseek-ai/dsh-experimental-forge-bundle.
  • Inline completion and optional agent-driven debugging, with automatic completion and autonomous debugging off by default.

Configuration

Search dsh in VS Code settings for all options. Commands are available under DSH in the Command Palette. The interface follows VS Code's English or Simplified Chinese display language.

Connect to an existing Runtime by setting dsh.serverUrl to its launch URL, including the token, or use dsh.serverToken separately. Remote hosts require HTTPS. Set dsh.connectionMode to attach-only to use existing processes. DSH: Connect to Desktop accepts a connection address from Desktop's dsh-vscode-connect plugin.

The bundled Laya / Jev integration provides loop detection, output shaping, completion checks, tool pruning and skill routing. Enable dsh.jev.enabled and the individual features you want, run DSH: Configure Jev API Key, then accept the Runtime restart. The key is encrypted in SecretStorage. Enabled features may send the samples they need to the configured endpoint. This integration applies to Runtimes launched by the extension.

For Laya, set dsh.jev.baseUrl to a compatible HTTPS System One endpoint and dsh.jev.model to its model name. Configure an API key, using a placeholder if the server accepts one.

Troubleshooting

Run DSH: Diagnose Environment, then DSH: Show dsh Runtime Logs. Include the extension version, OS and redacted error details when reporting an issue. Report an issue

Local Runtime configuration is backed up on launch and file changes, keeping the latest 10 snapshots per DSH Home/profile. Run DSH: Open Configuration Backups to retrieve files for manual recovery.

Development

Use Node.js 22+ and initialize the bundled integration before building.

git submodule update --init --recursive
npm ci
npm run check
npm run package

npm test runs the release checks. Runtime compatibility and integration results are recorded in the maintenance report. Companion extensions can use the exported navigation and agent-status APIs. Maintenance report · Extension API

Release workflow

Record changes under Unreleased in CHANGELOG.md. Run npm run release -- patch for a patch release, then push the commit and tag with git push origin HEAD --follow-tags. Stable releases use even minor versions and previews use the next odd minor. Numeric previews receive the Marketplace pre-release marker. Versions with a SemVer pre-release suffix go to Open VSX and GitHub Releases.

Marketplace publishing uses GitHub OIDC and vsce 4.1.0. Before the first publish, create a Trusted Publishing policy under publisher harcochen, with owner HarcoChen, repository dsh-vsc-integration, workflow release.yml, and Environment empty. Trusted Publishing setup

Project

An independent community project. The runner sprite draws on dsh-reasoning-effort, and the conversation outline was inspired by dsh-milestone. Sprite reference

Changelog · JetBrains edition · MIT License

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。