Xizhi1024/deepseek-harness-dsh-for-vscode3

dsh-vs-sidebar

适用于 VS Code 的 DeepSeek Harness 辅助侧边栏扩展

AI 分析

核心用途是在 VS Code 侧边栏中集成 DSH 控制面板。适合习惯在编辑器内直接新建/切换会话、重启服务及发送代码上下文的 VS Code 开发者。

包名
dsh-vs-sidebar
版本
0.5.3
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Usage

  • Ctrl+Alt+B opens 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.autoStart on, the server is started at VS Code startup even if the sidebar is never opened

Configuration

KeyDefaultDescription
dsh.port3080Port to probe/start the DSH web server on
dsh.host127.0.0.1Fixed loopback bind required by the current DSH Web profile
dsh.autoStarttrueAt 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.modesharedshared 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.closePolicyonVscodeExitWhen 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:

ValueBehavior
onVscodeExitStop the owned server only when VS Code exits (default)
onViewCloseAlso stop the owned server when the sidebar view is closed
neverNever stop automatically — use the Stop DSH Server command

A reused (non-owned) instance is never stopped by any policy or command.