dsh-vs-sidebar
适用于 VS Code 的 DeepSeek Harness 辅助侧边栏扩展
AI 分析
核心用途是在 VS Code 辅助侧边栏中提供 DSH 专属标签页。适合需要在编辑器内快速管理 DSH 服务、发送当前文件或选中代码至上下文的开发者。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Usage
Ctrl+Alt+Bopens the auxiliary sidebar → DeepSeek Harness (DSH) tab- Commands (all 11): Open DSH in Browser · New Session · Switch Session · Restart DSH Server · Stop DSH Server · Focus DSH Sidebar · 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 | Start one DSH child for this VS Code window (false = reuse only the configured user-managed endpoint); also starts at VS Code startup |
dsh.closePolicy | onVscodeExit | When to stop the extension-owned server (see below) |
dsh.runtime.manifestUrl | (empty) | HTTPS URL of a runtime release manifest (schemaVersion: 1, artifacts with embedded runtime manifests). Empty = use only the already installed verified runtime under VS Code global storage |
dsh.runtime.version | (empty) | Optional DSH runtime version pin. Empty = installed current version, or the newest matching artifact when provisioning from 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.