dsh-vscode
Run DeepSeek Harness inside VS Code: chat with the agent and edit your project, like Claude Code / Codex / Copilot.
AI Analysis
核心用途是将 DSH 的智能体能力直接无缝嵌入 VS Code 编辑器。适合习惯在 IDE 内完成代码编写、调试并与 AI 协同的开发人员。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗開始使用
- 開啟一個專案資料夾(
File→Open Folder)——聊天框需要一個工作區才能操作檔案 - 打開聊天框:點右側邊欄的 DeepSeek Harness 圖示;或
Ctrl+Shift+P→DeepSeek Harness: Open Chat(若右側欄沒開,先View: Toggle Secondary Side Bar) - 輸入 API key:第一次開啟會顯示設定畫面,貼上
sk-...→ Connect。key 存在 VS Code SecretStorage;也可改用環境變數DEEPSEEK_API_KEY或工作區.env(優先序:SecretStorage → 環境變數 →.env) - 開始對話:輸入框打字 → Enter 送出;助手回覆串流顯示,工具呼叫以卡片展開
發送列控制項:
| 控制項 | 作用 |
|---|---|
📎 | 附加檔案(VS Code 選檔對話框),內容會隨訊息送給模型 |
model ▾ | 切換模型(deepseek-v4-flash / deepseek-v4-pro…),切換即開新對話 |
Workspace ▾(色標) | 權限模式:Read-only(紅)/ Workspace(藍)/ Full access(橘,需確認) |
0↑ · 0↓ | 本對話 token 用量(輸入/輸出) |
history ▾ | 歷史對話(含標題)——點選續接 |
preset ▾ | agent preset:default(shell + fs + todo)/ minimal(僅檔案工具) |
Send / Stop | 送出 / 忙碌時變 Stop 可中止 |
其他:頂部工作區名稱——多 root 工作區點擊可切換 agent 操作的資料夾,單資料夾點擊複製路徑;DeepSeek Harness: Set API Key / Clear API Key 指令可事後管理 key。