Xizhi1024/deepseek-harness-dsh-for-vscode3

dsh-vs-sidebar

%dsh.ext.description%

AI 分析

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

パッケージ
dsh-vs-sidebar
バージョン
0.5.3
ライセンス
MIT
最終更新
2026/08/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.