LJninse/dsh-open-in-ide
DeepSeek Harness Web UI 插件:添加一个 IDE 按钮,自动检测本地 IDE 并打开当前工作区文件夹。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), adding an IDE button to the top navigation bar of the DSH web UI. When clicked, the button opens the current DSH session’s working directory directly in your locally installed IDE, eliminating the need to manually copy paths and open folders via the IDE’s file menu. To install the plugin, you can clone the GitHub repo, add it via a local tarball, or manually mount it to your DSH profile directory, and it requires DSH version 0.1.0-rc.6 or newer.
This plugin is designed for DSH users who regularly work in the web UI and need to quickly jump from DSH-generated code to editing in their local IDE. It automatically detects installed IDEs by first checking the Windows Registry for pre-registered paths, then falling back to heuristic scanning of common install directories, PATH shims, and user folders. It supports over 20 popular IDEs including VS Code, Cursor, all JetBrains IDEs, Sublime Text, Eclipse, and Visual Studio, and lets you manually add any custom IDE executable file that isn’t detected automatically.
This plugin currently only supports Windows systems, as its IDE detection logic and native file dialog are built exclusively for the Windows desktop environment. All custom IDE preferences, default IDE settings, and recent usage data are saved to a JSON file in your working directory root, and detection results are cached for 30 minutes to another JSON file in the same location. It is recommended that you add both of these files to your project’s .gitignore to avoid committing them accidentally. The project is licensed under CC BY-NC 4.0, which allows free non-commercial use, modification, and redistribution, but prohibits any commercial use of the code.
这是一个专为 DeepSeek Harness(DSH)开发的原生 Web UI 插件,会在 DSH 会话顶部栏添加一个「IDE」按钮,实现一键用本地安装的 IDE 打开当前 DSH 会话的工作区目录。插件采用 Node 宿主端加浏览器客户端的双面包架构,宿主端负责检测 IDE 和启动路由,客户端负责 UI 渲染和交互。它支持通过 git 克隆、本地目录压缩包或手动挂载三种方式安装,要求 DSH 版本不低于 0.1.0-rc.6。
该插件面向在 DSH Web 界面中工作,需要频繁将当前工作目录导入本地 IDE 查看或修改的用户。它会优先从 Windows 注册表读取已安装 IDE 的路径,再通过常见安装目录扫描兜底,支持自动检测包括 VS Code、Cursor、JetBrains 全家桶在内的数十种常用 IDE,也支持手动添加自定义 IDE 路径。设置默认 IDE 后,点击按钮即可直接打开,无需手动复制路径再操作 IDE 打开目录。
该插件仅支持 Windows 系统,因为检测逻辑和文件对话框都针对 Windows 桌面环境开发。自定义 IDE 配置和检测结果会分别缓存到工作区根目录的两个 JSON 文件中,建议将这两个文件添加到 .gitignore 避免提交。项目采用 CC BY-NC 4.0 许可,允许非商业免费使用修改分发,禁止商业用途。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-open-in-ide(LJninse/dsh-open-in-ide)
仓库:https://github.com/LJninse/dsh-open-in-ide
本站详情页:https://www.yhbd.top/plugins/ljninse-dsh-open-in-ide/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 5 · 最近提交 2026-08-16 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:LJninse/dsh-open-in-ide
把 LJninse/dsh-open-in-ide 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-open-in-ide
顶部栏「IDE」按钮 —— DeepSeek Harness(简称 dsh)Web UI 插件:自动检测本机已安装的 IDE,一键用其打开当前会话的工作区目录。
简介
在 DeepSeek Harness 的 Web GUI 里工作时,经常需要「把当前项目用本地 IDE 打开」。这个插件在会话头部右上角加入一个「IDE」按钮:设置默认 IDE 后单击即直接打开当前工作区目录,点 ▾ 或右键可展开菜单选择其它 IDE —— 省去手动复制路径、再到 IDE 里 File > Open Folder 的麻烦。
插件是标准的 dsh 双面包:
- 宿主半(Node)
index.mjs:负责在本机检测 IDE、启动所选 IDE,并自建同源 HTTP 路由/open-in-ide。 - 浏览器半(Client)
client.js:负责顶栏按钮与下拉菜单 UI,通过同源fetch调用宿主半的路由。
用途 / 使用场景
- 在 dsh Web GUI 中让 agent 干活时,一键把当前工作区目录在本地 IDE 中打开,边看边改。
- 多 IDE 共存时(VS Code / Cursor / JetBrains 全家桶等)快速切换,无需记住各自的安装路径。
- IDE 装在任意自定义目录(D 盘、便携版等)都能通过注册表
App Paths精确定位;即便个别程序没写注册表,也有目录扫描兜底,实在扫不到还能手动指定任意.exe。
功能特性
- 自动检测(注册表优先):优先读取 Windows 注册表 ——
App Paths(安装程序注册的「exe 名 → 真实路径」映射,能精确定位任意自定义安装位置)与卸载项(InstallLocation/DisplayIcon/UninstallString);再以常见安装目录、PATH里的.cmdshim、scoop、JetBrains Toolbox、Program Files下的 JetBrains、开始菜单.lnk快捷方式,以及桌面/下载/文档等用户目录与其它盘符根目录的启发式扫描作为兜底。 - 自定义添加(持久化):菜单底部「选择 IDE 程序…」弹出 Windows 原生文件对话框,任选一个
.exe立即加入列表;自定义项保存到.dsh-open-in-ide-prefs.json,重启后仍存在,并可随时删除。 - 默认 IDE / 最近使用:条目右侧 ☆ 可设为默认(再次点击取消),默认项自动置顶并显示「默认」徽标;未设默认时最近一次使用的 IDE 置顶并显示「上次」。
- 点击直达:已设默认(★)时,单击「IDE」按钮直接用它打开当前工作区,无需展开菜单;仍想选其它 IDE 时,点按钮右侧的 ▾ 下拉箭头或右键按钮展开完整菜单。
- 缓存与预热:检测结果缓存到工作区下的
.dsh-open-in-ide-cache.json(TTL 30 分钟),插件启动后会延迟预热扫描,首次点击通常无需等待;「重新检测」会绕过缓存强制执行全新扫描。 - 菜单选择打开:展开菜单点击任一 IDE 即用其打开当前会话的工作区目录;菜单顶部显示目标目录。
- 随时重新检测:菜单底部提供始终可用的「重新检测」按钮,安装/移动 IDE 后无需重启即可重新扫描。
- 双面包架构 + 可测试:宿主半负责检测与启动,浏览器半负责 UI,互不耦合;纯检测逻辑抽到
lib.mjs并带node:test单测。 - 中英文界面:客户端文案接入 DSH locale(
open-in-ide命名空间),跟随界面语言显示中文或英文。
支持检测的 IDE
VS Code / VS Code Insiders、Cursor、Windsurf、Zed、Trae、VSCodium、IntelliJ IDEA(Ultimate / Community)、PyCharm(Professional / Community)、WebStorm、PhpStorm、GoLand、CLion、Rider、DataGrip、RubyMine、RustRover、Aqua、Writerside、Fleet、Android Studio、Sublime Text、Eclipse、Visual Studio 等。菜单里还内置「资源管理器」入口,可直接用系统文件管理器打开目录。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
kenryu42/cc-safety-net
hyhmrright/brooks-lint
zhu1090093659/dsh-trading
lire1131/dsh-undo-savepoint
jigjoy-ai/baro
c3ll256/dsh-toy
huaweicloud/huaweicloud-devkit