安装
npm install -g @deepseek-ai/dsh此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。
README
维护者编写的文档快照。
DeepSeek Harness for VS Code
Use DeepSeek Harness as a coding assistant in the VS Code sidebar.
The goal is the same kind of workflow offered by Claude Code and Codex in VS Code: keep an assistant beside your editor while you work, with the current project, file, and selection already in context.
English | 简体中文
Features
- A Claude Code/Codex-style coding assistant powered by the official DeepSeek Harness runtime, always available in the VS Code right sidebar.
- Project and editor context built in: DeepSeek sees the current workspace, active file, and selected code. Use
@file,@folder, or Add Selection to Chat for explicit context. - Native code review: open file references and tool results in the editor, then inspect individual changes or all changed files with VS Code's Diff Editor.
- Safe collaboration with unsaved code: if DeepSeek is about to modify a dirty editor buffer, the task stops before overwriting it.
- A complete task loop inside VS Code, including streaming, tool calls, approvals, follow-up questions, project sessions, and official
/commands. - Queue follow-up messages while a task runs, edit or remove them, or steer the current task immediately with
Cmd/Ctrl+Enter. - Choose Model and Reasoning Effort separately from the composer.
Install
Install the official DeepSeek Harness CLI first:
npm install -g @deepseek-ai/dsh
Then build and install the extension:
git clone https://github.com/Lixxx1/dsh-vscode.git
cd dsh-vscode
corepack pnpm install --frozen-lockfile
corepack pnpm run check
corepack pnpm run package
code --install-extension dsh-vscode.vsix
Requires VS Code 1.100 or newer and Node.js ^22.19 or >=24.
Use
- Open a trusted project folder in VS Code.
- Select DeepSeek Harness in the right sidebar. If it is hidden, find it under Other Views.
- Use the key button to configure
DEEPSEEK_API_KEY. - Choose a project, conversation, Model, and Reasoning Effort, then start working. Type
/for official DSH commands, or@to add files and folders.
License
项目文件与信号
以下项目是目录快照中检测到的公开仓库信号。
仓库信息
- 开发语言
- TypeScript
- 许可证
- MIT
- 最后更新
- 2026年8月17日 06:41
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。