NEXTINDIE/DeepSeek-Harness-for-VS-Code0

dsh-vscode

DeepSeek Harness 的 VS Code 插件

AI 分析

核心用途是将 DSH 的 AI 助手能力无缝集成到 VS Code 中,支持内置 Chat、辅助侧栏及右键发送代码。适合习惯在 VS Code 编辑器内直接与 DSH 交互的开发者。

套件
dsh-vscode
版本
0.9.20
授權
NOASSERTION
最近更新
2026年8月13日

安裝

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

使用

入口说明
内置 Chat @dsh输入 @ 选 dsh;DSH: 打开内置聊天 (@dsh) 或状态栏 DSH 图标可自动填入
辅助侧栏 tab视图 → 外观 → Secondary Side Bar(Ctrl+Alt+B)
独立窗口DSH: 打开独立聊天窗口
  • 输入框:Enter 发送,Shift+Enter 换行;运行中发送按钮(纸飞机线条图标)变为停止(方块线条图标),输入文字变回发送(消息排队)。
  • 左下角 / 按钮:命令菜单(计划模式 / 压缩上下文 / 设置目标 / 记录反馈 / 切换权限 / 技能 / .claude 命令与技能)—— 点击插入命令到输入框,回车执行。
  • 左上角 + 按钮:添加文件 / 添加文件夹(二选一);附件行蓝色芯片为自动附加的激活文件(× 移除)。
  • 消息操作条:点击分叉线条图标打开分支/回退菜单 —— 逆时针箭头"回退到此处"(去掉本条及之后)、分叉图标"从此处新建分支"(保留到此)、左上折线"分支并回退到更早位置";分叉会话另有左上箭头"回到主线"。
  • 会话 ⋯ 菜单:分叉 / 重命名 / 归档;右上角"预设"胶囊(仅新会话显示);右下角"思考 / 模型"胶囊。
  • 模式芯片:📝 计划模式(点击退出)、🎯 目标模式(点击管理目标)。
  • 右键菜单:编辑器选中代码 → DSH: 发送选中代码到 @dsh;文件右键 → DSH: 向 @dsh 询问此文件

配置

配置项默认值说明
dsh.urlhttp://127.0.0.1:3080DSH Web 服务器地址(修改后需重载)
dsh.autoStarttrue服务器未运行时首次使用自动启动 dsh web
dsh.commanddsh启动命令;找不到时回退 npx
dsh.autoStartTimeoutSec60自动启动最长等待秒数
dsh.participantSessionModeper-workspace@dsh 会话范围:每项目 / 全局
dsh.openPanelOnStartupfalse启动时自动打开独立聊天窗口
dsh.defaultReasoningEffort""新会话默认思考深度(off/high/max 等,取决于模型)

Usage highlights

  • Enter to send, Shift+Enter for newline; while running the send button (paper-plane line icon) becomes stop (square line icon), typing turns it back into send (queued send).
  • / button (bottom-left): command menu (plan / compact / goal / feedback / permission / skills / .claude) — inserts the command into the input; press Enter to run.
  • + button next to it: add file / add folder; the blue chip is the auto-attached active file.
  • Message actions: click the forked-line icon to open the branch/rewind menu — counter-clockwise arrow "Rewind here", forked icon "Branch from here", up-left fold "Branch and rewind earlier"; branch sessions also show the up-left arrow "Back to main".
  • Session ⋯ menu: fork / rename / archive; preset pill at the top-right (new sessions only); thinking / model pills at the bottom-right.
  • Context menus: selection → DSH: Send Selection to @dsh; file → DSH: Ask @dsh About This File.

Configuration

KeyDefaultDescription
dsh.urlhttp://127.0.0.1:3080DSH web server URL
dsh.autoStarttrueAuto-start dsh web on first use
dsh.commanddshStart command; falls back to npx
dsh.autoStartTimeoutSec60Auto-start timeout (seconds)
dsh.participantSessionModeper-workspace@dsh session scope: per-project / global
dsh.openPanelOnStartupfalseOpen the standalone window on startup
dsh.defaultReasoningEffort""Default thinking depth for new sessions (off/high/max, model-dependent)