nikoart-liu/dsh-open-in-x
在 DeepSeek Harness Web 界面中,把当前会话的工作目录直接交给本机外部应用打开。
Project Overview项目介绍
dsh-open-in-x is a DeepSeek Harness plugin that adds an “Open in external app” action to a session’s top toolbar, launching the session’s working directory in locally installed apps such as Finder, VS Code, Cursor, or a terminal. Use it when working in DSH Web on the same machine as dsh web; it will not start apps on the browser’s host in remote scenarios. Caveat: keep allowRemote at its default false unless the deployment is behind a trusted, CSRF-protected reverse proxy and the GUI-launch risk is fully understood.
dsh-open-in-x 是 DeepSeek Harness 的插件,在会话顶部工具栏新增“在外部应用中打开”按钮,把当前会话的工作目录交给本机已安装的 Finder、VS Code、Cursor、终端等应用。仅当浏览器连到运行 dsh web 的同一台机器时有效;远程场景不会在浏览器所在电脑启动应用。注意:allowRemote 默认必须保持 false,开启前需充分评估安全风险。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-open-in-x(nikoart-liu/dsh-open-in-x)
仓库:https://github.com/nikoart-liu/dsh-open-in-x
本站详情页:https://www.yhbd.top/plugins/nikoart-liu-dsh-open-in-x/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-28 · 主语言 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 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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命令行安装
npx @deepseek-ai/dsh plugin --profile web add dsh-open-in-x
把 nikoart-liu/dsh-open-in-x 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-open-in-x
在 DeepSeek Harness Web 界面中,把当前会话的工作目录直接交给本机外部应用打开。
支持:
- macOS Finder、Windows 文件资源管理器、Linux 默认文件管理器
- macOS 终端、Windows Terminal、常见 Linux 终端模拟器
- Visual Studio Code
- Cursor
- Windsurf
- Zed
- IntelliJ IDEA
- WebStorm
- PyCharm
- Android Studio
插件会向当前会话顶部工具栏添加“在外部应用中打开”按钮,只展示 DSH Host 所在机器上已安装的应用。这里的“本机”指运行 dsh web 的机器;如果浏览器连接的是远程 DSH,应用不会在浏览器所在电脑启动。
要求
- Node.js 22.19+ 或 24+
- DeepSeek Harness
0.1.0-rc.6或更高的兼容版本 - DSH Web 默认绑定到
127.0.0.1
Harness 仍处于 developer preview,Web Client 插件协议可能发生不兼容变化。本插件的公开 Slot 实现针对官方 0.1.1-rc.2 / 上游提交 b150a551 开发,并在本机 DSH 0.1.0-rc.7 上完成了真实安装和启动冒烟测试。旧版本没有 session header action slot 时,插件会把相同操作加入真实 Workspace 的 ⋯ 菜单;新版本检测到公开 slot 后会自动撤下兼容层。
安装
安装 npm 发布版:
npx @deepseek-ai/dsh plugin --profile web add dsh-open-in-x
npx @deepseek-ai/dsh web
从源码构建并安装到 Web profile:
pnpm install
pnpm run check
npm pack
npx @deepseek-ai/dsh plugin --profile web add ./dsh-open-in-x-0.1.1.tgz
npx @deepseek-ai/dsh web
开发时也可以直接安装本地目录:
npx @deepseek-ai/dsh plugin --profile web add /absolute/path/to/dsh-open-in-x
安装后重启 dsh web。选择一个已有工作目录的会话,在会话顶部工具栏点击“在外部应用中打开”,再选择 Finder、VS Code 等应用。
卸载:
npx @deepseek-ai/dsh plugin --profile web remove dsh-open-in-x
配置
默认启用全部内置 launcher,未安装的应用不会显示。Host 插件支持以下 Cordis 配置:
apps:
- finder
- terminal
- vscode
- cursor
- windsurf
- zed
- idea
- webstorm
- pycharm
- android-studio
allowRemote: false
allowLegacyPaths: false
defaultApp: vscode
quickOpen: true
allowRemote 默认必须保持 false。只有在 DSH 位于带身份认证和 CSRF 防护的可信反向代理之后,并且你明确理解“网页触发 Host GUI 进程”的风险时才应开启。
quickOpen: true 且 defaultApp 可用时,主按钮会直接在默认应用中打开;旁边的下拉按钮仍可选择其他应用。
应用列表只在 DSH Web 页面加载(包括刷新页面)时检测一次,不会定时检测,也不会在页面重新回到前台时检测。安装或卸载应用后刷新 DSH Web 页面即可更新列表;未安装或当前平台不支持的应用始终不展示。
新式会话操作只向 Host 发送 Session ID,工作目录完全由 Host 的 Session 状态解析。旧版 DSH 的 Workspace 菜单只能提供路径,因此默认由 allowLegacyPaths: false 禁止;仅在本机可信环境需要旧版兼容菜单时才应显式开启。
工作原理
插件是一个 DSH bundle,同时包含两部分:
- Browser half 优先注册到公开的
conversation.session.header.actionslist slot,只向 Host 发送当前会话的id;不具备该 slot 的旧版本使用仅面向 Workspace 菜单的兼容适配。 - Host half 在
ctx.webServer注册唯一的POST /__dsh/open-in-xexact route,在宿主机启动选定应用。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
gjj-star/dsh-conversation-navigator
masknull/dsh-qoder-connect
HuanLinOTO/dsh-plugin-ya-workspace-sidebar
Aik358/dsh-anchored-monitor
EugeneVl/dsh_session_folders
lw-storm/dsh-plugin-masterprompt
Yiheng-guo/dsh-boot-animation-pro