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

dsh-vs-sidebar

%dsh.ext.description% 适合希望在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.