Xizhi1024/deepseek-harness-dsh-for-vscode ↗★ 3
dsh-vs-sidebar
适用于 VS Code 的 DeepSeek Harness 辅助侧边栏扩展
AI 分析
核心用途是在 VS Code 侧边栏中集成 DSH 控制面板。适合习惯在编辑器内直接新建/切换会话、重启服务及发送代码上下文的 VS Code 开发者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Usage
Ctrl+Alt+Bopens the auxiliary sidebar → DeepSeek Harness (DSH) tab- Commands (all 12): Open DSH in Browser · New Session · Switch Session · Restart DSH Server · Stop DSH Server · Focus DSH Sidebar · Add to DSH Thread · Add Active File to DSH Context · Add Active Selection to DSH Context · Add Problems to DSH Context · Capabilities and Integrations · Diagnose
- With
dsh.autoStarton, the server is started at VS Code startup even if the sidebar is never opened
Configuration
| Key | Default | Description |
|---|---|---|
dsh.port | 3080 | Port to probe/start the DSH web server on |
dsh.host | 127.0.0.1 | Fixed loopback bind required by the current DSH Web profile |
dsh.autoStart | true | At VS Code startup, launch the official DSH with the selected home and web profile; reuse the configured endpoint if runtime resolution fails (false = reuse only) |
dsh.home.mode | shared | shared uses the official DSH home; isolated uses extension-private globalStorage/.dsh and a separate module configuration |
dsh.home.path | (empty) | Machine-scoped absolute override for shared mode; empty follows DSH_HOME, then ~/.dsh |
dsh.closePolicy | onVscodeExit | When to stop the extension-owned server (see below) |
dsh.local.packageRoot | (empty) | Optional absolute official @deepseek-ai/dsh package root; empty auto-detects the global npm installation |
dsh.local.nodePath | (empty) | Optional absolute Node.js executable path; empty auto-detects it |
dsh.runtime.manifestUrl | (empty) | Optional HTTPS runtime release manifest; empty uses the local official npm DSH, non-empty opts into manifest/SHA-256-verified managed-runtime provisioning |
dsh.runtime.version | (empty) | Optional managed-runtime version pin; only applies with a manifest URL |
dsh.closePolicy values:
| Value | Behavior |
|---|---|
onVscodeExit | Stop the owned server only when VS Code exits (default) |
onViewClose | Also stop the owned server when the sidebar view is closed |
never | Never stop automatically — use the Stop DSH Server command |
A reused (non-owned) instance is never stopped by any policy or command.