Yuuichu/dsh-remote-picker
DeepSeek Harness 远程访问目录选择器修复:在为远程浏览器提供服务时(tailscale serve / cloudflared / --trusted-host),强制使用浏览器内浏览交互。
Project Overview项目介绍
This repository is a native plugin built exclusively for DeepSeek Harness (DSH) that fixes a common issue encountered when accessing DSH remotely via a reverse proxy. When you access DSH through a remote browser over HTTPS via tools like Tailscale Serve or Cloudflare Tunnel, the default directory picker pops up a native OS dialog on the host machine, which you cannot see or interact with from your remote device. The plugin replaces this native dialog with an in-browser directory tree picker that works seamlessly for remote users, and it uses DSH’s built-in bundle patch mechanism to inject the fix on startup.
The plugin only works for a specific remote access workflow, where DSH runs on a local host bound to 127.0.0.1, and you access it from an external device (like a phone or laptop) via an HTTPS reverse proxy with the --trusted-host flag added to the DSH web startup command. If you only ever access DSH locally on the host machine via http://127.0.0.1:3080, you do not need this plugin at all. It is designed specifically for users who regularly access their local DSH instance from external devices on different networks and need to create or change workspaces while connected remotely.
The plugin is distributed under the permissive MIT license, and installation is straightforward via the DSH CLI. To install it, you just run the command dsh plugin --profile web add dsh-remote-picker in your terminal, then restart the dsh web process for the changes to take effect. If you have manually added a similar disable-and-replace patch to your cordis.patch.yml file before, you need to remove that existing entry before installing this plugin to avoid conflicts. After installation, you can verify it is working by checking the DSH startup log for the confirmation message that confirms the in-browser picker is active.
Yuuichu/dsh-remote-picker 是专为 DeepSeek Harness 开发的原生修复插件,用于解决远程访问场景下目录选择器无法使用的问题。当用户通过 tailscale serve、cloudflared 或反向代理搭配 --trusted-host 参数远程访问 DSH Web 服务时,原生系统会在服务端主机弹出目录选择对话框,远程用户看不到也无法操作,导致创建或切换工作区失败。本插件通过 DSH 的 bundle patch 机制强制替换为浏览器内的目录浏览选择交互,完美解决了这个远程访问特有的问题。
本插件仅服务于特定的远程访问链路:用户通过手机或其他设备的浏览器,经 HTTPS 反向代理访问运行在本地主机上的 DSH Web 服务。如果你仅在本机通过 127.0.0.1:3080 访问 DSH,完全不需要安装本插件。只有当你需要从远程设备访问 DSH 并选择工作区目录时,才会遇到原生选择器故障,本插件正好解决这个痛点,适合经常在外通过远程设备访问本地 DSH 的用户使用。
本插件采用 MIT 许可证开源,安装方式非常简单,只需执行 dsh plugin --profile web add dsh-remote-picker 命令,之后重启 DSH Web 服务即可生效。安装前需要注意,如果用户已经手动在 cordis.patch.yml 中添加过类似的禁用和替换配置,需要先移除原有配置,避免重复装载导致冲突。启动后可以通过查看启动日志和测试目录选择功能验证插件是否正常工作。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-remote-picker(Yuuichu/dsh-remote-picker)
仓库:https://github.com/Yuuichu/dsh-remote-picker
本站详情页:https://www.yhbd.top/plugins/yuuichu-dsh-remote-picker/
本站登记:类型 collection · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-17 · 主语言 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命令行安装
dsh plugin --profile web add dsh-remote-picker
把 Yuuichu/dsh-remote-picker 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-remote-picker
远程访问场景下 DeepSeek Harness 目录选择器的修复插件:当 Web GUI 服务于远程浏览器(tailscale serve / cloudflared / 反向代理 + --trusted-host)时,强制使用浏览器内 browse 交互,而不是会在无人值守主机上弹出、远程浏览器无法驱动的 native OS 对话框。
关联上游讨论:deepseek-ai/deepseek-harness#discussions/2713 官方
directory-picker-auto组件自身也承认该缺陷(Playwright smoke 用 overlay 绕过:apps/web/tests/pin-browse-picker.overlay.yml)。
本插件服务的远程流程
这个插件只在一个特定的远程访问流程中有意义。先看清这条链路,再决定是否需要安装:
手机 / 笔记本浏览器(任意网络:4G、公司网、家里 WiFi)
│ https://<你的主机名>.ts.net (或 cloudflared 公网域名)
▼
tailscale serve / cloudflared ── HTTPS 反向代理(TLS 终结,仅网内可达)
│ 转发到本机
▼
dsh web ── 绑定 127.0.0.1:3080,启动参数带 --trusted-host <你的主机名>
流程各环节与责任:
| 环节 | 做什么 | 与本插件的关系 |
|---|---|---|
① dsh web --trusted-host <主机名> |
保持回环绑定(安全),并把远程域名加入 /api 白名单(防 DNS rebinding 围栏) |
前提:没有它远程页面能开但 API 全 403 |
② tailscale serve --bg 3080(或 cloudflared) |
把 https://<主机名>.ts.net 反代到本机 3080;HTTPS 是必须的(明文 HTTP 下浏览器没有 crypto.randomUUID,DSH 的 RPC 全挂) |
前提:提供远程入口 |
| ③ 手机浏览器打开远程地址 | 日常对话、查看任务、发消息 | 正常,无需本插件 |
| ④ 设置 → 工作区 → 选择目录 | 远程用户挑选/创建工作区文件夹 | 本插件接管的位置:原生对话框在电脑上弹出,手机看不到;插件强制浏览器内目录树 |
| ⑤ 设置页/API Key 管理 | 官方设计仅回环可用(403) | 与本插件无关,请在本机浏览器操作 |
一句话:如果你的使用方式符合"①+②+③"(通过 tailscale serve 或 cloudflared 从手机/远程浏览器使用 DSH),那你一定会在④遇到目录选择器故障——这个插件就是为④准备的。如果只在电脑本机用(http://127.0.0.1:3080),不需要装。
问题
dsh web 默认绑定 127.0.0.1,通过 tailscale serve / cloudflared 等反代对外提供 HTTPS 入口。@deepseek-ai/dsh-host-directory-picker-auto 的启动判定是:回环绑定 + darwin/win32 → native 后端。反代场景下浏览器是远程的(手机/笔记本),native 对话框会弹在电脑屏幕上——远程用户看不到、无法操作,工作区目录选择直接失败。
修复方式
本插件的 bundle patch(dsh.bundle.patch 机制)在启动组合中:
- 禁用 官方
directory-picker(auto)行; - 挂载 browse 后端 + 客户端界面(
@deepseek-ai/dsh-host-directory-picker-browse+@deepseek-ai/dsh-client-ui-directory-picker-browse)——即 seam 文档化的切换点; - 附带
remote-picker自检行:启动后验证 browse 能力已装载,异常时输出警告(fail loud)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
bruc3van/awesome-dsh-plugin
leenkcool/Blue-Whale-Harness
awesome-dsh-plugin/dsh-find-plugin
Viy1204/recruiting-copilot
vlln/plugin-registry
zhuiyueya/dsh-im-gateway