NEXTINDIE/DeepSeek-Harness-for-VS-Code ↗★ 0
dsh-vscode
DeepSeek Harness 的 VS Code 插件
AI 分析
核心用途是将 DSH 的 AI 助手能力无缝集成到 VS Code 中,支持内置 Chat、辅助侧栏及右键发送代码。适合习惯在 VS Code 编辑器内直接与 DSH 交互的开发者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗使用
| 入口 | 说明 |
|---|---|
内置 Chat @dsh | 输入 @ 选 dsh;DSH: 打开内置聊天 (@dsh) 或状态栏 DSH 图标可自动填入 |
| 辅助侧栏 tab | 视图 → 外观 → Secondary Side Bar(Ctrl+Alt+B) |
| 独立窗口 | DSH: 打开独立聊天窗口 |
- 输入框:
Enter发送,Shift+Enter换行;运行中发送按钮(纸飞机线条图标)变为停止(方块线条图标),输入文字变回发送(消息排队)。 - 左下角
/按钮:命令菜单(计划模式 / 压缩上下文 / 设置目标 / 记录反馈 / 切换权限 / 技能 / .claude 命令与技能)—— 点击插入命令到输入框,回车执行。 - 左上角
+按钮:添加文件 / 添加文件夹(二选一);附件行蓝色芯片为自动附加的激活文件(× 移除)。 - 消息操作条:点击分叉线条图标打开分支/回退菜单 —— 逆时针箭头"回退到此处"(去掉本条及之后)、分叉图标"从此处新建分支"(保留到此)、左上折线"分支并回退到更早位置";分叉会话另有左上箭头"回到主线"。
- 会话 ⋯ 菜单:分叉 / 重命名 / 归档;右上角"预设"胶囊(仅新会话显示);右下角"思考 / 模型"胶囊。
- 模式芯片:📝 计划模式(点击退出)、🎯 目标模式(点击管理目标)。
- 右键菜单:编辑器选中代码 →
DSH: 发送选中代码到 @dsh;文件右键 →DSH: 向 @dsh 询问此文件。
配置
| 配置项 | 默认值 | 说明 |
|---|---|---|
dsh.url | http://127.0.0.1:3080 | DSH Web 服务器地址(修改后需重载) |
dsh.autoStart | true | 服务器未运行时首次使用自动启动 dsh web |
dsh.command | dsh | 启动命令;找不到时回退 npx |
dsh.autoStartTimeoutSec | 60 | 自动启动最长等待秒数 |
dsh.participantSessionMode | per-workspace | @dsh 会话范围:每项目 / 全局 |
dsh.openPanelOnStartup | false | 启动时自动打开独立聊天窗口 |
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
| Key | Default | Description |
|---|---|---|
dsh.url | http://127.0.0.1:3080 | DSH web server URL |
dsh.autoStart | true | Auto-start dsh web on first use |
dsh.command | dsh | Start command; falls back to npx |
dsh.autoStartTimeoutSec | 60 | Auto-start timeout (seconds) |
dsh.participantSessionMode | per-workspace | @dsh session scope: per-project / global |
dsh.openPanelOnStartup | false | Open the standalone window on startup |
dsh.defaultReasoningEffort | "" | Default thinking depth for new sessions (off/high/max, model-dependent) |