Xizhi1024/deepseek-harness-dsh-for-vscode ↗★ 6

dsh-vs-sidebar

在VS Code中接入本地DSH,提供侧栏对话、代码引用与修改审阅 适合希望在VS Code内与本地DSH对话、发送代码选区,并审阅和确认文件修改的开发者。

套件
dsh-vs-sidebar
相容性
待驗證
版本
1.1.3
授權
MIT
最近更新
2026年9月8日

同名套件的其他儲存庫

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

🚀 Usage

  1. Press Ctrl+Alt+B — the extension starts (or reuses) the local dsh web and loads the UI
  2. Select code → right-click Add to DSH Thread; the draft receives a compact file:line link, press Enter to send
  3. Type @dsh + your question in the VS Code chat — replies stream from your local DSH session
  4. Let DSH propose an edit through the bridge: it lands in the DSH Changes view for diff / accept / undo — nothing is written without approval

Add selected VS Code ranges to a DSH conversation as compact links

Common commands (palette, DSH: prefix): New / Switch Session · Open Session History · Restart / Stop Server · Open in Browser · New DSH Instance (Ctrl+Alt+N) · Diagnose · Restart Cleanly · Set DSH FIM API Key.

⚙️ Configuration

KeyDefaultDescription
dsh.port3080Port for the DSH web server
dsh.autoStarttrueStart the service when VS Code opens
dsh.home.modesharedshared = official ~/.dsh; isolated = extension-private home
dsh.profilewebDSH profile directory name
dsh.executablePath(empty)Explicit DSH executable / package dir / shim; takes precedence over discovery
dsh.closePolicyonVscodeExitWhen to stop the owned server
dsh.features.changes-reviewtrueDSH changes review (approval-gated writes)
dsh.changes.observe-toolstrueAttribute tool-made edits in the changes tree (tool group)
dsh.features.chat-participanttrue@dsh chat participant
dsh.features.ctrl-k / ctrl-ifalseInline edit commands (Ctrl+K / Ctrl+I)
dsh.features.lm-routefalseExpose DSH models in the VS Code LM picker
dsh.features.mcp-consumefalseLet DSH consume VS Code-side MCP servers
dsh.features.tab-completionfalseFIM tab completion — needs dsh.fim.baseUrl + DSH: Set FIM API Key, then restart the DSH server
dsh.fim.baseUrl(empty)Upstream FIM endpoint (full URL of an OpenAI-compatible completions API)
dsh.keybindings.ctrlLtrueCtrl+L adds the selection to the thread (never sends)
dsh.bridge.terminal / editorRead / uifalseTerminal / editor-read / UI surface bridges (consent switches)

Full key list in package.json; run DSH: Diagnose for a health summary.